﻿/* Agency accents and surfaces layered over the original template. */
body {
    background-color: var(--theme-bg-color2);
}

.agency-logo {
    display: inline-block;
    width: 158px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.travelik-header-area:not(.sticky) {
    background: color-mix(in srgb, var(--color-primary) 25%, transparent);
}

.header-call-info a,
.xs-sidebar-widget .contact-info a,
.footer-widget-content .contact-info a {
    color: inherit;
}

.header-call-info a:hover,
.xs-sidebar-widget .contact-info a:hover,
.footer-widget-content .contact-info a:hover {
    color: var(--color-gold);
}

.mean-container .mean-bar {
    background: var(--color-primary);
}

.mean-container .mean-nav {
    background: var(--theme-bg-color4);
}

.mean-container .mean-nav ul li a:hover,
.mean-container .mean-nav ul li a:focus-visible {
    color: var(--brand-ink);
    background-color: var(--color-gold);
}

.mobile-logo {
    top: 8px;
}

.mobile-logo .agency-logo {
    width: auto;
    max-height: 46px;
}

svg [fill="#0cb2db" i] {
    fill: var(--color-gold);
}

svg [stroke="#0cb2db" i] {
    stroke: var(--color-gold);
}

/* Gold-filled controls need dark labels and icons. */
.header-btn a,
.sticky .header-btn a:hover,
.hero-section-1 .hero-btn a,
.hero__video__btn a i,
.travel-boking .booking-button button,
.travel-boking .booking-button button i,
.bokking-tabs .tab-buttons .tab.active,
.about-section-one .about-btn a,
.form-input-bx button,
.destination__arrow__bx :is(.slider-prev, .slider-next):hover,
.contact-form button,
.comment-form .submit-comment {
    color: var(--brand-ink);
}

.about-section-one .about-btn a:hover,
.form-input-bx button:hover {
    color: var(--brand-ink);
}

:is(.hero-btn, .about-btn) a > svg [fill="white" i],
.hero__video__btn .play-now {
    color: inherit;
    fill: currentColor;
}

.hero-section-1 .hero-btn a:hover {
    color: var(--color-white);
}

/* Match the breakpoint that hides the booking traveler. */
@media screen and (width > 1200px) {
    .destination-section .travel-boking {
        background-image:
            radial-gradient(ellipse 152px 142px at 150px 24%,
                color-mix(in srgb, var(--color-gold) 30%, transparent),
                color-mix(in srgb, var(--color-gold) 10%, transparent) 52%,
                transparent 100%),
            radial-gradient(ellipse 176px 172px at 153px 32%,
                color-mix(in srgb, var(--color-primary) 75%, white),
                transparent 87%),
            linear-gradient(105deg, var(--theme-bg-color5), var(--theme-bg-color2));
    }
}

.bokking-tabs .tab-buttons .tab:not(.active) img {
    filter: brightness(0) invert(1);
}

.bokking-tabs .tab-buttons .tab.active img {
    filter: brightness(0);
}

.prgoress_indicator {
    background-color: var(--theme-bg-color2);
}

.header-menu ul .sub_menu li:hover > a {
    color: var(--brand-ink) !important;
}

ul.breadcumb-item li a:hover,
.header-menu ul .sub_menu li a:hover {
    text-decoration: underline;
}

.travel-appoinment .form-box input,
.subscribe-signle-box.right-warpper.style__two .form-input-bx button {
    color: var(--brand-ink);
}

.hero-section-1 .hero-journey-box {
    background-color: color-mix(in srgb, var(--theme-bg-color2) 72%, transparent);
}

.testi-autor .sample-review-icon {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    color: var(--color-gold);
    background-color: var(--theme-bg-color2);
    border-radius: 50%;
}

.footer-automation-title .typing {
    font-size: min(6.6vw, 128px);
    letter-spacing: 0.115em;
}

@media (max-width: 576px) {
    .footer-automation-title .typing {
        font-size: 6.6vw;
        letter-spacing: 0.075em;
    }
}

/* Homepage surfaces and sizing for Royal Castellane content. */
body:has(> .agency-home-hero) {
    --home-card-radius: 18px;
    --home-hairline: rgb(255 247 228 / 16%);
    --home-deep-olive: #30362B;
    --home-shaded-olive: #252B23;
}

body:has(> .agency-home-hero) .header-btn a {
    line-height: 1.2;
    padding-block: 0.72rem;
}

body:has(> .agency-home-hero) :is(.destination-single-box, .populer-single-box, .single-testi-box) {
    border-radius: var(--home-card-radius);
    box-shadow: inset 0 0 0 1px var(--home-hairline);
}

body:has(> .agency-home-hero) :is(.destination-single-box .destination-thumb img, .populer-single-box .populer-thumb img) {
    border-radius: var(--home-card-radius) var(--home-card-radius) 0 0;
}

body:has(> .agency-home-hero) :is(.hero-btn a, .header-btn a, .about-btn a, .defult-btn a) {
    border-radius: 999px;
}

body:has(> .agency-home-hero) .team-sectoin .team-single-box {
    --guide-card-surface: color-mix(in srgb, var(--color-primary) 19%, var(--theme-bg-color2));
    background: radial-gradient(ellipse 80% 60% at 50% 0%,
        color-mix(in srgb, var(--color-primary) 68%, var(--color-gold)),
        var(--color-primary) 45%,
        var(--guide-card-surface) 100%);
}

body:has(> .agency-home-hero) .team-single-box .team-thumb {
    top: 0;
    aspect-ratio: 342 / 300;
}

/* The cutout is taller than the image area and connects to the caption at its base. */
body:has(> .agency-home-hero) .team-single-box .team-thumb figure {
    position: absolute;
    inset: auto 0 0;
    aspect-ratio: 342 / 350;
    overflow: hidden;
}

body:has(> .agency-home-hero) .team-single-box .team-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
    filter: drop-shadow(0 8px 12px rgb(23 28 19 / 22%));
}

body:has(> .agency-home-hero) .team-single-box .team-thumb::before {
    z-index: 1;
    background: linear-gradient(180deg, transparent 65%, var(--guide-card-surface) 100%);
    pointer-events: none;
}

body:has(> .agency-home-hero) .team-single-box .team-thumb .team-social {
    z-index: 2;
    pointer-events: none;
}

body:has(> .agency-home-hero) .team-single-box:is(:hover, :focus-within) .team-thumb::before {
    height: 100%;
}

body:has(> .agency-home-hero) .team-single-box:is(:hover, :focus-within) .team-thumb .team-social {
    bottom: 20px;
    opacity: 1;
    pointer-events: auto;
}

body:has(> .agency-home-hero) .team-single-box .team-content {
    margin-top: 25px;
}

body:has(> .agency-home-hero) .testimonial-sectoin {
    background-image: linear-gradient(180deg, var(--home-deep-olive) 0%, rgb(37 43 35 / 18%) 30%, rgb(37 43 35 / 68%) 100%), url("../images/royal-castellane/forest-coast.webp");
}

body:has(> .agency-home-hero) .testimonial-sectoin.tp-panel-pin-area {
    contain: paint;
}

body:has(> .agency-home-hero) .testimonial-sectoin .testi-left-wrpper {
    display: flow-root;
}

body:has(> .agency-home-hero) .testimonial-sectoin .single-testi-box {
    position: relative;
}

@media (max-width: 991px) {
    body:has(> .agency-home-hero) .testimonial-sectoin .testi-left-wrpper {
        margin-bottom: 30px;
    }
}

body:has(> .agency-home-hero) .latest-blog-section {
    background: linear-gradient(180deg, var(--home-deep-olive), var(--home-shaded-olive));
}

body:has(> .agency-home-hero) .latest-blog-section .blog-single-box .blog-content {
    flex: 1;
    min-width: 0;
}

body:has(> .agency-home-hero) .latest-blog-section :is(.blog-title, .blog-btn, .blog-btn-right) a {
    text-transform: uppercase;
}

body:has(> .agency-home-hero) .main-footer-one {
    background-image: linear-gradient(180deg, var(--home-shaded-olive) 0%, rgb(48 54 43 / 78%) 26%, rgb(36 41 31 / 90%) 78%), url("../images/royal-castellane/forest-coast.webp");
}

/* Homepage spacing system: one gutter and one section rhythm, shared by every section. */
body:has(> .agency-home-hero) {
    --page-gutter: clamp(20px, 5vw, 72px);
    --card-pad: clamp(1.25rem, 2vw, 1.75rem);
}
body:has(> .agency-home-hero) .auto-container {
    max-width: calc(1440px + 2 * var(--page-gutter));
    padding-inline: var(--page-gutter);
}
body:has(> .agency-home-hero) .populer-section {
    padding-inline: var(--page-gutter);
}
/* Promo: the text column clears the cutout instead of running under it. */
@media (min-width: 992px) {
    body:has(> .agency-home-hero) .travelling-offer-section .travelling-img {
        left: 36%;
    }
    body:has(> .agency-home-hero) .travelling-offer {
        padding-left: 260px;
    }
    body:has(> .agency-home-hero) .travelling-offer h1 {
        font-size: clamp(2.75rem, 4.2vw, 4.25rem);
        line-height: 1.1;
        white-space: nowrap;
    }
    body:has(> .agency-home-hero) .travelling-offer p {
        margin-top: 0.5rem;
    }
}

/* Card typography: condensed Bebas for names, Inter for supporting labels and metadata. */
body:has(> .agency-home-hero) .section-title h1 {
    letter-spacing: 0.01em;
}
body:has(> .agency-home-hero) .destination-content {
    padding: 1.6rem 1.9rem 1.9rem;
}
body:has(> .agency-home-hero) .destination-content h1 {
    font-size: 2.1rem;
    line-height: 1.1;
    letter-spacing: 0.02em;
}
body:has(> .agency-home-hero) .destination-content p {
    margin-top: 0.5rem;
    font-family: var(--text-font);
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-gold);
}
/* Package cards: the image and the text share one inset. */
body:has(> .agency-home-hero) .populer-single-box {
    padding: 2.25rem var(--card-pad) 1.75rem;
}
body:has(> .agency-home-hero) .populer-contnet {
    padding: 1.6rem 0.25rem 0;
}
body:has(> .agency-home-hero) .popular-title {
    font-size: 1.65rem;
    line-height: 1.15;
    letter-spacing: 0.06em;
}
body:has(> .agency-home-hero) .populer-list span {
    font-size: 0.95rem;
}
/* Blog: images fill their column; cards use even padding. */
body:has(> .agency-home-hero) .single-blog-box .blog-thumb img,
body:has(> .agency-home-hero) .blog-single-box .blog-thumb img {
    width: 100%;
    height: auto;
}
body:has(> .agency-home-hero) .blog-single-box {
    padding: 1.5rem 1.5rem 1.5rem 2rem;
    gap: 1.75rem;
}
body:has(> .agency-home-hero) .blog-meta {
    padding: 0.75rem 0 1.25rem;
}
body:has(> .agency-home-hero) .latest-blog-section {
    padding-bottom: 200px;
}
@media (max-width: 991px) {
    body:has(> .agency-home-hero) .blog-single-box {
        padding: 1.75rem;
    }
    body:has(> .agency-home-hero) .blog-single-box .blog-thumb {
        margin-top: 1.25rem;
    }
}
body:has(> .agency-home-hero) .populer-section > .container-fluid {
    padding-inline: 0;
}


/* Testimonial summary: avatars were removed, so drop their offsets and align with the counter. */
body:has(> .agency-home-hero) .testimonial-sectoin .client-card {
    margin-left: 0;
    margin-top: 28px;
}

body:has(> .agency-home-hero) .testimonial-sectoin .client-text h2 {
    margin-left: 0;
    font-size: 1.6rem;
    color: var(--color-white);
}
/* Team card: dark text on the champagne-gold hover pill (white on gold was unreadable). */
body:has(> .agency-home-hero) .team-single-box:hover .team-content .team-bio {
    color: var(--home-deep-olive);
}
/* Enquiry forms: notice shown while no form service is connected (fixed, so it never shifts layout). */
.enquiry-notice {
    position: fixed;
    left: 50%;
    bottom: 24px;
    z-index: 10050;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: max-content;
    max-width: min(92vw, 560px);
    padding: 14px 16px 14px 20px;
    transform: translateX(-50%);
    color: #fff;
    background: #30362B;
    border: 1px solid #FFD69F;
    border-radius: 16px;
    box-shadow: 0 12px 36px rgb(0 0 0 / 35%);
}

.enquiry-notice--error {
    border-color: #f2b8a0;
}

.enquiry-notice p {
    margin: 0;
    font-size: 15px;
    line-height: 1.55;
}

.enquiry-notice a {
    color: #FFD69F;
    text-decoration: underline;
    white-space: nowrap;
}

.enquiry-notice button {
    flex: none;
    padding: 0 4px;
    color: #FFD69F;
    font-size: 26px;
    line-height: 1;
    background: none;
    border: 0;
    cursor: pointer;
}

/* Reviews section when only the verified Google rating is available. */
body:has(> .agency-home-hero) .testimonial-sectoin--summary .testi-left-wrpper {
    max-width: 720px;
    margin-inline: auto;
    text-align: center;
}

body:has(> .agency-home-hero) .testimonial-sectoin--summary .testi-counter,
body:has(> .agency-home-hero) .testimonial-sectoin--summary .client-card {
    justify-content: center;
}

body:has(> .agency-home-hero) .testimonial-sectoin .client-text a:hover h2 {
    color: #FFD69F;
}
/* ==========================================================================
   Phase 3B: premium minimal homepage
   ========================================================================== */

/* Hero: poster (and optional video), one headline, one CTA. */
.rc-hero {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    min-height: clamp(560px, 100svh, 940px);
    margin-top: -99px;
    padding-block: 140px clamp(56px, 9vh, 112px);
    overflow: hidden;
    color: var(--color-white, #fff);
    background-color: #252B23;
    background-position: 62% center;
    background-repeat: no-repeat;
    background-size: cover;
}
.rc-hero__video {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.rc-hero__shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgb(37 43 35 / 82%) 0%, rgb(37 43 35 / 52%) 42%, rgb(37 43 35 / 8%) 78%),
        linear-gradient(180deg, rgb(37 43 35 / 55%) 0%, transparent 24%, transparent 62%, #30362B 100%);
}
.rc-hero__inner {
    position: relative;
    z-index: 2;
    width: 100%;
}
.rc-hero__eyebrow {
    margin: 0 0 1.1rem;
    font-size: 0.9rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--color-gold);
}
.rc-hero__title {
    max-width: 14em;
    margin: 0;
    font-size: clamp(2.75rem, 6.4vw, 6rem);
    font-weight: 400;
    line-height: 1.02;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 2px 28px rgb(18 25 19 / 35%);
}
.rc-hero__lead {
    max-width: 32rem;
    margin: 1.4rem 0 0;
    font-size: clamp(1rem, 1.25vw, 1.15rem);
    line-height: 1.65;
    color: rgb(255 255 255 / 86%);
}
.rc-hero__actions {
    margin-top: 2rem;
}
.rc-hero__proof {
    margin: 1.6rem 0 0;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    color: rgb(255 255 255 / 70%);
}
.rc-hero__pause {
    position: absolute;
    right: var(--page-gutter, 24px);
    bottom: 28px;
    z-index: 3;
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    color: #fff;
    background: rgb(37 43 35 / 55%);
    border: 1px solid rgb(255 255 255 / 35%);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.25s ease;
}
.rc-hero__pause:hover,
.rc-hero__pause:focus-visible {
    background: rgb(37 43 35 / 85%);
}
@media (max-width: 767px) {
    .rc-hero {
        min-height: min(76svh, 640px);
        padding-block: 120px 56px;
        background-position: 68% center;
    }
    .rc-hero__shade {
        background: linear-gradient(180deg, rgb(37 43 35 / 55%) 0%, rgb(37 43 35 / 35%) 35%, rgb(37 43 35 / 82%) 80%, #30362B 100%);
    }
    .rc-hero__eyebrow { letter-spacing: 0.2em; }
    .rc-hero__title { font-size: clamp(2.4rem, 11.5vw, 3.4rem); }
}

/* Booking card: the template tab bar and traveller cutout are gone. */
body:has(> .agency-home-hero) .destination-section .travel-boking {
    padding: clamp(28px, 3.5vw, 48px) clamp(20px, 3.5vw, 48px) clamp(32px, 4vw, 52px);
    background: linear-gradient(105deg, var(--theme-bg-color5), var(--theme-bg-color2));
}
body:has(> .agency-home-hero) .travel-boking .booking-box {
    margin-left: 0;
}
.rc-hero__actions a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 32px;
    font-family: var(--title-font);
    font-size: 17px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--brand-ink);
    background: var(--color-gold);
    border-radius: 999px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}
.rc-hero__actions a:hover {
    color: var(--brand-ink);
    background: #fff;
}
.rc-hero__title {
    text-wrap: balance;
}

/* About: image pair beside a short text block; no floating cutout. */
body:has(> .agency-home-hero) .about-section-one .about-content {
    max-width: 34rem;
}

/* Promo band: text only. */
@media (min-width: 992px) {
    body:has(> .agency-home-hero) .travelling-offer {
        padding-left: 0;
    }
}

/* Motion: one calm fade for entrances, no stagger, nothing decorative loops. */
@keyframes rc-fade-up {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
}
body:has(> .agency-home-hero) .wow {
    animation-delay: 0s !important;
    animation-duration: 0.7s !important;
}
body:has(> .agency-home-hero) .wow.fadeInUp {
    animation-name: rc-fade-up !important;
}
body:has(> .agency-home-hero) .gelary-track {
    animation-duration: 90s;
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto !important; }
    body:has(> .agency-home-hero) *,
    body:has(> .agency-home-hero) *::before,
    body:has(> .agency-home-hero) *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    body:has(> .agency-home-hero) .gelary-track {
        animation: none !important;
    }
    body:has(> .agency-home-hero) .gallery-marquee {
        overflow-x: auto;
    }
    body:has(> .agency-home-hero) .wow {
        visibility: visible !important;
    }
}
@media (max-width: 991px) {
    body:has(> .agency-home-hero) .travel-boking .booking-box {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 575px) {
    body:has(> .agency-home-hero) .travel-boking .booking-box {
        grid-template-columns: minmax(0, 1fr);
    }
}
/* Destination carousel: identical card height and image ratio on every slide. */
body:has(> .agency-home-hero) .destination__swiper .swiper-slide {
    height: auto;
}
body:has(> .agency-home-hero) .destination__swiper .destination-single-box {
    height: 100%;
}
body:has(> .agency-home-hero) .destination-thumb img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 342 / 320;
    object-fit: cover;
}

/* Heading reveal: one soft fade-up, once. The hidden state is applied by main.js only. */
.rc-reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.8s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.rc-reveal.rc-in {
    opacity: 1;
    transform: none;
}
.rc-reveal + .rc-reveal {
    transition-delay: 0.1s;
}

/* Hero entrance: four short staggered fades on first load. */
@keyframes rc-hero-in {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: none; }
}
.rc-hero__inner > * {
    animation: rc-hero-in 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}
.rc-hero__title { animation-delay: 0.08s; }
.rc-hero__lead { animation-delay: 0.2s; }
.rc-hero__actions { animation-delay: 0.32s; }
.rc-hero__proof { animation-delay: 0.42s; }

@media (prefers-reduced-motion: reduce) {
    .rc-reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .rc-hero__inner > * {
        animation: none !important;
    }
}
/* ==========================================================================
   Phase 3D: destination editorial cards, rating panel, footer brand reveal
   ========================================================================== */

/* Destinations: image-led cards. Title sits on the photo; the whole card is one link. */
body:has(> .agency-home-hero) .destination-single-box {
    position: relative;
    display: grid;
    overflow: hidden;
    background: transparent;
    border-radius: var(--home-card-radius, 18px);
    box-shadow: none;
    isolation: isolate;
}
body:has(> .agency-home-hero) .destination-single-box > * {
    grid-area: 1 / 1;
}
body:has(> .agency-home-hero) .destination-thumb {
    line-height: 0;
}
body:has(> .agency-home-hero) .destination-thumb figure {
    margin: 0;
    overflow: hidden;
}
body:has(> .agency-home-hero) .destination-thumb .image-anime::after {
    display: none;
}
body:has(> .agency-home-hero) .destination-thumb img {
    aspect-ratio: 10 / 11;
    border-radius: 0;
    transition: transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1);
}
body:has(> .agency-home-hero) .destination-single-box:hover .destination-thumb img {
    transform: scale(1.04);
}
body:has(> .agency-home-hero) .destination-single-box .destination-content {
    z-index: 1;
    align-self: end;
    padding: 4rem 1.5rem 1.4rem;
    background: linear-gradient(180deg, transparent 0%, rgb(37 43 35 / 82%) 100%);
}
body:has(> .agency-home-hero) .destination-single-box .destination-content h1 {
    margin: 0;
    font-size: clamp(1.6rem, 2.2vw, 2rem);
    letter-spacing: 0.03em;
    text-transform: uppercase;
}
body:has(> .agency-home-hero) .destination-single-box .destination-content h1::after {
    content: "";
    display: block;
    width: 28px;
    height: 2px;
    margin-top: 0.7rem;
    background: var(--color-gold);
    transition: width 0.45s ease;
}
body:has(> .agency-home-hero) .destination-single-box:is(:hover, :has(a:focus-visible)) .destination-content h1::after {
    width: 64px;
}
body:has(> .agency-home-hero) .destination-single-box .destination-content h1 a::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
}
body:has(> .agency-home-hero) .destination-single-box:has(a:focus-visible) {
    outline: 2px solid var(--color-gold);
    outline-offset: -2px;
}
body:has(> .agency-home-hero) .destination-single-box .destination-content h1 a:focus-visible {
    outline: none;
}

/* Carousel controls: visible contrast, clear hover and focus. */
body:has(> .agency-home-hero) .destination__arrow__bx :is(.slider-prev, .slider-next) {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    padding: 0;
    line-height: 1;
    color: #fff;
    background: transparent;
    border: 1px solid rgb(255 214 159 / 55%);
    cursor: pointer;
}
body:has(> .agency-home-hero) .destination__arrow__bx :is(.slider-prev, .slider-next):is(:hover, :focus-visible) {
    color: var(--brand-ink);
    background: var(--color-gold);
    border-color: var(--color-gold);
}
body:has(> .agency-home-hero) .destination__arrow__bx :is(.slider-prev, .slider-next):focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}
@media (max-width: 767px) {
    body:has(> .agency-home-hero) .destination__arrow__bx {
        position: static;
        display: flex;
        justify-content: center;
        margin-top: 1.5rem;
    }
}

/* Google rating: editorial split on a flat olive wash. No photo, box, blur or rings. */
body:has(> .agency-home-hero) .testimonial-sectoin--summary {
    padding: clamp(72px, 9vw, 120px) 0;
    background: linear-gradient(180deg, var(--home-deep-olive) 0%, var(--home-shaded-olive) 100%);
}
.rc-rating {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    align-items: center;
    gap: clamp(2rem, 6vw, 6rem);
    max-width: 1100px;
    margin: 0 auto;
}
.rc-rating__source {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    margin: 0 0 1.4rem;
    font-size: 0.9rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--color-gold);
}
.rc-rating__source i {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    font-size: 1rem;
    border: 1px solid rgb(255 214 159 / 45%);
    border-radius: 50%;
}
.rc-rating__title {
    margin: 0;
    font-family: var(--title-font);
    font-size: clamp(2.6rem, 5vw, 4.4rem);
    font-weight: 400;
    line-height: 1.02;
    text-transform: uppercase;
    color: #fff;
}
.rc-rating__lede {
    max-width: 30ch;
    margin: 1.2rem 0 0;
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgb(255 255 255 / 78%);
}
.rc-rating__link {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-top: 1.8rem;
    padding: 0.8rem 1.6rem;
    font-family: var(--title-font);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-gold);
    border: 1px solid var(--color-gold);
    border-radius: 999px;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.rc-rating__link:is(:hover, :focus-visible) {
    color: var(--brand-ink);
    background: var(--color-gold);
}
.rc-rating__score-col {
    padding-left: clamp(2rem, 6vw, 6rem);
    border-left: 1px solid rgb(255 214 159 / 30%);
}
.rc-rating__score {
    display: flex;
    align-items: baseline;
    gap: 0.7rem;
    font-family: var(--title-font);
}
.rc-rating__number {
    font-size: clamp(6.5rem, 15vw, 12rem);
    line-height: 0.95;
    color: var(--color-gold);
}
.rc-rating__scale {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    color: rgb(255 255 255 / 75%);
}
.rc-rating__stars {
    display: flex;
    gap: 0.6rem;
    margin-top: 1rem;
}
.rc-star {
    width: clamp(26px, 3.2vw, 36px);
    height: auto;
    fill: var(--color-gold);
    transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1);
    transition-delay: calc(0.5s + var(--i, 0) * 0.1s);
}
.rc-star--empty { fill: rgb(255 214 159 / 25%); }
.rc-reveal:not(.rc-in) .rc-star {
    opacity: 0;
    transform: translateY(6px);
}
.rc-rating__basis {
    margin: 1.2rem 0 0;
    font-size: clamp(1.1rem, 1.6vw, 1.3rem);
    color: #fff;
}
.rc-rating.rc-reveal {
    transition-duration: 1.1s;
}
@media (max-width: 991px) {
    .rc-rating { grid-template-columns: 1fr; gap: 2.5rem; max-width: 560px; text-align: center; }
    .rc-rating__intro { display: flex; flex-direction: column; align-items: center; }
    .rc-rating__lede { max-width: 36ch; }
    .rc-rating__score-col {
        padding: 2.5rem 0 0;
        border-left: 0;
        border-top: 1px solid rgb(255 214 159 / 30%);
    }
    .rc-rating__score, .rc-rating__stars { justify-content: center; }
}
@media (max-width: 575px) {
    .rc-rating { gap: 2rem; }
    .rc-rating__score-col { padding-top: 2rem; }
}
/* Footer brand: slow left-to-right reveal (about 2.6s), rise and a hairline that grows with it. */
.footer-automation-title .rc-footer-brand {
    position: relative;
    margin: 0;
    padding: 1.6rem 0 0 0.115em;
    font-family: var(--title-font);
    font-size: min(6.6vw, 128px);
    font-weight: 300;
    line-height: 1.15;
    letter-spacing: 0.115em;
    text-align: center;
    text-transform: uppercase;
    background: linear-gradient(180deg, var(--color-gold) 0%, #fff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.footer-automation-title .rc-footer-brand::before {
    content: "";
    display: block;
    width: 96px;
    height: 1px;
    margin: 0 auto 1.4rem;
    background: var(--color-gold);
    -webkit-text-fill-color: initial;
    transform-origin: center;
}
.footer-automation-title .rc-footer-brand.rc-reveal {
    opacity: 0;
    transform: translateY(18px);
    clip-path: inset(-10% 100% -10% 0);
    transition:
        clip-path 2.6s cubic-bezier(0.45, 0, 0.2, 1),
        opacity 2s cubic-bezier(0.4, 0, 0.2, 1),
        transform 2.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.footer-automation-title .rc-footer-brand.rc-reveal::before {
    transform: scaleX(0);
    transition: transform 2.6s cubic-bezier(0.45, 0, 0.2, 1);
}
.footer-automation-title .rc-footer-brand.rc-reveal.rc-in {
    opacity: 1;
    transform: none;
    clip-path: inset(-10% -2% -10% -2%);
}
.footer-automation-title .rc-footer-brand.rc-reveal.rc-in::before {
    transform: scaleX(1);
}
@media (max-width: 991px) {
    .footer-automation-title .rc-footer-brand {
        padding-bottom: 4.5rem;
    }
}
@media (max-width: 576px) {
    .footer-automation-title .rc-footer-brand {
        letter-spacing: 0.075em;
        padding-left: 0.075em;
    }
}
@media (prefers-reduced-motion: reduce) {
    .rc-star {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .footer-automation-title .rc-footer-brand.rc-reveal,
    .footer-automation-title .rc-footer-brand.rc-reveal::before {
        opacity: 1 !important;
        transform: none !important;
        clip-path: none !important;
        transition: none !important;
    }
    body:has(> .agency-home-hero) .destination-thumb img,
    body:has(> .agency-home-hero) .destination-single-box:hover .destination-thumb img {
        transform: none;
        transition: none;
    }
}

/* ==========================================================================
   Phase 3F: gallery scale, enquiry form, mobile menu, safe areas
   ========================================================================== */

/* Gallery: smaller 4:5 cards, one slow loop, pauses on hover or focus. */
body:has(> .agency-home-hero) .gallery-marquee {
    --gw: clamp(168px, calc(12vw + 72px), 250px);
    --gg: clamp(12px, 1.4vw, 20px);
    overflow: hidden;
}
body:has(> .agency-home-hero) .gelary-track {
    display: flex;
    gap: 0;
    width: max-content;
    animation: rc-gallery-loop 80s linear infinite;
}
body:has(> .agency-home-hero) .gallery-marquee:is(:hover, :focus-within) .gelary-track {
    animation-play-state: paused;
}
body:has(> .agency-home-hero) .galary-thumb {
    flex: 0 0 var(--gw);
    min-width: 0;
    margin-right: var(--gg);
}
body:has(> .agency-home-hero) .galary-thumb img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: var(--home-card-radius, 18px);
}
@keyframes rc-gallery-loop {
    from { transform: translateX(0); }
    to { transform: translateX(-33.3333%); }
}
body:has(> .agency-home-hero) .photography-sectoin .row.pb-50 {
    padding-bottom: clamp(24px, 3vw, 40px);
}

/* Enquiry card: destination and date only, three columns on desktop. */
body:has(> .agency-home-hero) .travel-boking .booking-box {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: end;
}
body:has(> .agency-home-hero) .travel-boking .booking-input-box {
    display: block;
    padding: 0;
    overflow: hidden;
}
body:has(> .agency-home-hero) .travel-boking .booking-input-box input {
    display: block;
    width: 100%;
    min-height: 54px;
    padding: 0 16px;
    color: #fff;
    font-size: 16px;
    color-scheme: dark;
}
body:has(> .agency-home-hero) .travel-boking .booking-input-box input::placeholder {
    color: rgb(255 255 255 / 62%);
}
body:has(> .agency-home-hero) .travel-boking .booking-input-box:focus-within {
    border-color: var(--color-gold);
}
body:has(> .agency-home-hero) .travel-boking .booking-button {
    display: block;
    margin-top: 0;
}
body:has(> .agency-home-hero) .travel-boking .booking-button button {
    width: 100%;
    min-height: 54px;
}
body:has(> .agency-home-hero) .rc-booking-note {
    max-width: 60ch;
    margin: 1.4rem 0 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgb(255 255 255 / 72%);
}
body:has(> .agency-home-hero) .rc-booking-note a {
    color: var(--color-gold);
    white-space: nowrap;
}
@media (max-width: 991px) {
    body:has(> .agency-home-hero) .travel-boking .booking-box {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    body:has(> .agency-home-hero) .travel-boking .booking-button {
        grid-column: 1 / -1;
    }
}
@media (max-width: 575px) {
    body:has(> .agency-home-hero) .travel-boking .booking-box {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Mobile menu: olive panel, white labels, gold accents, 56px rows. */
.mobile-menu-area {
    background: var(--color-primary);
}
.mean-container .mean-bar {
    box-sizing: content-box;
    padding-top: env(safe-area-inset-top, 0px);
    padding-left: env(safe-area-inset-left, 0px);
    padding-right: env(safe-area-inset-right, 0px);
    background: var(--color-primary);
}
.mean-container a.meanmenu-reveal {
    top: env(safe-area-inset-top, 0px);
    right: env(safe-area-inset-right, 0px);
}
.mean-container a.meanmenu-reveal:focus-visible {
    outline: 2px solid var(--color-gold);
    outline-offset: -4px;
}
.mean-container .mean-nav {
    max-height: calc(100vh - 70px - env(safe-area-inset-top, 0px));
    max-height: calc(100dvh - 70px - env(safe-area-inset-top, 0px));
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--color-primary);
    border-top: 1px solid rgb(255 214 159 / 28%);
    box-shadow: 0 22px 40px rgb(0 0 0 / 28%);
}
.mean-container .mean-nav ul li {
    background: transparent;
    border-top: 1px solid rgb(255 214 159 / 16%);
}
.mean-container .mean-nav ul li:first-child {
    border-top: 0;
}
.mean-container .mean-nav ul li a {
    display: flex;
    align-items: center;
    box-sizing: border-box;
    width: 100%;
    min-height: 56px;
    padding: 0 max(5%, env(safe-area-inset-left, 0px));
    font-family: var(--title-font);
    font-size: 1.3rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
    background: transparent;
}
.mean-container .mean-nav ul li a:is(:hover, :focus-visible) {
    color: var(--brand-ink);
    background-color: var(--color-gold);
}
.mean-container .mean-nav ul li.rc-menu-call a {
    color: var(--color-gold);
    font-size: 1.05rem;
    letter-spacing: 0.04em;
    padding-bottom: env(safe-area-inset-bottom, 0px);
}
.mean-container .mean-nav ul li.rc-menu-call a:is(:hover, :focus-visible) {
    color: var(--brand-ink);
}

/* Fixed UI clears notches, rounded corners and the home-gesture bar. */
.prgoress_indicator {
    right: max(26px, env(safe-area-inset-right, 0px));
    bottom: max(35px, calc(env(safe-area-inset-bottom, 0px) + 16px));
}
.enquiry-notice {
    bottom: max(24px, calc(env(safe-area-inset-bottom, 0px) + 12px));
}
body:has(> .agency-home-hero) .auto-container {
    padding-left: max(var(--page-gutter), env(safe-area-inset-left, 0px));
    padding-right: max(var(--page-gutter), env(safe-area-inset-right, 0px));
}

@media (prefers-reduced-motion: reduce) {
    body:has(> .agency-home-hero) .gelary-track {
        width: max-content;
        animation: none !important;
    }
    body:has(> .agency-home-hero) .galary-thumb[data-dup] {
        display: none;
    }
}

/* Promo band: balanced wrapping and a clear gap above the button when stacked. */
body:has(> .agency-home-hero) .travelling-title h2 {
    text-wrap: balance;
}
@media (max-width: 767px) {
    body:has(> .agency-home-hero) .travelling-offer-section .bokking-btn {
        margin-top: 1.5rem;
    }
}
/* Hero below the desktop header: the fixed mobile bar is out of flow, so no negative pull-up. */
@media (max-width: 991px) {
    .rc-hero {
        margin-top: 0;
        padding-top: calc(104px + env(safe-area-inset-top, 0px));
    }
}

/* Touch targets: footer links and the header sidebar toggle reach 44px. */
body:has(> .agency-home-hero) .main-footer-one .footer-menu a,
body:has(> .agency-home-hero) .main-footer-one .footer-desc a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
}
body:has(> .agency-home-hero) .main-footer-one .footer-menu li {
    margin-bottom: 0;
}
.header-sidbar-button a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 8px;
}
/* Back-to-top steps aside while the mobile menu is open. */
body:has(.mobile-menu a.meanmenu-reveal.meanclose) .prgoress_indicator {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Agency accents and surfaces layered over the original template. */
body {
    background-color: var(--theme-bg-color2);
}

.agency-logo {
    display: inline-block;
    width: 158px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.travelik-header-area:not(.sticky) {
    background: color-mix(in srgb, var(--color-primary) 25%, transparent);
}

.header-call-info a,
.xs-sidebar-widget .contact-info a,
.footer-widget-content .contact-info a {
    color: inherit;
}

.header-call-info a:hover,
.xs-sidebar-widget .contact-info a:hover,
.footer-widget-content .contact-info a:hover {
    color: var(--color-gold);
}

.mean-container .mean-bar {
    background: var(--color-primary);
}

.mean-container .mean-nav {
    background: var(--theme-bg-color4);
}

.mean-container .mean-nav ul li a:hover,
.mean-container .mean-nav ul li a:focus-visible {
    color: var(--brand-ink);
    background-color: var(--color-gold);
}

.mobile-logo {
    top: 8px;
}

.mobile-logo .agency-logo {
    width: auto;
    max-height: 46px;
}

svg [fill="#0cb2db" i] {
    fill: var(--color-gold);
}

svg [stroke="#0cb2db" i] {
    stroke: var(--color-gold);
}

/* Gold-filled controls need dark labels and icons. */
.header-btn a,
.sticky .header-btn a:hover,
.hero-section-1 .hero-btn a,
.hero__video__btn a i,
.travel-boking .booking-button button,
.travel-boking .booking-button button i,
.bokking-tabs .tab-buttons .tab.active,
.about-section-one .about-btn a,
.form-input-bx button,
.destination__arrow__bx :is(.slider-prev, .slider-next):hover,
.contact-form button,
.comment-form .submit-comment {
    color: var(--brand-ink);
}

.about-section-one .about-btn a:hover,
.form-input-bx button:hover {
    color: var(--brand-ink);
}

:is(.hero-btn, .about-btn) a > svg [fill="white" i],
.hero__video__btn .play-now {
    color: inherit;
    fill: currentColor;
}

.hero-section-1 .hero-btn a:hover {
    color: var(--color-white);
}

/* Match the breakpoint that hides the booking traveler. */
@media screen and (width > 1200px) {
    .destination-section .travel-boking {
        background-image:
            radial-gradient(ellipse 152px 142px at 150px 24%,
                color-mix(in srgb, var(--color-gold) 30%, transparent),
                color-mix(in srgb, var(--color-gold) 10%, transparent) 52%,
                transparent 100%),
            radial-gradient(ellipse 176px 172px at 153px 32%,
                color-mix(in srgb, var(--color-primary) 75%, white),
                transparent 87%),
            linear-gradient(105deg, var(--theme-bg-color5), var(--theme-bg-color2));
    }
}

.bokking-tabs .tab-buttons .tab:not(.active) img {
    filter: brightness(0) invert(1);
}

.bokking-tabs .tab-buttons .tab.active img {
    filter: brightness(0);
}

.prgoress_indicator {
    background-color: var(--theme-bg-color2);
}

.header-menu ul .sub_menu li:hover > a {
    color: var(--brand-ink) !important;
}

ul.breadcumb-item li a:hover,
.header-menu ul .sub_menu li a:hover {
    text-decoration: underline;
}

.travel-appoinment .form-box input,
.subscribe-signle-box.right-warpper.style__two .form-input-bx button {
    color: var(--brand-ink);
}

.hero-section-1 .hero-journey-box {
    background-color: color-mix(in srgb, var(--theme-bg-color2) 72%, transparent);
}

.testi-autor .sample-review-icon {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    color: var(--color-gold);
    background-color: var(--theme-bg-color2);
    border-radius: 50%;
}

.footer-automation-title .typing {
    font-size: min(6.6vw, 128px);
    letter-spacing: 0.115em;
}

@media (max-width: 576px) {
    .footer-automation-title .typing {
        font-size: 6.6vw;
        letter-spacing: 0.075em;
    }
}

/* Homepage surfaces and sizing for Royal Castellane content. */
body:has(> .agency-home-hero) {
    --home-card-radius: 18px;
    --home-hairline: rgb(255 247 228 / 16%);
    --home-deep-olive: #30362B;
    --home-shaded-olive: #252B23;
}

body:has(> .agency-home-hero) .header-btn a {
    line-height: 1.2;
    padding-block: 0.72rem;
}

body:has(> .agency-home-hero) :is(.destination-single-box, .populer-single-box, .single-testi-box) {
    border-radius: var(--home-card-radius);
    box-shadow: inset 0 0 0 1px var(--home-hairline);
}

body:has(> .agency-home-hero) :is(.destination-single-box .destination-thumb img, .populer-single-box .populer-thumb img) {
    border-radius: var(--home-card-radius) var(--home-card-radius) 0 0;
}

body:has(> .agency-home-hero) :is(.hero-btn a, .header-btn a, .about-btn a, .defult-btn a) {
    border-radius: 999px;
}

body:has(> .agency-home-hero) .team-sectoin .team-single-box {
    --guide-card-surface: color-mix(in srgb, var(--color-primary) 19%, var(--theme-bg-color2));
    background: radial-gradient(ellipse 80% 60% at 50% 0%,
        color-mix(in srgb, var(--color-primary) 68%, var(--color-gold)),
        var(--color-primary) 45%,
        var(--guide-card-surface) 100%);
}

body:has(> .agency-home-hero) .team-single-box .team-thumb {
    top: 0;
    aspect-ratio: 342 / 300;
}

/* The cutout is taller than the image area and connects to the caption at its base. */
body:has(> .agency-home-hero) .team-single-box .team-thumb figure {
    position: absolute;
    inset: auto 0 0;
    aspect-ratio: 342 / 350;
    overflow: hidden;
}

body:has(> .agency-home-hero) .team-single-box .team-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
    filter: drop-shadow(0 8px 12px rgb(23 28 19 / 22%));
}

body:has(> .agency-home-hero) .team-single-box .team-thumb::before {
    z-index: 1;
    background: linear-gradient(180deg, transparent 65%, var(--guide-card-surface) 100%);
    pointer-events: none;
}

body:has(> .agency-home-hero) .team-single-box .team-thumb .team-social {
    z-index: 2;
    pointer-events: none;
}

body:has(> .agency-home-hero) .team-single-box:is(:hover, :focus-within) .team-thumb::before {
    height: 100%;
}

body:has(> .agency-home-hero) .team-single-box:is(:hover, :focus-within) .team-thumb .team-social {
    bottom: 20px;
    opacity: 1;
    pointer-events: auto;
}

body:has(> .agency-home-hero) .team-single-box .team-content {
    margin-top: 25px;
}

body:has(> .agency-home-hero) .testimonial-sectoin {
    background-image: linear-gradient(180deg, var(--home-deep-olive) 0%, rgb(37 43 35 / 18%) 30%, rgb(37 43 35 / 68%) 100%), url("../images/royal-castellane/forest-coast.webp");
}

body:has(> .agency-home-hero) .testimonial-sectoin.tp-panel-pin-area {
    contain: paint;
}

body:has(> .agency-home-hero) .testimonial-sectoin .testi-left-wrpper {
    display: flow-root;
}

body:has(> .agency-home-hero) .testimonial-sectoin .single-testi-box {
    position: relative;
}

@media (max-width: 991px) {
    body:has(> .agency-home-hero) .testimonial-sectoin .testi-left-wrpper {
        margin-bottom: 30px;
    }
}

body:has(> .agency-home-hero) .latest-blog-section {
    background: linear-gradient(180deg, var(--home-deep-olive), var(--home-shaded-olive));
}

body:has(> .agency-home-hero) .latest-blog-section .blog-single-box .blog-content {
    flex: 1;
    min-width: 0;
}

body:has(> .agency-home-hero) .latest-blog-section :is(.blog-title, .blog-btn, .blog-btn-right) a {
    text-transform: uppercase;
}

body:has(> .agency-home-hero) .main-footer-one {
    background-image: linear-gradient(180deg, var(--home-shaded-olive) 0%, rgb(48 54 43 / 78%) 26%, rgb(36 41 31 / 90%) 78%), url("../images/royal-castellane/forest-coast.webp");
}

/* Homepage spacing system: one gutter and one section rhythm, shared by every section. */
body:has(> .agency-home-hero) {
    --page-gutter: clamp(20px, 5vw, 72px);
    --card-pad: clamp(1.25rem, 2vw, 1.75rem);
}
body:has(> .agency-home-hero) .auto-container {
    max-width: calc(1440px + 2 * var(--page-gutter));
    padding-inline: var(--page-gutter);
}
body:has(> .agency-home-hero) .populer-section {
    padding-inline: var(--page-gutter);
}
/* Promo: the text column clears the cutout instead of running under it. */
@media (min-width: 992px) {
    body:has(> .agency-home-hero) .travelling-offer-section .travelling-img {
        left: 36%;
    }
    body:has(> .agency-home-hero) .travelling-offer {
        padding-left: 260px;
    }
    body:has(> .agency-home-hero) .travelling-offer h1 {
        font-size: clamp(2.75rem, 4.2vw, 4.25rem);
        line-height: 1.1;
        white-space: nowrap;
    }
    body:has(> .agency-home-hero) .travelling-offer p {
        margin-top: 0.5rem;
    }
}

/* Card typography: condensed Bebas for names, Inter for supporting labels and metadata. */
body:has(> .agency-home-hero) .section-title h1 {
    letter-spacing: 0.01em;
}
body:has(> .agency-home-hero) .destination-content {
    padding: 1.6rem 1.9rem 1.9rem;
}
body:has(> .agency-home-hero) .destination-content h1 {
    font-size: 2.1rem;
    line-height: 1.1;
    letter-spacing: 0.02em;
}
body:has(> .agency-home-hero) .destination-content p {
    margin-top: 0.5rem;
    font-family: var(--text-font);
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-gold);
}
/* Package cards: the image and the text share one inset. */
body:has(> .agency-home-hero) .populer-single-box {
    padding: 2.25rem var(--card-pad) 1.75rem;
}
body:has(> .agency-home-hero) .populer-contnet {
    padding: 1.6rem 0.25rem 0;
}
body:has(> .agency-home-hero) .popular-title {
    font-size: 1.65rem;
    line-height: 1.15;
    letter-spacing: 0.06em;
}
body:has(> .agency-home-hero) .populer-list span {
    font-size: 0.95rem;
}
/* Blog: images fill their column; cards use even padding. */
body:has(> .agency-home-hero) .single-blog-box .blog-thumb img,
body:has(> .agency-home-hero) .blog-single-box .blog-thumb img {
    width: 100%;
    height: auto;
}
body:has(> .agency-home-hero) .blog-single-box {
    padding: 1.5rem 1.5rem 1.5rem 2rem;
    gap: 1.75rem;
}
body:has(> .agency-home-hero) .blog-meta {
    padding: 0.75rem 0 1.25rem;
}
body:has(> .agency-home-hero) .latest-blog-section {
    padding-bottom: 200px;
}
@media (max-width: 991px) {
    body:has(> .agency-home-hero) .blog-single-box {
        padding: 1.75rem;
    }
    body:has(> .agency-home-hero) .blog-single-box .blog-thumb {
        margin-top: 1.25rem;
    }
}
body:has(> .agency-home-hero) .populer-section > .container-fluid {
    padding-inline: 0;
}


/* Testimonial summary: avatars were removed, so drop their offsets and align with the counter. */
body:has(> .agency-home-hero) .testimonial-sectoin .client-card {
    margin-left: 0;
    margin-top: 28px;
}

body:has(> .agency-home-hero) .testimonial-sectoin .client-text h2 {
    margin-left: 0;
    font-size: 1.6rem;
    color: var(--color-white);
}
/* Team card: dark text on the champagne-gold hover pill (white on gold was unreadable). */
body:has(> .agency-home-hero) .team-single-box:hover .team-content .team-bio {
    color: var(--home-deep-olive);
}
/* Enquiry forms: notice shown while no form service is connected (fixed, so it never shifts layout). */
.enquiry-notice {
    position: fixed;
    left: 50%;
    bottom: 24px;
    z-index: 10050;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: max-content;
    max-width: min(92vw, 560px);
    padding: 14px 16px 14px 20px;
    transform: translateX(-50%);
    color: #fff;
    background: #30362B;
    border: 1px solid #FFD69F;
    border-radius: 16px;
    box-shadow: 0 12px 36px rgb(0 0 0 / 35%);
}

.enquiry-notice--error {
    border-color: #f2b8a0;
}

.enquiry-notice p {
    margin: 0;
    font-size: 15px;
    line-height: 1.55;
}

.enquiry-notice a {
    color: #FFD69F;
    text-decoration: underline;
    white-space: nowrap;
}

.enquiry-notice button {
    flex: none;
    padding: 0 4px;
    color: #FFD69F;
    font-size: 26px;
    line-height: 1;
    background: none;
    border: 0;
    cursor: pointer;
}

/* Reviews section when only the verified Google rating is available. */
body:has(> .agency-home-hero) .testimonial-sectoin--summary .testi-left-wrpper {
    max-width: 720px;
    margin-inline: auto;
    text-align: center;
}

body:has(> .agency-home-hero) .testimonial-sectoin--summary .testi-counter,
body:has(> .agency-home-hero) .testimonial-sectoin--summary .client-card {
    justify-content: center;
}

body:has(> .agency-home-hero) .testimonial-sectoin .client-text a:hover h2 {
    color: #FFD69F;
}
/* ==========================================================================
   Phase 3B: premium minimal homepage
   ========================================================================== */

/* Hero: poster (and optional video), one headline, one CTA. */
.rc-hero {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    min-height: clamp(560px, 100svh, 940px);
    margin-top: -99px;
    padding-block: 140px clamp(56px, 9vh, 112px);
    overflow: hidden;
    color: var(--color-white, #fff);
    background-color: #252B23;
    background-position: 62% center;
    background-repeat: no-repeat;
    background-size: cover;
}
.rc-hero__video {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.rc-hero__shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgb(37 43 35 / 82%) 0%, rgb(37 43 35 / 52%) 42%, rgb(37 43 35 / 8%) 78%),
        linear-gradient(180deg, rgb(37 43 35 / 55%) 0%, transparent 24%, transparent 62%, #30362B 100%);
}
.rc-hero__inner {
    position: relative;
    z-index: 2;
    width: 100%;
}
.rc-hero__eyebrow {
    margin: 0 0 1.1rem;
    font-size: 0.9rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--color-gold);
}
.rc-hero__title {
    max-width: 14em;
    margin: 0;
    font-size: clamp(2.75rem, 6.4vw, 6rem);
    font-weight: 400;
    line-height: 1.02;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 2px 28px rgb(18 25 19 / 35%);
}
.rc-hero__lead {
    max-width: 32rem;
    margin: 1.4rem 0 0;
    font-size: clamp(1rem, 1.25vw, 1.15rem);
    line-height: 1.65;
    color: rgb(255 255 255 / 86%);
}
.rc-hero__actions {
    margin-top: 2rem;
}
.rc-hero__proof {
    margin: 1.6rem 0 0;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    color: rgb(255 255 255 / 70%);
}
.rc-hero__pause {
    position: absolute;
    right: var(--page-gutter, 24px);
    bottom: 28px;
    z-index: 3;
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    color: #fff;
    background: rgb(37 43 35 / 55%);
    border: 1px solid rgb(255 255 255 / 35%);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.25s ease;
}
.rc-hero__pause:hover,
.rc-hero__pause:focus-visible {
    background: rgb(37 43 35 / 85%);
}
@media (max-width: 767px) {
    .rc-hero {
        min-height: min(76svh, 640px);
        padding-block: 120px 56px;
        background-position: 68% center;
    }
    .rc-hero__shade {
        background: linear-gradient(180deg, rgb(37 43 35 / 55%) 0%, rgb(37 43 35 / 35%) 35%, rgb(37 43 35 / 82%) 80%, #30362B 100%);
    }
    .rc-hero__eyebrow { letter-spacing: 0.2em; }
    .rc-hero__title { font-size: clamp(2.4rem, 11.5vw, 3.4rem); }
}

/* Booking card: the template tab bar and traveller cutout are gone. */
body:has(> .agency-home-hero) .destination-section .travel-boking {
    padding: clamp(28px, 3.5vw, 48px) clamp(20px, 3.5vw, 48px) clamp(32px, 4vw, 52px);
    background: linear-gradient(105deg, var(--theme-bg-color5), var(--theme-bg-color2));
}
body:has(> .agency-home-hero) .travel-boking .booking-box {
    margin-left: 0;
}
.rc-hero__actions a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 32px;
    font-family: var(--title-font);
    font-size: 17px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--brand-ink);
    background: var(--color-gold);
    border-radius: 999px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}
.rc-hero__actions a:hover {
    color: var(--brand-ink);
    background: #fff;
}
.rc-hero__title {
    text-wrap: balance;
}

/* About: image pair beside a short text block; no floating cutout. */
body:has(> .agency-home-hero) .about-section-one .about-content {
    max-width: 34rem;
}

/* Promo band: text only. */
@media (min-width: 992px) {
    body:has(> .agency-home-hero) .travelling-offer {
        padding-left: 0;
    }
}

/* Motion: one calm fade for entrances, no stagger, nothing decorative loops. */
@keyframes rc-fade-up {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
}
body:has(> .agency-home-hero) .wow {
    animation-delay: 0s !important;
    animation-duration: 0.7s !important;
}
body:has(> .agency-home-hero) .wow.fadeInUp {
    animation-name: rc-fade-up !important;
}
body:has(> .agency-home-hero) .gelary-track {
    animation-duration: 90s;
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto !important; }
    body:has(> .agency-home-hero) *,
    body:has(> .agency-home-hero) *::before,
    body:has(> .agency-home-hero) *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    body:has(> .agency-home-hero) .gelary-track {
        animation: none !important;
    }
    body:has(> .agency-home-hero) .gallery-marquee {
        overflow-x: auto;
    }
    body:has(> .agency-home-hero) .wow {
        visibility: visible !important;
    }
}
@media (max-width: 991px) {
    body:has(> .agency-home-hero) .travel-boking .booking-box {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 575px) {
    body:has(> .agency-home-hero) .travel-boking .booking-box {
        grid-template-columns: minmax(0, 1fr);
    }
}
/* Destination carousel: identical card height and image ratio on every slide. */
body:has(> .agency-home-hero) .destination__swiper .swiper-slide {
    height: auto;
}
body:has(> .agency-home-hero) .destination__swiper .destination-single-box {
    height: 100%;
}
body:has(> .agency-home-hero) .destination-thumb img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 342 / 320;
    object-fit: cover;
}

/* Heading reveal: one soft fade-up, once. The hidden state is applied by main.js only. */
.rc-reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.8s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.rc-reveal.rc-in {
    opacity: 1;
    transform: none;
}
.rc-reveal + .rc-reveal {
    transition-delay: 0.1s;
}

/* Hero entrance: four short staggered fades on first load. */
@keyframes rc-hero-in {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: none; }
}
.rc-hero__inner > * {
    animation: rc-hero-in 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}
.rc-hero__title { animation-delay: 0.08s; }
.rc-hero__lead { animation-delay: 0.2s; }
.rc-hero__actions { animation-delay: 0.32s; }
.rc-hero__proof { animation-delay: 0.42s; }

@media (prefers-reduced-motion: reduce) {
    .rc-reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .rc-hero__inner > * {
        animation: none !important;
    }
}
/* ==========================================================================
   Phase 3D: destination editorial cards, rating panel, footer brand reveal
   ========================================================================== */

/* Destinations: image-led cards. Title sits on the photo; the whole card is one link. */
body:has(> .agency-home-hero) .destination-single-box {
    position: relative;
    display: grid;
    overflow: hidden;
    background: transparent;
    border-radius: var(--home-card-radius, 18px);
    box-shadow: none;
    isolation: isolate;
}
body:has(> .agency-home-hero) .destination-single-box > * {
    grid-area: 1 / 1;
}
body:has(> .agency-home-hero) .destination-thumb {
    line-height: 0;
}
body:has(> .agency-home-hero) .destination-thumb figure {
    margin: 0;
    overflow: hidden;
}
body:has(> .agency-home-hero) .destination-thumb .image-anime::after {
    display: none;
}
body:has(> .agency-home-hero) .destination-thumb img {
    aspect-ratio: 10 / 11;
    border-radius: 0;
    transition: transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1);
}
body:has(> .agency-home-hero) .destination-single-box:hover .destination-thumb img {
    transform: scale(1.04);
}
body:has(> .agency-home-hero) .destination-single-box .destination-content {
    z-index: 1;
    align-self: end;
    padding: 4rem 1.5rem 1.4rem;
    background: linear-gradient(180deg, transparent 0%, rgb(37 43 35 / 82%) 100%);
}
body:has(> .agency-home-hero) .destination-single-box .destination-content h1 {
    margin: 0;
    font-size: clamp(1.6rem, 2.2vw, 2rem);
    letter-spacing: 0.03em;
    text-transform: uppercase;
}
body:has(> .agency-home-hero) .destination-single-box .destination-content h1::after {
    content: "";
    display: block;
    width: 28px;
    height: 2px;
    margin-top: 0.7rem;
    background: var(--color-gold);
    transition: width 0.45s ease;
}
body:has(> .agency-home-hero) .destination-single-box:is(:hover, :has(a:focus-visible)) .destination-content h1::after {
    width: 64px;
}
body:has(> .agency-home-hero) .destination-single-box .destination-content h1 a::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
}
body:has(> .agency-home-hero) .destination-single-box:has(a:focus-visible) {
    outline: 2px solid var(--color-gold);
    outline-offset: -2px;
}
body:has(> .agency-home-hero) .destination-single-box .destination-content h1 a:focus-visible {
    outline: none;
}

/* Carousel controls: visible contrast, clear hover and focus. */
body:has(> .agency-home-hero) .destination__arrow__bx :is(.slider-prev, .slider-next) {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    padding: 0;
    line-height: 1;
    color: #fff;
    background: transparent;
    border: 1px solid rgb(255 214 159 / 55%);
    cursor: pointer;
}
body:has(> .agency-home-hero) .destination__arrow__bx :is(.slider-prev, .slider-next):is(:hover, :focus-visible) {
    color: var(--brand-ink);
    background: var(--color-gold);
    border-color: var(--color-gold);
}
body:has(> .agency-home-hero) .destination__arrow__bx :is(.slider-prev, .slider-next):focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}
@media (max-width: 767px) {
    body:has(> .agency-home-hero) .destination__arrow__bx {
        position: static;
        display: flex;
        justify-content: center;
        margin-top: 1.5rem;
    }
}

/* Google rating: editorial split on a flat olive wash. No photo, box, blur or rings. */
body:has(> .agency-home-hero) .testimonial-sectoin--summary {
    padding: clamp(72px, 9vw, 120px) 0;
    background: linear-gradient(180deg, var(--home-deep-olive) 0%, var(--home-shaded-olive) 100%);
}
.rc-rating {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    align-items: center;
    gap: clamp(2rem, 6vw, 6rem);
    max-width: 1100px;
    margin: 0 auto;
}
.rc-rating__source {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    margin: 0 0 1.4rem;
    font-size: 0.9rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--color-gold);
}
.rc-rating__source i {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    font-size: 1rem;
    border: 1px solid rgb(255 214 159 / 45%);
    border-radius: 50%;
}
.rc-rating__title {
    margin: 0;
    font-family: var(--title-font);
    font-size: clamp(2.6rem, 5vw, 4.4rem);
    font-weight: 400;
    line-height: 1.02;
    text-transform: uppercase;
    color: #fff;
}
.rc-rating__lede {
    max-width: 30ch;
    margin: 1.2rem 0 0;
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgb(255 255 255 / 78%);
}
.rc-rating__link {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-top: 1.8rem;
    padding: 0.8rem 1.6rem;
    font-family: var(--title-font);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-gold);
    border: 1px solid var(--color-gold);
    border-radius: 999px;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.rc-rating__link:is(:hover, :focus-visible) {
    color: var(--brand-ink);
    background: var(--color-gold);
}
.rc-rating__score-col {
    padding-left: clamp(2rem, 6vw, 6rem);
    border-left: 1px solid rgb(255 214 159 / 30%);
}
.rc-rating__score {
    display: flex;
    align-items: baseline;
    gap: 0.7rem;
    font-family: var(--title-font);
}
.rc-rating__number {
    font-size: clamp(6.5rem, 15vw, 12rem);
    line-height: 0.95;
    color: var(--color-gold);
}
.rc-rating__scale {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    color: rgb(255 255 255 / 75%);
}
.rc-rating__stars {
    display: flex;
    gap: 0.6rem;
    margin-top: 1rem;
}
.rc-star {
    width: clamp(26px, 3.2vw, 36px);
    height: auto;
    fill: var(--color-gold);
    transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1);
    transition-delay: calc(0.5s + var(--i, 0) * 0.1s);
}
.rc-star--empty { fill: rgb(255 214 159 / 25%); }
.rc-reveal:not(.rc-in) .rc-star {
    opacity: 0;
    transform: translateY(6px);
}
.rc-rating__basis {
    margin: 1.2rem 0 0;
    font-size: clamp(1.1rem, 1.6vw, 1.3rem);
    color: #fff;
}
.rc-rating.rc-reveal {
    transition-duration: 1.1s;
}
@media (max-width: 991px) {
    .rc-rating { grid-template-columns: 1fr; gap: 2.5rem; max-width: 560px; text-align: center; }
    .rc-rating__intro { display: flex; flex-direction: column; align-items: center; }
    .rc-rating__lede { max-width: 36ch; }
    .rc-rating__score-col {
        padding: 2.5rem 0 0;
        border-left: 0;
        border-top: 1px solid rgb(255 214 159 / 30%);
    }
    .rc-rating__score, .rc-rating__stars { justify-content: center; }
}
@media (max-width: 575px) {
    .rc-rating { gap: 2rem; }
    .rc-rating__score-col { padding-top: 2rem; }
}
/* Footer brand: slow left-to-right reveal (about 2.6s), rise and a hairline that grows with it. */
.footer-automation-title .rc-footer-brand {
    position: relative;
    margin: 0;
    padding: 1.6rem 0 0 0.115em;
    font-family: var(--title-font);
    font-size: min(6.6vw, 128px);
    font-weight: 300;
    line-height: 1.15;
    letter-spacing: 0.115em;
    text-align: center;
    text-transform: uppercase;
    background: linear-gradient(180deg, var(--color-gold) 0%, #fff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.footer-automation-title .rc-footer-brand::before {
    content: "";
    display: block;
    width: 96px;
    height: 1px;
    margin: 0 auto 1.4rem;
    background: var(--color-gold);
    -webkit-text-fill-color: initial;
    transform-origin: center;
}
.footer-automation-title .rc-footer-brand.rc-reveal {
    opacity: 0;
    transform: translateY(18px);
    clip-path: inset(-10% 100% -10% 0);
    transition:
        clip-path 2.6s cubic-bezier(0.45, 0, 0.2, 1),
        opacity 2s cubic-bezier(0.4, 0, 0.2, 1),
        transform 2.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.footer-automation-title .rc-footer-brand.rc-reveal::before {
    transform: scaleX(0);
    transition: transform 2.6s cubic-bezier(0.45, 0, 0.2, 1);
}
.footer-automation-title .rc-footer-brand.rc-reveal.rc-in {
    opacity: 1;
    transform: none;
    clip-path: inset(-10% -2% -10% -2%);
}
.footer-automation-title .rc-footer-brand.rc-reveal.rc-in::before {
    transform: scaleX(1);
}
@media (max-width: 991px) {
    .footer-automation-title .rc-footer-brand {
        padding-bottom: 4.5rem;
    }
}
@media (max-width: 576px) {
    .footer-automation-title .rc-footer-brand {
        letter-spacing: 0.075em;
        padding-left: 0.075em;
    }
}
@media (prefers-reduced-motion: reduce) {
    .rc-star {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .footer-automation-title .rc-footer-brand.rc-reveal,
    .footer-automation-title .rc-footer-brand.rc-reveal::before {
        opacity: 1 !important;
        transform: none !important;
        clip-path: none !important;
        transition: none !important;
    }
    body:has(> .agency-home-hero) .destination-thumb img,
    body:has(> .agency-home-hero) .destination-single-box:hover .destination-thumb img {
        transform: none;
        transition: none;
    }
}

/* ==========================================================================
   Phase 3F: gallery scale, enquiry form, mobile menu, safe areas
   ========================================================================== */

/* Gallery: smaller 4:5 cards, one slow loop, pauses on hover or focus. */
body:has(> .agency-home-hero) .gallery-marquee {
    --gw: clamp(168px, calc(12vw + 72px), 250px);
    --gg: clamp(12px, 1.4vw, 20px);
    overflow: hidden;
}
body:has(> .agency-home-hero) .gelary-track {
    display: flex;
    gap: 0;
    width: max-content;
    animation: rc-gallery-loop 80s linear infinite;
}
body:has(> .agency-home-hero) .gallery-marquee:is(:hover, :focus-within) .gelary-track {
    animation-play-state: paused;
}
body:has(> .agency-home-hero) .galary-thumb {
    flex: 0 0 var(--gw);
    min-width: 0;
    margin-right: var(--gg);
}
body:has(> .agency-home-hero) .galary-thumb img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: var(--home-card-radius, 18px);
}
@keyframes rc-gallery-loop {
    from { transform: translateX(0); }
    to { transform: translateX(-33.3333%); }
}
body:has(> .agency-home-hero) .photography-sectoin .row.pb-50 {
    padding-bottom: clamp(24px, 3vw, 40px);
}

/* Enquiry card: destination and date only, three columns on desktop. */
body:has(> .agency-home-hero) .travel-boking .booking-box {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: end;
}
body:has(> .agency-home-hero) .travel-boking .booking-input-box {
    display: block;
    padding: 0;
    overflow: hidden;
}
body:has(> .agency-home-hero) .travel-boking .booking-input-box input {
    display: block;
    width: 100%;
    min-height: 54px;
    padding: 0 16px;
    color: #fff;
    font-size: 16px;
    color-scheme: dark;
}
body:has(> .agency-home-hero) .travel-boking .booking-input-box input::placeholder {
    color: rgb(255 255 255 / 62%);
}
body:has(> .agency-home-hero) .travel-boking .booking-input-box:focus-within {
    border-color: var(--color-gold);
}
body:has(> .agency-home-hero) .travel-boking .booking-button {
    display: block;
    margin-top: 0;
}
body:has(> .agency-home-hero) .travel-boking .booking-button button {
    width: 100%;
    min-height: 54px;
}
body:has(> .agency-home-hero) .rc-booking-note {
    max-width: 60ch;
    margin: 1.4rem 0 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgb(255 255 255 / 72%);
}
body:has(> .agency-home-hero) .rc-booking-note a {
    color: var(--color-gold);
    white-space: nowrap;
}
@media (max-width: 991px) {
    body:has(> .agency-home-hero) .travel-boking .booking-box {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    body:has(> .agency-home-hero) .travel-boking .booking-button {
        grid-column: 1 / -1;
    }
}
@media (max-width: 575px) {
    body:has(> .agency-home-hero) .travel-boking .booking-box {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Mobile menu: olive panel, white labels, gold accents, 56px rows. */
.mobile-menu-area {
    background: var(--color-primary);
}
.mean-container .mean-bar {
    box-sizing: content-box;
    padding-top: env(safe-area-inset-top, 0px);
    padding-left: env(safe-area-inset-left, 0px);
    padding-right: env(safe-area-inset-right, 0px);
    background: var(--color-primary);
}
.mean-container a.meanmenu-reveal {
    top: env(safe-area-inset-top, 0px);
    right: env(safe-area-inset-right, 0px);
}
.mean-container a.meanmenu-reveal:focus-visible {
    outline: 2px solid var(--color-gold);
    outline-offset: -4px;
}
.mean-container .mean-nav {
    max-height: calc(100vh - 70px - env(safe-area-inset-top, 0px));
    max-height: calc(100dvh - 70px - env(safe-area-inset-top, 0px));
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--color-primary);
    border-top: 1px solid rgb(255 214 159 / 28%);
    box-shadow: 0 22px 40px rgb(0 0 0 / 28%);
}
.mean-container .mean-nav ul li {
    background: transparent;
    border-top: 1px solid rgb(255 214 159 / 16%);
}
.mean-container .mean-nav ul li:first-child {
    border-top: 0;
}
.mean-container .mean-nav ul li a {
    display: flex;
    align-items: center;
    box-sizing: border-box;
    width: 100%;
    min-height: 56px;
    padding: 0 max(5%, env(safe-area-inset-left, 0px));
    font-family: var(--title-font);
    font-size: 1.3rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
    background: transparent;
}
.mean-container .mean-nav ul li a:is(:hover, :focus-visible) {
    color: var(--brand-ink);
    background-color: var(--color-gold);
}
.mean-container .mean-nav ul li.rc-menu-call a {
    color: var(--color-gold);
    font-size: 1.05rem;
    letter-spacing: 0.04em;
    padding-bottom: env(safe-area-inset-bottom, 0px);
}
.mean-container .mean-nav ul li.rc-menu-call a:is(:hover, :focus-visible) {
    color: var(--brand-ink);
}

/* Fixed UI clears notches, rounded corners and the home-gesture bar. */
.prgoress_indicator {
    right: max(26px, env(safe-area-inset-right, 0px));
    bottom: max(35px, calc(env(safe-area-inset-bottom, 0px) + 16px));
}
.enquiry-notice {
    bottom: max(24px, calc(env(safe-area-inset-bottom, 0px) + 12px));
}
body:has(> .agency-home-hero) .auto-container {
    padding-left: max(var(--page-gutter), env(safe-area-inset-left, 0px));
    padding-right: max(var(--page-gutter), env(safe-area-inset-right, 0px));
}

@media (prefers-reduced-motion: reduce) {
    body:has(> .agency-home-hero) .gelary-track {
        width: max-content;
        animation: none !important;
    }
    body:has(> .agency-home-hero) .galary-thumb[data-dup] {
        display: none;
    }
}

/* Promo band: balanced wrapping and a clear gap above the button when stacked. */
body:has(> .agency-home-hero) .travelling-title h2 {
    text-wrap: balance;
}
@media (max-width: 767px) {
    body:has(> .agency-home-hero) .travelling-offer-section .bokking-btn {
        margin-top: 1.5rem;
    }
}
/* Hero below the desktop header: the fixed mobile bar is out of flow, so no negative pull-up. */
@media (max-width: 991px) {
    .rc-hero {
        margin-top: 0;
        padding-top: calc(104px + env(safe-area-inset-top, 0px));
    }
}

/* Touch targets: footer links and the header sidebar toggle reach 44px. */
body:has(> .agency-home-hero) .main-footer-one .footer-menu a,
body:has(> .agency-home-hero) .main-footer-one .footer-desc a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
}
body:has(> .agency-home-hero) .main-footer-one .footer-menu li {
    margin-bottom: 0;
}
.header-sidbar-button a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 8px;
}
/* Back-to-top steps aside while the mobile menu is open. */
body:has(.mobile-menu a.meanmenu-reveal.meanclose) .prgoress_indicator {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

@media (max-width: 1199px) {
    body:has(> .agency-home-hero) .about-section-one .about-thumb {
        width: 100%;
        margin-bottom: 2rem;
    }
    body:has(> .agency-home-hero) .about-section-one .about-thumb figure.about-img2 {
        width: 100%;
        max-width: none;
    }
}
/* ==========================================================================
   Phase 3G: section atmosphere, About composition
   ========================================================================== */

/* Atmospheric photograph behind a section. Image, focal point and opacity come from
   --rc-bg-image, --rc-bg-pos and --rc-bg-opacity set by the section (see content/home.ts). */
.rc-bg {
    position: relative;
    isolation: isolate;
}
.rc-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image: var(--rc-bg-image);
    background-repeat: no-repeat;
    background-position: var(--rc-bg-pos, 50% 50%);
    background-size: cover;
    opacity: var(--rc-bg-opacity, 0.15);
    filter: saturate(0.85);
}
body:has(> .agency-home-hero) .destination-section.rc-bg::before {
    transform: scaleX(-1);
    -webkit-mask-image: linear-gradient(180deg, #000 0%, rgb(0 0 0 / 55%) 38%, transparent 84%);
    mask-image: linear-gradient(180deg, #000 0%, rgb(0 0 0 / 55%) 38%, transparent 84%);
}
body:has(> .agency-home-hero) .about-section-one.rc-bg::before {
    -webkit-mask-image: linear-gradient(270deg, #000 0%, rgb(0 0 0 / 60%) 40%, transparent 78%);
    mask-image: linear-gradient(270deg, #000 0%, rgb(0 0 0 / 60%) 40%, transparent 78%);
}
body:has(> .agency-home-hero) .travelling-offer-section.rc-bg::before {
    -webkit-mask-image: linear-gradient(90deg, transparent 12%, #000 100%);
    mask-image: linear-gradient(90deg, transparent 12%, #000 100%);
}

/* Destination description, only shown when a description is supplied. */
body:has(> .agency-home-hero) .destination-single-box .destination-content p {
    margin: 0.5rem 0 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgb(255 255 255 / 82%);
}

/* About: two 4:5 photographs. Wide screens overlap them deliberately; narrower screens
   place them side by side; phones show the portrait only. */
body:has(> .agency-home-hero) .about-section-one .row {
    align-items: center;
}
.rc-about-media {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: start;
}
.rc-about-media figure {
    margin: 0;
    overflow: hidden;
    border-radius: var(--home-card-radius, 18px);
    background: var(--theme-bg-color2);
}
.rc-about-media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}
.rc-about-media__back {
    grid-column: 1 / 8;
    grid-row: 1;
}
.rc-about-media__front {
    position: relative;
    z-index: 1;
    grid-column: 6 / 13;
    grid-row: 1;
    margin-top: 16%;
    box-shadow: 0 26px 44px -22px rgb(0 0 0 / 55%);
}
.rc-about-media__front::after {
    pointer-events: none;
}
@media (max-width: 1199px) {
    .rc-about-media {
        gap: 16px;
        margin-bottom: 2.25rem;
    }
    .rc-about-media__back {
        grid-column: 1 / 7;
    }
    .rc-about-media__front {
        grid-column: 7 / 13;
        margin-top: 10%;
        box-shadow: none;
    }
}
@media (max-width: 575px) {
    .rc-about-media {
        display: block;
    }
    .rc-about-media__back {
        display: none;
    }
    .rc-about-media__front {
        margin-top: 0;
    }
    .rc-about-media__front img {
        aspect-ratio: 4 / 3.4;
    }
}

/* ==========================================================================
   Phase 4.1: shared inner-page hero, header active state, sidebar and mobile menu.
   Everything below is namespaced (rc-inner-*, rc-drawer*, rc-mnav*, rc-menu-*) so it
   cannot reach the homepage sections. The only change visible on the homepage is the
   active-page marker on the "Home" link.
   ========================================================================== */

/* ---- Header: current page, hamburger button, focus ---- */
.travelik-header-area .header-menu ul li a[aria-current="page"] {
    color: var(--color-gold);
}
.travelik-header-area .header-menu ul li a[aria-current="page"]::after {
    content: "";
    position: absolute;
    inset-inline: 12px;
    bottom: 29px;
    height: 2px;
    border-radius: 2px;
    background: var(--color-gold);
}
@media (max-width: 1365px) {
    .travelik-header-area .header-menu ul li a[aria-current="page"]::after {
        inset-inline: 9px;
    }
}
@media (max-width: 1170px) {
    .travelik-header-area .header-menu ul li a[aria-current="page"]::after {
        inset-inline: 5px;
    }
}
.travelik-header-area :is(a, button):focus-visible {
    outline: 2px solid var(--color-gold);
    outline-offset: 3px;
    border-radius: 4px;
}
.travelik-header-area .header-menu ul li a:focus-visible {
    outline-offset: -4px;
    border-radius: 8px;
}
.header-sidbar-button .rc-menu-toggle {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin: 0;
    padding: 0 8px;
    border: 0;
    background: transparent;
    color: var(--primary-color);
    font: inherit;
    cursor: pointer;
    transition: color 0.3s ease;
}
.header-sidbar-button .rc-menu-toggle:hover {
    color: var(--title-color);
}
.header-sidbar-button .rc-menu-toggle svg {
    display: inline-block;
    margin-right: 16px;
}

/* ---- Page scroll lock while a menu is open ---- */
html.rc-menu-open {
    overflow: hidden;
}
html.rc-menu-open body {
    padding-right: var(--rc-scrollbar, 0px);
}
html.rc-menu-open .travelik-header-area.sticky {
    padding-right: var(--rc-scrollbar, 0px);
}

/* ---- Information sidebar (desktop header hamburger) ---- */
.rc-drawer {
    position: fixed;
    inset: 0;
    z-index: 1000;
    visibility: hidden;
    pointer-events: none;
    transition: visibility 0s linear 0.32s;
}
.rc-drawer[data-open="true"] {
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
}
.rc-drawer__scrim {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: rgb(24 28 21 / 62%);
    opacity: 0;
    cursor: default;
    transition: opacity 0.28s ease;
}
.rc-drawer[data-open="true"] .rc-drawer__scrim {
    opacity: 1;
}
.rc-drawer__panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    box-sizing: border-box;
    width: min(400px, 100%);
    padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--theme-bg-color2);
    border-left: 1px solid rgb(255 214 159 / 22%);
    box-shadow: -24px 0 48px rgb(0 0 0 / 28%);
    opacity: 0;
    transform: translateX(28px);
    transition: opacity 0.24s ease, transform 0.32s cubic-bezier(0.22, 0.8, 0.3, 1);
}
.rc-drawer[data-open="true"] .rc-drawer__panel {
    opacity: 1;
    transform: none;
}
.rc-drawer__close {
    position: absolute;
    top: max(16px, env(safe-area-inset-top, 0px));
    right: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgb(255 214 159 / 45%);
    border-radius: 50%;
    background: transparent;
    color: var(--color-gold);
    cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease;
}
.rc-drawer__close:is(:hover, :focus-visible) {
    background: var(--color-gold);
    color: var(--brand-ink);
}
.rc-drawer__close:focus-visible,
.rc-drawer__panel a:focus-visible {
    outline: 2px solid var(--color-gold);
    outline-offset: 3px;
}
.rc-drawer__body {
    padding: clamp(28px, 4vw, 40px) clamp(24px, 3vw, 36px) 40px;
}
.rc-drawer__logo {
    display: inline-block;
    margin: 0 0 clamp(28px, 4vw, 40px);
}
.rc-drawer__logo .agency-logo {
    width: 150px;
}
.rc-drawer__title {
    margin: 0 0 0.75rem;
    font-family: var(--title-font);
    font-size: 1.6rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    line-height: 1.1;
    text-transform: uppercase;
    color: #fff;
}
.rc-drawer__title + .rc-drawer__list,
.rc-drawer__cta + .rc-drawer__title {
    margin-top: 0;
}
.rc-drawer__cta + .rc-drawer__title {
    margin-top: 2.25rem;
    padding-top: 2rem;
    border-top: 1px solid rgb(255 214 159 / 18%);
}
.rc-drawer__text {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-color);
}
.rc-drawer__cta {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    margin-top: 1.5rem;
    padding: 0 1.7rem;
    border-radius: 999px;
    background: var(--color-gold);
    color: var(--brand-ink);
    font-family: var(--title-font);
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: background-color 0.25s ease;
}
.rc-drawer__cta:is(:hover, :focus-visible) {
    background: #fff;
    color: var(--brand-ink);
}
.rc-drawer__list {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--text-color);
}
.rc-drawer__list li + li {
    margin-top: 1.1rem;
}
.rc-drawer__label {
    display: block;
    margin-bottom: 0.2rem;
    font-family: var(--title-font);
    font-size: 0.95rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-gold);
}
.rc-drawer__list a {
    color: #fff;
    text-decoration: underline;
    text-decoration-color: rgb(255 214 159 / 55%);
    text-underline-offset: 3px;
}
.rc-drawer__list a:hover {
    color: var(--color-gold);
}
.rc-drawer__social {
    display: flex;
    gap: 0.75rem;
    margin: 1.75rem 0 0;
    padding: 0;
    list-style: none;
}
.rc-drawer__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgb(255 214 159 / 45%);
    border-radius: 50%;
    color: var(--color-gold);
}
@media (max-width: 991px) {
    .rc-drawer {
        display: none;
    }
}

/* ---- Mobile navigation bar (below 992px) ---- */
.rc-mnav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: var(--theme-bg-color);
    box-shadow: 0 2px 5px -2px rgb(0 0 0 / 10%);
}
@media (min-width: 992px) {
    .rc-mnav {
        display: none;
    }
}
@media (prefers-reduced-motion: no-preference) {
    .rc-mnav {
        animation: slideInDown 800ms;
    }
}
.rc-mnav__bar {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    box-sizing: content-box;
    height: 60px;
    padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) 0 env(safe-area-inset-left, 0px);
    background: var(--theme-bg-color);
}
.rc-mnav__logo {
    display: block;
    margin: 8px 0 0 8px;
}
.rc-mnav__logo .agency-logo {
    display: block;
    width: auto;
    max-height: 46px;
}
.rc-mnav__toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    width: 58px;
    height: 58px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}
.rc-mnav__toggle span {
    display: block;
    width: 22px;
    height: 3px;
    border-radius: 2px;
    background: #fff;
    transition: transform 0.25s ease, opacity 0.2s ease;
}
.rc-mnav[data-open="true"] .rc-mnav__toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}
.rc-mnav[data-open="true"] .rc-mnav__toggle span:nth-child(2) {
    opacity: 0;
}
.rc-mnav[data-open="true"] .rc-mnav__toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}
.rc-mnav :is(a, button):focus-visible {
    outline: 2px solid var(--color-gold);
    outline-offset: -4px;
}
.rc-mnav__panel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1;
    max-height: calc(100vh - 60px - env(safe-area-inset-top, 0px));
    max-height: calc(100dvh - 60px - env(safe-area-inset-top, 0px));
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--theme-bg-color);
    border-top: 1px solid rgb(255 214 159 / 28%);
    box-shadow: 0 22px 40px rgb(0 0 0 / 28%);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.22s ease, transform 0.26s cubic-bezier(0.22, 0.8, 0.3, 1), visibility 0s linear 0.26s;
}
.rc-mnav[data-open="true"] .rc-mnav__panel {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition-delay: 0s;
}
.rc-mnav__panel ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.rc-mnav__panel li + li {
    border-top: 1px solid rgb(255 214 159 / 16%);
}
.rc-mnav__panel a {
    display: flex;
    align-items: center;
    box-sizing: border-box;
    width: 100%;
    min-height: 56px;
    padding: 0 max(5%, env(safe-area-inset-left, 0px));
    font-family: var(--title-font);
    font-size: 1.3rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    color: #fff;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.rc-mnav__panel a[aria-current="page"] {
    color: var(--color-gold);
    box-shadow: inset 4px 0 0 var(--color-gold);
}
.rc-mnav__panel a:is(:hover, :focus-visible) {
    color: var(--brand-ink);
    background-color: var(--color-gold);
}
.rc-mnav__call {
    padding-bottom: env(safe-area-inset-bottom, 0px);
}
.rc-mnav__call a {
    color: var(--color-gold);
    font-size: 1.05rem;
    letter-spacing: 0.04em;
}
.rc-mnav__scrim {
    position: fixed;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: rgb(24 28 21 / 45%);
    cursor: default;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.26s ease, visibility 0s linear 0.26s;
}
.rc-mnav[data-open="true"] .rc-mnav__scrim {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
}
/* Back-to-top steps aside while the mobile menu is open. */
body:has(.rc-mnav[data-open="true"]) .prgoress_indicator {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
    .rc-drawer *,
    .rc-mnav * {
        transition-duration: 0.01ms !important;
        transition-delay: 0s !important;
    }
}

/* ---- Shared inner-page hero ---- */
.rc-inner-hero {
    --rc-inner-gutter: clamp(20px, 5vw, 72px);
    position: relative;
    z-index: 1;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    box-sizing: border-box;
    min-height: clamp(280px, 24vw + 40px, 380px);
    padding: calc(60px + env(safe-area-inset-top, 0px) + clamp(36px, 8vw, 64px)) max(var(--rc-inner-gutter), env(safe-area-inset-right, 0px))
        clamp(32px, 4.5vw, 60px) max(var(--rc-inner-gutter), env(safe-area-inset-left, 0px));
    background: var(--home-shaded-olive, #252b23);
    border-bottom: 1px solid rgb(255 214 159 / 22%);
}
@media (min-width: 992px) {
    /* The desktop header is 99px tall and sits on top of the hero. */
    .rc-inner-hero {
        margin-top: -99px;
        padding-top: calc(99px + clamp(48px, 5vw, 80px));
    }
}
.rc-inner-hero__media {
    position: absolute;
    inset: 0;
    z-index: -2;
}
.rc-inner-hero__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.9);
}
.rc-inner-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgb(37 43 35 / 86%) 0%, rgb(48 54 43 / 62%) 48%, rgb(91 99 79 / 30%) 100%),
        linear-gradient(180deg, rgb(37 43 35 / 55%) 0%, rgb(37 43 35 / 0%) 36%, rgb(37 43 35 / 55%) 100%);
}
.rc-inner-hero--plain::before {
    display: none;
}
@media (max-width: 767px) {
    .rc-inner-hero::before {
        background: linear-gradient(180deg, rgb(37 43 35 / 70%) 0%, rgb(48 54 43 / 58%) 50%, rgb(37 43 35 / 84%) 100%);
    }
}
.rc-inner-hero__inner {
    width: 100%;
    max-width: 1440px;
    margin-inline: auto;
}
.rc-inner-hero__crumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 0.55rem;
    margin: 0 0 clamp(0.6rem, 1.4vw, 1rem);
    padding: 0;
    list-style: none;
    font-family: var(--text-font);
    font-size: 0.8125rem;
    letter-spacing: 0.14em;
    line-height: 1.4;
    text-transform: uppercase;
    color: rgb(255 255 255 / 86%);
    overflow: hidden;
}
.rc-inner-hero__crumbs li {
    display: inline-flex;
    align-items: center;
    min-width: 0;
}
.rc-inner-hero__crumbs li + li::before {
    content: "/";
    content: "/" / "";
    margin-right: 0.55rem;
    color: var(--color-gold);
    opacity: 0.8;
}
.rc-inner-hero__crumbs a {
    padding: 0.4rem 0;
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}
.rc-inner-hero__crumbs a:hover {
    color: var(--color-gold);
}
.rc-inner-hero__crumbs a:focus-visible {
    outline: 2px solid var(--color-gold);
    outline-offset: 3px;
    border-radius: 2px;
}
.rc-inner-hero__crumbs [aria-current="page"] {
    padding: 0.4rem 0;
    color: var(--color-gold);
    overflow-wrap: anywhere;
    max-width: 100%;
}
@media (pointer: coarse) {
    .rc-inner-hero__crumbs a {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
        padding: 0;
    }
}
.rc-inner-hero__title {
    margin: 0;
    font-family: var(--title-font);
    font-size: clamp(1.75rem, 1rem + 5.5vw, 5.25rem);
    font-weight: 400;
    line-height: 0.98;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    overflow-wrap: break-word;
    word-break: break-word;
    max-width: 100%;
    color: #fff;
}
.rc-inner-hero__title::after {
    content: "";
    display: block;
    width: 56px;
    height: 2px;
    margin-top: clamp(0.85rem, 1.6vw, 1.25rem);
    background: var(--color-gold);
}
.rc-inner-hero__lead {
    max-width: 56ch;
    margin: 1.1rem 0 0;
    font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
    line-height: 1.65;
    color: rgb(255 255 255 / 88%);
}
@media (max-height: 480px) and (orientation: landscape) {
    .rc-inner-hero {
        min-height: 0;
        padding-top: calc(60px + env(safe-area-inset-top, 0px) + 20px);
        padding-bottom: 24px;
    }
    .rc-inner-hero__title {
        font-size: clamp(1.75rem, 6vw, 3rem);
    }
}
@media (max-height: 480px) and (orientation: landscape) and (min-width: 992px) {
    .rc-inner-hero {
        padding-top: calc(99px + 20px);
    }
}
@media (prefers-reduced-motion: no-preference) {
    .rc-inner-hero__media img {
        animation: rc-inner-image 1.2s ease-out both;
    }
    .rc-inner-hero__inner {
        animation: rc-inner-rise 0.7s cubic-bezier(0.22, 0.8, 0.3, 1) 0.08s both;
    }
}
@keyframes rc-inner-image {
    from {
        transform: scale(1.04);
    }
    to {
        transform: none;
    }
}
@keyframes rc-inner-rise {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

/* ==========================================================================
   Phase 4.2: Contact page. Everything is namespaced rc-contact-*, so it cannot
   reach the homepage or any other template page.
   ========================================================================== */
.rc-contact {
    --rc-contact-gutter: clamp(20px, 5vw, 72px);
    --rc-contact-surface: color-mix(in srgb, var(--color-primary) 22%, var(--theme-bg-color2));
    --rc-contact-hairline: rgb(255 214 159 / 20%);
    --rc-contact-error: #f2b8a0;
    background: var(--theme-bg-color2);
}
.rc-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* ---- Shared type ---- */
.rc-contact-eyebrow {
    display: inline-block;
    margin: 0 0 1.25rem;
    padding: 0.4rem 1.4rem;
    border: 1px solid var(--color-gold);
    border-radius: 999px;
    font-family: var(--style-font);
    font-size: 1rem;
    line-height: 1.3;
    text-transform: uppercase;
    color: var(--color-gold);
}
.rc-contact-heading {
    margin: 0 0 1.25rem;
    font-size: clamp(2.5rem, 1.4rem + 3.4vw, 4.25rem);
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    text-wrap: balance;
    overflow-wrap: anywhere;
    color: #fff;
}
.rc-contact-lead {
    max-width: 46ch;
    margin: 0 0 clamp(28px, 4vw, 44px);
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--text-color);
}

/* ---- Details and form ---- */
.rc-contact-main {
    padding: clamp(56px, 8vw, 112px) max(var(--rc-contact-gutter), env(safe-area-inset-right, 0px)) clamp(56px, 8vw, 112px)
        max(var(--rc-contact-gutter), env(safe-area-inset-left, 0px));
}
.rc-contact-container {
    width: 100%;
    max-width: 1440px;
    margin-inline: auto;
}
.rc-contact-main__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(40px, 6vw, 64px);
    align-items: start;
}
@media (min-width: 992px) {
    .rc-contact-main__grid {
        grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
        gap: clamp(48px, 6vw, 96px);
    }
    /* The form is taller than the details, so the details stay in view while it is filled in. */
    .rc-contact-details {
        position: sticky;
        top: 131px;
    }
}
.rc-contact-details__list {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--rc-contact-hairline);
}
.rc-contact-details__item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1.1rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--rc-contact-hairline);
}
.rc-contact-details__icon {
    display: inline-flex;
    margin-top: 0.2rem;
    color: var(--color-gold);
}
.rc-contact-details__label {
    margin: 0 0 0.35rem;
    font-size: 1.35rem;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
}
.rc-contact-details__value {
    margin: 0;
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--text-color);
    overflow-wrap: break-word;
}
.rc-contact-details__phone {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: 1.375rem;
    letter-spacing: 0.02em;
    color: #fff;
    transition: color 0.2s ease;
}
.rc-contact-details__phone:hover {
    color: var(--color-gold);
}
.rc-contact-details__phone:focus-visible,
.rc-contact-form a:focus-visible,
.rc-contact-status a:focus-visible,
.rc-contact-location a:focus-visible {
    outline: 2px solid var(--color-gold);
    outline-offset: 3px;
    border-radius: 4px;
}
@media (min-width: 576px) and (max-width: 991px) {
    .rc-contact-details__list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 2rem;
    }
}

.rc-contact-panel {
    box-sizing: border-box;
    padding: clamp(24px, 3.6vw, 48px);
    border: 1px solid var(--rc-contact-hairline);
    border-radius: 18px;
    background: var(--rc-contact-surface);
}
.rc-contact-panel__title {
    margin: 0 0 0.5rem;
    font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #fff;
}
.rc-contact-panel__hint {
    margin: 0 0 1.75rem;
    font-size: 0.875rem;
    line-height: 1.5;
    color: rgb(229 230 219 / 78%);
}
.rc-contact-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}
.rc-contact-field {
    min-width: 0;
}
.rc-contact-field--full {
    grid-column: 1 / -1;
}
@media (max-width: 575px) {
    .rc-contact-form__grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .rc-contact-field--half {
        grid-column: 1 / -1;
    }
}
.rc-contact-field label {
    display: block;
    margin: 0 0 0.5rem;
    font-family: var(--title-font);
    font-size: 1.15rem;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #fff;
    cursor: pointer;
}
.rc-contact-field__optional {
    margin-left: 0.25rem;
    font-family: var(--text-font);
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    text-transform: none;
    color: rgb(229 230 219 / 72%);
}
.rc-contact-field :is(input, textarea) {
    display: block;
    box-sizing: border-box;
    width: 100%;
    min-height: 52px;
    margin: 0;
    padding: 0.8rem 1rem;
    border: 1px solid rgb(255 214 159 / 32%);
    border-radius: 12px;
    background: rgb(255 255 255 / 6%);
    color: #fff;
    font: 400 1rem/1.4 var(--text-font);
    color-scheme: dark;
    appearance: none;
    -webkit-appearance: none;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}
.rc-contact-field textarea {
    min-height: 132px;
    resize: vertical;
}
@media (max-width: 360px) {
    .rc-contact-field :is(input, textarea) {
        padding-inline: 0.8rem;
        font-size: 0.9375rem;
    }
}
.rc-contact-field :is(input, textarea)::placeholder {
    color: rgb(255 255 255 / 62%);
    opacity: 1;
}
.rc-contact-field :is(input, textarea):hover {
    border-color: rgb(255 214 159 / 58%);
}
.rc-contact-field :is(input, textarea):focus {
    outline: 2px solid var(--color-gold);
    outline-offset: 2px;
    border-color: var(--color-gold);
    background: rgb(255 255 255 / 9%);
}
.rc-contact-field :is(input, textarea)[aria-invalid="true"] {
    border-color: var(--rc-contact-error);
    box-shadow: inset 3px 0 0 var(--rc-contact-error);
}
.rc-contact-field__error {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    margin: 0.5rem 0 0;
    font-size: 0.875rem;
    line-height: 1.45;
    color: var(--rc-contact-error);
}
.rc-contact-field__error svg {
    flex: none;
    margin-top: 2px;
}
.rc-contact-form__note {
    margin: 1.5rem 0 0;
    padding-left: 1rem;
    border-left: 2px solid var(--color-gold);
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-color);
}
.rc-contact-form__note a,
.rc-contact-status a {
    color: var(--color-gold);
    text-decoration: underline;
    text-underline-offset: 3px;
    white-space: nowrap;
}
.rc-contact-form__actions {
    margin-top: 1.5rem;
}
.rc-contact-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    box-sizing: border-box;
    min-height: 52px;
    padding: 0 2rem;
    border: 0;
    border-radius: 999px;
    background: var(--color-gold);
    color: var(--brand-ink);
    font-family: var(--title-font);
    font-size: 1.15rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.25s ease;
}
.rc-contact-submit:hover {
    background: #fff;
    color: var(--brand-ink);
}
.rc-contact-submit:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}
.rc-contact-submit:disabled {
    opacity: 0.6;
    cursor: progress;
}
@media (max-width: 575px) {
    .rc-contact-form__actions .rc-contact-submit {
        width: 100%;
    }
}
.rc-contact-status {
    margin-top: 1.5rem;
    padding: 1rem 1.25rem;
    border: 1px solid rgb(255 214 159 / 45%);
    border-left-width: 3px;
    border-radius: 12px;
    background: rgb(37 43 35 / 55%);
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #fff;
}
.rc-contact-status:focus-visible {
    outline: 2px solid var(--color-gold);
    outline-offset: 2px;
}
.rc-contact-status strong {
    display: block;
    margin-bottom: 0.2rem;
    font-family: var(--title-font);
    font-size: 1.3rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.rc-contact-status--warn {
    border-color: var(--rc-contact-error);
}
.rc-contact-status--empty {
    height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    overflow: hidden;
}

/* ---- Location band ---- */
.rc-contact-location {
    padding: clamp(48px, 7vw, 96px) max(var(--rc-contact-gutter), env(safe-area-inset-right, 0px)) clamp(48px, 7vw, 96px)
        max(var(--rc-contact-gutter), env(safe-area-inset-left, 0px));
    background: var(--color-primary);
}
.rc-contact-location__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(28px, 4vw, 48px);
    align-items: center;
    max-width: 1440px;
    margin-inline: auto;
}
@media (min-width: 992px) {
    .rc-contact-location__inner {
        grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
        gap: clamp(48px, 6vw, 96px);
    }
}
.rc-contact-location .rc-contact-eyebrow {
    border-color: var(--color-gold);
}
.rc-contact-location__address {
    max-width: 34ch;
    margin: 0 0 1.75rem;
    font-size: 1.125rem;
    font-style: normal;
    line-height: 1.7;
    overflow-wrap: break-word;
    color: #fff;
}
.rc-contact-location__note {
    margin: 1rem 0 0;
    font-size: 0.875rem;
    line-height: 1.5;
    color: rgb(255 255 255 / 86%);
}
.rc-contact-location__figure {
    position: relative;
    box-sizing: border-box;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgb(255 214 159 / 32%);
    border-radius: 18px;
    aspect-ratio: 4 / 3;
    background: var(--home-shaded-olive, #252b23);
}
@media (min-width: 992px) {
    .rc-contact-location__figure {
        aspect-ratio: 5 / 4;
    }
}
.rc-contact-location__figure img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.rc-contact-location__map iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}
.rc-contact-location__facade {
    position: relative;
    width: 100%;
    height: 100%;
}
.rc-contact-location__facade-panel {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.5rem;
    text-align: center;
    background: rgb(37 43 35 / 62%);
}
.rc-contact-location__facade-panel p {
    margin: 0;
    font-size: 0.875rem;
    color: rgb(255 255 255 / 88%);
}

/* ---- Motion: a single quiet fade-up, and only when motion is allowed ---- */
@keyframes rc-contact-fade-up {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}
@media (prefers-reduced-motion: no-preference) {
    .rc-contact-details {
        animation: rc-contact-fade-up 0.7s cubic-bezier(0.22, 0.8, 0.3, 1) 0.12s both;
    }
    .rc-contact-panel {
        animation: rc-contact-fade-up 0.7s cubic-bezier(0.22, 0.8, 0.3, 1) 0.22s both;
    }
    .rc-contact-reveal[data-reveal="armed"] {
        opacity: 0;
        transform: translateY(18px);
    }
    .rc-contact-reveal[data-reveal="in"] {
        animation: rc-contact-fade-up 0.7s cubic-bezier(0.22, 0.8, 0.3, 1) both;
    }
}

/* ==========================================================================
   Phase 4.3: About page. Everything is namespaced rc-about-*, so it cannot
   reach the homepage, the Contact page or any template page.
   ========================================================================== */
.rc-about {
    --rc-about-gutter: clamp(20px, 5vw, 72px);
    --rc-about-hairline: rgb(255 214 159 / 22%);
    background: var(--theme-bg-color2);
}
.rc-about-container {
    width: 100%;
    max-width: 1440px;
    margin-inline: auto;
}

/* ---- Shared type ---- */
.rc-about-eyebrow {
    display: inline-block;
    margin: 0 0 1.25rem;
    padding: 0.4rem 1.4rem;
    border: 1px solid var(--color-gold);
    border-radius: 999px;
    font-family: var(--style-font);
    font-size: 1rem;
    line-height: 1.3;
    text-transform: uppercase;
    color: var(--color-gold);
}
.rc-about-heading {
    margin: 0 0 1.5rem;
    font-size: clamp(2.5rem, 1.3rem + 3.6vw, 4.5rem);
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    text-wrap: balance;
    overflow-wrap: anywhere;
    color: #fff;
}
.rc-about-heading--sm {
    margin-bottom: 1rem;
    font-size: clamp(2.25rem, 1.4rem + 2.6vw, 3.5rem);
}
.rc-about-body {
    max-width: 48ch;
    margin: 0 0 1.25rem;
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-color);
}
.rc-about :is(a, button):focus-visible {
    outline: 2px solid var(--color-gold);
    outline-offset: 3px;
    border-radius: 4px;
}

/* ---- Introduction ---- */
.rc-about-intro {
    padding: clamp(56px, 8vw, 120px) max(var(--rc-about-gutter), env(safe-area-inset-right, 0px)) clamp(56px, 8vw, 120px)
        max(var(--rc-about-gutter), env(safe-area-inset-left, 0px));
}
.rc-about-intro__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(36px, 6vw, 64px);
    align-items: center;
}
@media (min-width: 768px) {
    .rc-about-intro__grid {
        grid-template-columns: minmax(0, 1fr) clamp(280px, 40vw, 460px);
        gap: clamp(40px, 6vw, 112px);
    }
}
.rc-about-intro__detail {
    max-width: 48ch;
    margin: clamp(1.5rem, 3vw, 2.25rem) 0 0;
    padding: 1.25rem 0;
    border-top: 1px solid var(--rc-about-hairline);
    border-bottom: 1px solid var(--rc-about-hairline);
}
.rc-about-intro__detail dt {
    margin: 0 0 0.35rem;
    font-family: var(--title-font);
    font-size: 1.15rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-gold);
}
.rc-about-intro__detail dd {
    margin: 0;
}
.rc-about-intro__detail address {
    margin: 0;
    font-size: 1rem;
    font-style: normal;
    line-height: 1.65;
    color: #fff;
    overflow-wrap: break-word;
}
.rc-about-intro__figure {
    box-sizing: border-box;
    width: 100%;
    max-width: 460px;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--rc-about-hairline);
    border-radius: 18px;
    aspect-ratio: 4 / 5;
    background: var(--home-shaded-olive, #252b23);
}
@media (min-width: 768px) {
    .rc-about-intro__figure {
        justify-self: end;
    }
}
.rc-about-intro__figure img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---- Rating ---- */
.rc-about-rating {
    padding: clamp(48px, 7vw, 104px) max(var(--rc-about-gutter), env(safe-area-inset-right, 0px)) clamp(48px, 7vw, 104px)
        max(var(--rc-about-gutter), env(safe-area-inset-left, 0px));
    background: var(--color-primary);
}
.rc-about-rating__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(28px, 5vw, 48px);
    align-items: center;
}
@media (min-width: 768px) {
    .rc-about-rating__grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: clamp(40px, 6vw, 112px);
    }
    .rc-about-rating__score {
        padding-left: clamp(32px, 6vw, 112px);
        border-left: 1px solid rgb(255 255 255 / 28%);
    }
}
.rc-about-rating__text .rc-about-heading {
    margin-bottom: 0;
}
.rc-about-rating__figure {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    margin: 0;
    line-height: 0.9;
}
.rc-about-rating__number {
    font-family: var(--title-font);
    font-size: clamp(5.5rem, 3rem + 9vw, 10rem);
    line-height: 0.9;
    color: #fff;
}
.rc-about-rating__scale {
    font-family: var(--title-font);
    font-size: clamp(2rem, 1.2rem + 2.4vw, 3.25rem);
    line-height: 1;
    color: var(--color-gold);
}
.rc-about-rating__basis {
    margin: 0.75rem 0 0;
    font-family: var(--title-font);
    font-size: 1.35rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fff;
}
.rc-about-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-top: 1.25rem;
    color: #fff;
    text-decoration: underline;
    text-decoration-color: var(--color-gold);
    text-underline-offset: 4px;
}
.rc-about-link:hover {
    color: var(--color-gold);
}

/* ---- Closing call to action ---- */
.rc-about-cta {
    padding: clamp(56px, 8vw, 112px) max(var(--rc-about-gutter), env(safe-area-inset-right, 0px)) clamp(56px, 8vw, 112px)
        max(var(--rc-about-gutter), env(safe-area-inset-left, 0px));
    background: var(--home-shaded-olive, #252b23);
}
.rc-about-cta__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(28px, 4vw, 40px);
    align-items: center;
}
@media (min-width: 768px) {
    .rc-about-cta__grid {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: clamp(40px, 6vw, 96px);
    }
}
.rc-about-cta__text .rc-about-body {
    margin-bottom: 0;
}
.rc-about-cta__actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
}
@media (min-width: 768px) {
    .rc-about-cta__actions {
        align-items: flex-end;
        text-align: right;
    }
}
.rc-about-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    box-sizing: border-box;
    min-height: 52px;
    padding: 0 2rem;
    border-radius: 999px;
    background: var(--color-gold);
    color: var(--brand-ink);
    font-family: var(--title-font);
    font-size: 1.15rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color 0.25s ease;
}
.rc-about-button:hover {
    background: #fff;
    color: var(--brand-ink);
}
.rc-about .rc-about-button:focus-visible {
    outline-color: #fff;
}
@media (max-width: 575px) {
    .rc-about-cta__actions {
        align-items: stretch;
    }
}
.rc-about-cta__phone {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-color);
}
.rc-about-cta__phone a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding-inline: 0.25rem;
    color: #fff;
    font-size: 1.125rem;
    text-decoration: underline;
    text-decoration-color: var(--color-gold);
    text-underline-offset: 4px;
}
.rc-about-cta__phone a:hover {
    color: var(--color-gold);
}

/* ---- Motion: one quiet fade-up per block, and only when motion is allowed ---- */
@keyframes rc-about-fade-up {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}
@media (prefers-reduced-motion: no-preference) {
    .rc-about-intro__text {
        animation: rc-about-fade-up 0.7s cubic-bezier(0.22, 0.8, 0.3, 1) 0.12s both;
    }
    .rc-about-intro__figure {
        animation: rc-about-fade-up 0.7s cubic-bezier(0.22, 0.8, 0.3, 1) 0.22s both;
    }
    .rc-about-reveal[data-reveal="armed"] {
        opacity: 0;
        transform: translateY(18px);
    }
    .rc-about-reveal[data-reveal="in"] {
        animation: rc-about-fade-up 0.7s cubic-bezier(0.22, 0.8, 0.3, 1) both;
    }
}

/* ==========================================================================
   Phase 5.2: Blog listing — rc-blog-* namespace
   Mobile-first, same breakpoints as rc-about-* (767px, 991px, 575px).
   Color variables: --color-primary (olive #5B634F), --color-gold (#FFD69F),
   --brand-ink (dark olive text on gold), --text-color, --theme-bg-color2.
   ========================================================================== */

.rc-blog {
  --rc-blog-gutter: clamp(20px, 5vw, 72px);
  --rc-blog-radius: 12px;
  --rc-blog-olive: var(--color-primary, #5b634f);
  --rc-blog-gold: var(--color-gold, #ffd69f);
  --rc-blog-ink: var(--brand-ink, #2a2e25);
  --rc-blog-surface: color-mix(in srgb, var(--color-primary, #5b634f) 10%, var(--theme-bg-color2, #1e221a));
  background: var(--theme-bg-color2);
}

/* ---- Shared container ---- */
.rc-blog-container {
  width: 100%;
  max-width: calc(1280px + 2 * var(--rc-blog-gutter));
  margin-inline: auto;
  padding-inline: var(--rc-blog-gutter);
}

/* ---- Eyebrow label ---- */
.rc-blog-eyebrow {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  font-family: var(--text-font);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rc-blog-gold);
}

/* ---- Shared category chip ---- */
.rc-blog-chip {
  display: inline-block;
  padding: 0.25rem 0.9rem;
  border: 1px solid var(--rc-blog-olive);
  border-radius: 999px;
  font-size: 0.75rem;
  font-family: var(--text-font);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rc-blog-olive);
  background: transparent;
  line-height: 1.5;
}

/* ---- Meta separator ---- */
.rc-blog-meta-sep {
  margin-inline: 0.4rem;
  color: var(--rc-blog-gold);
}

/* ==========================================================================
   Intro section
   ========================================================================== */
.rc-blog-intro {
  padding-block: clamp(48px, 7vw, 88px) clamp(32px, 5vw, 60px);
  background: var(--theme-bg-color2);
}

.rc-blog-intro__heading {
  margin: 0 0 1.25rem;
  font-family: var(--title-font);
  font-size: clamp(2.4rem, 1.4rem + 3vw, 4rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #fff;
  text-wrap: balance;
}

.rc-blog-intro__heading::after {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  margin-top: clamp(0.75rem, 1.4vw, 1rem);
  background: var(--rc-blog-gold);
}

.rc-blog-intro__body {
  max-width: 60ch;
  margin: 0;
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.1rem);
  line-height: 1.72;
  color: var(--text-color);
}

/* ==========================================================================
   Filter bar
   ========================================================================== */
.rc-blog-filter {
  padding-block: clamp(16px, 2vw, 24px) clamp(24px, 3vw, 40px);
  border-bottom: 1px solid rgb(255 214 159 / 15%);
}

.rc-blog-filter__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rc-blog-filter__chip {
  padding: 0.4rem 1.1rem;
  border: 1px solid var(--rc-blog-olive);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-family: var(--text-font);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  /* Minimum 44px touch target */
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.rc-blog-filter__chip:hover {
  background: var(--rc-blog-gold);
  border-color: var(--rc-blog-gold);
  color: var(--rc-blog-ink);
}

.rc-blog-filter__chip--active {
  background: var(--rc-blog-gold);
  border-color: var(--rc-blog-gold);
  color: var(--rc-blog-ink);
}

.rc-blog-filter__chip:focus-visible {
  outline: 2px solid var(--rc-blog-gold);
  outline-offset: 3px;
  border-radius: 999px;
}

/* ==========================================================================
   Featured article card
   ========================================================================== */
.rc-blog-featured {
  padding-block: clamp(40px, 6vw, 72px);
  background: var(--rc-blog-surface);
  border-bottom: 1px solid rgb(255 214 159 / 12%);
}

.rc-blog-featured__card {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  overflow: hidden;
  border-radius: var(--rc-blog-radius);
}

@media (min-width: 768px) {
  .rc-blog-featured__card {
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
  }
}

.rc-blog-featured__image-wrap {
  overflow: hidden;
  border-radius: var(--rc-blog-radius);
  line-height: 0;
  background: var(--rc-blog-olive);
}

.rc-blog-featured__image-wrap img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

@media (min-width: 768px) {
  .rc-blog-featured__image-wrap img {
    aspect-ratio: 3 / 2;
  }
}

.rc-blog-featured__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.rc-blog-featured__title {
  margin: 0;
  font-family: var(--title-font);
  font-size: clamp(1.9rem, 1.3rem + 2vw, 3rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #fff;
  text-wrap: balance;
}

.rc-blog-featured__title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.rc-blog-featured__title a:hover {
  color: var(--rc-blog-gold);
}

.rc-blog-featured__title a:focus-visible {
  outline: 2px solid var(--rc-blog-gold);
  outline-offset: 3px;
  border-radius: 2px;
}

.rc-blog-featured__excerpt {
  margin: 0;
  font-size: clamp(0.95rem, 0.9rem + 0.2vw, 1.05rem);
  line-height: 1.7;
  color: var(--text-color);
  max-width: 52ch;
}

.rc-blog-featured__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem;
  font-size: 0.875rem;
  font-family: var(--text-font);
  letter-spacing: 0.04em;
  color: rgb(255 255 255 / 65%);
}

.rc-blog-featured__link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.5rem;
  padding: 0.8rem 1.6rem;
  border: 1px solid var(--rc-blog-gold);
  border-radius: 999px;
  font-family: var(--title-font);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rc-blog-gold);
  text-decoration: none;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.rc-blog-featured__link:hover {
  background: var(--rc-blog-gold);
  color: var(--rc-blog-ink);
}

.rc-blog-featured__link:focus-visible {
  outline: 2px solid var(--rc-blog-gold);
  outline-offset: 3px;
}

/* ==========================================================================
   Article grid
   ========================================================================== */
.rc-blog-grid-section {
  padding-block: clamp(40px, 6vw, 72px);
  background: var(--theme-bg-color2);
}

.rc-blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 768px) {
  .rc-blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ==========================================================================
   Article card
   ========================================================================== */
.rc-blog-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--rc-blog-radius);
  background: var(--rc-blog-surface);
  border: 1px solid rgb(255 214 159 / 10%);
  transition: border-color 0.25s ease;
}

.rc-blog-card:hover {
  border-color: rgb(255 214 159 / 28%);
}

.rc-blog-card__image-wrap {
  overflow: hidden;
  line-height: 0;
  background: var(--rc-blog-olive);
}

.rc-blog-card__image-wrap img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.rc-blog-card__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  padding: clamp(1.25rem, 2vw, 1.75rem);
  flex: 1;
}

.rc-blog-card__title {
  margin: 0;
  font-family: var(--title-font);
  font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.75rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #fff;
}

.rc-blog-card__title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.rc-blog-card__title a:hover {
  color: var(--rc-blog-gold);
}

.rc-blog-card__title a:focus-visible {
  outline: 2px solid var(--rc-blog-gold);
  outline-offset: 3px;
  border-radius: 2px;
}

.rc-blog-card__excerpt {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-color);
  /* Clamp excerpt to 3 lines */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.rc-blog-card__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-top: auto;
  font-size: 0.8125rem;
  font-family: var(--text-font);
  letter-spacing: 0.04em;
  color: rgb(255 255 255 / 55%);
}

/* ==========================================================================
   Empty state
   ========================================================================== */
.rc-blog-empty {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 200px;
  text-align: center;
  padding-block: clamp(48px, 8vw, 96px);
}

.rc-blog-empty p {
  margin: 0;
  font-size: 1.1rem;
  color: rgb(255 255 255 / 55%);
  font-family: var(--text-font);
  letter-spacing: 0.04em;
}

/* ==========================================================================
   Motion: image scale on card hover, fade-up for intro
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .rc-blog-card__image-wrap img {
    transition: transform 0.65s cubic-bezier(0.22, 0.61, 0.36, 1);
  }

  .rc-blog-card:hover .rc-blog-card__image-wrap img {
    transform: scale(1.04);
  }

  .rc-blog-featured__image-wrap img {
    transition: transform 0.65s cubic-bezier(0.22, 0.61, 0.36, 1);
  }

  .rc-blog-featured__card:hover .rc-blog-featured__image-wrap img {
    transform: scale(1.03);
  }
}

/* ==========================================================================
   rc-article — Blog Article Details Page
   ========================================================================== */

/* Custom properties scoped to the article page wrapper */
.rc-article {
  --rc-article-primary: #5B634F;
  --rc-article-gold: #FFD69F;
  --rc-article-ink: #24291F;
  --rc-article-text: rgb(255 255 255 / 85%);
  --rc-article-muted: rgb(255 255 255 / 55%);
  --rc-article-surface: #1e2219;
  --rc-article-rule: rgb(255 255 255 / 10%);
  --rc-article-body-size: clamp(1rem, 1.5vw, 1.125rem);
  --rc-article-h2-size: clamp(1.375rem, 2.5vw, 1.75rem);
  --rc-article-h3-size: clamp(1.125rem, 2vw, 1.375rem);
  --rc-article-h4-size: clamp(1rem, 1.5vw, 1.125rem);
  display: block;
}

/* --------------------------------------------------------------------------
   Containers
   -------------------------------------------------------------------------- */

.rc-article__container {
  max-width: 800px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
  padding-block-end: clamp(3rem, 6vw, 5rem);
}

.rc-article__wide-container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
}

/* --------------------------------------------------------------------------
   Back to Blog navigation
   -------------------------------------------------------------------------- */

.rc-article__back {
  padding-block: clamp(1.5rem, 3vw, 2.5rem) 0;
}

.rc-article__back a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--text-font);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rc-article-gold);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.rc-article__back a:hover {
  opacity: 0.75;
}

.rc-article__back a:focus-visible {
  outline: 2px solid var(--rc-article-gold);
  outline-offset: 3px;
  border-radius: 2px;
}

/* --------------------------------------------------------------------------
   Article header — meta row
   -------------------------------------------------------------------------- */

.rc-article__header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  padding-block: clamp(1.25rem, 2.5vw, 2rem);
  border-bottom: 1px solid var(--rc-article-rule);
  font-family: var(--text-font);
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  color: var(--rc-article-muted);
}

.rc-article__date,
.rc-article__reading-time,
.rc-article__author {
  color: var(--rc-article-muted);
}

/* --------------------------------------------------------------------------
   Featured image
   -------------------------------------------------------------------------- */

.rc-article__featured-image {
  margin-block: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: 4px;
  overflow: hidden;
  line-height: 0;
}

.rc-article__featured-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center center; /* overridden inline via style prop */
}

/* --------------------------------------------------------------------------
   Article body — editorial prose
   -------------------------------------------------------------------------- */

.rc-article__body {
  padding-block-start: clamp(1.5rem, 3vw, 2.5rem);
}

.rc-article__body p {
  margin: 0 0 1.5em;
  font-family: var(--text-font);
  font-size: var(--rc-article-body-size);
  line-height: 1.8;
  color: var(--rc-article-text);
}

.rc-article__body p:last-child {
  margin-bottom: 0;
}

.rc-article__body h2 {
  margin: 2.5em 0 0.75em;
  font-family: var(--title-font);
  font-size: var(--rc-article-h2-size);
  font-weight: 600;
  line-height: 1.25;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.rc-article__body h3 {
  margin: 2em 0 0.65em;
  font-family: var(--title-font);
  font-size: var(--rc-article-h3-size);
  font-weight: 600;
  line-height: 1.3;
  color: #ffffff;
  letter-spacing: -0.005em;
}

.rc-article__body h4 {
  margin: 1.75em 0 0.5em;
  font-family: var(--title-font);
  font-size: var(--rc-article-h4-size);
  font-weight: 600;
  line-height: 1.4;
  color: #ffffff;
}

.rc-article__body h2:first-child,
.rc-article__body h3:first-child,
.rc-article__body h4:first-child {
  margin-top: 0;
}

/* Lists */
.rc-article__body ul,
.rc-article__body ol {
  margin: 0 0 1.5em;
  padding-inline-start: 1.75em;
  font-family: var(--text-font);
  font-size: var(--rc-article-body-size);
  line-height: 1.8;
  color: var(--rc-article-text);
}

.rc-article__body ul {
  list-style-type: disc;
}

.rc-article__body ol {
  list-style-type: decimal;
}

.rc-article__body li {
  margin-bottom: 0.6em;
  padding-inline-start: 0.25em;
}

.rc-article__body li:last-child {
  margin-bottom: 0;
}

/* Inline images */
.rc-article__body figure {
  margin: 2em 0;
  line-height: 0;
}

.rc-article__body figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.rc-article__body figcaption {
  display: block;
  margin-top: 0.75rem;
  font-family: var(--text-font);
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--rc-article-muted);
  letter-spacing: 0.03em;
  font-style: italic;
}

/* --------------------------------------------------------------------------
   Related articles section
   -------------------------------------------------------------------------- */

.rc-article__related {
  padding-block: clamp(3rem, 6vw, 5rem);
  border-top: 1px solid var(--rc-article-rule);
}

.rc-article__related-heading {
  margin: 0 0 clamp(1.5rem, 3vw, 2.5rem);
  font-family: var(--title-font);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: #ffffff;
  text-align: center;
}

/* 3-column grid — reuses rc-blog-grid cards, sets column count here */
.rc-article__related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2.5vw, 1.75rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (max-width: 1023px) {
  .rc-article__related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 599px) {
  .rc-article__related-grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   Plan your journey CTA
   -------------------------------------------------------------------------- */

.rc-article-cta {
  padding-block: clamp(3rem, 6vw, 5rem);
  background-color: var(--rc-article-surface);
  border-top: 1px solid var(--rc-article-rule);
  text-align: center;
}

.rc-article-cta__inner {
  max-width: 600px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
}

.rc-article-cta__heading {
  margin: 0 0 1rem;
  font-family: var(--title-font);
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: #ffffff;
  line-height: 1.2;
}

.rc-article-cta__body {
  margin: 0 0 2rem;
  font-family: var(--text-font);
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.7;
  color: var(--rc-article-muted);
}

.rc-article-cta__btn {
  display: inline-block;
  padding: 0.875rem 2.25rem;
  font-family: var(--text-font);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--rc-article-ink);
  background-color: var(--rc-article-gold);
  border-radius: 2px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.rc-article-cta__btn:hover {
  background-color: #ffffff;
  color: var(--rc-article-ink);
}

.rc-article-cta__btn:focus-visible {
  outline: 2px solid var(--rc-article-gold);
  outline-offset: 3px;
  border-radius: 2px;
}

/* --------------------------------------------------------------------------
   RevealOnView data-reveal integration
   -------------------------------------------------------------------------- */

.rc-article [data-reveal="armed"] {
  opacity: 0;
  transform: translateY(24px);
}

.rc-article [data-reveal="in"] {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .rc-article [data-reveal="armed"] {
    opacity: 1;
    transform: none;
  }

  .rc-article [data-reveal="in"] {
    transition: none;
  }

  .rc-article__back a,
  .rc-article-cta__btn {
    transition: none;
  }
}

/* ==========================================================================
   Phase 5.3.1 — Typography Refinement & Responsive Readability
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Cormorant Garamond — editorial serif already in /public/assets/fonts/.
      Used for article body headings only.
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}

/* Register the new role variable without overwriting --title-font or --text-font. */
:root {
  --heading-font: "Cormorant Garamond", Georgia, "Times New Roman", serif;
}

/* --------------------------------------------------------------------------
   2. Navbar links
   BEFORE: font-family: var(--title-font) [Bebas Neue]; font-size: 18px;
           letter-spacing: 2px; font-weight: 400
   AFTER:  font-family: var(--text-font) [Inter]; font-size: 14px;
           letter-spacing: 0.1em; font-weight: 500; text-transform: uppercase
   Bebas Neue is a full-caps display face; Inter at a medium weight reads
   more clearly at the tight nav spacing and matches the premium editorial
   tone better than a heavyweight condensed display font.
   -------------------------------------------------------------------------- */
.header-menu ul li a {
  font-family: var(--text-font);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Keep the sticky-header override weight consistent. */
.sticky .header-menu ul li a {
  font-family: var(--text-font);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
}

/* Submenu items can stay at their existing font-size; only override family/tracking. */
.header-menu ul .sub_menu li a,
.header-menu ul .maga_sub_menu li a {
  font-family: var(--text-font);
  font-size: 15px;
  letter-spacing: 0.04em;
}

/* --------------------------------------------------------------------------
   3. Article body headings (h2 / h3 / h4 inside .rc-article__body)
   BEFORE: font-family: var(--title-font) [Bebas Neue] — a fully condensed,
           all-caps-only display face. No lowercase letterforms exist.
           This made every sub-heading render as ALL CAPS with no descenders,
           which is visually harsh and hard to scan in long-form prose.
   AFTER:  font-family: var(--heading-font) [Cormorant Garamond] — a premium
           serif editorial face already bundled in /public/assets/fonts/.
           Weights adjusted for a clear visual hierarchy.
   -------------------------------------------------------------------------- */
.rc-article__body h2 {
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: var(--rc-article-h2-size);     /* clamp(1.375rem, 2.5vw, 1.75rem) — unchanged */
  line-height: 1.25;
  letter-spacing: 0.01em;
  text-transform: none;
}

.rc-article__body h3 {
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: var(--rc-article-h3-size);     /* clamp(1.125rem, 2vw, 1.375rem) — unchanged */
  line-height: 1.3;
  letter-spacing: 0.01em;
  text-transform: none;
}

.rc-article__body h4 {
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: var(--rc-article-h4-size);     /* clamp(1rem, 1.5vw, 1.125rem) — unchanged */
  line-height: 1.4;
  letter-spacing: 0.01em;
  text-transform: none;
}

/* --------------------------------------------------------------------------
   4. Responsive typography — narrow viewport corrections (320–430px)
   -------------------------------------------------------------------------- */

/* Inner-hero title: at 320px the clamp minimum is 1.75rem — good, no change.
   At 390px it reaches ~2.6rem — also fine. No adjustment needed.             */

/* Blog intro heading: clamp(2.4rem, …, 4rem).
   At 320px: 2.4rem = 38.4px. Acceptable; leave the clamp alone.             */

/* Blog featured title: clamp(1.9rem, …, 3rem).
   At 320px: 1.9rem = 30.4px. Fine for a card title.                        */

/* Section titles (.section-title h1): responsive.css already handles these
   down to font-size: 35px at ≤576px. No additional changes needed.          */

/* Navbar at ≤430px — the meanmenu mobile menu is in use at that width,
   so desktop nav rules don't apply. No change needed.                       */

/* Contact panel heading and blog intro heading: balance text-wrap where missing. */
.rc-contact-panel__title,
.rc-contact-heading,
.rc-blog-intro__heading {
  text-wrap: balance;
}

/* Blog card titles on the smallest viewports. */
.rc-blog-card__title {
  text-wrap: balance;
}

/* Article CTA heading. */
.rc-article-cta__heading {
  text-wrap: balance;
}

/* Related articles heading. */
.rc-article__related-heading {
  text-wrap: balance;
}


/* ==========================================================================
   Phase 5.3.2 � Article Heading Hierarchy & Spacing
   ========================================================================== */

/* --------------------------------------------------------------------------
   Custom size tokens � override the Phase 5.3 defaults.
   H2 needed more visual weight; H3/H4 needed clearer step-down.
   -------------------------------------------------------------------------- */
.rc-article {
  --rc-article-h2-size: clamp(1.5rem, 2.8vw, 2rem);
  --rc-article-h3-size: clamp(1.25rem, 2.2vw, 1.625rem);
  --rc-article-h4-size: clamp(1.0625rem, 1.6vw, 1.25rem);
}

/* --------------------------------------------------------------------------
   H2 � major section opener
   BEFORE: margin 2.5em top / 0.75em bottom; font-weight 600 ? 500 (5.3.1);
           size clamp(1.375rem, 2.5vw, 1.75rem)
   AFTER:  margin 3.25rem top / 1rem bottom; weight 400 (Cormorant reads
           lighter at this size); size clamp(1.5rem, 2.8vw, 2rem);
           subtle gold left border to anchor the new section visually.
   -------------------------------------------------------------------------- */
.rc-article__body h2 {
  margin: clamp(2.5rem, 5vw, 3.25rem) 0 1rem;
  font-size: var(--rc-article-h2-size);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.015em;
  padding-left: 0.875rem;
  border-left: 2px solid var(--rc-article-gold);
}

/* --------------------------------------------------------------------------
   H3 � subsection
   BEFORE: margin 2em top / 0.65em bottom; weight 600 ? 500 (5.3.1);
           size clamp(1.125rem, 2vw, 1.375rem)
   AFTER:  margin 2.25rem top / 0.75rem bottom; weight 500;
           size clamp(1.25rem, 2.2vw, 1.625rem); no border (subordinate to H2)
   -------------------------------------------------------------------------- */
.rc-article__body h3 {
  margin: clamp(2rem, 4vw, 2.25rem) 0 0.75rem;
  font-size: var(--rc-article-h3-size);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0.01em;
}

/* --------------------------------------------------------------------------
   H4 � minor heading
   BEFORE: margin 1.75em top / 0.5em bottom; weight 600 ? 500 (5.3.1);
           size clamp(1rem, 1.5vw, 1.125rem) � nearly identical to body text
   AFTER:  margin 1.75rem top / 0.5rem bottom; weight 500;
           size clamp(1.0625rem, 1.6vw, 1.25rem); open tracking to distinguish
           from body copy.
   -------------------------------------------------------------------------- */
.rc-article__body h4 {
  margin: 1.75rem 0 0.5rem;
  font-size: var(--rc-article-h4-size);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.03em;
  color: rgb(255 255 255 / 90%);
}

/* --------------------------------------------------------------------------
   Paragraph spacing � ensure paragraphs never touch headings from below.
   The existing 1.5em rule is correct at desktop; add a rem floor so it
   doesn't collapse too far on the smallest viewports.
   -------------------------------------------------------------------------- */
.rc-article__body p {
  margin-bottom: clamp(1.1rem, 1.5em, 1.75rem);
}

/* --------------------------------------------------------------------------
   First heading with no preceding sibling gets no top margin so it doesn't
   push away from the featured image unnecessarily.
   -------------------------------------------------------------------------- */
.rc-article__body > :is(h2, h3, h4):first-child {
  margin-top: 0;
}

/* --------------------------------------------------------------------------
   Related articles heading � editorial, not competing with H2.
   Use Cormorant Garamond (--heading-font set by Phase 5.3.1) at weight 400.
   -------------------------------------------------------------------------- */
.rc-article__related-heading {
  font-family: var(--heading-font);
  font-weight: 400;
  letter-spacing: 0.02em;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.2;
}

/* --------------------------------------------------------------------------
   CTA heading � warm and editorial, Cormorant Garamond weight 400.
   -------------------------------------------------------------------------- */
.rc-article-cta__heading {
  font-family: var(--heading-font);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  letter-spacing: 0.01em;
  line-height: 1.2;
}

/* --------------------------------------------------------------------------
   Responsive � narrow viewports (320�430px)
   The clamp() values handle most cases. These rules add extra breathing room
   at the bottom of the scale where headings could otherwise feel tight.
   -------------------------------------------------------------------------- */
@media (max-width: 430px) {
  .rc-article__body h2 {
    padding-left: 0.75rem;
  }
  .rc-article__body h2,
  .rc-article__body h3,
  .rc-article__body h4 {
    overflow-wrap: break-word;
  }
}

/* --------------------------------------------------------------------------
   Reduced motion � no changes needed (no transitions on headings).
   -------------------------------------------------------------------------- */

/* ==========================================================================
   Phase 5.3.3 — Related Articles & CTA Heading Hierarchy
   ========================================================================== */

/* --------------------------------------------------------------------------
   More to Explore heading — editorial section heading, distinct from article H2.
   BEFORE: font-size clamp(1.5rem, 2.5vw, 2rem); font-weight 400; no accent.
           Visually indistinguishable from article H2 at similar size.
   AFTER:  font-size clamp(1.75rem, 3vw, 2.5rem) — step above article H2.
           margin-bottom increased for breathing room before the cards.
           A short centred gold rule (::after) provides one minimal accent
           without competing with the cards below.
   -------------------------------------------------------------------------- */
.rc-article__related-heading {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin: 0 0 clamp(2rem, 3.5vw, 3rem);
  padding-bottom: clamp(0.875rem, 1.5vw, 1.25rem);
  position: relative;
}

.rc-article__related-heading::after {
  content: "";
  display: block;
  width: 2.5rem;
  height: 1px;
  background-color: var(--rc-article-gold);
  margin: clamp(0.625rem, 1vw, 0.875rem) auto 0;
}

/* --------------------------------------------------------------------------
   Related section top padding — extra breathing room after article body.
   BEFORE: padding-block clamp(3rem, 6vw, 5rem) — symmetric.
   AFTER:  padding-top clamp(4rem, 7vw, 6rem) — slightly more space at top
           to mark the visual transition from article content to related cards.
   -------------------------------------------------------------------------- */
.rc-article__related {
  padding-top: clamp(4rem, 7vw, 6rem);
}

/* --------------------------------------------------------------------------
   CTA heading — warmer and more prominent than the related heading.
   BEFORE: font-size clamp(1.5rem, 2.5vw, 2.25rem); font-style normal;
           margin 0 0 1rem. Same personality as the related heading.
   AFTER:  font-size clamp(1.75rem, 3.2vw, 2.75rem) — largest section heading,
           anchors the conclusion.
           font-style italic — adds warmth and invitation; distinguishes the CTA
           voice from all upright article headings.
           margin-bottom increased for comfortable rhythm before body text.
   -------------------------------------------------------------------------- */
.rc-article-cta__heading {
  font-size: clamp(1.75rem, 3.2vw, 2.75rem);
  font-style: italic;
  margin: 0 0 clamp(1rem, 1.5vw, 1.5rem);
  line-height: 1.15;
}

/* --------------------------------------------------------------------------
   Responsive — narrow viewports (320–430px)
   -------------------------------------------------------------------------- */
@media (max-width: 430px) {
  .rc-article__related-heading {
    overflow-wrap: break-word;
  }
  .rc-article-cta__heading {
    overflow-wrap: break-word;
  }
}

/* ==========================================================================
   Phase 6.0 additions — append only, never modify rules above this block.
   ========================================================================== */

/* Preloader fade-out: smooth exit before React removes the node. */
.preloader--out {
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}
/* CSS-only auto-dismiss: fades the preloader out after ~4 s with no JS needed.
   pointer-events:none is set on the BASE .preloader rule (in style.css it is not
   set, defaulting to auto). We override it here to none unconditionally so the
   full-screen z-index:999999 overlay NEVER intercepts any touch or click event —
   not while loading, not after fading out, not before React removes the node.
   The spinner is purely visual; there is no reason for it to ever be interactive. */
.preloader {
    pointer-events: none !important;
}
@keyframes preloader-auto-hide {
    0%,  87% { opacity: 1; }
    100%      { opacity: 0; }
}
.preloader:not(.preloader--out) {
    animation: preloader-auto-hide 4.6s linear 1 forwards;
}

/* Homepage footer copyright: subtle line above the brand name animation. */
.rc-footer-copyright {
    margin: 0 0 0.75rem;
    font-family: var(--text-font);
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgb(255 255 255 / 45%);
}

/* ==========================================================================
   Phase 6.0 - Homepage hero title mobile overflow fix
   Title: explicit <br> in JSX splits "Where Every Journey" / "Becomes Royal".
   Lead: max-width:32rem base rule resolves to ~512px; override to 100%.
   ========================================================================== */
@media (max-width: 767px) {
    .rc-hero .auto-container {
        min-width: 0;
        width: 100%;
    }
    .rc-hero__title {
        font-size: clamp(1.5rem, 8vw, 3.4rem) !important;
        width: 100% !important;
        max-width: 100% !important;
        white-space: normal !important;
        text-wrap: wrap !important;
    }
    .rc-hero__title-br {
        display: block;
    }
    .rc-hero__lead {
        max-width: 100% !important;
        overflow-wrap: break-word;
        word-break: break-word;
        white-space: normal;
    }
}
