body {
  margin: 0;
  padding: 0;
}

/* HERO */
#hero {
  position: relative;
  width: 100%;
  height: 70vh;
  overflow: hidden;
}

/* VIDEOS: three vertical videos in equal columns.
   Each one fills its column (trimmed a little at the top and bottom). */
.hero-reel {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 100%;
  gap: 3px;
  background: var(--river);
}

.hero-reel-video {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  object-fit: cover;
}

/* OVERLAY: darker at the top (for the header) and bottom, lighter in the middle */
.hero-dark-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(8, 24, 38, 0.55) 0%,
    rgba(8, 24, 38, 0.25) 45%,
    rgba(8, 24, 38, 0.6) 100%
  );
}

/* HERO BUTTON: look comes from .nb-btn in site.css, this only centres it.
   Centred with margins (not transform) so the heartbeat and the hover
   lift never push it off centre. */
.book-now-btn {
  position: absolute;
  inset: 0;
  z-index: 5;
  width: max-content;
  height: max-content;
  margin: auto;
}

.book-now-btn:hover {
  transform: none;
  translate: 0 -3px;
}

/* faint heartbeat: a soft double beat, then a rest */
.book-now-btn {
  animation: heroHeartbeat 2.4s ease-in-out 1.2s infinite;
}

.book-now-btn:hover,
.book-now-btn:focus-visible {
  animation-play-state: paused;
}

@keyframes heroHeartbeat {
  0%,
  40%,
  100% {
    scale: 1;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.28),
      0 12px 26px -10px rgba(20, 86, 55, 0.85),
      0 0 0 0 rgba(47, 163, 107, 0);
  }

  8% {
    scale: 1.035;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.28),
      0 12px 26px -10px rgba(20, 86, 55, 0.85),
      0 0 0 6px rgba(47, 163, 107, 0.18);
  }

  16% {
    scale: 1;
  }

  24% {
    scale: 1.05;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.28),
      0 12px 26px -10px rgba(20, 86, 55, 0.85),
      0 0 0 12px rgba(47, 163, 107, 0.12);
  }
}

@media (prefers-reduced-motion: reduce) {
  .book-now-btn {
    animation: none;
  }
}

.book-now-btn:active {
  transform: none;
  translate: 0;
}

@media (max-width: 576px) {
  .book-now-btn {
    padding: 14px 32px;
    font-size: 1.02rem;
  }
}

/* ================= ABOUT (Karibuni) ================= */

.about-section {
  padding: clamp(72px, 9vw, 120px) 0;
  background: #f2f5f1;
  overflow: hidden;
}

.about-copy {
  max-width: 560px;
}

.about-heading {
  margin-bottom: 18px;
  color: var(--river);
  font-size: clamp(2rem, 3.4vw, 2.7rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.about-bar {
  display: block;
  width: 72px;
  height: 5px;
  margin-bottom: 28px;
  border-radius: 6px 2px 6px 2px;
  background: linear-gradient(90deg, var(--bamboo), var(--lodge-green));
}

.about-copy p {
  margin-bottom: 18px;
  padding-left: 20px;
  border-left: 2px solid rgba(200, 164, 100, 0.55);
  color: #56636e;
  line-height: 1.8;
}

.about-copy .about-lead {
  margin-bottom: 24px;
  padding-left: 0;
  border-left: none;
  color: #23364a;
  font-size: 1.1rem;
  line-height: 1.75;
}

.about-copy .nb-btn {
  margin-top: 14px;
}

/* Collage: one large photo with a gold frame behind it,
   two smaller photos overlapping its corners */
.about-collage {
  position: relative;
  width: 100%;
  max-width: 600px;
  aspect-ratio: 1 / 0.92;
  margin-left: auto;
}

.about-collage::before {
  content: "";
  position: absolute;
  top: 5%;
  left: 5%;
  width: 72%;
  height: 62%;
  border: 2px solid var(--bamboo);
  border-radius: 44px 10px 44px 10px;
}

.about-img {
  position: absolute;
  margin: 0;
  overflow: hidden;
  background: var(--river);
  box-shadow: 0 30px 60px -30px rgba(8, 24, 38, 0.55);
  transition: border-radius 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-img:hover img {
  transform: scale(1.06);
}

.about-img-main {
  top: 0;
  left: 0;
  width: 72%;
  height: 62%;
  border-radius: 44px 10px 44px 10px;
}

.about-img-main:hover {
  border-radius: 10px 44px 10px 44px;
}

.about-img-top {
  top: 16%;
  right: 0;
  width: 38%;
  height: 40%;
  border: 6px solid #f2f5f1;
  border-radius: 28px 8px 28px 8px;
}

.about-img-bottom {
  bottom: 0;
  left: 20%;
  width: 52%;
  height: 42%;
  border: 6px solid #f2f5f1;
  border-radius: 8px 28px 8px 28px;
}

@media (max-width: 991px) {
  .about-collage {
    margin: 0 auto;
  }
}

/* "Est. 2023 · 100% solar" seal on the photo collage */
.lodge-seal {
  position: absolute;
  top: -18px;
  right: 22%;
  z-index: 3;
  display: grid;
  place-items: center;
  align-content: center;
  width: 118px;
  height: 118px;
  padding: 10px;
  border-radius: 40px 10px 40px 10px;
  background: linear-gradient(135deg, #e3cb94 0%, #c8a464 55%, #a8854a 100%);
  box-shadow: 0 20px 40px -18px rgba(8, 24, 38, 0.6);
  color: var(--river);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  transform: rotate(-8deg);
}

.lodge-seal-big {
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

@media (max-width: 576px) {
  .lodge-seal {
    top: -14px;
    right: 6%;
    width: 92px;
    height: 92px;
    font-size: 0.62rem;
  }

  .lodge-seal-big {
    font-size: 1.5rem;
  }
}

/* ================= LUXURY COTTAGES ================= */

.cottages-home {
  position: relative;
  padding: clamp(80px, 10vw, 130px) 0 clamp(80px, 9vw, 120px);
  background:
    radial-gradient(
      circle at 12% 18%,
      rgba(31, 122, 79, 0.35),
      transparent 40%
    ),
    radial-gradient(
      circle at 88% 85%,
      rgba(200, 164, 100, 0.2),
      transparent 42%
    ),
    var(--river);
  color: var(--mist);
  overflow: hidden;
}

.cottage-tile {
  position: relative;
  height: 520px;
  overflow: hidden;
  border-radius: 36px 8px 36px 8px;
  background: var(--river-deep);
  box-shadow:
    0 30px 60px -34px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(255, 255, 255, 0.06);
  transition:
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    border-radius 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.6s ease;
}

.cottage-tile-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* dark fade at the bottom so the name stays readable */
.cottage-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(8, 24, 38, 0) 45%,
    rgba(8, 24, 38, 0.55) 70%,
    rgba(8, 24, 38, 0.95) 100%
  );
  pointer-events: none;
}

.cottage-tile-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 30px 30px;
  text-align: center;
}

.cottage-tile-name {
  position: relative;
  margin: 0;
  padding-bottom: 14px;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.cottage-tile-name::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  translate: -50% 0;
  width: 32px;
  height: 2px;
  background: var(--bamboo);
  transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.cottage-tile-text {
  max-width: 300px;
  margin: 12px 0 0;
  color: rgba(230, 236, 232, 0.85);
  font-size: 0.9rem;
  line-height: 1.55;
}

.cottage-tile-text span {
  color: var(--bamboo-light);
  font-weight: 500;
}

/* Book Now slides up on hover (always shown on touch screens) */
.cottage-tile-btn {
  max-height: 0;
  margin-top: 0;
  opacity: 0;
  transform: translateY(16px);
  transition:
    max-height 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    margin-top 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.4s ease,
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    border-radius 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.25s ease;
}

.cottage-tile:hover,
.cottage-tile:focus-within {
  border-radius: 8px 36px 8px 36px;
  box-shadow:
    0 44px 80px -34px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(200, 164, 100, 0.55);
  transform: translateY(-8px);
}

.cottage-tile:hover .cottage-tile-img,
.cottage-tile:focus-within .cottage-tile-img {
  transform: scale(1.08);
}

.cottage-tile:hover .cottage-tile-name::after,
.cottage-tile:focus-within .cottage-tile-name::after {
  width: 80px;
}

.cottage-tile:hover .cottage-tile-btn,
.cottage-tile:focus-within .cottage-tile-btn {
  max-height: 60px;
  margin-top: 18px;
  opacity: 1;
  transform: translateY(0);
}

@media (hover: none) {
  .cottage-tile-btn {
    max-height: 60px;
    margin-top: 18px;
    opacity: 1;
    transform: none;
  }
}

/* middle card sits lower on wide screens */
@media (min-width: 768px) {
  .cottage-tiles > div:nth-child(2) .cottage-tile {
    margin-top: 56px;
  }
}

@media (max-width: 767px) {
  .cottage-tile {
    height: 440px;
  }
}

.cottages-home-more {
  margin-top: 64px;
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  .about-img,
  .about-img img,
  .cottage-tile,
  .cottage-tile-img,
  .cottage-tile-name::after,
  .cottage-tile-btn {
    transition: none;
  }
}

/* MOBILE */
@media (max-width: 767px) {
  /* taller on phones so a vertical video fits the screen */
  #hero {
    height: 78vh;
    height: 78svh;
  }

  /* one video at a time, fading into the next */
  .hero-reel {
    display: block;
  }

  .hero-reel-video {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
  }

  .hero-reel-video.is-current {
    opacity: 1;
  }
}

/* ================= NILE BREEZE ACTIVITIES (mosaic) ================= */

.activities-home {
  padding: clamp(80px, 10vw, 120px) 0;
  background: #f2f5f1;
}

/* Mosaic: one large feature tile, wide and tall tiles, and small squares */
.activity-mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(170px, 17vw, 240px);
  grid-template-areas:
    "boat boat camp pool"
    "boat boat drive drive"
    "nile camping jet jet"
    "nile volley wild wild";
  gap: 16px;
}

.tile-boat {
  grid-area: boat;
}
.tile-camp {
  grid-area: camp;
}
.tile-pool {
  grid-area: pool;
}
.tile-drive {
  grid-area: drive;
}
.tile-nile {
  grid-area: nile;
}
.tile-camping {
  grid-area: camping;
}
.tile-jet {
  grid-area: jet;
}
.tile-volley {
  grid-area: volley;
}
.tile-wild {
  grid-area: wild;
}

.tile-boat,
.tile-nile {
  border-radius: 36px 8px 36px 8px;
}

/* dark fade at the bottom so the name is always readable */
.tile-boat .activity-tile-info {
  left: 28px;
  right: 28px;
  bottom: 26px;
}

.tile-boat .activity-tile-name {
  font-size: 1.75rem;
}

.tile-boat .activity-tile-tagline {
  font-size: 1rem;
}

/* keep the important part of a few photos in view */
.tile-wild img {
  object-position: center 30%;
}

.tile-drive img {
  object-position: center 40%;
}

.tile-boat:hover,
.tile-nile:hover {
  border-radius: 8px 36px 8px 36px;
}

.activities-home-more {
  margin-top: clamp(40px, 5vw, 56px);
  text-align: center;
}

/* tablets and phones: two columns, Boat Cruise across the top */
@media (max-width: 767px) {
  .activity-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 170px;
    grid-template-areas:
      "boat boat"
      "boat boat"
      "camp pool"
      "drive drive"
      "nile camping"
      "nile volley"
      "jet jet"
      "wild wild";
    gap: 12px;
  }

  .tile-boat .activity-tile-info {
    left: 20px;
    right: 20px;
    bottom: 18px;
  }

  .tile-boat .activity-tile-name {
    font-size: 1.4rem;
  }
}

/* ================= PHOTO VIEWER ================= */

.photo-viewer {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: clamp(16px, 4vw, 56px);
  border: none;
  background: transparent;
  color: #fff;
  overflow: hidden;
}

.photo-viewer::backdrop {
  background: rgba(5, 15, 24, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.photo-viewer[open] {
  display: grid;
  place-items: center;
  animation: backdropIn 0.35s ease;
}

.photo-viewer-figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
  transition:
    opacity 0.25s ease,
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.photo-viewer.is-changing .photo-viewer-figure {
  opacity: 0;
  transform: scale(0.98);
}

.photo-viewer-figure img {
  display: block;
  max-width: min(1200px, 100%);
  max-height: calc(100dvh - 160px);
  object-fit: contain;
  border-radius: 28px 8px 28px 8px;
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.8);
}

.photo-viewer-caption {
  color: var(--mist-muted);
  font-size: 0.95rem;
  text-align: center;
}

.photo-viewer button {
  position: absolute;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 18px 5px 18px 5px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-size: 1.15rem;
  cursor: pointer;
  transition:
    background-color 0.3s ease,
    border-color 0.3s ease,
    border-radius 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.photo-viewer button:hover {
  border-color: var(--bamboo);
  border-radius: 5px 18px 5px 18px;
  background: rgba(200, 164, 100, 0.25);
}

.photo-viewer button:focus-visible {
  outline: 2px solid var(--bamboo);
  outline-offset: 3px;
}

.photo-viewer-close {
  top: clamp(14px, 3vw, 28px);
  right: clamp(14px, 3vw, 28px);
}

.photo-viewer-prev,
.photo-viewer-next {
  top: 50%;
  translate: 0 -50%;
}

.photo-viewer-prev {
  left: clamp(10px, 3vw, 32px);
}

.photo-viewer-next {
  right: clamp(10px, 3vw, 32px);
}

@media (max-width: 576px) {
  .photo-viewer-prev,
  .photo-viewer-next {
    top: auto;
    bottom: 22px;
    translate: none;
  }
}

.gallery-img:focus-visible {
  outline: 2px solid var(--bamboo);
  outline-offset: 3px;
}

/* ================= EXPERIENCE NILE BREEZE (photo gallery) ================= */

.experience-home {
  padding: clamp(80px, 10vw, 120px) 0;
  background:
    radial-gradient(
      circle at 85% 12%,
      rgba(200, 164, 100, 0.18),
      transparent 40%
    ),
    radial-gradient(circle at 10% 88%, rgba(31, 122, 79, 0.3), transparent 45%),
    var(--river);
}

.gallery-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.row-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.row-complex {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
}

.left-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.gallery-img {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 20px 6px 20px 6px;
  box-shadow: 0 22px 44px -26px rgba(0, 0, 0, 0.8);
  cursor: zoom-in;
  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    border-radius 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.5s ease,
    filter 0.5s ease;
}

.gallery-img:hover {
  border-radius: 6px 20px 6px 20px;
  box-shadow:
    0 30px 54px -24px rgba(0, 0, 0, 0.9),
    0 0 0 2px rgba(200, 164, 100, 0.8);
  filter: brightness(1.06) saturate(1.08);
  transform: translateY(-4px);
}

.big-img,
.row-full img {
  height: clamp(240px, 28vw, 380px);
  object-position: center 60%;
  border-radius: 36px 8px 36px 8px;
}

.big-img:hover {
  border-radius: 8px 36px 8px 36px;
}

.tall-img,
.right-tall img {
  height: 100%;
}

@media (prefers-reduced-motion: reduce) {
  .gallery-img {
    transition: none;
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .row-3,
  .left-stack {
    grid-template-columns: 1fr 1fr;
  }

  .row-3 .gallery-img:nth-child(3) {
    grid-column: 1 / -1;
  }

  .row-complex {
    grid-template-columns: 1fr;
  }

  .gallery-img {
    height: 190px;
  }

  .big-img,
  .row-full img {
    height: 240px;
  }

  .tall-img,
  .right-tall img {
    height: 300px;
  }
}

/* ================= WHAT PEOPLE ARE SAYING ================= */

.reviews-home {
  padding: clamp(80px, 10vw, 120px) 0;
  background: #f2f5f1;
  overflow-x: clip; /* the sliding cards never cause sideways scrolling */
}

/* all cards share one spot, so the slider keeps the height of the longest */
.review-stage {
  display: grid;
}

.reviews-home .review-card {
  position: relative;
  grid-area: 1 / 1;
  margin: 0;
  padding: 56px 48px 40px;
  overflow: hidden;
  border-radius: 36px 8px 36px 8px;
  background: #fff;
  box-shadow: 0 30px 60px -36px rgba(8, 24, 38, 0.45);
  opacity: 0;
  visibility: hidden;
  transform: translateX(40px);
  transition:
    opacity 0.6s ease,
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.8s;
}

.reviews-home .review-card.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.reviews-home .review-card.is-leaving {
  transform: translateX(-40px);
}

/* large soft quotation mark */
.reviews-home .review-card::before {
  content: "“";
  position: absolute;
  top: -18px;
  right: 28px;
  color: rgba(200, 164, 100, 0.22);
  font-size: 11rem;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}

.review-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 22px;
  color: var(--bamboo);
  font-size: 1.05rem;
}

.review-text {
  margin: 0 0 30px;
}

.review-text p {
  margin: 0;
  color: #23364a;
  font-size: 1.15rem;
  line-height: 1.75;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid rgba(12, 34, 50, 0.08);
  color: var(--river);
  font-weight: 600;
}

.review-logo {
  width: 40px;
  height: 40px;
  padding: 4px;
  border-radius: 12px 4px 12px 4px;
  background: #fff;
  box-shadow: 0 6px 16px -6px rgba(8, 24, 38, 0.35);
  object-fit: contain;
}

/* dots: the active one fills up while the review is shown,
   then the next review slides in */
.review-controls {
  display: flex;
  align-items: center;
  margin-top: 28px;
}

.review-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.review-dot {
  position: relative;
  width: 26px;
  height: 26px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* the visible dot */
.review-dot::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background: rgba(12, 34, 50, 0.2);
  translate: -50% -50%;
  transition:
    width 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.3s ease;
}

.review-dot:hover::before {
  background: rgba(12, 34, 50, 0.4);
}

.review-dot.is-active {
  width: 52px;
}

.review-dot.is-active::before {
  width: 44px;
  background: rgba(200, 164, 100, 0.3);
}

/* gold fill showing time until the next review */
.review-dot::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 4px;
  width: 0;
  height: 10px;
  border-radius: 5px;
  background: var(--bamboo);
  translate: 0 -50%;
}

.review-dot.is-active::after {
  animation: reviewDotFill var(--review-delay, 7s) linear forwards;
}

.review-slider.is-paused .review-dot.is-active::after {
  animation-play-state: paused;
}

@keyframes reviewDotFill {
  to {
    width: 44px;
  }
}

.review-dot:focus-visible {
  outline: 2px solid var(--bamboo);
  outline-offset: 2px;
  border-radius: 8px;
}

/* photo with a gold frame set off behind it */
.review-photo {
  position: relative;
  margin: 0;
  padding: 0 0 22px 22px;
}

.review-photo::before {
  content: "";
  position: absolute;
  top: 22px;
  right: 22px;
  bottom: 0;
  left: 0;
  border: 2px solid var(--bamboo);
  border-radius: 40px 10px 40px 10px;
}

.review-photo img {
  position: relative;
  display: block;
  width: 100%;
  border-radius: 40px 10px 40px 10px;
  box-shadow: 0 34px 64px -34px rgba(8, 24, 38, 0.6);
}

/* the photo is a little taller than its natural shape, without cutting anyone off */
.review-photo img {
  aspect-ratio: 5 / 4;
  object-fit: cover;
  object-position: center;
}

@media (min-width: 992px) {
  .review-slider {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
  }
}

.reviews-home-more {
  margin-top: clamp(48px, 6vw, 64px);
  text-align: center;
}

@media (max-width: 576px) {
  .reviews-home .review-card {
    padding: 44px 26px 30px;
  }

  .review-text p {
    font-size: 1.05rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reviews-home .review-card,
  .review-dot,
  .review-dot::before {
    transition: none;
  }

  .review-dot.is-active::after {
    width: 44px;
    animation: none;
  }
}

/* ================= TRAVEL INSIGHTS & TIPS ================= */

.insights-home {
  padding: clamp(80px, 10vw, 120px) 0;
  background: #fff;
}

/* one large feature article on the left, two smaller ones on the right */
.insights-grid {
  display: grid;
  grid-template-columns: 7fr 6fr;
  gap: 24px;
}

.insights-side {
  display: grid;
  gap: 24px;
}

.insight-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 32px 8px 32px 8px;
  background: #f2f5f1;
  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.5s ease,
    opacity 0.8s ease,
    translate 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.insight-card:hover {
  box-shadow: 0 34px 60px -36px rgba(8, 24, 38, 0.55);
  transform: translateY(-4px);
}

.insight-photo {
  display: block;
  overflow: hidden;
}

.insight-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.insight-card:hover .insight-photo img {
  transform: scale(1.06);
}

.is-feature .insight-photo {
  height: clamp(240px, 26vw, 340px);
}

/* side cards: photo on the left, text on the right */
.insight-card.is-side {
  flex-direction: row;
  border-radius: 8px 32px 8px 32px;
}

.is-side .insight-photo {
  flex: 0 0 40%;
}

.insight-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 28px 30px 30px;
}

.insight-meta {
  margin: 0 0 10px;
  color: #8a96a0;
  font-size: 0.82rem;
}

.insight-title {
  margin: 0 0 12px;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.is-feature .insight-title {
  font-size: clamp(1.4rem, 2.2vw, 1.75rem);
}

.insight-title a {
  color: var(--river);
  text-decoration: none;
  transition: color 0.3s ease;
}

/* the title link covers the whole card, so anywhere is clickable */
.insight-title a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.insight-card:hover .insight-title a {
  color: var(--lodge-green);
}

.insight-text {
  display: -webkit-box;
  margin: 0 0 18px;
  overflow: hidden;
  color: #56636e;
  font-size: 0.95rem;
  line-height: 1.7;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.is-feature .insight-text {
  -webkit-line-clamp: 4;
}

.insight-more {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--bamboo);
  color: var(--river);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.3s ease;
}

.insight-card:hover .insight-more {
  gap: 12px;
}

.insight-title a:focus-visible {
  outline: none;
}

.insight-card:focus-within {
  outline: 2px solid var(--bamboo);
  outline-offset: 4px;
}

@media (max-width: 991px) {
  .insights-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .insight-card.is-side {
    flex-direction: column;
    border-radius: 32px 8px 32px 8px;
  }

  .is-side .insight-photo {
    flex: none;
    height: 200px;
  }

  .insight-body {
    padding: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .insight-card,
  .insight-photo img {
    transition: none;
  }
}

/* ---------- PRIMARY COLORS ---------- */
:root {
  --navy-blue: #0b3d91;
  --green: #2e8b57;
  --yellow: #f4c430;
  --light-grey: #f2f2f2;
  --dark-grey: #4f4f4f;
  --accent-color: var(--green); /* for buttons and highlights */
}

/* ===== REVIEWS ===== */

.review-card h6 {
  color: var(--navy-blue);
}

/* Reviews section */
.reviews-section {
  background-color: var(--light-grey);
}

/* Review cards */

.review-card h6 {
  color: var(--navy-blue);
  margin-top: 1rem;
}
@media (min-width: 768px) {
  .review-card h6 {
    text-align: center; /* align text left */
    padding-left: 0.1rem; /* small left padding to adjust position */
  }

  /* Reuse same animation */
  @keyframes heroSlideUpForce {
    from {
      opacity: 0;
      transform: translateY(60px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}
