
:root {
  --navy: #133b63;
  --gold: #c89b4d;
  --gold-text: #9b6a28;
  --light: #f5f3ef;
  --sand: #f1ede6;
  --text: #223043;
  --muted: #5f6f80;
  --white: #ffffff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a { color: inherit; }

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: 88vh;
  color: var(--white);
  background:
    linear-gradient(rgba(19, 59, 99, 0.50), rgba(19, 59, 99, 0.58)),
    url("aerial_2-hero-v118.jpg") center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(8, 27, 45, 0.10), rgba(8, 27, 45, 0.28));
}

.nav, .hero-content { position: relative; z-index: 1; }

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo {
  width: 88px;
  height: auto;
  border-radius: 12px;
  background: rgba(255,255,255,0.88);
  padding: 6px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.15);
}

.brand-title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand-subtitle {
  font-size: 0.98rem;
  color: rgba(255,255,255,0.92);
}

.nav-links {
  display: flex;
  gap: 20px;
  font-weight: 600;
}

.nav-links a {
  text-decoration: none;
  color: rgba(255,255,255,0.95);
}

.hero-content {
  padding: 90px 0 120px;
  max-width: 760px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold-text);
  margin-bottom: 10px;
}

.hero h1 {
  font-size: clamp(3rem, 6vw, 5.4rem);
  line-height: 0.95;
  margin: 0 0 18px;
}

.hero-copy {
  font-size: 1.15rem;
  max-width: 680px;
  color: rgba(255,255,255,0.94);
  margin-bottom: 26px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  display: inline-block;
  background: var(--gold);
  color: #1f2937;
  text-decoration: none;
  padding: 13px 18px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(0,0,0,0.10);
}

.button-ghost {
  background: rgba(255,255,255,0.18);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.38);
}

.section {
  padding: 74px 0;
}

.alt-section {
  background: var(--light);
  padding: 74px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 8px;
  color: var(--navy);
}

.section-heading p {
  margin: 0;
  color: var(--muted);
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.card {
  background: var(--white);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
}

.card img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
}

.card-body {
  padding: 22px;
}

.card-body h2,
.card-body h3 {
  font-size: 1.65rem;
  margin: 0 0 10px;
  color: var(--navy);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.gallery img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

.amenities {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.amenity {
  background: var(--sand);
  border-radius: 18px;
  padding: 22px;
}

.amenity h3 {
  margin-top: 0;
  color: var(--navy);
}

.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.92);
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links a {
  color: rgba(255,255,255,0.92);
  text-decoration: none;
  font-weight: 700;
}

@media (max-width: 900px) {
  .cards,
  .gallery,
  .amenities {
    grid-template-columns: 1fr;
  }

  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 60px 0 90px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* v112 package homepage View buttons with the logo block */
.home-brand-package {
  display: flex !important;
  align-items: center !important;
  gap: 28px !important;
  flex: 0 1 auto !important;
  min-width: 0 !important;
}

.home-brand-package .brand {
  flex: 0 0 auto !important;
}

.home-brand-package .home-view-stack {
  margin-left: 8px !important;
}

@media (max-width: 1180px) {
  .home-brand-package {
    gap: 18px !important;
  }

  .home-brand-package .home-view-stack {
    margin-left: 0 !important;
  }
}

@media (max-width: 900px) {
  .home-brand-package {
    width: 100% !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 14px !important;
  }

  .home-brand-package .home-view-stack {
    order: 2;
  }
}

/* v113 work: move homepage condo cards and balcony/boardwalk blurb above videos */
#stays {
  padding-top: 36px !important;
}

.homepage-condo-cards {
  margin-bottom: 24px !important;
}

.homepage-balcony-blurb-wrap {
  width: 100% !important;
  max-width: none !important;
  margin: 0 auto 28px !important;
}

.homepage-balcony-blurb {
  width: min(980px, 92%) !important;
  max-width: 980px !important;
  margin: 0 auto !important;
  font-size: clamp(1.02rem, 1.55vw, 1.24rem) !important;
  line-height: 1.45 !important;
  font-weight: 650 !important;
  color: var(--navy) !important;
  text-align: center !important;
}

.homepage-balcony-blurb-wrap + .homepage-video-section {
  padding-top: 12px !important;
}

@media (max-width: 900px) {
  #stays {
    padding-top: 28px !important;
  }

  .homepage-condo-cards {
    margin-bottom: 20px !important;
  }

  .homepage-balcony-blurb {
    width: min(620px, 94%) !important;
    font-size: 1rem !important;
    line-height: 1.42 !important;
  }
}

@media (max-width: 640px) {
  .logo {
    width: 72px;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 12px;
  }

  .button {
    width: 100%;
    text-align: center;
  }
}


.button-sub {
  font-size: 0.88em;
  font-weight: 700;
}


.card .button {
  text-align: center;
  min-width: 170px;
  line-height: 1.15;
}

.card .button-sub {
  display: block;
  font-size: 0.72em;
  font-weight: 700;
  margin-top: 4px;
  text-align: center;
}


/* v7 branding updates */
.brand-title {
  font-size: 1.3rem;
  line-height: 1.1;
  max-width: 420px;
}

.logo {
  width: 96px;
  background: rgba(255,255,255,0.92);
}

@media (max-width: 900px) {
  .brand-title {
    font-size: 1.1rem;
    max-width: none;
  }
}


/* v8 hero and logo updates */
.logo {
  width: 124px !important;
  height: auto;
  padding: 4px;
  border-radius: 14px;
}

.brand {
  gap: 16px;
}

.brand-title {
  max-width: 520px;
}

.hero h1 {
  max-width: 900px;
}

.hero-subline {
  display: block;
  font-size: 0.88em;
  line-height: 0.95;
  text-align: center;
}

@media (max-width: 900px) {
  .logo {
    width: 108px !important;
  }
  .hero-subline {
    font-size: 0.92em;
  }
}


/* v9 booking button updates */
.brand-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand-book-buttons,
.hero-book-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.brand-book-buttons {
  margin-top: 4px;
}

.brand-book-button,
.hero-book-button {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  border-radius: 999px;
  padding: 8px 14px;
  line-height: 1;
}

.brand-book-button {
  background: rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.96);
  border: 1px solid rgba(255,255,255,0.35);
  font-size: 0.88rem;
}

.hero-book-buttons {
  margin-top: -4px;
  margin-bottom: 18px;
}

.hero-book-button {
  background: rgba(255,255,255,0.18);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.38);
  font-size: 1rem;
}

@media (max-width: 900px) {
  .brand-book-buttons,
  .hero-book-buttons {
    gap: 8px;
  }

  .brand-book-button,
  .hero-book-button {
    font-size: 0.92rem;
    padding: 8px 12px;
  }
}


/* v10 center hero booking buttons and remove top emphasis */
.hero-book-buttons-centered {
  justify-content: center;
  width: 100%;
  margin-top: 6px;
  margin-bottom: 18px;
}

.hero-book-button {
  min-width: 130px;
  text-align: center;
}

.brand-text {
  gap: 2px;
}


/* v12 hero highlight line */
.hero-highlight {
  font-size: 1.15rem;
  font-weight: 700;
  text-align: center;
  color: rgba(255,255,255,0.96);
  margin-top: 4px;
  margin-bottom: 14px;
}


/* v13 shorter hero so pool logo stays visible */
.hero {
  min-height: 66vh !important;
  background-position: center 38% !important;
}

.hero-content {
  padding: 48px 0 56px !important;
}

.hero h1 {
  margin-bottom: 10px !important;
}

.hero-highlight {
  margin-bottom: 10px !important;
}

.hero-book-buttons-centered {
  margin-top: 2px !important;
  margin-bottom: 12px !important;
}

.hero-copy {
  max-width: 760px;
  margin-bottom: 20px !important;
}

@media (max-width: 900px) {
  .hero {
    min-height: 58vh !important;
    background-position: center 34% !important;
  }

  .hero-content {
    padding: 34px 0 42px !important;
  }
}


/* v14 top-left transparent quick buttons */
.hero-quick-buttons {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-top: 6px;
  margin-bottom: 8px;
}

.hero-quick-button {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  border-radius: 999px;
  padding: 10px 16px;
  line-height: 1;
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.96);
  border: 1px solid rgba(255,255,255,0.34);
  backdrop-filter: blur(2px);
}

.hero-actions {
  display: none !important;
}

@media (max-width: 900px) {
  .hero-quick-buttons {
    gap: 8px;
    margin-top: 0;
  }

  .hero-quick-button {
    font-size: 0.92rem;
    padding: 9px 13px;
  }
}


/* v15 top nav booking buttons only */
.nav-links {
  display: flex;
  gap: 10px;
  font-weight: 600;
  align-items: center;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
}

.nav-cta {
  display: inline-block;
  background: rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.96);
  border: 1px solid rgba(255,255,255,0.34);
  backdrop-filter: blur(2px);
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 700;
  line-height: 1;
}

.hero-quick-buttons {
  display: none !important;
}

@media (max-width: 900px) {
  .nav-links {
    gap: 8px;
  }
  .nav-cta {
    font-size: 0.92rem;
    padding: 9px 13px;
  }
}


/* v16 lower the hero paragraph and buttons so pool logo is clearer */
.hero-content {
  padding-top: 36px !important;
  padding-bottom: 82px !important;
}

.hero-book-buttons-centered {
  margin-bottom: 120px !important;
}

.hero-copy {
  margin-top: 0 !important;
  margin-bottom: 8px !important;
  max-width: 820px;
}

@media (max-width: 900px) {
  .hero-content {
    padding-bottom: 64px !important;
  }

  .hero-book-buttons-centered {
    margin-bottom: 80px !important;
  }
}


/* v17 move paragraph up near pool edge / yellow-line zone */
.hero {
  min-height: 70vh !important;
  background-size: cover !important;
  background-position: center 36% !important;
}

.hero-content {
  padding-top: 34px !important;
  padding-bottom: 72px !important;
}

.hero-book-buttons-centered {
  margin-bottom: 56px !important;
}

.hero-copy {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  transform: translateY(-34px) !important;
  max-width: 860px;
}

@media (max-width: 900px) {
  .hero {
    min-height: 62vh !important;
    background-position: center 34% !important;
  }

  .hero-book-buttons-centered {
    margin-bottom: 34px !important;
  }

  .hero-copy {
    transform: translateY(-18px) !important;
  }
}


/* v18 move transparent section buttons into top-right nav */
.nav-quick-links {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.nav-quick-button {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  border-radius: 999px;
  padding: 10px 16px;
  line-height: 1;
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.96);
  border: 1px solid rgba(255,255,255,0.34);
  backdrop-filter: blur(2px);
}

.hero-quick-buttons {
  display: none !important;
}

@media (max-width: 900px) {
  .nav-quick-links {
    gap: 8px;
  }

  .nav-quick-button {
    font-size: 0.92rem;
    padding: 9px 13px;
  }
}


/* v19 tighter, larger header logo */
.logo {
  width: 132px !important;
  height: auto !important;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.brand {
  gap: 12px !important;
}

@media (max-width: 900px) {
  .logo {
    width: 112px !important;
  }
}


/* v20 transparent logo block and bottom-centered hero paragraph */
.brand,
.brand-text,
.brand-title,
.brand-subtitle {
  background: transparent !important;
}

.logo {
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  mix-blend-mode: normal;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-copy {
  text-align: center !important;
  max-width: 980px !important;
  margin-top: auto !important;
  margin-bottom: 10px !important;
  transform: none !important;
}

.hero h1,
.hero-highlight,
.hero-book-buttons,
.hero-book-buttons-centered {
  text-align: center;
}

.hero-book-buttons-centered {
  justify-content: center !important;
  margin-bottom: 18px !important;
}

@media (max-width: 900px) {
  .hero-copy {
    max-width: 92% !important;
    margin-bottom: 6px !important;
  }
}


/* v21 remove white logo tile and add subtle blur behind logo/header area */
.brand {
  position: relative;
  gap: 14px !important;
}

.brand::before {
  content: "";
  position: absolute;
  inset: -10px -14px -10px -14px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 18px;
  z-index: -1;
}

.logo {
  width: 88px !important;
  height: auto !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  display: block;
}

.brand-text,
.brand-title,
.brand-subtitle {
  background: transparent !important;
}

@media (max-width: 900px) {
  .logo {
    width: 76px !important;
  }
}


/* v22 lower title and pin tagline near bottom of hero image */
.hero {
  min-height: 72vh !important;
  background-position: center 34% !important;
}

.hero-content {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  padding-top: 88px !important;
  padding-bottom: 28px !important;
  min-height: calc(72vh - 90px) !important;
}

.hero h1 {
  margin-top: 24px !important;
  margin-bottom: 12px !important;
}

.hero-highlight {
  margin-bottom: 10px !important;
}

.hero-book-buttons-centered {
  margin-bottom: auto !important;
}

.hero-copy {
  text-align: center !important;
  max-width: 980px !important;
  margin-top: auto !important;
  margin-bottom: 6px !important;
  transform: none !important;
}

@media (max-width: 900px) {
  .hero {
    min-height: 64vh !important;
    background-position: center 32% !important;
  }

  .hero-content {
    padding-top: 66px !important;
    min-height: calc(64vh - 80px) !important;
  }

  .hero h1 {
    margin-top: 16px !important;
  }

  .hero-copy {
    max-width: 92% !important;
    margin-bottom: 4px !important;
  }
}


/* v24 SEO detail pages */
.page-hero {
  background: linear-gradient(rgba(19, 59, 99, 0.78), rgba(19, 59, 99, 0.72)), url("aerial_2-hero-v118.jpg") center/cover no-repeat;
  color: #fff;
  padding: 72px 0 54px;
}

.page-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(2.4rem, 5vw, 4rem);
}

.page-hero p {
  max-width: 860px;
  margin: 0;
  font-size: 1.08rem;
}

.breadcrumbs {
  margin-bottom: 18px;
  font-size: 0.92rem;
  opacity: 0.92;
}

.breadcrumbs a {
  color: #fff;
  text-decoration: none;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 24px;
  margin-top: 32px;
}

.detail-card {
  background: rgba(255, 255, 255, 0.98);
  border-radius: 20px;
  padding: 22px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.12);
}

.detail-card h2,
.detail-card h3 {
  color: var(--navy);
  margin-top: 0;
}

.feature-list,
.quick-list {
  margin: 0;
  padding-left: 20px;
}

.inline-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 16px;
}

.note {
  font-size: 0.95rem;
  color: var(--muted);
}

@media (max-width: 900px) {
  .detail-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .unit-video-tour-section {
    padding-bottom: 16px !important;
  }

  .unit-video-tour-title {
    margin-bottom: 12px;
  }

  .unit-photo-highlights {
    padding-top: 14px !important;
  }
}



/* v30 Coastal Convenience heading buttons */
.convenience-cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  margin: 18px 0 8px;
}

.convenience-cta {
  text-align: center;
  min-width: 190px;
  line-height: 1.15;
}

@media (min-width: 900px) {
  .convenience-cta-row {
    justify-content: flex-start;
  }
}

@media (max-width: 899px) {
  .convenience-cta-row {
    justify-content: center;
  }
}



/* v31 align convenience CTAs right of heading and add favicon support */
.convenience-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.convenience-header-row h2 {
  margin: 0;
}

.convenience-cta-row {
  margin: 0 !important;
  justify-content: flex-end !important;
}

@media (max-width: 900px) {
  .convenience-header-row {
    align-items: flex-start;
  }
  .convenience-cta-row {
    width: 100%;
    justify-content: flex-start !important;
  }
}


/* v32 push Coastal Convenience buttons farther right */
.convenience-header-row {
  display: grid !important;
  grid-template-columns: 1fr auto !important;
  align-items: center !important;
  column-gap: 24px !important;
}

.convenience-cta-row {
  justify-self: end !important;
  margin-left: auto !important;
}

@media (max-width: 900px) {
  .convenience-header-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .convenience-cta-row {
    justify-self: auto !important;
    margin-left: 0 !important;
  }
}


/* v33 stronger right shift for Coastal Convenience buttons */
.convenience-header-row {
  display: grid !important;
  grid-template-columns: minmax(260px, 1fr) auto !important;
  align-items: center !important;
  column-gap: 32px !important;
}

.convenience-cta-row {
  justify-self: end !important;
  margin-left: auto !important;
  padding-right: 8px !important;
}

@media (min-width: 1100px) {
  .convenience-header-row {
    grid-template-columns: minmax(260px, 1fr) auto !important;
  }
  .convenience-cta-row {
    transform: translateX(18px);
  }
}

@media (max-width: 900px) {
  .convenience-header-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
  }
  .convenience-cta-row {
    justify-self: auto !important;
    margin-left: 0 !important;
    padding-right: 0 !important;
    transform: none !important;
  }
}


/* v34 force Coastal Convenience buttons onto same row and right edge */
.convenience-header-row {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 24px !important;
  width: 100% !important;
}

.convenience-header-row h2 {
  flex: 0 1 auto !important;
  margin: 0 !important;
  white-space: nowrap !important;
}

.convenience-cta-row {
  display: flex !important;
  flex: 1 1 auto !important;
  justify-content: flex-end !important;
  align-items: center !important;
  gap: 14px !important;
  margin: 0 !important;
  width: auto !important;
  max-width: none !important;
  transform: none !important;
  padding-right: 0 !important;
}

.convenience-cta {
  flex: 0 0 auto !important;
}

@media (max-width: 900px) {
  .convenience-header-row {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .convenience-header-row h2 {
    white-space: normal !important;
  }

  .convenience-cta-row {
    width: 100% !important;
    justify-content: flex-start !important;
    margin-top: 12px !important;
  }
}


/* v35 push convenience buttons much farther right */
.convenience-header-row {
  display: grid !important;
  grid-template-columns: auto 1fr !important;
  align-items: center !important;
  width: 100% !important;
  gap: 0 !important;
}

.convenience-header-row h2 {
  margin: 0 !important;
}

.convenience-cta-row {
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
  gap: 14px !important;
  width: 100% !important;
  margin: 0 !important;
  padding-left: 80px !important;
  box-sizing: border-box !important;
}

@media (min-width: 1100px) {
  .convenience-cta-row {
    padding-left: 180px !important;
  }
}

@media (max-width: 900px) {
  .convenience-header-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }

  .convenience-cta-row {
    width: 100% !important;
    padding-left: 0 !important;
    justify-content: flex-start !important;
  }
}



/* v37 502 video tour */
.video-wrap {
  margin-top: 16px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
  background: #000;
  aspect-ratio: 16 / 9;
}

.tour-video {
  width: 100%;
  display: block;
  max-height: 720px;
  background: #000;
}

.video-wrap .tour-video {
  height: 100%;
  max-height: none !important;
  object-fit: cover;
}

.unit-video-tour-section {
  padding-bottom: 20px !important;
}

.unit-video-tour-title {
  margin: 0 0 14px;
  color: var(--navy);
}

.unit-photo-highlights {
  padding-top: 18px !important;
}

.unit-boardwalk-section {
  padding-top: 18px !important;
}

.unit-boardwalk-copy {
  margin: 0 0 16px;
}

.unit-boardwalk-copy h2 {
  margin: 0 0 8px;
  color: var(--navy);
}

.unit-boardwalk-note {
  margin: 0;
  color: var(--text);
}

.unit-boardwalk-video-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0;
  background: #000;
}

.unit-boardwalk-video-wrap .tour-video {
  width: 100%;
  height: 100%;
  max-height: none !important;
  object-fit: cover;
}


/* v42 homepage + 502 video poster section */
.section-compact {
  padding-top: 18px;
}

.homepage-video-section {
  margin-bottom: 12px;
}

.homepage-video-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 20px;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

.homepage-video-copy h3 {
  margin: 6px 0 10px;
  color: var(--navy);
}

.homepage-video-copy p:last-child {
  margin-bottom: 16px;
}

.homepage-video-wrap,
.video-wrap {
  border-radius: 18px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

.tour-video {
  width: 100%;
  display: block;
  max-height: 720px;
  background: #000;
}



/* v44 502 gallery and homepage photo dropdown */
.featured-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
  margin-bottom: 18px;
}

.featured-photo-item,
.thumb-item {
  display: block;
  text-decoration: none;
}

.featured-photo-item img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 22px;
  display: block;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

.thumb-gallery-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin: 10px 0 14px;
  flex-wrap: wrap;
}

.thumb-gallery-header h3 {
  margin: 0;
  color: var(--navy);
}

.thumb-gallery-header p {
  margin: 0;
  color: #5d6b7d;
}

.thumb-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.thumb-item img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.06);
  transition: transform 0.18s ease;
}

.thumb-item:hover img,
.featured-photo-item:hover img {
  transform: translateY(-2px);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(7, 16, 28, 0.88);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 32px;
}

.lightbox.is-open {
  display: flex;
}

.lightbox-stage {
  max-width: min(1200px, 92vw);
  max-height: 86vh;
}

.lightbox-stage img {
  max-width: 100%;
  max-height: 86vh;
  display: block;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  border: none;
  background: rgba(255,255,255,0.16);
  color: #fff;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  border-radius: 999px;
}

.lightbox-close {
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
}

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

body.lightbox-open {
  overflow: hidden;
}

.photos-dropdown {
  position: relative;
  display: inline-block;
}

.photos-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 210px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.14);
  padding: 10px;
  display: none;
  z-index: 1000;
}

.photos-dropdown.is-open .photos-dropdown-menu {
  display: block;
}

.photos-dropdown-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--navy);
  font-weight: 600;
}

.photos-dropdown-menu a:hover {
  background: #f3efe8;
}

@media (max-width: 900px) {
  .featured-photo-grid {
    grid-template-columns: 1fr;
  }

  .featured-photo-item img {
    height: 260px;
  }

  .thumb-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


/* v45 anchor + homepage top buttons */
html {
  scroll-behavior: smooth;
}

#photo-highlights {
  scroll-margin-top: 110px;
}

/* Group and right-justify the top homepage buttons */
.hero-top-link-group {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  margin-left: auto !important;
  justify-content: flex-end !important;
  width: auto !important;
}

/* Make sure the dropdown behaves nicely inside the grouped top links */
.hero-top-link-group .photos-dropdown {
  display: inline-block;
  margin: 0 !important;
}

/* Desktop: push grouped top links farther right */
@media (min-width: 901px) {
  .hero-top-link-group {
    padding-left: 120px !important;
  }
}

/* Mobile fallback */
@media (max-width: 900px) {
  .hero-top-link-group {
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    padding-left: 0 !important;
    width: 100% !important;
    margin-top: 12px !important;
  }
}



/* v46 fix homepage top button grouping and valid dropdown */
.nav {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 20px !important;
  flex-wrap: nowrap !important;
}

.brand {
  flex: 0 1 auto !important;
  min-width: 0 !important;
}

.nav-quick-links {
  margin-left: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 12px !important;
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
}

.nav-photos-dropdown {
  position: relative;
  display: inline-flex !important;
  align-items: center !important;
}

.nav-quick-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
}

.photos-dropdown-menu {
  top: calc(100% + 10px) !important;
  left: 0 !important;
  right: auto !important;
}

.nav-photos-dropdown.is-open .photos-dropdown-menu {
  display: block !important;
}

@media (max-width: 1180px) {
  .nav-quick-links {
    gap: 8px !important;
  }
  .nav-quick-button {
    padding: 9px 13px !important;
    font-size: 0.95rem !important;
  }
  .brand-title {
    font-size: 1.35rem !important;
  }
  .brand-subtitle {
    font-size: 0.92rem !important;
  }
}

@media (max-width: 960px) {
  .nav {
    flex-wrap: wrap !important;
  }
  .nav-quick-links {
    width: 100% !important;
    justify-content: flex-start !important;
    flex-wrap: wrap !important;
  }
}



/* v47 restore larger homepage top button sizing */
.nav-quick-button,
.nav-photos-dropdown .photos-dropdown-toggle {
  min-height: 46px !important;
  padding: 11px 20px !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  border-radius: 999px !important;
}

.nav-quick-links {
  gap: 14px !important;
}

@media (max-width: 1180px) {
  .nav-quick-button,
  .nav-photos-dropdown .photos-dropdown-toggle {
    min-height: 44px !important;
    padding: 10px 18px !important;
    font-size: 0.98rem !important;
  }
}



/* v48 hard fix for homepage top button size */
.nav-top-button {
  min-height: 52px !important;
  padding: 14px 24px !important;
  font-size: 1.02rem !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
}

.nav-quick-links {
  gap: 16px !important;
}

@media (max-width: 1180px) {
  .nav-top-button {
    min-height: 48px !important;
    padding: 12px 20px !important;
    font-size: 0.98rem !important;
  }
}



/* v49 make the three homepage top buttons equal size */
.nav-quick-links {
  gap: 14px !important;
}

.nav-quick-links > .nav-top-button,
.nav-quick-links > .nav-photos-dropdown,
.nav-quick-links > .nav-photos-dropdown > .nav-top-button {
  flex: 0 0 auto !important;
}

.nav-top-button,
.nav-photos-dropdown,
.nav-photos-dropdown .photos-dropdown-toggle {
  width: 156px !important;
  min-width: 156px !important;
  max-width: 156px !important;
  height: 52px !important;
  min-height: 52px !important;
  padding: 0 18px !important;
  box-sizing: border-box !important;
  text-align: center !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
}

.nav-photos-dropdown {
  display: inline-flex !important;
}

.nav-photos-dropdown .photos-dropdown-toggle {
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
}

@media (max-width: 1180px) {
  .nav-top-button,
  .nav-photos-dropdown,
  .nav-photos-dropdown .photos-dropdown-toggle {
    width: 148px !important;
    min-width: 148px !important;
    max-width: 148px !important;
    height: 48px !important;
    min-height: 48px !important;
  }
}



/* v50 make top buttons pixel-identical in Safari */
.nav-top-button,
.nav-quick-button,
.nav-photos-dropdown .photos-dropdown-toggle {
  -webkit-appearance: none !important;
  appearance: none !important;
  border: 1px solid rgba(255,255,255,0.35) !important;
  background: rgba(255,255,255,0.08) !important;
  color: #ffffff !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18) !important;
  font-family: inherit !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  text-align: center !important;
  vertical-align: middle !important;
  border-radius: 999px !important;
  width: 156px !important;
  min-width: 156px !important;
  max-width: 156px !important;
  height: 52px !important;
  min-height: 52px !important;
  max-height: 52px !important;
  padding: 0 18px !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
  flex: 0 0 156px !important;
  overflow: hidden !important;
}

.nav-photos-dropdown {
  width: 156px !important;
  min-width: 156px !important;
  max-width: 156px !important;
  height: 52px !important;
  min-height: 52px !important;
  max-height: 52px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 !important;
  flex: 0 0 156px !important;
}

.nav-photos-dropdown .photos-dropdown-toggle::-moz-focus-inner {
  border: 0 !important;
  padding: 0 !important;
}

.nav-photos-dropdown .photos-dropdown-toggle {
  cursor: pointer !important;
}

.nav-quick-links {
  gap: 14px !important;
  align-items: center !important;
}

@media (max-width: 1180px) {
  .nav-top-button,
  .nav-quick-button,
  .nav-photos-dropdown,
  .nav-photos-dropdown .photos-dropdown-toggle {
    width: 148px !important;
    min-width: 148px !important;
    max-width: 148px !important;
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    flex: 0 0 148px !important;
    font-size: 0.98rem !important;
  }
}



/* v52 503 gallery uses same highlight/thumb/lightbox styling as 502 */



/* v53 global top nav + transparent dropdown */
.global-top-nav {
  margin-bottom: 18px;
}

.brand-link {
  display: inline-block;
  text-decoration: none;
}

.photos-dropdown-menu {
  background: rgba(19, 59, 99, 0.78) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(255,255,255,0.20) !important;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.22) !important;
}

.photos-dropdown-menu a {
  color: rgba(255,255,255,0.96) !important;
}

.photos-dropdown-menu a:hover {
  background: rgba(255,255,255,0.10) !important;
}

.page-hero {
  padding-top: 28px !important;
}

.page-hero .container {
  position: relative;
}

body .global-top-nav .nav-quick-links {
  margin-left: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
}

@media (max-width: 960px) {
  .global-top-nav {
    margin-bottom: 12px;
  }
}



/* v55 homepage gold book buttons under View 502 / View 503 */
.hero-book-buttons-gold {
  margin-top: 12px;
  margin-bottom: 6px;
}

.hero-book-button-gold {
  background: var(--gold) !important;
  color: #1f2937 !important;
  border: none !important;
  min-width: 132px !important;
  padding: 10px 18px !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14) !important;
}

.hero-book-button-gold:hover {
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  .hero-book-buttons-gold {
    margin-top: 10px;
  }
  .hero-book-button-gold {
    min-width: 124px !important;
    padding: 9px 16px !important;
  }
}



/* v56 360 tour buttons */
.tour360-section {
  padding-top: 10px;
}

.tour360-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

.tour360-card h2 {
  margin: 6px 0 10px;
  color: var(--navy);
}

.tour360-card p:last-of-type {
  margin-bottom: 16px;
}

.tour360-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}



/* v57 dedicated 360 pages + top 360 dropdown */
.tour360-page-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
}

.tour360-page-card h1 {
  margin: 6px 0 10px;
  color: var(--navy);
}

.tour360-embed-wrap {
  margin-top: 18px;
  border-radius: 20px;
  overflow: hidden;
  background: #0f172a;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.14);
}

.tour360-embed-wrap iframe {
  width: 100%;
  min-height: 72vh;
  border: 0;
  display: block;
  background: #0f172a;
}

.tour360-page-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 18px;
}

@media (max-width: 900px) {
  .tour360-embed-wrap iframe {
    min-height: 62vh;
  }
}



/* v59 360 preview pages replacing black embeds */
.tour360-preview-wrap {
  margin-top: 18px;
  border-radius: 20px;
  overflow: hidden;
  background: #0f172a;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.14);
}

.tour360-preview-image {
  width: 100%;
  display: block;
  max-height: 70vh;
  object-fit: cover;
}



/* v60 homepage copy/button/eyebrow updates */
.hero .eyebrow {
  color: var(--gold) !important;
  font-size: 1.64rem !important;
  letter-spacing: 0.12em !important;
}

.hero-book-buttons-centered + .hero-book-buttons-gold .hero-book-button-gold {
  min-width: 132px !important;
}

@media (max-width: 900px) {
  .hero .eyebrow {
    font-size: 1.08rem !important;
  }
}



/* v63 cleaner mobile-friendly intro for the stays section */
.section-heading-compact {
  margin-bottom: 26px !important;
}

.stays-intro-header {
  font-size: clamp(1.35rem, 2.6vw, 2.05rem) !important;
  line-height: 1.28 !important;
  font-weight: 700 !important;
  color: var(--navy) !important;
  max-width: 920px !important;
  margin: 0 0 6px !important;
}

@media (max-width: 900px) {
  .section-heading-compact {
    margin-bottom: 22px !important;
  }

  .stays-intro-header {
    font-size: 1.28rem !important;
    line-height: 1.34 !important;
    max-width: 100% !important;
  }
}



/* v65 center homepage intro text */
.section-heading-compact {
  text-align: center !important;
}

.stays-intro-header {
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}



/* v66 tighten and center homepage intro block */
.section-heading-compact {
  display: flex !important;
  justify-content: center !important;
}

.stays-intro-header {
  max-width: 760px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}



/* v68 iPhone/mobile polish */
@media (max-width: 820px) {
  .container {
    width: min(100% - 24px, 1000px) !important;
  }

  .hero {
    min-height: auto !important;
    padding-bottom: 20px !important;
  }

  .nav {
    padding-top: 14px !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }

  .brand {
    width: 100% !important;
    justify-content: flex-start !important;
  }

  .brand-text {
    line-height: 1.1 !important;
  }

  .brand-title {
    font-size: 1.08rem !important;
  }

  .brand-subtitle {
    font-size: 0.9rem !important;
  }

  .nav-quick-links {
    width: 100% !important;
    justify-content: center !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
  }

  .nav-top-button {
    min-height: 42px !important;
    padding: 10px 14px !important;
    font-size: 0.95rem !important;
    min-width: 132px !important;
  }

  .hero-content {
    padding: 28px 0 34px !important;
    text-align: center !important;
  }

  .hero .eyebrow {
    font-size: 0.92rem !important;
    letter-spacing: 0.14em !important;
    margin-bottom: 8px !important;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 11vw, 3.7rem) !important;
    line-height: 0.98 !important;
    margin-bottom: 14px !important;
  }

  .hero-copy {
    font-size: 1rem !important;
    line-height: 1.45 !important;
    max-width: 90% !important;
    margin: 0 auto 16px !important;
  }

  .hero-book-buttons-centered,
  .hero-book-buttons-gold {
    justify-content: center !important;
    gap: 10px !important;
    margin-bottom: 12px !important;
  }

  .hero-book-button,
  .hero-book-button-gold {
    min-width: 140px !important;
    padding: 10px 16px !important;
    font-size: 1rem !important;
  }

  .section {
    padding: 34px 0 !important;
  }

  .stays-intro-header {
    max-width: 92% !important;
    font-size: 1.18rem !important;
    line-height: 1.34 !important;
    margin-bottom: 2px !important;
  }

  .homepage-video-section {
    padding-top: 12px !important;
  }

  .homepage-video-card {
    padding: 16px !important;
    border-radius: 18px !important;
  }

  .homepage-video-copy h3,
  .video-card h3 {
    font-size: 1.15rem !important;
    margin-bottom: 8px !important;
  }

  .homepage-video-copy p,
  .video-card p,
  .card p,
  .feature-card p {
    font-size: 0.98rem !important;
    line-height: 1.5 !important;
  }

  .condo-grid,
  .features-grid,
  .gallery-grid,
  .photo-grid,
  .highlights-grid {
    gap: 16px !important;
  }

  .card,
  .feature-card {
    border-radius: 18px !important;
    overflow: hidden !important;
  }

  .card img,
  .feature-card img {
    aspect-ratio: 16 / 9 !important;
    object-fit: cover !important;
  }

  .card-content,
  .feature-card-content {
    padding: 18px 16px !important;
  }

  .card h3,
  .feature-card h3 {
    font-size: 1.1rem !important;
    margin-bottom: 8px !important;
  }

  .button,
  .convenience-cta {
    min-height: 46px !important;
    padding: 11px 16px !important;
  }

  .section-heading h2,
  .gallery-copy h2,
  .tour360-card h2,
  .tour360-page-card h1 {
    font-size: 2rem !important;
    line-height: 1.05 !important;
  }

  .footer {
    padding: 24px 0 !important;
  }

  .footer .container {
    gap: 12px !important;
  }
}



/* v69 center intro better on iPad landscape */
.stays-intro-header {
  max-width: 900px !important;
  width: min(900px, 92%) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}

@media (min-width: 768px) and (max-width: 1180px) {
  .section-heading-compact {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }

  .stays-intro-header {
    max-width: 760px !important;
    width: min(760px, 88%) !important;
    font-size: 1.5rem !important;
    line-height: 1.3 !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}


/* v70 first-person 502 walkthrough */
video[poster="beachhead-502-first-person-poster.jpg"] {
  background: #f4f4f4;
}


/* v76 patch spacing and centering */
.section { padding: 58px 0; }
.alt-section { padding: 58px 0; }
.section.section-compact { padding: 24px 0; }
.global-top-nav { padding-top: 8px !important; padding-bottom: 8px !important; margin-bottom: 0 !important; }
.global-top-nav .logo { width: 64px !important; }
.page-hero { padding: 28px 0 18px !important; margin-top: 0 !important; }
.page-hero .breadcrumbs { margin-bottom: 8px !important; }
.page-hero h1 { margin-bottom: 8px !important; }
.page-hero p { margin-bottom: 10px !important; }
.page-hero + main.container.section { padding-top: 22px !important; }
.page-hero + main.container.section .detail-grid { margin-top: 0 !important; }
.hero { min-height: 70vh !important; }
.hero-content { padding: 56px 0 52px !important; }
.hero h1 { margin-bottom: 10px !important; }
.hero-highlight { margin-bottom: 8px !important; }
.hero-copy { margin-bottom: 14px !important; }
.section-heading-compact { display:block !important; text-align:center !important; margin-bottom: 12px !important; }
.stays-intro-header { display:block !important; width: 100% !important; max-width: 760px !important; margin: 0 auto !important; text-align:center !important; }
.homepage-video-section-boardwalk { padding-top: 6px !important; }
video[poster="beachhead-502-first-person-poster.jpg"], video[poster="beachhead-503-first-person-poster.jpg"], video[poster="beachhead-boardwalk-poster.jpg"] { background:#f4f4f4; }
@media (max-width: 900px) {
  .global-top-nav { padding-top: 6px !important; padding-bottom: 6px !important; }
  .global-top-nav .logo { width: 54px !important; }
  .page-hero { padding: 16px 0 12px !important; }
  .page-hero + main.container.section { padding-top: 16px !important; }
  .hero { min-height: 54vh !important; }
  .hero-content { padding: 34px 0 30px !important; }
  .section { padding: 38px 0; }
  .alt-section { padding: 38px 0; }
}


/* v90 detail spacing + top-page 360 CTA */
.detail-card h3 {
  margin-top: 16px;
}

.tour-cta-box {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(15, 23, 42, 0.10);
}

.tour-cta-box .button {
  width: 100%;
  justify-content: center;
  text-align: center;
}

.tour-cta-box p {
  margin: 12px 0 0;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--muted);
  text-align: center;
}


/* v91 move 360 CTA into hero buttons and normalize boardwalk video size */
.boardwalk-video-wrap {
  max-width: 980px;
  margin: 0 auto;
}

.boardwalk-video {
  width: 100%;
  display: block;
  max-height: 460px;
  background: #000;
}

@media (max-width: 900px) {
  .boardwalk-video {
    max-height: 380px;
  }
}


/* v92 unit-page hero buttons + boardwalk section cleanup */
.unit-hero-buttons .button,
.unit-hero-buttons .button.button-secondary {
  background: rgba(255,255,255,0.18);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.38);
}

.unit-hero-buttons .button:hover,
.unit-hero-buttons .button.button-secondary:hover {
  background: rgba(255,255,255,0.28);
  color: var(--white);
}

.homepage-video-section {
  padding-top: 28px;
}


/* v93 hero title gold on condo detail pages */
.unit-detail-hero .hero-text h1 {
  color: var(--accent);
}


/* v94 stronger unit-page title color + boardwalk video framing */
.unit-detail-hero .hero-text h1,
.subpage-hero.unit-detail-hero .hero-text h1 {
  color: var(--accent) !important;
}

.boardwalk-video-wrap {
  max-width: 980px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background: #000;
}

.boardwalk-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #000;
  max-height: none !important;
}


/* v95 correct page-hero title color */
.page-hero h1 {
  color: var(--accent) !important;
}


/* v96 fix boardwalk text alignment and condo hero title color */
.homepage-video-copy {
  max-width: 980px;
  margin: 0 auto 16px;
}

.page-hero h1 {
  color: var(--gold) !important;
}


/* v97 amenities button + convenience section on condo pages */
.unit-bottom-convenience {
  padding-top: 28px;
}

.unit-bottom-convenience .section-heading {
  margin-bottom: 22px;
}

.unit-bottom-convenience .cta-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.unit-hero-buttons .button.button-ghost {
  background: rgba(255,255,255,0.18);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.38);
}

.unit-hero-buttons .button.button-ghost:hover {
  background: rgba(255,255,255,0.28);
  color: var(--white);
}


/* v98 condo page amenities button + bottom convenience section */
.unit-hero-buttons .button.button-ghost,
.unit-hero-buttons .button.button-ghost:hover {
  color: var(--white);
}

.unit-bottom-convenience {
  padding-top: 28px;
  padding-bottom: 28px;
}

.unit-bottom-convenience .section-heading {
  margin-bottom: 22px;
}

.unit-bottom-convenience .cta-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 0 0 24px;
}

.unit-bottom-convenience .cta-row .button small {
  display: block;
  line-height: 1.1;
}


/* v99 homepage-style convenience section + hero amenities button */
.unit-hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 12px;
}

.unit-hero-title-row {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.unit-hero-title-row h1 {
  margin: 0 !important;
  font-size: clamp(2.15rem, 4.5vw, 3.5rem) !important;
  line-height: 0.98;
}

.unit-hero-meta-inline {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(0.95rem, 1.45vw, 1.1rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.15;
  padding-bottom: 0.2rem;
}

.unit-hero-buttons .button.button-ghost,
.unit-hero-buttons .button.button-ghost:hover {
  color: var(--white);
}

@media (max-width: 900px) {
  .unit-hero-title-row {
    gap: 6px 12px;
    margin-bottom: 6px;
  }

  .unit-hero-title-row h1 {
    font-size: clamp(2rem, 9vw, 2.8rem) !important;
  }

  .unit-hero-meta-inline {
    font-size: 0.95rem;
    padding-bottom: 0;
  }
}

.unit-bottom-convenience {
  padding: 72px 0 88px;
}

.unit-bottom-convenience .container {
  max-width: 1160px;
}

.unit-bottom-convenience .section-heading {
  margin-bottom: 20px;
}

.unit-bottom-convenience .cta-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 0 0 28px;
}

.unit-bottom-convenience .feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.unit-bottom-convenience .feature-card {
  background: #f2eee8;
  border-radius: 20px;
  padding: 26px 22px;
  box-shadow: none;
}

.unit-bottom-convenience .feature-card h3 {
  margin-top: 0;
  margin-bottom: 14px;
}

@media (max-width: 980px) {
  .unit-bottom-convenience .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .unit-bottom-convenience .feature-grid {
    grid-template-columns: 1fr;
  }
}


/* v101: center bottom CTA button text on 502 and 503 pages like homepage */
.convenience-booking .button,
.booking-options .button,
.coastal-convenience .button,
.booking-buttons .button {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.15;
}

.convenience-booking .button .button-subtext,
.booking-options .button .button-subtext,
.coastal-convenience .button .button-subtext,
.booking-buttons .button .button-subtext {
  display: block;
  text-align: center;
  width: 100%;
}


/* v105 keep bottom Coastal Convenience buttons side-by-side on same line as heading */
.unit-bottom-convenience .section-heading .convenience-header-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 24px !important;
  flex-wrap: nowrap !important;
  width: 100% !important;
}

.unit-bottom-convenience .section-heading .convenience-header-row h2 {
  margin: 0 !important;
  flex: 0 0 auto !important;
  white-space: nowrap !important;
}

.unit-bottom-convenience .section-heading .convenience-cta-row {
  display: inline-flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 14px !important;
  width: auto !important;
  min-width: max-content !important;
  margin: 0 0 0 auto !important;
  padding: 0 !important;
}

.unit-bottom-convenience .section-heading .convenience-cta-row .convenience-cta {
  display: inline-flex !important;
  flex: 0 0 auto !important;
}

/* v106 keep homepage, 502, and 503 Coastal Convenience heading rows inline on desktop */
.convenience-heading-inline,
.unit-convenience-heading {
  max-width: none !important;
  width: 100% !important;
}

.convenience-heading-inline .convenience-header-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 24px !important;
  flex-wrap: nowrap !important;
  width: 100% !important;
}

.convenience-heading-inline .convenience-header-row h2 {
  margin: 0 !important;
  flex: 0 1 auto !important;
  white-space: nowrap !important;
}

.convenience-heading-inline .convenience-cta-row {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 14px !important;
  width: auto !important;
  min-width: max-content !important;
  margin: 0 0 0 auto !important;
  padding: 0 !important;
}

.convenience-heading-inline .convenience-cta-row .convenience-cta {
  display: inline-flex !important;
  flex: 0 0 auto !important;
}

.convenience-heading-inline .convenience-cta-row .button-sub {
  display: block !important;
  width: 100% !important;
  margin-top: 4px !important;
  font-size: 0.72em !important;
  font-weight: 700 !important;
  text-align: center !important;
}

@media (max-width: 900px) {
  .convenience-heading-inline .convenience-header-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }

  .convenience-heading-inline .convenience-header-row h2 {
    white-space: normal !important;
  }

  .convenience-heading-inline .convenience-cta-row {
    width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-top: 12px !important;
    justify-content: flex-start !important;
    flex-wrap: wrap !important;
  }

  .unit-bottom-convenience .section-heading .convenience-header-row {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .unit-bottom-convenience .section-heading .convenience-cta-row {
    margin-left: 0 !important;
  }
}

/* v109 top hero header for 502 and 503 detail pages */
.unit-top-hero-page .global-top-nav {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  padding-top: 18px !important;
  padding-bottom: 10px !important;
  margin-bottom: 0 !important;
}

.unit-top-hero-page .page-hero {
  background:
    linear-gradient(rgba(19, 59, 99, 0.74), rgba(19, 59, 99, 0.68)),
    url("aerial_2-hero-v118.jpg") center 38%/cover no-repeat !important;
  padding: 126px 0 42px !important;
  margin-top: 0 !important;
}

.unit-top-hero-page .brand::before {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.unit-top-hero-page .brand-title {
  color: var(--gold) !important;
  text-shadow: 0 2px 10px rgba(0,0,0,0.25);
}

.unit-top-hero-page .brand-subtitle {
  color: rgba(255,255,255,0.94) !important;
  text-shadow: 0 2px 10px rgba(0,0,0,0.20);
}

.unit-top-hero-page .global-top-nav .logo {
  width: 78px !important;
  background: transparent !important;
  box-shadow: none !important;
}

.unit-top-actions {
  gap: 12px !important;
  flex-wrap: nowrap !important;
}

.unit-top-actions .nav-top-button {
  width: auto !important;
  min-width: 142px !important;
  max-width: none !important;
  flex: 0 0 auto !important;
  padding: 0 20px !important;
}

.unit-top-actions .nav-top-button:first-child {
  min-width: 232px !important;
}

.unit-top-hero-page .page-hero .breadcrumbs {
  margin-bottom: 10px !important;
}

.unit-top-hero-page .unit-hero-title-row {
  max-width: 940px;
}

.unit-top-hero-page .page-hero p {
  max-width: 900px;
}

@media (max-width: 1120px) {
  .unit-top-hero-page .global-top-nav {
    align-items: flex-start !important;
  }

  .unit-top-actions {
    justify-content: flex-end !important;
    flex-wrap: wrap !important;
    max-width: 610px;
  }

  .unit-top-actions .nav-top-button,
  .unit-top-actions .nav-top-button:first-child {
    min-width: 142px !important;
    height: 46px !important;
    min-height: 46px !important;
    max-height: 46px !important;
    padding: 0 16px !important;
    font-size: 0.92rem !important;
  }
}

@media (max-width: 760px) {
  .unit-top-hero-page .global-top-nav {
    position: relative;
    left: auto;
    transform: none;
    width: min(1180px, calc(100% - 32px));
    flex-direction: column;
    align-items: flex-start !important;
    gap: 12px !important;
    padding-top: 10px !important;
    padding-bottom: 0 !important;
    margin-bottom: -1px !important;
  }

  .unit-top-hero-page .page-hero {
    padding: 22px 0 28px !important;
  }

  .unit-top-actions {
    width: 100% !important;
    max-width: none;
    justify-content: flex-start !important;
    gap: 10px !important;
  }

  .unit-top-actions .nav-top-button,
  .unit-top-actions .nav-top-button:first-child {
    min-width: 0 !important;
    width: calc(50% - 5px) !important;
    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
    font-size: 0.82rem !important;
    padding: 0 10px !important;
  }

  .unit-top-hero-page .global-top-nav .logo {
    width: 60px !important;
  }
}

@media (max-width: 480px) {
  .unit-top-hero-page .brand {
    gap: 10px !important;
  }

  .unit-top-hero-page .brand-title {
    font-size: 1.12rem !important;
    line-height: 1.05;
  }

  .unit-top-hero-page .brand-subtitle {
    font-size: 0.8rem !important;
    line-height: 1.1;
  }

  .unit-top-hero-page .global-top-nav .logo {
    width: 50px !important;
  }

  .unit-top-actions .nav-top-button,
  .unit-top-actions .nav-top-button:first-child {
    width: 100% !important;
    font-size: 0.88rem !important;
  }
}

/* v111 homepage header view buttons + centered intro text */
.hero .nav-quick-links {
  align-items: center !important;
}

.home-view-stack {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  width: 156px !important;
  min-width: 156px !important;
  max-width: 156px !important;
  flex: 0 0 156px !important;
}

.home-view-stack .home-view-button {
  width: 156px !important;
  min-width: 156px !important;
  max-width: 156px !important;
  height: 40px !important;
  min-height: 40px !important;
  max-height: 40px !important;
  padding: 0 14px !important;
  font-size: 0.86rem !important;
  line-height: 1 !important;
}

.hero .hero-book-buttons-gold {
  justify-content: center !important;
  margin-top: 16px !important;
  margin-bottom: 26px !important;
}

.hero .hero-copy {
  width: min(760px, 92%) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}

.section-heading-compact {
  width: 100% !important;
  max-width: none !important;
}

.stays-intro-header {
  display: block !important;
  width: min(880px, 92%) !important;
  max-width: 880px !important;
  margin: 0 auto 6px !important;
  text-align: center !important;
}

@media (max-width: 1180px) {
  .home-view-stack {
    width: 148px !important;
    min-width: 148px !important;
    max-width: 148px !important;
    flex-basis: 148px !important;
  }

  .home-view-stack .home-view-button {
    width: 148px !important;
    min-width: 148px !important;
    max-width: 148px !important;
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    font-size: 0.82rem !important;
  }
}

@media (max-width: 900px) {
  .home-view-stack {
    flex-direction: row !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    flex: 1 1 100% !important;
    order: -1;
    justify-content: center !important;
  }

  .home-view-stack .home-view-button {
    width: 124px !important;
    min-width: 124px !important;
    max-width: 124px !important;
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    font-size: 0.9rem !important;
  }

  .hero .hero-book-buttons-gold {
    margin-top: 12px !important;
    margin-bottom: 18px !important;
  }

  .stays-intro-header {
    width: min(620px, 94%) !important;
    max-width: 620px !important;
  }
}

/* v112 final: keep homepage logo and View buttons together as one package */
.home-brand-package {
  display: flex !important;
  align-items: center !important;
  gap: 22px !important;
  flex: 0 0 auto !important;
  min-width: max-content !important;
  padding: 10px 14px !important;
  border-radius: 18px !important;
  background: rgba(255,255,255,0.08) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
}

.home-brand-package .brand::before {
  display: none !important;
}

.home-brand-package .brand {
  flex: 0 0 auto !important;
}

.home-brand-package .home-view-stack {
  margin-left: 0 !important;
  flex: 0 0 auto !important;
}

@media (max-width: 1180px) {
  .home-brand-package {
    gap: 16px !important;
    padding: 9px 12px !important;
  }
}

@media (max-width: 1120px) {
  .hero .nav {
    flex-wrap: wrap !important;
    justify-content: center !important;
  }

  .hero .nav-quick-links {
    justify-content: center !important;
  }
}

@media (max-width: 900px) {
  .home-brand-package {
    width: 100% !important;
    min-width: 0 !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
  }

  .home-brand-package .home-view-stack {
    order: 2 !important;
    flex: 0 1 auto !important;
  }
}

/* v113 work final override: new homepage card/blurb order and smaller blurb */
#stays {
  padding-top: 36px !important;
}

.homepage-condo-cards {
  margin-bottom: 24px !important;
}

.homepage-balcony-blurb-wrap {
  width: 100% !important;
  max-width: none !important;
  margin: 0 auto 28px !important;
}

.homepage-balcony-blurb {
  display: block !important;
  width: min(980px, 92%) !important;
  max-width: 980px !important;
  margin: 0 auto !important;
  font-size: clamp(1.02rem, 1.55vw, 1.24rem) !important;
  line-height: 1.45 !important;
  font-weight: 650 !important;
  color: var(--navy) !important;
  text-align: center !important;
}

.homepage-balcony-blurb-wrap + .homepage-video-section {
  padding-top: 12px !important;
}

@media (max-width: 900px) {
  #stays {
    padding-top: 28px !important;
  }

  .homepage-condo-cards {
    margin-bottom: 20px !important;
  }

  .homepage-balcony-blurb {
    width: min(620px, 94%) !important;
    font-size: 1rem !important;
    line-height: 1.42 !important;
  }
}

/* v113 work final override: stable video poster framing */
.homepage-video-wrap {
  aspect-ratio: 16 / 9 !important;
}

.homepage-video-wrap .tour-video {
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: cover !important;
}

/* v113 work final override: keep 502/503 mobile header buttons visible */
@media (max-width: 760px) {
  .unit-top-hero-page .global-top-nav {
    position: absolute !important;
    top: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 10 !important;
    width: min(1180px, calc(100% - 28px)) !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
    padding-top: 14px !important;
    padding-bottom: 10px !important;
    background: transparent !important;
  }

  .unit-top-hero-page .page-hero {
    padding: 238px 0 36px !important;
  }

  .unit-top-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    width: 100% !important;
    max-width: none !important;
    gap: 10px !important;
    justify-content: stretch !important;
  }

  .unit-top-actions .nav-top-button,
  .unit-top-actions .nav-top-button:first-child {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
    padding: 0 10px !important;
    font-size: 0.84rem !important;
    line-height: 1.1 !important;
    text-align: center !important;
    color: var(--white) !important;
    background: rgba(255,255,255,0.18) !important;
    border-color: rgba(255,255,255,0.48) !important;
    box-shadow: 0 10px 24px rgba(0,0,0,0.12) !important;
  }
}

@media (max-width: 480px) {
  .unit-top-hero-page .page-hero {
    padding-top: 284px !important;
  }

  .unit-top-actions .nav-top-button:first-child {
    grid-column: 1 / -1 !important;
  }

  .unit-top-actions .nav-top-button,
  .unit-top-actions .nav-top-button:first-child {
    font-size: 0.78rem !important;
    padding: 0 8px !important;
  }
}

/* v114 final: compact section headings and white shadow amenities */
#gallery .section-heading,
#amenities .section-heading {
  max-width: 980px !important;
  margin: 0 auto 18px !important;
  text-align: left !important;
}

#gallery .section-heading .eyebrow,
#amenities .section-heading .eyebrow {
  color: var(--gold-text) !important;
  margin: 0 0 8px !important;
}

#gallery .section-heading h2,
#amenities .section-heading h2,
#amenities .convenience-header-row h2 {
  font-size: clamp(1.2rem, 1.8vw, 1.45rem) !important;
  line-height: 1.2 !important;
  margin: 0 !important;
  color: var(--navy) !important;
}

#amenities.section.container {
  background: #ffffff !important;
  border-radius: 22px !important;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08) !important;
  margin-top: 28px !important;
  margin-bottom: 36px !important;
  padding: 28px 20px 32px !important;
}

#amenities .convenience-header-row {
  align-items: flex-start !important;
  gap: 20px !important;
}

#amenities .convenience-cta-row {
  padding-left: 24px !important;
}

#amenities .amenity {
  background: #ffffff !important;
  border-radius: 22px !important;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08) !important;
}

@media (max-width: 900px) {
  #gallery .section-heading,
  #amenities .section-heading {
    max-width: none !important;
    margin-bottom: 16px !important;
  }

  #amenities .convenience-header-row {
    gap: 12px !important;
  }

  #amenities .convenience-cta-row {
    padding-left: 0 !important;
  }
}

/* v115 final: restore white gallery background and tighten convenience card */
#gallery.alt-section {
  background: #ffffff !important;
}

#amenities.section.container {
  margin-top: 22px !important;
  margin-bottom: 34px !important;
  padding: 18px 20px 24px !important;
}

#amenities .section-heading {
  margin-bottom: 14px !important;
}

#amenities .convenience-header-row {
  align-items: center !important;
  gap: 18px !important;
  margin-bottom: 0 !important;
}

#amenities .convenience-cta-row {
  align-items: center !important;
}

#amenities .amenities {
  margin-top: 14px !important;
}

@media (max-width: 900px) {
  #amenities.section.container {
    margin-top: 18px !important;
    padding: 18px 16px 22px !important;
  }

  #amenities .convenience-header-row {
    align-items: flex-start !important;
  }
}

/* v116 final: restore aerial hero header on 360 tour pages */
.tour360-top-page .tour360-top-nav {
  position: relative !important;
  z-index: 1 !important;
  width: min(1180px, calc(100% - 32px)) !important;
  min-height: 210px !important;
  margin: 0 auto !important;
  padding: 30px 24px 92px !important;
  align-items: flex-start !important;
  background:
    linear-gradient(rgba(19, 59, 99, 0.68), rgba(19, 59, 99, 0.62)),
    url("aerial_2-hero-v118.jpg") center 38%/cover no-repeat !important;
  border-radius: 0 0 22px 22px !important;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.10) !important;
}

.tour360-top-page .tour360-top-nav .logo {
  width: 78px !important;
  background: transparent !important;
  box-shadow: none !important;
}

.tour360-top-page .tour360-top-nav .brand-title {
  color: var(--gold) !important;
  text-shadow: 0 2px 10px rgba(0,0,0,0.25) !important;
}

.tour360-top-page .tour360-top-nav .brand-subtitle {
  color: rgba(255,255,255,0.94) !important;
  text-shadow: 0 2px 10px rgba(0,0,0,0.20) !important;
}

.tour360-top-page .tour360-top-nav .nav-quick-links {
  margin-left: auto !important;
  justify-content: flex-end !important;
  flex-wrap: wrap !important;
}

.tour360-top-page .tour360-top-nav .nav-top-button,
.tour360-top-page .tour360-top-nav .nav-quick-button,
.tour360-top-page .tour360-top-nav .nav-photos-dropdown .photos-dropdown-toggle {
  color: var(--white) !important;
  background: rgba(255,255,255,0.18) !important;
  border-color: rgba(255,255,255,0.48) !important;
  box-shadow: 0 10px 24px rgba(0,0,0,0.12) !important;
}

.tour360-top-page main.container.section {
  padding-top: 22px !important;
}

@media (max-width: 900px) {
  .tour360-top-page .tour360-top-nav {
    min-height: 250px !important;
    padding: 18px 16px 28px !important;
    flex-direction: column !important;
    gap: 12px !important;
  }

  .tour360-top-page .tour360-top-nav .brand {
    width: 100% !important;
  }

  .tour360-top-page .tour360-top-nav .nav-quick-links {
    width: 100% !important;
    justify-content: flex-start !important;
  }

  .tour360-top-page main.container.section {
    padding-top: 16px !important;
  }
}

/* v118 PageSpeed: use smaller hero artwork on mobile-sized viewports. */
@media (max-width: 700px) {
  .hero {
    background:
      linear-gradient(rgba(19, 59, 99, 0.50), rgba(19, 59, 99, 0.58)),
      url("aerial_2-hero-mobile-v118.jpg") center/cover no-repeat !important;
  }

  .page-hero {
    background:
      linear-gradient(rgba(19, 59, 99, 0.78), rgba(19, 59, 99, 0.72)),
      url("aerial_2-hero-mobile-v118.jpg") center 38%/cover no-repeat !important;
  }

  .unit-top-hero-page .page-hero {
    background:
      linear-gradient(rgba(19, 59, 99, 0.74), rgba(19, 59, 99, 0.68)),
      url("aerial_2-hero-mobile-v118.jpg") center 38%/cover no-repeat !important;
  }

  .tour360-top-page .tour360-top-nav {
    background:
      linear-gradient(rgba(19, 59, 99, 0.68), rgba(19, 59, 99, 0.62)),
      url("aerial_2-hero-mobile-v118.jpg") center 38%/cover no-repeat !important;
  }
}

/* v120: keep dropdown menus above hero content and normalize homepage image tiles. */
.hero .nav {
  z-index: 50 !important;
}

.nav-photos-dropdown.is-open {
  z-index: 5000 !important;
  overflow: visible !important;
}

.nav-photos-dropdown.is-open .photos-dropdown-menu,
.photos-dropdown-menu {
  display: none;
  z-index: 5001 !important;
  pointer-events: auto !important;
  overflow: visible !important;
}

.nav-photos-dropdown.is-open .photos-dropdown-menu {
  display: block !important;
}

.photos-dropdown-menu a {
  display: block !important;
  position: relative !important;
  z-index: 5002 !important;
  pointer-events: auto !important;
  width: 100% !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
}

.hero,
.nav,
.nav-quick-links,
.nav-photos-dropdown {
  overflow: visible !important;
}

.homepage-condo-cards .card img {
  width: 100% !important;
  height: clamp(300px, 25vw, 360px) !important;
  aspect-ratio: auto !important;
  object-fit: cover !important;
}

#gallery .gallery img {
  width: 100% !important;
  height: clamp(260px, 24vw, 360px) !important;
  aspect-ratio: auto !important;
  object-fit: cover !important;
}

@media (max-width: 900px) {
  .homepage-condo-cards .card img,
  #gallery .gallery img {
    height: 260px !important;
  }
}

/* v121: renovation note on 502 and 503 hero sections. */
.unit-renovation-note {
  width: 100% !important;
  margin: 4px auto 12px !important;
  color: var(--gold) !important;
  font-size: 1rem !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  letter-spacing: 0.04em !important;
  text-align: center !important;
  text-transform: uppercase !important;
  text-shadow: 0 2px 10px rgba(0,0,0,0.25) !important;
}

@media (max-width: 700px) {
  .unit-renovation-note {
    margin: 2px auto 10px !important;
    font-size: 0.86rem !important;
    line-height: 1.3 !important;
    letter-spacing: 0.03em !important;
  }
}

/* v124 paid-search landing page for Port Aransas beachfront condo searches. */
.search-landing-page {
  background: #ffffff;
  overflow-x: hidden;
}

.search-landing-hero {
  position: relative;
  min-height: 78vh;
  color: var(--white);
  background:
    linear-gradient(rgba(12, 37, 60, 0.46), rgba(12, 37, 60, 0.70)),
    url("aerial_2-hero-v118.jpg") center 38%/cover no-repeat;
  overflow: visible;
}

.search-landing-nav {
  position: relative;
  z-index: 10;
}

.search-landing-hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: calc(78vh - 150px);
  max-width: 980px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 54px 0 58px;
}

.search-landing-hero-content .eyebrow {
  color: var(--gold);
}

.search-landing-hero h1 {
  max-width: 900px;
  margin: 0 0 14px;
  color: #ffffff;
  font-size: clamp(2.75rem, 7vw, 5.75rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.search-landing-hero-copy {
  max-width: 760px;
  margin: 0 0 22px;
  color: rgba(255,255,255,0.94);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.45;
}

.search-landing-cta-row,
.search-landing-card-actions,
.search-landing-final-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.search-landing-primary-cta,
.search-landing-secondary-cta {
  min-width: 150px;
  padding: 13px 20px !important;
  font-size: 1rem;
}

.search-landing-secondary-cta {
  background: rgba(255,255,255,0.14);
  color: #ffffff;
  border-color: rgba(255,255,255,0.44);
}

.search-landing-proof-strip {
  display: grid;
  width: min(860px, 100%);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.search-landing-proof-strip span {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.34);
  border-radius: 16px;
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.96);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.search-landing-heading {
  max-width: 860px;
}

.search-landing-heading h2,
.search-landing-band-copy h2,
.search-landing-final-inner h2 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.search-landing-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.search-landing-feature {
  padding: 22px;
  border: 1px solid rgba(19, 59, 99, 0.11);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.06);
}

.search-landing-feature h3 {
  margin: 0 0 8px;
  color: var(--navy);
}

.search-landing-feature p {
  margin: 0;
  color: var(--muted);
}

.search-landing-unit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.search-landing-unit-card {
  overflow: hidden;
  border: 1px solid rgba(19, 59, 99, 0.10);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
}

.search-landing-unit-card img {
  width: 100%;
  height: clamp(280px, 28vw, 370px);
  object-fit: cover;
}

.search-landing-unit-body {
  padding: 24px;
}

.search-landing-unit-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.search-landing-unit-title-row h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.65rem;
  line-height: 1.1;
}

.search-landing-unit-title-row span {
  flex: 0 0 auto;
  color: var(--gold-text);
  font-size: 0.95rem;
  font-weight: 800;
}

.search-landing-checklist {
  margin: 16px 0 20px;
}

.search-landing-card-actions .button {
  min-width: 180px;
  text-align: center;
}

.button-secondary {
  background: #ffffff;
  color: var(--navy);
  border: 1px solid rgba(19, 59, 99, 0.18);
  box-shadow: none;
}

.search-landing-band {
  background: #ffffff;
}

.search-landing-band-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 32px;
}

.search-landing-band-copy p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.search-landing-band-media img {
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.09);
}

.search-landing-tour-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.search-landing-tour-tile {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 190px;
  border-radius: 18px;
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

.search-landing-tour-tile img {
  width: 100%;
  height: 100%;
  min-height: 190px;
  object-fit: cover;
  transition: transform 0.18s ease;
}

.search-landing-tour-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 16, 27, 0.72), rgba(5, 16, 27, 0.06));
}

.search-landing-tour-tile span {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 1;
  font-weight: 800;
  line-height: 1.15;
}

.search-landing-tour-tile:hover img {
  transform: scale(1.03);
}

.search-landing-final-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
}

.search-landing-final-inner p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.search-landing-final-actions {
  justify-content: flex-end;
}

@media (max-width: 980px) {
  .search-landing-proof-strip,
  .search-landing-feature-grid,
  .search-landing-tour-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .search-landing-unit-grid,
  .search-landing-band-grid,
  .search-landing-final-inner {
    grid-template-columns: 1fr;
  }

  .search-landing-final-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 700px) {
  .search-landing-hero {
    min-height: auto;
    background:
      linear-gradient(rgba(12, 37, 60, 0.50), rgba(12, 37, 60, 0.78)),
      url("aerial_2-hero-mobile-v118.jpg") center 38%/cover no-repeat;
  }

  .search-landing-nav {
    gap: 12px !important;
    padding-top: 16px !important;
  }

  .search-landing-nav-actions {
    width: 100% !important;
    justify-content: flex-start !important;
  }

  .search-landing-hero-content {
    min-height: 560px;
    padding: 38px 0 34px;
  }

  .search-landing-hero h1 {
    font-size: clamp(2.35rem, 13vw, 3.6rem);
  }

  .search-landing-hero-copy {
    font-size: 1.02rem;
  }

  .search-landing-cta-row .hero-book-button,
  .search-landing-card-actions .button,
  .search-landing-final-actions .button {
    width: 100%;
  }

  .search-landing-proof-strip,
  .search-landing-feature-grid,
  .search-landing-tour-grid {
    grid-template-columns: 1fr;
  }

  .search-landing-proof-strip span {
    min-height: 46px;
  }

  .search-landing-unit-card img {
    height: 250px;
  }

  .search-landing-unit-title-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .search-landing-tour-tile,
  .search-landing-tour-tile img {
    min-height: 220px;
  }
}
