/*
Theme Name: Amboseli Blue
Theme URI: http://localhost/amboseli
Author: Rich
Description: Hotel and resort theme converted from the TUI Blue design. Full-bleed hero with booking bar, category strip, early-booking offers grid and destination cards. Classic PHP theme with ACF-aware fields and hardcoded design fallbacks.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: amboseli-blue
Tags: hotel, travel, booking, one-column, custom-menu, featured-images
*/

:root{
  --deep:#022f59;          /* footer / dark buttons */
  --navy:#13446d;          /* offer panel */
  --logo-navy:#0d3a66;
  --cyan:#1298d5;          /* booking bar */
  --cyan-light:#9ed6ef;    /* date boxes */
  --accent:#2aa9d2;        /* dots / links */
  --page:#ffffff;
  --panel:#f2f5f9;
  --txt:#8a97a5;
  --head:#3f5b77;
  --nav-h:110px;           /* desktop header height */
  --nav-h-m:72px;          /* mobile header height */
}
*{margin:0;padding:0;box-sizing:border-box}
body{font-family:'Lato',Arial,sans-serif;color:var(--txt);background:#fff;-webkit-font-smoothing:antialiased}
h1,h2,h3,h4,.disp{font-family:'Jost',sans-serif}
img{display:block;max-width:100%;height:auto}
a{text-decoration:none;color:inherit}
.wrap{max-width:1200px;margin:0 auto;position:relative}
.inner{max-width:900px;margin:0 auto;position:relative}

/* ---- WordPress accessibility / alignment helpers ---- */
.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}
.screen-reader-text:focus{background:#fff;clip:auto;clip-path:none;color:#022f59;display:block;font-size:14px;height:auto;left:6px;line-height:normal;padding:14px 22px;text-decoration:none;top:6px;width:auto;z-index:100000}
.alignwide{max-width:1100px;margin-left:auto;margin-right:auto}
.alignfull{max-width:none;width:100%;margin-left:0;margin-right:0}
.alignleft{float:left;margin:0 1.5em 1em 0}
.alignright{float:right;margin:0 0 1em 1.5em}
.aligncenter{margin-left:auto;margin-right:auto;display:block}
.wp-caption{max-width:100%}
.wp-caption-text{font-size:12px;color:#a7b3bf;text-align:center;margin-top:8px}
.sticky,.gallery-caption,.bypostauthor{}

/* ============ HEADER ============ */
header.site-header{position:relative;background:#fff;z-index:150;box-shadow:0 2px 12px rgba(20,50,80,.06)}
.hd{display:flex;align-items:center;height:var(--nav-h);max-width:1200px;margin:0 auto;padding:0 40px 0 0}
.logo-box{width:128px;height:128px;background:var(--logo-navy);display:flex;align-items:center;justify-content:center;flex-shrink:0;margin-top:18px;position:relative;z-index:60}
.logo-box a{display:flex;align-items:center;justify-content:center;width:100%;height:100%}
.logo-mark{font-family:'Jost';color:#fff;text-align:center;line-height:1}
.logo-mark .glyph{font-size:34px;letter-spacing:4px;font-weight:300;filter:blur(.5px);opacity:.9}
.logo-mark small{display:block;font-size:8px;letter-spacing:3px;margin-top:6px;opacity:.75;filter:blur(.5px)}
.logo-box img{max-height:96px;width:auto}

/* primary nav (wp_nav_menu -> ul.nav-links) */
nav.site-nav{display:flex;flex:1;align-items:center;margin-left:70px}
.nav-links{display:flex;gap:36px;align-items:center;list-style:none;margin:0;padding:0}
.nav-links li{position:relative}
.nav-links .mobile-extra{display:none}   /* desktop shows these in .hd-right instead */
.nav-links a{white-space:nowrap;font-family:'Jost';font-size:12.5px;letter-spacing:2.5px;font-weight:500;color:#57708a;text-transform:uppercase;position:relative;padding-bottom:6px;display:inline-block}
.nav-links>li.current-menu-item>a,
.nav-links>li.current_page_item>a,
.nav-links>li.current-menu-ancestor>a,
.nav-links>li.on>a{color:#41638a}
.nav-links>li.current-menu-item>a::after,
.nav-links>li.current_page_item>a::after,
.nav-links>li.current-menu-ancestor>a::after,
.nav-links>li.on>a::after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:#8aa0b5}
.nav-links li.menu-item-has-children>a::before{content:"\25BC";font-size:9px;color:var(--accent);margin-left:5px;vertical-align:1px;float:right;margin-top:3px}
.nav-links .car{font-size:9px;color:var(--accent);margin-left:5px;vertical-align:1px}

/* desktop dropdown */
.nav-links .sub-menu{display:none;position:absolute;top:100%;left:0;min-width:220px;background:#fff;box-shadow:0 12px 30px rgba(20,50,80,.14);padding:10px 0;list-style:none;z-index:200}
.nav-links li:hover>.sub-menu,
.nav-links li:focus-within>.sub-menu{display:block}
.nav-links .sub-menu li{display:block}
.nav-links .sub-menu a{display:block;padding:10px 22px;font-size:11.5px;letter-spacing:2px;color:#57708a;white-space:normal}
.nav-links .sub-menu a:hover{background:var(--panel);color:#41638a}
.nav-links .sub-menu li.menu-item-has-children>a::before{content:none}

.hd-right{display:flex;align-items:center;gap:28px}
.bookings{white-space:nowrap;display:flex;align-items:center;gap:10px;border:1px solid #dfe6ec;padding:0 26px;height:60px;font-family:'Jost';font-size:12px;letter-spacing:2px;font-weight:500;color:#44607d;text-transform:uppercase}
.bookings svg{width:16px;height:16px;fill:#44607d}
.lang{display:flex;align-items:center;gap:8px;font-family:'Jost';font-size:12px;letter-spacing:2px;font-weight:600;color:#44607d}
.flag{width:20px;height:20px;border-radius:50%;overflow:hidden;position:relative;background:#b22234;flex-shrink:0}
.flag::before{content:"";position:absolute;inset:0;background:repeating-linear-gradient(#b22234 0 2px,#fff 2px 4px)}
.flag::after{content:"";position:absolute;top:0;left:0;width:9px;height:9px;background:#3c3b6e}
.lang .car{font-size:9px;color:var(--accent)}

/* hamburger — hidden on desktop, shown <=960px */
.nav-hamburger{display:none;flex-direction:column;justify-content:center;gap:5px;width:44px;height:44px;padding:10px;margin-left:auto;background:none;border:0;cursor:pointer;position:relative;z-index:160}
.nav-hamburger span{display:block;width:24px;height:2px;background:#44607d;transition:transform .25s ease,opacity .2s ease}
.nav-hamburger[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.nav-hamburger[aria-expanded="true"] span:nth-child(2){opacity:0}
.nav-hamburger[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

/* ============ HERO ============ */
.hero{position:relative;height:900px;overflow:hidden;background:#6b7f92}
.hero-img{position:absolute;inset:0;background-image:var(--hero-img);background-position:center 35%;background-size:cover;background-repeat:no-repeat}
.hero-img::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(30,55,80,.3),rgba(30,55,80,.05) 45%,rgba(20,45,70,.25) 75%)}
.official{position:absolute;top:56px;right:56px;text-align:center;color:#fff;z-index:5}
.official .glyph{font-family:'Jost';font-size:22px;letter-spacing:3px;font-weight:300;filter:blur(.4px);opacity:.9}
.official p{font-family:'Jost';font-size:9px;letter-spacing:2px;margin-top:6px;font-weight:500}
.official p span{display:block;font-size:7.5px;opacity:.8;letter-spacing:1.6px}
.hero-title{position:absolute;top:150px;left:0;right:0;text-align:center;color:#fff;z-index:5;padding:0 20px}
.hero-title h1{font-size:76px;font-weight:300;letter-spacing:26px;text-indent:26px;text-shadow:0 3px 14px rgba(10,30,50,.35)}
.hero-title p{font-family:'Jost';font-size:13px;letter-spacing:6px;text-indent:6px;margin-top:8px;font-weight:300}
.arrow{position:absolute;top:270px;width:26px;height:46px;z-index:6;cursor:pointer;opacity:.9;background:none;border:0;padding:0}
.arrow svg{width:100%;height:100%;stroke:#fff;stroke-width:2;fill:none}
.arrow.l{left:36px}.arrow.r{right:36px}

/* booking bar */
.bookbar{position:absolute;left:50%;transform:translateX(-50%);top:325px;width:900px;background:var(--cyan);display:flex;align-items:center;padding:26px 30px;gap:18px;z-index:7;box-shadow:0 14px 40px rgba(10,50,90,.25)}
.bookbar .bk-title{font-family:'Jost';color:#fff;font-size:17px;letter-spacing:1.5px;font-weight:400;line-height:1.35;text-transform:uppercase;flex-shrink:0;margin-right:6px}
.field{background:#a9d9ef;height:52px;display:flex;align-items:center;justify-content:center;font-family:'Jost';color:#1d5d80;font-size:12px;letter-spacing:2px;font-weight:500;text-transform:uppercase;border:0}
.f-hotel{width:160px;gap:10px;cursor:pointer;white-space:nowrap}
.f-hotel .car{font-size:9px}
.f-date{width:96px;gap:8px;cursor:pointer}
.f-date b{font-size:22px;font-weight:400}
.f-date span{font-size:10px;letter-spacing:1.5px}
.to{color:#d7effa;font-size:12px;font-family:'Jost'}
.promo{color:#fff;font-size:11.5px;line-height:1.5;font-weight:700;width:120px}
.check{background:var(--deep);color:#fff;height:52px;padding:0 26px;display:flex;flex-direction:column;align-items:center;justify-content:center;font-family:'Jost';cursor:pointer;flex-shrink:0;border:0;text-align:center}
.check b{font-size:12.5px;letter-spacing:2px;font-weight:500}
.check span{font-size:8px;letter-spacing:1.5px;color:#7fc3e8;margin-top:3px}

.bestprice{position:absolute;left:0;right:0;top:465px;text-align:center;color:#fff;z-index:6;padding:0 20px}
.bestprice h3{font-family:'Jost';font-size:19px;letter-spacing:5px;font-weight:400;text-transform:uppercase;text-shadow:0 2px 10px rgba(10,30,50,.4)}
.bestprice p{font-family:'Jost';font-size:10px;letter-spacing:3px;margin-top:8px;text-transform:uppercase;text-shadow:0 2px 8px rgba(10,30,50,.4)}

/* angular white wedge over hero bottom */
.hero .wedge{position:absolute;bottom:-1px;left:0;right:0;height:330px;background:#fff;clip-path:polygon(0 62%,18% 38%,50% 78%,100% 30%,100% 100%,0 100%);z-index:4}
.hero .wedge2{position:absolute;bottom:-1px;left:0;right:0;height:300px;background:#eef2f6;opacity:.75;clip-path:polygon(0 78%,22% 50%,52% 88%,100% 42%,100% 100%,0 100%);z-index:4}

/* ============ CATEGORY CARDS ============ */
.cats{position:relative;margin-top:-255px;z-index:10;padding-bottom:10px}
.cat-row{display:grid;grid-template-columns:repeat(4,1fr);width:900px;margin:0 auto;box-shadow:0 18px 50px rgba(20,50,80,.18)}
.cat{position:relative;height:212px;overflow:hidden}
.cat img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.cat:hover img{transform:scale(1.06)}
.cat span{position:absolute;left:0;right:0;bottom:14px;text-align:center;color:#fff;font-family:'Jost';font-size:11px;letter-spacing:2.5px;font-weight:500;text-shadow:0 2px 8px rgba(0,0,0,.5);text-transform:uppercase;z-index:2}
.cat::after{content:"";position:absolute;inset:auto 0 0 0;height:70px;background:linear-gradient(180deg,transparent,rgba(10,30,50,.45))}
.cnav{position:absolute;top:50%;transform:translateY(-50%);width:34px;height:34px;border:1px solid #cfd8e0;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#aeb9c4;font-size:13px;cursor:pointer;background:transparent;padding:0}
.cnav.l{left:calc(50% - 450px - 62px)}
.cnav.r{right:calc(50% - 450px - 62px)}

/* ============ WELCOME ============ */
.welcome{position:relative;background:linear-gradient(180deg,#fdfdfe,#f4f7fa);padding:88px 0 70px;overflow:hidden}
.welcome::before{content:"";position:absolute;left:-12%;top:-30%;width:70%;height:180%;background:linear-gradient(115deg,rgba(210,220,230,.35),rgba(255,255,255,0));transform:rotate(-14deg);pointer-events:none}
.kick{font-family:'Jost';text-align:center;font-size:11px;letter-spacing:3px;color:#a7b3bf;text-transform:uppercase;position:relative}
.sec-title{font-family:'Jost';text-align:center;font-size:24px;letter-spacing:5px;color:var(--head);font-weight:400;text-transform:uppercase;margin-top:10px;position:relative}
.welcome p.lead{max-width:720px;margin:30px auto 0;text-align:center;font-size:13.5px;line-height:2;color:#9aa6b2;font-weight:300;padding:0 20px;position:relative}

/* ============ OFFERS ============ */
.offers{position:relative;background:#f4f7fa;padding:10px 0 60px}
.offer-grid{width:900px;margin:40px auto 0;display:grid;grid-template-columns:300px 300px 300px;grid-template-rows:222px 222px;box-shadow:0 18px 50px rgba(20,50,80,.15)}
.promo-panel{grid-row:1/3;position:relative;background:var(--navy);overflow:hidden;color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:34px}
.promo-panel .bg{position:absolute;inset:0;background-image:var(--offer-bg);background-position:center;background-size:cover;opacity:.28;mix-blend-mode:luminosity}
.promo-panel>*{position:relative}
.promo-panel h3{font-size:19px;letter-spacing:2.5px;font-weight:400;line-height:1.6;text-transform:uppercase}
.promo-panel p.d{font-size:12px;line-height:1.9;color:#c2d4e4;margin-top:18px;font-weight:300;max-width:210px}
.promo-panel .from{font-family:'Jost';font-size:11px;letter-spacing:1px;margin-top:26px;color:#cfe0ee}
.promo-panel .price{font-family:'Jost';font-size:32px;font-weight:300;letter-spacing:2px;margin-top:4px}
.promo-panel .vat{font-size:10px;color:#9fb8cd;margin-top:4px}
.promo-panel .book{margin-top:24px;background:var(--cyan);color:#fff;font-family:'Jost';font-size:11px;letter-spacing:2px;font-weight:600;padding:12px 34px;border:none;cursor:pointer;text-transform:uppercase;display:inline-block}
.hcard{position:relative;overflow:hidden}
.hcard img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.hcard:hover img{transform:scale(1.05)}
.hcard::after{content:"";position:absolute;inset:auto 0 0 0;height:80px;background:linear-gradient(180deg,transparent,rgba(8,25,45,.55))}
.hcard span{position:absolute;left:0;right:0;bottom:14px;text-align:center;z-index:2;color:#fff;font-family:'Jost';font-size:10.5px;letter-spacing:2.5px;font-weight:500;text-transform:uppercase}
.dots{display:flex;gap:9px;justify-content:center;margin-top:34px}
.dot{width:7px;height:7px;border-radius:50%;background:#c6cfd8;cursor:pointer;border:0;padding:0}
.dot.on{background:var(--accent)}

/* ============ DESTINATIONS ============ */
.dest{background:#fff;padding:80px 0 90px}
.dest-grid{width:900px;margin:44px auto 0;display:grid;grid-template-columns:repeat(3,1fr);box-shadow:0 18px 50px rgba(20,50,80,.15)}
.dcard{position:relative;height:218px;overflow:hidden}
.dcard img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.dcard:hover img{transform:scale(1.05)}
.dcard::after{content:"";position:absolute;inset:auto 0 0 0;height:80px;background:linear-gradient(180deg,transparent,rgba(8,25,45,.5))}
.dcard .lbl{position:absolute;left:0;right:0;bottom:14px;text-align:center;z-index:2;color:#fff;font-family:'Jost';font-size:11px;letter-spacing:3px;font-weight:500;text-transform:uppercase}
.dcard.active .ov{position:absolute;inset:0;background:rgba(13,45,80,.55);z-index:3;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#fff}
.dcard.active .ov h3{font-size:30px;letter-spacing:8px;font-weight:300}
.dcard.active .ov p{font-family:'Jost';font-size:11px;letter-spacing:3px;margin-top:6px}
.dcard.active .ov .go{margin-top:16px;width:28px;height:28px;border:1px solid var(--accent);border-radius:50%;display:flex;align-items:center;justify-content:center;color:var(--accent);font-size:12px}

/* ============ INNER PAGES ============ */
.page-hero{background:var(--navy);color:#fff;padding:70px 20px 60px;text-align:center;position:relative;overflow:hidden}
.page-hero::before{content:"";position:absolute;inset:0;background:linear-gradient(115deg,rgba(255,255,255,.06),rgba(255,255,255,0))}
.page-hero h1{font-size:34px;letter-spacing:8px;font-weight:300;text-transform:uppercase;position:relative}
.page-hero .kick{color:#9fc4e0;margin-bottom:12px}
.page-content{max-width:820px;margin:0 auto;padding:64px 24px 80px;font-size:16px;line-height:1.95;color:#7f8d9c;font-weight:300}
.page-content h2{font-family:'Jost';font-size:22px;letter-spacing:3px;color:var(--head);text-transform:uppercase;font-weight:400;margin:44px 0 16px}
.page-content h3{font-family:'Jost';font-size:17px;letter-spacing:2px;color:var(--head);font-weight:500;margin:34px 0 12px}
.page-content p{margin-bottom:20px}
.page-content a{color:var(--accent);border-bottom:1px solid rgba(42,169,210,.35)}
.page-content a:hover{color:var(--cyan)}
.page-content ul,.page-content ol{margin:0 0 22px 22px}
.page-content li{margin-bottom:9px}
.page-content img{margin:26px 0}
.page-content blockquote{border-left:3px solid var(--accent);padding-left:22px;margin:26px 0;color:#8a97a5;font-style:italic}
.page-content table{width:100%;border-collapse:collapse;margin:26px 0;font-size:14px}
.page-content th,.page-content td{border:1px solid #e3e9ef;padding:11px 14px;text-align:left}
.page-content th{background:var(--panel);font-family:'Jost';letter-spacing:1.5px;text-transform:uppercase;font-size:12px;color:var(--head)}
.section-rule{width:60px;height:2px;background:var(--accent);margin:18px auto 0}
.post-thumb{max-width:900px;margin:0 auto 10px;padding:0 24px}
.post-thumb img{width:100%;height:auto}

/* post list (index/archive fallback) */
.post-list{max-width:900px;margin:0 auto;padding:60px 24px 80px;display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:34px}
.post-card{position:relative;background:#fff;box-shadow:0 12px 34px rgba(20,50,80,.12)}
.post-card .thumb{height:180px;overflow:hidden}
.post-card .thumb img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.post-card:hover .thumb img{transform:scale(1.05)}
.post-card .body{padding:22px}
.post-card h2{font-family:'Jost';font-size:15px;letter-spacing:2px;color:var(--head);text-transform:uppercase;font-weight:500;line-height:1.6}
.post-card p{font-size:13px;line-height:1.85;margin-top:12px;font-weight:300}
.section-readmore{display:inline-block;font-family:'Jost';font-size:.72rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--accent);transition:color .3s ease,transform .3s ease;margin-top:1rem}
.section-readmore:hover{color:var(--cyan);transform:translateX(4px)}
.post-nav{max-width:820px;margin:0 auto;padding:0 24px 80px;display:flex;justify-content:space-between;gap:24px;font-family:'Jost';font-size:11px;letter-spacing:2px;text-transform:uppercase}
.post-nav a{color:var(--accent)}
.no-results{max-width:820px;margin:0 auto;padding:80px 24px;text-align:center}

/* ============ FOOTER ============ */
footer.site-footer{position:relative;background:var(--deep);color:#b7c9da;overflow:hidden}
footer.site-footer .ftbg{position:absolute;inset:0;background-image:var(--footer-bg);background-position:center;background-size:cover;opacity:.12;filter:blur(6px)}
.ft{position:relative;max-width:1200px;margin:0 auto;padding:56px 60px 46px;display:flex;gap:70px;align-items:flex-start}
.ft-logo{font-family:'Jost';color:#fff;text-align:center;opacity:.85;flex-shrink:0}
.ft-logo .glyph{font-size:26px;letter-spacing:3px;font-weight:300;filter:blur(.4px)}
.ft-logo small{display:block;font-size:7px;letter-spacing:2.5px;margin-top:5px;filter:blur(.4px)}
.ft-links{flex:1}
.ft-links .row{display:flex;flex-wrap:wrap;align-items:center;list-style:none;margin:0;padding:0}
.ft-links .row li{display:flex;align-items:center}
.ft-links .row li:not(:last-child)::after{content:"\00B7";margin:0 10px;color:#5f7f9c}
.ft-links .row a{font-family:'Jost';font-size:11px;letter-spacing:2px;color:#c3d3e2;text-transform:uppercase}
.ft-links .row a:hover{color:#fff}
.ft-links .row span.sep{margin:0 10px;color:#5f7f9c}
.ft-links .by{font-family:'Jost';font-size:10px;letter-spacing:2px;margin-top:8px;color:#7d9ab5;text-transform:uppercase}
.ft-links .find{font-family:'Jost';font-size:11px;letter-spacing:2px;margin-top:26px;color:#c3d3e2;text-transform:uppercase}
.social{display:flex;gap:8px;margin-top:14px;list-style:none;padding:0}
.social a{width:22px;height:22px;border-radius:50%;display:flex;align-items:center;justify-content:center}
.social svg{width:11px;height:11px;fill:#fff}
.s-fb{background:#3b5998}.s-tw{background:#1da1f2}.s-gp{background:#7d7d7d}.s-yt{background:#cd201f}
.ft-tui{margin-left:auto;align-self:center;opacity:.5;filter:blur(1px);font-family:'Jost';font-size:30px;color:#fff;letter-spacing:2px;display:flex;align-items:center;gap:14px}
.ft-tui .smile{width:46px;height:24px;border:2px solid #fff;border-top:none;border-radius:0 0 46px 46px}

/* ============ RESPONSIVE ============ */
@media(max-width:960px){
  .hd{height:var(--nav-h-m);padding:0 12px 0 0}
  header.site-header{position:sticky;top:0}
  body.admin-bar header.site-header{top:32px}
  .logo-box{width:var(--nav-h-m);height:var(--nav-h-m);margin-top:0}
  .logo-mark .glyph{font-size:20px;letter-spacing:2px}
  .logo-mark small{font-size:6px;letter-spacing:1.5px;margin-top:4px}
  .logo-box img{max-height:56px}
  nav.site-nav{margin-left:0;flex:0}
  .hd-right{display:none}
  .nav-hamburger{display:flex}
  .cnav{display:none}

  /* The bar wraps to ~320px tall here, so the hero is sized to hold it and
     the wedge/cards start below it — otherwise the cards (z-index 10) bury
     the CHECK AVAILABILITY button and the best-price line. */
  .hero{height:760px}
  .hero-title{top:80px}
  .hero-title h1{font-size:44px;letter-spacing:12px;text-indent:12px}
  .hero-title p{font-size:11px;letter-spacing:4px}
  .official{top:20px;right:20px}
  .arrow{top:120px;width:20px;height:34px}
  .arrow.l{left:14px}.arrow.r{right:14px}

  .bookbar{top:180px;width:94%;flex-wrap:wrap;justify-content:center;padding:20px 18px;gap:12px}
  .bookbar .bk-title{width:100%;text-align:center;margin-right:0;font-size:15px}
  .bookbar .f-hotel{width:100%}
  .bookbar .f-date{flex:1 1 0;width:auto;min-width:0}   /* both dates share one row */
  .bookbar .to{flex:0 0 auto}
  .bookbar .promo{width:100%;text-align:center}
  .bookbar .check{width:100%}

  .bestprice{top:512px}
  .bestprice h3{font-size:15px;letter-spacing:3px}
  .hero .wedge{height:190px}
  .hero .wedge2{height:175px}

  .cats{margin-top:-150px}
  .cat-row{width:94%;grid-template-columns:1fr 1fr}
  .offer-grid{width:94%;grid-template-columns:1fr 1fr;grid-template-rows:auto}
  .promo-panel{grid-row:auto;grid-column:1/3;min-height:300px}
  .dest-grid{width:94%;grid-template-columns:1fr}

  .welcome{padding:60px 0 50px}
  .dest{padding:60px 0 70px}
  .ft{flex-direction:column;gap:30px;padding:44px 24px 40px;align-items:center;text-align:center}
  .ft-links .row{justify-content:center}
  .social{justify-content:center}
  .ft-tui{margin-left:0}
}

/* ---- mobile drawer ---- */
@media(max-width:960px){
  .nav-links{display:none}
  .nav-links.open{
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:0;
    position:fixed;
    top:var(--nav-h-m);
    left:0;right:0;bottom:0;
    height:calc(100vh - var(--nav-h-m));
    height:calc(100dvh - var(--nav-h-m));
    max-height:calc(100vh - var(--nav-h-m));
    max-height:calc(100dvh - var(--nav-h-m));
    background:rgb(2,47,89);            /* fully opaque — page must not bleed through */
    z-index:90;                          /* below header so the X stays tappable */
    padding:16px 24px 80px;              /* extra bottom padding for iOS home indicator */
    overflow-y:auto;
    overflow-x:hidden;
    -webkit-overflow-scrolling:touch;
    overscroll-behavior:contain;
  }
  body.admin-bar .nav-links.open{
    top:calc(var(--nav-h-m) + 46px);
    height:calc(100vh - var(--nav-h-m) - 46px);
    height:calc(100dvh - var(--nav-h-m) - 46px);
    max-height:calc(100vh - var(--nav-h-m) - 46px);
    max-height:calc(100dvh - var(--nav-h-m) - 46px);
  }
  .nav-links.open li{width:100%;border-bottom:1px solid rgba(255,255,255,.09)}
  .nav-links.open a{display:block;width:100%;padding:16px 2px;color:#dce8f3;font-size:13px;letter-spacing:2.5px;white-space:normal}
  .nav-links.open>li.current-menu-item>a,
  .nav-links.open>li.current_page_item>a,
  .nav-links.open>li.on>a{color:#fff}
  .nav-links.open>li.current-menu-item>a::after,
  .nav-links.open>li.current_page_item>a::after,
  .nav-links.open>li.on>a::after{content:none}
  .nav-links.open li.menu-item-has-children>a::before{content:none}

  /* sub-menus: :hover/:focus-within never fire on touch — force them open and indented */
  .nav-links.open .sub-menu{
    display:block!important;
    position:static;
    visibility:visible;
    opacity:1;
    min-width:0;
    box-shadow:none;
    background:rgba(255,255,255,.03);
    border-left:2px solid var(--accent);
    margin-left:8px;
    padding:0 0 0 14px;
  }
  .nav-links.open .sub-menu li:last-child{border-bottom:0}
  .nav-links.open .sub-menu a{padding:13px 2px;font-size:12px;color:#b9cfe2;background:none}

  /* the mobile drawer carries the header-right actions too */
  .nav-links.open .mobile-extra{display:block}
  .nav-links.open .mobile-extra a{color:#9ed6ef;font-weight:600}

  /* scroll lock — the html+body pair is required on iOS */
  html.nav-open,body.nav-open{overflow:hidden!important;height:100%;touch-action:none}
}

@media(max-width:600px){
  .cat-row{grid-template-columns:1fr 1fr}
  .offer-grid{grid-template-columns:1fr;grid-template-rows:auto}
  .promo-panel{grid-column:1/2}
  .hcard{height:200px}
  .hero-title h1{font-size:32px;letter-spacing:8px;text-indent:8px}
  .page-hero h1{font-size:24px;letter-spacing:4px}
  body.admin-bar header.site-header{top:0}
}

@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important;scroll-behavior:auto!important}
}

/* =========================================================================
   SAFARI PACKAGES (added — the source design had no equivalent screen)
   Nothing above this line is modified; these rules only style the new
   /kenya-safaris/ archive, the single package template and the breadcrumb
   trail, reusing the existing palette and type scale.
   ====================================================================== */

/* breadcrumbs */
.crumbs{margin:0 0 30px}
.crumbs ol{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px;font-family:'Jost';font-size:11px;letter-spacing:1.5px;text-transform:uppercase}
.crumbs li{color:#a7b3bf}
.crumbs li+li::before{content:"\203A";margin-right:8px;color:#c3ced9}
.crumbs a{color:var(--accent);border:0}
.crumbs a:hover{color:var(--cyan)}

/* archive intro */
.pkg-intro{padding-bottom:0}
.pkg-intro .lead{font-size:15px;line-height:2}

/* archive cards */
.pkg-card .thumb{position:relative;display:block}
.pkg-badge{position:absolute;top:0;left:0;background:var(--cyan);color:#fff;font-family:'Jost';font-size:10.5px;letter-spacing:2px;font-weight:600;text-transform:uppercase;padding:7px 14px;z-index:2}
.pkg-card .pkg-parks{font-family:'Jost';font-size:10.5px;letter-spacing:1.5px;text-transform:uppercase;color:#a7b3bf;margin-top:10px;line-height:1.7}
.pkg-foot{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:6px}
.pkg-price{font-family:'Jost';font-size:22px;font-weight:300;letter-spacing:1px;color:var(--head);white-space:nowrap}
.pkg-price small{font-size:10px;letter-spacing:1.5px;text-transform:uppercase;color:#a7b3bf}
.pkg-foot .section-readmore{margin-top:0}

/* single package fact bar */
.pkg-facts{max-width:900px;margin:26px auto 0;padding:0 24px;display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:#e3e9ef;border:1px solid #e3e9ef}
.pkg-facts .fact{background:#fff;padding:20px 22px}
.pkg-facts .fact.wide{grid-column:1/4}
.pkg-facts .k{display:block;font-family:'Jost';font-size:10px;letter-spacing:2.5px;text-transform:uppercase;color:#a7b3bf;margin-bottom:7px}
.pkg-facts .v{display:block;font-family:'Jost';font-size:16px;letter-spacing:1px;color:var(--head);font-weight:400;line-height:1.5}
.pkg-facts .v small{font-size:11px;letter-spacing:1px;color:#a7b3bf;text-transform:uppercase}
.pkg-cta{grid-column:1/4;background:var(--deep);color:#fff;text-align:center;font-family:'Jost';font-size:12px;letter-spacing:2.5px;font-weight:600;text-transform:uppercase;padding:19px 20px;transition:background .3s}
.pkg-cta:hover{background:var(--cyan);color:#fff}

/* single package body */
.pkg-destinations{background:var(--panel);border-left:3px solid var(--accent);padding:16px 20px;font-size:14.5px;line-height:1.85}
.pkg-destinations strong{font-family:'Jost';letter-spacing:1.5px;text-transform:uppercase;font-size:12px;color:var(--head)}
.page-content .pkg-tailnote{margin-top:40px;padding-top:26px;border-top:1px solid #e3e9ef;font-size:14.5px}

@media(max-width:760px){
  .pkg-facts{grid-template-columns:1fr 1fr;margin-top:20px}
  .pkg-facts .fact.wide,.pkg-cta{grid-column:1/3}
}

@media(max-width:480px){
  .pkg-facts{grid-template-columns:1fr}
  .pkg-facts .fact.wide,.pkg-cta{grid-column:1/2}
}

/* =========================================================================
   READABILITY SCALE
   The ported design was drawn small — 16px body copy and a lot of 10-13px
   labels. Everything below enlarges the type and gives the fixed-width
   containers room to hold it.

   The primary nav is deliberately excluded: .nav-links is measured to fit
   exactly five top-level items in the 681px the 1200px header leaves it, and
   raising its font size overflows the header into horizontal scroll.
   ====================================================================== */

body{font-size:17px}

/* ---- hero ---- */
.official .glyph{font-size:26px}
.official p{font-size:11px}
.official p span{font-size:9px}
.hero-title h1{font-size:84px}
.hero-title p{font-size:17px}

/* ---- booking bar ---- */
.bookbar .bk-title{font-size:20px}
.field{font-size:14px;height:58px}
.f-hotel{width:185px}
.f-date{width:108px}
.f-date b{font-size:26px}
.f-date span{font-size:11.5px}
.to{font-size:14px}
.promo{font-size:13px;width:142px}
.check{height:58px;padding:0 30px}
.check b{font-size:14px}
.check span{font-size:9.5px}
.bestprice h3{font-size:23px}
.bestprice p{font-size:12.5px}

/* ---- section furniture ---- */
.kick{font-size:13px}
.sec-title{font-size:30px}
.welcome p.lead{font-size:17px}
.cnav{font-size:16px}

/* ---- cards ---- */
.cat{height:250px}
.cat span{font-size:13px}
.hcard span{font-size:12.5px}
.dcard{height:258px}
.dcard .lbl{font-size:13px}
.dcard.active .ov h3{font-size:36px}
.dcard.active .ov p{font-size:13px}
.dcard.active .ov .go{font-size:14px;width:32px;height:32px}

/* ---- offers panel ---- */
.promo-panel h3{font-size:23px}
.promo-panel p.d{font-size:14.5px;max-width:250px}
.promo-panel .from{font-size:13px}
.promo-panel .price{font-size:38px}
.promo-panel .vat{font-size:12px}
.promo-panel .book{font-size:13px;padding:14px 38px}

/* ---- article body: the main reading surface ---- */
.page-hero h1{font-size:40px}
/* Column held at the design's 820px: at 18.5px that lands near 85 characters
   a line, where the old 16px text ran past 100. */
.page-content{font-size:18.5px;line-height:1.9;max-width:820px}
.page-content h2{font-size:27px}
.page-content h3{font-size:21px}
.page-content li{margin-bottom:11px}
.page-content table{font-size:16px}
.page-content th{font-size:13.5px}
.page-content blockquote{font-size:18px}

/* ---- archive cards ---- */
.post-card .thumb{height:210px}
.post-card .body{padding:26px}
.post-card h2{font-size:17.5px}
.post-card p{font-size:15px}
.section-readmore{font-size:.82rem}
.post-nav{font-size:13px}

/* ---- footer ---- */
.ft-logo .glyph{font-size:30px}
.ft-logo small{font-size:8.5px}
.ft-links .row a{font-size:13px}
.ft-links .by{font-size:12px}
.ft-links .find{font-size:13px}
.ft-tui{font-size:34px}

/* ---- safari packages ---- */
.crumbs ol{font-size:12.5px}
.pkg-intro .lead{font-size:17.5px}
.pkg-badge{font-size:12px;padding:8px 16px}
.pkg-card .pkg-parks{font-size:12px}
.pkg-price{font-size:26px}
.pkg-price small{font-size:11.5px}
.pkg-facts .k{font-size:11.5px}
.pkg-facts .v{font-size:18.5px}
.pkg-facts .v small{font-size:12.5px}
.pkg-cta{font-size:13.5px;padding:22px 20px}
.pkg-destinations{font-size:17px}
.pkg-destinations strong{font-size:13.5px}
.page-content .pkg-tailnote{font-size:17px}

/* ---- wider containers so the larger type has room ----
   Scoped to desktop so the design's own small-screen grid rules keep winning. */
@media(min-width:961px){
  .bookbar{width:min(1080px,94vw)}
  .cat-row{width:min(1080px,94vw)}
  .offer-grid{width:min(1080px,94vw);grid-template-columns:repeat(3,1fr);grid-template-rows:262px 262px}
  .dest-grid{width:min(1080px,94vw)}
  .post-thumb{max-width:1080px}
  .post-list{max-width:1120px;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:38px}
  .pkg-facts{max-width:1080px}
}

/* ---- the design's own responsive type steps, restated at the new scale ---- */
@media(max-width:960px){
  .hero-title h1{font-size:52px}
  .hero-title p{font-size:14px}
  .bookbar .bk-title{font-size:17px}
  .bestprice h3{font-size:18px}
  .page-content{font-size:17.5px}
}

@media(max-width:600px){
  .hero-title h1{font-size:38px}
  .page-hero h1{font-size:28px}
  .sec-title{font-size:25px}
  .page-content{font-size:17px}
  .page-content h2{font-size:23px}
  .page-content h3{font-size:19px}
}

/* ---- the last of the very small text ----
   Carets and the ")( )(" logo glyph are left alone: they are shapes, not words. */
.logo-mark small{font-size:11px;letter-spacing:2.5px}
.ft-logo small{font-size:11px;letter-spacing:2px;line-height:1.6}
.official p span{font-size:12px}
.check span{font-size:11.5px}
.f-date span{font-size:12.5px}
.pkg-price small{font-size:12.5px}
.pkg-facts .k{font-size:12.5px}
.wp-caption-text{font-size:13.5px}
.screen-reader-text:focus{font-size:15px}

@media(max-width:960px){
  .logo-mark small{font-size:8.5px;letter-spacing:1.5px}
}
