.community-live-page {
  --community-navy: #253e51;
  --community-navy-dark: #182a37;
  --community-green: #72b11a;
  --community-cream: #ffe3c2;
  --community-border: #dce4e8;
  background: #fff;
  color: #314452;
  font-family: "Open Sans", Arial, sans-serif;
  font-weight: 300;
}

.community-live-breadcrumb {
  border-bottom: 1px solid var(--community-border);
  background: #f6f9fa;
}

.community-live-breadcrumb > div {
  display: flex;
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 15px 0;
  gap: 9px;
  overflow: hidden;
  color: #72818c;
  font-size: 12px;
  white-space: nowrap;
}

.community-live-breadcrumb a {
  color: var(--community-green);
  text-decoration: none;
}

.community-live-breadcrumb span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
}

.community-live-shell {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 52px 0 90px;
}

.community-live-summary {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.4fr);
  gap: 44px;
  align-items: center;
}

.community-live-summary-copy {
  min-width: 0;
}

.community-live-logo {
  display: block;
  width: auto;
  max-width: min(210px, 70%);
  max-height: 95px;
  margin-bottom: 22px;
  object-fit: contain;
  object-position: left center;
}

.community-live-summary h1 {
  margin: 0;
  color: var(--community-navy);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(37px, 4.5vw, 58px);
  font-weight: 500;
  line-height: 1.02;
}

.community-live-address {
  display: flex;
  margin: 22px 0 0;
  gap: 9px;
  color: #5f707c;
  font-size: 14px;
  line-height: 1.65;
}

.community-live-address span {
  color: var(--community-green);
  font-size: 9px;
  line-height: 24px;
}

.community-live-price {
  margin: 18px 0 0;
  color: var(--community-navy);
  font-size: 22px;
  font-weight: 500;
}

.community-live-actions {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.community-live-actions > a,
.community-live-actions > span {
  display: inline-flex;
  min-height: 55px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--community-navy-dark);
  border-radius: 85px;
  font-size: 15px;
  font-weight: 400;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.community-live-call {
  background: var(--community-navy-dark);
  color: #fff;
}

.community-live-call:hover {
  border-color: var(--community-green);
  background: var(--community-green);
}

.community-live-brochure {
  background: #fff;
  color: #1d2d38;
}

.community-live-brochure:hover {
  border-color: var(--community-green);
  color: #4e8611;
}

.community-live-brochure.is-unavailable {
  cursor: not-allowed;
  opacity: 0.5;
}

.community-live-gallery {
  display: grid;
  height: 470px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.community-live-gallery button {
  min-width: 0;
  overflow: hidden;
  border: 0;
  background: #e7edf0;
  cursor: zoom-in;
}

.community-live-gallery-main {
  grid-column: span 2;
  grid-row: span 2;
}

.community-live-gallery-1 .community-live-gallery-main {
  grid-column: 1 / -1;
}

.community-live-gallery-2 .community-live-gallery-main,
.community-live-gallery-3 .community-live-gallery-main {
  grid-column: span 3;
}

.community-live-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease;
}

.community-live-gallery button:hover img {
  transform: scale(1.025);
}

.community-live-nav {
  position: sticky;
  z-index: 20;
  top: 126px;
  margin-top: 52px;
  border-top: 1px solid var(--community-border);
  border-bottom: 1px solid var(--community-border);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 6px 18px rgba(31, 55, 70, 0.05);
  backdrop-filter: blur(8px);
}

.community-live-nav > div {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
}

.community-live-progress {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  overflow: hidden;
  height: 3px;
  background: rgba(114, 177, 26, 0.14);
}

.community-live-progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #5e9514, var(--community-green));
  transition: width 90ms linear;
}

.community-live-nav > div::-webkit-scrollbar {
  display: none;
}

.community-live-nav a {
  position: relative;
  flex: 1 0 auto;
  padding: 18px 22px;
  color: #455864;
  font-size: 13px;
  font-weight: 400;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: color 150ms ease;
}

.community-live-nav a:hover,
.community-live-nav a:focus {
  color: var(--community-green);
}

.community-live-nav a.is-active {
  color: var(--community-navy);
  font-weight: 600;
}

.community-live-content {
  width: 100%;
  margin-top: 10px;
}

.community-live-section {
  padding-top: 68px;
}

.community-live-section-heading h2 {
  scroll-margin-top: 225px;
  margin: 0;
  color: var(--community-navy);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(35px, 4vw, 46px);
  font-weight: 500;
  line-height: 1.1;
}

.community-live-section-heading span {
  display: block;
  width: 100%;
  height: 1px;
  margin-top: 16px;
  background: #cfd9de;
}

.community-live-overview,
.community-live-details {
  max-width: none;
  margin: 25px 0 0;
  color: #111827;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.85;
}

.community-siteplan-image {
  display: block;
  width: min(70%, 850px);
  margin: 30px 0 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--community-border);
  background: #f5f7f8;
  cursor: zoom-in;
}

.community-siteplan-image img {
  display: block;
  width: 100%;
  height: auto;
}

.community-amenity-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 32px;
  margin-top: 32px;
}

.community-amenity-group {
  padding: 24px 26px 26px;
  border: 1px solid var(--community-border);
  border-top: 3px solid var(--community-green);
  border-radius: 4px;
  background: #fafbfc;
  box-shadow: 0 1px 2px rgba(37, 62, 81, 0.04);
  transition: box-shadow 220ms ease, transform 220ms ease, border-color 220ms ease;
}

.community-amenity-group:hover {
  border-color: #c3d0d6;
  box-shadow: 0 14px 28px rgba(37, 62, 81, 0.09);
  transform: translateY(-3px);
}

.community-amenity-group-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--community-border);
}

.community-amenity-icon {
  display: flex;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(114, 177, 26, 0.1);
  color: var(--community-green);
}

.community-amenity-icon svg {
  width: 16px;
  height: 16px;
}

.community-amenity-group h3 {
  margin: 0;
  color: var(--community-navy);
  font-size: 18px;
  font-weight: 500;
}

.community-amenity-group ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.community-amenity-group li {
  position: relative;
  margin: 0 0 11px;
  padding-left: 24px;
  color: #111827;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.65;
}

.community-amenity-group li:last-child {
  margin-bottom: 0;
}

.community-amenity-group li::before {
  position: absolute;
  top: 2px;
  left: 0;
  display: flex;
  width: 15px;
  height: 15px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(114, 177, 26, 0.12);
  color: var(--community-green);
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  content: "✓";
}

.community-floor-accordions {
  display: grid;
  gap: 12px;
  width: min(820px, 100%);
  margin-top: 30px;
}

.community-floor-accordion {
  overflow: hidden;
  border: 1px solid #d4dde2;
  background: #fff;
}

.community-floor-trigger {
  display: flex;
  width: 100%;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border: 0;
  background: #f0f2f3;
  color: #263b49;
  font-size: 16px;
  font-weight: 400;
  text-align: left;
  cursor: pointer;
}

.community-floor-trigger:hover,
.community-floor-accordion.is-open .community-floor-trigger {
  background: #e8edef;
}

.community-floor-trigger span:last-child {
  color: var(--community-green);
  font-size: 25px;
  font-weight: 300;
}

.community-floor-panel {
  padding: 24px;
  background: #fff;
}

.community-floor-panel button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.community-floor-panel img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #d9e0e4;
}

.community-live-empty {
  width: min(820px, 100%);
  margin: 30px 0 0;
  padding: 34px;
  background: #f0f2f3;
  color: #697983;
  font-size: 15px;
  text-align: center;
}

.community-live-map {
  display: block;
  width: 100%;
  height: 450px;
  margin-top: 30px;
  border: 0;
  background: #e8edef;
}

.community-live-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 72px;
  padding: 34px 40px;
  background: var(--community-navy);
  color: #fff;
}

.community-live-contact p {
  margin: 0 0 5px;
  color: #bfcbd2;
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.community-live-contact h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(27px, 3vw, 38px);
  font-weight: 500;
}

.community-live-contact button {
  flex: 0 0 auto;
  padding: 14px 25px;
  border: 1px solid var(--community-green);
  border-radius: 4px;
  background: var(--community-green);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

.community-media-open {
  overflow: hidden;
}

.community-media-viewer {
  position: fixed;
  z-index: 200;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
  background: rgba(10, 24, 33, 0.92);
  cursor: zoom-out;
}

.community-media-viewer img {
  display: block;
  max-width: min(1400px, 96vw);
  max-height: 90vh;
  object-fit: contain;
  cursor: default;
}

.community-media-close {
  position: fixed;
  z-index: 1;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  font-size: 31px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 980px) {
  .community-live-summary {
    grid-template-columns: 1fr;
  }

  .community-live-summary-copy {
    max-width: 650px;
  }

  .community-live-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .community-live-nav {
    top: 126px;
  }
}

@media (max-width: 680px) {
  .community-live-breadcrumb > div,
  .community-live-shell {
    width: calc(100% - 32px);
  }

  .community-live-shell {
    padding-top: 36px;
  }

  .community-live-actions,
  .community-amenity-grid {
    grid-template-columns: 1fr;
  }

  .community-live-gallery {
    height: 340px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .community-live-gallery-main,
  .community-live-gallery-2 .community-live-gallery-main,
  .community-live-gallery-3 .community-live-gallery-main {
    grid-column: span 2;
    grid-row: auto;
  }

  .community-live-gallery-1 .community-live-gallery-main {
    grid-row: span 2;
  }

  .community-live-nav {
    top: 113px;
    margin-right: -16px;
    margin-left: -16px;
  }

  .community-live-nav a {
    padding: 15px 17px;
  }

  .community-siteplan-image {
    width: 100%;
  }

  .community-amenity-grid {
    gap: 32px;
  }

  .community-live-map {
    height: 360px;
  }

  .community-live-contact {
    align-items: flex-start;
    flex-direction: column;
    padding: 28px 24px;
  }

  .community-media-viewer {
    padding: 20px;
  }
}
