.article-page { --portal-muted: #5b6c62; background: var(--portal-cream); }
.article-page *, .article-page *::before, .article-page *::after { box-sizing: border-box; }
.article-page ::selection { color: var(--portal-pine); background: #e8cd94; }
.article-page :is(a, button, summary, input, video):focus-visible { outline: 3px solid #916018; outline-offset: 4px; }
.article-page a { text-underline-offset: .22em; }
.article-main { width: min(100%, 1180px); min-height: 70vh; margin: 0 auto; padding: 28px 40px 72px; }
.article-main:focus { outline: none; }
.article-loading { padding: 80px 0; color: var(--portal-soft); text-align: center; }
.article-skip { position: fixed; top: 12px; left: 16px; z-index: 1000; display: inline-flex; align-items: center; min-height: 44px; padding: 10px 18px; transform: translateY(-160%); border-radius: 10px; color: var(--portal-surface); background: var(--portal-pine); text-decoration: none; }
.article-skip:focus { transform: translateY(0); }
.article-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.article-back, .article-copy { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 10px; color: var(--portal-soft); font-family: inherit; font-size: 14px; font-weight: 600; line-height: 20px; text-decoration: none; }
.article-back svg, .article-copy svg, .article-related-link svg { width: 19px; height: 19px; flex: none; }
.article-back:hover { color: var(--portal-ink); text-decoration: underline; }
.article-copy { padding: 10px 14px; border: 1px solid var(--portal-line); border-radius: 10px; background: transparent; cursor: pointer; }
.article-copy:hover { color: var(--portal-ink); border-color: var(--portal-soft); background: var(--portal-surface); }
.article-copy:active { background: #eee3d0; }
.article-copy:disabled { opacity: .6; cursor: wait; }
.article-copy-status { margin: 0; color: var(--portal-soft); font-size: 14px; line-height: 22px; text-align: right; }
.article-copy-status:not(:empty) { margin-top: 12px; }
.article-copy-status[data-state="error"] { color: var(--portal-danger); }
.article-copy-manual { max-width: 620px; margin: 14px 0 0 auto; }
.article-copy-manual label { display: block; margin-bottom: 6px; color: var(--portal-soft); font-size: 14px; }
.article-copy-manual input { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--portal-line); border-radius: 8px; color: var(--portal-ink); background: var(--portal-surface); font: inherit; font-size: 16px; }
.article-clipboard-buffer { position: fixed; top: -1000px; left: -1000px; }
.article-header { max-width: 880px; margin: 38px auto 34px; text-align: center; }
.article-header h1 { margin: 0; color: var(--portal-ink); font-size: clamp(34px, 3.7vw, 48px); font-weight: 700; letter-spacing: -.035em; line-height: 1.12; text-wrap: balance; }
.article-meta { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px 22px; margin-top: 24px; color: var(--portal-soft); font-size: 13px; line-height: 20px; }
.article-meta > :first-child { color: #7c531b; font-weight: 700; }
.article-meta time { font-variant-numeric: tabular-nums; }
.article-header > p { max-width: 720px; margin: 20px auto 0; color: var(--portal-soft); font-size: 18px; line-height: 29px; text-wrap: pretty; }
.article-hero, .article-video { margin: 0; overflow: hidden; border: 1px solid var(--portal-line); border-radius: 16px; background: var(--portal-surface); }
.article-hero img { display: block; width: 100%; height: clamp(320px, 40vw, 480px); object-fit: cover; }
.article-hero figcaption, .article-video figcaption { padding: 13px 18px; color: var(--portal-soft); font-size: 13px; line-height: 21px; }
.article-video video { display: block; width: 100%; max-height: 540px; aspect-ratio: 16 / 9; background: #fff; object-fit: contain; }
.article-video figcaption { border-top: 1px solid var(--portal-line); }
.article-layout { display: grid; grid-template-columns: 216px minmax(0, 700px); justify-content: center; gap: 64px; margin-top: 56px; }
.article-contents { position: sticky; top: 100px; align-self: start; }
.article-contents details { border-top: 1px solid var(--portal-line); border-bottom: 1px solid var(--portal-line); }
.article-contents summary { display: flex; min-height: 48px; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; color: var(--portal-ink); font-size: 15px; font-weight: 700; line-height: 22px; list-style: none; cursor: pointer; }
.article-contents summary::-webkit-details-marker { display: none; }
.article-contents summary svg { width: 18px; height: 18px; flex: none; }
.article-contents details[open] summary svg { transform: rotate(180deg); }
.article-contents ul { margin: 0; padding: 0 0 12px; list-style: none; }
.article-contents a { display: flex; min-height: 44px; align-items: center; padding: 10px 0; color: var(--portal-soft); font-size: 14px; line-height: 21px; text-decoration: none; }
.article-contents a:hover { color: var(--portal-ink); text-decoration: underline; }
.article-prose { min-width: 0; color: var(--portal-soft); font-size: 18px; line-height: 30px; overflow-wrap: break-word; }
.article-prose p { margin: 0 0 24px; }
.article-prose > section > ul { display: grid; gap: 10px; margin: -6px 0 28px; padding-left: 24px; }
.article-prose > section > ul li { padding-left: 4px; }
.article-prose > section > ul li::marker { color: #90631c; }
.article-prose .article-intro { color: var(--portal-ink); font-size: 19px; line-height: 31px; }
.article-prose section, .article-prose h2 { scroll-margin-top: 110px; }
.article-prose h2 { margin: 46px 0 16px; color: var(--portal-ink); font-size: 28px; font-weight: 700; letter-spacing: -.025em; line-height: 35px; text-wrap: balance; }
.article-prose h2:focus { outline: none; }
.article-facts { margin-top: 42px; padding: 24px 26px; border: 1px solid var(--portal-line); border-radius: 14px; background: var(--portal-surface); }
.article-facts h2 { margin: 0 0 18px; font-size: 22px; line-height: 28px; }
.article-facts ul { display: grid; gap: 14px; margin: 0; padding-left: 20px; }
.article-facts li { padding-left: 3px; color: var(--portal-ink); font-size: 16px; line-height: 26px; }
.article-facts li::marker { color: #90631c; }
.article-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.article-actions .portal-button, .article-not-found .portal-button { min-height: 48px; line-height: 22px; text-align: center; }
.article-disclaimer { margin-top: 24px !important; color: var(--portal-soft); font-size: 13px; line-height: 21px; }
.article-faq, .article-sources { margin-top: 46px; padding-top: 2px; }
.article-faq details { border-top: 1px solid var(--portal-line); }
.article-faq details:last-child { border-bottom: 1px solid var(--portal-line); }
.article-faq summary { position: relative; padding: 18px 42px 18px 0; color: var(--portal-ink); font-size: 17px; font-weight: 700; line-height: 26px; cursor: pointer; }
.article-faq summary::after { position: absolute; top: 18px; right: 8px; content: "+"; color: #7c531b; font-size: 24px; font-weight: 400; }
.article-faq details[open] summary::after { content: "−"; }
.article-faq details p { padding: 0 42px 18px 0; font-size: 16px; line-height: 26px; }
.article-sources .article-source-date { margin: -6px 0 14px; font-size: 14px; line-height: 22px; }
.article-sources ol { display: grid; gap: 12px; margin: 0; padding-left: 24px; font-size: 15px; line-height: 24px; }
.article-sources a { color: var(--portal-ink); overflow-wrap: anywhere; }
.article-sources a:hover { text-decoration-thickness: 2px; }
.article-related { margin-top: 72px; padding-top: 30px; border-top: 1px solid var(--portal-line); }
.article-related h2 { margin: 0; color: var(--portal-ink); font-size: 30px; letter-spacing: -.025em; line-height: 38px; }
.article-related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 26px; }
.article-related-card { display: flex; min-width: 0; flex-direction: column; color: inherit; text-decoration: none; }
.article-related-card img { display: block; width: 100%; height: auto; aspect-ratio: 8 / 5; border-radius: 12px; object-fit: cover; background: var(--portal-surface); }
.article-related-copy { display: flex; flex: 1; flex-direction: column; padding-top: 17px; }
.article-related-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; color: var(--portal-soft); font-size: 12px; line-height: 19px; }
.article-related-meta > :first-child { color: #7c531b; font-weight: 700; }
.article-related-card h3 { margin: 10px 0 0; color: var(--portal-ink); font-size: 22px; font-weight: 700; letter-spacing: -.025em; line-height: 28px; text-wrap: pretty; }
.article-related-card p { margin: 12px 0 0; color: var(--portal-soft); font-size: 14px; line-height: 23px; }
.article-related-link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 16px; color: var(--portal-ink); font-size: 14px; font-weight: 600; line-height: 22px; }
.article-related-card:hover h3, .article-related-card:hover .article-related-link { text-decoration: underline; text-decoration-thickness: 1px; }
.article-all-link { margin-top: 28px; }
.article-not-found { max-width: 620px; margin: 80px auto; text-align: center; }
.article-not-found h1 { margin: 12px 0 20px; color: var(--portal-ink); font-size: clamp(32px, 5vw, 48px); letter-spacing: -.035em; line-height: 1.15; }
.article-not-found p { margin: 0 auto 24px; color: var(--portal-soft); font-size: 17px; line-height: 28px; }
.article-page .portal-footer-links a { display: inline-flex; min-height: 44px; align-items: center; }
@media (max-width: 900px) {
  .article-layout { max-width: 700px; grid-template-columns: minmax(0, 1fr); gap: 32px; margin: 40px auto 0; }
  .article-contents { position: static; }
  .article-contents summary { min-height: 52px; }
  .article-header { margin-top: 32px; }
  .article-related-grid { gap: 20px; }
  .article-related-card h3 { font-size: 20px; line-height: 26px; }
}
@media (max-width: 620px) {
  .article-main { padding: 20px 20px 48px; }
  .article-toolbar { align-items: flex-start; gap: 8px; }
  .article-back, .article-copy { gap: 7px; font-size: 12px; line-height: 18px; }
  .article-copy { padding: 9px 10px; }
  .article-copy svg { width: 17px; height: 17px; }
  .article-toolbar .article-back { justify-content: flex-start; }
  .article-header { margin: 26px 0 26px; text-align: left; }
  .article-header h1 { font-size: 34px; line-height: 39px; }
  .article-meta { justify-content: flex-start; gap: 7px 14px; margin-top: 20px; font-size: 12px; line-height: 19px; }
  .article-header > p { margin-top: 18px; font-size: 17px; line-height: 28px; }
  .article-hero, .article-video { border-radius: 12px; }
  .article-hero img { height: auto; aspect-ratio: 4 / 3; }
  .article-hero figcaption, .article-video figcaption { padding: 11px 13px; font-size: 12px; line-height: 19px; }
  .article-layout { gap: 28px; margin-top: 30px; }
  .article-prose { font-size: 17px; line-height: 28px; }
  .article-prose .article-intro { font-size: 18px; line-height: 29px; }
  .article-prose h2 { margin-top: 36px; font-size: 25px; line-height: 31px; }
  .article-facts { margin-top: 34px; padding: 22px 20px; }
  .article-facts h2 { margin-top: 0; font-size: 22px; line-height: 28px; }
  .article-actions { align-items: stretch; flex-direction: column; }
  .article-actions .portal-button { width: 100%; }
  .article-related { margin-top: 46px; padding-top: 26px; }
  .article-related h2 { font-size: 28px; line-height: 35px; }
  .article-related-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; margin-top: 22px; }
  .article-related-card + .article-related-card { padding-top: 28px; border-top: 1px solid var(--portal-line); }
  .article-related-card h3 { font-size: 23px; line-height: 29px; }
  .article-related-card p { font-size: 15px; line-height: 24px; }
  .article-all-link { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .article-page *, .article-page *::before, .article-page *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
