.place-detail-page {
    padding: 1.5rem 0 4rem;
    background: #090b10;
    border-top: 1px solid rgba(191, 60, 43, 0.55);
    color: #f7f2ed;
}

.place-detail-page .container {
    max-width: 1360px;
}

.place-detail-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 1.15rem;
    color: rgba(255, 246, 240, 0.62);
    font-size: 0.84rem;
}

.place-detail-breadcrumb a {
    color: inherit;
}

.place-detail-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 1.5rem;
    align-items: start;
}

.place-detail-main {
    min-width: 0;
}

.place-detail-head {
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
    margin-bottom: 1rem;
}

.place-detail-avatar {
    width: 108px;
    aspect-ratio: 1;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: #151820;
}

.place-detail-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.place-detail-gallery img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #0d1016;
}

.place-detail-head-content h1 {
    margin: 0;
    max-width: 920px;
    font-size: clamp(1.9rem, 3vw, 2.55rem);
    line-height: 1.15;
    font-weight: 850;
    overflow-wrap: anywhere;
}

.place-detail-head-content p {
    margin: 0.65rem 0 0;
    max-width: 900px;
    color: rgba(255, 244, 237, 0.76);
    line-height: 1.55;
}

.place-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem 1rem;
    margin-top: 0.65rem;
    color: rgba(255, 246, 240, 0.8);
    font-size: 0.88rem;
}

.place-detail-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.place-detail-meta i {
    color: #d85a47;
}

.place-detail-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.55rem;
    margin-bottom: 1rem;
}

.place-detail-actions a,
.place-detail-actions button,
.place-detail-sidebar-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-width: 138px;
    min-height: 40px;
    padding: 0 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 7px;
    background: #181b23;
    color: #fff7f2;
    font-weight: 700;
    white-space: nowrap;
}

.place-detail-actions button {
    cursor: pointer;
}

.place-detail-actions .place-detail-icon-action {
    width: 40px;
    min-width: 40px;
    padding: 0;
    flex: 0 0 40px;
}

.place-detail-actions a:hover,
.place-detail-actions button:hover {
    border-color: rgba(216, 90, 71, 0.65);
    background: #20242e;
}

.place-detail-actions button.is-active {
    border-color: #c74634;
    background: #c74634;
    color: #fff;
}

.place-detail-actions a.is-primary,
.place-detail-actions button.is-primary,
.place-detail-sidebar-cta {
    border-color: #c74634;
    background: #c74634;
}

.place-detail-gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    height: clamp(360px, 36vw, 520px);
}

.place-detail-gallery.has-side {
    grid-template-columns: minmax(0, 2.15fr) minmax(220px, 0.85fr);
}

.place-detail-cover {
    display: block;
    grid-template-columns: minmax(0, 1fr);
    height: auto;
}

.place-detail-cover .place-detail-gallery-main {
    aspect-ratio: auto;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.place-detail-cover .place-detail-gallery-main img {
    width: 100%;
    height: auto;
    object-fit: initial;
    background: transparent;
}

.place-detail-gallery-main,
.place-detail-gallery-grid figure {
    min-width: 0;
    min-height: 0;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 8px;
    background: #0d1016;
}

.place-detail-gallery-grid {
    position: relative;
    display: grid;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    min-width: 0;
    min-height: 0;
}

.place-detail-gallery-grid figure:only-of-type {
    grid-row: 1 / -1;
}

.place-detail-gallery-more {
    position: absolute;
    right: 0.75rem;
    bottom: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 40px;
    padding: 0 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 6px;
    background: rgba(9, 11, 16, 0.86);
    color: #fff;
    font-size: 0.86rem;
    font-weight: 700;
    backdrop-filter: blur(8px);
}

.place-detail-tabs {
    position: sticky;
    top: 0;
    z-index: 3;
    display: flex;
    gap: 1.5rem;
    margin: 1.35rem 0 1rem;
    padding: 0.85rem 0 0.75rem;
    overflow-x: auto;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    background: #090b10;
}

.place-detail-tabs a {
    position: relative;
    flex: 0 0 auto;
    color: rgba(255, 245, 239, 0.68);
    font-weight: 700;
}

.place-detail-tabs a.is-active,
.place-detail-tabs a:hover {
    color: #fff5ef;
}

.place-detail-tabs a.is-active::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -0.8rem;
    left: 0;
    height: 3px;
    background: #d45743;
}

.place-detail-sections {
    display: grid;
    gap: 1rem;
}

.place-detail-section,
.place-detail-info-card {
    min-width: 0;
    padding: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    background: #14171e;
}

.place-detail-section {
    overflow: hidden;
}

.place-detail-section h2,
.place-detail-info-card h3 {
    margin: 0 0 0.9rem;
    font-size: 1.08rem;
    font-weight: 800;
}

.place-detail-richtext,
.place-detail-section p {
    color: rgba(255, 244, 237, 0.78);
    line-height: 1.75;
}

.place-detail-richtext {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.place-detail-richtext img {
    display: block;
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    margin-right: auto;
    margin-left: auto;
    object-fit: contain;
}

.place-detail-richtext figure,
.place-detail-richtext .image,
.place-detail-richtext .image-style-block,
.place-detail-richtext .image-style-side {
    display: block;
    float: none !important;
    clear: both;
    width: 100% !important;
    max-width: 100% !important;
    margin: 1.25rem 0 !important;
}

.place-detail-richtext figure img,
.place-detail-richtext .image img {
    width: 100% !important;
}

.place-detail-richtext figcaption {
    padding: 0.55rem 0.75rem;
    color: rgba(255, 244, 237, 0.62);
    font-size: 0.82rem;
    text-align: center;
}

.place-detail-richtext iframe,
.place-detail-richtext video,
.place-detail-richtext embed,
.place-detail-richtext object {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
}

.place-detail-richtext table {
    display: block;
    width: 100% !important;
    max-width: 100%;
    overflow-x: auto;
}

.place-detail-gallery-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.9rem;
}

.place-detail-gallery-section-head h2 {
    margin: 0;
}

.place-detail-slider-controls {
    display: flex;
    gap: 0.5rem;
}

.place-detail-slider-arrow,
.place-detail-lightbox-close,
.place-detail-lightbox-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #1d212a;
    color: #fff;
}

.place-detail-slider-arrow {
    width: 38px;
    height: 38px;
    border-radius: 6px;
}

.place-detail-gallery-slider {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding-bottom: 2rem;
    overflow: hidden;
}

.place-detail-gallery-slider .swiper-wrapper {
    display: flex;
    min-width: 0;
}

.place-detail-gallery-swiper-slide {
    display: block;
    flex-shrink: 0;
    width: 100%;
    height: 290px;
    opacity: 1;
    visibility: visible;
}

.place-detail-gallery-slide {
    width: 100%;
    height: 100%;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 7px;
    background: #0e1117;
    cursor: zoom-in;
}

.place-detail-gallery-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.place-detail-gallery-pagination {
    bottom: 0 !important;
}

.place-detail-gallery-pagination .swiper-pagination-bullet {
    width: 7px;
    height: 7px;
    background: rgba(255, 255, 255, 0.42);
    opacity: 1;
}

.place-detail-gallery-pagination .swiper-pagination-bullet-active {
    width: 22px;
    border-radius: 4px;
    background: #d45743;
}

.place-detail-slider-arrow.swiper-button-disabled {
    cursor: default;
    opacity: 0.35;
}

.place-detail-lightbox[hidden] {
    display: none;
}

.place-detail-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) 64px;
    align-items: center;
    gap: 1rem;
    padding: 3.5rem 1.25rem 2rem;
    background: rgba(3, 5, 8, 0.96);
}

.is-gallery-open {
    overflow: hidden;
}

.place-detail-lightbox-figure {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 0.75rem;
    width: 100%;
    height: calc(100vh - 6rem);
    margin: 0;
    min-width: 0;
}

.place-detail-lightbox-figure img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: contain;
}

.place-detail-lightbox-figure figcaption {
    min-height: 1.4rem;
    color: rgba(255, 255, 255, 0.72);
    text-align: center;
}

.place-detail-lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.15rem;
}

.place-detail-lightbox-arrow {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    font-size: 1rem;
}

.place-detail-lightbox-count {
    position: absolute;
    top: 1.35rem;
    left: 50%;
    color: rgba(255, 255, 255, 0.82);
    font-weight: 700;
    transform: translateX(-50%);
}

.place-detail-sidebar {
    position: sticky;
    top: 1rem;
}

.place-detail-info-card {
    padding: 1.2rem;
}

.place-detail-info-card dl {
    margin: 0;
}

.place-detail-info-card dl > div {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 0.9rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.place-detail-info-card dl > div:last-child {
    border-bottom: 0;
}

.place-detail-info-card dt {
    color: rgba(255, 245, 239, 0.58);
    font-size: 0.9rem;
    font-weight: 650;
}

.place-detail-info-card dd,
.place-detail-info-card a {
    min-width: 0;
    margin: 0;
    color: #fff7f1;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.place-detail-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.place-detail-amenities span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 0.65rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 246, 240, 0.82);
    font-size: 0.78rem;
}

.place-detail-sidebar-cta {
    width: 100%;
    margin-top: 1rem;
}

@media (max-width: 1099px) {
    .place-detail-top {
        grid-template-columns: minmax(0, 1fr) 300px;
    }

    .place-detail-gallery {
        height: 430px;
    }
}

@media (max-width: 899px) {
    .place-detail-top {
        grid-template-columns: 1fr;
    }

    .place-detail-sidebar {
        position: static;
    }

    .place-detail-info-card dl {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0 1.5rem;
    }
}

@media (max-width: 767px) {
    .place-detail-page {
        padding-top: 1rem;
    }

    .place-detail-head {
        display: block;
    }

    .place-detail-avatar {
        width: 100%;
        aspect-ratio: auto;
        margin-bottom: 1rem;
        border: 0;
        border-radius: 0;
        background: transparent;
    }

    .place-detail-avatar img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .place-detail-head-content h1 {
        font-size: 1.65rem;
    }

    .place-detail-actions {
        display: flex;
    }

    .place-detail-actions a,
    .place-detail-actions button {
        min-width: 0;
    }

    .place-detail-gallery,
    .place-detail-gallery.has-side {
        grid-template-columns: 1fr;
        height: auto;
    }

    .place-detail-gallery-main {
        aspect-ratio: 4 / 3;
    }

    .place-detail-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: none;
    }

    .place-detail-gallery-grid figure {
        aspect-ratio: 4 / 3;
    }

    .place-detail-gallery-grid figure:only-of-type {
        grid-column: 1 / -1;
        grid-row: auto;
    }

    .place-detail-gallery-swiper-slide {
        height: 260px;
    }

    .place-detail-info-card dl {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 479px) {
    .place-detail-actions,
    .place-detail-gallery-grid {
        grid-template-columns: 1fr;
    }

    .place-detail-gallery-swiper-slide {
        height: 240px;
    }

    .place-detail-gallery-grid figure {
        aspect-ratio: 16 / 10;
    }

    .place-detail-info-card dl > div {
        grid-template-columns: 78px minmax(0, 1fr);
    }

    .place-detail-lightbox {
        grid-template-columns: 44px minmax(0, 1fr) 44px;
        gap: 0.4rem;
        padding-right: 0.5rem;
        padding-left: 0.5rem;
    }

    .place-detail-lightbox-arrow {
        width: 42px;
        height: 42px;
    }
}
