.article-page { width: var(--page); margin: 3rem auto 6rem; overflow: visible; }
.back-link { color: var(--orange-dark); font-weight: 700; text-underline-offset: 4px; }
.article-header { max-width: 900px; margin: 3rem 0 4rem; }
.article-header h1 { margin-bottom: 1.25rem; font-family: "Sarabun",sans-serif; font-size: clamp(2.7rem,6vw,5.2rem); line-height: 1.08; letter-spacing: -.045em; }
.article-header > p:last-of-type { max-width: 780px; color: var(--muted); font-size: 1.2rem; }
.status-badge { display: inline-flex; padding: .35rem .7rem; color: var(--orange-dark); background: var(--orange-soft); border-radius: 999px; font-size: .85rem; font-weight: 700; }
.article-layout { display: grid; grid-template-columns: minmax(0,1fr) 330px; gap: 3.5rem; align-items: start; }
.article-body { min-width: 0; padding: clamp(1.6rem,4vw,3.5rem); background: #fff; border: 1px solid var(--line); border-radius: 28px; }
.article-body h2 { margin-top: 2.6rem; font-size: 1.75rem; }
.article-body h2:first-child { margin-top: 0; }
.article-body p, .article-body li { max-width: 74ch; }
.article-body a { color: var(--orange-dark); }
.medical-note { margin-top: 3rem; padding: 1.4rem; background: var(--orange-soft); border-radius: 16px; }
.medical-note p { margin-bottom: 0; }
.reference-card { min-width: 0; padding: 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: 20px; position: sticky; top: 20px; }
.reference-card h2 { font-size: 1.35rem; }
.reference-card > a { display: grid; gap: .25rem; padding: 1rem 0; border-top: 1px solid var(--line); color: var(--orange-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; overflow-wrap: anywhere; }
.reference-card > a span { color: var(--ink); font-size: .94rem; }
.reference-card > a small { color: var(--muted); font-size: .82rem; line-height: 1.45; }
.review-status { display: grid; gap: .3rem; padding-top: 1rem; margin-top: 1rem; border-top: 1px solid var(--line); font-size: .92rem; }
.review-status span, .muted { color: var(--muted); }
.content-filters { margin: -1.5rem 0 3rem; display: flex; flex-wrap: wrap; gap: .55rem; }
.content-filters a { min-height: 40px; padding: .42rem .8rem; display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 999px; background: #fff; text-decoration: none; font-weight: 600; }
.content-filters a.active { color: #fff; background: var(--orange-dark); border-color: var(--orange-dark); }
.listing-section + .listing-section { margin-top: 5rem; }
.section-heading.compact { margin-bottom: 1.5rem; }
.section-heading.compact h2 { font-size: clamp(1.8rem,3vw,2.7rem); }
.section-heading.compact > span { color: var(--muted); font-weight: 700; }
.listing-faqs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.listing-faqs > a { min-width: 0; padding: 1.35rem; display: grid; gap: .35rem; background: #fff; border: 1px solid var(--line); border-radius: 18px; text-decoration: none; }
.listing-faqs > a:hover { border-color: var(--orange); box-shadow: var(--shadow); }
.listing-faqs span { color: var(--orange-dark); font-size: .8rem; font-weight: 700; }
.listing-faqs strong { color: var(--ink-deep); font-size: 1.1rem; }
.listing-faqs small { color: var(--muted); font-size: .9rem; }
.source-list { display: grid; gap: 1rem; }
.source-item { padding: 1.4rem; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.source-item h2 { margin: .4rem 0; font-size: 1.2rem; }
.source-item p { margin-bottom: .55rem; color: var(--muted); }
.source-item a { color: var(--orange-dark); font-weight: 700; text-underline-offset: 3px; }
.document-status { max-width: 780px; margin-top: 1.5rem; padding: 1rem 1.15rem; display: grid; gap: .25rem; color: #603000; background: var(--orange-soft); border: 1px solid #f2b45e; border-radius: 16px; }
.document-status span { font-size: .94rem; }
.terms-summary { margin: -1.5rem 0 3rem; padding: clamp(1.35rem,3vw,2rem); background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--orange-dark); border-radius: 20px; box-shadow: 0 10px 28px rgba(0,0,0,.045); }
.terms-summary h2 { margin-bottom: .75rem; font-size: 1.45rem; }
.terms-summary ul { margin: 0; padding-left: 1.3rem; display: grid; gap: .45rem; }
.terms-body section { scroll-margin-top: 1.5rem; }
.terms-body ul { padding-left: 1.3rem; }
.terms-body li + li { margin-top: .55rem; }
.emergency-note { margin: 1rem 0; padding: 1.35rem; color: #5b1f1f; background: #fff0ef; border: 1px solid #efc3bf; border-radius: 16px; }
.emergency-note strong { font-size: 1.12rem; }
.emergency-note p { margin: .45rem 0 0; }
.terms-nav > a { padding: .72rem 0; }
.terms-nav > a:first-of-type { border-top: 0; }
@media (max-width: 900px) { .article-layout { grid-template-columns: 1fr; } .reference-card { position: static; } }
@media (max-width: 700px) { .article-page { margin-top: 2rem; } .article-header { margin: 2rem 0 3rem; } .article-header h1 { font-size: clamp(2.35rem,12vw,3.6rem); } .listing-faqs { grid-template-columns: 1fr; } }
