/* ============================================================
   safari-cards.css
   Shared styles for: us-edition, uk-edition, indiaai-edition
   ============================================================ */

/* HERO
   ----------------------------------------------------------- */
.us-hero {
  background: #fff;
  padding: calc(62px + 24px) 60px 80px;
}
.us-hero-inner {
  max-width: 1060px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.us-hero-heading {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #000;
  margin: 0;
  text-align: center;
}
.us-hero-heading span { color: var(--red); }

/* Hero video embed (US / IndiaAI editions) */
.us-video-wrap {
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #000;
}
.us-video-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Hero static image (UK edition) */
.uk-hero-img-wrap {
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  background: #e8e8e8;
}
.uk-hero-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

/* CARDS SECTION
   ----------------------------------------------------------- */
.us-cards-section {
  background: #f5f5f5;
  padding: 64px 60px 80px;
}
.us-cards-inner {
  max-width: 1060px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* SINGLE CARD
   ----------------------------------------------------------- */
.us-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
}

/* SLIDER
   ----------------------------------------------------------- */
.us-card-slider {
  position: relative;
  overflow: hidden;
  border-radius: 14px 14px 0 0;
  aspect-ratio: 4 / 3;
  background: #e8e8e8;
}
.us-card-track {
  display: flex;
  height: 100%;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.us-card-img {
  min-width: 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
}

/* In-card YouTube embed */
.us-card-video-wrap {
  position: relative;
  border-radius: 14px 14px 0 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #000;
}
.us-card-video-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Slider arrow buttons */
.us-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  background: transparent;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: transform 0.2s ease;
  z-index: 2;
}
.us-slider-btn:hover { transform: translateY(-50%) scale(1.1); }
.us-slider-btn img   { width: 100%; height: 100%; object-fit: contain; display: block; }
.us-slider-prev      { left: 10px; }
.us-slider-next      { right: 10px; }

/* CARD BODY
   ----------------------------------------------------------- */
.us-card-body {
  padding: 18px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.us-card-location {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--blue);
  text-transform: uppercase;
}
.us-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--red);
  line-height: 1.3;
  margin: 0;
}
.us-card-desc {
  font-size: 0.92rem;
  color: #000;
  line-height: 1.7;
  margin: 0;
}

/* RESPONSIVE
   ----------------------------------------------------------- */
@media (max-width: 860px) {
  .us-cards-inner { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 560px) {
  .us-hero          { padding: 56px 20px 64px; }
  .us-cards-section { padding: 48px 16px 64px; }
  .us-cards-inner   { grid-template-columns: 1fr; }
}
