/* Wild Sights Safaris editorial pages. Clean filename, no version suffix.
   All selectors are scoped to wse-* to avoid affecting existing layouts. */
.wse-site{--wse-orange:#F4A00D;--wse-green:#5CA11F;--wse-ink:#20312a;--wse-muted:#63726d;--wse-border:#e2e7e2;--wse-paper:#fff;--wse-soft:#f7f8f4;color:var(--wse-ink)}
.wse-site .wse-wrap{width:80%;max-width:1560px;margin-inline:auto}
.wse-site .wse-section{padding:64px 0}
.wse-site .wse-paper{background:#fff}
.wse-site .wse-hero{position:relative;display:flex;min-height:clamp(350px,35vw,510px);isolation:isolate;background:#263b2c;overflow:hidden;align-items:flex-end;color:#fff}
.wse-site .wse-hero::before{content:"";position:absolute;inset:0;z-index:-2;background-image:var(--wse-hero-image);background-position:center 48%;background-size:cover;background-repeat:no-repeat}
.wse-site .wse-hero-overlay{position:absolute;inset:0;background:rgba(10,22,14,.63);z-index:-1}
.wse-site .wse-hero-content{position:relative;padding-top:74px;padding-bottom:66px}
.wse-site .wse-hero h1{color:#fff;font-size:clamp(34px,4vw,59px);max-width:990px;line-height:1.12;margin:14px 0 14px;letter-spacing:-.035em;font-weight:700}
.wse-site .wse-hero p{color:#fff;font-size:15px;line-height:1.8;max-width:770px;margin:0;opacity:.96}
.wse-site .wse-crumbs{display:flex;align-items:center;flex-wrap:wrap;gap:10px;font-size:13px;color:#fff;margin-bottom:26px}
.wse-site .wse-crumbs a{color:#fff;text-decoration:none}
.wse-site .wse-crumbs a:hover,.wse-site .wse-crumbs a:focus-visible{text-decoration:underline}
.wse-site .wse-crumbs [aria-current]{opacity:.85}
.wse-site .wse-kicker,.wse-site .wse-article-label{display:block;color:#b56a00;font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.wse-site .wse-kicker-light{color:#ffcc65}
.wse-site .wse-article-meta{display:flex;gap:14px;flex-wrap:wrap;font-size:13px;font-weight:600;color:#fff;margin-top:24px}
.wse-site .wse-article-meta>*+*::before{content:"•";margin-right:14px;color:var(--wse-orange)}
.wse-site .wse-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:32px;margin-bottom:26px}
.wse-site .wse-section-heading h2{font-size:clamp(28px,3vw,38px);line-height:1.22;letter-spacing:-.025em;color:var(--wse-ink);margin:12px 0 0;font-weight:700}
.wse-site .wse-section-heading h2 em{font-family:"Playfair Display",Georgia,serif;font-weight:500}
.wse-site .wse-section-heading>p{color:var(--wse-muted);font-size:15px;max-width:320px;margin:0;line-height:1.65}
.wse-site .wse-text-link{color:#a45d00;font-size:14px;font-weight:700;text-decoration:none;display:inline-flex;align-items:center;gap:12px}
.wse-site .wse-text-link:hover{text-decoration:underline}
.wse-site .wse-button{display:inline-flex;align-items:center;justify-content:center;gap:13px;border:0;border-radius:10px;min-height:47px;padding:12px 21px;font-size:14px;font-weight:800;line-height:1.3;text-decoration:none;transition:filter .18s,transform .18s;cursor:pointer}
.wse-site .wse-button:hover{filter:brightness(.96);transform:translateY(-1px)}
.wse-site .wse-button:focus-visible,.wse-site a:focus-visible,.wse-site button:focus-visible,.wse-site select:focus-visible,.wse-site input:focus-visible{outline:3px solid var(--wse-orange);outline-offset:3px}
.wse-site .wse-button-orange{background:var(--wse-orange);color:#20312a}
.wse-site .wse-button-green{background:var(--wse-green);color:#fff;font-size:17px;font-weight:800;text-shadow:0 1px 1px rgba(0,0,0,.17)}
.wse-site .wse-blog-intro{padding:32px 0 0}
.wse-site .wse-intro-copy{max-width:1050px;margin-inline:auto;text-align:center}
.wse-site .wse-intro-copy p{font-size:16px;line-height:1.9;color:var(--wse-ink)}
.wse-site .wse-blog-listing{padding-top:53px}
.wse-site .wse-search-panel{display:grid;grid-template-columns:minmax(180px,2fr) minmax(160px,1fr) minmax(155px,1fr) auto auto;gap:12px;align-items:end;padding:17px 18px;border:1px solid var(--wse-border);border-radius:16px;background:#fff;box-shadow:0 10px 30px rgba(25,48,28,.065);margin-bottom:25px}
.wse-site .wse-search-panel label{display:flex;flex-direction:column;gap:9px;min-width:0;font-size:12px;font-weight:700;color:var(--wse-ink)}
.wse-site .wse-search-panel input,.wse-site .wse-search-panel select{border:1px solid #dbe2dc;border-radius:9px;padding:0 12px;min-height:46px;width:100%;font:inherit;font-size:13px;background:#fff;color:var(--wse-ink)}
.wse-site .wse-search-panel input::placeholder{color:#84908b}
.wse-site .wse-search-panel .wse-button{min-height:46px;white-space:nowrap}
.wse-site .wse-reset-link{padding:11px;color:#a45d00;font-size:13px;font-weight:700;text-decoration:underline;text-underline-offset:3px}
.wse-site .wse-result-count{margin:0 0 25px;color:var(--wse-muted);font-size:13px}
.wse-site .wse-featured-article{display:grid;grid-template-columns:1.1fr 1fr;gap:0;overflow:hidden;border-radius:19px;border:1px solid var(--wse-border);background:var(--wse-soft);margin:0 0 27px;min-height:310px}
.wse-site .wse-featured-image{display:block;overflow:hidden;min-height:300px;background:#ecf0e7}
.wse-site .wse-featured-image img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s}
.wse-site .wse-featured-article:hover img{transform:scale(1.025)}
.wse-site .wse-featured-copy{padding:clamp(24px,3.5vw,48px);display:flex;flex-direction:column;justify-content:center;align-items:flex-start}
.wse-site .wse-featured-copy h3{font-size:clamp(23px,2.2vw,34px);line-height:1.3;margin:13px 0 16px}
.wse-site .wse-featured-copy h3 a{color:var(--wse-ink);text-decoration:none}
.wse-site .wse-featured-copy p{font-size:15px;color:var(--wse-muted);line-height:1.8;margin:0 0 24px}
.wse-site .wse-post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:23px}
.wse-site .wse-card{border:1px solid var(--wse-border);background:#fff;border-radius:17px;overflow:hidden;min-width:0;display:flex;flex-direction:column;box-shadow:0 7px 22px rgba(20,45,24,.035)}
.wse-site .wse-card-photo{display:block;aspect-ratio:16/10;overflow:hidden;background:#eff2eb;text-decoration:none}
.wse-site .wse-card-photo img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s}
.wse-site .wse-card:hover .wse-card-photo img{transform:scale(1.035)}
.wse-site .wse-image-placeholder{background:#e8eee5;color:#47614d;display:grid;width:100%;height:100%;place-items:center;font-size:12px;font-weight:800;letter-spacing:.1em;text-align:center;padding:24px}
.wse-site .wse-card-inner{display:flex;flex:1;flex-direction:column;padding:19px 20px 23px}
.wse-site .wse-card-meta{display:flex;gap:14px;justify-content:space-between;flex-wrap:wrap;align-items:center;font-size:10px;color:var(--wse-muted)}
.wse-site .wse-card-meta span{color:#a86100;letter-spacing:.08em;font-weight:800}
.wse-site .wse-card h3{font-size:17px;line-height:1.45;font-weight:700;margin:13px 0;color:var(--wse-ink)}
.wse-site .wse-card h3 a{color:inherit;text-decoration:none}
.wse-site .wse-card h3 a:hover{color:#a45d00}
.wse-site .wse-card p{font-size:14px;line-height:1.75;color:var(--wse-muted);margin:0 0 18px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.wse-site .wse-card .wse-text-link{margin-top:auto}
.wse-site .wse-pagination{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:9px;margin-top:39px}
.wse-site .wse-pagination a,.wse-site .wse-pagination span{display:flex;min-width:42px;min-height:42px;align-items:center;justify-content:center;text-decoration:none;font-size:13px;font-weight:800;color:var(--wse-ink);border:1px solid var(--wse-border);border-radius:9px;padding:9px 13px;background:#fff}
.wse-site .wse-pagination .wse-page-current{background:var(--wse-orange);border-color:var(--wse-orange)}
.wse-site .wse-pagination .wse-page-disabled{color:#a7ada7}
.wse-site .wse-empty{padding:30px;background:var(--wse-soft);border-radius:15px;text-align:center}
.wse-site .wse-reading-layout{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(250px,.75fr);align-items:start;gap:clamp(32px,4vw,70px)}
.wse-site .wse-article-content{min-width:0}
.wse-site .wse-article-label{margin:0 0 23px}
.wse-site .wse-richtext{font-size:15px;line-height:1.9;color:#2b3d35;overflow-wrap:anywhere}
.wse-site .wse-richtext h2,.wse-site .wse-richtext h3,.wse-site .wse-richtext h4{color:#20312a;line-height:1.28;letter-spacing:-.015em;scroll-margin-top:140px}
.wse-site .wse-richtext h2{font-size:clamp(25px,2.6vw,34px);margin:39px 0 14px}
.wse-site .wse-richtext h3{font-size:clamp(21px,2vw,26px);margin:31px 0 13px}
.wse-site .wse-richtext h4{font-size:19px;margin:24px 0 12px}
.wse-site .wse-richtext h2:first-child,.wse-site .wse-richtext h3:first-child{margin-top:0}
.wse-site .wse-richtext p,.wse-site .wse-richtext ul,.wse-site .wse-richtext ol{margin:0 0 20px}
.wse-site .wse-richtext li{margin-bottom:8px}
.wse-site .wse-richtext a{color:#a45d00;text-decoration:underline;text-underline-offset:3px}
.wse-site .wse-richtext figure{margin:25px 0 30px;max-width:100%}
.wse-site .wse-richtext figure img,.wse-site .wse-richtext img,.wse-site .wse-richtext video,.wse-site .wse-richtext iframe{max-width:100%;height:auto;border-radius:14px}
.wse-site .wse-richtext img.aligncenter{display:block;margin-inline:auto}
.wse-site .wse-richtext figcaption{font-size:12px;color:var(--wse-muted);text-align:center;margin:7px 0}
.wse-site .wse-richtext table{display:block;overflow:auto;max-width:100%;border-collapse:collapse;margin:22px 0}
.wse-site .wse-richtext th,.wse-site .wse-richtext td{border:1px solid var(--wse-border);padding:10px}
.wse-site .wse-reading-aside{position:sticky;top:106px;display:grid;gap:20px}
.wse-site .wse-aside-card{border:1px solid var(--wse-border);border-radius:16px;background:#fff;padding:24px}
.wse-site .wse-aside-card h2{font-size:21px;line-height:1.3;margin:11px 0 16px;color:var(--wse-ink)}
.wse-site .wse-toc nav{display:flex;flex-direction:column;gap:0;max-height:420px;overflow:auto}
.wse-site .wse-toc nav a{padding:10px 0;border-top:1px solid var(--wse-border);font-size:13px;text-decoration:none;color:var(--wse-ink);line-height:1.5}
.wse-site .wse-toc nav a:hover{color:#a45d00}
.wse-site .wse-toc nav .wse-toc-sub{padding-left:13px;font-size:12px;color:var(--wse-muted)}
.wse-site .wse-aside-cta{background:#faf8f2}
.wse-site .wse-aside-cta p{font-size:14px;line-height:1.7;color:var(--wse-muted)}
.wse-site .wse-aside-cta .wse-button{width:100%;margin-top:8px}
.wse-site .wse-related-section{background:var(--wse-soft)}
.wse-site .wse-article-actions{display:flex;align-items:center;gap:18px;flex-wrap:wrap;border-top:1px solid var(--wse-border);margin-top:35px;padding-top:20px}
.wse-site .wse-article-actions a,.wse-site .wse-article-actions button{background:none;border:0;padding:0;color:#a45d00;text-decoration:none;font-size:13px;font-weight:800;cursor:pointer}
.wse-site .wse-copy-feedback{font-size:12px;color:var(--wse-muted)}
@media(max-width:1200px){.wse-site .wse-wrap{width:88%}.wse-site .wse-search-panel{grid-template-columns:1fr 1fr}.wse-site .wse-search-panel label:first-child{grid-column:1/-1}.wse-site .wse-search-panel .wse-button{grid-column:1/-1}.wse-site .wse-post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.wse-site .wse-wrap{width:calc(100% - 32px)}.wse-site .wse-section{padding:42px 0}.wse-site .wse-hero{min-height:330px}.wse-site .wse-hero-content{padding:55px 0 42px}.wse-site .wse-hero h1{font-size:clamp(30px,7vw,43px)}.wse-site .wse-section-heading{display:block}.wse-site .wse-section-heading>p{margin-top:13px}.wse-site .wse-search-panel{grid-template-columns:1fr;padding:15px}.wse-site .wse-search-panel label:first-child{grid-column:auto}.wse-site .wse-search-panel .wse-button{grid-column:auto}.wse-site .wse-featured-article{grid-template-columns:1fr}.wse-site .wse-featured-image{min-height:210px;max-height:310px}.wse-site .wse-featured-copy{padding:24px}.wse-site .wse-post-grid{grid-template-columns:1fr}.wse-site .wse-reading-layout{grid-template-columns:1fr;gap:26px}.wse-site .wse-reading-aside{position:static}.wse-site .wse-intro-copy{text-align:left}.wse-site .wse-article-meta{gap:9px}.wse-site .wse-article-meta>*+*::before{margin-right:9px}}
@media(prefers-reduced-motion:reduce){.wse-site .wse-button,.wse-site .wse-card img,.wse-site .wse-featured-image img{transition:none!important;transform:none!important}}

/* ========================================================================== 
   Wild Sights Safaris — responsive article tables, 01 December 2026.
   Only the original travel journal / blog rich text is targeted.
   Dynamic table wrappers are added by wildsights-editorial.js; the article
   HTML, colspans, rowspans and underlying WordPress data are not modified.
   ========================================================================== */
.wse-site .wse-richtext,
.wse-site .wse-article-content,
.wse-site .wse-intro-copy { min-width:0; max-width:100%; }

/* Remove legacy fixed WordPress table dimensions; preserve table semantics. */
.wse-site .wse-richtext table,
.wse-site .wse-richtext table.has-fixed-layout {
  width:100% !important;
  max-width:100% !important;
  height:auto !important;
  table-layout:auto !important;
  border-spacing:0;
  font-size:clamp(12px,1.05vw,14px);
  line-height:1.6;
}
.wse-site .wse-richtext table tr { height:auto !important; }
.wse-site .wse-richtext table col,
.wse-site .wse-richtext table colgroup { width:auto !important; height:auto !important; }
.wse-site .wse-richtext table th,
.wse-site .wse-richtext table td {
  box-sizing:border-box;
  width:auto !important;
  min-width:0;
  max-width:none;
  height:auto !important;
  min-height:0;
  vertical-align:top;
  white-space:normal !important;
  overflow-wrap:anywhere;
  word-break:normal;
  padding:clamp(9px,1.3vw,14px) !important;
  border:1px solid #e2e7e2;
  text-align:start;
}
.wse-site .wse-richtext table th {
  background:#f3f8ee;
  color:#20312a;
  font-weight:700;
  border-bottom:2px solid #5CA11F;
}
.wse-site .wse-richtext table td { background:#fff; color:#2b3d35; }
.wse-site .wse-richtext table tbody tr:nth-child(even) td { background:#f9fbf7; }
.wse-site .wse-richtext table th p,
.wse-site .wse-richtext table td p { margin:0 0 6px; line-height:inherit; }
.wse-site .wse-richtext table th p:last-child,
.wse-site .wse-richtext table td p:last-child { margin-bottom:0; }
.wse-site .wse-richtext figure.wp-block-table {
  width:100% !important;
  max-width:100% !important;
  height:auto !important;
  min-width:0;
}

/* A real scrolling wrapper keeps tables intact, including spanning cells. */
.wse-site .wse-richtext .ws-blog-table-scroll {
  display:block;
  width:100%;
  max-width:100%;
  min-width:0;
  margin:22px 0;
  overflow-x:auto;
  overflow-y:hidden;
  overscroll-behavior-x:contain;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:thin;
  scrollbar-color:#5CA11F #edf2e9;
  border:1px solid #e2e7e2;
  border-radius:9px;
}
.wse-site .wse-richtext .ws-blog-table-scroll > table {
  display:table !important;
  width:100% !important;
  max-width:none !important;
  min-width:100%;
  height:auto !important;
  margin:0 !important;
  overflow:visible !important;
  border:0;
  border-collapse:collapse;
  table-layout:auto !important;
}
.wse-site .wse-richtext .ws-blog-table-scroll:focus-visible {
  outline:3px solid #F4A00D;
  outline-offset:3px;
}
.wse-site .wse-richtext .ws-blog-table-scroll::-webkit-scrollbar { height:7px; }
.wse-site .wse-richtext .ws-blog-table-scroll::-webkit-scrollbar-thumb { background:#5CA11F; border-radius:12px; }
.wse-site .wse-richtext .ws-blog-table-scroll::-webkit-scrollbar-track { background:#edf2e9; }

@media(max-width:760px) {
  .wse-site .wse-richtext .ws-blog-table-scroll { margin:17px 0; }
  .wse-site .wse-richtext .ws-blog-table-scroll > table {
    font-size:12.5px;
    line-height:1.5;
  }
  /* Two columns adapt to the viewport. More columns retain usable width. */
  .wse-site .wse-richtext .ws-blog-table-scroll > table.ws-blog-table-3 {
    min-width:540px;
  }
  .wse-site .wse-richtext .ws-blog-table-scroll > table.ws-blog-table-4plus {
    min-width:700px;
  }
  .wse-site .wse-richtext .ws-blog-table-scroll > table.ws-blog-table-6plus {
    min-width:860px;
  }
  .wse-site .wse-richtext table th,
  .wse-site .wse-richtext table td { padding:10px !important; }
}
@media(max-width:420px) {
  .wse-site .wse-richtext .ws-blog-table-scroll > table.ws-blog-table-3 { min-width:500px; }
  .wse-site .wse-richtext .ws-blog-table-scroll > table.ws-blog-table-4plus { min-width:640px; }
}

/* ========================================================================== 
   Wild Sights Safaris — responsive article tables, 01 December 2026.
   Only the original travel journal / blog rich text is targeted.
   Dynamic table wrappers are added by wildsights-editorial.js; the article
   HTML, colspans, rowspans and underlying WordPress data are not modified.
   ========================================================================== */
.wse-site .wse-richtext,
.wse-site .wse-article-content,
.wse-site .wse-intro-copy { min-width:0; max-width:100%; }

/* Remove legacy fixed WordPress table dimensions; preserve table semantics. */
.wse-site .wse-richtext table,
.wse-site .wse-richtext table.has-fixed-layout {
  width:100% !important;
  max-width:100% !important;
  height:auto !important;
  table-layout:auto !important;
  border-spacing:0;
  font-size:clamp(12px,1.05vw,14px);
  line-height:1.6;
}
.wse-site .wse-richtext table tr { height:auto !important; }
.wse-site .wse-richtext table col,
.wse-site .wse-richtext table colgroup { width:auto !important; height:auto !important; }
.wse-site .wse-richtext table th,
.wse-site .wse-richtext table td {
  box-sizing:border-box;
  width:auto !important;
  min-width:0;
  max-width:none;
  height:auto !important;
  min-height:0;
  vertical-align:top;
  white-space:normal !important;
  overflow-wrap:anywhere;
  word-break:normal;
  padding:clamp(9px,1.3vw,14px) !important;
  border:1px solid #e2e7e2;
  text-align:start;
}
.wse-site .wse-richtext table th {
  background:#f3f8ee;
  color:#20312a;
  font-weight:700;
  border-bottom:2px solid #5CA11F;
}
.wse-site .wse-richtext table td { background:#fff; color:#2b3d35; }
.wse-site .wse-richtext table tbody tr:nth-child(even) td { background:#f9fbf7; }
.wse-site .wse-richtext table th p,
.wse-site .wse-richtext table td p { margin:0 0 6px; line-height:inherit; }
.wse-site .wse-richtext table th p:last-child,
.wse-site .wse-richtext table td p:last-child { margin-bottom:0; }
.wse-site .wse-richtext figure.wp-block-table {
  width:100% !important;
  max-width:100% !important;
  height:auto !important;
  min-width:0;
}

/* A real scrolling wrapper keeps tables intact, including spanning cells. */
.wse-site .wse-richtext .ws-blog-table-scroll {
  display:block;
  width:100%;
  max-width:100%;
  min-width:0;
  margin:22px 0;
  overflow-x:auto;
  overflow-y:hidden;
  overscroll-behavior-x:contain;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:thin;
  scrollbar-color:#5CA11F #edf2e9;
  border:1px solid #e2e7e2;
  border-radius:9px;
}
.wse-site .wse-richtext .ws-blog-table-scroll > table {
  display:table !important;
  width:100% !important;
  max-width:none !important;
  min-width:100%;
  height:auto !important;
  margin:0 !important;
  overflow:visible !important;
  border:0;
  border-collapse:collapse;
  table-layout:auto !important;
}
.wse-site .wse-richtext .ws-blog-table-scroll:focus-visible {
  outline:3px solid #F4A00D;
  outline-offset:3px;
}
.wse-site .wse-richtext .ws-blog-table-scroll::-webkit-scrollbar { height:7px; }
.wse-site .wse-richtext .ws-blog-table-scroll::-webkit-scrollbar-thumb { background:#5CA11F; border-radius:12px; }
.wse-site .wse-richtext .ws-blog-table-scroll::-webkit-scrollbar-track { background:#edf2e9; }

@media(max-width:760px) {
  .wse-site .wse-richtext .ws-blog-table-scroll { margin:17px 0; }
  .wse-site .wse-richtext .ws-blog-table-scroll > table {
    font-size:12.5px;
    line-height:1.5;
  }
  /* Two columns adapt to the viewport. More columns retain usable width. */
  .wse-site .wse-richtext .ws-blog-table-scroll > table.ws-blog-table-3 {
    min-width:540px;
  }
  .wse-site .wse-richtext .ws-blog-table-scroll > table.ws-blog-table-4plus {
    min-width:700px;
  }
  .wse-site .wse-richtext .ws-blog-table-scroll > table.ws-blog-table-6plus {
    min-width:860px;
  }
  .wse-site .wse-richtext table th,
  .wse-site .wse-richtext table td { padding:10px !important; }
}
@media(max-width:420px) {
  .wse-site .wse-richtext .ws-blog-table-scroll > table.ws-blog-table-3 { min-width:500px; }
  .wse-site .wse-richtext .ws-blog-table-scroll > table.ws-blog-table-4plus { min-width:640px; }
}
