/* Visa guide: a focused reading column with a compact contents rail. */
.visa-page-container { max-width: 80rem; min-width: 0; margin-inline: auto; padding: clamp(1.25rem, 4vw, 3rem) clamp(1rem, 4vw, 2rem); }
.visa-guide { color: var(--text); width: 100%; min-width: 0; max-width: 64rem; margin-inline: auto; font-family: inherit; line-height: 1.65; overflow-wrap: anywhere; }
.visa-guide * { box-sizing: border-box; }
.visa-guide h1, .visa-guide h2, .visa-guide h3 { color: var(--deep); font-family: 'Playfair Display', serif; }
.visa-guide a { color: #005b69; text-decoration: underline; text-underline-offset: .2em; overflow-wrap: anywhere; }
.visa-guide a:focus-visible, .visa-guide [tabindex]:focus-visible { outline: 3px solid #006d88; outline-offset: 4px; border-radius: 2px; }
.visa-guide .visa-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(14rem, .85fr);
  column-gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  margin-bottom: 2.25rem;
  padding: clamp(1.5rem, 4vw, 2.75rem);
  border-radius: .75rem;
  background: linear-gradient(125deg, #182d39, #244a51);
  box-shadow: 0 12px 30px rgba(19, 43, 53, .09);
}
.visa-guide .visa-intro h1 { grid-column: 1; color: #fff; font-size: clamp(2rem, 4vw, 3.05rem); line-height: 1.12; max-width: 19ch; margin: 0 0 1rem; }
.visa-guide .visa-lead { grid-column: 1; color: #f0f6f4; font-size: clamp(1rem, 1.45vw, 1.15rem); line-height: 1.55; margin: 0 0 1.1rem; }
.visa-guide .visa-review { grid-column: 1; color: #c9ddd9; font-size: .86rem; margin: 0; }
.visa-guide .visa-scope { grid-column: 2; grid-row: 1 / span 3; color: #f3f8f5; font-size: .96rem; line-height: 1.6; margin: 0; padding: 1.15rem 1.3rem; border-inline-start: 3px solid #e2ac76; background: rgba(255, 255, 255, .08); border-radius: 0 .4rem .4rem 0; }
.visa-guide .visa-intro a { color: #fff; }
.visa-guide .visa-content-grid { display: grid; grid-template-columns: 14rem minmax(0, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; }
.visa-guide .visa-toc { position: sticky; top: 5.25rem; align-self: start; max-height: calc(100vh - 6.25rem); overflow-y: auto; background: #fff; border: 1px solid var(--border); border-radius: .65rem; padding: .85rem 1rem .5rem; }
.visa-guide .visa-toc-title { color: var(--deep); font-size: .78rem; font-weight: 700; letter-spacing: .075em; line-height: 1.3; text-transform: uppercase; margin: .2rem 0 .6rem; }
.visa-guide .visa-toc ul { counter-reset: visa-section; list-style: none; padding: 0; margin: 0; }
.visa-guide .visa-toc li { counter-increment: visa-section; display: grid; grid-template-columns: 1.55rem minmax(0, 1fr); gap: .15rem; align-items: start; border-top: 1px solid #e9eeec; margin: 0; }
.visa-guide .visa-toc li::before { content: counter(visa-section, decimal-leading-zero); color: #5c7778; font-size: .72rem; font-weight: 700; line-height: 1.4; padding-top: .65rem; }
.visa-guide .visa-toc a { display: flex; align-items: center; min-height: 44px; color: var(--deep); font-size: .88rem; line-height: 1.4; text-decoration: none; padding-block: .5rem; }
.visa-guide .visa-toc a:hover { text-decoration: underline; }
.visa-guide .visa-article-body { min-width: 0; }
.visa-guide .visa-article-body > section { padding: 1.65rem 0 1.9rem; border-top: 1px solid var(--border); }
.visa-guide .visa-article-body > section:first-child { padding-top: 0; border-top: 0; }
.visa-guide .visa-article-body > section:last-child { padding-bottom: 0; }
.visa-guide section[id], .visa-guide h2[id] { scroll-margin-top: var(--visa-anchor-offset, 6rem); }
.visa-guide h2 { font-size: clamp(1.45rem, 2.5vw, 1.8rem); line-height: 1.25; margin: 0 0 .85rem; }
.visa-guide h3 { font-size: 1.12rem; line-height: 1.4; margin: 0 0 .4rem; }
.visa-guide .visa-article-body p { margin: 0 0 .9rem; }
.visa-guide .visa-article-body ul, .visa-guide .visa-article-body ol { padding-inline-start: 1.4rem; margin: .6rem 0 1rem; }
.visa-guide .visa-article-body ul { list-style: disc; }
.visa-guide .visa-article-body ol { list-style: decimal; }
.visa-guide .visa-article-body li { margin: .35rem 0; }
.visa-guide .visa-table-wrap { overflow-x: auto; max-width: 100%; overscroll-behavior-x: contain; border: 1px solid #cbdcd8; border-radius: .55rem; background: #fff; margin: 1.1rem 0; }
.visa-guide table { border-collapse: collapse; width: 100%; min-width: 45rem; font-size: .93rem; line-height: 1.5; table-layout: fixed; }
.visa-guide caption { color: var(--deep); text-align: start; padding: .85rem 1rem; font-weight: 700; background: #edf3f0; }
.visa-guide th, .visa-guide td { text-align: start; padding: .85rem .8rem; vertical-align: top; overflow-wrap: anywhere; border-bottom: 1px solid #e1e9e6; }
.visa-guide thead th { color: var(--deep); background: #f5f8f6; }
.visa-guide tbody th { color: var(--deep); background: #f9fbfa; width: 20%; }
.visa-guide tbody tr:last-child > * { border-bottom: 0; }
.visa-guide .visa-table-hint { color: #405860; font-size: .9rem; }
.visa-guide .visa-question { padding: 1rem 1.15rem; margin: .7rem 0; background: #fff; border: 1px solid var(--border); border-radius: .5rem; }
.visa-guide .visa-question p:last-child { margin-bottom: 0; }
.visa-guide #official-sources ul { columns: 2; column-gap: 2rem; font-size: .93rem; }
.visa-guide #official-sources li { break-inside: avoid; }
.visa-guide #next-step ul { list-style: none; padding: 0; }
.visa-guide #next-step li { border-top: 1px solid var(--border); margin: 0; }
.visa-guide #next-step a { display: flex; align-items: center; min-height: 44px; padding-block: .55rem; }
.visa-page-container > .editorial-responsibility, .visa-page-container > .share-bar { max-width: 64rem; margin-inline: auto; }
@media (min-width: 52rem) {
  .visa-guide .visa-table-hint { display: none; }
}
@media (max-width: 62rem) {
  .visa-guide .visa-content-grid { display: block; }
  .visa-guide .visa-toc { position: static; max-height: none; overflow: visible; margin-bottom: 2rem; padding: 1rem 1.2rem; }
  .visa-guide .visa-toc ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.5rem; }
}
@media (max-width: 46rem) {
  .visa-guide .visa-intro { display: block; margin-bottom: 1.5rem; }
  .visa-guide .visa-intro h1 { max-width: none; }
  .visa-guide .visa-scope { margin-top: 1.2rem; }
  .visa-guide .visa-article-body > section { padding-block: 1.3rem 1.5rem; }
  .visa-guide #official-sources ul { columns: 1; }
}
@media (max-width: 38rem) {
  /* Keep the shared brand and menu within the viewport at 200% text size. */
  #site-nav .nav-inner { gap: .5rem; padding-inline: .75rem; }
  #site-nav .nav-logo { font-size: min(1.3rem, 24px); }
  .visa-guide .visa-toc ul { grid-template-columns: 1fr; }
  .visa-guide .visa-toc { padding: .75rem 1rem; }
  .visa-guide .visa-intro { padding: 1.5rem 1.25rem; }
  .visa-guide .visa-intro h1 { font-size: clamp(1.75rem, 7.6vw, 2.1rem); }
  .visa-guide table { min-width: 42rem; }
  .visa-guide th, .visa-guide td { padding: .75rem; }
}
@media print {
  .visa-guide .visa-intro { background: none; box-shadow: none; padding: 0; }
  .visa-guide .visa-intro h1, .visa-guide .visa-lead, .visa-guide .visa-review, .visa-guide .visa-scope { color: #111; }
  .visa-guide .visa-scope { border-color: #666; }
  .visa-guide .visa-content-grid { display: block; }
  .visa-guide .visa-toc, .visa-guide .visa-table-hint { display: none; }
  .visa-guide .visa-table-wrap { overflow: visible; }
  .visa-guide table { min-width: 0; font-size: 9pt; }
  .visa-guide section, .visa-guide tr { break-inside: avoid; }
  .visa-guide h2, .visa-guide h3 { break-after: avoid; }
}
