.room-gallery-cover {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}

.room-gallery-cover img {
    display: block;
    aspect-ratio: 410 / 320;
    object-fit: cover;
}

.room-gallery-card .room-details-button {
    left: 0;
    opacity: 1;
}

@media (hover: hover) and (pointer: fine) {
    .room-gallery-card .room-details-button {
        left: 0;
        opacity: 0;
        transform: translateX(-100%);
    }

    .room-gallery-card .room-thumb:hover .room-details-button,
    .room-gallery-card .room-thumb:focus-within .room-details-button {
        opacity: 1;
        transform: none;
    }
}

.room-gallery-card .room-gallery-label,
.room-gallery-stars { color: #9b713a; }
.room-gallery-card .room-bottom { gap: 8px; flex-wrap: wrap; }
.room-gallery-card .room-bottom-icon span::before { display: none; }
.room-gallery-stars { letter-spacing: 2px; }
.room-gallery-group + .room-gallery-group { margin-top: 2rem; }
.room-gallery-group h2 { margin-bottom: 1rem; }

.room-gallery-dialog {
    inset: 0;
    margin: auto;
    width: min(900px, 94vw);
    max-height: 92vh;
    padding: 1rem;
    border: 0;
    border-radius: 8px;
    color: #202020;
    background: #fff;
}

.room-gallery-dialog::backdrop { background: rgb(0 0 0 / 75%); }
.room-gallery-dialog-header { display: flex; justify-content: space-between; align-items: center; }
.room-gallery-dialog button { cursor: pointer; border: 1px solid #ccc; background: #fff; color: #202020; }
.room-gallery-dialog-header button, .room-gallery-stage button { min-width: 44px; min-height: 44px; font-size: 1.6rem; }
.room-gallery-stage { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .5rem; align-items: center; margin: .75rem 0; touch-action: pan-y; }
.room-gallery-stage img { display: block; width: 100%; height: min(57vh, 545px); object-fit: contain; background: #f5f5f5; }
.room-gallery-previews { display: flex; gap: .5rem; overflow-x: auto; padding: 4px; }
.room-gallery-previews button { flex: 0 0 76px; padding: 2px; }
.room-gallery-previews button[aria-current="true"] { outline: 2px solid #9b713a; }
.room-gallery-previews img { display: block; width: 100%; height: 52px; object-fit: cover; }
.about-hotel-logo { display: grid; place-items: center; padding: 2rem; }
.about-hotel-logo img { width: min(100%, 280px); height: auto; }

#sticky-header .header-menu > ul > li { margin-right: clamp(12px, 2vw, 32px); }
#sticky-header .header-menu > ul > li:last-child { margin-right: 0; }
.travel-guide-page #sticky-header { background: #1e1e1e; margin-bottom: 0; }

#booking-form .row.add-bg {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
    gap: .75rem;
}

#booking-form .booking-input-box,
#booking-form .booking-button { width: auto; min-width: 0; }
#booking-form .booking-button { position: static; }
#booking-form .booking-button a,
.room-gallery-dialog-booking {
    display: inline-block;
    padding: .65rem 1rem;
    background: #1e1e1e;
    color: #fff;
    text-align: center;
}
#booking-form .booking-button a { background: #c19d68; color: #1e1e1e; }
#booking-form .booking-input-box input { width: 100% !important; }
#booking-form .booking-input-box select { width: 100%; }
#booking-form .booking-input-box::before { right: 0; pointer-events: none; }

.suite-gallery-groups { display: grid; gap: 1.5rem; }
.suite-gallery-groups .room-gallery-group { min-width: 0; margin-top: 0; }
.suite-gallery-groups .room-gallery-group > .row > div { width: 100%; flex: 0 0 100%; max-width: 100%; }

.room-gallery-card-previews { display: flex; gap: .5rem; overflow-x: auto; padding: .5rem; background: #fff; }
.room-gallery-card-previews button { flex: 0 0 64px; padding: 2px; border: 1px solid #ccc; background: #fff; cursor: zoom-in; }
.room-gallery-card-previews img { display: block; width: 100%; height: 43px; object-fit: cover; }

.room-gallery-dialog-header {
    position: sticky;
    top: -1rem;
    z-index: 1;
    gap: .5rem;
    padding: .35rem 0;
    background: #fff;
}
.room-gallery-dialog-header strong { margin-right: auto; }
.room-gallery-dialog-header form { flex-shrink: 0; margin: 0; }
.room-gallery-dialog-booking:hover, .room-gallery-dialog-booking:focus-visible { color: #fff; background: #6c5029; }

@media (min-width: 768px) {
    .suite-gallery-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 991px) {
    #booking-form .row.add-bg { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    #booking-form .booking-button { grid-column: 1 / -1; }
}

.room-page-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1rem; }
.room-page-actions-between { justify-content: space-between; }
.room-page-actions-end { justify-content: flex-end; }
.room-page-actions-between .btn-dark { margin-left: auto; }

@media (max-width: 575px) {
    .room-gallery-dialog-header { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
    .room-gallery-dialog-header .room-gallery-dialog-booking { grid-row: 2; grid-column: 1 / -1; }
    .room-gallery-dialog-header form { grid-row: 1; grid-column: 2; }
    .room-gallery-stage img { height: min(48vh, 420px); }
}

.kars-guide-stop {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
    align-items: center;
    padding: 2rem 0;
    border-top: 1px solid #d9d2c8;
}

.kars-guide-stop figure { margin: 0; min-width: 0; }
.kars-guide-stop img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

@media (min-width: 768px) {
    .kars-guide-stop { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 4rem); }
    .kars-guide-stop:nth-child(even) figure { grid-column: 2; grid-row: 1; }
    .kars-guide-stop:nth-child(even) .kars-guide-stop-copy { grid-column: 1; grid-row: 1; }
}

.kars-guide-stop img + img { margin-top: .75rem; }


.ski-guide.room-area.inner { padding-top: clamp(2rem, 5vw, 4.5rem); }
.ski-guide-intro { display: grid; gap: 1.5rem; align-items: center; margin-bottom: 2rem; }
.ski-guide-intro img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.ski-guide-copy h1 { margin-bottom: .75rem; }
.ski-guide-copy h2 { margin-top: 1.25rem; }

@media (min-width: 768px) {
    .ski-guide-intro { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: clamp(1.5rem, 3vw, 3rem); }
    .ski-guide-intro img { aspect-ratio: 16 / 10; }
    .ski-guide-copy { align-self: center; padding: .75rem 0; }
}

.hotel-services .section-title h2 { color: #fff; }
.hotel-services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}
.hotel-service {
    position: relative;
    display: grid;
    place-items: center;
    isolation: isolate;
    min-height: 185px;
    padding: 1rem .65rem;
    overflow: hidden;
    border: 1px solid #403b35;
    color: #fff;
    text-align: center;
}
.hotel-service img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hotel-service::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(transparent 5%, rgb(0 0 0 / 90%));
}
.hotel-service-label { display: grid; gap: .65rem; align-self: end; font-size: 1rem; line-height: 1.3; }
.hotel-service-label i { color: #d5ae76; font-size: 2rem; }
.hotel-service:is(:hover, :focus-visible) { color: #fff; border-color: #c19d68; }
.hotel-service:focus-visible { outline: 2px solid #c19d68; outline-offset: 3px; }

@media (hover: hover) and (pointer: fine) {
    .hotel-service img { opacity: 0; }
    .hotel-service::before { opacity: 0; }
    .hotel-service img, .hotel-service::before { transition: opacity .2s ease; }
    .hotel-service:is(:hover, :focus-visible) img,
    .hotel-service:is(:hover, :focus-visible)::before { opacity: 1; }
    .hotel-service-label { align-self: center; }
    .hotel-service:is(:hover, :focus-visible) .hotel-service-label { align-self: end; }
}
@media (min-width: 768px) { .hotel-services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .hotel-services-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

.kars-guide-photo-pair {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
    gap: 4px;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}
.kars-guide-stop .kars-guide-photo-pair img { aspect-ratio: auto; height: 100%; min-height: 0; margin: 0; }

.mobile-menu { position: relative; }
.mobile-home-logo { position: absolute; left: 1rem; top: .5rem; z-index: 10000; }
.mobile-home-logo img { width: 140px; height: 38px; object-fit: contain; object-position: left center; }
.mobile-menu.mean-container .mean-bar::before { content: none; }
.mobile-menu .header-menu i, .mobile-menu .mean-nav .fa-chevron-down { display: none; }
#dreamit-form { scroll-margin-top: 7rem; }

.kars-guide-church-photos {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .5rem;
    margin-top: .5rem;
}
.kars-guide-church-photos img { aspect-ratio: 1; }
.kars-guide-church-photos img:first-child { object-position: 72% center; }
.kars-guide-church-photos img + img { margin-top: 0; }
