/* Moving to Thailand — relocation roadmap */

.tl-move-hero.tl-hero--photo {
  background-position: center 40%;
}

.tl-move-hero .tl-lead {
  max-width: 38rem;
  font-size: clamp(17px, 2.2vw, 20px);
  font-weight: 300;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
}

.tl-main--move {
  background:
    radial-gradient(1200px 480px at 12% -8%, rgba(255, 255, 255, 0.55), transparent 60%),
    linear-gradient(180deg, #e8f3fb 0%, #dceef8 42%, #e6f2fa 100%);
}

.tl-move {
  --tl-move-ink: #142033;
  --tl-move-muted: #445466;
  --tl-move-line: rgba(20, 64, 102, 0.12);
  --tl-move-accent: #0d2e4d;
  --tl-move-panel: rgba(255, 255, 255, 0.72);
  color: var(--tl-move-ink);
}

.tl-move__wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 40px;
}

.tl-move-section {
  padding: 72px 0;
  scroll-margin-top: 88px;
}

.tl-move-section--alt {
  background: rgba(255, 255, 255, 0.55);
  border-block: 1px solid rgba(255, 255, 255, 0.65);
}

.tl-move-kicker {
  margin: 0 0 10px;
  color: var(--tl-move-accent);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tl-move-section h2 {
  margin: 0 0 16px;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 500;
  line-height: 1.15;
}

.tl-move-section h3 {
  margin: 0 0 12px;
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 500;
  line-height: 1.25;
}

.tl-move-lead {
  margin: 0 0 28px;
  max-width: 40rem;
  color: var(--tl-move-muted);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.7;
}

.tl-move-intro p {
  margin: 0 0 1.1em;
  max-width: 42rem;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--tl-move-ink);
}

.tl-move-intro p:last-child {
  margin-bottom: 0;
}

.tl-move-intro__pulse {
  margin-top: 28px;
  padding: 20px 22px;
  max-width: 42rem;
  border-left: 3px solid var(--tl-lime, #c8e86c);
  background: rgba(13, 46, 77, 0.04);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.55;
}

/* Topic hub cards */
.tl-move-topics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.tl-move-topic {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 168px;
  padding: 22px 20px;
  background: var(--tl-move-panel);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 18px;
  text-decoration: none !important;
  color: inherit;
  box-shadow: 0 8px 28px rgba(13, 46, 77, 0.06);
  backdrop-filter: blur(8px);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tl-move-topic:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(13, 46, 77, 0.1);
}

.tl-move-topic__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
}

.tl-move-topic__icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.tl-move-topic h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
}

.tl-move-topic p {
  margin: 0;
  flex: 1;
  color: var(--tl-move-muted);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.55;
}

.tl-move-topic__go {
  align-self: flex-end;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #eef1f4;
  color: var(--tl-move-accent);
  font-size: 14px;
  line-height: 1;
}

.tl-move-topic--visa .tl-move-topic__icon { background: #3b82f6; }
.tl-move-topic--cities .tl-move-topic__icon { background: #ec4899; }
.tl-move-topic--housing .tl-move-topic__icon { background: #22c55e; }
.tl-move-topic--health .tl-move-topic__icon { background: #a855f7; }
.tl-move-topic--banking .tl-move-topic__icon { background: #eab308; }
.tl-move-topic--transport .tl-move-topic__icon { background: #38bdf8; }
.tl-move-topic--firstweek .tl-move-topic__icon { background: #f97316; }
.tl-move-topic--calendar .tl-move-topic__icon { background: #1e3a8a; }
.tl-move-topic--cost .tl-move-topic__icon { background: #0f766e; }
.tl-move-topic--work .tl-move-topic__icon { background: #0369a1; }
.tl-move-topic--retire .tl-move-topic__icon { background: #b45309; }
.tl-move-topic--school .tl-move-topic__icon { background: #7c3aed; }

/* Timeline phases */
.tl-move-phase {
  margin: 0 0 48px;
  padding-bottom: 8px;
}

.tl-move-phase__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
  color: var(--tl-move-accent);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tl-move-phase__label span {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(13, 46, 77, 0.08);
}

.tl-move-step {
  position: relative;
  margin: 0 0 36px;
  padding: 28px 28px 28px 84px;
  background: var(--tl-move-panel);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 18px;
  box-shadow: 0 8px 28px rgba(13, 46, 77, 0.05);
  backdrop-filter: blur(8px);
}

.tl-move-section--alt .tl-move-step {
  background: rgba(255, 255, 255, 0.82);
}

/* Cartoon culture tips */
.tl-move-fun-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.tl-move-fun {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  box-shadow: 0 10px 32px rgba(13, 46, 77, 0.08);
}

.tl-move-fun__media {
  position: relative;
  aspect-ratio: 3 / 2;
  background: #0a0a0a;
  overflow: hidden;
}

.tl-move-fun__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transform: scale(1.04);
}

.tl-move-fun__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 22px 24px;
}

.tl-move-fun__num {
  margin: 0;
  color: #2b6cb0;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tl-move-fun h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.25;
}

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

.tl-move-step__num {
  position: absolute;
  top: 28px;
  left: 24px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--tl-move-accent);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.tl-move-step p {
  margin: 0 0 1em;
  color: var(--tl-move-muted);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
}

.tl-move-step p:last-child {
  margin-bottom: 0;
}

.tl-move-step ul {
  margin: 0 0 1.1em;
  padding-left: 1.2em;
  color: var(--tl-move-muted);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
}

.tl-move-step li + li {
  margin-top: 0.35em;
}

.tl-move-note {
  margin: 18px 0 0;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(249, 115, 22, 0.08);
  color: var(--tl-move-ink);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.6;
}

.tl-move-note strong {
  font-weight: 500;
}

.tl-move-link {
  display: inline-flex;
  margin-top: 8px;
  color: var(--tl-move-accent);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.tl-move-link:hover {
  text-decoration: underline;
}

/* Decision matrix */
.tl-move-table-wrap {
  margin: 20px 0 8px;
  overflow-x: auto;
  border-radius: 14px;
  border: 1px solid var(--tl-move-line);
  background: rgba(255, 255, 255, 0.92);
}

.tl-move-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 14px;
}

.tl-move-table th,
.tl-move-table td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--tl-move-line);
  font-weight: 300;
  line-height: 1.5;
}

.tl-move-table th {
  background: var(--tl-move-accent);
  color: #fff;
  font-weight: 500;
  white-space: nowrap;
}

.tl-move-table tr:last-child td {
  border-bottom: 0;
}

.tl-move-table tbody tr:nth-child(even) {
  background: rgba(13, 46, 77, 0.03);
}

/* City chips inside step */
.tl-move-cities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 8px;
}

.tl-move-city {
  padding: 18px 20px;
  border-radius: 14px;
  background: rgba(13, 46, 77, 0.04);
}

.tl-move-city h4 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 500;
}

.tl-move-city p {
  margin: 0;
  font-size: 15px;
}

.tl-move-disclaimer {
  margin: 28px 0 0;
  max-width: 42rem;
  color: var(--tl-move-muted);
  font-size: 15px;
  font-weight: 300;
  font-style: italic;
  line-height: 1.65;
}

.tl-move-copy {
  max-width: 42rem;
}

.tl-move-copy p,
.tl-move-close p,
.tl-move-place p,
.tl-move-panel p {
  margin: 0 0 1.05em;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--tl-move-ink);
}

.tl-move-copy p:last-child,
.tl-move-close p:last-child,
.tl-move-place p:last-child,
.tl-move-panel p:last-child {
  margin-bottom: 0;
}

.tl-move-copy h3,
.tl-move-panel h3 {
  margin: 1.7em 0 10px;
}

.tl-move-copy + h3 {
  margin-top: 36px;
}

.tl-move-copy h3:first-child,
.tl-move-panel h3:first-child {
  margin-top: 0;
}

.tl-move-copy a {
  color: var(--tl-move-accent);
  font-weight: 500;
  text-underline-offset: 0.16em;
}

.tl-move-copy ul,
.tl-move-panel ul {
  margin: 0 0 1.1em;
  padding-left: 1.2em;
  color: var(--tl-move-ink);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.7;
}

.tl-move-copy .tl-move-points,
.tl-move-copy .tl-move-checks,
.tl-move-copy .tl-move-principles {
  padding-left: 0;
}

.tl-move-copy li + li,
.tl-move-panel li + li {
  margin-top: 0.4em;
}

.tl-move-toc {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.tl-move-toc a {
  display: block;
  min-height: 44px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--tl-move-ink);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(13, 46, 77, 0.05);
}

.tl-move-toc a:hover {
  background: #fff;
}

.tl-move-toc a:focus-visible,
.tl-move-topic:focus-visible,
.tl-card:focus-visible {
  outline: 2px solid var(--tl-move-accent);
  outline-offset: 3px;
}

.tl-move-place a,
.tl-move-panel a,
.tl-move-days a {
  color: var(--tl-move-accent);
  font-weight: 500;
  text-underline-offset: 0.16em;
}

.tl-move-place h3 a {
  color: inherit;
  text-decoration: none;
}

.tl-move-place h3 a:hover {
  text-decoration: underline;
}

.tl-move-toc span {
  display: block;
  margin-bottom: 3px;
  color: var(--tl-move-accent);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.tl-move-quote {
  margin: 0 0 22px;
  padding: 22px 24px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  border-left: 3px solid var(--tl-lime, #c8e86c);
}

.tl-move-quote p {
  margin: 0;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
}

.tl-move-quote footer {
  margin-top: 12px;
  color: var(--tl-move-muted);
  font-size: 14px;
  font-weight: 500;
}

.tl-move-split,
.tl-move-places,
.tl-move-days,
.tl-move-figures {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.tl-move-split,
.tl-move-days,
.tl-move-figures {
  grid-template-columns: 1fr 1fr;
}

.tl-move-places {
  grid-template-columns: repeat(3, 1fr);
}

.tl-move-place,
.tl-move-panel {
  padding: 22px 22px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 28px rgba(13, 46, 77, 0.05);
}

.tl-move-place h3,
.tl-move-panel h3,
.tl-move-days h3 {
  margin-top: 0;
}

.tl-move-place p,
.tl-move-panel p,
.tl-move-days li {
  color: var(--tl-move-muted);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.65;
}

.tl-move-kicker-sm {
  margin: 0 0 8px;
  color: #2b6cb0;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tl-move-callout {
  margin: 22px 0 0;
  padding: 18px 20px;
  max-width: 42rem;
  border-radius: 14px;
  background: rgba(13, 46, 77, 0.06);
}

.tl-move-callout p {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
}

.tl-move-callout p + p {
  margin-top: 8px;
  font-weight: 300;
}

.tl-move-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 28px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.tl-move-points li {
  position: relative;
  padding-left: 16px;
  color: var(--tl-move-muted);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
}

.tl-move-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--tl-move-accent);
}

.tl-move-copy .tl-move-points li + li,
.tl-move-copy .tl-move-checks li + li,
.tl-move-copy .tl-move-principles li + li {
  margin-top: 0;
}

.tl-move-days ul {
  margin: 0;
  padding-left: 1.15em;
}

.tl-move-days li + li {
  margin-top: 0.45em;
}

.tl-move-principles {
  display: grid;
  gap: 10px;
  margin: 18px 0 8px;
  padding: 0;
  list-style: none;
}

.tl-move-principles li {
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.45;
}

.tl-move-progress {
  margin: 0 0 22px;
  color: var(--tl-move-accent);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.tl-move-checks {
  display: grid;
  gap: 8px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.tl-move-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 44px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.86);
  cursor: pointer;
}

.tl-move-check input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  flex: none;
  accent-color: #0d2e4d;
}

.tl-move-check span {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.45;
}

.tl-move-check input:focus-visible {
  outline: 2px solid var(--tl-move-accent);
  outline-offset: 3px;
}

.tl-move-check input:checked + span {
  color: var(--tl-move-muted);
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

.tl-move-close {
  max-width: 42rem;
}

.tl-move-budget {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 8px 0 8px;
}

.tl-move-budget-card {
  padding: 18px 18px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 24px rgba(13, 46, 77, 0.05);
}

.tl-move-budget-card__kicker {
  margin: 0 0 6px;
  color: #2b6cb0;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tl-move-budget-card__total {
  margin: 0;
  color: var(--tl-move-ink);
  font-size: clamp(20px, 2.2vw, 24px);
  font-weight: 500;
  line-height: 1.2;
}

.tl-move-budget-card__total span {
  display: inline-block;
  margin-left: 2px;
  color: var(--tl-move-muted);
  font-size: 14px;
  font-weight: 400;
}

.tl-move-budget-card__blurb {
  margin: 10px 0 0;
  color: var(--tl-move-muted);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.5;
}

.tl-move-budget-link {
  margin: 4px 0 28px;
}

@media (max-width: 980px) {
  .tl-move-topics {
    grid-template-columns: repeat(2, 1fr);
  }

  .tl-move-cities,
  .tl-move-places,
  .tl-move-toc {
    grid-template-columns: 1fr 1fr;
  }

  .tl-move-budget {
    grid-template-columns: 1fr;
  }

  .tl-move-fun-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .tl-move-split,
  .tl-move-days,
  .tl-move-figures,
  .tl-move-points,
  .tl-move-places,
  .tl-move-toc {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .tl-move__wrap {
    padding: 0 20px;
  }

  .tl-move-section {
    padding: 52px 0;
  }

  .tl-move-topics {
    grid-template-columns: 1fr;
  }

  .tl-move-step {
    padding: 22px 18px 22px 18px;
  }

  .tl-move-step__num {
    position: static;
    margin-bottom: 14px;
  }

  .tl-move-quote,
  .tl-move-place,
  .tl-move-panel {
    padding: 18px 16px;
  }
}
