/* Destination hero inner (rendered by [tih_destination_hero]) */
.tih-hero__inner { max-width: 680px; margin-inline: auto; display: flex; flex-direction: column; gap: var(--wp--preset--spacing--lg); }
.tih-hero__eyebrow { color: rgba(255,255,255,.7); font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin: 0; }
.tih-hero__title { color: #fff; font-size: clamp(2rem, 5vw, 2.75rem); font-weight: 700; line-height: 1.15; margin: 0; }
.tih-hero__sub { color: rgba(255,255,255,.88); font-size: 1.125rem; margin: 0; }

/* Top Picks section header (rendered by [tih_destination_top_picks]) */
.tih-top-picks-section__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: var(--wp--preset--spacing--md); margin-bottom: var(--wp--preset--spacing--xl); }
.tih-top-picks-section__head h2 { font-size: var(--wp--preset--font-size--x-large); line-height: 1.2; margin: var(--wp--preset--spacing--xs) 0; }
.tih-top-picks-section__note { color: var(--wp--preset--color--text-muted); font-size: .9rem; margin: 0; }
.tih-top-picks-section__all { font-size: .9375rem; font-weight: 600; margin: 0; }
.tih-top-picks-section__all a { text-decoration: none; }

/* Destination editorial intro (rendered by [tih_destination_intro]) */
.tih-destination-intro { max-width: var(--tih-max-wide); margin-inline: auto; font-size: 1.0625rem; line-height: 1.75; }

/* Destination FAQ accordion (rendered by [tih_destination_faqs]) */
.tih-faq { max-width: var(--tih-max-wide); margin: var(--wp--preset--spacing--xl) auto 0; }
.tih-faq__title { font-size: var(--wp--preset--font-size--x-large); margin-bottom: var(--wp--preset--spacing--md); }
.tih-faq__item { border: 1px solid var(--wp--preset--color--border); border-radius: 10px; padding: 14px 18px; margin-bottom: 10px; background: var(--wp--preset--color--surface); }
.tih-faq__q { font-weight: 600; cursor: pointer; list-style: none; }
.tih-faq__q::-webkit-details-marker { display: none; }
.tih-faq__item[open] .tih-faq__q { color: var(--wp--preset--color--primary); }
.tih-faq__a { margin-top: 10px; color: var(--wp--preset--color--text-muted); line-height: 1.7; }

/* ── Destination Selector ────────────────────────────────────────────────── */
.tih-dest-selector { }

.tih-dest-selector__search-wrap { margin-bottom: 20px; }
.tih-dest-selector__search {
  width: 100%;
  max-width: 360px;
  padding: 10px 20px;
  border: 1.5px solid var(--tih-border);
  border-radius: var(--tih-radius-pill);
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--tih-text);
}
.tih-dest-selector__search:focus { outline: none; border-color: var(--tih-primary); }

.tih-dest-selector__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.tih-dest-selector__tab {
  padding: 7px 18px;
  border-radius: var(--tih-radius-pill);
  border: 1.5px solid var(--tih-border);
  background: var(--tih-surface);
  font-size: 0.875rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  color: var(--tih-text);
  transition: all 0.15s;
}
.tih-dest-selector__tab:hover { border-color: var(--tih-primary); color: var(--tih-primary); }
.tih-dest-selector__tab--active {
  background: var(--tih-primary);
  border-color: var(--tih-primary);
  color: #fff;
}

.tih-dest-selector__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
[data-layout="grid-8"] .tih-dest-selector__grid {
  grid-template-columns: repeat(4, 1fr);
}

/* ── Destination Card ────────────────────────────────────────────────────── */
.tih-dest-card {
  background: var(--tih-surface);
  border: 1px solid var(--tih-border);
  border-radius: var(--tih-radius-lg);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}
.tih-dest-card:hover { box-shadow: var(--tih-shadow-md); transform: translateY(-2px); }
.tih-dest-card__image-link { display: block; }
.tih-dest-card__image { width: 100%; height: 140px; object-fit: cover; display: block; }
.tih-dest-card__image-placeholder {
  width: 100%;
  height: 140px;
  background: var(--tih-sky);
  display: flex;
  align-items: center;
  justify-content: center;
}
.tih-dest-card__emoji { font-size: 3rem; }
.tih-dest-card__body { padding: 14px 16px; }
.tih-dest-card__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--tih-navy);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1.2;
}
.tih-dest-selector .tih-dest-card__title .tih-dest-card__flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
  margin: 0;
  flex-shrink: 0;
}
.tih-dest-card__risk { font-size: 0.78rem; color: var(--tih-text-muted); margin: 0 0 12px; line-height: 1.4; }
.tih-dest-card__actions { display: flex; gap: 8px; flex-wrap: wrap; }

@media (max-width: 640px) {
  [data-layout="grid-8"] .tih-dest-selector__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tih-dest-card__image { height: 120px; }
}
