/* Open Dawn blog styles. Extends site.css; uses the same tokens and the
   gold-glow hover signature. Load AFTER site.css. */

.wrap-wide { max-width: 1140px; }

/* Breadcrumb */
.crumb { font-family: var(--body); font-size: 0.82rem; color: var(--muted); letter-spacing: 0.02em; padding: 14px 0 0; }
.crumb a { color: var(--muted); text-decoration: none; transition: color 0.25s ease; }
.crumb a:hover { color: var(--gold); text-shadow: 0 0 12px rgba(240, 166, 33, 0.45); }
.crumb .sep { color: var(--line-soft); margin: 0 8px; }
.crumb .here { color: var(--white); }

/* ---------- Index: featured + card grid ---------- */
.post-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; margin: 40px 0 12px; }
@media (max-width: 760px) { .post-grid { grid-template-columns: 1fr; } }

.post-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; text-decoration: none; transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease; }
.post-card:hover { border-color: var(--gold); box-shadow: 0 18px 40px -18px rgba(240, 166, 33, 0.4); transform: translateY(-3px); }
.post-card .thumb { aspect-ratio: 16 / 9; background-color: var(--navy); background-size: cover; background-position: center; border-bottom: 1px solid var(--line); }
.post-card .pc-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.post-card h3 { font-family: var(--display); text-transform: uppercase; font-size: 1.35rem; line-height: 1.12; color: var(--white); letter-spacing: 0.005em; transition: color 0.3s ease, text-shadow 0.3s ease; }
.post-card:hover h3 { color: var(--gold-bright); text-shadow: 0 0 16px rgba(255, 216, 43, 0.4); }
.post-card p { color: var(--muted); font-size: 0.95rem; line-height: 1.5; }
.pc-meta { margin-top: auto; padding-top: 6px; font-family: var(--body); font-size: 0.8rem; color: var(--line-soft); letter-spacing: 0.02em; }
.pc-meta .dot { margin: 0 7px; }

.pill { align-self: flex-start; font-family: var(--body); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--gold); border: 1px solid var(--line-soft); border-radius: 999px; padding: 4px 11px; transition: border-color 0.3s ease, color 0.3s ease; }
.post-card:hover .pill { border-color: var(--gold); }

.post-card.featured { grid-column: 1 / -1; flex-direction: row; }
.post-card.featured .thumb { width: 46%; aspect-ratio: auto; border-bottom: none; border-right: 1px solid var(--line); }
.post-card.featured .pc-body { padding: 36px 40px; justify-content: center; gap: 14px; }
.post-card.featured h3 { font-size: 2.1rem; }
.post-card.featured p { font-size: 1.02rem; }
@media (max-width: 760px) { .post-card.featured { flex-direction: column; } .post-card.featured .thumb { width: 100%; aspect-ratio: 16 / 9; border-right: none; border-bottom: 1px solid var(--line); } .post-card.featured .pc-body { padding: 24px; } .post-card.featured h3 { font-size: 1.6rem; } }

.blog-note { text-align: center; color: var(--muted); font-family: var(--body); font-size: 0.92rem; margin: 26px 0 0; }

/* ---------- Article page ---------- */
.article-head { max-width: 760px; margin: 0 auto; text-align: center; padding: 30px 0 6px; }
.article-meta { display: flex; gap: 0; justify-content: center; align-items: center; flex-wrap: wrap; font-family: var(--body); font-size: 0.86rem; color: var(--muted); margin-top: 16px; }
.article-meta strong { color: var(--white); font-weight: 600; }
.article-meta .dot { color: var(--line-soft); margin: 0 10px; }
.article-hero-img { width: 100%; max-width: 980px; margin: 30px auto 0; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 16px; border: 1px solid var(--line); display: block; }

.article-layout { display: grid; grid-template-columns: 200px minmax(0, 720px); gap: 52px; justify-content: center; margin-top: 44px; align-items: start; }
@media (max-width: 920px) { .article-layout { grid-template-columns: minmax(0, 720px); gap: 0; justify-content: center; } .toc { display: none; } }

.toc { position: sticky; top: 24px; }
.toc .toc-title { font-family: var(--display); text-transform: uppercase; font-size: 0.78rem; letter-spacing: 0.16em; color: var(--muted); margin-bottom: 12px; }
.toc a { display: block; color: var(--muted); text-decoration: none; font-size: 0.9rem; line-height: 1.35; padding: 7px 0 7px 14px; border-left: 2px solid var(--line); transition: color 0.25s ease, border-color 0.25s ease; }
.toc a:hover { color: var(--gold); border-color: var(--gold); }

.article-body { font-size: 1.07rem; line-height: 1.75; }
.article-body h2 { font-family: var(--display); text-transform: uppercase; font-size: 1.5rem; color: var(--white); letter-spacing: 0.01em; margin: 42px 0 14px; scroll-margin-top: 20px; }
.article-body p { color: #D7DEE8; margin-bottom: 18px; }
.article-body a:not(.btn) { color: var(--gold); text-decoration: underline; text-decoration-color: rgba(240, 166, 33, 0.4); text-underline-offset: 3px; transition: text-decoration-color 0.25s ease, text-shadow 0.25s ease; }
.article-body a:not(.btn):hover { text-decoration-color: var(--gold-bright); text-shadow: 0 0 12px rgba(255, 216, 43, 0.4); }
.article-body ul { margin: 0 0 18px; padding-left: 4px; list-style: none; }
.article-body li { color: #D7DEE8; margin-bottom: 11px; padding-left: 26px; position: relative; }
.article-body li::before { content: ''; position: absolute; left: 4px; top: 10px; width: 7px; height: 7px; background: var(--gold); border-radius: 2px; transform: rotate(45deg); }
.article-body strong { color: var(--gold); font-weight: 600; }
.article-body .big { font-size: 1.18rem; color: var(--white); }
.article-body .fine { color: var(--line-soft); font-size: 0.85rem; line-height: 1.55; border-top: 1px solid var(--line); padding-top: 16px; margin-top: 30px; }

.pullquote { font-family: var(--display); font-size: 1.5rem; line-height: 1.32; color: var(--white); border-left: 3px solid var(--gold); padding: 4px 0 4px 22px; margin: 30px 0; }

/* Expandable FAQ */
.faq { margin: 40px 0 10px; }
.faq h2 { font-family: var(--display); text-transform: uppercase; font-size: 1.5rem; color: var(--white); margin-bottom: 6px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; font-family: var(--display); text-transform: uppercase; font-size: 1.02rem; letter-spacing: 0.01em; color: var(--white); padding: 16px 34px 16px 0; position: relative; transition: color 0.25s ease; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 13px; color: var(--gold); font-size: 1.4rem; line-height: 1; transition: transform 0.25s ease; }
.faq details[open] summary { color: var(--gold); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--gold); }
.faq .faq-a { color: var(--muted); padding: 0 0 18px; line-height: 1.65; }

/* Share row */
.share { display: flex; gap: 12px; align-items: center; justify-content: center; flex-wrap: wrap; margin: 36px 0 0; font-family: var(--body); font-size: 0.85rem; color: var(--muted); }
.share a { color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 7px 15px; text-decoration: none; transition: color 0.25s ease, border-color 0.25s ease, text-shadow 0.25s ease; }
.share a:hover { color: var(--gold); border-color: var(--gold); text-shadow: 0 0 10px rgba(240, 166, 33, 0.4); }

/* End-of-article CTA card */
.article-cta { background: linear-gradient(160deg, var(--card), #17233b); border: 1px solid var(--line-soft); border-radius: 16px; padding: 36px 34px; text-align: center; margin: 48px 0 6px; transition: border-color 0.3s ease, box-shadow 0.3s ease; }
.article-cta:hover { border-color: var(--gold); box-shadow: 0 20px 50px -22px rgba(240, 166, 33, 0.45); }
.article-cta h3 { font-family: var(--display); text-transform: uppercase; font-size: 1.6rem; color: var(--white); margin-bottom: 8px; }
.article-cta p { color: var(--muted); max-width: 38em; margin: 0 auto 22px; }
.article-cta .btn { background: transparent; color: var(--white); border: 1px solid var(--gold); }
.article-cta .btn:hover { background: var(--gold-bright); color: var(--navy); border-color: var(--gold-bright); box-shadow: 0 0 30px rgba(255, 216, 43, 0.5); transform: translateY(-2px); }

/* Related posts */
.related { max-width: 1020px; margin: 60px auto 0; border-top: 1px solid var(--line); padding-top: 36px; }
.related > h2 { font-family: var(--display); text-transform: uppercase; font-size: 1.3rem; color: var(--muted); letter-spacing: 0.04em; margin-bottom: 24px; text-align: center; }
