.fitana-magazine { --site-content-width: 1440px; }
html { scroll-behavior: smooth; }
.site-nav [aria-current="page"] { color: var(--accent); font-weight: 700; }
.magazine-page { padding-bottom: 80px; }
.mag-masthead { display: flex; align-items: center; justify-content: space-between; gap: 36px; padding-block: 42px 32px; border-bottom: 2px solid var(--text); }
.mag-masthead h1 { font-size: clamp(2rem, 3.2vw, 3rem); margin: 10px 0 0; font-weight: 900; }
.mag-masthead h1 span { color: var(--accent); }
.mag-masthead p { color: var(--muted); margin: 0; font-size: 14px; line-height: 2; }
.mag-masthead > a { flex: none; }
.mag-featured { display: grid; grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr); gap: 40px; padding-block: 32px 48px; border-bottom: 1px solid var(--shell-line); }
.mag-lead .ds-story-media { aspect-ratio: 1.95; }
.mag-lead { position: relative; }
.mag-lead h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 900; margin: 12px 0; line-height: 1.65; }
.mag-lead p { max-width: 780px; margin-bottom: 18px; }
.mag-label { position: absolute; top: 16px; right: 16px; border-radius: 4px; background: var(--bg); padding: 4px 12px; color: var(--text); font-size: 11px; font-weight: 700; }
.mag-recent { border-inline-start: 1px solid var(--shell-line); padding-inline-start: 32px; display: flex; flex-direction: column; gap: 24px; }
.mag-recent-heading { font-size: 12px; display: flex; justify-content: space-between; border-bottom: 1px solid var(--shell-line); padding-bottom: 12px; margin: 0; color: var(--muted); font-weight: 400; }
.mag-recent .ds-story-media { aspect-ratio: 2.5; }
.mag-recent .ds-meta { margin-top: 12px; }
.mag-recent h3 { font-size: 18px; margin: 8px 0; }
.mag-recent .ds-story p, .mag-recent .ds-story-read { display: none; }
.mag-archive { padding-top: 48px; }
.mag-archive-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.mag-archive h2 { font-size: 26px; margin: 10px 0 0; }
.mag-search { width: 340px; }
.mag-filter-bar { display: flex; justify-content: space-between; align-items: end; gap: 24px; padding-block: 20px; border-block: 1px solid var(--shell-line); }
.mag-category { min-width: 215px; }
.mag-result-line { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mag-result-line p { margin: 0; color: var(--muted); font-size: 12px; }
.mag-clear { border: 0; background: transparent; padding: 0; color: var(--accent); font-size: 12px !important; }
.mag-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; }
.mag-grid .ds-story { padding-bottom: 24px; border-bottom: 1px solid var(--shell-line); }
.mag-grid .ds-story p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mag-more { text-align: center; padding-top: 32px; }
.mag-app-note { display: flex; justify-content: space-between; align-items: center; gap: 32px; margin-top: 64px; padding: 36px 40px; background: var(--ui-success-soft); border-radius: var(--radius); }
.mag-app-note .ds-eyebrow { color: var(--ui-success); }
.mag-app-note h2 { font-size: 25px; margin: 10px 0; }
.mag-app-note p { font-size: 14px; color: var(--muted); margin: 0; }
.mag-app-note a { flex: none; }
.mag-reader { padding-top: 28px; }
.mag-reader-top { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--shell-line); padding-bottom: 16px; margin-bottom: 32px; }
.mag-reader-top span { font-size: 12px; color: var(--muted); }
.mag-reader-intro { max-width: 880px; margin-inline: auto; text-align: center; padding-block: 12px 32px; }
.mag-reader-intro .ds-meta { justify-content: center; }
.mag-reader-intro h1 { font-size: clamp(1.7rem, 3vw, 2.65rem); font-weight: 900; margin: 20px 0; line-height: 1.65; }
.mag-reader-intro p { color: var(--muted); font-size: 16px; line-height: 2.1; }
.mag-reader-cover { width: 100%; height: clamp(220px, 32vw, 480px); object-fit: cover; border-radius: var(--radius); }
.mag-reading-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 80px; max-width: 1180px; margin: 48px auto 0; align-items: start; }
.mag-prose { min-width: 0; font-size: 16px; line-height: 2.3; }
.mag-prose section { margin-bottom: 40px; }
.mag-prose h2 { font-size: 24px; line-height: 1.8; margin-bottom: 18px; }
.mag-prose p { margin-bottom: 20px; }
.mag-prose ul { padding-inline-start: 24px; }
.mag-prose li { margin-block: 12px; padding-inline-start: 4px; }
.mag-prose li::marker { color: var(--accent); }
.mag-takeaway { background: var(--ui-success-soft); border-inline-start: 3px solid var(--ui-success); padding: 24px 28px; border-radius: var(--radius); margin-bottom: 36px; }
.mag-takeaway h2 { color: var(--ui-success); font-size: 18px; margin-bottom: 12px; }
.mag-takeaway p, .mag-safety p { margin-bottom: 0; }
.mag-toc { position: sticky; top: 120px; font-size: 13px; }
.mag-toc h2 { font-size: 15px; border-bottom: 1px solid var(--shell-line); padding-bottom: 16px; }
.mag-toc ol { margin: 0 0 24px; padding-inline-start: 20px; }
.mag-toc a { display: block; padding: 7px 4px; color: var(--muted); }
.mag-toc a:hover { color: var(--accent); }
.mag-toc .ds-button { width: 100%; }
.mag-share-status { font-size: 12px; color: var(--muted); margin-top: 10px; }
.mag-safety { background: #efeee9; padding: 24px; border-radius: var(--radius); font-size: 14px; margin-block: 32px; }
.mag-safety h2 { font-size: 18px; }
.mag-sources { border-block: 1px solid var(--shell-line); padding-block: 24px; }
.mag-sources a { text-decoration: underline; text-underline-offset: 4px; color: var(--ui-success); overflow-wrap: anywhere; }
.mag-disclosure { color: var(--muted); font-size: 12px; }
.mag-related { border-top: 2px solid var(--text); padding-top: 32px; margin-top: 64px; }
.mag-related > h2 { font-size: 24px; margin-bottom: 28px; }
@media (max-width: 1050px) {
 .mag-featured { gap: 24px; grid-template-columns: minmax(0,1.5fr) minmax(0,1fr); }
 .mag-recent { padding-inline-start: 24px; }
 .mag-recent .ds-story-media { aspect-ratio: 2; }
 .mag-masthead > a { display: none; }
 .mag-filter-bar { align-items: center; }
 .mag-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .mag-reading-layout { gap: 36px; grid-template-columns: minmax(0,1fr) 230px; }
}
@media (max-width: 760px) {
 .mag-masthead { align-items: start; flex-direction: column; gap: 12px; padding-block: 28px 24px; }
 .mag-masthead h1 { font-size: 32px; }
 .mag-masthead p { font-size: 12px; }
 .mag-featured { grid-template-columns: 1fr; padding-top: 24px; gap: 28px; padding-bottom: 32px; }
 .mag-lead .ds-story-media { aspect-ratio: 1.5; }
 .mag-lead h2 { font-size: 24px; }
 .mag-recent { border-inline-start: 0; padding-inline-start: 0; gap: 18px; }
 .mag-recent .ds-story { display: grid; grid-template-columns: 110px minmax(0,1fr); gap: 16px; align-items: center; }
 .mag-recent .ds-story-media { aspect-ratio: 1; }
 .mag-recent .ds-meta { margin: 0; font-size: 10px; gap: 6px; }
 .mag-recent h3 { font-size: 15px; }
 .mag-archive-head { flex-direction: column; align-items: stretch; }
 .mag-search { width: 100%; }
 .mag-filter-bar { flex-direction: column; align-items: stretch; gap: 16px; }
 .mag-category { width: 100%; }
 .mag-grid { gap: 28px 20px; }
 .mag-archive { padding-top: 32px; }
 .mag-archive h2 { font-size: 24px; }
 .mag-app-note { flex-direction: column; align-items: start; padding: 28px; margin-top: 44px; }
 .mag-app-note h2 { font-size: 22px; }
 .mag-reading-layout { display: flex; flex-direction: column-reverse; gap: 28px; margin-top: 28px; }
 .mag-toc { position: static; width: 100%; padding: 20px; border: 1px solid var(--shell-line); border-radius: var(--radius); }
 .mag-reader-intro { text-align: right; }
 .mag-reader-intro .ds-meta { justify-content: start; }
 .mag-reader-intro p { font-size: 14px; }
 .mag-reader-top > span { display: none; }
 .mag-reader-intro h1 { font-size: 27px; }
 .mag-prose { font-size: 15px; }
 .mag-prose h2 { font-size: 21px; }
 .mag-takeaway { padding: 20px; }
 .magazine-page { padding-bottom: 48px; }
}
@media (max-width: 500px) {
 .mag-grid { grid-template-columns: 1fr; }
 .mag-grid .ds-story h3 { font-size: 20px; }
 .mag-filter-bar .ds-chip-list { gap: 6px; }
 .ds-chip { padding-inline: 13px; }
 .mag-result-line { align-items: start; padding-block: 16px; flex-direction: column; gap: 0; }
}
