/* Sundeals – passport checker
   Tokens taken from sundeals.com's styleguide (cdn.sundeals.com/vto/styleguide/core.css, Oct 2026).
   Font: Poppins (Sundeals' own files in assets/fonts). Icons: Sundeals sprite in assets/icons.svg. */

@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/poppins-regular.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/poppins-500.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/poppins-600.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/poppins-700.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 800; font-display: swap; src: url('fonts/poppins-800.woff2') format('woff2'); }

:root {
  --ink: #1E1E1E;          /* text-primary, btn-primary */
  --ink-2: #696B6D;        /* light text – only where hierarchy needs it */
  --page: #F4F5F7;         /* bg-page – panels */
  --line: #D9D9D9;         /* component borders */
  --divider: #E2E2E3;      /* divider lines */
  --line-strong: #B6B7B9;  /* accordion borders */
  --placeholder: #B6B7B9;  /* input placeholder text */
  --title-bar: #464748;    /* title bars, open accordion headers */
  --input: #8F9193;        /* form control borders */
  --white: #FFFFFF;
  --yellow: #FFDD00;       /* the sun – highlights */
  --link: #CC3D00;         /* form-link-primary */
  --focus: #1E848C;        /* ring-focus */
  --ok: #128203;           /* text-success */
  --bad: #DC0028;          /* text-error */

  --font: 'Poppins', Tahoma, sans-serif;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --shadow-pop: 0 2px 6px rgba(30, 30, 30, .08), 0 18px 40px -16px rgba(30, 30, 30, .3);
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 16px/1.5 var(--font); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--link); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--ink); }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { margin: 0; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
[tabindex="-1"]:focus { outline: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 30px; }
.i { width: 1em; height: 1em; flex: none; fill: currentColor; }
.flag { display: inline-block; width: 24px; height: 16px; flex: none; border-radius: 2px; object-fit: cover; box-shadow: 0 0 0 1px rgba(30, 30, 30, .08); vertical-align: middle; }
.flag-sm { width: 18px; height: 12px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 9999px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; color: var(--white); }
.section-title { font-weight: 800; font-size: clamp(1.5rem, .5rem + 3.125vw, 2rem); line-height: 1.3; letter-spacing: -.03em; }

/* Sundeals highlighter: a skewed yellow bar behind text */
.highlight { position: relative; display: inline-block; isolation: isolate; white-space: nowrap; }
.highlight::before { content: ''; position: absolute; left: -6px; right: -2px; bottom: 2px; height: 45%; z-index: -1; background: var(--yellow); border-radius: .2rem; transform: skewX(-20deg); transform-origin: center bottom; }

/* ── Buttons ────────────────────────────────────────────── */
.btn, .btn-outline, .btn-solid {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 24px;
  border-radius: 9999px; border: 2px solid var(--ink); font: 700 15px/1 var(--font); text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s;
}
.btn-primary, .btn-solid { background: var(--ink); color: var(--white); }
.btn-primary:hover, .btn-solid:hover { background: #3A3A3A; border-color: #3A3A3A; color: var(--white); }
.btn-secondary, .btn-outline { background: var(--white); color: var(--ink); }
.btn-secondary:hover, .btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-lg { min-height: 52px; padding: 0 36px; font-size: 16px; }
.btn .i, .btn-solid .i, .btn-outline .i { width: 14px; height: 14px; }
.btn-text { border: 0; background: none; padding: 4px 0; color: var(--link); font: 400 15px var(--font); text-decoration: underline; text-underline-offset: 2px; display: inline-flex; align-items: center; gap: 8px; }
.btn-text:hover { color: var(--ink); }
.btn-text svg { width: 16px; height: 16px; }

/* ── Header ─────────────────────────────────────────────── */
.topstrip { background: var(--ink); color: var(--white); font-size: 14px; }
.topstrip ul { display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; margin: 0 auto; padding-top: 0; padding-bottom: 0; }
.topstrip li { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 8px 0; }
.topstrip li + li { border-left: 1px solid rgba(255, 255, 255, .35); }
.topstrip .i { width: 14px; height: 14px; }
.site-header { background: var(--white); }
.header-inner { display: flex; align-items: center; min-height: 92px; }
.logo { display: block; margin-right: 40px; }
.logo img { width: 210px; height: auto; }
.main-nav ul { display: flex; list-style: none; margin: 0; padding: 0; gap: 4px; }
.main-nav a { display: inline-flex; align-items: center; gap: 8px; padding: 24px 8px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 16px; letter-spacing: .01em; border-radius: 4px 4px 0 0; }
.main-nav a:hover { color: var(--link); background: var(--page); }
.chev { width: 11px; height: 11px; }
.utility { display: flex; gap: 20px; list-style: none; margin: 0 0 0 auto; padding: 0; font-size: 14px; }
.utility a { color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.utility a:hover { text-decoration: underline; }
.utility .i { width: 14px; height: 14px; }
.icon-btn { border: 0; background: none; color: inherit; padding: 8px; }
.icon-btn .i { width: 24px; height: 24px; }
.burger { display: none; }

/* ── Hero ───────────────────────────────────────────────── */
.hero { padding: 8px 0 40px; overflow: hidden; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 28px; padding: 0; font-size: 14px; }
.crumbs li + li::before { content: '/'; margin-right: 8px; color: var(--ink); }
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 32px; }
.hero h1 { font-weight: 800; font-size: clamp(2rem, 1rem + 3.125vw, 2.75rem); line-height: 1.15; letter-spacing: -.03em; }
.intro { max-width: 62ch; margin-top: 16px; }
.intro p { margin: 0 0 12px; }
.intro p:last-child { margin-bottom: 0; }
.hero-art .art { width: 100%; max-width: 440px; height: auto; margin-left: auto; }

/* ── Checker panel (styled like Sundeals' "Find your holiday") ── */
.panel { background: var(--page); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 32px; }
.panel-title { font-weight: 800; font-size: 1.375rem; letter-spacing: -.03em; margin-bottom: 20px; }

.error-summary { border: 2px solid var(--bad); border-left-width: 8px; background: var(--white); border-radius: var(--r-md); padding: 14px 18px; margin-bottom: 22px; }
.error-summary h3 { font-size: 1rem; font-weight: 700; color: var(--bad); }
.error-summary ul { margin: 6px 0 0; padding-left: 20px; }
.error-summary a { color: var(--bad); }

.step { border: 0; margin: 0; padding: 0; min-width: 0; }
.step + .step { margin-top: 26px; padding-top: 26px; border-top: 1px solid var(--divider); }
.step > legend { display: flex; align-items: center; gap: 10px; padding: 0; margin-bottom: 14px; font-size: 1.125rem; font-weight: 700; letter-spacing: -.02em; float: left; width: 100%; }
.step > legend + * { clear: both; }
.step-num { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--white); font-size: 14px; letter-spacing: 0; }

.trip-grid { display: grid; grid-template-columns: 1.55fr 1fr .72fr; gap: 16px; clear: both; }
.field { min-width: 0; }
.field > label, .field > .label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.field-error { color: var(--bad); font-size: 14px; margin: 6px 0 0; }

.combo, .date-btn, .stepper {
  position: relative; display: flex; align-items: stretch; height: 48px; background: var(--white);
  border: 1px solid var(--input); border-radius: var(--r-sm); transition: border-color .15s, box-shadow .15s;
}
.combo:focus-within, .date-btn:focus-visible, .date-btn[aria-expanded="true"], .stepper:focus-within { border-color: var(--ink); box-shadow: 0 0 0 2px var(--focus); outline: none; }
.is-invalid .combo, .is-invalid .date-btn { border-color: var(--bad); }
.field-icon { display: grid; place-items: center; padding-left: 14px; flex: none; }
.field-icon .i { width: 16px; height: 16px; }
.combo input { flex: 1; min-width: 0; border: 0; background: none; padding: 0 12px; font-size: 15px; font-weight: 500; outline: none; }
.combo input::placeholder { color: var(--placeholder); font-weight: 400; }
.combo-clear { border: 0; background: none; padding: 0 14px; color: var(--ink-2); }
.combo-clear .i { width: 12px; height: 12px; }
.combo-list {
  position: absolute; left: -1px; right: -1px; top: calc(100% + 6px); z-index: 20; margin: 0; padding: 6px; list-style: none;
  background: var(--white); border-radius: var(--r-md); box-shadow: var(--shadow-pop); border: 1px solid var(--line); max-height: min(400px, 60vh); overflow: auto; overscroll-behavior: contain;
}
.combo-group { font-size: 13px; font-weight: 700; color: var(--ink-2); padding: 12px 10px 6px; }
.combo-opt { display: grid; grid-template-columns: 30px 1fr; align-items: center; gap: 0 10px; padding: 8px 10px; border-radius: var(--r-sm); cursor: pointer; }
.combo-opt .flag { grid-row: span 2; }
.combo-opt b { font-weight: 700; }
.combo-opt small { color: var(--ink-2); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.combo-opt[aria-selected="true"], .combo-opt:hover { background: var(--page); }
.combo-opt mark { background: var(--yellow); color: inherit; border-radius: 2px; }
.combo-none { padding: 14px 10px; color: var(--ink); }

.datepick { position: relative; }
.date-btn { width: 100%; padding: 0; text-align: left; cursor: pointer; }
.date-value { display: flex; align-items: center; padding: 0 12px; font-size: 15px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.date-value.is-empty { color: var(--placeholder); font-weight: 400; }
.cal { position: absolute; top: calc(100% + 6px); left: 0; z-index: 25; width: 336px; background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow-pop); border: 1px solid var(--line); padding: 16px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cal-head h3 { font-size: 17px; font-weight: 700; letter-spacing: -.02em; }
.cal-nav { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--line); background: var(--white); display: grid; place-items: center; }
.cal-nav:hover:not(:disabled) { border-color: var(--ink); }
.cal-nav:disabled { opacity: .35; cursor: default; }
.cal-nav svg { width: 16px; height: 16px; }
.cal table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.cal th { font-size: 12px; font-weight: 700; color: var(--ink-2); padding: 6px 0; }
.cal td { padding: 2px; text-align: center; }
.cal-day { width: 40px; height: 40px; border-radius: 50%; border: 0; background: none; font-size: 14px; font-weight: 500; }
.cal-day:hover:not(:disabled) { background: var(--page); }
.cal-day.is-today { box-shadow: inset 0 0 0 1.5px var(--ink); }
.cal-day[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.cal-day:disabled { color: #B5B7BA; cursor: default; }
.cal-day:focus-visible { outline: 2px solid var(--focus); outline-offset: 0; }
.cal-foot { display: flex; justify-content: flex-end; margin-top: 8px; }
.cal-foot button { border: 0; background: none; color: var(--link); text-decoration: underline; padding: 6px; font-size: 14px; }

.stepper { overflow: hidden; }
.step-btn { width: 46px; flex: none; border: 0; background: var(--white); font-size: 20px; font-weight: 500; line-height: 1; }
.step-btn:hover { background: var(--page); }
.step-btn:disabled { opacity: .35; cursor: default; }
.stepper input { flex: 1; min-width: 0; width: 100%; border: 0; border-left: 1px solid var(--divider); border-right: 1px solid var(--divider); text-align: center; font-weight: 700; font-size: 16px; outline: none; }

.trip-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 20px; margin-top: 14px; }
.popular { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.popular span { font-size: 14px; color: var(--ink-2); }
.popular button { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--input); background: var(--white); border-radius: 9999px; padding: 5px 12px; font-size: 14px; font-weight: 500; }
.popular button:hover { border-color: var(--ink); }
.popular button[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--white); }
.leave-note { margin: 0; font-size: 14px; color: var(--ink-2); }
.leave-note strong { color: var(--ink); }

/* Where to find the dates */
.help-toggle { float: right; margin: -44px 0 0; display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; color: var(--link); font-size: 15px; text-decoration: underline; text-underline-offset: 2px; padding: 6px 0; }
.help-toggle .i { width: 16px; height: 16px; color: currentColor; }
.where { display: grid; grid-template-columns: minmax(0, 1.15fr) 1fr; gap: 24px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px; margin-bottom: 16px; clear: both; }
.where[hidden] { display: none; }
.where-copy h3 { font-size: 1.125rem; font-weight: 700; letter-spacing: -.02em; margin-bottom: 6px; }
.where-copy p { margin: 0 0 10px; }
.specimen { background: linear-gradient(135deg, #F7F8FA, #EEF0F3); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px 10px; box-shadow: 0 10px 24px -14px rgba(30, 30, 30, .3); }
.spec-top { display: flex; justify-content: space-between; gap: 12px; font-size: 9px; font-weight: 700; letter-spacing: .06em; color: var(--ink-2); margin-bottom: 10px; }
.spec-top span:last-child { text-align: right; max-width: 70%; }
.spec-body { display: grid; grid-template-columns: 74px 1fr; gap: 14px; }
.spec-photo { background: #E4E6E9; border-radius: 6px; height: 96px; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.spec-photo svg { width: 60px; }
.spec-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 10px; margin: 0; }
.spec-fields > div { grid-column: span 2; padding: 2px 4px; border-radius: 6px; }
.spec-fields > .spec-half { grid-column: span 1; }
.spec-fields dt { font-size: 8.5px; font-weight: 500; color: var(--ink-2); text-transform: uppercase; letter-spacing: .04em; }
.spec-fields dd { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .03em; }
.spec-hit { background: var(--yellow); box-shadow: 0 0 0 2px var(--ink); animation: hit 2.4s ease-in-out infinite; }
@keyframes hit { 50% { box-shadow: 0 0 0 4px var(--ink); } }
.spec-mrz { margin-top: 10px; font: 700 10.5px/1.2 ui-monospace, 'SF Mono', Menlo, monospace; letter-spacing: .14em; color: var(--ink-2); white-space: nowrap; overflow: hidden; }

/* Passports */
.travellers { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; clear: both; }
.traveller {
  display: grid; grid-template-columns: 130px 230px auto auto 1fr 44px; grid-template-areas: "tag ctry iss exp . rm" "err err err err err err";
  gap: 0 20px; align-items: end; border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px 16px 16px 20px; background: var(--white);
}
.traveller.is-invalid { border-color: var(--bad); }
.dmy-group legend { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; padding: 0; }
.trav-tag { grid-area: tag; height: 48px; display: flex; align-items: center; font-weight: 700; white-space: nowrap; }
.trav-country { grid-area: ctry; min-width: 0; }
.trav-country label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; padding-bottom: 18px; }
.select-wrap { position: relative; }
.select-wrap::after { content: ''; position: absolute; right: 16px; top: 50%; width: 7px; height: 7px; margin-top: -5px; border: solid var(--ink); border-width: 0 2px 2px 0; transform: rotate(45deg); pointer-events: none; }
.select-wrap select { appearance: none; -webkit-appearance: none; width: 100%; height: 48px; border: 1px solid var(--input); border-radius: var(--r-sm); background: var(--white); padding: 0 40px 0 12px; font-size: 15px; font-weight: 500; cursor: pointer; text-overflow: ellipsis; }
.select-wrap select:focus { border-color: var(--ink); box-shadow: 0 0 0 2px var(--focus); outline: none; }
.dmy-group { border: 0; margin: 0; padding: 0; min-width: 0; }
.dmy-group[data-kind="issue"] { grid-area: iss; }
.dmy-group[data-kind="expiry"] { grid-area: exp; }
.dmy { display: flex; gap: 8px; }
.dmy label { display: flex; flex-direction: column; gap: 2px; font-size: 12px; color: var(--ink-2); }
.dmy input { width: 58px; height: 48px; border: 1px solid var(--input); border-radius: var(--r-sm); text-align: center; font-weight: 600; font-size: 16px; padding: 0 4px; background: var(--white); }
.dmy .yy input { width: 80px; }
.dmy input::placeholder { color: var(--placeholder); font-weight: 400; }
.dmy input:focus { border-color: var(--ink); box-shadow: 0 0 0 2px var(--focus); outline: none; }
.dmy-group.is-invalid input { border-color: var(--bad); }
.trav-error { grid-area: err; margin: 10px 0 0; color: var(--bad); font-size: 14px; }
.trav-remove { grid-area: rm; width: 44px; height: 48px; border: 0; border-radius: var(--r-sm); background: none; color: var(--ink); display: grid; place-items: center; }
.trav-remove:hover { background: var(--page); }
.trav-remove .i { width: 16px; height: 16px; }
.trav-remove[hidden] { display: grid; visibility: hidden; }
.add-traveller { margin-top: 14px; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 20px; border: 2px solid var(--ink); border-radius: 9999px; background: var(--white); font-weight: 700; font-size: 15px; }
.add-traveller .i { width: 18px; height: 18px; }
.add-traveller:hover { background: var(--ink); color: var(--white); }

.panel-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--divider); }
.privacy { display: flex; align-items: flex-start; gap: 10px; margin: 0; color: var(--ink-2); font-size: 14px; line-height: 20px; }
.privacy .i { width: 16px; height: 16px; margin-top: 2px; color: currentColor; }
.panel-foot .btn { margin-left: auto; }

/* ── Results ────────────────────────────────────────────── */
.results { padding: 40px 0 16px; scroll-margin-top: 12px; }
.res-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; background: var(--page); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 12px 14px 12px 20px; margin-bottom: 28px; }
.res-bar-dest { display: flex; align-items: center; gap: 10px; font-size: 1.125rem; font-weight: 800; letter-spacing: -.03em; }

.res-bar-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--ink); font-size: 14px; }
.res-bar-meta span { display: inline-flex; align-items: center; gap: 8px; }
.res-bar-meta .i { width: 15px; height: 15px; }
.res-bar .btn-outline { margin-left: auto; min-height: 40px; font-size: 14px; }

.verdict-head { display: flex; align-items: center; gap: 18px; margin-bottom: 26px; }
.verdict-icon { flex: none; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; }
.verdict-icon svg { width: 24px; height: 24px; }
.verdict-head.is-pass .verdict-icon, .verdict-head.is-warn .verdict-icon { background: var(--ok); color: var(--white); }
.verdict-head.is-fail .verdict-icon { background: var(--bad); color: var(--white); }
.verdict-head.is-check .verdict-icon { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 2.5px var(--ink); }
.verdict-head h2 { font-weight: 800; font-size: clamp(1.5rem, .5rem + 3.125vw, 2rem); line-height: 1.25; letter-spacing: -.03em; }
.verdict-head p { margin: 6px 0 0; color: var(--ink); }

.res-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.res-passports { display: grid; gap: 18px; }
.pcard { background: var(--white); border-radius: var(--r-md); border: 1px solid var(--line); overflow: hidden; }
.pcard-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--divider); }
.pcard-head h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -.03em; }
.pcard-dates { display: block; margin-top: 2px; font-size: 14px; color: var(--ink-2); }
.pill { display: inline-flex; align-items: center; gap: 6px; border-radius: 9999px; padding: 4px 12px; border: 1.5px solid currentColor; font-size: 13px; font-weight: 700; white-space: nowrap; }
.pill svg { width: 12px; height: 12px; }
.pill.is-pass, .pill.is-warn { color: var(--ok); }
.pill.is-fail { color: var(--bad); }
.pill.is-check { color: var(--ink-2); }

.checks { list-style: none; margin: 0; padding: 6px 22px; }
.check { display: grid; grid-template-columns: 28px 1fr; gap: 4px 14px; padding: 16px 0; }
.check + .check { border-top: 1px solid var(--divider); }
.check-ico { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; grid-row: 1 / span 4; }
.check > :not(.check-ico) { grid-column: 2; }
.check-ico svg { width: 12px; height: 12px; }
.check.is-pass .check-ico { background: var(--ok); color: var(--white); }
.check.is-fail .check-ico { background: var(--bad); color: var(--white); }
.check.is-warn .check-ico { background: var(--page); color: var(--ink); }
.check-title { font-weight: 700; line-height: 1.35; letter-spacing: -.01em; }
.check-detail { margin: 0; color: var(--ink); font-size: 15px; }
.check-detail strong { color: var(--ink); }
.check-why { margin: 10px 0 0; border-left: 3px solid var(--bad); padding: 2px 0 2px 12px; font-size: 14px; }

.meter { margin-top: 12px; }
.meter-track { position: relative; height: 8px; border-radius: 9999px; background: var(--divider); }
.meter-fill { position: absolute; inset: 0 auto 0 0; border-radius: 9999px; background: var(--ink); min-width: 8px; }
.check.is-fail .meter-fill { background: var(--bad); }
.meter-mark { position: absolute; top: -6px; bottom: -6px; width: 3px; margin-left: -1.5px; background: var(--ink); border-radius: 2px; box-shadow: 0 0 0 2px var(--white); }
.meter-labels { position: relative; height: 18px; margin-top: 8px; font-size: 12px; font-weight: 500; color: var(--ink-2); }
.meter-labels span { position: absolute; top: 0; white-space: nowrap; }
.meter-labels .ml-start { left: 0; }
.meter-labels .ml-mark { transform: translateX(-50%); color: var(--ink); font-weight: 700; }
.meter-labels .ml-end { right: 0; }

.pnote { margin: 0 22px 18px; padding: 2px 0 2px 12px; border-left: 3px solid var(--divider); font-size: 14px; color: var(--ink); }
.goodfor { display: flex; gap: 12px; align-items: flex-start; margin: 0 22px 18px; padding: 14px 16px; border-radius: var(--r-sm); background: var(--page); }
.goodfor .i { width: 18px; height: 18px; margin-top: 3px; }
.goodfor p { margin: 0; font-size: 15px; }
.goodfor strong { position: relative; display: inline-block; isolation: isolate; font-weight: 700; white-space: nowrap; }
.goodfor strong::before { content: ''; position: absolute; left: -4px; right: -2px; bottom: 2px; height: 45%; z-index: -1; background: var(--yellow); border-radius: .2rem; transform: skewX(-20deg); }
.pcard-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; padding: 12px 22px; border-top: 1px solid var(--divider); }
.renew { padding: 18px 22px; border-top: 1px solid var(--divider); display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.renew p { margin: 0; flex: 1 1 260px; font-size: 15px; }
.renew strong { display: block; font-size: 1rem; }

.tpanel { background: var(--white); border-radius: var(--r-md); border: 1px solid var(--line); overflow: hidden; position: sticky; top: 16px; }
.tpanel-head { padding: 18px 22px; background: var(--title-bar); color: var(--white); }
.tpanel-head small { display: block; font-size: 13px; opacity: .75; }
.tpanel-head h3 { font-size: 1.25rem; font-weight: 800; letter-spacing: -.03em; margin-top: 2px; }
.tlist { list-style: none; margin: 0; padding: 6px 22px; }
.tgroup { padding: 18px 0 2px; font-size: 13px; font-weight: 700; color: var(--ink-2); border-top: 1px solid var(--divider); }
.tgroup:first-child { border-top: 0; padding-top: 12px; }
.titem { display: grid; grid-template-columns: 24px 1fr; gap: 2px 12px; padding: 14px 0; }
.titem + .titem { border-top: 1px solid var(--divider); }
.tgroup + .titem { padding-top: 10px; }
.titem > .ti-ico { width: 22px; height: 22px; margin-top: 1px; grid-row: 1 / span 3; }
.titem > :not(.ti-ico) { grid-column: 2; }
.titem .dot { border-radius: 50%; display: grid; place-items: center; }
.titem .dot svg { width: 10px; height: 10px; }
.titem.is-pass .dot { background: var(--ok); color: var(--white); }
.titem.is-fail .dot { background: var(--bad); color: var(--white); }
.titem.is-warn .dot { background: var(--page); color: var(--ink); }
.titem b { font-weight: 700; }
.titem p { margin: 0; color: var(--ink); font-size: 14px; }
.tlinks { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 14px; }
.tlinks a { display: inline-flex; align-items: center; gap: 4px; }
.tlinks .i { width: 11px; height: 11px; }
/* Sundeals' yellow skewed tag */
.tag-before { display: inline-block; margin-left: 8px; padding: 2px 8px; background: var(--yellow); border-radius: .25rem; transform: skew(-15deg); vertical-align: 1px; }
.tag-before span { display: inline-block; transform: skew(15deg); font-size: 11px; font-weight: 700; }
.fcdo { margin: 4px 16px 16px; padding: 14px 16px; border-radius: var(--r-sm); background: var(--page); font-size: 14px; }
.fcdo-top { margin-bottom: 6px; }
.fcdo-top b { font-weight: 700; }
.fcdo blockquote { margin: 8px 0; padding-left: 12px; border-left: 3px solid var(--divider); }
.fcdo blockquote p { margin: 0 0 6px; }
.fcdo blockquote ul { margin: 0 0 6px; padding-left: 18px; }
.fcdo-meta { color: var(--ink-2); font-size: 13px; margin: 0; }
.fcdo-meta a { display: inline-flex; align-items: center; gap: 4px; }
.fcdo-meta .i { width: 11px; height: 11px; }
.skeleton { height: 12px; border-radius: 6px; background: linear-gradient(90deg, var(--divider) 0%, var(--page) 50%, var(--divider) 100%); background-size: 200% 100%; animation: shimmer 1.2s infinite; margin: 8px 0; }
@keyframes shimmer { to { background-position: -200% 0; } }

.res-actions { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin-top: 22px; }
.disclaimer { margin: 18px 0 0; font-size: 13px; color: var(--ink-2); max-width: 80ch; }

/* ── Rules ──────────────────────────────────────────────── */
.rules { padding: 64px 0 24px; }
.rule-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 20px; }
.rule-card { background: var(--white); border-radius: var(--r-md); padding: 24px; border: 1px solid var(--line); }
.rule-fig { font-weight: 800; font-size: 56px; line-height: 1; letter-spacing: -.03em; margin-bottom: 16px; display: flex; align-items: baseline; gap: 8px; }
.rule-fig small { font-size: 18px; font-weight: 700; letter-spacing: -.02em; }
.rule-card h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -.03em; margin-bottom: 6px; }
.rule-card p { margin: 0; color: var(--ink); }
.rule-card strong { color: var(--ink); }

/* ── Atlas ──────────────────────────────────────────────── */
.atlas { padding: 48px 0 24px; }
.atlas-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.atlas-head p { margin: 6px 0 0; color: var(--ink); }
.atlas-search { position: relative; display: flex; align-items: center; }
.atlas-search .i { position: absolute; left: 14px; width: 15px; height: 15px; pointer-events: none; }
.atlas-search input { width: 280px; max-width: 100%; height: 44px; border: 1px solid var(--input); border-radius: 9999px; padding: 0 18px 0 38px; background: var(--white); font-size: 15px; }
.atlas-search input::placeholder { color: var(--placeholder); }
.atlas-search input:focus { border-color: var(--ink); box-shadow: 0 0 0 2px var(--focus); outline: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 16px; }
.chips button { border: 1px solid var(--input); background: var(--white); color: var(--ink); border-radius: 9999px; padding: 7px 14px; font-weight: 500; font-size: 14px; }
.chips button:hover { border-color: var(--ink); }
.chips button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.atlas-table-wrap { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.atlas-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.atlas-table th { text-align: left; font-size: 13px; font-weight: 700; color: var(--white); background: var(--title-bar); padding: 12px 16px; }
.atlas-table th:nth-child(1) { width: 38%; }
.atlas-table th:nth-child(2) { width: 25%; }
.atlas-table th:nth-child(3) { width: 15%; }
.atlas-table td { padding: 14px 16px; border-top: 1px solid var(--divider); vertical-align: top; }
.atlas-table tbody tr { cursor: pointer; transition: background .12s; }
.atlas-table tbody tr:hover { background: var(--page); }
.atlas-table .group-row td { background: var(--white); font-size: 14px; font-weight: 800; letter-spacing: -.02em; padding: 18px 16px 10px; cursor: default; border-top: 1px solid var(--divider); }
.atlas-table tbody tr:first-child td { border-top: 0; }
.atlas-table .group-row:hover, .atlas-table .schengen-row:hover { background: none; }
.atlas-table .schengen-row { cursor: default; }
.a-dest { display: flex; gap: 12px; align-items: flex-start; min-width: 200px; }
.a-dest .flag { margin-top: 3px; }
.a-name { display: block; border: 0; background: none; padding: 0; font-weight: 700; font-size: 16px; text-align: left; color: var(--ink); }
button.a-name:hover { color: var(--link); text-decoration: underline; }
.a-dest small { display: block; color: var(--ink-2); font-size: 13px; margin-top: 2px; }
.a-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.a-chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--input); background: var(--white); border-radius: 9999px; padding: 4px 11px; font-size: 13.5px; font-weight: 500; color: var(--ink); }
.a-chip:hover { border-color: var(--ink); background: var(--page); }
.a-chip small { display: inline; margin: 0; font-size: 12.5px; }
.a-rule { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.a-rule li { position: relative; padding-left: 14px; line-height: 1.4; }
.a-rule li::before { content: ''; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }
.vbadge { display: inline-flex; align-items: center; padding: 2px 10px; border-radius: 9999px; border: 1px solid var(--input); font-size: 13px; font-weight: 500; white-space: nowrap; }
.vbadge.v-online, .vbadge.v-required { background: var(--ink); border-color: var(--ink); color: var(--white); }
.a-extra { color: var(--ink); font-size: 14px; }
.a-extra b { color: var(--ink); font-weight: 700; }
.a-cell-extra .a-extra { line-height: 1.6; }
.atlas-empty { padding: 24px; margin: 0; color: var(--ink); }
.source-note { color: var(--ink-2); font-size: 13px; margin: 14px 0 0; }

/* ── FAQ ────────────────────────────────────────────────── */
.faq { padding: 56px 0; }
.faq-grid { display: grid; grid-template-columns: 1fr 1.9fr; gap: 40px; }
.faq-intro { color: var(--ink); margin: 10px 0 20px; }
.faq-list { display: grid; gap: 8px; align-content: start; }
.faq-list details { border: 1px solid var(--line-strong); border-radius: var(--r-md); overflow: hidden; background: var(--white); }
.faq-list details:has(summary:focus-visible) { overflow: visible; box-shadow: 0 0 0 2px var(--white), 0 0 0 4px #1CA3AD; }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; background: var(--white); color: var(--ink); font-weight: 700; font-size: clamp(1rem, .875rem + .391vw, 1.125rem); line-height: 1.3; letter-spacing: -.03em; border-radius: var(--r-md); transition: background-color .2s, color .2s; }
.faq-list summary:focus-visible { outline: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ''; flex: none; width: 16px; height: 16px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 240'%3E%3Cpath d='M124.67 181.678 238.041 68.307C242.22 64.128 239.27 57 233.371 57H6.629C.73 57-2.22 64.128 1.959 68.307L115.33 181.678a6.6 6.6 0 0 0 9.34 0Z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 240'%3E%3Cpath d='M124.67 181.678 238.041 68.307C242.22 64.128 239.27 57 233.371 57H6.629C.73 57-2.22 64.128 1.959 68.307L115.33 181.678a6.6 6.6 0 0 0 9.34 0Z'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .2s; }
.faq-list summary:hover, .faq-list details[open] summary { background: var(--title-bar); color: var(--white); }
.faq-list details[open] summary { border-radius: var(--r-md) var(--r-md) 0 0; }
.faq-list details[open] summary::after { transform: rotate(180deg); }
.faq-list details > div { padding: 12px 16px; border-top: 1px solid var(--line); color: var(--ink); font-size: clamp(.875rem, .75rem + .391vw, 1rem); }
.faq-list details p { margin: 0 0 12px; }
.faq-list details p:last-child { margin-bottom: 0; }
.faq-list details strong { color: var(--ink); }

/* ── Destination cards ──────────────────────────────────── */
.inspo { padding: 16px 0 64px; }
.inspo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 20px; }
.inspo-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; color: var(--ink); text-decoration: none; background: var(--white); }
.inspo-card img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .5s; }
.inspo-media { overflow: hidden; }
.inspo-card:hover img { transform: scale(1.04); }
.inspo-body { padding: 14px 16px 16px; }
.inspo-body h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -.03em; }
.inspo-body p { margin: 4px 0 0; font-size: 14px; color: var(--link); text-decoration: underline; text-underline-offset: 2px; }
.inspo-card:hover { color: var(--ink); }

/* ── Footer ─────────────────────────────────────────────── */
.site-footer { background: var(--white); border-top: 1px solid var(--divider); padding: 48px 0 40px; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.site-footer h3 { font-size: 14px; font-weight: 700; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.footer-cols li { margin-bottom: 4px; }
.footer-cols a { font-size: 14px; }
.footer-icons { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 32px; padding: 16px 0; border-top: 1px solid var(--divider); border-bottom: 1px solid var(--divider); }
.social { display: flex; gap: 10px; }
.social a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; background: var(--page); color: var(--ink); }
.social .i { width: 20px; height: 20px; }
.trust-logos { display: flex; align-items: center; gap: 18px; }
.trust-logos .travel-aware { width: 32px; height: 31px; }
.trust-logos .atol { width: 30px; height: 30px; }
.legal { margin: 20px auto 0; max-width: 100ch; text-align: center; font-size: 14px; }
.legal.small { margin-top: 10px; font-size: 12px; color: var(--ink-2); }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1100px) {
  .main-nav a { padding: 24px 6px; font-size: 15px; }
  .utility { gap: 14px; }
  .res-grid { grid-template-columns: 1fr; }
  .tpanel { position: static; }
  .inspo-grid { grid-template-columns: repeat(2, 1fr); }
  .traveller { grid-template-columns: 230px auto auto 1fr 44px; grid-template-areas: "tag tag tag . rm" "ctry iss exp . ." "err err err err err"; row-gap: 8px; }
  .trav-tag, .trav-remove { height: 40px; }
}
@media (max-width: 960px) {
  .main-nav, .utility li:not(:first-child) { display: none; }
  .header-inner { min-height: 64px; }
  .burger { display: block; margin-left: -8px; }
  .logo { margin: 0 auto; }
  .logo img { width: 150px; }
  .utility { margin: 0; }
  .utility .shortlist span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .utility .i { width: 20px; height: 20px; }
  .topstrip { font-size: 12px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { display: none; }
  .trip-grid { grid-template-columns: 1fr 1fr; }
  .field-dest { grid-column: 1 / -1; }
  .rule-cards { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; gap: 12px; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .traveller { grid-template-columns: auto auto 1fr 44px; grid-template-areas: "tag tag . rm" "ctry ctry . ." "iss exp . ." "err err err err"; row-gap: 10px; }
  .trav-country { max-width: 320px; width: 100%; }
  .trav-country label { padding-bottom: 0; }
}
@media (max-width: 720px) {
  .atlas-table thead { display: none; }
  .atlas-table, .atlas-table tbody, .atlas-table tr, .atlas-table td { display: block; width: 100%; }
  .atlas-table tbody tr:not(.group-row) { padding: 14px 16px; border-top: 1px solid var(--divider); display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; }
  .atlas-table td { border: 0; padding: 0; }
  .atlas-table td.a-cell-dest { grid-column: 1; }
  .atlas-table td.a-cell-visa { grid-column: 2; grid-row: 1; }
  .atlas-table td.a-cell-rule, .atlas-table td.a-cell-extra { grid-column: 1 / -1; }
  .atlas-table td.a-cell-extra:empty { display: none; }
  .atlas-table .schengen-row td.a-cell-dest { grid-column: 1 / -1; }
  .atlas-table .schengen-row td.a-cell-visa { grid-column: 1 / -1; grid-row: auto; }
  .atlas-table th:nth-child(n) { width: auto; }
  .a-dest { min-width: 0; }
  .where { grid-template-columns: 1fr; }
  .help-toggle { float: none; margin: 0 0 12px; }
  .topstrip li:nth-child(3) { display: none; }
  .topstrip ul { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 4px 0 24px; }
  .crumbs { margin-bottom: 18px; }
  .panel { padding: 20px 16px; border-radius: var(--r-md); }
  .trip-grid { grid-template-columns: 1fr; }
  .traveller { grid-template-columns: 1fr 44px; grid-template-areas: "tag rm" "ctry ctry" "iss iss" "exp exp" "err err"; padding: 12px 14px 16px; row-gap: 12px; }
  .trav-country { max-width: none; }
  .dmy { gap: 6px; }
  .dmy input { width: 100%; }
  .dmy label { flex: 1; }
  .dmy .yy { flex: 1.5; }
  .dmy .yy input { width: 100%; }
  .add-traveller { width: 100%; justify-content: center; }
  .panel-foot { flex-direction: column-reverse; align-items: stretch; }
  .panel-foot .btn { width: 100%; margin-left: 0; }
  .cal { position: fixed; left: 12px; right: 12px; top: auto; bottom: 12px; width: auto; }
  .res-bar .btn-outline { margin-left: 0; }
  .verdict-head { align-items: flex-start; }
  .verdict-icon { width: 46px; height: 46px; }
  .verdict-icon svg { width: 18px; height: 18px; }
  .pcard-head { flex-wrap: wrap; padding: 16px; }
  .checks { padding: 4px 16px; }
  .goodfor, .pnote { margin: 0 16px 16px; }
  .pcard-foot, .renew { padding: 14px 16px; }
  .inspo-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin: 16px -16px 14px; padding: 0 16px 4px; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chips button { flex: none; }
  .atlas-search, .atlas-search input { width: 100%; }
  .footer-icons { flex-direction: column; align-items: flex-start; }
}

@media print {
  .topstrip, .site-header, .hero, .checker, .rules, .atlas, .faq, .inspo, .site-footer, .res-actions, .res-bar .btn-outline, .pcard-foot { display: none !important; }
  .results { padding: 0; }
  .res-grid { grid-template-columns: 1fr; }
  .pcard, .tpanel { break-inside: avoid; }
}
