/* Nomad Travels site template. Shared by WordPress (enqueued by nomad-travels-theme.php)
   and the /plan app (linked from its layout), so every page has the same header, banner,
   cards and footer. Everything is prefixed nt- to stay clear of theme and Tailwind classes. */

:root {
  --nt-ink: #0f172a; --nt-muted: #475569; --nt-line: #e2e8f0; --nt-soft: #f8fafc; --nt-sand: #fff7ed;
  --nt-blue: #2563eb; --nt-blue-d: #1d4ed8; --nt-navy: #0b1f3a; --nt-navy-2: #12305a; --nt-teal: #0f766e;
  --nt-sun: #f59e0b; --nt-radius: 18px; --nt-max: 1180px;
}
body { background: #fff; color: var(--nt-ink); }

/* ---------- header ---------- */
.nt-header { background: var(--nt-navy); color: #fff; position: relative; z-index: 20; font-family: Manrope, system-ui, sans-serif; }
.nt-header-in { max-width: var(--nt-max); margin: 0 auto; padding: 14px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nt-logo { display: inline-flex; align-items: center; gap: 10px; color: #fff !important; text-decoration: none !important; font-weight: 800; font-size: 1.15rem; letter-spacing: -.01em; }
.nt-logo-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--nt-sun); color: var(--nt-navy); display: grid; place-items: center; font-size: 1rem; }
.nt-nav { display: flex; align-items: center; gap: 24px; }
.nt-nav a { color: #e2e8f0 !important; text-decoration: none !important; font-weight: 600; font-size: .95rem; }
.nt-nav a:hover, .nt-nav a[aria-current="page"] { color: #fff !important; }
.nt-nav a.nt-nav-cta { background: #fff; color: var(--nt-navy) !important; padding: 9px 16px; border-radius: 10px; }
.nt-menu { display: none; }
.nt-menu summary { list-style: none; cursor: pointer; color: #fff; font-size: 1.6rem; line-height: 1; padding: 4px 8px; }
.nt-menu summary::-webkit-details-marker { display: none; }
.nt-menu[open] .nt-nav { display: flex; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--nt-navy); padding: 8px 20px 18px; box-shadow: 0 20px 30px rgba(2,6,23,.3); }
.nt-menu[open] .nt-nav a { padding: 12px 0; border-bottom: 1px solid var(--nt-navy-2); }
.nt-menu[open] .nt-nav a.nt-nav-cta { margin-top: 12px; text-align: center; border: 0; }
@media (max-width: 900px) {
  .nt-header-in > .nt-nav { display: none; }
  .nt-menu { display: block; }
}

/* ---------- inner page banner ---------- */
.nt-pagehero { position: relative; color: #fff; padding: 64px 0 96px; font-family: Manrope, system-ui, sans-serif;
  background: linear-gradient(180deg, rgba(11,31,58,.72), rgba(11,31,58,.9)), var(--nt-img, none) center/cover, var(--nt-navy); }
.nt-pagehero-in { max-width: var(--nt-max); margin: 0 auto; padding: 0 20px; }
.nt-crumbs { font-size: .85rem; color: #cbd5e1; margin: 0 0 10px; }
.nt-crumbs a { color: #fff !important; }
.nt-pagehero h1 { font-size: clamp(2rem, 4.5vw, 3.1rem) !important; line-height: 1.1; margin: 0 0 12px !important; font-weight: 800; letter-spacing: -.02em; color: #fff !important; }
.nt-pagehero p { margin: 0; color: #e2e8f0; max-width: 40em; font-size: 1.08rem; }
.nt-sheet { position: relative; max-width: var(--nt-max); margin: -56px auto 0; padding: 0 20px; }
.nt-sheet-in { background: #fff; border: 1px solid var(--nt-line); border-radius: 24px; box-shadow: 0 20px 50px rgba(15,23,42,.10); padding: clamp(18px, 4vw, 40px); }
.nt-sheet-in.nt-flush { padding: 0; overflow: hidden; }
.nt-prose { max-width: 760px; margin: 0 auto; line-height: 1.7; }
.nt-prose h2 { font-size: 1.5rem; margin: 1.8em 0 .5em; letter-spacing: -.01em; }
.nt-prose h3 { font-size: 1.15rem; margin: 1.4em 0 .3em; }
.nt-prose a { color: var(--nt-blue); }

/* ---------- shared building blocks ---------- */
.nt-wrap { max-width: var(--nt-max); margin: 0 auto; padding: 0 20px; }
.nt-tag { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--nt-teal); }
.nt-btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 12px; font-weight: 700; text-decoration: none !important; border: 0; font: inherit; font-weight: 700; cursor: pointer; }
.nt-btn-p { background: var(--nt-blue); color: #fff !important; } .nt-btn-p:hover { background: var(--nt-blue-d); }
.nt-btn-g { background: #fff; color: var(--nt-ink) !important; border: 1px solid var(--nt-line); }
.nt-sec { padding: 84px 0; } .nt-sec-soft { background: var(--nt-soft); }
.nt-sec-h { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 30px; }
.nt-sec-h h2 { font-size: clamp(1.8rem, 3vw, 2.5rem) !important; margin: .2em 0 0 !important; letter-spacing: -.02em; line-height: 1.15; }
.nt-sec-h p { margin: .4em 0 0; color: var(--nt-muted); max-width: 36em; }

/* ---------- homepage ---------- */
.nt-hero { position: relative; color: #fff; font-family: Manrope, system-ui, sans-serif;
  background: linear-gradient(100deg, rgba(11,31,58,.94) 0%, rgba(11,31,58,.72) 48%, rgba(11,31,58,.2) 100%), var(--nt-img) center/cover, var(--nt-navy); }
.nt-hero-in { max-width: var(--nt-max); margin: 0 auto; padding: 72px 20px 80px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.nt-hero .nt-tag { color: #fcd34d; }
.nt-hero h1 { font-size: clamp(2.3rem, 5vw, 3.8rem) !important; line-height: 1.05; margin: .3em 0 !important; font-weight: 800; letter-spacing: -.02em; color: #fff !important; }
.nt-hero .nt-lead { font-size: 1.15rem; color: #e2e8f0; max-width: 34em; margin: 0; }
.nt-ticks { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.nt-ticks li::before { content: "✓ "; color: #4ade80; font-weight: 800; }
.nt-start { background: #fff; color: var(--nt-ink); border-radius: var(--nt-radius); padding: 26px; box-shadow: 0 30px 60px rgba(2,6,23,.35); }
.nt-start h2 { margin: 0 0 14px !important; font-size: 1.25rem !important; }
.nt-field { margin-bottom: 12px; } .nt-field label, .nt-chips legend { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 5px; padding: 0; }
.nt-field select, .nt-field input { width: 100%; box-sizing: border-box; padding: 12px; border: 1px solid #cbd5e1; border-radius: 10px; font: inherit; background: #fff; color: var(--nt-ink); }
.nt-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.nt-chips { border: 0; padding: 0; margin: 0 0 12px; } .nt-chips div { display: flex; gap: 8px; }
.nt-chips label { flex: 1; } .nt-chips input { position: absolute; opacity: 0; pointer-events: none; }
.nt-chips span { display: block; text-align: center; padding: 9px; border-radius: 999px; border: 1px solid #cbd5e1; font-weight: 600; cursor: pointer; }
.nt-chips input:checked + span { background: var(--nt-blue); border-color: var(--nt-blue); color: #fff; }
.nt-chips input:focus-visible + span { outline: 3px solid #93c5fd; outline-offset: 2px; }
.nt-start .nt-btn-p { width: 100%; justify-content: center; margin-top: 4px; }
.nt-start .nt-alt { text-align: center; margin: 10px 0 0; font-size: .9rem; color: var(--nt-muted); }
.nt-strip { background: var(--nt-navy); color: #cbd5e1; }
.nt-strip .nt-wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding-top: 22px; padding-bottom: 22px; }
.nt-strip b { display: block; color: #fff; font-size: 1.35rem; }
.nt-cities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.nt-city { position: relative; border-radius: var(--nt-radius); overflow: hidden; min-height: 300px; color: #fff !important; text-decoration: none !important; display: flex; align-items: flex-end; box-shadow: 0 10px 30px rgba(15,23,42,.12); transition: transform .25s; }
.nt-city:hover { transform: translateY(-4px); }
.nt-city img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nt-city::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(2,6,23,0) 30%, rgba(2,6,23,.88)); }
.nt-city > div { position: relative; z-index: 1; padding: 20px; width: 100%; }
.nt-city h3 { margin: 0 !important; font-size: 1.4rem !important; color: #fff !important; }
.nt-city .nt-note { margin: 2px 0 6px; font-size: .9rem; color: #e2e8f0; }
.nt-city .nt-meta { display: flex; justify-content: space-between; align-items: center; font-size: .92rem; color: #f1f5f9; }
.nt-badge { font-size: .72rem; font-weight: 700; padding: 4px 9px; border-radius: 999px; background: #fff; color: var(--nt-navy); }
.nt-badge-out { background: #fcd34d; color: #422006; }
.nt-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.nt-split img { border-radius: 24px; box-shadow: 0 20px 50px rgba(15,23,42,.18); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.nt-split h2 { font-size: clamp(1.8rem, 3vw, 2.4rem) !important; margin: .2em 0 !important; line-height: 1.15; }
.nt-feat { display: grid; gap: 18px; margin-top: 22px; } .nt-feat > div { display: flex; gap: 14px; }
.nt-ic { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #dbeafe; color: var(--nt-blue); }
.nt-feat h3 { margin: 0 !important; font-size: 1.05rem !important; } .nt-feat p { margin: .2em 0 0; color: var(--nt-muted); }
.nt-band { position: relative; color: #fff; border-radius: 28px; overflow: hidden; padding: 64px; background: linear-gradient(90deg, rgba(15,118,110,.95), rgba(15,118,110,.78)), var(--nt-img) center/cover, var(--nt-teal); }
.nt-band .nt-tag { color: #ccfbf1; }
.nt-band h2 { font-size: clamp(1.8rem, 3vw, 2.4rem) !important; margin: .2em 0 10px !important; color: #fff !important; }
.nt-band p { max-width: 34em; color: #f0fdfa; margin: 0; }
.nt-band form { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; max-width: 560px; }
.nt-band select { flex: 1; min-width: 200px; padding: 13px; border-radius: 12px; border: 0; font: inherit; color: var(--nt-ink); background: #fff; }
.nt-band .nt-btn { background: #fff; color: var(--nt-navy) !important; }
.nt-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: nts; }
.nt-step { background: var(--nt-soft); border: 1px solid var(--nt-line); border-radius: var(--nt-radius); padding: 26px; }
.nt-step::before { counter-increment: nts; content: counter(nts); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--nt-navy); color: #fff; font-weight: 800; margin-bottom: 14px; }
.nt-step h3 { margin: 0 0 6px !important; font-size: 1.15rem !important; } .nt-step p { margin: 0; color: var(--nt-muted); }
.nt-trip { display: grid; grid-template-columns: 1.2fr 1fr; border-radius: 24px; overflow: hidden; border: 1px solid var(--nt-line); background: #fff; }
.nt-trip img { width: 100%; height: 100%; object-fit: cover; min-height: 260px; }
.nt-trip-body { padding: 36px; }
.nt-trip h2 { margin: .2em 0 !important; font-size: 1.7rem !important; }
.nt-legs { list-style: none; padding: 0; margin: 18px 0; } .nt-legs li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed var(--nt-line); }
.nt-legs li span { color: var(--nt-muted); }
.nt-total { display: flex; justify-content: space-between; font-weight: 800; font-size: 1.2rem; margin-bottom: 18px; }
.nt-small { font-size: .82rem; color: var(--nt-muted); }
.nt-compare { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--nt-radius); overflow: hidden; border: 1px solid var(--nt-line); }
.nt-compare th, .nt-compare td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--nt-line); }
.nt-compare thead th { background: var(--nt-navy); color: #fff; }
.nt-compare td.nt-yes { color: #166534; font-weight: 700; } .nt-compare td.nt-no { color: #4b5563; }
.nt-compare .nt-us { background: #eff6ff; }
.nt-compare thead th.nt-us { background: var(--nt-blue); color: #fff; }
.nt-table-scroll { overflow-x: auto; }

/* ---------- footer ---------- */
.nt-footer { background: var(--nt-navy); color: #cbd5e1; padding: 60px 0 30px; margin-top: 84px; font-family: Manrope, system-ui, sans-serif; }
.nt-footer-in { max-width: var(--nt-max); margin: 0 auto; padding: 0 20px; }
.nt-fgrid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 30px; }
.nt-footer h4 { color: #fff !important; margin: 0 0 12px !important; font-size: 1rem !important; }
.nt-footer p { margin: 12px 0 0; }
.nt-footer nav a { color: #cbd5e1 !important; text-decoration: none !important; display: block; padding: 3px 0; }
.nt-footer nav a:hover { color: #fff !important; }
.nt-legal { border-top: 1px solid var(--nt-navy-2); margin-top: 40px; padding-top: 20px; font-size: .82rem; color: #a5b4c8; }

@media (max-width: 900px) {
  .nt-hero-in, .nt-split, .nt-trip, .nt-fgrid { grid-template-columns: 1fr; }
  .nt-cities, .nt-steps { grid-template-columns: 1fr 1fr; }
  .nt-strip .nt-wrap { grid-template-columns: 1fr 1fr; }
  .nt-band { padding: 40px 24px; }
  .nt-hero { background: linear-gradient(180deg, rgba(11,31,58,.86), rgba(11,31,58,.93)), var(--nt-img) center/cover, var(--nt-navy); }
}
@media (max-width: 560px) {
  .nt-cities, .nt-steps, .nt-row { grid-template-columns: 1fr; }
  .nt-sec-h { display: block; }
  .nt-sec { padding: 60px 0; }
  .nt-hero-in { padding: 40px 20px 56px; }
}

/* ---------- full-width sections inside WordPress's narrow content column ---------- */
html, body { overflow-x: clip; }
.nt-hero, .nt-strip, .nt-sec, .nt-pagehero, .nt-sheet {
  width: 100vw; max-width: none !important; margin-left: calc(50% - 50vw) !important; margin-right: 0 !important;
}
.nt-sheet { padding: 0 20px; box-sizing: border-box; }
.nt-sheet-in { max-width: calc(var(--nt-max) - 40px); margin: 0 auto; box-sizing: border-box; }
.nt-hero, .nt-pagehero, .nt-strip, .nt-sec { margin-top: 0 !important; margin-block-start: 0 !important; }
.nt-sheet { margin-top: -56px !important; }
/* WordPress wraps template parts and page content with gaps and padding; the template sets its own. */
.wp-site-blocks > header.wp-block-template-part, .wp-site-blocks > footer.wp-block-template-part { margin: 0 !important; }
.wp-site-blocks > main { margin-top: 0 !important; padding-top: 0 !important; }
.wp-site-blocks > main > .entry-content, .wp-site-blocks > main .wp-block-post-content { margin-top: 0 !important; }
.nt-footer { margin-top: 84px; }

/* ---------- visa rules (nomad-travels-visa.php) ---------- */
.nt-vr-list { list-style: none; padding: 0; margin: 20px 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.nt-vr-list li[hidden] { display: none; }
.nt-vr-item { display: block; border: 1px solid var(--nt-line); border-radius: 12px; padding: 10px 14px; color: var(--nt-ink) !important; text-decoration: none !important; }
.nt-vr-item:hover { border-color: var(--nt-blue); }
.nt-vr-line { display: block; font-size: .9rem; color: var(--nt-muted); }
.nt-vr-warn { font-size: .72rem; font-weight: 700; padding: 2px 7px; border-radius: 6px; background: #fee2e2; color: #991b1b; }
.nt-vr-pick { background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 16px; padding: 18px; margin-bottom: 18px; }
.nt-vr-result { font-size: 1.15rem; font-weight: 700; margin: 6px 0; }
.nt-vr-alert { border: 1px solid #fca5a5; background: #fef2f2; color: #7f1d1d; border-radius: 14px; padding: 14px; }
.nt-vr-boxes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 14px 0; }
.nt-vr-boxes div { border: 1px solid var(--nt-line); border-radius: 12px; padding: 12px; }
.nt-vr-boxes span { display: block; font-size: .85rem; color: var(--nt-muted); }
.nt-vr-disclaimer { background: var(--nt-soft); border-radius: 14px; padding: 14px; font-size: .88rem; color: #334155; margin-top: 24px; }
@media (max-width: 700px) { .nt-vr-list, .nt-vr-boxes { grid-template-columns: 1fr; } }
