/* =========================================================
   Whitewall Tyres — core styles (fixed header + diner BG)
   Last updated: 2025-09-13
   ========================================================= */

:root{
  --container-w: 1100px;
  --nav-h: 56px;
  --card-alpha: 0.68;   /* ← adjust 0.00 (transparent) … 1.00 (solid) */
  --nav-alpha:  0.75;   /* ← adjust nav bar transparency */
  /* Header geometry */
  --sign-h: 80px;            /* height of the red diner sign bar */
  --nav-h:  56px;             /* height of the nav bar */
  --header-total: calc(var(--sign-h) + var(--nav-h));

  /* Colours */
  --ink:#1F1F1F;
  --cherry:#D72638;
  --sign:#b1121b;
  --sign-edge:#ffb3b3;

  /* Surfaces */
  --card-bg: rgba(255,255,255,0.85);
  --shadow: 0 10px 30px rgba(0,0,0,.12);

  /* Layout */
  --container-w: 1100px;
  --pad: 20px;

 
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  color: var(--ink);
  font-family: 'Josefin Sans', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  /* Full-page diner background (fixed/parallax) */
  background: url('../img/background.png') no-repeat center top fixed;
  background-size: cover;

 
}
  /* use JS-measured header height; fallback if JS not run yet */
  padding-top: var(--header-total, 210px);

  color: var(--ink);
  font-family: 'Josefin Sans', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  margin: 0;
}

/* ---------- Fixed header wrapper ---------- */
.site-chrome{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
}

/* ---------- Sign bar (logo area) ---------- */
.signbar{
  width: 100%;
  min-height: var(--sign-h);
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, var(--sign) 0%, #a20e17 70%);
  border-bottom: 3px solid var(--sign-edge);
  box-shadow:
    0 6px 20px rgba(0,0,0,.35) inset,
    0 6px 20px rgba(0,0,0,.15);
}
.signbar .brand{
  display: inline-block;
  line-height: 0;
}
.logo-header .wrap{
  max-width: var(--container-w);
  width: 100%;
  margin: 0 auto;
  text-align: center;
  padding: 8px 0;
}
.signbar .brand img{
  max-height: 110px;  /* adjust to make header feel larger/smaller */
  max-width: 100%;
  filter: drop-shadow(0 0 6px #fff) drop-shadow(0 0 10px #ff6b6b);
}

/* ---------- Nav bar (bounded, grows to 2 lines) ---------- */
.navbar{
  /* bounded container */
  max-width: var(--container-w);
  margin: 0 auto;
  border-radius: 14px;

  /* background & effects */
  background: rgba(255,255,255,var(--nav-alpha));
  backdrop-filter: saturate(120%) blur(4px);
  box-shadow: 0 6px 18px rgba(0,0,0,.12);

  /* layout */
  display: flex;
  justify-content: center;

  /* let height expand if items wrap */
  min-height: var(--nav-h);        /* baseline height */
  height: auto;                    /* allow 2 lines */
  padding: .45rem .75rem;          /* space for top/bottom lines */
}

.navbar .wrap{
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;

  display: flex;
  justify-content: center;
  flex-wrap: wrap;

  /* column gap | row gap */
  gap: 10px 16px;                  /* tighter on mobile below */
  padding: 0 var(--pad);
}

/* Optional: slightly smaller nav text + nicer hit area */
.navbar .wrap a{
  line-height: 1;                  /* avoid tall lines */
  padding: .4rem .6rem;
  border-radius: 8px;
}

/* ---------- Mobile tweaks ---------- */
@media (max-width: 560px){
  .navbar{ padding: .5rem .6rem; }
  .navbar .wrap{ gap: 6px 12px; }
  .navbar .wrap a{ font-size: .95rem; }
}

}
.navbar a{
  color: var(--cherry);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 8px;
}
.navbar a:hover{
  background: #fff;
  box-shadow: var(--shadow);
}

/* ---------- Content container ---------- */
.container{
  max-width: var(--container-w);
  width: 100%;
  margin: 0 auto;
  padding: var(--pad);
}

/* ---------- Utilities likely used across pages ---------- */
.card{
  /* adjust last number (0.65) for more/less transparency */
  background: rgba(255,255,255,0.65);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
}

.btn{
  display: inline-block;
  background: var(--cherry);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 8px 12px;
  text-decoration: none;
  cursor: pointer;
  }
.gallery-strip-viewport {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.gallery-strip {
  display: flex;
  gap: 8px;
  width: max-content;           /* shrink-to-content width */
  will-change: transform;
  animation: marquee var(--marquee-duration, 30s) linear infinite;
  /* Start paused until JS computes correct width/speed */
  animation-play-state: paused;
}

.gallery-strip.is-animating { animation-play-state: running; }

.gallery-strip .thumb { flex: 0 0 auto; }
.gallery-strip img {
  height: 140px;                /* adjust as you like */
  object-fit: cover;
  border-radius: 6px;
  display: block;
}
/* Tablet */
@media (max-width: 1024px) {
  .gallery-strip img {
    height: 140px;
  }
}

/* Phones */
@media (max-width: 640px) {
  .gallery-strip img {
    height: 110px;
  }
}
/* Pause when hovered */
.gallery-strip-viewport:hover .gallery-strip {
  animation-play-state: paused;
}

/* Seamless shift: JS sets --marquee-shift to original content width */
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-1 * var(--marquee-shift, 100%))); }
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .gallery-strip { animation: none !important; }
}




/* Responsive YouTube/Videos: wrap iframe in .embed */
.embed{ position: relative; padding-top: 56.25%; }
.embed iframe{ position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Optional: tagline classes if you show the line under the header */
.tagline{
  font-family: 'Ranchers', cursive;
  font-size: clamp(24px, 3.6vw, 44px);
  text-align: center;
  margin: 12px auto 18px;
  color: #e03e3e;
  text-shadow: 0 0 6px #fff, 0 0 12px #ffd6d6, 0 0 22px #ffbdbd;
}

/* Minimal footer */
.footer{
  background: transparent;
  text-align: center;
  padding: 16px;
  margin-top: 30px;
}

/* Small screens: slightly reduce header heights */
@media (max-width: 520px){
  :root{
    --sign-h: 110px;
    --nav-h:  52px;
  }
  .signbar .brand img{ max-height: 95px; }
}
./* Logo banner constrained to container width, centered */
.logo-header{
  background: var(--sign);
  border-bottom: 3px solid var(--sign-edge);
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
}
.logo-header .wrap{
  max-width: var(--container-w);
  width: 100%;
  margin: 0 auto;
  text-align: center;
  padding: 8px 0;
}
.logo-header img{
  display: block;
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 0 6px #fff) drop-shadow(0 0 10px #ff6b6b);
}
/* Neon Page Titles */
.page-title {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 1.25rem auto;   /* default for mobile/tablet */
  line-height: 0;
}

.page-title img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* More breathing space on larger screens */
@media (min-width: 1024px) {
  .page-title {
    margin: 2rem auto;   /* extra space above/below on desktop */
  }
}

.media-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 2rem 0;
}

.media-box iframe {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.25);
}

/* Stack on mobile */
@media (max-width: 768px) {
  .media-row {
    grid-template-columns: 1fr;
  }
}
/* --- Shared page-title helper (tight container) --- */
.page-title {
  display: flex; justify-content: center; align-items: center;
  margin: 1.25rem auto; line-height: 0;
}
.page-title img { display:block; max-width:100%; height:auto; }

/* --- Semi-transparent bounded wrapper to match gallery feel --- */
.feature-wrapper {
  background: rgba(255,255,255,0.10);
  padding: 2rem;
  border-radius: 16px;              /* subtle curved corners */
  box-shadow: 0 4px 18px rgba(0,0,0,0.20);
  margin: 2rem auto;
  max-width: 1100px;                /* align with gallery width */
}

/* Two columns side-by-side */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

/* Individual boxes */
.feature-box { text-align: center; }
.feature-box h2 {
  font-family: 'Ranchers', cursive;
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #fff;
  text-shadow: 0 0 6px #fff, 0 0 16px #ffb3b3;
}
.feature-box p {
  margin-bottom: 1.25rem;
  font-size: 1rem; line-height: 1.5; color: #eee;
}

/* CTA button */
.cta-button {
  display:inline-block; background:#ff4d4d; color:#fff; font-weight:700;
  padding:.75rem 1.25rem; border-radius:10px; text-decoration:none;
  transition:background .25s ease;
}
.cta-button:hover { background:#e60000; }

/* Tool + YouTube layout (matches wrapper) */
.media-row {
  display:grid; grid-template-columns: 1fr 1fr; gap:2rem;
}
.media-box iframe {
  width:100%; height:320px; border:0; border-radius:12px;
  box-shadow:0 0 10px rgba(0,0,0,.25);
}

/* Footer hero image bounded to same width */
.footer-hero {
  margin: 2rem auto; max-width: 1100px;
}
.footer-hero img {
  display:block; width:100%; height:auto; border-radius:16px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.20);
}

/* Responsive stacks */
@media (max-width: 768px) {
  .feature-row, .media-row { grid-template-columns: 1fr; }
  .feature-wrapper { padding: 1.25rem; }
}
@media (min-width: 1024px) {
  .page-title { margin: 2rem auto; }
}

/* Title container */
.page-title{display:flex;justify-content:center;align-items:center;margin:1.25rem auto;line-height:0}
.page-title img{display:block;max-width:100%;height:auto}

/* Bounded wrapper */
.feature-wrapper{background:rgba(255,255,255,.10);padding:2rem;border-radius:16px;box-shadow:0 4px 18px rgba(0,0,0,.20);margin:2rem auto;max-width:1100px}

/* 2-col grids (force) */
.feature-row,.media-row{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:2rem!important}
.media-box iframe{width:100%!important;height:320px!important;border:0;border-radius:12px;box-shadow:0 0 10px rgba(0,0,0,.25);display:block}

/* Feature boxes */
.feature-box h2{font-family:'Ranchers',cursive;font-size:1.8rem;margin:0 0 1rem;color:#fff;text-shadow:0 0 6px #fff,0 0 16px #ffb3b3}
.feature-box p{margin:0 0 1rem;color:#eee;line-height:1.5}
.cta-button{display:inline-block;background:#ff4d4d;color:#fff;font-weight:700;padding:.75rem 1.25rem;border-radius:10px;text-decoration:none;transition:background .25s}
.cta-button:hover{background:#e60000}

/* Footer image bounded */
.footer-hero{margin:2rem auto;max-width:1100px}
.footer-hero img{display:block;width:100%;height:auto;border-radius:16px;box-shadow:0 4px 18px rgba(0,0,0,.20)}

/* Simple gallery grid fallback (if your theme doesn’t already style it) */
.gallery-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}
.gallery-strip .thumb{display:block}
.gallery-strip img{display:block;width:100%;height:auto;border-radius:12px}

/* Mobile stack */
@media (max-width:768px){
  .feature-row,.media-row,.gallery-strip{grid-template-columns:1fr}
  .feature-wrapper{padding:1.25rem}
}
/* ===== Cards look (match your gallery slider) ===== */
.cards-wrap {
  margin: 2rem auto;
  max-width: 1100px;                 /* same width as gallery */
}

.card {
  background: rgba(255,255,255,0.85); /* same frosted feel */
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  padding: 1.75rem;
  border-radius: 16px;               /* subtle curved corners */
  box-shadow: 0 4px 18px rgba(0,0,0,0.20);
}

/* Two-up grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 2rem;
}

/* Typography: red titles, black body */
.feature-card h2,
.media-card h3 {
  margin: 0 0 .75rem;
  color: #e60000;                     /* red titles */
  font-weight: 800;
  text-shadow: none;                  /* cleaner in frosted box */
}

.feature-card p,
.media-card p {
  color: #222;                        /* black text */
  margin: 0 0 1rem;
  line-height: 1.55;
}

/* CTA */
.cta-button {
  display: inline-block;
  background: #ff4d4d;
  color: #fff;
  font-weight: 700;
  padding: .7rem 1.2rem;
  border-radius: 10px;
  text-decoration: none;
  transition: background .25s;
}
.cta-button:hover { background: #e60000; }

/* Media content sizing */
.media-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,.2);
  margin-bottom: 1rem;
}

.media-frame {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;              /* responsive iframe */
  border: 0;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,.2);
  margin-bottom: 1rem;
}

/* Mobile stack */
@media (max-width: 768px) {
  .feature-grid { grid-template-columns: 1fr; }
  .card { padding: 1.25rem; }
}
/* ---------- Neon title container (unchanged) ---------- */
.page-title{display:flex;justify-content:center;align-items:center;margin:1.25rem auto;line-height:0}
.page-title img{display:block;max-width:100%;height:auto}

/* ---------- Shared card look (matches gallery style) ---------- */
.cards-wrap{margin:2rem auto;max-width:1100px}           /* same width as gallery */
.card{
  background: rgba(255,255,255,.85);                     /* frosted white */
  backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px);
  padding:1.75rem; border-radius:16px;                   /* subtle curved corners */
  box-shadow:0 4px 18px rgba(0,0,0,.20);
}

/* ---------- Neon title container (unchanged) ---------- */
.page-title{display:flex;justify-content:center;align-items:center;margin:1.25rem auto;line-height:0}
.page-title img{display:block;max-width:100%;height:auto}

/* ---------- Shared card look (matches gallery style) ---------- */
.cards-wrap{margin:2rem auto;max-width:1100px}           /* same width as gallery */
.card{
  background: rgba(255,255,255,.85);                     /* frosted white */
  backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px);
  padding:1.75rem; border-radius:16px;                   /* subtle curved corners */
  box-shadow:0 4px 18px rgba(0,0,0,.20);
}

/* Two-up layout */
.feature-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2rem}

/* Typography: red titles, black body */
.feature-card h2,.media-card h3{margin:0 0 .75rem;color:#e60000;font-weight:800;text-shadow:none}
.feature-card p,.media-card p{color:#222;margin:0 0 1rem;line-height:1.55}

/* Buttons */
.cta-button{display:inline-block;background:#ff4d4d;color:#fff;font-weight:700;
  padding:.7rem 1.2rem;border-radius:10px;text-decoration:none;transition:background .25s}
.cta-button:hover{background:#e60000}

/* Media sizing */
.media-img{display:block;width:100%;height:auto;border-radius:12px;box-shadow:0 0 10px rgba(0,0,0,.2);margin-bottom:1rem}
.media-frame{display:block;width:100%;aspect-ratio:16/9;border:0;border-radius:12px;box-shadow:0 0 10px rgba(0,0,0,.2);margin-bottom:1rem}

/* Gallery strip fallback (if your theme doesn’t already style it) */
.gallery-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}
.gallery-strip .thumb{display:block}
.gallery-strip img{display:block;width:100%;height:auto;border-radius:12px}

/* Footer image bounded to gallery width */
.footer-hero{margin:2rem auto;max-width:1100px}
.footer-hero img{display:block;width:100%;height:auto;border-radius:16px;box-shadow:0 4px 18px rgba(0,0,0,.20)}

/* Responsive */
@media (max-width:768px){
  .feature-grid,.gallery-strip{grid-template-columns:1fr}
  .card{padding:1.25rem}
}
@media (min-width:1024px){ .page-title{margin:2rem auto} }
/* === Shared Card & Container Styles === */
.card {
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 14px;
  box-shadow: 0 6px 22px rgba(0,0,0,.18);
  padding: 1.25rem;
  margin: 0.75rem 0;
  color: #111;
}

/* Headings in feature/media cards */
.feature-card h2,
.media-card h3 {
  margin: 0.25rem 0 0.75rem;
  font-weight: 700;
  color: #c00; /* red diner vibe */
}

/* Paragraph spacing */
.feature-card p,
.media-card p {
  margin: 0 0 1rem;
}

/* Buttons */
.cta-button {
  background: #e53935;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 0.65rem 1.25rem;
  border-radius: 8px;
  display: inline-block;
  transition: background 0.25s ease;
}
.cta-button:hover { background: #c62828; }
.cta-button:focus-visible {
  outline: 3px solid #ffd1d1;
  outline-offset: 2px;
}

/* Gallery thumbs consistent */
.gallery-strip img,
.footer-hero img {
  border-radius: 14px;
}

/* Equal-height cards on desktop */
@media (min-width: 769px) {
  .feature-grid > .card {
    display: flex;
    flex-direction: column;
  }
  .feature-grid > .card .cta-button {
    margin-top: auto;
    align-self: flex-start;
  }
}

/* Media frame sizing (YT + tool) */
.media-frame {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 14px;
  border: none;
  display: block;
}

/* Tool screenshot images */
.media-img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  display: block;
}

/* Page tagline min-height (avoid CLS) */
.page-title { min-height: 60px; }

/* Optional top fade behind tagline */
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto 0;
  height: 240px;
  pointer-events: none;
  background: linear-gradient(rgba(0,0,0,.18), rgba(0,0,0,0));
  z-index: 0;
}
/* Provider Directory */
/* ========== Provider Directory (match home/info cards) ========== */
.grid-regions {
  display: grid;
  gap: 16px;
}
/* Provider Directory - crisp red borders on active regions */
.regions details {
  border: 2px solid transparent;
  border-radius: 12px;
  margin: 10px 0;
  overflow: hidden;           /* keeps borders/rounding consistent */
  box-sizing: border-box;
}

/* When a region is "active" (however you set it), color the border red */
.regions details.active {
  border-color: #c00;         /* your red */
}

/* Make summary take the full width and remove default spacing/marker */
.regions details > summary {
  list-style: none;           /* Firefox */
  -webkit-user-select: none;
  user-select: none;
  cursor: pointer;
  margin: 0;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,.92);
  box-sizing: border-box;
}

/* Hide Chrome’s default disclosure triangle */
.regions details > summary::-webkit-details-marker { display: none; }

/* Optional: add a hairline between header and body when opened */
.regions details[open] .region-body {
  border-top: 1px solid rgba(0,0,0,.08);
}

/* Region body inherits the same width and rounding due to overflow:hidden on details */
.regions .region-body {
  padding: 10px 14px;
  background: rgba(255,255,255,.85);
  box-sizing: border-box;
}

/* If you put small "count" bubbles on the right inside summary */
.regions .count {
  display:inline-block;
  min-width: 18px;
  padding: 2px 6px;
  border-radius: 999px;
  background: #eee;
  font-size: 12px;
  text-align:center;
  margin-left: 8px;
}

/* Region container */

/* Region header */

.region-summary::-webkit-details-marker { display: none; }
.region[open] .region-summary { border-bottom: 1px solid rgba(0,0,0,0.06); }

/* Count pill */
.region-summary .count {
  font-size: 12px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 999px;
  background: #ffe9e9;
  color: #b93b3b;
}

/* Body area with provider cards */
.region-body {
  padding: 14px 16px 16px 16px;
  display: grid;
  gap: 12px;
}

/* Card look to match site */
.card.provider-card,
.card.card-empty {
  background: #ffffff;
  border-radius: 16px;
  padding: 12px 14px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.05);
}

.card.card-empty {
  background: #f7f7f7;
  color: #6b6b6b;
  text-align: center;
}

/* Provider content */
.provider-name { font-size: 18px; font-weight: 700; color: #2a2a2a; }
.provider-actions { margin-top: 8px; display: flex; gap: 8px; flex-wrap: wrap; }
.provider-notes { margin: 8px 0 0 0; color: #444; }

/* Buttons (reuse your existing .btn but add variants) */
.btn { border-radius: 999px; padding: 8px 12px; display: inline-block; text-decoration: none; }
.btn-call  { background: #ffe3d1; color: #9a3a00; }
.btn-email { background: #ffdfe6; color: #a0003c; }
.btn:hover { filter: brightness(0.98); }

/* Responsive: stack nicer on small screens */
@media (max-width: 720px) {
  .region-body { grid-template-columns: 1fr; }
}


.provider-card {
  padding: 12px 16px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.provider-details {
  display: grid;
  gap: 4px;
}

.provider-phone, .provider-address, .provider-notes {
  font-size: 14px;
  color: #333;
  display: flex;
  align-items: center;
  gap: 6px;
}
.sidebar a.danger {
  color: #a00;
  font-weight: bold;
}
/* Provider Directory – crisp red outline on active regions */
.regions details {
  border: 2px solid transparent;
  border-radius: 12px;
  margin: 10px 0;
  overflow: hidden;           /* keeps rounding for summary + body */
  box-sizing: border-box;
}

.regions details.active {
  border-color: #c00;         /* <-- red outline back on */
}

/* Keep the header tidy and included inside the outline */
.regions details > summary {
  list-style: none;
  -webkit-user-select: none; user-select: none;
  cursor: pointer;
  margin: 0;
  padding: 10px 14px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255,255,255,.92);
  box-sizing: border-box;
}
.regions details > summary::-webkit-details-marker { display: none; }

.regions details[open] .region-body { border-top: 1px solid rgba(0,0,0,.08); }
.regions .region-body { padding: 10px 14px; background: rgba(255,255,255,.85); box-sizing: border-box; }
.btn.cta {
  display: inline-block;
  padding: 12px 24px;
  background: #ff0077;
  color: #fff;
  border-radius: 8px;
  font-weight: bold;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 4px 4px 0 #000;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn.cta:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 #000;
}
/* 2-column page layout */
.providers-layout{
  display:grid;
  grid-template-columns: 1fr 320px;  /* left grows; right fixed */
  gap: 20px;
  align-items:start;
}
@media (max-width: 980px){
  .providers-layout{ grid-template-columns: 1fr; }
  .notes-panel{ position: static; order: -1; } /* notes above list on small screens */
}

/* Notes sidebar */
.notes-panel{
  position: sticky;
  top: var(--header-total, 80px);
  background: rgba(255,255,255,.88);
  border: 3px solid #000;
  border-radius: 12px;
  box-shadow: 4px 4px 0 #ff0077;
  padding: 16px;
}
.notes-title{
  margin: 0 0 8px;
  font-size: 1.1rem;
}
.notes-body p{ margin: 0 0 .6rem; }

/* Region header */
.region{
  margin: 24px 0 10px;
  padding: 10px 14px;
  background: rgba(255,255,255,.85);
  border: 2px solid #ff5a5a;
  border-radius: 12px;
  font-weight: 600;
}

/* Provider card */
.provider-card{
  background: rgba(255,255,255,.92);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,.12);
  padding: 14px 16px;
  margin: 10px 0 18px;
}
.prov-head{
  display: grid;
  grid-template-columns: 1fr auto;   /* name left, address right */
  gap: 12px;
  align-items: baseline;
  margin-bottom: 8px;
}
.prov-name{ margin: 0; font-size: 1.05rem; }
.prov-addr{ color:#444; font-size:.95rem; white-space:nowrap; }
@media (max-width: 640px){
  .prov-head{ grid-template-columns: 1fr; }
  .prov-addr{ white-space:normal; }
}

.prov-meta{ display:flex; flex-wrap:wrap; gap:8px; margin: 6px 0; }
.btn.tiny{
  display:inline-block; padding:6px 10px; border-radius:8px; background:#ffdfe9;
  color:#000; text-decoration:none; border:1px solid #000; box-shadow:2px 2px 0 #000;
}
.btn.tiny:hover{ transform: translate(-1px,-1px); box-shadow:3px 3px 0 #000; }
.prov-services{ margin:.25rem 0 0; color:#333; font-size:.95rem; }
.prov-body { display:grid; grid-template-columns: 1fr 320px; gap:16px; }
@media (max-width: 900px){ .prov-body { grid-template-columns: 1fr; } }
.prov-notes { background: rgba(255,255,255,.9); border:2px solid #000; border-radius:12px; padding:12px; }
.prov-notes-title { margin:0 0 .5rem; font-weight:700; }
.prov-card {
  background: #fff; 
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  padding: 1rem;
  margin: 1rem 0;
}
/* Center region accordions, full-width like provider cards */
.regions details {
  max-width: 980px;          /* same as provider cards */
  margin: 0 auto 1rem;       /* centers the whole region block */
  width: 100%;
}

.regions details > summary {
  display: block !important; /* force block instead of inline */
  width: 100% !important;    /* stretch full width */
  padding: .75rem 1rem;
  border-radius: 12px;
  box-sizing: border-box;
  /* no border/background colors here — keep your active/inactive logic */
}
Why this will work

/* 3) Make buttons (Call / Email / Website) sit inline */
.prov-body {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-top: .5rem;
  flex-wrap: wrap;
}

/* Left column (contact) becomes a horizontal row of items */
.prov-left {
  flex: 1 1 280px;
  min-width: 260px;
  display: flex;
  align-items: center;
  gap: .75rem 1rem;      /* row gap */
  flex-wrap: wrap;       /* wrap nicely on small screens */
}

/* Each contact item renders inline with its label/text */
.provider-phone,
.provider-email,
.provider-website {
  display: inline-flex;
  align-items: center;
  gap: .5rem;            /* space between button and text */
  margin: 0;             /* kill any vertical margins from old styles */
}

/* Buttons look consistent inline */
.provider-phone .btn,
.provider-email .btn,
.provider-website .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .4rem .75rem;
  border-radius: 999px;
  text-decoration: none;
}

/* 4) “Other services” is wider, flexible height, and tidy */
.prov-notes {
  flex: 2 1 360px;       /* take more space than the left side */
  border: 1px solid rgba(0,0,0,.15);
  border-radius: 10px;
  padding: .9rem 1rem;
  background: #fafafa;   /* subtle tint so it reads as a panel */
}
.prov-notes-title { margin: 0 0 .4rem 0; font-size: 1rem; font-weight: 600; }
.prov-notes-body  { white-space: normal; overflow-wrap: anywhere; }

/* 5) Mobile tidy */
@media (max-width: 720px) {
  .regions details,
  .regions .provider-card { max-width: 100%; margin-left: auto; margin-right: auto; }
  .prov-left, .prov-notes { flex: 1 1 100%; }
}
/* === HOME SLIDER (gallery strip) === */
.gallery-strip-viewport {
  overflow: hidden;
  width: 100%;
  position: relative;
}

/* The moving track */
.gallery-strip {
  display: flex !important;
  flex-wrap: nowrap !important;      /* prevent wrapping -> no vertical stacking */
  align-items: center;
  gap: 8px;
  width: max-content;                 /* shrink to content width */
  will-change: transform;
  animation: marquee var(--marquee-duration, 30s) linear infinite;
  animation-play-state: paused;       /* JS will set to running */
}

/* When JS finishes measuring/cloning */
.gallery-strip.is-animating { animation-play-state: running; }

/* Thumbs */
.gallery-strip .thumb {
  flex: 0 0 auto;
  display: block;                     /* avoid inline gaps */
}

.gallery-strip img {
  display: block;
  height: 160px;                      /* desktop default height */
  width: auto;                        /* keep aspect ratio */
  object-fit: cover;
  border-radius: 6px;
}

/* Pause on hover */
.gallery-strip-viewport:hover .gallery-strip { animation-play-state: paused; }

/* Seamless marquee – JS sets --marquee-shift to the original track width */
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-1 * var(--marquee-shift, 100%))); }
}

/* Responsive heights */
@media (max-width: 1024px) {
  .gallery-strip img { height: 140px; }
}
@media (max-width: 640px) {
  .gallery-strip img { height: 110px; }
}

/* If any global .card/.section styles try to grid children, neutralize for the viewport */
.section.card > .gallery-strip-viewport { display: block !important; }
.shop-grid { display:grid; grid-template-columns: repeat(auto-fill, minmax(220px,1fr)); gap:12px; }
.shop-item .shop-thumb { width:100%; height:120px; object-fit:cover; border-radius:8px; }
.shop-title { font-weight:700; margin-top:.25rem; }
.shop-desc  { font-size:.9rem; opacity:.9; min-height:2.6em; }
.shop-price { margin:.25rem 0 .5rem; font-weight:700; }
.shop-actions { display:flex; align-items:center; gap:8px; }
.qty-input { width:70px; }
.shop-submit { margin-top:12px; display:flex; align-items:center; gap:12px; }
/* Responsive 16:9 wrapper */
/* Responsive 16:9 YouTube wrapper (prevents 0x0) */
.yt-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9; /* modern browsers */
  background: #000;
  overflow: hidden;
}
.yt-embed > iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Neutralize legacy rules that might collapse iframes */
.media-frame,
.media-card iframe {
  width: 100% !important;
  height: auto !important;          /* this line alone can be risky on iframes… */
}
.media-card .yt-embed > iframe {     /* …so force the correct height via wrapper */
  height: 100% !important;
}

/* Fallback for older browsers without aspect-ratio */
@supports not (aspect-ratio: 16 / 9) {
  .yt-embed { height: 0; padding-bottom: 56.25%; }
}

