:root{--aabp-red:#ef233c;--aabp-ink:#15161a;--aabp-muted:#626873;--aabp-line:#e7e8ec;--aabp-soft:#f7f8fa;--aabp-max:960px}

.aa-basic-pages-active header.site-header,.aa-basic-pages-active #masthead,.aa-basic-pages-active .site-branding,.aa-basic-pages-active .page-header,.aa-basic-pages-active .entry-header,.aa-basic-pages-active .entry-title,.aa-basic-pages-active .page-title,.aa-basic-pages-active .wp-block-post-title,.aa-basic-pages-active .wp-site-blocks>header:not(.aa-shell):not(.aa-sitewide-shell),.aa-basic-pages-active .breaking-news,.aa-basic-pages-active .breaking-bar,.aa-basic-pages-active .ticker-wrap{display:none!important}
/* Remove the base theme branding/title row on managed basic pages.
   The Sitewide Shell remains untouched because it uses its own namespaced classes. */
.aa-basic-pages-active .site-title,
.aa-basic-pages-active .site-description,
.aa-basic-pages-active .wp-block-site-title,
.aa-basic-pages-active .wp-block-site-tagline,
.aa-basic-pages-active [class*="site-title"]:not(.aa-shell):not(.aa-sitewide-shell),
.aa-basic-pages-active [class*="site-description"]:not(.aa-shell):not(.aa-sitewide-shell),
.aa-basic-pages-active .wp-site-blocks > .wp-block-group:first-child:not(.aa-shell):not(.aa-sitewide-shell) .wp-block-site-title,
.aa-basic-pages-active .wp-site-blocks > .wp-block-group:first-child:not(.aa-shell):not(.aa-sitewide-shell) .wp-block-site-tagline {display:none!important;}

/* Collapse empty title/header wrappers left behind by block themes. */
.aa-basic-pages-active .wp-site-blocks > .wp-block-group:has(> .wp-block-site-title:only-child),
.aa-basic-pages-active .wp-site-blocks > .wp-block-group:has(.wp-block-site-title) {min-height:0!important;height:auto!important;margin:0!important;padding:0!important;border:0!important;}

.aa-basic-pages-active .site-main,.aa-basic-pages-active .entry-content,.aa-basic-pages-active main:not(.aabp-wrap),.aa-basic-pages-active article:not(.aabp-founder),.aa-basic-pages-active .wp-site-blocks,.aa-basic-pages-active .site-content,.aa-basic-pages-active .content-area{max-width:none!important;width:100%!important;margin:0!important;padding:0!important}
.aa-basic-pages-active .entry-content>*{max-width:none!important;margin-left:0!important;margin-right:0!important}

.aabp-wrap{box-sizing:border-box;width:100%;background:#fff;color:var(--aabp-ink);font-family:Inter,Arial,Helvetica,sans-serif;padding:24px clamp(18px,4vw,44px) 44px}
.aabp-layout{width:100%;max-width:var(--aabp-max);margin:0 auto}
.aabp-main{min-width:0}

.aabp-header{text-align:center;padding:0 0 18px;margin:0 0 20px;border-bottom:1px solid var(--aabp-line)}
.aabp-header h1{margin:0;font-size:clamp(32px,4vw,46px);line-height:1.05;letter-spacing:-.035em;font-weight:850}
.aabp-header p{max-width:680px;margin:8px auto 0;color:var(--aabp-muted);font-size:15px;line-height:1.45}
.aabp-eyebrow,.aabp-side{display:none!important}

.aabp-about-intro{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:0 0 18px}
.aabp-about-intro p,.aabp-section p{font-size:15px;line-height:1.6;color:#353940;margin:0 0 10px}
.aabp-founder-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:18px 0}
.aabp-founder{border:1px solid var(--aabp-line);border-radius:10px;overflow:hidden;background:#fff}
.aabp-founder img{display:block;width:100%;height:190px;object-fit:cover}
.aabp-founder>div{padding:13px 14px 15px;border-top:2px solid var(--aabp-red)}
.aabp-founder span{color:var(--aabp-red);font-size:9px;font-weight:800;letter-spacing:.09em;text-transform:uppercase}
.aabp-founder h2{margin:4px 0 5px;font-size:20px;letter-spacing:-.02em}
.aabp-founder p{margin:0;color:#60656f;font-size:13px;line-height:1.45}
.aabp-stats{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--aabp-line);border-radius:10px;overflow:hidden;margin:18px 0}
.aabp-stats div{padding:13px;background:var(--aabp-soft);border-right:1px solid var(--aabp-line)}
.aabp-stats div:last-child{border-right:0}.aabp-stats strong{display:block;color:var(--aabp-red);font-size:21px;line-height:1;margin-bottom:5px}.aabp-stats span{font-size:9px;font-weight:800;letter-spacing:.045em;text-transform:uppercase;color:#4d525b}

.aabp-section{padding:15px 0;border-top:1px solid var(--aabp-line)}
.aabp-section:first-of-type{border-top:0}
.aabp-section h2{margin:0 0 6px;font-size:20px;line-height:1.2;letter-spacing:-.02em}
.aabp-section a,.aabp-contact-method a,.aabp-request-box a{color:#d71932;font-weight:700}
.aabp-updated{display:inline-flex;padding:5px 9px;border-radius:999px;background:var(--aabp-soft);color:#666b74;font-size:11px;font-weight:700;margin:0 0 12px}

.aabp-contact-grid{display:grid;grid-template-columns:280px minmax(0,1fr);gap:18px;align-items:start}
.aabp-contact-copy{display:grid;gap:8px}.aabp-contact-method{padding:12px;border:1px solid var(--aabp-line);border-radius:9px;background:#fff}.aabp-contact-method span{display:block;color:var(--aabp-red);font-size:9px;font-weight:800;letter-spacing:.09em;text-transform:uppercase;margin-bottom:4px}.aabp-contact-method p{margin:0;color:#5e636c;font-size:13px;line-height:1.45}
.aabp-form-wrap{border:1px solid var(--aabp-line);border-radius:10px;padding:15px;background:#fff}.aabp-form-wrap .wpcf7-form p{margin:0 0 10px}.aabp-form-wrap label{font-size:13px;font-weight:700;color:#282b31}.aabp-form-wrap input:not([type=submit]),.aabp-form-wrap textarea,.aabp-form-wrap select{display:block;width:100%;box-sizing:border-box;margin-top:5px;border:1px solid #d9dce2;border-radius:8px;background:#fff;padding:9px 10px;font:inherit;color:#16181d}.aabp-form-wrap textarea{min-height:110px;resize:vertical}.aabp-form-wrap input[type=submit]{min-height:40px;border:0;border-radius:8px;padding:0 16px;background:#d90429;color:#fff;font-weight:800;cursor:pointer}
.aabp-request-box{padding:16px;border-radius:10px;background:#16171b;color:#fff;margin-bottom:14px}.aabp-request-box h2{font-size:20px;margin:0 0 7px}.aabp-request-box p,.aabp-request-box li{color:#e6e7ea;font-size:14px;line-height:1.5}.aabp-request-box a{color:#fff}.aabp-button{display:inline-flex;margin-top:5px;padding:9px 13px;border-radius:8px;background:var(--aabp-red);color:#fff!important;text-decoration:none;font-weight:800}
.aabp-legal-note{max-width:var(--aabp-max);margin:18px auto 0;padding-top:12px;border-top:1px solid var(--aabp-line);color:#8b8f97;font-size:10px;line-height:1.4}

@media(max-width:800px){.aabp-about-intro,.aabp-founder-grid,.aabp-contact-grid{grid-template-columns:1fr}.aabp-stats{grid-template-columns:1fr 1fr}.aabp-stats div:nth-child(2){border-right:0}.aabp-stats div:nth-child(-n+2){border-bottom:1px solid var(--aabp-line)}}
@media(max-width:560px){.aabp-wrap{padding:18px 14px 32px}.aabp-header{padding-bottom:14px;margin-bottom:16px}.aabp-header h1{font-size:30px}.aabp-header p{font-size:14px}.aabp-about-intro p,.aabp-section p{font-size:14px}.aabp-section{padding:13px 0}.aabp-section h2{font-size:18px}.aabp-founder img{height:180px}.aabp-stats div{padding:11px}.aabp-stats strong{font-size:19px}}

/* About page: larger founder portraits and full biography */
.aabp-page-about-us .aabp-layout{max-width:1120px}
.aabp-page-about-us .aabp-header{margin-bottom:18px}
.aabp-founders-feature{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:0 0 24px}
.aabp-founder-large img{height:360px;object-position:center 20%}
.aabp-founder-large>div{padding:18px 20px 20px}
.aabp-founder-large h2{font-size:27px;margin:5px 0 7px}
.aabp-founder-large p{font-size:14px;line-height:1.5}
.aabp-bio-block{max-width:940px;margin:0 auto 20px}
.aabp-bio-block p{font-size:16px;line-height:1.7;color:#30343a;margin:0 0 16px}
.aabp-page-about-us .aabp-stats{max-width:100%;margin:22px 0}
@media(max-width:800px){.aabp-founders-feature{grid-template-columns:1fr}.aabp-founder-large img{height:420px}}
@media(max-width:560px){.aabp-founder-large img{height:320px}.aabp-founder-large h2{font-size:24px}.aabp-bio-block p{font-size:15px;line-height:1.62}}

/* v1.5: compact information center + hard removal of duplicate theme branding */
.aa-basic-pages-active .aa-theme-site-title,
.aa-basic-pages-active .site-name,
.aa-basic-pages-active .brand-title,
.aa-basic-pages-active [aria-label="Analyzing America"]:not(.aa-shell *):not(.aa-sitewide-shell *),
.aa-basic-pages-active body > h1,
.aa-basic-pages-active main > h1:first-child:not(.aabp-header h1){display:none!important}

.aabp-layout{max-width:1180px;display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:28px;align-items:start}
.aabp-main{min-width:0}
.aabp-side{display:block!important;position:sticky;top:18px;align-self:start}
.aabp-side-box{border:1px solid var(--aabp-line);border-radius:14px;background:#fff;padding:16px;box-shadow:0 8px 28px rgba(18,20,24,.05)}
.aabp-side-label{display:block;margin:0 0 10px;color:var(--aabp-ink);font-size:18px;font-weight:850;letter-spacing:-.02em}
.aabp-side nav{display:grid;gap:4px}
.aabp-side a{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 11px;border-radius:9px;color:#2c3037;text-decoration:none;font-size:13px;font-weight:750;line-height:1.2;background:#f7f8fa}
.aabp-side a:hover{background:#eef0f3;color:#111318}
.aabp-side a.is-active{background:#17191e;color:#fff}
.aabp-side a span{font-size:16px;color:#9aa0aa}
.aabp-side a.is-active span{color:#fff}
.aabp-contact-card{margin-top:10px;padding:13px 14px;border-radius:12px;background:#17191e;color:#fff}
.aabp-contact-card span{display:block;font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#b9bec7;margin-bottom:5px}
.aabp-contact-card a{color:#fff;text-decoration:none;font-size:12px;font-weight:700;word-break:break-word}
.aabp-header{text-align:left;padding-bottom:14px;margin-bottom:16px}
.aabp-header h1{font-size:clamp(30px,3.4vw,42px)}
.aabp-header p{margin:7px 0 0;max-width:680px}
.aabp-legal-note{max-width:1180px}
@media(max-width:900px){.aabp-layout{grid-template-columns:1fr}.aabp-side{position:static;order:-1}.aabp-side-box{padding:12px}.aabp-side nav{grid-template-columns:repeat(2,minmax(0,1fr))}.aabp-contact-card{display:none}}
@media(max-width:560px){.aabp-side nav{grid-template-columns:1fr}.aabp-layout{gap:16px}.aabp-side-label{font-size:16px}.aabp-side a{padding:9px 10px;font-size:12px}}

/* v1.6 — dedicated template: no theme title row, tighter top edge, no faint rules */
.aa-basic-pages-active .aa-theme-main,
.aa-basic-pages-active .aa-theme-content,
.aa-basic-pages-active .aa-theme-article,
.aa-basic-pages-active .entry-content,
.aabp-template-root{margin:0!important;padding:0!important;width:100%!important;max-width:none!important;border:0!important;min-height:0!important}

/* The information-page template begins directly beneath the Sitewide Shell. */
.aabp-wrap{padding:18px clamp(18px,3.5vw,42px) 38px!important;border:0!important}
.aabp-layout{max-width:1200px!important;gap:24px!important}
.aabp-header{padding:0!important;margin:0 0 14px!important;border:0!important}
.aabp-header h1{font-size:clamp(30px,3vw,40px)!important;line-height:1.04!important}
.aabp-header p{margin-top:6px!important;font-size:14px!important;line-height:1.4!important}
.aabp-main>.aabp-header+*{margin-top:0!important}

/* Remove every non-shell branding/title remnant and the empty rule it leaves behind. */
.aa-basic-pages-active .site-title,
.aa-basic-pages-active .wp-block-site-title,
.aa-basic-pages-active .site-branding,
.aa-basic-pages-active .aa-theme-header,
.aa-basic-pages-active .page-header,
.aa-basic-pages-active .entry-header,
.aa-basic-pages-active .wp-block-template-part:has(.wp-block-site-title),
.aa-basic-pages-active [class*="site-title"]:not(.aa-shell *):not(.aa-sitewide-shell *),
.aa-basic-pages-active [class*="branding"]:not(.aa-shell *):not(.aa-sitewide-shell *){display:none!important;margin:0!important;padding:0!important;border:0!important;height:0!important;min-height:0!important}

/* Keep the newsroom email legible and button-like. */
.aabp-side .aabp-contact-card{background:#17191e!important;color:#fff!important}
.aabp-side .aabp-contact-card a{display:block!important;background:transparent!important;color:#fff!important;padding:0!important;border-radius:0!important;font-size:12px!important;font-weight:750!important;line-height:1.35!important;text-decoration:none!important}
.aabp-side .aabp-contact-card a:hover{color:#fff!important;background:transparent!important;text-decoration:underline!important}

/* Slightly denser information center. */
.aabp-side-box{padding:14px!important}
.aabp-side-label{font-size:17px!important;margin-bottom:8px!important}
.aabp-side a{padding:9px 10px!important}

@media(max-width:900px){
  .aabp-wrap{padding-top:14px!important}
  .aabp-side{order:0!important}
}

/* v1.7: fit cleanly beside the Sitewide Shell desktop rail. */
.aas-page-content .aabp-wrap{padding-left:28px!important;padding-right:28px!important}
.aas-page-content .aabp-layout{max-width:1088px!important;grid-template-columns:minmax(0,800px) 260px!important;gap:28px!important;margin-inline:auto!important}
.aas-page-content .aabp-main{max-width:800px!important}
.aas-page-content .aabp-legal-note{max-width:1088px!important}
@media(max-width:1180px){.aas-page-content .aabp-layout{grid-template-columns:minmax(0,1fr) 240px!important;gap:22px!important}.aas-page-content .aabp-main{max-width:none!important}}
@media(max-width:900px){.aas-page-content .aabp-wrap{padding-left:16px!important;padding-right:16px!important}.aas-page-content .aabp-layout{grid-template-columns:1fr!important}.aas-page-content .aabp-main{max-width:none!important}}
