/* Wild Sights Safaris — standalone safari tours directory styles. No version suffixes. */
.ws-safari-tour-page{--ws-tours-green:#5CA11F;--ws-tours-gold:#F4A00D;--ws-tours-text:#152b25;--ws-tours-muted:#65736c;background:#fff;color:var(--ws-tours-text)}
.ws-safari-tour-page .container{width:80%;max-width:1600px;margin-inline:auto}
.ws-tours-hero{isolation:isolate;min-height:330px;position:relative;display:flex;align-items:center;color:white;background:#5CA11F;overflow:hidden}
.ws-tours-hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 43%;z-index:-2}
.ws-tours-hero-shade{position:absolute;inset:0;background:rgba(7,32,25,.67);z-index:-1}
.ws-tours-hero-inner{padding-top:56px;padding-bottom:75px}
.ws-tours-breadcrumbs{display:flex;align-items:center;gap:12px;flex-wrap:wrap;color:#e8eee8;font-size:12px;margin-bottom:29px}
.ws-tours-breadcrumbs a:hover{text-decoration:underline;text-underline-offset:3px}
.ws-tours-eyebrow{display:block;margin:0 0 11px;color:#b78b34;font-size:11px;font-weight:800;letter-spacing:2.1px;text-transform:uppercase}
.ws-tours-hero .ws-tours-eyebrow{color:#e8bf72}
.ws-tours-hero h1{color:#fff;font-size:clamp(37px,4.2vw,58px);line-height:1.14;letter-spacing:-.8px;margin:0;font-weight:700}
.ws-tours-hero-caption{font-size:15px;color:#eef1ed;margin:12px 0 0}
.ws-tours-original-intro{padding:68px 0 57px}
.ws-tours-intro-inner{display:grid;grid-template-columns:minmax(180px,.55fr) minmax(0,1.8fr);column-gap:clamp(35px,6vw,95px);align-items:start}
.ws-tours-intro-side{padding-top:11px}
.ws-tours-intro-caption{color:var(--ws-tours-green);font-size:21px;font-weight:600;line-height:1.45;margin:0;max-width:230px}
.ws-tours-original-copy{min-width:0;color:#45584e;font-size:15px;line-height:1.85}
.ws-tours-original-copy h2{color:var(--ws-tours-green);font-size:clamp(27px,3vw,36px);line-height:1.25;letter-spacing:-.4px;margin:0 0 20px;text-align:left}
.ws-tours-original-copy p{margin:0 0 16px;line-height:1.85;font-size:15px}
.ws-tours-listings{background:#f8f8f5;padding:68px 0 88px}
.ws-tours-section-heading{display:flex;align-items:end;justify-content:space-between;gap:22px;margin-bottom:27px}
.ws-tours-section-heading h2{font-size:clamp(28px,3vw,37px);font-weight:650;line-height:1.22;color:var(--ws-tours-green);margin:0 0 9px;letter-spacing:-.6px}
.ws-tours-section-heading p{color:var(--ws-tours-muted);font-size:14px;margin:0}
.ws-tours-total{display:flex;align-items:baseline;gap:9px;white-space:nowrap;border-bottom:2px solid var(--ws-tours-gold);padding-bottom:7px}
.ws-tours-total strong{color:var(--ws-tours-green);font-size:29px;line-height:1}
.ws-tours-total span{font-size:12px;font-weight:700;color:var(--ws-tours-muted)}
.ws-tours-filter-panel{background:#fff;border:1px solid #e8e9e3;border-radius:15px;padding:24px;box-shadow:0 12px 36px #5CA11F0d;margin-bottom:28px}
.ws-tours-filter-heading{display:flex;align-items:baseline;gap:15px;flex-wrap:wrap;margin-bottom:18px}
.ws-tours-filter-heading .ws-tours-eyebrow{margin:0}
.ws-tours-filter-heading h3{font-size:19px;color:var(--ws-tours-green);line-height:1.3;margin:0;font-weight:700}
.ws-tours-filter-grid{display:grid;grid-template-columns:minmax(160px,1.5fr) repeat(3,minmax(115px,1fr)) minmax(135px,1fr) auto;gap:12px;align-items:end}
.ws-tours-field{display:flex;flex-direction:column;gap:7px;min-width:0;font-size:12px;font-weight:700;color:var(--ws-tours-green)}
.ws-tours-field select,.ws-tours-field input{width:100%;min-width:0;height:46px;border:1px solid #dfe5dd;border-radius:8px;background:white;font-size:12px;color:#263c31;padding:0 11px;outline-offset:2px}
.ws-tours-field input{border:none;height:43px;padding-left:0;outline:none;min-width:0}
.ws-tours-field input::placeholder{color:#7c8880}
.ws-tours-input-wrap{border:1px solid #dfe5dd;border-radius:8px;display:flex;align-items:center;gap:9px;padding:0 10px;color:#6b8271;min-width:0}
.ws-tours-input-wrap:focus-within{border-color:#a9874e;box-shadow:0 0 0 3px #F4A00D24}
.ws-tours-find{height:46px;border:0;border-radius:8px;background:var(--ws-tours-green);color:#fff;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 19px;font-size:12px;font-weight:800;white-space:nowrap;cursor:pointer}
.ws-tours-find:hover{background:#5CA11F}
.ws-tours-reset{display:inline-flex;gap:7px;align-items:center;color:#856223;font-size:12px;font-weight:800;margin-top:14px}
.ws-tours-reset:hover{text-decoration:underline}
.ws-tours-results-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:24px 0 19px}
.ws-tours-results-heading p{font-size:13px;color:#52645a;margin:0}
.ws-tours-results-heading strong{color:var(--ws-tours-green)}
.ws-tours-active-indicator{color:#7b632d;font-size:12px;font-weight:700}
.ws-safari-tour-page .ws-safari-tour-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;align-items:stretch}
.ws-safari-tour-page .ws-safari-tour-grid>.tour-card{height:100%;min-width:0;border-radius:13px;overflow:hidden;background:#fff;border:1px solid #ecece6;box-shadow:0 4px 15px #1b3b2e0a;display:flex;flex-direction:column}
.ws-safari-tour-page .ws-safari-tour-grid .tour-image{aspect-ratio:1.37;min-height:0;border-radius:0}
.ws-safari-tour-page .ws-safari-tour-grid .tour-image img{width:100%;height:100%;object-fit:cover}
.ws-safari-tour-page .ws-safari-tour-grid .tour-content{padding:18px 15px 16px;display:flex;flex-direction:column;flex:1}
.ws-safari-tour-page .ws-safari-tour-grid .tour-content h3{font-size:15px;line-height:1.45;min-height:0}
.ws-safari-tour-page .ws-safari-tour-grid .tour-content>p{font-size:12px;line-height:1.72;color:#67756d}
.ws-safari-tour-page .ws-safari-tour-grid .image-tag{background:var(--ws-tours-green)!important;color:white!important}
.ws-safari-tour-page .ws-safari-tour-grid .tour-card-actions{margin-top:auto}
.ws-safari-tour-page .ws-safari-tour-grid .tour-card-actions a{min-height:43px;border-radius:8px;font-size:12px}
.ws-tours-pagination{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:7px;margin-top:39px}
.ws-tours-pagination a,.ws-tours-pagination span{border:1px solid #dde6db;min-height:39px;min-width:39px;padding:8px 12px;border-radius:8px;display:inline-flex;justify-content:center;align-items:center;text-align:center;font-size:12px;font-weight:700;color:var(--ws-tours-green);background:#fff}
.ws-tours-pagination a:hover,.ws-tours-pagination .ws-tours-page-current{background:var(--ws-tours-green);color:#fff;border-color:var(--ws-tours-green)}
.ws-tours-pagination .ws-tours-page-disabled{opacity:.5;cursor:not-allowed;background:#f1f3ee}
.ws-tours-pagination .ws-tours-page-ellipsis{border:0;background:transparent;min-width:19px;padding:5px}
.ws-tours-no-results{border:1px dashed #bdcbbf;padding:48px 20px;text-align:center;background:#fff;border-radius:13px;color:#567064}
.ws-tours-no-results svg{margin:auto}
.ws-tours-no-results h3{font-size:21px;margin:12px 0 5px;color:var(--ws-tours-green)}
.ws-tours-no-results p{font-size:14px;margin:0 auto 20px;max-width:400px}
.ws-tours-reset-button{display:inline-flex;background:var(--ws-tours-green);color:#fff;padding:12px 19px;border-radius:8px;font-size:12px;font-weight:700}
@media(max-width:1450px){.ws-tours-filter-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.ws-tours-field-keyword{grid-column:span 2}.ws-tours-find{align-self:end}}
@media(max-width:1080px){.ws-safari-tour-page .container{width:90%}.ws-safari-tour-page .ws-safari-tour-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ws-tours-intro-inner{grid-template-columns:1fr;gap:13px}.ws-tours-intro-caption{max-width:none}.ws-tours-original-intro{padding:48px 0}}
@media(max-width:750px){.ws-tours-hero{min-height:270px}.ws-tours-hero-inner{padding:41px 0 55px}.ws-tours-hero h1{font-size:37px}.ws-tours-listings{padding:42px 0 65px}.ws-tours-section-heading{align-items:start}.ws-tours-section-heading h2{font-size:29px}.ws-tours-total{flex:none}.ws-tours-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ws-tours-field-keyword{grid-column:span 2}.ws-tours-filter-panel{padding:19px}}
@media(max-width:590px){.ws-safari-tour-page .container{width:calc(100% - 30px)}.ws-tours-original-intro{padding:39px 0}.ws-tours-original-copy h2{font-size:26px}.ws-tours-original-copy p{font-size:14px;line-height:1.8}.ws-tours-section-heading{display:block}.ws-tours-total{margin-top:12px;width:max-content}.ws-tours-filter-grid{grid-template-columns:1fr}.ws-tours-field-keyword{grid-column:span 1}.ws-tours-filter-panel{padding:17px 15px}.ws-safari-tour-page .ws-safari-tour-grid{grid-template-columns:1fr;gap:17px}.ws-safari-tour-page .ws-safari-tour-grid .tour-content h3{font-size:18px}.ws-tours-find{width:100%}.ws-tours-hero-shade{background:rgba(7,32,25,.68)}.ws-tours-results-heading{align-items:start;flex-direction:column;gap:5px}}
@media(prefers-reduced-motion:reduce){.ws-safari-tour-page .tour-card,.ws-safari-tour-page .tour-image img{transition:none!important}}


/* ========= SAFARI TOURS REFINEMENT — balanced intro, sticky search, uncropped cover =========
   Local only; scoped to the Safari Tours page. No versioned stylesheets. */

/* One full-width photographic background (no separate right-hand photo panel).
   Cover fills the viewport; on wide screens a small amount of vertical crop is
   unavoidable, so the height and focal position keep the elephants prominent. */
.ws-safari-tour-page .ws-tours-hero {
  height: clamp(400px, 35vw, 625px);
  min-height: 0;
  align-items: center;
  background: #5CA11F;
  isolation: isolate;
}
.ws-safari-tour-page .ws-tours-hero > img.ws-tours-hero-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
  opacity: 1;
  filter: none;
  transform: none;
  z-index: -2;
  pointer-events: none;
}
/* The previous foreground copy created the half-width/split hero. */
.ws-safari-tour-page .ws-tours-hero > img.ws-tours-hero-photo {
  display: none;
}
.ws-safari-tour-page .ws-tours-hero-shade {
  background: linear-gradient(90deg,
    rgba(6, 30, 24, .86) 0%,
    rgba(6, 30, 24, .65) 34%,
    rgba(6, 30, 24, .26) 66%,
    rgba(6, 30, 24, .10) 100%);
  z-index: -1;
}
.ws-safari-tour-page .ws-tours-hero-inner {
  position: relative;
  z-index: 1;
  padding-block: 45px 50px;
}
.ws-safari-tour-page .ws-tours-hero h1 {max-width: 690px;}

/* The original copy is unchanged, but the long paragraphs automatically
   BALANCE into two equal editorial columns instead of leaving a blank left rail. */
.ws-safari-tour-page .ws-tours-original-intro {padding-block: clamp(50px,5vw,76px);}
.ws-safari-tour-page .ws-tours-intro-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 17px;
  align-items: start;
}
.ws-safari-tour-page .ws-tours-intro-side {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 20px;
  row-gap: 8px;
  padding: 0 0 17px 20px;
  border-left: 3px solid var(--ws-tours-gold);
}
.ws-safari-tour-page .ws-tours-intro-side .ws-tours-eyebrow {margin: 0;}
.ws-safari-tour-page .ws-tours-intro-caption {max-width: none;font-size: 18px;line-height: 1.5;}
.ws-safari-tour-page .ws-tours-original-copy {
  columns: 2;
  column-gap: clamp(35px,4.1vw,76px);
  column-fill: balance;
  font-size: 15px;
  line-height: 1.8;
}
.ws-safari-tour-page .ws-tours-original-copy h2 {
  column-span: all;
  margin: 0 0 26px;
  text-align: left;
}
.ws-safari-tour-page .ws-tours-original-copy p {
  break-inside: avoid-column;
  margin: 0 0 19px;
  orphans: 3;
  widows: 3;
}

/* FLOAT the complete search panel directly under the actual sticky header.
   Sticky applies only inside the Safari Tours listings section. */
.ws-safari-tour-page .ws-tours-filter-panel {
  position: sticky;
  top: var(--ws-tours-sticky-offset, 183px);
  z-index: 68;
  margin-bottom: 27px;
  background: rgba(255,255,255,.98);
  box-shadow: 0 10px 32px rgba(15,47,34,.12);
  transition: box-shadow .18s ease, padding .18s ease;
}
.ws-safari-tour-page .ws-tours-filter-panel.ws-tours-filter-stuck {
  border-color: #d0ddcf;
  box-shadow: 0 14px 36px rgba(15,47,34,.21);
  padding-block: 13px;
}
.ws-safari-tour-page .ws-tours-filter-panel.ws-tours-filter-stuck .ws-tours-filter-heading {
  display: none;
}
.ws-safari-tour-page .ws-tours-filter-dock {display: none;}
.ws-safari-tour-page .ws-tours-field input:focus-visible,
.ws-safari-tour-page .ws-tours-field select:focus-visible,
.ws-safari-tour-page .ws-tours-find:focus-visible,
.ws-safari-tour-page .ws-tours-filter-toggle:focus-visible {
  outline: 3px solid var(--ws-tours-gold);
  outline-offset: 2px;
}

@media(max-width:1100px) {
  .ws-safari-tour-page .ws-tours-hero {height: clamp(390px,47vw,555px);}
  .ws-safari-tour-page .ws-tours-hero > img.ws-tours-hero-backdrop {object-position: center 58%;}
  .ws-safari-tour-page .ws-tours-original-copy {column-gap: 32px;}
}
@media(max-width:900px) {
  .ws-safari-tour-page .ws-tours-original-copy {columns: 1;}
  .ws-safari-tour-page .ws-tours-intro-side {padding-left: 15px;}
  .ws-safari-tour-page .ws-tours-hero {height: clamp(375px,56vw,480px);}
  .ws-safari-tour-page .ws-tours-hero > img.ws-tours-hero-backdrop {object-position: 58% center;}
  .ws-safari-tour-page .ws-tours-hero-shade {background: linear-gradient(90deg,rgba(6,30,24,.80),rgba(6,30,24,.35));}
  /* A full multi-field form would block too much of the phone screen.
     Instead, the narrow-screen sticky dock opens the exact same filter form. */
  .ws-safari-tour-page .ws-tours-filter-panel {position: static;top: auto;z-index: auto;}
  .ws-safari-tour-page .ws-tours-filter-panel.ws-tours-mobile-overlay {
    position: fixed;
    top: calc(var(--ws-tours-sticky-offset, 82px) + 61px);
    left: 5%;
    right: 5%;
    width: 90%;
    max-height: calc(100dvh - var(--ws-tours-sticky-offset, 82px) - 75px);
    overflow-y: auto;
    overscroll-behavior: contain;
    z-index: 69;
    border-radius: 12px;
    box-shadow: 0 18px 58px rgba(0,27,19,.27);
  }
  .ws-safari-tour-page .ws-tours-filter-panel.ws-tours-filter-stuck {padding: 24px;}
  .ws-safari-tour-page .ws-tours-filter-panel.ws-tours-filter-stuck .ws-tours-filter-heading {display: flex;}
  .ws-safari-tour-page .ws-tours-filter-dock {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    position: sticky;
    top: var(--ws-tours-sticky-offset, 82px);
    z-index: 68;
    background: #fff;
    border: 1px solid #dfe6dc;
    border-radius: 12px;
    padding: 11px 14px;
    margin: 0 0 10px;
    box-shadow: 0 8px 26px rgba(17,51,37,.12);
  }
  .ws-safari-tour-page .ws-tours-filter-toggle {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--ws-tours-green);
    border: 0;
    background: transparent;
    font-weight: 800;
    min-height: 34px;
    padding: 0;
    text-align: left;
    font-size: 13px;
  }
  .ws-safari-tour-page .ws-tours-filter-chevron {transition: transform .15s ease;}
  .ws-safari-tour-page .ws-tours-filter-toggle[aria-expanded="true"] .ws-tours-filter-chevron {transform: rotate(180deg);}
  .ws-safari-tour-page .ws-tours-filter-dock-count {white-space: nowrap;color: #576a5c;font-size: 12px;}
  .ws-safari-tour-page .ws-tours-filter-panel.ws-tours-mobile-collapsed {display: none;}
}
@media(max-width:590px) {
  .ws-safari-tour-page .ws-tours-hero {height: 390px;}
  .ws-safari-tour-page .ws-tours-hero > img.ws-tours-hero-backdrop {object-position: 59% center;}
  .ws-safari-tour-page .ws-tours-hero-shade {background: linear-gradient(90deg,rgba(6,30,24,.84),rgba(6,30,24,.46));}
  .ws-safari-tour-page .ws-tours-hero-inner {padding-block: 32px 44px;}
  .ws-safari-tour-page .ws-tours-intro-caption {font-size: 17px;}
  .ws-safari-tour-page .ws-tours-original-copy h2 {font-size: 25px;margin-bottom: 18px;}
  .ws-safari-tour-page .ws-tours-filter-panel {margin-top: 0;}
  .ws-safari-tour-page .ws-tours-filter-dock {border-radius: 9px;}
}
@media(prefers-reduced-motion:reduce) {
  .ws-safari-tour-page .ws-tours-filter-panel,
  .ws-safari-tour-page .ws-tours-filter-chevron {transition: none;}
}


/* ================================================================
   WILD SIGHTS SAFARIS — SECONDARY GREEN + WHITE LETTERING
   Applies only to Safari Tours listing; old URLs/filters preserved.
   ================================================================ */
.ws-safari-tour-page { --ws-tours-green: #5CA11F; --ws-tours-gold: #F4A00D; }
.ws-safari-tour-page .ws-tours-find,
.ws-safari-tour-page .ws-tours-filter-toggle,
.ws-safari-tour-page .ws-tours-pagination .ws-tours-page-current,
.ws-safari-tour-page .ws-tours-reset-button {
  background:#5CA11F !important;
  border-color:#5CA11F !important;
  color:#fff !important;
}
.ws-safari-tour-page .ws-tours-find:hover,
.ws-safari-tour-page .ws-tours-filter-toggle:hover,
.ws-safari-tour-page .ws-tours-pagination a:hover,
.ws-safari-tour-page .ws-tours-reset-button:hover {
  background:#4B8518 !important;
  border-color:#4B8518 !important;
  color:#fff !important;
}
.ws-safari-tour-page .ws-safari-tour-grid .image-tag,
.ws-safari-tour-page .ws-safari-tour-grid .tour-whatsapp {
  background:#5CA11F !important;
  border-color:#5CA11F !important;
  color:#fff !important;
}
/* Preserve the full-width photograph and its dark overlay for legibility. */
