:root{--primary:#2563eb;--text:#101828;--muted:#667085;--bg:#fff;--soft:#f7f8fa;--border:#eaecf0;--radius:14px;--content-width:740px;--shell:1120px;--mobile-pad:20px}
*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--text);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;font-size:17px;line-height:1.62;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
a:hover{color:var(--primary)}
.shell{width:min(calc(100% - (var(--mobile-pad) * 2)),var(--shell));margin-inline:auto}
.skip-link{position:absolute;left:-9999px;top:8px}.skip-link:focus{left:8px;z-index:10000;background:#fff;padding:10px 14px;border:1px solid var(--border);border-radius:10px}

/* Header */
.site-header{background:rgba(255,255,255,.98);border-bottom:1px solid var(--border);z-index:100}.has-sticky-header .site-header{position:sticky;top:0;backdrop-filter:saturate(160%) blur(10px)}
.header-inner{height:58px;display:grid;grid-template-columns:40px 1fr 40px;align-items:center;gap:8px}.site-branding{text-align:center;min-width:0;line-height:1}.custom-logo-link{display:inline-flex;align-items:center}.custom-logo{max-height:30px;width:auto;margin-inline:auto}.site-title{font-weight:850;font-size:21px;letter-spacing:-.035em;color:var(--text)}
.icon-button{appearance:none;border:0;background:transparent;width:40px;height:40px;border-radius:10px;padding:8px;display:grid;place-items:center;cursor:pointer;color:var(--text)}.icon-button svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}.menu-toggle{justify-self:start}.search-toggle{justify-self:end}.icon-button:hover{background:var(--soft)}
.icon-button:focus-visible,a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid color-mix(in srgb,var(--primary) 28%,transparent);outline-offset:2px}
.site-menu,.header-search{display:none}.site-menu.is-open,.header-search.is-open{display:block}.site-menu{padding:4px 0 14px}.site-menu ul{list-style:none;padding:0;margin:0;display:grid;gap:2px}.site-menu a{display:block;padding:10px 0;font-weight:700;font-size:15px}.header-search{padding:6px 0 14px}.header-search form{display:flex;gap:8px}.header-search input[type=search]{width:100%;border:1px solid var(--border);border-radius:11px;padding:11px 13px;font:inherit;font-size:16px}.header-search input[type=submit]{border:0;border-radius:11px;padding:0 16px;background:var(--text);color:#fff;font-weight:750}

/* Editorial homepage */
.home-feed,.listing-section{padding-block:22px 44px}.hero-card{margin-bottom:26px}.hero-link{display:grid;gap:16px}.hero-media{border-radius:var(--radius);overflow:hidden;background:var(--soft);aspect-ratio:16/10}.hero-media img{width:100%;height:100%;object-fit:cover}.hero-copy h1{font-size:clamp(30px,8vw,42px);line-height:1.08;letter-spacing:-.04em;margin:7px 0 9px;font-weight:850}.hero-copy p{margin:0;color:var(--muted);font-size:16px;line-height:1.55}
.eyebrow{display:inline-block;color:var(--primary);font-size:12px;font-weight:850;letter-spacing:.075em;text-transform:uppercase;line-height:1.2}.post-grid{display:grid;gap:0}.post-card{border-bottom:1px solid var(--border);padding:14px 0}.post-card:first-child{padding-top:0}.post-card-link{display:grid;grid-template-columns:104px 1fr;gap:13px;align-items:center}.post-card-media{aspect-ratio:4/3;border-radius:11px;overflow:hidden;background:var(--soft)}.post-card-media img{width:100%;height:100%;object-fit:cover}.post-card-copy h2{font-size:17px;line-height:1.25;letter-spacing:-.02em;margin:4px 0 6px;font-weight:800}.post-card-copy time{color:var(--muted);font-size:12px}.section-header{margin-bottom:18px}.section-header h1,.section-header h2{font-size:27px;line-height:1.14;letter-spacing:-.03em;margin:0}.archive-description{color:var(--muted)}

/* Article: mobile first */
.article-shell{width:min(calc(100% - 40px),var(--content-width));margin:0 auto;padding:20px 0 10px}.article-header{margin-bottom:15px}.article-header .eyebrow{margin-bottom:6px}.article-header h1{font-size:28px;line-height:1.10;letter-spacing:-.038em;margin:0 0 9px;font-weight:830;text-wrap:pretty}.article-deck{font-size:16px;line-height:1.50;color:var(--muted);margin:0 0 10px;text-wrap:pretty}.article-meta{display:flex;gap:10px;flex-wrap:wrap;color:#98a2b3;font-size:13px;line-height:1.35}.featured-media{margin:20px 0 24px;border-radius:var(--radius);overflow:hidden;background:var(--soft)}.featured-media img{width:100%;height:auto}
.entry-content{font-size:16px;line-height:1.60;overflow:visible;color:#1d2939}.entry-content>*{max-width:100%}.entry-content p{margin:0 0 1.05em}.entry-content h2{font-size:23px;line-height:1.20;letter-spacing:-.027em;margin:1.42em 0 .52em;color:var(--text);font-weight:780}.entry-content h3{font-size:19px;line-height:1.24;letter-spacing:-.018em;margin:1.35em 0 .5em;color:var(--text);font-weight:760}.entry-content ul,.entry-content ol{padding-left:1.2em;margin:0 0 1.2em}.entry-content li{margin-bottom:.45em}.entry-content blockquote{margin:1.4em 0;padding:3px 0 3px 15px;border-left:3px solid var(--primary);color:#475467}.entry-content table{display:block;max-width:100%;overflow-x:auto;border-collapse:collapse}.entry-content iframe{max-width:100%}.entry-content .alignwide{width:min(calc(100vw - 40px),980px);max-width:none;margin-left:50%;transform:translateX(-50%)}.entry-content .wp-block-button__link,.entry-content .button{border-radius:11px;font-weight:800}
/* Lightweight editorial components (usable from Custom HTML blocks) */
.entry-content .wm-key-takeaways{margin:1.35em 0;padding:16px 17px;background:var(--soft);border:1px solid var(--border);border-radius:12px}.wm-key-takeaways strong:first-child{display:block;margin-bottom:7px;color:var(--text);font-size:15px}.wm-key-takeaways ul{margin-bottom:0}.entry-content .wm-cta{margin:1.45em 0;padding:17px;border:1px solid var(--border);border-radius:12px;background:#fff}.wm-cta h3{margin:0 0 6px;font-size:19px}.wm-cta p{color:var(--muted);margin-bottom:12px}.wm-cta a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 16px;border-radius:10px;background:var(--primary);color:#fff;font-weight:800}.wm-cta a:hover{color:#fff;filter:brightness(.96)}.entry-content .wm-table{margin:1.35em 0;border:1px solid var(--border);border-radius:12px;overflow-x:auto}.wm-table table{display:table;width:100%;min-width:520px;margin:0}.wm-table th,.wm-table td{padding:11px 12px;text-align:left;border-bottom:1px solid var(--border);font-size:14px}.wm-table tr:last-child td{border-bottom:0}.wm-table th{background:var(--soft);color:var(--text);font-weight:800}
/* Ad-neutral rules: never crop external ad containers */
.entry-content iframe,.entry-content ins,.entry-content [id*="google_ads"],.entry-content [id^="div-gpt-ad"]{overflow:visible;max-width:100%}
.related-section{width:min(calc(100% - 40px),var(--content-width));margin:0 auto;padding:26px 0 38px;border-top:1px solid var(--border)}.related-section .section-header{margin-bottom:4px}.related-grid{display:grid;gap:0}

/* Footer */
.site-footer{border-top:1px solid var(--border);background:#fafafa}.footer-inner{padding:24px 0 28px;display:grid;gap:10px}.footer-brand{font-weight:850;font-size:18px;letter-spacing:-.025em}.site-footer ul{list-style:none;margin:0;padding:0;display:flex;gap:12px 16px;flex-wrap:wrap}.site-footer a{color:#667085;font-size:13px}.copyright{margin:2px 0 0;color:#98a2b3;font-size:12px}.empty-state{padding:64px 0;text-align:center}.empty-state h1{font-size:56px;margin:0}.button{display:inline-block;background:var(--text);color:#fff;padding:11px 17px;border-radius:10px;font-weight:750}.navigation.pagination{margin-top:26px}.nav-links{display:flex;gap:8px;flex-wrap:wrap}.page-numbers{padding:8px 11px;border:1px solid var(--border);border-radius:9px}.page-numbers.current{background:var(--text);color:#fff;border-color:var(--text)}

@media(min-width:760px){
 .shell{width:min(calc(100% - 48px),var(--shell))}.header-inner{height:64px;grid-template-columns:auto 1fr auto}.menu-toggle{display:none}.site-branding{text-align:left}.custom-logo{max-height:32px}.search-toggle{display:grid}.site-menu{display:flex!important;align-items:center;position:absolute;left:50%;transform:translateX(-50%);top:0;height:64px;padding:0;width:auto;max-width:60vw}.site-menu ul{display:flex;gap:22px;white-space:nowrap}.site-menu a{padding:8px 0;font-size:14px}.header-search{position:absolute;right:24px;top:68px;background:#fff;padding:12px;border:1px solid var(--border);border-radius:12px;box-shadow:0 12px 30px rgba(16,24,40,.09);width:min(420px,calc(100vw - 48px))}
 .home-feed,.listing-section{padding-block:30px 54px}.hero-link{grid-template-columns:1.1fr .9fr;align-items:center;gap:30px}.hero-copy h1{font-size:42px}.post-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.post-card{border:1px solid var(--border);border-radius:var(--radius);padding:0;overflow:hidden;transition:transform .16s ease,box-shadow .16s ease}.post-card:first-child{padding-top:0}.post-card:hover{transform:translateY(-2px);box-shadow:0 8px 22px rgba(16,24,40,.055)}.post-card-link{grid-template-columns:112px 1fr;padding:11px}
 .article-shell{padding-top:30px}.article-header h1{font-size:38px;line-height:1.08}.article-deck{font-size:17px}.entry-content{font-size:17px;line-height:1.65}.related-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.related-grid .post-card{border:1px solid var(--border)}.footer-inner{padding:28px 0 32px}
}
@media(min-width:1040px){.post-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-grid .post-card-link,.listing-section .post-card-link{grid-template-columns:116px 1fr}.hero-card{margin-top:4px;margin-bottom:30px}}

/* v1.2.1 — desktop header/menu containment fix */
@media (min-width: 900px){
  .site-header{position:relative}
  .site-header .site-menu{
    box-sizing:border-box;
    left:50%;
    right:auto;
    width:max-content;
    max-width:calc(100vw - 360px);
    transform:translateX(-50%);
    overflow-x:auto;
    overflow-y:hidden;
    scrollbar-width:none;
  }
  .site-header .site-menu::-webkit-scrollbar{display:none}
  .site-header .site-menu ul{width:max-content;max-width:100%;gap:18px}
}
@media (min-width:900px) and (max-width:1150px){
  .site-header .site-menu{max-width:calc(100vw - 280px)}
  .site-header .site-menu ul{gap:14px}
  .site-header .site-menu a{font-size:13px}
}

/* v1.3 — editorial polish */
.article-header h1{font-weight:760}
.entry-content h2{font-weight:720}
.entry-content h3{font-weight:700}
.listing-header{padding:3px 0 8px;margin-bottom:18px}
.listing-kicker{display:block;color:var(--primary);font-size:11px;font-weight:850;letter-spacing:.10em;text-transform:uppercase;margin-bottom:5px}
.listing-header h1{font-size:30px;line-height:1.1;letter-spacing:-.035em;font-weight:780}
.archive-description{font-size:15px;line-height:1.55;margin-top:7px;max-width:680px}
.archive-description p{margin:0}
.feed-heading{display:flex;align-items:end;justify-content:space-between;margin:30px 0 14px;padding-top:20px;border-top:1px solid var(--border)}
.feed-heading h2,.related-header h2{margin:0;font-size:24px;line-height:1.15;letter-spacing:-.03em;font-weight:760}
.read-link{display:inline-flex;align-items:center;gap:6px;margin-top:14px;font-size:14px;font-weight:800;color:var(--primary)}
.post-card-placeholder{aspect-ratio:4/3;border-radius:11px;background:linear-gradient(145deg,var(--soft),#eef1f5);display:grid;place-items:center;color:#98a2b3;font-weight:850;font-size:24px}
.no-posts{padding:22px 0;color:var(--muted)}

/* Reusable article components. Add with a Custom HTML block. */
.entry-content .wm-note{margin:1.35em 0;padding:15px 16px;border-left:3px solid var(--primary);background:var(--soft);border-radius:0 11px 11px 0}
.entry-content .wm-note p:last-child{margin-bottom:0}
.entry-content .wm-highlight{margin:1.4em 0;padding:17px;border:1px solid var(--border);border-radius:12px;background:#fff}
.entry-content .wm-highlight-title{display:block;font-size:15px;font-weight:800;color:var(--text);margin-bottom:6px}
.entry-content .wm-actions{display:flex;gap:9px;flex-wrap:wrap;margin:1.25em 0 1.5em}
.entry-content .wm-btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 16px;border-radius:10px;background:var(--primary);color:#fff;font-weight:800;font-size:15px;line-height:1.2}
.entry-content .wm-btn:hover{color:#fff;filter:brightness(.96)}
.entry-content .wm-btn-secondary{background:var(--soft);color:var(--text);border:1px solid var(--border)}
.entry-content .wm-btn-secondary:hover{color:var(--text);background:#eef1f5}
.entry-content .wm-checklist{list-style:none;padding:0;margin:1.2em 0}
.entry-content .wm-checklist li{position:relative;padding-left:25px;margin:.55em 0}
.entry-content .wm-checklist li:before{content:"✓";position:absolute;left:0;top:0;color:var(--primary);font-weight:900}

@media(min-width:760px){
 .listing-header{margin-bottom:22px}.listing-header h1{font-size:36px}.feed-heading{margin-top:38px}
 .hero-no-image .hero-link{grid-template-columns:minmax(0,760px);justify-content:center;text-align:center;padding:40px 0 24px}
 .hero-no-image .hero-copy p{max-width:640px;margin-inline:auto}
}

/* v1.4 — Homepage: 3 featured stories + compact article list */
.home-section-heading{margin:0 0 14px}.home-section-heading .listing-kicker{display:block;margin-bottom:4px}.home-section-heading h1,.home-section-heading h2{margin:0;font-size:26px;line-height:1.12;letter-spacing:-.035em;font-weight:760}.featured-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:32px}.featured-card{min-width:0}.featured-card:first-child{grid-column:1/-1}.featured-card-link{display:block}.featured-card-media{aspect-ratio:16/10;border-radius:14px;overflow:hidden;background:var(--soft);margin-bottom:10px}.featured-card-media img,.featured-card-placeholder{width:100%;height:100%;object-fit:cover}.featured-card-placeholder,.article-list-placeholder{display:grid;place-items:center;background:linear-gradient(145deg,var(--soft),#eef1f5);color:#98a2b3;font-weight:850}.featured-card-placeholder{font-size:30px}.featured-card-copy h2{margin:5px 0 0;font-size:17px;line-height:1.22;letter-spacing:-.025em;font-weight:740;text-wrap:pretty}.featured-card:first-child .featured-card-copy h2{font-size:24px;line-height:1.12}.featured-card-copy p{display:none;margin:7px 0 0;color:var(--muted);font-size:15px;line-height:1.5}.latest-heading{padding-top:4px;margin-bottom:4px}.article-list{display:grid}.article-list-item{border-bottom:1px solid var(--border)}.article-list-link{display:grid;grid-template-columns:108px minmax(0,1fr);gap:13px;align-items:center;padding:14px 0}.article-list-media{aspect-ratio:4/3;border-radius:11px;overflow:hidden;background:var(--soft)}.article-list-media img,.article-list-placeholder{width:100%;height:100%;object-fit:cover}.article-list-placeholder{font-size:22px}.article-list-copy{min-width:0}.article-list-copy h3{margin:4px 0 7px;font-size:17px;line-height:1.23;letter-spacing:-.018em;font-weight:720;text-wrap:pretty}.article-list-copy p{display:none}.article-list-copy time{display:block;color:var(--muted);font-size:12px;line-height:1.2}.home-pagination{display:flex;justify-content:center;gap:5px;padding:28px 0 4px}.home-pagination .page-numbers{min-width:36px;height:36px;padding:0 10px;border:1px solid var(--border);border-radius:9px;display:inline-grid;place-items:center;font-size:14px;font-weight:700}.home-pagination .current{background:var(--text);color:#fff;border-color:var(--text)}

@media(min-width:700px){.home-section-heading h1,.home-section-heading h2{font-size:30px}.featured-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:42px}.featured-card:first-child{grid-column:auto}.featured-card-media{aspect-ratio:16/10;margin-bottom:12px}.featured-card:first-child .featured-card-copy h2,.featured-card-copy h2{font-size:20px;line-height:1.18}.featured-card-copy p{display:block}.featured-card:not(:first-child) .featured-card-copy p{display:none}.latest-heading{margin-bottom:8px}.article-list-link{grid-template-columns:160px minmax(0,1fr);gap:18px;padding:16px 0}.article-list-media{aspect-ratio:16/10}.article-list-copy h3{font-size:20px;margin:4px 0 7px}.article-list-copy p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:0 0 8px;color:var(--muted);font-size:14px;line-height:1.45}}

@media(min-width:1040px){.featured-grid{gap:20px}.featured-card-copy h2,.featured-card:first-child .featured-card-copy h2{font-size:21px}.article-list-link{grid-template-columns:180px minmax(0,1fr);gap:20px}.article-list-copy h3{font-size:21px}.article-list-copy p{font-size:15px;max-width:720px}}

/* v1.5 — Compact lead cards on mobile; no Top Stories heading */
.home-feed{padding-top:18px}
.featured-grid{display:grid;grid-template-columns:1fr;gap:0;margin:0 0 24px}
.featured-card{min-width:0;border-bottom:1px solid var(--border)}
.featured-card:first-child{grid-column:auto}
.featured-card-link{display:grid;grid-template-columns:112px minmax(0,1fr);gap:14px;align-items:center;padding:12px 0}
.featured-card-media{aspect-ratio:4/3;border-radius:12px;overflow:hidden;background:var(--soft);margin:0}
.featured-card-media:empty{display:none}
.featured-card.no-thumb .featured-card-link{grid-template-columns:1fr}
.featured-card-copy{min-width:0}
.featured-card-copy h2,.featured-card:first-child .featured-card-copy h2{margin:4px 0 0;font-size:17px;line-height:1.22;letter-spacing:-.023em;font-weight:720;text-wrap:pretty}
.featured-card-copy p{display:none}
.latest-heading{display:flex;align-items:center;gap:14px;margin:24px 0 6px;padding:0}
.latest-heading:after{content:"";height:1px;background:var(--border);flex:1}
.latest-heading h2{font-size:22px;line-height:1.15;white-space:nowrap}
.article-list-media:empty{display:none}
.article-list-item.no-thumb .article-list-link{grid-template-columns:1fr}

@media(min-width:700px){
  .home-feed{padding-top:30px}
  .featured-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:38px}
  .featured-card{border-bottom:0}
  .featured-card-link{display:block;padding:0}
  .featured-card-media{aspect-ratio:16/10;border-radius:14px;margin-bottom:12px}
  .featured-card.no-thumb .featured-card-link{display:block}
  .featured-card-copy h2,.featured-card:first-child .featured-card-copy h2{font-size:20px;line-height:1.18}
  .latest-heading{margin:0 0 8px}
  .latest-heading h2{font-size:28px}
}

@media(min-width:1040px){
  .featured-grid{gap:20px}
  .featured-card-copy h2,.featured-card:first-child .featured-card-copy h2{font-size:21px}
}

/* v1.6 — structural sticky footer + ad/anchor compatibility */
html{min-height:100%;background:var(--bg)}
body{
  min-height:100vh;
  min-height:100svh;
  display:flex;
  flex-direction:column;
  padding-top:var(--wm-top-anchor-space,0px);
  padding-bottom:calc(var(--wm-bottom-anchor-space,0px) + env(safe-area-inset-bottom,0px));
}
.site-main{
  flex:1 0 auto;
  width:100%;
  min-width:0;
}
.site-footer{
  flex:0 0 auto;
  margin-top:auto;
}
.has-sticky-header .site-header{top:var(--wm-top-anchor-space,0px)}

/* Do not create clipping/stacking contexts around ad inventory. */
.site-main,.article-shell,.entry-content,.related-section,.home-feed,.listing-section{overflow:visible}

/* Inline GAM/AdSense wrappers: allow the ad server to own the creative dimensions. */
.entry-content [id^="div-gpt-ad"],
.entry-content [id*="google_ads"],
.entry-content .adsbygoogle,
.entry-content .google-auto-placed,
.entry-content .wm-ad-slot{
  max-width:none;
  overflow:visible;
  clear:both;
}
.entry-content [id^="div-gpt-ad"] iframe,
.entry-content [id*="google_ads"] iframe,
.entry-content .adsbygoogle iframe,
.entry-content .google-auto-placed iframe,
.entry-content .wm-ad-slot iframe{
  max-width:none !important;
  overflow:visible !important;
}

/* Optional neutral wrapper for manually placed inline ad units. */
.wm-ad-slot{
  width:100%;
  margin:18px auto;
  text-align:center;
  line-height:0;
}
.wm-ad-slot > *{margin-left:auto!important;margin-right:auto!important}

/* Fixed/anchor ads are intentionally not positioned by the theme.
   GAM/your ad plugin remains the single owner of position, z-index and close controls. */
@media(max-width:699px){
  body{padding-bottom:calc(var(--wm-bottom-anchor-space,0px) + env(safe-area-inset-bottom,0px))}
}
