/* ==========================================================================
   legacy.css — dresses the existing page content in the new template.
   The content markup (Bootstrap grid, old section/heading/table/FAQ/blog
   classes) was kept exactly as it was; these rules restyle it with the
   template's design tokens from style.css. Load after style.css.
   ========================================================================== */

/* ---------- 1. Header logo, long menus, country-code picker ---------- */
.brand--logo { min-height: 44px; }
.brand--logo img { height: 46px; width: auto; max-width: 190px; object-fit: contain; display: block; }
.brand--logo a { display: block; }
@media (min-width: 900px) { .brand--logo img { height: 54px; max-width: 230px; } }

/* Menus with 10+ items: switch to the desktop bar later and tighten it. */
@media (min-width: 900px) and (max-width: 1239px) {
  .main-nav:has(> ul > li:nth-child(10)) { position: fixed; inset: 0 0 0 auto; width: min(320px, 86vw);
    background: var(--white); border-left: 1px solid var(--border); padding: 20px 20px 40px;
    transform: translateX(100%); visibility: hidden; overflow-y: auto; }
  .main-nav:has(> ul > li:nth-child(10)).is-open { transform: none; visibility: visible; }
  .main-nav:has(> ul > li:nth-child(10)) .main-nav__head { display: flex; }
  .main-nav:has(> ul > li:nth-child(10)) ul { display: block; }
  .main-nav:has(> ul > li:nth-child(10)) li + li { border-top: 1px solid var(--border); }
  .main-nav:has(> ul > li:nth-child(10)) a { padding: 13px 2px; font-size: .97rem; }
  .main-nav:has(> ul > li:nth-child(10)) a::after { display: none; }
  .main-nav:has(> ul > li:nth-child(10)) .btn { display: flex; }
  .site-header:has(.main-nav > ul > li:nth-child(10)) .nav-toggle { display: inline-flex; }
  body:has(.main-nav > ul > li:nth-child(10)) .nav-backdrop { display: block; }
}
@media (min-width: 1240px) { .main-nav a { padding: 8px 8px; font-size: .84rem; } }

.phone-wrap { display: flex; gap: 8px; }
.phone-wrap .phone-code { flex: 0 0 112px; width: 112px; min-width: 0; }
.phone-wrap input { flex: 1; min-width: 0; }

/* ---------- 2. Bootstrap grid + utilities used by the content ---------- */
.row { display: flex; flex-wrap: wrap; margin-inline: -12px; }
.row > * { box-sizing: border-box; width: 100%; max-width: 100%; padding-inline: 12px; }
.col, [class^="col-"], [class*=" col-"] { position: relative; }
.col { flex: 1 0 0%; }
.col-1 { flex: 0 0 auto; width: 8.3333%; }  .col-2 { flex: 0 0 auto; width: 16.6667%; }
.col-3 { flex: 0 0 auto; width: 25%; }       .col-4 { flex: 0 0 auto; width: 33.3333%; }
.col-5 { flex: 0 0 auto; width: 41.6667%; }  .col-6 { flex: 0 0 auto; width: 50%; }
.col-7 { flex: 0 0 auto; width: 58.3333%; }  .col-8 { flex: 0 0 auto; width: 66.6667%; }
.col-9 { flex: 0 0 auto; width: 75%; }       .col-10 { flex: 0 0 auto; width: 83.3333%; }
.col-11 { flex: 0 0 auto; width: 91.6667%; } .col-12 { flex: 0 0 auto; width: 100%; }
@media (min-width: 576px) {
  .col-sm-1 { flex: 0 0 auto; width: 8.3333%; }  .col-sm-2 { flex: 0 0 auto; width: 16.6667%; }
  .col-sm-3 { flex: 0 0 auto; width: 25%; }       .col-sm-4 { flex: 0 0 auto; width: 33.3333%; }
  .col-sm-5 { flex: 0 0 auto; width: 41.6667%; }  .col-sm-6 { flex: 0 0 auto; width: 50%; }
  .col-sm-7 { flex: 0 0 auto; width: 58.3333%; }  .col-sm-8 { flex: 0 0 auto; width: 66.6667%; }
  .col-sm-9 { flex: 0 0 auto; width: 75%; }       .col-sm-10 { flex: 0 0 auto; width: 83.3333%; }
  .col-sm-11 { flex: 0 0 auto; width: 91.6667%; } .col-sm-12 { flex: 0 0 auto; width: 100%; }
}
@media (min-width: 768px) {
  .col-md-1 { flex: 0 0 auto; width: 8.3333%; }  .col-md-2 { flex: 0 0 auto; width: 16.6667%; }
  .col-md-3 { flex: 0 0 auto; width: 25%; }       .col-md-4 { flex: 0 0 auto; width: 33.3333%; }
  .col-md-5 { flex: 0 0 auto; width: 41.6667%; }  .col-md-6 { flex: 0 0 auto; width: 50%; }
  .col-md-7 { flex: 0 0 auto; width: 58.3333%; }  .col-md-8 { flex: 0 0 auto; width: 66.6667%; }
  .col-md-9 { flex: 0 0 auto; width: 75%; }       .col-md-10 { flex: 0 0 auto; width: 83.3333%; }
  .col-md-11 { flex: 0 0 auto; width: 91.6667%; } .col-md-12 { flex: 0 0 auto; width: 100%; }
  .offset-md-1 { margin-left: 8.3333%; } .offset-md-2 { margin-left: 16.6667%; } .offset-md-3 { margin-left: 25%; }
  .text-md-left { text-align: left !important; } .text-md-center { text-align: center !important; }
  .d-md-block { display: block !important; } .d-md-flex { display: flex !important; } .d-md-none { display: none !important; }
}
@media (min-width: 992px) {
  .col-lg-1 { flex: 0 0 auto; width: 8.3333%; }  .col-lg-2 { flex: 0 0 auto; width: 16.6667%; }
  .col-lg-3 { flex: 0 0 auto; width: 25%; }       .col-lg-4 { flex: 0 0 auto; width: 33.3333%; }
  .col-lg-5 { flex: 0 0 auto; width: 41.6667%; }  .col-lg-6 { flex: 0 0 auto; width: 50%; }
  .col-lg-7 { flex: 0 0 auto; width: 58.3333%; }  .col-lg-8 { flex: 0 0 auto; width: 66.6667%; }
  .col-lg-9 { flex: 0 0 auto; width: 75%; }       .col-lg-10 { flex: 0 0 auto; width: 83.3333%; }
  .col-lg-11 { flex: 0 0 auto; width: 91.6667%; } .col-lg-12 { flex: 0 0 auto; width: 100%; }
  .offset-lg-1 { margin-left: 8.3333%; } .offset-lg-2 { margin-left: 16.6667%; }
  .mt-lg-0 { margin-top: 0 !important; }
  .d-lg-block { display: block !important; } .d-lg-flex { display: flex !important; } .d-lg-none { display: none !important; }
}
@media (min-width: 1200px) {
  .col-xl-3 { flex: 0 0 auto; width: 25%; } .col-xl-4 { flex: 0 0 auto; width: 33.3333%; }
  .col-xl-6 { flex: 0 0 auto; width: 50%; } .col-xl-12 { flex: 0 0 auto; width: 100%; }
}
.no-gutters { margin-inline: 0; } .no-gutters > * { padding-inline: 0; }
.justify-content-center { justify-content: center !important; }
.justify-content-between { justify-content: space-between !important; }
.justify-content-end { justify-content: flex-end !important; }
.align-items-center { align-items: center !important; }
.align-items-start { align-items: flex-start !important; }
.flex, .d-flex { display: flex !important; }
.flex-wrap { flex-wrap: wrap !important; }
.d-block { display: block !important; } .d-inline-block { display: inline-block !important; }
.d-none { display: none !important; }
.text-center { text-align: center !important; } .text-left { text-align: left !important; }
.text-right { text-align: right !important; } .text-justify { text-align: justify !important; }
.text-uppercase { text-transform: uppercase; } .font-weight-bold { font-weight: 700; }
.img-fluid { max-width: 100%; height: auto; }
.w-100 { width: 100% !important; } .h-100 { height: 100% !important; }
.mx-auto { margin-inline: auto !important; }
.float-left { float: left; } .float-right { float: right; }
.clearfix::after { content: ""; display: table; clear: both; }
.list-unstyled { list-style: none; padding-left: 0; }
.m-0 { margin: 0 !important; } .p-0 { padding: 0 !important; }
.mt-0 { margin-top: 0 !important; } .mt-1 { margin-top: .25rem !important; } .mt-2 { margin-top: .5rem !important; }
.mt-3 { margin-top: 1rem !important; } .mt-4 { margin-top: 1.5rem !important; } .mt-5 { margin-top: 3rem !important; }
.mb-0 { margin-bottom: 0 !important; } .mb-1 { margin-bottom: .25rem !important; } .mb-2 { margin-bottom: .5rem !important; }
.mb-3 { margin-bottom: 1rem !important; } .mb-4 { margin-bottom: 1.5rem !important; } .mb-5 { margin-bottom: 3rem !important; }
.my-3 { margin-block: 1rem !important; } .my-4 { margin-block: 1.5rem !important; } .my-5 { margin-block: 3rem !important; }
.py-3 { padding-block: 1rem !important; } .py-4 { padding-block: 1.5rem !important; } .py-5 { padding-block: 3rem !important; }
.pt-3 { padding-top: 1rem !important; } .pb-3 { padding-bottom: 1rem !important; }
.px-3 { padding-inline: 1rem !important; } .p-3 { padding: 1rem !important; } .p-4 { padding: 1.5rem !important; }
.gap-20 > * { margin-bottom: 20px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- 3. Section bands, headings, body copy ---------- */
main > section:not(.hero-legacy):not(.hero):not(.page-hero), .project-area, section.content, .silo-interlinking {
  padding-block: var(--space-section);
  scroll-margin-top: calc(var(--header-h) + 60px);
}
.white-bg { background: var(--light); }
.solid-bg { background: var(--light-2); }
.white-bg + .white-bg, .solid-bg + .solid-bg { border-top: 1px solid var(--border); }
.border-page { border: 0; }

.template-title { margin-bottom: 18px; }
.template-title br { display: none; }
.into-sub-title, .main-h2, .action-title {
  font-family: var(--font-display);
  color: var(--primary);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -.01em;
}
h1.into-sub-title, h1.main-h2, h1.action-title { font-size: clamp(2rem, 5.4vw, 2.9rem); }
h2.into-sub-title, h2.main-h2 { font-size: clamp(1.6rem, 4.4vw, 2.25rem); }
.into-sub-title::after, .main-h2::after, .action-title::after {
  content: ""; display: block; width: 56px; height: 2px; background: var(--accent); margin: 14px 0 0;
}
.text-center .into-sub-title::after, .text-center .main-h2::after, .text-center.action-title::after,
.into-sub-title.text-center::after, .action-title.text-center::after, h1.action-title::after { margin-inline: auto; }

main p, main li { color: #33403b; }
main p, main li, main td, main th { line-height: 1.75; }
main h3 { margin-top: 1.2em; }
main h3:first-child { margin-top: 0; }
main ul, main ol { margin: 0 0 1.05rem; }
main a:not(.btn):not([class*="Common_btn"]) { color: var(--primary-500); border-bottom: 1px dotted rgba(180,139,69,.6); }
main a:not(.btn):hover { color: var(--accent-600); }
main a:has(> img), main [class*="col-"] > a:has(> img) { border-bottom: 0 !important; }
main img { max-width: 100%; height: auto; }
main img.img-fluid, main .content img, main .project-area img { border-radius: var(--radius); }
.published-date, time { font-size: .82rem; color: var(--muted); letter-spacing: .04em; }

/* ---------- 4. Page hero (former banner) ---------- */
.page-hero .banner-title, .page-hero h1, .page-hero h2 {
  color: #fff; margin: 0; font-size: clamp(1.9rem, 5.6vw, 3rem); font-weight: 600;
}
.page-hero .banner-title::before {
  content: ""; display: block; width: 46px; height: 2px; background: var(--accent); margin-bottom: 16px;
}

/* ---------- 5. Buttons inside the content ---------- */
main .btn, main .Common_btn, main .enquery_now {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 20px; border-radius: var(--radius);
  font-family: var(--font-body); font-weight: 600; font-size: .9rem; letter-spacing: .02em;
  border: 1px solid var(--accent); background: var(--accent); color: #fff !important;
  cursor: pointer; text-decoration: none; transition: background var(--transition), color var(--transition);
  white-space: normal; text-align: center;
}
main .btn:hover, main .Common_btn:hover, main .enquery_now:hover { background: var(--accent-600); border-color: var(--accent-600); color: #fff !important; }
main .btn-dark { background: var(--primary); border-color: var(--primary); }
main .btn-dark:hover { background: var(--primary-500); border-color: var(--primary-500); }
main .btn-outline-primary, main .btn-outline-dark, main .btn-light {
  background: var(--white); color: var(--primary) !important; border-color: var(--border-strong);
}
main .btn-outline-primary:hover, main .btn-outline-dark:hover, main .btn-light:hover {
  background: var(--white); border-color: var(--accent); color: var(--accent-600) !important;
}
main .btn-block { display: flex; width: 100%; }
.call-to-action-btn { margin-block: 8px; }
.call-to-action-btn .btn, .call-to-action-btn a { width: 100%; }

/* ---------- 6. Tables ---------- */
main table {
  width: 100%; border-collapse: collapse; background: var(--white);
  border: 1px solid var(--border); border-radius: var(--radius-lg); font-size: .93rem; margin-bottom: 1.2rem;
}
main table th, main table td {
  padding: 12px 14px; border: 0; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top;
}
main table thead th, main table tr:first-child th {
  background: var(--light-2) !important; color: var(--primary); font-size: .8rem;
  letter-spacing: .08em; text-transform: uppercase; font-weight: 600;
}
main table tr[style] { background: transparent !important; }
main table tr:first-child td[scope="row"], main table td.her1:first-child { font-weight: 600; color: var(--primary); }
main table tbody tr:hover { background: #fbfaf7; }
main table tr:last-child td { border-bottom: 0; }
main .spe-table td:first-child { width: 34%; font-weight: 600; color: var(--primary); }
main table .btn { min-height: 36px; padding: 6px 14px; font-size: .85rem; }
@media (max-width: 767px) {
  main table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

/* ---------- 7. FAQs (both old styles) ---------- */
.sc_fs_faq, .sc_card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 16px 18px; margin-bottom: 10px;
}
.sc_fs_faq h3 {
  font-family: var(--font-body); font-size: .98rem; font-weight: 600; color: var(--primary);
  margin: 0 0 8px; line-height: 1.5;
}
.sc_fs_faq p { margin-left: 0 !important; color: var(--muted); font-size: .94rem; margin-bottom: 0; }
.faq.open, .faq:not(.faq__item):has(> .faq_question) {
  display: block; background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); margin-bottom: 10px; overflow: hidden;
}
.faq_question {
  position: relative; cursor: pointer; padding: 16px 48px 16px 18px;
  font-weight: 600; color: var(--primary); font-size: .97rem; line-height: 1.5;
}
.faq_question::after {
  content: "+"; position: absolute; right: 18px; top: 13px; color: var(--accent); font-size: 1.35rem; line-height: 1;
}
.faq.open .faq_question::after { content: "\2212"; }
.faq_answer_container { height: 0 !important; overflow: hidden; }
.faq.open .faq_answer_container { height: auto !important; }
.faq_answer { padding: 0 18px 16px; color: var(--muted); font-size: .94rem; }

/* ---------- 8. Blog / related-article cards (col > a > img + label) ---------- */
main [class*="col-"] > a:has(> img + label),
main [class*="col-"] > a:has(> img + h3),
main [class*="col-"] > a:has(> img + h4) {
  display: flex; flex-direction: column; height: calc(100% - 22px); margin-bottom: 22px;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm); color: var(--primary);
  transition: transform var(--transition), box-shadow var(--transition);
}
main [class*="col-"] > a:has(> img + label):hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
main [class*="col-"] > a:has(> img + label) img { width: 100%; aspect-ratio: 12 / 7; object-fit: cover; border-radius: 0; }
main [class*="col-"] > a:has(> img + label) label {
  display: block; padding: 14px 16px 16px; margin: 0; cursor: pointer;
  font-family: var(--font-display) !important; font-size: 1.12rem !important; font-weight: 600;
  line-height: 1.3; text-align: left !important; color: var(--primary);
}
main [class*="col-"] > a:has(> img + label) + br { display: none; }

/* ---------- 9. Floor plans, amenities, silo links ---------- */
.floor_plan_Sec {
  position: relative; background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0; padding: 14px; box-shadow: var(--shadow-sm);
  text-align: center;
}
.floor_plan_Sec img { margin-inline: auto; }
.floor_plan_Sec .enquery_now { margin-top: 12px; }
.back-onew { background: var(--primary); border-radius: 0 0 var(--radius-lg) var(--radius-lg); padding: 10px 14px; }
.back-onew .bck-p { color: #fff; margin: 0; text-align: center; font-weight: 600; font-size: .92rem; }

.ami-block { height: 100%; padding-bottom: 18px; }
.ami-container {
  height: 100%; display: flex; flex-direction: column; align-items: center; gap: 10px;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 18px 10px; text-align: center; box-shadow: var(--shadow-sm);
}
.ami-img { width: 46px; height: 46px; object-fit: contain; }
.ami-title { font-size: .84rem; color: var(--primary); font-weight: 600; letter-spacing: .02em; }
.services-tiem { margin-bottom: 18px; }

.related-silo-pages { background: var(--light-2) !important; }
.related-silo-pages h3 { font-family: var(--font-display); color: var(--primary) !important; font-size: clamp(1.3rem, 3.4vw, 1.7rem); }
.related-silo-pages .btn, .silo-interlinking .btn { min-height: 46px; }
.silo-interlinking a:not(.btn) { display: inline-block; }

/* ---------- 10. Home: banner slider + overlay form, sticky section menu ---------- */
.hero-legacy { position: relative; background: var(--primary); } /* superseded by .hero--legacy */
.hero-legacy .banner-carousel { margin: 0; }
.hero-legacy .banner-carousel-item {
  min-height: 300px; background-size: cover; background-position: center; background-repeat: no-repeat;
}
.hero-legacy .banner-carousel-item .slider-content { min-height: inherit; }
.hero-legacy__form { padding-block: 22px 26px; background: var(--primary); }
.hero-legacy__form .lead-card { max-width: 520px; margin-inline: auto; }
.hero-legacy__form .lead-card__head h2 { font-size: 1.2rem; }
.hero-legacy__form .lead-card__head p { font-size: .84rem; }
.hero-legacy__form .form-grid { gap: 10px; }
@media (min-width: 640px) { .hero-legacy .banner-carousel-item { min-height: 420px; } }
@media (min-width: 900px) {
  .hero-legacy .banner-carousel-item { min-height: 640px; }
  .hero-legacy__form { position: absolute; inset: 0; display: flex; align-items: center; background: transparent; pointer-events: none; }
  .hero-legacy__form .container { display: flex; justify-content: flex-end; }
  .hero-legacy__form .lead-card { pointer-events: auto; margin: 0; width: 400px; padding: 20px 20px 22px; }
  .hero-legacy__form .field input, .hero-legacy__form .field select { min-height: 42px; padding: 9px 12px; }
  .hero-legacy__form .field textarea { min-height: 60px; }
}

.gbn-submenu {
  position: sticky; top: var(--header-h); z-index: 90; background: var(--white);
  border-bottom: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.gbn-submenu-inner { max-width: var(--container); margin-inline: auto; padding-inline: 18px; }
.gbn-submenu-links {
  display: flex; gap: 6px; overflow-x: auto; padding-block: 10px; scrollbar-width: thin;
}
.gbn-submenu-links a {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; padding: 6px 13px;
  border: 1px solid var(--border-strong); border-radius: 100px; background: var(--white);
  font-size: .8rem; color: var(--primary); white-space: nowrap;
}
.gbn-submenu-links a.active, .gbn-submenu-links a:hover { border-color: var(--accent); color: var(--accent-600); }
.gbn-submenu-links i { font-size: .78rem; color: var(--accent-600); }
.gbn-submenu-placeholder { display: none; }

/* ---------- 11. Footer: original disclaimer text inside the template footer ---------- */
.site-footer--legacy .footer-grid--legacy { padding-bottom: 28px; }
@media (min-width: 900px) { .site-footer--legacy .footer-grid--legacy { grid-template-columns: 1.3fr 1.7fr; } }
.footer-title {
  font-family: var(--font-body); color: #fff; font-size: .8rem; letter-spacing: .14em;
  text-transform: uppercase; font-weight: 600; margin: 0 0 14px;
}
.footer-title--brand { font-family: var(--font-display); font-size: 1.45rem; letter-spacing: 0; text-transform: none; }
.footer-col--links .footer-links { columns: 2; column-gap: 24px; }
.footer-col--links .footer-links li { break-inside: avoid; }
.footer-legacy { border-top: 1px solid rgba(255,255,255,.1); padding-block: 22px 26px; font-size: .8rem; color: #93a59f; }
.footer-legacy .container { padding: 0; max-width: none; }
.footer-legacy .row { margin: 0; }
.footer-legacy .row > * { padding: 0; }
.footer-legacy p { color: #93a59f; line-height: 1.7; margin-bottom: .8rem; }
.footer-legacy a { color: #dfe7e3; }
.footer-legacy a:hover { color: var(--accent); }
.footer-legacy b { color: #dfe7e3; font-weight: 600; }

/* Mobile bar spacing so the footer is not hidden behind it */
@media (max-width: 899px) { body.page-legacy { padding-bottom: 62px; } }

/* ==========================================================================
   12. Template components built by restructure.py
   ========================================================================== */

/* Home hero: original banner image as the slide background */
.hero--legacy .hero__bglayer { position: absolute; inset: 0; z-index: 0; }
.hero--legacy .hero__bglayer .banner-carousel,
.hero--legacy .hero__bglayer .banner-carousel-item { height: 100%; min-height: 100%; margin: 0; }
.hero--legacy .hero__bglayer .banner-carousel-item { background-size: cover; background-position: center; }
.hero--legacy .hero__bglayer .slider-content { display: none; }
.hero--legacy .hero__copy h1 { margin-top: 0; }
.hero--legacy .hero__lede { color: #d7e2de; font-size: 1.02rem; line-height: 1.7; }
.hero--legacy .hero__lede a, .hero--legacy .hero__lede b, .hero--legacy .hero__lede strong { color: #fff; border-bottom-color: rgba(180,139,69,.8); }
.hero--legacy .btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.hero--legacy .btn-row .btn { color: #fff !important; }
@media (min-width: 900px) { .hero--legacy .hero__slider { min-height: 640px; } }

/* Page hero meta (published date) */
.page-hero .page-hero__meta, .page-hero .page-hero__meta time { color: #c6d3ce; font-size: .86rem; margin: 6px 0 0; letter-spacing: .04em; }
.page-hero h1 { margin-bottom: 0; }

/* Section heads made from the old title blocks */
.section-head h1, .section-head h2, .section-head h3 { margin-bottom: 0; }
.section-head .rule { margin-top: 16px; }
.section-head--center .rule { margin-inline: auto; }
.prose .section-head { margin-bottom: 22px; }

/* Centred feature image (former 3/6/3 spacer columns) */
.media-figure {
  max-width: 720px; margin: 0 auto 28px; background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm);
}
.media-figure img { width: 100%; height: auto; display: block; border-radius: 0; }
.prose .media-figure { max-width: 100%; }

/* Generic grids/splits from multi-column rows */
.grid.grid--2, .grid.grid--3, .grid.grid--4 { margin-bottom: 22px; align-items: start; }
.split--legacy { align-items: start; margin-bottom: 22px; }
.grid__item > :last-child { margin-bottom: 0; }

/* Blog / related article cards */
.grid--posts { display: grid; gap: 20px; grid-template-columns: 1fr; margin-bottom: 8px; }
@media (min-width: 640px) { .grid--posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .grid--posts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .grid--posts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card--post { padding: 0; overflow: hidden; display: flex; }
.card--post > a { display: flex; flex-direction: column; width: 100%; color: var(--primary); border-bottom: 0 !important; }
.card--post img { width: 100%; aspect-ratio: 12 / 7; object-fit: cover; border-radius: 0 !important; }
.card--post .card__title {
  display: block; padding: 14px 16px 18px; font-family: var(--font-display); font-size: 1.12rem;
  font-weight: 600; line-height: 1.3; color: var(--primary);
}
.card--post:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card--post:hover .card__title { color: var(--accent-600); }

/* Stat cards (former highlight icon tables) — template .stat-card look */
.stat-grid { margin-bottom: 0; }
.stat-card--icon { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.stat-card--icon .stat-card__icon { display: none; } /* template cards have no icons; img stays in the page */
.stat-card--icon .stat-card__value { order: 1; }
.stat-card--icon .stat-card__label { order: 2; }
.stat-card--icon b strong, .stat-card--icon span strong { font-weight: inherit; }
/* Plan cards (floor plans, master plan, price sheet) */
.plan-card {
  display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); height: 100%;
  transition: transform var(--transition), box-shadow var(--transition);
}
.plan-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.plan-card__media { position: relative; padding: 16px; text-align: center; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.plan-card__media img { max-height: 340px; width: auto; margin-inline: auto; object-fit: contain; }
.plan-card__caption { background: var(--primary); padding: 13px 16px; }
.plan-card__caption p { color: #fff !important; margin: 0; text-align: center; font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; }
.grid--plans { margin-bottom: 22px; }

/* Amenity tiles */
.grid--amenities { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 22px; }
@media (min-width: 640px) { .grid--amenities { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { .grid--amenities { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.amenity-card {
  height: 100%; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 20px 10px;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); text-align: center;
}
.amenity-card__icon { width: 44px; height: 44px; object-fit: contain; }
.amenity-card__title { font-size: .84rem; color: var(--primary); font-weight: 600; }

/* Related-page link blocks */
.section--links .grid { gap: 10px; }
.section--links .btn { width: 100%; }

/* FAQ accordion: microdata answer text */
.faq__a [itemprop="text"], .faq__a p { color: var(--muted); }
.faq__q span[itemprop="name"] { flex: 1; }
.faq { margin-bottom: 8px; }

/* Long-form prose rhythm */
.prose ul, .prose ol { padding-left: 1.2rem; }
.prose li { margin-bottom: 6px; }
.prose > .container > label, .prose label { display: block; margin: 18px 0 8px; color: var(--primary); }
.hero--legacy .hero__slide { position: relative; }
.gbn-submenu-links { scrollbar-width: none; }
.gbn-submenu-links::-webkit-scrollbar { display: none; }
.grid__item--full { grid-column: 1 / -1; }
.grid--1 { grid-template-columns: 1fr; }
@media (min-width: 900px) {
  .table-wrap .data-table { min-width: 0; }
  .split--legacy { grid-template-columns: 1.6fr 1fr; }
}

/* Home overview split: prose + Project Snapshot card (template layout) */
.overview-split { margin-bottom: 30px; align-items: start; }
.overview-split .lede { font-size: 1.08rem; color: var(--text); }
.snapshot-card .card__meta { display: block; margin-bottom: 10px; }
.snapshot-card .card__meta strong { font-weight: 600; }
.snapshot-list { list-style: none; margin: 0; padding: 0; }
.snapshot-list li {
  display: grid; grid-template-columns: 42% 1fr; gap: 12px; padding: 12px 4px;
  border-bottom: 1px solid var(--border); font-size: .92rem; color: var(--text); margin: 0;
}
.snapshot-list li:last-child { border-bottom: 0; }
.snapshot-list li > b:first-child, .snapshot-list li > strong:first-child { color: var(--primary); font-weight: 600; }
.overview-rest { max-width: 860px; }

/* Plan cards in the template card style: image, name, outline button (visual order only) */
.plan-card { padding: 18px 18px 20px; }
.plan-card__media { display: contents; }
.plan-card__media img { order: 1; max-height: 360px; width: 100%; object-fit: contain; background: #fff; margin-bottom: 14px; }
.plan-card__caption { order: 2; background: transparent; padding: 0; margin-bottom: 12px; }
.plan-card__caption p { color: var(--primary) !important; text-align: left; font-size: 1.2rem; }
.plan-card .btn { order: 3; width: 100%; background: transparent; color: var(--primary) !important; border-color: var(--border-strong); }
.plan-card .btn:hover { border-color: var(--accent); color: var(--accent-600) !important; background: transparent; }
.split__media .plan-card, .split__media .media-figure { max-width: 100%; }

/* Media column on the right even when it comes first in the page */
@media (min-width: 900px) {
  .split--media-first > :first-child { order: 2; }
  .split--media-first { grid-template-columns: 1.15fr .85fr; }
}

/* Section intro paragraph (template .lede under the heading) */
.section-head .lede { margin-top: 14px; }
.section-head--center .lede { margin-inline: auto; }

/* CTA band title (template uses an h2; kept as text so no heading is added) */
.cta-band .cta-band__title { font-family: var(--font-display); color: #fff; font-size: clamp(1.6rem, 4.4vw, 2.2rem); font-weight: 600; margin-bottom: .4em; max-width: none; }
.cta-band .btn-row { justify-content: center; }

/* Running text inside wide sections keeps the template's reading width */
.prose-block { max-width: 860px; margin-inline: auto; }
.split--media-first, .split--wide-text { align-items: start; }

/* ---------- Inner pages: template page-hero, topic bands, cards ---------- */
.page-hero:has(h1) .banner-title {
  display: inline-block; font-family: var(--font-body); font-size: .72rem !important; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--accent) !important;
  border: 1px solid rgba(180,139,69,.55); border-radius: 100px; padding: 5px 13px; margin: 0 0 16px;
}
.page-hero:has(h1) .banner-title::before { display: none; }
.page-hero .btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.page-hero .btn-row .btn { color: #fff !important; }

.card-grid { margin-top: 6px; align-items: stretch; }
.topic-card h2, .topic-card h3 { font-family: var(--font-display); font-size: 1.3rem; margin: 0 0 12px; color: var(--primary); }
.topic-card h2::after, .topic-card h3::after { display: none; }
.topic-card p { font-size: .92rem; }
.topic-card ul { margin-bottom: 0; }
.nearby li > span:first-child { color: var(--text); }
.nearby .nearby__dist { color: var(--muted); }

.chips--center { justify-content: center; }
.section--links .chips a { border-bottom: 1px solid var(--border-strong) !important; }

/* Template footer with the page's own disclaimer / copyright */
.site-footer .footer-disclaimer p { margin-bottom: .7rem; }
.footer-bottom--legacy { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
.footer-bottom--legacy p { margin: 0; color: #93a59f; }
.footer-bottom--legacy a, .footer-bottom--legacy b { color: #dfe7e3; }
.footer-links--plain li { color: #aebdb8; }
.page-hero .page-hero__lede { color: #d4dfdb; max-width: 760px; margin-top: 14px; font-size: 1rem; line-height: 1.7; }
.page-hero .page-hero__lede a, .page-hero .page-hero__lede b, .page-hero .page-hero__lede strong { color: #fff; }

/* Contact page: template layout — form card left, intro right */
.split--contact { align-items: start; gap: 32px; }
@media (min-width: 900px) { .split--contact { grid-template-columns: .85fr 1.15fr; gap: 48px; } }
.contact-form .lead-card__title { font-size: 1.3rem; margin-bottom: 6px; }
.contact-intro .section-head { margin-bottom: 18px; }

/* Logo: image of the project name (template style) */
.brand--image { display: flex; align-items: center; }
.brand--image img { height: 30px; width: auto; max-width: 62vw; }
@media (min-width: 900px) { .brand--image img { height: 36px; } }
.footer-brand .brand--image img { height: 34px; margin-bottom: 14px; }
