.body_wrap,
.page_wrap {
    overflow: visible !important;
}

.site-header {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Space Grotesk", sans-serif;
    width: 100%;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
    overflow: visible !important;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 65px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

@media (max-width: 768px) {
    .site-header {
        position: fixed;
        top: 0;
    }
}

.admin-bar .site-header {
    top: 32px;
}

.site-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 300%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.1) 40%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
    z-index: -1;
    transition: opacity 0.25s ease;
}

.site-header:hover:not(.header-solid) {
    background-color: rgba(20, 55, 50, 0.88) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
}

.site-header:hover:not(.header-solid)::before {
    opacity: 0;
}

.site-header.header-solid {
    background-color: rgba(20, 55, 50, 0.88) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
}

.site-header.header-solid::before {
    opacity: 0;
}

/* Global: search icon siempre blanco */
.as-search-btn svg,
.as-search-btn img { filter: brightness(0) invert(1); }
.nav-chevron { border-top-color: #fff; }

.header-menu-toggle span {
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.header-navigation
{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 12px;
    box-sizing: border-box;
}

.header-nav-menu
{
    display: flex;
    align-items: center;
    align-self: stretch;
    gap: 0;
}

.header-nav-menu a
{
    position: relative;
    text-decoration: none;
    color: #fff !important;
}

.header-nav-menu > a
{
    display: flex;
    align-items: center;
    padding: 0 0.65em;
    border-radius: 4px;
    transition: background-color 0.18s ease, color 0.18s ease;
}

.header-nav-menu > a:hover
{
    background-color: rgba(255,255,255,0.2);
    color: #ffffff !important;
    align-self: stretch;
    border-radius: 0;
    padding-top: 0;
    padding-bottom: 0;
}

.header-nav-menu > a::after { display: none; }

.nav-item
{
    position: relative;
    display: flex;
    align-items: center;
    height: 65px;
}

.nav-item > a
{
    display: flex;
    align-items: center;
    align-self: stretch;
    gap: 0.35em;
    padding: 0 0.65em !important;
    border-radius: 4px;
    transition: background-color 0.18s ease;
    position: relative !important;
}

.nav-item > a:hover,
.nav-item--destinos.open > a,
.nav-item--ofertas.open > a,
.nav-item:focus-within > a
{
    background-color: rgba(255,255,255,0.2);
    color: #ffffff !important;
    align-self: stretch;
    border-radius: 0;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.nav-item > a::after { display: none !important; }

.nav-item--destinos > a:hover::before,
.nav-item--destinos.open > a::before
{
    content: none;
}

.nav-chevron
{
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    opacity: 0.7;
    transition: transform 0.2s ease, opacity 0.2s ease;
    flex-shrink: 0;
    margin-top: 1px;
    pointer-events: none;
}

.nav-item--destinos.open .nav-chevron { transform: rotate(180deg); opacity: 1; }

.destinos-megamenu,
.ofertas-megamenu
{
    position: absolute;
    top: calc(100% - 1px);
    padding: 0;
    display: flex;
    flex-direction: column;
    min-width: 180px;
    z-index: 1001;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-4px);
    transition: visibility 0s linear 0.18s, opacity 0.18s ease, transform 0.18s ease;
    pointer-events: none;
}

.destinos-megamenu
{
    left: 0px;
    background: rgba(20, 55, 50, 0.92) !important;
    box-shadow: 0 6px 20px rgba(0,0,0,0.18);
}

.destinos-megamenu::before,
.ofertas-megamenu::before
{
    content: '';
    position: absolute;
    inset: 0;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    pointer-events: none;
    z-index: -1;
}

.ofertas-megamenu
{
    left: 0;
    background: rgba(20, 55, 50, 0.92) !important;
    box-shadow: 0 6px 20px rgba(0,0,0,0.18);
}

.ofertas-megamenu .megamenu-region-title
{
    color: #ffffff !important;
}

.ofertas-megamenu .megamenu-region:hover .megamenu-region-title
{
    background-color: rgba(255,255,255,0.08);
    color: #ffffff !important;
}

.destinos-megamenu.open,
.ofertas-megamenu.open,
.nav-item:focus-within .destinos-megamenu,
.nav-item:focus-within .ofertas-megamenu
{
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    transition: visibility 0s linear 0s, opacity 0.18s ease, transform 0.18s ease;
    pointer-events: auto;
}

.megamenu-region { position: relative; }

.megamenu-region-title
{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    padding: 0.8em 1.1em !important;
    color: #ffffff !important;
    text-decoration: none;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1em;
    white-space: nowrap;
    transition: background-color 0.15s ease;
    position: static !important;
}

.megamenu-region:hover .megamenu-region-title,
.megamenu-region.open .megamenu-region-title { background-color: rgba(0,0,0,0.14); }

.megamenu-region-arrow
{
    font-size: 0.85em;
    margin-left: 1em;
    color: rgba(255,255,255,0.55);
    transition: transform 0.15s ease;
    flex-shrink: 0;
}

.megamenu-region:hover .megamenu-region-arrow { transform: translateX(2px); }

.megamenu-submenu
{
    position: fixed;
    background: rgba(15, 50, 45, 0.95) !important;
    border-left: 1px solid rgba(255,255,255,0.1);
    box-shadow: 4px 6px 20px rgba(0,0,0,0.25);
    padding: 0 0 8px;
    min-width: 180px;
    z-index: 1002;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s linear 0.12s, opacity 0.12s ease;
    pointer-events: none;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
}

.megamenu-submenu::-webkit-scrollbar {
    width: 8px;
}
.megamenu-submenu::-webkit-scrollbar-track {
    background: transparent;
}
.megamenu-submenu::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.25);
    border-radius: 2px;
}
.megamenu-submenu::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,0.45);
}

.megamenu-submenu.open
{
    visibility: visible;
    opacity: 1;
    transition: visibility 0s linear 0s, opacity 0.12s ease;
    pointer-events: auto;
}

.megamenu-submenu ul { list-style: none; margin: 0; padding: 0; }
.megamenu-submenu li { margin: 0; }

.megamenu-submenu a
{
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 0.72em 1.1em !important;
    color: rgba(255,255,255,0.85) !important;
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.93em;
    white-space: nowrap;
    transition: background-color 0.15s ease, color 0.15s ease;
    position: static !important;
}

.megamenu-submenu a:hover
{
    background-color: rgba(255,255,255,0.1);
    color: #ffffff !important;
}

.megamenu-country-img {
    width: 24px;
    height: 24px;
    object-fit: cover;
    border-radius: 50%;
    flex-shrink: 0;
    opacity: 0.85;
}

.megamenu-submenu a {
    display: flex !important;
    align-items: center;
    gap: 10px;
}

.nav-item--ofertas.open .nav-chevron { transform: rotate(180deg); opacity: 1; }

.destinos-megamenu a,
.ofertas-megamenu a { position: static !important; }
.destinos-megamenu a::after,
.ofertas-megamenu a::after { display: none !important; }

.header-nav-menu .destinos-megamenu .megamenu-region-title { color: #ffffff !important; }
.header-nav-menu .ofertas-megamenu .megamenu-region-title { color: #ffffff !important; }
.header-nav-menu .ofertas-megamenu .megamenu-region:hover .megamenu-region-title { color: #ffffff !important; }
.header-nav-menu .megamenu-submenu a   { color: rgba(255,255,255,0.85) !important; }
.header-nav-menu .megamenu-submenu a:hover { color: #ffffff !important; }

.destinos-megamenu a::after { display: none !important; }

.header-menu-toggle
{
    display: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
}

.header-menu-toggle span
{
    display: block;
    width: 22px;
    height: 2px;
    background-color: #fff;
    border-radius: 1px;
    transition: transform 0.25s ease, opacity 0.25s ease;
    transform-origin: center;
}

.header-menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header-menu-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.header-menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.header-mobile-dropdown
{
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: rgba(20, 55, 50, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    border-top: 1.5px solid rgba(255,255,255,0.15);
    z-index: 999;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-6px);
    transition: visibility 0s linear 0.2s, opacity 0.2s ease, transform 0.2s ease;
}

.header-mobile-dropdown.open
{
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    transition: visibility 0s linear 0s, opacity 0.2s ease, transform 0.2s ease;
}

.header-mobile-dropdown a
{
    display: block;
    padding: 1em 1.5em;
    text-decoration: none;
    color: rgba(255,255,255,0.9) !important;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.05em;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: background-color 0.15s ease;
    -webkit-tap-highlight-color: transparent;
}

.header-mobile-dropdown a:last-child { border-bottom: none; }
.header-mobile-dropdown a:active { background-color: rgba(255,255,255,0.08); }

.header-mobile-dropdown .mob-l1-link,
.header-mobile-dropdown .mob-l2-link,
.header-mobile-dropdown .mob-l3-link { border-bottom: none !important; padding: 0; }

.header-nav-menu img { display: none; }

.header-nav-logo
{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
}

.header-nav-logo img,
.header-nav-logo svg
{
    height: auto;
    max-height: 50px;
    margin: 0;
    padding: 0;
    background: transparent;
    display: block;
}

.header-nav-search {
    position: relative;
    display: flex;
    align-items: stretch;
    align-self: stretch;
}

.as-search-btn {
    background: none !important;
    border: none !important;
    padding: 0 0.75em 0 0.75em !important;
    align-self: stretch;
    display: flex;
    align-items: center;
    margin-right: 0;
    cursor: pointer;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    align-self: stretch;
    box-shadow: none !important;
    transition: background-color 0.18s ease;
}
.as-search-btn:hover {
    background-color: rgba(255,255,255,0.2) !important;
    align-self: stretch;
    border-radius: 0 !important;
}
@media (max-width: 768px) {
    .as-search-btn:hover { background-color: transparent !important; }
    .as-search-btn { margin-right: 0; padding: 0 0.35em !important; }
}

.as-search-icon-wrap {
    position: relative;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}
.as-search-icon--svg {
    display: block;
    color: rgba(255,255,255,0.85);
    transition: color 0.2s ease;
}
.as-search-btn:hover .as-search-icon--svg {
    color: rgba(255,255,255,1);
}

.as-search-input {
    width: 0;
    opacity: 0;
    padding: 6px 16px !important;
    border: none !important;
    border-bottom: 1.5px solid transparent !important;
    background: none !important;
    font-family: 'Space Grotesk', sans-serif !important;
    font-size: 0.9em !important;
    color: #222 !important;
    outline: none !important;
    box-shadow: none !important;
    transition: width 0.28s ease, opacity 0.28s ease, border-color 0.2s ease;
    overflow: hidden;
    order: -1;
    text-align: left;
}
.header-nav-search.is-open .as-search-input {
    width: 200px;
    opacity: 1;
    border-bottom-color: rgba(255,255,255,0.6) !important;
}
.site-header .as-search-input {
    color: #fff !important;
}
.site-header .as-search-input::placeholder {
    color: rgba(255,255,255,0.6) !important;
}

.as-search-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 340px;
    background: rgba(20, 55, 50, 0.92) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 10px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.25);
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 70vh;
    z-index: 9999;
    overscroll-behavior: contain;
    isolation: isolate;
}
.as-search-dropdown.is-open { display: block; }

.as-search-dropdown::-webkit-scrollbar,
.as-search-overlay-results::-webkit-scrollbar {
    width: 4px;
}
.as-search-dropdown::-webkit-scrollbar-track,
.as-search-overlay-results::-webkit-scrollbar-track {
    background: transparent;
}
.as-search-dropdown::-webkit-scrollbar-thumb,
.as-search-overlay-results::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.25);
    border-radius: 2px;
}
.as-search-dropdown::-webkit-scrollbar-thumb:hover,
.as-search-overlay-results::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,0.45);
}

.as-sd-header {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.7em;
    font-weight: 700;
    color: rgba(255,255,255,0.5) !important;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 10px 16px 5px;
    display: flex;
    align-items: center;
    gap: 7px;
}
.as-sd-section-dot { display: none; }

.as-sd-divider { height: 1px; background: rgba(255,255,255,0.1); margin: 4px 0 0; }
.as-sd-list { padding: 0 0 4px; }

.as-sd-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    text-decoration: none !important;
    color: rgba(255,255,255,0.9) !important;
    transition: background 0.12s;
    cursor: pointer;
}
.as-sd-row:hover { background: rgba(255,255,255,0.08); color: #ffffff !important; }
.as-sd-row.is-hidden { display: none; }

.as-sd-thumb {
    width: 42px; height: 42px;
    object-fit: cover;
    border-radius: 5px;
    flex-shrink: 0;
    background: rgba(255,255,255,0.1);
}
.as-sd-thumb--empty { background: rgba(255,255,255,0.08); }

.as-sd-title {
    font-family: 'Space Grotesk', sans-serif !important;
    font-size: 0.88em !important;
    color: rgba(255,255,255,0.9) !important;
    line-height: 1.3 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.as-sd-more {
    display: block !important;
    width: 100%;
    text-align: left;
    padding: 6px 16px 10px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.8em;
    font-weight: 600;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    color: rgba(255,255,255,0.6) !important;
    cursor: pointer;
    transition: opacity 0.12s;
    text-decoration: none !important;
}
.as-sd-more:hover { opacity: 0.7; color: rgba(255,255,255,0.6) !important; }
.as-sd-more:active { opacity: 0.4; transform: scale(0.97); }

@keyframes as-sd-row-in {
    from { opacity: 0; transform: translateY(5px); }
    to   { opacity: 1; transform: translateY(0); }
}
.as-sd-row--new { animation: as-sd-row-in 0.2s ease both; }

@keyframes as-sd-spin {
    to { transform: rotate(360deg); }
}
.as-sd-spinner {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
}
.as-sd-spinner::after {
    content: '';
    width: 22px; height: 22px;
    border: 2px solid #e0e0e0;
    border-top-color: #009088;
    border-radius: 50%;
    animation: as-sd-spin 0.7s linear infinite;
}

.as-search-page-loading {
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,0.7);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.as-search-page-loading::after {
    content: '';
    width: 36px; height: 36px;
    border: 3px solid #e0e0e0;
    border-top-color: #009088;
    border-radius: 50%;
    animation: as-sd-spin 0.7s linear infinite;
}

.as-sd-empty {
    padding: 16px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.88em;
    color: rgba(255,255,255,0.4) !important;
    text-align: center;
}

.as-sd-footer {
    display: block;
    padding: 10px 16px 12px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.82em;
    font-weight: 700;
    color: rgba(255,255,255,0.7) !important;
    text-decoration: none !important;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 4px;
    transition: background 0.12s;
    letter-spacing: 0.02em;
}
.as-sd-footer:hover { background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.7) !important; }

.as-search-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.45);
    align-items: flex-end;
    justify-content: center;
}
.as-search-overlay.is-open { display: flex; }

.as-search-overlay-box {
    width: 100%;
    background: rgba(20, 55, 50, 0.96);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: 14px 14px 0 0;
    box-shadow: 0 -2px 24px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column-reverse;
    transform: translateY(100%);
    transition: transform 0.24s cubic-bezier(0.32, 0.72, 0, 1);
    max-height: 60vh;
}
.as-search-overlay.is-open .as-search-overlay-box {
    transform: translateY(0);
}

.as-search-overlay-bar {
    display: flex;
    align-items: center;
    padding: 8px 0.65em 8px 14px;
    gap: 10px;
    border-top: 1.5px solid rgba(255,255,255,0.15);
    flex-shrink: 0;
}

.as-search-overlay-input {
    flex: 1;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    font-family: 'Space Grotesk', sans-serif !important;
    font-size: 1.1em !important;
    color: #ffffff !important;
    background: transparent !important;
    padding: 4px 0 !important;
}
.as-search-overlay-input::placeholder { color: rgba(255,255,255,0.4); }

.as-search-overlay-submit {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 6px 8px 6px 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
}

.as-search-overlay-close {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 6px 14px 6px 6px;
    cursor: pointer;
    color: rgba(255,255,255,0.5) !important;
    font-size: 1.1em;
    line-height: 1;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.as-search-overlay-results {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    flex: 1;
    padding-bottom: env(safe-area-inset-bottom, 12px);
}

.as-search-overlay-footer {
    display: block;
    padding: 12px 16px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9em;
    font-weight: 700;
    color: rgba(255,255,255,0.7) !important;
    text-decoration: none !important;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    transition: background 0.12s;
}
.as-search-overlay-footer:hover { background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.7) !important; }

@media (max-width: 768px)
{
    .header-nav-menu a,
    .header-nav-menu .nav-item { display: none; }
    .header-menu-toggle { display: flex; }
    .as-search-input { display: none !important; }
    .header-nav-search.is-open .as-search-input { display: none !important; }
}

.mob-nav-panel
{
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.mob-nav-chevron
{
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    opacity: 0.6;
    transition: transform 0.22s ease;
    flex-shrink: 0;
}
.mob-expand-btn.open .mob-nav-chevron { transform: rotate(180deg); opacity: 1; }

.mob-expand-btn
{
    display: flex;
    align-items: center;
    padding: 0 1.1em;
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.mob-l1-row
{
    display: flex;
    align-items: stretch;
    background-color: rgba(255,255,255,0.07);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.mob-l1-row:active { background-color: rgba(255,255,255,0.15); }

.header-mobile-dropdown .mob-l1-link
{
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    padding: 1em 0.8em 1em 1.5em;
    color: #ffffff !important;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.05em;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

.mob-l1-row .mob-expand-btn
{
    flex: 1;
    justify-content: flex-end;
    color: rgba(255,255,255,0.7);
    padding-right: 1.3em;
    border-left: none;
}

.mob-l2-row
{
    display: flex;
    align-items: stretch;
    background-color: rgba(0,0,0,0.15);
    border-bottom: 1px solid rgba(255,255,255,0.07);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.mob-l2-row:active { background-color: rgba(255,255,255,0.1); }

.header-mobile-dropdown .mob-l2-link
{
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    padding: 0.85em 0.8em 0.85em 2em;
    color: rgba(255,255,255,0.85) !important;
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.97em;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

.mob-l2-row .mob-expand-btn
{
    flex: 1;
    justify-content: flex-end;
    color: rgba(255,255,255,0.5);
    border-left: none;
    padding-right: 1.3em;
}

.header-mobile-dropdown .mob-l3-link
{
    display: block;
    padding: 0.7em 1.5em 0.7em 3em;
    color: rgba(255,255,255,0.7) !important;
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.9em;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    background-color: rgba(0,0,0,0.2);
    -webkit-tap-highlight-color: transparent;
    transition: background-color 0.15s ease;
}
.mob-l3-link:last-child { border-bottom: 1px solid rgba(255,255,255,0.07); }
.mob-l3-link:active { background-color: rgba(0,144,136,0.07); }

.modernized_page_title_container {
    position: relative;
    width: 100vw;
    margin: 0;
    min-height: 385px;
    padding: 1.2em 1em 1em;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: "Space Grotesk", sans-serif;
    background-color: #1a1a2e;
    overflow: hidden;
}

.td-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: opacity 1s ease;
    pointer-events: none;
    z-index: 0;
}

.td-hero-bg--current { z-index: 0; }
.td-hero-bg--next    { z-index: 1; }

.modernized_page_title_container--loading {
    opacity: 1;
}

.modernized_page_title_container::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(to bottom, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0) 45%),
        linear-gradient(to top,    rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.15) 65%);
    pointer-events: none;
}

.modernized_page_title_container--hero {
    position: relative;
    height: 50vh;
    margin-top: -65px;
    padding-top: 65px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #143732;
}

.modernized_page_title_container__overlay {
    display: none;
}

.modernized_page_title_container__inner {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3em;
}

.modernized_page_title_container--hero .breadcrumbs-container {
    background: transparent;
    border: none;
    margin: 0;
    padding: 0.2em 0 0;
    width: auto;
}

.modernized_page_title_container--hero .modernized_breadcrumbs {
    color: rgba(255,255,255,0.75) !important;
    font-size: 0.82em;
}

.modernized_page_title_container--hero a.modernized_breadcrumbs {
    color: rgba(255,255,255,0.75) !important;
}


.modernized_page_title_container--hero .modernized_page_title {
    color: #fff;
    font-size: 1.8em;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
    letter-spacing: 0.01em;
}

.modernized_page_title {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.8em;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.modernized_page_subtitle {
    display: block;
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.85em;
    font-weight: 400;
    color: #888;
    letter-spacing: 0.04em;
    margin-top: 4px;
    text-transform: uppercase;
}

.modernized_page_description {
    display: block;
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.9em;
    font-weight: 400;
    color: #555;
    margin-top: 8px;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .modernized_page_title_container--hero {
        height: 60vh;
        margin-top: -65px;
        padding-top: 65px;
        box-sizing: border-box;
    }

    .modernized_page_title_container--hero .modernized_page_title {
        font-size: 1.6em;
    }
}

.breadcrumbs-container {
    background-color: transparent;
    width: 100vw;
    padding: 0.5em 0 0;
    box-sizing: border-box;
    display: block;
    text-align: center;
    font-family: "Space Grotesk", sans-serif;
    margin-bottom: 0;
    border-bottom: none;
    position: relative;
    z-index: 1;
}

.modernized_breadcrumbs {
    display: inline-block;
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.82em;
    color: rgba(255,255,255,0.75) !important;
    margin: 0 3px;
    user-select: none;
}

a.modernized_breadcrumbs,
button.modernized_breadcrumbs {
    color: rgba(255,255,255,0.75) !important;
    text-decoration: none;
    transition: opacity 0.15s;
    cursor: pointer;
    font: inherit;
}

a.modernized_breadcrumbs:hover,
button.modernized_breadcrumbs:hover {
    opacity: 0.7;
    transform: none !important;
}

/* ── Breadcrumbs inside banner (circuit/offer posts) ─────────────── */
/* Hide breadcrumbs before JS moves them into the banner — prevents flash */
.single-program .breadcrumbs-container,
.single-program .overview_section {
    display: none;
}

.single-program .circuit_content .banner_section {
    opacity: 0;
    transition: opacity 0.2s ease;
}

.circuit_content .banner_section .breadcrumbs-container {
    background: transparent;
    border-bottom: none;
    margin-bottom: 0;
    margin-top: 0.8em;
    padding: 0;
    text-align: center;
    width: 100%;
}

.circuit_content .banner_section .modernized_breadcrumbs {
    color: rgba(255, 255, 255, 0.75) !important;
    font-size: 0.82em;
}

.circuit_content .banner_section a.modernized_breadcrumbs {
    color: rgba(255, 255, 255, 0.75) !important;
}

.circuit_content .banner_section a.modernized_breadcrumbs:hover {
    opacity: 0.75;
}

.circuit_content .banner_section .bc-current,
.modernized_page_title_container--hero .bc-current {
    color: rgba(255, 255, 255, 1) !important;
    font-weight: 700;
    text-decoration: none !important;
}

/* ── Homepage outstanding offers – card animations ───────────────── */
@keyframes hp-offer-fade-in {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes hp-offer-fade-out {
    from { opacity: 1; transform: translateY(0); }
    to   { opacity: 0; transform: translateY(10px); }
}
[data-hp-hidden] {
    display: none !important;
}
.hp-offer-pre-reveal {
    opacity: 0;
}
.hp-offer-revealing {
    animation: hp-offer-fade-in 0.32s ease both;
}
.hp-offer-hiding {
    animation: hp-offer-fade-out 0.22s ease both;
}

/* ── Homepage outstanding offers – show more button ──────────────── */
.hp-offers-show-more {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    margin-top: 16px;
    padding: 9px 0;
    border-radius: 6px;
    border: none !important;
    background: none !important;
    box-shadow: none !important;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.82em;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #009088 !important;
    cursor: pointer;
    transition: background 0.18s ease;
}
.hp-offers-show-more:hover {
    background: rgba(0, 144, 136, 0.08) !important;
}

/* ── Catalogue sub-grids wrapper – hidden when empty ─────────────── */
.as-catalogue-sub-grids {
    display: none;
}
.as-catalogue-sub-grids.is-open {
    display: block;
}

/* ── Catalogue PDF viewer modal ──────────────────────────────────── */
#cv-modal { display: none; position: fixed; inset: 0; z-index: 99999; align-items: center; justify-content: center; }
#cv-modal.cv-open { display: flex; }
.cv-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.85); }
.cv-box {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    max-width: 95vw;
}
.cv-zoom-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 40px rgba(0,0,0,0.7);
    overflow: visible;
}
#cv-book {
    position: relative;
    overflow: visible;
}
.cv-page {
    position: absolute;
    overflow: visible;
}
.cv-page-canvas {
    display: block;
    width: 100%;
    height: 100%;
}
.cv-top-bar {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.cv-download {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    color: rgba(255,255,255,0.75) !important;
    text-decoration: none !important;
    font-size: 13px !important;
    font-family: "Space Grotesk", sans-serif !important;
    transition: color 0.15s !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}
.cv-download:hover { color: #fff !important; text-decoration: none !important; }
.cv-close {
    background: none !important;
    border: none !important;
    color: rgba(255,255,255,0.75) !important;
    font-size: 22px !important;
    cursor: pointer !important;
    padding: 4px 6px !important;
    transition: color 0.15s !important;
    line-height: 1 !important;
    box-shadow: none !important;
}
.cv-close:hover { color: #fff !important; }
.cv-canvas-wrap {
    position: relative;
}
.cv-loader {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 120px;
}
.cv-spinner {
    width: 60px; height: 60px;
    border: 4px solid rgba(255,255,255,0.15);
    border-top-color: #009088;
    border-radius: 50%;
    animation: cv-spin 0.8s linear infinite;
}
.cv-progress {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 12px;
    font-family: "Space Grotesk", sans-serif;
    pointer-events: none;
}
@keyframes cv-spin { to { transform: rotate(360deg); } }
@keyframes cv-fade-in { from { opacity: 0; } to { opacity: 1; } }
.cv-error { color: #fff; font-size: 14px; text-align: center; padding: 16px; }
#cv-canvas {
    display: block;
    transform-origin: center center;
    transition: transform 0.08s ease;
}
.cv-controls {
    display: none;
    align-items: center;
    gap: 16px;
}
.cv-btn {
    background: rgba(255,255,255,0.12) !important;
    border: none !important;
    color: #fff !important;
    font-size: 30px !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background 0.15s !important;
    line-height: 1 !important;
    padding: 0 !important;
    box-shadow: none !important;
    text-shadow: none !important;
}
.cv-btn:hover:not(:disabled) { background: rgba(255,255,255,0.28) !important; }
.cv-btn:disabled { opacity: 0.3 !important; cursor: default !important; }
.cv-scrubber-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
}
.cv-scrubber-spinner {
    display: flex;
    align-items: center;
    gap: 6px;
}
.cv-scrubber-spinner::before {
    content: '';
    display: block;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    border: 2px solid rgba(255,255,255,0.2);
    border-top-color: #009088;
    border-radius: 50%;
    animation: cv-spin 0.8s linear infinite;
}
.cv-scrubber-spinner-pct {
    color: rgba(255,255,255,0.75);
    font-size: 12px;
    font-family: "Space Grotesk", sans-serif;
    min-width: 32px;
}
.cv-scrubber {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    animation: cv-fade-in 0.4s ease;
    height: 4px;
    border-radius: 2px;
    background: rgba(255,255,255,0.2);
    outline: none;
    cursor: pointer;
    min-width: 120px;
}
.cv-scrubber::-webkit-slider-runnable-track {
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(to right, #009088 var(--cv-fill, 0%), rgba(255,255,255,0.2) var(--cv-fill, 0%));
}
.cv-scrubber::-moz-range-track {
    height: 4px;
    border-radius: 2px;
    background: rgba(255,255,255,0.2);
}
.cv-scrubber::-moz-range-progress {
    height: 4px;
    border-radius: 2px;
    background: #009088;
}
.cv-scrubber::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    margin-top: -5px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.4);
    transition: transform 0.1s;
}
.cv-scrubber::-webkit-slider-thumb:hover { transform: scale(1.2); }
.cv-scrubber::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    border: none;
    box-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

/* ── Global mobile — neutralise theme fixed widths ───────────────── */
@media (max-width: 768px) {
    .content_wrap,
    .content_container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
    }
    .content {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
        float: none !important;
        margin: 0 !important;
    }
    .modernized_home_content,
    .hp_catalogues_idContent {
        width: 100% !important;
        box-sizing: border-box !important;
    }
}

/* ── Homepage outstanding offers – mobile layout ─────────────────── */
@media (max-width: 600px) {
    /* 1 column, fluid */
    .importantOffersGrid {
        grid-template-columns: 1fr !important;
        grid-gap: 8px !important;
        width: 100% !important;
        padding: 0 8px !important;
        box-sizing: border-box !important;
    }

    /* Cards: fluid width, keep original height so text % positions work */
    .importantOffersGrid .childOffersContainer {
        width: 100% !important;
        height: 470px !important;
        overflow: hidden !important;
    }

    /* Image fills card */
    .importantOffersGrid .childOffersImg {
        width: 100% !important;
        height: 470px !important;
        object-fit: cover !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        transform: none !important;
    }

    /* Text overlays: fluid width */
    .importantOffersGrid .childOffersLabelText,
    .importantOffersGrid .offersTopLabel,
    .importantOffersGrid .childOffersHoverText {
        width: 100% !important;
        left: 0 !important;
        box-sizing: border-box !important;
    }

    /* Left/right hover texts: reposition for fluid width */
    .importantOffersGrid .childOffersRightHoverText {
        left: 50% !important;
        width: 50% !important;
    }
    .importantOffersGrid .childOffersLeftHoverText {
        left: 0 !important;
        width: 50% !important;
    }

    /* Disable hover/press effects on mobile */
    .importantOffersGrid .childOffersContainer {
        pointer-events: none !important;
    }
    .importantOffersGrid .childOffersContainer a {
        pointer-events: auto !important;
    }

    /* Always show hover texts on mobile */
    .importantOffersGrid .childOffersLabelText {
        top: 87% !important;
    }
    .importantOffersGrid .offersTopLabel {
        top: 81.3% !important;
    }
    .importantOffersGrid .childOffersHoverText {
        opacity: 1 !important;
        top: 95% !important;
        background-color: rgba(0, 0, 0, 0.7) !important;
        pointer-events: none;
    }
}
