/* Nomad Travel, design tokens + cards (Poppins / red #E23636 / ink #110F0F) */
.ntv{
  --font:'Poppins',system-ui,-apple-system,'Segoe UI',sans-serif;
  --ink:#110F0F;--ink-soft:#292727;--acc:#E23636;--acc-dark:#c22c2c;
  --body:#525252;--muted:#8d8987;--line:#e7e3dc;--line-2:#ECEAE4;
  --band:#F0F0F0;--green:#1b3a31;--star:#E8A93C;
  font-family:var(--font);color:var(--body);line-height:1.6;
}
.ntv *{box-sizing:border-box}
.ntv img{max-width:100%;display:block}
.ntv a{text-decoration:none;color:inherit}
.ntv h1,.ntv h2,.ntv h3,.ntv h4{margin:0;color:var(--ink);letter-spacing:-.01em}

/* wrap + section head */
.ntv-wrap{max-width:1180px;margin:0 auto;padding:0 24px}
.ntv-kicker{font-size:11.5px;font-weight:600;letter-spacing:.22em;text-transform:uppercase;color:var(--muted);margin:0}
.ntv-sechead{max-width:720px;margin:0 0 26px}
.ntv-sechead h2{font-size:clamp(26px,3.8vw,40px);margin:12px 0 0;font-weight:700;line-height:1.1}
.ntv-sechead .lead{margin-top:12px;font-size:16px;color:var(--body)}

/* grid + filter bar */
.ntv-grid{display:grid;gap:24px;grid-template-columns:repeat(4,1fr)}
.ntv-grid.cols-1{grid-template-columns:1fr}.ntv-grid.cols-2{grid-template-columns:repeat(2,1fr)}
.ntv-grid.cols-3{grid-template-columns:repeat(3,1fr)}.ntv-grid.cols-4{grid-template-columns:repeat(4,1fr)}
@media(max-width:1024px){.ntv-grid,.ntv-grid.cols-3,.ntv-grid.cols-4{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.ntv-grid,.ntv-grid.cols-2,.ntv-grid.cols-3,.ntv-grid.cols-4{grid-template-columns:1fr}}
.ntv-filters{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 26px}
.ntv-fbtn{font-family:inherit;font-size:13px;font-weight:600;padding:9px 18px;border-radius:999px;border:1px solid var(--line);background:#fff;color:var(--ink);cursor:pointer;transition:.2s}
.ntv-fbtn:hover{border-color:var(--ink)}
.ntv-fbtn.is-active{background:var(--ink);color:#fff;border-color:var(--ink)}
.ntv-hidden{display:none!important}

/* red pill button */
.ntv-btn{display:inline-flex;align-items:center;gap:9px;background:var(--acc);color:#fff;font-weight:600;font-size:14px;padding:12px 22px;border-radius:999px;line-height:1;transition:.25s;white-space:nowrap;border:none;cursor:pointer}
.ntv-btn:hover{background:var(--acc-dark);color:#fff;transform:translateY(-2px)}
.ntv-btn.ntv-btn-green{background:var(--green)}
.ntv-btn.ntv-btn-green:hover{background:#142c25}

/* TOUR CARD (minimal: image / title / meta) */
.ntv-tourcard{display:block;transition:.2s}
.ntv-tourcard:hover{transform:translateY(-4px)}
.ntv-tourcard .photo{aspect-ratio:4/3;border-radius:16px;overflow:hidden;background:var(--line);position:relative}
.ntv-tourcard .photo img{width:100%;height:100%;object-fit:cover;transition:.5s}
.ntv-tourcard:hover .photo img{transform:scale(1.06)}
.ntv-tourcard .body{padding:13px 2px 0}
.ntv-tourcard h4{font-size:15px;font-weight:600;line-height:1.3}
.ntv-tourcard:hover h4{color:var(--acc)}
.ntv-tourcard .meta{font-size:12.5px;color:var(--muted);margin-top:6px}

/* CAR CARD (white card: image / tag / title / chips / text) */
.ntv-carcard{background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden;transition:.25s;display:block}
.ntv-carcard:hover{transform:translateY(-4px);box-shadow:0 8px 24px -16px rgba(17,15,15,.3)}
.ntv-carcard .photo{aspect-ratio:16/10;background:var(--line);overflow:hidden}
.ntv-carcard .photo img{width:100%;height:100%;object-fit:cover}
.ntv-carcard .body{padding:22px 22px 26px}
.ntv-carcard .tag{font-size:10.5px;letter-spacing:.18em;text-transform:uppercase;color:var(--acc);font-weight:600}
.ntv-carcard h4{font-size:20px;font-weight:600;margin:8px 0 14px}
.ntv-chips{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:14px}
.ntv-chip{font-size:10.5px;letter-spacing:.06em;text-transform:uppercase;font-weight:600;color:var(--ink-soft);border:1px solid var(--line);border-radius:7px;padding:5px 9px}
.ntv-carcard p{font-size:13.5px;color:var(--body);margin:0}

/* ITINERARY accordion (day by day) */
.ntv-itin{display:flex;flex-direction:column;gap:14px}
.ntv-day{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden}
.ntv-dayq{display:flex;align-items:center;gap:14px;padding:18px 22px;cursor:pointer;font-weight:600;font-size:15.5px;color:var(--ink)}
.ntv-dayq .n{flex-shrink:0;width:30px;height:30px;border-radius:50%;background:var(--acc);color:#fff;display:grid;place-items:center;font-size:12.5px;font-weight:700}
.ntv-dayq .ico{margin-left:auto;flex-shrink:0;width:18px;height:18px;position:relative;transition:.3s}
.ntv-dayq .ico::before,.ntv-dayq .ico::after{content:"";position:absolute;background:var(--ink);transition:.3s}
.ntv-dayq .ico::before{top:8px;left:0;width:18px;height:2px}
.ntv-dayq .ico::after{left:8px;top:0;width:2px;height:18px}
.ntv-day.open .ico::after{transform:rotate(90deg);opacity:0}
.ntv-daya{max-height:0;overflow:hidden;transition:max-height .3s ease}
.ntv-daya .inner{padding:0 22px 20px;font-size:14px;color:var(--body);line-height:1.65}

/* single tour / car page */
.ntv-single{padding:44px 0 70px}
.ntv-hero-img{border-radius:20px;overflow:hidden;background:var(--line);max-height:480px}
.ntv-hero-img img{width:100%;height:100%;max-height:480px;object-fit:cover}
.ntv-single h1{font-size:clamp(28px,4vw,44px);font-weight:700;line-height:1.1;margin:26px 0 8px}
.ntv-single .meta{color:var(--muted);font-size:14px;margin-bottom:22px}
.ntv-single .meta .city{color:var(--acc);font-weight:600;text-transform:uppercase;font-size:12px;letter-spacing:.06em}
.ntv-content{max-width:820px;font-size:16px;line-height:1.75;color:var(--body)}
.ntv-content p{margin:0 0 14px}
.ntv-single .ntv-book-row{margin:28px 0 40px;display:flex;gap:12px;flex-wrap:wrap}
.ntv-single h2.ntv-sub{font-size:24px;margin:38px 0 18px}
/* block-theme inline mode: theme renders header/title/hero; we render the rest */
.ntv-single-inline{padding:0}
.ntv-single-inline .meta{margin:4px 0 18px}
.ntv-itin-title{font-family:var(--font);color:var(--ink);font-size:24px;font-weight:700;letter-spacing:-.01em;margin:38px 0 18px}
.ntv-back{font-size:13.5px;font-weight:600;color:var(--muted)}
.ntv-back:hover{color:var(--acc)}

/* booking popup modal */
.ntv-modal{position:fixed;inset:0;z-index:99999;display:none;align-items:center;justify-content:center;padding:20px}
.ntv-modal.is-open{display:flex}
.ntv-modal-ov{position:absolute;inset:0;background:rgba(17,15,15,.6)}
.ntv-modal-card{position:relative;z-index:1;background:#fff;border-radius:18px;padding:30px 28px;max-width:560px;width:100%;max-height:90vh;overflow:auto;box-shadow:0 30px 80px -20px rgba(0,0,0,.55);animation:ntv-pop .2s ease}
@keyframes ntv-pop{from{transform:translateY(12px);opacity:0}to{transform:none;opacity:1}}
.ntv-modal-x{position:absolute;top:8px;right:12px;width:36px;height:36px;border:none;background:none;font-size:30px;line-height:1;cursor:pointer;color:#110F0F;opacity:.55}
.ntv-modal-x:hover{opacity:1}
body.ntv-modal-open{overflow:hidden}
