/* Wild Sights Safaris — destinations and experiences. No versioned filenames.
   Primary orange #F4A00D; secondary green #5CA11F. */
:root { --wsd-orange:#F4A00D; --wsd-orange-text:#AD5700; --wsd-green:#5CA11F; --wsd-ink:#172a24; --wsd-muted:#627067; --wsd-cream:#faf8f3; --wsd-line:#e6e9e1; --wsd-header-height:0px; }
.wsd-body { color:var(--wsd-ink); font-family:'Kumbh Sans',Arial,sans-serif; }
.wsd-body *, .wsd-body *::before, .wsd-body *::after { box-sizing:border-box; }
.wsd-body .wsd-container { width:80%; max-width:1590px; margin-inline:auto; }
.wsd-body .wsd-section { padding:clamp(42px,5vw,84px) 0; }
.wsd-body h1,.wsd-body h2,.wsd-body h3 { letter-spacing:-.035em; line-height:1.18; }
.wsd-body a:focus-visible,.wsd-body button:focus-visible,.wsd-body input:focus-visible,.wsd-body select:focus-visible { outline:3px solid var(--wsd-orange); outline-offset:3px; }
.wsd-eyebrow { display:block; font-size:11px; line-height:1.45; font-weight:800; letter-spacing:.16em; color:var(--wsd-orange-text); margin-bottom:12px; }
.wsd-eyebrow-light { color:#ffbc52; }

/* Full viewport-width photographed hero, including behind the left-side copy. */
.wsd-body .wsd-hero { position:relative; isolation:isolate; min-height:clamp(305px,32vw,460px); overflow:hidden; display:flex; align-items:center; background:#234c35; color:#fff; }
.wsd-body .wsd-hero::before { content:""; z-index:-2; position:absolute; inset:0; background-image:var(--wsd-cover,none); background-size:cover; background-position:center 45%; background-repeat:no-repeat; }
.wsd-body .wsd-hero .wsd-hero-shade { position:absolute; inset:0; z-index:-1; background:rgba(13,29,23,.57); }
.wsd-body .wsd-hero-content { padding:60px 0 58px; position:relative; }
.wsd-body .wsd-hero h1 { max-width:930px; font-size:clamp(36px,5vw,67px); font-weight:750; color:#fff; margin:9px 0 15px; text-wrap:balance; }
.wsd-body .wsd-hero p { font-size:clamp(14px,1.2vw,17px); line-height:1.75; max-width:760px; margin:0; color:rgba(255,255,255,.93); }
.wsd-breadcrumbs { display:flex; align-items:center; flex-wrap:wrap; gap:9px; color:#fff; font-size:12px; line-height:1.7; margin-bottom:30px; }
.wsd-breadcrumbs a,.wsd-breadcrumbs span { color:#fff; text-decoration:none; }
.wsd-breadcrumbs a:hover { color:#ffbb54; }
.wsd-breadcrumbs [aria-current] { color:#f7f4ec; font-weight:700; }
.wsd-detail-hero { min-height:clamp(350px,37vw,500px); }
.wsd-detail-hero .wsd-hero-content { padding-block:70px; }

/* Original WordPress intro. All text is read from the preserved record. */
.wsd-intro-section { padding-bottom:34px !important; }
.wsd-intro { max-width:1250px !important; text-align:center; }
.wsd-intro .wsd-intro-copy { max-width:1000px; margin-inline:auto; font-size:clamp(15px,1.13vw,17px); line-height:1.95; color:var(--wsd-muted); }
.wsd-intro-copy p { margin:0 0 12px; }
.wsd-heading-row { display:flex; align-items:end; justify-content:space-between; gap:28px; margin-bottom:26px; }
.wsd-heading-row h2 { margin:0; font-size:clamp(26px,3vw,40px); font-weight:750; color:var(--wsd-ink); }
.wsd-heading-row > p { max-width:350px; color:var(--wsd-muted); line-height:1.75; font-size:14px; margin:0 0 3px; }
.wsd-simple-link { text-decoration:none; color:var(--wsd-orange-text); font-size:13px; font-weight:700; border-bottom:1px solid var(--wsd-orange); padding-bottom:5px; }

/* Four historical source category pages; never synthetic URL slugs. */
.wsd-categories-section { background:var(--wsd-cream); }
.wsd-category-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
.wsd-category-card { position:relative; display:block; isolation:isolate; overflow:hidden; min-height:clamp(195px,20vw,280px); border-radius:18px; text-decoration:none; background:#35604c; color:#fff; box-shadow:0 6px 19px rgba(12,25,16,.08); }
.wsd-category-card > img { position:absolute; width:100%; height:100%; inset:0; object-fit:cover; transition:transform .5s ease; }
.wsd-category-card:hover > img { transform:scale(1.045); }
.wsd-category-shade { position:absolute; inset:0; background:rgba(9,26,16,.46); }
.wsd-category-inner { position:absolute; bottom:17px; left:18px; right:18px; display:flex; flex-direction:column; gap:5px; color:#fff; }
.wsd-category-inner span { font-size:11px; font-weight:650; color:#fff; }
.wsd-category-inner strong { font-size:clamp(17px,1.4vw,23px); letter-spacing:-.02em; color:#fff; line-height:1.25; }

/* Directory filters, compact enough to remain usable while scrolling. */
.wsd-list-section { background:#fff; }
.wsd-filter-stick { position:sticky; top:calc(var(--wsd-header-height,0px) + 10px); z-index:19; margin:14px 0 22px; }
.wsd-search-form { background:#fff; border:1px solid var(--wsd-line); border-radius:17px; padding:14px; display:flex; align-items:end; gap:12px; box-shadow:0 10px 35px rgba(10,25,18,.08); }
.wsd-search-field,.wsd-select-field { flex:1; min-width:0; display:flex; flex-direction:column; gap:7px; }
.wsd-search-field { flex:1.6; }
.wsd-search-form label > span { font-size:11px; font-weight:750; color:var(--wsd-ink); }
.wsd-search-form input,.wsd-search-form select { width:100%; min-width:0; min-height:47px; border:1px solid #e0e5dd; border-radius:10px; padding:10px 13px; background:#fff; color:var(--wsd-ink); outline-offset:2px; font:inherit; font-size:13px; }
.wsd-search-form input::placeholder { color:#8b958e; }
.wsd-search-button { min-height:47px; padding:0 17px; border:none; border-radius:10px; background:var(--wsd-orange); color:#18251e; font:inherit; font-size:12px; font-weight:800; cursor:pointer; white-space:nowrap; }
.wsd-search-button:hover { filter:brightness(.96); }
.wsd-search-button span { margin-left:7px; }
.wsd-clear { padding:13px 3px; font-size:12px; font-weight:700; text-decoration:none; color:var(--wsd-orange-text); }
.wsd-results-meta { color:var(--wsd-muted); font-size:13px; padding:8px 1px 20px; }
.wsd-results-meta strong { color:var(--wsd-ink); }

/* Equal height cards, existing thumbnails + link paths. */
.wsd-card-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:20px; }
.wsd-card { display:flex; flex-direction:column; min-width:0; background:#fff; overflow:hidden; border:1px solid var(--wsd-line); border-radius:17px; box-shadow:0 7px 27px rgba(17,44,24,.05); transition:transform .2s ease,box-shadow .2s ease; }
.wsd-card:hover { transform:translateY(-3px); box-shadow:0 14px 30px rgba(17,44,24,.1); }
.wsd-card-photo { display:block; position:relative; aspect-ratio:4/3; overflow:hidden; background:#e8ece7; }
.wsd-card-photo > img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .35s ease; }
.wsd-card:hover .wsd-card-photo > img { transform:scale(1.04); }
.wsd-image-placeholder { display:flex; align-items:center; justify-content:center; width:100%; height:100%; color:#425f47; font-weight:700; }
.wsd-card-badge { position:absolute; left:12px; bottom:12px; display:inline-block; max-width:calc(100% - 24px); background:var(--wsd-green); color:#fff; font-size:10px; padding:7px 10px; border-radius:6px; font-weight:800; text-transform:uppercase; letter-spacing:.045em; }
.wsd-card-body { display:flex; flex:1; flex-direction:column; gap:13px; padding:19px; }
.wsd-card-body h3 { font-size:clamp(16px,1.22vw,20px); font-weight:750; margin:0; line-height:1.42; min-height:2.75em; }
.wsd-card-body h3 a { color:var(--wsd-ink); text-decoration:none; }
.wsd-card-body h3 a:hover { color:var(--wsd-orange-text); }
.wsd-card-body p { color:var(--wsd-muted); font-size:12px; line-height:1.8; margin:0 0 6px; }
.wsd-card-action { margin-top:auto; display:flex; align-items:center; justify-content:space-between; gap:12px; border:1px solid var(--wsd-orange); border-radius:9px; padding:12px; color:var(--wsd-ink); font-size:12px; font-weight:750; text-decoration:none; background:#fffdf7; }
.wsd-card-action:hover { background:var(--wsd-orange); }
.wsd-pagination { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:8px; margin-top:34px; }
.wsd-pagination a,.wsd-pagination span { min-width:41px; min-height:40px; padding:8px 12px; display:inline-flex; justify-content:center; align-items:center; text-decoration:none; font-weight:750; font-size:12px; border:1px solid var(--wsd-line); border-radius:9px; color:var(--wsd-ink); background:#fff; }
.wsd-pagination .wsd-page-current { border-color:var(--wsd-green); background:var(--wsd-green); color:#fff; }
.wsd-pagination .wsd-page-disabled { color:#9ea89c; }
.wsd-pagination a:hover { background:#fcf4df; border-color:var(--wsd-orange); }
.wsd-empty { padding:50px 18px; text-align:center; border:1px dashed var(--wsd-line); border-radius:14px; }
.wsd-empty p { color:var(--wsd-muted); }
.wsd-empty a { color:var(--wsd-orange-text); font-weight:750; }

/* Detail pages: identical source HTML and metadata, completely new presentation. */
.wsd-detail-section { padding-top:68px !important; }
.wsd-detail-layout { display:grid; grid-template-columns:minmax(0,1.7fr) minmax(300px,.75fr); align-items:start; gap:clamp(24px,4.5vw,70px); }
.wsd-detail-article { min-width:0; }
.wsd-detail-intro { margin-bottom:25px; padding-bottom:22px; border-bottom:1px solid var(--wsd-line); }
.wsd-detail-intro h2 { font-size:clamp(27px,3vw,41px); margin:0; }
.wsd-original-content { overflow-wrap:anywhere; font-size:15px; line-height:1.88; color:#404d44; }
.wsd-original-content > :first-child { margin-top:0; }
.wsd-original-content p { margin:0 0 18px; }
.wsd-original-content h2 { font-size:clamp(22px,2.15vw,31px); font-weight:750; margin:30px 0 14px; color:var(--wsd-ink); }
.wsd-original-content h3 { font-size:clamp(18px,1.6vw,25px); font-weight:750; margin:24px 0 12px; color:var(--wsd-ink); }
.wsd-original-content :is(h4,h5,h6) { margin:18px 0 10px; color:var(--wsd-ink); }
.wsd-original-content a { color:var(--wsd-orange-text); text-underline-offset:3px; }
.wsd-original-content img { display:block; max-width:100%; width:auto; height:auto; border-radius:12px; margin:17px 0; }
.wsd-original-content figure { max-width:100%; margin:20px 0; }
.wsd-original-content :is(iframe,video) { max-width:100%; }
.wsd-original-content :is(ul,ol) { padding-left:1.45em; margin:12px 0 20px; }
.wsd-original-content li { margin-bottom:8px; }
.wsd-original-content :is(table,pre) { max-width:100%; overflow-x:auto; }
.wsd-original-content table { display:block; }
.wsd-original-content blockquote { border-left:3px solid var(--wsd-orange); padding:12px 18px; margin:22px 0; background:var(--wsd-cream); }
.wsd-detail-sidebar { position:sticky; top:calc(var(--wsd-header-height,0px) + 12px); }
.wsd-sidebar-panel { padding:25px; border:1px solid var(--wsd-line); box-shadow:0 14px 38px rgba(17,44,24,.06); border-radius:17px; background:#fff; }
.wsd-sidebar-panel h2 { color:var(--wsd-ink); font-size:clamp(20px,1.8vw,28px); margin:0 0 10px; }
.wsd-sidebar-panel p { font-size:13px; line-height:1.78; color:var(--wsd-muted); margin:0 0 19px; }
.wsd-button { display:flex; justify-content:center; align-items:center; gap:9px; font-size:13px; font-weight:800; padding:13px; min-height:46px; border-radius:9px; text-decoration:none; margin-bottom:10px; }
.wsd-button-primary { color:#15251a; background:var(--wsd-orange); }
.wsd-button-green { color:#fff; background:var(--wsd-green); }
.wsd-button-green img { display:block; object-fit:contain; }
.wsd-sidebar-back { display:inline-block; font-size:12px; font-weight:750; margin:8px 0 0; color:var(--wsd-orange-text); text-decoration:none; }
.wsd-side-category { display:block; border:1px solid var(--wsd-line); background:var(--wsd-cream); padding:18px 20px; border-radius:13px; margin-top:16px; text-decoration:none; }
.wsd-side-category span:first-child { display:block; color:var(--wsd-orange-text); font-size:10px; letter-spacing:.1em; font-weight:800; }
.wsd-side-category strong { color:var(--wsd-ink); display:inline-block; margin-top:7px; }
.wsd-side-category span:last-child { float:right; color:var(--wsd-orange-text); }
.wsd-related-section { border-top:1px solid var(--wsd-line); }
.wsd-related-section.wsd-soft { background:var(--wsd-cream); }
.wsd-related-safari-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; }
.wsd-related-safari-grid > * { min-width:0; }
.wsd-related-grid { margin-top:18px; }

@media(max-width:1199px) {
  .wsd-body .wsd-container { width:90%; }
  .wsd-card-grid,.wsd-related-safari-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .wsd-category-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .wsd-detail-layout { grid-template-columns:minmax(0,1.5fr) minmax(260px,.85fr); gap:24px; }
  .wsd-search-form { flex-wrap:wrap; }
  .wsd-search-field { flex-basis:38%; }
  .wsd-select-field { flex-basis:23%; }
}
@media(max-width:900px) {
  .wsd-card-grid,.wsd-related-safari-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .wsd-detail-layout { display:flex; flex-direction:column; }
  .wsd-detail-sidebar { width:100%; position:static; }
  .wsd-detail-article { width:100%; }
  .wsd-filter-stick { position:static; }
  .wsd-search-form { box-shadow:0 7px 22px rgba(10,25,18,.07); }
}
@media(max-width:600px) {
  .wsd-body .wsd-container { width:92%; }
  .wsd-body .wsd-section { padding:38px 0; }
  .wsd-body .wsd-hero { min-height:310px; }
  .wsd-body .wsd-hero-content { padding:36px 0 42px; }
  .wsd-breadcrumbs { margin-bottom:19px; font-size:11px; gap:6px; }
  .wsd-body .wsd-hero h1 { font-size:clamp(32px,9vw,44px); }
  .wsd-heading-row { display:block; }
  .wsd-heading-row > p { margin-top:10px; }
  .wsd-intro { text-align:left; }
  .wsd-category-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
  .wsd-category-card { min-height:180px; border-radius:12px; }
  .wsd-category-inner { bottom:12px; left:12px; right:12px; }
  .wsd-category-inner strong { font-size:16px; }
  .wsd-card-grid,.wsd-related-safari-grid { grid-template-columns:minmax(0,1fr); }
  .wsd-search-form { display:grid; grid-template-columns:1fr; gap:10px; padding:13px; }
  .wsd-search-field,.wsd-select-field { width:100%; flex:auto; }
  .wsd-search-button { width:100%; }
  .wsd-original-content { font-size:14px; }
  .wsd-sidebar-panel { padding:19px; }
}
@media(prefers-reduced-motion:reduce) { .wsd-category-card img,.wsd-card,.wsd-card img { transition:none !important; } }
