:root{
  --bm-black:#090A09;
  --bm-charcoal:#171916;
  --bm-white:#fff;
  --bm-cream:#F6F4EE;
  --bm-pearl:#E9E6DE;
  --bm-gold:#C79A2E;
  --bm-gold-light:#F1D077;
  --bm-field:#183227;
  --bm-field-dark:#0E1E18;
  --bm-muted:#74756F;
  --bm-shadow:0 20px 60px rgba(9,10,9,.12);
  --bm-radius:18px;
  --bm-radius-lg:28px;
}

html{scroll-behavior:smooth}
body{overflow-x:hidden;background:#fff;color:var(--bm-charcoal)}
body,.wp-site-blocks{margin:0}
.wp-site-blocks{padding:0!important}
::selection{background:var(--bm-gold);color:var(--bm-black)}
img{display:block;max-width:100%;height:auto}
a{text-underline-offset:.2em}

/* ---------- Utilities ---------- */
.bm-section{padding-top:clamp(72px,8vw,120px);padding-bottom:clamp(72px,8vw,120px)}
.bm-section-compact{padding-top:clamp(46px,6vw,76px);padding-bottom:clamp(46px,6vw,76px)}
.bm-dark{background:var(--bm-black);color:#fff}
.bm-cream{background:var(--bm-cream)}
.bm-field-bg{background:linear-gradient(135deg,var(--bm-field-dark),var(--bm-black));color:#fff}
.bm-gold-text{color:var(--bm-gold)}
.bm-eyebrow{font-family:var(--wp--preset--font-family--sans);font-size:.73rem!important;line-height:1.2;text-transform:uppercase;letter-spacing:.18em;font-weight:900;color:var(--bm-gold);margin:0 0 16px!important}
.bm-eyebrow-light{color:var(--bm-gold-light)}
.bm-h2{font-size:clamp(2.6rem,5.7vw,5.4rem)!important;margin:.1em 0 .35em!important;max-width:1000px}
.bm-h3{font-size:clamp(1.65rem,3vw,2.7rem)!important;margin:.15em 0 .4em!important}
.bm-lead{font-size:clamp(1.03rem,1.35vw,1.25rem)!important;line-height:1.65;color:#50514D;max-width:780px}
.bm-dark .bm-lead,.bm-field-bg .bm-lead,.bm-light-copy{color:rgba(255,255,255,.76)!important}
.bm-max-800{max-width:800px}.bm-max-900{max-width:900px}
.bm-rule{height:1px;background:rgba(9,10,9,.14);border:0}
.bm-number{font-family:Georgia,serif;font-size:clamp(2rem,4vw,3.4rem);color:var(--bm-gold);line-height:1}
.bm-pill{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:999px;background:rgba(199,154,46,.12);font-size:.76rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#835e0e}

/* Buttons */
.wp-block-button__link{transition:transform .18s ease,box-shadow .18s ease,background .18s ease,color .18s ease}
.wp-block-button__link:hover{transform:translateY(-2px);box-shadow:0 10px 26px rgba(199,154,46,.22)}
.bm-button-primary .wp-block-button__link{background:linear-gradient(135deg,#E2B64D,#C28B13)!important;color:#090A09!important;border:1px solid rgba(255,255,255,.12)}
.bm-button-dark .wp-block-button__link{background:var(--bm-black)!important;color:#fff!important}
.bm-button-ghost .wp-block-button__link{background:transparent!important;color:inherit!important;border:1px solid currentColor!important;box-shadow:none}
.bm-dark .bm-button-ghost .wp-block-button__link,.bm-field-bg .bm-button-ghost .wp-block-button__link{color:#fff!important;border-color:rgba(255,255,255,.5)!important}

/* ---------- Header ---------- */
.bm-header-shell{position:sticky;top:0;z-index:1000;background:rgba(9,10,9,.96);backdrop-filter:blur(18px);border-bottom:1px solid rgba(255,255,255,.08);padding-left:0!important;padding-right:0!important}
.admin-bar .bm-header-shell{top:32px}
.bm-header{min-height:78px;gap:28px;padding:0 clamp(18px,3vw,36px)}
.bm-brand{min-width:max-content;gap:10px!important}
.bm-brand .wp-block-site-logo img{width:48px!important;height:48px!important;object-fit:contain}
.bm-brand .wp-block-site-title{font-family:Georgia,serif;font-size:1.45rem!important;line-height:1;color:#fff!important;margin:0!important;white-space:nowrap}
.bm-brand .wp-block-site-title a{color:#fff!important;text-decoration:none}
.bm-brand-subtitle{font-size:.54rem!important;letter-spacing:.15em;text-transform:uppercase;color:rgba(255,255,255,.56);margin:3px 0 0!important;white-space:nowrap}
.bm-nav .wp-block-navigation-item__content{font-size:.78rem;font-weight:700;color:rgba(255,255,255,.86)!important;text-decoration:none;padding:30px 5px 27px;position:relative}
.bm-nav .wp-block-navigation-item__content:after{content:"";position:absolute;left:5px;right:5px;bottom:20px;height:2px;background:var(--bm-gold);transform:scaleX(0);transition:.2s;transform-origin:center}
.bm-nav .wp-block-navigation-item__content:hover:after{transform:scaleX(1)}
.bm-nav .wp-block-navigation__responsive-container-open,.bm-nav .wp-block-navigation__responsive-container-close{color:#fff}
.bm-header-cta .wp-block-button__link{padding:.75rem 1.1rem!important;font-size:.68rem!important;white-space:nowrap}
.wp-block-navigation__responsive-container.is-menu-open{background:var(--bm-black)!important;color:#fff!important;padding:24px!important}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content{font-family:Georgia,serif;font-size:2rem;color:#fff!important;padding:8px 0}

/* ---------- Hero ---------- */
.bm-hero-cover{min-height:min(760px,82vh)!important;padding:0!important;position:relative;overflow:hidden}
.bm-hero-cover:before{background:linear-gradient(90deg,rgba(7,8,7,.94) 0%,rgba(7,8,7,.78) 38%,rgba(7,8,7,.24) 68%,rgba(7,8,7,.08) 100%)!important}
.bm-hero-cover:after{content:"";position:absolute;inset:0;pointer-events:none;background-image:linear-gradient(rgba(199,154,46,.07) 1px,transparent 1px),linear-gradient(90deg,rgba(199,154,46,.07) 1px,transparent 1px);background-size:72px 72px;mask-image:linear-gradient(90deg,#000,transparent 48%)}
.bm-hero-cover .wp-block-cover__inner-container{width:100%;z-index:2}
.bm-hero-inner{padding-top:clamp(86px,9vw,138px);padding-bottom:clamp(90px,9vw,140px)}
.bm-hero-copy{max-width:690px;margin-left:0!important}
.bm-hero-title{font-size:clamp(3.8rem,7.8vw,7.4rem)!important;line-height:.86!important;letter-spacing:-.055em!important;color:#fff!important;margin:8px 0 26px!important}
.bm-hero-title em{font-style:normal;color:var(--bm-gold-light)}
.bm-hero-lead{color:rgba(255,255,255,.78)!important;max-width:630px;font-size:clamp(1.02rem,1.5vw,1.25rem)!important}
.bm-hero-buttons{margin-top:28px!important}
.bm-hero-note{position:absolute;right:clamp(20px,5vw,70px);bottom:clamp(28px,5vw,58px);max-width:210px;color:#fff;font-size:clamp(1.1rem,1.6vw,1.45rem);line-height:1.15;font-family:Georgia,serif;font-style:italic;transform:rotate(-4deg);text-shadow:0 3px 18px rgba(0,0,0,.45)}

/* ---------- Pillars ---------- */
.bm-pillars{background:#fff;border-bottom:1px solid var(--bm-pearl);box-shadow:0 18px 50px rgba(9,10,9,.05);position:relative;z-index:4}
.bm-pillar-grid{display:grid;grid-template-columns:repeat(3,1fr);margin:0!important}
.bm-pillar{padding:30px clamp(18px,3vw,38px);border-right:1px solid var(--bm-pearl);display:grid;grid-template-columns:auto 1fr;gap:18px;align-items:start}
.bm-pillar:last-child{border-right:0}
.bm-pillar h3{font-family:Georgia,serif;font-size:1.55rem;margin:0 0 4px}
.bm-pillar p{font-size:.88rem;color:#6a6b66;margin:0;line-height:1.45}

/* ---------- Manifesto ---------- */
.bm-manifest-cover{min-height:390px!important;border-radius:0!important;position:relative;overflow:hidden}
.bm-manifest-cover:before{background:linear-gradient(90deg,rgba(9,10,9,.52),rgba(9,10,9,.92) 56%,rgba(9,10,9,.96))!important}
.bm-manifest-inner{padding-top:70px;padding-bottom:70px;display:flex;justify-content:flex-end}
.bm-manifest-copy{width:min(760px,100%);margin-left:auto!important;padding:0 clamp(10px,2vw,20px)}
.bm-manifest-title{font-size:clamp(2.7rem,5.8vw,5.4rem)!important;color:#fff!important;margin:0 0 18px!important;line-height:.93!important}
.bm-manifest-title strong{color:var(--bm-gold-light);font-weight:500}
.bm-manifest-scribble{color:rgba(255,255,255,.72);font-size:.9rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;line-height:1.8;border-left:2px solid var(--bm-gold);padding-left:18px;margin-top:20px}

/* ---------- Section headings ---------- */
.bm-section-head{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:34px!important}
.bm-section-head .bm-h2{margin-bottom:0!important}
.bm-section-head .bm-head-copy{max-width:560px;color:#6b6c67;font-size:.96rem}

/* ---------- Program cards ---------- */
.bm-program-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:34px!important}
.bm-program-card{min-height:430px;border-radius:16px;overflow:hidden;position:relative;background:#111;box-shadow:0 10px 36px rgba(0,0,0,.08);isolation:isolate}
.bm-program-card .wp-block-cover{height:100%;min-height:430px;border-radius:16px;padding:0!important}
.bm-program-card .wp-block-cover:before{background:linear-gradient(180deg,rgba(9,10,9,.02) 26%,rgba(9,10,9,.92) 78%,rgba(9,10,9,.98))!important}
.bm-program-card .wp-block-cover__inner-container{height:100%;display:flex;align-items:flex-end}
.bm-program-card-copy{padding:24px 22px 25px;color:#fff;width:100%}
.bm-program-icon{width:46px;height:46px;border:1px solid rgba(241,208,119,.5);border-radius:12px;display:grid;place-items:center;color:var(--bm-gold-light);font-size:1.25rem;margin-bottom:16px}
.bm-program-card h3{color:#fff!important;font-size:2rem!important;margin:0 0 9px!important}
.bm-program-card p{color:rgba(255,255,255,.72);font-size:.88rem;line-height:1.48}
.bm-program-card a{color:var(--bm-gold-light)!important;font-weight:800;text-decoration:none;font-size:.8rem}
.bm-card-kicker{font-size:.65rem!important;text-transform:uppercase;letter-spacing:.16em;color:var(--bm-gold-light)!important;font-weight:900;margin:0 0 7px!important}

/* ---------- Methodology ---------- */
.bm-methodology{background:#fff;border-top:1px solid #eee;border-bottom:1px solid #eee}
.bm-methodology-layout{display:grid;grid-template-columns:1.05fr .95fr;gap:clamp(28px,5vw,70px);align-items:stretch}
.bm-methodology-image{border-radius:18px;overflow:hidden;min-height:520px;box-shadow:var(--bm-shadow)}
.bm-methodology-image img{width:100%;height:100%;object-fit:cover}
.bm-methodology-copy{display:flex;flex-direction:column;justify-content:center}
.bm-methodology-grid{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--bm-pearl);border-left:1px solid var(--bm-pearl);margin-top:28px}
.bm-methodology-point{padding:22px;border-right:1px solid var(--bm-pearl);border-bottom:1px solid var(--bm-pearl)}
.bm-methodology-point strong{display:block;font-family:Georgia,serif;font-size:1.35rem;margin-bottom:4px}
.bm-methodology-point span{font-size:.84rem;color:#6b6c67;line-height:1.45;display:block}
.bm-methodology-symbol{color:var(--bm-gold);font-size:1.45rem;margin-bottom:9px}

/* ---------- Event highlight ---------- */
.bm-event-highlight{background:radial-gradient(circle at 75% 20%,rgba(199,154,46,.18),transparent 26%),linear-gradient(110deg,#090A09,#151914 65%,#090A09);position:relative;overflow:hidden}
.bm-event-highlight:after{content:"";position:absolute;inset:0;background-image:linear-gradient(30deg,transparent 49%,rgba(199,154,46,.05) 50%,transparent 51%);background-size:44px 44px;pointer-events:none}
.bm-event-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:50px;align-items:center;position:relative;z-index:2}
.bm-event-title{font-size:clamp(3rem,5vw,5.7rem)!important;color:#fff!important;margin:4px 0 18px!important}
.bm-event-meta{display:flex;gap:28px;flex-wrap:wrap;margin:22px 0 28px;color:#fff}
.bm-event-meta strong{display:block;color:var(--bm-gold-light);font-size:.72rem;text-transform:uppercase;letter-spacing:.14em;margin-bottom:4px}
.bm-event-art{border-radius:18px;overflow:hidden;border:1px solid rgba(255,255,255,.1);box-shadow:0 30px 70px rgba(0,0,0,.4)}
.bm-event-art img{aspect-ratio:4/3;object-fit:cover;filter:saturate(.8) contrast(1.05)}

/* ---------- Community ---------- */
.bm-community-layout{display:grid;grid-template-columns:1fr 1.05fr;gap:clamp(30px,5vw,70px);align-items:center}
.bm-community-mosaic{display:grid;grid-template-columns:1.1fr .8fr;grid-template-rows:220px 180px;gap:10px}
.bm-community-mosaic figure{margin:0!important;overflow:hidden;border-radius:14px}
.bm-community-mosaic figure:first-child{grid-row:1/3}
.bm-community-mosaic img{width:100%;height:100%;object-fit:cover}
.bm-community-copy .bm-h2{font-size:clamp(2.7rem,5vw,5rem)!important}
.bm-community-note{font-family:Georgia,serif;font-style:italic;font-size:1.2rem;color:#444;transform:rotate(-2deg);border-left:2px solid var(--bm-gold);padding-left:16px;margin-top:24px}

/* ---------- Resource cards / blog ---------- */
.bm-resource-query ul,.bm-resource-query .wp-block-post-template{gap:16px!important}
.bm-resource-card{height:100%;background:#fff;border:1px solid var(--bm-pearl);border-radius:14px;overflow:hidden;box-shadow:0 8px 28px rgba(9,10,9,.05);transition:.2s}
.bm-resource-card:hover{transform:translateY(-4px);box-shadow:0 18px 42px rgba(9,10,9,.1)}
.bm-resource-card .wp-block-post-featured-image{margin:0!important;overflow:hidden}
.bm-resource-card .wp-block-post-featured-image img{aspect-ratio:16/9;object-fit:cover;transition:transform .35s ease}
.bm-resource-card:hover .wp-block-post-featured-image img{transform:scale(1.035)}
.bm-resource-card .wp-block-post-date,.bm-resource-card .wp-block-post-terms,.bm-resource-card .wp-block-post-title,.bm-resource-card .wp-block-post-excerpt{padding-left:20px;padding-right:20px}
.bm-resource-card .wp-block-post-date,.bm-resource-card .wp-block-post-terms{margin-top:18px;font-size:.67rem;text-transform:uppercase;letter-spacing:.13em;font-weight:800;color:#9a7019}
.bm-resource-card .wp-block-post-title{font-family:Georgia,serif;font-size:1.55rem;line-height:1.04;margin:8px 0 10px}
.bm-resource-card .wp-block-post-title a{text-decoration:none}
.bm-resource-card .wp-block-post-excerpt{font-size:.87rem;color:#686963;padding-bottom:20px;margin-top:0}
.bm-resource-card .wp-block-post-excerpt__more-link{color:#9a7019;font-weight:800;text-decoration:none}

/* ---------- CTA ---------- */
.bm-cta-panel{border-radius:22px;overflow:hidden;position:relative;background:linear-gradient(110deg,#090A09,#151914);color:#fff;padding:clamp(38px,6vw,76px);box-shadow:var(--bm-shadow)}
.bm-cta-panel:before{content:"";position:absolute;width:420px;height:420px;right:-120px;top:-170px;border-radius:50%;border:1px solid rgba(199,154,46,.22);box-shadow:0 0 0 40px rgba(199,154,46,.035),0 0 0 90px rgba(199,154,46,.025)}
.bm-cta-panel h2{color:#fff!important;font-size:clamp(2.6rem,5vw,5rem)!important;max-width:780px;margin:0 0 18px!important}
.bm-cta-panel p{color:rgba(255,255,255,.73);max-width:720px}

/* ---------- Generic page hero ---------- */
.bm-page-hero{padding-top:clamp(86px,9vw,130px);padding-bottom:clamp(64px,8vw,110px);background:var(--bm-cream);border-bottom:1px solid var(--bm-pearl)}
.bm-page-hero h1,.bm-page-hero .wp-block-query-title{font-size:clamp(3.4rem,7vw,6.8rem)!important;max-width:1050px;margin:0!important}
.bm-page-hero-dark{background:radial-gradient(circle at 80% 20%,rgba(199,154,46,.15),transparent 25%),var(--bm-black);color:#fff}
.bm-page-hero-dark h1{color:#fff!important}
.bm-page-hero-dark p{color:rgba(255,255,255,.72)}
.bm-content{padding-top:clamp(56px,7vw,90px);padding-bottom:clamp(72px,9vw,120px)}
.bm-content>.wp-block-post-content>*:not(.alignwide):not(.alignfull){max-width:780px;margin-left:auto;margin-right:auto}

/* ---------- Internal program/event pages ---------- */
.bm-internal-hero{border-radius:20px;overflow:hidden;margin-top:40px!important;min-height:520px!important}
.bm-internal-hero:before{background:linear-gradient(90deg,rgba(9,10,9,.88),rgba(9,10,9,.45),rgba(9,10,9,.08))!important}
.bm-internal-hero-copy{max-width:680px;padding:clamp(36px,6vw,72px)}
.bm-internal-hero h1,.bm-internal-hero h2{color:#fff!important}
.bm-internal-hero p{color:rgba(255,255,255,.78)}
.bm-detail-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.bm-detail-card{border:1px solid var(--bm-pearl);border-radius:14px;padding:25px;background:#fff}
.bm-detail-card h3{font-size:1.55rem;margin:0 0 8px!important}
.bm-detail-card p{font-size:.9rem;color:#666;margin:0}
.bm-event-list-card{display:grid;grid-template-columns:220px 1fr auto;gap:25px;align-items:center;padding:18px;border:1px solid var(--bm-pearl);border-radius:16px;background:#fff;margin-bottom:14px}
.bm-event-list-card img{width:220px;height:150px;object-fit:cover;border-radius:11px}

/* ---------- Articles ---------- */
.bm-article-hero{background:var(--bm-black);color:#fff;padding-top:clamp(82px,9vw,124px);padding-bottom:clamp(58px,7vw,90px)}
.bm-article-hero h1{color:#fff!important;font-size:clamp(3rem,6.5vw,6.4rem)!important;max-width:1120px;margin:.15em 0 .25em!important}
.bm-article-hero .wp-block-post-terms a{color:var(--bm-gold-light)!important;text-decoration:none;font-size:.72rem;text-transform:uppercase;letter-spacing:.15em;font-weight:900}
.bm-post-meta{font-size:.82rem;color:rgba(255,255,255,.62);gap:8px!important}
.bm-single-featured{margin-top:-36px!important;position:relative;z-index:3}
.bm-single-featured img{width:100%;max-height:680px;object-fit:cover;border-radius:20px;box-shadow:var(--bm-shadow)}
.single-post .bm-content .wp-block-post-content{font-family:Georgia,serif;font-size:1.16rem;line-height:1.8}
.single-post .bm-content .wp-block-post-content h2,.single-post .bm-content .wp-block-post-content h3{font-family:Georgia,serif;margin-top:2.1em}
.single-post .bm-content .wp-block-post-content blockquote{border-left:4px solid var(--bm-gold);padding:8px 0 8px 28px;margin:2.2em 0;font-size:1.35rem;font-style:italic;color:#343530}
.bm-related{background:var(--bm-cream);border-top:1px solid var(--bm-pearl)}

/* ---------- Archives / categories / search ---------- */
.bm-archive-head{display:flex;justify-content:space-between;gap:24px;align-items:end}
.bm-category-chips{display:flex;gap:8px;flex-wrap:wrap;margin:24px 0 0}
.bm-category-chips a{display:inline-flex;padding:8px 12px;border:1px solid var(--bm-pearl);border-radius:999px;text-decoration:none;font-size:.72rem;font-weight:800;text-transform:uppercase;letter-spacing:.08em;background:#fff}
.bm-pagination{margin-top:44px!important}
.bm-pagination a,.bm-pagination span{display:inline-flex;min-width:40px;height:40px;align-items:center;justify-content:center;border:1px solid var(--bm-pearl);border-radius:999px;text-decoration:none}

/* ---------- Forms ---------- */
input[type=text],input[type=email],input[type=tel],input[type=number],input[type=password],input[type=url],input[type=date],select,textarea{border:1px solid #d7d4ca;border-radius:10px;background:#fff;padding:13px 14px;font:inherit;color:var(--bm-charcoal);box-shadow:none;outline:none;transition:.18s}
input:focus,select:focus,textarea:focus{border-color:var(--bm-gold);box-shadow:0 0 0 3px rgba(199,154,46,.14)}
label{font-weight:700;font-size:.9rem}
button,input[type=submit]{font-family:inherit}

/* ---------- WooCommerce ---------- */
.woocommerce-page main,.woocommerce main{--wp--style--global--content-size:1200px}
.woocommerce .woocommerce-breadcrumb{font-size:.72rem;text-transform:uppercase;letter-spacing:.1em;color:#888;margin:0 0 20px}
.woocommerce .woocommerce-breadcrumb a{color:#9a7019}
.woocommerce .woocommerce-result-count,.woocommerce .woocommerce-ordering{font-size:.84rem;color:#686963}
.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px!important;margin-top:30px!important}
.woocommerce ul.products:before,.woocommerce ul.products:after{display:none!important}
.woocommerce ul.products li.product{width:auto!important;margin:0!important;background:#fff;border:1px solid var(--bm-pearl);border-radius:16px;overflow:hidden;padding:0 0 20px!important;box-shadow:0 8px 28px rgba(9,10,9,.05);transition:.2s}
.woocommerce ul.products li.product:hover{transform:translateY(-4px);box-shadow:0 18px 46px rgba(9,10,9,.1)}
.woocommerce ul.products li.product a img{margin:0 0 18px!important;aspect-ratio:4/3;object-fit:cover}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-family:Georgia,serif;font-size:1.6rem!important;line-height:1.05;padding:0 18px!important}
.woocommerce ul.products li.product .price{color:#9a7019!important;font-weight:800;padding:0 18px}
.woocommerce ul.products li.product .button{margin-left:18px;background:var(--bm-black);color:#fff;border-radius:999px;padding:.85rem 1.2rem;font-size:.75rem;text-transform:uppercase;letter-spacing:.06em}
.woocommerce span.onsale{background:var(--bm-gold);color:#111;min-width:auto;min-height:auto;padding:7px 10px;line-height:1;border-radius:999px;top:12px;left:12px}
.woocommerce div.product{padding-top:25px}
.woocommerce div.product div.images img{border-radius:18px}
.woocommerce div.product .summary{padding:22px 0}
.woocommerce div.product .product_title{font-family:Georgia,serif;font-size:clamp(2.7rem,5vw,5rem);line-height:.94}
.woocommerce div.product p.price,.woocommerce div.product span.price{color:#9a7019;font-size:1.5rem;font-weight:900}
.woocommerce div.product form.cart .button,.woocommerce button.button.alt,.woocommerce a.button.alt,.woocommerce input.button.alt{background:linear-gradient(135deg,#E2B64D,#C28B13)!important;color:#090A09!important;border-radius:999px!important;padding:1rem 1.45rem!important;font-weight:900!important}
.woocommerce div.product .woocommerce-tabs ul.tabs{padding:0!important;border-bottom:1px solid var(--bm-pearl)}
.woocommerce div.product .woocommerce-tabs ul.tabs li{background:transparent!important;border:0!important;padding:0 15px 8px!important}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active{border-bottom:2px solid var(--bm-gold)!important}
.woocommerce table.shop_table,.woocommerce table.shop_table_responsive{border:1px solid var(--bm-pearl)!important;border-radius:14px!important;overflow:hidden;background:#fff}
.woocommerce table.shop_table th{font-size:.74rem;text-transform:uppercase;letter-spacing:.09em}
.woocommerce-cart-form,.cart_totals,.woocommerce-checkout-review-order,.woocommerce-form-coupon,.woocommerce-form-login,.woocommerce-MyAccount-content{background:#fff;border:1px solid var(--bm-pearl);border-radius:16px;padding:22px;box-shadow:0 8px 28px rgba(9,10,9,.04)}
.woocommerce-checkout #customer_details{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.woocommerce-checkout #customer_details>div{width:auto!important;float:none!important}
.woocommerce-checkout-review-order{margin-top:24px}
.woocommerce-checkout-payment{background:var(--bm-cream)!important;border-radius:14px!important;border:1px solid #ddd7c8}
.woocommerce-checkout-payment ul.payment_methods{border-bottom:1px solid #ddd7c8!important}
.woocommerce .woocommerce-notices-wrapper .woocommerce-message,.woocommerce .woocommerce-notices-wrapper .woocommerce-info,.woocommerce .woocommerce-notices-wrapper .woocommerce-error,.woocommerce-message,.woocommerce-info,.woocommerce-error{border:1px solid var(--bm-pearl);border-top:4px solid var(--bm-gold);border-radius:12px;background:#fff;padding:18px 20px 18px 50px!important;box-shadow:0 8px 22px rgba(9,10,9,.04)}
.woocommerce-account .woocommerce-MyAccount-navigation{width:26%}
.woocommerce-account .woocommerce-MyAccount-content{width:70%}
.woocommerce-MyAccount-navigation ul{list-style:none;padding:0;margin:0}
.woocommerce-MyAccount-navigation a{display:block;padding:12px 14px;border-bottom:1px solid var(--bm-pearl);text-decoration:none;font-weight:700}
.woocommerce-MyAccount-navigation .is-active a{background:var(--bm-black);color:#fff;border-radius:10px}

/* WooCommerce Blocks */
.wp-block-woocommerce-cart,.wp-block-woocommerce-checkout{max-width:1240px!important;margin-left:auto!important;margin-right:auto!important;padding-top:40px;padding-bottom:80px}
.wc-block-cart-items,.wc-block-components-sidebar,.wc-block-checkout__main,.wc-block-checkout__sidebar{border-radius:16px}
.wc-block-components-sidebar,.wc-block-checkout__sidebar{background:var(--bm-cream);padding:22px!important;border:1px solid #ddd7c8}
.wc-block-components-button{border-radius:999px!important;background:var(--bm-black)!important;color:#fff!important;font-weight:800!important;letter-spacing:.03em}
.wc-block-components-button:not(.is-link):hover{background:var(--bm-gold)!important;color:#111!important}
.wc-block-components-text-input input,.wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input{border-radius:10px!important}

/* Order pay / institutional payment */
.woocommerce-order-pay #order_review,.woocommerce-order-pay #payment{max-width:900px;margin-left:auto;margin-right:auto}
.woocommerce-order-pay #order_review{background:#fff;border:1px solid var(--bm-pearl);border-radius:16px;padding:20px;margin-top:36px}
.woocommerce-order-pay #payment{margin-bottom:80px}
.bme-transfer-card,.bme-transfer-confirmation{border-color:#ddd7c8!important;box-shadow:0 16px 42px rgba(9,10,9,.07)!important}
.bme-transfer-whatsapp{background:var(--bm-field)!important;border-radius:999px!important;padding:13px 20px!important}

/* ---------- B&M Events ---------- */
.bme-event-widget{border:1px solid var(--bm-pearl)!important;border-radius:18px!important;box-shadow:0 18px 50px rgba(9,10,9,.07)!important;padding:clamp(18px,3vw,30px)!important;font-family:var(--wp--preset--font-family--sans)!important}
.bme-event-title h2{font-size:clamp(2.4rem,5vw,4.8rem)!important}
.bme-zone-list span{background:var(--bm-cream)!important}
.bme-primary{background:var(--bm-black)!important;border-radius:999px!important;padding:14px 22px!important}
.bme-payment-choice label{background:#fff;border-color:var(--bm-pearl)!important;border-radius:12px!important}
.bme-payment-choice label:has(input:checked){border-color:var(--bm-gold)!important;background:#fff8e5}
.bme-simple-buy{background:var(--bm-cream);padding:18px;border-radius:14px}
.bme-buyer-card{background:#fff;border:1px solid var(--bm-pearl);border-radius:14px;padding:18px;margin-top:18px}

/* ---------- Footer ---------- */
.bm-footer{background:var(--bm-black);color:rgba(255,255,255,.7);padding-top:58px;padding-bottom:26px;border-top:1px solid rgba(255,255,255,.08)}
.bm-footer h3,.bm-footer h4,.bm-footer .wp-block-site-title,.bm-footer a{color:#fff!important}
.bm-footer a{text-decoration:none}
.bm-footer .wp-block-site-logo img{width:56px!important;height:56px!important}
.bm-footer-brand{gap:12px!important}
.bm-footer-title{font-family:Georgia,serif;font-size:1.5rem;color:#fff}
.bm-footer-kicker{font-size:.57rem!important;letter-spacing:.15em;text-transform:uppercase;margin-top:4px!important}
.bm-footer-nav .wp-block-navigation-item__content{padding:3px 0;color:rgba(255,255,255,.66)!important;font-size:.82rem}
.bm-footer-rule{border-top:1px solid rgba(255,255,255,.1);padding-top:18px;margin-top:38px!important;font-size:.74rem;color:rgba(255,255,255,.46)}

/* ---------- 404 ---------- */
.bm-404{min-height:64vh;display:flex;align-items:center;background:radial-gradient(circle at 75% 20%,rgba(199,154,46,.16),transparent 25%),var(--bm-black);color:#fff}
.bm-404 h1{color:#fff!important;font-size:clamp(3.2rem,7vw,7rem)!important}

/* ---------- Responsive ---------- */
@media(max-width:1100px){
  .bm-header-cta{display:none!important}
  .bm-program-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .bm-event-grid,.bm-community-layout,.bm-methodology-layout{grid-template-columns:1fr}
  .bm-methodology-image{min-height:420px}
  .woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:900px){
  .bm-nav{margin-left:auto}
  .bm-nav .wp-block-navigation__responsive-container:not(.is-menu-open){display:none}
  .bm-nav .wp-block-navigation__responsive-container-open{display:flex!important}
  .bm-pillar-grid{grid-template-columns:1fr}
  .bm-pillar{border-right:0;border-bottom:1px solid var(--bm-pearl)}
  .bm-pillar:last-child{border-bottom:0}
  .bm-section-head{display:block}
  .bm-section-head .bm-head-copy{margin-top:14px}
  .bm-event-list-card{grid-template-columns:160px 1fr}.bm-event-list-card>:last-child{grid-column:2}
  .bm-detail-grid{grid-template-columns:1fr 1fr}
  .woocommerce-checkout #customer_details{grid-template-columns:1fr}
  .woocommerce-account .woocommerce-MyAccount-navigation,.woocommerce-account .woocommerce-MyAccount-content{width:100%;float:none}
  .woocommerce-account .woocommerce-MyAccount-navigation{margin-bottom:20px}
}
@media(max-width:782px){.admin-bar .bm-header-shell{top:46px}}
@media(max-width:680px){
  .bm-header{min-height:68px;padding-left:14px;padding-right:14px}.bm-brand .wp-block-site-title{font-size:1.13rem!important}.bm-brand-subtitle{display:none}.bm-brand .wp-block-site-logo img{width:42px!important;height:42px!important}
  .bm-hero-cover{min-height:680px!important}.bm-hero-cover:before{background:linear-gradient(180deg,rgba(7,8,7,.45),rgba(7,8,7,.88) 56%,rgba(7,8,7,.97))!important}.bm-hero-inner{display:flex;align-items:flex-end;min-height:680px;padding-bottom:68px}.bm-hero-title{font-size:clamp(3.4rem,16vw,5.5rem)!important}.bm-hero-note{display:none}
  .bm-program-grid{grid-template-columns:1fr}.bm-program-card,.bm-program-card .wp-block-cover{min-height:390px}
  .bm-methodology-grid{grid-template-columns:1fr}.bm-community-mosaic{grid-template-columns:1fr 1fr;grid-template-rows:190px 150px}.bm-community-mosaic figure:first-child{grid-column:1/3;grid-row:auto}
  .bm-detail-grid{grid-template-columns:1fr}.bm-event-list-card{grid-template-columns:1fr}.bm-event-list-card img{width:100%;height:190px}.bm-event-list-card>:last-child{grid-column:auto}
  .woocommerce ul.products{grid-template-columns:1fr}
  .bm-article-hero h1{font-size:clamp(2.8rem,13vw,4.5rem)!important}.bm-single-featured{margin-top:-20px!important}
  .wp-block-buttons{gap:8px}.wp-block-button{width:100%}.wp-block-button__link{width:100%;box-sizing:border-box;text-align:center}
}

/* ==========================================================
   HOME FIDELITY PASS — v2.1.0
   Correcciones para acercar la Home importada al mockup aprobado.
   ========================================================== */

/* La Home importada debe ser realmente full-bleed, sin el marco blanco
   generado por el padding raíz de theme.json / post-content. */
.bm-imported-home-exact{
  width:100vw!important;
  max-width:none!important;
  margin-left:calc(50% - 50vw)!important;
  margin-right:calc(50% - 50vw)!important;
  padding-left:0!important;
  padding-right:0!important;
  overflow:hidden;
}
.bm-imported-home-exact>.alignfull,
.bm-imported-home-exact .alignfull{
  width:100%!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
}
.bm-imported-home-exact .alignwide{
  width:min(1200px,calc(100% - 64px))!important;
  max-width:1200px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}

/* Header: proporción más cercana al mockup; evita sensación de header diminuto. */
.bm-header{min-height:72px!important;max-width:1200px!important}
.bm-brand .wp-block-site-logo img{width:52px!important;height:52px!important}
.bm-brand .wp-block-site-title{font-size:1.58rem!important}
.bm-brand-subtitle{font-size:.56rem!important}
.bm-nav .wp-block-navigation-item__content{font-size:.74rem!important;padding-top:27px!important;padding-bottom:25px!important}

/* Hero: más editorial/deportivo y con encuadre de entrenador + grupo. */
.bm-imported-home-exact .bm-hero-cover{
  min-height:640px!important;
  background-image:url('../images/tactica.webp');
  background-size:cover;
  background-position:center center;
}
.bm-imported-home-exact .bm-hero-cover>.wp-block-cover__image-background{opacity:0!important}
.bm-imported-home-exact .bm-hero-cover:before{
  background:linear-gradient(90deg,rgba(6,7,6,.96) 0%,rgba(6,7,6,.82) 33%,rgba(6,7,6,.28) 62%,rgba(6,7,6,.12) 100%)!important;
}
.bm-imported-home-exact .bm-hero-inner{
  width:min(1200px,calc(100% - 64px))!important;
  max-width:1200px!important;
  min-height:640px;
  padding-top:94px!important;
  padding-bottom:76px!important;
  display:flex;
  align-items:center;
  position:relative;
}
.bm-imported-home-exact .bm-hero-copy{max-width:555px!important}
.bm-imported-home-exact .bm-hero-title{
  font-size:clamp(4rem,6.55vw,6.35rem)!important;
  line-height:.84!important;
  letter-spacing:-.052em!important;
  text-transform:uppercase;
  max-width:560px;
}
.bm-imported-home-exact .bm-hero-lead{max-width:540px!important;font-size:1.02rem!important;line-height:1.52!important}
.bm-imported-home-exact .bm-hero-note{right:0!important;bottom:56px!important;font-size:1.25rem!important}

/* Pilares: altura, iconografía y aire del mockup. */
.bm-imported-home-exact .bm-pillars{box-shadow:none!important}
.bm-imported-home-exact .bm-pillar-grid{width:min(1200px,calc(100% - 64px));margin:auto!important}
.bm-imported-home-exact .bm-pillar{min-height:116px;padding:25px 34px!important;align-items:center!important;position:relative}
.bm-imported-home-exact .bm-pillar:after{position:absolute;right:20px;bottom:12px;font-size:46px;opacity:.055;color:var(--bm-gold);font-family:Georgia,serif}
.bm-imported-home-exact .bm-pillar:nth-child(1):after{content:'⚽'}
.bm-imported-home-exact .bm-pillar:nth-child(2):after{content:'◎'}
.bm-imported-home-exact .bm-pillar:nth-child(3):after{content:'△'}
.bm-imported-home-exact .bm-pillar h3{font-size:1.5rem!important}
.bm-imported-home-exact .bm-pillar p{max-width:245px;font-size:.84rem!important}

/* Manifiesto: franja horizontal, texto cargado al centro/derecha y pizarra visual. */
.bm-imported-home-exact .bm-manifest-cover{
  min-height:330px!important;
  background-image:url('../images/articulos.webp');
  background-size:cover;
  background-position:center 45%;
}
.bm-imported-home-exact .bm-manifest-cover>.wp-block-cover__image-background{opacity:0!important}
.bm-imported-home-exact .bm-manifest-cover:before{
  background:linear-gradient(90deg,rgba(7,8,7,.28) 0%,rgba(7,8,7,.76) 36%,rgba(7,8,7,.96) 76%,rgba(7,8,7,.98) 100%)!important;
}
.bm-imported-home-exact .bm-manifest-cover:after{
  content:'OBSERVAR  ·  PENSAR  ·  ACOMPAÑAR  ·  TRANSFORMAR';
  position:absolute;
  right:3.5%;
  top:29%;
  width:205px;
  color:rgba(255,255,255,.74);
  font-size:.78rem;
  line-height:2.15;
  font-weight:800;
  letter-spacing:.08em;
  transform:rotate(-5deg);
  white-space:normal;
  z-index:2;
}
.bm-imported-home-exact .bm-manifest-inner{min-height:330px!important;padding:45px 0!important;align-items:center!important}
.bm-imported-home-exact .bm-manifest-copy{width:64%!important;max-width:760px!important;margin-left:24%!important;margin-right:auto!important}
.bm-imported-home-exact .bm-manifest-title{font-size:clamp(2.7rem,4.7vw,4.75rem)!important;line-height:.9!important;text-transform:uppercase}
.bm-imported-home-exact .bm-manifest-scribble{display:none}

/* Ritmo vertical más parecido al diseño: menos espacios muertos. */
.bm-imported-home-exact>.bm-section{padding-top:68px!important;padding-bottom:68px!important}
.bm-imported-home-exact .bm-section-head{margin-bottom:26px!important}
.bm-imported-home-exact .bm-h2{font-size:clamp(2.65rem,4.4vw,4.55rem)!important;line-height:.92!important}

/* Programas: cards anchas, iguales y más fotográficas. */
.bm-imported-home-exact .bm-program-grid{gap:12px!important;margin-top:26px!important}
.bm-imported-home-exact .bm-program-card,
.bm-imported-home-exact .bm-program-card .wp-block-cover{min-height:350px!important}
.bm-imported-home-exact .bm-program-card{border-radius:10px!important}
.bm-imported-home-exact .bm-program-card .wp-block-cover{border-radius:10px!important}
.bm-imported-home-exact .bm-program-card-copy{padding:20px 19px 21px!important}
.bm-imported-home-exact .bm-program-card h3{font-size:1.8rem!important}
.bm-imported-home-exact .bm-program-icon{width:38px!important;height:38px!important;border-radius:8px!important;margin-bottom:11px!important}

/* Metodología: una franja editorial compacta, imagen más presente. */
.bm-imported-home-exact .bm-methodology{padding-top:0!important;padding-bottom:0!important}
.bm-imported-home-exact .bm-methodology-layout{width:100%!important;max-width:1280px!important;grid-template-columns:1.05fr 1fr!important;gap:0!important}
.bm-imported-home-exact .bm-methodology-image{min-height:405px!important;border-radius:0!important;box-shadow:none!important;margin:0!important}
.bm-imported-home-exact .bm-methodology-image img{min-height:405px!important}
.bm-imported-home-exact .bm-methodology-copy{padding:48px 52px!important;background:#fff}
.bm-imported-home-exact .bm-methodology-grid{margin-top:20px!important}
.bm-imported-home-exact .bm-methodology-point{padding:16px 18px!important}

/* Evento destacado: banda negra continua, compacta, como el mockup. */
.bm-imported-home-exact .bm-event-highlight{padding-top:46px!important;padding-bottom:46px!important}
.bm-imported-home-exact .bm-event-grid{width:min(1200px,calc(100% - 64px))!important;max-width:1200px!important;grid-template-columns:.86fr 1.14fr!important;gap:34px!important}
.bm-imported-home-exact .bm-event-title{font-size:clamp(3.3rem,5vw,5rem)!important;line-height:.86!important}
.bm-imported-home-exact .bm-event-art{border-radius:8px!important;box-shadow:none!important}
.bm-imported-home-exact .bm-event-art img{aspect-ratio:16/7!important;object-position:center 35%!important;filter:grayscale(.2) saturate(.65) contrast(1.1)!important}

/* Comunidad: emula el tercer panel visual del mockup sin cambiar el contenido importado. */
.bm-imported-home-exact .bm-community-layout{
  position:relative;
  grid-template-columns:1fr 1.15fr!important;
  padding-right:330px;
  min-height:350px;
  gap:40px!important;
}
.bm-imported-home-exact .bm-community-layout:after{
  content:'';
  position:absolute;
  right:0;
  top:38px;
  width:300px;
  height:230px;
  border-radius:9px;
  background:linear-gradient(0deg,rgba(9,10,9,.14),rgba(9,10,9,.02)),url('../images/tactica.webp') center/cover no-repeat;
}
.bm-imported-home-exact .bm-community-layout:before{
  content:'GENTE REAL\A QUE CREE\A EN EL PODER\A DEL FÚTBOL';
  white-space:pre;
  position:absolute;
  right:-8px;
  bottom:6px;
  width:185px;
  z-index:2;
  font-family:Georgia,serif;
  font-style:italic;
  color:#52534f;
  line-height:1.22;
  transform:rotate(-4deg);
}
.bm-imported-home-exact .bm-community-mosaic{grid-template-rows:155px 130px!important}
.bm-imported-home-exact .bm-community-note{display:none}

/* Artículos: 1 destacado horizontal + 2 secundarios, igual al mockup. */
.bm-imported-home-exact .bm-resource-query .wp-block-post-template{
  display:grid!important;
  grid-template-columns:2fr 1fr 1fr!important;
  gap:14px!important;
}
.bm-imported-home-exact .bm-resource-query .wp-block-post-template>li{width:auto!important;margin:0!important}
.bm-imported-home-exact .bm-resource-query .wp-block-post-template>li:first-child .bm-resource-card{
  display:grid;
  grid-template-columns:1.06fr .94fr;
  grid-template-rows:auto auto 1fr;
  min-height:265px;
}
.bm-imported-home-exact .bm-resource-query .wp-block-post-template>li:first-child .wp-block-post-featured-image{
  grid-column:1;
  grid-row:1/5;
  height:100%;
}
.bm-imported-home-exact .bm-resource-query .wp-block-post-template>li:first-child .wp-block-post-featured-image img{height:100%!important;aspect-ratio:auto!important}
.bm-imported-home-exact .bm-resource-query .wp-block-post-template>li:first-child .wp-block-post-terms,
.bm-imported-home-exact .bm-resource-query .wp-block-post-template>li:first-child .wp-block-post-title,
.bm-imported-home-exact .bm-resource-query .wp-block-post-template>li:first-child .wp-block-post-excerpt{grid-column:2}
.bm-imported-home-exact .bm-resource-query .wp-block-post-template>li:first-child .wp-block-post-title{font-size:1.75rem!important}
.bm-imported-home-exact .bm-resource-card{border-radius:8px!important;box-shadow:none!important}

/* CTA final: banda fotográfica en vez de tarjeta flotante pequeña. */
.bm-imported-home-exact>.bm-cream:last-child{padding:0!important;background:#0a0b0a!important}
.bm-imported-home-exact .bm-cta-panel{
  width:100vw!important;
  max-width:none!important;
  min-height:270px;
  margin-left:calc(50% - 50vw)!important;
  margin-right:calc(50% - 50vw)!important;
  border-radius:0!important;
  box-shadow:none!important;
  padding-top:54px!important;
  padding-bottom:54px!important;
  padding-left:max(52px,calc((100vw - 1200px)/2))!important;
  padding-right:max(52px,calc((100vw - 1200px)/2))!important;
  background:
    linear-gradient(90deg,rgba(7,8,7,.96) 0%,rgba(7,8,7,.88) 42%,rgba(7,8,7,.38) 72%,rgba(7,8,7,.66) 100%),
    url('../images/hero-desktop.webp') 78% 44%/cover no-repeat!important;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.bm-imported-home-exact .bm-cta-panel:before{display:none!important}
.bm-imported-home-exact .bm-cta-panel h2{font-size:clamp(2.9rem,4.5vw,4.7rem)!important;max-width:600px!important;line-height:.9!important}
.bm-imported-home-exact .bm-cta-panel p{max-width:630px!important}

/* Footer: más compacto y con la misma densidad del mockup. */
.bm-footer{padding-top:40px!important;padding-bottom:18px!important}
.bm-footer-rule{margin-top:24px!important}

@media(max-width:1100px){
  .bm-imported-home-exact .bm-community-layout{padding-right:0!important;grid-template-columns:1fr 1fr!important}
  .bm-imported-home-exact .bm-community-layout:after,.bm-imported-home-exact .bm-community-layout:before{display:none!important}
  .bm-imported-home-exact .bm-resource-query .wp-block-post-template{grid-template-columns:1.35fr 1fr 1fr!important}
}

@media(max-width:900px){
  .bm-imported-home-exact .alignwide{width:min(100% - 36px,760px)!important}
  .bm-imported-home-exact .bm-hero-inner{width:min(100% - 36px,760px)!important}
  .bm-imported-home-exact .bm-manifest-copy{width:74%!important;margin-left:18%!important}
  .bm-imported-home-exact .bm-event-grid{width:min(100% - 36px,760px)!important}
  .bm-imported-home-exact .bm-community-layout{grid-template-columns:1fr!important}
  .bm-imported-home-exact .bm-resource-query .wp-block-post-template{grid-template-columns:1fr 1fr!important}
  .bm-imported-home-exact .bm-resource-query .wp-block-post-template>li:first-child{grid-column:1/3}
}

@media(max-width:680px){
  .bm-imported-home-exact .alignwide{width:calc(100% - 28px)!important}
  .bm-imported-home-exact .bm-hero-cover{min-height:690px!important;background-position:58% center}
  .bm-imported-home-exact .bm-hero-inner{width:calc(100% - 28px)!important;min-height:690px!important;align-items:flex-end!important;padding-bottom:54px!important}
  .bm-imported-home-exact .bm-hero-title{font-size:clamp(3.1rem,15vw,4.7rem)!important}
  .bm-imported-home-exact .bm-manifest-cover{min-height:420px!important;background-position:45% center}
  .bm-imported-home-exact .bm-manifest-cover:after{display:none}
  .bm-imported-home-exact .bm-manifest-copy{width:100%!important;margin:0!important;padding:0 18px!important}
  .bm-imported-home-exact .bm-manifest-title{font-size:clamp(2.45rem,12vw,3.5rem)!important}
  .bm-imported-home-exact>.bm-section{padding-top:52px!important;padding-bottom:52px!important}
  .bm-imported-home-exact .bm-methodology-layout{grid-template-columns:1fr!important}
  .bm-imported-home-exact .bm-methodology-copy{padding:38px 18px!important}
  .bm-imported-home-exact .bm-event-grid{width:calc(100% - 28px)!important;grid-template-columns:1fr!important}
  .bm-imported-home-exact .bm-community-mosaic{grid-template-rows:190px 150px!important}
  .bm-imported-home-exact .bm-resource-query .wp-block-post-template{grid-template-columns:1fr!important}
  .bm-imported-home-exact .bm-resource-query .wp-block-post-template>li:first-child{grid-column:auto}
  .bm-imported-home-exact .bm-resource-query .wp-block-post-template>li:first-child .bm-resource-card{display:block!important;min-height:0!important}
  .bm-imported-home-exact .bm-resource-query .wp-block-post-template>li:first-child .wp-block-post-featured-image{height:auto!important}
  .bm-imported-home-exact .bm-resource-query .wp-block-post-template>li:first-child .wp-block-post-featured-image img{height:auto!important;aspect-ratio:16/9!important}
  .bm-imported-home-exact .bm-cta-panel{padding-left:20px!important;padding-right:20px!important;min-height:340px!important;background-position:65% center!important}
}

/* ==========================================================
   PAGE TEMPLATE SAFETY — v2.2.0
   Pages/landings that bring their own hero must never inherit
   the generic bm-page-hero from templates/page.html.
   ========================================================== */
body:has(.bm-home-standalone) .bm-page-hero,
body:has(.bm-imported-home-exact) .bm-page-hero,
body:has(.bm-landing-page) .bm-page-hero,
body:has(.bm-event-landing) .bm-page-hero,
body:has(.bm-no-auto-page-hero) .bm-page-hero{
  display:none!important;
}

body:has(.bm-home-standalone) .bm-content,
body:has(.bm-imported-home-exact) .bm-content,
body:has(.bm-landing-page) .bm-content,
body:has(.bm-event-landing) .bm-content,
body:has(.bm-no-auto-page-hero) .bm-content{
  padding-top:0!important;
  padding-bottom:0!important;
}

body:has(.bm-home-standalone) .bm-content > .wp-block-post-content,
body:has(.bm-imported-home-exact) .bm-content > .wp-block-post-content,
body:has(.bm-landing-page) .bm-content > .wp-block-post-content,
body:has(.bm-event-landing) .bm-content > .wp-block-post-content,
body:has(.bm-no-auto-page-hero) .bm-content > .wp-block-post-content{
  max-width:none!important;
  margin:0!important;
  padding:0!important;
}

/* Keep ordinary pages institutional, but avoid an excessively tall blank band. */
.bm-page-hero{
  padding-top:clamp(52px,6vw,84px);
  padding-bottom:clamp(42px,5vw,72px);
}

/* Full-width content templates control their own section widths. */
.page-template-fullwidth .wp-block-post-content,
.page-template-landing-event .wp-block-post-content,
.page-template-landing-clean .wp-block-post-content{
  margin-top:0!important;
  padding-top:0!important;
}
