/* Single article layout (single.php). Colors, fonts and nav mirror page-fullsite.php
   (palette "forest", Cormorant Garamond) so articles look like the rest of the site. */

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/asset_d80f935e.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/asset_2fce6163.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("assets/asset_e098d5e9.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root{
  --bg:#eef0eb; --bg-2:#dde2db; --card:#ffffff;
  --ink:#1d2a26; --ink-soft:#4a564f; --ink-muted:#5c6660;
  --teal:#6fb0ab; --teal-dark:#346d69; --teal-pale:#d4e5e2;
  --line:#d0d7cf;
  --serif: "Cormorant Garamond", "EB Garamond", Georgia, serif;
  --shadow-soft: 0 24px 60px -28px rgba(40,30,20,0.18), 0 6px 18px -12px rgba(40,30,20,0.10);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark){
  :root{
    --bg:#1c201e; --bg-2:#242926; --card:#2a2f2d;
    --ink:#e4ece6; --ink-soft:#aab8b0; --ink-muted:#869b8f;
    --teal:#6fb0ab; --teal-dark:#6fb0ab; --teal-pale:#1a312e;
    --line:#333b36;
    --shadow-soft: 0 24px 60px -28px rgba(0,0,0,0.5), 0 6px 18px -12px rgba(0,0,0,0.3);
  }
}

*, *::before, *::after{box-sizing:border-box; margin:0; padding:0}
html, body{background:var(--bg); color:var(--ink); font-family:var(--serif); -webkit-font-smoothing:antialiased; line-height:1.55; font-size:17px; font-weight:500}
a{color:inherit; text-decoration:none}
img{display:block; max-width:100%; height:auto}

.container{max-width:1180px; margin:0 auto; padding:0 28px}
@media (max-width:700px){ .container{padding:0 20px} }
.eyebrow{font-size:12px; font-weight:700; letter-spacing:0.18em; text-transform:uppercase; color:var(--teal-dark)}

.skip-link{position:absolute; left:-9999px; top:0; z-index:10000; padding:12px 18px; background:var(--ink); color:var(--bg); border-radius:0 0 8px 0; font-weight:600}
.skip-link:focus{left:0; outline:2px solid var(--teal-dark); outline-offset:2px}

/* ============ NAV ============ */
.nav{position:sticky; top:18px; z-index:50; padding:0 28px; margin-top:18px}
.nav-shell{max-width:1180px; margin:0 auto; background:color-mix(in oklab, var(--card) 85%, transparent); -webkit-backdrop-filter:blur(12px); backdrop-filter:blur(12px); border:1px solid var(--line); border-radius:999px; padding:10px 14px 10px 22px; display:flex; align-items:center; justify-content:space-between; gap:12px; box-shadow:0 10px 30px -18px rgba(40,30,20,0.18)}
.brand{display:flex; align-items:center; gap:12px; min-width:0}
.brand-mark{width:64px; height:36px; flex-shrink:0; background-image:url("assets/logo-ap.png"); background-image:image-set(url("assets/logo-ap.webp") type("image/webp"), url("assets/logo-ap.png") type("image/png")); background-size:contain; background-repeat:no-repeat; background-position:center}
.brand-name{font-size:18px; font-weight:400; letter-spacing:-0.005em; line-height:1}
.brand-sub{display:block; font-size:9px; letter-spacing:0.22em; text-transform:uppercase; color:var(--ink-muted); margin-top:3px; font-weight:700}
.menu{display:flex; gap:6px; align-items:center}
.menu a{font-size:13px; font-weight:600; color:var(--ink-soft); padding:8px 12px; border-radius:999px; transition:all .2s; white-space:nowrap}
.menu a:hover{color:var(--ink); background:var(--bg)}
.menu .cta{background:var(--ink); color:var(--bg); padding:10px 18px}
.menu .cta:hover{background:var(--teal-dark); color:#fff}
@media (max-width:880px){
  .nav{padding:0 16px}
  .nav-shell{padding:10px 10px 10px 14px}
  .menu a:not(.cta){display:none}
}
@media (max-width:480px){
  .brand{gap:8px}
  .brand-mark{width:40px}
  .brand-name{font-size:16px; white-space:nowrap}
  .menu .cta{padding:10px 14px}
  .cta-long{display:none}
}

/* ============ ARTICLE ============ */
.article{max-width:760px; margin:0 auto; padding:64px 28px 40px}
@media (max-width:700px){ .article{padding:40px 20px 24px} }
.article-back{display:inline-flex; align-items:center; gap:6px; font-size:14px; font-weight:600; color:var(--teal-dark); margin-bottom:28px}
.article-back:hover{color:var(--ink)}
.article-head h1{font-size:clamp(36px, 6vw, 60px); line-height:1.05; letter-spacing:-0.02em; font-weight:400; margin-top:14px; text-wrap:balance}
.article-meta{margin-top:16px; font-size:15px; color:var(--ink-muted)}

.article-body{margin-top:40px; font-size:20px; line-height:1.7; color:var(--ink)}
.article-body > * + *{margin-top:1.1em}
.article-body h2, .article-body h3, .article-body h4{font-weight:500; line-height:1.2; letter-spacing:-0.01em; margin-top:1.8em}
.article-body h2{font-size:32px}
.article-body h3{font-size:26px}
.article-body h4{font-size:22px}
.article-body a{color:var(--teal-dark); text-decoration:underline; text-underline-offset:3px}
.article-body a:hover{color:var(--ink)}
.article-body ul, .article-body ol{padding-left:1.4em}
.article-body li + li{margin-top:.4em}
.article-body blockquote{border-left:3px solid var(--teal); padding:4px 0 4px 22px; font-style:italic; color:var(--ink-soft)}
.article-body img, .article-body figure{border-radius:18px; margin-left:auto; margin-right:auto}
.article-body figcaption{font-size:15px; color:var(--ink-muted); text-align:center; margin-top:8px}
.article-body .wp-block-image, .article-body .aligncenter{text-align:center}
.article-body iframe, .article-body video{max-width:100%}
.article-body .addtoany_content{font-size:15px; margin-top:2.4em}

.article-cta{margin-top:56px; padding:32px; background:var(--card); border:1px solid var(--line); border-radius:28px; box-shadow:var(--shadow-soft)}
.article-cta h2{font-size:clamp(26px, 4vw, 34px); line-height:1.1; font-weight:400; letter-spacing:-0.01em; margin-top:10px}
.article-cta p{margin-top:10px; color:var(--ink-soft); font-size:18px}
.article-cta-row{display:flex; flex-wrap:wrap; gap:12px; margin-top:22px}
.btn{display:inline-flex; align-items:center; gap:10px; padding:14px 24px; border-radius:999px; font-size:15px; font-weight:600; border:1px solid var(--line); transition:all .2s}
.btn-primary{background:var(--ink); color:var(--bg); border-color:var(--ink)}
.btn-primary:hover{background:var(--teal-dark); border-color:var(--teal-dark); color:#fff}
.btn-ghost{background:var(--card); color:var(--ink)}
.btn-ghost:hover{background:var(--bg)}
@media (max-width:700px){ .article-cta{padding:24px} }

/* ============ FOOTER ============ */
.footer{margin-top:40px; padding:36px 0; background:var(--card); border-top:1px solid var(--line); font-size:14px; color:var(--ink-soft)}
.footer .container{display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px}
.footer a{color:var(--teal-dark); text-decoration:underline; text-underline-offset:3px}
.footer-link{background:none; border:0; padding:0; font:inherit; color:var(--teal-dark); text-decoration:underline; text-underline-offset:3px; cursor:pointer}
