/* Travel Tips — insider field guide (page-specific) */

.tl-main.tl-main--tips {
  padding: 0;
  background: #f8f4ec;
}

.tl-tips {
  --tips-ink: #1a2822;
  --tips-muted: #5c6a62;
  --tips-deep: #143528;
  --tips-teal: #1f6b5a;
  --tips-teal-soft: #e7f2ee;
  --tips-cream: #f8f4ec;
  --tips-cream-deep: #efe8dc;
  --tips-paper: #fffcf6;
  --tips-warn: #9a3d2a;
  --tips-warn-soft: #f7ebe6;
  --tips-gold: #a67c2d;
  --tips-line: rgba(20, 53, 40, 0.12);
  color: var(--tips-ink);
  font-family: "Bricolage Grotesque", sans-serif;
}

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

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

.tl-tips-num {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--tips-deep);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  vertical-align: middle;
}

.tl-tips-head {
  margin-bottom: clamp(28px, 4vw, 40px);
}

.tl-tips-head h2 {
  margin: 0 0 12px;
  max-width: 22ch;
  color: var(--tips-deep);
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.tl-tips-head__sub {
  margin: 0;
  max-width: 42em;
  color: var(--tips-muted);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
}

.tl-tips-th {
  display: block;
  margin: -4px 0 14px;
  color: var(--tips-gold);
  font-family: Caveat, "Segoe Script", cursive;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 600;
  line-height: 1.2;
}

/* —— Hero —— */
.tl-tips-hero.tl-hero--photo {
  display: flex;
  align-items: flex-end;
  min-height: var(--tl-cover-min-height);
  padding-top: var(--tl-cover-pad-top);
  padding-bottom: var(--tl-cover-pad-bottom);
  background-color: #2a4a3a;
  background-image: var(--tl-hero-image);
  background-position: center 32%;
  background-repeat: no-repeat;
  background-size: cover;
  color: var(--tips-deep, #143528);
  overflow: hidden;
}

@media (min-width: 901px) {
  .tl-tips-hero.tl-hero--photo {
    /* Keep the backpacker’s head/face in frame on wide covers */
    background-position: center 28%;
  }
}

.tl-tips-hero.tl-hero--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.6);
}

.tl-tips-hero__copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
}

.tl-tips-hero .tl-crumb {
  margin-bottom: 18px;
}

.tl-tips-hero.tl-hero--photo .tl-crumb,
.tl-tips-hero.tl-hero--photo .tl-crumb a,
.tl-tips-hero.tl-hero--photo h1,
.tl-tips-hero.tl-hero--photo .tl-tips-hero__lead,
.tl-tips-hero.tl-hero--photo .tl-tips-hero__eyebrow {
  text-shadow: none;
}

.tl-tips-hero .tl-crumb,
.tl-tips-hero .tl-crumb a {
  color: rgba(20, 53, 40, 0.72) !important;
}

.tl-tips-hero .tl-crumb a:hover {
  color: #1f6b5a !important;
}

.tl-tips-hero__eyebrow {
  margin: 0 0 8px;
  color: #1f6b5a;
  font-family: Caveat, "Segoe Script", cursive;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 600;
  line-height: 1.1;
}

.tl-tips-hero h1 {
  margin: 0 0 12px;
  max-width: 16ch;
  color: #143528;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: clamp(36px, 5.2vw, 56px);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.02em;
}

.tl-tips-hero__lead {
  margin: 0;
  max-width: 38em;
  color: #3d4f46;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
}

/* —— Jump nav —— */
.tl-tips-quick {
  border-bottom: 1px solid var(--tips-line);
  background: var(--tips-cream-deep);
}

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

.tl-tips-quick a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 18px 12px;
  border-right: 1px solid var(--tips-line);
  color: var(--tips-deep) !important;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  text-decoration: none !important;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.tl-tips-quick a:last-child {
  border-right: 0;
}

.tl-tips-quick a:hover {
  background: var(--tips-paper);
  color: var(--tips-teal) !important;
  transform: translateY(-1px);
}

.tl-tips-quick__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--tips-teal);
}

.tl-tips-quick__icon svg {
  width: 28px;
  height: 28px;
}

/* —— Sections —— */
.tl-tips-section {
  padding: clamp(48px, 7vw, 76px) 0;
}

.tl-tips-section--cream {
  background: linear-gradient(180deg, #f8f4ec 0%, #f3ebe0 100%);
}

.tl-tips-section--paper {
  background: var(--tips-paper);
}

.tl-tips-section--soft {
  background: linear-gradient(180deg, #f5f0e6 0%, #f8f4ec 100%);
}

.tl-tips-intro {
  padding: clamp(40px, 6vw, 64px) 0 0;
}

.tl-tips-intro__text {
  margin: 0;
  max-width: 46em;
  color: var(--tips-muted);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.75;
}

.tl-tips-intro__whisper {
  margin: 18px 0 0;
  max-width: 36em;
  color: var(--tips-deep);
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: clamp(22px, 2.6vw, 28px);
  font-style: italic;
  font-weight: 500;
  line-height: 1.35;
}

/* —— Image slots —— */
.tl-tips-slot {
  position: relative;
  display: grid;
  place-items: center;
  margin: 0;
  overflow: hidden;
  border: 1px dashed rgba(20, 53, 40, 0.22);
  background-color: #e8e0d2;
  background-image:
    linear-gradient(135deg, rgba(255, 252, 246, 0.45) 0%, transparent 50%),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 10px,
      rgba(20, 53, 40, 0.04) 10px,
      rgba(20, 53, 40, 0.04) 11px
    );
}

.tl-tips-slot--wide {
  aspect-ratio: 21 / 9;
  min-height: 180px;
}

.tl-tips-slot--landscape {
  aspect-ratio: 16 / 10;
  min-height: 220px;
}

.tl-tips-slot--square {
  aspect-ratio: 1 / 1;
  min-height: 200px;
}

.tl-tips-slot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tl-tips-slot__label {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 18px;
  color: var(--tips-deep);
  text-align: center;
  background: rgba(255, 252, 246, 0.78);
  border: 1px solid rgba(20, 53, 40, 0.12);
}

.tl-tips-slot__label strong {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: 16px;
  font-weight: 600;
}

.tl-tips-slot__label span {
  color: var(--tips-muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tl-tips-slot:has(img) {
  border-style: solid;
  border-color: var(--tips-line);
}

.tl-tips-slot:has(img) .tl-tips-slot__label {
  display: none;
}

/* —— Topic blocks —— */
.tl-tips-topics {
  display: grid;
  gap: clamp(28px, 4vw, 40px);
}

.tl-tips-topic {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(22px, 3vw, 36px);
  align-items: start;
}

.tl-tips-topic--flip {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.tl-tips-topic--flip .tl-tips-topic__media {
  order: 2;
}

.tl-tips-topic--flip .tl-tips-topic__body {
  order: 1;
}

.tl-tips-topic__body h3 {
  margin: 0 0 10px;
  color: var(--tips-deep);
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: clamp(24px, 2.8vw, 30px);
  font-weight: 600;
  line-height: 1.15;
}

.tl-tips-topic__body p {
  margin: 0 0 14px;
  color: var(--tips-muted);
  font-size: 15.5px;
  font-weight: 300;
  line-height: 1.7;
}

.tl-tips-topic__body p:last-child {
  margin-bottom: 0;
}

.tl-tips-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.tl-tips-list li {
  position: relative;
  padding: 0 0 12px 18px;
  color: var(--tips-muted);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.65;
}

.tl-tips-list li::before {
  content: "";
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--tips-teal);
}

.tl-tips-list li strong {
  color: var(--tips-ink);
  font-weight: 500;
}

.tl-tips-note {
  margin-top: 16px;
  padding: 14px 16px;
  border-left: 3px solid var(--tips-teal);
  background: var(--tips-teal-soft);
  color: var(--tips-deep);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
}

.tl-tips-note--warn {
  border-left-color: var(--tips-warn);
  background: var(--tips-warn-soft);
}

/* —— Kindness / respect callout —— */
.tl-tips-kindness {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(22px, 3vw, 36px);
  align-items: center;
  margin-top: 8px;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--tips-line);
  background:
    linear-gradient(135deg, rgba(255, 252, 246, 0.95) 0%, rgba(231, 242, 238, 0.9) 100%);
}

.tl-tips-kindness__eyebrow {
  margin: 0 0 6px;
  color: var(--tips-teal);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tl-tips-kindness__body h3 {
  margin: 0 0 4px;
  color: var(--tips-deep);
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 600;
  line-height: 1.15;
}

.tl-tips-kindness__body .tl-tips-th {
  margin-bottom: 12px;
}

.tl-tips-kindness__body p {
  margin: 0 0 12px;
  color: var(--tips-muted);
  font-size: 15.5px;
  font-weight: 300;
  line-height: 1.7;
}

.tl-tips-kindness__body p:last-child {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .tl-tips-kindness {
    grid-template-columns: 1fr;
  }
}

/* —— Compare chips —— */
.tl-tips-compare {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 8px;
}

.tl-tips-compare article {
  padding: 18px 16px 20px;
  border-top: 2px solid var(--tips-teal);
  background: var(--tips-paper);
}

.tl-tips-compare h4 {
  margin: 0 0 8px;
  color: var(--tips-deep);
  font-size: 15px;
  font-weight: 600;
}

.tl-tips-compare p {
  margin: 0;
  color: var(--tips-muted);
  font-size: 13.5px;
  font-weight: 300;
  line-height: 1.6;
}

.tl-tips-compare__tag {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--tips-teal);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* —— Scam radar —— */
.tl-tips-scams {
  display: grid;
  gap: 18px;
}

.tl-tips-scam {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 18px 22px;
  padding: 22px 22px 24px;
  background: var(--tips-paper);
  border: 1px solid var(--tips-line);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.tl-tips-scam:hover {
  border-color: rgba(154, 61, 42, 0.35);
  transform: translateY(-2px);
}

.tl-tips-scam__mark {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.tl-tips-scam__mark span {
  display: inline-block;
  padding: 4px 8px;
  background: var(--tips-warn-soft);
  color: var(--tips-warn);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tl-tips-scam h3 {
  margin: 0 0 8px;
  color: var(--tips-deep);
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 600;
  line-height: 1.15;
}

.tl-tips-scam p {
  margin: 0 0 10px;
  color: var(--tips-muted);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
}

.tl-tips-scam p:last-child {
  margin-bottom: 0;
}

.tl-tips-scam__move {
  color: var(--tips-deep) !important;
  font-weight: 400 !important;
}

.tl-tips-scam__move strong {
  color: var(--tips-teal);
  font-weight: 600;
}

.tl-tips-ride {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.tl-tips-ride article {
  padding: 20px 18px;
  background: var(--tips-cream);
  border: 1px solid var(--tips-line);
}

.tl-tips-ride h4 {
  margin: 0 0 8px;
  color: var(--tips-deep);
  font-size: 16px;
  font-weight: 600;
}

.tl-tips-ride p {
  margin: 0;
  color: var(--tips-muted);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.65;
}

/* —— Hacks —— */
.tl-tips-hacks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.tl-tips-hack {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: var(--tips-paper);
  border: 1px solid var(--tips-line);
  overflow: hidden;
}

.tl-tips-hack__body {
  padding: 20px 20px 24px;
  flex: 1;
}

.tl-tips-hack h3 {
  margin: 0 0 10px;
  color: var(--tips-deep);
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.15;
}

.tl-tips-hack p,
.tl-tips-hack li {
  color: var(--tips-muted);
  font-size: 14.5px;
  font-weight: 300;
  line-height: 1.65;
}

.tl-tips-hack p {
  margin: 0 0 12px;
}

.tl-tips-hack ul {
  margin: 0;
  padding: 0 0 0 18px;
}

.tl-tips-hack li + li {
  margin-top: 6px;
}

.tl-tips-emergency {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.tl-tips-emergency li {
  list-style: none;
  padding: 16px 14px;
  background: var(--tips-deep);
  color: #fff;
}

.tl-tips-emergency strong {
  display: block;
  margin-bottom: 4px;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.tl-tips-emergency span {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.4;
}

.tl-tips-emergency {
  margin: 28px 0 0;
  padding: 0;
}

/* —— Checklist —— */
.tl-tips-checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.tl-tips-check {
  margin: 0;
  padding: 22px 22px 24px;
  border: 1px solid var(--tips-line);
  background: var(--tips-paper);
  min-inline-size: 0;
}

.tl-tips-check h3 {
  margin: 0 0 14px;
  color: var(--tips-deep);
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: 24px;
  font-weight: 600;
}

.tl-tips-check ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.tl-tips-check li + li {
  margin-top: 10px;
}

.tl-tips-check label {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  cursor: pointer;
  color: var(--tips-muted);
  font-size: 14.5px;
  font-weight: 300;
  line-height: 1.55;
}

.tl-tips-check input {
  appearance: none;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border: 1.5px solid rgba(20, 53, 40, 0.35);
  background: #fff;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.tl-tips-check input:checked {
  border-color: var(--tips-teal);
  background: var(--tips-teal)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2' d='M3 8.5l3 3 7-7'/%3E%3C/svg%3E")
    center / 14px no-repeat;
}

.tl-tips-check label:has(input:checked) {
  color: var(--tips-deep);
}

.tl-tips-progress {
  margin-top: 22px;
  color: var(--tips-muted);
  font-size: 14px;
  font-weight: 400;
}

.tl-tips-progress strong {
  color: var(--tips-teal);
}

/* —— Related —— */
.tl-tips-related {
  padding: clamp(40px, 6vw, 64px) 0 clamp(56px, 8vw, 88px);
  background: var(--tips-cream);
}

.tl-tips-related h2 {
  margin: 0 0 20px;
  color: var(--tips-deep);
  font-size: 28px;
  font-weight: 500;
}

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

@media (max-width: 900px) {
  .tl-tips-topic,
  .tl-tips-topic--flip {
    grid-template-columns: 1fr;
  }

  .tl-tips-topic--flip .tl-tips-topic__media,
  .tl-tips-topic--flip .tl-tips-topic__body {
    order: unset;
  }

  .tl-tips-compare,
  .tl-tips-ride,
  .tl-tips-hacks {
    grid-template-columns: 1fr;
  }

  .tl-tips-emergency {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tl-tips-checks {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .tl-tips-quick__inner {
    flex-wrap: wrap;
  }

  .tl-tips-quick a {
    flex: 1 1 45%;
    border-bottom: 1px solid var(--tips-line);
  }

  .tl-tips-scam {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .tl-tips-emergency {
    grid-template-columns: 1fr 1fr;
  }
}
