
/* Scouts Homepage Blocks - frontend */
.shb-breakout {
  position: relative;
  left: 50%;
  right: 50%;
  width: 100vw;
  margin-left: -50vw;
  margin-right: -50vw;
}
.shb-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (max-width: 767px){
  .shb-container{ padding: 0 16px; }
}

.shb-hero {
  color: #fff;
  overflow: hidden;
  position: relative;
}
.shb-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
  padding: 56px 0;
}
@media (max-width: 1024px){
  .shb-hero-inner{ grid-template-columns: 1fr; padding: 40px 0; }
}
.shb-hero h1{ margin:0 0 16px 0; font-weight: 800; line-height:1; letter-spacing:-0.02em; }
.shb-hero p{ margin:0 0 20px 0; opacity:0.92; font-size: 18px; }
.shb-hero-actions{ display:flex; gap:14px; flex-wrap: wrap; }
.shb-btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding: 12px 22px; border-radius: 0;
  font-weight: 700; text-decoration:none; border: 2px solid rgba(255,255,255,0.28);
}
.shb-btn--primary{ background:#fff; color:#7413dc; border-color:#fff; }
.shb-btn--ghost{ background:transparent; color:#fff; }

.shb-hero-media{
  display:flex; justify-content:flex-end; gap: 18px;
}
.shb-hero-media img{ border-radius: 0; width: 180px; height: 320px; object-fit: cover; }
@media (max-width: 1024px){
  .shb-hero-media{ justify-content:flex-start; }
  .shb-hero-media img{ width: 140px; height: 240px; }
}
@media (max-width: 520px){
  .shb-hero-media{ gap: 12px; }
  .shb-hero-media img{ width: 110px; height: 200px; border-radius: 0; }
}
.shb-hero-corner{
  position:absolute; right: 0; bottom: 0;
  z-index: 0;
  transform-origin: 100% 100%;
  pointer-events:none;
}
.shb-hero-corner img{
  display:block;
  width: 520px;
  max-width: 60vw;
  height: auto;
  opacity: 0.22;
}
@media (max-width: 767px){
  .shb-hero-corner{ top: 8px; bottom: auto; right: -90px; }
  .shb-hero-corner img{ width: 520px; max-width: 120vw; opacity: 0.16; max-height: none; }
}

.shb-age-groups{
  padding: 28px 0 10px;
}
.shb-age-title{
  text-align:center;
  margin: 0 0 22px;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.shb-age-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 18px;
  justify-content:center;
}
@media (max-width: 560px){
  .shb-age-grid{ grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
}
.shb-age-card{
  background:#fff;
  border-radius: 0;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: none;
  padding: 18px 18px 16px;
  text-align:center;
  min-height: 184px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
  cursor:pointer;
}
.shb-age-card:hover{
  transform: translateY(-3px);
  box-shadow: none;
}
.shb-age-logo{
  height: var(--shb-logo-h, 62px);
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom: 10px;
}
.shb-age-logo img{
  max-height: 100%;
  max-width: var(--shb-logo-w, 96%);
  width:auto;
  height:auto;
}
.shb-age-name{ font-weight: 900; margin: 0; font-size: 20px; }
.shb-age-sub{ margin: 6px 0 0; font-weight: 800; opacity: 0.85; }

.shb-events{
  padding: 56px 0;
  color: #fff;
}
.shb-events .shb-events-header{
  text-align:center;
  margin-bottom: 26px;
}
.shb-events h2{ margin: 0 0 10px; font-weight: 900; letter-spacing:-0.02em; }
.shb-events .shb-events-sub{ margin:0; opacity: 0.9; }
.shb-card-grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 18px;
}
.shb-card-grid--3{ grid-template-columns: repeat(3, minmax(0,1fr)); }
@media (max-width: 1024px){ .shb-card-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px){ .shb-card-grid{ grid-template-columns: 1fr; } }
@media (max-width: 767px){
  .shb-latest-posts .shb-card-grid{ grid-template-columns: 1fr !important; }
}

.shb-card{
  background:#fff;
  color:#111;
  border-radius: 0;
  overflow:hidden;
  box-shadow: none;
  min-height: 320px;
  display:flex;
  flex-direction:column;
}
.shb-card--compact{ min-height: 260px; }
.shb-card-media{
  height: 150px;
  background: rgba(0,0,0,0.08);
}
.shb-card--compact .shb-card-media{ height: 120px; }
.shb-card-media img{ width:100%; height:100%; object-fit:cover; display:block; }
.shb-card-body{ padding: 14px 16px 16px; display:flex; flex-direction:column; gap: 8px; }
.shb-card-title{ margin: 0; font-weight: 900; font-size: 18px; line-height:1.15; }
.shb-card-meta{ font-weight: 800; opacity: 0.8; font-size: 13px; }
.shb-card-excerpt{ margin: 0; font-size: 14px; opacity: 0.85; }
.shb-view-all{ text-align:center; margin-top: 22px; }
.shb-view-all a{ background:#fff; color:#7413dc; border-radius: 0; padding: 12px 22px; display:inline-block; font-weight: 800; text-decoration:none; }

/* Events list (single-column) */
.shb-events-list{padding:56px 0;}
.shb-events-list .shb-events-header{text-align:center;margin-bottom:24px;}
.shb-events-list h2{margin:0 0 10px;font-weight:900;letter-spacing:-0.02em;}
.shb-events-list .shb-events-sub{margin:0;opacity:0.8;}
.shb-events-list-wrap{display:flex;flex-direction:column;gap:12px;max-width:920px;margin:0 auto;}
.shb-events-list-row{display:grid;grid-template-columns:64px 170px 1fr;gap:0;align-items:stretch;background:var(--shb-rowbg,#fff);color:#111;border-radius:0;text-decoration:none;box-shadow:none;overflow:hidden;border:1px solid rgba(0,0,0,0.08);}
.shb-events-list-row:hover{transform:translateY(-1px);box-shadow:none;}
.shb-elist-date{padding:12px 10px;display:flex;flex-direction:column;justify-content:center;align-items:center;background:rgba(0,0,0,0.03);}
.shb-elist-mon{font-size:12px;font-weight:900;letter-spacing:0.06em;opacity:0.7;}
.shb-elist-day{font-size:22px;font-weight:900;line-height:1;}
.shb-elist-date{grid-column:1;grid-row:1;}
.shb-elist-thumb{grid-column:2;grid-row:1;}
.shb-elist-main{grid-column:3;grid-row:1;}

.shb-elist-thumb{height:100%;min-height:92px;}
.shb-elist-thumb img{width:100%;height:100%;object-fit:cover;display:block;}
.shb-elist-main{padding:12px 14px;display:flex;flex-direction:column;gap:6px;min-width:0;}
.shb-elist-time{font-weight:800;font-size:12px;opacity:0.7;}
.shb-elist-title{font-weight:900;font-size:18px;line-height:1.1;}
.shb-elist-loc{font-weight:800;font-size:13px;opacity:0.8;display:flex;align-items:center;gap:8px;}
.shb-pin{display:inline-flex;width:16px;height:16px;opacity:0.7;}
.shb-pin:before{content:"";width:16px;height:16px;display:block;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 22s7-5.4 7-12a7 7 0 10-14 0c0 6.6 7 12 7 12zm0-9.5A2.5 2.5 0 1112 7a2.5 2.5 0 010 5.5z'/%3E%3C/svg%3E") no-repeat center/contain;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 22s7-5.4 7-12a7 7 0 10-14 0c0 6.6 7 12 7 12zm0-9.5A2.5 2.5 0 1112 7a2.5 2.5 0 010 5.5z'/%3E%3C/svg%3E") no-repeat center/contain;}
.shb-elist-excerpt{font-size:13px;opacity:0.78;line-height:1.35;}
.shb-events-empty{opacity:0.75;text-align:center;padding:18px;}
.shb-events-list .shb-events-footer{text-align:center;margin-top:16px;}
.shb-events-list .shb-link{display:inline-block;text-decoration:none;font-weight:900;padding:10px 16px;border-radius:0;border:1px solid rgba(0,0,0,0.12);background:#fff;color:#7413dc;}
@media (max-width: 767px){
  .shb-events-list-wrap{gap:10px;}
  .shb-events-list-row{grid-template-columns:56px 1fr;}
  .shb-elist-thumb{display:none;}
  .shb-elist-main{padding:12px 12px;}
  .shb-elist-title{font-size:16px;}
}

.shb-finder{
  padding: 64px 0;
  color:#fff;
  position: relative;
}
.shb-finder h2{ text-align:center; margin:0 0 14px; font-weight: 900; letter-spacing:-0.02em; }
.shb-finder .shb-finder-wrap{
  max-width: 960px;
  margin: 0 auto;
}
.shb-finder label{
  display:block;
  font-weight: 800;
  margin: 18px 0 10px;
  font-size: 18px;
}
.shb-finder-form{
  display:flex;
  align-items: stretch;
  border-radius: 0;
  overflow:hidden;
  box-shadow: none;
}
.shb-finder-input{
  flex: 1;
  min-width: 0;
  border: none;
  padding: 18px 18px;
  font-size: 18px;
  outline: none;
}
.shb-finder-btn{
  width: 96px;
  border:none;
  background: #ff8a1f;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}
.shb-finder-btn svg{ width: 30px; height: 30px; }
@media (max-width: 560px){
  .shb-finder-form{ border-radius: 0; }
  .shb-finder-input{ padding: 16px 14px; font-size: 16px; }
  .shb-finder-btn{ width: 74px; }
}
.shb-finder-msg{ margin-top: 10px; font-size: 14px; opacity: 0.9; }
.shb-finder-locate{
  margin-top: 18px;
  text-align:center;
}
.shb-finder-locate a{
  color:#fff;
  font-weight: 900;
  text-decoration: underline;
}
.shb-finder-locate .shb-target{
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin-left: 10px;
  opacity: 0.95;
}
.shb-finder-locate svg{ width: 34px; height: 34px; }


/* WP Store Locator styling tweaks (used by Find your group) */
.wpsl-store-phone,
.wpsl-store-details .wpsl-store-phone,
.wpsl-contact-details .wpsl-store-phone,
.wpsl-contact-details span.wpsl-store-phone {
  display: none !important;
}

/* Ensure store images/thumbnails (if enabled) show nicely */
.wpsl-store-thumb,
.wpsl-store-thumb img,
.wpsl-store-logo,
.wpsl-store-logo img {
  display: block !important;
  max-width: 100% !important;
  height: auto !important;
}

.wpsl-store-thumb img,
.wpsl-store-logo img {
  border-radius: 0;
}


/* Store Locator contact prominence + CTA */
.shb-join-cta{
  display:flex;
  gap:18px;
  align-items:center;
  justify-content:space-between;
  padding: 18px 18px;
  border-radius: 0;
  background: rgba(116,19,220,0.08);
  border: 1px solid rgba(116,19,220,0.18);
  margin: 14px 0 18px 0;
}
.shb-join-cta-text{ max-width: 680px; }
.shb-join-cta-kicker{ font-weight: 800; color:#7413dc; font-size: 14px; letter-spacing: 0.02em; text-transform: uppercase; }
.shb-join-cta-title{ font-weight: 900; font-size: 22px; margin-top: 4px; color:#111; }
.shb-join-cta-sub{ margin-top: 6px; color: rgba(0,0,0,0.72); font-size: 15px; line-height: 1.35; }
.shb-join-cta-action a,
.shb-join-cta-action button,
.shb-join-cta-action input{
  border-radius: 0 !important;
  padding: 12px 18px !important;
  font-weight: 800 !important;
}
@media (max-width: 767px){
  .shb-join-cta{ flex-direction: column; align-items: flex-start; }
  .shb-join-cta-action{ width:100%; }
  .shb-join-cta-action a,
  .shb-join-cta-action button,
  .shb-join-cta-action input{ width: 100% !important; justify-content:center !important; }
}

/* Primary vs secondary contact cards */
.shb-primary-contact{
  border: 2px solid rgba(116,19,220,0.35) !important;
  box-shadow: none!important;
}
.shb-primary-contact .shb-card-title,
.shb-primary-contact h1,
.shb-primary-contact h2,
.shb-primary-contact h3,
.shb-primary-contact h4{
  font-size: 22px !important;
  font-weight: 900 !important;
}
.shb-secondary-contact{
  opacity: 0.92;
}


/* Events filter pills */
.shb-pill-row{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:12px;
  margin: 10px 0 24px;
}
.shb-pill{
  appearance:none;
  border: 2px solid rgba(255,255,255,0.85);
  background: transparent;
  color: #fff;
  padding: 8px 18px;
  border-radius: 0;
  font-weight: 800;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.shb-pill:hover{ transform: translateY(-1px); }
.shb-pill.is-active{
  background: #fff;
  color: #111;
  border-color: #fff;
}
.shb-is-hidden{ display:none !important; }


/* Events loading shimmer */
.shb-events.shb-loading .shb-events-grid{
  position: relative;
  pointer-events: none;
  filter: blur(.2px);
}
.shb-events.shb-loading .shb-events-grid:before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.55) 50%, rgba(255,255,255,0) 100%);
  transform: translateX(-100%);
  animation: shbShimmer 1.1s infinite;
}
@keyframes shbShimmer{
  100% { transform: translateX(100%); }
}


/* Featured activities strip */

.shb-featured-activities{ font-family: Nunito Sans, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; }
.shb-fa-row{ display:flex; width:100%; min-height: var(--shb-fa-height, 260px); }
.shb-fa-left{ width:320px; min-width:280px; color:#fff; display:flex; align-items:center; }
.shb-fa-left-inner{ padding:28px 24px; }
.shb-fa-left-title{ font-size:40px; line-height:1.05; margin:0 0 12px 0; font-weight:800; text-transform:none; }
.shb-fa-left-text{ opacity:.9; font-size:18px; line-height:1.4; margin-bottom:18px; max-width:22ch; }
.shb-fa-left-btn{ display:inline-block; color:#fff; font-weight:800; padding:14px 22px; border-radius:0; text-decoration:none; box-shadow:none; }
.shb-fa-items{ flex:1; display:flex; min-height: var(--shb-fa-height, 260px); }
.shb-fa-item{ position:relative; flex:1; min-width: var(--shb-fa-minw, 240px); background-size:cover; background-position:center; text-decoration:none; color:#fff; overflow:hidden; }
.shb-fa-item:focus{ outline:3px solid rgba(255,255,255,.8); outline-offset:-3px; }
.shb-fa-dim{ position:absolute; inset:0; background:rgba(0,0,0,var(--shb-fa-dark,.45)); transition:opacity .25s ease; }
.shb-fa-hoverlay{ position:absolute; inset:0; background: var(--shb-fa-hover, #c8102e); opacity:0; transition:opacity .25s ease; }
.shb-fa-inner{ position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:14px; padding:18px; text-align:center; }
.shb-fa-icon{ width: var(--shb-fa-iconsz, 88px); height:auto; max-width: 62%; filter: drop-shadow(0 6px 12px rgba(0,0,0,.25)); }
.shb-fa-label{ position:relative; display:block; font-size:34px; line-height:1.1; font-weight:500; }
.shb-fa-label-default, .shb-fa-label-hover{ display:block; transition: transform .28s ease, opacity .28s ease; }
.shb-fa-label-hover{ position:absolute; left:0; right:0; top:0; opacity:0; transform: translateY(14px); font-weight:500; }
.shb-fa-item:hover .shb-fa-hoverlay{ opacity:.72; }
.shb-fa-item:hover .shb-fa-label-default{ opacity:0; transform: translateY(-14px); }
.shb-fa-item:hover .shb-fa-label-hover{ opacity:1; transform: translateY(0); }
.shb-fa-item:hover .shb-fa-dim{ opacity:.15; }

@media (max-width: 1024px){
  .shb-fa-left-title{ font-size:34px; }
  .shb-fa-label{ font-size:28px; }
}
@media (max-width: 767px){
  .shb-fa-row{ flex-direction:column; }
  .shb-fa-left{ width:100%; min-width:0; }
  .shb-fa-items{ overflow-x:auto; -webkit-overflow-scrolling:touch; }
  .shb-fa-item{ flex:0 0 auto; width: 78vw; min-width: 78vw; }
  .shb-fa-left-inner{ padding:22px 18px; }
  .shb-fa-left-title{ font-size:32px; }
  .shb-fa-label{ font-size:26px; }
}


/* Events location line */
.shb-events .shb-card-loc{font-size:14px; line-height:1.2; opacity:.95; display:flex; align-items:center; gap:6px; margin-top:6px;}
.shb-events .shb-pin{display:inline-flex; width:16px; height:16px; align-items:center; justify-content:center; font-size:14px;}

.shb-events .shb-pill-row{position:relative; z-index:3;}


/* SHB icon fix: ensure Elementor SVG icons inherit color */
.shb-container svg { fill: currentColor; stroke: currentColor; }
.shb-container i { line-height: 1; }


/* Asset summary (minibus/trailer/van/other) */

.shb-asset-summary{font-family:'Nunito Sans',system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;background:#fff;border-radius:0;border:1px solid rgba(0,0,0,.10);box-shadow:none;padding:18px;max-width:1100px;margin:0 auto;}
.shb-asset-summary.is-compact{padding:16px;}
.shb-asset-location{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:0;border:1px solid rgba(0,0,0,.10);background:rgba(0,0,0,.02);font-weight:800;color:#0b0c0c;margin-bottom:10px;font-size:14px;}
.shb-asset-locicon{font-size:16px;line-height:1;color:rgba(0,0,0,.45);}
/* Headline: classy, not huge */
.shb-asset-title{font-size:clamp(26px, 3.2vw, 38px);line-height:1.12;margin:6px 0 12px 0;font-weight:900;letter-spacing:-.015em;color:#0b0c0c;}
.shb-asset-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;}
.shb-asset-badges{display:flex;gap:10px;flex-wrap:wrap;align-items:center;flex:1 1 auto;}
.shb-asset-badge{display:inline-flex;align-items:center;gap:8px;padding:9px 12px;border-radius:0;border:1px solid rgba(0,0,0,.12);background:#fff;color:#0b0c0c;font-weight:800;font-size:14px;}
.shb-asset-icon i{font-size:18px;line-height:1;}
.shb-asset-icon svg{width:18px;height:18px;}
.shb-asset-icon img{width:18px;height:18px;object-fit:contain;}
/* CTA: slimmer */
.shb-asset-ctaicon{font-size:16px;line-height:1;}
/* Highlight: subtle, less “obnoxious” */
.shb-asset-highlight{margin-top:12px;border-radius:0;border:1px solid rgba(16,80,58,.25);background:linear-gradient(90deg, rgba(162,233,191,.22) 0%, rgba(227,255,237,.28) 55%, rgba(255,255,255,1) 100%);padding:12px 12px;display:flex;gap:12px;align-items:flex-start;}
.shb-asset-highlight-iconwrap{width:38px;height:38px;border-radius:0;background:rgba(16,80,58,.10);display:flex;align-items:center;justify-content:center;flex:0 0 auto;}
.shb-asset-highlight-icon svg,.shb-asset-highlight-icon i,.shb-asset-highlight-icon img{width:18px;height:18px;font-size:18px;color:#0b0c0c;}
.shb-asset-highlight-title{font-weight:900;font-size:16px;line-height:1.2;margin-bottom:2px;color:#0b0c0c;}
.shb-asset-highlight-desc{font-size:14px;line-height:1.35;color:rgba(0,0,0,.70);font-weight:700;}
@media(max-width:1024px){}

.shb-asset-card{padding:24px!important;border-radius:0!important;}
.shb-asset-title{font-size:44px!important;line-height:1.05!important;}
@media(max-width:768px){.shb-asset-title{font-size:44px!important;}}
.shb-asset-pills{gap:10px!important;margin-top:14px!important;}
.shb-asset-pill{padding:10px 14px!important;font-size:18px!important;}
.shb-asset-highlight{margin-top:18px!important;padding:16px 18px!important;border-radius:0!important;}
.shb-asset-highlight-title{font-size:20px!important;}
.shb-asset-highlight-desc{font-size:16px!important;}

.shb-asset-cta.is-disabled{opacity:.7;cursor:not-allowed;box-shadow:none;}

/* Asset summary CTA */
.shb-asset-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:10px 16px;
  border-radius:0;
  background:#7413DC;
  color:#fff;
  text-decoration:none;
  font-weight:800;
  font-size:14px;
  line-height:1;
  box-shadow:none;
}
.shb-asset-cta:hover{filter:brightness(.97);}
.shb-asset-cta.is-disabled{opacity:.65;cursor:not-allowed;pointer-events:none;}
@media (max-width: 767px){
  .shb-asset-cta{width:100%;}
}

@media (max-width: 768px){.shb-events-list-row{grid-template-columns:56px 130px 1fr;} .shb-elist-title{font-size:20px;line-height:1.15;} .shb-elist-time{white-space:nowrap;}}


/* Programme suggestion card (Option A: match asset sizing) */
.shb-programme-card{
  background:#fff;
  border:1px solid rgba(0,0,0,0.08);
  box-shadow: none;
  padding: 16px 18px;
  max-width: 760px;
  border-radius: 0;
}
.shb-programme-top{ display:flex; justify-content: space-between; align-items:center; gap: 12px; margin-bottom: 10px; }
.shb-programme-loc{
  display:inline-flex; align-items:center; gap:8px;
  padding: 8px 12px;
  border-radius: 0;
  border:1px solid rgba(0,0,0,0.12);
  background: rgba(0,0,0,0.02);
  font-weight: 700;
  font-size: 14px;
}
.shb-programme-loc-ic svg, .shb-programme-loc-ic i{ width: 14px; height: 14px; font-size: 14px; display:block; opacity:0.75; }
.shb-programme-title{
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.12;
  margin: 6px 0 8px 0;
}
.shb-programme-excerpt{ margin: -2px 0 10px 0; color: rgba(0,0,0,0.72); font-size: 14px; }
.shb-programme-badges{ display:flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.shb-programme-badge{
  display:inline-flex; align-items:center; gap:8px;
  padding: 8px 10px;
  border-radius: 0;
  border:1px solid rgba(0,0,0,0.12);
  background: rgba(0,0,0,0.01);
  font-weight: 700;
  font-size: 13px;
}
.shb-programme-badge-ic svg, .shb-programme-badge-ic i{ width: 16px; height: 16px; font-size: 16px; display:block; opacity:0.8; }
.shb-programme-btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding: 10px 14px;
  border-radius: 0;
  background: #7413DC;
  color:#fff;
  font-weight: 800;
  text-decoration:none;
  width: fit-content;
  font-size: 14px;
  box-shadow: none;
}
.shb-programme-btn:hover{ filter: brightness(0.97); }
.shb-programme-btn-ic svg, .shb-programme-btn-ic i{ width: 16px; height: 16px; font-size: 16px; display:block; }

@media (max-width: 767px){
  .shb-programme-card{ padding: 14px 14px; }
  .shb-programme-title{ font-size: 24px; }
}


/* District resources strip (v1.4.2) */

.shb-district-resources{font-family:'Nunito Sans',system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif}
.shb-dr-grid{display:grid;grid-template-columns:1fr;gap:14px}
@media(min-width:900px){
  .shb-dr-grid{grid-template-columns:320px 1fr;align-items:stretch}
  .shb-district-resources .shb-dr-left{min-height:var(--shb-dr-tile-h)}
}
.shb-dr-left{border-radius:0;border:1px solid rgba(0,0,0,.10);background:#fff;box-shadow:none;padding:16px}
.shb-dr-kicker{font-weight:900;color:rgba(0,0,0,.60);font-size:13px;letter-spacing:.06em;text-transform:uppercase}
.shb-dr-title{margin-top:8px;font-weight:950;letter-spacing:-.02em;font-size:clamp(22px,2.2vw,32px);line-height:1.08;color:#111827}
.shb-dr-desc{margin-top:8px;font-weight:700;color:rgba(0,0,0,.65);font-size:14px;line-height:1.35}

.shb-dr-strip{display:flex;gap:12px;overflow:auto;scroll-snap-type:x mandatory;padding-bottom:4px}
.shb-dr-strip::-webkit-scrollbar{height:10px}
.shb-dr-strip::-webkit-scrollbar-thumb{background:rgba(0,0,0,.12);border-radius:0}
.shb-dr-tile{position:relative;flex:0 0 220px;height:var(--shb-dr-tile-h);border-radius:0;border:1px solid rgba(0,0,0,.10);background:#fff;box-shadow:none;padding:0;cursor:pointer;overflow:hidden;scroll-snap-align:start;outline:none}
.shb-dr-tile:focus-visible{outline:3px solid rgba(93,32,161,.35);outline-offset:3px}
.shb-dr-tilebg{position:absolute;inset:0;background-size:cover;background-position:center;filter:saturate(1.02)}
.shb-dr-tileoverlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.05) 0%, rgba(0,0,0,.45) 100%);transition:opacity .18s ease;opacity:.85}
.shb-dr-tilecontent{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:flex-end;gap:6px;padding:14px;color:#fff}
.shb-dr-tileicon{width:28px;height:28px;object-fit:contain;filter:drop-shadow(0 6px 14px rgba(0,0,0,.25))}
.shb-dr-tiletitle{font-weight:950;letter-spacing:-.01em;font-size:18px;line-height:1.15;text-shadow:0 8px 22px rgba(0,0,0,.30)}
.shb-dr-tilesub{font-weight:800;font-size:13px;opacity:.9}
.shb-dr-tile:hover .shb-dr-tileoverlay{opacity:.60}
.shb-dr-tile:hover{border-color:rgba(0,0,0,.20)}
.shb-dr-tile:hover .shb-dr-tilecontent{transform:translateY(-1px)}
.shb-dr-tile{transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease}
.shb-dr-tile:hover{transform:translateY(-1px);box-shadow:none}
.shb-dr-tile:before{content:"";position:absolute;inset:0;border-radius:inherit;box-shadow:none}
.shb-dr-tile:after{content:"";position:absolute;inset:auto 14px 14px 14px;height:3px;border-radius:0;background:var(--shb-dr-accent);opacity:.95}

.shb-dr-panel{background:#fff;border-radius:0;border:1px solid rgba(0,0,0,.12);box-shadow:none;max-width:960px;width:min(960px, calc(100vw - 24px));}
.shb-dr-panelhead{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:14px 14px 10px 14px;border-bottom:1px solid rgba(0,0,0,.08)}
.shb-dr-paneltitle{font-weight:950;letter-spacing:-.02em;font-size:22px;line-height:1.1;color:#111827}
.shb-dr-panelsub{margin-top:4px;font-weight:800;font-size:13px;color:rgba(0,0,0,.60)}
.shb-dr-close{border:0;background:rgba(0,0,0,.06);width:36px;height:36px;border-radius:0;cursor:pointer;font-size:22px;line-height:1;color:#111827}
.shb-dr-close:hover{background:rgba(0,0,0,.10)}
.shb-dr-panelbody{padding:12px 14px 14px 14px;display:grid;gap:14px}
.shb-dr-section{border:1px solid rgba(0,0,0,.08);border-radius:0;padding:12px;background:rgba(0,0,0,.015)}
.shb-dr-sectiontitle{font-weight:950;font-size:14px;letter-spacing:.04em;text-transform:uppercase;color:rgba(0,0,0,.55);margin-bottom:8px}
.shb-dr-sectioncontent{font-weight:700;color:rgba(0,0,0,.75);font-size:14px;line-height:1.45}
.shb-dr-docs{display:grid;gap:10px}
.shb-dr-doc{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 12px;border-radius:0;border:1px solid rgba(0,0,0,.10);background:#fff;text-decoration:none;color:#111827;font-weight:900}
.shb-dr-doc:hover{border-color:rgba(0,0,0,.18);box-shadow:none}
.shb-dr-docarrow{opacity:.6}
.shb-dr-notes p{margin:0 0 10px 0}

/* District Resources: filter tabs */
.shb-dr-filtertabs{display:flex;gap:10px;justify-content:center;align-items:center;margin:0 0 14px 0;flex-wrap:wrap}
.shb-dr-filtertab{border:1px solid rgba(0,0,0,.14);background:#f3f4f6;color:#111827;font-weight:900;padding:10px 16px;border-radius:0;cursor:pointer;transition:transform .12s ease, background .12s ease, border-color .12s ease, box-shadow .12s ease}
.shb-dr-filtertab:hover{transform:translateY(-1px);box-shadow:none}
.shb-dr-filtertab.is-active{background:var(--shb-dr-tab-active-bg);color:var(--shb-dr-tab-active-text);border-color:rgba(0,0,0,.16)}

/* District Resources: detail view (accordion / lightbox) */
.shb-dr-detail{display:flex;flex-direction:column;gap:14px}
.shb-dr-hero{position:relative;border-radius:0;overflow:hidden;min-height:220px;background:#111827;background-size:cover;background-position:center}
.shb-dr-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.60) 100%)}
.shb-dr-hero-inner{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:flex-end;gap:8px;padding:16px;color:#fff}
.shb-dr-hero-title{font-weight:950;letter-spacing:-.02em;font-size:22px;line-height:1.15;text-shadow:0 10px 24px rgba(0,0,0,.35)}
.shb-dr-hero-sub{font-weight:800;font-size:14px;opacity:.92}
.shb-dr-hero-cta{display:inline-flex;align-items:center;gap:8px;align-self:flex-start;padding:10px 14px;border-radius:0;background:#c8102e;color:#fff;text-decoration:none;font-weight:950;box-shadow:none}
.shb-dr-hero-cta:hover{filter:brightness(.98);transform:translateY(-1px)}

.shb-dr-tabs{display:flex;gap:10px;flex-wrap:wrap}
.shb-dr-tab{border:1px solid rgba(0,0,0,.14);background:#fff;color:#111827;font-weight:900;padding:10px 14px;border-radius:0;cursor:pointer}
.shb-dr-tab.is-active{background:#111827;color:#fff;border-color:rgba(0,0,0,.18)}

.shb-dr-panes{display:grid;gap:12px}
.shb-dr-pane{display:none}
.shb-dr-pane.is-active{display:block}

.shb-dr-bookgrid{display:grid;gap:12px}
@media(min-width:900px){
  .shb-dr-bookgrid{grid-template-columns:1.6fr .9fr;align-items:start}
}
.shb-dr-card{border:1px solid rgba(0,0,0,.10);border-radius:0;background:#fff;box-shadow:none;padding:14px}
.shb-dr-card h4{margin:0 0 10px 0;font-weight:950;font-size:15px;letter-spacing:-.01em;color:#111827}
.shb-dr-card .shb-dr-cardsub{font-weight:800;color:rgba(0,0,0,.60);font-size:13px;margin-top:-6px;margin-bottom:10px}
.shb-dr-embed{border-radius:0;overflow:hidden}

.shb-dr-notes p:last-child{margin-bottom:0}

.shb-dr-modalwrap{position:fixed;inset:0;display:none;align-items:center;justify-content:center;z-index:9999;padding:12px}
.shb-dr-modalwrap.is-open{display:flex}
.shb-dr-modalwrap.dim{background:rgba(0,0,0,.45)}
.shb-dr-modalwrap.float{background:transparent;pointer-events:none}
.shb-dr-modalwrap.float .shb-dr-panel{pointer-events:auto}

@media(max-width:720px){
  .shb-dr-panel{border-radius:0}
  .shb-district-resources[data-mobile-modal="sheet"] .shb-dr-modalwrap.is-open{align-items:flex-end}
  .shb-district-resources[data-mobile-modal="sheet"] .shb-dr-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;width:100vw;max-width:100vw}
}

/* Accordion host */
.shb-dr-accordionhost{margin-top:12px}
.shb-dr-accordionhost .shb-dr-panel{width:100%;max-width:none;box-shadow:none}

/* Toolkit: consistent square geometry, including saved Elementor radius settings. */
.shb-hero,.shb-programme-card,.shb-dr-left,.shb-dr-tile {border-radius:0!important;}
[class*="elementor-widget-shb_"] {font-family:"Nunito Sans",Arial,sans-serif;}
[class*="elementor-widget-shb_"] :focus-visible,.scouts-tile:focus-visible {outline:3px solid #006ddf;outline-offset:3px;}

/* Toolkit 2.1 — editorial, square-edged Scouts layouts. */
.elementor [class*="elementor-widget-shb_"] :is(.shb-card,.shb-card-media,.shb-card-media img,.shb-btn,.shb-pill,.shb-age-card,.shb-hero-media img,.shb-fa-item,.shb-dr-tile) {border-radius:0!important;box-shadow:none!important;}
.shb-hero .shb-container {max-width:1440px;}
.shb-hero-inner {grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:clamp(28px,5vw,84px);padding:80px 0;}
.shb-hero-copy h1 {font-size:clamp(38px,4.4vw,68px);line-height:1.04;letter-spacing:-.035em;max-width:14ch;}
.shb-hero-copy p {font-size:clamp(18px,1.6vw,24px);line-height:1.5;max-width:36ch;}
.shb-hero-actions .shb-btn {padding:15px 25px;border-radius:0!important;}
.shb-hero-media {display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:12px;align-items:center;padding:24px 0;}
.shb-hero-media img {width:100%;height:clamp(220px,29vw,420px);object-fit:cover;}
.shb-hero-media img:nth-child(1) {transform:translateY(-24px);}
.shb-hero-media img:nth-child(2) {transform:translateY(24px);}
.shb-hero-media img:nth-child(3) {transform:translateY(-12px);}
.shb-events {padding:clamp(40px,5vw,80px) 0;}
.shb-events .shb-events-header {text-align:left;margin-bottom:26px;}
.shb-events .shb-events-header h2 {color:inherit;font-size:clamp(32px,3.4vw,48px);line-height:1.1;}
.shb-events .shb-events-sub {color:inherit;opacity:1;font-size:18px;}
.shb-events .shb-pill-row {justify-content:flex-start;gap:8px;}
.shb-events .shb-pill {color:inherit;border:2px solid currentColor;padding:12px 18px;line-height:1.2;}
.shb-events .shb-pill.is-active,.shb-events .shb-pill:hover {background:#111;color:#fff;border-color:#111;transform:none;}
.shb-events .shb-card-grid {gap:24px;align-items:stretch;}
.shb-events .shb-card-grid > a {display:flex;min-width:0;color:#111;text-decoration:none!important;}
.shb-events .shb-card {width:100%;min-height:0;background:#fff;color:#111;box-shadow:none!important;border:0;border-radius:0!important;}
.shb-events .shb-card-media {height:auto;aspect-ratio:16/10;background:#eee;overflow:hidden;border-bottom:5px solid #7413dc;}
.shb-events .shb-card-media img {height:100%;width:100%;object-fit:cover;transition:transform .25s ease;}
.shb-events .shb-card-media:not(:has(img)) {background:linear-gradient(135deg,#eee 0 65%,#e2d5f5 65% 100%);}
.shb-events .shb-card-body {flex:1;padding:22px;gap:12px;}
.shb-events .shb-card-title {font-size:clamp(20px,1.65vw,26px);line-height:1.2;color:#111;}
.shb-events .shb-card-meta {font-size:15px;color:#444;opacity:1;line-height:1.45;}
.shb-events .shb-card-excerpt {font-size:16px;line-height:1.5;color:#333;opacity:1;}
.shb-card-cta {display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:auto;padding-top:12px;font-weight:800;color:#7413dc;font-size:16px;}
.shb-card-cta span {font-size:28px;line-height:1;}
.shb-events .shb-card-grid > a:hover .shb-card-title,.shb-events .shb-card-grid > a:hover .shb-card-cta {text-decoration:underline;text-underline-offset:3px;}
.shb-events .shb-card-grid > a:hover img {transform:scale(1.035);}
.shb-events .shb-card-grid > a:has(.shb-is-hidden) {display:none!important;}
.shb-events .shb-view-all {text-align:left;margin-top:30px;}
.shb-events .shb-view-all a {border:2px solid #111;background:#111;color:#fff;padding:14px 24px;}
.shb-age-card {border-top:5px solid #7413dc;padding:24px 16px;}
.shb-age-card:hover {background:#f4edfc;transform:none;}
@media(min-width:1025px){.shb-latest-posts .shb-card-grid--3 {grid-template-columns:1.25fr 1fr 1fr;}}
@media(max-width:1024px){.shb-hero-inner {grid-template-columns:1fr;padding:48px 0;}.shb-hero-media img {height:clamp(150px,38vw,300px);}}
@media(max-width:560px){.shb-hero-inner {gap:12px;}.shb-hero-media {gap:8px;padding:16px 0;}.shb-hero-media img {height:170px;}.shb-hero-media img:nth-child(n) {transform:none;}.shb-events .shb-card-grid {gap:16px;}}
@media(prefers-reduced-motion:reduce){.shb-events .shb-card-media img {transition:none;}.shb-events .shb-card-grid > a:hover img {transform:none;}}
