/* Visa & entry — ThailandLover guide (page-specific) */

.tl-main.tl-main--visa {
  padding: 0;
  background: #f4f1ea;
}

.tl-visa {
  --v-navy: #0d2e4d;
  --v-ink: #212121;
  --v-muted: #5c6570;
  --v-lime: #cee253;
  --v-line: rgba(13, 46, 77, 0.12);
  color: var(--v-ink);
  font-family: "Bricolage Grotesque", sans-serif;
}

.tl-visa__wrap {
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
}

.tl-visa-hero.tl-hero {
  --v-navy: #0d2e4d;
  --v-lime: #cee253;
  padding: 28px 0 56px;
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(206, 226, 83, 0.16), transparent 55%),
    #0d2e4d;
}

.tl-visa-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.8fr);
  gap: 36px 48px;
  align-items: end;
}

.tl-visa-hero__eyebrow {
  margin: 0 0 8px;
  color: var(--v-lime);
  font-family: Caveat, "Segoe Script", cursive;
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 600;
  line-height: 1;
}

.tl-visa-hero h1 {
  max-width: 12ch;
  margin: 0 0 14px;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: clamp(42px, 5.4vw, 68px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 0.96;
}

.tl-visa-hero__lead {
  max-width: 38em;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.65;
}

.tl-visa-stats {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tl-visa-stats li {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 14px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.tl-visa-stats strong {
  color: var(--v-lime);
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: 40px;
  font-weight: 600;
  line-height: 0.9;
}

.tl-visa-stats strong span {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.72);
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tl-visa-stats p {
  margin: 0;
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
}

.tl-visa-jump {
  position: sticky;
  top: 72px;
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--v-line);
  backdrop-filter: blur(10px);
}

.tl-visa-jump__list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin: 0;
  padding: 12px 0;
  list-style: none;
}

.tl-visa-jump a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--v-navy);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}

.tl-visa-jump a:hover {
  background: rgba(13, 46, 77, 0.06);
}

.tl-visa-jump em {
  color: var(--v-muted);
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.tl-visa section[id] {
  scroll-margin-top: 132px;
}

.tl-visa-intro {
  padding: 56px 0 8px;
}

.tl-visa-intro p {
  max-width: 42em;
  margin: 0;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.7;
}

.tl-visa-kicker {
  margin: 0 0 10px;
  color: var(--v-navy);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.tl-visa-head {
  max-width: 40em;
  margin-bottom: 28px;
}

.tl-visa-head h2 {
  margin: 0 0 10px;
  color: var(--v-navy);
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.tl-visa-head p {
  margin: 0;
  color: var(--v-muted);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
}

.tl-visa-exempt {
  padding: 48px 0 20px;
}

.tl-visa-exempt__panel {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 28px 40px;
  padding: 32px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 10px 36px rgba(13, 46, 77, 0.06);
}

.tl-visa-exempt__mark {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  padding: 22px 20px;
  border-radius: 18px;
  background: var(--v-navy);
  color: #fff;
}

.tl-visa-exempt__mark b {
  display: block;
  color: var(--v-lime);
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: 84px;
  font-weight: 600;
  line-height: 0.8;
}

.tl-visa-exempt__mark span {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
}

.tl-visa-exempt__tag {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 18px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(206, 226, 83, 0.18);
  color: var(--v-lime);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tl-visa-facts {
  display: grid;
  gap: 0;
  margin: 0;
}

.tl-visa-facts div {
  padding: 14px 0;
  border-top: 1px solid var(--v-line);
}

.tl-visa-facts div:first-child {
  padding-top: 0;
  border-top: 0;
}

.tl-visa-facts dt {
  margin: 0 0 4px;
  color: var(--v-navy);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tl-visa-facts dd {
  margin: 0;
  color: var(--v-ink);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
}

.tl-visa-passports {
  padding: 28px 0 12px;
}

.tl-visa-notes {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 14px;
}

.tl-visa-note {
  padding: 22px;
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--v-line);
}

.tl-visa-note h3 {
  margin: 0 0 8px;
  color: var(--v-navy);
  font-size: 18px;
  font-weight: 500;
}

.tl-visa-note p {
  margin: 0;
  color: var(--v-muted);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.65;
}

.tl-visa-types {
  padding: 56px 0 20px;
}

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

.tl-visa-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  grid-column: span 2;
  padding: 22px;
  background: #fff;
  border: 1px solid transparent;
  border-radius: 20px;
  box-shadow: 0 8px 28px rgba(13, 46, 77, 0.05);
}

.tl-visa-card--lead {
  grid-column: span 3;
  background:
    linear-gradient(180deg, rgba(206, 226, 83, 0.18), rgba(206, 226, 83, 0) 42%),
    #fff;
}

.tl-visa-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.tl-visa-card__code {
  color: var(--v-navy);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tl-visa-card__stay {
  color: var(--v-navy);
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: 28px;
  font-weight: 600;
  line-height: 1;
  text-align: right;
}

.tl-visa-card h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
}

.tl-visa-card p {
  margin: 0;
  color: var(--v-muted);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.65;
}

.tl-visa-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.tl-visa-card li {
  position: relative;
  padding: 8px 0 8px 14px;
  border-top: 1px solid var(--v-line);
  color: var(--v-ink);
  font-size: 14px;
  line-height: 1.5;
}

.tl-visa-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--v-lime);
  box-shadow: inset 0 0 0 1px var(--v-navy);
}

.tl-visa-card a {
  color: var(--v-navy);
  font-weight: 500;
}

.tl-visa-check {
  padding: 48px 0 24px;
}

.tl-visa-check__panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(240px, 0.7fr);
  gap: 28px 48px;
  padding: 36px;
  border-radius: 24px;
  background: var(--v-navy);
  color: #fff;
}

.tl-visa-check .tl-visa-kicker {
  color: var(--v-lime);
}

.tl-visa-check h2 {
  margin: 0 0 12px;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 600;
  line-height: 1.05;
}

.tl-visa-check__panel > div > p {
  margin: 0;
  max-width: 40em;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
}

.tl-visa-check ol {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: visa-step;
}

.tl-visa-check li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.55;
}

.tl-visa-check li::before {
  counter-increment: visa-step;
  content: counter(visa-step);
  color: var(--v-lime);
  font-weight: 600;
}

.tl-visa-sources {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-self: end;
}

.tl-visa-sources a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  color: #fff;
  text-decoration: none;
}

.tl-visa-sources a:hover {
  border-color: var(--v-lime);
  color: var(--v-lime);
}

.tl-visa-sources small {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
}

.tl-visa-faq {
  padding: 48px 0 16px;
}

.tl-visa-faq__list {
  display: grid;
  gap: 12px;
}

.tl-visa-faq details {
  padding: 18px 22px;
  background: #fff;
  border-radius: 16px;
}

.tl-visa-faq summary {
  cursor: pointer;
  color: var(--v-navy);
  font-size: 17px;
  font-weight: 500;
}

.tl-visa-faq details p {
  margin: 12px 0 0;
  color: var(--v-muted);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
}

.tl-visa-disclaimer {
  margin: 8px 0 0;
  padding-bottom: 56px;
  color: var(--v-muted);
  font-size: 13px;
  line-height: 1.6;
}

.tl-visa-more {
  padding: 8px 0 72px;
}

.tl-visa-more h2 {
  margin: 0 0 4px;
  color: var(--v-navy);
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: 36px;
  font-weight: 600;
}

.tl-visa a:focus-visible {
  outline: 2px solid var(--v-navy);
  outline-offset: 3px;
}

.tl-visa-hero a:focus-visible,
.tl-visa-check a:focus-visible {
  outline-color: var(--v-lime);
}

@media (max-width: 900px) {
  .tl-visa-hero__grid,
  .tl-visa-exempt__panel,
  .tl-visa-notes,
  .tl-visa-check__panel {
    grid-template-columns: 1fr;
  }

  .tl-visa-card,
  .tl-visa-card--lead {
    grid-column: span 3;
  }

  .tl-visa-exempt__mark b {
    font-size: 72px;
  }
}

@media (max-width: 640px) {
  .tl-visa__wrap {
    width: min(1100px, calc(100% - 28px));
  }

  .tl-visa-hero.tl-hero {
    padding-bottom: 36px;
  }

  .tl-visa-jump {
    position: static;
  }

  .tl-visa-card,
  .tl-visa-card--lead {
    grid-column: span 6;
  }

  .tl-visa-exempt__panel,
  .tl-visa-check__panel {
    padding: 20px;
  }

  .tl-visa-card__stay {
    font-size: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tl-visa-jump {
    backdrop-filter: none;
  }
}
