
@charset "UTF-8";
/**
* Location Hero — BFS shared module.
* Full-width hero for location detail pages.
* Uses --bfs-* contract tokens from the active theme.
*/
@layer m-location-hero {
  /* ── Root + nav offset ───────────────────────────────────────────────────── */
  .m-location-hero {
    --lh-nav-offset: var(--rd-fixed-chrome-height, 0px);
    --lh-overlay: color-mix(in srgb, var(--bfs-color-black, #191919) 50%, transparent);
    --lh-primary: var(--bfs-color-primary, #d50032);
    --lh-surface: var(--bfs-color-surface, #ffffff);
    --lh-copy: var(--bfs-color-copy, #555555);
    --lh-border: var(--bfs-color-border, #e0e0e0);
    --lh-black: var(--bfs-color-black, #191919);
    --lh-white: var(--bfs-color-white, #ffffff);
    --lh-favorite-color: var(--bfs-color-white, #ffffff);
    --lh-favorite-fill: var(--bfs-color-white, #ffffff);
    position: relative;
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: var(--bfs-font-body, system-ui, sans-serif);
    color: var(--lh-white);
  }
  /*
  * Nav offset: added to any marketer-set top padding.
  * When this module sits directly below the fixed nav, content stays visible.
  */
  .m-location-hero[data-rd-module-surface] {
    padding-top: calc(var(--lh-nav-offset) + var(--rd-surface-pt-m, 0px));
    padding-bottom: var(--rd-surface-pb-m, 0px);
  }
  .module__media>*>* {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none
  }
  @media (min-width: 48rem) {
    .m-location-hero[data-rd-module-surface] {
      padding-top: calc(var(--lh-nav-offset) + var(--rd-surface-pt-t, var(--rd-surface-pt-m, 0px)));
      padding-bottom: var(--rd-surface-pb-t, var(--rd-surface-pb-m, 0px));
    }
  }
  @media (min-width: 64rem) {
    .m-location-hero[data-rd-module-surface] {
      padding-top: calc(var(--lh-nav-offset) + var(--rd-surface-pt-l, var(--rd-surface-pt-t, var(--rd-surface-pt-m, 0px))));
      padding-bottom: var(--rd-surface-pb-l, var(--rd-surface-pb-t, var(--rd-surface-pb-m, 0px)));
    }
  }
  @media (min-width: 80rem) {
    .m-location-hero[data-rd-module-surface] {
      padding-top: calc(var(--lh-nav-offset) + var(--rd-surface-pt-d, var(--rd-surface-pt-l, var(--rd-surface-pt-t, var(--rd-surface-pt-m, 0px)))));
      padding-bottom: var(--rd-surface-pb-d, var(--rd-surface-pb-l, var(--rd-surface-pb-t, var(--rd-surface-pb-m, 0px))));
    }
  }
  /* ── Tall variant ────────────────────────────────────────────────────────── */
  .m-location-hero--tall .m-location-hero__content {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }
  @media (min-width: 64rem) {
    .m-location-hero--tall .m-location-hero__content {
      padding-top: 10.3125rem; /* ~165px */
      padding-bottom: 11.875rem; /* ~190px */
    }
  }
  /* ── Background video ────────────────────────────────────────────────────── */
  .m-location-hero__video {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
  }
  .m-location-hero__video video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .m-location-hero__video--overlay::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: var(--lh-overlay, color-mix(in srgb, var(--bfs-color-black, #191919) 50%, transparent));
    pointer-events: none;
  }
  .m-location-hero__video--overlay video {
    position: relative;
    z-index: 0;
  }
  /* ── Container ───────────────────────────────────────────────────────────── */
  .m-location-hero__container {
    position: relative;
    z-index: 1;
    margin-inline: auto;
    padding-inline: max(1.25rem, (100% - var(--bfs-content-max-width, 80rem)) / 2);
    padding-top: 3rem;
    padding-bottom: 2.5rem;
  }
  .m-location-hero--coming-soon .m-location-hero__container {
    padding-top: 0;
  }
  @media (min-width: 48rem) {
    .m-location-hero__container {
      padding-top: 0;
      padding-bottom: 0;
      min-height: 35rem;
      display: flex;
      align-items: center;
      justify-content: flex-start;
    }
    .m-location-hero--coming-soon .m-location-hero__container {
      padding-top: 5rem;
    }
    /* ── Content placement modifiers (desktop) ─────────────────────────────── */
    .m-location-hero--placement-center .m-location-hero__container {
      justify-content: center;
    }
    .m-location-hero--placement-right .m-location-hero__container {
      justify-content: flex-end;
    }
  }
  /* ── Text alignment — desktop (data-rd-align on section) ─────────────────── */
  @media (min-width: 48rem) {
    .m-location-hero[data-rd-align=center] .m-location-hero__content,
    .m-location-hero[data-rd-align=center] .m-location-hero__ribbon {
      text-align: center;
    }
    .m-location-hero[data-rd-align=center] .m-location-hero__actions {
      justify-content: center;
    }
    .m-location-hero[data-rd-align=right] .m-location-hero__content,
    .m-location-hero[data-rd-align=right] .m-location-hero__ribbon {
      text-align: right;
    }
    .m-location-hero[data-rd-align=right] .m-location-hero__actions {
      justify-content: flex-end;
    }
  }
  /* ── Text alignment — mobile (data-rd-align-m on section) ───────────────── */
  @media (max-width: 47.99rem) {
    .m-location-hero[data-rd-align-m=left] .m-location-hero__content,
    .m-location-hero[data-rd-align=left]:not([data-rd-align-m]) .m-location-hero__content,
    .m-location-hero[data-rd-align-m=left] .m-location-hero__ribbon,
    .m-location-hero[data-rd-align=left]:not([data-rd-align-m]) .m-location-hero__ribbon {
      text-align: left;
    }
    .m-location-hero[data-rd-align-m=left] .m-location-hero__actions,
    .m-location-hero[data-rd-align=left]:not([data-rd-align-m]) .m-location-hero__actions {
      justify-content: flex-start;
    }
    .m-location-hero[data-rd-align-m=center] .m-location-hero__content,
    .m-location-hero[data-rd-align=center]:not([data-rd-align-m]) .m-location-hero__content,
    .m-location-hero[data-rd-align-m=center] .m-location-hero__ribbon,
    .m-location-hero[data-rd-align=center]:not([data-rd-align-m]) .m-location-hero__ribbon {
      text-align: center;
    }
    .m-location-hero[data-rd-align-m=center] .m-location-hero__actions,
    .m-location-hero[data-rd-align=center]:not([data-rd-align-m]) .m-location-hero__actions {
      justify-content: center;
    }
    .m-location-hero[data-rd-align-m=right] .m-location-hero__content,
    .m-location-hero[data-rd-align=right]:not([data-rd-align-m]) .m-location-hero__content,
    .m-location-hero[data-rd-align-m=right] .m-location-hero__ribbon,
    .m-location-hero[data-rd-align=right]:not([data-rd-align-m]) .m-location-hero__ribbon {
      text-align: right;
    }
    .m-location-hero[data-rd-align-m=right] .m-location-hero__actions,
    .m-location-hero[data-rd-align=right]:not([data-rd-align-m]) .m-location-hero__actions {
      justify-content: flex-end;
    }
  }
  /* ── Ribbon / badge ─────────────────────────────────────────────────────── */
  .m-location-hero__ribbon {
    display: block;
    width: 100%;
    max-width: 18rem;
/*     height: 5rem; */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left center;
    margin-bottom: 1.25rem;
  }
  .m-location-hero__ribbon--pinned {
    margin-bottom: 0.75rem;
  }
  .m-location-hero__content--cols-8 ~ * .m-location-hero__ribbon--pinned,
  .m-location-hero__title .m-location-hero__ribbon--pinned {
    margin-left: 0;
  }
  /* ── Content area ────────────────────────────────────────────────────────── */
  .m-location-hero__content {
    position: relative;
    z-index: 2;
    width: 100%;
  }
  @media (min-width: 48rem) {
    .m-location-hero__content--cols-12 {
      max-width: 100%;
    }
    .m-location-hero__content--cols-10 {
      max-width: 83.333%;
    }
    .m-location-hero__content--cols-8 {
      max-width: 66.667%;
    }
    .m-location-hero__content--cols-6 {
      max-width: 50%;
    }
    .m-location-hero__content--cols-4 {
      max-width: 33.333%;
    }
  }
  /* ── Title ──────────────────────────────────────────────────────────────── */
  .m-location-hero__title {
    position: relative;
    margin-bottom: 1rem;
    font-family: var(--bfs-font-heading, system-ui, sans-serif);
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    color: inherit;
    text-transform: uppercase;
  }
  @media (min-width: 48rem) {
    .m-location-hero__title {
      margin-bottom: 1rem;
      font-size: clamp(2.5rem, 5vw, 4rem);
      line-height: 1;
    }
   {# .m-location-hero__title-copy {
      line-height: 4.5rem; 
      /* ~72px, matches legacy */
    } #}
  }
  /* ── Copy ────────────────────────────────────────────────────────────────── */
  .m-location-hero__copy {
    margin-bottom: 1.5rem;
    font-family: var(--bfs-font-body, system-ui, sans-serif);
    font-size: 1rem;
    line-height: 1.5;
    color: inherit;
  }
  /* ── Actions / CTAs ─────────────────────────────────────────────────────── */
  .m-location-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
    align-items: center;
  }
  .m-location-hero__actions[data-count="1"] .button {
    margin-inline: 0;
  }
  /* ── Favorite button ────────────────────────────────────────────────────── */
  .m-location-hero__favorite {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: -0.3125rem; /* account for font baseline */
    margin-bottom: 0.5rem;
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 0;
    min-height: 2.125rem;
    vertical-align: text-top;
    color: var(--lh-favorite-color);
    fill: var(--lh-favorite-fill);
    user-select: none;
    font-size: inherit;
    font-family: inherit;
    line-height: 1.4;
  }
  .m-location-hero__favorite svg {
    position: relative;
    margin-right: 0.625rem;
    width: 1.75rem;
    height: 1.75rem;
    color: var(--lh-favorite-fill);
    fill: var(--lh-favorite-fill);
    flex-shrink: 0;
  }
  .m-location-hero__favorite svg.heart {
    color: var(--lh-favorite-fill);
    fill: var(--lh-favorite-fill);
  }
  /* ── Sub-text ────────────────────────────────────────────────────────────── */
  .m-location-hero__sub-text {
    margin-top: 1rem;
    font-size: 1.5rem;
    line-height: 2rem;
    color: inherit;
  }
  /* ── LA Fitness button ───────────────────────────────────────────────────── */
  .m-location-hero__lafitness {
    display: inline-flex;
    align-items: center;
    appearance: none;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
    min-height: 2.125rem;
    vertical-align: middle;
    margin-bottom: 0.5rem;
  }
  .m-location-hero__lafitness--below-cta {
    margin-top: 1.25rem;
    width: 100%;
  }
  @media (max-width: 47.99rem) {
    .m-location-hero__lafitness {
      margin-top: 1.5rem;
      width: 100%;
    }
  }
  @media (min-width: 48rem) {
    .m-location-hero__lafitness {
      margin-left: 2rem;
      width: auto;
    }
    .m-location-hero__lafitness--below-cta {
      margin-left: 0;
      margin-top: 1.25rem;
    }
  }
  .m-location-hero__info {
    margin-right: 0.625rem;
    border: 2px solid #fff;
    border-radius: 50%;
    padding: 2px 9px;
    vertical-align: top;
    text-indent: 0;
    line-height: 1;
    color: #fff;
    font-family: serif;
    font-size: 1rem;
    font-weight: 800;
  }
  .m-location-hero__logo {
    width: 8.75rem; /* 140px */
    display: block;
  }
  .m-location-hero__logo img {
    width: 100%;
  }
  /* ── Background name overlay (offset1 style) ─────────────────────────────── */
  .m-location-hero__bg-name {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100vw - 15px);
    height: 100%;
    overflow: hidden;
    opacity: 0;
    transition: opacity 1.5s ease 0.7s;
    pointer-events: none;
  }
  .m-location-hero__bg-name.is-visible {
    opacity: 1;
  }
  .m-location-hero__bg-name span {
    position: absolute;
    bottom: 4px;
    left: 54vw;
    text-transform: uppercase;
    line-height: 0.7;
    white-space: nowrap;
    color: #fff;
    font-family: var(--bfs-font-heading, system-ui, sans-serif);
    font-size: 21.25rem; /* 340px */
  }
  @media (min-width: 48rem) {
    .m-location-hero__bg-name {
      display: block;
    }
  }
  /* ── Video modal ─────────────────────────────────────────────────────────── */
  .m-location-hero__cta-video {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
  }
  .m-location-hero__cta-video.is-open {
    display: flex;
  }
  .m-location-hero__cta-video [data-modal-ui-overlay] {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
  }
  .m-location-hero__cta-video [data-modal-dialog] {
    position: relative;
    z-index: 1;
    width: 90vw;
    max-width: 56rem;
  }
  .m-location-hero__cta-video video {
    display: block;
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: cover;
  }
  .m-location-hero__close-modal {
    position: absolute;
    top: -2rem;
    right: 0;
    appearance: none;
    border: none;
    background: transparent;
    cursor: pointer;
    color: #fff;
    font-size: 1.5rem;
    line-height: 1;
    padding: 0.25rem 0.5rem;
  }
  /* ── LA Fitness info modal ──────────────────────────────────────────────── */
  .m-location-hero__lafitness-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
  }
  .m-location-hero__lafitness-modal.is-open {
    display: flex;
  }
  .m-location-hero__lafitness-modal [data-modal-ui-overlay] {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
  }
  .m-location-hero__lafitness-modal [data-modal-dialog] {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    background: #fff;
    padding: 2rem;
    max-width: 90vw;
    width: 28rem;
  }
  .m-location-hero__lafitness-modal-title {
    text-transform: uppercase;
    line-height: 1.25rem;
    letter-spacing: 0.04em;
    color: #495157;
    font-size: 0.75rem;
    font-weight: 700;
  }
  .m-location-hero__lafitness-modal-logo {
    width: 12.1875rem; /* 195px */
  }
  .m-location-hero__lafitness-modal-logo img {
    width: 100%;
  }
  .m-location-hero__lafitness-modal-details,
  .m-location-hero__lafitness-modal-link {
    line-height: 1.5rem;
    color: #495157;
    font-size: 1rem;
    text-decoration: none;
  }
  .m-location-hero__lafitness-modal .button[data-modal-ui-close] {
    display: block;
    position: relative;
    margin: 0 auto;
    width: auto;
    height: auto;
  }
}