/* =====================================================================
   Crique El Haouaria — destination authority pages (V7)
   Editorial extension of the existing design system.
   ===================================================================== */

.destination-page {
    background: #F9F7F2;
    color: #1A1C1E;
}

.destination-header {
    background: rgba(249, 247, 242, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.destination-breadcrumb-wrap {
    padding-top: 92px;
    padding-bottom: 18px;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    font-size: 0.82rem;
    color: #59606a;
}

.breadcrumbs a {
    color: #003366;
    text-decoration: none;
}

.breadcrumbs a:hover,
.breadcrumbs a:focus-visible {
    text-decoration: underline;
}

.destination-hero {
    position: relative;
    min-height: min(760px, 82vh);
    display: grid;
    align-items: end;
    overflow: hidden;
    background: #001e40;
}

.destination-hero-media,
.destination-hero-media picture,
.destination-hero-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.destination-hero-media img {
    object-fit: cover;
}

.destination-hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0, 30, 64, 0.08) 0%, rgba(0, 30, 64, 0.28) 45%, rgba(0, 30, 64, 0.88) 100%),
        linear-gradient(90deg, rgba(0, 30, 64, 0.62) 0%, rgba(0, 30, 64, 0.10) 68%);
}

[dir="rtl"] .destination-hero-media::after {
    background:
        linear-gradient(180deg, rgba(0, 30, 64, 0.08) 0%, rgba(0, 30, 64, 0.28) 45%, rgba(0, 30, 64, 0.88) 100%),
        linear-gradient(270deg, rgba(0, 30, 64, 0.62) 0%, rgba(0, 30, 64, 0.10) 68%);
}

.destination-hero-layout {
    position: relative;
    z-index: 1;
    padding-top: 120px;
    padding-bottom: clamp(56px, 8vw, 108px);
}

.destination-hero-copy {
    max-width: 830px;
    color: #F9F7F2;
}

.destination-hero-copy .eyebrow {
    color: #FEDDB3;
}

.destination-hero-copy h1 {
    margin: 12px 0 20px;
    max-width: 16ch;
    font-family: "Playfair Display", "Noto Naskh Arabic", serif;
    font-size: clamp(2.5rem, 6vw, 5.15rem);
    line-height: 0.99;
    letter-spacing: -0.035em;
    color: #fff;
    text-wrap: balance;
}

[lang="ar"] .destination-hero-copy h1 {
    font-family: "Noto Naskh Arabic", serif;
    line-height: 1.18;
    letter-spacing: 0;
}

.destination-lead {
    max-width: 760px;
    margin: 0;
    font-size: clamp(1.08rem, 2vw, 1.28rem);
    line-height: 1.75;
    color: rgba(255,255,255,0.91);
}

.destination-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.destination-hero-actions .btn-secondary {
    border-color: rgba(255,255,255,.55);
    color: #fff;
    background: rgba(255,255,255,.08);
}

.destination-facts {
    background: #fff;
    border-bottom: 1px solid rgba(210,180,140,.35);
}

.destination-facts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.destination-fact {
    min-height: 132px;
    padding: 30px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-inline-end: 1px solid #E4E2DD;
}

.destination-fact:last-child {
    border-inline-end: 0;
}

.destination-fact span {
    margin-bottom: 8px;
    font-size: .76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .11em;
    color: #725A39;
}

.destination-fact strong {
    font-family: "Playfair Display", "Noto Naskh Arabic", serif;
    font-size: 1.25rem;
    line-height: 1.35;
    color: #001e40;
}

[lang="ar"] .destination-fact strong {
    font-family: "Noto Naskh Arabic", serif;
}

.destination-article {
    padding: clamp(72px, 10vw, 136px) 0;
}

.destination-article-grid {
    display: grid;
    grid-template-columns: minmax(200px, 280px) minmax(0, 760px);
    gap: clamp(48px, 8vw, 116px);
    align-items: start;
}

.destination-toc {
    position: relative;
}

.destination-toc-inner {
    position: sticky;
    top: 120px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px 0;
    border-top: 1px solid #D2B48C;
    border-bottom: 1px solid #D2B48C;
}

.destination-toc .eyebrow {
    margin-bottom: 6px;
}

.destination-toc a {
    position: relative;
    padding-inline-start: 16px;
    color: #43474F;
    text-decoration: none;
    font-size: .93rem;
    line-height: 1.45;
}

.destination-toc a::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: .67em;
    width: 6px;
    height: 1px;
    background: #E07A5F;
}

.destination-toc a:hover,
.destination-toc a:focus-visible {
    color: #003366;
}

.destination-body {
    min-width: 0;
}

.destination-content-section {
    position: relative;
    padding: 0 0 clamp(56px, 8vw, 96px);
    scroll-margin-top: 120px;
}

.destination-content-section + .destination-content-section {
    padding-top: clamp(50px, 7vw, 84px);
    border-top: 1px solid #DAD6CE;
}

.destination-section-number {
    display: inline-block;
    margin-bottom: 12px;
    color: #E07A5F;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .12em;
}

.destination-content-section h2 {
    margin: 0 0 22px;
    font-family: "Playfair Display", "Noto Naskh Arabic", serif;
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1.08;
    letter-spacing: -0.025em;
    color: #001E40;
    text-wrap: balance;
}

[lang="ar"] .destination-content-section h2 {
    font-family: "Noto Naskh Arabic", serif;
    letter-spacing: 0;
    line-height: 1.35;
}

.destination-content-section p {
    margin: 0 0 18px;
    font-size: 1.04rem;
    line-height: 1.9;
    color: #34383E;
}

.destination-list {
    margin: 22px 0 0;
    padding-inline-start: 24px;
    display: grid;
    gap: 12px;
    color: #34383E;
}

.destination-list li {
    padding-inline-start: 6px;
    line-height: 1.65;
}

.destination-list li::marker {
    color: #E07A5F;
}

.destination-inline-cta {
    margin-top: 28px !important;
}

.destination-inline-cta a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #003366;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid #D2B48C;
    padding-bottom: 4px;
}

.destination-related {
    background: #F0EEE9;
}

.destination-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.destination-card {
    min-width: 0;
    color: inherit;
    text-decoration: none;
    background: #fff;
    box-shadow: 0 14px 40px rgba(0,51,102,.08);
    transition: transform .3s ease, box-shadow .3s ease;
}

.destination-card:hover,
.destination-card:focus-visible {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0,51,102,.13);
}

.destination-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.destination-card-copy {
    padding: 24px;
    display: grid;
    gap: 8px;
}

.destination-card-copy span {
    color: #725A39;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.destination-card-copy strong {
    font-family: "Playfair Display", "Noto Naskh Arabic", serif;
    color: #001E40;
    font-size: 1.35rem;
    line-height: 1.28;
}

[lang="ar"] .destination-card-copy strong {
    font-family: "Noto Naskh Arabic", serif;
}

.destination-faq {
    background: #FBF9F4;
}

.destination-faq-list {
    border-top: 1px solid #C3C6D1;
}

.destination-faq-list details {
    border-bottom: 1px solid #C3C6D1;
}

.destination-faq-list summary {
    position: relative;
    cursor: pointer;
    list-style: none;
    padding: 24px 52px 24px 0;
    font-family: "Playfair Display", "Noto Naskh Arabic", serif;
    font-weight: 600;
    font-size: 1.2rem;
    color: #001E40;
}

[dir="rtl"] .destination-faq-list summary {
    padding: 24px 0 24px 52px;
}

.destination-faq-list summary::-webkit-details-marker {
    display: none;
}

.destination-faq-list summary::after {
    content: "+";
    position: absolute;
    inset-inline-end: 8px;
    top: 21px;
    font-family: Inter, sans-serif;
    font-size: 1.55rem;
    font-weight: 300;
    transition: transform .25s ease;
}

.destination-faq-list details[open] summary::after {
    transform: rotate(45deg);
}

.destination-faq-list details p {
    max-width: 720px;
    margin: -4px 0 24px;
    line-height: 1.75;
    color: #43474F;
}

.destination-sources {
    padding: 56px 0;
    background: #fff;
    border-top: 1px solid #E4E2DD;
}

.destination-sources h2 {
    margin: 0 0 12px;
    font-family: "Playfair Display", "Noto Naskh Arabic", serif;
    color: #001E40;
    font-size: 1.55rem;
}

.destination-source-note {
    color: #59606A;
    line-height: 1.65;
}

.destination-sources ul {
    padding-inline-start: 20px;
    margin: 20px 0 0;
    display: grid;
    gap: 8px;
}

.destination-sources a {
    color: #003366;
}

.destination-booking-cta {
    padding: clamp(64px, 9vw, 110px) 0;
    background: #001E40;
}

.destination-booking-box {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 40px;
    align-items: center;
}

.destination-booking-box .eyebrow {
    color: #D2B48C;
}

.destination-booking-box h2 {
    max-width: 760px;
    margin: 8px 0 14px;
    color: #fff;
    font-family: "Playfair Display", "Noto Naskh Arabic", serif;
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1.1;
}

[lang="ar"] .destination-booking-box h2 {
    font-family: "Noto Naskh Arabic", serif;
    line-height: 1.35;
}

.destination-booking-box p:not(.eyebrow) {
    max-width: 720px;
    color: rgba(255,255,255,.78);
    line-height: 1.7;
}

.destination-footer {
    margin-top: 0;
}

@media (max-width: 980px) {
    .destination-article-grid {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .destination-toc-inner {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px 18px;
    }

    .destination-toc .eyebrow {
        grid-column: 1 / -1;
    }

    .destination-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .destination-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }
}

@media (max-width: 760px) {
    .destination-breadcrumb-wrap {
        padding-top: 82px;
        padding-bottom: 12px;
    }

    .destination-hero {
        min-height: 690px;
    }

    .destination-hero-layout {
        padding-bottom: 48px;
    }

    .destination-hero-copy h1 {
        font-size: clamp(2.35rem, 11vw, 3.45rem);
    }

    .destination-facts-grid {
        grid-template-columns: 1fr;
    }

    .destination-fact {
        min-height: 0;
        padding: 22px 24px;
        border-inline-end: 0;
        border-bottom: 1px solid #E4E2DD;
    }

    .destination-fact:last-child {
        border-bottom: 0;
    }

    .destination-toc-inner {
        grid-template-columns: 1fr;
    }

    .destination-content-section h2 {
        font-size: clamp(1.8rem, 8vw, 2.45rem);
    }

    .destination-card-grid {
        grid-template-columns: 1fr;
    }

    .destination-card:last-child:nth-child(odd) {
        grid-column: auto;
    }

    .destination-booking-box {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .destination-booking-box .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .destination-card,
    .destination-faq-list summary::after {
        transition: none;
    }
}
