/*
Theme Name: Varsity Shores
Description: A calm, editorial WordPress theme for Varsity Shores student accommodation.
Version: 0.5.1
Requires at least: 6.5
Requires PHP: 8.1
Author: Varsity Shores
Text Domain: varsity-shores
*/

:root {
  --vs-canvas: #f8f7f4;
  --vs-surface: #ffffff;
  --vs-ink: #1e2938;
  --vs-muted: #66717f;
  --vs-plum: #6d439c;
  --vs-plum-dark: #56357d;
  --vs-line: #e5e0d9;
  --vs-radius: 24px;
  --vs-content: 1200px;
  --vs-font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  --vs-type-display: clamp(2.625rem, 4.2vw, 4rem);
  --vs-type-section: clamp(2rem, 3.2vw, 3rem);
  --vs-type-subsection: clamp(1.5rem, 2.4vw, 2rem);
  --vs-type-body: 1rem;
  --vs-type-body-large: clamp(1rem, 1.25vw, 1.125rem);
}

html { scroll-behavior: smooth; }
body {
  background: var(--vs-canvas);
  color: var(--vs-ink);
  font-family: var(--vs-font-family);
  font-size: var(--vs-type-body);
  line-height: 1.5;
}
button,
input,
select,
textarea { font-family: var(--vs-font-family); }
h1,
h2,
h3,
h4,
h5,
h6 { font-family: var(--vs-font-family); font-weight: 650; }
a { color: inherit; }

.vs-site-header__inner,
.vs-footer__inner,
.vs-main,
.wp-site-blocks > .vs-home-hero,
.wp-site-blocks > .vs-home-facts,
.wp-site-blocks > .vs-home-context,
.wp-site-blocks > .vs-home-gateway,
.wp-site-blocks > .vs-home-services,
.wp-site-blocks > .vs-home-cta {
  margin-inline: auto;
  width: min(calc(100% - 56px), var(--vs-content));
}

.vs-site-header {
  background: rgba(248, 247, 244, .94);
  border-bottom: 1px solid var(--vs-line);
  position: sticky;
  top: 0;
  z-index: 50;
}

.vs-site-header__inner,
.vs-footer__inner {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding: 18px 0;
}

.vs-brand { display: inline-flex; line-height: 0; }
.vs-brand img { display: block; height: auto; }
.vs-brand__word { width: 160px; }
.vs-brand__compact { display: none !important; width: 52px; }
.vs-primary-nav { align-items: center; display: flex; gap: clamp(14px, 2vw, 28px); }
.vs-primary-nav a { color: var(--vs-ink); font-size: 15px; font-weight: 650; text-decoration: none; }
.vs-primary-nav a:hover { color: var(--vs-plum); }
.vs-primary-nav .vs-nav-apply {
  background: var(--vs-plum);
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(86, 53, 125, .16);
  color: #fff;
  padding: 11px 17px;
}
.vs-primary-nav .vs-nav-apply:hover { background: var(--vs-plum-dark); color: #fff; }
.vs-mobile-nav { display: none; position: relative; }
.vs-mobile-nav summary { align-items: center; border: 1px solid var(--vs-line); border-radius: 999px; color: var(--vs-ink); cursor: pointer; display: inline-flex; font-size: 15px; font-weight: 750; min-height: 44px; padding: 0 16px; }
.vs-mobile-nav summary::-webkit-details-marker { display: none; }
.vs-mobile-nav nav { background: var(--vs-surface); border: 1px solid var(--vs-line); border-radius: 16px; box-shadow: 0 16px 32px rgba(30, 41, 56, .12); display: grid; gap: 2px; padding: 8px; position: absolute; right: 0; top: calc(100% + 10px); width: min(280px, calc(100vw - 36px)); }
.vs-mobile-nav a { border-radius: 10px; color: var(--vs-ink); font-size: 16px; font-weight: 700; padding: 12px; text-decoration: none; }
.vs-mobile-nav a:hover { background: var(--vs-canvas); color: var(--vs-plum); }
.vs-mobile-nav .vs-nav-apply { background: var(--vs-plum); color: #fff; margin-top: 4px; text-align: center; }
.vs-mobile-nav .vs-nav-apply:hover { background: var(--vs-plum-dark); color: #fff; }
.vs-primary-nav a:focus-visible,
.vs-mobile-nav summary:focus-visible,
.vs-mobile-nav a:focus-visible,
.vs-button:focus-visible { outline: 3px solid #2f77c8; outline-offset: 3px; }

.vs-main { padding: clamp(52px, 7vw, 96px) 0; }
.vs-home { padding-top: clamp(58px, 8vw, 104px); }
.wp-site-blocks > .vs-home-hero { margin-top: clamp(58px, 8vw, 104px); }
.wp-site-blocks > .vs-home-cta { margin-bottom: clamp(52px, 7vw, 96px); }
.vs-eyebrow { color: var(--vs-plum); font-size: 13px; font-weight: 750; letter-spacing: .15em; margin: 0 0 20px; text-transform: uppercase; }
.vs-home-hero h1 { font-size: var(--vs-type-display); letter-spacing: -.055em; line-height: 1.02; margin: 0; }
.vs-page-intro h1 { font-size: var(--vs-type-display); letter-spacing: -.055em; line-height: 1.02; margin: 0; max-width: 720px; }
.vs-home-hero__intro { margin-inline: auto; max-width: 760px; text-align: center; }
.vs-home-hero__intro > p:not(.vs-eyebrow) { color: var(--vs-muted); font-size: var(--vs-type-body-large); line-height: 1.58; margin: 22px auto 30px; max-width: 58ch; }
.vs-button {
  align-items: center;
  background: var(--vs-plum);
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(86, 53, 125, .18);
  color: #fff;
  display: inline-flex;
  font-size: 16px;
  font-weight: 750;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  text-decoration: none;
}
.vs-button:hover { background: var(--vs-plum-dark); color: #fff; }
.vs-home-hero__map { border: 1px solid var(--vs-line); border-radius: 28px; margin: clamp(42px, 6vw, 72px) 0 0; overflow: hidden; }
.vs-home-hero__map img { display: block; height: auto; object-fit: contain; width: 100%; }
.vs-home-facts { border-bottom: 1px solid var(--vs-line); margin-top: clamp(38px, 5vw, 56px); padding-bottom: clamp(38px, 5vw, 56px); }
.vs-home-facts__grid { display: grid; gap: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; }
.vs-home-facts__grid li { display: grid; gap: 5px; min-width: 0; padding: 4px clamp(20px, 3vw, 38px); }
.vs-home-facts__grid li:first-child { padding-left: 0; }
.vs-home-facts__grid li + li { border-left: 1px solid var(--vs-line); }
.vs-home-facts__grid strong { font-size: 18px; letter-spacing: -.02em; }
.vs-home-facts__grid span { color: var(--vs-muted); font-size: 14px; }
.vs-home-context,
.vs-home-gateway,
.vs-home-services,
.vs-home-cta { margin-top: clamp(68px, 9vw, 116px); }
.vs-home-context { align-items: start; display: grid; gap: clamp(32px, 7vw, 112px); grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.vs-home-context h2, .vs-home-gateway h2, .vs-home-services h2, .vs-home-cta h2, .vs-page-intro h2 { font-size: var(--vs-type-section); letter-spacing: -.045em; line-height: 1.08; margin: 0; }
.vs-home-context__body > p, .vs-home-gateway > p:not(.vs-eyebrow), .vs-home-services p:not(.vs-eyebrow), .vs-home-cta p:not(.vs-eyebrow) { color: var(--vs-muted); font-size: var(--vs-type-body-large); line-height: 1.58; margin: 0; max-width: 56ch; }
.vs-home-context__body { display: grid; gap: 24px; }
.vs-home-context__body ul { display: grid; gap: 10px; list-style: none; margin: 0; padding: 0; }
.vs-home-context__body li { border-top: 1px solid var(--vs-line); font-weight: 700; padding-top: 12px; }
.vs-home-gateway { border-top: 1px solid var(--vs-line); padding-top: clamp(38px, 5vw, 56px); }
.vs-home-gateway > p:not(.vs-eyebrow) { margin: 18px 0 30px; }
.vs-home-gateway__grid,
.vs-home-services__list { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.vs-home-gateway__grid a { background: var(--vs-surface); border: 1px solid var(--vs-line); border-radius: 18px; color: var(--vs-ink); display: grid; gap: 8px; min-height: 160px; padding: clamp(22px, 3vw, 30px); text-decoration: none; }
.vs-home-gateway__grid a:hover { border-color: var(--vs-plum); }
.vs-home-gateway__grid span { color: var(--vs-plum); font-size: 13px; font-weight: 750; letter-spacing: .12em; }
.vs-home-gateway__grid strong { font-size: var(--vs-type-subsection); letter-spacing: -.035em; }
.vs-home-gateway__grid small { color: var(--vs-muted); font-size: 15px; }
.vs-home-services { align-items: start; border-top: 1px solid var(--vs-line); display: grid; gap: clamp(32px, 7vw, 112px); grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); padding-top: clamp(38px, 5vw, 56px); }
.vs-home-services > div:last-child { align-self: end; }
.vs-home-services p:not(.vs-eyebrow) { margin-top: 18px; }
.vs-home-services__list { list-style: none; margin: 0 0 22px; padding: 0; }
.vs-home-services__list li { border-top: 1px solid var(--vs-line); font-size: 18px; font-weight: 700; padding-top: 16px; }
.vs-home-cta { align-items: center; background: var(--vs-surface); border: 1px solid var(--vs-line); border-radius: var(--vs-radius); display: flex; gap: 28px; justify-content: space-between; padding: clamp(28px, 5vw, 54px); }
.vs-home-cta p:not(.vs-eyebrow) { margin-top: 18px; }
.vs-home-cta .vs-button { flex: 0 0 auto; }
.vs-text-link { color: var(--vs-plum); font-weight: 750; text-decoration: none; white-space: nowrap; }
.vs-text-link:hover { text-decoration: underline; }

.vs-page-intro { border-bottom: 1px solid var(--vs-line); margin-bottom: 48px; padding-bottom: 32px; }
.vs-page-intro p { color: var(--vs-muted); font-size: var(--vs-type-body-large); line-height: 1.55; margin: 18px 0 0; max-width: 650px; }
.vs-page-body { display: grid; gap: 48px; }
.vs-copy-grid { display: grid; gap: 30px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.vs-copy-grid article { border-top: 1px solid var(--vs-line); padding-top: 20px; }
.vs-copy-grid h2 { font-size: 24px; letter-spacing: -.025em; margin: 0 0 12px; }
.vs-copy-grid p, .vs-copy-grid li { color: var(--vs-muted); line-height: 1.6; }
.vs-copy-grid ul { margin: 0; padding-left: 20px; }

.vs-accommodation-page { display: grid; gap: clamp(36px, 5vw, 64px); padding-top: clamp(36px, 5vw, 72px); }
.vs-accommodation-page > .wp-block-shortcode { margin: 0; }
.vs-accommodation-page .vs-preview-root { margin-inline: auto; max-width: var(--vs-content); width: 100%; }

.vs-villa-types-page { display: grid; gap: clamp(46px, 6vw, 78px); }
.wp-site-blocks > .vs-villa-types-page {
  margin-inline: auto;
  padding-block: clamp(52px, 7vw, 96px);
  width: min(calc(100% - 56px), var(--vs-content));
}
.vs-villa-types-page .vs-page-intro { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.vs-villa-types-page .vs-page-intro h1 { max-width: 780px; }
.vs-villa-types-page .vs-page-intro p:not(.vs-eyebrow) { max-width: 720px; }
.vs-villa-directory-wrap { margin: 0; }
.vs-villa-directory { display: grid; gap: clamp(48px, 7vw, 84px); }
.vs-villa-filter { align-items: end; display: flex; gap: 28px; justify-content: space-between; }
.vs-villa-filter__label { font-size: 18px; font-weight: 700; letter-spacing: -.02em; margin: 0 0 14px; }
.vs-villa-filter__controls { display: flex; flex-wrap: wrap; gap: 10px; }
.vs-villa-filter__button {
  background: var(--vs-surface);
  border: 1px solid var(--vs-line);
  border-radius: 999px;
  color: var(--vs-muted);
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  min-height: 44px;
  padding: 0 18px;
}
.vs-villa-filter__button:hover { border-color: #cbbbdc; color: var(--vs-plum); }
.vs-villa-filter__button.is-active { background: var(--vs-plum); border-color: var(--vs-plum); color: #fff; }
.vs-villa-filter__button:focus-visible { outline: 3px solid #2f77c8; outline-offset: 3px; }
.vs-villa-filter__status { color: var(--vs-muted); flex: 0 0 auto; font-size: 14px; margin: 0 0 10px; }
.vs-villa-filter__status span { color: var(--vs-ink); font-weight: 750; }
[data-villa-card][hidden] { display: none !important; }
.vs-villa-card {
  background: var(--vs-surface);
  border: 1px solid var(--vs-line);
  min-width: 0;
}
.vs-villa-card--featured { border-radius: var(--vs-radius); display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); overflow: hidden; }
.vs-villa-card--featured .vs-villa-card__plan { align-items: center; background: #fbfaf7; display: flex; justify-content: center; min-height: 560px; padding: clamp(26px, 4vw, 48px); }
.vs-villa-card--featured .vs-villa-card__content { align-self: center; padding: clamp(34px, 6vw, 72px); }
.vs-villa-card__floorplan { display: block; height: auto; max-height: 520px; object-fit: contain; width: 100%; }
.vs-villa-card__eyebrow { color: var(--vs-plum); font-size: 12px; font-weight: 750; letter-spacing: .15em; margin: 0 0 12px; text-transform: uppercase; }
.vs-villa-card__title { font-size: var(--vs-type-subsection); letter-spacing: -.035em; line-height: 1.1; margin: 0; }
.vs-villa-card--featured .vs-villa-card__title { font-size: clamp(2rem, 3.4vw, 3rem); }
.vs-villa-card__description { border-top: 1px solid var(--vs-line); color: var(--vs-muted); line-height: 1.6; margin: 26px 0 0; padding-top: 24px; }
.vs-villa-card__description > :first-child { margin-top: 0; }
.vs-villa-card__description > :last-child { margin-bottom: 0; }
.vs-villa-card__details { display: grid; gap: 0; margin: 28px 0 0; }
.vs-villa-card__details > div { align-items: baseline; border-top: 1px solid var(--vs-line); display: grid; gap: 18px; grid-template-columns: minmax(120px, 1fr) auto; min-width: 0; padding: 13px 0; }
.vs-villa-card__details dt { color: var(--vs-muted); font-size: 12px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.vs-villa-card__details dd { font-size: 18px; font-weight: 750; margin: 0; text-align: right; }
.vs-villa-card__link { align-items: center; background: var(--vs-plum); border-radius: 999px; color: #fff; display: inline-flex; font-weight: 750; margin-top: 28px; min-height: 48px; padding: 0 22px; text-decoration: none; width: fit-content; }
.vs-villa-card__link:hover { background: var(--vs-plum-dark); }
.vs-villa-card__link:focus-visible { outline: 3px solid #2f77c8; outline-offset: 3px; }
.vs-villa-catalogue-section { display: grid; gap: 22px; }
.vs-villa-catalogue__heading { align-items: end; display: flex; gap: 28px; justify-content: space-between; }
.vs-villa-catalogue__heading h2 { font-size: var(--vs-type-section); letter-spacing: -.045em; line-height: 1.08; margin: 0; }
.vs-villa-catalogue__heading p { color: var(--vs-muted); font-size: 14px; margin: 0 0 4px; }
.vs-villa-catalogue { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.vs-villa-card--compact { border-radius: 18px; display: grid; grid-template-columns: minmax(126px, .72fr) minmax(0, 1.28fr); overflow: hidden; }
.vs-villa-card--compact .vs-villa-card__plan { align-items: center; background: #fbfaf7; display: flex; justify-content: center; padding: 18px; }
.vs-villa-card--compact .vs-villa-card__floorplan { max-height: 220px; }
.vs-villa-card--compact .vs-villa-card__content { align-self: center; padding: 22px 24px; }
.vs-villa-card--compact .vs-villa-card__title { font-size: 22px; }
.vs-villa-card--compact .vs-villa-card__details { margin-top: 16px; }
.vs-villa-card--compact .vs-villa-card__details > div { gap: 10px; grid-template-columns: minmax(94px, 1fr) auto; padding: 8px 0; }
.vs-villa-card--compact .vs-villa-card__details dt { font-size: 10px; }
.vs-villa-card--compact .vs-villa-card__details dd { font-size: 15px; }
.vs-villa-overview { background: var(--vs-surface); border: 1px solid var(--vs-line); border-radius: var(--vs-radius); padding: clamp(28px, 5vw, 52px); }
.vs-villa-overview__heading h2 { font-size: 30px; letter-spacing: -.04em; margin: 0; }
.vs-villa-overview__heading p { color: var(--vs-muted); margin: 8px 0 0; }
.vs-villa-overview__groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 30px; }
.vs-villa-overview__groups > div { min-width: 0; padding: 0 28px; }
.vs-villa-overview__groups > div:first-child { padding-left: 0; }
.vs-villa-overview__groups > div + div { border-left: 1px solid var(--vs-line); }
.vs-villa-overview__groups h3 { font-size: 16px; margin: 0 0 12px; }
.vs-villa-overview__groups ul { color: var(--vs-muted); display: grid; gap: 7px; list-style: none; margin: 0; padding: 0; }
.vs-page-services { align-items: center; background: var(--vs-surface); border: 1px solid var(--vs-line); border-radius: var(--vs-radius); display: grid; gap: 30px; grid-template-columns: minmax(0, 1.1fr) minmax(340px, .9fr); padding: clamp(24px, 4vw, 38px); }
.vs-page-services h2 { font-size: 28px; letter-spacing: -.04em; line-height: 1.08; margin: 0; }
.vs-page-services p { color: var(--vs-muted); line-height: 1.6; margin: 8px 0 0; }
.vs-page-services ul { display: grid; gap: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; }
.vs-page-services li { border-left: 1px solid var(--vs-line); font-size: 17px; font-weight: 700; padding: 10px 24px; }
.vs-villa-final-cta { align-items: center; background: #f3eff8; border: 1px solid #e3d8ef; border-radius: var(--vs-radius); display: flex; gap: 32px; justify-content: space-between; padding: clamp(30px, 5vw, 54px); }
.vs-villa-final-cta h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); letter-spacing: -.04em; line-height: 1.08; margin: 0; }
.vs-villa-final-cta p { color: var(--vs-muted); line-height: 1.55; margin: 14px 0 0; max-width: 560px; }
.vs-villa-final-cta .vs-button { box-sizing: border-box; flex: 0 0 auto; max-width: 100%; }

.vs-location-page { display: grid; gap: clamp(42px, 5vw, 62px); }
.wp-site-blocks > .vs-location-page {
  margin-inline: auto;
  padding-block: clamp(52px, 7vw, 96px);
  width: min(calc(100% - 56px), var(--vs-content));
}
.vs-location-page .vs-page-intro { border-bottom: 0; margin-bottom: 0; max-width: 890px; padding-bottom: 0; }
.vs-location-page .vs-page-intro h1 { max-width: 820px; }
.vs-location-page .vs-page-intro p:not(.vs-eyebrow) { max-width: 650px; }
.vs-location-map { min-width: 0; }
.vs-location-map__viewport {
  aspect-ratio: 4 / 3;
  background: #e8edf0;
  border: 1px solid var(--vs-line);
  border-radius: 28px;
  box-shadow: 0 20px 54px rgba(30, 41, 56, .08);
  overflow: hidden;
  position: relative;
}
.vs-location-map__viewport iframe { border: 0; display: block; height: 100%; width: 100%; }
.vs-location-map__address {
  background: rgba(255, 255, 255, .97);
  bottom: clamp(18px, 3vw, 34px);
  box-shadow: 0 14px 34px rgba(30, 41, 56, .18);
  display: grid;
  font-style: normal;
  gap: 18px;
  left: clamp(18px, 3vw, 34px);
  max-width: min(390px, calc(100% - 36px));
  padding: clamp(22px, 3vw, 34px);
  position: absolute;
  z-index: 2;
}
.vs-location-map__address strong { font-size: clamp(1.35rem, 2.25vw, 2rem); letter-spacing: -.04em; line-height: 1.13; }
.vs-location-map__address a { color: var(--vs-plum); font-weight: 750; text-decoration: none; width: fit-content; }
.vs-location-map__address a:hover { text-decoration: underline; }
.vs-location-map__address a:focus-visible { outline: 3px solid #2f77c8; outline-offset: 3px; }
.vs-location-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.vs-location-facts article { min-width: 0; padding: 0 clamp(28px, 4vw, 52px); }
.vs-location-facts article:first-child { padding-left: 14px; }
.vs-location-facts article + article { border-left: 1px solid var(--vs-line); }
.vs-location-facts h2 { font-size: clamp(1.35rem, 2.1vw, 1.75rem); letter-spacing: -.035em; line-height: 1.12; margin: 0; }
.vs-location-facts p { color: var(--vs-muted); font-size: 17px; line-height: 1.52; margin: 16px 0 0; max-width: 29ch; }
.vs-location-cta { align-items: center; background: #f3eff8; border: 1px solid #e3d8ef; border-radius: var(--vs-radius); display: flex; gap: 34px; justify-content: space-between; padding: clamp(34px, 6vw, 64px); }
.vs-location-cta h2 { font-size: clamp(2rem, 3.8vw, 3rem); letter-spacing: -.045em; line-height: 1.06; margin: 0; max-width: 15ch; }
.vs-location-cta p { color: var(--vs-muted); font-size: var(--vs-type-body-large); line-height: 1.55; margin: 18px 0 0; max-width: 51ch; }
.vs-location-cta .vs-button { flex: 0 0 auto; gap: 20px; }

.wp-site-blocks > .vs-contact-page,
.wp-site-blocks > .vs-secondary-page {
  margin-inline: auto;
  padding-block: clamp(52px, 7vw, 96px);
  width: min(calc(100% - 56px), var(--vs-content));
}
.vs-contact-page .vs-page-intro { margin-bottom: 0; }
.vs-contact-layout { display: grid; gap: clamp(20px, 3vw, 32px); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.vs-contact-card {
  background: var(--vs-surface);
  border: 1px solid var(--vs-line);
  border-radius: var(--vs-radius);
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(28px, 4vw, 44px);
}
.vs-contact-card h2 { font-size: clamp(28px, 3vw, 38px); letter-spacing: -.04em; line-height: 1.08; margin: 0; }
.vs-contact-card > p:not(.vs-eyebrow) { color: var(--vs-muted); line-height: 1.6; margin: 18px 0 28px; }
.vs-contact-card .vs-button { margin-top: auto; width: fit-content; }
.vs-contact-details { display: grid; gap: 30px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.vs-contact-details article { border-top: 1px solid var(--vs-line); min-width: 0; padding-top: 20px; }
.vs-contact-details h2 { font-size: 21px; letter-spacing: -.025em; margin: 0 0 12px; }
.vs-contact-details p,
.vs-contact-details address { color: var(--vs-muted); font-style: normal; line-height: 1.7; margin: 0; overflow-wrap: anywhere; }
.vs-contact-details__label { display: inline-block; margin-top: 12px; }

.vs-secondary-page { display: grid; gap: clamp(28px, 4vw, 48px); }
.vs-secondary-page > .wp-block-post-title { font-size: var(--vs-type-display); letter-spacing: -.055em; line-height: 1.02; margin: 0; max-width: 14ch; }
.vs-secondary-page > .wp-block-post-content { font-size: 18px; line-height: 1.7; max-width: 760px; }
.vs-secondary-page > .wp-block-post-content > :first-child { margin-top: 0; }
.vs-secondary-page > .wp-block-post-content > :last-child { margin-bottom: 0; }

.vs-footer { background: var(--vs-ink); color: #f8f7f4; }
.vs-footer__inner { align-items: flex-start; gap: 28px; padding-bottom: 40px; padding-top: 40px; }
.vs-footer__brand { color: #fff; font-size: 20px; font-weight: 750; text-decoration: none; }
.vs-footer nav { display: flex; flex-wrap: wrap; gap: 18px 28px; justify-content: flex-end; }
.vs-footer nav a { color: #d8d8d5; font-size: 14px; text-decoration: none; }
.vs-footer nav a:hover { color: #fff; }

/* Approved minimal visual system: keep the map and planner in one editorial column. */
.vs-home-hero h1,
.vs-page-intro h1 { font-size: var(--vs-type-display); }
.vs-home-context h2,
.vs-home-gateway h2,
.vs-home-services h2,
.vs-home-cta h2,
.vs-page-intro h2 { font-size: var(--vs-type-section); }
.vs-accommodation-page,
.vs-accommodation-page .vs-preview-root { box-sizing: border-box; width: 100%; }
.vs-accommodation-page { gap: clamp(32px, 5vw, 56px); }

/* Keep the editor-rendered site shell on the same type system as custom surfaces. */
.wp-site-blocks,
.wp-site-blocks button,
.wp-site-blocks input,
.wp-site-blocks select,
.wp-site-blocks textarea { font-family: var(--vs-font-family); }

@media (max-width: 1024px) {
  .vs-home-context,
  .vs-home-services { gap: 48px; }
  .vs-location-cta { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 820px) {
  .vs-site-header__inner { align-items: flex-start; gap: 17px; }
  .vs-primary-nav { flex-wrap: wrap; justify-content: flex-end; }
  .vs-copy-grid { grid-template-columns: 1fr; }
  .vs-contact-layout { grid-template-columns: 1fr; }
  .vs-contact-details { grid-template-columns: 1fr; }
  .vs-accommodation-page { gap: 32px; }
  .vs-villa-card--featured { grid-template-columns: 1fr; }
  .vs-villa-card--featured .vs-villa-card__plan { min-height: 0; }
  .vs-villa-filter { align-items: flex-start; flex-direction: column; gap: 16px; }
  .vs-villa-filter__status { margin: 0; }
  .vs-page-services { grid-template-columns: 1fr; }
  .vs-villa-final-cta { align-items: flex-start; flex-direction: column; }
  .vs-footer__inner { align-items: flex-start; flex-direction: column; }
  .vs-footer nav { justify-content: flex-start; }
}

@media (max-width: 768px) {
  .vs-site-header__inner { align-items: center; }
  .vs-primary-nav { display: none; }
  .vs-mobile-nav { display: block; }
}

@media (max-width: 700px) {
  .vs-home-facts__grid { grid-template-columns: 1fr; }
  .vs-home-facts__grid li { padding: 18px 0 0; }
  .vs-home-facts__grid li:first-child { padding-top: 0; }
  .vs-home-facts__grid li + li { border-left: 0; }
  .vs-home-context,
  .vs-home-services { grid-template-columns: 1fr; }
  .vs-home-gateway__grid,
  .vs-home-services__list { grid-template-columns: 1fr; }
  .vs-home-cta { align-items: flex-start; flex-direction: column; }
  .vs-location-facts { grid-template-columns: 1fr; }
  .vs-location-facts article { border-top: 1px solid var(--vs-line); padding: 24px 0; }
  .vs-location-facts article:first-child { padding-left: 0; }
  .vs-location-facts article + article { border-left: 0; }
  .vs-villa-catalogue { grid-template-columns: 1fr; }
  .vs-villa-overview__groups { grid-template-columns: 1fr; }
  .vs-villa-overview__groups > div { border-top: 1px solid var(--vs-line); padding: 20px 0 0; }
  .vs-villa-overview__groups > div + div { border-left: 0; margin-top: 20px; }
  .vs-villa-catalogue__heading { align-items: flex-start; flex-direction: column; gap: 10px; }
  .vs-page-services ul { grid-template-columns: 1fr; }
  .vs-page-services li { border-left: 0; border-top: 1px solid var(--vs-line); padding: 14px 0; }
}

@media (max-width: 500px) {
  .vs-site-header__inner,
  .vs-main,
  .vs-footer__inner,
  .wp-site-blocks > .vs-home-hero,
  .wp-site-blocks > .vs-home-facts,
  .wp-site-blocks > .vs-home-context,
  .wp-site-blocks > .vs-home-gateway,
  .wp-site-blocks > .vs-home-services,
  .wp-site-blocks > .vs-home-cta { width: min(calc(100% - 36px), var(--vs-content)); }
  .wp-site-blocks > .vs-villa-types-page { width: min(calc(100% - 36px), var(--vs-content)); }
  .wp-site-blocks > .vs-location-page { width: min(calc(100% - 36px), var(--vs-content)); }
  .wp-site-blocks > .vs-contact-page,
  .wp-site-blocks > .vs-secondary-page { width: min(calc(100% - 36px), var(--vs-content)); }
  .vs-main { padding-bottom: 68px; }
  .vs-villa-card--compact { grid-template-columns: 110px minmax(0, 1fr); }
  .vs-villa-card--compact .vs-villa-card__content { padding: 18px; }
  .vs-villa-card--compact .vs-villa-card__details > div { grid-template-columns: 1fr; }
  .vs-villa-card--compact .vs-villa-card__details dd { text-align: left; }
  .vs-villa-filter__controls { width: 100%; }
  .vs-villa-filter__button { flex: 1 1 calc(50% - 8px); }
  .vs-villa-final-cta .vs-button { width: 100%; }
  .vs-location-map__viewport { aspect-ratio: auto; min-height: 0; overflow: hidden; }
  .vs-location-map__viewport iframe { height: 310px; }
  .vs-location-map__address { bottom: auto; box-shadow: none; left: auto; max-width: none; position: relative; }
  .vs-location-cta .vs-button { box-sizing: border-box; width: 100%; }
  .vs-brand__word { display: none !important; }
  .vs-brand__compact { display: block !important; }
}
