.va-visitor-info {
  padding: clamp(64px, 5.55vw, 80px) clamp(28px, 6.95vw, 100px);
  background: #eef6fa;
}
.va-visitor-info-head {
  width: min(900px, 100%);
  margin: 0 auto 40px;
  text-align: center;
}
.va-visitor-info-head .va-eyebrow {
  margin-bottom: 8px;
  font-size: 16px;
}
.va-visitor-info-head h2 { font-size: clamp(32px, 2.65vw, 38px); }
.va-visitor-info-head > p:last-child {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}
.va-visitor-grid {
  width: min(960px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(205px, 100%), 1fr));
  gap: 20px;
}
.va-visitor-card {
  min-height: 208px;
  padding: 24px;
  border-radius: var(--va-radius);
  background: #fff;
  box-shadow: 0 8px 20px rgba(65, 65, 65, .05);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  color: var(--va-body);
}
a.va-visitor-card { transition: transform .2s ease, box-shadow .2s ease; }
a.va-visitor-card:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(65, 65, 65, .09); }
.va-visitor-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #e9f5fb;
  display: grid;
  place-items: center;
}
.va-visitor-card-location .va-visitor-icon,
.va-visitor-card-access .va-visitor-icon,
.va-visitor-card-transport .va-visitor-icon { background: #fff2cd; }
.va-visitor-card-beach_type .va-visitor-icon,
.va-visitor-card-type .va-visitor-icon { background: #dfffed; }
.va-visitor-icon img { width: 22px; height: 22px; display: block; object-fit: contain; }
.va-visitor-card strong {
  color: var(--va-dark-blue);
  font: 800 18px/1.25 "Sofia Sans", sans-serif;
}
.va-visitor-card > span:last-child { font-size: 16px; line-height: 1.6; overflow-wrap: anywhere; }

.va-hub-intro { padding-block: clamp(52px, 4.45vw, 64px); }
.va-beaches-grid-section {
  padding: clamp(76px, 8.35vw, 120px) clamp(24px, 5.55vw, 80px);
  background: #fff;
}
.va-beaches-grid {
  width: min(1032px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 44px 16px;
}
.va-beach-card {
  min-width: 0;
  border-radius: var(--va-radius);
  overflow: hidden;
  background: #eef6fa;
  box-shadow: 0 8px 20px rgba(65, 65, 65, .05);
  transition: transform .2s ease, box-shadow .2s ease;
}
.va-beach-card:hover { transform: translateY(-4px); box-shadow: 0 14px 26px rgba(65, 65, 65, .09); }
.va-beach-card-image {
  aspect-ratio: 334 / 250;
  background: linear-gradient(145deg, #cde9f2, #7cbcd0);
  background-image: var(--va-card-image, linear-gradient(145deg, #cde9f2, #7cbcd0));
  background-size: cover;
  background-position: var(--va-card-position, center center);
  background-repeat: no-repeat;
}
.va-beach-card-copy { padding: 24px; }
.va-beach-card-copy h2 {
  margin: 0 0 8px;
  color: var(--va-dark-blue);
  font: 700 22px/1.25 "Sofia Sans", sans-serif;
  text-transform: none;
  overflow-wrap: anywhere;
}
.va-beach-card-copy p { margin: 0; font-size: 16px; line-height: 2; }

@media (max-width: 900px) {
  .va-detail-section.has-media {
    width: min(700px, 100%);
    grid-template-columns: 1fr;
  }
  .va-detail-section:nth-child(even).has-media .va-detail-section-copy,
.va-detail-section:nth-child(even).has-media .va-detail-section-media { order: initial; }
}

@media (max-width: 767px) {
  .va-detail-hero,
.va-hub-hero { min-height: 430px; }
  .va-detail-hero-copy,
.va-hub-hero-copy { width: calc(100% - 40px); }
  .va-detail-hero-copy p,
.va-hub-hero-copy p { font-size: 16px; }
  .va-detail-hero-copy h1,
.va-hub-hero-copy h1 { font-size: clamp(36px, 10vw, 46px); }
  .va-detail-lead,
.va-hub-intro { padding: 42px 20px; }
  .va-detail-lead > p,
.va-hub-intro > p { font-size: 19px; line-height: 1.55; }
  .va-detail-content { padding: 64px 20px; }
  .va-detail-article h2,
.va-detail-section h2,
.va-detail-gallery-head h2,
.va-visitor-info-head h2 { font-size: clamp(30px, 8.4vw, 38px); line-height: 1.15; }
  .va-detail-gallery { padding-top: 52px; padding-bottom: 58px; }
  .va-detail-gallery-head { width: calc(100% - 40px); }
  .va-visitor-info { padding: 58px 20px; }
  .va-visitor-info-head { margin-bottom: 30px; }
  .va-visitor-grid { grid-template-columns: 1fr; gap: 14px; }
  .va-visitor-card { min-height: 0; padding: 20px; }
  .va-beaches-grid-section { padding: 68px 20px; }
  .va-beaches-grid { grid-template-columns: 1fr; gap: 20px; }
  .va-beach-card-image { aspect-ratio: 4 / 3; }
}

@media (max-width: 360px) {
  .va-detail-hero-copy,
.va-hub-hero-copy { width: calc(100% - 32px); }
  .va-detail-hero-copy h1,
.va-hub-hero-copy h1 { font-size: 34px; }
  .va-detail-lead,
.va-hub-intro,
.va-detail-content,
.va-visitor-info,
.va-beaches-grid-section { padding-left: 16px; padding-right: 16px; }
  .va-detail-gallery-head { width: calc(100% - 32px); }
  .va-beach-card-copy { padding: 20px; }
  .va-visitor-card { padding: 18px; }
}


/* Phase 3E.3 — Accommodation and Local Transportation */
.va-editorial-hero {
  position: relative;
  min-height: clamp(430px, 47.5vw, 550px);
  display: grid;
  place-items: center;
  padding: clamp(80px, 9vw, 120px) clamp(24px, 8vw, 100px);
  background: linear-gradient(135deg, #406d84, #8eb9c5);
  background-image: var(--va-editorial-hero, linear-gradient(135deg, #406d84, #8eb9c5));
  background-size: cover;
  background-position: center center;
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.va-editorial-hero-shade { position: absolute; inset: 0; background: rgba(0, 20, 43, .45); }
.va-editorial-hero-copy { position: relative; z-index: 2; width: min(800px, 100%); }
.va-editorial-hero-copy > p:first-child { margin: 0 0 12px; font: 800 16px/1.2 "Sofia Sans", sans-serif; text-transform: uppercase; letter-spacing: .02em; }
.va-editorial-hero-copy h1 { margin: 0; color: #fff; font: 800 clamp(40px, 4.9vw, 56px)/1.14 "Sofia Sans", sans-serif; text-wrap: balance; }
.va-editorial-hero-summary { margin: 18px auto 0; max-width: 720px; color: #eef6fa; font-size: clamp(16px, 1.55vw, 18px); line-height: 1.65; }

.va-feature-row {
  padding: clamp(72px, 8.35vw, 120px) clamp(28px, 9.7vw, 140px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
  gap: clamp(44px, 6.9vw, 80px);
  align-items: center;
  background: #fff;
}
.va-feature-row.is-tint { background: #eef6fa; }
.va-feature-row.is-reversed .va-feature-row-copy { order: 2; }
.va-feature-row.is-reversed .va-feature-row-media { order: 1; }
.va-feature-row-copy { min-width: 0; max-width: 520px; }
.va-feature-row-copy .va-eyebrow { margin-bottom: 18px; font-size: 16px; }
.va-feature-row-copy h2 { margin: 0 0 20px; color: var(--va-dark-blue); font: 800 clamp(34px, 3.8vw, 44px)/1.18 "Sofia Sans", sans-serif; letter-spacing: -.01em; }
.va-feature-row-copy p { margin: 0 0 20px; line-height: 1.75; }
.va-feature-row-media {
  min-width: 0;
  width: 100%;
  aspect-ratio: 9 / 10;
  max-height: 540px;
  margin: 0;
  border-radius: var(--va-radius);
  background: linear-gradient(145deg, #d8edf4, #9ccbd9);
  background-image: var(--va-feature-image, linear-gradient(145deg, #d8edf4, #9ccbd9));
  background-size: cover;
  background-position: var(--va-feature-position, center center);
  box-shadow: 0 8px 40px rgba(65, 65, 65, .05);
}
.va-source-list { margin: 26px 0 34px; padding: 0; list-style: none; display: grid; gap: 10px; }
.va-source-list li { position: relative; padding-left: 20px; line-height: 1.55; }
.va-source-list li::before { content: "•"; position: absolute; left: 0; color: var(--va-blue); font-weight: 800; }
.va-source-list a { color: var(--va-dark-blue); font-weight: 700; }
.va-source-list a:hover { color: var(--va-blue); }

.va-page-stats { padding: clamp(64px, 6.95vw, 90px) clamp(24px, 6.95vw, 100px); background: #eef6fa; }
.va-section-head-centered { margin-inline: auto; text-align: center; }
.va-stat-grid { width: min(960px, 100%); margin: 36px auto 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.va-stat-card { min-height: 150px; padding: 24px; border-radius: var(--va-radius); background: #fff; box-shadow: 0 8px 20px rgba(65,65,65,.05); display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.va-stat-card strong { color: var(--va-blue); font: 800 clamp(30px, 3.2vw, 42px)/1 "Sofia Sans", sans-serif; }
.va-stat-card span { color: var(--va-dark-blue); font: 700 16px/1.4 "Sofia Sans", sans-serif; }

.va-listing-hub { padding: clamp(72px, 8.35vw, 120px) clamp(24px, 5.55vw, 80px); background: #fff; }
.va-listing-hub-tint { background: #eef6fa; }
.va-listing-grid { width: min(1032px, 100%); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr)); gap: 28px 16px; }
.va-listing-card { min-width: 0; border-radius: var(--va-radius); overflow: hidden; background: #fff; box-shadow: 0 8px 20px rgba(65,65,65,.05); transition: transform .2s ease, box-shadow .2s ease; }
.va-listing-card:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(65,65,65,.10); }
.va-listing-card-image { aspect-ratio: 4 / 3; background: linear-gradient(145deg,#d8edf4,#9ccbd9); background-image: var(--va-listing-image, linear-gradient(145deg,#d8edf4,#9ccbd9)); background-size: cover; background-position: var(--va-listing-position, center center); }
.va-listing-card-copy { padding: 22px 24px 25px; }
.va-listing-card-meta { margin: 0 0 6px; color: var(--va-blue); font: 700 16px/1.4 "Sofia Sans", sans-serif; text-transform: uppercase; }
.va-listing-card h3 { margin: 0 0 10px; color: var(--va-dark-blue); font: 800 21px/1.22 "Sofia Sans", sans-serif; overflow-wrap: anywhere; }
.va-listing-card-copy > p:last-child { margin: 0; font-size: 16px; line-height: 1.75; }

@media (max-width: 980px) {
  .va-feature-row { grid-template-columns: 1fr; padding-inline: clamp(28px, 7vw, 64px); }
  .va-feature-row-copy { max-width: 720px; }
  .va-feature-row.is-reversed .va-feature-row-copy,
.va-feature-row.is-reversed .va-feature-row-media { order: initial; }
  .va-feature-row-media { aspect-ratio: 16 / 10; max-height: none; }
  .va-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .va-editorial-hero { min-height: 430px; padding: 86px 20px 64px; }
  .va-editorial-hero-copy h1 { font-size: clamp(36px, 10vw, 46px); }
  .va-editorial-hero-summary { font-size: 16px; line-height: 1.55; }
  .va-feature-row { padding: 64px 20px; gap: 34px; }
  .va-feature-row-copy h2 { font-size: clamp(30px, 8.4vw, 38px); }
  .va-feature-row-media { aspect-ratio: 4 / 3; }
  .va-page-stats,
.va-listing-hub { padding: 64px 20px; }
  .va-stat-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .va-stat-card { min-height: 128px; padding: 20px; }
  .va-listing-grid { grid-template-columns: 1fr; gap: 18px; }
}

@media (max-width: 360px) {
  .va-editorial-hero { padding-left: 16px; padding-right: 16px; }
  .va-editorial-hero-copy h1 { font-size: 34px; }
  .va-feature-row,
.va-page-stats,
.va-listing-hub { padding-left: 16px; padding-right: 16px; }
  .va-feature-row-copy h2 { font-size: 30px; }
  .va-stat-grid { grid-template-columns: 1fr; }
  .va-listing-card-copy { padding: 20px; }
}

/* Phase 3E.4 — Experience, Route and Listing detail templates */
.va-experience-article,
.va-route-content {
  padding: clamp(72px, 8vw, 110px) clamp(24px, 8vw, 100px);
  background: #fff;
}
.va-experience-article .va-detail-article,
.va-route-content .va-detail-article {
  width: min(770px, 100%);
  margin: 0 auto;
}
.va-feature-row-media-img { overflow: hidden; background-image: none; }
.va-feature-row-media-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

.va-related-section {
  padding: clamp(72px, 8vw, 110px) clamp(24px, 5.5vw, 80px);
  background: #eef6fa;
}
.va-related-section .va-section-head-centered { margin-bottom: 42px; }
.va-related-grid {
  width: min(1032px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 20px;
}
.va-related-card {
  min-width: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 20px rgba(65,65,65,.05);
  transition: transform .2s ease, box-shadow .2s ease;
}
.va-related-card:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(65,65,65,.09); }
.va-related-card-image {
  aspect-ratio: 4 / 3;
  background-image: var(--va-related-image);
  background-size: cover;
  background-position: center;
}
.va-related-card-copy { padding: 20px 22px; }
.va-related-card h3 { margin: 0; color: var(--va-dark-blue); font: 800 20px/1.25 "Sofia Sans", sans-serif; }

.va-route-hero { --va-editorial-position: center center; }
.va-route-facts {
  padding: 38px clamp(24px, 5.5vw, 80px);
  background: #eef6fa;
}
.va-route-facts-grid {
  width: min(1032px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr));
  gap: 14px;
}
.va-route-fact {
  min-width: 0;
  padding: 20px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(65,65,65,.04);
}
.va-route-fact span { display: block; margin-bottom: 6px; color: var(--va-blue); font: 700 16px/1.35 "Sofia Sans", sans-serif; text-transform: uppercase; }
.va-route-fact strong { display: block; color: var(--va-dark-blue); font: 800 18px/1.3 "Sofia Sans", sans-serif; overflow-wrap: anywhere; }
.va-route-waypoints { padding: 76px clamp(24px, 8vw, 100px); background: #fff; }
.va-route-waypoints .va-section-head-centered { margin-bottom: 38px; }
.va-route-waypoint-list {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 0;
  list-style: none;
  counter-reset: va-route-stop;
}
.va-route-waypoint-list li {
  counter-increment: va-route-stop;
  position: relative;
  padding: 18px 18px 18px 64px;
  border-bottom: 1px solid #d6ecea;
  color: var(--va-dark-blue);
  font-weight: 700;
}
.va-route-waypoint-list li::before {
  content: counter(va-route-stop);
  position: absolute;
  left: 8px;
  top: 12px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #d9f3ff;
  color: var(--va-dark-blue);
}
.va-route-waypoint-list a { color: inherit; }
.va-route-notes { padding: 72px clamp(24px, 8vw, 100px); background: #eef6fa; }
.va-route-note-grid { width: min(900px, 100%); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 24px; }
.va-route-note-grid article { padding: 28px; border-radius: 12px; background: #fff; }

.va-listing-detail-hero {
  position: relative;
  min-height: clamp(430px, 47vw, 550px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: linear-gradient(145deg, #315e75, #8dc6d3);
  background-image: var(--va-listing-detail-image, linear-gradient(145deg, #315e75, #8dc6d3));
  background-size: cover;
  background-position: center;
}
.va-listing-detail-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,20,43,.78), rgba(0,20,43,.16) 70%); }
.va-listing-detail-hero-copy { position: relative; z-index: 2; width: min(980px, calc(100% - 80px)); margin: 0 auto; padding: 70px 0; color: #fff; }
.va-listing-detail-hero-copy > p:first-child { margin: 0 0 10px; font: 800 16px/1.3 "Sofia Sans", sans-serif; text-transform: uppercase; letter-spacing: .04em; }
.va-listing-detail-hero-copy h1 { margin: 0; color: #fff; font: 800 clamp(38px, 4.6vw, 56px)/1.12 "Sofia Sans", sans-serif; text-wrap: balance; overflow-wrap: anywhere; }
.va-listing-detail-location { margin: 14px 0 0; color: #eef6fa; font-weight: 600; }
.va-listing-detail-main {
  width: min(1032px, calc(100% - 80px));
  margin: 0 auto;
  padding: clamp(72px, 8vw, 110px) 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: clamp(42px, 6vw, 72px);
  align-items: start;
}
.va-listing-detail-lead { margin: 0 0 30px; color: var(--va-dark-blue); font: 700 clamp(20px, 2vw, 24px)/1.55 Manrope, sans-serif; }
.va-listing-detail-content { font-size: 16px; line-height: 1.85; }
.va-listing-contact-card { position: sticky; top: 28px; padding: 28px; border-radius: 12px; background: #eef6fa; }
.va-listing-contact-card h2 { margin: 0 0 24px; color: var(--va-dark-blue); font: 800 26px/1.2 "Sofia Sans", sans-serif; }
.va-contact-row { padding: 14px 0; border-bottom: 1px solid #cfe4eb; }
.va-contact-row span { display: block; margin-bottom: 4px; color: var(--va-body); font-size: 16px; text-transform: uppercase; }
.va-contact-row strong,
.va-contact-row a { color: var(--va-dark-blue); font-weight: 700; overflow-wrap: anywhere; }
.va-listing-contact-card .va-button { margin-top: 18px; width: 100%; }
.va-button-outline { background: transparent; color: var(--va-blue); border: 1px solid var(--va-blue); }
.va-map-link { display: inline-block; margin-top: 20px; color: var(--va-dark-blue); font-weight: 700; }
.va-listing-features { padding: 70px clamp(24px, 8vw, 100px); background: #eef6fa; }
.va-listing-feature-grid { width: min(900px, 100%); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 24px; }
.va-listing-feature-grid article { padding: 28px; border-radius: 12px; background: #fff; }
.va-listing-feature-grid ul { margin: 18px 0 0; padding-left: 20px; }
.va-listing-feature-grid li { margin-bottom: 8px; }

@media (max-width: 900px) {
  .va-listing-detail-main { grid-template-columns: 1fr; }
  .va-listing-contact-card { position: static; }
}

@media (max-width: 767px) {
  .va-experience-article,
.va-route-content,
.va-route-waypoints,
.va-route-notes,
.va-related-section,
.va-listing-features { padding-left: 20px; padding-right: 20px; }
  .va-route-facts { padding-left: 20px; padding-right: 20px; }
  .va-route-facts-grid { grid-template-columns: 1fr 1fr; }
  .va-listing-detail-hero-copy { width: calc(100% - 40px); padding: 54px 0; }
  .va-listing-detail-main { width: calc(100% - 40px); padding: 64px 0; gap: 34px; }
  .va-related-grid { grid-template-columns: 1fr; }
}

@media (max-width: 360px) {
  .va-experience-article,
.va-route-content,
.va-route-waypoints,
.va-route-notes,
.va-related-section,
.va-listing-features,
.va-route-facts { padding-left: 16px; padding-right: 16px; }
  .va-route-facts-grid { grid-template-columns: 1fr; }
  .va-listing-detail-hero-copy { width: calc(100% - 32px); }
  .va-listing-detail-main { width: calc(100% - 32px); }
  .va-listing-contact-card { padding: 22px; }
}


/* Phase 3E.5 — continuous responsive + visual consolidation */
:root {
  --va-content-max: 1032px;
  --va-editorial-max: 880px;
  --va-reading-max: 770px;
  --va-page-gutter: clamp(24px, 4vw, 64px);
  --va-shadow-soft: 0 8px 24px rgba(65,65,65,.06);
  --va-shadow-photo: 0 8px 40px rgba(65,65,65,.05);
}

body {
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

:where(a, button, [tabindex]):focus-visible {
  outline: 3px solid rgba(35,167,250,.45);
  outline-offset: 3px;
}














/* Keep full-bleed section backgrounds while preventing editorial content from stretching forever. */
.va-section {
  padding-inline: max(var(--va-page-gutter), calc((100% - var(--va-content-max)) / 2));
}
.va-places,
.va-experiences {
  padding-inline: max(var(--va-page-gutter), calc((100% - var(--va-content-max)) / 2));
}
.va-footer {
  padding-inline: max(var(--va-page-gutter), calc((100% - var(--va-content-max)) / 2));
}
.va-footer-grid,
.va-footer-bottom {
  width: min(var(--va-content-max), 100%);
  margin-inline: auto;
}
.va-feature-row {
  padding-inline: max(28px, calc((100% - var(--va-editorial-max)) / 2));
}
.va-feature-row-copy { max-width: 434px; }
.va-page-stats,
.va-listing-hub,
.va-related-section,
.va-route-facts,
.va-route-waypoints,
.va-route-notes,
.va-listing-features {
  padding-inline: max(var(--va-page-gutter), calc((100% - var(--va-content-max)) / 2));
}

.va-section-head { max-width: 720px; }
.va-prose,
.va-body-copy,
.va-basic-content,
.va-listing-detail-content { text-wrap: pretty; }
.va-prose { line-height: 1.82; }
.va-eyebrow {
  letter-spacing: .055em;
  overflow-wrap: anywhere;
}

/* One heading rhythm across page families. */
.va-detail-hero-copy h1,
.va-hub-hero-copy h1,
.va-editorial-hero-copy h1,
.va-listing-detail-hero-copy h1 {
  font-size: clamp(40px, 4.1vw, 56px);
  line-height: 1.1;
  text-wrap: balance;
}
.va-detail-article h2,
.va-detail-section h2,
.va-feature-row-copy h2,
.va-section-head h2,
.va-section-head-centered h2,
.va-detail-gallery-head h2,
.va-visitor-info-head h2 {
  text-wrap: balance;
}

/* Images: preserve source proportions, crop only inside intentional media frames. */
figure { max-width: 100%; }
.va-media-card,
.va-feature-row-media,
.va-detail-section-media,
.va-gallery-slide,
.va-beach-card-image,
.va-listing-card-image,
.va-related-card-image,
.va-experience-image {
  overflow: hidden;
}
.va-feature-row-media-img img,
.va-detail-section-media img,
.va-gallery-slide img {
  object-position: var(--va-media-position, center center);
}
.va-feature-row-media,
.va-listing-card,
.va-beach-card,
.va-related-card,
.va-visitor-card,
.va-route-fact,
.va-stat-card {
  box-shadow: var(--va-shadow-soft);
}

/* Large desktops and ultrawide: backgrounds can breathe, readable content stays bounded. */
@media (min-width: 1200px) {



  .va-hero-content { padding-inline: max(64px, calc((100% - var(--va-content-max)) / 2)); }
  .va-hero h1 { width: min(650px, 64%); }
  .va-info-strip {
    left: max(64px, calc((100% - var(--va-content-max)) / 2));
    right: max(64px, calc((100% - var(--va-content-max)) / 2));
  }
  .va-detail-content { padding-inline: max(64px, calc((100% - var(--va-content-max)) / 2)); }
  .va-visitor-info { padding-inline: max(64px, calc((100% - 960px) / 2)); }
  .va-beaches-grid-section { padding-inline: max(64px, calc((100% - var(--va-content-max)) / 2)); }
  .va-listing-detail-main { width: min(var(--va-content-max), calc(100% - 128px)); }
}

/* Tablet is its own behavior range, not a scaled desktop screenshot. */
@media (min-width: 768px) and (max-width: 1199px) {
  .va-section,
.va-places,
.va-experiences,
.va-footer { padding-inline: clamp(40px, 6vw, 64px); }
  .va-feature-row { padding-inline: clamp(40px, 7vw, 72px); }
  .va-page-stats,
.va-listing-hub,
.va-related-section,
.va-route-facts,
.va-route-waypoints,
.va-route-notes,
.va-listing-features { padding-inline: clamp(40px, 6vw, 64px); }
  .va-footer-grid { gap: 36px; }
}

/* Mobile: 360px is a first-class target. */
@media (max-width: 767px) {






  .va-hero { min-height: 600px; }
  .va-hero-content { min-height: 400px; padding-top: 82px; }
  .va-hero h1 { font-size: clamp(34px, 10vw, 44px); }
  .va-info-strip { bottom: 18px; }

  .va-section,
.va-places,
.va-experiences,
.va-footer,
.va-feature-row,
.va-page-stats,
.va-listing-hub,
.va-related-section,
.va-route-facts,
.va-route-waypoints,
.va-route-notes,
.va-listing-features { padding-inline: 20px; }

  .va-editorial-hero,
.va-detail-hero,
.va-hub-hero,
.va-listing-detail-hero { min-height: 410px; }
  .va-editorial-hero { padding: 80px 20px 58px; }
  .va-detail-hero-copy h1,
.va-hub-hero-copy h1,
.va-editorial-hero-copy h1,
.va-listing-detail-hero-copy h1 { font-size: clamp(34px, 9.6vw, 42px); }

  .va-feature-row { gap: 30px; padding-block: 62px; }
  .va-feature-row-media { aspect-ratio: 4 / 3; max-height: none; }
  .va-detail-gallery-head,
.va-visitor-info-head { text-align: left; }
  .va-detail-gallery-head { margin-bottom: 28px; }
  .va-visitor-grid { gap: 12px; }
  .va-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .va-route-facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .va-footer { padding-top: 58px; padding-bottom: 30px; }
  .va-footer-logo { width: min(150px, 50vw); height: auto; }
  .va-footer-logo img { width: 100%; height: auto; }
}

@media (max-width: 420px) {


  .va-section,
.va-places,
.va-experiences,
.va-footer,
.va-feature-row,
.va-page-stats,
.va-listing-hub,
.va-related-section,
.va-route-facts,
.va-route-waypoints,
.va-route-notes,
.va-listing-features { padding-inline: 18px; }
}

@media (max-width: 360px) {
  .va-section,
.va-places,
.va-experiences,
.va-footer,
.va-feature-row,
.va-page-stats,
.va-listing-hub,
.va-related-section,
.va-route-facts,
.va-route-waypoints,
.va-route-notes,
.va-listing-features { padding-inline: 16px; }
  .va-hero { min-height: 580px; }
  .va-hero-content { min-height: 384px; padding-inline: 16px; }
  .va-info-strip { left: 12px; right: 12px; padding: 18px 16px; }
  .va-detail-hero-copy,
.va-hub-hero-copy,
.va-listing-detail-hero-copy { width: calc(100% - 32px); }
  .va-editorial-hero { padding-left: 16px; padding-right: 16px; }
  .va-stat-grid,
.va-route-facts-grid { grid-template-columns: 1fr; }
  .va-listing-detail-main { width: calc(100% - 32px); }
  .va-button { width: 100%; }
}

/* WordPress admin bar should not sit on top of the fixed navigation. */




@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
*::before,
*::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
