:root {
  --ink:#07111f;
  --muted:#607089;
  --bg:#f5f7fb;
  --paper:#fff;
  --line:#dde7f3;
  --navy:#071934;
  --blue:#1557d6;
  --blue2:#eff6ff;
  --gold:#f4b23f;
  --green:#087f5b;
  --red:#b42318;
  --radius:26px;
  --shadow:0 24px 70px rgba(7,25,52,.11);
  --shadow2:0 12px 30px rgba(7,25,52,.08);
  --max:1200px
}

* {
  box-sizing:border-box
}

html {
  scroll-behavior:smooth;
  -webkit-text-size-adjust:100%
}

html {
  scroll-padding-top: 112px;
}

[id] {
  scroll-margin-top: 112px;
}

body {
  margin:0;
  font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  color:var(--ink);
  line-height:1.65;
  background:radial-gradient(circle at 7% -10%,rgba(21,87,214,.14),transparent 32%),radial-gradient(circle at 96% -8%,rgba(244,178,63,.18),transparent 30%),linear-gradient(180deg,#f9fbff 0,#f4f7fb 42%,#fff 100%)
}

a {
  color:var(--blue);
  text-decoration:none
}

a:hover {
  text-decoration:underline
}

.skip-link {
  position:absolute;
  left:16px;
  top:-60px;
  background:#fff;
  color:var(--navy);
  z-index:100;
  padding:10px 14px;
  border-radius:12px;
  box-shadow:var(--shadow2)
}

.skip-link:focus {
  top:16px
}

.wrap {
  max-width:var(--max);
  margin:auto;
  padding-left:28px;
  padding-right:28px
}

.site-header {
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(255,255,255,.82);
  backdrop-filter:blur(18px);
  border-bottom:1px solid rgba(221,231,243,.8)
}

.header-inner {
  max-width:1320px;
  margin:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:22px;
  padding:14px 28px
}

.brand {
  display:flex;
  align-items:center;
  gap:12px;
  color:var(--ink)
}

.brand:hover {
  text-decoration:none
}

.brand-mark {
  width:46px;
  height:46px;
  border-radius:50%;
  display:grid;
  place-items:center;
  position:relative;
  isolation:isolate;
  overflow:hidden;
  background:radial-gradient(circle at 35% 30%,#1d6cff 0,#0f4fc4 38%,#071934 100%);
  color:#fff;
  font-weight:950;
  box-shadow:0 14px 30px rgba(21,87,214,.28);
  letter-spacing:-.08em;
}

.brand-mark::before {
  content:"";
  position:absolute;
  inset:5px;
  border-radius:50%;
  background:
    radial-gradient(circle at 50% 0%,#f7c948 0 2.2px,transparent 2.7px),
    radial-gradient(circle at 85% 15%,#f7c948 0 2.2px,transparent 2.7px),
    radial-gradient(circle at 100% 50%,#f7c948 0 2.2px,transparent 2.7px),
    radial-gradient(circle at 85% 85%,#f7c948 0 2.2px,transparent 2.7px),
    radial-gradient(circle at 50% 100%,#f7c948 0 2.2px,transparent 2.7px),
    radial-gradient(circle at 15% 85%,#f7c948 0 2.2px,transparent 2.7px),
    radial-gradient(circle at 0% 50%,#f7c948 0 2.2px,transparent 2.7px),
    radial-gradient(circle at 15% 15%,#f7c948 0 2.2px,transparent 2.7px);
  opacity:.96;
  z-index:-1;
}

.brand-core {
  display:grid;
  place-items:center;
  width:30px;
  height:30px;
  border-radius:50%;
  background:rgba(7,25,52,.78);
  font-size:.82rem;
  line-height:1;
}

.brand small {
  display:block;
  color:var(--muted);
  font-size:.78rem;
  margin-top:-3px
}

.site-nav {
  display:flex;
  align-items:center;
  gap:4px
}

.site-nav a {
  color:#36475d;
  font-weight:800;
  font-size:.94rem;
  padding:9px 12px;
  border-radius:999px
}

.site-nav a:hover,.site-nav a[aria-current=page] {
  background:var(--blue2);
  color:var(--blue);
  text-decoration:none
}

.menu-toggle {
  display:none;
  border:1px solid var(--line);
  background:#fff;
  border-radius:999px;
  padding:10px 14px;
  font-weight:900;
  color:var(--navy)
}

h1,h2,h3 {
  letter-spacing:-.035em;
  line-height:1.1
}

h1 {
  font-size:clamp(2.45rem,7vw,5.4rem);
  margin:.14em 0 .25em
}

h2 {
  font-size:clamp(1.5rem,3vw,2.35rem);
  margin:0 0 14px
}

h3 {
  font-size:1.12rem;
  margin:0 0 8px
}

.eyebrow {
  text-transform:uppercase;
  letter-spacing:.15em;
  font-weight:950;
  font-size:.78rem;
  color:var(--blue);
  margin:0 0 12px
}

.hero-lead {
  font-size:clamp(1.08rem,2vw,1.32rem);
  color:#eef5ff;
  max-width:760px;
  margin:0
}

.home-hero {
  background:
    radial-gradient(circle at 78% 18%,rgba(244,178,63,.24),transparent 24%),
    radial-gradient(circle at 10% 10%,rgba(48,111,255,.32),transparent 34%),
    linear-gradient(135deg,#06142c 0%,#0b2d66 52%,#071934 100%);
  padding:84px 0 58px;
  position:relative;
  overflow:hidden
}

.home-hero:before {
  content:"";
  position:absolute;
  right:-160px;
  bottom:-220px;
  width:580px;
  height:580px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(244,178,63,.32),transparent 68%)
}

.home-grid {
  display:grid;
  grid-template-columns:1.04fr .68fr;
  gap:44px;
  align-items:center;
  position:relative
}

.home-hero h1,.home-hero .eyebrow {
  color:#fff
}

.hero-actions,.button-row {
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:26px
}

.btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border:0;
  border-radius:16px;
  background:var(--blue);
  color:#fff;
  font-weight:950;
  padding:13px 18px;
  box-shadow:0 16px 34px rgba(21,87,214,.25);
  cursor:pointer
}

.btn:hover {
  transform:translateY(-1px);
  text-decoration:none;
  box-shadow:0 20px 42px rgba(21,87,214,.32)
}

.btn.ghost {
  background:#fff;
  color:var(--blue);
  border:1px solid var(--line);
  box-shadow:var(--shadow2)
}

.btn.full {
  width:100%
}

.trust-strip {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:28px
}

.trust-strip span,.badge {
  display:inline-flex;
  align-items:center;
  border:1px solid rgba(255,255,255,.22);
  background:rgba(255,255,255,.1);
  color:#fff;
  border-radius:999px;
  padding:7px 11px;
  font-size:.9rem;
  font-weight:850
}

.search-console {
  background:rgba(255,255,255,.97);
  border:1px solid rgba(255,255,255,.7);
  box-shadow:0 32px 90px rgba(7,25,52,.22);
  border-radius:32px;
  padding:28px
}

.search-console h2 {
  font-size:1.65rem
}

.search-console p {
  color:#41516a;
  margin-top:0
}

.search-console select,.search-input {
  width:100%;
  border:1px solid var(--line);
  background:#fff;
  border-radius:16px;
  padding:14px 15px;
  font:inherit;
  margin:10px 0 12px;
  box-shadow:0 8px 20px rgba(7,25,52,.04)
}

.section-block {
  padding-top:62px;
  padding-bottom:62px
}

.section-title {
  max-width:780px;
  margin-bottom:24px
}

.section-title p {
  color:var(--muted)
}

.country-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px
}

.country-tile {
  min-height:154px;
  display:grid;
  grid-template-rows:auto 1fr auto;
  position:relative;
  overflow:hidden;
  padding:18px;
  border:1px solid rgba(221,231,243,.92);
  border-radius:24px;
  background:linear-gradient(180deg,#fff,#fbfdff);
  box-shadow:var(--shadow2);
  color:var(--ink)
}

.country-tile:hover {
  transform:translateY(-3px);
  border-color:#b7caf8;
  box-shadow:0 26px 62px rgba(7,25,52,.13);
  text-decoration:none
}

.flag {
  font-size:1.9rem;
  width:50px;
  height:50px;
  display:grid;
  place-items:center;
  border-radius:18px;
  background:linear-gradient(180deg,#fff,#eef5ff);
  border:1px solid var(--line);
  box-shadow:0 8px 20px rgba(7,25,52,.07)
}

.tile-copy strong {
  display:block;
  font-size:1.05rem;
  margin-top:12px
}

.tile-copy small {
  display:block;
  color:var(--muted);
  font-weight:750;
  margin-top:4px;
  line-height:1.4
}

.tile-meta {
  justify-self:start;
  margin-top:13px;
  border-radius:999px;
  background:#fff6da;
  color:#735000;
  border:1px solid #ffe0a1;
  padding:5px 9px;
  font-size:.78rem;
  font-weight:900;
  max-width:100%;
  line-height:1.25
}

.lux-grid {
  display:grid;
  grid-template-columns:1.3fr .7fr .7fr;
  gap:16px;
  align-items:stretch
}

.lux-grid>div {
  background:#fff;
  border:1px solid var(--line);
  border-radius:30px;
  padding:28px;
  box-shadow:var(--shadow2)
}

.metric-card {
  display:grid;
  place-items:center;
  text-align:center
}

.metric-card strong {
  font-size:3.5rem;
  line-height:1;
  color:var(--blue)
}

.metric-card span {
  font-weight:850;
  color:var(--muted)
}

.page-hero,.country-hero {
  background:linear-gradient(135deg,#fff,#f8fbff 55%,#edf5ff);
  border-bottom:1px solid var(--line);
  padding:54px 0;
  position:relative;
  overflow:hidden
}

.page-hero:after,.country-hero:after {
  content:"";
  position:absolute;
  right:-140px;
  top:-160px;
  width:360px;
  height:360px;
  border-radius:50%;
  background:rgba(21,87,214,.08)
}

.page-hero h1,.country-hero h1 {
  font-size:clamp(2.2rem,5vw,4.4rem)
}

.page-hero .hero-lead,.country-hero .hero-lead {
  color:var(--muted)
}

.hero-layout {
  display:grid;
  grid-template-columns:1fr 360px;
  gap:34px;
  align-items:end;
  position:relative;
  z-index:1
}

.flag-hero {
  font-size:clamp(2.5rem,5vw,4rem);
  margin-right:16px;
  vertical-align:middle;
  filter:drop-shadow(0 12px 16px rgba(7,25,52,.12))
}

.hero-panel,.glass-card,.premium-panel,.source-panel,.check-panel,.warning-card,.faq-card,.table-card,.link-table-card,.route-card,.insight,.feature-card {
  background:rgba(255,255,255,.92);
  border:1px solid rgba(221,231,243,.95);
  border-radius:30px;
  box-shadow:var(--shadow2);
  padding:26px
}

.hero-panel dl {
  display:grid;
  grid-template-columns:130px 1fr;
  gap:10px;
  margin:0
}

.hero-panel dt {
  font-weight:950;
  color:var(--muted)
}

.hero-panel dd {
  margin:0;
  font-weight:850
}

.badge-row {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:22px 0
}

.badge {
  background:#fff;
  color:#44546a;
  border-color:var(--line)
}

.badge-green {
  background:#eafaf3;
  color:#087f5b;
  border-color:#b9ecd6
}

.badge-blue {
  background:#edf4ff;
  color:#1557d6;
  border-color:#c9dcff
}

.badge-amber {
  background:#fff6da;
  color:#735000;
  border-color:#ffe0a1
}

.badge-slate {
  background:#f3f6fa;
  color:#415168
}

.badge-soft {
  background:#fff;
  color:#27384d
}

.breadcrumbs {
  font-size:.92rem;
  color:var(--muted);
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-bottom:18px
}

.breadcrumbs a {
  color:var(--muted);
  font-weight:800
}

.page-shell {
  display:grid;
  grid-template-columns:290px minmax(0,1fr);
  gap:26px;
  padding-top:34px;
  padding-bottom:66px
}

.side-nav {
  position:sticky;
  top:86px;
  align-self:start;
  background:rgba(255,255,255,.9);
  backdrop-filter:blur(12px);
  border:1px solid var(--line);
  border-radius:26px;
  padding:14px;
  box-shadow:var(--shadow2)
}

.side-nav strong {
  display:block;
  padding:10px 12px
}

.side-nav a {
  display:block;
  color:#415168;
  font-weight:850;
  border-radius:14px;
  padding:10px 12px;
  margin:2px 0
}

.side-nav a:hover,.side-nav a[aria-current=page] {
  background:var(--blue2);
  color:var(--blue);
  text-decoration:none
}

.article-stack,.prose {
  display:grid;
  gap:20px
}

.article-stack p,.prose p {
  color:#34445b
}

.route-list {
  display:grid;
  gap:12px
}

.route-item {
  display:grid;
  grid-template-columns:48px 1fr;
  gap:14px;
  align-items:center;
  background:#fff;
  border:1px solid var(--line);
  border-radius:22px;
  padding:16px;
  color:var(--ink)
}

.route-item:hover {
  border-color:#b7caf8;
  box-shadow:var(--shadow2);
  text-decoration:none;
  transform:translateY(-1px)
}

.route-item span {
  width:42px;
  height:42px;
  border-radius:16px;
  background:linear-gradient(135deg,#071934,#1557d6);
  color:#fff;
  display:grid;
  place-items:center;
  font-weight:950;
  grid-row:span 2
}

.route-item small {
  color:var(--muted);
  font-weight:750
}

.insight-grid,.feature-grid,.type-grid,.number-grid,.split-list {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px
}

.feature-grid,.type-grid {
  grid-template-columns:repeat(3,minmax(0,1fr))
}

.number-grid div,.type-grid div,.split-list div {
  background:#fff;
  border:1px solid var(--line);
  border-radius:22px;
  padding:18px
}

.number-grid span {
  font-size:.78rem;
  font-weight:950;
  color:var(--blue);
  letter-spacing:.12em
}

.check-list {
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:9px
}

.check-list li {
  position:relative;
  background:#fff;
  border:1px solid #eaf0f7;
  border-radius:15px;
  padding:10px 12px 10px 38px;
  color:#34445b
}

.check-list li:before {
  content:"✓";
  position:absolute;
  left:14px;
  top:10px;
  color:var(--green);
  font-weight:950
}

.check-list.columns {
  grid-template-columns:repeat(2,minmax(0,1fr))
}

.source-panel {
  background:linear-gradient(180deg,#f8fbff,#fff);
  border-color:#c7ddff
}

.warning-card {
  background:linear-gradient(180deg,#fffaf0,#fff);
  border-color:#ffe0a1
}

.timeline ol {
  counter-reset:item;
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:12px
}

.timeline li {
  counter-increment:item;
  background:#fff;
  border:1px solid var(--line);
  border-radius:22px;
  padding:16px 16px 16px 68px;
  position:relative;
  box-shadow:0 8px 18px rgba(7,25,52,.04)
}

.timeline li:before {
  content:counter(item);
  position:absolute;
  left:16px;
  top:16px;
  width:36px;
  height:36px;
  border-radius:14px;
  background:var(--blue2);
  color:var(--blue);
  display:grid;
  place-items:center;
  font-weight:950
}

.link-list {
  display:grid;
  gap:10px
}

.link-list a {
  display:flex;
  justify-content:space-between;
  border:1px solid var(--line);
  border-radius:16px;
  padding:13px 14px;
  background:#fff;
  font-weight:900
}

.link-list a:after {
  content:"→"
}

.table-card,.link-table-card {
  overflow:auto
}

table {
  border-collapse:separate;
  border-spacing:0;
  width:100%;
  min-width:760px
}

th,td {
  text-align:left;
  vertical-align:top;
  padding:14px;
  border-bottom:1px solid var(--line)
}

th {
  background:#f3f7fc;
  font-size:.9rem;
  color:#415168
}

tr:last-child td {
  border-bottom:0
}

.faq-card details {
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  padding:15px 17px;
  margin:10px 0
}

.faq-card summary {
  font-weight:950;
  cursor:pointer
}

.search-label {
  font-weight:950;
  color:#415168
}

.site-footer {
  background:linear-gradient(135deg,#071934,#0b1b3a 62%,#102b5c);
  color:#dce8ff;
  margin-top:72px;
  padding:46px 0
}

.footer-grid {
  max-width:var(--max);
  margin:auto;
  padding:0 28px;
  display:grid;
  grid-template-columns:1.2fr .65fr .65fr;
  gap:36px
}

.site-footer h2 {
  font-size:1rem;
  color:#fff
}

.site-footer a {
  display:block;
  color:#dce8ff;
  font-weight:800;
  margin:8px 0
}

.footer-brand {
  font-size:1.1rem;
  color:#fff!important;
  font-weight:950
}

img.flag,
img.flag-hero {
  object-fit:cover;
  background:#fff;
  border:1px solid var(--line);
  box-shadow:0 8px 20px rgba(7,25,52,.08);
}

img.flag {
  width:50px;
  height:38px;
  display:block;
  border-radius:13px;
  padding:0;
}

img.flag-hero {
  width:72px;
  height:54px;
  border-radius:17px;
  margin-right:16px;
  vertical-align:middle;
  display:inline-block;
  filter:none;
}

.independence-note {
  display:inline-block;
  max-width:760px;
  margin-top:6px;
  padding:10px 14px;
  border:1px solid var(--line);
  border-radius:16px;
  background:rgba(255,255,255,.72);
  color:#526175;
  font-size:.92rem;
  line-height:1.45;
  box-shadow:none;
}

.independence-note strong {
  color:var(--navy);
}

.contact-mail {
  margin-top:18px;
  padding:14px 16px;
  border:1px solid var(--line);
  border-radius:18px;
  background:#f8fbff;
}

.contact-mail a {
  font-weight:950;
}

.flag-inline {
  width:28px;
  height:21px;
  border-radius:5px;
  object-fit:cover;
  border:1px solid var(--line);
  vertical-align:-4px;
  margin-right:7px;
  box-shadow:0 3px 8px rgba(7,25,52,.08);
}

.schengen-band {
  background: linear-gradient(135deg, rgba(15,98,254,.08), rgba(255,205,0,.14));
  border: 1px solid rgba(15,98,254,.14);
  border-radius: 32px;
  padding: clamp(22px, 4vw, 42px);
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 24px;
  box-shadow: 0 24px 70px rgba(7,25,52,.08);
}
.schengen-band h2 { margin-top: 0; font-size: clamp(1.6rem, 3vw, 2.45rem); }
.schengen-pillset { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.schengen-pillset a, .filter-chip {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 42px; padding: 10px 14px; border-radius: 999px;
  border: 1px solid rgba(7,25,52,.13); background: rgba(255,255,255,.84);
  color: var(--navy); font-weight: 850; text-decoration: none;
}
.schengen-pillset a:hover, .filter-chip:hover { transform: translateY(-1px); box-shadow: 0 12px 25px rgba(7,25,52,.09); }
.guide-matrix { display:grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.guide-card {
  background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 20px;
  box-shadow: 0 18px 50px rgba(7,25,52,.07);
}
.guide-card h3 { margin: 0 0 8px; font-size: 1.05rem; }
.guide-card p { margin: 0; color: var(--muted); line-height: 1.62; }
.compare-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: 0 22px 60px rgba(7,25,52,.07); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 760px; }
.compare-table th, .compare-table td { padding: 15px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.compare-table th { font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: #58687c; background: #f7faff; }
.compare-table tr:last-child td { border-bottom: 0; }
.country-name { display:inline-flex; gap: 10px; align-items:center; font-weight: 900; color: var(--navy); text-decoration:none; }
.filter-bar { display:flex; flex-wrap:wrap; gap:10px; align-items:center; margin: 20px 0; }
.filter-chip { cursor:pointer; font-size:.92rem; }
.filter-chip.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.prose .deep-section { background:#fff; border:1px solid var(--line); border-radius:28px; padding: clamp(20px, 3vw, 34px); box-shadow:0 20px 60px rgba(7,25,52,.07); margin: 18px 0; }
.deep-section h2 { margin-top:0; }
.deep-section h3 { margin-top:24px; }
.answer-grid { display:grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap:16px; }
.answer-card { border:1px solid var(--line); border-radius:22px; padding:18px; background:#f9fbff; }
.answer-card strong { display:block; color:var(--navy); margin-bottom:6px; }
.mini-toc { position: sticky; top: 86px; align-self:start; display:grid; gap:8px; background:#fff; border:1px solid var(--line); border-radius:22px; padding:14px; box-shadow:0 18px 45px rgba(7,25,52,.06); }
.mini-toc a { color:var(--navy); text-decoration:none; font-weight:780; padding:8px 10px; border-radius:14px; }
.mini-toc a:hover { background:#f2f6ff; }
.article-layout { display:grid; grid-template-columns: 240px minmax(0, 1fr); gap:24px; }
.info-ribbon { display:flex; gap:10px; flex-wrap:wrap; margin:18px 0 0; }
.info-ribbon span { background:rgba(255,255,255,.86); border:1px solid rgba(255,255,255,.44); padding:9px 12px; border-radius:999px; font-weight:850; color:#f8fbff; }
.intent-panel { background: linear-gradient(135deg, #081b39, #143a73); color:#fff; border-radius:28px; padding: clamp(22px, 4vw, 38px); box-shadow:0 28px 80px rgba(7,25,52,.18); }
.intent-panel h2 { margin-top:0; color:#fff; }
.intent-panel p { color:rgba(255,255,255,.82); }
.intent-panel a { color:#fff; }

.link-policy-note { margin-top: 22px; }
.country-mistakes { margin-top: 18px; }
.deep-section p + p { margin-top: 12px; }
.faq-card details p { line-height: 1.72; }
.source-panel a[target="_blank"]::after, .link-policy-note a[target="_blank"]::after { content: " ↗"; font-size: .9em; }

.btn:focus-visible,.site-nav a:focus-visible,.country-name:focus-visible,.text-link:focus-visible { outline:3px solid rgba(244,178,63,.75); outline-offset:3px; }

img { max-width: 100%; height: auto; }
img.flag { width: 50px; height: 38px; aspect-ratio: 50 / 38; }
img.flag-inline { width: 28px; height: 21px; aspect-ratio: 4 / 3; flex: 0 0 auto; }
img.flag-hero { width: 72px; height: 54px; aspect-ratio: 4 / 3; }

.site-header { min-height: 75px; }
.header-inner { min-height: 75px; }
.home-hero { min-height: 480px; }

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  min-width: 0;
}

img, svg, video, canvas {
  max-width: 100%;
}

.wrap,
.header-inner,
.home-grid,
.hero-layout,
.page-shell,
.footer-grid,
.article-stack,
.prose,
.country-grid,
.insight-grid,
.feature-grid,
.type-grid,
.number-grid,
.split-list,
.lux-grid,
.hero-panel,
.search-console,
.country-tile,
.route-item,
.link-list a,
.badge-row,
.trust-strip {
  min-width: 0;
}

a, p, li, td, th, dd, dt, h1, h2, h3, .tile-copy, .hero-lead, .link-list a, .route-item small {
  overflow-wrap: anywhere;
  word-break: normal;
}

.flag-img,
.flag-inline {
  flex: 0 0 auto;
  object-fit: cover;
  display: inline-block;
  vertical-align: middle;
  aspect-ratio: 4 / 3;
  background: #eef5ff;
}

.table-card,
.link-table-card,
.prose table,
.article-stack table {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table-card table,
.link-table-card table {
  width: 100%;
}

html,
body {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow-x: hidden;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

img,
svg,
video,
canvas,
iframe {
  max-width: 100%;
}

main,
header,
footer,
section,
article,
aside,
nav,
div,
form {
  max-width: 100%;
}

:root {
  --fluid-page-pad: clamp(14px, 4vw, 28px);
  --fluid-section-y: clamp(32px, 6vw, 62px);
  --fluid-card-pad: clamp(16px, 3vw, 28px);
  --fluid-card-radius: clamp(18px, 3vw, 30px);
  --fluid-grid-gap: clamp(12px, 2vw, 18px);
}

.wrap {
  width: 100%;
  max-width: var(--max);
  padding-left: var(--fluid-page-pad);
  padding-right: var(--fluid-page-pad);
}

.header-inner {
  width: 100%;
  max-width: 1320px;
  padding-left: var(--fluid-page-pad);
  padding-right: var(--fluid-page-pad);
}

.footer-grid {
  width: 100%;
  max-width: var(--max);
  padding-left: var(--fluid-page-pad);
  padding-right: var(--fluid-page-pad);
}

.wrap,
.header-inner,
.footer-grid,
.home-grid,
.hero-layout,
.page-shell,
.article-layout,
.lux-grid,
.schengen-band,
.feature-grid,
.guide-matrix,
.country-grid,
.insight-grid,
.type-grid,
.number-grid,
.split-list,
.answer-grid,
.route-item,
.link-list a,
.country-tile,
.search-console,
.hero-panel,
.glass-card,
.premium-panel,
.source-panel,
.check-panel,
.warning-card,
.faq-card,
.table-card,
.link-table-card,
.route-card,
.insight,
.feature-card,
.guide-card,
.answer-card,
.intent-panel {
  min-width: 0;
}

a,
p,
li,
span,
strong,
small,
dd,
dt,
td,
th,
h1,
h2,
h3,
label,
button {
  overflow-wrap: break-word;
}

h1 {
  font-size: clamp(2rem, 6.2vw, 5.4rem);
}

h2 {
  font-size: clamp(1.35rem, 3vw, 2.35rem);
}

.section-block {
  padding-top: var(--fluid-section-y);
  padding-bottom: var(--fluid-section-y);
}

.search-console,
.hero-panel,
.glass-card,
.premium-panel,
.source-panel,
.check-panel,
.warning-card,
.faq-card,
.table-card,
.link-table-card,
.route-card,
.insight,
.feature-card,
.guide-card,
.country-tile,
.answer-card,
.prose .deep-section,
.number-grid div,
.type-grid div,
.split-list div,
.lux-grid > div,
.intent-panel,
.schengen-band {
  padding: var(--fluid-card-pad);
  border-radius: var(--fluid-card-radius);
}

.country-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: var(--fluid-grid-gap);
}

.feature-grid,
.guide-matrix,
.type-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: var(--fluid-grid-gap);
}

.insight-grid,
.number-grid,
.split-list,
.answer-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: var(--fluid-grid-gap);
}

.home-grid {
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, .68fr);
}

.hero-layout {
  grid-template-columns: minmax(0,1fr) minmax(280px,360px);
}

.page-shell {
  grid-template-columns: minmax(240px,290px) minmax(0,1fr);
}

.article-layout {
  grid-template-columns: minmax(200px,240px) minmax(0,1fr);
}

.schengen-band {
  grid-template-columns: minmax(0,1.2fr) minmax(280px,.8fr);
}

.footer-grid {
  grid-template-columns: minmax(0,1.25fr) minmax(260px,.75fr);
  align-items: start;
}

.site-footer p {
  margin: 14px 0 0;
  color: rgba(220,232,255,.88);
  line-height: 1.75;
  max-width: 46ch;
}

.footer-grid > div {
  min-width: 0;
}

.footer-grid > div:nth-child(2) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 8px 18px;
}

.footer-grid > div:nth-child(2) h2 {
  grid-column: 1 / -1;
}

.footer-grid > div:nth-child(2) a {
  margin: 0;
  padding: 4px 0;
}

@media (max-width: 1100px) {
  .home-grid,
  .hero-layout,
  .lux-grid,
  .schengen-band {
    grid-template-columns: minmax(0,1fr);
  }

  .home-hero {
    min-height: 0;
  }
}

@media (max-width: 900px) {
  .site-header {
    min-height: 66px;
  }

  .header-inner {
    min-height: 66px;
    align-items: center;
    gap: 12px;
  }

  .brand {
    max-width: calc(100% - 88px);
    min-width: 0;
  }

  .brand > span:last-child {
    min-width: 0;
  }

  .brand strong {
    display: block;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .menu-toggle {
    flex: 0 0 auto;
    min-height: 42px;
    padding: 8px 12px;
  }

  .site-nav {
    top: 66px;
    left: var(--fluid-page-pad);
    right: var(--fluid-page-pad);
    width: auto;
    max-width: calc(100vw - (var(--fluid-page-pad) * 2));
  }

  .home-grid,
  .hero-layout,
  .page-shell,
  .article-layout,
  .lux-grid,
  .schengen-band,
  .feature-grid,
  .guide-matrix,
  .country-grid,
  .insight-grid,
  .type-grid,
  .number-grid,
  .split-list,
  .answer-grid {
    grid-template-columns: minmax(0,1fr);
  }

  .home-hero,
  .page-hero,
  .country-hero {
    min-height: 0;
    overflow: visible;
  }

  .home-hero::before,
  .home-hero::after,
  .page-hero::before,
  .page-hero::after,
  .country-hero::before,
  .country-hero::after {
    display: none;
  }

  .home-hero {
    padding-top: clamp(32px, 7vw, 48px);
    padding-bottom: clamp(30px, 7vw, 42px);
  }

  .page-hero,
  .country-hero {
    padding-top: clamp(32px, 7vw, 42px);
    padding-bottom: clamp(32px, 7vw, 42px);
  }

  .home-hero .wrap,
  .page-hero .wrap,
  .country-hero .wrap {
    position: relative;
    z-index: 1;
  }

  h1,
  .page-hero h1,
  .country-hero h1 {
    font-size: clamp(1.82rem, 8.4vw, 2.8rem);
    line-height: 1.14;
    margin: 0 0 12px;
    max-width: 100%;
  }

  h2 {
    font-size: clamp(1.3rem, 5.8vw, 2rem);
    line-height: 1.2;
  }

  h3 {
    line-height: 1.25;
  }

  .eyebrow {
    font-size: .68rem;
    line-height: 1.45;
    letter-spacing: .12em;
    margin-bottom: 9px;
  }

  .hero-lead,
  .page-hero .hero-lead,
  .country-hero .hero-lead {
    font-size: .98rem;
    line-height: 1.6;
    max-width: 100%;
  }

  .section-title,
  .section-heading,
  .home-randevu-ret-v18 .section-heading {
    max-width: 100%;
    margin-bottom: 16px;
  }

  .hero-actions,
  .button-row {
    display: grid;
    grid-template-columns: minmax(0,1fr);
    gap: 10px;
    width: 100%;
  }

  .btn,
  .hero-actions .btn,
  .button-row .btn {
    width: 100%;
    max-width: 100%;
    min-height: 46px;
    padding: 12px 14px;
  }

  .search-console select,
  .search-input {
    min-height: 46px;
    font-size: 16px;
  }

  .trust-strip,
  .badge-row,
  .schengen-pillset,
  .filter-bar,
  .info-ribbon {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-width: 100%;
    overflow: visible;
    padding-bottom: 0;
  }

  .trust-strip span,
  .badge,
  .schengen-pillset a,
  .filter-chip,
  .info-ribbon span {
    flex: 0 1 auto;
    white-space: normal;
    max-width: 100%;
  }

  .schengen-pillset a,
  .filter-chip {
    min-height: 40px;
    padding: 9px 12px;
    line-height: 1.25;
  }

  .country-tile {
    min-height: 0;
    display: grid;
    grid-template-columns: 46px minmax(0,1fr);
    grid-template-rows: auto auto;
    column-gap: 12px;
    row-gap: 4px;
    align-items: start;
  }

  .country-tile .flag,
  .country-tile .flag-img {
    grid-row: 1 / span 2;
    width: 46px;
    height: 34px;
    border-radius: 10px;
  }

  .tile-copy {
    min-width: 0;
  }

  .tile-copy strong {
    font-size: 1rem;
    margin-top: 0;
  }

  .tile-copy small,
  .tile-meta {
    font-size: .84rem;
    line-height: 1.42;
  }

  .tile-meta {
    margin-top: 5px;
    justify-self: start;
  }

  .route-item {
    grid-template-columns: 40px minmax(0,1fr);
    padding: 14px;
  }

  .route-item span {
    width: 36px;
    height: 36px;
    border-radius: 13px;
  }

  .link-list a {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 10px;
  }

  .side-nav,
  .mini-toc {
    position: static;
    top: auto;
    width: 100%;
    max-width: 100%;
  }

  .side-nav {
    display: flex;
    flex-wrap: wrap;
    overflow: visible;
    gap: 8px;
  }

  .side-nav a {
    flex: 0 1 auto;
    white-space: normal;
  }

  .table-card,
  .link-table-card,
  .compare-table-wrap {
    overflow: visible;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  table:not(.compare-table),
  table:not(.compare-table) tbody,
  table:not(.compare-table) tr,
  table:not(.compare-table) td,
  table:not(.compare-table) th {
    display: block;
    width: 100%;
  }

  table:not(.compare-table) {
    min-width: 0;
  }

  table:not(.compare-table) thead {
    display: none;
  }

  table:not(.compare-table) tr {
    margin-bottom: 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(7,25,52,.06);
    overflow: hidden;
  }

  table:not(.compare-table) td {
    display: grid;
    grid-template-columns: 38% minmax(0,1fr);
    gap: 10px;
    padding: 11px 14px;
    border-bottom: 1px solid var(--line);
  }

  table:not(.compare-table) td:last-child {
    border-bottom: 0;
  }

  table:not(.compare-table) td::before {
    content: attr(data-label);
    color: #607089;
    font-size: .78rem;
    line-height: 1.35;
    font-weight: 950;
    letter-spacing: .04em;
    text-transform: uppercase;
  }

  .compare-table {
    min-width: 0;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
  }

  .compare-table thead {
    display: none;
  }

  .compare-table,
  .compare-table tbody {
    display: block;
    width: 100%;
  }

  .compare-table tr {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 8px 10px;
    align-items: center;
    margin-bottom: 12px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(7,25,52,.06);
  }

  .compare-table td {
    display: block;
    width: auto;
    padding: 0;
    border: 0;
  }

  .compare-table td::before {
    display: none;
  }

  .compare-table td:nth-child(1) {
    grid-column: 1 / 4;
  }

  .compare-table td:nth-child(2),
  .compare-table td:nth-child(3) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 5px 8px;
    border-radius: 999px;
    background: #f3f7fc;
    color: #415168;
    font-size: .78rem;
    font-weight: 900;
    line-height: 1.2;
    white-space: nowrap;
  }

  .compare-table td:nth-child(2)::before {
    content: 'Schengen: ';
    display: inline;
    margin-right: 3px;
  }

  .compare-table td:nth-child(3)::before {
    content: 'AB: ';
    display: inline;
    margin-right: 3px;
  }

  .compare-table td:nth-child(4) {
    grid-column: 1 / 4;
    color: #607089;
    font-size: .86rem;
    line-height: 1.45;
    padding-top: 2px;
  }

  .compare-table td:nth-child(4)::before {
    content: 'Başvuru kanalı: ';
    display: inline;
    color: #415168;
    font-weight: 950;
  }

  .compare-table td:nth-child(5) {
    grid-column: 1 / 4;
  }

  .compare-table td:nth-child(5) .text-link {
    display: flex;
    width: 100%;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--blue2);
    color: var(--blue);
    font-weight: 950;
    text-align: center;
  }

  .compare-table td:nth-child(5) .text-link:hover {
    text-decoration: none;
    background: #e7f0ff;
  }

  .country-name {
    display: grid;
    grid-template-columns: 28px minmax(0,1fr);
    gap: 9px;
    align-items: center;
  }

  .flag-inline {
    width: 28px;
    height: 21px;
    margin-right: 0;
  }

  .site-footer {
    margin-top: 36px;
    padding: 30px 0 26px;
  }

  .footer-grid {
    grid-template-columns: minmax(0,1fr);
    gap: 18px;
  }

  .footer-grid > div:first-child {
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(220,232,255,.16);
  }

  .footer-grid > div:nth-child(2) {
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 8px 14px;
  }

  .footer-brand {
    font-size: 1.55rem;
    line-height: 1.1;
  }

  .site-footer p {
    font-size: .96rem;
    line-height: 1.72;
    margin: 10px 0 0;
    max-width: 36rem;
  }

  .site-footer h2 {
    font-size: .96rem;
    line-height: 1.25;
    margin: 0 0 10px;
  }

  .site-footer a {
    font-size: .94rem;
    line-height: 1.35;
    margin: 0;
    padding: 5px 0;
  }
}

@media (max-width: 430px) {
  :root {
    --fluid-page-pad: 14px;
    --fluid-card-pad: 15px;
    --fluid-section-y: 32px;
  }

  .home-hero {
    padding-top: 32px;
  }

  h1,
  .page-hero h1,
  .country-hero h1 {
    font-size: clamp(1.78rem, 8.8vw, 2.45rem);
  }

  table:not(.compare-table) td {
    grid-template-columns: minmax(0,1fr);
    gap: 5px;
  }

  .compare-table tr {
    grid-template-columns: 1fr auto;
  }

  .compare-table td:nth-child(1),
  .compare-table td:nth-child(4),
  .compare-table td:nth-child(5) {
    grid-column: 1 / 3;
  }

  .footer-grid > div:nth-child(2) {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}

@media (max-width: 340px) {
  .footer-grid > div:nth-child(2) {
    grid-template-columns: minmax(0,1fr);
  }
}

@media (max-width: 900px) {
  .compare-table tr {
    display: block;
  }

  .compare-table td:last-child {
    display: block;
    padding: 12px 14px 14px;
    border-bottom: 0;
  }

  .compare-table td:last-child::before {
    display: none;
  }

  .compare-table td:last-child .text-link {
    display: flex;
    width: 100%;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--blue2);
    color: var(--blue);
    font-weight: 950;
    text-align: center;
  }

  .compare-table td:last-child .text-link:hover {
    text-decoration: none;
    background: #e7f0ff;
  }
}

@media (min-width: 671px) and (max-width: 768px) {
  .compare-table td {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .compare-table td::before {
    margin-bottom: 2px;
  }

  .country-name {
    grid-template-columns: 32px minmax(0, 1fr);
  }

  .flag-inline {
    width: 32px;
    height: 24px;
  }
}

@media (max-width: 900px) {
  .site-header {
    min-height: 64px;
  }

  .header-inner {
    min-height: 64px;
    align-items: center;
    gap: 12px;
  }

  .brand {
    flex: 1 1 auto;
    min-width: 0;
    max-width: calc(100% - 86px);
  }

  .brand > span:last-child {
    min-width: 0;
  }

  .brand strong {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-height: 42px;
    padding: 8px 12px;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 14px;
    right: 14px;
    top: 66px;
    width: auto;
    max-width: calc(100vw - 28px);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: 10px;
    z-index: 80;
  }

  .site-nav.open {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .site-nav a {
    display: block;
    width: 100%;
    padding: 12px 14px;
    white-space: normal;
    overflow-wrap: break-word;
  }
}

@media (min-width: 901px) {
  .menu-toggle {
    display: none;
  }

  .site-nav {
    display: flex;
  }
}
[hidden] {
  display: none !important;
}

.filter-chip {
  touch-action: manipulation;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.ret-code-section .ret-code-table {
  margin-top: 18px;
}

.ret-code-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 14px;
}

.ret-code-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 18px;
  box-shadow: 0 12px 28px rgba(7,25,52,.06);
}

.ret-code-no {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--blue2);
  color: var(--blue);
  font-size: .82rem;
  font-weight: 950;
  margin-bottom: 10px;
}

.ret-code-card h3 {
  margin-top: 0;
}

.ret-code-card strong {
  display: block;
  margin-top: 12px;
  color: var(--navy);
}

@media (max-width: 900px) {
  .ret-code-grid {
    grid-template-columns: minmax(0,1fr);
  }

  .ret-code-card {
    padding: 16px;
    border-radius: 18px;
  }
}

.island-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr));
  gap: 10px;
  margin: 18px 0;
}

.island-grid span {
  display: block;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 16px;
  padding: 11px 13px;
  font-weight: 900;
  color: var(--navy);
  box-shadow: 0 8px 18px rgba(7,25,52,.04);
}

.island-visa-cta {
  background: linear-gradient(180deg,#f8fbff,#fff);
  border-color: #c7ddff;
}

@media (max-width: 620px) {
  .island-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 0px) {
.home-hero,
.country-hero {
min-height: clamp(360px, 52vw, 560px);
}

.home-hero .hero-card,
.country-hero .hero-card,
.hero-card {
min-height: 220px;
}

.site-header {
min-height: 72px;
}

.brand,
.site-logo {
min-height: 44px;
}

img[width][height] {
height: auto;
}

.flag,
.flag-icon,
.country-flag,
.hero-flag {
aspect-ratio: 4 / 3;
object-fit: cover;
}

iframe,
ins.adsbygoogle,
.adsbygoogle {
display: block;
min-height: 280px;
}

.ad-slot,
.ad-reserve {
min-height: 280px;
}
}

