/**
 * GoExplore Destinations Megamenu – [goexplore_destinations_megamenu]
 */


/* ── Tokens ── */

.gem-wrap {
    --gem-accent: #dab565;
    --gem-accent-soft: rgba(218, 181, 101, 0.14);
    --gem-detail-yellow: #f0e6c8;
    --gem-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --gem-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    background: transparent;
    background-color: transparent;
}

.gem-wrap--light {
    --gem-text: #6b705c;
    --gem-text-active: #3f4235;
    --gem-detail-text: #1f1f1f;
    --gem-detail-yellow: #000000;
    --gem-section-label: #000000;
    --gem-muted: rgba(0, 0, 0, 0.55);
    --gem-divider: rgba(0, 0, 0, 0.12);
    --gem-accent: #b8922f;
    --gem-read-more: #b8922f;
}

.gem-wrap a.gem-dest,
.gem-wrap a.gem-link,
.gem-wrap a.gem-dest:link,
.gem-wrap a.gem-link:link,
.gem-wrap a.gem-dest:visited,
.gem-wrap a.gem-link:visited,
.gem-wrap a.gem-dest:hover,
.gem-wrap a.gem-link:hover,
.gem-wrap a.gem-dest:focus-visible,
.gem-wrap a.gem-link:focus-visible,
.gem-wrap a.gem-dest.is-active {
    background: transparent !important;
    background-color: transparent !important;
}

.gem-wrap--dark {
    --gem-text: rgba(255, 255, 255, 0.58);
    --gem-text-active: #ffffff;
    --gem-detail-text: #f0e6c8;
    --gem-detail-yellow: #f0e6c8;
    --gem-section-label: #f0e6c8;
    --gem-muted: rgba(240, 230, 200, 0.72);
    --gem-divider: rgba(255, 255, 255, 0.14);
    --gem-accent: #ffffff;
}

.gem-wrap *,
.gem-wrap *::before,
.gem-wrap *::after {
    box-sizing: border-box;
}

.gem-wrap a,
.gem-wrap a:link,
.gem-wrap a:visited,
.gem-wrap a:hover,
.gem-wrap a:focus,
.gem-wrap a:active,
.gem-wrap a:focus-visible {
    text-decoration: none !important;
    text-decoration-line: none !important;
    -webkit-text-decoration: none !important;
    border: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    background-image: none !important;
    outline: none !important;
}

.gem-wrap a.gem-panel__view,
.gem-wrap a.gem-panel__view:link,
.gem-wrap a.gem-panel__view:visited {
    border: 1px solid var(--gem-accent) !important;
}

.gem-wrap img {
    max-width: 100%;
    display: block;
}


/* ── Layout: 3 visual columns ── */

.gem-wrap,
.gem-wrap--light,
.gem-wrap--dark,
.gem-grid,
.gem-detail,
.gem-panel,
.gem-panel__col {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.gem-grid {
    display: grid;
    grid-template-columns: minmax(220px, 0.34fr) minmax(0, 0.66fr);
    gap: clamp(28px, 3.5vw, 52px);
    align-items: stretch;
    width: 100%;
    min-height: 0;
}

.gem-dests {
    position: relative;
    min-width: 0;
    padding-right: clamp(16px, 2vw, 28px);
    border-right: 1px solid var(--gem-divider);
}

.gem-detail {
    position: relative;
    width: 100%;
    min-width: 0;
    min-height: 0;
}


/* ── Destination list ── */

.gem-dests__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: clamp(16px, 2.2vw, 28px);
}

.gem-dests__item {
    margin: 0;
}

.gem-dest {
    display: inline-flex;
    align-items: center;
    width: 100%;
    padding: 4px 0;
    text-decoration: none !important;
    color: var(--gem-text);
    font-family: var(--sd-heading-font, var(--sd-font-heading, inherit));
    font-size: clamp(20px, 1.75vw, 30px);
    font-weight: 400;
    line-height: 1.12;
    letter-spacing: -0.01em;
    text-transform: none;
    transform: translateX(0);
    transition:
        color 0.32s var(--gem-ease),
        transform 0.38s var(--gem-ease-out);
}

.gem-dest__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateX(-10px);
    transition:
        width 0.34s var(--gem-ease-out),
        opacity 0.28s ease,
        transform 0.34s var(--gem-ease-out),
        margin 0.34s var(--gem-ease-out);
    margin-right: 0;
    color: var(--gem-accent);
}

.gem-dest__arrow svg {
    display: block;
    width: 16px;
    height: 16px;
}

.gem-dest__label {
    display: block;
    font-family: inherit;
    font-weight: inherit;
}

.gem-wrap--light .gem-dest,
.gem-wrap--light .gem-dest:link,
.gem-wrap--light .gem-dest:visited {
    color: #000000 !important;
}

.gem-wrap--light .gem-dest:hover,
.gem-wrap--light .gem-dest:focus-visible,
.gem-wrap--light .gem-dest.is-active,
.gem-wrap--light .gem-dest.is-active:link,
.gem-wrap--light .gem-dest.is-active:visited {
    color: var(--sd-primary, #008080) !important;
}

.gem-wrap--dark .gem-dest,
.gem-wrap--dark .gem-dest:link,
.gem-wrap--dark .gem-dest:visited {
    color: rgba(255, 255, 255, 0.62) !important;
}

.gem-wrap--dark .gem-dest:hover,
.gem-wrap--dark .gem-dest:focus-visible,
.gem-wrap--dark .gem-dest.is-active,
.gem-wrap--dark .gem-dest.is-active:link,
.gem-wrap--dark .gem-dest.is-active:visited {
    color: #ffffff !important;
}

.gem-dest:hover,
.gem-dest:focus-visible,
.gem-dest.is-active {
    color: var(--gem-text-active);
    transform: translateX(10px);
    outline: none;
}

.gem-dest:hover .gem-dest__arrow,
.gem-dest:focus-visible .gem-dest__arrow,
.gem-dest.is-active .gem-dest__arrow {
    width: 22px;
    opacity: 1;
    transform: translateX(0);
    margin-right: 10px;
}


/* ── Detail panels ── */

.gem-panel {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    display: grid;
    /* col-md-4 + col-md-3 within the 7/12 detail area (= 4/12 + 3/12 overall) */
    grid-template-columns: minmax(0, 4fr) minmax(0, 3fr);
    gap: clamp(20px, 2.5vw, 40px);
    opacity: 0;
    visibility: hidden;
    transform: translateX(18px);
    pointer-events: none;
    transition:
        opacity 0.34s var(--gem-ease),
        transform 0.42s var(--gem-ease-out),
        visibility 0.34s;
}

.gem-panel.is-active {
    position: relative;
    width: 100%;
    max-width: 100%;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
}

.gem-panel__col {
    min-width: 0;
    width: 100%;
}

.gem-panel__heading {
    margin: 0 0 18px;
    font-family: var(--sd-body-font, var(--sd-font-body, "Founders Grotesk", sans-serif));
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gem-section-label);
    text-decoration: none !important;
}

.gem-panel__empty {
    margin: 0;
    font-family: var(--sd-body-font, var(--sd-font-body, "Founders Grotesk", sans-serif));
    font-size: 15px;
    font-weight: 300;
    color: var(--gem-detail-text);
    line-height: 1.6;
    text-transform: none;
}

.gem-panel__view {
    grid-column: 1 / -1;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    max-width: 100%;
    margin-top: clamp(16px, 2vw, 28px);
    padding: 11px 26px;
    border: 1px solid var(--gem-accent);
    border-radius: 0;
    background: transparent;
    font-family: var(--sd-body-font, var(--sd-font-body, "Founders Grotesk", sans-serif));
    font-size: 14px;
    font-weight: 400;
    letter-spacing: normal;
    text-transform: none;
    text-decoration: none !important;
    color: var(--gem-detail-text);
    transition:
        background-color 0.28s var(--gem-ease),
        color 0.28s ease,
        border-color 0.28s ease,
        gap 0.28s var(--gem-ease);
}

.gem-panel__view:hover,
.gem-panel__view:focus-visible {
    gap: 14px;
    background: var(--gem-accent);
    border-color: var(--gem-accent);
    color: #ffffff;
    outline: none;
}

.gem-panel__view-arrow {
    transition: transform 0.28s var(--gem-ease);
}

.gem-panel__view:hover .gem-panel__view-arrow {
    transform: translateX(4px);
}


/* ── Link lists (parks + tours) ── */

.gem-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.gem-links__item {
    margin: 0;
    opacity: 0;
    transform: translateY(8px);
    transition:
        opacity 0.34s var(--gem-ease),
        transform 0.38s var(--gem-ease-out);
}

.gem-panel.is-active .gem-links__item {
    opacity: 1;
    transform: none;
}

.gem-panel.is-active .gem-links__item:nth-child(1) { transition-delay: 0.04s; }
.gem-panel.is-active .gem-links__item:nth-child(2) { transition-delay: 0.08s; }
.gem-panel.is-active .gem-links__item:nth-child(3) { transition-delay: 0.12s; }
.gem-panel.is-active .gem-links__item:nth-child(4) { transition-delay: 0.16s; }
.gem-panel.is-active .gem-links__item:nth-child(5) { transition-delay: 0.20s; }
.gem-panel.is-active .gem-links__item:nth-child(6) { transition-delay: 0.24s; }
.gem-panel.is-active .gem-links__item:nth-child(7) { transition-delay: 0.28s; }
.gem-panel.is-active .gem-links__item:nth-child(8) { transition-delay: 0.32s; }
.gem-panel.is-active .gem-links__item:nth-child(n+9) { transition-delay: 0.36s; }

.gem-link {
    display: block;
    padding: 7px 0;
    text-decoration: none !important;
    color: var(--gem-detail-text);
    letter-spacing: normal !important;
    position: relative;
    transition: color 0.24s ease, transform 0.28s var(--gem-ease), opacity 0.24s ease;
}

.gem-link:hover,
.gem-link:focus-visible {
    color: var(--gem-text-active);
    transform: translateX(6px);
    outline: none;
}

.gem-link:hover .gem-link__text,
.gem-link:hover .gem-link__meta,
.gem-link:focus-visible .gem-link__text,
.gem-link:focus-visible .gem-link__meta {
    color: var(--gem-text-active);
}

.gem-link__meta {
    display: block;
    margin-bottom: 3px;
    font-family: var(--sd-body-font, var(--sd-font-body, "Founders Grotesk", sans-serif));
    font-size: 13px;
    font-weight: 300;
    letter-spacing: normal !important;
    text-transform: none;
    color: var(--gem-muted);
}

.gem-link__text {
    display: block;
    font-family: var(--sd-body-font, var(--sd-font-body, "Founders Grotesk", sans-serif));
    font-size: clamp(14px, 1.1vw, 16px);
    font-weight: 300;
    line-height: 1.5;
    letter-spacing: normal !important;
    text-transform: none;
    color: var(--gem-detail-text);
}


/* ── Brizy megamenu overrides (high specificity) ── */

.brz-mega-menu .gem-wrap,
.brz .brz-mega-menu .gem-wrap,
.brz .brz-wp-shortcode .gem-wrap,
.brz-wp-shortcode .gem-wrap,
.brz-mega-menu .brz-wp-shortcode:has(.gem-wrap),
.brz .brz-mega-menu .brz-wp-shortcode:has(.gem-wrap),
.brz-wp-shortcode:has(.gem-wrap) {
    background: transparent !important;
    background-color: transparent !important;
}

.brz-mega-menu .brz-wp-shortcode:has(.gem-wrap),
.brz .brz-mega-menu .brz-wp-shortcode:has(.gem-wrap),
.brz-wp-shortcode:has(.gem-wrap) {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.brz-mega-menu .gem-wrap a:not(.gem-panel__view),
.brz .brz-mega-menu .gem-wrap a:not(.gem-panel__view),
.brz .brz-wp-shortcode .gem-wrap a:not(.gem-panel__view),
.brz-wp-shortcode .gem-wrap a:not(.gem-panel__view) {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.brz-mega-menu .gem-wrap a,
.brz-mega-menu .gem-wrap a:link,
.brz-mega-menu .gem-wrap a:visited,
.brz-mega-menu .gem-wrap a:hover,
.brz-mega-menu .gem-wrap a:focus,
.brz .brz-mega-menu .brz-wp-shortcode .gem-wrap a,
.brz .brz-mega-menu .brz-wp-shortcode .gem-wrap a:link,
.brz .brz-mega-menu .brz-wp-shortcode .gem-wrap a:visited,
.brz-wp-shortcode .gem-wrap a,
.brz-wp-shortcode .gem-wrap a:link,
.brz-wp-shortcode .gem-wrap a:visited {
    text-decoration: none !important;
    text-decoration-line: none !important;
    -webkit-text-decoration: none !important;
    border: none !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
    background-image: none !important;
    outline: none !important;
}

.brz-mega-menu .gem-wrap--light a.gem-dest,
.brz-mega-menu .gem-wrap--light a.gem-dest:link,
.brz-mega-menu .gem-wrap--light a.gem-dest:visited,
.brz-mega-menu .gem-wrap--light .gem-dest__label,
.brz .brz-mega-menu .gem-wrap--light a.gem-dest,
.brz .brz-wp-shortcode .gem-wrap--light a.gem-dest,
.brz-wp-shortcode .gem-wrap--light a.gem-dest {
    font-family: var(--sd-heading-font, var(--sd-font-heading, inherit)) !important;
    font-weight: 400 !important;
    color: #000000 !important;
}

.brz-mega-menu .gem-wrap--light a.gem-dest:hover,
.brz-mega-menu .gem-wrap--light a.gem-dest.is-active,
.brz .brz-mega-menu .gem-wrap--light a.gem-dest.is-active,
.brz .brz-wp-shortcode .gem-wrap--light a.gem-dest.is-active,
.brz-wp-shortcode .gem-wrap--light a.gem-dest.is-active {
    color: var(--sd-primary, #008080) !important;
}

.brz-mega-menu .gem-wrap--light div.gem-panel__heading,
.brz-mega-menu .gem-wrap--light .gem-panel__heading,
.brz .brz-mega-menu .gem-wrap--light div.gem-panel__heading,
.brz .brz-wp-shortcode .gem-wrap--light div.gem-panel__heading,
.brz-wp-shortcode .gem-wrap--light div.gem-panel__heading {
    font-family: var(--sd-body-font, var(--sd-font-body, "Founders Grotesk", sans-serif)) !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    letter-spacing: 0.14em !important;
    text-transform: uppercase !important;
    color: #000000 !important;
    text-decoration: none !important;
}

.brz-mega-menu .gem-wrap--light .gem-link__text,
.brz-mega-menu .gem-wrap--light .gem-link__meta,
.brz-mega-menu .gem-wrap--light a.gem-link,
.brz .brz-wp-shortcode .gem-wrap--light .gem-link__text,
.brz-wp-shortcode .gem-wrap--light .gem-link__text {
    font-family: var(--sd-body-font, var(--sd-font-body, "Founders Grotesk", sans-serif)) !important;
    text-transform: none !important;
    text-decoration: none !important;
    letter-spacing: normal !important;
    color: #000000 !important;
}

.brz-mega-menu .gem-wrap--light .gem-link__meta {
    color: rgba(0, 0, 0, 0.55) !important;
}

.brz-mega-menu .gem-wrap--light a.gem-link:hover,
.brz-mega-menu .gem-wrap--light a.gem-link:focus-visible,
.brz .brz-wp-shortcode .gem-wrap--light a.gem-link:hover,
.brz-wp-shortcode .gem-wrap--light a.gem-link:hover {
    color: var(--sd-primary, #008080) !important;
}

.brz-mega-menu .gem-wrap--light a.gem-link:hover .gem-link__text,
.brz-mega-menu .gem-wrap--light a.gem-link:hover .gem-link__meta,
.brz-wp-shortcode .gem-wrap--light a.gem-link:hover .gem-link__text,
.brz-wp-shortcode .gem-wrap--light a.gem-link:hover .gem-link__meta {
    color: var(--sd-primary, #008080) !important;
}

.brz-mega-menu .gem-wrap--light a.gem-panel__view,
.brz-mega-menu .gem-wrap--light a.gem-panel__view:link,
.brz-mega-menu .gem-wrap--light a.gem-panel__view:visited,
.brz .brz-wp-shortcode .gem-wrap--light a.gem-panel__view,
.brz-wp-shortcode .gem-wrap--light a.gem-panel__view {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    width: fit-content !important;
    max-width: 100% !important;
    margin-top: clamp(16px, 2vw, 28px) !important;
    padding: 11px 26px !important;
    border: 1px solid var(--sd-primary, #008080) !important;
    border-radius: 0 !important;
    background: transparent !important;
    font-family: var(--sd-body-font, var(--sd-font-body, "Founders Grotesk", sans-serif)) !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    letter-spacing: normal !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    color: #000000 !important;
    transition: background-color 0.28s ease, color 0.28s ease, border-color 0.28s ease !important;
}

.brz-mega-menu .gem-wrap--light a.gem-panel__view:hover,
.brz-mega-menu .gem-wrap--light a.gem-panel__view:focus-visible,
.brz .brz-wp-shortcode .gem-wrap--light a.gem-panel__view:hover,
.brz-wp-shortcode .gem-wrap--light a.gem-panel__view:hover {
    background: var(--sd-primary, #008080) !important;
    border-color: var(--sd-primary, #008080) !important;
    color: #ffffff !important;
}

.brz-mega-menu .gem-wrap--dark a.gem-dest,
.brz-mega-menu .gem-wrap--dark a.gem-dest:link,
.brz-mega-menu .gem-wrap--dark a.gem-dest:visited,
.brz-mega-menu .gem-wrap--dark .gem-dest__label,
.brz .brz-mega-menu .gem-wrap--dark a.gem-dest,
.brz .brz-wp-shortcode .gem-wrap--dark a.gem-dest {
    font-family: var(--sd-heading-font, var(--sd-font-heading, inherit)) !important;
    font-weight: 400 !important;
    color: rgba(255, 255, 255, 0.62) !important;
}

.brz-mega-menu .gem-wrap--dark a.gem-dest:hover,
.brz-mega-menu .gem-wrap--dark a.gem-dest.is-active,
.brz .brz-mega-menu .gem-wrap--dark a.gem-dest.is-active,
.brz .brz-wp-shortcode .gem-wrap--dark a.gem-dest.is-active {
    color: #ffffff !important;
}

.brz-mega-menu .gem-wrap--dark div.gem-panel__heading,
.brz-mega-menu .gem-wrap--dark .gem-panel__heading,
.brz .brz-mega-menu .gem-wrap--dark div.gem-panel__heading,
.brz .brz-wp-shortcode .gem-wrap--dark div.gem-panel__heading,
.brz-wp-shortcode .gem-wrap--dark div.gem-panel__heading {
    font-family: var(--sd-body-font, var(--sd-font-body, "Founders Grotesk", sans-serif)) !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    letter-spacing: 0.14em !important;
    text-transform: uppercase !important;
    color: #f0e6c8 !important;
    text-decoration: none !important;
}

.brz-mega-menu .gem-wrap--dark .gem-link__text,
.brz-mega-menu .gem-wrap--dark .gem-link__meta,
.brz .brz-wp-shortcode .gem-wrap--dark .gem-link__text,
.brz-wp-shortcode .gem-wrap--dark .gem-link__text {
    font-family: var(--sd-body-font, var(--sd-font-body, "Founders Grotesk", sans-serif)) !important;
    text-transform: none !important;
    text-decoration: none !important;
    letter-spacing: normal !important;
    color: #f0e6c8 !important;
}

.brz-mega-menu .gem-wrap--dark a.gem-link:hover,
.brz-mega-menu .gem-wrap--dark a.gem-link:focus-visible,
.brz .brz-wp-shortcode .gem-wrap--dark a.gem-link:hover,
.brz-wp-shortcode .gem-wrap--dark a.gem-link:hover {
    color: #ffffff !important;
}

.brz-mega-menu .gem-wrap--dark a.gem-link:hover .gem-link__text,
.brz-mega-menu .gem-wrap--dark a.gem-link:hover .gem-link__meta,
.brz-wp-shortcode .gem-wrap--dark a.gem-link:hover .gem-link__text,
.brz-wp-shortcode .gem-wrap--dark a.gem-link:hover .gem-link__meta {
    color: #ffffff !important;
}

.brz .brz-wp-shortcode:has(.gem-wrap),
.brz-wp-shortcode:has(.gem-wrap),
.brz-shortcode:has(.gem-wrap) {
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
}

.brz .brz-wp-shortcode:has(.gem-wrap) > div,
.brz-wp-shortcode:has(.gem-wrap) > div {
    width: 100% !important;
    max-width: none !important;
}

.brz .gem-wrap,
.brz .brz-wp-shortcode .gem-wrap,
.brz-wp-shortcode .gem-wrap,
.brz-mega-menu .gem-wrap,
.brz .brz-mega-menu .gem-wrap {
    width: 100% !important;
    max-width: none !important;
}

.brz .gem-wrap .gem-grid,
.brz .brz-wp-shortcode .gem-grid,
.brz-wp-shortcode .gem-grid,
.brz-mega-menu .gem-grid {
    width: 100% !important;
    max-width: none !important;
}

.brz .gem-wrap .gem-detail,
.brz .gem-wrap .gem-panel.is-active,
.brz-wp-shortcode .gem-detail,
.brz-wp-shortcode .gem-panel.is-active {
    width: 100% !important;
    max-width: none !important;
}

.brz .gem-wrap,
.brz .brz-wp-shortcode .gem-wrap,
.brz-wp-shortcode .gem-wrap {
    text-align: left !important;
}

.brz .gem-wrap a,
.brz .gem-wrap a:hover,
.brz .gem-wrap a:focus,
.brz .brz-wp-shortcode .gem-wrap a,
.brz-wp-shortcode .gem-wrap a {
    text-decoration: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
}


/* ── Pelorus-style featured cards ── */

.gem-wrap--pelorus {
    background: #ffffff;
    padding: clamp(8px, 1.2vw, 16px) 0;
}

.gem-wrap--countries-grid {
    width: 100%;
}

.gem-countries {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.gem-countries__grid {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: clamp(16px, 2vw, 28px);
    width: 100%;
    min-width: 0;
}

.gem-country-card {
    display: flex;
    flex-direction: column;
    flex: 1 1 0;
    min-width: clamp(148px, 12vw, 240px);
    max-width: none;
    height: 100%;
}

.gem-country-card__media {
    width: 100%;
    height: clamp(168px, 16vw, 220px);
    margin: 0 0 clamp(14px, 1.6vw, 20px);
    overflow: hidden;
    background: #e8e8e8;
}

.gem-country-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s var(--gem-ease-out);
}

.gem-country-card:hover .gem-country-card__media img {
    transform: scale(1.03);
}

.gem-country-card__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1 1 auto;
    min-width: 0;
}

.gem-country-card__name {
    margin: 0 0 0.5rem;
    font-family: var(--sd-body-font, var(--sd-font-body, inherit));
    font-size: clamp(0.78rem, 0.9vw, 0.88rem);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    line-height: 1.25;
    color: var(--gem-detail-text);
    text-align: left;
}

.gem-country-card__teaser {
    margin: 0 0 0.65rem;
    font-family: var(--sd-body-font, var(--sd-font-body, inherit));
    font-size: clamp(calc(0.88rem - 4px), calc(0.95vw - 4px), calc(0.94rem - 4px));
    font-weight: 400;
    line-height: 1.45;
    color: var(--gem-muted);
    text-align: left;
}

.gem-country-card__brief {
    margin: 0 0 clamp(16px, 2vw, 22px);
    font-family: var(--sd-heading-font, var(--sd-font-heading, inherit));
    font-size: clamp(1rem, 1.12vw, 1.14rem);
    font-weight: 400;
    line-height: 1.45;
    color: var(--gem-detail-text);
    text-align: left;
}

.gem-wrap--countries-grid .gem-country-card__explore.gem-panel__view {
    margin-top: auto;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 12px;
    border: 1px solid var(--gem-accent) !important;
    background: transparent !important;
    background-color: transparent !important;
}

.gem-wrap--countries-grid .gem-country-card__explore.gem-panel__view:hover,
.gem-wrap--countries-grid .gem-country-card__explore.gem-panel__view:focus-visible {
    border-color: var(--gem-accent) !important;
}

.gem-panel__kicker {
    margin: 0 0 clamp(12px, 1.4vw, 16px);
    font-family: var(--sd-body-font, var(--sd-font-body, inherit));
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gem-muted);
}

.gem-nav__all {
    display: inline-block;
    margin: 0 0 clamp(18px, 2.4vw, 28px);
    padding: 0;
    font-family: var(--sd-body-font, var(--sd-font-body, inherit));
    font-size: clamp(0.92rem, 1.05vw, 1rem);
    font-weight: 400;
    line-height: 1.4;
    color: var(--gem-text);
    text-decoration: underline !important;
    text-underline-offset: 3px;
    transition: color 0.28s var(--gem-ease);
}

.gem-nav__all:hover,
.gem-nav__all:focus-visible {
    color: var(--gem-text-active);
}

.gem-wrap--pelorus .gem-dest {
    justify-content: space-between;
    gap: 12px;
    padding: clamp(10px, 1.2vw, 14px) 0;
    font-family: var(--sd-body-font, var(--sd-font-body, inherit)) !important;
    font-size: clamp(0.95rem, 1.05vw, 1.02rem) !important;
    font-weight: 400 !important;
    letter-spacing: 0.01em;
    color: var(--gem-text) !important;
    transform: none !important;
}

.gem-wrap--pelorus .gem-dest:hover,
.gem-wrap--pelorus .gem-dest:focus-visible,
.gem-wrap--pelorus .gem-dest.is-active {
    color: var(--gem-text-active) !important;
    transform: none !important;
}

.gem-wrap--pelorus .gem-dest__arrow {
    display: none !important;
}

.gem-dest__chev {
    flex-shrink: 0;
    font-size: 1.15rem;
    line-height: 1;
    color: rgba(107, 112, 92, 0.55);
    transition: color 0.28s var(--gem-ease), transform 0.28s var(--gem-ease-out);
}

.gem-wrap--pelorus .gem-dest:hover .gem-dest__chev,
.gem-wrap--pelorus .gem-dest.is-active .gem-dest__chev {
    color: var(--gem-text-active);
    transform: translateX(2px);
}

.gem-wrap--pelorus .gem-dests__list {
    gap: 0;
}

.gem-wrap--pelorus .gem-detail {
    min-height: clamp(320px, 34vw, 420px);
}

.gem-wrap--pelorus .gem-panel {
    display: flex;
    flex-direction: column;
    grid-template-columns: none;
    gap: clamp(20px, 2.5vw, 28px);
    transform: translateY(10px);
    transition:
        opacity 0.42s var(--gem-ease),
        transform 0.48s var(--gem-ease-out),
        visibility 0.42s;
}

.gem-wrap--pelorus .gem-panel.is-active {
    transform: none;
}

.gem-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    flex: 1 1 auto;
    align-items: stretch;
}

.gem-card {
    min-width: 0;
    padding: 0 clamp(16px, 2vw, 28px);
    border-left: 1px solid var(--gem-divider);
    opacity: 0;
    transform: translateY(14px);
    transition:
        opacity 0.45s var(--gem-ease),
        transform 0.48s var(--gem-ease-out);
}

.gem-card:first-child {
    border-left: none;
    padding-left: 0;
}

.gem-card:last-child {
    padding-right: 0;
}

.gem-panel.is-active .gem-card {
    opacity: 1;
    transform: none;
}

.gem-card__link {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    color: inherit;
    text-decoration: none !important;
}

.gem-wrap--pelorus .gem-card__media {
    width: 100%;
    height: clamp(168px, 16vw, 210px);
    margin: 0 0 clamp(12px, 1.4vw, 16px);
    aspect-ratio: unset;
    flex-shrink: 0;
}

.gem-card__media {
    margin: 0 0 clamp(14px, 1.6vw, 20px);
    aspect-ratio: 1.35;
    overflow: hidden;
    background: #e8e8e8;
}

.gem-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s var(--gem-ease-out);
}

.gem-card__link:hover .gem-card__media img,
.gem-card__link:focus-visible .gem-card__media img {
    transform: scale(1.04);
}

.gem-wrap--pelorus .gem-card__title {
    margin: 0 0 0.35rem;
}

.gem-card__title {
    margin: 0 0 0.65rem;
    font-family: var(--sd-body-font, var(--sd-font-body, inherit)) !important;
    font-size: clamp(0.78rem, 0.9vw, 0.88rem) !important;
    font-weight: 700 !important;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    line-height: 1.25;
    color: var(--gem-detail-text) !important;
    text-align: left !important;
}

.gem-card__teaser {
    margin: 0 0 auto;
    padding-bottom: clamp(14px, 1.8vw, 22px);
    font-family: var(--sd-heading-font, var(--sd-font-heading, inherit)) !important;
    font-size: clamp(1rem, 1.15vw, 1.12rem) !important;
    font-weight: 400 !important;
    line-height: 1.45 !important;
    color: rgba(31, 31, 31, 0.78) !important;
    text-align: left !important;
}

.gem-wrap--pelorus .gem-card__more {
    margin-top: 0;
}

.gem-card__more {
    display: inline-block;
    margin-top: auto;
    font-family: var(--sd-body-font, var(--sd-font-body, inherit));
    font-size: clamp(0.88rem, 0.95vw, 0.94rem);
    font-weight: 400;
    color: var(--gem-read-more, #b8922f);
    text-align: left;
    transition: opacity 0.25s ease;
}

.gem-card__link:hover .gem-card__more,
.gem-card__link:focus-visible .gem-card__more {
    opacity: 0.85;
}

.gem-panel__view-all {
    display: inline-block;
    margin-top: clamp(8px, 1vw, 12px);
    font-family: var(--sd-body-font, var(--sd-font-body, inherit));
    font-size: clamp(0.88rem, 0.95vw, 0.94rem);
    color: var(--gem-text);
    text-decoration: underline !important;
    text-underline-offset: 3px;
    transition: color 0.28s var(--gem-ease);
}

.gem-panel__view-all:hover,
.gem-panel__view-all:focus-visible {
    color: var(--gem-text-active);
}


/* ── Responsive ── */

@media (max-width: 900px) {
    .gem-countries__grid {
        gap: 20px;
    }

    .gem-country-card {
        min-width: clamp(200px, 72vw, 280px);
    }

    .gem-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        min-height: 0;
    }

    .gem-dests {
        padding-right: 0;
        border-right: none;
        border-bottom: 1px solid var(--gem-divider);
        padding-bottom: 20px;
    }

    .gem-panel {
        position: relative;
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .gem-cards {
        grid-template-columns: 1fr;
    }

    .gem-card {
        border-left: none;
        border-top: 1px solid var(--gem-divider);
        padding: 20px 0 0;
    }

    .gem-card:first-child {
        border-top: none;
        padding-top: 0;
    }

    .gem-dest {
        font-size: clamp(18px, 5vw, 26px);
    }
}


@media (prefers-reduced-motion: reduce) {
    .gem-dest,
    .gem-dest__arrow,
    .gem-panel,
    .gem-links__item,
    .gem-link,
    .gem-panel__view {
        transition: none !important;
    }

    .gem-panel {
        transform: none !important;
    }

    .gem-links__item {
        opacity: 1 !important;
        transform: none !important;
    }
}
