:root { --brand: #ffc20e; --ink: #1a222b; --border: #e5e7eb; }
* { box-sizing: border-box; }
body { margin: 0; font-family: Arial, Helvetica, sans-serif; color: var(--ink); background: #fff; line-height: 1.7; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #087d2b; outline-offset: 4px; }
.announcement { padding: 9px 18px; text-align: center; background: var(--brand); font-size: 14px; font-weight: 700; }
header { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--border); }
.header-inner { width: min(1240px, calc(100% - 40px)); min-height: 100px; margin: auto; display: flex; align-items: center; gap: 30px; }
.logo { margin-right: auto; }
.logo img { display: block; width: 180px; max-width: 100%; height: auto; }
header nav { display: flex; flex-wrap: wrap; gap: 24px; }
header nav a { text-decoration: none; font-size: 14px; font-weight: 700; }
header nav a:hover, .breadcrumbs a:hover { text-decoration: underline; text-underline-offset: 5px; }
.register-button, .login-button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 32px; border: 1px solid var(--brand); border-radius: 999px; color: var(--ink); background: var(--brand); text-decoration: none; font-weight: 700; font-size: 18px; line-height: 1.3; }
.register-button:hover { background: #efb300; border-color: #efb300; }
.login-button { background: #fff; }
.login-button:hover { background: #fff8dc; }
main { width: min(1240px, calc(100% - 40px)); margin: 0 auto 70px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 10px; padding: 24px 0; font-size: 13px; color: #61666b; }
.breadcrumbs a { text-decoration: none; }
.article-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 12px 0 52px; border-bottom: 1px solid var(--border); }
.article-image img { display: block; width: 100%; height: auto; border-radius: 8px; }
.category-label { display: inline-block; color: #62676d; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; text-underline-offset: 4px; }
h1 { margin: 16px 0 22px; font-size: clamp(32px, 4vw, 50px); line-height: 1.15; font-weight: 700; }
.summary { color: #555d65; font-size: 18px; margin-bottom: 26px; }
.intro-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.intro-actions a { min-width: 150px; }
.article-content { max-width: 920px; margin: 48px auto 0; }
h2 { margin: 0 0 18px; font-size: 30px; line-height: 1.3; }
p { margin: 0 0 24px; }
.article-content > h2 { margin-top: 36px; }
.article-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 48px; padding: 32px; background: #fafafa; border: 1px solid var(--border); border-top: 4px solid var(--brand); border-radius: 6px; }
.article-cta h2 { font-size: 26px; margin-bottom: 8px; }
.article-cta p { margin: 0; }
footer { padding: 32px 20px; background: var(--brand); text-align: center; font-size: 14px; }
footer a { color: var(--ink) !important; margin-left: 14px; }
@media(max-width: 900px) {
  .header-inner { flex-wrap: wrap; padding: 16px 0; gap: 16px; }
  header nav { order: 3; width: 100%; gap: 20px; }
  .article-intro { gap: 28px; }
}
@media(max-width: 600px) {
  .logo img { width: 145px; }
  .header-register { min-height: 42px; padding: 10px 22px; font-size: 16px; }
  header nav { gap: 12px 18px; }
  header nav a { font-size: 13px; }
  .article-intro { grid-template-columns: 1fr; padding-bottom: 32px; }
  .article-image { max-width: 420px; width: 100%; margin: auto; }
  .article-content { margin-top: 32px; }
  .article-cta { align-items: flex-start; flex-direction: column; padding: 24px; }
}

/* Editorial collection */
.byline { margin: 0 0 8px; font-size: 15px; }
.byline a, .author-box a { text-underline-offset: 4px; }
.article-dates { color: #62676d; font-size: 13px; margin-bottom: 20px; }
.article-intro { align-items: start; }
.article-summary h1 { font-size: clamp(28px, 3.2vw, 44px); overflow-wrap: break-word; }
.article-image { align-self: start; }
.article-image img { aspect-ratio: 1; object-fit: cover; }
.editorial-image-link { display: block; border-radius: 8px; overflow: hidden; }
.editorial-image-link img { transition: filter .2s; }
.editorial-image-link:hover img { filter: brightness(1.06); }
.article-content section { margin: 42px 0; scroll-margin-top: 190px; }
.article-content p { max-width: 78ch; }
.article-content h2 { font-size: clamp(24px, 3vw, 30px); }
.key-takeaways { background: #fff8dc; border-left: 4px solid var(--brand); padding: 28px; border-radius: 4px; }
.key-takeaways li, .related-articles li, .author-profile li { margin: 10px 0; }
.article-toc { display: grid; gap: 8px; padding: 24px; margin: 32px 0; border: 1px solid var(--border); border-radius: 6px; background: #fafafa; }
.article-toc a { text-underline-offset: 4px; }
.pillar-link { border-bottom: 1px solid var(--border); padding-bottom: 24px; }
.supporting-image { max-width: 620px; margin: 40px auto; }
.supporting-image img { display: block; width: 100%; height: auto; }
figcaption { font-size: 13px; line-height: 1.6; color: #646a70; margin-top: 12px; }
.faq-item { border-bottom: 1px solid var(--border); padding: 18px 0; }
.faq-item summary { cursor: pointer; font-weight: 700; padding-right: 12px; }
.faq-item p { margin: 14px 0 4px; color: #4e565e; }
.author-box { padding: 26px; background: #f7f8f8; border-radius: 6px; }
.author-box p { margin-bottom: 0; }
.sources { font-size: 15px; }
.sources li { margin: 8px 0; overflow-wrap: anywhere; }
.author-profile { max-width: 920px; padding: 52px 0; margin: auto; }
.author-profile h2 { margin-top: 36px; }
@media (prefers-reduced-motion: reduce) { .editorial-image-link img { transition: none; } }
@media(max-width:600px) {
  .article-content section { scroll-margin-top: 215px; }
  .key-takeaways { padding: 20px; }
  .key-takeaways ul { padding-left: 20px; }
}
