.vc-media-section,
.vc-map-section {
  box-sizing: border-box;
  width: 100%;
  max-width: 940px;
  margin: 64px auto;
}

.vc-media-section {
  position: static;
  left: auto;
  width: min(1240px, calc(100vw - 48px)) !important;
  max-width: 1240px !important;
  margin-right: auto !important;
  margin-left: auto !important;
  transform: none;
}

.vc-section > .vc-media-section {
  width: min(1240px, calc(100vw - 48px)) !important;
  max-width: 1240px !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

.vc-media-section > .vc-kicker,
.vc-media-section > h2,
.vc-media-section > .vc-media-grid {
  width: 100%;
  max-width: none !important;
}

.vc-media-section > .vc-kicker,
.vc-map-section .vc-kicker {
  margin-bottom: 8px;
}

.vc-media-section > h2,
.vc-map-section h2 {
  margin-top: 0;
  color: #173e2f;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.05;
}

.vc-carousel-shell {
  position: relative;
  overflow: hidden;
  margin-top: 0;
  border-radius: 22px;
  background: #173e2f;
  box-shadow: 0 22px 58px rgba(17, 55, 41, .18);
}

.vc-media-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 3fr) minmax(280px, 2fr);
  align-items: stretch !important;
  gap: clamp(24px, 4vw, 48px) !important;
  margin-top: 30px !important;
}

.vc-media-gallery {
  display: flex;
}

.vc-media-gallery .vc-carousel-shell,
.vc-media-gallery .vc-destination-carousel,
.vc-media-gallery .vc-destination-carousel > figure.wp-block-image {
  height: 100%;
}

.vc-media-gallery .vc-carousel-shell {
  width: 100%;
  min-height: 500px;
}

.vc-media-gallery .vc-destination-carousel > figure.wp-block-image {
  min-height: 500px;
  aspect-ratio: auto;
}

.vc-media-grid > * {
  min-width: 0;
}

.vc-media-story {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid #dfe8e2;
  border-radius: 22px;
  background: #f4f7f3;
}

.vc-media-story h3 {
  margin: 6px 0 20px;
  color: #173e2f;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.08;
}

.vc-media-story p {
  color: #52675d;
  line-height: 1.7;
}

.vc-media-story .vc-story-note {
  margin: 10px 0 0;
  padding-top: 18px;
  border-top: 1px solid #d7e2db;
  color: #173e2f;
  font-size: .94rem;
}

.vc-destination-carousel {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 0 !important;
  transition: transform .45s cubic-bezier(.2,.7,.2,1);
  will-change: transform;
}

.vc-destination-carousel > figure.wp-block-image {
  flex: 0 0 100% !important;
  width: 100% !important;
  max-width: none !important;
  aspect-ratio: 16 / 9;
  margin: 0 !important;
}

.vc-destination-carousel > figure.wp-block-image img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.vc-carousel-control {
  position: absolute;
  z-index: 3;
  top: 50%;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  color: #173e2f;
  font-size: 1.45rem;
  font-weight: 900;
  cursor: pointer;
  transform: translateY(-50%);
  box-shadow: 0 6px 20px rgba(0,0,0,.18);
}

.vc-carousel-control:hover,
.vc-carousel-control:focus-visible {
  background: #f4bf4f;
}

.vc-carousel-prev { left: 18px; }
.vc-carousel-next { right: 18px; }

.vc-carousel-dots {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 18px;
  left: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.vc-carousel-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 50%;
  background: rgba(255,255,255,.35);
  cursor: pointer;
}

.vc-carousel-dot.is-active { background: #f4bf4f; border-color: #f4bf4f; }

.vc-map-caption {
  margin-top: 14px;
  color: #68776f;
}

.vc-gallery-help {
  display: none !important;
}

.vc-map-section {
  padding: clamp(26px, 5vw, 48px);
  border: 1px solid #dfe8e2;
  border-radius: 22px;
  background: #f4f7f3;
}

.vc-map-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 26px;
}

.vc-map-heading h2 { margin-bottom: 0; }

.vc-map-heading > a {
  flex: 0 0 auto;
  padding: 12px 17px;
  border-radius: 999px;
  background: #173e2f;
  color: #fff !important;
  font-weight: 800;
  text-decoration: none;
}

.vc-map-frame {
  overflow: hidden;
  border-radius: 16px;
  background: #dfe8e2;
}

.vc-map-frame iframe { display: block; width: 100%; }

@media (max-width: 680px) {
  .vc-media-section,
  .vc-map-section {
    margin: 48px auto;
  }

  .vc-map-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .vc-map-frame iframe { height: 360px; }
  .vc-carousel-control { width: 40px; height: 40px; }
  .vc-carousel-prev { left: 10px; }
  .vc-carousel-next { right: 10px; }
}

@media (max-width: 820px) {
  .vc-media-section {
    left: auto;
    width: min(100%, calc(100vw - 32px)) !important;
    max-width: 100% !important;
    transform: none;
  }

  .vc-media-grid {
    grid-template-columns: 1fr;
  }

  .vc-media-story {
    min-height: 0;
  }

  .vc-media-gallery .vc-carousel-shell,
  .vc-media-gallery .vc-destination-carousel,
  .vc-media-gallery .vc-destination-carousel > figure.wp-block-image {
    height: auto;
  }

  .vc-media-gallery .vc-carousel-shell,
  .vc-media-gallery .vc-destination-carousel > figure.wp-block-image {
    min-height: 0;
  }

  .vc-media-gallery .vc-destination-carousel > figure.wp-block-image {
    aspect-ratio: 16 / 9;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vc-destination-carousel { transition: none; }
}
