/* =====================================================
   RAHIB THE EXPLORE - DESTINATIONS
   Complete redesigned stylesheet (listing, details, gallery, map)
===================================================== */

:root {
    --d-green: #19382d;
    --d-green-2: #244b3c;
    --d-green-3: #37644b;
    --d-gold: #c8a76a;
    --d-gold-light: #d9bc83;
    --d-gold-dark: #92713d;
    --d-paper: #fffdf8;
    --d-soft: #f5f4ed;
    --d-soft-green: #e9eee8;
    --d-border: #e8e6dc;
    --d-text: #293a30;
    --d-muted: #788278;
    --d-body: #2f3d34;
    --d-radius: 16px;
    --d-radius-lg: 22px;
    --d-shadow: 0 10px 34px rgba(25, 56, 45, .08);
    --d-lift: 0 20px 50px rgba(25, 56, 45, .16);
    --d-serif: Georgia, "Times New Roman", serif;
    --d-ease: .25s ease;
}

.destinations-page, .destination-page {
    min-height: 70vh;
    color: var(--d-text);
    background: var(--d-paper);
}

.destination-page {
    background: linear-gradient(180deg, #fffdf8, #f6f4ec);
}

.destination-page ::selection {
    background: var(--d-gold);
    color: #16281f;
}

/* =====================================================
   HERO (listing + details)
===================================================== */
.destination-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    color: var(--d-paper);
    padding: 56px 0 86px;
    background: radial-gradient(circle at 85% 0%, rgba(200, 167, 106, .22), transparent 42%), linear-gradient(135deg, #12271f, var(--d-green-2));
}

.destination-hero>.container {
    position: relative;
    z-index: 3;
}

.destination-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    z-index: 2;
    height: 38px;
    background: #fffdf8;
    clip-path: ellipse(60% 100% at 50% 100%);
}

.destination-hero-image {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 45%;
    transform: scale(1.07);
    animation: destZoom 14s ease-out forwards;
}

@keyframes destZoom {
    to {
        transform: scale(1);
    }
}

.destination-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: radial-gradient(circle at 90% 0%, rgba(200, 167, 106, .22), transparent 45%), linear-gradient(180deg, rgba(10, 20, 16, .4), rgba(10, 20, 16, .62) 50%, rgba(10, 20, 16, .9));
}

.destination-hero.no-image .destination-hero-overlay {
    background: linear-gradient(180deg, rgba(10, 20, 16, .08), rgba(10, 20, 16, .3));
}

.destination-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 7px 16px;
    color: #fff;
    font-size: .8rem;
    font-weight: 700;
    text-decoration: none;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 999px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all var(--d-ease);
}

.destination-back:hover {
    color: #16281f;
    background: var(--d-gold);
}

.destination-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--d-gold-light);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.destination-eyebrow-dark {
    color: #a17d42;
}

.destination-eyebrow-line {
    display: inline-block;
    width: 28px;
    height: 1px;
    background: var(--d-gold-light);
}

.destination-title {
    max-width: 860px;
    margin: 10px auto;
    color: var(--d-paper);
    font: 700 clamp(1.9rem, 4vw, 3.1rem)/1.16 var(--d-serif);
    letter-spacing: -.012em;
    text-shadow: 0 2px 20px rgba(0, 0, 0, .4);
    overflow-wrap: anywhere;
}

.destination-intro {
    max-width: 640px;
    margin: 0 auto;
    color: #d9e3db;
    font-size: .98rem;
    line-height: 1.75;
}

.destination-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 10px;
    margin-top: 18px;
}

.destination-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 13px;
    color: #f1f5f1;
    font-size: .78rem;
    font-weight: 600;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.destination-meta i {
    color: var(--d-gold-light);
}

/* =====================================================
   LISTING: FILTER
===================================================== */
.destination-filter-section {
    padding: 30px 0 25px;
    background: var(--d-paper);
}

.destination-filter {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(200px, .55fr) auto;
    gap: 14px;
    align-items: end;
    padding: 22px;
    background: #fff;
    border: 1px solid var(--d-border);
    border-radius: var(--d-radius);
    box-shadow: var(--d-shadow);
}

.destination-filter label {
    display: block;
    margin-bottom: 7px;
    color: var(--d-green);
    font-size: .88rem;
    font-weight: 700;
}

.destination-filter .form-control, .destination-filter .form-select {
    min-height: 48px;
    border-color: #dcdfd3;
    border-radius: 12px;
    background-color: #fff;
}

.destination-filter .form-control:focus, .destination-filter .form-select:focus {
    border-color: var(--d-green-3);
    box-shadow: 0 0 0 .22rem rgba(55, 100, 75, .14);
}

.destination-filter .btn, .destination-empty .btn, .destination-sidebar .btn {
    min-height: 46px;
    padding: 10px 20px;
    color: var(--d-paper);
    font-weight: 700;
    white-space: nowrap;
    background: linear-gradient(135deg, var(--d-green-2), var(--d-green));
    border: 0;
    border-radius: 12px;
    transition: transform var(--d-ease), box-shadow var(--d-ease);
}

.destination-filter .btn:hover, .destination-empty .btn:hover, .destination-sidebar .btn:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(25, 56, 45, .25);
}

/* =====================================================
   LISTING: RESULTS + CARDS
===================================================== */
.destination-results {
    padding: 25px 0 60px;
}

.destination-results-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 22px;
}

.destination-results-heading h2 {
    margin: 0;
    color: var(--d-green);
    font: 700 1.8rem/1.3 var(--d-serif);
}

.destination-count {
    color: var(--d-muted);
    font-size: .9rem;
}

.destination-card, .destination-related-card {
    height: 100%;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(25, 56, 45, .09);
    border-radius: var(--d-radius);
    box-shadow: 0 4px 16px rgba(25, 56, 45, .04);
    transition: transform var(--d-ease), box-shadow var(--d-ease);
}

.destination-card:hover, .destination-related-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--d-lift);
}

.destination-card-image-link, .destination-related-image-link {
    position: relative;
    display: block;
    overflow: hidden;
    background: var(--d-soft-green);
}

.destination-card-image-link::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, transparent 60%, rgba(10, 20, 16, .4));
}

.destination-card-image, .destination-card-placeholder {
    display: block;
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.destination-card-image {
    transition: transform .5s ease;
}

.destination-card:hover .destination-card-image {
    transform: scale(1.06);
}

.destination-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #718276;
    background: linear-gradient(135deg, #e9eee8, #dde6dc);
    font-size: 2.5rem;
}

.destination-card-body {
    padding: 22px;
}

.destination-card-location {
    margin-bottom: 8px;
    color: var(--d-gold-dark);
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.destination-card-title {
    margin: 0 0 10px;
    font: 700 1.35rem/1.35 var(--d-serif);
    overflow-wrap: anywhere;
}

.destination-card-title a {
    color: var(--d-green);
    text-decoration: none;
    transition: color var(--d-ease);
}

.destination-card-title a:hover {
    color: var(--d-gold-dark);
}

.destination-card-description {
    margin-bottom: 16px;
    color: #69766d;
    font-size: .91rem;
    line-height: 1.7;
}

.destination-card-link, .destination-related-link {
    display: inline-flex;
    align-items: center;
    color: var(--d-green-3);
    font-size: .9rem;
    font-weight: 800;
    text-decoration: none;
}

.destination-card-link:hover, .destination-related-link:hover {
    color: var(--d-gold-dark);
}

.destination-card-link i, .destination-related-link i {
    transition: transform .2s ease;
}

.destination-card-link:hover i, .destination-related-link:hover i {
    transform: translateX(4px);
}

.destination-empty {
    padding: 55px 20px;
    text-align: center;
    background: var(--d-soft);
    border: 1px dashed #cfd6cb;
    border-radius: var(--d-radius-lg);
}

.destination-empty>i {
    display: block;
    margin-bottom: 14px;
    color: var(--d-gold-dark);
    font-size: 2.5rem;
}

.destination-empty h3 {
    color: var(--d-green);
    font-family: var(--d-serif);
}

.destination-empty p {
    margin-bottom: 18px;
    color: #69766d;
}

.destination-pagination {
    margin-top: 38px;
}

.destination-pagination nav {
    display: flex;
    justify-content: center;
}

.destination-pagination .pagination {
    flex-wrap: wrap;
    gap: 5px;
}

.destination-pagination .page-link {
    min-width: 40px;
    text-align: center;
    color: var(--d-green-2);
    border-color: var(--d-border);
    border-radius: 10px !important;
}

.destination-pagination .page-link:hover {
    color: var(--d-green);
    background: var(--d-soft-green);
}

.destination-pagination .page-item.active .page-link {
    color: #fff;
    background: var(--d-green-2);
    border-color: var(--d-green-2);
}

/* =====================================================
   DETAILS: COVER (overlaps hero)
===================================================== */
.destination-cover-section {
    position: relative;
    z-index: 5;
    margin-top: -64px;
    padding-top: 0;
}

.destination-cover, .destination-cover-placeholder {
    border: 6px solid #fffdf8;
    border-radius: var(--d-radius-lg);
    box-shadow: var(--d-lift);
    background: var(--d-soft-green);
}

.destination-cover {
    display: block;
    width: 100%;
    max-height: 460px;
    object-fit: cover;
}

.destination-cover-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    color: #718276;
    font-size: 3rem;
}

/* =====================================================
   DETAILS: LAYOUT + CONTENT
===================================================== */
.destination-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 36px;
    align-items: start;
    padding: 36px 0 64px;
}

.destination-main-content {
    min-width: 0;
}

.destination-content {
    padding: clamp(22px, 4vw, 44px);
    color: var(--d-body);
    font-size: 1.06rem;
    line-height: 1.9;
    overflow-wrap: anywhere;
    word-wrap: break-word;
    background: #fff;
    border: 1px solid rgba(25, 56, 45, .1);
    border-radius: var(--d-radius-lg);
    box-shadow: var(--d-shadow);
}

.destination-content>p:first-of-type::first-letter {
    float: left;
    margin: .1em .12em 0 0;
    font: 700 3.4em/.8 var(--d-serif);
    color: var(--d-green);
}

.destination-content h1, .destination-content h2, .destination-content h3, .destination-content h4 {
    margin: 2rem 0 .9rem;
    color: var(--d-green);
    font-family: var(--d-serif);
    font-weight: 700;
    line-height: 1.35;
    scroll-margin-top: 90px;
}

.destination-content h1 {
    font-size: 2rem;
}

.destination-content h2 {
    padding-left: 14px;
    border-left: 4px solid var(--d-gold);
    font-size: 1.65rem;
}

.destination-content h3 {
    font-size: 1.35rem;
}

.destination-content p {
    margin: 0 0 1.25rem;
}

.destination-content ul, .destination-content ol {
    margin: 0 0 1.5rem;
    padding-left: 1.8rem;
}

.destination-content li {
    margin-bottom: .65rem;
}

.destination-content li::marker {
    color: var(--d-gold-dark);
    font-weight: 700;
}

.destination-content img, .destination-content video {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 1.6rem auto;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(25, 56, 45, .14);
}

.destination-content a {
    color: var(--d-green-3);
    text-decoration: underline;
    text-decoration-color: var(--d-gold);
    text-underline-offset: 3px;
    overflow-wrap: anywhere;
}

.destination-content a:hover {
    color: #947541;
}

.destination-content blockquote {
    position: relative;
    margin: 2rem 0;
    padding: 22px 28px 22px 58px;
    color: #425c4a;
    font: italic 1.1rem/1.8 var(--d-serif);
    background: linear-gradient(135deg, #f4f1e6, #eef2ea);
    border-radius: 16px;
}

.destination-content blockquote::before {
    content: "\201C";
    position: absolute;
    left: 16px;
    top: 4px;
    color: var(--d-gold);
    font: 700 3.6rem/1 var(--d-serif);
}

.destination-content table {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
}

.destination-content th, .destination-content td {
    padding: 10px 12px;
    border: 1px solid #e5e7eb;
}

.destination-content th {
    color: var(--d-green);
    background: #f0f2eb;
}

.destination-content> :last-child {
    margin-bottom: 0;
}

/* =====================================================
   DETAILS: SIDEBAR
===================================================== */
.destination-sidebar {
    position: sticky;
    top: 24px;
    padding: 24px;
    background: #fff;
    border: 1px solid rgba(25, 56, 45, .1);
    border-top: 4px solid var(--d-gold);
    border-radius: 20px;
    box-shadow: var(--d-shadow);
}

.destination-sidebar h2 {
    margin-bottom: 18px;
    color: var(--d-green);
    font-size: 1rem;
    font-weight: 800;
}

.destination-sidebar-item {
    padding: 12px 0;
    border-bottom: 1px solid #ece9df;
    font-size: .87rem;
}

.destination-sidebar-item:last-of-type {
    border-bottom: 0;
}

.destination-sidebar-label {
    display: block;
    margin-bottom: 4px;
    color: var(--d-muted);
    font-size: .72rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.destination-sidebar-value {
    color: #344c3b;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.destination-sidebar .destination-sidebar-map {
    color: #16281f;
    background: linear-gradient(135deg, var(--d-gold-light), var(--d-gold));
}

/* =====================================================
   DETAILS: GALLERY
===================================================== */
.destination-gallery {
    margin-top: 45px;
}

.destination-gallery-title {
    margin-bottom: 20px;
    color: var(--d-green);
    font: 700 1.8rem/1.3 var(--d-serif);
}

.destination-gallery-image {
    display: block;
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 16px;
    background: var(--d-soft-green);
    box-shadow: var(--d-shadow);
    cursor: zoom-in;
    transition: filter .3s ease, box-shadow .3s ease;
}

.destination-gallery-image:hover {
    filter: brightness(.82);
    box-shadow: var(--d-lift);
}

/* =====================================================
   DETAILS: RELATED
===================================================== */
.destination-related {
    padding: clamp(42px, 5vw, 64px) 0;
    background: linear-gradient(180deg, #f3f1e8, #ebeee6);
}

.destination-related-heading {
    margin: 8px 0 25px;
    color: var(--d-green);
    font: 700 2rem/1.3 var(--d-serif);
}

.destination-related-card>a>img, .destination-related-placeholder {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.destination-related-card>a>img {
    transition: transform .4s ease;
}

.destination-related-card:hover>a>img {
    transform: scale(1.06);
}

.destination-related-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #718276;
    background: var(--d-soft-green);
    font-size: 2rem;
}

.destination-related-body {
    padding: 20px;
}

.destination-related-body h3 {
    margin: 0 0 10px;
    font: 700 1.2rem/1.4 var(--d-serif);
}

.destination-related-body h3 a {
    color: var(--d-green);
    text-decoration: none;
}

.destination-related-body h3 a:hover {
    color: #947541;
}

.destination-related-body p {
    color: #69766d;
    font-size: .9rem;
    line-height: 1.7;
}

/* =====================================================
   IMAGE PREVIEW MODAL
===================================================== */
.destination-image-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 65px 75px 55px;
    background: rgba(8, 16, 12, .95);
    backdrop-filter: blur(8px);
}

.destination-image-modal.active {
    display: flex;
    animation: destFade .25s ease;
}

@keyframes destFade {
    from {
        opacity: 0;
    }
}

.destination-image-preview {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 84vh;
    object-fit: contain;
    border-radius: 14px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, .5);
    user-select: none;
}

.destination-image-close, .destination-image-nav {
    position: absolute;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: #fff;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .2);
    line-height: 1;
    cursor: pointer;
    transition: background var(--d-ease), transform var(--d-ease);
}

.destination-image-close {
    top: 12px;
    right: 22px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 32px;
}

.destination-image-close:hover {
    background: rgba(255, 255, 255, .24);
    transform: rotate(90deg);
}

.destination-image-nav {
    top: 50%;
    width: 50px;
    height: 58px;
    border-radius: 12px;
    font-size: 25px;
    transform: translateY(-50%);
}

.destination-image-prev {
    left: 18px;
}

.destination-image-next {
    right: 18px;
}

.destination-image-nav:hover {
    background: rgba(255, 255, 255, .25);
    transform: translateY(-50%) scale(1.05);
}

.destination-image-nav[hidden] {
    display: none !important;
}

.destination-image-counter {
    position: absolute;
    top: 20px;
    left: 22px;
    z-index: 5;
    padding: 8px 13px;
    color: #fff;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 999px;
    font-size: .85rem;
    font-weight: 700;
}

/* =====================================================
   ACCESSIBILITY
===================================================== */
.destinations-page a:focus-visible, .destinations-page button:focus-visible, .destinations-page input:focus-visible, .destinations-page select:focus-visible,
.destination-page a:focus-visible, .destination-page button:focus-visible {
    outline: 3px solid var(--d-gold);
    outline-offset: 3px;
}

.destination-image-close:focus-visible, .destination-image-nav:focus-visible {
    outline: 3px solid var(--d-gold-light);
    outline-offset: 4px;
}

/* =====================================================
   INTERACTIVE MAP
===================================================== */
.destination-map-section {
    display: block;
    position: relative;
    width: 100%;
    margin-top: 45px;
    isolation: isolate;
}

.destination-map-heading {
    margin-bottom: 16px;
}

.destination-map-heading .destination-gallery-title {
    margin: 6px 0 0;
}

.destination-map-info {
    margin-bottom: 14px;
    color: #666;
}

.destination-map-info p {
    margin-bottom: 8px;
}

.destination-map-info strong {
    color: var(--d-green);
}

.destination-map-coordinates {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    color: #777;
    font-size: 13px;
}

.destination-location-map {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    height: 420px !important;
    min-height: 420px !important;
    max-width: 100%;
    overflow: hidden;
    background: #e8e8e8;
    border: 6px solid #fff;
    border-radius: 20px;
    box-shadow: var(--d-shadow);
    z-index: 1;
    isolation: isolate;
}

.destination-location-map.leaflet-container {
    width: 100% !important;
    height: 420px !important;
    min-height: 420px !important;
    font-family: inherit;
    background: #e8e8e8;
    overflow: hidden;
}

.destination-location-map .leaflet-pane, .destination-location-map .leaflet-tile, .destination-location-map .leaflet-marker-icon, .destination-location-map .leaflet-marker-shadow,
.destination-location-map .leaflet-tile-container, .destination-location-map .leaflet-overlay-pane, .destination-location-map .leaflet-shadow-pane,
.destination-location-map .leaflet-marker-pane, .destination-location-map .leaflet-tooltip-pane, .destination-location-map .leaflet-popup-pane {
    position: absolute;
}

.destination-location-map .leaflet-tile {
    max-width: none !important;
    max-height: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    object-fit: cover;
}

.destination-location-map img {
    max-width: none !important;
}

.destination-location-map .leaflet-tile-container {
    pointer-events: none;
}

.destination-location-map .leaflet-control-container {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.destination-location-map .leaflet-control {
    pointer-events: auto;
}

.destination-location-map .leaflet-control-attribution {
    font-size: 10px;
    line-height: 1.4;
}

.destination-location-map .leaflet-popup-content {
    font-size: 13px;
    line-height: 1.5;
}

.destination-location-map .leaflet-popup-content-wrapper {
    border-radius: 12px;
}

.destination-map-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.destination-map-btn {
    padding: 10px 18px;
    color: var(--d-paper);
    font-size: 13px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--d-green-2), var(--d-green));
    border: 0;
    border-radius: 12px;
    transition: transform var(--d-ease), box-shadow var(--d-ease);
}

.destination-map-btn:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(25, 56, 45, .25);
}

.destination-map-btn-light {
    color: var(--d-green);
    background: #fff;
    border: 1px solid var(--d-border);
}

.destination-map-btn-light:hover {
    color: var(--d-green);
}

.destination-map-unavailable {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 22px;
    color: #666;
    background: #fff;
    border: 1px dashed #cfd6cb;
    border-radius: 16px;
}

.destination-map-unavailable>i {
    color: var(--d-gold);
    font-size: 22px;
}

.destination-map-unavailable strong {
    display: block;
    margin-bottom: 5px;
    color: var(--d-green);
}

.destination-map-unavailable p {
    margin: 0;
    font-size: 14px;
}

/* =====================================================
   BACK-TO-TOP + REVEAL
===================================================== */
.destination-to-top {
    position: fixed;
    right: 20px;
    bottom: 22px;
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    color: #fff;
    background: var(--d-green);
    border: 2px solid var(--d-gold);
    border-radius: 50%;
    box-shadow: var(--d-lift);
    cursor: pointer;
    opacity: 0;
    transform: translateY(14px);
    pointer-events: none;
    transition: all .3s ease;
}

.destination-to-top.show {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

.destination-to-top:hover {
    color: #16281f;
    background: var(--d-gold);
}

.d-reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .6s ease, transform .6s ease;
}

.d-reveal.in {
    opacity: 1;
    transform: none;
}

/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 991.98px) {
    .destination-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .destination-sidebar {
        position: static;
        order: -1;
    }
}

@media (max-width: 767.98px) {
    .destination-hero {
        padding: 44px 0 74px;
    }

    .destination-title {
        font-size: clamp(1.6rem, 7vw, 2.2rem);
    }

    .destination-intro {
        font-size: .9rem;
    }

    .destination-filter {
        grid-template-columns: minmax(0, 1fr);
        padding: 16px;
    }

    .destination-filter .btn {
        width: 100%;
    }

    .destination-results-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .destination-card-image, .destination-card-placeholder {
        height: 215px;
    }

    .destination-cover-section {
        margin-top: -52px;
    }

    .destination-cover {
        max-height: 300px;
        border-width: 4px;
        border-radius: 16px;
    }

    .destination-content {
        padding: 20px 18px;
        border-radius: 16px;
        font-size: 1rem;
    }

    .destination-map-section {
        margin-top: 35px;
    }

    .destination-location-map, .destination-location-map.leaflet-container {
        height: 350px !important;
        min-height: 350px !important;
    }
}

@media (max-width: 575px) {
    .destination-results {
        padding-bottom: 42px;
    }

    .destination-results-heading h2 {
        font-size: 1.55rem;
    }

    .destination-card-body {
        padding: 17px;
    }

    .destination-layout {
        gap: 25px;
        padding-top: 30px;
        padding-bottom: 45px;
    }

    .destination-content h1 {
        font-size: 1.7rem;
    }

    .destination-content h2 {
        font-size: 1.45rem;
    }

    .destination-gallery-image {
        height: 210px;
    }

    .destination-related-heading {
        font-size: 1.7rem;
    }

    .destination-gallery-title {
        font-size: 1.55rem;
    }

    .destination-sidebar {
        padding: 18px;
    }

    .destination-image-modal {
        padding: 65px 12px 45px;
    }

    .destination-image-preview {
        max-height: 76vh;
    }

    .destination-image-close {
        top: 10px;
        right: 12px;
        width: 42px;
        height: 42px;
        font-size: 29px;
    }

    .destination-image-nav {
        width: 40px;
        height: 48px;
        font-size: 21px;
        border-radius: 9px;
    }

    .destination-image-prev {
        left: 8px;
    }

    .destination-image-next {
        right: 8px;
    }

    .destination-image-counter {
        top: 17px;
        left: 12px;
        padding: 6px 10px;
        font-size: .78rem;
    }

    .destination-location-map, .destination-location-map.leaflet-container {
        height: 300px !important;
        min-height: 300px !important;
        border-width: 4px;
        border-radius: 14px;
    }

    .destination-map-actions {
        flex-direction: column;
    }

    .destination-map-btn {
        width: 100%;
        text-align: center;
    }

    .destination-map-coordinates {
        flex-direction: column;
        gap: 5px;
    }
}

/* =====================================================
   REDUCED MOTION
===================================================== */
@media (prefers-reduced-motion: reduce) {

    .destination-card, .destination-card-image, .destination-gallery-image, .destination-related-card, .destination-related-card>a>img,
    .destination-back, .destination-image-close, .destination-image-nav, .destination-to-top, .destination-map-btn, .destination-filter .btn {
        transition: none !important;
    }

    .destination-card:hover, .destination-card:hover .destination-card-image, .destination-related-card:hover, .destination-related-card:hover>a>img, .destination-image-close:hover {
        transform: none !important;
    }

    .destination-hero-image, .destination-image-modal.active {
        animation: none;
        transform: none;
    }

    .d-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}