.edge-locations {
    --edge-locations-bg: #f4f3ef;
    --edge-locations-text: #111312;
    --edge-locations-muted: #727570;
    --edge-locations-accent: #758f70;
    --edge-locations-panel: #f8f7f3;
    --edge-locations-radius: 18px;
    --edge-locations-gap: 10px;
    --edge-locations-overlay: 0.45;
    --edge-locations-button-text: #fff;
    --edge-locations-button-bg: #758f70;
    --edge-locations-button-hover: #111312;
    --edge-locations-button-hover-text: #fff;
    --edge-locations-gallery-active-flex: 3.2;
    --edge-locations-gallery-inactive-flex: 0.55;
    --edge-locations-gallery-rail-width: 74px;
    --edge-locations-gallery-copy-padding: clamp(28px, 3vw, 50px);
    --edge-locations-gallery-content-position: flex-end;
    --edge-locations-gallery-cta-gap: 24px;
    --edge-locations-gallery-cta-align: flex-end;
    --edge-locations-mobile-card-width: 90%;
    --edge-locations-mobile-card-height: 520px;
    --edge-locations-mobile-gap: 14px;
    position: relative;
    display: flex;
    width: 100%;
    min-width: 0;
    min-height: 0;
    align-items: center;
    overflow: hidden;
    padding: 72px 64px;
    background: var(--edge-locations-bg);
    color: var(--edge-locations-text);
    isolation: isolate;
    container-type: inline-size;
}

.edge-locations,
.edge-locations * {
    box-sizing: border-box;
}

.edge-locations button,
.edge-locations a {
    font: inherit;
}

.edge-locations button {
    color: inherit;
}

.edge-locations__inner {
    width: 100%;
    max-width: 1760px;
    margin: 0 auto;
}

.edge-locations__heading {
    max-width: 560px;
    margin: 0;
    color: var(--edge-locations-text);
    font-size: clamp(54px, 5.6vw, 106px);
    font-weight: 650;
    line-height: 0.86;
    letter-spacing: -0.055em;
}

.edge-locations__heading em {
    display: block;
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 400;
    line-height: 0.86;
}

.edge-locations__heading span {
    display: block;
}

.edge-locations__heading--compact {
    font-size: clamp(34px, 3.1vw, 58px);
    line-height: 0.94;
}

.edge-locations__heading--compact em,
.edge-locations__heading--compact span {
    display: inline;
}

.edge-locations__rule {
    display: block;
    width: 44px;
    height: 3px;
    margin: 28px 0 24px;
    background: var(--edge-locations-accent);
}

.edge-locations__intro,
.edge-locations__description,
.edge-locations__meta,
.edge-locations__address,
.edge-locations__coordinates {
    margin: 0;
}

.edge-locations__intro {
    max-width: 390px;
    font-size: clamp(17px, 1.3vw, 24px);
    line-height: 1.45;
}

.edge-locations__city {
    margin: 0;
    font-size: clamp(34px, 3vw, 58px);
    font-weight: 650;
    line-height: 1;
    letter-spacing: -0.035em;
}

.edge-locations__meta {
    font-size: clamp(14px, 1.05vw, 19px);
    line-height: 1.4;
}

.edge-locations__description,
.edge-locations__address {
    font-size: clamp(15px, 1vw, 19px);
    line-height: 1.48;
}

.edge-locations__coordinates {
    color: var(--edge-locations-muted);
    font-size: 13px;
    line-height: 1.4;
}

.edge-locations img.edge-locations__image,
.edge-locations__image-placeholder {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover !important;
    object-position: center center;
}

.edge-locations__image-placeholder {
    background: #d9ddd7;
}

.edge-locations__shade {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, var(--edge-locations-overlay));
    pointer-events: none;
}

.edge-locations .edge-locations__cta,
.edge-locations .edge-locations__cta:link,
.edge-locations .edge-locations__cta:visited {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 999px;
    background-color: var(--edge-locations-button-bg) !important;
    color: var(--edge-locations-button-text) !important;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition: background-color 220ms ease, color 220ms ease, transform 220ms ease;
}

.edge-locations .edge-locations__cta:hover,
.edge-locations .edge-locations__cta:focus-visible {
    background-color: var(--edge-locations-button-hover) !important;
    color: var(--edge-locations-button-hover-text) !important;
    transform: translateY(-2px);
}

.edge-locations__cta--disabled {
    opacity: 0.58;
    cursor: not-allowed;
    pointer-events: none;
}

.edge-locations .edge-locations__cta--disabled:hover {
    background-color: var(--edge-locations-button-bg) !important;
    color: var(--edge-locations-button-text) !important;
    transform: none;
}

.edge-locations__cta:focus-visible,
.edge-locations__nav:focus-visible,
.edge-locations__atlas-item:focus-visible,
.edge-locations__gallery-select:focus-visible {
    outline: 2px solid var(--edge-locations-accent);
    outline-offset: 4px;
}

.edge-locations__counter {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: var(--edge-locations-muted);
    font-size: 15px;
}

.edge-locations__counter strong {
    color: var(--edge-locations-text);
    font-size: 19px;
    font-weight: 650;
}

.edge-locations__controls {
    display: flex;
    gap: 12px;
}

.edge-locations__nav {
    display: inline-flex;
    width: 54px;
    height: 54px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(17, 19, 18, 0.25);
    border-radius: 50%;
    background-color: transparent !important;
    color: var(--edge-locations-text) !important;
    cursor: pointer;
    transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.edge-locations .edge-locations__nav:hover,
.edge-locations .edge-locations__nav:focus-visible {
    border-color: var(--edge-locations-accent) !important;
    background-color: var(--edge-locations-accent) !important;
    color: #fff !important;
}

.edge-locations__empty {
    padding: 32px;
    border: 1px dashed var(--edge-locations-muted);
    border-radius: 12px;
    color: var(--edge-locations-muted);
    text-align: center;
}

.edge-locations__sr-status {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Cascading Cinema */
.edge-locations__cinema-layout {
    display: grid;
    min-height: 0;
    grid-template-columns: minmax(260px, 0.78fr) minmax(0, 2.22fr);
    align-items: center;
    gap: clamp(36px, 5vw, 96px);
}

.edge-locations__cinema-copy {
    display: flex;
    min-height: 0;
    flex-direction: column;
    justify-content: space-between;
    padding-block: 60px 24px;
}

.edge-locations__cinema-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.edge-locations__cinema-stage {
    position: relative;
    width: 100%;
    height: var(--edge-locations-cinema-height, 650px);
    min-height: 0;
    touch-action: pan-y;
    user-select: none;
}

.edge-locations__cinema-card {
    --edge-card-x: 0%;
    --edge-card-scale: 1;
    --edge-card-opacity: 1;
    --edge-card-z: 5;
    position: absolute;
    inset: 0 auto 0 0;
    z-index: var(--edge-card-z);
    width: 70%;
    height: 100%;
    overflow: hidden;
    border-radius: var(--edge-locations-radius);
    background: #d9ddd7;
    opacity: var(--edge-card-opacity);
    transform: translate3d(var(--edge-card-x), 0, 0) scale(var(--edge-card-scale));
    transform-origin: right center;
    cursor: pointer;
    transition: transform 760ms cubic-bezier(0.22, 1, 0.36, 1), opacity 500ms ease, filter 500ms ease;
}

.edge-locations__cinema-card:not(.is-active) {
    filter: saturate(0.76) brightness(0.9);
}

.edge-locations__cinema-card .edge-locations__shade {
    opacity: 0.24;
    transition: opacity 460ms ease;
}

.edge-locations__cinema-card.is-active .edge-locations__shade {
    opacity: 0.76;
}

.edge-locations__cinema-rail-name {
    position: absolute;
    right: 18px;
    bottom: 24px;
    z-index: 2;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    opacity: 1;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    transition: opacity 220ms ease;
}

.edge-locations__cinema-card.is-active .edge-locations__cinema-rail-name {
    opacity: 0;
}

.edge-locations__cinema-card-copy {
    position: absolute;
    inset: auto 0 0;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 8px 24px;
    padding: clamp(22px, 3vw, 42px);
    color: #fff;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 360ms ease 160ms, transform 500ms cubic-bezier(0.22, 1, 0.36, 1) 160ms;
}

.edge-locations__cinema-card.is-active .edge-locations__cinema-card-copy {
    opacity: 1;
    transform: translateY(0);
}

.edge-locations__cinema-card-copy .edge-locations__meta {
    grid-column: 1;
}

.edge-locations__cinema-card-copy .edge-locations__cta {
    grid-row: 1 / span 2;
    grid-column: 2;
    min-width: 180px;
}

/* Editorial Atlas */
.edge-locations__atlas-layout {
    display: grid;
    min-height: 0;
    grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.72fr);
    align-items: stretch;
    gap: clamp(42px, 6vw, 120px);
}

.edge-locations__atlas-nav {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.edge-locations__atlas-list {
    margin-top: 42px;
}

.edge-locations__atlas-item {
    position: relative;
    display: grid;
    width: 100%;
    grid-template-columns: 42px 1fr;
    align-items: center;
    gap: 18px;
    padding: 18px 0;
    border: 0;
    border-bottom: 1px solid rgba(17, 19, 18, 0.16);
    background-color: transparent !important;
    color: var(--edge-locations-muted) !important;
    text-align: left;
    cursor: pointer;
    transition: color 220ms ease;
}

.edge-locations__atlas-item::after {
    position: absolute;
    right: 0;
    bottom: -1px;
    width: 0;
    height: 3px;
    background: var(--edge-locations-accent);
    content: '';
    transition: width 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.edge-locations .edge-locations__atlas-item:hover,
.edge-locations .edge-locations__atlas-item:focus-visible,
.edge-locations .edge-locations__atlas-item[aria-pressed='true'] {
    background-color: transparent !important;
    color: var(--edge-locations-text) !important;
}

.edge-locations__atlas-item[aria-pressed='true']::after {
    width: 40%;
}

.edge-locations__atlas-item > span {
    color: var(--edge-locations-muted);
    font-size: 13px;
}

.edge-locations__atlas-item[aria-pressed='true'] > span {
    color: var(--edge-locations-accent);
    font-weight: 650;
}

.edge-locations__atlas-name {
    font-size: clamp(20px, 1.7vw, 31px);
    font-weight: 450;
    line-height: 1.15;
}

.edge-locations__atlas-item[aria-pressed='true'] .edge-locations__atlas-name {
    font-weight: 650;
}

.edge-locations__atlas-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: auto;
    padding-top: 34px;
}

.edge-locations__atlas-stage {
    position: relative;
    height: var(--edge-locations-atlas-height, 650px);
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    border-radius: var(--edge-locations-radius);
    background: #d9ddd7;
    touch-action: pan-y;
}

.edge-locations__atlas-panel {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transform: scale(1.035);
    transition: opacity 520ms ease, transform 780ms cubic-bezier(0.22, 1, 0.36, 1);
}

.edge-locations__atlas-panel.is-active {
    z-index: 2;
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

.edge-locations__atlas-card {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 2;
    display: flex;
    width: min(52%, 520px);
    min-height: 300px;
    flex-direction: column;
    align-items: flex-start;
    padding: clamp(28px, 3vw, 48px);
    background: var(--edge-locations-panel);
    color: var(--edge-locations-text);
    transform: translateY(14px);
    transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1) 140ms;
}

.edge-locations__atlas-panel.is-active .edge-locations__atlas-card {
    transform: translateY(0);
}

.edge-locations__atlas-card .edge-locations__rule {
    margin: 22px 0;
}

.edge-locations__atlas-card .edge-locations__cta {
    width: 100%;
    margin-top: 24px;
}

.edge-locations__atlas-card .edge-locations__coordinates {
    margin-top: 20px;
}

/* Spatial Gallery */
.edge-locations__gallery-layout {
    display: flex;
    min-height: 0;
    flex-direction: column;
}

.edge-locations__gallery-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 34px;
}

.edge-locations__gallery-header .edge-locations__rule,
.edge-locations__gallery-header .edge-locations__intro {
    display: none;
}

.edge-locations__gallery-status {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 10px;
    font-size: 15px;
}

.edge-locations__gallery-status .edge-locations__counter strong {
    color: var(--edge-locations-accent);
}

.edge-locations__gallery-track {
    display: flex;
    height: var(--edge-locations-gallery-height, 570px);
    min-height: 0;
    flex: 0 0 auto;
    gap: var(--edge-locations-gap);
    touch-action: pan-y;
    user-select: auto;
}

.edge-locations__gallery-panel {
    position: relative;
    min-width: var(--edge-locations-gallery-rail-width);
    flex: var(--edge-locations-gallery-inactive-flex) 1 0;
    overflow: hidden;
    border-radius: var(--edge-locations-radius);
    background: #d9ddd7;
    cursor: pointer;
    transition: flex 780ms cubic-bezier(0.22, 1, 0.36, 1), filter 420ms ease;
}

.edge-locations__gallery-panel.is-active {
    flex: var(--edge-locations-gallery-active-flex) 1 0;
    cursor: default;
}

.edge-locations__gallery-panel:not(.is-active) {
    filter: saturate(0.7) brightness(0.82);
}

.edge-locations__gallery-select {
    position: absolute;
    inset: 0;
    z-index: 4;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background-color: transparent !important;
    color: transparent !important;
    cursor: pointer;
}

.edge-locations .edge-locations__gallery-select:hover,
.edge-locations .edge-locations__gallery-select:focus,
.edge-locations .edge-locations__gallery-select:active {
    border-color: transparent !important;
    background-color: transparent !important;
    color: transparent !important;
    box-shadow: none !important;
}

.edge-locations__gallery-panel.is-active .edge-locations__gallery-select {
    pointer-events: none;
}

.edge-locations__gallery-panel .edge-locations__shade {
    opacity: 0.8;
    transition: opacity 420ms ease;
}

.edge-locations__gallery-panel.is-active .edge-locations__shade {
    opacity: 0.86;
}

.edge-locations__gallery-rail-name {
    position: absolute;
    top: 28px;
    left: 50%;
    z-index: 3;
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    line-height: 1;
    writing-mode: vertical-rl;
    transform: translateX(-50%) rotate(180deg);
    transition: opacity 220ms ease;
}

.edge-locations__gallery-panel.is-active .edge-locations__gallery-rail-name {
    opacity: 0;
}

.edge-locations__gallery-copy {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    width: 100%;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: var(--edge-locations-gallery-content-position);
    padding: var(--edge-locations-gallery-copy-padding);
    color: #fff;
    opacity: 0;
    pointer-events: none;
    transform: translateY(18px);
    transition: opacity 340ms ease 220ms, transform 520ms cubic-bezier(0.22, 1, 0.36, 1) 220ms;
}

.edge-locations__gallery-panel.is-active .edge-locations__gallery-copy {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.edge-locations__gallery-text {
    width: 100%;
    max-width: 720px;
}

.edge-locations__gallery-pill {
    position: absolute;
    top: 28px;
    left: 28px;
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    padding: 10px 24px;
    border-radius: 999px;
    background: var(--edge-locations-accent);
    font-size: 14px;
}

.edge-locations__gallery-text .edge-locations__meta {
    margin-top: 10px;
}

.edge-locations__gallery-text .edge-locations__description {
    max-width: 620px;
    margin-top: 18px;
}

.edge-locations__gallery-actions {
    display: flex;
    width: 100%;
    justify-content: var(--edge-locations-gallery-cta-align);
    margin-top: var(--edge-locations-gallery-cta-gap);
}

.edge-locations__gallery-copy .edge-locations__cta {
    position: static;
    max-width: 100%;
}

.edge-locations__gallery-mobile-controls {
    display: none;
}

.edge-locations.is-dragging [data-edge-drag-area] {
    cursor: grabbing;
    user-select: none;
}

.edge-locations__mobile-swiper {
    display: none;
    width: 100%;
    min-width: 0;
}

.edge-locations__mobile-swiper-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 26px;
}

.edge-locations__mobile-swiper-header .edge-locations__intro-block {
    min-width: 0;
}

.edge-locations__mobile-swiper-meta {
    flex: none;
    padding-top: 8px;
}

.edge-locations__mobile-swiper-viewport {
    width: 100%;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
}

.edge-locations__mobile-swiper-viewport::-webkit-scrollbar {
    display: none;
}

.edge-locations[data-drag='false'].is-mobile-swiper .edge-locations__mobile-swiper-viewport {
    overflow-x: hidden;
    touch-action: pan-y;
}

.edge-locations__mobile-swiper-viewport:focus-visible {
    outline: 2px solid var(--edge-locations-accent);
    outline-offset: 6px;
}

.edge-locations__mobile-swiper-track {
    display: flex;
    width: 100%;
    min-width: 100%;
    align-items: stretch;
    gap: var(--edge-locations-mobile-gap);
    padding-right: max(20px, calc(100% - var(--edge-locations-mobile-card-width)));
}

.edge-locations__mobile-slide {
    position: relative;
    width: var(--edge-locations-mobile-card-width);
    min-width: var(--edge-locations-mobile-card-width);
    height: var(--edge-locations-mobile-card-height);
    flex: 0 0 var(--edge-locations-mobile-card-width);
    overflow: hidden;
    border-radius: var(--edge-locations-radius);
    background: #d9ddd7;
    color: #fff;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    isolation: isolate;
}

.edge-locations__mobile-slide .edge-locations__image,
.edge-locations__mobile-slide .edge-locations__image-placeholder {
    z-index: 0;
    transform: scale(1.015);
    transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.edge-locations__mobile-slide.is-active .edge-locations__image,
.edge-locations__mobile-slide.is-active .edge-locations__image-placeholder {
    transform: scale(1);
}

.edge-locations__mobile-slide-shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(8, 14, 12, 0.08) 24%, rgba(8, 14, 12, 0.28) 52%, rgba(8, 14, 12, 0.82) 100%);
    pointer-events: none;
}

.edge-locations__mobile-slide-pill {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 2;
    display: inline-flex;
    max-width: calc(100% - 36px);
    min-height: 38px;
    align-items: center;
    padding: 9px 18px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--edge-locations-accent);
    color: #fff;
    font-size: 13px;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.edge-locations__mobile-slide-copy {
    position: absolute;
    inset: auto 0 0;
    z-index: 2;
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    color: #fff;
}

.edge-locations__mobile-slide-text {
    width: 100%;
}

.edge-locations__mobile-slide .edge-locations__city {
    color: #fff;
    font-size: clamp(31px, 9.2vw, 46px);
}

.edge-locations__mobile-slide .edge-locations__meta {
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.9);
}

.edge-locations__mobile-slide .edge-locations__description {
    display: -webkit-box;
    max-width: 34em;
    margin-top: 14px;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.88);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.edge-locations__mobile-slide-actions {
    width: 100%;
    margin-top: 20px;
}

.edge-locations__mobile-slide-actions .edge-locations__cta {
    width: auto;
    max-width: 100%;
}

.edge-locations__mobile-swiper-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 18px;
}

.edge-locations__mobile-swiper-hint {
    color: var(--edge-locations-muted);
    font-size: 13px;
    line-height: 1.3;
}

.edge-locations__mobile-nav svg {
    width: 20px;
    height: 20px;
    pointer-events: none;
}

.edge-locations .edge-locations__mobile-nav:disabled,
.edge-locations .edge-locations__mobile-nav[aria-disabled='true'] {
    border-color: rgba(17, 19, 18, 0.12) !important;
    background: transparent !important;
    color: rgba(17, 19, 18, 0.3) !important;
    opacity: 1;
    cursor: default;
    pointer-events: none;
}

.edge-locations.is-mobile-swiper .edge-locations__cinema-layout,
.edge-locations.is-mobile-swiper .edge-locations__atlas-layout,
.edge-locations.is-mobile-swiper .edge-locations__gallery-layout {
    display: none !important;
}

.edge-locations.is-mobile-swiper .edge-locations__mobile-swiper {
    display: block;
}

.edge-locations.is-mobile-swiper {
    align-items: stretch;
}

/* Container-aware responsive states are applied by JS from the actual widget width.
 * Viewport media queries remain as a no-JS fallback. */
.edge-locations.is-edge-medium {
    align-items: stretch;
}

.edge-locations.is-edge-compact .edge-locations__cinema-layout,
.edge-locations.is-edge-compact .edge-locations__atlas-layout {
    display: flex;
    min-height: 0;
    flex-direction: column;
    gap: clamp(28px, 5vw, 42px);
}

.edge-locations.is-edge-compact .edge-locations__cinema-copy {
    display: contents;
}

.edge-locations.is-edge-compact .edge-locations__cinema-copy .edge-locations__intro-block {
    order: 0;
}

.edge-locations.is-edge-compact .edge-locations__cinema-stage {
    order: 1;
}

.edge-locations.is-edge-compact .edge-locations__cinema-navigation {
    order: 2;
}

.edge-locations.is-edge-compact .edge-locations__cinema-card {
    width: 100%;
    transform-origin: center;
}

.edge-locations.is-edge-compact .edge-locations__cinema-rail-name {
    display: none;
}

.edge-locations.is-edge-compact .edge-locations__cinema-card-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: clamp(24px, 4vw, 34px);
}

.edge-locations.is-edge-compact .edge-locations__cinema-card-copy .edge-locations__cta {
    min-width: 0;
    margin-top: 12px;
}

.edge-locations.is-edge-compact .edge-locations__atlas-nav {
    display: contents;
}

.edge-locations.is-edge-compact .edge-locations__atlas-nav .edge-locations__intro-block {
    order: 0;
}

.edge-locations.is-edge-compact .edge-locations__atlas-list {
    display: flex;
    order: 1;
    width: 100%;
    gap: 22px;
    margin: 0;
    overflow-x: auto;
    padding: 0 2px 6px;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
    overscroll-behavior-inline: contain;
}

.edge-locations.is-edge-compact .edge-locations__atlas-list::-webkit-scrollbar {
    display: none;
}

.edge-locations.is-edge-compact .edge-locations__atlas-item {
    display: flex;
    width: auto;
    min-width: max-content;
    flex: none;
    gap: 8px;
    padding: 10px 0;
    border-bottom: 0;
    scroll-snap-align: start;
}

.edge-locations.is-edge-compact .edge-locations__atlas-item::after {
    height: 2px;
}

.edge-locations.is-edge-compact .edge-locations__atlas-stage {
    order: 2;
    width: 100%;
}

.edge-locations.is-edge-compact .edge-locations__atlas-card {
    width: min(100%, 520px);
    min-height: 250px;
    padding: clamp(24px, 4vw, 34px);
}

.edge-locations.is-edge-compact .edge-locations__atlas-footer {
    order: 3;
}

/* Narrow multi-card instances use the shared mobile swiper instead of vertical stacking. */
.edge-locations.is-edge-mobile .edge-locations__heading,
.edge-locations.is-edge-mobile .edge-locations__heading--compact {
    font-size: clamp(40px, 12vw, 58px);
    line-height: 0.92;
}

.edge-locations.is-edge-mobile .edge-locations__heading--compact em,
.edge-locations.is-edge-mobile .edge-locations__heading--compact span {
    display: block;
}

.edge-locations.is-edge-mobile .edge-locations__intro {
    font-size: 17px;
}

.edge-locations.is-edge-mobile .edge-locations__nav {
    width: 48px;
    height: 48px;
}

.edge-locations.is-edge-mobile .edge-locations__atlas-card {
    width: 100%;
    min-height: 270px;
}

@media (max-width: 1024px) {
    .edge-locations {
        align-items: stretch;
    }

    .edge-locations__cinema-layout,
    .edge-locations__atlas-layout {
        gap: 34px;
    }
}

@media (max-width: 900px) {
    .edge-locations__cinema-layout,
    .edge-locations__atlas-layout {
        display: flex;
        flex-direction: column;
        gap: 34px;
    }
}

@media (max-width: 767px) {
    .edge-locations__heading,
    .edge-locations__heading--compact {
        font-size: clamp(40px, 12vw, 58px);
        line-height: 0.92;
    }
}


@media (max-width: 520px) {
    .edge-locations.is-mobile-swiper .edge-locations__mobile-swiper-header {
        display: block;
    }

    .edge-locations.is-mobile-swiper .edge-locations__mobile-swiper-meta {
        margin-top: 16px;
        padding-top: 0;
    }

    .edge-locations.is-mobile-swiper .edge-locations__mobile-slide-actions .edge-locations__cta {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .edge-locations *,
    .edge-locations *::before,
    .edge-locations *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
        animation-duration: 0.001ms !important;
    }
}
