/* ─────────────────────────────────────────────
   N&M Films 部落格共用樣式
   沿用官網暖黑＋金色票（見 index.html :root）
   ───────────────────────────────────────────── */
*{margin:0;padding:0;box-sizing:border-box}
:root{
  --black:#16130e;
  --white:#f5f2ec;
  --cream:#e8e3d8;
  --gold:#cbab6c;
  --gold-light:rgba(200,169,110,0.15);
  --gray:#6b6560;
  --serif:'Noto Serif TC',serif;
  --sans:'DM Sans',sans-serif;
}
html{scroll-behavior:smooth}
body{
  background:var(--black);color:var(--white);
  font-family:var(--sans);overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}

/* ── NAV ── */
nav{
  position:fixed;top:0;left:0;right:0;z-index:100;
  padding:1.3rem 3rem;
  display:flex;align-items:center;justify-content:space-between;
  background:linear-gradient(to bottom,rgba(22,19,14,0.96) 0%,rgba(22,19,14,0.4) 70%,rgba(22,19,14,0) 100%);
  transition:background 0.3s;
}
nav.scrolled{background:rgba(22,19,14,0.97);border-bottom:0.5px solid rgba(200,169,110,0.15)}
.logo{display:inline-flex;align-items:center;text-decoration:none}
.logo img{height:40px;width:auto;display:block}
.nav-right{display:flex;align-items:center;gap:2rem}
.nav-back{
  font-size:0.72rem;letter-spacing:0.14em;text-transform:uppercase;
  color:rgba(245,242,236,0.55);text-decoration:none;transition:color 0.3s;
}
.nav-back:hover{color:var(--white)}
.nav-contact{
  font-size:0.72rem;letter-spacing:0.14em;text-transform:uppercase;
  color:var(--gold);text-decoration:none;
  padding:0.5rem 1.2rem;border:0.5px solid rgba(200,169,110,0.4);
  transition:all 0.3s;
}
.nav-contact:hover{background:rgba(200,169,110,0.1)}

/* ── ARTICLE 主體 ── */
.article{
  max-width:760px;margin:0 auto;
  padding:9rem 1.5rem 4rem;
}
.article-eyebrow{
  font-size:0.68rem;letter-spacing:0.24em;text-transform:uppercase;
  color:var(--gold);margin-bottom:1.5rem;
  display:flex;align-items:center;gap:0.9rem;
}
.article-eyebrow::before{content:'';width:22px;height:1px;background:var(--gold)}
.article h1{
  font-family:var(--serif);
  font-size:clamp(2rem,4.6vw,3.1rem);
  font-weight:300;line-height:1.28;letter-spacing:0.01em;
  margin-bottom:1.6rem;
}
.article h1 em{font-style:normal;color:var(--gold)}
.article-meta{
  display:flex;flex-wrap:wrap;align-items:center;gap:0.8rem;
  font-size:0.74rem;letter-spacing:0.06em;
  color:rgba(245,242,236,0.4);
  padding-bottom:2.5rem;margin-bottom:2.5rem;
  border-bottom:0.5px solid rgba(200,169,110,0.18);
}
.article-meta .dot{width:3px;height:3px;border-radius:50%;background:rgba(200,169,110,0.5)}

.article p{
  font-size:1rem;line-height:2.05;
  color:rgba(245,242,236,0.72);
  margin-bottom:1.5rem;
}
.article .lead{
  font-size:1.1rem;line-height:1.95;
  color:rgba(245,242,236,0.82);
  margin-bottom:2rem;
}
.article h2{
  font-family:var(--serif);
  font-size:clamp(1.4rem,2.6vw,1.85rem);
  font-weight:400;line-height:1.4;
  color:var(--white);
  margin:3.5rem 0 1.4rem;
  padding-top:0.5rem;
}
.article h3{
  font-family:var(--serif);
  font-size:1.15rem;font-weight:400;
  color:var(--cream);
  margin:2.4rem 0 1rem;
}
.article strong{color:var(--white);font-weight:500}
.article a.inline{color:var(--gold);text-decoration:none;border-bottom:1px solid rgba(203,171,108,0.4)}
.article a.inline:hover{border-bottom-color:var(--gold)}

/* 內文清單 */
.article ul{list-style:none;margin:0 0 1.8rem;padding:0}
.article ul li{
  position:relative;padding-left:1.5rem;
  font-size:1rem;line-height:1.95;
  color:rgba(245,242,236,0.72);
  margin-bottom:0.9rem;
}
.article ul li::before{
  content:'';position:absolute;left:0;top:0.85em;
  width:7px;height:1px;background:var(--gold);
}
.article ul li strong{color:var(--gold);font-weight:500}

/* 引言／歌詞 */
.article blockquote{
  margin:2rem 0;padding:1.4rem 1.8rem;
  border-left:2px solid var(--gold);
  background:rgba(200,169,110,0.04);
  font-family:var(--serif);
  font-size:1.05rem;line-height:1.9;font-weight:300;
  color:var(--cream);font-style:italic;
}

/* 影片嵌入 */
.video-embed{margin:2.5rem 0}
.video-frame{
  position:relative;aspect-ratio:16/9;width:100%;
  background:#211b13;overflow:hidden;
  border:0.5px solid rgba(200,169,110,0.15);
}
.video-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:none;display:block}
.video-embed figcaption{
  margin-top:0.8rem;font-size:0.76rem;letter-spacing:0.04em;
  color:rgba(245,242,236,0.4);text-align:center;
}
.video-embed figcaption b{color:var(--gold);font-weight:400}

/* Instagram 官方嵌入（真實預覽，白底為 IG 產品樣式，無法改色） */
.ig-embed{display:flex;justify-content:center}
.ig-embed blockquote.instagram-media{margin:0 auto !important}

/* 分隔 */
.article hr{
  border:none;height:0.5px;
  background:rgba(200,169,110,0.18);
  margin:3rem 0;
}

/* ── 文末 FAQ ── */
.article-faq{margin-top:3.5rem}
.article-faq h2{margin-bottom:0.5rem}
.afaq-item{border-top:0.5px solid rgba(245,242,236,0.08);padding:1.5rem 0}
.afaq-item:last-child{border-bottom:0.5px solid rgba(245,242,236,0.08)}
.afaq-q{
  font-family:var(--serif);font-size:1.02rem;font-weight:400;
  color:var(--white);margin-bottom:0.7rem;
}
.afaq-a{font-size:0.94rem;line-height:1.9;color:rgba(245,242,236,0.6)}

/* ── 文末 CTA ── */
.article-cta{
  margin:4rem auto 0;max-width:760px;
  padding:3rem 2rem;text-align:center;
  border:0.5px solid rgba(200,169,110,0.2);
  background:radial-gradient(ellipse at 50% 0%,rgba(200,169,110,0.06) 0%,transparent 70%);
}
.article-cta h2{
  font-family:var(--serif);font-size:clamp(1.5rem,3vw,2rem);
  font-weight:300;margin-bottom:1rem;
}
.article-cta p{
  font-size:0.92rem;line-height:1.85;
  color:rgba(245,242,236,0.55);margin-bottom:2rem;
}
.cta-row{display:flex;justify-content:center;gap:1rem;flex-wrap:wrap}
.btn-line{
  display:inline-flex;align-items:center;gap:0.6rem;
  padding:0.9rem 2.2rem;background:#06C755;color:#fff;
  font-size:0.85rem;letter-spacing:0.08em;text-decoration:none;font-weight:500;
  transition:background 0.3s;
}
.btn-line:hover{background:#05b34c}
.btn-mail{
  display:inline-flex;align-items:center;gap:0.6rem;
  padding:0.9rem 2.2rem;border:1px solid rgba(245,242,236,0.25);
  color:rgba(245,242,236,0.8);
  font-size:0.85rem;letter-spacing:0.08em;text-decoration:none;
  transition:all 0.3s;
}
.btn-mail:hover{border-color:rgba(245,242,236,0.6);color:var(--white)}

/* ── 相關文章 ── */
.related{max-width:760px;margin:4rem auto 0;padding:0 1.5rem}
.related-label{
  font-size:0.65rem;letter-spacing:0.24em;text-transform:uppercase;
  color:var(--gold);margin-bottom:1.5rem;
  display:flex;align-items:center;gap:0.8rem;
}
.related-label::before{content:'';width:20px;height:1px;background:var(--gold)}
.related-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1rem}
.related-card{
  display:block;padding:1.5rem;text-decoration:none;
  border:0.5px solid rgba(245,242,236,0.1);
  transition:border-color 0.3s,background 0.3s;
}
.related-card:hover{border-color:rgba(200,169,110,0.4);background:rgba(200,169,110,0.03)}
.related-card .rc-cat{font-size:0.62rem;letter-spacing:0.18em;color:var(--gold);margin-bottom:0.6rem}
.related-card .rc-title{
  font-family:var(--serif);font-size:0.98rem;font-weight:400;
  color:var(--white);line-height:1.5;
}

/* ── FOOTER ── */
footer{
  padding:2.5rem 3rem 2rem;margin-top:4rem;
  border-top:0.5px solid rgba(245,242,236,0.06);
  display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:1rem;
}
footer p{font-size:0.7rem;color:rgba(245,242,236,0.2);letter-spacing:0.06em}
.social-links{display:flex;gap:2rem}
.social-links a{
  font-size:0.7rem;letter-spacing:0.14em;text-transform:uppercase;
  color:rgba(245,242,236,0.25);text-decoration:none;transition:color 0.3s;
}
.social-links a:hover{color:var(--gold)}

/* ── BLOG 索引頁 ── */
.blog-hero{
  max-width:900px;margin:0 auto;
  padding:9rem 1.5rem 2rem;
}
.blog-hero .article-eyebrow{margin-bottom:1.2rem}
.blog-hero h1{
  font-family:var(--serif);font-size:clamp(2.2rem,5vw,3.4rem);
  font-weight:300;line-height:1.25;margin-bottom:1.2rem;
}
.blog-hero p{font-size:0.95rem;line-height:1.9;color:rgba(245,242,236,0.55);max-width:560px}
.blog-list{max-width:900px;margin:2rem auto 0;padding:0 1.5rem}
.blog-entry{
  display:block;text-decoration:none;
  padding:2.2rem 0;
  border-top:0.5px solid rgba(200,169,110,0.15);
  transition:padding-left 0.3s;
}
.blog-entry:last-child{border-bottom:0.5px solid rgba(200,169,110,0.15)}
.blog-entry:hover{padding-left:0.6rem}
.blog-entry .be-cat{font-size:0.62rem;letter-spacing:0.2em;color:var(--gold);margin-bottom:0.8rem}
.blog-entry .be-title{
  font-family:var(--serif);font-size:clamp(1.3rem,2.6vw,1.7rem);
  font-weight:400;color:var(--white);line-height:1.4;margin-bottom:0.8rem;
  transition:color 0.3s;
}
.blog-entry:hover .be-title{color:var(--gold)}
.blog-entry .be-desc{font-size:0.9rem;line-height:1.85;color:rgba(245,242,236,0.5);max-width:640px}
.blog-entry .be-more{
  display:inline-flex;align-items:center;gap:0.5rem;margin-top:1rem;
  font-size:0.72rem;letter-spacing:0.12em;text-transform:uppercase;color:var(--gold);
  transition:gap 0.3s;
}
.blog-entry:hover .be-more{gap:0.8rem}
.blog-entry .be-more::after{content:'→'}

/* ── RESPONSIVE ── */
@media(max-width:640px){
  nav{padding:1rem 1.3rem}
  .nav-right{gap:1.1rem}
  .nav-contact{padding:0.45rem 0.9rem}
  .article{padding:7rem 1.3rem 3rem}
  .related-grid{grid-template-columns:1fr}
  footer{flex-direction:column;text-align:center}
  .blog-hero{padding:7rem 1.3rem 1.5rem}
}
