/* Courtesywide — Tour card action fix + tablet layout pass + premium utility top bar.
   Loaded last so these are deliberate public-facing overrides. */

/* ---------------------------------------------------------------
   PREMIUM TOP BAR
   --------------------------------------------------------------- */
.site-topbar{
    position:relative;
    z-index:1001;
    width:100%;
    border-bottom:1px solid rgba(255,255,255,.1);
    background:var(--navy,#0f2742);
    color:#fff;
}
.site-topbar-inner{
    min-height:38px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:22px;
}
.site-topbar-contact,
.site-topbar-meta{
    min-width:0;
    display:flex;
    align-items:center;
    gap:20px;
}
.site-topbar a,
.site-topbar span{
    min-width:0;
}
.site-topbar a,
.site-topbar-contact>span,
.site-topbar-meta>span{
    display:inline-flex;
    align-items:center;
    gap:7px;
    color:rgba(255,255,255,.9);
    font-size:11px;
    font-weight:650;
    line-height:1.2;
    white-space:nowrap;
}
.site-topbar a{transition:color .18s ease,opacity .18s ease}
.site-topbar a:hover{color:#fff}
.site-topbar svg{
    width:14px;
    height:14px;
    flex:0 0 14px;
    color:var(--primary);
    stroke-width:2;
}
.site-topbar .topbar-whatsapp{
    padding:6px 10px;
    border:1px solid rgba(255,255,255,.18);
    border-radius:999px;
    background:rgba(255,255,255,.06);
    font-weight:800;
}
.site-topbar .topbar-whatsapp:hover{background:rgba(255,255,255,.12)}
.site-topbar .topbar-whatsapp svg{color:#fff}
.site-topbar .topbar-hours{color:rgba(255,255,255,.72)}

/* Toasts should sit below the utility bar + main header on first load. */
.site-toast{top:132px}

/* ---------------------------------------------------------------
   TOUR / RELATED CARD ACTIONS
   Keep action wording on one line and give prices the flexible area.
   --------------------------------------------------------------- */
.multi-price-footer,
.related-price-footer{
    gap:12px;
}
.multi-price-footer>.price-block,
.related-price-footer>div:first-child{
    min-width:0;
    flex:1 1 auto;
}
.multi-price-footer .btn,
.related-price-footer .btn{
    flex:0 0 auto;
    min-width:112px;
    padding:11px 14px;
    white-space:nowrap;
    word-break:normal;
    overflow-wrap:normal;
    line-height:1.15;
}
.multi-price-footer .btn svg,
.related-price-footer .btn svg{
    flex:0 0 16px;
}

/* Keep cards balanced even when titles/pricing contain different amounts of text. */
.card-grid>.product-card,
.catalog-grid>.catalog-card{
    min-width:0;
    height:100%;
    display:flex;
    flex-direction:column;
}
.card-grid>.product-card>.card-body,
.catalog-grid>.catalog-card>.catalog-card-body{
    min-width:0;
    flex:1 1 auto;
    display:flex;
    flex-direction:column;
}
.related-price-footer,
.multi-price-footer{
    margin-top:auto;
}

/* ---------------------------------------------------------------
   TABLET LAYOUT
   Two readable cards instead of squeezing desktop card widths.
   --------------------------------------------------------------- */
@media (max-width:1180px){
    .site-topbar-inner{min-height:36px}
    .site-topbar-contact,.site-topbar-meta{gap:14px}
    .topbar-office{display:none!important}
    .site-toast{top:116px}

    .card-grid,
    .catalog-grid{
        grid-template-columns:repeat(2,minmax(0,1fr))!important;
        gap:20px;
    }

    .card-grid>.product-card,
    .catalog-grid>.catalog-card{
        width:100%;
    }

    .section-heading,
    .catalog-toolbar{
        gap:22px;
    }

    .journey-link-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media (max-width:980px){
    .experience-type-grid{
        grid-template-columns:repeat(2,minmax(0,1fr))!important;
    }

    .experience-type-card{
        min-height:0;
    }

    .experience-type-card p{
        min-height:0;
    }

    .solid-feature-grid.five-col{
        grid-template-columns:repeat(2,minmax(0,1fr))!important;
    }

    .catalog-toolbar,
    .section-heading{
        align-items:flex-start;
    }

    .catalog-filter{
        max-width:100%;
        justify-content:flex-start;
    }
}

@media (max-width:860px){
    .topbar-email,
    .topbar-tagline,
    .topbar-hours:not(.topbar-tagline){
        display:none!important;
    }

    .site-topbar-inner{
        justify-content:space-between;
    }

    .site-topbar-contact,
    .site-topbar-meta{
        flex:0 1 auto;
    }
}

/* ---------------------------------------------------------------
   PHONE
   Preserve the existing one-card flow and make actions full-width.
   --------------------------------------------------------------- */
@media (max-width:700px){
    .site-topbar-inner{
        min-height:34px;
        gap:10px;
    }

    .site-topbar-contact,
    .site-topbar-meta{
        gap:8px;
    }

    .site-topbar a,
    .site-topbar-contact>span,
    .site-topbar-meta>span{
        font-size:10px;
    }

    .site-topbar .topbar-whatsapp{
        padding:5px 8px;
    }

    .site-toast{top:104px}

    .card-grid,
    .catalog-grid,
    .experience-type-grid,
    .journey-link-grid,
    .solid-feature-grid.five-col{
        grid-template-columns:1fr!important;
    }

    .related-price-footer,
    .multi-price-footer{
        width:100%;
        align-items:stretch!important;
        flex-direction:column;
        gap:12px;
    }

    .related-price-footer .btn,
    .multi-price-footer .btn{
        width:100%;
        min-width:0;
    }
}

@media (max-width:430px){
    .site-topbar .topbar-phone span{
        max-width:145px;
        overflow:hidden;
        text-overflow:ellipsis;
    }
}

/* Final catalogue breakpoint rules: three columns at the desktop-menu break,
   two on tablets, and one on phones. */
@media (min-width:901px) and (max-width:1180px){
    .card-grid,
    .catalog-grid,
    .service-catalog-grid,
    .blog-grid,
    .editorial-grid,
    .destination-catalog-grid,
    .park-related-grid,
    .car-service-grid,
    .car-hire-fleet .service-catalog-grid{
        grid-template-columns:repeat(3,minmax(0,1fr))!important;
    }
}
@media (min-width:621px) and (max-width:900px){
    .card-grid,
    .catalog-grid,
    .service-catalog-grid,
    .blog-grid,
    .editorial-grid,
    .destination-catalog-grid,
    .park-related-grid,
    .car-service-grid,
    .car-hire-fleet .service-catalog-grid{
        grid-template-columns:repeat(2,minmax(0,1fr))!important;
    }
}
@media (max-width:620px){
    .card-grid,
    .catalog-grid,
    .service-catalog-grid,
    .blog-grid,
    .editorial-grid,
    .destination-catalog-grid,
    .park-related-grid,
    .car-service-grid,
    .car-hire-fleet .service-catalog-grid{
        grid-template-columns:1fr!important;
    }
}

/* ---------------------------------------------------------------
   FINAL HEADER DROPDOWN + BUTTON + WHATSAPP CORRECTIONS
   Dropdown labels are controls, not destination links. The actual
   collection links remain inside each mega menu (Browse all / All...).
   --------------------------------------------------------------- */
.desktop-nav button.nav-mega-trigger{
    appearance:none;
    -webkit-appearance:none;
    border:0;
    background:transparent;
    color:#435267;
    font-family:inherit;
    font-weight:600;
    text-align:left;
    cursor:pointer;
    margin:0;
}
.desktop-nav button.nav-mega-trigger:hover,
.desktop-nav button.nav-mega-trigger:focus-visible,
.nav-mega.active>button.nav-mega-trigger{
    color:var(--primary);
}

/* Tour and hotel catalogue action labels/icons always remain white. */
.catalog-grid .btn.btn-primary,
.catalog-empty .btn.btn-primary,
.related-price-footer .btn.btn-primary,
.multi-price-footer .btn.btn-primary{
    color:#fff!important;
}
.catalog-grid .btn.btn-primary svg,
.catalog-empty .btn.btn-primary svg,
.related-price-footer .btn.btn-primary svg,
.multi-price-footer .btn.btn-primary svg{
    color:#fff!important;
    stroke:#fff!important;
}

/* Official WhatsApp brand glyph used consistently on public WhatsApp actions. */
.whatsapp-brand-icon{
    display:inline-block;
    width:1em;
    height:1em;
    flex:0 0 auto;
    fill:currentColor;
    stroke:none!important;
}
.site-topbar .topbar-whatsapp .whatsapp-brand-icon{
    width:14px;
    height:14px;
    color:#fff;
}
.floating-whatsapp .whatsapp-brand-icon{
    width:21px;
    height:21px;
    color:#fff;
}
.booking-whatsapp .whatsapp-brand-icon,
.contact-hero-card .btn .whatsapp-brand-icon{
    width:17px;
    height:17px;
}
.nav-mega.is-open>.mega-menu{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
    pointer-events:auto;
}
.nav-mega.is-open>.nav-mega-trigger{
    color:var(--primary);
}
.nav-mega.is-open>.nav-mega-trigger svg{
    transform:rotate(180deg);
}
.desktop-nav button.nav-mega-trigger{
    padding-top:0;
    padding-bottom:0;
}

/* Mega-menu feature CTAs: keep label and icon legible on secondary/brown buttons. */
.desktop-nav .mega-menu-feature .btn.btn-secondary,
.desktop-nav .mega-menu-feature .btn.btn-secondary:visited,
.desktop-nav .mega-menu-feature .btn.btn-secondary:hover,
.desktop-nav .mega-menu-feature .btn.btn-secondary:focus,
.desktop-nav .mega-menu-feature .btn.btn-secondary *,
.desktop-nav .mega-menu-feature .btn.btn-secondary svg {
    color:#fff !important;
}
.desktop-nav .mega-menu-feature .btn.btn-secondary svg {
    stroke:currentColor !important;
}



/* ===============================================================
   TOURS PAGE — SIDEBAR FILTER LAYOUT
   Move the large travel-style cards into a compact sticky sidebar.
   =============================================================== */

.tour-catalog-with-sidebar {
    padding-top: 62px;
}

.tour-catalog-layout {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.tour-filter-sidebar {
    position: sticky;
    top: 118px;
}

.tour-filter-panel {
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(15, 39, 66, 0.06);
}

.tour-filter-panel-head h2 {
    margin: 6px 0 8px;
    color: var(--navy);
    font-family: var(--site-font, "Kumbh Sans"), sans-serif;
    font-size: 27px;
    line-height: 1.15;
}

.tour-filter-panel-head p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.65;
}

.tour-filter-group + .tour-filter-group,
.tour-filter-group + .tour-filter-note {
    margin-top: 22px;
}

.tour-filter-title {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 12px;
    color: var(--navy);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tour-filter-title svg {
    width: 16px;
    height: 16px;
    color: var(--secondary);
}

.tour-filter-stack {
    display: grid;
    gap: 10px;
}

.tour-filter-link {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 11px;
    align-items: center;
    padding: 11px 12px;
    border: 1px solid var(--border);
    border-radius: 15px;
    background: #fff;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.tour-filter-link:hover,
.tour-filter-link.is-active {
    transform: translateY(-2px);
    border-color: #c9d7ea;
    box-shadow: 0 10px 20px rgba(15, 39, 66, 0.08);
    background: #f8fbff;
}

.tour-filter-link-icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--navy);
    color: #fff;
}

.tour-filter-link:nth-child(even) .tour-filter-link-icon {
    background: var(--primary);
}

.tour-filter-link-icon svg {
    width: 20px;
    height: 20px;
}

.tour-filter-link-copy {
    min-width: 0;
}

.tour-filter-link-copy strong {
    display: block;
    color: var(--navy);
    font-size: 14px;
    line-height: 1.25;
}

.tour-filter-link-copy small {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.45;
}

.tour-filter-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.tour-filter-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: #fff;
    color: var(--navy);
    font-size: 12px;
    font-weight: 700;
    transition: border-color .18s ease, background-color .18s ease, color .18s ease, transform .18s ease;
}

.tour-filter-chip:hover,
.tour-filter-chip.is-active {
    transform: translateY(-1px);
    border-color: var(--primary);
    background: color-mix(in srgb, var(--primary) 10%, #fff);
    color: var(--primary-dark);
}

.tour-filter-note {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 11px;
    padding: 14px 14px 15px;
    border-radius: 16px;
    background: var(--navy);
    color: #fff;
}

.tour-filter-note-icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--primary);
    color: #fff;
}

.tour-filter-note-icon svg {
    width: 19px;
    height: 19px;
}

.tour-filter-note strong {
    display: block;
    margin-bottom: 4px;
    font-size: 14px;
}

.tour-filter-note p {
    margin: 0 0 9px;
    color: rgba(255,255,255,.78);
    font-size: 12px;
    line-height: 1.55;
}

.tour-filter-note a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.tour-catalog-main {
    min-width: 0;
}

.tour-inline-highlights {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 0 0 22px;
}

.tour-inline-highlights > div {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 13px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fff;
    color: #536278;
    font-size: 12px;
    font-weight: 700;
}

.tour-inline-highlights svg {
    width: 16px;
    height: 16px;
    color: var(--secondary);
}

@media (min-width: 1361px) {
    .tour-catalog-with-sidebar .catalog-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (min-width: 901px) and (max-width: 1360px) {
    .tour-catalog-with-sidebar .catalog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 1100px) {
    .tour-catalog-layout {
        grid-template-columns: 280px minmax(0, 1fr);
        gap: 22px;
    }

    .tour-inline-highlights {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .tour-catalog-layout {
        grid-template-columns: 1fr;
    }

    .tour-filter-sidebar {
        position: static;
        top: auto;
    }

    .tour-filter-panel {
        padding: 18px;
    }

    .tour-inline-highlights,
    .tour-catalog-with-sidebar .catalog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 620px) {
    .tour-catalog-with-sidebar {
        padding-top: 42px;
    }

    .tour-filter-panel-head h2 {
        font-size: 24px;
    }

    .tour-inline-highlights,
    .tour-catalog-with-sidebar .catalog-grid {
        grid-template-columns: 1fr !important;
    }

    .tour-filter-panel {
        padding: 16px;
        border-radius: 18px;
    }

    .tour-filter-link,
    .tour-filter-note {
        grid-template-columns: 38px minmax(0, 1fr);
        gap: 10px;
    }

    .tour-filter-link-icon,
    .tour-filter-note-icon {
        width: 38px;
        height: 38px;
        border-radius: 11px;
    }
}



/* ===============================================================
   PRICE CLEANUP + BLOG ARTICLE RECOMMENDATION SIDEBAR
   =============================================================== */

/* Currency is already written into the value ($ / KSh), so no second badge. */
.tour-currency-badge {
    display: none !important;
}

.tour-price-value,
.card-footer strong,
.catalog-card-footer .price-block strong,
.multi-price-footer .price-block strong {
    color: var(--secondary) !important;
}

/* Blog detail pages intentionally use 80% of the viewport on desktop. */
.article-detail-wide {
    width: 80% !important;
    max-width: none !important;
}

.article-layout.article-detail-wide {
    grid-template-columns: minmax(0, 1fr) 360px !important;
    gap: clamp(30px, 3vw, 54px) !important;
}

.article-layout.article-detail-wide .article-prose {
    max-width: none !important;
    min-width: 0;
}

.article-recommendation-sidebar {
    position: sticky;
    top: 108px;
    display: grid;
    gap: 16px;
    min-width: 0;
}

.article-recommendation-sidebar .article-side-card {
    position: static !important;
    top: auto !important;
    padding: 22px !important;
    margin: 0 !important;
}

.article-side-section {
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 9px 24px rgba(15,39,66,.05);
}

.article-side-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.article-side-section-head > span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--navy);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.article-side-section-head svg {
    width: 15px;
    height: 15px;
    color: var(--secondary);
}

.article-side-section-head > a {
    color: var(--primary);
    font-size: 11px;
    font-weight: 800;
}

.article-side-items {
    display: grid;
    gap: 10px;
}

.article-side-item {
    display: grid;
    grid-template-columns: 84px minmax(0,1fr);
    gap: 11px;
    align-items: stretch;
    overflow: hidden;
    min-height: 82px;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: #fff;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.article-side-item:hover {
    transform: translateY(-2px);
    border-color: color-mix(in srgb,var(--primary) 35%,var(--border));
    box-shadow: 0 9px 18px rgba(15,39,66,.07);
}

.article-side-thumb {
    display: block;
    min-height: 82px;
    background: var(--soft);
    overflow: hidden;
}

.article-side-thumb img,
.article-side-thumb .media-fallback {
    width: 100%;
    height: 100%;
    min-height: 82px;
    object-fit: cover;
}

.article-side-item-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 9px 10px 9px 0;
}

.article-side-item-copy small {
    color: var(--secondary-dark);
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.article-side-item-copy strong {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    margin-top: 3px;
    color: var(--navy);
    font-size: 12.5px;
    line-height: 1.35;
}

.article-side-item-copy em {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 5px;
    color: var(--primary);
    font-size: 10px;
    font-style: normal;
    font-weight: 800;
}

.article-side-item-copy em svg {
    width: 11px;
    height: 11px;
}

@media (max-width: 1180px) {
    .article-detail-wide {
        width: calc(100% - 48px) !important;
    }

    .article-layout.article-detail-wide {
        grid-template-columns: minmax(0,1fr) 320px !important;
        gap: 28px !important;
    }
}

@media (max-width: 980px) {
    .article-layout.article-detail-wide {
        grid-template-columns: 1fr !important;
    }

    .article-recommendation-sidebar {
        position: static;
        top: auto;
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .article-side-intro {
        grid-column: 1 / -1;
    }
}

@media (max-width: 700px) {
    .article-detail-wide {
        width: calc(100% - 28px) !important;
    }

    .article-recommendation-sidebar {
        grid-template-columns: 1fr;
    }

    .article-side-intro {
        grid-column: auto;
    }

    .article-side-section {
        padding: 14px;
    }
}

/* ===============================================================
   COURTESYWIDE — MOBILE HERO + TYPE PAGE COMPACT REFINEMENTS
   Reduce excess spacing and oversized headings on mobile/tablet.
   =============================================================== */

@media (max-width: 760px) {
    /* Collection/type hero pages */
    .premium-hero-copy-inner {
        width: min(100% - 24px, 590px) !important;
        padding: 28px 0 38px !important;
    }

    .premium-hero-copy .breadcrumb {
        gap: 6px !important;
        margin-bottom: 10px !important;
        font-size: 10px !important;
        line-height: 1.35 !important;
        flex-wrap: wrap !important;
    }

    .travel-type-hero .travel-type-hero-icon {
        width: 44px !important;
        height: 44px !important;
        margin-bottom: 10px !important;
        border-radius: 12px !important;
    }

    .travel-type-hero .travel-type-hero-icon svg {
        width: 21px !important;
        height: 21px !important;
    }

    .premium-hero-copy h1 {
        font-size: 32px !important;
        line-height: 1.08 !important;
        letter-spacing: -0.9px !important;
        margin-bottom: 12px !important;
    }

    .premium-hero-copy p {
        font-size: 13px !important;
        line-height: 1.6 !important;
    }

    .premium-trust-row {
        gap: 10px 14px !important;
        margin-top: 18px !important;
    }

    .premium-trust-row span {
        font-size: 11px !important;
        line-height: 1.45 !important;
    }

    .premium-trust-row svg {
        width: 18px !important;
        height: 18px !important;
    }

    /* How this collection works */
    .travel-type-explainer {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }

    .type-explainer-grid {
        gap: 18px !important;
    }

    .type-explainer-copy h2 {
        margin: 6px 0 12px !important;
        font-size: 24px !important;
        line-height: 1.18 !important;
        letter-spacing: -0.5px !important;
    }

    .type-explainer-copy p {
        margin: 0 0 16px !important;
        font-size: 13px !important;
        line-height: 1.65 !important;
    }

    .type-feature-list {
        gap: 10px !important;
    }

    .type-feature-list > div {
        padding: 12px 14px !important;
        min-height: 0 !important;
        border-radius: 12px !important;
        font-size: 12px !important;
        line-height: 1.5 !important;
    }

    .type-feature-list .visible-list-icon {
        width: 34px !important;
        height: 34px !important;
        border-radius: 10px !important;
    }

    .type-feature-list .visible-list-icon svg {
        width: 18px !important;
        height: 18px !important;
    }

    /* Individual detail hero pages */
    .premium-detail-hero {
        padding-top: 230px !important;
    }

    .premium-detail-image,
    .premium-detail-image img,
    .premium-detail-image .media-fallback {
        height: 230px !important;
    }

    .premium-detail-panel {
        padding: 20px 14px 24px !important;
    }

    .premium-detail-panel .breadcrumb {
        gap: 5px !important;
        margin-bottom: 12px !important;
        font-size: 10px !important;
        line-height: 1.35 !important;
        flex-wrap: wrap !important;
    }

    .detail-badge-row {
        gap: 7px !important;
        margin-bottom: 8px !important;
    }

    .detail-badge,
    .detail-currency-badge {
        padding: 6px 9px !important;
        font-size: 10px !important;
    }

    .premium-detail-panel h1 {
        margin: 8px 0 10px !important;
        font-size: 26px !important;
        line-height: 1.05 !important;
        letter-spacing: -0.7px !important;
    }

    .premium-detail-panel > p {
        font-size: 13px !important;
        line-height: 1.55 !important;
    }

    .premium-detail-mini-facts {
        gap: 8px 12px !important;
        margin-top: 14px !important;
    }

    .premium-detail-mini-facts span {
        font-size: 11px !important;
        line-height: 1.45 !important;
    }

    .premium-detail-mini-facts svg {
        width: 15px !important;
        height: 15px !important;
    }

    /* Detail summary strip directly after hero */
    .premium-summary-grid > div,
    .destination-summary-grid > div,
    .type-summary-grid > div {
        min-height: 76px !important;
        padding: 14px 14px !important;
        gap: 10px !important;
    }

    .summary-icon {
        width: 38px !important;
        height: 38px !important;
        border-radius: 10px !important;
    }

    .summary-icon svg {
        width: 18px !important;
        height: 18px !important;
    }

    .premium-summary-grid strong,
    .destination-summary-grid strong,
    .type-summary-grid strong {
        font-size: 12px !important;
        line-height: 1.4 !important;
    }

    .premium-summary-grid small,
    .destination-summary-grid small,
    .type-summary-grid small {
        font-size: 9px !important;
    }

    .tour-type-notice-inner {
        gap: 12px !important;
        min-height: 0 !important;
        padding: 14px 0 !important;
    }

    .tour-type-notice a {
        padding-left: 0 !important;
    }

    /* Parallax hero pages too */
    .parallax-hero {
        min-height: 430px !important;
    }

    .parallax-hero-content {
        padding-top: 40px !important;
        padding-bottom: 72px !important;
    }

    .parallax-hero-content h1 {
        font-size: 31px !important;
        line-height: 1.1 !important;
        letter-spacing: -0.9px !important;
    }

    .parallax-hero-content > p {
        font-size: 13px !important;
        line-height: 1.6 !important;
    }
}

@media (max-width: 480px) {
    .premium-hero-copy-inner {
        width: min(100% - 20px, 590px) !important;
        padding: 24px 0 32px !important;
    }

    .premium-hero-copy h1 {
        font-size: 28px !important;
    }

    .type-explainer-copy h2 {
        font-size: 22px !important;
    }

    .premium-detail-hero {
        padding-top: 205px !important;
    }

    .premium-detail-image,
    .premium-detail-image img,
    .premium-detail-image .media-fallback {
        height: 205px !important;
    }

    .premium-detail-panel {
        padding: 18px 12px 22px !important;
    }

    .premium-detail-panel h1 {
        font-size: 22px !important;
        line-height: 1.08 !important;
    }

    .premium-detail-panel > p {
        font-size: 12.5px !important;
    }

    .premium-detail-mini-facts {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 7px !important;
    }

    .type-feature-list > div {
        padding: 11px 12px !important;
        gap: 10px !important;
    }

    .parallax-hero {
        min-height: 400px !important;
    }

    .parallax-hero-content h1 {
        font-size: 27px !important;
    }
}

/* ===============================================================
   V18 — PRICING BASIS, TOUR DETAIL ACCORDIONS & LAYOUT HARDENING
   =============================================================== */

/* The value already contains $ / KSh. Show the occupancy/package basis beside it. */
.tour-price-line {
    display: grid !important;
    grid-template-columns: max-content minmax(0, 1fr);
    align-items: baseline;
    column-gap: 7px;
    row-gap: 2px;
}

.tour-price-basis {
    min-width: 0;
    display: flex !important;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 3px 5px;
    color: var(--muted) !important;
    font-size: 9px !important;
    line-height: 1.35;
}

.tour-price-basis strong {
    color: var(--navy) !important;
    font-size: inherit !important;
    font-weight: 800 !important;
}

.tour-price-basis strong + span::before {
    content: "·";
    margin-right: 5px;
    color: var(--muted);
}

.tour-price-basis span {
    color: var(--muted);
}

/* Main tour/package information now behaves like a clean FAQ accordion. */
.tour-section-accordion {
    padding: 0 !important;
    overflow: clip;
    scroll-margin-top: 150px;
}

.tour-section-accordion > summary {
    list-style: none;
}

.tour-section-accordion > summary::-webkit-details-marker {
    display: none;
}

.tour-section-summary {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 13px;
    width: 100%;
    padding: 17px 19px;
    cursor: pointer;
    background: #fff;
    transition: background-color .18s ease, color .18s ease;
}

.tour-section-summary:hover {
    background: color-mix(in srgb, var(--primary) 5%, #fff);
}

.tour-section-summary .icon-orb {
    width: 42px;
    height: 42px;
    margin: 0;
    border-radius: 12px;
}

.tour-section-summary .icon-orb svg {
    width: 20px;
    height: 20px;
}

.tour-section-summary-copy {
    min-width: 0;
}

.tour-section-summary-copy small,
.tour-section-summary-copy strong {
    display: block;
}

.tour-section-summary-copy small {
    margin-bottom: 3px;
    color: var(--secondary-dark, var(--secondary));
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.tour-section-summary-copy strong {
    color: var(--navy);
    font-family: var(--site-font, "Kumbh Sans"), sans-serif;
    font-size: 18px;
    line-height: 1.3;
}

.tour-section-chevron {
    width: 20px;
    height: 20px;
    color: var(--primary);
    transition: transform .2s ease;
}

.tour-section-accordion[open] > .tour-section-summary {
    border-bottom: 1px solid var(--border);
}

.tour-section-accordion[open] > .tour-section-summary .tour-section-chevron {
    transform: rotate(180deg);
}

.tour-section-body {
    padding: 19px;
}

.tour-section-body > :first-child {
    margin-top: 0;
}

.tour-section-body > :last-child {
    margin-bottom: 0;
}

/* The FAQ entries inside the main FAQ accordion keep their own native accordion. */
.tour-section-body[data-single-open-faq] > details:first-of-type {
    margin-top: 0;
}

/* Reassert the Tours sidebar rules even if older compiled CSS loads before this file. */
.tour-catalog-layout {
    display: grid !important;
    grid-template-columns: 300px minmax(0, 1fr) !important;
    gap: 28px !important;
    align-items: start !important;
}

.tour-filter-panel,
.tour-filter-link,
.tour-filter-note,
.tour-filter-chip {
    box-sizing: border-box;
}

.tour-filter-stack {
    display: grid !important;
    gap: 10px !important;
}

.tour-filter-link {
    display: grid !important;
    grid-template-columns: 40px minmax(0, 1fr) !important;
}

/* Blog recommendations: guard against generic link/media rules flattening the cards. */
.article-recommendation-sidebar {
    min-width: 0 !important;
}

.article-side-section-head {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.article-side-item {
    display: grid !important;
    grid-template-columns: 84px minmax(0, 1fr) !important;
    gap: 11px !important;
    align-items: stretch !important;
    text-decoration: none !important;
}

.article-side-thumb {
    width: 84px !important;
    min-width: 84px !important;
    height: 82px !important;
    min-height: 82px !important;
    overflow: hidden !important;
}

.article-side-thumb img,
.article-side-thumb .media-fallback,
.article-side-thumb picture {
    width: 100% !important;
    height: 100% !important;
    min-height: 82px !important;
    object-fit: cover !important;
}

.article-side-item-copy {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    min-width: 0 !important;
}

@media (max-width: 1100px) {
    .tour-catalog-layout {
        grid-template-columns: 270px minmax(0, 1fr) !important;
        gap: 20px !important;
    }
}

@media (max-width: 900px) {
    .tour-catalog-layout {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .tour-filter-sidebar {
        position: static !important;
        top: auto !important;
    }

    .tour-filter-panel {
        padding: 16px !important;
    }

    .tour-filter-panel-head p {
        max-width: 680px;
    }
}

@media (max-width: 700px) {
    .tour-price-line {
        grid-template-columns: max-content minmax(0, 1fr) !important;
        column-gap: 6px !important;
    }

    .tour-price-basis {
        font-size: 8.5px !important;
    }

    .tour-section-summary {
        gap: 10px;
        padding: 13px 14px;
    }

    .tour-section-summary .icon-orb {
        width: 38px;
        height: 38px;
        border-radius: 10px;
    }

    .tour-section-summary-copy small {
        font-size: 9px;
    }

    .tour-section-summary-copy strong {
        font-size: 15px;
        line-height: 1.25;
    }

    .tour-section-body {
        padding: 14px;
    }

    .tour-section-accordion {
        scroll-margin-top: 118px;
    }

    .article-side-section {
        padding: 12px !important;
    }

    .article-side-item {
        grid-template-columns: 92px minmax(0, 1fr) !important;
        min-height: 86px !important;
    }

    .article-side-thumb {
        width: 92px !important;
        min-width: 92px !important;
        height: 86px !important;
        min-height: 86px !important;
    }

    .article-side-thumb img,
    .article-side-thumb .media-fallback,
    .article-side-thumb picture {
        min-height: 86px !important;
    }

    .tour-filter-panel-head h2 {
        margin-bottom: 6px !important;
        font-size: 24px !important;
    }

    .tour-filter-panel-head p {
        font-size: 12px !important;
        line-height: 1.5 !important;
    }

    .tour-filter-link {
        grid-template-columns: 38px minmax(0, 1fr) !important;
        padding: 10px !important;
    }
}

/* ===============================================================
   HOMEPAGE MOBILE HERO + CLICK-TO-OPEN SEARCH
   Keep the photograph visible: compact copy, compact tabs, and keep
   search fields closed until the visitor chooses a service tab.
   =============================================================== */
.booking-tab-short{display:none;}

@media (max-width:700px){
    .dynamic-home-hero{
        min-height:560px!important;
    }

    .dynamic-home-hero .hero-background-image{
        background-size:cover!important;
        background-position:center!important;
    }

    .dynamic-home-hero .hero-content{
        min-height:560px!important;
        padding-top:150px!important;
        padding-bottom:22px!important;
        display:flex!important;
        flex-direction:column!important;
        justify-content:flex-end!important;
    }

    .dynamic-home-hero .hero-copy{
        width:100%!important;
        max-width:none!important;
        padding:14px 16px 15px!important;
        border-radius:16px!important;
        background:rgba(255,255,255,.92)!important;
        box-shadow:0 12px 28px rgba(15,39,66,.12)!important;
        backdrop-filter:blur(3px);
    }

    .dynamic-home-hero .hero-copy .eyebrow{
        font-size:9.5px!important;
        letter-spacing:1.1px!important;
    }

    .dynamic-home-hero .hero-copy h1{
        margin:6px 0 8px!important;
        font-size:29px!important;
        line-height:1.06!important;
        letter-spacing:-.8px!important;
    }

    .dynamic-home-hero .hero-copy>p{
        display:-webkit-box!important;
        -webkit-box-orient:vertical;
        -webkit-line-clamp:2;
        overflow:hidden;
        max-width:none!important;
        margin:0!important;
        font-size:12.5px!important;
        line-height:1.5!important;
    }

    .dynamic-home-hero .hero-benefits{
        display:none!important;
    }

    .dynamic-home-hero .booking-box{
        margin-top:10px!important;
        padding:5px 8px 7px!important;
        border-radius:15px!important;
        background:rgba(255,255,255,.96)!important;
        box-shadow:0 10px 26px rgba(15,39,66,.11)!important;
    }

    .dynamic-home-hero .booking-tabs{
        display:grid!important;
        grid-template-columns:repeat(4,minmax(0,1fr))!important;
        gap:0!important;
        overflow:visible!important;
    }

    .dynamic-home-hero .booking-tab{
        min-width:0!important;
        padding:9px 3px 8px!important;
        display:flex!important;
        align-items:center!important;
        justify-content:center!important;
        gap:4px!important;
        white-space:nowrap!important;
        font-size:10px!important;
        line-height:1.15!important;
    }

    .dynamic-home-hero .booking-tab svg{
        width:15px!important;
        height:15px!important;
        flex:0 0 15px!important;
    }

    .booking-tab-full{display:none!important;}
    .booking-tab-short{display:inline!important;}

    .dynamic-home-hero .booking-box.mobile-search-collapsible:not(.mobile-search-open) .search-panel,
    .dynamic-home-hero .booking-box.mobile-search-collapsible:not(.mobile-search-open) .search-panel.active{
        display:none!important;
    }

    .dynamic-home-hero .booking-box.mobile-search-open .search-panel.active{
        display:grid!important;
        grid-template-columns:repeat(2,minmax(0,1fr))!important;
        gap:9px!important;
        padding-top:12px!important;
        animation:cwMobileSearchReveal .18s ease-out both;
    }

    .dynamic-home-hero .booking-box.mobile-search-open .search-panel.active>.field:first-child{
        grid-column:1/-1!important;
    }

    .dynamic-home-hero .booking-box.mobile-search-open .field label{
        margin-bottom:4px!important;
        font-size:10px!important;
        line-height:1.25!important;
    }

    .dynamic-home-hero .booking-box.mobile-search-open .field label svg{
        width:13px!important;
        height:13px!important;
    }

    .dynamic-home-hero .booking-box.mobile-search-open .field input,
    .dynamic-home-hero .booking-box.mobile-search-open .field select,
    .dynamic-home-hero .booking-box.mobile-search-open .search-btn{
        height:42px!important;
        min-height:42px!important;
        font-size:12px!important;
        border-radius:9px!important;
    }

    .dynamic-home-hero .booking-box.mobile-search-open .field input,
    .dynamic-home-hero .booking-box.mobile-search-open .field select{
        padding:0 10px!important;
    }

    .dynamic-home-hero .booking-box.mobile-search-open .search-btn{
        width:100%!important;
        padding:0 10px!important;
        justify-content:center!important;
    }

    @keyframes cwMobileSearchReveal{
        from{opacity:0;transform:translateY(-5px)}
        to{opacity:1;transform:translateY(0)}
    }
}

@media (max-width:480px){
    .dynamic-home-hero{
        min-height:530px!important;
    }

    .dynamic-home-hero .hero-content{
        min-height:530px!important;
        padding-top:135px!important;
    }

    .dynamic-home-hero .hero-copy{
        padding:12px 14px 13px!important;
    }

    .dynamic-home-hero .hero-copy h1{
        font-size:26px!important;
        line-height:1.07!important;
    }

    .dynamic-home-hero .hero-copy>p{
        font-size:12px!important;
    }

    .dynamic-home-hero .booking-tab{
        font-size:9.5px!important;
    }

    .dynamic-home-hero .booking-box.mobile-search-open .search-panel.active{
        gap:8px!important;
    }
}

@media (prefers-reduced-motion:reduce){
    .dynamic-home-hero .booking-box.mobile-search-open .search-panel.active{
        animation:none!important;
    }
}

/* ===============================================================
   HOMEPAGE MOBILE HERO — PRESERVE THE COMPLETE UPLOADED IMAGE
   The image height is calculated from its real aspect ratio by the
   homepage script. This avoids object-fit/background cover cropping.
   =============================================================== */
@media (max-width:700px){
    .dynamic-home-hero{
        --cw-mobile-hero-media-height:300px;
        min-height:0!important;
        height:auto!important;
        padding:0!important;
        background:#eef4fb!important;
        overflow:hidden!important;
    }

    .dynamic-home-hero .hero-background-image{
        position:absolute!important;
        top:0!important;
        right:0!important;
        bottom:auto!important;
        left:0!important;
        width:100%!important;
        height:var(--cw-mobile-hero-media-height)!important;
        background-size:contain!important;
        background-position:center top!important;
        background-repeat:no-repeat!important;
        background-color:#eef4fb!important;
    }

    .dynamic-home-hero .hero-background-video{
        position:absolute!important;
        top:0!important;
        right:0!important;
        bottom:auto!important;
        left:0!important;
        width:100%!important;
        height:var(--cw-mobile-hero-media-height)!important;
        object-fit:contain!important;
        object-position:center top!important;
        background:#0f2742!important;
    }

    .dynamic-home-hero .hero-overlay{
        position:absolute!important;
        inset:0 0 auto 0!important;
        width:100%!important;
        height:var(--cw-mobile-hero-media-height)!important;
        background:linear-gradient(to bottom,rgba(15,39,66,.01) 52%,rgba(15,39,66,.18) 100%)!important;
        pointer-events:none!important;
    }

    .dynamic-home-hero .hero-content{
        min-height:0!important;
        height:auto!important;
        padding-top:calc(var(--cw-mobile-hero-media-height) - 26px)!important;
        padding-bottom:18px!important;
        display:flex!important;
        flex-direction:column!important;
        justify-content:flex-start!important;
    }

    .dynamic-home-hero .hero-copy{
        position:relative!important;
        z-index:3!important;
        margin:0!important;
        padding:12px 14px 13px!important;
        border:1px solid rgba(210,220,232,.95)!important;
        border-radius:15px!important;
        background:rgba(255,255,255,.96)!important;
        box-shadow:0 10px 24px rgba(15,39,66,.11)!important;
        backdrop-filter:blur(2px);
    }

    .dynamic-home-hero .hero-copy h1{
        margin:5px 0 7px!important;
        font-size:25px!important;
        line-height:1.07!important;
        letter-spacing:-.65px!important;
    }

    .dynamic-home-hero .hero-copy>p{
        -webkit-line-clamp:2!important;
        font-size:11.8px!important;
        line-height:1.45!important;
    }

    .dynamic-home-hero .booking-box{
        position:relative!important;
        z-index:3!important;
        margin-top:8px!important;
    }
}

@media (max-width:480px){
    .dynamic-home-hero .hero-content{
        padding-top:calc(var(--cw-mobile-hero-media-height) - 22px)!important;
        padding-bottom:14px!important;
    }

    .dynamic-home-hero .hero-copy{
        padding:11px 12px 12px!important;
        border-radius:14px!important;
    }

    .dynamic-home-hero .hero-copy h1{
        font-size:23px!important;
        line-height:1.08!important;
    }

    .dynamic-home-hero .hero-copy>p{
        font-size:11.5px!important;
    }
}

