/* Unique World Holidays — Home page "Some Themes To Help You Decide Your
   Next Destination" section. Sits in the same page-order slot "What Sets
   Us Apart" used to occupy (see front-page.php) but is otherwise a fresh
   design, not a copy: cards use a thin rounded outline instead of WSUA's
   drop-shadow, and the countries line uses the site's existing teal accent
   (#327d81, already used for the header nav hover state — see
   site-header.css) rather than WSUA's navy/white palette. Heading and card
   title still share WSUA's navy (#13294b) + Poppins so the two sections
   still read as the same site. */

.uwh-dt {
  width: 100%;
  background-color: #ffffff;
  padding: 80px 10px;
}

.uwh-dt-inner {
  max-width: 1260px;
  margin: 0 auto;
}

.uwh-dt-heading {
  margin: 0 0 40px;
  font-family: Poppins, sans-serif;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.3;
  color: #13294b;
  text-align: center;
}

.uwh-dt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.uwh-dt-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 30px;
  border: 1px solid #d8dee7;
  border-radius: 20px;
  background: #ffffff;
  /* Cards without a Card Link render as this same element as a <div>,
     so text-decoration/color resets below only need to target the
     --linked variant, not this base rule. */
}

/* Cards with a Card Link set render as <a> instead of <div> (see the
   partial) — whole card is clickable, with a subtle lift + shadow on
   hover/focus so it reads as an interactive tile rather than static
   text. Cards left without a link keep the plain .uwh-dt-card look
   above and stay non-interactive (cursor: default, no hover change). */
.uwh-dt-card--linked {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.uwh-dt-card--linked:hover,
.uwh-dt-card--linked:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(19, 41, 75, 0.12);
  border-color: #327d81;
}

.uwh-dt-card--linked:focus-visible {
  outline: 2px solid #327d81;
  outline-offset: 3px;
}

/* Real button, not a text link — matches the site's established pill-CTA
   language (same shape/weight as .uwh-sf-card-cta on the tour-card flip
   back, see tour-card-faces.css). That one sits on a dark card back and
   uses a white pill; this section's cards are white with a thin border,
   so it uses the site's other recurring CTA colour — the orange/gold
   gradient from the header's "Get in touch" button and the contact form
   submit button (#feae02 → #fecd48) — for contrast instead. align-self:
   flex-start keeps it pill-sized rather than stretching to the card's
   full width (the card is a column flexbox). */
.uwh-dt-card-cta {
  align-self: flex-start;
  margin-top: -4px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: Poppins, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #13294b;
  background: linear-gradient(120deg, #feae02, #fecd48);
  padding: 10px 22px;
  border-radius: 50px;
  box-shadow: 0 4px 10px rgba(254, 174, 2, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.uwh-dt-card--linked:hover .uwh-dt-card-cta,
.uwh-dt-card--linked:focus-visible .uwh-dt-card-cta {
  filter: brightness(0.96);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(254, 174, 2, 0.45);
}

.uwh-dt-card-desc {
  margin: 0;
  font-family: Roboto, sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.5;
  color: #333333;
}

.uwh-dt-card-countries {
  margin: 0;
  font-family: Roboto, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: #327d81;
}

.uwh-dt-card-title {
  margin: auto 0 0;
  padding-top: 14px;
  border-top: 1px solid #eef1f5;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: Poppins, sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: #13294b;
}

.uwh-dt-card-title-icon {
  flex: none;
  width: 22px;
  height: 22px;
  display: block;
}

/* ---- Responsive ----
   Same 1024px/782px collapse cutoffs as the Team/WSUA sections, so the
   grid behaviour stays consistent across the site (see
   what-sets-us-apart-section.css for the matching rule). */
@media (max-width: 1024px) {
  .uwh-dt-heading {
    font-size: 32px;
  }
  .uwh-dt-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .uwh-dt-card {
    padding: 22px;
  }
}

@media (max-width: 782px) {
  .uwh-dt {
    padding: 40px 20px;
  }
  .uwh-dt-heading {
    font-size: 24px;
    margin-bottom: 24px;
  }
  .uwh-dt-grid {
    grid-template-columns: 1fr;
  }
  .uwh-dt-card {
    padding: 18px;
  }
  .uwh-dt-card-title {
    font-size: 18px;
  }
}
