/*
 * Stand Up Boxing — Castle Hill Homepage
 * SaaS 2026 Light Index Experience · Release 5.4.0
 * Scoped to body.home-index-v54 so no portal, administration or inner-page
 * presentation is changed by this homepage replacement.
 */

body.home-index-v54 {
  --shell: min(1540px, calc(100% - 64px));
  background: #f7f9fc;
  color: #111827;
}

.home-index-v54 .top-strip {
  display: none;
}

.home-index-v54 .site-header {
  border-top: 4px solid #df1828;
  border-bottom: 1px solid #dfe5ec;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 8px 30px rgba(15, 23, 42, .055);
  backdrop-filter: blur(18px);
}

.home-index-v54 .nav-row {
  min-height: 78px;
  gap: 20px;
}

.home-index-v54 .brand {
  flex: 0 0 auto;
  min-width: 0;
  padding: 0;
}

.home-index-v54 .brand img {
  display: block;
  width: 220px;
  height: auto;
  max-height: 58px;
  object-fit: contain;
  filter: none;
}

.home-index-v54 .main-nav {
  gap: 1px;
}

.home-index-v54 .main-nav > a:not(.button) {
  padding: 11px 10px;
  color: #111827;
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
}

.home-index-v54 .nav-actions {
  margin-left: 12px;
}

.home-index-v54 .nav-actions .button {
  min-height: 42px;
  padding-inline: 17px;
}

.home-index-v54 main {
  overflow: hidden;
}

.home-v54 {
  background: #f7f9fc;
}

.home-v54 :where(h1, h2, h3, p) {
  text-wrap: pretty;
}

.home-v54 :where(h1, h2, h3) {
  color: #10131a;
}

/* Hero ------------------------------------------------------------------ */
.home-hero {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  background:
    radial-gradient(circle at 82% 16%, rgba(223, 24, 40, .035), transparent 28rem),
    linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
  border-bottom: 1px solid #e2e7ee;
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 90px;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(248, 250, 252, .8));
}

.home-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, .98fr);
  align-items: center;
  gap: clamp(24px, 4vw, 70px);
  min-height: 360px;
  padding-block: 42px 34px;
}

.home-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 730px;
}

.home-hero-kicker,
.home-local-kicker {
  margin: 0 0 12px;
  color: #d9182a;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.home-hero h1 {
  max-width: 780px;
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", "Roboto Condensed", sans-serif;
  font-size: clamp(56px, 4.55vw, 78px);
  line-height: .88;
  font-weight: 900;
  letter-spacing: .012em;
  text-transform: uppercase;
}

.home-hero h1 span {
  display: block;
  color: #df1828;
}

.home-hero-intro {
  max-width: 720px;
  margin: 16px 0 0;
  color: #343f50;
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.48;
}

.home-hero-intro strong {
  color: #111827;
  font-weight: 850;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.home-hero-actions .button {
  min-width: 192px;
  min-height: 48px;
  border-radius: 9px;
}

.home-location-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 0;
  color: #374151;
  font-size: 12px;
  font-weight: 750;
}

.home-location-line svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  color: #df1828;
  stroke-width: 2.1;
}

.home-hero-mark {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-width: 0;
  padding: 24px 10px 20px;
}

.home-hero-mark img {
  width: min(100%, 760px);
  height: auto;
  max-height: 260px;
  object-fit: contain;
  filter: grayscale(1) contrast(.88);
  opacity: .075;
  transform: translateY(5px) scale(1.03);
  user-select: none;
}

/* Principle strip ------------------------------------------------------- */
.home-principles-section {
  background: #fff;
  border-bottom: 1px solid #e1e6ed;
}

.home-principles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.home-principles li {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  min-width: 0;
  padding: 18px clamp(15px, 2vw, 28px);
  border-right: 1px solid #e1e6ed;
}

.home-principles li:last-child {
  border-right: 0;
}

.home-principle-number {
  color: #df1828;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 38px;
  line-height: 1;
  letter-spacing: .02em;
}

.home-principle-icon {
  display: grid;
  place-items: center;
  color: #111827;
}

.home-principle-icon svg {
  width: 32px;
  height: 32px;
  stroke-width: 1.65;
}

.home-principles strong,
.home-principles small {
  display: block;
}

.home-principles strong {
  color: #111827;
  font-size: 13px;
  line-height: 1.15;
  font-weight: 950;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.home-principles small {
  margin-top: 5px;
  color: #4b5563;
  font-size: 12px;
  line-height: 1.25;
}

/* Shared homepage headings --------------------------------------------- */
.home-section-heading {
  margin-bottom: 19px;
}

.home-section-heading-centred {
  text-align: center;
}

.home-section-heading > span {
  display: block;
  margin-bottom: 5px;
  color: #d9182a;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.home-section-heading h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", "Roboto Condensed", sans-serif;
  font-size: clamp(31px, 3vw, 44px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.home-section-heading h2::before,
.home-section-heading h2::after {
  content: "";
  width: 52px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #d6a33a);
}

.home-section-heading h2::after {
  background: linear-gradient(90deg, #d6a33a, transparent);
}

/* Class cards ----------------------------------------------------------- */
.home-classes {
  padding: 28px 0 18px;
  background:
    radial-gradient(circle at 50% -20%, rgba(223, 24, 40, .045), transparent 34rem),
    #f8fafc;
}

.home-class-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.home-class-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  background: #fff;
  border: 1px solid #dce2e9;
  border-radius: 13px;
  box-shadow: 0 9px 28px rgba(15, 23, 42, .065);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.home-class-card:hover {
  z-index: 2;
  transform: translateY(-4px);
  border-color: #c8d0db;
  box-shadow: 0 16px 36px rgba(15, 23, 42, .115);
}

.home-class-media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1.82 / 1;
  background: #0b0d11;
}

.home-class-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 -22px 34px rgba(0, 0, 0, .08);
}

.home-class-media picture,
.home-class-media img {
  width: 100%;
  height: 100%;
}

.home-class-media img {
  object-fit: cover;
  transition: transform .35s ease, filter .35s ease;
}

.home-class-card:hover .home-class-media img {
  transform: scale(1.035);
  filter: brightness(1.04);
}

.home-class-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 183px;
  padding: 15px 14px 13px;
}

.home-class-title {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
}

.home-class-title > span {
  display: grid;
  place-items: start center;
  color: #ef182b;
}

.home-class-title svg {
  width: 25px;
  height: 25px;
  stroke-width: 1.9;
}

.home-class-title h3 {
  margin: 1px 0 0;
  font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.05;
  font-weight: 950;
  letter-spacing: .005em;
  text-transform: uppercase;
}

.home-class-body p {
  margin: 10px 0 14px 40px;
  color: #303a49;
  font-size: 13px;
  line-height: 1.42;
}

.home-card-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 35px;
  margin-top: auto;
  padding: 8px 13px;
  color: #111827;
  background: #fff;
  border: 1px solid #cdd5df;
  border-radius: 7px;
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
  transition: color .18s ease, border-color .18s ease, background .18s ease;
}

.home-card-button:hover {
  color: #c91425;
  background: #fff4f5;
  border-color: rgba(223, 24, 40, .45);
}

.home-card-button span {
  font-size: 18px;
  line-height: .8;
}

.home-all-classes {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

.home-all-classes .button {
  width: min(100%, 360px);
  min-height: 43px;
  border-radius: 8px;
}

/* Coming up and next-round CTA ----------------------------------------- */
.home-booking {
  padding: 0 0 12px;
  background: #f8fafc;
}

.home-booking-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, .98fr);
  gap: 18px;
  align-items: stretch;
}

.home-coming-card,
.home-round-card {
  min-width: 0;
  overflow: hidden;
  border-radius: 14px;
}

.home-coming-card {
  background: #fff;
  border: 1px solid #dce2e9;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .055);
}

.home-coming-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 53px;
  padding: 12px 18px;
  border-bottom: 1px solid #e0e5ec;
}

.home-coming-header h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
  font-size: 19px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.home-coming-header h2 svg {
  width: 25px;
  height: 25px;
  color: #111827;
}

.home-coming-header > a {
  color: #d9182a;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.home-session-list {
  padding: 0 17px 7px;
}

.home-session-row {
  display: grid;
  grid-template-columns: 91px minmax(190px, 1fr) minmax(90px, .5fr) 76px 20px;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 7px 2px;
  color: #111827;
  border-bottom: 1px solid #e4e8ee;
  transition: background .18s ease, color .18s ease;
}

.home-session-row:last-child {
  border-bottom: 0;
}

.home-session-row:hover {
  color: #b91423;
  background: #fff7f8;
}

.home-session-time,
.home-session-class,
.home-session-spots {
  display: block;
  min-width: 0;
}

.home-session-time {
  padding-right: 10px;
  border-right: 1px solid #e0e5eb;
}

.home-session-time small,
.home-session-time strong,
.home-session-class strong,
.home-session-class small,
.home-session-spots strong,
.home-session-spots small {
  display: block;
}

.home-session-time small {
  color: #e01a2b;
  font-size: 9px;
  line-height: 1.15;
  font-weight: 950;
}

.home-session-time strong {
  margin-top: 2px;
  color: #e01a2b;
  font-size: 13px;
  line-height: 1.1;
  font-weight: 950;
}

.home-session-class strong {
  overflow: hidden;
  color: #172033;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-session-class small {
  overflow: hidden;
  margin-top: 2px;
  color: #596577;
  font-size: 10px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-session-coach {
  overflow: hidden;
  color: #344054;
  font-size: 11px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-session-spots {
  text-align: right;
}

.home-session-spots strong {
  color: #172033;
  font-size: 12px;
  line-height: 1.1;
  font-weight: 950;
}

.home-session-spots small {
  margin-top: 2px;
  color: #667085;
  font-size: 9px;
}

.home-session-arrow {
  color: #d9182a;
  font-size: 17px;
  font-weight: 900;
}

.home-session-empty {
  display: grid;
  gap: 5px;
  padding: 32px 20px;
  color: #475467;
}

.home-session-empty strong {
  color: #172033;
}

.home-round-card {
  position: relative;
  min-height: 290px;
  background: #090b0f;
  border: 1px solid #1a1e25;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .13);
}

.home-round-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, #090b0f 0%, rgba(9, 11, 15, .96) 40%, rgba(9, 11, 15, .48) 67%, rgba(9, 11, 15, .08) 100%);
}

.home-round-image,
.home-round-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.home-round-image img {
  object-fit: cover;
  object-position: center right;
}

.home-round-copy {
  position: relative;
  z-index: 2;
  width: 53%;
  padding: 28px 0 25px 30px;
  color: #fff;
}

.home-round-copy > span {
  color: #e51e30;
  font-size: 10px;
  line-height: 1.2;
  font-weight: 950;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.home-round-copy h2 {
  margin: 7px 0 8px;
  color: #fff;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", "Roboto Condensed", sans-serif;
  font-size: clamp(38px, 4vw, 58px);
  line-height: .86;
  font-weight: 900;
  letter-spacing: .025em;
  text-transform: uppercase;
}

.home-round-copy p {
  max-width: 330px;
  margin: 0 0 17px;
  color: rgba(255, 255, 255, .88);
  font-size: 13px;
  line-height: 1.42;
}

.home-round-copy .button {
  min-height: 42px;
  border-radius: 7px;
}

/* Local internal navigation -------------------------------------------- */
.home-local-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  min-height: 48px;
  margin-top: 0;
  padding: 8px 15px;
  background: #fff;
  border: 1px solid #dce2e9;
  border-radius: 12px;
  box-shadow: 0 7px 20px rgba(15, 23, 42, .045);
}

.home-local-links strong,
.home-local-links a {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
}

.home-local-links strong {
  gap: 8px;
  padding: 0 16px 0 4px;
  color: #172033;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.home-local-links strong svg {
  width: 20px;
  height: 20px;
}

.home-local-links a {
  position: relative;
  padding: 0 17px;
  color: #3d4757;
  font-size: 11px;
  font-weight: 750;
}

.home-local-links a::before {
  content: "";
  position: absolute;
  left: 0;
  width: 1px;
  height: 15px;
  background: #ef3341;
  opacity: .7;
}

.home-local-links a:hover {
  color: #c91425;
}

/* Benefits -------------------------------------------------------------- */
.home-benefits {
  padding: 10px 0 22px;
  background: #f8fafc;
}

.home-benefit-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  background: #fff;
  border: 1px solid #dce2e9;
  border-radius: 13px;
  box-shadow: 0 7px 22px rgba(15, 23, 42, .05);
}

.home-benefit-grid article {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-width: 0;
  min-height: 78px;
  padding: 13px 18px;
  border-right: 1px solid #e1e6ed;
}

.home-benefit-grid article:last-child {
  border-right: 0;
}

.home-benefit-grid article > svg {
  width: 32px;
  height: 32px;
  color: #111827;
  stroke-width: 1.6;
}

.home-benefit-grid strong,
.home-benefit-grid small {
  display: block;
}

.home-benefit-grid strong {
  color: #172033;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 950;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.home-benefit-grid small {
  margin-top: 4px;
  color: #4e596a;
  font-size: 10px;
  line-height: 1.35;
}

/* Local SEO content and FAQs ------------------------------------------- */
.home-local-content {
  padding: 42px 0 48px;
  background: #fff;
  border-top: 1px solid #e2e7ee;
}

.home-local-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(400px, .95fr);
  align-items: start;
  gap: clamp(28px, 5vw, 76px);
}

.home-local-copy h2 {
  max-width: 740px;
  margin: 0 0 17px;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", "Roboto Condensed", sans-serif;
  font-size: clamp(37px, 4vw, 58px);
  line-height: .97;
  letter-spacing: .018em;
  text-transform: uppercase;
}

.home-local-copy p {
  max-width: 770px;
  margin: 0 0 12px;
  color: #455164;
  font-size: 15px;
  line-height: 1.65;
}

.home-local-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 20px;
}

.home-local-actions .button {
  min-height: 45px;
  border-radius: 8px;
}

.home-faq-card {
  padding: 23px 24px 20px;
  background: #f8fafc;
  border: 1px solid #dce3eb;
  border-radius: 15px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .055);
}

.home-faq-card details {
  border-top: 1px solid #dfe5ec;
}

.home-faq-card details:last-of-type {
  border-bottom: 1px solid #dfe5ec;
}

.home-faq-card summary {
  position: relative;
  padding: 14px 32px 14px 0;
  color: #172033;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

.home-faq-card summary::-webkit-details-marker {
  display: none;
}

.home-faq-card summary::after {
  content: "+";
  position: absolute;
  right: 2px;
  top: 10px;
  color: #d9182a;
  font-size: 24px;
  line-height: 1;
  font-weight: 500;
}

.home-faq-card details[open] summary::after {
  content: "−";
}

.home-faq-card details p {
  margin: -3px 0 15px;
  color: #536074;
  font-size: 13px;
  line-height: 1.55;
}

.home-faq-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 17px;
  color: #c91425;
  font-size: 12px;
  font-weight: 900;
}

/* Footer on the compact homepage --------------------------------------- */
.home-index-v54 .site-footer {
  border-top-color: #d9e0e8;
}

.home-index-v54 .footer-brand img {
  width: 220px;
  max-height: 55px;
  object-fit: contain;
}

/* Responsive ------------------------------------------------------------ */
@media (max-width: 1260px) {
  .home-index-v54 .main-nav > a:not(.button) {
    padding-inline: 8px;
    font-size: 12px;
  }

  .home-class-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-class-title h3 {
    font-size: 18px;
  }

  .home-class-body {
    min-height: 172px;
  }

  .home-benefit-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-benefit-grid article:nth-child(3) {
    border-right: 0;
  }

  .home-benefit-grid article:nth-child(-n+3) {
    border-bottom: 1px solid #e1e6ed;
  }
}

@media (max-width: 1180px) {
  .home-index-v54 .nav-toggle {
    display: block;
  }

  .home-index-v54 .main-nav {
    position: fixed;
    top: 88px;
    right: 16px;
    left: 16px;
    display: none;
    overflow: auto;
    max-height: calc(100vh - 104px);
    flex-direction: column;
    align-items: stretch;
    padding: 15px;
    background: rgba(255, 255, 255, .99);
    border: 1px solid #d8e0e9;
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, .17);
  }

  .home-index-v54 .main-nav.is-open {
    display: flex;
  }

  .home-index-v54 .main-nav > a:not(.button) {
    padding: 12px;
    font-size: 14px;
  }

  .home-index-v54 .nav-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 9px 0 0;
  }

  .home-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(330px, .82fr);
  }

  .home-booking-grid {
    grid-template-columns: 1fr;
  }

  .home-round-card {
    min-height: 270px;
  }

  .home-local-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  body.home-index-v54 {
    --shell: min(100% - 36px, 1540px);
  }

  .home-hero {
    min-height: 0;
  }

  .home-hero-grid {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-block: 48px 32px;
  }

  .home-hero-copy {
    max-width: 760px;
  }

  .home-hero-mark {
    position: absolute;
    top: 50%;
    right: -11%;
    width: 68%;
    transform: translateY(-50%);
    opacity: .7;
    pointer-events: none;
  }

  .home-hero-mark img {
    opacity: .055;
  }

  .home-principles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-principles li:nth-child(2) {
    border-right: 0;
  }

  .home-principles li:nth-child(-n+2) {
    border-bottom: 1px solid #e1e6ed;
  }

  .home-local-links {
    justify-content: flex-start;
  }

  .home-benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-benefit-grid article,
  .home-benefit-grid article:nth-child(3) {
    border-right: 1px solid #e1e6ed;
  }

  .home-benefit-grid article:nth-child(even) {
    border-right: 0;
  }

  .home-benefit-grid article:nth-child(-n+4) {
    border-bottom: 1px solid #e1e6ed;
  }
}

@media (max-width: 740px) {
  .home-index-v54 .brand img {
    width: 190px;
    max-height: 50px;
  }

  .home-index-v54 .nav-row {
    min-height: 70px;
  }

  .home-index-v54 .main-nav {
    top: 80px;
  }

  .home-hero h1 {
    font-size: clamp(53px, 14vw, 76px);
  }

  .home-hero-intro {
    font-size: 16px;
  }

  .home-class-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-session-row {
    grid-template-columns: 82px minmax(0, 1fr) 62px 18px;
  }

  .home-session-coach {
    display: none;
  }

  .home-round-copy {
    width: 63%;
  }

  .home-local-links strong {
    flex-basis: 100%;
    padding-bottom: 5px;
  }

  .home-local-links a:first-of-type::before {
    display: none;
  }
}

@media (max-width: 560px) {
  body.home-index-v54 {
    --shell: min(100% - 26px, 1540px);
  }

  .home-index-v54 .brand img {
    width: 172px;
  }

  .home-index-v54 .nav-actions {
    grid-template-columns: 1fr;
  }

  .home-hero-grid {
    padding-block: 38px 25px;
  }

  .home-hero-kicker {
    max-width: 290px;
    font-size: 10px;
  }

  .home-hero h1 {
    font-size: clamp(48px, 15vw, 66px);
  }

  .home-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .home-hero-actions .button {
    width: 100%;
  }

  .home-location-line {
    align-items: flex-start;
    font-size: 11px;
  }

  .home-principles {
    grid-template-columns: 1fr;
  }

  .home-principles li,
  .home-principles li:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid #e1e6ed;
  }

  .home-principles li:last-child {
    border-bottom: 0;
  }

  .home-section-heading h2 {
    gap: 9px;
    font-size: 30px;
  }

  .home-section-heading h2::before,
  .home-section-heading h2::after {
    width: 22px;
  }

  .home-class-grid {
    grid-template-columns: 1fr;
  }

  .home-class-media {
    aspect-ratio: 2 / 1;
  }

  .home-class-body {
    min-height: 0;
  }

  .home-class-title h3 {
    font-size: 19px;
  }

  .home-session-list {
    padding-inline: 11px;
  }

  .home-coming-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .home-session-row {
    grid-template-columns: 74px minmax(0, 1fr) 19px;
    gap: 8px;
    padding-block: 10px;
  }

  .home-session-spots {
    display: none;
  }

  .home-round-card {
    min-height: 300px;
  }

  .home-round-card::after {
    background: linear-gradient(90deg, #090b0f 0%, rgba(9, 11, 15, .94) 58%, rgba(9, 11, 15, .24) 100%);
  }

  .home-round-image img {
    object-position: 62% center;
  }

  .home-round-copy {
    width: 75%;
    padding: 27px 0 24px 23px;
  }

  .home-round-copy h2 {
    font-size: 45px;
  }

  .home-local-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3px 0;
    padding: 12px;
  }

  .home-local-links strong {
    grid-column: 1 / -1;
  }

  .home-local-links a {
    padding: 6px 8px;
  }

  .home-local-links a::before {
    display: none;
  }

  .home-benefit-grid {
    grid-template-columns: 1fr;
  }

  .home-benefit-grid article,
  .home-benefit-grid article:nth-child(3),
  .home-benefit-grid article:nth-child(even) {
    border-right: 0;
    border-bottom: 1px solid #e1e6ed;
  }

  .home-benefit-grid article:last-child {
    border-bottom: 0;
  }

  .home-local-content {
    padding-block: 34px 38px;
  }

  .home-local-copy h2 {
    font-size: 39px;
  }

  .home-local-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .home-local-actions .button {
    width: 100%;
  }

  .home-faq-card {
    padding-inline: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-class-card,
  .home-class-media img {
    transition: none;
  }
}

/* Stand Up Boxing v5.5.1 — full-colour hero showcase ------------------- */
.home-hero-showcase {
  position: relative;
  z-index: 1;
  display: block;
  overflow: hidden;
  min-width: 0;
  width: 100%;
  margin: 0;
  aspect-ratio: 16 / 9;
  background: #0b0d11;
  border: 1px solid rgba(17, 24, 39, .12);
  border-radius: 24px;
  box-shadow: 0 22px 55px rgba(15, 23, 42, .18), 0 3px 10px rgba(15, 23, 42, .08);
  isolation: isolate;
}

.home-hero-showcase::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), inset 0 -70px 90px rgba(0, 0, 0, .10);
}

.home-hero-showcase picture,
.home-hero-showcase img {
  display: block;
  width: 100%;
  height: 100%;
}

.home-hero-showcase img {
  object-fit: cover;
  object-position: center;
  filter: none;
  opacity: 1;
  transform: none;
  user-select: none;
}

@media (max-width: 1180px) {
  .home-hero-showcase {
    border-radius: 20px;
  }
}

@media (max-width: 900px) {
  .home-hero-showcase {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    max-width: 760px;
    margin-top: 8px;
    aspect-ratio: 16 / 9;
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }
}

@media (max-width: 560px) {
  .home-hero-showcase {
    margin-top: 4px;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .16), 0 2px 7px rgba(15, 23, 42, .07);
  }

  .home-hero-showcase img {
    object-position: 54% center;
  }
}
