.explore-page {
    background: linear-gradient(90deg, #071b1ae6 0%, #071b1a99 28%, #071b1a3d 56%, #071b1acc 100%), linear-gradient(0deg, #061c1b 0%, transparent 40%), url('../images/explore-background.jpg') center / cover fixed;
    color: #fff;
    overflow-x: hidden;
}

.explore-header {
    align-items: center;
    background: #061b1ac2;
    border-bottom: 1px solid #ffffff1f;
    display: flex;
    gap: 2rem;
    justify-content: space-between;
    min-height: 78px;
    padding: .5rem clamp(1.25rem, 2.6vw, 3.5rem);
    position: relative;
    z-index: 3;
}

.explore-brand {
    align-items: center;
    color: #fff;
    display: inline-flex;
    flex: none;
    font-size: clamp(.95rem, 1.2vw, 1.3rem);
    font-weight: 800;
    letter-spacing: -.04em;
    text-decoration: none;
}

.explore-brand img {
    height: 55px;
    margin-right: .35rem;
    object-fit: contain;
    width: 82px;
}

.explore-brand > span > span {
    color: #f6bf44;
}

.explore-nav {
    align-items: center;
    display: flex;
    gap: clamp(1rem, 2.3vw, 2.8rem);
    justify-content: center;
}

.explore-nav a {
    border-bottom: 2px solid transparent;
    color: #f1f3e9;
    font-size: .79rem;
    font-weight: 700;
    padding: .65rem .05rem;
    text-decoration: none;
    white-space: nowrap;
}

.explore-nav a:hover,
.explore-nav .is-current {
    border-bottom-color: #f3bf4c;
    color: #f5c456;
}

.explore-header-actions {
    align-items: center;
    display: flex;
    flex: none;
    gap: .9rem;
}

.explore-search-shortcut {
    background: transparent;
    border: 0;
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    padding: .2rem;
}

.explore-login {
    border: 1px solid #d6e3d78a;
    border-radius: 999px;
    color: #fff;
    font-size: .82rem;
    font-weight: 750;
    padding: .6rem 1.4rem;
    text-decoration: none;
    white-space: nowrap;
}

.explore-login:hover {
    background: #f2bf4f;
    border-color: #f2bf4f;
    color: #13362c;
}

.explore-main {
    align-items: center;
    display: grid;
    flex: 1;
    gap: clamp(.75rem, 1.5vw, 1.6rem);
    grid-template-columns: minmax(235px, 23%) minmax(0, 1fr) minmax(290px, 22%);
    min-height: min(710px, calc(100vh - 255px));
    padding: 1.5rem clamp(1.25rem, 2.6vw, 3.5rem) .5rem;
}

.explore-copy {
    align-self: center;
    position: relative;
    z-index: 2;
}

.explore-kicker,
.explore-filter-label,
.explore-detail-count {
    color: #f5c65c;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .17em;
    text-transform: uppercase;
}

.explore-kicker {
    margin: 0 0 .8rem;
}

.explore-copy h1 {
    font-size: clamp(2.8rem, 4.3vw, 5.6rem);
    font-weight: 800;
    letter-spacing: -.07em;
    line-height: 1.02;
    margin: 0;
}

.explore-copy h1 span {
    color: #f5bc3f;
}

.explore-intro {
    color: #eef1df;
    font-size: clamp(.86rem, 1vw, 1.05rem);
    line-height: 1.65;
    margin: 1.2rem 0 1.5rem;
    max-width: 22rem;
}

.explore-search {
    align-items: center;
    backdrop-filter: blur(14px);
    background: #06201ead;
    border: 1px solid #dae5d2a8;
    border-radius: 999px;
    display: flex;
    gap: .55rem;
    max-width: 24rem;
    padding: .67rem 1rem;
}

.explore-search > span {
    font-size: 1.65rem;
    line-height: .7;
}

.explore-search input {
    background: transparent;
    border: 0;
    color: #fff;
    font-size: .8rem;
    min-width: 0;
    outline: none;
    width: 100%;
}

.explore-search input::placeholder {
    color: #dfecdd;
}

.explore-search:focus-within {
    border-color: #f4c35d;
    box-shadow: 0 0 0 3px #e5b74b47;
}

.explore-search-status {
    color: #cad9cb;
    font-size: .7rem;
    margin: .6rem 0 0 1rem;
}

.explore-filters {
    display: grid;
    gap: .42rem;
    margin-top: clamp(1.5rem, 4vh, 3rem);
    max-width: 13.5rem;
}

.explore-filter-label {
    color: #c8d6c2;
    margin-bottom: .35rem;
}

.explore-filter {
    align-items: center;
    backdrop-filter: blur(12px);
    background: #061c1bae;
    border: 1px solid #ffffff35;
    border-radius: 999px;
    color: #f4f5e8;
    display: flex;
    font-size: .78rem;
    gap: .65rem;
    padding: .5rem .85rem;
    text-align: left;
}

.explore-filter span {
    color: #f3c253;
    font-size: 1rem;
    line-height: 1;
    width: 1rem;
}

.explore-filter:hover,
.explore-filter.is-active {
    background: #f5bd46;
    border-color: #f5bd46;
    color: #12362c;
    font-weight: 800;
}

.explore-filter:hover span,
.explore-filter.is-active span {
    color: #12362c;
}

.explore-map {
    align-items: center;
    align-self: stretch;
    display: flex;
    justify-content: center;
    min-width: 0;
    position: relative;
}

.explore-map-stage {
    aspect-ratio: 5 / 4;
    position: relative;
    width: min(100%, 900px);
}

.explore-map-outline {
    display: block;
    filter: drop-shadow(0 0 16px #ffc7509c) drop-shadow(0 22px 28px #061a1acc);
    height: 100%;
    width: 100%;
}

.explore-pin {
    align-items: center;
    background: transparent;
    border: 0;
    cursor: pointer;
    display: flex;
    filter: drop-shadow(0 5px 7px #041c1ac9);
    left: var(--pin-x);
    padding: 0;
    position: absolute;
    top: var(--pin-y);
    transform: translate(-28px, -100%);
    z-index: 1;
    text-decoration: none;
}

.explore-pin:hover,
.explore-pin.is-active,
.explore-pin:focus-visible {
    z-index: 3;
}

.explore-pin-photo {
    align-items: center;
    background: #133b30;
    border: 3px solid #f2c04e;
    border-radius: 50%;
    box-shadow: 0 0 0 3px #f5d77b66;
    color: #f5c45d;
    display: flex;
    flex: 0 0 54px;
    height: 54px;
    justify-content: center;
    overflow: hidden;
    position: relative;
    width: 54px;
    z-index: 1;
}

.explore-pin-photo img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.explore-pin::after {
    background: #f0c654;
    border: 2px solid #fff;
    border-radius: 50% 50% 50% 2px;
    bottom: -10px;
    content: '';
    height: 16px;
    left: 20px;
    position: absolute;
    transform: rotate(-45deg);
    width: 16px;
}

.explore-pin-label {
    backdrop-filter: blur(12px);
    background: #071f1de0;
    border: 1px solid #f8d77777;
    border-radius: 0 999px 999px 0;
    color: #fff;
    font-size: .68rem;
    font-weight: 800;
    line-height: 1.15;
    margin-left: -.35rem;
    max-width: 135px;
    padding: .55rem .6rem .55rem .8rem;
    text-align: left;
}

.explore-pin.is-active .explore-pin-label {
    color: #ffd362;
}

.explore-pin-label span {
    color: #ffcf55;
    font-size: 1rem;
    margin-left: .2rem;
}

.explore-compass {
    align-items: center;
    border: 1px solid #d8e9d469;
    border-radius: 50%;
    color: #fff;
    display: flex;
    flex-direction: column;
    font-size: .8rem;
    height: 56px;
    justify-content: center;
    position: absolute;
    right: .5rem;
    top: 1rem;
    width: 56px;
}

.explore-compass span {
    color: #f6c64d;
    line-height: 1;
}

.explore-map-source {
    bottom: .6rem;
    color: #d1ddc6;
    font-size: .61rem;
    left: .5rem;
    position: absolute;
    text-shadow: 0 1px 3px #061b1a;
}

.explore-map-source a,
.explore-credit a {
    color: inherit;
}

.explore-details {
    align-self: center;
    backdrop-filter: blur(18px);
    background: #071d1be8;
    border: 1px solid #c8dec448;
    border-radius: 20px;
    box-shadow: 0 22px 55px #061a1acc;
    min-height: 400px;
    overflow: hidden;
}

.explore-detail[hidden],
.explore-no-results[hidden] {
    display: none;
}

.explore-detail-photo {
    height: clamp(160px, 23vh, 240px);
    position: relative;
}

.explore-detail-photo img,
.explore-photo-placeholder {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.explore-photo-placeholder {
    align-items: center;
    background: linear-gradient(135deg, #245043, #0a2721);
    color: #f8d47d;
    display: flex;
    justify-content: center;
}

.explore-category-tag {
    background: #f7bf47;
    border-radius: 999px;
    bottom: 1rem;
    color: #17372b;
    font-size: .6rem;
    font-weight: 800;
    left: 1rem;
    letter-spacing: .08em;
    padding: .45rem .7rem;
    position: absolute;
    text-transform: uppercase;
}

.explore-detail-body {
    padding: clamp(1.1rem, 1.6vw, 1.7rem);
}

.explore-detail-count {
    color: #bbd0bc;
    font-size: .57rem;
    margin-bottom: .5rem;
}

.explore-detail-body h2,
.explore-empty h2 {
    font-size: clamp(1.5rem, 2vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: 1.12;
    margin-bottom: .5rem;
}

.explore-location {
    color: #d7e1cc;
    font-size: .75rem;
    margin: 0 0 1rem;
}

.explore-location span {
    color: #f8c54c;
    font-size: 1.2rem;
    vertical-align: -.1rem;
}

.explore-summary {
    color: #dce7da;
    font-size: .8rem;
    line-height: 1.7;
    min-height: 3.5rem;
}

.explore-visit {
    align-items: center;
    background: #f6bd47;
    border-radius: 999px;
    color: #142d25;
    display: flex;
    font-size: .78rem;
    font-weight: 800;
    justify-content: space-between;
    margin-top: 1.2rem;
    padding: .75rem 1rem;
    text-decoration: none;
}

.explore-visit:hover {
    background: #ffd676;
    color: #142d25;
}

.explore-credit {
    color: #afc6b5;
    font-size: .58rem;
    line-height: 1.45;
    margin: .9rem 0 0;
}

.explore-empty,
.explore-no-results {
    color: #dce8d7;
    padding: 3rem 1.5rem;
}

.explore-empty > span {
    color: #f6c24e;
    display: block;
    font-size: 3rem;
    margin-bottom: 1.2rem;
}

.explore-destinations {
    background: linear-gradient(0deg, #061917f5, #0619179e);
    padding: .6rem clamp(1.25rem, 2.6vw, 3.5rem) 1.2rem;
}

.explore-destination-header {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: .55rem;
}

.explore-destination-header h2 {
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .12em;
    margin: 0;
    text-transform: uppercase;
}

.explore-destination-header span {
    color: #cbd6c3;
    font-size: .7rem;
}

.explore-destination-list {
    display: flex;
    gap: .65rem;
    overflow-x: auto;
    padding-bottom: .25rem;
    scrollbar-color: #e6bd55 #153d33;
}

.explore-destination {
    background: #092620;
    border: 1px solid #ffffff38;
    border-radius: 12px;
    color: #fff;
    flex: 1 0 135px;
    height: 110px;
    max-width: 220px;
    min-width: 135px;
    overflow: hidden;
    padding: 0;
    position: relative;
    text-align: left;
    display: block;
    text-decoration: none;
}

.explore-destination img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.explore-destination::after {
    background: linear-gradient(0deg, #041b19ef, transparent 80%);
    content: '';
    inset: 0;
    position: absolute;
}

.explore-destination:hover,
.explore-destination.is-active {
    border-color: #f4bc46;
    box-shadow: 0 0 0 1px #f4bc46;
}

.explore-destination-text {
    bottom: .45rem;
    display: grid;
    gap: .05rem;
    left: .55rem;
    position: absolute;
    right: .4rem;
    z-index: 1;
}

.explore-destination-text strong {
    font-size: .68rem;
    line-height: 1.15;
}

.explore-destination-text small {
    color: #dce7d3;
    font-size: .58rem;
}

.explore-footer {
    background: #061917;
    color: #c7d8c8;
    font-size: .65rem;
    padding: .35rem clamp(1.25rem, 2.6vw, 3.5rem) .65rem;
}

.explore-page button:focus-visible,
.explore-page a:focus-visible {
    outline: 3px solid #f5c65c;
    outline-offset: 3px;
}

@media (max-width: 1200px) {
    .explore-main {
        grid-template-columns: minmax(200px, 23%) minmax(0, 1fr) minmax(245px, 24%);
    }

    .explore-pin-label {
        display: none;
    }
}

@media (max-width: 950px) {
    .explore-nav {
        display: none;
    }

    .explore-main {
        align-items: center;
        grid-template-columns: minmax(210px, 30%) minmax(0, 1fr);
        min-height: 0;
    }

    .explore-details {
        grid-column: 1 / -1;
        min-height: 0;
        width: 100%;
    }

    .explore-detail {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .explore-detail-photo {
        height: 100%;
        min-height: 260px;
    }
}

@media (max-width: 650px) {
    .explore-page {
        background-attachment: scroll;
    }

    .explore-header {
        min-height: 68px;
    }

    .explore-brand img {
        height: 48px;
        width: 70px;
    }

    .explore-brand > span {
        font-size: .92rem;
    }

    .explore-search-shortcut {
        display: none;
    }

    .explore-login {
        padding: .5rem .8rem;
    }

    .explore-main {
        display: block;
        padding: 1.6rem 1rem 1rem;
    }

    .explore-copy h1 {
        font-size: clamp(3.2rem, 13vw, 5rem);
    }

    .explore-intro {
        max-width: 26rem;
    }

    .explore-filters {
        display: flex;
        gap: .45rem;
        margin-top: 1.4rem;
        max-width: none;
        overflow-x: auto;
        padding-bottom: .4rem;
    }

    .explore-filter-label {
        display: none;
    }

    .explore-filter {
        flex: none;
        white-space: nowrap;
    }

    .explore-map {
        margin: .7rem -.5rem;
    }

    .explore-map-stage {
        width: 100%;
    }

    .explore-pin {
        transform: translate(-19px, -100%);
    }

    .explore-pin-photo {
        border-width: 2px;
        flex-basis: 38px;
        height: 38px;
        width: 38px;
    }

    .explore-pin::after {
        bottom: -7px;
        height: 12px;
        left: 13px;
        width: 12px;
    }

    .explore-compass {
        display: none;
    }

    .explore-detail {
        display: block;
    }

    .explore-detail-photo {
        height: 220px;
        min-height: 0;
    }
}

/* Give the map more room while retaining the original page layout. */
.explore-main {
    grid-template-columns: minmax(210px, 19%) minmax(0, 1fr) minmax(260px, 20%);
    gap: clamp(.75rem, 1.2vw, 1.4rem);
    padding-inline: clamp(1rem, 2vw, 2.5rem);
    min-height: min(850px, calc(100vh - 190px));
}
.explore-map-stage { width: 100%; max-width: 1200px; }
@media (max-width: 1200px) {
    .explore-main { grid-template-columns: minmax(190px, 20%) minmax(0, 1fr) minmax(240px, 23%); }
}
@media (max-width: 950px) {
    .explore-main { grid-template-columns: minmax(210px, 28%) minmax(0, 1fr); min-height: 0; }
}
@media (max-width: 650px) {
    .explore-main { display: block; padding-inline: 1rem; }
    .explore-map { margin-inline: -1rem; }
}

/* Real topography, framed in the original forest and gold palette. */
.explore-main {
    grid-template-columns: minmax(220px, 18%) minmax(0, 1fr) minmax(250px, 19%);
    padding-inline: clamp(1rem, 1.5vw, 2rem);
    min-height: min(900px, calc(100vh - 185px));
}
.explore-copy h1 { font-size: clamp(2.8rem, 3.5vw, 5rem); }
.explore-map {
    display: block;
    border: 1px solid #f1d17d5c;
    border-radius: 24px;
    background: #102923;
    overflow: hidden;
    box-shadow: 0 24px 65px #00160e55, 0 0 40px #edc45b10;
    min-height: 650px;
}
.terrain-toolbar {
    position: absolute;
    top: 0; left: 0; right: 0;
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px;
    background: linear-gradient(#061c19f5, #061c19d9);
    border-bottom: 1px solid #f5d58430;
    backdrop-filter: blur(14px);
    font-size: .7rem;
}
.terrain-toolbar strong { font-weight: 800; }
.terrain-toolbar-subtitle { color: #c5d0b7; font-size: .6rem; }
.terrain-beacon { display: inline-block; width: 6px; height: 6px; margin-right: 9px; border-radius: 50%; background: #f5ce6c; box-shadow: 0 0 10px #ffd96d; }
.terrain-toolbar button { background: #f3ce6a12; border: 1px solid #f5d58455; color: #f6dfa3; border-radius: 7px; padding: 8px 11px; font-size: .62rem; }
.terrain-toolbar button:hover { color: #11352a; background: #f3ce6a; }
.terrain-canvas { position: absolute; inset: 0; z-index: 0; background: #173a30; font-family: inherit; }
.terrain-canvas[hidden], .explore-map-stage[hidden] { display: none; }
.explore-map-stage { margin: 75px auto 65px; }
.terrain-topography { filter: grayscale(1) invert(1) sepia(.65) saturate(1.3) hue-rotate(85deg) brightness(.85) contrast(.9); }
.terrain-country-glow { filter: drop-shadow(0 0 5px #ffdc7d); }
.terrain-map-status {
    position: absolute;
    z-index: 500;
    left: 0; right: 0; bottom: 0;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 18px;
    color: #d9dfc2;
    background: #061c19ed;
    border-top: 1px solid #f5d58425;
    font-size: .55rem;
    pointer-events: none;
}
.explore-map-source { z-index: 500; bottom: 39px; left: 12px; font-size: .5rem; background: #08251de0; padding: 3px 6px; border-radius: 4px; }
.explore-compass { top: 85px; right: 18px; z-index: 500; width: 40px; height: 40px; background: #08251de0; font-size: .65rem; border-color: #f1d17d55; pointer-events: none; }
.terrain-marker .explore-pin {
    position: relative; left: auto; top: auto; transform: none;
    width: 42px; height: 56px; display: block; padding: 0 0 14px;
    filter: none;
}
.terrain-marker .explore-pin-photo { width: 42px; height: 42px; border-radius: 13px; border: 2px solid #f4d080; box-shadow: 0 0 0 4px #0c2922bf, 0 8px 18px #0008; transition: box-shadow .2s, border-color .2s; }
.terrain-marker .explore-pin::after { left: 17px; bottom: 0; width: 8px; height: 8px; border: 0; border-radius: 50%; transform: none; box-shadow: 0 0 0 4px #f7d07022, 0 0 15px #f7d07077; }
.terrain-marker .explore-pin::before { content: ''; position: absolute; width: 1px; height: 12px; left: 20px; bottom: 6px; background: #f4d080; }
.terrain-marker .explore-pin-label { position: absolute; top: 6px; left: 48px; margin: 0; border-radius: 7px; padding: 8px 10px; width: max-content; max-width: 142px; font-size: .6rem; line-height: 1.35; color: #f1eddc; background: #08251def; border: 1px solid #e9d18a55; box-shadow: 0 4px 12px #0004; }
.terrain-marker .explore-pin.is-active .explore-pin-photo { border-color: #fff4c3; box-shadow: 0 0 0 5px #f4d08040, 0 0 24px #f6d26a88; }
.terrain-marker .explore-pin.is-active .explore-pin-label { color: #163527; background: #f3d489; border-color: #f3d489; }
.terrain-marker .explore-pin.is-active .explore-pin-label span { color: #163527; }
.terrain-canvas .leaflet-control-zoom { margin: 0 14px 82px 0; border: 1px solid #e9d18a66; border-radius: 9px; overflow: hidden; box-shadow: 0 6px 16px #0005; }
.terrain-canvas .leaflet-control-zoom a { background: #092d24f5; color: #f5daa0; border-color: #e9d18a40; width: 36px; height: 36px; line-height: 36px; }
.terrain-canvas .leaflet-control-zoom a:hover { background: #174231; }
.terrain-canvas .leaflet-control-zoom a.leaflet-disabled { color: #7e9479; }
.terrain-canvas .leaflet-control-attribution { max-width: 90%; margin-bottom: 35px; background: #08251de8; color: #d3dbc2; font-size: 8px; }
.terrain-canvas .leaflet-control-attribution a { color: #f1d796; }
.terrain-canvas .leaflet-control-scale { margin: 0 0 59px 16px; }
.terrain-canvas .leaflet-control-scale-line { color: #f1e3b4; background: #08251dd9; border-color: #e9d18a99; text-shadow: none; font-size: 9px; }
@media (max-width: 1200px) {
    .explore-main { grid-template-columns: minmax(200px, 19%) minmax(0, 1fr) minmax(230px, 22%); }
    .terrain-toolbar-subtitle { display: none; }
    .terrain-marker .explore-pin-label { display: none; }
    .terrain-marker .is-active .explore-pin-label, .terrain-marker .explore-pin:hover .explore-pin-label, .terrain-marker .explore-pin:focus-visible .explore-pin-label { display: block; }
}
@media (max-width: 950px) {
    .explore-main { grid-template-columns: minmax(210px, 28%) minmax(0, 1fr); min-height: 0; }
    .explore-map { min-height: 620px; }
}
@media (max-width: 650px) {
    .explore-main { display: block; padding-inline: 1rem; }
    .explore-copy h1 { font-size: clamp(3.2rem, 13vw, 5rem); }
    .explore-map { min-height: 570px; margin: 1rem -.5rem 1.5rem; border-radius: 18px; }
    .terrain-toolbar { padding: 12px 14px; }
    .terrain-toolbar-subtitle { display: inline; font-size: .52rem; }
    .terrain-map-status { font-size: .5rem; padding-inline: 12px; }
    .terrain-marker .explore-pin-label { top: 48px; left: 50%; transform: translateX(-50%); max-width: 130px; font-size: .58rem; padding: 6px 8px; }
    .terrain-marker .explore-pin-photo { width: 42px; height: 42px; }
}
@media (prefers-reduced-motion: reduce) { .terrain-marker .explore-pin-photo { transition: none; } }

.terrain-marker .label-west .explore-pin-label { left: auto; right: 48px; }
@media (max-width: 650px) { .terrain-marker .label-west .explore-pin-label { left: 50%; right: auto; } }
