:root {
  --gold: #c8b868;
  --gold-ink: #5a451c;
  --gold-deep: #3c2e12;
  --flag-blue: var(--gold);
  --flag-blue-dark: var(--gold-ink);
  --flag-red: #d82830;
  --text-red: #8e1820;
  --btn-red: #8e1820;
  --btn-red-hover: #6e1018;
  --brand: var(--btn-red);
  --brand-dark: var(--gold-ink);
  --ink: #1a1a1a;
  --muted: #3c2e12;
  --cream: #e7f3f8;
  --paper: #ffffff;
  --line: #d3e2ea;
  --panel: #3c2e12;
  --masthead-h: 92px;
  --nav-h: 48px;
  --hero-h: 380px;
}

html { font-size: 16px; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  line-height: 1.55;
}

img { max-width: 100%; height: auto; }

a { color: var(--brand-dark); }
a:hover { color: var(--text-red); }

h1, h2, h3, .accordion-button {
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.25;
  color: var(--ink);
}

h1 { font-size: 2.05rem; margin: 0 0 0.65rem; }
h2 { font-size: 1.35rem; margin: 0 0 0.65rem; }
h3 { font-size: 1.02rem; margin: 0; }
p { margin: 0 0 0.75rem; }

.eyebrow {
  margin: 0 0 0.35rem;
  color: var(--text-red);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  z-index: 2000;
  background: var(--ink);
  color: #fff;
  padding: 0.4rem 0.7rem;
}

.skip-link:focus { top: 0.5rem; color: #fff; }

.site-header { background: #fff; box-shadow: 0 1px 3px rgba(28, 36, 33, 0.08); }

.masthead {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.masthead__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--masthead-h);
  padding-top: 10px;
  padding-bottom: 10px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
}

.brand:hover { color: var(--ink); text-decoration: none; }

.brand__wordmark {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 148px;
  min-height: 58px;
  padding-left: 28px;
  white-space: nowrap;
  flex-shrink: 0;
  user-select: none;
}

.brand__wordmark-e,
.brand__wordmark-visa {
  background-image: linear-gradient(
    90deg,
    var(--flag-blue) 0 33.33%,
    var(--flag-red) 33.33% 66.66%,
    var(--flag-blue) 66.66% 100%
  );
  background-repeat: no-repeat;
  background-size: 134px 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand__wordmark-e {
  position: absolute;
  left: 0;
  bottom: -6px;
  font-family: "Segoe Script", "Brush Script MT", cursive;
  font-size: 64px;
  font-weight: 400;
  line-height: 1;
  background-position: left center;
}

.brand__wordmark-visa {
  font-family: Arial, "Segoe UI", sans-serif;
  font-size: 52px;
  font-weight: 700;
  line-height: 1;
  background-position: -28px center;
}

.brand__text {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: max-content;
  max-width: 100%;
  min-width: 0;
  line-height: 1.25;
  gap: 0;
}

.brand__title,
.brand__subtitle {
  display: block;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

.brand__title {
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold-ink);
}

.brand__subtitle {
  font-family: "Noto Sans Khmer", "Source Sans 3", sans-serif;
  font-size: clamp(0.85rem, 1.05vw, 1.05rem);
  font-weight: 600;
  line-height: 1.35;
  margin-top: 3px;
  letter-spacing: 0;
  color: var(--text-red);
  width: 100%;
  box-sizing: border-box;
}

.masthead__eservices {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
  text-decoration: none;
}

.masthead__eservices:hover,
.masthead__eservices:focus {
  text-decoration: none;
  opacity: 0.92;
}

.masthead__eservices img {
  display: block;
  height: 52px;
  width: auto;
  aspect-ratio: 200 / 65;
  max-width: 200px;
  object-fit: contain;
}

.flag-stripe { display: flex; height: 5px; width: 100%; }
.flag-stripe span { flex: 1; }
.flag-stripe span:nth-child(1),
.flag-stripe span:nth-child(3) { background: var(--flag-blue); }
.flag-stripe span:nth-child(2) { background: var(--flag-red); }

.main-nav { position: relative; background: var(--brand-dark); color: #fff; }
.main-nav__inner { display: flex; align-items: center; min-height: var(--nav-h); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  margin: 0 8px;
  padding: 7px 10px;
  color: #fff;
  background: transparent;
  border: 1px solid transparent;
}

.nav-toggle__icon { display: flex; flex-direction: column; gap: 4px; width: 20px; }
.nav-toggle__icon span { display: block; width: 20px; height: 2px; background: #fff; transition: transform 220ms ease, opacity 220ms ease; }
.nav-toggle__text { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.nav-toggle[aria-expanded="true"] { background: rgba(255, 255, 255, 0.12); }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-quicknav { display: none; }

.primary-menu, .sub-menu { list-style: none; margin: 0; padding: 0; }
.primary-menu { display: flex; align-items: center; }
.primary-menu > li { position: relative; }
.primary-menu > li > a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 13px 16px;
  color: #fff;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  border-bottom: 3px solid transparent;
}
.primary-menu > li > a:hover,
.primary-menu > li > a.is-active {
  color: #fff;
  background: rgba(0, 0, 0, 0.16);
  border-bottom-color: #fff;
}

.chevron {
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.sub-menu {
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 220px;
  padding: 6px 0;
  background: #fff;
  border-top: 3px solid var(--flag-blue);
  box-shadow: 0 16px 32px rgba(28, 36, 33, 0.16);
  opacity: 0;
  visibility: hidden;
  z-index: 20;
}
.primary-menu .has-children:hover > .sub-menu,
.primary-menu .has-children:focus-within > .sub-menu { opacity: 1; visibility: visible; }
.sub-menu a { display: block; padding: 9px 16px; color: var(--ink); text-decoration: none; font-size: 0.9rem; }
.sub-menu a:hover { background: var(--cream); color: var(--brand-dark); }

/* Nested country guides under Eligible countries */
.sub-menu .has-children { position: relative; }
.sub-menu .has-children > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.sub-menu .has-children > a .chevron {
  transform: rotate(-45deg) translateY(1px);
  flex-shrink: 0;
}
.sub-menu .has-children > .sub-menu {
  left: calc(100% - 4px);
  top: -6px;
  min-width: 200px;
  border-top: 0;
  border-left: 3px solid var(--flag-blue);
}
.sub-menu .has-children:hover > .sub-menu,
.sub-menu .has-children:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
}
.sub-menu--countries {
  min-width: 240px;
  max-height: min(70vh, 520px);
  overflow-y: auto;
}
.sub-menu--countries > li:first-child a {
  font-weight: 700;
  border-bottom: 1px solid var(--line);
  margin-bottom: 2px;
}

.btn-brand,
.btn-outline-brand {
  border-radius: 0.2rem;
  font-weight: 700;
  padding: 0.48rem 1rem;
  border: 1px solid var(--brand);
}

.btn-brand { background: var(--brand); color: #fff; }
.btn-brand:hover,
.btn-brand:focus { background: var(--btn-red-hover); border-color: var(--btn-red-hover); color: #fff; }

.btn-outline-brand { background: #fff; color: var(--brand-dark); }
.btn-outline-brand:hover,
.btn-outline-brand:focus { background: var(--brand); color: #fff; }

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.btn-ghost:hover, .btn-ghost:focus { background: #fff; color: var(--brand-dark); }

.hero-slider {
  position: relative;
  height: var(--hero-h);
  overflow: hidden;
  background: var(--panel);
  contain: layout;
}
.hero-slider__track { position: relative; width: 100%; height: 100%; }
.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 700ms ease;
}
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-slide__picture { position: absolute; inset: 0; display: block; }
.hero-slide__picture::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(20, 12, 10, 0.72) 0%, rgba(20, 12, 10, 0.4) 46%, rgba(20, 12, 10, 0.12) 100%);
}
.hero-slide__img { width: 100%; height: 100%; object-fit: cover; object-position: center center; }
.hero-slide.is-photo-start .hero-slide__img { object-position: left center; }
.hero-slide.is-photo-end .hero-slide__img { object-position: right center; }
.hero-slide__inner {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 16px 18px;
  color: #fff;
  background: rgba(8, 12, 18, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-left: 4px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
  -webkit-backdrop-filter: blur(16px) saturate(1.35);
  backdrop-filter: blur(16px) saturate(1.35);
}
.hero-slide__overline,
.hero-slide__subtitle,
.hero-slide__title,
.hero-slide__desc { color: #fff; }
.hero-slide__overline {
  margin: 0 0 6px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}
.hero-slide__subtitle { margin: 0 0 6px; font-size: 0.92rem; font-weight: 600; }
.hero-slide__title { margin: 0 0 8px; font-size: clamp(1.5rem, 3vw, 2.3rem); line-height: 1.15; }
.hero-slide__desc {
  margin: 0 0 14px;
  max-width: 560px;
  font-family: "Noto Sans Khmer", "Source Sans 3", sans-serif;
}
.hero-slide__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-slider__nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 40px;
  height: 40px;
  transform: translateY(-50%);
  color: #fff;
  background: var(--panel);
  border: 2px solid #fff;
  font-size: 1.6rem;
  line-height: 1;
}
.hero-slider__nav--prev { left: 16px; }
.hero-slider__nav--next { right: 16px; }
.hero-slider__dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  z-index: 3;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
  background: var(--panel);
  padding: 6px 10px;
  border-radius: 999px;
}
.hero-slider__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  background: transparent;
}
.hero-slider__dot.is-active { background: #fff; border-color: #fff; }

.news-ticker { background: var(--flag-blue-dark); color: #fff; padding: 8px 0; overflow: hidden; }
.news-ticker__inner { display: flex; align-items: center; gap: 14px; }
.news-ticker__label {
  flex: 0 0 auto;
  padding: 4px 10px;
  background: var(--brand);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.news-ticker__viewport { overflow: hidden; flex: 1; }
.news-ticker__items { display: flex; width: max-content; animation: ticker 36s linear infinite; }
.news-ticker:hover .news-ticker__items { animation-play-state: paused; }
.news-set { margin: 0; white-space: nowrap; }
.news-ticker__item { display: inline-block; margin-right: 2.4rem; font-size: 0.9rem; }
.news-ticker__item::before {
  content: "";
  display: inline-block;
  width: 0.35rem;
  height: 0.35rem;
  margin-right: 0.5rem;
  background: #fff;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.intro-band {
  background: var(--cream);
  padding: 1.6rem 0 1.4rem;
  border-bottom: 1px solid var(--line);
}

.intro-grid {
  display: block;
  width: 100%;
  text-align: center;
}

.intro-band h1 { color: var(--brand-dark); }
.text-brand {
  display: block;
  margin: 0 0 0.9rem;
  color: var(--text-red);
  font-family: "Noto Sans Khmer", "Source Sans 3", sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.85;
  text-align: center;
}
.h1-end { white-space: nowrap; }
.kh-flag {
  display: inline-block;
  width: 1.45em;
  height: auto;
  margin-left: 0.28em;
  vertical-align: -0.12em;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.intro-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.55rem; margin-top: 0.3rem; }

.how-apply { background: #fff; }
.how-apply__panel {
  padding: 1rem 1rem 1.15rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 12px;
  text-align: left;
}
.how-apply__header { text-align: center; margin-bottom: 0.75rem; }
.how-apply__header h2 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.05rem, 0.9vw + 1rem, 1.35rem);
  line-height: 1.25;
  color: var(--brand-dark);
}
.how-apply__header p {
  margin: 0 auto;
  max-width: 42em;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--muted);
}
.how-apply__divider {
  width: 40px;
  height: 3px;
  margin: 0.5rem auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--brand) 50%, var(--gold) 50%);
}
.apply-steps {
  list-style: none;
  padding: 0;
  margin: 0.65rem 0 0;
  display: grid;
  gap: 0.45rem;
}
.apply-steps > li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.55rem;
  align-items: start;
  margin: 0;
  padding: 0.5rem 0.6rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--muted);
}
.apply-steps__icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(142, 24, 32, 0.22);
}
.apply-steps__icon svg { display: block; }
.apply-steps__body { min-width: 0; }
.apply-steps__body strong {
  display: block;
  margin-bottom: 0.12rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--brand-dark);
}
.how-apply__action { margin-top: 0.75rem; text-align: center; }
.btn-start {
  display: inline-flex;
  align-items: stretch;
  overflow: hidden;
  padding: 0;
  border-radius: 0.2rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.09);
  text-decoration: none;
}
.btn-start__icon {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 0.85rem;
  background: var(--btn-red-hover);
}
.btn-start__text {
  display: inline-flex;
  align-items: center;
  padding: 0 1.15rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.btn-start:hover,
.btn-start:focus { color: #fff; transform: translateY(-2px); }
@media (min-width: 720px) {
  .apply-steps { grid-template-columns: 1fr 1fr; gap: 0.5rem 0.75rem; }
}

.fact-list {
  list-style: none;
  margin: 0;
  padding: 0.35rem 0.9rem;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--brand);
}

.fact-list li {
  display: flex;
  flex-direction: column;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
}

.fact-list li:last-child { border-bottom: 0; }
.fact-list strong { font-size: 1.15rem; color: var(--brand-dark); }
.fact-list span { color: var(--muted); font-size: 0.9rem; }

.section-pad { padding: 1.7rem 0; }
.section-cream { background: var(--cream); }

.section-head { margin-bottom: 1rem; }
.section-head h2 { margin-bottom: 0; }

.info-card,
.text-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--brand);
  padding: 0.9rem 0.95rem 1rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.info-card img {
  width: 100%;
  height: 132px;
  object-fit: cover;
}

.info-card ol,
.info-card ul,
.apply-steps,
.text-card ul { margin: 0; padding-left: 1.1rem; }

.info-card li + li,
.apply-steps li + li,
.text-card li + li { margin-top: 0.28rem; }

.card-link {
  color: var(--brand-dark);
  font-weight: 700;
  text-decoration: none;
}

.card-link::after { content: " →"; }
.card-link:hover { color: var(--text-red); }

.topic-head { text-align: center; margin-bottom: 1.15rem; }
.topic-head h2 { margin-bottom: 0.3rem; color: var(--brand-dark); }
.topic-head p { margin: 0; color: var(--muted); }
.topic-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem;
}
.topic-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}
.topic-card picture { display: block; }
.topic-card img {
  display: block;
  width: 100%;
  height: 148px;
  object-fit: cover;
}
.topic-card h3 {
  margin: 0.85rem 1rem 0.4rem;
  font-size: 1.05rem;
  color: var(--brand-dark);
}
.topic-card p {
  margin: 0 1rem 0.85rem;
  flex: 1;
  font-size: 0.92rem;
  color: var(--muted);
}
.topic-card .card-link { margin: 0 1rem 1rem; }
@media (max-width: 991.98px) {
  .topic-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 575.98px) {
  .topic-grid { grid-template-columns: 1fr 1fr; gap: 0.7rem; }
  .topic-card img { height: 100px; }
  .topic-card h3 { margin: 0.55rem 0.6rem 0.25rem; font-size: 0.95rem; }
  .topic-card p { margin: 0 0.6rem 0.6rem; font-size: 0.8rem; }
  .topic-card .card-link { margin: 0 0.6rem 0.7rem; }
  .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.5rem 0.3rem; }
  .site-footer h2 { font-size: 0.62rem; letter-spacing: 0.02em; }
  .site-footer li, .site-footer a { font-size: 0.65rem; }
}

.visa-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}
.visa-option {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.1rem 1.05rem 1rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}
.visa-option__tag {
  margin: 0 0 0.45rem;
  color: var(--text-red);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.visa-option h3 {
  margin: 0 0 0.4rem;
  color: var(--brand-dark);
  font-size: 1.2rem;
}
.visa-option > p {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.visa-option__facts {
  margin: 0 0 0.9rem;
  padding: 0;
}
.visa-option__facts div {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.42rem 0;
  border-top: 1px solid var(--line);
}
.visa-option__facts dt {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}
.visa-option__facts dd {
  margin: 0;
  color: var(--brand-dark);
  font-weight: 700;
  text-align: right;
}
.visa-option .card-link { margin-top: auto; }

.guide-split {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.85fr);
  gap: 1.15rem;
  align-items: start;
}
.sample-card .sample-shot {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0.25rem 0 0;
  object-fit: contain;
}
.policy-feed {
  max-height: 28rem;
  overflow: auto;
  padding-right: 0.2rem;
}
.policy-item {
  padding: 0.75rem 0;
  border-top: 1px solid var(--line);
}
.policy-item time {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--text-red);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.policy-item h3 { margin: 0 0 0.3rem; font-size: 1.02rem; color: var(--brand-dark); }
.policy-item p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.policy-nav { display: flex; gap: 0.5rem; margin-top: 0.8rem; }
.arrival-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
.arrival-grid .topic-card ul { margin: 0 1rem 0.85rem; padding-left: 1.1rem; color: var(--muted); }
.arrival-grid .topic-card li + li { margin-top: 0.28rem; }
.purpose-wrap { margin-top: 1.15rem; }
.purpose-card .purpose-grid { margin-bottom: 0; }
.purpose-card .btn { margin-top: auto; }
.purpose-grid { display: grid; grid-template-columns: 1fr; gap: 0.75rem; margin: 0.4rem 0 1rem; }
.purpose-grid ul {
  margin: 0;
  padding: 0.75rem 0.85rem 0.85rem 1.35rem;
  background: var(--cream);
  border-radius: 8px;
}
.purpose-grid li { margin-top: 0.25rem; }
.reject-list { margin: 0 0 0.8rem; padding-left: 1.1rem; }
.reject-list li { margin-top: 0.3rem; }
@media (max-width: 991.98px) {
  .guide-split { grid-template-columns: 1fr; }
}
@media (max-width: 767.98px) {
  .purpose-grid { grid-template-columns: 1fr; }
  .arrival-grid { grid-template-columns: 1fr 1fr; gap: 0.7rem; }
  .visa-options { grid-template-columns: 1fr 1fr; }
  .visa-options .visa-option:last-child { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.75rem 0.4rem; }
  .site-footer h2 { font-size: 0.68rem; letter-spacing: 0.03em; }
  .site-footer li, .site-footer a { font-size: 0.72rem; }
  .pair-row > [class*="col-"] {
    flex: 0 0 auto;
    width: 50%;
    max-width: 50%;
  }
  .pair-row .text-card { padding: 0.65rem 0.5rem 0.75rem; }
  .pair-row h2 { font-size: 0.95rem; }
  .pair-row .btn {
    margin-top: auto;
    font-size: 0.75rem;
    line-height: 1.25;
    padding: 0.4rem 0.4rem;
    white-space: normal;
  }
  .pair-row .purpose-grid ul { padding: 0.45rem 0.4rem 0.5rem 0.95rem; }
  .pair-row .exempt-list li { font-size: 0.78rem; gap: 0.35rem; }
}

.content-shot {
  display: block;
  width: 100%;
  margin-bottom: 0.8rem;
  border: 1px solid var(--line);
}

.exempt-list { list-style: none; padding: 0; margin: 0 0 0.8rem; }

.exempt-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.38rem 0;
  border-bottom: 1px solid var(--line);
}

.exempt-list li:last-child { margin-top: 0; }

.faq-list { display: flex; flex-direction: column; border: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); background: #fff; }
.faq-item:last-child { border-bottom: 0; }
.faq-item summary {
  cursor: pointer;
  padding: 0.75rem 0.9rem;
  font-weight: 700;
  color: var(--ink);
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; float: right; color: var(--brand-dark); }
.faq-item[open] summary { color: var(--brand-dark); background: var(--cream); }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin: 0; padding: 0.75rem 0.9rem 0.9rem; color: var(--ink); }

.holiday-table { background: #fff; font-size: 0.95rem; margin-bottom: 0; }
.holiday-table caption {
  caption-side: top;
  color: var(--brand-dark);
  font-weight: 700;
  text-align: left;
  padding-bottom: 0.35rem;
}
.holiday-table thead { background: var(--brand-dark); color: #fff; }

.disclaimer {
  margin: 1.4rem 0 0;
  padding-top: 0.8rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

.site-footer { background: var(--panel); color: #f6f4ea; }

.site-footer > .container { padding-top: 1.6rem; padding-bottom: 1.5rem; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem 1rem;
}

.site-footer h2 {
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-footer a { color: #f6f1ea; text-decoration: none; }
.site-footer a:hover { color: #f3e6b0; }

.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li + li { margin-top: 0.28rem; }

.footer-copy { margin-top: 0.9rem; color: #d9cfc4; font-size: 0.88rem; }

@media (max-width: 991.98px) {
  html { font-size: 14px; }
  .nav-toggle { display: inline-flex; }
  .mobile-quicknav { display: flex; margin-left: auto; }
  .mobile-quicknav__item {
    padding: 8px 7px;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    text-decoration: none;
  }
  .mobile-quicknav__item--cta { color: #fff; }
  .primary-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-top: 3px solid var(--flag-blue);
    box-shadow: 0 12px 28px rgba(28, 36, 33, 0.16);
    opacity: 0;
    visibility: hidden;
    z-index: 30;
  }
  .primary-menu.is-open { opacity: 1; visibility: visible; }
  .primary-menu > li { width: 100%; border-bottom: 1px solid var(--line); }
  .primary-menu > li > a { width: 100%; color: var(--ink); border-bottom: 0; }
  .primary-menu > li > a:hover,
  .primary-menu > li > a.is-active { color: var(--brand-dark); background: var(--cream); }
  .sub-menu { position: static; display: none; box-shadow: none; border-top: 0; border-left: 0; opacity: 1; visibility: visible; background: #faf7f2; }
  .primary-menu .has-children.is-open > .sub-menu { display: block; }
  .sub-menu .has-children > a .chevron { transform: rotate(45deg) translateY(-2px); }
  .sub-menu--countries {
    max-height: none;
    overflow: visible;
    columns: 1;
  }
  .sub-menu .has-children > .sub-menu { background: #f3efe8; }
  .masthead__inner { min-height: 0; padding-top: 6px; padding-bottom: 6px; }
  .brand { gap: 8px; align-items: center; min-width: 0; flex: 1 1 auto; }
  .brand__text { gap: 2px; }
  .brand__wordmark {
    transform: none;
    min-width: 0;
    min-height: 0;
    margin: 0;
    padding-left: 22px;
    overflow: visible;
  }
  .brand__wordmark-visa { font-size: 40px; background-size: 108px 100%; background-position: -22px center; }
  .brand__wordmark-e { font-size: 46px; left: 0; bottom: -8px; line-height: 1; }
  .brand__title { font-size: 0.95rem; }
  .brand__subtitle { font-size: 0.8rem; }
  .masthead__eservices img { height: 44px; max-width: 160px; }
  .hero-slider { height: 280px; }
}

@media (max-width: 767.98px) {
  html { font-size: 13px; }

  h1 { font-size: 1.35rem; }
  h2 { font-size: 1.12rem; }
  .accordion-button,
  .btn,
  .nav-link,
  .form-control,
  .table,
  p, li, a, label, td, th, caption, small { font-size: 1em; }

  .masthead__inner { gap: 6px; padding-top: 6px; padding-bottom: 6px; }
  .brand { gap: 6px; }
  .brand__wordmark { padding-left: 22px; }
  .brand__wordmark-visa { font-size: 34px; background-size: 92px 100%; background-position: -18px center; }
  .brand__wordmark-e { font-size: 42px; left: -1px; bottom: -14px; line-height: 1; }
  .brand__title { font-size: 0.78rem; letter-spacing: 0.02em; }
  .brand__subtitle { font-size: 0.7rem; }
  .masthead__eservices img { height: 36px; max-width: 120px; }
  .hero-slider { height: 250px; }
  .hero-slide__title { font-size: 1.15rem; }
  .hero-slide__desc {
    font-size: 0.82rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
  }
  .hero-slider__nav { width: 30px; height: 30px; font-size: 1.2rem; }
  .news-ticker__label { font-size: 0.65rem; letter-spacing: 0.04em; padding: 3px 6px; }
  .intro-band { padding: 1rem 0; }
  .section-pad { padding: 1.1rem 0; }
  .info-card img { height: 112px; }
  .fact-list { padding: 0.15rem 0.75rem; }
}

@media (prefers-reduced-motion: reduce) {
  .news-ticker__items,
  .hero-slide { animation: none; transition: none; }
}

/* eVisa Page Styles */
.hero-banner {
  background: linear-gradient(135deg, var(--gold-ink) 0%, var(--gold-deep) 100%);
  color: #fff;
  padding: 2.5rem 0;
  text-align: center;
}

.hero-banner .page-title {
  color: #fff;
  font-size: 2.2rem;
  margin: 0;
  font-weight: 700;
}

.page-divider {
  height: 4px;
  background: linear-gradient(90deg, var(--flag-red) 0%, var(--gold) 50%, var(--flag-red) 100%);
  margin: 0;
}

.evisa-page-container {
  padding: 2rem 0;
  max-width: 1200px;
}

.breadcrumb-nav {
  margin-bottom: 2rem;
}

.breadcrumb {
  background: #f8f9fa;
  padding: 0.75rem 1rem;
  border-radius: 4px;
  margin-bottom: 0;
}

.breadcrumb li {
  display: inline-block;
}

.breadcrumb li + li:before {
  content: "›";
  margin: 0 0.5rem;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--brand-dark);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--text-red);
  text-decoration: underline;
}

.breadcrumb .active {
  color: var(--muted);
}

.visa-highlight {
  background: linear-gradient(135deg, #fff9e6 0%, #fff 100%);
  border-left: 4px solid var(--gold);
  padding: 1.5rem;
  margin-bottom: 2rem;
  border-radius: 0 4px 4px 0;
}

.visa-highlight h3 {
  color: var(--gold-ink);
  margin-bottom: 0.75rem;
  font-size: 1.4rem;
}

.visa-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.visa-fact {
  background: #f8f9fa;
  padding: 1.25rem;
  border-radius: 6px;
  border: 1px solid var(--line);
}

.visa-fact strong {
  display: block;
  color: var(--gold-ink);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.visa-fact small {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.4;
}

.toc {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 6px;
  border: 1px solid var(--line);
  margin-bottom: 2rem;
}

.toc h3 {
  color: var(--gold-ink);
  margin-bottom: 1rem;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.toc li {
  margin-bottom: 0.5rem;
}

.toc a {
  color: var(--brand-dark);
  text-decoration: none;
  font-size: 0.9rem;
  display: block;
  padding: 0.25rem 0;
  border-left: 2px solid transparent;
  padding-left: 0.75rem;
  transition: all 0.2s;
}

.toc a:hover {
  color: var(--text-red);
  border-left-color: var(--text-red);
  text-decoration: none;
}

.visa-info-card {
  background: #fff;
  padding: 2rem;
  margin-bottom: 2rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.visa-info-card h2 {
  color: var(--gold-ink);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--gold);
}

.visa-info-card h3 {
  color: var(--gold-ink);
  font-size: 1.15rem;
  margin: 1.5rem 0 0.75rem;
}

.visa-info-card h3:first-of-type {
  margin-top: 1rem;
}

.visa-info-card ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.visa-info-card li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.visa-info-card strong {
  color: var(--gold-ink);
}

.visa-type-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.visa-type-card {
  background: #f8f9fa;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.5rem;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.visa-type-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.visa-type-card__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--gold);
}

.visa-type-card__label {
  background: var(--brand);
  color: #fff;
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.visa-type-card__head h4 {
  margin: 0;
  font-size: 1.15rem;
  color: var(--gold-ink);
  font-weight: 700;
}

.visa-type-card p {
  margin-bottom: 1rem;
  line-height: 1.6;
  color: var(--ink);
}

.visa-type-card__meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.visa-type-card__meta div {
  text-align: center;
}

.visa-type-card__meta dt {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.visa-type-card__meta dd {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold-ink);
  margin: 0;
}

.mini-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  background: #f8f9fa;
  border-radius: 6px;
  overflow: hidden;
}

.mini-table th,
.mini-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.mini-table th {
  background: var(--gold-ink);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
}

.mini-table tr:last-child td {
  border-bottom: none;
}

.mini-table td {
  font-size: 0.9rem;
}

.cta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.cta-row .btn {
  padding: 0.6rem 1.25rem;
  font-size: 0.9rem;
  border-radius: 4px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s;
}

.cta-row .btn-success {
  background: var(--gold);
  color: var(--gold-ink);
  border: none;
}

.cta-row .btn-success:hover {
  background: var(--gold-ink);
  color: #fff;
  text-decoration: none;
}

.cta-row .btn-info {
  background: var(--brand);
  color: #fff;
  border: none;
}

.cta-row .btn-info:hover {
  background: var(--brand-dark);
  color: #fff;
  text-decoration: none;
}

.cta-row .btn-default {
  background: #f8f9fa;
  color: var(--gold-ink);
  border: 1px solid var(--line);
}

.cta-row .btn-default:hover {
  background: var(--line);
  color: var(--gold-ink);
  text-decoration: none;
}

.apply-steps {
  margin: 2rem 0;
}

.apply-step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
  align-items: start;
}

.apply-step:last-child {
  margin-bottom: 0;
}

.apply-step__content h4 {
  color: var(--gold-ink);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.apply-step__content p {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 0;
}

.apply-step__media {
  margin: 0;
}

.apply-step__media img {
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.faq-accordion {
  margin: 1.5rem 0;
}

.faq-accordion__item {
  margin-bottom: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}

.faq-accordion__summary {
  background: #f8f9fa;
  padding: 1rem 1.25rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--gold-ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
  list-style: none;
}

.faq-accordion__summary:hover {
  background: var(--line);
}

.faq-accordion__summary::-webkit-details-marker {
  display: none;
}

.faq-accordion__summary::after {
  content: "+";
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--gold);
}

.faq-accordion__item[open] .faq-accordion__summary::after {
  content: "−";
}

.faq-accordion__content {
  padding: 1.25rem;
  background: #fff;
  border-top: 1px solid var(--line);
}

.faq-accordion__content p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.faq-disclaimer {
  color: var(--muted);
  font-size: 0.8rem;
  font-style: italic;
  margin-top: 1.5rem;
  padding: 1rem;
  background: #f8f9fa;
  border-left: 3px solid var(--gold);
  border-radius: 0 4px 4px 0;
}

.resource-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.resource-links li {
  margin-bottom: 0.5rem;
}

.resource-links a {
  color: var(--brand-dark);
  text-decoration: none;
  display: block;
  padding: 0.5rem 0.75rem;
  background: #f8f9fa;
  border-radius: 4px;
  transition: all 0.2s;
  border-left: 3px solid var(--gold);
}

.resource-links a:hover {
  background: var(--line);
  color: var(--text-red);
  text-decoration: none;
  border-left-color: var(--text-red);
}

/* Responsive */
@media (max-width: 991.98px) {
  .apply-step {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .apply-step__media {
    order: -1;
  }
}

@media (max-width: 767.98px) {
  .hero-banner {
    padding: 1.5rem 0;
  }

  .hero-banner .page-title {
    font-size: 1.5rem;
  }

  .evisa-page-container {
    padding: 1rem 0;
  }

  .visa-info-card {
    padding: 1.25rem;
  }

  .visa-facts {
    grid-template-columns: 1fr;
  }

  .cta-row {
    flex-direction: column;
  }

  .cta-row .btn {
    width: 100%;
    justify-content: center;
  }

  .visa-type-row {
    grid-template-columns: 1fr;
  }

  .visa-type-card__meta {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .visa-type-card__meta div {
    text-align: left;
  }

  .two-column-section {
    margin: 0 -1rem;
  }

  .two-column-section .col-md-6 {
    padding: 0 1rem;
  }
}

/* Photo & passport requirements */
.hero-banner .page-lead {
  max-width: 46rem;
  margin: 0.85rem auto 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.05rem;
  line-height: 1.55;
}

.hero-banner .page-lead strong {
  color: #fff;
}

.photo-req-page {
  padding: 1.75rem 0 2.5rem;
}

.photo-req-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.35rem 1.5rem 1.5rem;
  margin-bottom: 1.15rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.photo-req-card > h2,
.photo-req-card > h3 {
  color: var(--gold-ink);
  margin: 0 0 0.85rem;
  padding-bottom: 0.55rem;
  border-bottom: 2px solid var(--gold);
  font-size: 1.35rem;
}

.photo-req-card p {
  color: var(--muted);
  line-height: 1.6;
}

.photo-req-lead {
  margin: 0 0 1rem;
}

.photo-req-figure {
  margin: 0 0 1rem;
  text-align: center;
}

.photo-req-figure figcaption {
  margin-top: 0.6rem;
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.5;
}

.photo-req-media {
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.photo-req-media--wide {
  width: 100%;
  aspect-ratio: 1920 / 1080;
}

.photo-req-media--passport {
  width: 100%;
  max-width: 920px;
  aspect-ratio: 1280 / 720;
}

.photo-req-media picture,
.photo-req-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.photo-req-topics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem 1.25rem;
  margin: 0;
  padding: 0.9rem 1rem 0.9rem 1.6rem;
  background: #f8f9fa;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.photo-req-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem 0.9rem;
  margin: 0;
}

.photo-req-specs__item {
  background: #f8f9fa;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.75rem 0.9rem;
}

.photo-req-specs dt {
  margin: 0 0 0.2rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.photo-req-specs dd {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--gold-ink);
  line-height: 1.4;
}

.photo-req-tips {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0.9rem 1rem;
  background: #f8f9fa;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
}

.photo-req-tips li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
  line-height: 1.5;
}

.photo-req-tips li:last-child {
  margin-bottom: 0;
}

.photo-req-mark {
  flex-shrink: 0;
  width: 1.15rem;
  text-align: center;
  font-weight: 700;
  line-height: 1.45;
}

.photo-req-mark--ok { color: #1e7a34; }
.photo-req-mark--bad { color: #b42318; }

.photo-req-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.photo-req-do,
.photo-req-dont {
  border-radius: 6px;
  padding: 1rem 1.1rem 1.1rem;
}

.photo-req-do {
  background: #f4faf5;
  border: 1px solid #c8e6c9;
}

.photo-req-dont {
  background: #fdf4f4;
  border: 1px solid #f5c6c6;
}

.photo-req-do h4,
.photo-req-dont h4 {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.65rem;
  font-size: 1rem;
  color: var(--gold-ink);
}

.photo-req-do ul,
.photo-req-dont ul {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.photo-req-do li,
.photo-req-dont li {
  margin-bottom: 0.35rem;
  line-height: 1.5;
}

.photo-req-steps {
  list-style: none;
  margin: 0 0 0.25rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.photo-req-steps__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
}

.photo-req-steps__num {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--gold-ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.82rem;
}

.photo-req-steps__body h4 {
  margin: 0 0 0.3rem;
  font-size: 1rem;
  color: var(--gold-ink);
}

.photo-req-steps__body p {
  margin: 0;
}

.photo-req-guide-lead {
  margin-bottom: 1rem;
}

.photo-req-card .faq-accordion__content p + p,
.photo-req-card .faq-accordion__content ul + p {
  margin-top: 0.75rem;
}

.photo-req-card .faq-accordion__content ul {
  margin: 0.35rem 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

@media (max-width: 767.98px) {
  .hero-banner .page-lead {
    font-size: 0.95rem;
  }

  .photo-req-card {
    padding: 1.1rem 1rem 1.15rem;
  }

  .photo-req-card > h2,
  .photo-req-card > h3 {
    font-size: 1.15rem;
  }

  .photo-req-topics,
  .photo-req-specs,
  .photo-req-split {
    grid-template-columns: 1fr;
  }
}

/* Eligible / visa-exempt countries */
.eligible-countries-page {
  padding: 1.75rem 0 2.5rem;
}

.eligible-countries-page .eligible-intro {
  padding-top: 0;
}

.eligible-steps {
  margin: 0 0 1.15rem;
  padding-left: 1.25rem;
  color: var(--muted);
  line-height: 1.6;
}

.eligible-steps li {
  margin-bottom: 0.45rem;
}

.eligible-popular {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
  line-height: 1.55;
}

.eligible-popular li {
  margin-bottom: 0.55rem;
}

.eligible-cta {
  margin-top: 0.35rem;
}

/* Mobile: keep eligible-page CTAs in rows (not stacked) */
@media (max-width: 767.98px) {
  .eligible-countries-page .eligible-cta.cta-row,
  .country-visa-page .eligible-cta.cta-row,
  .legal-page .eligible-cta.cta-row,
  .cta-row.eligible-cta {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .eligible-countries-page .eligible-cta.cta-row .btn,
  .country-visa-page .eligible-cta.cta-row .btn,
  .legal-page .eligible-cta.cta-row .btn,
  .cta-row.eligible-cta .btn {
    width: auto;
    flex: 1 1 calc(50% - 0.25rem);
    max-width: calc(50% - 0.25rem);
    justify-content: center;
    text-align: center;
    font-size: 0.78rem;
    padding: 0.55rem 0.4rem;
    line-height: 1.25;
    white-space: normal;
  }

  .eligible-countries-page .eligible-cta--triple.cta-row .btn,
  .country-visa-page .eligible-cta--triple.cta-row .btn,
  .legal-page .eligible-cta--triple.cta-row .btn,
  .cta-row.eligible-cta.eligible-cta--triple .btn {
    flex: 1 1 0;
    max-width: none;
    min-width: 0;
    font-size: 0.72rem;
    padding: 0.5rem 0.3rem;
  }
}

.eligible-section__header {
  text-align: center;
  margin: 0 0 1.15rem;
}

.eligible-section__header h2 {
  color: var(--gold-ink);
  margin: 0 0 0.65rem;
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
}

.eligible-section__header p {
  max-width: 48rem;
  margin: 0 auto;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.eligible-regions {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.eligible-region > h3 {
  color: var(--gold-ink);
  margin: 0 0 0.85rem;
  padding-bottom: 0.55rem;
  border-bottom: 2px solid var(--gold);
  font-size: 1.15rem;
}

.eligible-countries-page .country-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem 1.15rem;
}

.eligible-countries-page .country-list li {
  position: relative;
  padding: 0.2rem 0 0.2rem 1.15rem;
  font-size: 0.92rem;
  line-height: 1.4;
  color: var(--muted);
}

.eligible-countries-page .country-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.2rem;
  color: #1a7a3c;
  font-size: 0.75rem;
  font-weight: 700;
}

.eligible-countries-page .country-list--5col {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.eligible-countries-page .country-list--exempt {
  grid-template-columns: 1fr 1fr;
}

.eligible-countries-page .country-list--exempt .exempt-stay {
  color: var(--gold-ink);
  font-weight: 600;
  font-size: 0.88rem;
}

.eligible-table-note {
  max-width: 48rem;
  margin: 0.35rem auto 1.15rem;
  text-align: center;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--muted);
}

.eligible-table-note a {
  font-weight: 600;
}

@media (max-width: 1100px) {
  .eligible-countries-page .country-list--5col {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .eligible-countries-page .country-list--5col,
  .eligible-countries-page .country-list--exempt {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .eligible-countries-page .country-list,
  .eligible-countries-page .country-list--5col,
  .eligible-countries-page .country-list--exempt {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.3rem 0.65rem;
  }

  .eligible-countries-page .country-list li {
    font-size: 0.82rem;
    padding-left: 0.95rem;
  }
}

/* Visa on Arrival page */
.voa-page .voa-subhead {
  color: var(--gold-ink);
  font-size: 1.05rem;
  margin: 1.15rem 0 0.65rem;
}

.voa-page .voa-port-list {
  margin-bottom: 0.35rem;
}

.voa-compare-wrap {
  overflow-x: auto;
  margin: 0 0 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.voa-compare {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.voa-compare th,
.voa-compare td {
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  color: var(--muted);
  line-height: 1.45;
}

.voa-compare thead th {
  background: #f4f8fb;
  color: var(--gold-ink);
  font-weight: 700;
}

.voa-compare tbody th {
  color: var(--ink);
  font-weight: 600;
  width: 28%;
  background: #fafcfd;
}

.voa-compare tbody tr:last-child th,
.voa-compare tbody tr:last-child td {
  border-bottom: 0;
}

@media (max-width: 767.98px) {
  .voa-compare {
    font-size: 0.82rem;
  }

  .voa-compare th,
  .voa-compare td {
    padding: 0.55rem 0.6rem;
  }
}

/* Apply eVisa guidelines page */
.apply-page .voa-subhead {
  color: var(--gold-ink);
  font-size: 1.05rem;
  margin: 1.15rem 0 0.65rem;
}

.apply-checklist {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}

.apply-checklist li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.6rem;
  color: var(--muted);
  line-height: 1.55;
  border-bottom: 1px solid var(--line);
}

.apply-checklist li:last-child {
  border-bottom: 0;
}

.apply-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.45rem;
  color: #1a7a3c;
  font-weight: 700;
  font-size: 0.85rem;
}

.apply-doc-samples {
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  gap: 1rem 1.25rem;
  align-items: start;
  margin: 0 0 0.5rem;
}

.apply-doc-sample {
  margin: 0;
  text-align: center;
}

.apply-doc-sample figcaption {
  margin-top: 0.5rem;
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.45;
}

.apply-doc-sample__media {
  aspect-ratio: 413 / 531;
  max-width: 220px;
  margin: 0 auto;
}

.apply-doc-sample__media--passport {
  aspect-ratio: 16 / 10;
  max-width: none;
}

.apply-caption-note {
  margin: 0.35rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
  text-align: center;
}

.apply-notice {
  background: #f4f8fb;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem 1.15rem;
  margin: 0 0 1.15rem;
}

.apply-notice p {
  margin: 0 0 0.65rem;
}

.apply-notice .eligible-popular {
  margin-bottom: 0;
}

.apply-alert {
  background: #eef6ff;
  border-left: 4px solid #2c5aa0;
  border-radius: 4px;
  padding: 0.9rem 1.1rem;
  margin: 0 0 1rem;
}

.apply-alert p {
  margin: 0;
}

.apply-ports {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem 1.25rem;
}

.apply-cta-card {
  text-align: center;
}

.apply-cta-card .cta-row {
  justify-content: center;
}

.apply-now-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  margin: 1.25rem 0 0.25rem;
  text-align: center;
}

.apply-now-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(100%, 22rem);
  padding: 1rem 2.5rem;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(44, 62, 80, 0.18);
}

.apply-now-btn:hover {
  box-shadow: 0 6px 18px rgba(44, 62, 80, 0.24);
}

.apply-now-note {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

@media (max-width: 767.98px) {
  .apply-doc-samples {
    grid-template-columns: 1fr;
  }

  .apply-doc-sample__media {
    max-width: 200px;
  }

  .apply-ports {
    grid-template-columns: 1fr;
  }

  .apply-now-btn {
    width: 100%;
    min-width: 0;
    font-size: 1.1rem;
    padding: 0.95rem 1.5rem;
  }
}

/* Fees page */
.fees-page {
  padding: 1.75rem 0 2.5rem;
}

.fees-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
  margin-top: 1rem;
}

.fees-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 1.25rem 1.35rem 1.4rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
}

.fees-card--alt {
  border-color: rgba(90, 69, 28, 0.28);
  background: linear-gradient(180deg, #fffdf8 0%, #fff 55%);
}

.fees-card__head h3 {
  margin: 0 0 0.25rem;
  color: var(--gold-ink);
  font-size: 1.2rem;
}

.fees-card__head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.fees-card__price {
  margin: 1rem 0 0.2rem;
  font-size: 2.35rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--brand-dark, #5a451c);
}

.fees-card__price span {
  display: inline-block;
  margin-right: 0.25rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  vertical-align: 0.55rem;
  color: var(--muted);
}

.fees-card__note {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.fees-card__list {
  list-style: none;
  margin: 0 0 1.15rem;
  padding: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.fees-card__list li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  color: var(--muted);
  font-size: 0.95rem;
}

.fees-card__list strong {
  color: var(--gov-ink, #1a1a1a);
  font-weight: 700;
}

.fees-card__cta {
  margin-top: auto;
  align-self: flex-start;
}

.fees-table-wrap {
  margin-top: 0.75rem;
}

.fees-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.fees-table th,
.fees-table td {
  border: 1px solid var(--line);
  padding: 0.7rem 0.85rem;
  text-align: left;
  vertical-align: top;
}

.fees-table thead th {
  background: var(--brand-dark, #5a451c);
  color: #fff;
  font-weight: 700;
}

.fees-table tbody th {
  background: #f8f6f1;
  color: var(--gold-ink);
  font-weight: 700;
  width: 11rem;
}

.fees-table__total td,
.fees-table__total th {
  background: #f0f7ff;
}

.fees-footnote,
.fees-points {
  margin-top: 0.85rem;
}

.fees-points {
  list-style: none;
  padding-left: 0;
}

.fees-points li {
  position: relative;
  padding-left: 1.15rem;
  margin-bottom: 0.7rem;
  color: var(--muted);
  line-height: 1.55;
}

.fees-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--gold, #c9a96e);
}

@media (max-width: 800px) {
  .fees-grid {
    grid-template-columns: 1fr;
  }

  .fees-table tbody th {
    width: auto;
  }
}

/* Track application status */
.track-page {
  --gov-ink: #1e2a36;
  --gov-panel: #243447;
  --gov-line: #9aabba;
  --gov-field: #f0f4f8;
  --gov-icon: #3d4f63;
  padding: 1.75rem 0 2.5rem;
}

.track-page .af-input {
  border: 1px solid var(--gov-line);
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
}

.track-page .af-input:focus-within {
  border-color: #4a6780;
  box-shadow: 0 0 0 3px rgba(36, 52, 71, 0.12);
}

.track-page .af-input__icon {
  background: var(--gov-field);
  border-right: 1px solid var(--gov-line);
}

.track-page .af-actions {
  border-top-color: var(--gov-line);
}

.track-page .af-btn--primary {
  display: inline-flex;
  background: var(--gov-panel);
  color: #fff !important;
  border: 1px solid var(--gov-panel);
  min-width: 12rem;
  padding: 0.7rem 1.35rem;
}

.track-page .af-btn--primary:hover,
.track-page .af-btn--primary:focus {
  background: #1a2736;
  color: #fff !important;
  border-color: #1a2736;
}

.track-page .af-btn--secondary {
  background: var(--btn-red, #8e1820);
  color: #fff !important;
  border-color: var(--btn-red, #8e1820);
}

.track-page .track-form__actions {
  justify-content: flex-start;
}

.track-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 1.15rem;
  align-items: start;
  margin-bottom: 1.15rem;
}

.track-form .form-group {
  margin-bottom: 1rem;
}

.track-or {
  margin: 0.15rem 0 0.35rem;
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-size: 0.85rem;
}

.track-request-card {
  margin-top: 1rem;
}

.track-request-card > h3 {
  color: var(--gold-ink);
  margin: 0 0 0.85rem;
  padding-bottom: 0.55rem;
  border-bottom: 2px solid var(--gold);
  font-size: 1.2rem;
}

.track-request-msg {
  margin: 0 0 0.85rem;
  padding: 0.7rem 0.85rem;
  border-radius: 6px;
  font-size: 0.92rem;
}

.track-request-msg[hidden] {
  display: none !important;
}

.track-request-msg.is-ok {
  background: #e8f8ef;
  color: #1e6b3a;
  border: 1px solid #a8dfc0;
}

.track-request-msg.is-err {
  background: #fef2f2;
  color: #9a3412;
  border: 1px solid #f5c6cb;
}

.track-panel .af-btn--secondary {
  margin-top: 0.35rem;
}

.track-form__actions {
  margin-top: 0.5rem;
}

.track-form .af-input.is-invalid {
  border-color: var(--text-red, #c0392b);
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.12);
}

.track-status-list {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
  line-height: 1.6;
}

.track-status-list li + li {
  margin-top: 0.55rem;
}

.track-loading {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.25rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.track-loading[hidden] {
  display: none !important;
}

.track-loading p {
  margin: 0;
  color: var(--muted);
}

.track-loading__spinner {
  width: 1.5rem;
  height: 1.5rem;
  border: 3px solid rgba(90, 69, 28, 0.2);
  border-top-color: var(--brand, #5a451c);
  border-radius: 50%;
  animation: trackSpin 0.7s linear infinite;
  flex: 0 0 auto;
}

@keyframes trackSpin {
  to { transform: rotate(360deg); }
}

.track-result {
  margin-top: 1.25rem;
}

.track-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.15rem 1.25rem 1.25rem;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.track-panel--info {
  border-left: 4px solid #3b82f6;
  background: #f0f7ff;
}

.track-panel--success {
  border-left: 4px solid #16a34a;
  background: #f0fdf4;
}

.track-panel--warn {
  border-left: 4px solid #d97706;
  background: #fffbeb;
}

.track-panel--error {
  border-left: 4px solid #dc2626;
  background: #fef2f2;
}

.track-panel__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 0.85rem;
  margin-bottom: 0.75rem;
}

.track-panel__label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--muted);
}

.track-panel__status {
  font-size: 1.15rem;
  color: var(--gold-ink, #3d2e12);
}

.track-panel__badge {
  display: inline-block;
  margin-bottom: 0.65rem;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.06);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.track-panel p {
  margin: 0 0 0.75rem;
  color: var(--muted);
  line-height: 1.6;
}

.track-panel__note {
  color: #9a3412 !important;
}

.track-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0.85rem 0 1rem;
}

.track-panel__support {
  margin-top: 0.85rem !important;
  margin-bottom: 0 !important;
  font-size: 0.92rem;
}

.track-applicants {
  margin-top: 1rem;
}

.track-applicants > h4 {
  margin: 0 0 0.65rem;
  font-size: 1rem;
  color: var(--gold-ink, #3d2e12);
}

.track-applicant {
  padding: 0.85rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.track-applicant:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.track-kv {
  display: grid;
  grid-template-columns: 9.5rem minmax(0, 1fr);
  gap: 0.35rem 0.75rem;
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
}

.track-kv span {
  color: var(--muted);
}

.track-kv strong {
  color: var(--gov-ink, #1a1a1a);
  word-break: break-word;
}

.track-download {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  margin-top: 0.65rem;
}

.track-download small {
  color: var(--muted);
}

@media (max-width: 900px) {
  .track-layout {
    grid-template-columns: 1fr;
  }

  .track-kv {
    grid-template-columns: 1fr;
    gap: 0.1rem;
  }
}

/* Ports of entry page */
.portlist-page .port-section {
  margin-bottom: 1.35rem;
}

.portlist-page .port-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.port-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.05rem 1.15rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  box-shadow: 0 1px 0 rgba(26, 26, 26, 0.03);
}

.port-card--entry {
  border-left: 3px solid #1e7a34;
}

.port-card--exit-only {
  border-left: 3px solid #b42318;
}

.port-card__head {
  display: flex;
  justify-content: space-between;
  gap: 0.85rem;
  align-items: flex-start;
}

.port-card__name {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  line-height: 1.35;
  color: var(--gold-ink);
}

.port-card__meta {
  margin: 0;
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.4;
}

.port-card__sep {
  margin: 0 0.2rem;
  opacity: 0.55;
}

.port-card__code {
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.port-card__status {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex-shrink: 0;
  min-width: 5.5rem;
}

.port-card__status-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
  font-size: 0.78rem;
}

.port-card__status-label {
  color: var(--muted);
  font-weight: 600;
}

.port-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.35rem;
  padding: 0.12rem 0.45rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.3;
}

.port-badge--yes {
  background: #e8f6ec;
  color: #1e7a34;
  border: 1px solid #b7dfc2;
}

.port-badge--no {
  background: #fdf2f1;
  color: #b42318;
  border: 1px solid #f0c2bd;
}

.port-card__note {
  margin: 0;
  padding: 0.55rem 0.7rem;
  background: #fff8e8;
  border: 1px solid #edd9a8;
  border-radius: 6px;
  color: #6a4e12;
  font-size: 0.88rem;
  line-height: 1.45;
}

.port-card__body {
  margin-top: 0.1rem;
}

.port-card__route-label {
  margin: 0 0 0.3rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold-ink);
}

.port-card__route {
  margin: 0 0 0.45rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.port-card__connects {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink);
  line-height: 1.45;
}

.port-card__foot {
  margin-top: auto;
  padding-top: 0.15rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.1rem;
}

.port-card__name a {
  color: inherit;
  text-decoration: none;
}

.port-card__name a:hover {
  text-decoration: underline;
}

.port-card__guide {
  display: inline-flex;
  align-items: center;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
}

.port-card__guide:hover {
  text-decoration: underline;
}

.port-card__map {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
}

.port-card__map::before {
  content: "";
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50% 50% 50% 0;
  background: var(--gold-ink);
  transform: rotate(-45deg);
  flex-shrink: 0;
}

.port-card__map:hover {
  text-decoration: underline;
}

.port-legend-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.75rem;
  margin-top: 0.85rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.port-highlight .port-alert {
  margin: 0.85rem 0 0;
  padding: 0.7rem 0.85rem;
  background: #fff8e8;
  border: 1px solid #edd9a8;
  border-radius: 6px;
  color: #6a4e12;
  line-height: 1.5;
}

.port-table-wrap {
  margin-top: 0.35rem;
}

.port-status-table th[scope="row"] {
  font-weight: 600;
}

.port-table-note {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: #6a4e12;
}

/* Keep legend + port grids two-column on mobile */
.portlist-page .photo-req-specs {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.portlist-page .port-table-wrap {
  overflow-x: visible;
}

.portlist-page .port-status-table {
  min-width: 0;
  width: 100%;
  table-layout: fixed;
}

.portlist-page .port-status-table th,
.portlist-page .port-status-table td {
  word-break: break-word;
}

.portlist-page .port-status-table thead th:nth-child(1),
.portlist-page .port-status-table tbody th[scope="row"] {
  width: 46%;
}

.portlist-page .port-status-table thead th:nth-child(2),
.portlist-page .port-status-table tbody td:nth-child(2) {
  width: 22%;
}

.portlist-page .port-status-table thead th:nth-child(3),
.portlist-page .port-status-table thead th:nth-child(4),
.portlist-page .port-status-table tbody td:nth-child(3),
.portlist-page .port-status-table tbody td:nth-child(4) {
  width: 16%;
  text-align: center;
}

@media (max-width: 767.98px) {
  .portlist-page .photo-req-specs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }

  .portlist-page .photo-req-specs__item {
    padding: 0.6rem 0.65rem;
  }

  .portlist-page .photo-req-specs dt {
    font-size: 0.66rem;
  }

  .portlist-page .photo-req-specs dd {
    font-size: 0.8rem;
  }

  .portlist-page .port-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }

  .portlist-page .port-card {
    padding: 0.7rem 0.7rem 0.75rem;
    gap: 0.45rem;
  }

  .portlist-page .port-card__head {
    flex-direction: column;
    gap: 0.4rem;
  }

  .portlist-page .port-card__name {
    font-size: 0.88rem;
    margin-bottom: 0.15rem;
  }

  .portlist-page .port-card__meta {
    font-size: 0.72rem;
  }

  .portlist-page .port-card__status {
    flex-direction: row;
    width: 100%;
    min-width: 0;
    gap: 0.35rem;
  }

  .portlist-page .port-card__status-item {
    flex: 1;
    justify-content: flex-start;
    font-size: 0.7rem;
  }

  .portlist-page .port-badge {
    min-width: 2rem;
    padding: 0.08rem 0.35rem;
    font-size: 0.68rem;
  }

  .portlist-page .port-card__note {
    padding: 0.4rem 0.5rem;
    font-size: 0.74rem;
  }

  .portlist-page .port-card__route-label {
    font-size: 0.66rem;
    margin-bottom: 0.2rem;
  }

  .portlist-page .port-card__route {
    font-size: 0.76rem;
    margin-bottom: 0.3rem;
    line-height: 1.4;
  }

  .portlist-page .port-card__connects {
    font-size: 0.74rem;
  }

  .portlist-page .port-card__map {
    font-size: 0.76rem;
  }

  .portlist-page .port-table-wrap {
    overflow-x: visible;
  }

  .portlist-page .port-status-table {
    min-width: 0;
    font-size: 0.72rem;
  }

  .portlist-page .port-status-table th,
  .portlist-page .port-status-table td {
    padding: 0.4rem 0.3rem;
    line-height: 1.3;
  }

  .portlist-page .port-table-note {
    font-size: 0.68rem;
  }

  .portlist-page .port-status-table thead th:nth-child(1),
  .portlist-page .port-status-table tbody th[scope="row"] {
    width: 42%;
  }

  .portlist-page .port-status-table thead th:nth-child(2),
  .portlist-page .port-status-table tbody td:nth-child(2) {
    width: 22%;
  }

  .portlist-page .port-status-table thead th:nth-child(3),
  .portlist-page .port-status-table thead th:nth-child(4),
  .portlist-page .port-status-table tbody td:nth-child(3),
  .portlist-page .port-status-table tbody td:nth-child(4) {
    width: 18%;
  }
}

/* Airport / port detail guides */
.port-detail-page .port-detail-badges {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem 0.65rem;
  margin: 0.85rem 0 1rem;
}

.port-detail-badge {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  padding: 0.35rem 0.55rem;
  background: #f7f5f0;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 0.88rem;
  min-width: 0;
}

.port-detail-badge__label {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.port-detail-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.7rem;
  padding-top: 0.35rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

.port-detail-toc a {
  font-weight: 600;
  text-decoration: none;
}

.port-detail-toc a:hover {
  text-decoration: underline;
}

.port-detail-map-row {
  margin: 1rem 0 0;
}

.port-detail-note {
  margin: 1rem 0 0;
  padding: 0.7rem 0.85rem;
  background: #f7f5f0;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  line-height: 1.5;
}

/* Desktop / tablet: prefer 3 service cards per row when space allows */
.port-facility-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 0.35rem;
}

.port-facility-card {
  padding: 0.85rem 0.95rem;
  background: #faf9f6;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-width: 0;
}

.port-facility-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  color: var(--gold-ink);
  line-height: 1.3;
}

.port-facility-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Keep fact grids multi-column on port detail + tourist guide pages */
.port-detail-page .photo-req-specs,
.tourist-guide-page .photo-req-specs {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tourist-guide-page .port-facility-card a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

/* Public holidays page */
.holidays-page .holiday-type {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold-ink);
}

.holidays-page .holiday-travel {
  margin: 0.55rem 0 0;
  padding-top: 0.45rem;
  border-top: 1px dashed var(--line);
  font-size: 0.86rem;
}

.holidays-page .holidays-table th[scope="row"] {
  white-space: nowrap;
  font-weight: 600;
}

.holidays-page .holidays-info-grid .port-facility-card h3 {
  font-size: 0.95rem;
}

@media (max-width: 767.98px) {
  .holidays-page .holidays-table th,
  .holidays-page .holidays-table td {
    font-size: 0.78rem;
    padding: 0.45rem 0.35rem;
    line-height: 1.3;
  }

  .holidays-page .holidays-table th[scope="row"] {
    white-space: normal;
    width: 28%;
  }

  .holidays-page .holiday-travel {
    font-size: 0.76rem;
  }
}

/* Embassy directory */
.embassy-search-label {
  display: block;
  margin: 0 0 0.35rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
}

.embassy-search-input {
  width: 100%;
  max-width: 28rem;
  margin: 0 0 0.9rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.4;
}

.embassy-search-input:focus {
  outline: 2px solid var(--gold-ink);
  outline-offset: 1px;
  border-color: var(--gold-ink);
}

.embassy-empty-msg {
  margin: 0.5rem 0 1rem;
  padding: 0.75rem 0.9rem;
  border: 1px dashed var(--line);
  border-radius: 6px;
  background: #faf9f6;
  color: var(--muted);
  font-size: 0.92rem;
}

.embassy-map-wrap {
  margin: 0 0 1.25rem;
}

.embassy-map-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.65rem;
}

.embassy-map-toolbar__label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 0.15rem;
}

.embassy-map-zoom-btn,
.embassy-show-map-btn {
  border: 1px solid var(--line);
  background: #f7f5f0;
  color: var(--ink);
  border-radius: 6px;
  padding: 0.32rem 0.65rem;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  line-height: 1.3;
}

.embassy-map-zoom-btn:hover,
.embassy-show-map-btn:hover {
  background: var(--gold-ink);
  border-color: var(--gold-ink);
  color: #fff;
}

.embassy-map {
  width: 100%;
  height: 420px;
  border: 1px solid var(--line);
  border-radius: 8px;
  z-index: 1;
  background: #e8e6e1;
}

.embassy-map-note {
  margin: 0.55rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
}

.embassy-card__map-link {
  margin: 0.7rem 0 0;
}

.embassy-map .leaflet-popup-content {
  font-size: 0.86rem;
  line-height: 1.45;
  margin: 0.65rem 0.75rem;
}

.embassy-map .leaflet-popup-content a {
  font-weight: 600;
}

@media (max-width: 767.98px) {
  .embassy-map {
    height: 320px;
  }
}

.embassy-region-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.35rem 0 1.15rem;
}

.embassy-region-btn {
  border: 1px solid var(--line);
  background: #f7f5f0;
  color: var(--ink);
  border-radius: 6px;
  padding: 0.4rem 0.7rem;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  line-height: 1.3;
}

.embassy-region-btn.is-active,
.embassy-region-btn:hover {
  background: var(--gold-ink);
  border-color: var(--gold-ink);
  color: #fff;
}

.embassy-region-title {
  margin: 0 0 0.75rem;
  font-size: 1.2rem;
  color: var(--gold-ink);
}

.embassy-region-block {
  margin-bottom: 1.35rem;
}

.embassy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.embassy-card {
  background: #faf9f6;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.95rem 1rem;
  min-width: 0;
}

.embassy-card__city {
  margin: 0 0 0.25rem;
  font-size: 1.02rem;
  color: var(--gold-ink);
  line-height: 1.3;
}

.embassy-card__type {
  margin: 0 0 0.7rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}

.embassy-card__meta {
  margin: 0;
  display: grid;
  gap: 0.55rem;
}

.embassy-card__meta dt {
  margin: 0 0 0.15rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.embassy-card__meta dd {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink);
  line-height: 1.45;
}

.embassy-card__meta a {
  font-weight: 600;
  text-decoration: none;
}

.embassy-card__meta a:hover {
  text-decoration: underline;
}

@media (min-width: 992px) {
  .embassy-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .embassy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }

  .embassy-card {
    padding: 0.7rem 0.75rem;
  }

  .embassy-card__city {
    font-size: 0.9rem;
  }

  .embassy-card__type {
    font-size: 0.72rem;
    margin-bottom: 0.5rem;
  }

  .embassy-card__meta dd {
    font-size: 0.78rem;
  }

  .embassy-region-btn {
    font-size: 0.78rem;
    padding: 0.35rem 0.55rem;
  }
}

@media (max-width: 359.98px) {
  .embassy-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991.98px) {
  .port-facility-grid,
  .port-detail-page .photo-req-specs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .port-detail-page .port-detail-badges {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  /* Mobile: keep 2-up layouts (not single column) wherever they still fit */
  .port-facility-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
  }

  .port-facility-card {
    padding: 0.6rem 0.65rem;
  }

  .port-facility-card h3 {
    margin-bottom: 0.3rem;
    font-size: 0.86rem;
  }

  .port-facility-card p {
    font-size: 0.76rem;
    line-height: 1.4;
  }

  .port-detail-page .photo-req-specs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
  }

  .port-detail-page .photo-req-specs__item {
    padding: 0.55rem 0.6rem;
  }

  .port-detail-page .photo-req-specs dt {
    font-size: 0.64rem;
  }

  .port-detail-page .photo-req-specs dd {
    font-size: 0.8rem;
    line-height: 1.35;
  }

  .port-detail-page .port-detail-badges {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.4rem;
  }

  .port-detail-badge {
    font-size: 0.8rem;
    padding: 0.3rem 0.45rem;
  }

  .port-detail-badge__label {
    font-size: 0.64rem;
  }

  .port-detail-toc {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.35rem 0.45rem;
    font-size: 0.8rem;
  }

  .port-detail-toc a {
    text-align: center;
    padding: 0.28rem 0.2rem;
    background: #f7f5f0;
    border: 1px solid var(--line);
    border-radius: 5px;
  }

  .port-detail-page .eligible-popular {
    columns: 2;
    column-gap: 0.85rem;
  }

  .port-detail-page .eligible-popular li {
    break-inside: avoid;
    margin-bottom: 0.4rem;
    font-size: 0.88rem;
  }

  .port-detail-page .eligible-cta.cta-row {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.45rem;
  }

  .port-detail-page .eligible-cta.cta-row .btn {
    flex: 1 1 calc(50% - 0.25rem);
    min-width: 0;
    font-size: 0.82rem;
    padding: 0.55rem 0.5rem;
  }

  .port-detail-page .eligible-cta--triple.cta-row .btn {
    flex: 1 1 calc(33.333% - 0.35rem);
  }
}

/* Only collapse to 1 column on very narrow phones */
@media (max-width: 359.98px) {
  .port-facility-grid,
  .port-detail-page .photo-req-specs,
  .port-detail-page .port-detail-badges,
  .port-detail-toc {
    grid-template-columns: 1fr;
  }

  .port-detail-page .eligible-popular {
    columns: 1;
  }

  .port-detail-page .eligible-cta--triple.cta-row .btn {
    flex: 1 1 100%;
  }
}

/* Legal / policy pages */
.legal-page {
  padding-bottom: 2rem;
}

.legal-page .photo-req-card ul {
  margin: 0 0 0.85rem;
  padding-left: 1.2rem;
  color: var(--muted);
}

.legal-page .photo-req-card li {
  margin-bottom: 0.35rem;
  line-height: 1.55;
}

.external-link-list {
  margin: 0;
  padding-left: 1.2rem;
}

.external-link-list li {
  margin-bottom: 0.65rem;
  color: var(--muted);
  line-height: 1.55;
}

.external-link-list a {
  font-weight: 600;
  color: var(--gold-ink);
  text-decoration: none;
}

.external-link-list a:hover {
  color: var(--text-red);
  text-decoration: underline;
}

/* Case study page */
.case-disclaimer {
  margin-top: 0.85rem;
  padding: 0.75rem 0.9rem;
  background: #f7f5f0;
  border-left: 4px solid var(--gold);
  border-radius: 0 6px 6px 0;
  font-size: 0.92rem;
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.case-tag {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  background: #f0f4f7;
  color: var(--gold-ink);
}

.case-tag--tourist {
  background: #e8f4fc;
  color: #0b5f8a;
}

.case-tag--business {
  background: #eef8e8;
  color: #2f6b1a;
}

.case-tag--family {
  background: #fceef5;
  color: #8a2458;
}

.case-card h3 {
  margin: 1rem 0 0.4rem;
  font-size: 1.05rem;
  color: var(--gold-ink);
  border-bottom: none;
  padding-bottom: 0;
}

.case-highlight {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  background: #f8f9fa;
  border-left: 4px solid var(--gold-ink);
  border-radius: 0 6px 6px 0;
  font-style: italic;
  color: var(--muted);
  line-height: 1.55;
}

/* Country nationality visa guides */
.country-visa-page .country-hero-figure {
  margin: 0 0 1rem;
  text-align: center;
}

.country-visa-page .country-hero-figure img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

.country-visa-page .country-hero-figure figcaption,
.country-visa-page .country-inline-figure figcaption {
  margin-top: 0.45rem;
  font-size: 0.86rem;
  color: var(--muted);
}

.country-inline-figure {
  margin: 1rem 0 0.25rem;
  text-align: center;
}

.country-inline-figure img {
  max-width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.country-toc__list {
  margin: 0;
  padding-left: 1.2rem;
  columns: 2;
  column-gap: 1.5rem;
}

.country-toc__list li {
  margin-bottom: 0.35rem;
  break-inside: avoid;
}

.country-toc__list a {
  font-weight: 600;
  text-decoration: none;
}

.country-toc__list a:hover {
  text-decoration: underline;
  color: var(--text-red);
}

.country-summary-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin: 0.5rem 0 0;
}

.country-summary-table th,
.country-summary-table td {
  border: 1px solid var(--line);
  padding: 0.65rem 0.75rem;
  text-align: left;
  vertical-align: top;
}

.country-summary-table thead th {
  background: #f7f5f0;
  color: var(--gold-ink);
  font-weight: 700;
}

.country-summary-table tbody th {
  font-weight: 600;
  color: var(--ink);
  background: #fcfcfc;
}

.country-list a {
  font-weight: 600;
  text-decoration: none;
}

.country-list a:hover {
  color: var(--text-red);
  text-decoration: underline;
}

@media (max-width: 767.98px) {
  .country-toc__list {
    columns: 2;
    column-gap: 0.85rem;
    padding-left: 1rem;
    font-size: 0.88rem;
  }

  .country-visa-page .eligible-popular,
  .country-visa-page #tips > ul,
  .country-visa-page #ports > ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem 0.65rem;
  }

  .country-visa-page .eligible-popular li,
  .country-visa-page #tips > ul li,
  .country-visa-page #ports > ul li {
    margin: 0;
    padding: 0.45rem 0.55rem;
    background: #f7fafc;
    border: 1px solid var(--line);
    border-radius: 6px;
    font-size: 0.84rem;
    line-height: 1.4;
  }

  .country-summary-table {
    font-size: 0.78rem;
  }

  .country-summary-table th,
  .country-summary-table td {
    padding: 0.45rem 0.4rem;
  }

  .country-visa-page .eligible-steps {
    padding-left: 1.05rem;
    font-size: 0.9rem;
  }

  .country-visa-page .case-tags,
  .country-visa-page .cta-row.eligible-cta {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (max-width: 380px) {
  .country-toc__list {
    font-size: 0.78rem;
  }

  .cta-row.eligible-cta.eligible-cta--triple .btn {
    font-size: 0.68rem;
    padding: 0.45rem 0.25rem;
  }
}

.hero-banner .page-lead--sub {
  margin-top: 0.35rem;
  font-size: 0.95rem;
  opacity: 0.92;
}

/* Contact page */
.contact-page {
  padding-bottom: 2.5rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.85fr);
  gap: 1.5rem;
  align-items: start;
}

.contact-layout__main,
.contact-layout__aside {
  min-width: 0;
}

.contact-form-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.contact-form-box h2 {
  margin: 0 0 0.25rem;
  font-size: 1.2rem;
  color: var(--gold-ink);
}

.contact-form-box__intro {
  color: var(--muted);
  margin: 0 0 1.1rem;
  font-size: 0.9rem;
}

.contact-form__group {
  display: block;
  margin-bottom: 1rem;
  width: 100%;
}

.contact-form__label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
  font-size: 0.88rem;
  color: var(--gold-ink);
}

.contact-form__input,
.contact-form__select {
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 0.6rem 0.75rem;
  font-size: 0.92rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
}

.contact-form__input:focus,
.contact-form__select:focus {
  outline: 2px solid var(--gold-ink);
  outline-offset: 1px;
  border-color: var(--gold-ink);
}

.contact-form__textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-req {
  color: #c0392b;
  font-weight: 700;
}

.contact-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-form__actions {
  margin-top: 0.5rem;
}

.contact-honeypot {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.contact-notice {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 1rem;
  padding: 0.75rem 0.9rem;
  border-radius: 6px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold-ink);
  background: #f7fafc;
  font-size: 0.9rem;
  line-height: 1.5;
}

.contact-notice--success {
  border-left-color: #27ae60;
}

.contact-notice--error {
  border-left-color: #c0392b;
}

.contact-notice p {
  margin: 0;
}

.contact-captcha__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.contact-captcha__image {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f8fafb;
}

.contact-captcha__input {
  max-width: 160px;
}

.contact-captcha__hint {
  margin: 0.5rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.contact-aside {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.25rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.contact-aside__title {
  margin: 0 0 0.85rem;
  font-size: 1.1rem;
  color: var(--gold-ink);
  font-weight: 700;
}

.contact-aside__links {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}

.contact-aside__links li + li {
  margin-top: 0.5rem;
}

.contact-aside__links a {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.2s, background 0.2s;
}

.contact-aside__links a:hover {
  border-color: var(--gold);
  background: #fafbfc;
}

.contact-aside__item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.contact-aside__links strong,
.contact-aside__item strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.15rem;
  color: var(--gold-ink);
}

.contact-aside__links small,
.contact-aside__item small {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
}

.contact-aside__email {
  display: block;
  height: 1.1rem;
  width: auto;
  max-width: 100%;
  margin-top: 0.35rem;
  object-fit: contain;
  object-position: left center;
}

.contact-aside__note {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--muted);
}

.contact-aside__note a {
  color: var(--gold-ink);
  font-weight: 600;
}

@media (max-width: 767.98px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-form__grid {
    grid-template-columns: 1fr;
  }
}
