/*
 * ESPAVEL / EspaGlobal - hotel hero and shared search only (v4)
 * Loads after hotel-list.css. Preserves existing JS, selectors and tenant colors.
 */
.espa-hotel-list {
    --hp-brand: var(--espa-primary, #ed252b);
    --hp-ink: var(--espa-heading, #132d45);
    --hp-muted: var(--espa-text-muted, #64748b);
    --hp-line: var(--espa-border, #e5ebf1);
    --hp-canvas: var(--espa-body-bg, #f4f7fb);
    background: var(--hp-canvas);
}

/* The page opens with the same hierarchy as the tour search page. */
.espa-hotel-list__hero {
    position: relative;
    z-index: 15;
    isolation: isolate;
    min-height: 305px;
    padding: 38px 0 40px;
    background: linear-gradient(112deg, #0b263f, #183c5d 58%, #294766);
    color: #fff;
}
.espa-hotel-list__hero-image {
    position: absolute;
    z-index: -2;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 45%;
    pointer-events: none;
}
.espa-hotel-list__hero-overlay {
    position: absolute;
    z-index: -1;
    inset: 0;
    overflow: hidden;
    background: linear-gradient(102deg, rgba(7,30,51,.96), rgba(17,47,73,.87) 55%, rgba(32,50,76,.78));
    pointer-events: none;
}
.espa-hotel-list__hero:not(.has-image) .espa-hotel-list__hero-overlay {
    background: radial-gradient(circle at 86% 8%, rgba(255,255,255,.11), transparent 27%),
                radial-gradient(circle at 14% 89%, rgba(255,255,255,.07), transparent 37%);
}
.espa-hotel-list__hero-overlay::after {
    content: '';
    position: absolute;
    right: -100px;
    top: -180px;
    width: 480px;
    height: 480px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 50%;
    box-shadow: 0 0 0 95px rgba(255,255,255,.025), 0 0 0 200px rgba(255,255,255,.018);
}
.espa-hotel-list__hero-inner { position: relative; z-index: 2; }
.espa-hotel-list__hero-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 19px;
    color: rgba(255,255,255,.7);
    font-size: 11px;
    font-weight: 500;
}
.espa-hotel-list__hero-breadcrumb a { display: inline-flex; align-items: center; gap: 6px; color: inherit; text-decoration: none; }
.espa-hotel-list__hero-breadcrumb a:hover { color: #fff; }
.espa-hotel-list__hero-breadcrumb iconify-icon { font-size: 14px; }
.espa-hotel-list__hero-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.espa-hotel-list__hero-copy { min-width: 0; }
.espa-hotel-list__hero-kicker {
    display: block;
    margin-bottom: 8px;
    color: rgba(255,255,255,.72);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .13em;
}
.espa-hotel-list__hero-heading h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(34px, 4vw, 54px);
    font-weight: 800;
    line-height: 1.09;
    letter-spacing: -.043em;
}
.espa-hotel-list__hero-heading p {
    max-width: 750px;
    margin: 12px 0 0;
    color: rgba(255,255,255,.78);
    font-size: 13px;
    line-height: 1.65;
}
.espa-hotel-list__hero-count {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 4px;
    padding: 11px 16px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 100px;
    background: rgba(255,255,255,.09);
    font-size: 12px;
    color: rgba(255,255,255,.84);
    backdrop-filter: blur(8px);
}
.espa-hotel-list__hero-count strong { color: #fff; font-size: 15px; }
.espa-hotel-list__hero-count iconify-icon { font-size: 19px; }
/*
 * HOTEL LIST HERO SEARCH: USE THE SAME FORM STYLING AS THE HOMEPAGE.
 * The `espa-search-tabs--multi` class on the desktop container deliberately
 * reuses css/search/search-tabs.css. That is the source of truth for the
 * homepage hotel form; do not reproduce a second, visually different grid.
 * The wrapper holds only the floating badge and is NOT a second form card.
 */
.espa-hotel-list__desktop-search {
    position: relative;
    z-index: 100;
    margin-top: 34px;
    padding: 0;
    border: 0;
    background: transparent;
}
.espa-hotel-list__search-shell {
    position: relative;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
/* Mirror the Tour Arama floating label; keep it outside the reusable form. */
.espa-hotel-list__search-badge {
    position: absolute;
    z-index: 25;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 24px;
    border: 4px solid rgba(255,255,255,.80);
    border-radius: 999px;
    background: rgba(255,255,255,.96);
    color: var(--espa-search-accent, var(--hp-brand));
    box-shadow: 0 8px 22px rgba(15,23,42,.08);
    font-family: var(--font-family-button, inherit);
    font-size: 14px;
    font-weight: var(--font-weight-button, 700);
    line-height: 1.2;
    white-space: nowrap;
    pointer-events: none;
}
.espa-hotel-list__search-badge iconify-icon { font-size: 17px; }
.espa-hotel-list__search-shell .espa-hotel-search {
    width: 100%;
    max-width: none;
}
/*
 * home/search-tabs.css gives this form its frosted background, separated
 * rounded 54px input boxes, dark labels, grid gaps and the theme-colored CTA.
 * Only the outside spacing is specific to the listing page.
 */
.espa-hotel-list__desktop-search .espa-hotel-search__form {
    width: 100%;
}
.espa-hotel-list__desktop-search .espa-hotel-search__suggestions,
.espa-hotel-list__desktop-search .espa-hotel-search__calendar,
.espa-hotel-list__desktop-search .espa-hotel-search__occupancy { z-index: 110; }

/* The listing's tablet/mobile search sheet follows the same boxed fields. */
@media (max-width: 1199.98px) {
    .espa-hotel-list__search-sheet .espa-hotel-search__form {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        padding: 18px;
        border: 1px solid rgba(255,255,255,.8);
        border-radius: 18px;
        background: rgba(244,250,253,.88);
        box-shadow: none;
    }
    .espa-hotel-list__search-sheet .espa-hotel-search__field {
        padding: 0;
        border: 0;
        min-width: 0;
    }
    .espa-hotel-list__search-sheet .espa-hotel-search__field > label {
        margin: 0 0 8px;
        color: var(--espa-search-text, var(--espa-heading, #102a43));
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0;
        line-height: 1.2;
    }
    .espa-hotel-list__search-sheet .espa-hotel-search__input-wrap,
    .espa-hotel-list__search-sheet .espa-hotel-search__date-controls,
    .espa-hotel-list__search-sheet .espa-hotel-search__guests-button {
        height: 54px;
        min-height: 54px;
        padding: 0 12px;
        border: 1px solid var(--hotel-border, #dde7eb);
        border-radius: var(--espa-input-radius, 12px);
        background: rgba(255,255,255,.96);
        box-shadow: 0 4px 12px rgba(15,23,42,.03);
    }
    .espa-hotel-list__search-sheet .espa-hotel-search__date-controls { gap: 4px; }
    .espa-hotel-list__search-sheet .espa-hotel-search__date-button { gap: 5px; }
    .espa-hotel-list__search-sheet .espa-hotel-search__date-button strong { font-size: 12px; }
    .espa-hotel-list__search-sheet .espa-hotel-search__submit-wrap { padding: 0; }
    .espa-hotel-list__search-sheet .espa-hotel-search__submit {
        min-height: 54px;
        height: 54px;
    }
}
@media (max-width: 767.98px) {
    .espa-hotel-list__search-sheet .espa-hotel-search__form {
        grid-template-columns: minmax(0, 1fr);
        gap: 11px;
        padding: 14px 12px;
    }
}



/* ===============================================================
 * HOTEL LIST V4 - EXACT TOUR FILTER / CARD COMPONENTS
 * Source of truth: css/tours/tour-list.css
 * Only hotel-specific compatibility styles are defined here.
 * =============================================================== */
.espa-hotel-list__main {
    padding: 28px 0 76px;
}
.espa-hotel-list__layout.espa-tour-list__layout {
    grid-template-columns: 286px minmax(0, 1fr);
    gap: 24px;
}
.espa-hotel-list__results-panel.espa-tour-list__results-panel {
    padding: 18px;
    border: 1px solid var(--tl-border);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 10px 32px rgba(15,23,42,.035);
}
.espa-hotel-list__items.espa-tour-list__cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
@media (min-width: 1200px) {
    .espa-hotel-list__filters.espa-tour-list__filter-card {
        position: sticky;
        top: 18px;
        width: 100%;
        overflow: hidden;
        border: 1px solid var(--tl-border) !important;
        border-radius: 20px;
        background: #ffffff !important;
        box-shadow: 0 10px 32px rgba(15,23,42,.045);
    }
}
.espa-hotel-list__filters-body {
    display: block !important;
    padding: 0 !important;
    background: #fff;
}
/* This search field is extra hotel functionality, not a new filter design. */
.espa-hotel-tour-keyword {
    padding: 15px 20px 4px;
}
.espa-hotel-tour-keyword .espa-tour-list__facet-search {
    margin: 0;
}
.espa-hotel-tour-towns {
    margin: 0 0 5px 15px;
    padding-left: 12px;
    border-left: 1px solid #e9eef4;
}
.espa-hotel-tour-towns .espa-tour-list__facet-item {
    min-height: 33px;
}
.espa-hotel-tour-towns .item-text { color: var(--tl-muted); }
/* Exact tour-card grid, border, image, prices and CTA; just hotel exceptions. */
.espa-tour-hotel-card__placeholder {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #edf2f7;
    color: #90a3b6;
    text-decoration: none;
}
.espa-tour-hotel-card__placeholder iconify-icon {
    font-size: 40px;
}
.espa-tour-hotel-card__summary {
    min-width: 0;
    flex: 1 1 100%;
    overflow: hidden;
    color: var(--tl-muted) !important;
    font-size: 10px !important;
    font-weight: 500 !important;
    line-height: 1.4;
    display: -webkit-inline-box !important;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}
.espa-tour-hotel-card__summary iconify-icon { flex: 0 0 auto; }
.espa-tour-hotel-card__events {
    grid-column: 1 / -1;
    min-width: 0;
    padding: 11px 16px;
    border-top: 1px solid #edf1f5;
    background: #fbfcfd;
    border-radius: 0 0 20px 20px;
}
.espa-tour-hotel-card:has(.espa-tour-hotel-card__events) .espa-tour-card__media-col {
    border-radius: 20px 0 0 0;
}
.espa-tour-hotel-card .espa-hotel-event {
    border: 1px solid #e6edf3;
    border-radius: 10px;
    background: #fff;
}
.espa-tour-hotel-card .espa-tour-card__date-btn {
    cursor: default;
}
@media (max-width: 1399.98px) and (min-width: 1200px) {
    .espa-hotel-list__layout.espa-tour-list__layout {
        grid-template-columns: 270px minmax(0, 1fr);
        gap: 20px;
    }
}
@media (max-width: 1199.98px) {
    .espa-hotel-list__layout.espa-tour-list__layout {
        grid-template-columns: minmax(0, 1fr);
    }
    /* Preserve Bootstrap offcanvas behavior below xl. The shared tour
       filter-card is sticky on desktop, but must be fixed on mobile. */
    .espa-hotel-list__filters.espa-tour-list__filter-card {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        width: min(420px, 100vw);
        height: 100dvh;
        max-height: 100dvh;
        overflow: hidden;
        border-radius: 0;
        background: #fff;
        z-index: 1055;
    }
    .espa-hotel-list__filters-body {
        overflow-y: auto !important;
        padding-bottom: 100px !important;
    }
    .espa-hotel-list__filters .espa-tour-list__filter-head {
        display: none;
    }
    .espa-hotel-tour-mobile-clear {
        padding: 12px 16px 0;
        background: #f4f7fa;
    }
    .espa-hotel-tour-mobile-clear button {
        min-height: 44px;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 7px;
        padding: 0 12px;
        border: 1px solid #f0c7cd;
        border-radius: 12px;
        background: #fff;
        color: var(--tl-primary);
        font-size: 11px;
        font-weight: 750;
    }
    .espa-hotel-list__filters .espa-tour-list__filter-group {
        padding-left: 20px;
        padding-right: 20px;
        background: #ffffff;
    }
    .espa-hotel-list__mobile-filter-footer {
        background: #fff;
        padding: 14px 20px;
    }
    .espa-hotel-list__results-panel.espa-tour-list__results-panel {
        padding: 14px;
    }
}
@media (max-width: 991.98px) {
    .espa-tour-hotel-card__summary { -webkit-line-clamp: 2; }
}
@media (max-width: 767.98px) {
    .espa-tour-hotel-card__events {
        grid-column: auto;
        border-radius: 0 0 16px 16px;
    }
    .espa-tour-hotel-card__summary {
        margin-bottom: 8px !important;
        font-size: 11px !important;
    }
    .espa-hotel-list__results-panel.espa-tour-list__results-panel {
        padding: 12px;
    }
}


/* V5: Editorial and search-prepared JSONB hotel data.
 * Retain the native tour card/filter layout; only hotel-specific content differs. */
.espa-tour-hotel-card .espa-tour-card__media-col { position: relative; }
.espa-tour-hotel-card__photo-count {
    position: absolute;
    z-index: 12;
    right: 12px;
    bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 29px;
    padding: 5px 10px;
    border: 1px solid rgba(255,255,255,.32);
    border-radius: 999px;
    background: rgba(8,30,49,.74);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    pointer-events: none;
}
.espa-tour-hotel-card__photo-count iconify-icon { font-size: 13px; }
.espa-tour-hotel-card__tags,
.espa-tour-hotel-card__highlights,
.espa-tour-hotel-card__facilities {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    min-width: 0;
}
.espa-tour-hotel-card__tags { margin-top: 12px; }
.espa-tour-hotel-card__tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 25px;
    max-width: 100%;
    padding: 4px 9px;
    border-radius: 8px;
    background: color-mix(in srgb, var(--tl-primary, #ed252b) 8%, white);
    color: var(--tl-primary, #ed252b);
    font-size: 10px;
    font-weight: 700;
    line-height: 1.4;
}
.espa-tour-hotel-card__tag iconify-icon { flex: 0 0 auto; font-size: 12px; }
.espa-tour-hotel-card__highlights { margin-top: 9px; }
.espa-tour-hotel-card__highlight {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 25px;
    max-width: 100%;
    padding: 3px 8px;
    border: 1px solid #dcebe5;
    border-radius: 8px;
    background: #f2faf6;
    color: #24654b;
    font-size: 10px;
    font-weight: 650;
    line-height: 1.4;
}
.espa-tour-hotel-card__highlight iconify-icon { color: #23895f; flex: 0 0 auto; font-size: 13px; }
.espa-tour-hotel-card__facilities {
    gap: 5px 8px;
    margin-top: 13px;
    padding-top: 10px;
    border-top: 1px solid #eef2f5;
}
.espa-tour-hotel-card__facilities-label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--tl-heading, #132d45);
    font-size: 10px;
    font-weight: 800;
}
.espa-tour-hotel-card__facilities-label iconify-icon { color: var(--tl-primary, #ed252b); font-size: 14px; }
.espa-tour-hotel-card__facility {
    padding: 4px 8px;
    border: 1px solid #e5ecf2;
    border-radius: 7px;
    color: #52677d;
    background: #f8fafc;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.35;
}
.espa-tour-hotel-card__facility-more {
    color: var(--tl-primary, #ed252b);
    font-size: 10px;
    font-weight: 800;
}
.espa-tour-hotel-card__availability-text {
    font-size: 12px;
    line-height: 1.5;
}
.espa-tour-hotel-card .espa-tour-card__secondary {
    margin-top: 10px;
    padding-top: 10px;
}
@media (max-width: 991.98px) {
    .espa-tour-hotel-card__tags { margin-top: 10px; }
    .espa-tour-hotel-card__facilities { gap: 5px; }
}
@media (max-width: 575.98px) {
    .espa-tour-hotel-card__photo-count { right: 9px; bottom: 9px; }
    .espa-tour-hotel-card__tag,
    .espa-tour-hotel-card__highlight,
    .espa-tour-hotel-card__facility { font-size: 9px; }
}

.espa-tour-hotel-card__extra-count {
    color: var(--tl-muted, #6d7f90);
    font-size: 10px;
    font-weight: 700;
}


/* V6: extra editorial/facility information uses compact accessible popovers. */
.espa-tour-hotel-card__more-button {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 7px;
    min-height: 25px;
    border: 1px solid color-mix(in srgb, var(--tl-primary, #ed252b) 20%, white);
    border-radius: 8px;
    background: color-mix(in srgb, var(--tl-primary, #ed252b) 6%, white);
    color: var(--tl-primary, #ed252b);
    font-family: inherit;
    font-size: 10px;
    font-weight: 750;
    line-height: 1.3;
    cursor: pointer;
}
.espa-tour-hotel-card__more-button:hover,
.espa-tour-hotel-card__more-button[aria-expanded="true"] {
    background: color-mix(in srgb, var(--tl-primary, #ed252b) 12%, white);
}
.espa-tour-hotel-card__more-button:focus-visible {
    outline: 2px solid var(--tl-primary, #ed252b);
    outline-offset: 2px;
}
.espa-tour-hotel-card__more-button iconify-icon { font-size: 12px; }
.espa-tour-hotel-card__popover {
    --bs-popover-max-width: 330px;
    --bs-popover-border-color: #e4eaf0;
    --bs-popover-border-radius: 14px;
    --bs-popover-header-bg: #f8fafc;
    --bs-popover-header-color: #152e47;
    --bs-popover-body-color: #334155;
    box-shadow: 0 18px 45px rgba(16, 36, 56, .17);
    font-size: 12px;
}
.espa-tour-hotel-card__popover .popover-body {
    max-height: min(340px, 48vh);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 12px 16px;
}
.espa-tour-hotel-card__popover-list {
    margin: 0;
    padding: 0;
    list-style: none;
}
.espa-tour-hotel-card__popover-list li {
    padding: 7px 0 7px 17px;
    position: relative;
    border-bottom: 1px solid #f0f3f7;
    line-height: 1.45;
    overflow-wrap: anywhere;
}
.espa-tour-hotel-card__popover-list li::before {
    content: '✓';
    position: absolute;
    top: 7px;
    left: 0;
    color: #16865a;
    font-weight: 800;
}
.espa-tour-hotel-card__popover-list li:last-child { border-bottom: 0; }
.espa-tour-hotel-card__popover-total {
    margin: 9px 0 0;
    color: #738498;
    font-size: 10px;
}
/* Swiper and Bootstrap popovers run inside the tour card layout. */
.espa-tour-hotel-card .list-image-swiper .swiper-wrapper { display: flex; }
.espa-tour-hotel-card .list-image-swiper .swiper-slide {
    flex-shrink: 0;
    overflow: hidden;
}
.espa-tour-hotel-card .list-image-swiper .list-image-button-prev,
.espa-tour-hotel-card .list-image-swiper .list-image-button-next { cursor: pointer; }
@media (max-width: 575.98px) {
    .espa-tour-hotel-card__popover { --bs-popover-max-width: min(315px, calc(100vw - 30px)); }
    .espa-tour-hotel-card__more-button { min-height: 28px; }
}


/* V6.1: move hotel highlights into dedicated footer bands and simplify header facts. */
.espa-tour-hotel-card__location-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 10px;
}
.espa-tour-hotel-card__location-row .iconify,
.espa-tour-hotel-card__location-row iconify-icon { flex: 0 0 auto; }
.espa-tour-hotel-card__location-text {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}
.espa-tour-hotel-card__star-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 24px;
    padding: 4px 10px;
    border: 1px solid #f0d995;
    border-radius: 999px;
    background: linear-gradient(180deg, #fff7dc 0%, #ffefbd 100%);
    color: #8a6110;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.2;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.65);
}
.espa-tour-hotel-card__star-badge iconify-icon {
    color: #d79d10;
    font-size: 12px;
}
.espa-tour-hotel-card__footer {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
    padding: 13px 16px;
    background: #fbfcfd;
    border-top: 1px solid #edf1f5;
}
.espa-tour-hotel-card__footer.has-next-footer {
    border-bottom: 1px solid #edf1f5;
}
.espa-tour-hotel-card__footer-label {
    flex: 0 0 126px;
    display: inline-flex;
    align-items: center;
    align-self: center;
    gap: 7px;
    padding-top: 0;
    color: var(--tl-heading, #132d45);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.3;
}
.espa-tour-hotel-card__footer-label iconify-icon {
    color: var(--tl-primary, #ed252b);
    font-size: 16px;
}
.espa-tour-hotel-card__footer-items {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    min-width: 0;
    flex: 1 1 auto;
}
.espa-tour-hotel-card__highlight-grid { align-items: center; align-content: center; }
.espa-tour-hotel-card__highlight-box {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    max-width: 100%;
    min-height: 40px;
    padding: 7px 12px;
    border: 1px solid #e7edf4;
    border-radius: 12px;
    background: #ffffff;
    color: #24384c;
    box-shadow: 0 4px 14px rgba(15,23,42,.03);
}
.espa-tour-hotel-card__highlight-box-icon {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #fdf3f3 0%, #fff8ec 100%);
    color: var(--tl-primary, #ed252b);
    flex: 0 0 auto;
}
.espa-tour-hotel-card__highlight-box-icon iconify-icon { font-size: 14px; }
.espa-tour-hotel-card__highlight-box > span:last-child {
    display: block;
    overflow-wrap: anywhere;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.35;
}
.espa-tour-hotel-card__highlights-footer .espa-tour-hotel-card__more-button {
    min-height: 40px;
    padding: 8px 12px;
    border-radius: 12px;
    align-self: stretch;
}
.espa-tour-hotel-card__events.has-prev-footer {
    border-top: 0;
    border-radius: 0 0 20px 20px;
}
.espa-tour-hotel-card__highlights-footer:not(.has-next-footer) {
    border-radius: 0 0 20px 20px;
}
.espa-tour-hotel-card:has(.espa-tour-hotel-card__highlights-footer):not(:has(.espa-tour-hotel-card__events)) .espa-tour-card__media-col,
.espa-tour-hotel-card:has(.espa-tour-hotel-card__events) .espa-tour-card__media-col {
    border-radius: 20px 0 0 0;
}
@media (max-width: 767.98px) {
    .espa-tour-hotel-card__footer {
        grid-column: auto;
        flex-direction: column;
        gap: 10px;
        border-radius: 0;
    }
    .espa-tour-hotel-card__footer-label {
        flex-basis: auto;
        padding-top: 0;
    }
    .espa-tour-hotel-card__highlight-box,
    .espa-tour-hotel-card__highlights-footer .espa-tour-hotel-card__more-button {
        min-height: 36px;
    }
    .espa-tour-hotel-card__highlights-footer:not(.has-next-footer),
    .espa-tour-hotel-card__events {
        border-radius: 0 0 16px 16px;
    }
    .espa-tour-hotel-card__events.has-prev-footer {
        border-radius: 0 0 16px 16px;
    }
}
