/*
 * bmcl.org site layer for kadence-child-en (Blue Mountain Community Library).
 * Mapped from the live "bl-" design (navy #2a4e6f / #21405d, tan #8e7f6b, Merriweather + Open Sans)
 * onto core-block class names ("bm-"). Loaded only when this file exists (functions.php).
 * No external requests: fonts are local (assets/fonts), icons are CSS masks with data: URIs.
 *   --bm-i-arrow:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
  --bm-i-phone:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1 1 .4 1.9.7 2.8a2 2 0 0 1-.5 2.1L8 9.9a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.8.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E");
  --bm-i-cal:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E");
  --bm-i-clip:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='4' width='14' height='18' rx='2'/%3E%3Cpath d='M9 4V2h6v2M9 11h6M9 15h6'/%3E%3C/svg%3E");
  --bm-i-check:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E");
  --bm-i-search:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M21 21l-4.3-4.3'/%3E%3C/svg%3E");
  --bm-i-grid:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7' rx='1'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1'/%3E%3C/svg%3E");
  --bm-i-gift:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='8' width='18' height='4'/%3E%3Crect x='5' y='12' width='14' height='9'/%3E%3Cpath d='M12 8v13M12 8S10 3 7.5 4 9 8 12 8zm0 0s2-5 4.5-4S15 8 12 8z'/%3E%3C/svg%3E");
  --bm-i-mail:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 7l9 6 9-6'/%3E%3C/svg%3E");
  --bm-i-info:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v5M12 8v.01'/%3E%3C/svg%3E");
  --bm-i-pin:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s-7-6.2-7-12a7 7 0 0 1 14 0c0 5.8-7 12-7 12z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E");
  --bm-i-clock:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");
  --bm-i-fb:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 8h3V4h-3a4 4 0 0 0-4 4v2H8v4h2v8h4v-8h3l1-4h-4V8z'/%3E%3C/svg%3E");
  --bm-i-chev:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  --bm-i-fb-white:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 8h3V4h-3a4 4 0 0 0-4 4v2H8v4h2v8h4v-8h3l1-4h-4V8z'/%3E%3C/svg%3E"); is replaced by theme/build_theme.py with the icon custom properties.
 */

/* ---------- fonts (local, swap, metric-matched fallbacks to stop reflow) ---------- */
@font-face{font-family:"Merriweather";font-style:normal;font-weight:400;font-display:swap;src:url("fonts/merriweather-latin-400.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:"Merriweather";font-style:normal;font-weight:700;font-display:swap;src:url("fonts/merriweather-latin-700.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:"Open Sans";font-style:normal;font-weight:400 700;font-display:swap;src:url("fonts/open-sans-latin-var.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}
/* Fallback metrics computed from the woff2 files vs Times New Roman / Arial (Liberation metrics). */
@font-face{font-family:"Merriweather Fallback";src:local("Times New Roman"),local("TimesNewRomanPSMT"),local("Liberation Serif");size-adjust:115.9%;ascent-override:84.9%;descent-override:23.6%;line-gap-override:0%}
@font-face{font-family:"Open Sans Fallback";src:local("Arial"),local("ArialMT"),local("Liberation Sans");size-adjust:105.7%;ascent-override:101.1%;descent-override:27.7%;line-gap-override:0%}

/* ---------- tokens ---------- */
:root{
  --bm-b:#2a4e6f;--bm-bd:#21405d;--bm-bl:#f1e9df;--bm-a:#8e7f6b;--bm-ah:#6f6354;--bm-al:#dfd7ce;
  --bm-k:#21405d;--bm-t:#4a453f;--bm-lg:#f7f3ee;--bm-line:#e5ddd3;
  --bm-hf:"Merriweather","Merriweather Fallback",Georgia,serif;
  --bm-bf:"Open Sans","Open Sans Fallback",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  --bm-hg:linear-gradient(100deg,rgba(33,64,93,.94) 0%,rgba(42,78,111,.8) 50%,rgba(142,127,107,.35) 100%),linear-gradient(0deg,rgba(33,64,93,.5),transparent 40%);
  --bm-cg:linear-gradient(110deg,rgba(42,78,111,.95),rgba(33,64,93,.92) 55%,rgba(142,127,107,.7));
  --bm-wrap:1240px;
  --bm-i-arrow:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
  --bm-i-phone:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1 1 .4 1.9.7 2.8a2 2 0 0 1-.5 2.1L8 9.9a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.8.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E");
  --bm-i-cal:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E");
  --bm-i-clip:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='4' width='14' height='18' rx='2'/%3E%3Cpath d='M9 4V2h6v2M9 11h6M9 15h6'/%3E%3C/svg%3E");
  --bm-i-check:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E");
  --bm-i-search:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M21 21l-4.3-4.3'/%3E%3C/svg%3E");
  --bm-i-grid:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7' rx='1'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1'/%3E%3C/svg%3E");
  --bm-i-gift:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='8' width='18' height='4'/%3E%3Crect x='5' y='12' width='14' height='9'/%3E%3Cpath d='M12 8v13M12 8S10 3 7.5 4 9 8 12 8zm0 0s2-5 4.5-4S15 8 12 8z'/%3E%3C/svg%3E");
  --bm-i-mail:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 7l9 6 9-6'/%3E%3C/svg%3E");
  --bm-i-info:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v5M12 8v.01'/%3E%3C/svg%3E");
  --bm-i-pin:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s-7-6.2-7-12a7 7 0 0 1 14 0c0 5.8-7 12-7 12z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E");
  --bm-i-clock:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");
  --bm-i-fb:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 8h3V4h-3a4 4 0 0 0-4 4v2H8v4h2v8h4v-8h3l1-4h-4V8z'/%3E%3C/svg%3E");
  --bm-i-chev:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  --bm-i-fb-white:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 8h3V4h-3a4 4 0 0 0-4 4v2H8v4h2v8h4v-8h3l1-4h-4V8z'/%3E%3C/svg%3E");
}

/* ---------- base ---------- */
body{font-family:var(--bm-bf);color:var(--bm-t);font-size:17px;line-height:1.65;-webkit-font-smoothing:antialiased}
body h1,body h2,body h3,body h4,body .bm-card-title{font-family:var(--bm-hf);color:var(--bm-k);line-height:1.12;letter-spacing:-.01em;font-weight:700;text-transform:none}
body .entry-content a:not(.wp-block-button__link){color:var(--bm-b)}
body .entry-content a:not(.wp-block-button__link):hover{color:var(--bm-bd)}
body :focus-visible{outline:3px solid var(--bm-a);outline-offset:3px}
.entry-content.single-content>.alignfull{margin-top:0;margin-bottom:0}
.entry-content .bm-sec p,.entry-content .bm-sec ul{margin-top:0}

/* ---------- layout ----------
 * Text measures are in em, converted from the live ch values with each font's own '0' width
 * (Merriweather 700: .662em, Open Sans: .5718em), so a font swap cannot change line widths. */
.bm-wrap{max-width:var(--bm-wrap);margin-left:auto;margin-right:auto;padding-left:24px;padding-right:24px;box-sizing:border-box}
.entry-content .bm-sec{padding:clamp(47px,6vw,80px) 0;margin:0}
.entry-content .bm-alt{background:var(--bm-lg)}
.bm-head{display:flex;flex-direction:column;align-items:flex-start;margin-bottom:46px}
.entry-content .bm-head>*{margin:0}
.entry-content .bm-h2{font-size:clamp(30px,4vw,48px);margin:0 0 .5em;max-width:13.24em}
.entry-content .bm-head .bm-h2{margin:0}
.entry-content .bm-center{text-align:center;margin-left:auto;margin-right:auto}
.entry-content .bm-h2.bm-center{max-width:none}
.bm-prose{max-width:42.3em}
.entry-content .bm-prose p{font-size:17.5px;margin:0 0 1em}
.entry-content .bm-lead{font-size:clamp(17px,1.5vw,19px);max-width:35.5em}
.entry-content .bm-mt{margin-top:28px}
.entry-content .bm-small{font-size:14px;margin-top:16px}
.entry-content .bm-cal-intro{font-size:20px;margin:0 0 6px}

/* eyebrow label */
.entry-content .bm-eye{display:inline-flex;align-items:center;gap:10px;font-family:var(--bm-bf);font-size:13px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--bm-b);margin:0 0 14px;line-height:1.4}
.entry-content .bm-eye::before{content:"";width:28px;height:2px;background:var(--bm-a);flex:none}
.bm-hero .bm-eye,.bm-ph .bm-eye,.bm-cta .bm-eye{color:var(--bm-al)!important}

/* ---------- buttons (core/button + class on the wrapper) ---------- */
.bm-ctas{display:flex;flex-wrap:wrap;gap:14px}
.bm-ctas-center{justify-content:center}
body .wp-block-button[class*="bm-btn-"] .wp-block-button__link{display:inline-flex;align-items:center;gap:10px;padding:15px 26px;border-radius:999px;font-family:var(--bm-bf);font-weight:700;font-size:16px;line-height:1.2;border:2px solid transparent;text-decoration:none;box-shadow:none;transition:transform .2s,background-color .2s,color .2s}
body .wp-block-button.bm-btn-a .wp-block-button__link{background:var(--bm-ah);color:#fff}
body .wp-block-button.bm-btn-a .wp-block-button__link:hover{background:#5a5044;color:#fff;transform:translateY(-2px)}
body .wp-block-button.bm-btn-b .wp-block-button__link{background:var(--bm-b);color:#fff}
body .wp-block-button.bm-btn-b .wp-block-button__link:hover{background:var(--bm-bd);color:#fff;transform:translateY(-2px)}
body .wp-block-button.bm-btn-w .wp-block-button__link{background:#fff;color:var(--bm-b)}
body .wp-block-button.bm-btn-w .wp-block-button__link:hover{background:#eef3fb;color:var(--bm-b);transform:translateY(-2px)}
body .wp-block-button.bm-btn-o .wp-block-button__link{background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.6);color:#fff}
body .wp-block-button.bm-btn-o .wp-block-button__link:hover{background:rgba(255,255,255,.18);color:#fff}
body .wp-block-button.bm-btn-ob .wp-block-button__link{background:transparent;border-color:var(--bm-b);color:var(--bm-b)}
body .wp-block-button.bm-btn-ob .wp-block-button__link:hover{background:var(--bm-b);color:#fff}
/* text-style card link (live .bl-more) */
.bm-more-row{margin-top:auto;padding-top:16px;justify-content:flex-start}
body .wp-block-button.bm-more .wp-block-button__link{background:none;padding:0;text-align:left;justify-content:flex-start;width:auto;border:0;border-radius:0;color:var(--bm-b);font-family:var(--bm-bf);font-weight:700;font-size:15px;display:inline-flex;align-items:center;gap:8px;box-shadow:none;text-decoration:none}
body .wp-block-button.bm-more .wp-block-button__link:hover{color:var(--bm-bd);text-decoration:underline}
/* button icons */
[class*="bm-ic-"].wp-block-button .wp-block-button__link::before,[class*="bm-ic-"].wp-block-button .wp-block-button__link::after{width:18px;height:18px;flex:none;background:currentColor;-webkit-mask:var(--bm-icon) center/contain no-repeat;mask:var(--bm-icon) center/contain no-repeat}
.wp-block-button.bm-ic-arrow .wp-block-button__link::after{content:"";--bm-icon:var(--bm-i-arrow);transition:transform .2s}
.wp-block-button.bm-ic-arrow .wp-block-button__link:hover::after{transform:translateX(4px)}
.wp-block-button.bm-ic-phone .wp-block-button__link::before{content:"";--bm-icon:var(--bm-i-phone)}
.wp-block-button.bm-ic-cal .wp-block-button__link::before{content:"";--bm-icon:var(--bm-i-cal)}
.wp-block-button.bm-ic-pin .wp-block-button__link::before{content:"";--bm-icon:var(--bm-i-pin)}

/* ---------- home hero (core/cover .bm-hero) ---------- */
.wp-block-cover.bm-hero{min-height:min(86vh,800px);padding:0;align-items:center;justify-content:flex-start;color:#fff}
.wp-block-cover.bm-hero .wp-block-cover__background,.wp-block-cover.bm-ph .wp-block-cover__background,.wp-block-cover.bm-cta .wp-block-cover__background{background-color:transparent!important;background-image:var(--bm-hg);opacity:1!important}
.wp-block-cover.bm-cta .wp-block-cover__background{background-image:var(--bm-cg)}
.wp-block-cover.bm-hero>.wp-block-cover__inner-container,.wp-block-cover.bm-ph>.wp-block-cover__inner-container{width:100%;max-width:var(--bm-wrap);margin:0 auto;padding-left:24px;padding-right:24px;box-sizing:border-box;color:#fff}
.wp-block-cover.bm-hero>.wp-block-cover__inner-container{padding-top:53px;padding-bottom:87px}
.entry-content .bm-hero h1{color:#fff;font-size:clamp(40px,6vw,78px);max-width:9.27em;margin:0 0 22px}
.bm-hero h1 em{font-style:normal;color:var(--bm-al)}
.entry-content .bm-hero-lead{font-size:clamp(17px,1.6vw,21px);max-width:30.9em;color:#e3ebf6;margin:0 0 32px}
.entry-content ul.bm-badges{display:flex;flex-wrap:wrap;gap:10px 22px;margin:38px 0 0;padding:0;list-style:none;font-size:15px;color:#e3ebf6}
.bm-badges li{display:inline-flex;gap:8px;align-items:center;margin:0}
.bm-badges li::before{content:"";width:18px;height:18px;flex:none;background:var(--bm-al);-webkit-mask:var(--bm-icon) center/contain no-repeat;mask:var(--bm-icon) center/contain no-repeat}

/* ---------- inner page banner (core/cover .bm-ph) ---------- */
.wp-block-cover.bm-ph{min-height:0;padding:clamp(53px,6.7vw,93px) 0 clamp(40px,4.7vw,67px);align-items:center;justify-content:flex-start;color:#fff}
.entry-content .bm-ph h1{color:#fff;font-size:clamp(36px,5.2vw,64px);margin:0 0 14px;max-width:13.24em}
.entry-content .bm-ph-lead{color:#e3ebf6;font-size:clamp(17px,1.5vw,20px);max-width:33.2em;margin:0}
.entry-content .bm-crumb{font-size:14px;color:#dde4ee;margin:0 0 16px}
.entry-content .bm-crumb a{color:#fff!important;text-decoration:underline;text-underline-offset:2px}

/* cover images: fill, no stretch, no shift (width/height come from the Media Library) */
.bm-hero .wp-block-cover__image-background,.bm-ph .wp-block-cover__image-background,.bm-cta .wp-block-cover__image-background{object-fit:cover;width:100%;height:100%}

/* ---------- split (home) ---------- */
.wp-block-columns.bm-split{display:grid;grid-template-columns:1.05fr 1fr;gap:clamp(36px,6vw,80px);align-items:center;margin:0}
.wp-block-columns.bm-split>.wp-block-column{margin:0;min-width:0}
.entry-content .bm-media{position:relative;border-radius:24px;overflow:hidden;aspect-ratio:4/3.4;margin:0;box-shadow:0 40px 80px -40px rgba(10,25,50,.55)}
.bm-media img{width:100%;height:100%;object-fit:cover;display:block}
.bm-media::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 55%,rgba(10,25,50,.5));pointer-events:none}
.bm-proc{margin-top:28px}
.entry-content .bm-proc h3{font-size:1.4rem;margin:0 0 10px}
.entry-content ul.bm-plain{list-style:none;margin:0 0 6px;padding:0}
.entry-content ul.bm-plain li{margin:0 0 8px}
.bm-split .bm-ctas{margin-top:22px}

/* ---------- icon cards (home, policies) ---------- */
.bm-cards,.bm-cards>.wp-block-group__inner-container{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.bm-cards>.wp-block-group__inner-container{grid-column:1/-1}
.entry-content .bm-cards .bm-card{margin:0}
.bm-card{position:relative;background:#fff;border:1px solid var(--bm-line);border-radius:22px;padding:30px;display:flex;flex-direction:column;transition:transform .25s,box-shadow .25s,border-color .25s}
.bm-card:hover{transform:translateY(-4px);box-shadow:0 24px 40px -24px rgba(10,25,50,.4);border-color:var(--bm-al)}
.bm-card::before{content:"";width:76px;height:76px;border-radius:20px;background:var(--bm-bl);margin-bottom:20px;flex:none}
.bm-card::after{content:"";position:absolute;top:51px;left:51px;width:34px;height:34px;background:var(--bm-b);-webkit-mask:var(--bm-icon) center/contain no-repeat;mask:var(--bm-icon) center/contain no-repeat}
.entry-content .bm-card h3,.entry-content .bm-card .bm-card-title{font-size:22px;margin:0 0 8px}
.entry-content .bm-card p{font-size:15.5px;margin:0}
.bm-ic-search{--bm-icon:var(--bm-i-search)}.bm-ic-grid{--bm-icon:var(--bm-i-grid)}.bm-ic-gift{--bm-icon:var(--bm-i-gift)}
.bm-ic-mail{--bm-icon:var(--bm-i-mail)}.bm-ic-cal{--bm-icon:var(--bm-i-cal)}.bm-ic-info{--bm-icon:var(--bm-i-info)}.bm-ic-clip{--bm-icon:var(--bm-i-clip)}
.entry-content .bm-related{margin-top:24px}

/* ---------- content cards / lists ---------- */
.bm-xgrid,.bm-xgrid>.wp-block-group__inner-container{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:22px}
.bm-xgrid>.wp-block-group__inner-container{grid-column:1/-1}
.entry-content .bm-xgrid .bm-xcard{margin:0}
.bm-xcard{background:#fff;border:1px solid var(--bm-line);border-top:4px solid var(--bm-a);border-radius:18px;padding:26px 26px 12px;box-shadow:0 24px 50px -34px rgba(10,25,50,.35)}
.entry-content .bm-xcard h3{font-size:20px;margin:0 0 .4em}
.entry-content .bm-xcard p{margin:0 0 1em}
.entry-content ul.bm-xlist{columns:3 220px;column-gap:32px;margin:0;padding:0;list-style:none}
.bm-xlist li{break-inside:avoid;padding:6px 0;border-bottom:1px solid var(--bm-line);margin:0}
.entry-content ul.bm-xul{margin:0 0 1em;padding-left:1.2em;list-style:disc}
.bm-xul li{margin:.35em 0}
.entry-content ul.bm-cols{columns:3 220px;column-gap:28px;list-style:none;margin:0;padding:0}
.bm-cols li{break-inside:avoid;display:flex;gap:10px;padding:7px 0;margin:0;border-bottom:1px dashed var(--bm-line);color:var(--bm-k);font-weight:500}
.bm-cols li::before,.bm-checks li::before{content:"";width:18px;height:18px;margin-top:4px;flex:none;background:var(--bm-a);-webkit-mask:var(--bm-i-check) center/contain no-repeat;mask:var(--bm-i-check) center/contain no-repeat}
.entry-content ul.bm-checks{list-style:none;margin:0 0 1em;padding:0}
.bm-checks li{display:flex;gap:10px;margin:0 0 8px}
.bm-stack{margin-top:34px}
.bm-hrs{margin:0 0 1em}
.entry-content .bm-hrs table{width:100%;max-width:560px;border-collapse:collapse;table-layout:auto}
.entry-content .bm-hrs td{padding:10px 14px;border:0;border-bottom:1px solid var(--bm-line)}
.entry-content .bm-hrs td:first-child{font-weight:700;color:var(--bm-k);width:40%}
.entry-content .bm-quote{border:0;margin:0 auto;padding:0;max-width:820px;text-align:center}
.entry-content .bm-quote p{font-family:var(--bm-hf);font-size:clamp(20px,2.4vw,28px);color:var(--bm-k);line-height:1.4;margin:0}
.entry-content .bm-quote cite{display:block;font-size:16px;font-style:normal;margin-top:14px;color:var(--bm-ah)}
.entry-content .bm-archive{margin-top:18px;font-size:15.5px}
.entry-content .bm-prose h3{font-size:24px;margin:1.4em 0 .5em}
.entry-content .bm-prose h4{font-size:19px;margin:1.2em 0 .4em}
.entry-content .bm-prose .bm-h2{margin-bottom:.6em}

/* ---------- FAQs (core/details) ---------- */
.entry-content .bm-faq .bm-q{background:#fff;border:1px solid var(--bm-line);border-radius:18px;margin:0 0 12px;transition:box-shadow .2s,border-color .2s}
.entry-content .bm-faq .bm-q+.bm-q{margin-top:0}
.bm-faq .bm-q[open]{box-shadow:0 20px 40px -28px rgba(10,25,50,.45);border-color:var(--bm-al)}
.bm-faq .bm-q summary{cursor:pointer;list-style:none;padding:22px 26px;border-bottom:0;min-height:0;font-family:var(--bm-hf);font-weight:700;font-size:19px;color:var(--bm-k);display:flex;justify-content:space-between;gap:16px;align-items:center}
.bm-faq .bm-q summary::-webkit-details-marker{display:none}
.bm-faq .bm-q summary::after{content:"";width:22px;height:22px;flex:none;background:var(--bm-b);-webkit-mask:var(--bm-i-chev) center/contain no-repeat;mask:var(--bm-i-chev) center/contain no-repeat;transition:transform .2s}
.bm-faq .bm-q[open] summary::after{transform:rotate(180deg)}
.entry-content .bm-faq .bm-q>p{padding:0 26px 22px;margin:0}

/* ---------- contact ---------- */
.wp-block-columns.bm-ct{display:grid;grid-template-columns:.9fr 1.1fr;gap:clamp(30px,5vw,64px);align-items:start;margin:0}
.wp-block-columns.bm-ct>.wp-block-column{margin:0;min-width:0}
.entry-content ul.bm-info{list-style:none;margin:0;padding:0}
.bm-info li{position:relative;padding:20px 0 20px 64px;margin:0;border-bottom:1px solid var(--bm-line);min-height:48px}
.bm-info li::before{content:"";position:absolute;left:0;top:20px;width:48px;height:48px;border-radius:14px;background:var(--bm-bl)}
.bm-info li::after{content:"";position:absolute;left:12px;top:32px;width:24px;height:24px;background:var(--bm-b);-webkit-mask:var(--bm-icon) center/contain no-repeat;mask:var(--bm-icon) center/contain no-repeat}
.bm-info strong{display:block;color:var(--bm-k);font-size:17px}
.entry-content .bm-info a{color:var(--bm-t)}
.entry-content .bm-info a:hover{color:var(--bm-b)}
.bm-i-pin{--bm-icon:var(--bm-i-pin)}.bm-i-phone{--bm-icon:var(--bm-i-phone)}.bm-i-mail{--bm-icon:var(--bm-i-mail)}.bm-i-clock{--bm-icon:var(--bm-i-clock)}.bm-i-fb{--bm-icon:var(--bm-i-fb)}.bm-i-clip{--bm-icon:var(--bm-i-clip)}.bm-i-check{--bm-icon:var(--bm-i-check)}
.bm-fcard{background:#fff;border-radius:24px;padding:clamp(26px,4vw,44px);box-shadow:0 30px 70px -35px rgba(10,25,50,.4);border:1px solid var(--bm-line);border-top:5px solid var(--bm-a);min-height:520px}
.entry-content .bm-fcard h3{font-size:26px;margin:0 0 .5em}
.bm-fcard .wpforms-container{margin:0}
.bm-fcard .wpforms-field input,.bm-fcard .wpforms-field textarea{max-width:100%;border:1px solid #cfd6e0;border-radius:10px;padding:12px 14px;font:inherit}
.bm-fcard .wpforms-submit-container button[type=submit],.bm-fcard .wpforms-submit{background:var(--bm-ah)!important;color:#fff!important;border:0!important;border-radius:999px!important;padding:14px 26px!important;font-weight:700;height:auto!important}
.entry-content .bm-map-sec{padding-top:0}

/* ---------- membership CTA band ---------- */
.entry-content .bm-ctasec{padding:clamp(47px,6vw,80px) 0;margin:0}
.wp-block-cover.bm-cta{border-radius:28px;overflow:hidden;min-height:0;padding:clamp(44px,6vw,80px);color:#fff}
.wp-block-cover.bm-cta>.wp-block-cover__inner-container{display:grid;grid-template-columns:1.4fr auto;gap:30px;align-items:center;width:100%;color:#fff}
.entry-content .bm-cta h2{color:#fff;font-size:clamp(30px,4vw,50px);margin:0 0 12px}
.entry-content .bm-cta-text p:not(.bm-eye){color:#e3ebf6;margin:0;max-width:32em}
.bm-cta .bm-cta-btns{justify-content:flex-end;margin:0}

/* ---------- Kadence header (builder items; no page markup) ---------- */
.site-top-header-wrap .site-header-row-container-inner{background:var(--bm-bd)}
.site-top-header-wrap,.site-top-header-wrap .header-html{color:#d5deec;font-size:14px}
.site-top-header-wrap a{color:#fff}
.bm-top{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}
.bm-top span{display:inline-flex;gap:8px;align-items:center}
.bm-top span::before{content:"";width:16px;height:16px;flex:none;background:var(--bm-al);-webkit-mask:var(--bm-icon) center/contain no-repeat;mask:var(--bm-icon) center/contain no-repeat}
.bm-top-district{--bm-icon:var(--bm-i-clip)}.bm-top-hours{--bm-icon:var(--bm-i-clock)}
.main-navigation .primary-menu-container>ul>li.menu-item>a{font-family:var(--bm-bf);font-weight:600;font-size:15.5px;color:var(--bm-k);border-radius:999px}
.main-navigation .primary-menu-container>ul>li.menu-item>a:hover,.main-navigation .primary-menu-container>ul>li.current-menu-item>a{color:var(--bm-b);background:var(--bm-bl)}
.header-navigation .header-menu-container ul ul.sub-menu{background:#fff;border:1px solid var(--bm-line);border-radius:16px;padding:8px;box-shadow:0 24px 40px -20px rgba(10,25,50,.35)}
.header-navigation .header-menu-container ul ul li.menu-item>a{color:var(--bm-k);border-radius:10px}
.header-navigation .header-menu-container ul ul li.menu-item>a:hover{background:var(--bm-bl);color:var(--bm-b)}
/* phone link = secondary menu item with CSS class "bm-nav-phone"; Become a Member = Kadence header Button */
.secondary-navigation .menu-item.bm-nav-phone>a{display:inline-flex;align-items:center;gap:8px;border:2px solid var(--bm-b);border-radius:999px;padding:10px 18px;color:var(--bm-b);font-weight:700;font-size:15px;line-height:1.2}
.secondary-navigation .menu-item.bm-nav-phone>a::before{content:"";width:18px;height:18px;background:currentColor;-webkit-mask:var(--bm-i-phone) center/contain no-repeat;mask:var(--bm-i-phone) center/contain no-repeat}
.secondary-navigation .menu-item.bm-nav-phone>a:hover{background:var(--bm-b);color:#fff}
.header-button-wrap .header-button{border-radius:999px;background:var(--bm-ah);color:#fff;font-weight:700;font-family:var(--bm-bf)}
.header-button-wrap .header-button:hover{background:#5a5044;color:#fff}

/* ---------- Kadence footer (Footer Widget 1-4 + bottom row) ---------- */
#colophon .site-footer-row-container-inner{background:var(--bm-bd);color:#c9d2df}
#colophon{font-size:15px}
#colophon a{color:#dde4ee}
/* en-motion.css (shared layer) sets Hager colors on footer/top-bar link hover and focus; re-point them to bmcl. */
.site-footer a:hover,.site-footer a:focus-visible,#colophon a:hover,#colophon a:focus-visible,.site-top-footer-wrap a:hover,.site-top-footer-wrap a:focus-visible,.site-middle-footer-wrap a:hover,.site-middle-footer-wrap a:focus-visible,.site-bottom-footer-wrap a:hover,.site-bottom-footer-wrap a:focus-visible,footer a:hover,footer a:focus-visible{color:var(--bm-al)}
.site-top-header-wrap a:hover,.site-top-header-wrap a:focus-visible,#top-bar a:hover,#top-bar a:focus-visible,.top-bar a:hover,.top-bar a:focus-visible{color:var(--bm-al)}
#colophon :focus-visible,.site-top-header-wrap :focus-visible,.bm-hero :focus-visible,.bm-ph :focus-visible,.bm-cta :focus-visible{outline-color:#fff}
#colophon .bm-ft-h{color:#fff;font-family:var(--bm-bf);font-size:14px;letter-spacing:.14em;text-transform:uppercase;margin:0 0 18px}
#colophon ul.bm-ft-list{list-style:none;margin:0;padding:0}
#colophon .bm-ft-list li{margin:0 0 10px}
#colophon .bm-flogo{margin:0 0 18px}
#colophon .bm-flogo img{height:56px;width:auto}
#colophon .bm-soc a{display:inline-flex;align-items:center;text-decoration:none;font-size:0;line-height:0;width:42px;height:42px;border-radius:50%}
#colophon .bm-soc a::before{content:"";width:42px;height:42px;border-radius:50%;flex:none;background:rgba(255,255,255,.08) var(--bm-i-fb-white) center/20px 20px no-repeat}
#colophon .bm-soc a:hover::before{background-color:var(--bm-a)}
#colophon .bm-copy,#colophon .bm-copy>.wp-block-group__inner-container{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;font-size:14px;border-top:1px solid rgba(255,255,255,.1);padding:22px 0}
#colophon .bm-copy p{margin:0}
#colophon .bm-copy>.wp-block-group__inner-container{flex:1 1 100%;width:100%}

/* ---------- responsive ---------- */
@media (max-width:1080px){
  .bm-cards,.bm-cards>.wp-block-group__inner-container{grid-template-columns:1fr 1fr}
}
@media (max-width:960px){
  .wp-block-columns.bm-split,.wp-block-columns.bm-ct{grid-template-columns:1fr}
  .wp-block-cover.bm-cta>.wp-block-cover__inner-container{grid-template-columns:1fr}
  .bm-cta .bm-cta-btns{justify-content:flex-start}
}
@media (max-width:640px){
  .wp-block-cover.bm-hero{min-height:auto}
  .wp-block-cover.bm-hero>.wp-block-cover__inner-container{padding-top:43px;padding-bottom:73px}
  .bm-cards,.bm-cards>.wp-block-group__inner-container{grid-template-columns:1fr;gap:14px}
  .bm-card{padding:22px 22px 22px 98px;min-height:104px}
  .bm-card::before{position:absolute;left:22px;top:22px;width:60px;height:60px;margin:0}
  .bm-card::after{top:37px;left:37px;width:30px;height:30px}
  .entry-content .bm-card h3,.entry-content .bm-card .bm-card-title{font-size:19px;margin-bottom:4px}
  .bm-faq .bm-q summary{padding:18px 20px;font-size:17px}
  .entry-content .bm-faq .bm-q>p{padding:0 20px 18px}
  .bm-fcard{min-height:560px}
}

/* ---------- motion ---------- */
@media (prefers-reduced-motion:reduce){
  .bm-card,.bm-card:hover,body .wp-block-button .wp-block-button__link,.bm-faq .bm-q summary::after{transition:none!important;transform:none!important}
}

/* Top bar: Kadence puts a lone HTML item in a shrink-to-fit center slot; let it span the row so the district and email sit left and right. */
.site-top-header-wrap .site-header-top-section-center .site-header-item,
.site-top-header-wrap .site-header-top-section-center .header-html,
.site-top-header-wrap .site-header-top-section-center .header-html-inner{flex:1 1 auto;width:100%}

/* SOGO accessibility button is fixed top-right: keep the mobile header clear of it (QA 3 Dec). */
@media (max-width:1024px){
  #mobile-header .site-main-header-inner-wrap{padding-right:52px}
}
@media (max-width:640px){
  #mobile-header .mobile-header-button-wrap .mobile-header-button{white-space:nowrap;font-size:14px;line-height:1.2;padding:10px 14px;min-height:0}
}

/* Footer text link must be distinguishable without color alone (link-in-text-block). */
#colophon .bm-copy-l a{text-decoration:underline;text-underline-offset:2px}
