/* Suburban Pistol League — simple, responsive, easy-to-edit static site */

:root{
  --bg-overlay: rgba(10, 14, 18, .70);
  --card: rgba(255, 255, 255, .92);
  --card-2: rgba(255, 255, 255, .86);
  --text: #101418;
  --muted: #4a5560;
  --accent: #c79a3a; /* warm brass */
  --accent-2: #1f6feb; /* calm blue */
  --danger: #b42318;
  --radius: 18px;
  --shadow: 0 12px 40px rgba(0,0,0,.22);
  --maxw: 1100px;
  --navh: 68px;
  --font: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
}

*{ box-sizing: border-box; }
html,body{ height: 100%; }
body{
  margin: 0;
  font-family: var(--font);
  color: white;
  line-height: 1.55;
  background: #0b0f14;
}

/* Floating / parallax-ish background */
.site-bg{
  --bg-y: 50%;

  position: fixed;
  inset: 0;
  z-index: -2;
  background-image: url("../assets/DSC02389.JPG");
  background-size: cover;
  background-position: 50% var(--bg-y);
  background-repeat: no-repeat;
  transform: scale(1.05);
  will-change: transform;
  filter: contrast(1.02) saturate(1.02);
}
.site-bg::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.65), rgba(0,0,0,.55));
}

/* Top nav */
.header{
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(10, 14, 18, .72);
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.nav{
  max-width: var(--maxw);
  margin: 0 auto;
  height: var(--navh);
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.brand{
  display:flex;
  align-items:center;
  gap: 12px;
  text-decoration:none;
  color: white;
  min-width: 220px;
}
.brand-mark{
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(199,154,58,.95), rgba(255,255,255,.18));
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
  display:grid;
  place-items:center;
  font-weight: 800;
  color: #0b0f14;
}
.brand-title{
  display:flex;
  flex-direction:column;
  line-height: 1.1;
}
.brand-title strong{ font-size: 15px; letter-spacing: .2px; }
.brand-title span{ font-size: 12px; color: rgba(255,255,255,.72); }

.nav-links{
  display:flex;
  align-items:center;
  gap: 6px;
}
.nav-links a{
  color: rgba(255,255,255,.92);
  text-decoration:none;
  font-size: 14px;
  padding: 10px 10px;
  border-radius: 12px;
  transition: background .15s ease, color .15s ease;
  white-space: nowrap;
}
.nav-links a:hover{
  background: rgba(255,255,255,.10);
}
.nav-links a.active{
  background: rgba(199,154,58,.18);
  outline: 1px solid rgba(199,154,58,.35);
}

/* Mobile menu */
.menu-btn{
  display:none;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  color: white;
  padding: 10px 12px;
  border-radius: 14px;
  cursor: pointer;
}
.menu-btn:focus{ outline: 2px solid rgba(31,111,235,.55); outline-offset: 2px; }

@media (max-width: 860px){
  .menu-btn{ display:inline-flex; align-items:center; gap: 10px; }
  .nav-links{
    position: absolute;
    top: var(--navh);
    left: 0;
    right: 0;
    padding: 12px 16px 18px;
    display: none;
    flex-direction: column;
    background: rgba(10,14,18,.86);
    border-bottom: 1px solid rgba(255,255,255,.12);
  }
  .nav-links.open{ display:flex; }
  .nav-links a{ width: 100%; padding: 12px 14px; }
}

/* Layout */
.main{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 22px 16px 48px;
}

.hero{
  margin-top: 14px;
  padding: 26px 22px;
  border-radius: var(--radius);
  background: var(--bg-overlay);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,.10);
}
.hero h1{
  margin: 0 0 6px;
  font-size: clamp(26px, 4vw, 40px);
  letter-spacing: .2px;
}
.hero p{
  margin: 8px 0 0;
  color: rgba(255,255,255,.86);
  max-width: 78ch;
}

.grid{
  margin-top: 18px;
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 16px;
}
@media (max-width: 980px){
  .grid{ grid-template-columns: 1fr; }
}

.card{
  background: var(--card);
  color: var(--text);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,.12);
  overflow:hidden;
}
.card .card-hd{
  padding: 16px 18px 0;
}
.card .card-hd h2{
  margin: 0;
  font-size: 18px;
}
.card .card-bd{
  padding: 14px 18px 18px;
}
.card p{ color: var(--muted); margin: 10px 0; }
.card ul{ color: var(--muted); margin: 10px 0 0; padding-left: 18px; }
.badge{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(199,154,58,.16);
  color: #6a4b00;
  font-weight: 650;
  font-size: 12px;
  border: 1px solid rgba(199,154,58,.28);
}
hr.sep{
  border: 0;
  border-top: 1px solid rgba(16,20,24,.10);
  margin: 14px 0;
}

.news{
  display:flex;
  flex-direction:column;
  gap: 10px;
}
.news-item{
  background: var(--card-2);
  border: 1px solid rgba(16,20,24,.08);
  border-radius: 14px;
  padding: 12px 12px;
}
.news-item .top{
  display:flex;
  justify-content:space-between;
  gap: 10px;
  align-items:flex-start;
}
.news-item strong{ font-size: 14px; color: #101418; }
.news-item small{ color: #6b7280; }
.news-item p{ margin: 6px 0 0; color: var(--muted); font-size: 14px; }

.button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  border-radius: 14px;
  padding: 10px 12px;
  border: 1px solid rgba(16,20,24,.12);
  background: white;
  color: #101418;
  text-decoration:none;
  font-weight: 650;
  cursor:pointer;
}
.button.primary{
  background: rgba(31,111,235,.10);
  border-color: rgba(31,111,235,.25);
  color: #0b3ea6;
}
.button:hover{ filter: brightness(.98); }

.footer{
  margin-top: 26px;
  padding: 18px 16px 28px;
  color: rgba(255,255,255,.75);
  font-size: 13px;
}
.footer .inner{
  max-width: var(--maxw);
  margin: 0 auto;
  display:flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items:center;
  justify-content: space-between;
  background: rgba(10,14,18,.62);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  padding: 14px 14px;
}
.footer a{ color: rgba(255,255,255,.86); }
.kbd{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 12px;
  background: rgba(255,255,255,.10);
  padding: 2px 6px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.12);
}

/* Page sections */
.page-title{
  margin: 18px 0 10px;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: var(--bg-overlay);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: var(--shadow);
}
.page-title h1{ margin: 0; font-size: 28px; }
.page-title p{ margin: 8px 0 0; color: rgba(255,255,255,.84); }

.embed{
  width: 100%;
  height: 720px;
  border: 0;
  border-radius: 14px;
  overflow:hidden;
  background: white;
}
@media (max-width: 640px){
  .embed{ height: 640px; }
}

/* ================================
   Gallery thumbnails (FIX SIZE)
   ================================ */

.gallery-grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.gallery-tile{
  display: block;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
  text-decoration: none;
}

.gallery-tile img{
  width: 100%;
  height: 180px;          /* 👈 THIS controls thumbnail height */
  object-fit: cover;      /* 👈 crops instead of stretching */
  display: block;
}

@media (max-width: 600px){
  .gallery-tile img{
    height: 160px;
  }
}


.photo{
  display:block;
  border-radius: 16px;
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(10,14,18,.55);
  box-shadow: 0 10px 30px rgba(0,0,0,.20);
}
.photo img{
  width: 100%;
  height: 220px;
  object-fit: cover;
  display:block;
  filter: saturate(1.03);
}
.photo .cap{
  padding: 10px 12px;
  color: rgba(255,255,255,.88);
  font-size: 13px;
}

/* Accessibility helpers */
.skip-link{
  position:absolute;
  left:-999px;
  top:auto;
  width:1px;
  height:1px;
  overflow:hidden;
}
.skip-link:focus{
  position:fixed;
  left: 16px;
  top: 12px;
  width:auto;
  height:auto;
  z-index: 999;
  background: white;
  color: #101418;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(16,20,24,.18);
}


.brand-logo{
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: contain;
  background: white;
  padding: 3px;
  box-shadow: 0 6px 20px rgba(0,0,0,.35);
}


.pill-new{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .2px;
  border-radius: 999px;
  background: rgba(31,111,235,.12);
  border: 1px solid rgba(31,111,235,.28);
  color: #0b3ea6;
  margin-left: 8px;
}

.news-item .top{
  align-items:center;
}
.news-item .top .left{
  display:flex;
  align-items:center;
  flex-wrap: wrap;
}


.table-wrap{
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 14px;
  border: 1px solid rgba(16,20,24,.10);
  background: white;
}
.spl-table{
  width: 100%;
  border-collapse: collapse;
  min-width: 560px; /* allows scroll on small screens */
  color: #101418;
}
.spl-table th, .spl-table td{
  padding: 10px 12px;
  border-bottom: 1px solid rgba(16,20,24,.08);
  text-align: left;
  vertical-align: top;
  font-size: 14px;
}
.spl-table th{
  background: rgba(16,20,24,.04);
  font-weight: 800;
  letter-spacing: .2px;
  font-size: 13px;
  color: #111827;
}
.spl-table tr:last-child td{ border-bottom: 0; }
.spl-table td.mono{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  letter-spacing: .2px;
}


/* Centered match schedule table */
.spl-table.centered th,
.spl-table.centered td{
  text-align: center;
}

.spl-table.centered td.mono{
  text-align: center;
}


@media (max-width: 820px){
  .hero > div{
    grid-template-columns: 1fr !important;
  }
}


/* Hide the small scoresheet box on very small screens */
@media (max-width: 420px){
  .spl-scoresheet-box{ display: none; }
}


/* Prevent wrapping of the scoresheet last-updated timestamp */
.spl-scoresheet-box [data-scoresheet-updated]{
  white-space: nowrap;
}


/* Responsive match schedule table (mobile-friendly stack) */
@media (max-width: 600px){
  .table-wrap{
    border: 0;
    background: transparent;
    overflow: visible;
  }
  .spl-table{
    min-width: 0;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
  }
  .spl-table thead{
    display: none;
  }
  .spl-table tbody,
  .spl-table tr,
  .spl-table td{
    display: block;
    width: 100%;
  }
  .spl-table tr{
    background: rgba(255,255,255,.94);
    border: 1px solid rgba(16,20,24,.10);
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(0,0,0,.10);
    overflow: hidden;
  }
  .spl-table td{
    border-bottom: 1px solid rgba(16,20,24,.08);
    text-align: left !important;
    padding: 10px 12px;
  }
  .spl-table td:last-child{
    border-bottom: 0;
  }
  .spl-table td::before{
    content: attr(data-label);
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .2px;
    color: #6b7280;
    margin-bottom: 4px;
    text-transform: uppercase;
  }
}


.footer-copy{
  opacity: .85;
  font-size: 12px;
  text-align: center;
  padding: 10px 0;
  color: #111827;
  white-space: nowrap;
}


/* Ensure the first Events info card has readable text */
.events-intro-card,
.events-intro-card *{
  color: #111827 !important;
}
.events-intro-card .muted{
  color: #374151 !important;
}


/* Events intro card: force readable text */
.events-intro-card,
.events-intro-card *{
  color: #111827 !important;
}
.events-intro-card .muted{
  color: #111827 !important;
}

/* Buffer line between League nights text and next card */
.spl-buffer{ height: 12px; }


/* Lightbox (gallery click-to-zoom) */
.lightbox{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}

.lightbox.open{ display: flex; }

.lightbox img{
  max-width: min(100%, 1200px);
  max-height: 90vh;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}

.lightbox-close{
  position: absolute;
  top: 14px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.15);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.lightbox-nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: none;
  background: rgba(255,255,255,.18);
  color: #fff;
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-nav:hover{
  background: rgba(255,255,255,.28);
}

.lightbox-nav.prev{ left: 16px; }
.lightbox-nav.next{ right: 16px; }

/* Hide arrows on very small screens (optional) */
@media (max-width: 480px){
  .lightbox-nav{
    width: 40px;
    height: 40px;
    font-size: 28px;
  }
}

/* Prevent “flashing cursor” / text selection on lightbox controls */
.lightbox,
.lightbox *{
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.lightbox button{
  outline: none;
}

.lightbox button:focus{
  outline: none;
}

/* Optional: keep focus visible for keyboard users without a flashing caret */
.lightbox button:focus-visible{
  outline: 2px solid rgba(255,255,255,.35);
  outline-offset: 2px;
}


.home-blurb p{
  margin-top: 0;
  margin-bottom: 12px;
}


/* Email CTA button on home */
.email-cta{
  margin: 40px 0 42px;
}


/* Subtle divider */
.subtle-divider{
  border: none;
  border-top: 1px solid rgba(0,0,0,.15);
  margin: 18px 0;
}

/* Button icon */
.button .icon{
  display:inline-flex;
  vertical-align:middle;
  margin-right:8px;
  opacity:.85;
}
.button .icon svg{ display:block; }


/* Breaking News: subtle fade-in */
.news-item{
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .55s ease, transform .55s ease;
}
.news-item.is-visible{
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce){
  .news-item{ transition: none; transform: none; }
}


/* About page: tighter paragraph spacing */
.page-about .card-bd p{
  margin-top: 0;
  margin-bottom: 10px;
}
.page-about .card-bd p + p{
  margin-top: 0;
}

/* Weather widget (Home page) */
.weather-wrap{
  margin-top: 18px;
}
.weather-today{
  position: relative;
  border-radius: 18px;
  padding: 16px 16px 12px;
  border: 1px solid rgba(0,0,0,.10);
  background: linear-gradient(180deg, rgba(17,24,39,.03), rgba(17,24,39,.01));
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
}
.weather-today::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius: 18px;
  pointer-events:none;
  background: radial-gradient(600px 120px at 15% 0%, rgba(185,28,28,.10), transparent 60%);
  opacity:.7;
}
.weather-left, .weather-right, .weather-meta, .weather-note{ position: relative; z-index: 1; }

.weather-left{
  display:flex;
  align-items:center;
  gap: 12px;
}
.weather-icon{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display:grid;
  place-items:center;
  background: rgba(0,0,0,.05);
  border: 1px solid rgba(0,0,0,.08);
}
.weather-icon svg{ width: 26px; height: 26px; }
.weather-title{
  font-weight: 950;
  color:#111827;
  letter-spacing: .2px;
}
.weather-sub{
  font-size: 12px;
  opacity:.82;
}

.weather-right{
  margin-top: 10px;
  display:flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.weather-temp{
  font-size: 34px;
  font-weight: 950;
  line-height: 1;
  color:#111827;
}
.weather-desc{
  font-size: 13px;
  opacity:.88;
  text-align:right;
}

.weather-meta{
  margin-top: 12px;
  display:flex;
  flex-wrap:wrap;
  gap: 8px;
}
.weather-pill{
  font-size: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.05);
  border: 1px solid rgba(0,0,0,.08);
  color:#111827;
}

.weather-note{
  margin-top: 10px;
  font-size: 11px;
  opacity:.75;
}

/* Stack nicely on small screens */
@media (max-width: 520px){
  .weather-right{ flex-direction: column; align-items:flex-start; }
  .weather-desc{ text-align:left; }
}


/* About page: tighter spacing */
.page-about .card-bd p{
  margin-top: 0;
  margin-bottom: 10px;
}
.page-about .card-bd h2{
  margin-top: 16px;
}

/* Timeline (clean) */
.timeline{
  margin: 14px 0 18px;
  padding-left: 16px;
  border-left: 2px solid rgba(0,0,0,.14);
}
.tl-item{
  position: relative;
  padding: 10px 0 10px 14px;
}
.tl-item::before{
  content: "";
  position: absolute;
  left: -10px;
  top: 18px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #b91c1c;
  box-shadow: 0 0 0 4px rgba(185,28,28,.14);
}
.tl-date{
  font-weight: 950;
  font-size: 12px;
  letter-spacing: .28px;
  color: #111827;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.tl-body{
  color: #111827;
  font-size: 14px;
  line-height: 1.45;
}


/* Events page: no white text anywhere */
.events .card,
.events .card *,
.events-page .card,
.events-page .card *{
  color: #111827 !important;
}


/* Shared typography for Events + Scoresheet */
.page-events .card-bd, .page-scores .card-bd{
  font-size: 15px;
  line-height: 1.55;
}
.page-events .card-bd h2, .page-scores .card-bd h2{
  font-size: 18px;
  line-height: 1.25;
  margin-bottom: 10px;
}
.page-events .card-bd p, .page-scores .card-bd p{
  margin: 0 0 10px;
}
.page-events .muted, .page-scores .muted{
  font-size: 13px;
  opacity: .88;
}


.match-details li{
  display:flex;
  align-items:flex-start;
  gap: 10px;
}
.match-details .mi{
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: rgba(0,0,0,.05);
  border: 1px solid rgba(0,0,0,.08);
  display:grid;
  place-items:center;
  flex: 0 0 28px;
}
.match-details .mi svg{
  width: 18px;
  height: 18px;
  display:block;
}
.match-details .mt{
  display:block;
}

/* Calendar embed: tighter spacing on mobile */
@media (max-width: 520px){
  .embed{
    height: 560px;
    border-radius: 12px;
  }
  .card-bd{
    padding: 14px !important;
  }
}


/* Light polish: spacing + separators (low-risk) */
.card-bd{
  line-height: 1.6;
}
.card-bd h2{
  margin-bottom: 10px;
}
.card-bd p{
  margin: 0 0 12px;
}
.card-bd ul.bullets{
  margin: 8px 0 0;
}
.card-bd ul.bullets li{
  margin: 0 0 8px;
}

/* Subtle section divider */
.divider{
  height: 1px;
  margin: 14px 0 16px;
  background: rgba(0,0,0,.12);
}


/* Safety callout (site-wide) */
.safety-callout{
  margin: 18px 0;
  padding: 14px 16px;
  border-left: 5px solid #b91c1c;
  background: rgba(185,28,28,.10);
  color: #b91c1c;
  font-weight: 950;
  letter-spacing: .35px;
  text-align: center;
  border-radius: 14px;
  text-transform: uppercase;
}

.safety-callout, .safety-callout *{ color:#b91c1c !important; }

/* Meteomatics widget inside Breaking News */
.breaking-weather{
  margin-top: 10px;
}


/* Meteomatics widget placement */
.weather-spacer{ height: 14px; }
.breaking-weather.centered{
  display: flex;
  justify-content: center;
}
.breaking-weather.centered > div[data-meteomatics-weather-widget]{
  margin: 0 auto;
}

.footer-copy{ white-space: nowrap; }

/* Events: first card text uniform */
.page-events main .card:first-of-type .card-bd p{
  font-size: 15px;
}


/* Gallery categories */
.gallery-categories{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom:14px;
}
.gallery-cat{
  font-size:13px;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(0,0,0,.06);
  border:1px solid rgba(0,0,0,.12);
  font-weight:600;
}

.scoresheet-updated {
  font-size: 0.85rem;
  color: rgba(0,0,0,1);
}

#scoresheet-updated-home {
  font-weight: 500;
}

/* =========================================================
   .22 caliber bullet list — SVG only + auto-resize on mobile
   ========================================================= */

.bullet-22{
  list-style:none;
  padding-left:0;
  margin:14px 0;

  /* Desktop defaults */
  --b22-w: 42px;
  --b22-h: 14px;
  --b22-alpha: 0.70;
  --b22-gap: 14px; /* space between bullet and text */
}

.bullet-22 li{
  position:relative;
  padding-left: calc(var(--b22-w) + var(--b22-gap));
  margin-bottom: 12px;
  line-height: 1.55;
  background: transparent !important;
}

.bullet-22 li::before{
  content:"";
  position:absolute;
  left:0;

  /* Baseline-aligned */
  top: 0.30em;
  transform: none;

  width: var(--b22-w);
  height: var(--b22-h);

  pointer-events:none; /* hover-safe */
  opacity: var(--b22-alpha);

  background-image: url("../assets/bullet-22.svg");
  background-repeat:no-repeat;
  background-position:left center;
  background-size:contain;

  background-color: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* Auto-resize on tablets/smaller screens */
@media (max-width: 900px){
  .bullet-22{
    --b22-w: 38px;
    --b22-h: 13px;
    --b22-gap: 12px;
    --b22-alpha: 0.66;
  }
}

/* Auto-resize on mobile */
@media (max-width: 600px){
  .bullet-22{
    --b22-w: 32px;
    --b22-h: 12px;
    --b22-gap: 10px;
    --b22-alpha: 0.62;
  }

  .bullet-22 li{ margin-bottom: 10px; }
}

/* Tiny screens */
@media (max-width: 380px){
  .bullet-22{
    --b22-w: 28px;
    --b22-h: 11px;
    --b22-gap: 10px;
    --b22-alpha: 0.60;
  }
}

.gallery-section-title{
  margin: 6px 0 4px;
  font-size: 18px;
}

.gallery-section-sub{
  margin: 0 0 12px;
  color: rgba(16,20,24,0.75);
  font-size: 14px;
}

/* Home page only — mobile reorder:
   Scoresheet (unchanged) → Breaking News → Main content */
@media (max-width: 720px){
  body.home .grid{
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  body.home .grid > aside.card{
    order: 1; /* Breaking News */
  }

  body.home .grid > article.card{
    order: 2; /* Main content */
  }
}
