:root {
  --atfp-navy: #0f2340;
  --atfp-navy-soft: #1f3859;
  --atfp-navy-deep: #08182e;
  --atfp-red: #b5302e;
  --atfp-red-soft: #d9665e;
  --atfp-ivory: #faf7f1;
  --atfp-ivory-deep: #f2ede2;
  --atfp-rule: #dcd5c5;
  --atfp-ink: #14181f;
  --atfp-ink-soft: #4a5562;
  --atfp-muted: #6e7888;
  --atfp-serif: "Fraunces", Georgia, serif;
  --atfp-sans: "Inter", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

body.post-type-archive-at_article,
body.tax-at_topic,
body.single-at_article,
body.post-type-archive-at_article #wrapper,
body.tax-at_topic #wrapper,
body.single-at_article #wrapper,
body.post-type-archive-at_article #main-content,
body.tax-at_topic #main-content,
body.single-at_article #main-content { background-color: var(--atfp-ivory) !important; }

.atfp-shell, .atfp-shell * { box-sizing: border-box; }
.atfp-shell { background: var(--atfp-ivory) !important; clear: both; color: var(--atfp-ink); display: block !important; float: none !important; font-family: var(--atfp-sans); margin: 0 auto !important; max-width: 1320px !important; min-height: 320px; padding: 0 !important; width: 100% !important; }
.atfp-shell a { color: inherit; }
.atfp-landing-hero, .atfp-topics, .atfp-featured, .atfp-grid-section, .atfp-breadcrumb, .atfp-article-header, .atfp-article-hero, .atfp-article-layout, .atfp-author, .atfp-related { margin-inline: auto; padding-inline: 48px; }

.atfp-shell .atfp-landing-hero { background: transparent !important; border-bottom: 1px solid var(--atfp-rule); color: var(--atfp-ink) !important; display: block !important; float: none !important; margin: 0 auto !important; max-width: 1100px; opacity: 1 !important; padding: 110px 48px 90px; position: static !important; visibility: visible !important; }
.atfp-eyebrow, .atfp-section-label, .atfp-topic { color: var(--atfp-red); display: block; font-size: 11px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; }
.atfp-landing-hero .atfp-eyebrow { margin: 0 0 28px; }
.atfp-landing-hero h1 { color: var(--atfp-navy); font-family: var(--atfp-serif); font-size: 84px; font-weight: 600; letter-spacing: -2.5px; line-height: 1; margin: 0 0 22px; }
.atfp-tagline { color: var(--atfp-navy-soft); font-family: var(--atfp-serif); font-size: 24px; font-style: italic; font-weight: 400; letter-spacing: .1px; line-height: 1.4; margin: 0 0 26px; max-width: 720px; }
.atfp-deck { color: var(--atfp-ink-soft); font-size: 18px; line-height: 1.65; margin: 0; max-width: 640px; }
.atfp-topic-hero { padding-bottom: 42px; }
.atfp-topic-hero h1 { font-size: clamp(42px, 5.5vw, 70px); }

.atfp-shell .atfp-topics { align-items: center; background: var(--atfp-ivory) !important; border-bottom: 1px solid var(--atfp-rule); color: var(--atfp-muted) !important; display: flex !important; float: none !important; flex-wrap: wrap; gap: 32px; justify-content: center; margin: 0 auto !important; max-width: 1320px; min-height: 0 !important; opacity: 1 !important; padding: 18px 48px; position: static !important; visibility: visible !important; }
.atfp-shell .atfp-topics a { background: transparent !important; border: 0 !important; border-bottom: 1px solid transparent !important; box-shadow: none !important; color: var(--atfp-ink-soft) !important; display: inline-block !important; font-family: var(--atfp-sans) !important; font-size: 12px !important; font-weight: 600; letter-spacing: 1.5px; line-height: 1.4 !important; margin: 0 !important; padding: 0 0 4px !important; text-shadow: none !important; text-decoration: none; text-transform: uppercase; }
.atfp-shell .atfp-topics a:hover, .atfp-shell .atfp-topics a.is-active { border-bottom-color: var(--atfp-red) !important; color: var(--atfp-navy) !important; }

.atfp-featured { max-width: 1240px; padding: 90px 48px 60px; }
.atfp-section-label { border-bottom: 1px solid var(--atfp-rule); margin: 0 0 32px; padding-bottom: 14px; }
.atfp-featured article { align-items: center; display: grid; gap: 60px; grid-template-columns: 1.15fr 1fr; }
.atfp-feature-image, .atfp-card-image, .atfp-article-hero > div { background: var(--atfp-navy-soft); display: block; overflow: hidden; position: relative; }
.atfp-feature-image { aspect-ratio: 4 / 3; }
.atfp-feature-image img, .atfp-card-image img, .atfp-article-hero img { height: 100%; object-fit: cover; width: 100%; }
.atfp-brand-strip { align-items: center; background: var(--atfp-navy); bottom: 0; color: var(--atfp-ivory); display: flex; flex-direction: column; left: 0; padding: 18px 7px 8px; position: absolute; top: 0; width: 40px; z-index: 2; }
.atfp-brand-strip svg { flex: 0 0 auto; height: 28px; width: 30px; }
.atfp-brand-strip span { font-size: 9px; letter-spacing: .16em; margin-top: 18px; text-transform: uppercase; transform: rotate(180deg); writing-mode: vertical-rl; }
.atfp-brand-strip i { background: var(--atfp-red); height: 28px; margin-top: auto; width: 1px; }
.atfp-feature-copy h2 { color: var(--atfp-navy); font-family: var(--atfp-serif); font-size: 44px; font-weight: 600; letter-spacing: -1px; line-height: 1.1; margin: 18px 0 22px; }
.atfp-feature-copy h2 a, .atfp-read { text-decoration: none; }
.atfp-feature-copy > p { color: var(--atfp-ink-soft); font-size: 16px; line-height: 1.65; margin: 0 0 26px; max-width: 540px; }
.atfp-meta { align-items: center; color: var(--atfp-muted); display: flex; flex-wrap: wrap; font-size: 11px; gap: 11px; letter-spacing: .03em; }
.atfp-meta b { background: var(--atfp-red); border-radius: 50%; height: 3px; width: 3px; }
.atfp-read { border-bottom: 1px solid var(--atfp-navy); color: var(--atfp-navy); display: inline-flex; font-size: 13px; font-weight: 700; gap: 10px; margin-top: 28px; padding-bottom: 4px; }
.atfp-read:hover { border-color: var(--atfp-red); color: var(--atfp-red); gap: 15px; }

.atfp-grid-section { max-width: 1240px; padding: 50px 48px 100px; }
.atfp-grid { display: grid; gap: 56px 44px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.atfp-card-link { display: block; text-decoration: none; }
.atfp-card-image { aspect-ratio: 4 / 3; margin-bottom: 22px; }
.atfp-card-image:empty::after { color: #fff; content: "Add featured image"; left: 50%; position: absolute; top: 50%; transform: translate(-50%,-50%); }
.atfp-card .atfp-brand-strip { width: 30px; }
.atfp-card .atfp-brand-strip svg { height: 22px; width: 23px; }
.atfp-card .atfp-brand-strip span { font-size: 7px; }
.atfp-card h2 { color: var(--atfp-navy); font-family: var(--atfp-serif); font-size: 22px; font-weight: 600; letter-spacing: -.3px; line-height: 1.22; margin: 12px 0; }
.atfp-card-link:hover h2 { color: var(--atfp-red); }
.atfp-card p { color: var(--atfp-ink-soft); font-size: 14.5px; line-height: 1.6; margin: 0 0 14px; }
.atfp-card .atfp-meta { font-size: 10px; }
.atfp-shell .navigation.pagination { border-top: 1px solid var(--atfp-rule); margin-top: 65px; padding-top: 26px; }
.atfp-shell .nav-links { display: flex; gap: 18px; justify-content: center; }
.atfp-shell .page-numbers { color: var(--atfp-muted); font-size: 13px; text-decoration: none; }
.atfp-shell .page-numbers.current, .atfp-shell .page-numbers:hover { color: var(--atfp-navy); font-weight: 700; }
.atfp-pagination-wrap { align-items: center; border-top: 1px solid var(--atfp-rule); display: flex; justify-content: space-between; margin-top: 65px; padding-top: 26px; }
.atfp-page-meta { color: var(--atfp-muted); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.atfp-filter-pages { display: flex; gap: 10px; justify-content: center; }
.atfp-filter-pages a { align-items: center; border: 1px solid transparent; color: var(--atfp-muted); display: inline-flex; font-size: 12px; height: 34px; justify-content: center; text-decoration: none; width: 34px; }
.atfp-filter-pages a:hover, .atfp-filter-pages a.is-current { border-color: var(--atfp-rule); color: var(--atfp-navy); font-weight: 700; }
.atfp-grid-section { transition: opacity .18s ease; }
.atfp-grid-section.is-loading { opacity: .42; pointer-events: none; }
.atfp-empty { color: var(--atfp-ink-soft); font-family: var(--atfp-serif); font-size: 22px; grid-column: 1 / -1; padding: 30px 0 70px; text-align: center; }

.atfp-breadcrumb { color: var(--atfp-muted); display: flex; flex-wrap: wrap; font-size: 11px; gap: 10px; padding-bottom: 25px; padding-top: 35px; }
.atfp-breadcrumb a { text-decoration: none; }
.atfp-breadcrumb a:hover { color: var(--atfp-red); }
.atfp-article-header { border-bottom: 1px solid var(--atfp-rule); padding-bottom: 38px; padding-top: 28px; }
.atfp-article-header h1 { color: var(--atfp-navy); font-family: var(--atfp-serif); font-size: clamp(42px, 5.7vw, 72px); font-weight: 600; letter-spacing: -.035em; line-height: 1.04; margin: 20px 0 22px; max-width: 1080px; }
.atfp-article-deck { color: var(--atfp-navy-soft); font-family: var(--atfp-serif); font-size: clamp(20px, 2vw, 27px); font-style: italic; font-weight: 400; line-height: 1.45; margin: 0 0 26px; max-width: 920px; }
.atfp-article-hero { margin-bottom: 0; margin-top: 46px; }
.atfp-article-hero > div { aspect-ratio: 21 / 9; }
.atfp-article-hero figcaption { color: var(--atfp-muted); font-size: 10px; padding-top: 9px; }
.atfp-article-layout { align-items: start; display: grid; gap: 80px; grid-template-columns: minmax(0, 720px) 240px; justify-content: center; max-width: 1240px; padding-bottom: 88px; padding-top: 72px; }
.atfp-toc { position: sticky; top: 32px; }
.atfp-article-body { grid-column: 1; grid-row: 1; }
.atfp-toc { grid-column: 2; grid-row: 1; }
.atfp-toc-section > p, .atfp-citations > p { border-bottom: 1px solid var(--atfp-rule); color: var(--atfp-red); font-size: 10px; font-weight: 700; letter-spacing: .16em; margin: 0 0 16px; padding-bottom: 12px; text-transform: uppercase; }
.atfp-toc ol { list-style: none; margin: 0; padding: 0; }
.atfp-toc li { margin: 0 0 12px; }
.atfp-toc a { border-left: 2px solid transparent; color: var(--atfp-muted); display: block; font-size: 11px; line-height: 1.45; padding-left: 12px; text-decoration: none; }
.atfp-toc a:hover { border-color: var(--atfp-red); color: var(--atfp-navy); }
.atfp-citations { border-top: 1px solid var(--atfp-rule); margin-top: 32px; padding-top: 18px; }
.atfp-citations ol, .atfp-citations ul { list-style: none; margin: 0; padding: 0; }
.atfp-citations li { margin-bottom: 16px; }
.atfp-citations a { border-left: 2px solid transparent; display: block; padding-left: 12px; text-decoration: none; }
.atfp-citations a:hover { border-left-color: var(--atfp-red); }
.atfp-citations a span { color: var(--atfp-red); display: block; font-family: ui-monospace, Consolas, monospace; font-size: 10px; margin-bottom: 3px; }
.atfp-citations a strong { color: var(--atfp-navy); display: block; font-size: 11px; line-height: 1.4; }
.atfp-citations a small { color: var(--atfp-muted); display: block; font-size: 9px; line-height: 1.4; margin-top: 4px; }
.atfp-article-body { counter-reset: chapter; font-family: var(--atfp-serif); font-size: 18px; line-height: 1.82; max-width: 760px; min-width: 0; }
.atfp-article-body > p:first-child { color: var(--atfp-navy-soft); font-size: 21px; line-height: 1.72; }
.atfp-article-body p { margin: 0 0 1.5em; }
.atfp-article-body h2 { color: var(--atfp-navy); font-size: clamp(28px, 3vw, 39px); font-weight: 600; letter-spacing: -.02em; line-height: 1.2; margin: 2.2em 0 .75em; scroll-margin-top: 30px; }
.atfp-article-body h3 { color: var(--atfp-navy); font-size: 24px; line-height: 1.3; margin: 1.8em 0 .6em; }
.atfp-article-body ul, .atfp-article-body ol { margin: 0 0 1.6em; padding-left: 1.4em; }
.atfp-article-body li { margin-bottom: .55em; padding-left: .25em; }
.atfp-article-body li::marker { color: var(--atfp-red); }
.atfp-article-body a { color: var(--atfp-navy); text-decoration-color: var(--atfp-rule); text-underline-offset: 3px; }
.atfp-article-body a:hover { text-decoration-color: var(--atfp-red); }
.atfp-chapter { border-top: 1px solid var(--atfp-rule); counter-increment: chapter; margin-top: 58px; padding-top: 42px; }
.atfp-chapter::before { color: var(--atfp-red); content: counter(chapter, decimal-leading-zero); display: block; font-family: var(--atfp-serif); font-size: 18px; font-style: italic; margin-bottom: 10px; }
.atfp-chapter h2 { margin-top: 0; }
.atfp-pullquote { border-bottom: 1px solid var(--atfp-rule); border-left: 0; border-top: 1px solid var(--atfp-rule); color: var(--atfp-navy); font-size: clamp(24px, 3vw, 34px); font-style: italic; line-height: 1.45; margin: 48px 0; padding: 32px 0; }
.atfp-pullquote p { margin-bottom: 12px; }
.atfp-pullquote cite { color: var(--atfp-muted); font-family: var(--atfp-sans); font-size: 11px; font-style: normal; letter-spacing: .08em; text-transform: uppercase; }
.atfp-callout { background: var(--atfp-ivory-deep); border-left: 3px solid var(--atfp-red); margin: 42px 0; padding: 27px 30px; }
.atfp-callout-label { color: var(--atfp-red); font-family: var(--atfp-sans); font-size: 10px; font-weight: 700; letter-spacing: .15em; margin-bottom: 8px !important; text-transform: uppercase; }
.atfp-callout h3 { margin-top: 0; }
.atfp-key-takeaway { background: var(--atfp-navy); color: var(--atfp-ivory); margin: 42px 0; padding: 30px 34px; }
.atfp-key-takeaway h3, .atfp-key-takeaway p, .atfp-key-takeaway strong { color: inherit; }
.atfp-editorial-image { margin: 42px 0; }
.atfp-editorial-image img { display: block; height: auto; width: 100%; }
.atfp-media-text { margin: 45px 0; }
.atfp-faq-group { border-top: 1px solid var(--atfp-rule); margin: 48px 0; }
.atfp-faq { border-bottom: 1px solid var(--atfp-rule); padding: 20px 0; }
.atfp-faq summary { color: var(--atfp-navy); cursor: pointer; font-family: var(--atfp-serif); font-size: 20px; font-weight: 600; }
.atfp-faq > *:not(summary) { margin-top: 14px; }
.atfp-resource-card { background: var(--atfp-ivory-deep); border-top: 3px solid var(--atfp-navy); margin: 40px 0; padding: 28px 30px; }
.atfp-inline-cta { background: var(--atfp-navy); color: var(--atfp-ivory); margin: 48px 0; padding: 36px; }
.atfp-inline-cta h3, .atfp-inline-cta p { color: inherit; }

.atfp-author { align-items: center; border-bottom: 1px solid var(--atfp-rule); border-top: 1px solid var(--atfp-rule); display: flex; gap: 26px; max-width: 1100px; padding-bottom: 34px; padding-top: 34px; }
.atfp-author img { border-radius: 50%; height: 82px; width: 82px; }
.atfp-author span { color: var(--atfp-red); font-size: 9px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.atfp-author h2 { color: var(--atfp-navy); font-family: var(--atfp-serif); font-size: 23px; margin: 4px 0 7px; }
.atfp-author p { font-size: 13px; line-height: 1.6; margin: 0; max-width: 680px; }
.atfp-author .atfp-author-role { color: var(--atfp-red); font-size: 11px; font-weight: 600; margin-bottom: 8px; }
.atfp-author-bio p:last-child { margin-bottom: 0; }
.atfp-related { padding-bottom: 90px; padding-top: 80px; }

@media (max-width: 960px) {
  .atfp-landing-hero h1 { font-size: 56px; letter-spacing: -1.5px; }
  .atfp-featured article { grid-template-columns: 1fr; }
  .atfp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .atfp-article-layout { grid-template-columns: 1fr; }
  .atfp-article-body { grid-column: 1; grid-row: 1; }
  .atfp-toc { grid-column: 1; grid-row: 2; }
  .atfp-toc { border-bottom: 1px solid var(--atfp-rule); padding-bottom: 20px; position: static; }
  .atfp-toc ol { columns: 2; column-gap: 30px; }
}

@media (max-width: 620px) {
  .atfp-shell .atfp-landing-hero { padding: 72px 24px 64px; }
  .atfp-landing-hero h1 { font-size: 44px; letter-spacing: -1px; }
  .atfp-deck { font-size: 16px; }
  .atfp-shell .atfp-topics { align-items: flex-start; display: flex !important; flex-wrap: wrap; gap: 14px 22px; justify-content: flex-start; overflow: visible; padding: 20px 24px; white-space: normal; }
  .atfp-shell .atfp-topics a { display: inline-block !important; margin: 0 !important; }
  .atfp-featured { padding-bottom: 54px; padding-top: 42px; }
  .atfp-grid-section { padding-bottom: 60px; padding-top: 48px; }
  .atfp-grid { grid-template-columns: 1fr; }
  .atfp-article-hero > div { aspect-ratio: 4 / 3; }
  .atfp-article-layout { padding-bottom: 60px; padding-top: 50px; }
  .atfp-toc ol { columns: 1; }
  .atfp-author { align-items: flex-start; }
  .atfp-author img { height: 62px; width: 62px; }
  .atfp-pagination-wrap { align-items: flex-start; flex-direction: column; gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .atfp-shell * { scroll-behavior: auto !important; transition: none !important; }
}
