/* ===========================
   TRAVELSTORY — FINAL CSS (CLEAN)
=========================== */
@import url("https://fonts.googleapis.com/css2?family=Caveat:wght@400..700&family=Poppins:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap");

:root {
  --bg: #f7f4ee;
  --card: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --line: rgba(0, 0, 0, 0.08);
  --shadow: 0 14px 35px rgba(0, 0, 0, 0.12);
  --radius: 18px;
  --primary: #0f3d3e;
  --accent: #d4af37;

  /* Story form */
  --npl-primary: #0f766e;
  --npl-primary-dark: #0d5f58;
  --npl-text-main: #1e293b;
  --npl-text-muted: #64748b;
  --npl-input-bg: #f8fafc;
  --npl-border: #e2e8f0;
  --npl-font-head: "Playfair Display", serif;
  --npl-font-body: "Outfit", sans-serif;

  /* GSAP */
  --gs-bg: #0f0f0f;
  --gs-fg: #fff;
  --gs-card-1: #b2b2b2;
  --gs-card-2: #ce2017;
  --gs-card-3: #2f2f2f;

  --font-head: "Caveat", cursive;
}

* { box-sizing: border-box; }
html, body { width: 100%; overflow-x: hidden; }
body { margin: 0; color: var(--text); background: #fff; }
a { color: inherit; }

/* =========================
   GRADIENT HEADINGS
========================= */
.ts-gradient-title{
  margin:0;
  font-weight: 950;
  letter-spacing: -0.3px;
  background: linear-gradient(120deg, #0f3d3e, #d4af37, #22c55e, #0f3d3e);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 10px 20px rgba(212,175,55,.22));
  animation: tsGradientMove 7s ease-in-out infinite;
  font-family: var(--font-head);
  text-align: center;
}
@keyframes tsGradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ===========================
   SECTION / CONTAINER
=========================== */
.ts-section{ padding: 70px 0; background: var(--bg); }
.ts-container{ width: min(1200px, 92vw); margin: 0 auto; }

/* ===========================
   HEAD BLOCK
=========================== */
.ts-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  margin: 0 0 18px;
}
.ts-head.ts-mt{ margin-top: 44px; }
.ts-title{
  margin:0;
  font-size: clamp(20px, 2.2vw, 34px);
  font-weight: 900;
  color: var(--primary);
}
.ts-sub{
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
  max-width: 560px;
}

/* ===========================
   BUTTONS
=========================== */
.ts-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 11px 16px;
  border-radius: 999px;
  text-decoration:none;
  background: var(--primary);
  color:#fff;
  font-weight: 800;
  letter-spacing:.3px;
  white-space:nowrap;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.ts-btn:hover{ transform: translateY(-1px); background: var(--accent); color: var(--primary); }
.ts-btn-ghost{
  background: transparent;
  border:1px solid rgba(15,61,62,.22);
  color: var(--primary);
}
.ts-btn-ghost:hover{
  background: rgba(212,175,55,.2);
  border-color: rgba(212,175,55,.55);
}

/* ===========================
   HERO
=========================== */
.ts-hero{
  padding: 75px 0 10px;
  background: linear-gradient(180deg, rgba(15,61,62,.08), transparent 65%), var(--bg);
}
.ts-hero-inner{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
  align-items: stretch;
}
.ts-hero-title{
  font-family: var(--font-head);
  margin: 0 0 10px;
  font-size: clamp(34px, 4.2vw, 56px);
  font-weight: 950;
  color: var(--primary);
}
.ts-hero-sub{
  margin: 0 0 16px;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.7;
  max-width: 62ch;
}
.ts-hero-actions{ display:flex; gap:10px; flex-wrap:wrap; }

.ts-hero-mini{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.mini-card{
  background: rgba(255,255,255,.8);
  border:1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 10px 22px rgba(0,0,0,.06);
  display:flex;
  gap: 10px;
  align-items:center;
}
.mini-icon{
  width:42px;
  height:42px;
  border-radius:14px;
  background: rgba(15,61,62,.1);
  color: var(--primary);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:18px;
  border:1px solid rgba(15,61,62,.16);
}
.mini-title{ font-weight: 950; color: var(--primary); }
.mini-sub{ font-size:12px; color: var(--muted); font-weight:800; }

@media (max-width: 1000px){
  .ts-hero-inner{ grid-template-columns: 1fr; }
  .ts-head{ align-items:flex-start; flex-direction:column; }
}

/* ===========================
   EMPTY
=========================== */
.ts-empty{
  padding: 18px;
  background: rgba(255,255,255,.7);
  border: 1px dashed rgba(0,0,0,.2);
  border-radius: 14px;
  color: rgba(0,0,0,.6);
}

/* ===========================
   PILLS (BLOG / VLOG / STORY / NEWS / FEATURED)
=========================== */
.pill{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px 10px;
  border-radius:999px;
  font-size:11px;
  font-weight:900;
  letter-spacing:.18em;
  text-transform:uppercase;
  border:1px solid rgba(15,61,62,.18);
  background: rgba(15,61,62,.08);
  color: var(--primary);
}
.pill-featured{
  background: rgba(15,118,110,.10);
  border-color: rgba(15,118,110,.22);
}
.pill-blog{
  background: rgba(212,175,55,.18);
  border-color: rgba(212,175,55,.35);
}
.pill-vlog{
  background: rgba(34,197,94,.16);
  border-color: rgba(34,197,94,.32);
}
.pill-story{
  background: rgba(59,130,246,.14);
  border-color: rgba(59,130,246,.30);
}
.pill-news{
  background: rgba(0,0,0,.08);
  border-color: rgba(0,0,0,.18);
}

/* ===========================
   DEFAULT CARD GRID (BLOGS)
=========================== */
.ts-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:18px;
}
@media (max-width:1000px){ .ts-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width:600px){ .ts-grid{ grid-template-columns: 1fr; } }

.ts-card{
  background: var(--card);
  border:1px solid var(--line);
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: 0 10px 24px rgba(0,0,0,.1);
  text-decoration:none;
  transition: transform .18s ease, box-shadow .18s ease;
}
.ts-card:hover{ transform: translateY(-3px); box-shadow: var(--shadow); }

.ts-thumb{
  height: 190px;
  width:100%;
  overflow:hidden;
  background:#eee;
}
.ts-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition: transform .6s ease;
}
.ts-card:hover .ts-thumb img{ transform: scale(1.05); }

.ts-body{ padding: 14px 14px 16px; }
.ts-h3{ margin:0 0 8px; font-size:16px; line-height:1.25; font-weight:900; }
.ts-p{ margin:0; color: var(--muted); font-size:13px; line-height:1.55; }

.ts-meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin: 0 0 10px;
}
.ts-meta .date{
  font-size:12px;
  font-weight:800;
  color: rgba(0,0,0,.55);
}

.ts-location{
  margin-top: 12px;
  font-size: 12px;
  font-weight: 800;
  color: rgba(0,0,0,.58);
}

/* ===========================
   NEWS GRID
=========================== */
.ts-grid-news{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:18px;
}
@media (max-width:1000px){ .ts-grid-news{ grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width:600px){ .ts-grid-news{ grid-template-columns: 1fr; } }

.news-card{
  display:block;
  background: var(--card);
  border:1px solid var(--line);
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: 0 10px 24px rgba(0,0,0,.1);
  text-decoration:none;
  transition: transform .18s ease, box-shadow .18s ease;
}
.news-card:hover{ transform: translateY(-3px); box-shadow: var(--shadow); }

.news-right{ height:190px; background:#eee; }
@media (max-width:600px){ .news-right{ height:220px; } }
.news-right img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition: transform .6s ease;
}
.news-card:hover .news-right img{ transform: scale(1.05); }

.news-left{ padding:14px 14px 16px; }
.news-title{ margin:10px 0 8px; font-size:16px; line-height:1.25; font-weight:900; }
.news-excerpt{
  margin:0;
  color: var(--muted);
  font-size:13px;
  line-height:1.55;
  max-height: calc(1.55em * 3);
  overflow:hidden;
  display:-webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}
.news-meta{
  margin-top:12px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  font-size:12px;
  font-weight:800;
  color: rgba(0,0,0,.58);
}

/* ===========================
   STORIES GRID
=========================== */
.ts-grid-stories{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:18px;
}
@media (max-width:1000px){ .ts-grid-stories{ grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width:600px){ .ts-grid-stories{ grid-template-columns: 1fr; } }

.story-card{
  position:relative;
  border-radius: var(--radius);
  overflow:hidden;
  border:1px solid var(--line);
  box-shadow: 0 10px 24px rgba(0,0,0,.1);
  min-height: 320px;
  text-decoration:none;
  color:inherit;
  transition: transform .18s ease, box-shadow .18s ease;
}
.story-card:hover{ transform: translateY(-3px); box-shadow: var(--shadow); }

.story-bg{ position:absolute; inset:0; background:#eee; }
.story-bg img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transform: scale(1.02);
  transition: transform .7s ease;
}
.story-card:hover .story-bg img{ transform: scale(1.08); }

.story-overlay{
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.04) 0%, rgba(0,0,0,.55) 65%, rgba(0,0,0,.72) 100%);
}
.story-content{
  position:absolute;
  left:14px; right:14px; bottom:14px;
  color:#fff;
  z-index:3;
}
.story-title{ margin:10px 0 6px; font-size:19px; font-weight:950; line-height:1.25; }
.story-excerpt{ margin:0; font-size:13px; line-height:1.55; color: rgba(255,255,255,.86); }
.story-meta{
  margin-top:10px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  font-size:12px;
  color: rgba(255,255,255,.82);
  font-weight:800;
}

/* ===========================
   VLOGS GRID
=========================== */
.ts-grid-vlogs{
  display:grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap:18px;
}
@media (max-width:1000px){ .ts-grid-vlogs{ grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width:600px){ .ts-grid-vlogs{ grid-template-columns: 1fr; } }

.vlog-card{
  background: var(--card);
  border:1px solid var(--line);
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: 0 10px 24px rgba(0,0,0,.1);
  text-decoration:none;
  transition: transform .18s ease, box-shadow .18s ease;
}
.vlog-card:hover{ transform: translateY(-3px); box-shadow: var(--shadow); }

.vlog-thumb{
  position:relative;
  height:170px;
  background:#eee;
  overflow:hidden;
}
.vlog-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition: transform .6s ease;
}
.vlog-card:hover .vlog-thumb img{ transform: scale(1.06); }

.vlog-play{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(0,0,0,.12);
}
.vlog-play i{
  width:62px;
  height:62px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:30px;
  background: rgba(0,0,0,.55);
  border:1px solid rgba(255,255,255,.35);
  color:#fff;
  backdrop-filter: blur(10px);
}

.vlog-body{ padding:14px 14px 16px; }
.vlog-title{ margin:0 0 8px; font-size:16px; font-weight:950; line-height:1.25; }
.vlog-excerpt{ margin:0; color: var(--muted); font-size:13px; line-height:1.55; }
.vlog-meta{
  margin-top:12px;
  font-size:12px;
  color: rgba(0,0,0,.6);
  font-weight:800;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

/* ===========================
   STORY SHARE FORM
=========================== */
.story-share{
  font-family: var(--npl-font-body);
  min-height: 100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 20px;
  background:
    radial-gradient(900px 420px at 15% 15%, rgba(15,61,62,.18), transparent 60%),
    radial-gradient(800px 380px at 85% 10%, rgba(212,175,55,.2), transparent 55%),
    radial-gradient(900px 480px at 60% 90%, rgba(34,197,94,.12), transparent 60%),
    linear-gradient(180deg, #f7f4ee 0%, #ffffff 70%);
  position:relative;
}
.story-share::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(to right, rgba(15,61,62,.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15,61,62,.06) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity:.08;
}

.npl-wrapper{ width:100%; max-width: 1000px; }
.npl-card{
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,.25);
  display:flex;
  overflow:hidden;
  min-height: 650px;
}

.npl-visual{ width:40%; position:relative; display:none; }
@media (min-width:768px){ .npl-visual{ display:block; } }
.npl-bg-img{ width:100%; height:100%; object-fit:cover; }
.npl-overlay{
  position:absolute;
  inset:0;
  background: linear-gradient(to bottom, rgba(0,0,0,.1), rgba(0,0,0,.7));
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding: 40px;
  color:#fff;
}
.npl-overlay blockquote{
  font-family: var(--npl-font-head);
  font-size: 1.8rem;
  line-height: 1.3;
  margin: 0 0 20px;
  text-shadow: 0 2px 10px rgba(0,0,0,.5);
}
.npl-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  background: rgba(255,255,255,.2);
  backdrop-filter: blur(5px);
  padding: 8px 16px;
  border-radius: 50px;
  font-size:.85rem;
  width:fit-content;
  border:1px solid rgba(255,255,255,.3);
}

.npl-content{ flex:1; padding: 40px 50px; position:relative; }
@media (max-width:600px){ .npl-content{ padding: 26px 18px; } }

.npl-progress-container{ display:flex; gap:8px; margin-bottom: 30px; }
.npl-progress-step{
  height:4px;
  flex:1;
  background: var(--npl-border);
  border-radius:4px;
  transition:.3s;
}
.npl-progress-step.active{ background: var(--npl-primary); }

.npl-header{ margin-bottom: 30px; }
.npl-header h2{
  font-family: var(--font-head);
  font-size: 2.2rem;
  margin: 0 0 8px;
  background: linear-gradient(120deg, #0f3d3e, #d4af37, #0f3d3e);
  background-size: 300% 300%;
  -webkit-background-clip:text;
  background-clip:text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: tsGradientMove 7s ease-in-out infinite;
}
.npl-header p{ margin:0; color: var(--npl-text-muted); font-size: .95rem; }

.npl-step{ display:none; animation: nplSlideUp .4s cubic-bezier(.16,1,.3,1); }
.npl-step.active{ display:block; }
@keyframes nplSlideUp{ from{opacity:0; transform: translateY(20px);} to{opacity:1; transform:none;} }

.npl-row{ display:flex; gap: 20px; }
@media (max-width:700px){ .npl-row{ flex-direction:column; } }

.npl-input-group{ position:relative; margin-bottom: 24px; width:100%; }

.npl-input-group input,
.npl-input-group textarea{
  width:100%;
  padding: 16px 16px 6px 16px;
  font-size: 1rem;
  border: 1px solid var(--npl-border);
  border-radius: 12px;
  background: var(--npl-input-bg);
  color: var(--npl-text-main);
  font-family: var(--npl-font-body);
  transition:.3s;
  height: 56px;
}

.npl-input-group textarea{
  height: 160px;
  padding-top: 20px;
  resize: none;
  line-height: 1.6;
}
#nplExcerpt{ height: 90px; padding-top: 20px; }

.npl-input-group label{
  position:absolute;
  left:16px;
  top:18px;
  color: var(--npl-text-muted);
  pointer-events:none;
  transition: .18s ease;
  font-size:.95rem;
  display:flex;
  align-items:center;
  gap:8px;
}

/* focus input nice */
.npl-input-group input:focus,
.npl-input-group textarea:focus{
  border-color: var(--npl-primary);
  background:#fff;
  box-shadow: 0 4px 12px rgba(15,118,110,.1);
  outline:none;
}

/* INPUT FLOAT label */
.npl-input-group input:focus ~ label,
.npl-input-group input:not(:placeholder-shown) ~ label{
  top: 10px;
  font-size: .75rem;
  color: var(--npl-primary);
  font-weight: 600;
}
.npl-input-group textarea:focus ~ label,
.npl-input-group textarea:not(:placeholder-shown) ~ label{
  top: 10px;
  font-size: .75rem;
  color: var(--npl-primary);
  font-weight: 600;
}

/* ✅ REQUIRED: hide textarea label while typing */
.npl-textarea-group textarea:focus ~ label,
.npl-textarea-group textarea:not(:placeholder-shown) ~ label{
  opacity: 0;
  transform: translateY(-6px);
  pointer-events:none;
}

/* anonymous switch */
.npl-anon-wrapper{ display:flex; align-items:center; gap:12px; margin-bottom: 25px; }
.npl-switch{ position:relative; display:inline-block; width:44px; height:24px; }
.npl-switch input{ opacity:0; width:0; height:0; }
.npl-slider{
  position:absolute;
  cursor:pointer;
  inset:0;
  background:#ccc;
  border-radius:34px;
  transition:.4s;
}
.npl-slider:before{
  content:"";
  position:absolute;
  height:18px; width:18px;
  left:3px; bottom:3px;
  background:#fff;
  border-radius:50%;
  transition:.4s;
}
input:checked + .npl-slider{ background: var(--npl-primary); }
input:checked + .npl-slider:before{ transform: translateX(20px); }
.npl-switch-label{ font-size:.9rem; font-weight:500; }

/* district select floating label */
.npl-input-group.npl-select select{
  width:100%;
  height:56px;
  padding: 18px 44px 0 44px;
  border-radius: 12px;
  border:1px solid var(--npl-border);
  background: var(--npl-input-bg);
  font-size:1rem;
  outline:none;
  appearance:none;
}
.npl-input-group.npl-select select:focus{
  border-color: var(--npl-primary);
  background:#fff;
  box-shadow: 0 4px 12px rgba(15,118,110,.1);
}
.npl-input-group.npl-select label{
  left:44px;
  top:50%;
  transform: translateY(-50%);
}
.npl-input-group.npl-select.has-value label,
.npl-input-group.npl-select:focus-within label{
  top: 12px;
  transform:none;
  font-size:.75rem;
  color: var(--npl-primary);
  font-weight:600;
}
.npl-select-arrow{
  position:absolute;
  right:14px;
  top:50%;
  transform: translateY(-50%);
  pointer-events:none;
  font-size:20px;
  opacity:.65;
}

/* season select group */
.npl-select-group{ position:relative; width:100%; }
.npl-select-group select{
  width:100%;
  height:56px;
  padding: 16px 46px 16px 16px;
  border-radius:12px;
  border:1px solid var(--npl-border);
  background: var(--npl-input-bg);
  color: var(--npl-text-main);
  font-family: var(--npl-font-body);
  font-size:1rem;
  outline:none;
  appearance:none;
  transition:.2s ease;
}
.npl-select-group select:focus{
  border-color: var(--npl-primary);
  background:#fff;
  box-shadow: 0 4px 12px rgba(15,118,110,.10);
}
.npl-select-icon{
  position:absolute;
  right:14px;
  top:50%;
  transform: translateY(-50%);
  pointer-events:none;
  font-size:20px;
  opacity:.65;
}

/* file uploads */
.npl-file-area{ margin-bottom:24px; }
.npl-file-label{ font-size:.85rem; font-weight:600; margin-bottom:8px; color: var(--npl-text-main); }
.npl-file-drop{
  border:2px dashed var(--npl-border);
  border-radius:12px;
  padding:20px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  color: var(--npl-text-muted);
  background: var(--npl-input-bg);
  transition:.3s;
}
.npl-file-drop:hover{
  border-color: var(--npl-primary);
  background:#f0fdfa;
  color: var(--npl-primary);
}
.npl-file-drop.small{ padding:14px; }
.npl-file-drop i{ font-size:1.5rem; margin-bottom:5px; }
.npl-file-drop span{ font-size:.9rem; }

.npl-preview-box img{
  width:100%;
  height:180px;
  object-fit:cover;
  border-radius:12px;
  margin-top:10px;
  box-shadow: 0 4px 6px rgba(0,0,0,.1);
}
.npl-gallery-grid{
  display:grid;
  gap:12px;
  margin-top:12px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}
.npl-gallery-grid img{
  width:100%;
  aspect-ratio: 4/3;
  object-fit:cover;
  border-radius:12px;
  display:block;
  box-shadow: 0 8px 18px rgba(0,0,0,.08);
  transition: transform .2s ease;
}
.npl-gallery-grid img:hover{ transform: translateY(-2px); }

.npl-radios{ display:flex; gap:10px; flex-wrap:wrap; }
.npl-radios input{ display:none; }
.npl-radios span{
  display:inline-block;
  padding: 8px 16px;
  background: var(--npl-input-bg);
  border:1px solid var(--npl-border);
  border-radius: 20px;
  font-size:.85rem;
  transition:.3s;
  font-weight:500;
}
.npl-radios input:checked + span{
  background: var(--npl-primary);
  color:#fff;
  border-color: var(--npl-primary);
}

.npl-btn-primary,
.npl-btn-submit{
  width:100%;
  padding: 16px;
  border:none;
  background: var(--npl-primary);
  color:#fff;
  font-size:1rem;
  font-weight:600;
  border-radius:12px;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  transition:.3s;
}
.npl-btn-primary:hover,
.npl-btn-submit:hover{
  background: var(--npl-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(15,118,110,.3);
}

.npl-back-btn{
  background:none;
  border:none;
  color: var(--npl-text-muted);
  cursor:pointer;
  display:flex;
  align-items:center;
  gap:5px;
  font-size:.9rem;
  margin-bottom:10px;
  padding:0;
}
.npl-back-btn:hover{ color: var(--npl-text-main); }

.npl-terms{
  display:flex;
  gap:10px;
  align-items:flex-start;
  margin: 10px 0 18px;
  color: var(--npl-text-muted);
  font-size: .92rem;
}

/* ===========================
   GSAP CARDS (your original)
=========================== */
.gs-intro,
.gs-sticky-zone{
  position:relative;
  width:100%;
  height:100vh;
  padding:2rem;
  background: var(--gs-bg);
  color: var(--gs-fg);
  overflow:hidden;
  display:flex;
  justify-content:center;
  align-items:center;
  font-family: "Instrument Serif", serif;
}
.gs-title-main{
  font-size:4rem;
  font-weight:500;
  width:35%;
  text-align:center;
  line-height:1;
}
.gs-sticky-header{
  position:absolute;
  top:20%;
  left:50%;
  transform: translate(-50%, -50%);
  z-index:10;
}
.gs-header-text{
  font-size:4rem;
  text-align:center;
  will-change: transform, opacity;
  transform: translateY(40px);
  opacity:0;
}
.gs-card-container{
  position:relative;
  width:75%;
  display:flex;
  perspective:1000px;
  transform: translateY(40px);
  will-change: width, gap;
}
.gs-card{
  position:relative;
  flex:1;
  aspect-ratio: 5/7;
  transform-style: preserve-3d;
  transform-origin: top;
  transition: border-radius .5s ease;
}
#gs-card-1{ border-radius: 20px 0 0 20px; }
#gs-card-3{ border-radius: 0 20px 20px 0; }

.gs-card-front,
.gs-card-back{
  position:absolute;
  inset:0;
  backface-visibility:hidden;
  border-radius: inherit;
  overflow:hidden;
}
.gs-card-front img{ width:100%; height:100%; object-fit:cover; }
.gs-card-back{
  display:flex;
  justify-content:center;
  align-items:center;
  text-align:center;
  transform: rotateY(180deg);
  padding:2rem;
}
.gs-card-p{ font-size:2rem; line-height:1.1; }
.gs-card-num{ position:absolute; top:2rem; left:2rem; opacity:.4; font-size:1rem; }

#gs-card-1 .gs-card-back{ background: var(--gs-card-1); color:#000; }
#gs-card-2 .gs-card-back{ background: var(--gs-card-2); color:#fff; }
#gs-card-3 .gs-card-back{ background: var(--gs-card-3); color:#fff; }

/* mobile fallback */
@media (max-width:1000px){
  .gs-title-main{ font-size:2.5rem; width:90%; }
  .gs-header-text{ font-size:2.5rem; opacity:1; transform:none; }
  .gs-sticky-zone{ height:auto; padding: 4rem 1rem; flex-direction:column; }
  .gs-sticky-header{ position:relative; top:0; left:0; transform:none; margin-bottom:2rem; }
  .gs-card-container{ width:100%; flex-direction:column; gap:16px; transform:none; }
  .gs-card{
    width:100%;
    max-width:520px;
    margin:0 auto;
    aspect-ratio:auto;
    height:auto;
    border-radius:20px !important;
    transform:none !important;
  }
  .gs-card-front{ display:none !important; }
  .gs-card-back{
    position:relative;
    transform:none !important;
    display:block;
    padding: 28px 22px;
    border-radius:20px !important;
    height:auto;
  }
  .gs-card-num{ position:static; display:inline-block; margin: 0 0 12px; opacity:.65; }
  .gs-card-p{ font-size: clamp(1.2rem, 4.2vw, 1.8rem); line-height:1.25; margin:0; }
}
/* =========================
   PAGE HEADER (LIST + DISTRICT)
========================= */
.page-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin: 0 0 18px;
}

.page-head--clean{
  padding: 6px 0 2px;
}

.page-head-right{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:12px;
  flex-wrap:wrap;
  width:100%;
}

.page-head-titles{
  flex:1;
  min-width: 220px;
}

.page-title{
  font-size: clamp(26px, 3.6vw, 46px);
}

.page-sub{
  margin: 6px 0 0;
  color: var(--muted);
  font-weight:800;
  font-size: 14px;
}

.page-total-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.85);
  border: 1px solid var(--line);
  box-shadow: 0 10px 22px rgba(0,0,0,.06);
  font-weight: 900;
  color: rgba(0,0,0,.65);
  white-space:nowrap;
}

/* Back buttons (shared) */
.back-btn,
.back-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 10px 12px;
  border-radius: 999px;
  text-decoration:none;
  font-weight:900;
  border:1px solid rgba(15,61,62,.18);
  background: rgba(255,255,255,.75);
  color: var(--primary);
  box-shadow: 0 10px 22px rgba(0,0,0,.06);
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.back-btn:hover,
.back-link:hover{
  transform: translateY(-1px);
  background: rgba(212,175,55,.18);
  box-shadow: 0 14px 28px rgba(0,0,0,.10);
}
/* =========================
   DETAIL PAGE HEADER
========================= */
.detail-headbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin: 0 0 18px;
}

.detail-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .18em;
  text-transform: uppercase;
  background: rgba(15,61,62,.08);
  border: 1px solid rgba(15,61,62,.18);
  color: var(--primary);
}

.detail-pill-float{
  background: rgba(212,175,55,.18);
  border-color: rgba(212,175,55,.35);
}

.detail-top{
  margin-bottom: 14px;
}

.detail-title{
  margin: 0 0 10px;
  font-size: clamp(26px, 3.6vw, 46px);
  text-align: left; /* feels nicer on detail page */
}

.detail-meta{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
  color: rgba(0,0,0,.62);
  font-weight: 800;
  font-size: 13px;
}
.detail-meta a{
  text-decoration:none;
  border-bottom: 1px dashed rgba(15,61,62,.35);
}
.detail-meta a:hover{
  border-bottom-color: rgba(212,175,55,.9);
}
/* =========================
   VLOG PLAY OVERLAY FIX
========================= */
.play{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(0,0,0,.12);
}
.play i{
  width:62px;
  height:62px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:30px;
  background: rgba(0,0,0,.55);
  border:1px solid rgba(255,255,255,.35);
  color:#fff;
  backdrop-filter: blur(10px);
}
/* =========================
   DETAIL CONTENT: MAKE IMAGES RESPONSIVE
========================= */

/* any image coming from rich text (linebreaks / editor / pasted HTML) */
.detail-rich img,
.detail-sec-body img{
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  margin: 14px auto;
}

/* stop very wide images from overflowing */
.detail-content,
.detail-rich,
.detail-sec-body{
  overflow-wrap: anywhere;
}

/* nicer spacing for paragraphs */
.detail-rich p,
.detail-sec-body p{
  margin: 0 0 14px;
  line-height: 1.8;
}

/* if editor outputs figure */
.detail-rich figure,
.detail-sec-body figure{
  margin: 16px 0;
}
.detail-rich figcaption,
.detail-sec-body figcaption{
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  font-weight: 700;
}

/* hero image/video should always fit nicely */
.detail-hero,
.detail-video-hero{
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(0,0,0,.10);
  background: #eee;
  margin: 14px 0 18px;
}
.detail-hero{
  height: 100%;
  
}
.detail-hero img{
  /* height: clamp(220px, 40vw, 420px); */
  width: 80%;
  object-fit: cover;
  display: block;
  justify-self: center;
}

.detail-video-hero iframe,
.detail-video-hero video{
  width: 100%;
  height: clamp(220px, 40vw, 420px);
  display: block;
  border: 0;
  object-fit: cover;
}

/* gallery thumbs should be clean */
.ts-gallery{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.ts-gimg{
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 14px;
  overflow: hidden;
  outline: none;
}

.ts-gimg img{
  max-width: 390px;
  /* height: 140px; */
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform .25s ease;
}

.ts-gimg:hover img{
  transform: scale(1.06);
}
/* =========================
   LIGHTBOX (Gallery Viewer)
========================= */
.ts-lightbox{
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}

.ts-lightbox.is-open{
  display: block;
}

.ts-lb-backdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(6px);
}

.ts-lb-panel{
  position:absolute;
  inset: 18px;
  margin: auto;
  max-width: 1100px;
  max-height: calc(100vh - 36px);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 18px;
  box-shadow: 0 30px 90px rgba(0,0,0,.45);
  overflow: hidden;
  display:flex;
  align-items:center;
  justify-content:center;
}

.ts-lb-figure{
  margin:0;
  width: 100%;
  height: 100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding: 44px 56px 18px;
  gap: 12px;
}

.ts-lb-figure img{
  max-width: 100%;
  max-height: calc(100vh - 170px);
  width: auto;
  height: auto;
  display:block;
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0,0,0,.35);
  background:#000;
}

.ts-lb-cap{
  width: 100%;
  text-align:center;
  color: rgba(255,255,255,.86);
  font-weight: 800;
  font-size: 13px;
  line-height: 1.5;
  padding: 0 10px;
}

/* Buttons */
.ts-lb-close,
.ts-lb-nav{
  position:absolute;
  top: 14px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(0,0,0,.45);
  color:#fff;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  transition: transform .18s ease, background .18s ease, opacity .18s ease;
}

.ts-lb-close{
  right: 14px;
}

.ts-lb-nav{
  top: 50%;
  transform: translateY(-50%);
}

.ts-lb-prev{ left: 14px; }
.ts-lb-next{ right: 14px; }

.ts-lb-close:hover,
.ts-lb-nav:hover{
  background: rgba(0,0,0,.65);
  transform: translateY(-50%) scale(1.03);
}
.ts-lb-close:hover{
  transform: scale(1.03);
}

.ts-lb-close i,
.ts-lb-nav i{
  font-size: 22px;
  line-height: 1;
}

/* Mobile */
@media (max-width: 600px){
  .ts-lb-panel{ inset: 10px; border-radius: 14px; }
  .ts-lb-figure{ padding: 52px 14px 14px; }
  .ts-lb-prev{ left: 8px; }
  .ts-lb-next{ right: 8px; }
  .ts-lb-close{ right: 8px; top: 8px; }
}
/* FULLSCREEN lightbox */
.ts-lightbox{
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}
.ts-lightbox.is-open{ display:block; }

.ts-lb-backdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.82);
  backdrop-filter: blur(6px);
}

/* ✅ full screen panel */
.ts-lb-panel{
  position:absolute;
  inset: 0;               /* FULL SCREEN */
  width: 100vw;
  height: 100vh;
  display:flex;
  align-items:center;
  justify-content:center;
}

/* image container */
.ts-lb-figure{
  margin:0;
  width: 100%;
  height: 100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding: 70px 70px 26px;   /* leaves space for buttons */
  gap: 12px;
}

#tsLbImg{
  max-width: 96vw;          /* almost full width */
  max-height: 82vh;         /* almost full height */
  width: auto;
  height: auto;
  object-fit: contain;      /* ✅ show full image */
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(0,0,0,.45);
  background:#000;
}

.ts-lb-cap{
  color: rgba(255,255,255,.88);
  font-weight: 800;
  font-size: 13px;
  text-align:center;
  max-width: 900px;
  padding: 0 12px;
}

/* buttons */
.ts-lb-close,
.ts-lb-nav{
  position:absolute;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(0,0,0,.45);
  color:#fff;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
}

.ts-lb-close{ top: 16px; right: 16px; }
.ts-lb-prev{ left: 16px; top: 50%; transform: translateY(-50%); }
.ts-lb-next{ right: 16px; top: 50%; transform: translateY(-50%); }

.ts-lb-close i,
.ts-lb-nav i{ font-size: 24px; }

/* mobile */
@media (max-width: 600px){
  .ts-lb-figure{ padding: 64px 14px 18px; }
  #tsLbImg{ max-width: 94vw; max-height: 78vh; border-radius: 12px; }
  .ts-lb-close{ top: 10px; right: 10px; }
  .ts-lb-prev{ left: 10px; }
  .ts-lb-next{ right: 10px; }
}
/* LIGHTBOX should always be above nav */
.ts-lightbox{
  position: fixed;
  inset: 0;
  display:none;
  z-index: 999999;        /* ✅ higher than any navbar */
  isolation: isolate;      /* ✅ prevents weird stacking contexts */
}
.ts-lightbox.is-open{ display:block; }
/* =========================
   LIGHTBOX — IMPROVED UI
========================= */
.ts-lb-backdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.85);
  backdrop-filter: blur(10px);
}

/* full screen panel */
.ts-lb-panel{
  position:absolute;
  inset: 0;
  width: 100vw;
  height: 100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 70px 90px;    /* space for nav buttons */
  box-sizing: border-box;
}

/* image + caption */
.ts-lb-figure{
  margin:0;
  width: 100%;
  height: 100%;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap: 14px;
}

#tsLbImg{
  width: min(1200px, 92vw);     /* ✅ wide */
  max-height: 78vh;             /* ✅ tall */
  height: auto;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 30px 90px rgba(0,0,0,.55);
  background:#000;
}
#tsLbImg{ width: 96vw; }

.ts-lb-cap{
  color: rgba(255,255,255,.88);
  font-weight: 800;
  font-size: 13px;
  text-align:center;
  max-width: 900px;
  padding: 0 12px;
}

/* buttons (better look) */
.ts-lb-close,
.ts-lb-nav{
  position:absolute;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(0,0,0,.55);
  color:#fff;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow: 0 14px 40px rgba(0,0,0,.35);
  transition: transform .18s ease, background .18s ease, opacity .18s ease;
}

.ts-lb-close{
  top: 18px;
  right: 18px;
  z-index: 2; /* ✅ always above everything inside */
}

.ts-lb-prev{
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
}
.ts-lb-next{
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
}

.ts-lb-close:hover,
.ts-lb-nav:hover{
  background: rgba(0,0,0,.75);
  transform: translateY(-50%) scale(1.04);
}
.ts-lb-close:hover{ transform: scale(1.04); }

.ts-lb-close i,
.ts-lb-nav i{ font-size: 26px; }

/* mobile */
@media (max-width: 700px){
  .ts-lb-panel{ padding: 70px 14px 20px; }
  #tsLbImg{ width: 94vw; max-height: 72vh; border-radius: 14px; }
  .ts-lb-prev{ left: 10px; }
  .ts-lb-next{ right: 10px; }
  .ts-lb-close{ top: 10px; right: 10px; }
}
.detail-rich ul,
.detail-rich ol{
  margin: 12px 0 16px 20px;
  line-height: 1.7;
}

.detail-rich li{
  margin-bottom: 6px;
}

/* Table styling */
.ts-table{
  width:100%;
  border-collapse: collapse;
  margin: 20px 0;
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.ts-table th,
.ts-table td{
  padding: 12px;
  border: 1px solid rgba(0,0,0,0.08);
  text-align: left;
}

.ts-table th{
  background: #0f3d3e;
  color: #fff;
  font-weight: 700;
}
.detail-rich p {
  margin-bottom: 18px;
  line-height: 1.7;
}
