.place-hero-stack {
    display: grid;
    gap: 18px;
}

.place-hero-frame {
    position: relative;
    min-height: clamp(320px, 48vw, 620px);
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 24px 60px rgba(10, 23, 43, 0.24);
    background: rgba(9, 23, 43, 0.2);
}

.place-hero-frame img,
.place-hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.place-hero-carousel {
    position: absolute;
    inset: 0;
}

.place-hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 720ms ease, transform 1200ms ease;
    transform: scale(1.03);
}

.place-hero-slide.is-active {
    opacity: 1;
    transform: scale(1);
}

.place-hero-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 14, 28, 0.03) 0%, rgba(8, 14, 28, 0.02) 100%);
    pointer-events: none;
}

.place-hero-overlay {
    display: none;
}

.place-hero-route {
    display: none;
}

.place-hero-name {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 3.2vw, 3rem);
    line-height: 1;
    color: #fff;
    text-shadow: 0 10px 28px rgba(7, 12, 24, 0.35);
}

.place-hero-caption {
    display: none;
}

.place-hero-tags {
    display: none;
}

.place-gallery-section {
    position: relative;
}

.place-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.place-gallery-card {
    position: relative;
    display: block;
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
    text-align: left;
    min-width: 0;
}

.place-gallery-grid>.place-gallery-card:first-child {
    grid-column: 1 / -1;
}

.place-gallery-card.wide {
    grid-column: span 1;
}

.place-gallery-card.tall {
    grid-row: span 2;
}

.place-gallery-card-inner {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid rgba(12, 35, 64, 0.1);
    box-shadow: 0 18px 42px rgba(10, 23, 43, 0.1);
    background: #fff;
}

.place-gallery-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 220ms ease;
}

.place-gallery-grid>.place-gallery-card:first-child .place-gallery-card-inner {
    aspect-ratio: 16 / 8.5;
}

.place-gallery-card:not(:first-child):not(.tall) .place-gallery-card-inner {
    aspect-ratio: 4 / 3;
}

.place-gallery-card.tall .place-gallery-card-inner {
    aspect-ratio: 4 / 5.2;
}

.place-gallery-card:hover img,
.place-gallery-card:focus-visible img {
    transform: scale(1.03);
}

.place-gallery-card-inner::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(7, 12, 24, 0) 54%, rgba(7, 12, 24, 0.52) 100%);
    pointer-events: none;
}

.place-gallery-meta {
    position: absolute;
    inset: auto 0 0 0;
    padding: 16px 18px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    z-index: 1;
    color: #fff;
}

.place-gallery-index {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.88;
}

.place-gallery-open {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.86);
}

.place-gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(7, 12, 24, 0.86);
}

.place-gallery-lightbox.is-open {
    display: flex;
}

.place-gallery-dialog {
    width: min(1120px, 100%);
    max-height: calc(100vh - 48px);
    display: grid;
    gap: 18px;
}

.place-gallery-stage {
    position: relative;
    overflow: hidden;
    border-radius: 26px;
    background: #0b1220;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.35);
}

.place-gallery-stage img {
    display: block;
    width: 100%;
    max-height: calc(100vh - 180px);
    object-fit: contain;
    background: #0b1220;
}

.place-gallery-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: #fff;
}

.place-gallery-bar strong {
    font-size: 1.02rem;
}

.place-gallery-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    cursor: pointer;
}

.place-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(7, 12, 24, 0.46);
    color: #fff;
    cursor: pointer;
}

.place-gallery-nav.prev {
    left: 20px;
}

.place-gallery-nav.next {
    right: 20px;
}

.place-gallery-nav[disabled] {
    opacity: 0.35;
    cursor: default;
}

@media (max-width: 1024px) {
    .place-gallery-grid {
        gap: 16px;
    }
}

@media (max-width: 720px) {
    .place-gallery-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .place-gallery-grid>.place-gallery-card:first-child,
    .place-gallery-card.wide,
    .place-gallery-card.tall {
        grid-column: auto;
        grid-row: auto;
    }

    .place-gallery-grid>.place-gallery-card:first-child .place-gallery-card-inner,
    .place-gallery-card:not(:first-child):not(.tall) .place-gallery-card-inner {
        aspect-ratio: 4 / 3;
    }

    .place-gallery-card.tall .place-gallery-card-inner {
        aspect-ratio: 4 / 5;
    }

    .place-gallery-dialog {
        gap: 12px;
    }

    .place-gallery-lightbox {
        padding: 14px;
    }

    .place-gallery-nav {
        width: 44px;
        height: 44px;
    }

    .place-gallery-nav.prev {
        left: 12px;
    }

    .place-gallery-nav.next {
        right: 12px;
    }
}