/* ============================================================
   Top Destinations — Modern 2026 Look
   Matches fd-modern + ss-search language: light section,
   dark gradient cards, orange accents, pill features
   ============================================================ */

.td-modern {
  position: relative;
  padding: 3.5rem 0 4rem;
  background:
    radial-gradient(700px 320px at 8% 8%, rgba(250,101,21,.06), transparent 60%),
    radial-gradient(760px 360px at 95% 30%, rgba(0,111,69,.06), transparent 60%),
    #FAFBFC;
  overflow: hidden;
}

.td-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, #FA6515 0%, #FF9A3D 100%);
  padding: .45rem .95rem;
  border-radius: 100px;
  box-shadow: 0 8px 20px rgba(250,101,21,.3);
}
.td-eyebrow i { font-size: .75rem; }

.td-title {
  font-size: clamp(1.7rem, 2.6vw + 1rem, 2.5rem) !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  letter-spacing: -.02em;
  color: #101828 !important;
  margin: 1rem 0 .6rem !important;
}
.td-title span {
  background: linear-gradient(135deg, #FA6515, #E75200);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.td-sub {
  max-width: 760px;
  color: #667085 !important;
  font-size: 1.02rem !important;
  line-height: 1.7 !important;
  margin-bottom: 0 !important;
}

.td-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 1.4rem 0 1.8rem;
}
.td-divider::after {
  content: "";
  height: 2px;
  flex: 1;
  max-width: 220px;
  background: linear-gradient(90deg, #FA6515, transparent);
  border-radius: 2px;
}
.td-divider span {
  width: 8px; height: 8px; border-radius: 50%;
  background: #FA6515;
  box-shadow: 0 0 0 6px rgba(250,101,21,.14);
}

/* ---- feature pills (replaces btn-dark + btn-outline-dark rows) ---- */
.td-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 2.2rem;
}
.td-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid rgba(16,24,40,.09);
  border-radius: 100px;
  padding: 8px 18px 8px 8px;
  box-shadow: 0 6px 18px rgba(16,24,40,.07);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.td-pill:hover {
  transform: translateY(-2px);
  border-color: rgba(250,101,21,.35);
  box-shadow: 0 12px 26px rgba(16,24,40,.12);
}
.td-pill-icon {
  width: 36px; height: 36px;
  flex: 0 0 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  font-size: .9rem;
  background: linear-gradient(135deg, #FA6515, #E75200);
  box-shadow: 0 6px 14px rgba(250,101,21,.35);
}
.td-pill:nth-child(2) .td-pill-icon { background: linear-gradient(135deg, #0090FF, #005EE7); box-shadow: 0 6px 14px rgba(0,144,255,.35); }
.td-pill:nth-child(3) .td-pill-icon { background: linear-gradient(135deg, #00A66A, #006F45); box-shadow: 0 6px 14px rgba(0,111,69,.35); }
.td-pill:nth-child(4) .td-pill-icon { background: linear-gradient(135deg, #B5651D, #7A3E00); box-shadow: 0 6px 14px rgba(122,62,0,.35); }
.td-pill:nth-child(5) .td-pill-icon { background: linear-gradient(135deg, #7C3AED, #4C1D95); box-shadow: 0 6px 14px rgba(124,58,237,.35); }
.td-pill strong { font-size: .86rem; font-weight: 800; color: #101828; line-height: 1.2; }
.td-pill small { display: block; font-size: .76rem; font-weight: 500; color: #667085; line-height: 1.35; }

/* ---- cards ---- */
.td-card {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(500px 240px at 90% -10%, rgba(250,101,21,.28), transparent 60%),
    linear-gradient(160deg, #1A2333 0%, #101828 55%, #0B1220 100%);
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 20px 55px rgba(16,24,40,.22);
  transition: transform .45s cubic-bezier(.16,1,.3,1), box-shadow .45s ease, border-color .3s ease;
}
.td-card:hover {
  transform: translateY(-8px);
  border-color: rgba(250,101,21,.4);
  box-shadow: 0 30px 70px rgba(16,24,40,.32);
}

.td-card-top { padding: 1.5rem 1.5rem 1.1rem; }

.td-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
}
.td-card-badge-icon {
  width: 46px; height: 46px;
  flex: 0 0 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-size: 1.15rem;
  color: #fff;
  background: linear-gradient(135deg, #FA6515, #E75200);
  box-shadow: 0 8px 18px rgba(250,101,21,.4);
}
.td-card--beach .td-card-badge-icon { background: linear-gradient(135deg, #0090FF, #005EE7); box-shadow: 0 8px 18px rgba(0,144,255,.4); }
.td-card--escape .td-card-badge-icon { background: linear-gradient(135deg, #00A66A, #006F45); box-shadow: 0 8px 18px rgba(0,166,106,.4); }

.td-card-kicker {
  display: block;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  line-height: 1;
  margin-bottom: 4px;
}
.td-card-badge strong {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: .02em;
  color: #fff;
  line-height: 1.2;
}

.td-card-top h3 {
  font-size: 1.35rem !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  color: #fff !important;
  margin: 0 0 .45rem !important;
  letter-spacing: -.01em;
}
.td-card-desc {
  color: rgba(255,255,255,.72) !important;
  font-size: .92rem !important;
  line-height: 1.65 !important;
  margin-bottom: .9rem !important;
}
.td-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .86rem;
  font-weight: 800;
  color: #FFB37A;
  text-decoration: none;
  transition: color .25s ease, gap .25s ease;
}
.td-card-link:hover { color: #fff; gap: 12px; }
.td-card-link i { font-size: .85rem; line-height: 1; }

/* ---- destination rows ---- */
.td-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 1.1rem 1.35rem;
  margin-top: auto;
}

.td-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  padding: 8px 8px 8px 8px;
  text-decoration: none;
  overflow: hidden;
  transition: background .3s ease, border-color .3s ease, transform .3s cubic-bezier(.34,1.56,.64,1);
}
.td-item:hover {
  background: rgba(255,255,255,.13);
  border-color: rgba(250,101,21,.5);
  transform: translateX(4px);
}
.td-item img {
  width: 86px;
  height: 64px;
  flex: 0 0 86px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  transition: transform .5s cubic-bezier(.16,1,.3,1);
}
.td-item:hover img { transform: scale(1.07); }

.td-item-text { flex: 1 1 auto; min-width: 0; }
.td-item-text strong {
  display: block;
  font-size: .88rem;
  font-weight: 800;
  line-height: 1.3;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.td-item-text small {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .74rem;
  font-weight: 600;
  color: rgba(255,255,255,.6);
  margin-top: 3px;
}
.td-item-text small i { font-size: .68rem; color: #FF9A3D; }

.td-item-arrow {
  width: 38px; height: 38px;
  flex: 0 0 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
  font-size: .82rem;
  transition: background .3s ease, transform .3s cubic-bezier(.34,1.56,.64,1);
}
.td-item:hover .td-item-arrow {
  background: linear-gradient(135deg, #FA6515, #E75200);
  border-color: transparent;
  transform: translate(2px,-2px) rotate(-8deg);
}

/* responsive */
@media (max-width: 991.98px) {
  .td-modern { padding: 2.5rem 0 3rem; }
}
@media (max-width: 575.98px) {
  .td-pill { width: 100%; }
  .td-card-top { padding: 1.25rem 1.15rem .9rem; }
  .td-list { padding: 0 .85rem 1.1rem; }
  .td-item img { width: 76px; flex-basis: 76px; }
}
@media (prefers-reduced-motion: reduce) {
  .td-card, .td-item, .td-item img, .td-item-arrow, .td-pill, .td-card-link { transition: none !important; }
  .td-card:hover, .td-item:hover, .td-pill:hover { transform: none !important; }
}
