/* Upstate recreation — overrides + glue not covered by vendored main.css/style.css */

@font-face {
  font-display: swap;
  font-family: "Druk";
  src: url("/upstate/font/druk-600-normal.woff") format("woff");
  font-weight: 600;
}
@font-face {
  font-display: swap;
  font-family: "Moderat-Regular";
  src: url("/upstate/font/moderat-300-normal.woff") format("woff");
  font-weight: 300;
}
@font-face {
  font-display: swap;
  font-family: "Moderat-Bold";
  src: url("/upstate/font/moderat-600-normal.woff") format("woff");
  font-weight: 600;
}

html, body { margin: 0; padding: 0; background: #fff; }
body { font-family: "Moderat-Regular", system-ui, sans-serif; color: #000; }

/* Force-reveal all scroll-animated sections (vendored CSS hides them until JS toggles in-view) */
[data-component="text-image"] .container .column.image,
[data-component="text-image"] .container .column.image .image-wrapper,
[data-component="text-image"] .container .column.image .image-wrapper picture {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}
[data-component="text-image"] .container .column.image .image-wrapper img,
[data-component="text-image"] .container .column.image .image-wrapper picture img {
  opacity: 1 !important;
  visibility: visible !important;
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}
[data-component="text-image"] .container .column.image:before { display: none !important; }
[data-component="text-image"] .container .column.text,
[data-component="text-image"] .container .column.text .inner { opacity: 1 !important; visibility: visible !important; transform: none !important; }
[data-component="full-width-text"] .copy,
[data-component="full-width-text"] .inner { opacity: 1 !important; visibility: visible !important; transform: none !important; }
[data-component="testimonials"] .swiper-slide,
[data-component="testimonials"] .container { opacity: 1 !important; visibility: visible !important; }
/* map + location columns */
.us-section,
.us-section .cont-width-box,
.us-section .uptext-box-w50,
.us-section .us-column.image,
.us-section .image-wrapper1 { opacity: 1 !important; visibility: visible !important; }
.us-section iframe { display: block !important; opacity: 1 !important; visibility: visible !important; min-height: 420px; width: 100%; border: 0; }
.us-section .map_container { min-height: 420px; }
/* Active swiper slide only - hide non-active to prevent overlap */
[data-component="testimonials"] .swiper-slide { position: absolute; top:0; left:0; right:0; opacity: 0 !important; pointer-events: none; }
[data-component="testimonials"] .swiper-slide.swiper-slide-active { position: relative; opacity: 1 !important; pointer-events: auto; }

/* HEADER */
.upstate-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0 0 28px;
  background: #f3f3f3;
  z-index: 50;
}
.upstate-header .logo-wrapper { display: flex; align-items: center; }
.upstate-header .logo-svg { height: 22px; width: auto; display: block; }
.upstate-header .header-cta {
  background: #111;
  color: #fff;
  border: 0;
  height: 60px;
  padding: 0 36px;
  font-family: "Druk", "Moderat-Bold", sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  cursor: pointer;
}

/* HERO */
.video-hero {
  position: relative;
  width: 100%;
  min-height: 720px;
  padding: 100px 0 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  background: #2a2a2a;
  margin-top: 60px;
}
.video-hero .video-wrapper {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.video-hero .video-wrapper > video,
.video-hero .video-wrapper > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.video-hero .video-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.32);
}
.video-hero .hero-title-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  justify-content: center;
  pointer-events: none;
  padding: 0;
  margin: 40px 0 60px;
  overflow: visible;
}
.video-hero .hero-title {
  font-family: "Druk", "Moderat-Bold", Impact, sans-serif;
  font-weight: 600;
  color: #fff;
  font-size: clamp(72px, 16vw, 260px);
  line-height: 0.88;
  letter-spacing: -0.01em;
  margin: 0;
  transform: rotate(-9deg);
  white-space: nowrap;
  text-transform: uppercase;
}

.video-hero .copy.us-form-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 980px;
  padding: 0 24px;
  margin-top: 40px;
}
.video-hero .form-container { background: transparent; }
.video-hero .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.video-hero .form-group { margin: 0 0 16px; }
.video-hero label {
  display: block;
  color: #fff;
  font-family: "Moderat-Bold", sans-serif;
  font-size: 14px;
  margin-bottom: 8px;
}
.video-hero input {
  width: 100%;
  padding: 14px 16px;
  border: 0;
  background: #fff;
  font-size: 16px;
  color: #111;
  font-family: inherit;
  box-sizing: border-box;
}
.video-hero .cta { text-align: center; margin-top: 24px; }
.us-button-join,
.us-button-t,
.us-button,
.button.myBtn,
.button.timetable-modal-trigger {
  background: #f6d635;
  color: #111;
  border: 0;
  padding: 14px 28px;
  font-family: "Druk", "Moderat-Bold", sans-serif;
  font-size: 14px;
  letter-spacing: 0.04em;
  cursor: pointer;
  text-transform: uppercase;
  display: inline-block;
}
.button.myBtn {
  background: transparent;
  color: #111;
  border: 1.5px solid #111;
  padding: 12px 28px;
}
.button.myBtn:hover { background: #111; color: #fff; }
.us-button-join { padding: 16px 32px; }

/* Secondary stacked form — hidden on live, keep hidden here */
.us-form-two { display: none; }

/* Full-width text band */
section[data-component="full-width-text"] {
  padding: 80px 24px 40px;
  text-align: center;
}
section[data-component="full-width-text"] .container { max-width: 880px; margin: 0 auto; }
section[data-component="full-width-text"] .inner { text-align: center; }
section[data-component="full-width-text"] .copy p {
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.45;
  margin: 0 0 24px;
  color: #111;
}
section[data-component="full-width-text"] .copy a {
  color: #111;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Text + image alternating sections */
section[data-component="text-image"] { padding: 50px 24px; }
section[data-component="text-image"] .container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
section[data-component="text-image"].flipped .container { direction: rtl; }
section[data-component="text-image"].flipped .container > * { direction: ltr; }
section[data-component="text-image"] .column.text .inner { max-width: 520px; }

/* Section titles + body */
.section-eyebrow {
  font-family: "Druk", "Moderat-Bold", sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 12px;
  color: #111;
}
.section-title {
  font-family: "Druk", "Moderat-Bold", Impact, sans-serif;
  font-weight: 600;
  font-size: clamp(36px, 4.4vw, 64px);
  line-height: 0.95;
  letter-spacing: 0.005em;
  margin: 0 0 24px;
  text-transform: uppercase;
  color: #111;
}
.section-body, .section-body p {
  font-family: "Moderat-Regular", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: #333;
  margin: 0 0 14px;
}
section[data-component="text-image"] .image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}
section[data-component="text-image"] .cta { margin-top: 24px; }

/* Location/map section */
.us-section .cont-width-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
  padding: 60px 24px;
  align-items: stretch;
}
.location-info table { width: 100%; border-collapse: collapse; }
.location-info table td {
  padding: 12px 8px;
  vertical-align: top;
  border-bottom: 1px solid #eee;
  font-size: 14px;
}
.location-info table tr:first-child td {
  font-family: "Druk", "Moderat-Bold", sans-serif;
  font-size: 22px;
  text-transform: uppercase;
  border-bottom: 2px solid #111;
}
.hours-table { width: 100%; }
.hours-table td { border: 0 !important; padding: 4px 8px !important; }
.map_container .image-wrapper1 {
  width: 100%;
  height: 100%;
  min-height: 360px;
  background: #eee;
}
.map_container iframe { width: 100%; height: 100%; min-height: 360px; }

/* Carousel grid (post-sweat-sesh) */
.carousel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.carousel-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* Testimonials */
section[data-component="testimonials"] {
  padding: 80px 24px;
  background: #f6d635;
  text-align: center;
}
section[data-component="testimonials"] .container { max-width: 720px; margin: 0 auto; }
.swiper-container { position: relative; min-height: 240px; }
.swiper-wrapper { position: relative; }
.swiper-slide { transition: opacity 600ms ease; top: 0; left: 0; right: 0; }
.testimonial-wrapper blockquote {
  font-family: "Druk", "Moderat-Bold", sans-serif;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.4;
  margin: 0 0 24px;
  text-transform: none;
  font-weight: 600;
}
.testimonial-wrapper .name-date {
  font-family: "Moderat-Bold", sans-serif;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.swiper-pagination { margin-top: 24px; display: flex; gap: 8px; justify-content: center; }
.swiper-pagination-bullet {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(0,0,0,0.3); cursor: pointer; display: inline-block;
}
.swiper-pagination-bullet-active { background: #111; }

/* Trial modal */
.modal-first {
  position: fixed; inset: 0; background: rgba(0,0,0,0.6);
  z-index: 100; display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.modal-first .modal-content {
  background: #fff; max-width: 480px; width: 100%;
  padding: 40px 32px; position: relative; border-radius: 4px;
}
.modal-first .plainmodal-close {
  position: absolute; top: 12px; right: 16px;
  width: 24px; height: 24px; cursor: pointer;
  background: url("/upstate/img/plainmodal-close.png") center/contain no-repeat;
}
.schedule-modal .modal-content { max-width: 1100px; }
.schedule-modal-close {
  position: absolute; top: 12px; right: 16px; z-index: 2;
  background: #111; color: #fff; border: 0; padding: 8px 16px;
}

/* Directory landing */
.upstate-directory { padding-top: 80px; min-height: 100vh; background: #fff; }
.directory-main {
  max-width: 720px; margin: 0 auto; padding: 60px 24px;
}
.directory-main h1 {
  font-family: "Druk", "Moderat-Bold", sans-serif;
  font-size: 48px; margin: 0 0 16px;
}
.directory-sub { color: #555; margin-bottom: 32px; }
.directory-list { list-style: none; padding: 0; margin: 0; }
.directory-list li {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0; border-bottom: 1px solid #eee;
}
.directory-list a {
  font-family: "Druk", "Moderat-Bold", sans-serif;
  text-transform: uppercase; color: #111; text-decoration: none;
}
.directory-contexts { display: flex; gap: 12px; }
.directory-contexts a {
  font-size: 12px; padding: 6px 12px; background: #f6d635; border-radius: 2px;
}

/* Responsive */
@media (max-width: 768px) {
  .video-hero .form-row { grid-template-columns: 1fr; gap: 0; }
  section[data-component="text-image"] .container { grid-template-columns: 1fr; gap: 32px; }
  section[data-component="text-image"].flipped .container { direction: ltr; }
  .us-section .cont-width-box { grid-template-columns: 1fr; }
  .carousel-grid { grid-template-columns: repeat(2, 1fr); }
  .upstate-header .header-cta { padding: 22px 20px; }
}

@media (max-width: 600px) {
  .video-hero {
    height: calc(100svh - 60px);
    min-height: 680px;
    padding: 92px 16px 18px;
    justify-content: flex-start;
  }
  .video-hero .video-wrapper::after { background: rgba(0, 0, 0, 0.12); }
  .video-hero .hero-title-wrapper {
    margin: 0 0 auto;
    padding-top: 20px;
  }
  .video-hero .hero-title { font-size: clamp(36px, 12vw, 56px); }
  .video-hero .copy.us-form-container {
    display: block !important;
    position: relative !important;
    z-index: 5;
    max-width: none;
    padding: 0;
    margin: 0;
  }
  .video-hero .form-container {
    display: block !important;
    background: rgba(255, 255, 255, 0.96);
    padding: 14px;
    box-shadow: 0 18px 50px -24px rgba(0, 0, 0, 0.7);
  }
  .video-hero .form-container form { display: block !important; }
  .video-hero .form-group { margin-bottom: 8px; }
  .video-hero label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  .video-hero input {
    height: 42px;
    padding: 0 13px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: #fff;
    font-size: 16px;
  }
  .video-hero .cta { margin-top: 8px; }
  .video-hero .us-button-join {
    width: 100%;
    padding: 13px 18px;
    margin-top: 0 !important;
    background: #111;
    color: #f6d635;
  }
}

/* FOOTER */
.upstate-footer {
  position: relative;
  background: #f6d635;
  color: #111;
  padding: 100px 32px 32px;
  overflow: hidden;
}
.upstate-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/upstate/img/footer-bg.svg") center/cover no-repeat;
  opacity: 0.35;
  pointer-events: none;
}
.footer-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  z-index: 1;
}
.footer-title {
  font-family: "Druk", "Moderat-Bold", Impact, sans-serif;
  font-weight: 600;
  font-size: clamp(72px, 12vw, 200px);
  line-height: 0.88;
  margin: 0 0 80px;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  text-align: center;
}
.footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  border-top: 1px solid rgba(0,0,0,0.25);
  padding-top: 40px;
}
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-apps { align-items: flex-end; text-align: right; }
.footer-label {
  font-family: "Druk", "Moderat-Bold", sans-serif;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.footer-handle {
  font-family: "Druk", "Moderat-Bold", sans-serif;
  font-size: 22px;
  letter-spacing: 0.04em;
  color: #111;
  text-decoration: none;
}
.footer-handle:hover { text-decoration: underline; }
.footer-socials { display: flex; gap: 16px; margin-top: 8px; }
.footer-socials a { display: inline-flex; }
.footer-socials img { height: 22px; width: auto; }
.footer-app-row { display: flex; gap: 12px; margin-top: 8px; }
.footer-app-row img { height: 44px; width: auto; display: block; }
.footer-bottom {
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid rgba(0,0,0,0.25);
  text-align: center;
  font-family: "Druk", "Moderat-Bold", sans-serif;
  font-size: 12px;
  letter-spacing: 0.18em;
}

@media (max-width: 768px) {
  .footer-cols { grid-template-columns: 1fr; }
  .footer-apps { align-items: flex-start; text-align: left; }
}

/* ===== Trial Modal v2 — refined design ===== */
.trial-modal-v2 {
  background: rgba(8, 8, 10, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: trialFadeIn 220ms ease-out;
  padding: 20px;
}
@keyframes trialFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes trialPop { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }

.trial-modal-v2 .trial-modal-card {
  position: relative;
  background: #fff;
  color: #0e0e10;
  max-width: 460px;
  width: 100%;
  padding: 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.6), 0 0 0 1px rgba(0,0,0,0.04);
  animation: trialPop 320ms cubic-bezier(.2,.8,.2,1);
}
.trial-modal-v2 .trial-modal-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, #f6d635 0%, #ffe066 50%, #f6d635 100%);
}

.trial-modal-v2 .trial-modal-close {
  position: absolute; top: 14px; right: 14px;
  width: 34px; height: 34px; border-radius: 50%;
  background: #f4f4f5; border: 0; color: #0e0e10;
  font-size: 22px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 160ms ease, transform 160ms ease;
  z-index: 3;
}
.trial-modal-v2 .trial-modal-close:hover { background: #0e0e10; color: #f6d635; transform: rotate(90deg); }

.trial-modal-v2 .trial-modal-header {
  padding: 36px 36px 8px;
  text-align: center;
}
.trial-modal-v2 .trial-modal-eyebrow {
  display: inline-block;
  font-family: "Moderat-Bold", "Inter", sans-serif;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: #0e0e10; background: #f6d635;
  padding: 6px 12px; border-radius: 999px; margin-bottom: 16px;
}
.trial-modal-v2 .trial-modal-title {
  font-family: "Druk", "Moderat-Bold", sans-serif;
  font-size: clamp(26px, 4vw, 32px);
  line-height: 1.05; letter-spacing: -0.01em;
  text-transform: uppercase; margin: 0 0 10px; color: #0e0e10;
}
.trial-modal-v2 .trial-modal-sub {
  font-size: 14px; color: #555; margin: 0 auto; max-width: 340px; line-height: 1.5;
}

.trial-modal-v2 .trial-modal-body { padding: 20px 36px 8px; }
.trial-modal-v2 .bg-form-section1 { background: transparent; padding: 0; }
.trial-modal-v2 .banner-form { padding: 0; }

.trial-modal-v2 .form-group { margin-bottom: 14px; text-align: left; }
.trial-modal-v2 .form-group label {
  display: block; font-size: 11px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: #0e0e10; margin-bottom: 6px;
}
.trial-modal-v2 .form-group input {
  width: 100%; height: 46px; padding: 0 14px;
  background: #fafafa; border: 1px solid #e5e5e7; border-radius: 8px;
  font-size: 15px; color: #0e0e10;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}
.trial-modal-v2 .form-group input::placeholder { color: #9a9aa0; }
.trial-modal-v2 .form-group input:hover { border-color: #d0d0d4; }
.trial-modal-v2 .form-group input:focus {
  outline: none; background: #fff; border-color: #0e0e10;
  box-shadow: 0 0 0 3px rgba(246, 214, 53, 0.35);
}

.trial-modal-v2 .hs-richtext .form-para {
  font-size: 13px; color: #666; text-align: center;
  margin: 8px 0 0;
}

.trial-modal-v2 .cta { padding: 8px 0 4px; }
.trial-modal-v2 .trial-modal-submit {
  display: block; width: 100%;
  background: #0e0e10; color: #f6d635;
  border: 0; border-radius: 8px;
  padding: 16px 20px; margin: 6px 0 0 !important;
  font-family: "Druk", "Moderat-Bold", sans-serif;
  font-size: 15px; letter-spacing: 0.1em; text-transform: uppercase;
  cursor: pointer; transition: transform 160ms ease, background 160ms ease, color 160ms ease;
  box-shadow: 0 10px 24px -10px rgba(14,14,16,0.5);
}
.trial-modal-v2 .trial-modal-submit:hover:not(:disabled) {
  background: #f6d635; color: #0e0e10; transform: translateY(-1px);
}
.trial-modal-v2 .trial-modal-submit:disabled { opacity: 0.7; cursor: wait; }

.trial-modal-v2 .trial-modal-foot {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 36px 26px;
  font-size: 12px; color: #777; letter-spacing: 0.04em;
}
.trial-modal-v2 .trial-dot {
  width: 6px; height: 6px; border-radius: 50%; background: #25c26b;
  box-shadow: 0 0 0 3px rgba(37,194,107,0.18);
}

.trial-modal-v2 .success-mess {
  padding: 28px 8px; text-align: center;
  font-family: "Druk", "Moderat-Bold", sans-serif;
  font-size: 18px; text-transform: uppercase; color: #0e0e10;
}

@media (max-width: 600px) {
  .trial-modal-v2 { padding: 10px; align-items: flex-start; }
  .trial-modal-v2 .trial-modal-card {
    margin-top: 12px;
    max-height: calc(100vh - 24px);
    overflow-y: auto;
  }
  .trial-modal-v2 .trial-modal-close { top: 8px; right: 8px; width: 30px; height: 30px; font-size: 20px; }
  .trial-modal-v2 .trial-modal-header { padding: 18px 18px 4px; }
  .trial-modal-v2 .trial-modal-eyebrow {
    font-size: 10px; padding: 4px 10px; margin-bottom: 10px; letter-spacing: 0.14em;
  }
  .trial-modal-v2 .trial-modal-title {
    font-size: clamp(20px, 6.4vw, 26px); margin-bottom: 6px;
  }
  .trial-modal-v2 .trial-modal-sub { display: none; }

  .trial-modal-v2 .trial-modal-body { padding: 12px 18px 18px; }
  .trial-modal-v2 .form-group { margin-bottom: 8px; }
  .trial-modal-v2 .form-group label {
    position: absolute; width: 1px; height: 1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
  }
  .trial-modal-v2 .form-group input {
    height: 44px; font-size: 16px; border-radius: 10px;
  }
  .trial-modal-v2 .hs-richtext .form-para { font-size: 11px; margin-top: 4px; }
  .trial-modal-v2 .cta { padding: 4px 0 0; }
  .trial-modal-v2 .trial-modal-submit {
    padding: 14px 18px; font-size: 14px; border-radius: 10px;
  }
}

/* ===== Mobile optimisation sweep ===== */
@media (max-width: 640px) {
  /* Location info: stack label above value, give times room */
  .location-info table,
  .location-info tbody,
  .location-info tr,
  .location-info td { display: block; width: 100%; }
  .location-info tr { padding: 14px 0; border-bottom: 1px solid #eee; }
  .location-info table td {
    padding: 2px 0 !important;
    border: 0 !important;
    font-size: 15px;
  }
  .location-info table tr:first-child td {
    font-size: 26px;
    border-bottom: 2px solid #111;
    padding-bottom: 10px !important;
  }
  .location-info table td:first-child {
    font-family: "Moderat-Bold", "Inter", sans-serif;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.14em;
    color: #777;
    margin-bottom: 4px;
  }

  /* Hours nested table: day | time on one row, nowrap times */
  .hours-table { display: table !important; width: 100% !important; }
  .hours-table tbody { display: table-row-group !important; }
  .hours-table tr {
    display: table-row !important;
    padding: 0 !important;
    border: 0 !important;
  }
  .hours-table td {
    display: table-cell !important;
    padding: 6px 0 !important;
    font-size: 14px !important;
    white-space: nowrap;
    vertical-align: top;
  }
  .hours-table td:first-child {
    font-family: "Moderat-Bold", "Inter", sans-serif;
    width: 110px;
    text-transform: none;
    letter-spacing: 0;
    font-size: 14px;
    color: #111;
    margin: 0;
  }
  .hours-table td:last-child { text-align: right; color: #333; }

  /* Map: hide empty container if no iframe rendered */
  .map_container .image-wrapper1 { min-height: 220px; }
  .map_container iframe { min-height: 220px; }

  /* Section spacing tighter */
  .us-section { padding-top: 48px; padding-bottom: 48px; }
  .us-section h2,
  .us-section .heading-block {
    font-size: clamp(32px, 9vw, 44px) !important;
    line-height: 1 !important;
  }

  /* Buttons full-width feel better on mobile */
  .button.timetable-modal-trigger,
  .button.banner-form-button {
    width: 100%;
    text-align: center;
  }

  /* Footer tighter */
  .footer-handle { font-size: 18px; }
  .footer-app-row img { height: 38px; }

  /* Carousel-grid 2 cols on small screens */
  .carousel-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile: location row + map fixes */
@media (max-width: 640px) {
  .us-section .cont-width-box { padding-left: 20px; padding-right: 20px; }
  .us-section .uptext-box-w50 {
    width: 100% !important;
    flex: 1 1 100% !important;
    max-width: 100% !important;
    margin-bottom: 24px;
  }
  .us-section .row,
  .us-section .container { flex-direction: column !important; }
  .us-section .heading-block,
  .us-section h2 { word-break: break-word; }

  /* Don't treat first hours row as a heading */
  .location-info .hours-table tr:first-child td {
    font-family: "Moderat", "Inter", sans-serif !important;
    font-size: 14px !important;
    text-transform: none !important;
    border-bottom: 0 !important;
    padding: 6px 0 !important;
  }

  /* Map: shrink + only show if iframe present (it's conditionally rendered) */
  .us-section .map_container,
  .us-section iframe { min-height: 240px !important; }
  .map_container .image-wrapper1 { min-height: 240px; }
}

@media (max-width: 640px) {
  .cont-width-box { flex-direction: column !important; }
  .cont-width-box .uptext-box-w50 {
    width: 100% !important;
    max-width: 100% !important;
  }
  .m-30 { padding: 0 !important; }
  .hours-table td:last-child { white-space: normal; }
}

/* HARD reset of cont-width-box on mobile */
@media (max-width: 768px) {
  body .cont-width-box {
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
  }
  body .cont-width-box > .uptext-box-w50,
  body .cont-width-box .uptext-box-w50.map_container {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 24px !important;
  }
  body [data-component="text-image"] .column.text,
  body [data-component="text-image"] .column.text .inner,
  body [data-component="text-image"] .column.ustext {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    text-align: left !important;
  }
}

/* Force location-info table left-aligned full-width on mobile */
@media (max-width: 768px) {
  .location-info,
  .location-info * { box-sizing: border-box; }
  .location-info {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .location-info > table {
    width: 100% !important;
    margin-left: 0 !important;
    table-layout: auto;
  }
  /* override the block-display attempt - keep as table but tight */
  .location-info table,
  .location-info tbody { display: table !important; }
  .location-info tbody { display: table-row-group !important; }
  .location-info tr { display: table-row !important; padding: 0 !important; border: 0 !important; }
  .location-info table td {
    display: table-cell !important;
    padding: 10px 6px !important;
    border-bottom: 1px solid #eee !important;
    font-size: 14px !important;
    vertical-align: top;
  }
  .location-info table td:first-child {
    width: 88px;
    font-family: "Moderat-Bold", "Inter", sans-serif;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.12em;
    color: #555;
    white-space: nowrap;
  }
  .location-info table tr:first-child td {
    font-family: "Druk", "Moderat-Bold", sans-serif !important;
    font-size: 18px !important;
    text-transform: uppercase !important;
    color: #111 !important;
    border-bottom: 2px solid #111 !important;
    letter-spacing: 0.04em !important;
  }
  .location-info table tr:first-child td:first-child {
    width: auto;
  }
  /* hours nested */
  .hours-table { table-layout: fixed; width: 100% !important; }
  .hours-table td { padding: 5px 0 !important; font-size: 13px !important; border: 0 !important; }
  .hours-table td:first-child { width: 90px; font-size: 13px !important; letter-spacing: 0 !important; text-transform: none !important; font-family: "Moderat-Bold", "Inter", sans-serif !important; color: #111 !important; }
  .hours-table td:last-child { text-align: right; white-space: nowrap; color: #333; }
  .hours-table tr:first-child td { font-family: "Moderat-Bold", "Inter", sans-serif !important; font-size: 13px !important; text-transform: none !important; border: 0 !important; color: #111 !important; letter-spacing: 0 !important; }
}

@media (max-width: 768px) {
  /* Brutally tame the location section width */
  section[data-component="text-image"].us-section,
  section[data-component="text-image"].us-section > div,
  section[data-component="text-image"].us-section .cont-width-box,
  section[data-component="text-image"].us-section .uptext-box-w50,
  section[data-component="text-image"].us-section .column,
  section[data-component="text-image"].us-section .column.text,
  section[data-component="text-image"].us-section .inner,
  section[data-component="text-image"].us-section .location-info {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
    float: none !important;
    flex: none !important;
    transform: none !important;
    left: auto !important;
    right: auto !important;
  }
  section[data-component="text-image"].us-section {
    padding: 32px 16px !important;
  }
  section[data-component="text-image"].us-section .cont-width-box {
    display: block !important;
    grid-template-columns: none !important;
  }
  section[data-component="text-image"].us-section .uptext-box-w50.map_container {
    margin-top: 16px !important;
    height: 240px !important;
    min-height: 240px !important;
  }
  section[data-component="text-image"].us-section .map_container .image-wrapper1,
  section[data-component="text-image"].us-section iframe {
    height: 240px !important;
    min-height: 240px !important;
  }
}

/* Hero form headline */
.hero-form-head {
  text-align: center;
  padding: 14px 16px 10px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  margin-bottom: 12px;
}
.hero-form-eyebrow {
  font-family: "Moderat-Bold", "Inter", sans-serif;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #0e0e10;
  background: #f6d635;
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}
.hero-form-title {
  font-family: "Druk", "Moderat-Bold", sans-serif;
  font-size: clamp(18px, 5.4vw, 22px);
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #0e0e10;
  margin: 0;
}
@media (max-width: 600px) {
  .hero-form-head { padding: 10px 12px 6px; margin-bottom: 8px; }
  .hero-form-eyebrow { font-size: 9px; margin-bottom: 6px; }
  .hero-form-title { font-size: 18px; }
}
