/* =========================================================
   ULTRA LUXURY — Shared Theme (used by every page)
   Change colors / fonts here and every page updates.
   ========================================================= */

:root {
  --cream: #f6f1e6;
  --cream-dark: #ece4d2;
  --white: #ffffff;
  --gold: #a48a3a;
  --gold-dark: #8a7428;
  --gold-light: #d9c27a;
  --navy: #1c2a6b;
  --dark: #23262c;
  --text: #2b2b2b;
  --muted: #6f6f6f;
  --price: #1f4fd8;
  --badge: #e0a020;
  --radius: 6px;
  --shadow: 0 4px 18px rgba(0, 0, 0, .08);
  --shadow-hover: 0 10px 28px rgba(0, 0, 0, .15);
  --font-head: 'Jost', sans-serif;
  --font-body: 'Lato', sans-serif;
  --container: 1180px;
  --header-h: 64px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { overflow-x: hidden; }
body { font-family: var(--font-body); color: var(--text); background: var(--cream); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea { font: inherit; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 max(16px, env(safe-area-inset-left)); }
@media (min-width: 769px) { .container { padding: 0 24px; } }
.section { padding: 60px 0; }
.section--white { background: var(--white); }
.text-center { text-align: center; }

/* ---------- Section title ---------- */
.section-title {
  font-family: var(--font-head); font-weight: 500; font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  letter-spacing: 3px; text-transform: uppercase; text-align: center; margin-bottom: 36px; color: var(--dark);
}
.section-title::after { content: ''; display: block; width: 60px; height: 2px; background: var(--gold); margin: 10px auto 0; }
.section-sub { text-align: center; color: var(--muted); margin: -20px 0 32px; }

/* ---------- Buttons ---------- */
.btn { display: inline-block; cursor: pointer; border: 1px solid var(--gold); background: var(--gold); color: #fff;
  padding: 10px 22px; border-radius: var(--radius); font-weight: 700; font-size: .9rem; transition: .25s; }
.btn:hover { background: var(--gold-dark); border-color: var(--gold-dark); }
.btn-outline { background: transparent; color: var(--dark); border: 1px solid #999; padding: 5px 14px; font-size: .8rem; font-weight: 400; }
.btn-outline:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.btn-block { width: 100%; }
.section-more { text-align: center; margin-top: 28px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--white); box-shadow: 0 1px 6px rgba(0,0,0,.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.logo { font-family: var(--font-head); font-weight: 600; font-size: 1.35rem; letter-spacing: .5px; color: #111; }
.logo span { color: var(--gold); }
.nav { display: flex; gap: 26px; align-items: center; }
.nav > li { position: relative; }
.nav a, .nav .dd-toggle { color: var(--gold); font-size: .9rem; background: none; border: 0; cursor: pointer; padding: 8px 0; }
.nav a:hover, .nav a.active, .nav .dd-toggle:hover { color: var(--gold-dark); }
.nav a.active { border-bottom: 2px solid var(--gold); }
.dd-toggle::after { content: ' ▾'; font-size: .7rem; }
.dropdown { position: absolute; top: 100%; left: 0; min-width: 190px; background: #fff; box-shadow: var(--shadow-hover);
  border-radius: var(--radius); padding: 8px 0; opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s; }
.dropdown a { display: block; padding: 8px 16px; color: var(--text); }
.dropdown a:hover { background: var(--cream); color: var(--gold-dark); }
.nav > li:hover .dropdown, .nav > li.open .dropdown { opacity: 1; visibility: visible; transform: none; }
.nav > li:last-child .dropdown, .nav > li:nth-last-child(2) .dropdown { left: auto; right: 0; } /* keep right-side menus on screen */
.menu-btn { display: none; background: none; border: 0; font-size: 1.6rem; color: var(--gold); cursor: pointer; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; min-height: 460px; display: flex; align-items: center; justify-content: center;
  background: #0b1a4a center/cover no-repeat; }
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(10,25,80,.35), rgba(10,25,80,.55)); }
.search-box { position: relative; background: rgba(40,50,140,.8); padding: 24px; border-radius: 8px; width: min(420px, 92%); text-align: center; }
.search-box h1 { color: #fff; font-family: var(--font-head); font-weight: 500; font-size: 1.6rem; letter-spacing: 1px; margin-bottom: 14px; }
.search-form { display: flex; background: #fff; border-radius: 4px; overflow: hidden; }
.search-form input { flex: 1; border: 0; padding: 10px 12px; outline: none; font-size: .85rem; }
.search-form button { border: 0; background: #2b2b2b; color: #fff; padding: 0 18px; cursor: pointer; font-size: .85rem; }
.search-form button:hover { background: var(--gold); }

/* ---------- Inner page banner ---------- */
.page-hero { position: relative; padding: 90px 0 70px; background: #0b1a4a center/cover no-repeat; color: #fff; text-align: center; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: rgba(15,20,50,.6); }
.page-hero .container { position: relative; }
.page-hero h1 { font-family: var(--font-head); font-weight: 500; letter-spacing: 3px; text-transform: uppercase; font-size: clamp(1.6rem, 4vw, 2.4rem); }
.breadcrumb { margin-top: 8px; font-size: .85rem; color: var(--gold-light); }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- Grids ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); gap: 16px; }

/* ---------- Image fallback (if a photo fails to load) ---------- */
.img-wrap { overflow: hidden; background: linear-gradient(135deg, var(--cream-dark), #cdbf9a); }
.img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .img-wrap img { transform: scale(1.06); }

/* ---------- City cards ---------- */
.city-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; text-align: center; transition: .25s; }
.city-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.city-card .img-wrap { height: 150px; position: relative; }
.city-count { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); background: rgba(30,30,30,.85); color: #fff;
  font-size: .8rem; font-weight: 700; line-height: 1.3; padding: 6px 16px; border-radius: 4px; }
.city-card h3 { font-size: .8rem; padding: 8px; font-weight: 700; letter-spacing: .5px; }

/* ---------- Project cards ---------- */
.card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: .25s; display: block; }
.card:hover { box-shadow: var(--shadow-hover); }
.project-card .img-wrap { height: 220px; }
.project-card .card-body { padding: 12px 0; }
.project-card--plain { background: transparent; box-shadow: none; }
.project-card--plain:hover { box-shadow: none; }
.project-card--plain .img-wrap { border-radius: var(--radius); }
.project-card h3 { font-size: .9rem; font-weight: 700; text-transform: uppercase; }
.project-card .loc { font-size: .75rem; color: var(--muted); }
.project-card .loc::before { content: '📍'; font-size: .7rem; margin-right: 3px; }
.price { color: var(--price); font-weight: 700; font-size: 1rem; margin-top: 4px; }
.project-card--big .img-wrap { height: 340px; }
.project-card--big .card-body { padding: 18px 20px; }
.project-card--big h3 { font-family: var(--font-head); font-weight: 400; letter-spacing: 3px; font-size: 1.15rem; }
.project-card--big .price { font-size: 1.25rem; margin-top: 8px; }
.tag { display: inline-block; background: var(--gold); color: #fff; font-size: .7rem; padding: 2px 8px; border-radius: 3px; margin-top: 6px; }

/* ---------- Community cards ---------- */
.community-card { background: #fff; padding: 6px; text-align: center; border-radius: var(--radius); box-shadow: var(--shadow); transition: .25s; }
.community-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.community-card .img-wrap { height: 200px; }
.community-card h3 { font-weight: 400; font-size: 1.05rem; padding: 14px 0 10px; }

/* ---------- Property type tiles ---------- */
.type-tile { position: relative; height: 230px; border-radius: 4px; overflow: hidden; display: block; }
.type-tile .img-wrap { height: 100%; }
.type-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(0,0,0,.7)); }
.type-tile .info { position: absolute; left: 14px; bottom: 14px; z-index: 1; color: #fff; }
.type-tile h3 { font-size: 1.15rem; font-weight: 700; }
.badge { display: inline-block; background: var(--badge); color: #fff; font-size: .72rem; font-weight: 700; padding: 2px 10px; border-radius: 3px; margin-top: 6px; }
.type-tile:hover img { transform: scale(1.07); }

/* ---------- Why choose us ---------- */
.why-card { background: var(--dark); color: #fff; padding: 34px 28px; text-align: center; border-radius: 4px; transition: .25s; }
.why-card:hover { transform: translateY(-5px); }
.why-card .icon { font-size: 2.4rem; color: #f2c230; margin-bottom: 12px; }
.why-card h3 { font-size: 1rem; margin-bottom: 8px; }
.why-card p { font-size: .9rem; color: #ddd; }

/* ---------- Blog cards ---------- */
.blog-card .img-wrap { height: 200px; }
.blog-card .card-body { padding: 14px 16px 18px; }
.blog-meta { display: flex; justify-content: space-between; align-items: center; font-size: .75rem; color: var(--muted); margin-bottom: 8px; }
.blog-cat { background: #111; color: #fff; padding: 2px 8px; border-radius: 3px; font-weight: 700; }
.blog-card h3 { font-size: 1rem; line-height: 1.35; margin-bottom: 6px; }
.blog-card p { font-size: .8rem; color: var(--muted); margin-bottom: 10px; }
.read-more { font-weight: 700; font-size: .85rem; }
.read-more:hover { color: var(--gold); }

/* ---------- Filters (listing pages) ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 12px; background: #fff; padding: 16px; border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 30px; }
.filters input, .filters select { flex: 1 1 180px; min-width: 0; max-width: 100%; text-overflow: ellipsis; padding: 10px 12px; border: 1px solid #ddd; border-radius: var(--radius); background: #fff; outline: none; }
.filters input:focus, .filters select:focus { border-color: var(--gold); }
.no-results { text-align: center; color: var(--muted); padding: 40px 0; grid-column: 1 / -1; }

/* ---------- Forms ---------- */
.form-card { background: #fff; padding: 28px; border-radius: var(--radius); box-shadow: var(--shadow); }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: .85rem; font-weight: 700; margin-bottom: 4px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 10px 12px; border: 1px solid #ddd; border-radius: var(--radius); outline: none; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--gold); }
.form-msg { margin-top: 10px; font-size: .9rem; color: green; display: none; }
.contact-info li { margin-bottom: 16px; display: flex; gap: 12px; }
.contact-info .ci-icon { width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--gold); color: #fff; display: grid; place-items: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--gold-dark); color: #fff; padding: 50px 0 20px; margin-top: 0; }
.footer-title { font-family: var(--font-head); font-weight: 400; font-size: 1.3rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 36px; }
.chips a { border: 1px solid rgba(255,255,255,.5); padding: 4px 14px; border-radius: 3px; font-size: .85rem; transition: .2s; }
.chips a:hover { background: #fff; color: var(--gold-dark); }
.footer-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px 20px; font-size: .85rem; margin-bottom: 36px; }
.footer-links a:hover, .footer-bottom a:hover { text-decoration: underline; }
.footer-brand { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; border-top: 1px solid rgba(255,255,255,.25); padding-top: 22px; }
.footer-brand h4 { font-family: var(--font-head); font-weight: 400; font-size: 1.2rem; }
.footer-brand p, .socials { font-size: .85rem; }
.footer-contact { text-align: right; font-size: .9rem; font-weight: 700; }
.footer-bottom { text-align: center; font-size: .85rem; margin-top: 22px; font-weight: 700; }

/* ---------- Floating buttons ---------- */
.whatsapp-float { position: fixed; left: 20px; bottom: 70px; width: 48px; height: 48px; border-radius: 50%; background: #25d366; color: #fff;
  display: grid; place-items: center; box-shadow: var(--shadow-hover); z-index: 90; transition: .2s; }
.whatsapp-float:hover { transform: scale(1.1); }
.enquire-float { position: fixed; left: 16px; bottom: 18px; z-index: 90; background: var(--navy); color: #fff; border: 0; border-radius: 20px;
  padding: 8px 16px; font-size: .8rem; cursor: pointer; box-shadow: var(--shadow-hover); }
.enquire-float:hover { background: var(--gold); }
.back-top { position: fixed; right: 20px; bottom: 20px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--gold); color: #fff;
  cursor: pointer; opacity: 0; visibility: hidden; transition: .3s; z-index: 90; font-size: 1.1rem; }
.back-top.show { opacity: 1; visibility: visible; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; background: rgba(0,0,0,.6); display: none; align-items: center; justify-content: center; z-index: 200; padding: 16px; }
.modal.open { display: flex; }
.modal-box { background: #fff; width: min(440px, 100%); border-radius: 8px; padding: 28px; position: relative; animation: pop .25s ease; }
.modal-box h3 { font-family: var(--font-head); font-weight: 500; letter-spacing: 1px; margin-bottom: 16px; color: var(--gold-dark); }
.modal-close { position: absolute; top: 10px; right: 14px; background: none; border: 0; font-size: 1.5rem; cursor: pointer; color: var(--muted); }
@keyframes pop { from { transform: scale(.92); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ----------
   Breakpoints:  >=1600 large desktop | <=1200 laptop | <=992 tablet landscape
                 <=900 menu becomes hamburger | <=768 tablet portrait / large phone
                 <=520 phones (iPhone / Android) | <=380 small phones            */
@media (min-width: 1600px) {
  :root { --container: 1360px; }
  body { font-size: 17px; }
  .project-card .img-wrap { height: 250px; }
  .hero { min-height: 560px; }
}
@media (max-width: 1200px) {
  .nav { gap: 18px; }
}
@media (max-width: 992px) {
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .project-card--big .img-wrap { height: 280px; }
}
@media (max-width: 900px) {
  .menu-btn { display: block; min-width: 44px; min-height: 44px; }
  .nav { position: absolute; top: var(--header-h); left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0;
    padding: 0 16px; max-height: 0; overflow: hidden; transition: max-height .3s, padding .3s; box-shadow: 0 6px 12px rgba(0,0,0,.08); }
  .nav.open { max-height: calc(100vh - var(--header-h)); overflow-y: auto; padding: 8px 16px 16px; }
  .nav > li { border-bottom: 1px solid #eee; }
  .nav a, .nav .dd-toggle { display: block; width: 100%; text-align: left; padding: 13px 0; font-size: 1rem; }
  .nav a.active { border-bottom: 0; font-weight: 700; }
  .dropdown { position: static; box-shadow: none; opacity: 1; visibility: visible; transform: none; display: none; padding: 0 0 8px 12px; min-width: 0; }
  .nav > li:hover .dropdown { display: none; }
  .nav > li.open .dropdown { display: block; }
}
@media (max-width: 768px) {
  :root { --header-h: 58px; }
  .grid-2 { grid-template-columns: 1fr; }
  /* city cards become a swipeable row on phones */
  .grid-5 { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding-bottom: 8px; margin: 0 -16px; padding-left: 16px; padding-right: 16px;
    -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .grid-5::-webkit-scrollbar { display: none; }
  .grid-5 > * { flex: 0 0 42%; scroll-snap-align: start; }
  .project-card--big .img-wrap { height: 240px; }
  .project-card--big .card-body { padding: 14px 16px; }
  .footer-contact { text-align: left; }
  .hero { min-height: 380px; }
  .page-hero { padding: 60px 0 46px; }
  .section-title { letter-spacing: 2px; margin-bottom: 26px; }
  .section-sub { margin: -12px 0 24px; }
  .type-tile { height: 190px; }
  .community-card .img-wrap, .blog-card .img-wrap { height: 180px; }
  .why-card { padding: 26px 20px; }
  .filters { padding: 12px; gap: 10px; }
  .filters input, .filters select { flex: 1 1 100%; }
  /* 16px inputs stop iPhone Safari zooming in on focus */
  input, select, textarea, .search-form input { font-size: 16px !important; }
  .modal { align-items: flex-end; padding: 0; }
  .modal-box { width: 100%; border-radius: 16px 16px 0 0; padding: 24px 18px calc(18px + env(safe-area-inset-bottom)); max-height: 90vh; }
  .chips a { font-size: .8rem; padding: 6px 12px; }
}
@media (max-width: 520px) {
  .grid-3 { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr 1fr; font-size: .8rem; }
  .section { padding: 44px 0; }
  .grid-5 > * { flex-basis: 58%; }
  .search-box { padding: 20px 14px; }
  .search-box h1 { font-size: 1.35rem; }
  .project-card .img-wrap { height: 210px; }
  .whatsapp-float { left: 14px; bottom: 64px; width: 44px; height: 44px; }
  .enquire-float { left: 12px; bottom: 14px; }
  .back-top { right: 14px; bottom: 14px; }
}
@media (max-width: 380px) {
  .logo { font-size: 1.15rem; }
  .footer-links { grid-template-columns: 1fr; }
  .grid-5 > * { flex-basis: 70%; }
}
/* touch devices: no hover lift that sticks after a tap */
@media (hover: none) {
  .card:hover .img-wrap img, .type-tile:hover img, .proj-gallery .g-item:hover img { transform: none; }
  .city-card:hover, .community-card:hover, .why-card:hover, .pay-card:hover, .amenity:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   LEAD FORM (popup + inline) — intl-tel-input styling
   ========================================================= */
body.no-scroll { overflow: hidden; }
.modal-box { max-height: 92vh; overflow-y: auto; }
.modal-box h3 { margin-bottom: 4px; padding-right: 24px; }
.modal-sub { font-size: .85rem; color: var(--muted); margin-bottom: 18px; }
.req { color: #c0392b; }
.field-error { display: block; min-height: 0; color: #c0392b; font-size: .75rem; margin-top: 4px; }
.form-group.has-error input { border-color: #c0392b; background: #fff8f7; }
.form-note { font-size: .72rem; color: var(--muted); text-align: center; margin-top: 10px; }
.form-msg { text-align: center; font-weight: 700; color: #1e8449; }
.btn:disabled { opacity: .6; cursor: default; }
.iti { width: 100%; display: block; }
.iti input[type=tel] { width: 100%; }
.iti__dropdown-content { z-index: 260; border-radius: var(--radius); }
.iti__search-input { padding: 8px 10px; border: 0; border-bottom: 1px solid #eee; outline: none; }
.iti--fullscreen-popup.iti--container { z-index: 300; }

/* =========================================================
   PROJECT DETAIL PAGE (reuse for every project)
   ========================================================= */
.proj-top { padding: 28px 0 10px; }
.proj-top-grid { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: start; }

/* gallery */
.proj-gallery { display: grid; grid-template-columns: 3fr 1fr; grid-template-rows: repeat(3, 1fr); gap: 8px; height: 470px; position: relative; }
.proj-gallery .g-item { overflow: hidden; border-radius: var(--radius); background: linear-gradient(135deg, var(--cream-dark), #cdbf9a); }
.proj-gallery .g-item:first-child { grid-row: 1 / 4; }
.proj-gallery img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; transition: transform .5s; }
.proj-gallery .g-item:hover img { transform: scale(1.05); }
.g-btn { position: absolute; left: 14px; bottom: 14px; background: rgba(20,20,20,.75); color: #fff; border: 0; border-radius: 20px;
  padding: 7px 14px; font-size: .8rem; cursor: pointer; display: flex; gap: 6px; align-items: center; backdrop-filter: blur(4px); }
.g-btn:hover { background: var(--gold); }

/* sticky info card */
.proj-card { position: sticky; top: calc(var(--header-h) + 16px); background: #fff; border-radius: 8px; box-shadow: var(--shadow-hover);
  padding: 26px 24px; text-align: center; border-top: 4px solid var(--gold); }
.proj-card h1 { font-family: var(--font-head); font-weight: 500; text-transform: uppercase; letter-spacing: 2px; font-size: 1.45rem; line-height: 1.25; }
.proj-card .loc { color: var(--muted); font-size: .85rem; margin: 6px 0 14px; }
.proj-card .loc::before { content: '📍'; margin-right: 4px; }
.offer-pill { display: inline-block; background: var(--cream); color: var(--gold-dark); font-weight: 700; font-size: .85rem; padding: 6px 14px;
  border-radius: 20px; border: 1px dashed var(--gold); margin-bottom: 14px; }
.proj-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; text-align: left; }
.proj-facts div { background: var(--cream); border-radius: var(--radius); padding: 8px 10px; }
.proj-facts small { display: block; font-size: .68rem; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
.proj-facts strong { font-size: .88rem; }
.start-label { font-size: .72rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }
.start-price { font-family: var(--font-head); font-size: 1.7rem; font-weight: 600; color: var(--gold-dark); margin-bottom: 16px; }
.proj-card .btn { margin-bottom: 10px; }
.btn-ghost { background: transparent; color: var(--gold-dark); }
.btn-ghost:hover { color: #fff; }
.proj-card .stay-ahead { font-size: .8rem; color: var(--muted); margin-top: 6px; }

/* intro + text */
.intro { max-width: 900px; margin: 0 auto; text-align: center; }
.intro p { margin-bottom: 14px; color: #444; }
.lead-text { font-size: 1.05rem; }

/* highlights */
.highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.highlights .img-wrap { border-radius: 8px; height: 100%; min-height: 440px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid #ebe3cf; }
.check-list li:last-child { border-bottom: 0; }
.check-list .ck { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--gold); color: #fff; font-size: .7rem;
  display: grid; place-items: center; margin-top: 1px; }

/* payment plan */
.pay-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pay-card { background: #fff; border-radius: 8px; padding: 26px 16px; text-align: center; box-shadow: var(--shadow); position: relative; overflow: hidden; transition: .25s; }
.pay-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.pay-card::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--gold); }
.pay-card .pct { font-family: var(--font-head); font-size: 2.5rem; font-weight: 600; color: var(--gold-dark); line-height: 1; }
.pay-card .pct sup { font-size: 1rem; }
.pay-card h4 { margin-top: 10px; font-size: .95rem; }
.pay-card p { font-size: .78rem; color: var(--muted); }
.pay-split { display: flex; height: 10px; border-radius: 10px; overflow: hidden; margin: 26px 0 8px; }
.pay-split span:nth-child(1) { background: var(--gold-dark); }
.pay-split span:nth-child(2) { background: var(--gold); }
.pay-split span:nth-child(3) { background: var(--gold-light); }
.pay-split span:nth-child(4) { background: #e9dcb4; }
.pay-legend { display: flex; justify-content: space-between; font-size: .75rem; color: var(--muted); }

/* brochure banner */
.brochure { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); }
.brochure .txt { padding: 36px; }
.brochure h3 { font-family: var(--font-head); font-weight: 500; font-size: 1.4rem; margin-bottom: 6px; }
.brochure p { color: var(--muted); margin-bottom: 18px; }
.brochure .img-wrap { height: 100%; min-height: 240px; }
.brochure .hint { font-size: .78rem; margin: 10px 0 0; }

/* amenities */
.amenities { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.amenity { background: #fff; border-radius: 8px; padding: 22px 10px; text-align: center; transition: .25s; border: 1px solid transparent; }
.amenity:hover { border-color: var(--gold); transform: translateY(-3px); }
.amenity svg { width: 38px; height: 38px; stroke: var(--gold-dark); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 8px; }
.amenity span { display: block; font-size: .82rem; font-weight: 700; }

/* location */
.location-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 28px; align-items: stretch; }
.dist-list li { display: flex; align-items: center; gap: 14px; background: #fff; border-radius: var(--radius); padding: 12px 14px; margin-bottom: 10px; box-shadow: var(--shadow); }
.dist-list .mins { flex: none; width: 56px; height: 56px; border-radius: 50%; background: var(--dark); color: #fff; display: grid; place-items: center;
  text-align: center; font-weight: 900; line-height: 1; font-size: 1.1rem; }
.dist-list .mins small { display: block; font-weight: 400; font-size: .6rem; text-transform: uppercase; color: var(--gold-light); }
.dist-list strong { display: block; font-size: .95rem; }
.dist-list p { font-size: .78rem; color: var(--muted); }
.map-wrap { border-radius: 8px; overflow: hidden; box-shadow: var(--shadow); min-height: 380px; background: var(--cream-dark); }
.map-wrap iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* why invest */
.invest-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.invest-item { background: var(--dark); color: #fff; border-radius: 8px; padding: 22px; }
.invest-item b { display: block; font-family: var(--font-head); font-size: 1.8rem; color: var(--gold-light); font-weight: 500; }
.invest-item p { font-size: .85rem; color: #ccc; }

/* chips (developers / communities) */
.chip-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.chip-list a { background: #fff; border: 1px solid #e3d9bf; padding: 5px 12px; border-radius: 3px; font-size: .78rem; transition: .2s; }
.chip-list a:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.sub-title { font-family: var(--font-head); font-weight: 500; text-align: center; text-transform: uppercase; letter-spacing: 2px; font-size: 1rem; margin-bottom: 22px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-4 .project-card .img-wrap { height: 180px; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--dark), #3b3420); color: #fff; border-radius: 10px; padding: 34px; display: flex; align-items: center;
  justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cta-band h3 { font-family: var(--font-head); font-weight: 500; font-size: 1.4rem; }
.cta-band p { color: #d6d0bd; font-size: .9rem; }

/* lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 250; display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 82vh; border-radius: 4px; }
.lb-close { position: absolute; top: 14px; right: 20px; color: #fff; background: none; border: 0; font-size: 2.2rem; cursor: pointer; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.12); color: #fff; border: 0; width: 46px; height: 46px;
  border-radius: 50%; font-size: 1.8rem; cursor: pointer; }
.lb-nav:hover { background: var(--gold); }
.lb-prev { left: 16px; } .lb-next { right: 16px; }
.lb-count { position: absolute; bottom: 18px; color: #ccc; font-size: .85rem; }

/* mobile sticky CTA bar */
.mobile-cta { display: none; }

@media (max-width: 992px) {
  .proj-top-grid { grid-template-columns: 1fr; }
  .proj-card { position: static; }
  .amenities { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .pay-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .proj-gallery { grid-template-columns: 1fr; grid-template-rows: 1fr; height: 300px; }
  .proj-gallery .g-item:not(:first-child) { display: none; }
  .proj-gallery .g-item:first-child { grid-row: auto; }
  .highlights, .location-grid, .brochure, .invest-grid { grid-template-columns: 1fr; }
  .highlights .img-wrap { min-height: 260px; }
  .brochure .img-wrap { min-height: 200px; order: -1; }
  .brochure .txt { padding: 24px; }
  .mobile-cta { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; background: #fff; box-shadow: 0 -4px 14px rgba(0,0,0,.1); padding-bottom: env(safe-area-inset-bottom); }
  .mobile-cta a, .mobile-cta button { flex: 1; text-align: center; padding: 14px; font-weight: 700; border: 0; font-size: .9rem; cursor: pointer; }
  .mobile-cta .m-enq { background: var(--gold); color: #fff; }
  .mobile-cta .m-wa { background: #25d366; color: #fff; }
  body.has-mobile-cta { padding-bottom: calc(50px + env(safe-area-inset-bottom)); }
  body.has-mobile-cta .enquire-float, body.has-mobile-cta .whatsapp-float { display: none; }
  body.has-mobile-cta .back-top { bottom: 66px; }
}
@media (max-width: 520px) {
  .amenities { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: 1fr; }
  .pay-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pay-card .pct { font-size: 2rem; }
  .proj-card { padding: 22px 16px; }
  .proj-card h1 { font-size: 1.25rem; }
  .brochure .txt { padding: 20px 16px; }
  .cta-band { padding: 24px 18px; }
  .cta-band .btn { width: 100%; text-align: center; }
  .dist-list .mins { width: 48px; height: 48px; font-size: 1rem; }
  .map-wrap, .map-wrap iframe { min-height: 280px; }
  .lb-nav { width: 38px; height: 38px; font-size: 1.4rem; }
}

/* =========================================================
   DEVELOPER PAGE (reuse for every developer)
   ========================================================= */
.dev-hero { position: relative; color: #fff; padding: 56px 0 48px; background: #14182c center/cover no-repeat; }
.dev-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(14,16,30,.92) 30%, rgba(14,16,30,.55)); }
.dev-hero .container { position: relative; }
.dev-hero .breadcrumb { margin: 0 0 22px; }
.dev-hero-inner { display: flex; align-items: center; gap: 22px; }
.dev-logo { flex: none; width: 96px; height: 96px; border-radius: 50%; background: #fff; color: #111; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 600; letter-spacing: 2px; font-size: .95rem; box-shadow: 0 0 0 4px rgba(217,194,122,.5); }
.dev-logo img { width: 72%; height: auto; }
.dev-hero h1 { font-family: var(--font-head); font-weight: 500; font-size: clamp(1.5rem, 3.6vw, 2.5rem); line-height: 1.2; }
.dev-tagline { color: #d8d3c2; margin-top: 6px; max-width: 620px; }
.dev-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 32px 0 26px; background: rgba(255,255,255,.15);
  border-radius: 8px; overflow: hidden; max-width: 760px; }
.dev-stats > div { background: rgba(20,22,40,.75); padding: 16px 12px; text-align: center; backdrop-filter: blur(4px); }
.dev-stats b { display: block; font-family: var(--font-head); font-weight: 500; font-size: 1.6rem; color: var(--gold-light); line-height: 1.1; }
.dev-stats b span { font: inherit; color: inherit; text-transform: none; letter-spacing: 0; }
.dev-stats > div > span { font-size: .75rem; color: #cfcab8; text-transform: uppercase; letter-spacing: .5px; }
.dev-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-light { background: #fff; color: var(--dark); border-color: #fff; }
.btn-light:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.btn-sm { padding: 6px 14px; font-size: .78rem; }

/* content + sticky sidebar */
.with-sidebar > * { min-width: 0; }   /* stop wide children (scroll rows, tables) stretching the column */
.with-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; }
.content p { margin-bottom: 14px; color: #444; }
.block-title { font-family: var(--font-head); font-weight: 500; font-size: 1.6rem; margin-bottom: 14px; }
.block-title::after { content: ''; display: block; width: 50px; height: 2px; background: var(--gold); margin-top: 8px; }
.block-sub { font-family: var(--font-head); font-weight: 500; font-size: 1.2rem; margin: 30px 0 10px; color: var(--gold-dark); }
.sticky-form { position: sticky; top: calc(var(--header-h) + 16px); border-top: 4px solid var(--gold); }
.form-title { font-family: var(--font-head); font-weight: 500; font-size: 1.3rem; }
.form-intro { font-size: .85rem; color: var(--muted); margin-bottom: 16px; }
.chip-list--left { justify-content: flex-start; }

/* tables */
.table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 20px 0; border-radius: 8px; box-shadow: var(--shadow); background: #fff; }
.facts-table, .data-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.facts-table th, .facts-table td, .data-table th, .data-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid #eee5d0; }
.facts-table tr:last-child th, .facts-table tr:last-child td, .data-table tr:last-child td { border-bottom: 0; }
.facts-table th { width: 38%; background: var(--cream); font-weight: 700; color: var(--gold-dark); }
.data-table thead th { background: var(--dark); color: #fff; font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .5px; }
.data-table tbody tr:hover { background: #fbf8f0; }
.data-table td:first-child { font-weight: 700; }
.data-table td:last-child { text-align: right; }

/* property types */
.ptype-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 12px; }
.ptype { background: #fff; border-radius: 8px; padding: 18px 10px; text-align: center; box-shadow: var(--shadow); }
.ptype svg { width: 34px; height: 34px; stroke: var(--gold-dark); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ptype b { display: block; margin-top: 6px; font-size: .9rem; }
.ptype span { font-size: .75rem; color: var(--muted); }

/* timeline */
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; position: relative; margin-bottom: 30px; }
.timeline::before { content: ''; position: absolute; left: 0; right: 0; top: 17px; height: 2px; background: var(--gold-light); }
.tl-item { position: relative; padding-top: 46px; }
.tl-year { position: absolute; top: 0; left: 0; background: var(--gold); color: #fff; font-weight: 700; font-size: .8rem; padding: 8px 12px; border-radius: 20px; }
.tl-item h4 { font-size: 1rem; margin-bottom: 4px; }
.tl-item p { font-size: .82rem; color: var(--muted); }
.record-grid { margin-top: 10px; }
.record-card { background: var(--cream); border-radius: 8px; padding: 22px 24px; }
.record-card h4 { font-family: var(--font-head); font-weight: 500; font-size: 1.15rem; margin-bottom: 10px; }
.dot-list { columns: 2; column-gap: 20px; }
.dot-list li { padding: 4px 0 4px 16px; position: relative; font-size: .9rem; break-inside: avoid; }
.dot-list li::before { content: ''; position: absolute; left: 0; top: 12px; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }

/* listing */
.result-count { font-size: .85rem; color: var(--muted); margin: -14px 0 16px; }
.load-more[hidden] { display: none; }

/* FAQ */
.faq-wrap { max-width: 860px; }
.faq { background: var(--cream); border-radius: 8px; margin-bottom: 10px; overflow: hidden; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 48px 16px 18px; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--gold-dark); transition: .2s; }
.faq[open] summary::after { content: '−'; }
.faq p { padding: 0 18px 16px; color: #555; }

/* trust strip */
.trust-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.trust-strip > div { background: #fff; border-radius: 8px; padding: 18px 10px; text-align: center; font-weight: 700; font-size: .88rem; box-shadow: var(--shadow); }
.trust-strip span { display: block; font-size: 1.6rem; margin-bottom: 6px; }

@media (max-width: 1100px) {
  .with-sidebar { grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; }
}
@media (max-width: 992px) {
  .with-sidebar { grid-template-columns: minmax(0, 1fr); }
  .sticky-form { position: static; }
  .timeline { grid-template-columns: 1fr; gap: 0; margin-left: 8px; }
  .timeline::before { left: 7px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .tl-item { padding: 0 0 22px 34px; }
  .tl-year { position: static; display: inline-block; margin-bottom: 6px; }
  .tl-item::before { content: ''; position: absolute; left: 0; top: 8px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--gold); }
  .trust-strip { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .dev-hero { padding: 36px 0 34px; }
  .dev-hero-inner { gap: 14px; }
  .dev-logo { width: 68px; height: 68px; font-size: .7rem; }
  .dev-stats { grid-template-columns: repeat(2, 1fr); margin: 24px 0 20px; }
  .dev-stats b { font-size: 1.35rem; }
  .ptype-grid { grid-template-columns: repeat(2, 1fr); }
  /* handover table turns into stacked cards on phones */
  .data-table thead { display: none; }
  .data-table, .data-table tbody, .data-table tr, .data-table td { display: block; width: 100%; }
  .data-table tr { padding: 12px 14px; border-bottom: 1px solid #eee5d0; }
  .data-table td { border: 0; padding: 3px 0; display: flex; justify-content: space-between; gap: 12px; text-align: right; }
  .data-table td::before { content: attr(data-label); font-weight: 400; color: var(--muted); font-size: .8rem; text-align: left; }
  .data-table td:first-child { font-size: 1rem; }
  .data-table td:first-child::before { content: none; }
  .data-table td:last-child { padding-top: 8px; }
  .data-table td:last-child .btn { width: 100%; }
  .facts-table th, .facts-table td { padding: 10px 12px; font-size: .88rem; }
  .facts-table th { width: 42%; }
}
@media (max-width: 520px) {
  .dev-hero-inner { flex-direction: column; align-items: flex-start; }
  .dev-actions .btn { flex: 1; text-align: center; }
  .dot-list { columns: 1; }
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .trust-strip > div:last-child { grid-column: 1 / -1; }
  .record-card { padding: 18px; }
}

/* =========================================================
   CITY COMMUNITIES PAGE (Dubai, Abu Dhabi, ...) + PAGINATION
   ========================================================= */
.city-hero h1 { margin-top: 4px; }
.city-search { max-width: 620px; border-radius: 6px; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.city-search input { padding: 14px 16px; font-size: .95rem; }
.city-search button { background: var(--gold); padding: 0 26px; font-weight: 700; }
.city-search button:hover { background: var(--gold-dark); }

.cg-wrap { scroll-margin-top: calc(var(--header-h) + 16px); }
.cg-wrap .filters { max-width: 620px; margin: 0 auto 14px; }
.cg-wrap .result-count { text-align: center; margin: 0 0 24px; }
.cg-block { padding: 26px 0 30px; border-bottom: 1px solid #eee5d0; scroll-margin-top: calc(var(--header-h) + 16px); }
.cg-block:first-child { padding-top: 6px; }
.cg-block:last-child { border-bottom: 0; }
.cg-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.cg-title { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.cg-title h3 { font-family: var(--font-head); font-weight: 500; font-size: 1.35rem; letter-spacing: .5px; }
.cg-title h3::before { content: ''; display: inline-block; width: 4px; height: 20px; background: var(--gold); margin-right: 10px; vertical-align: -3px; border-radius: 2px; }
.cg-count { background: var(--cream); color: var(--gold-dark); font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 20px; border: 1px solid #e3d9bf; }
.cg-all { font-size: .85rem; font-weight: 700; color: var(--gold-dark); white-space: nowrap; }
.cg-all:hover { text-decoration: underline; }
.cg-grid .project-card .img-wrap { height: 200px; }

.pagination { display: flex; justify-content: center; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 30px; }
.pg-btn { min-width: 42px; height: 42px; padding: 0 12px; border-radius: 6px; border: 1px solid #ddd2b4; background: #fff; color: var(--dark);
  font-weight: 700; font-size: .9rem; cursor: pointer; transition: .2s; }
.pg-btn:hover:not(:disabled):not(.active) { border-color: var(--gold); color: var(--gold-dark); }
.pg-btn.active { background: var(--gold); border-color: var(--gold); color: #fff; cursor: default; }
.pg-btn:disabled { opacity: .4; cursor: default; }
.pg-dots { padding: 0 4px; color: var(--muted); }

.area-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.area-card { background: #fff; border-radius: 8px; padding: 16px 18px; box-shadow: var(--shadow); border-left: 3px solid var(--gold); }
.area-card h4 { font-size: .98rem; margin-bottom: 2px; }
.area-card p { font-size: .84rem; color: var(--muted); margin: 0; }
.content .check-list li { border-bottom-color: #eee5d0; }

@media (max-width: 768px) {
  .cg-block { padding: 20px 0 24px; }
  .cg-title h3 { font-size: 1.15rem; }
  .cg-grid .project-card .img-wrap { height: 190px; }
  .area-grid { grid-template-columns: 1fr; }
  .city-search input { padding: 12px; }
  .city-search button { padding: 0 16px; }
}
@media (max-width: 520px) {
  /* 3 projects per community become a swipe row on phones to keep the page short */
  .cg-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 -16px; padding: 0 16px 6px;
    -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .cg-grid::-webkit-scrollbar { display: none; }
  .cg-grid > * { flex: 0 0 78%; scroll-snap-align: start; }
  .cg-grid > *:only-child { flex-basis: 100%; }
  .cg-grid .project-card .img-wrap { height: 170px; }
  .cg-head { margin-bottom: 12px; }
  .cg-all { font-size: .8rem; }
  .pg-btn { min-width: 38px; height: 40px; padding: 0 8px; }
  .pg-btn span { display: none; }
}

/* =========================================================
   COMMUNITY DETAIL PAGE (DLRC etc.) — tabs, features, zones
   ========================================================= */
[hidden] { display: none !important; }   /* paginated rows & tab panels stay hidden on every layout */

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.feature { background: var(--cream); border-radius: 8px; padding: 14px 12px; border-top: 3px solid var(--gold); }
.feature b { display: block; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; color: var(--gold-dark); }
.feature span { font-size: .78rem; color: var(--muted); line-height: 1.35; display: block; }
.zone-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }

/* tabs */
.tab-list { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  border-bottom: 2px solid #e6dcc2; margin-bottom: 24px; }
.tab-list::-webkit-scrollbar { display: none; }
.tab-btn { flex: none; background: none; border: 0; padding: 12px 18px; font-weight: 700; font-size: .92rem; color: var(--muted);
  cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -2px; white-space: nowrap; transition: .2s; }
.tab-btn:hover { color: var(--gold-dark); }
.tab-btn.active { color: var(--gold-dark); border-bottom-color: var(--gold); }
.tab-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; border-radius: 4px; }
.tab-panel { animation: fadeIn .3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.tab-intro { color: #555; margin-bottom: 18px; }
.dist-list--grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.dist-list--grid li { margin: 0; }
.dist-list .mins { font-size: 1rem; }
.amenity-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.amenity-list li { background: #fff; border-radius: 8px; padding: 14px 16px 14px 44px; position: relative; box-shadow: var(--shadow); font-size: .92rem; }
.amenity-list li::before { content: '✓'; position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; border-radius: 50%;
  background: var(--gold); color: #fff; font-size: .65rem; display: grid; place-items: center; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.two-col > div { background: #fff; border-radius: 8px; padding: 22px; box-shadow: var(--shadow); }
.two-col h4 { font-family: var(--font-head); font-weight: 500; font-size: 1.15rem; color: var(--gold-dark); margin-bottom: 8px; }
.two-col p { color: #555; font-size: .93rem; }
.invest-grid--4 { grid-template-columns: repeat(4, 1fr); margin-top: 0; }
.note { font-size: .78rem; color: var(--muted); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

@media (max-width: 992px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .invest-grid--4, .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .zone-grid, .dist-list--grid, .amenity-list, .two-col { grid-template-columns: 1fr; }
  .tab-list { margin: 0 -16px 20px; padding: 0 16px; }
  .tab-btn { padding: 12px 14px; font-size: .88rem; }
}
@media (max-width: 520px) {
  .feature-grid { gap: 8px; }
  .feature { padding: 12px 10px; }
  .feature b { font-size: .95rem; }
  .invest-grid--4 { gap: 10px; }
  .invest-grid--4 .invest-item { padding: 16px; }
  .invest-grid--4 .invest-item b { font-size: 1.4rem; }
  .why-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   BLOG PAGE
   ========================================================= */
.blog-hero { padding: 54px 0 46px; }
.blog-hero h1 { font-size: clamp(1.8rem, 4.5vw, 3rem); letter-spacing: 1px; }
.blog-hero .city-search { margin-top: 22px; }

/* blog card tweaks */
.blog-card { display: flex; flex-direction: column; }
.blog-card .img-wrap { display: block; }
.blog-card .card-body { display: flex; flex-direction: column; flex: 1; }
.blog-card h3 a:hover { color: var(--gold-dark); }
.blog-card p { flex: 1; }
.blog-foot { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #f0e9d8; padding-top: 10px; }
.read-time { font-size: .75rem; color: var(--muted); }

/* featured post */
.blog-featured { display: grid; grid-template-columns: 1.15fr 1fr; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow-hover); }
.blog-featured .img-wrap { min-height: 360px; height: 100%; }
.bf-body { padding: 36px 34px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.bf-label { font-size: .7rem; font-weight: 900; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 10px; }
.bf-body .blog-meta { gap: 12px; justify-content: flex-start; flex-wrap: wrap; }
.bf-body h2 { font-family: var(--font-head); font-weight: 500; font-size: clamp(1.35rem, 2.4vw, 1.9rem); line-height: 1.25; margin: 6px 0 12px; }
.bf-body h2 a:hover { color: var(--gold-dark); }
.bf-body p { color: #555; margin-bottom: 20px; }
.blog-featured:hover .img-wrap img { transform: scale(1.04); }

/* category tiles */
.cat-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin-top: 26px; }
.cat-tile { background: var(--dark); color: #fff; border-radius: 8px; padding: 18px; display: flex; align-items: center; gap: 12px; transition: .25s; }
.cat-tile:hover { background: var(--gold-dark); transform: translateY(-3px); }
.cat-tile b { font-family: var(--font-head); font-size: 1.8rem; font-weight: 500; color: var(--gold-light); line-height: 1; }
.cat-tile:hover b { color: #fff; }
.cat-tile span { font-size: .85rem; font-weight: 700; line-height: 1.25; }

/* listing */
.cat-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-bottom: 4px; margin-bottom: 14px; }
.cat-tabs::-webkit-scrollbar { display: none; }
.cat-btn { flex: none; border: 1px solid #e3d9bf; background: #fff; color: var(--dark); border-radius: 30px; padding: 8px 14px; font-weight: 700;
  font-size: .82rem; cursor: pointer; white-space: nowrap; transition: .2s; display: inline-flex; align-items: center; gap: 6px; }
.cat-btn small { background: var(--cream); color: var(--gold-dark); border-radius: 20px; padding: 1px 7px; font-size: .7rem; }
.cat-btn:hover { border-color: var(--gold); }
.cat-btn.active { background: var(--gold); border-color: var(--gold); color: #fff; }
.cat-btn.active small { background: rgba(255,255,255,.25); color: #fff; }
.blog-search { box-shadow: none; padding: 0; background: none; margin-bottom: 10px; }
#posts .result-count { margin: 0 0 16px; }
.blog-grid { grid-template-columns: repeat(2, 1fr); }
.blog-grid .blog-card .img-wrap { height: 210px; }

/* sidebar widgets */
.blog-sidebar { display: flex; flex-direction: column; gap: 18px; }
.widget { background: var(--cream); border-radius: 10px; padding: 22px 20px; }
.widget > h3 { font-family: var(--font-head); font-weight: 500; font-size: 1.15rem; margin-bottom: 12px; }
.widget > h3::after { content: ''; display: block; width: 36px; height: 2px; background: var(--gold); margin-top: 6px; }
.widget p { font-size: .88rem; color: #555; margin-bottom: 14px; }
.widget-about { text-align: center; background: var(--dark); color: #fff; }
.widget-about p { color: #ccc; }
.widget-about > h3::after { margin: 6px auto 0; }
.widget-about .dev-logo { margin: 0 auto 12px; width: 70px; height: 70px; font-size: 1rem; }
.widget-newsletter { background: linear-gradient(135deg, var(--gold-dark), var(--gold)); color: #fff; }
.widget-newsletter p { color: #f7f0dc; }
.widget-newsletter > h3::after { background: #fff; }
.widget-newsletter input[type=email] { width: 100%; padding: 11px 12px; border: 0; border-radius: var(--radius); margin-bottom: 10px; outline: none; }
.widget-newsletter .btn { background: var(--dark); border-color: var(--dark); }
.widget-newsletter .btn:hover { background: #000; }
.nl-consent { display: flex; gap: 8px; align-items: flex-start; font-size: .78rem; margin-bottom: 12px; line-height: 1.4; cursor: pointer; }
.nl-consent input { margin-top: 2px; accent-color: var(--dark); flex: none; width: 16px; height: 16px; }
.nl-consent a { text-decoration: underline; }
.nl-msg { font-size: .82rem; font-weight: 700; margin: 8px 0 0 !important; min-height: 1em; }
.nl-msg.ok { color: #fff; } .nl-msg.err { color: #ffe1dc; }
.widget-list li { border-bottom: 1px solid #e6dcc2; }
.widget-list li:last-child { border-bottom: 0; }
.widget-list a { display: flex; justify-content: space-between; padding: 9px 0; font-size: .9rem; font-weight: 700; }
.widget-list a::after { content: '→'; color: var(--gold); transition: .2s; }
.widget-list a:hover { color: var(--gold-dark); }
.widget-list a:hover::after { transform: translateX(3px); }
.mini-projects { display: grid; gap: 12px; }
.mini-projects .project-card { display: grid; grid-template-columns: 84px 1fr; gap: 12px; align-items: center; }
.mini-projects .project-card .img-wrap { height: 64px; border-radius: 6px; }
.mini-projects .project-card .card-body { padding: 0; }
.mini-projects .project-card h3 { font-size: .8rem; }
.mini-projects .price { font-size: .85rem; margin-top: 0; }

@media (max-width: 1100px) {
  .blog-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 992px) {
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured .img-wrap { min-height: 260px; height: 300px; }
  .bf-body { padding: 26px 24px; }
  /* sidebar widgets sit side by side under the posts on tablets */
  .blog-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
}
@media (max-width: 768px) {
  .blog-hero { padding: 36px 0 30px; }
  .cat-tiles { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cat-tile { padding: 14px; }
  .cat-tile b { font-size: 1.5rem; }
  .cat-tabs { margin: 0 -16px 12px; padding: 0 16px 4px; }
}
@media (max-width: 600px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-sidebar { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .blog-featured .img-wrap { height: 220px; min-height: 0; }
  .bf-body { padding: 20px 16px; }
  .bf-body .btn { width: 100%; text-align: center; }
  .blog-grid .blog-card .img-wrap { height: 190px; }
}

/* =========================================================
   CATEGORY ARCHIVE PAGE (Community Guide, Market Insights, ...)
   ========================================================= */
.hero-eyebrow { display: inline-block; background: var(--gold); color: #fff; font-size: .72rem; font-weight: 900; letter-spacing: 1.5px;
  text-transform: uppercase; padding: 5px 12px; border-radius: 20px; margin-bottom: 10px; }
.cat-tile.active { background: var(--gold); pointer-events: none; }
.cat-tile.active b { color: #fff; }
.wl-count { font-weight: 400; color: var(--muted); }

/* =========================================================
   ARTICLE (single blog post) PAGE
   ========================================================= */
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: var(--gold); transform-origin: 0 50%;
  transform: scaleX(0); z-index: 150; }

.article-hero { background: var(--cream); padding: 34px 0 0; }
.article-head { max-width: 860px; }
.article-head .breadcrumb { color: var(--muted); margin-bottom: 16px; }
.article-head .breadcrumb a:hover { color: var(--gold-dark); }
.article-head .blog-cat { display: inline-block; font-size: .72rem; }
.article-head h1 { font-family: var(--font-head); font-weight: 500; font-size: clamp(1.7rem, 4.2vw, 2.8rem); line-height: 1.18; margin: 12px 0; color: #111; }
.article-dek { font-size: 1.08rem; color: #555; margin-bottom: 16px; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; font-size: .85rem; color: var(--muted); margin-bottom: 14px; }
.author-chip { display: inline-flex; align-items: center; gap: 8px; color: var(--text); }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--dark); color: var(--gold-light); display: inline-grid; place-items: center;
  font-size: .72rem; font-weight: 900; letter-spacing: .5px; flex: none; }
.avatar-lg { width: 64px; height: 64px; font-size: 1.05rem; }
.share-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.share-label { font-size: .75rem; font-weight: 900; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin-right: 2px; }
.share-btn { width: 36px; height: 36px; border-radius: 50%; display: inline-grid; place-items: center; border: 0; cursor: pointer;
  color: #fff; font-weight: 900; font-size: .78rem; transition: transform .2s; }
.share-btn:hover { transform: translateY(-2px); }
.sb-wa { background: #25d366; } .sb-fb { background: #1877f2; } .sb-x { background: #111; } .sb-in { background: #0a66c2; }
.sb-copy { background: var(--gold); font-size: .9rem; }
.article-cover { margin: 26px 0 0; border-radius: 12px 12px 0 0; overflow: hidden; aspect-ratio: 2 / 1;
  background: linear-gradient(135deg, var(--cream-dark), #cdbf9a); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-section { padding-top: 40px; }

/* body typography */
.article-body { font-size: 1.05rem; line-height: 1.75; color: #333; }
.article-body > p { margin-bottom: 18px; }
.article-body h2 { font-family: var(--font-head); font-weight: 500; font-size: clamp(1.35rem, 2.6vw, 1.75rem); line-height: 1.25; color: #111;
  margin: 46px 0 16px; padding-top: 6px; scroll-margin-top: calc(var(--header-h) + 20px); }
.article-body h2::after { content: ''; display: block; width: 46px; height: 2px; background: var(--gold); margin-top: 10px; }
.article-body .lead-text { font-size: 1.18rem; color: #222; }
.article-body .check-list { margin-bottom: 16px; }
.callout { border-left: 4px solid var(--gold); background: var(--cream); padding: 14px 18px; border-radius: 0 8px 8px 0; font-style: italic; color: #444; margin-bottom: 18px; }

.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: #e6dcc2; border-radius: 10px; overflow: hidden; margin: 6px 0 26px; }
.stat-row > div { background: #fff; padding: 16px 10px; text-align: center; }
.stat-row b { display: block; font-family: var(--font-head); font-weight: 600; font-size: 1.4rem; color: var(--gold-dark); line-height: 1.2; }
.stat-row span { font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .4px; }

/* community cards */
.comm-card { display: grid; grid-template-columns: 58px 1fr; gap: 18px; background: #fff; border-radius: 12px; padding: 24px 24px 22px;
  box-shadow: var(--shadow); margin-bottom: 18px; scroll-margin-top: calc(var(--header-h) + 20px); border: 1px solid #f0e9d8; }
.comm-num { font-family: var(--font-head); font-size: 2.2rem; font-weight: 500; color: var(--gold-light); line-height: 1; }
.comm-body h3 { font-family: var(--font-head); font-weight: 500; font-size: 1.35rem; color: #111; margin-bottom: 6px; }
.best-for { display: inline-block; background: var(--cream); color: var(--gold-dark); font-size: .8rem; font-weight: 700; padding: 4px 12px;
  border-radius: 20px; margin-bottom: 12px; line-height: 1.4; }
.comm-body p { font-size: .98rem; margin-bottom: 12px; }
.pros-cons { display: grid; gap: 6px; margin-bottom: 12px; }
.pros-cons li { font-size: .9rem; padding-left: 26px; position: relative; line-height: 1.5; }
.pros-cons li::before { position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center;
  font-size: .7rem; font-weight: 900; color: #fff; }
.pros-cons .pro::before { content: '+'; background: #2e8b57; }
.pros-cons .con::before { content: '−'; background: #c0392b; }
.comm-link { display: inline-block; font-weight: 700; font-size: .9rem; color: var(--gold-dark); background: none; border: 0; padding: 0; cursor: pointer; }
.comm-link:hover { text-decoration: underline; }

.inline-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; background: var(--dark); color: #fff;
  border-radius: 12px; padding: 22px 24px; margin: 26px 0; }
.inline-cta b { display: block; font-family: var(--font-head); font-weight: 500; font-size: 1.2rem; }
.inline-cta span { font-size: .9rem; color: #cfcab8; }

.compare-table td:last-child { text-align: left; }
.commute-calc { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; background: var(--cream); border-radius: 10px;
  padding: 18px; margin: 0 0 18px; font-weight: 700; text-align: center; }
.commute-calc span { background: #fff; border-radius: 6px; padding: 8px 12px; box-shadow: var(--shadow); font-size: .92rem; }
.commute-calc i { font-style: normal; color: var(--gold-dark); font-size: 1.2rem; }
.commute-calc b { background: var(--gold); color: #fff; border-radius: 6px; padding: 8px 14px; }

.step-list { list-style: none; counter-reset: step; display: grid; gap: 10px; margin-bottom: 18px; }
.step-list li { counter-increment: step; position: relative; padding: 14px 16px 14px 58px; background: #fff; border-radius: 10px; box-shadow: var(--shadow); font-size: .98rem; }
.step-list li::before { content: counter(step); position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px;
  border-radius: 50%; background: var(--gold); color: #fff; font-weight: 900; display: grid; place-items: center; font-size: .9rem; }
.quick-picks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.quick-picks > div { background: var(--dark); color: #fff; border-radius: 10px; padding: 16px; }
.quick-picks b { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: 1px; color: var(--gold-light); margin-bottom: 4px; }
.quick-picks span { font-family: var(--font-head); font-size: 1.05rem; line-height: 1.3; display: block; }

.article-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; border-top: 1px solid #e6dcc2;
  border-bottom: 1px solid #e6dcc2; padding: 18px 0; margin: 34px 0 24px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list a { font-size: .8rem; font-weight: 700; background: var(--cream); border: 1px solid #e3d9bf; border-radius: 20px; padding: 5px 12px; }
.tag-list a:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.author-box { display: flex; gap: 18px; align-items: center; background: var(--cream); border-radius: 12px; padding: 22px; margin-bottom: 24px; }
.author-box small { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); }
.author-box b { font-family: var(--font-head); font-size: 1.2rem; font-weight: 500; }
.author-box p { font-size: .9rem; color: #555; margin: 4px 0 0; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.post-nav a { background: #fff; border: 1px solid #e6dcc2; border-radius: 10px; padding: 16px 18px; transition: .2s; }
.post-nav a:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.post-nav .pn-next { text-align: right; grid-column: 2; }
.post-nav small { display: block; font-size: .75rem; color: var(--gold-dark); font-weight: 700; margin-bottom: 4px; }
.post-nav b { font-size: .95rem; line-height: 1.35; display: block; }

/* table of contents */
.toc-mobile { display: none; }
.article-sidebar { display: flex; flex-direction: column; gap: 18px; }
.toc-widget { position: sticky; top: calc(var(--header-h) + 16px); z-index: 2; max-height: calc(100vh - var(--header-h) - 32px); overflow-y: auto; }
[data-toc] ol { list-style: none; counter-reset: toc; }
[data-toc] li { counter-increment: toc; }
[data-toc] a { display: flex; gap: 10px; padding: 7px 0; font-size: .9rem; color: #444; border-left: 2px solid transparent; padding-left: 10px; margin-left: -12px; transition: .2s; }
[data-toc] a::before { content: counter(toc, decimal-leading-zero); color: var(--gold); font-weight: 900; font-size: .78rem; padding-top: 2px; }
[data-toc] a:hover { color: var(--gold-dark); }
[data-toc] a.active { color: var(--gold-dark); font-weight: 700; border-left-color: var(--gold); }

@media (max-width: 992px) {
  .toc-widget { display: none; }
  .article-body h2, .comm-card { scroll-margin-top: calc(var(--header-h) + 76px); }   /* clear the sticky mobile TOC */
  .toc-mobile { display: block; background: #fff; border: 1px solid #e6dcc2; border-radius: 10px; margin-bottom: 26px; position: sticky;
    top: calc(var(--header-h) + 6px); z-index: 20; box-shadow: var(--shadow); }
  .toc-mobile summary { list-style: none; cursor: pointer; padding: 13px 16px; font-weight: 700; display: flex; justify-content: space-between; }
  .toc-mobile summary::-webkit-details-marker { display: none; }
  .toc-mobile summary::after { content: '▾'; color: var(--gold-dark); transition: .2s; }
  .toc-mobile[open] summary::after { transform: rotate(180deg); }
  .toc-mobile nav { padding: 0 16px 12px 28px; max-height: 55vh; overflow-y: auto; }
  .quick-picks { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .article-hero { padding-top: 24px; }
  .article-cover { aspect-ratio: 16 / 10; border-radius: 10px 10px 0 0; }
  .article-body { font-size: 1rem; }
  .article-body .lead-text { font-size: 1.08rem; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .comm-card { grid-template-columns: 1fr; gap: 6px; padding: 20px 18px; }
  .comm-num { font-size: 1.6rem; }
  .compare-table td { text-align: right; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav .pn-next { grid-column: auto; }
  .author-box { align-items: flex-start; padding: 18px; }
}
@media (max-width: 520px) {
  .article-head h1 { font-size: 1.6rem; }
  .article-dek { font-size: 1rem; }
  .article-cover { margin-left: -16px; margin-right: -16px; border-radius: 0; }
  .inline-cta { padding: 20px 16px; }
  .inline-cta .btn { width: 100%; text-align: center; }
  .quick-picks { grid-template-columns: 1fr; }
  .step-list li { padding-left: 52px; }
  .commute-calc { gap: 6px; padding: 14px 10px; }
  .commute-calc span { font-size: .82rem; padding: 6px 8px; }
}

/* =========================================================
   WORDPRESS INTEGRATION
   ========================================================= */
html:not(.js) .reveal { opacity: 1; transform: none; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
.logo img { max-height: 44px; width: auto; }

/* server-rendered pagination uses links as well as buttons */
.pagination .pg-btn { display: inline-flex; align-items: center; justify-content: center; gap: 4px; text-decoration: none; }
.pagination span.pg-btn.disabled { opacity: .4; cursor: default; }
.filters .btn { flex: none; }
.ul-listing .filters { max-width: none; }

/* project gallery with fewer than 4 photos */
.proj-gallery--1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.proj-gallery--1 .g-item:first-child { grid-row: auto; }
.proj-gallery .g-hidden { display: none; }
.proj-card .loc a:hover { text-decoration: underline; }
.proj-facts a { color: var(--gold-dark); }

/* thank-you / 404 */
.notice-page { min-height: 52vh; display: grid; place-items: center; text-align: center; }
.notice-page .big { font-family: var(--font-head); font-size: clamp(3rem, 10vw, 6rem); color: var(--gold); line-height: 1; }
.notice-page h1 { font-family: var(--font-head); font-weight: 500; font-size: 1.8rem; margin: 10px 0; }
.notice-page p { color: var(--muted); max-width: 560px; margin: 0 auto 18px; }
.notice-page .search-form { max-width: 460px; margin: 0 auto 18px; box-shadow: var(--shadow); }
.notice-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.empty-note { text-align: center; color: var(--muted); padding: 30px 0; }
.page-hero .hero-sub { max-width: 720px; margin: 10px auto 0; color: #e8e2cf; }

/* developer logo: wordmarks need a wide box, not a circle */
.dev-logo--img { width: auto; min-width: 120px; max-width: 200px; height: 96px; padding: 12px 18px; border-radius: 12px; }
.dev-logo--img img { width: auto; max-width: 100%; max-height: 72px; height: auto; object-fit: contain; }
@media (max-width: 768px) { .dev-logo--img { height: 72px; min-width: 96px; padding: 10px 14px; } .dev-logo--img img { max-height: 52px; } }

/* =========================================================
   RICH CONTENT (.ul-rich)
   Everything written in WordPress: block editor, classic editor,
   term "Custom Content", Lazy Blocks, Yoast FAQ, older Bootstrap markup.
   ========================================================= */
.ul-rich { color: #3a3a3a; font-size: 1rem; line-height: 1.75; text-align: left; overflow-wrap: break-word; }
.ul-rich > *:first-child { margin-top: 0 !important; }
.ul-rich > *:last-child { margin-bottom: 0 !important; }
:where(.ul-rich) p { margin: 0 0 16px; color: inherit; }
:where(.ul-rich) h1, :where(.ul-rich) h2, :where(.ul-rich) h3, :where(.ul-rich) h4, :where(.ul-rich) h5, :where(.ul-rich) h6 {
  font-family: var(--font-head); font-weight: 500; color: #151515; line-height: 1.28; scroll-margin-top: calc(var(--header-h) + 76px); }
:where(.ul-rich) h1 { font-size: clamp(1.5rem, 3vw, 1.9rem); margin: 34px 0 14px; }
:where(.ul-rich) h2 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); margin: 38px 0 14px; }
:where(.ul-rich) h2:not(.section-title):not(.block-title)::after { content: ''; display: block; width: 44px; height: 2px; background: var(--gold); margin-top: 9px; }
:where(.ul-rich) h3 { font-size: 1.22rem; margin: 28px 0 10px; color: var(--gold-dark); }
:where(.ul-rich) h4 { font-size: 1.06rem; margin: 22px 0 8px; font-family: var(--font-body); font-weight: 700; }
:where(.ul-rich) h5, :where(.ul-rich) h6 { font-size: .95rem; margin: 18px 0 6px; font-family: var(--font-body); font-weight: 700; }
:where(.ul-rich) h2[style*="center"]::after, :where(.ul-rich) h2.has-text-align-center::after, .ul-rich .text-center h2::after { margin-left: auto; margin-right: auto; }
:where(.ul-rich) strong, :where(.ul-rich) b { color: #1d1d1d; font-weight: 700; }
:where(.ul-rich) a:not([class]), :where(.ul-rich) p a, :where(.ul-rich) li a, :where(.ul-rich) td a { color: var(--gold-dark); text-decoration: underline; text-underline-offset: 2px; }
:where(.ul-rich) a:not([class]):hover { color: var(--dark); }
:where(.ul-rich) hr, :where(.ul-rich) .wp-block-separator { border: 0; border-top: 1px solid #e6dcc2; margin: 30px 0; }

/* lists: real bullets, gold markers (plain + block-editor lists only; design lists keep their own markers) */
:where(.ul-rich) :is(ul:not([class]), ul.wp-block-list, ol:not([class]), ol.wp-block-list) { margin: 0 0 18px; padding-left: 1.35em; }
:where(.ul-rich) :is(ul:not([class]), ul.wp-block-list) { list-style: none; }
:where(.ul-rich) :is(ul:not([class]), ul.wp-block-list) > li { position: relative; }
:where(.ul-rich) :is(ul:not([class]), ul.wp-block-list) > li::before { content: ''; position: absolute; left: -1.05em; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
:where(.ul-rich) :is(ol:not([class]), ol.wp-block-list) { list-style: decimal; }
:where(.ul-rich) :is(ol:not([class]), ol.wp-block-list) > li::marker { color: var(--gold-dark); font-weight: 700; }
:where(.ul-rich) :is(ul:not([class]), ul.wp-block-list, ol:not([class]), ol.wp-block-list) > li { margin-bottom: 7px; padding-left: 2px; }
:where(.ul-rich) li > :is(ul, ol) { margin-top: 7px !important; }
:where(.ul-rich) ul.list-unstyled { list-style: none; padding-left: 0; }
:where(.ul-rich) ul.list-unstyled > li { margin-bottom: 8px; }
:where(.ul-rich) ul.list-inline { list-style: none; padding-left: 0; }
:where(.ul-rich) ul.list-inline > li { display: inline-block; margin-right: 12px; }

/* media */
:where(.ul-rich) img { height: auto; max-width: 100%; border-radius: 8px; }
:where(.ul-rich) figure { margin: 24px 0; }
:where(.ul-rich) figcaption, :where(.ul-rich) .wp-element-caption { font-size: .82rem; color: var(--muted); text-align: center; margin-top: 8px; }
:where(.ul-rich) .aligncenter, :where(.ul-rich) .wp-block-image.aligncenter { margin-left: auto; margin-right: auto; text-align: center; }
:where(.ul-rich) .aligncenter img { margin: 0 auto; }
:where(.ul-rich) .alignleft { float: left; margin: 4px 22px 14px 0; max-width: 50%; }
:where(.ul-rich) .alignright { float: right; margin: 4px 0 14px 22px; max-width: 50%; }
.ul-rich::after { content: ''; display: table; clear: both; }
.ul-embed, .ul-rich .ratio { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; margin: 22px 0; background: #000; }
.ul-embed iframe, .ul-rich .ratio > iframe, .ul-rich .ratio > video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ul-rich .wp-block-embed { margin: 24px 0; }
.ul-rich .wp-block-embed iframe { max-width: 100%; border-radius: 10px; }
.ul-rich iframe[src*="google.com/maps"] { width: 100%; min-height: 340px; border: 0; border-radius: 10px; }
.term-banner { margin: 0 0 22px; border-radius: 10px; overflow: hidden; }

/* quotes, callouts */
:where(.ul-rich) blockquote, :where(.ul-rich) .wp-block-quote, :where(.ul-rich) .wp-block-pullquote { border-left: 4px solid var(--gold); background: var(--cream); padding: 16px 20px;
  border-radius: 0 10px 10px 0; margin: 22px 0; font-style: italic; color: #444; }
:where(.ul-rich) blockquote p:last-child { margin-bottom: 0; }
:where(.ul-rich) blockquote cite { display: block; margin-top: 8px; font-size: .85rem; font-style: normal; color: var(--muted); }
.ul-rich .alert, .ul-rich .callout, .ul-rich .wp-block-group.has-background { border-radius: 10px; padding: 16px 20px; margin: 20px 0; }
.ul-rich .alert { background: var(--cream); border-left: 4px solid var(--gold); }
.ul-rich .alert-info, .ul-rich .alert-primary { background: #eef3fb; border-left-color: #3c6fd8; }
.ul-rich .alert-success { background: #edf7f0; border-left-color: #2e8b57; }
.ul-rich .alert-warning { background: #fdf6e3; border-left-color: var(--badge); }
.ul-rich .alert-danger { background: #fdf0ee; border-left-color: #c0392b; }

/* tables */
.ul-table { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 22px 0; }
.ul-rich .wp-block-table .ul-table, .ul-rich .table-responsive .ul-table, .table-wrap .ul-table { margin: 0; }
.ul-rich .wp-block-table { margin: 22px 0; overflow: visible; }
:where(.ul-rich) table:not(.facts-table):not(.data-table) { width: 100%; border-collapse: collapse; background: #fff; font-size: .93rem; line-height: 1.5;
  box-shadow: var(--shadow); border-radius: 8px; overflow: hidden; }
:where(.ul-rich) table:not(.facts-table):not(.data-table) th, :where(.ul-rich) table:not(.facts-table):not(.data-table) td {
  padding: 11px 14px; border: 0; border-bottom: 1px solid #eee5d0; text-align: left; vertical-align: top; }
:where(.ul-rich) table:not(.facts-table):not(.data-table) thead th, :where(.ul-rich) table:not(.facts-table):not(.data-table) tr:first-child th:only-child {
  background: var(--dark); color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .4px; }
:where(.ul-rich) table:not(.facts-table):not(.data-table) tbody th { background: var(--cream); color: var(--gold-dark); width: 36%; }
:where(.ul-rich) table:not(.facts-table):not(.data-table) tbody tr:last-child > * { border-bottom: 0; }
.ul-rich .is-style-stripes tbody tr:nth-child(odd), .ul-rich .table-striped tbody tr:nth-child(odd) { background: #fbf8f0; }
.ul-rich .table-hover tbody tr:hover { background: #f8f2e2; }
.ul-rich .table-bordered th, .ul-rich .table-bordered td { border: 1px solid #eee5d0 !important; }
.ul-rich .wp-block-table figcaption { margin-top: 8px; }
@media (max-width: 600px) { :where(.ul-rich) table:not(.facts-table):not(.data-table) { font-size: .88rem; } :where(.ul-rich) table:not(.facts-table):not(.data-table) :is(th, td) { padding: 9px 10px; } }

/* block editor: buttons, columns, groups, galleries */
.ul-rich .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0; }
.ul-rich .wp-block-button__link, .ul-rich .wp-element-button { display: inline-block; background: var(--gold); color: #fff; border-radius: var(--radius);
  padding: 11px 22px; font-weight: 700; font-size: .92rem; text-decoration: none; border: 1px solid var(--gold); transition: .25s; }
.ul-rich .wp-block-button__link:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: #fff; }
.ul-rich .is-style-outline .wp-block-button__link { background: transparent; color: var(--gold-dark); }
.ul-rich .wp-block-columns { gap: 26px; margin: 22px 0; }
.ul-rich .wp-block-column > *:first-child { margin-top: 0; }
.ul-rich .wp-block-gallery { gap: 10px; margin: 22px 0; }
.ul-rich .wp-block-gallery img { border-radius: 8px; }
.ul-rich .wp-block-cover { border-radius: 12px; overflow: hidden; margin: 24px 0; }
.ul-rich .has-text-align-center { text-align: center; }
.ul-rich .has-text-align-right { text-align: right; }

/* FAQ: Yoast FAQ block, Bootstrap accordion and <details> all look the same */
.ul-rich .schema-faq, .ul-rich .wp-block-yoast-faq-block { margin: 22px 0; display: grid; gap: 10px; }
.ul-rich .schema-faq-section { background: var(--cream); border-radius: 10px; padding: 16px 18px; border-left: 3px solid var(--gold); }
.ul-rich .schema-faq-question { display: block; font-size: 1rem; color: #151515; margin-bottom: 6px; }
.ul-rich .schema-faq-answer { margin: 0; color: #555; }
.ul-rich details:not(.faq):not(.toc-mobile) { background: var(--cream); border-radius: 10px; margin-bottom: 10px; }
.ul-rich details:not(.faq):not(.toc-mobile) > summary { cursor: pointer; padding: 14px 18px; font-weight: 700; }
.ul-rich details:not(.faq):not(.toc-mobile) > *:not(summary) { padding: 0 18px 14px; }
.ul-rich .accordion { display: grid; gap: 10px; margin: 22px 0; }
.ul-rich .accordion-item { background: var(--cream); border-radius: 10px; overflow: hidden; border: 0; }
.ul-rich .accordion-header { margin: 0 !important; font-size: 1rem; }
.ul-rich .accordion-header::after { content: none !important; }
.ul-rich .accordion-button { width: 100%; text-align: left; background: none; border: 0; padding: 15px 46px 15px 18px; font: inherit; font-weight: 700;
  color: #151515; cursor: pointer; position: relative; }
.ul-rich .accordion-button::after { content: '−'; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: var(--gold-dark); font-size: 1.3rem; }
.ul-rich .accordion-button.collapsed::after { content: '+'; }
.ul-rich .accordion-body { padding: 0 18px 16px; color: #555; }
.ul-rich .collapse:not(.show) { display: none; }

/* --- Bootstrap 5 compatibility (older content was written with Bootstrap loaded) --- */
.ul-rich .container, .ul-rich .container-fluid, .ul-rich .container-xl, .ul-rich .container-lg { max-width: none; padding: 0; margin: 0; }
.ul-rich .row { display: flex; flex-wrap: wrap; margin: 0 -12px; row-gap: 0; }
.ul-rich .row > * { flex-shrink: 0; width: 100%; max-width: 100%; padding: 0 12px; }
.ul-rich .row.g-0 { margin: 0; } .ul-rich .row.g-0 > * { padding: 0; }
.ul-rich .row.g-2, .ul-rich .row.gy-2 { row-gap: 8px; } .ul-rich .row.g-3, .ul-rich .row.gy-3 { row-gap: 16px; }
.ul-rich .row.g-4, .ul-rich .row.gy-4 { row-gap: 24px; } .ul-rich .row.g-5, .ul-rich .row.gy-5 { row-gap: 40px; }
.ul-rich .col { flex: 1 0 0%; width: auto; }
.ul-rich .col-auto { flex: 0 0 auto; width: auto; }
.ul-rich .col-1 { flex: 0 0 auto; width: 8.3333%; }
.ul-rich .col-2 { flex: 0 0 auto; width: 16.6667%; }
.ul-rich .col-3 { flex: 0 0 auto; width: 25.0%; }
.ul-rich .col-4 { flex: 0 0 auto; width: 33.3333%; }
.ul-rich .col-5 { flex: 0 0 auto; width: 41.6667%; }
.ul-rich .col-6 { flex: 0 0 auto; width: 50.0%; }
.ul-rich .col-7 { flex: 0 0 auto; width: 58.3333%; }
.ul-rich .col-8 { flex: 0 0 auto; width: 66.6667%; }
.ul-rich .col-9 { flex: 0 0 auto; width: 75.0%; }
.ul-rich .col-10 { flex: 0 0 auto; width: 83.3333%; }
.ul-rich .col-11 { flex: 0 0 auto; width: 91.6667%; }
.ul-rich .col-12 { flex: 0 0 auto; width: 100.0%; }
@media (min-width: 576px) {
.ul-rich .col-sm { flex: 1 0 0%; width: auto; }
.ul-rich .col-sm-auto { flex: 0 0 auto; width: auto; }
.ul-rich .col-sm-1 { flex: 0 0 auto; width: 8.3333%; }
.ul-rich .col-sm-2 { flex: 0 0 auto; width: 16.6667%; }
.ul-rich .col-sm-3 { flex: 0 0 auto; width: 25.0%; }
.ul-rich .col-sm-4 { flex: 0 0 auto; width: 33.3333%; }
.ul-rich .col-sm-5 { flex: 0 0 auto; width: 41.6667%; }
.ul-rich .col-sm-6 { flex: 0 0 auto; width: 50.0%; }
.ul-rich .col-sm-7 { flex: 0 0 auto; width: 58.3333%; }
.ul-rich .col-sm-8 { flex: 0 0 auto; width: 66.6667%; }
.ul-rich .col-sm-9 { flex: 0 0 auto; width: 75.0%; }
.ul-rich .col-sm-10 { flex: 0 0 auto; width: 83.3333%; }
.ul-rich .col-sm-11 { flex: 0 0 auto; width: 91.6667%; }
.ul-rich .col-sm-12 { flex: 0 0 auto; width: 100.0%; }
}
@media (min-width: 768px) {
.ul-rich .col-md { flex: 1 0 0%; width: auto; }
.ul-rich .col-md-auto { flex: 0 0 auto; width: auto; }
.ul-rich .col-md-1 { flex: 0 0 auto; width: 8.3333%; }
.ul-rich .col-md-2 { flex: 0 0 auto; width: 16.6667%; }
.ul-rich .col-md-3 { flex: 0 0 auto; width: 25.0%; }
.ul-rich .col-md-4 { flex: 0 0 auto; width: 33.3333%; }
.ul-rich .col-md-5 { flex: 0 0 auto; width: 41.6667%; }
.ul-rich .col-md-6 { flex: 0 0 auto; width: 50.0%; }
.ul-rich .col-md-7 { flex: 0 0 auto; width: 58.3333%; }
.ul-rich .col-md-8 { flex: 0 0 auto; width: 66.6667%; }
.ul-rich .col-md-9 { flex: 0 0 auto; width: 75.0%; }
.ul-rich .col-md-10 { flex: 0 0 auto; width: 83.3333%; }
.ul-rich .col-md-11 { flex: 0 0 auto; width: 91.6667%; }
.ul-rich .col-md-12 { flex: 0 0 auto; width: 100.0%; }
}
@media (min-width: 992px) {
.ul-rich .col-lg { flex: 1 0 0%; width: auto; }
.ul-rich .col-lg-auto { flex: 0 0 auto; width: auto; }
.ul-rich .col-lg-1 { flex: 0 0 auto; width: 8.3333%; }
.ul-rich .col-lg-2 { flex: 0 0 auto; width: 16.6667%; }
.ul-rich .col-lg-3 { flex: 0 0 auto; width: 25.0%; }
.ul-rich .col-lg-4 { flex: 0 0 auto; width: 33.3333%; }
.ul-rich .col-lg-5 { flex: 0 0 auto; width: 41.6667%; }
.ul-rich .col-lg-6 { flex: 0 0 auto; width: 50.0%; }
.ul-rich .col-lg-7 { flex: 0 0 auto; width: 58.3333%; }
.ul-rich .col-lg-8 { flex: 0 0 auto; width: 66.6667%; }
.ul-rich .col-lg-9 { flex: 0 0 auto; width: 75.0%; }
.ul-rich .col-lg-10 { flex: 0 0 auto; width: 83.3333%; }
.ul-rich .col-lg-11 { flex: 0 0 auto; width: 91.6667%; }
.ul-rich .col-lg-12 { flex: 0 0 auto; width: 100.0%; }
}
@media (min-width: 1200px) {
.ul-rich .col-xl { flex: 1 0 0%; width: auto; }
.ul-rich .col-xl-auto { flex: 0 0 auto; width: auto; }
.ul-rich .col-xl-1 { flex: 0 0 auto; width: 8.3333%; }
.ul-rich .col-xl-2 { flex: 0 0 auto; width: 16.6667%; }
.ul-rich .col-xl-3 { flex: 0 0 auto; width: 25.0%; }
.ul-rich .col-xl-4 { flex: 0 0 auto; width: 33.3333%; }
.ul-rich .col-xl-5 { flex: 0 0 auto; width: 41.6667%; }
.ul-rich .col-xl-6 { flex: 0 0 auto; width: 50.0%; }
.ul-rich .col-xl-7 { flex: 0 0 auto; width: 58.3333%; }
.ul-rich .col-xl-8 { flex: 0 0 auto; width: 66.6667%; }
.ul-rich .col-xl-9 { flex: 0 0 auto; width: 75.0%; }
.ul-rich .col-xl-10 { flex: 0 0 auto; width: 83.3333%; }
.ul-rich .col-xl-11 { flex: 0 0 auto; width: 91.6667%; }
.ul-rich .col-xl-12 { flex: 0 0 auto; width: 100.0%; }
}
.ul-rich .d-flex { display: flex !important; } .ul-rich .d-inline-flex { display: inline-flex !important; } .ul-rich .d-block { display: block !important; }
.ul-rich .d-inline-block { display: inline-block !important; } .ul-rich .d-grid { display: grid !important; } .ul-rich .d-none { display: none !important; }
@media (min-width: 768px) { .ul-rich .d-md-flex { display: flex !important; } .ul-rich .d-md-block { display: block !important; } .ul-rich .d-md-none { display: none !important; } }
@media (min-width: 992px) { .ul-rich .d-lg-flex { display: flex !important; } .ul-rich .d-lg-block { display: block !important; } .ul-rich .d-lg-none { display: none !important; } }
.ul-rich .flex-wrap { flex-wrap: wrap; } .ul-rich .flex-column { flex-direction: column; } .ul-rich .flex-grow-1 { flex-grow: 1; }
.ul-rich .align-items-center { align-items: center; } .ul-rich .align-items-start { align-items: flex-start; } .ul-rich .align-items-end { align-items: flex-end; }
.ul-rich .justify-content-center { justify-content: center; } .ul-rich .justify-content-between { justify-content: space-between; }
.ul-rich .justify-content-end { justify-content: flex-end; } .ul-rich .justify-content-around { justify-content: space-around; }
.ul-rich .gap-1 { gap: 4px; } .ul-rich .gap-2 { gap: 8px; } .ul-rich .gap-3 { gap: 16px; } .ul-rich .gap-4 { gap: 24px; } .ul-rich .gap-5 { gap: 40px; }
.ul-rich .text-center { text-align: center !important; } .ul-rich .text-start, .ul-rich .text-left { text-align: left !important; }
.ul-rich .text-end, .ul-rich .text-right { text-align: right !important; } .ul-rich .text-justify { text-align: justify; }
.ul-rich .text-muted, .ul-rich .text-secondary { color: var(--muted) !important; } .ul-rich .text-white { color: #fff !important; }
.ul-rich .text-dark { color: var(--dark) !important; } .ul-rich .text-primary { color: var(--gold-dark) !important; }
.ul-rich .text-warning { color: #d29c1c !important; } .ul-rich .text-danger { color: #c0392b !important; } .ul-rich .text-success { color: #2e8b57 !important; }
.ul-rich .text-uppercase { text-transform: uppercase; } .ul-rich .text-decoration-none { text-decoration: none !important; }
.ul-rich .fw-bold, .ul-rich .fw-bolder { font-weight: 700 !important; } .ul-rich .fw-semibold { font-weight: 600 !important; } .ul-rich .fw-normal { font-weight: 400 !important; }
.ul-rich .fst-italic { font-style: italic; } .ul-rich .small, .ul-rich small { font-size: .85em; } .ul-rich .lead { font-size: 1.12rem; color: #333; }
.ul-rich .fs-1 { font-size: 2.2rem; } .ul-rich .fs-2 { font-size: 1.8rem; } .ul-rich .fs-3 { font-size: 1.5rem; } .ul-rich .fs-4 { font-size: 1.25rem; } .ul-rich .fs-5 { font-size: 1.1rem; }
.ul-rich .display-4, .ul-rich .display-5, .ul-rich .display-6 { font-family: var(--font-head); font-size: clamp(1.6rem, 3.4vw, 2.2rem); line-height: 1.2; }
.ul-rich .w-100 { width: 100% !important; } .ul-rich .h-100 { height: 100% !important; } .ul-rich .mw-100 { max-width: 100% !important; }
.ul-rich .img-fluid { max-width: 100%; height: auto; }
.ul-rich .rounded { border-radius: 8px !important; } .ul-rich .rounded-3, .ul-rich .rounded-4 { border-radius: 12px !important; }
.ul-rich .rounded-circle { border-radius: 50% !important; } .ul-rich .rounded-pill { border-radius: 50px !important; }
.ul-rich .shadow, .ul-rich .shadow-sm, .ul-rich .shadow-lg { box-shadow: var(--shadow) !important; }
.ul-rich .border { border: 1px solid #e6dcc2 !important; } .ul-rich .border-0 { border: 0 !important; }
.ul-rich .bg-light, .ul-rich .bg-light-subtle { background: var(--cream) !important; } .ul-rich .bg-white { background: #fff !important; }
.ul-rich .bg-dark { background: var(--dark) !important; color: #fff; } .ul-rich .bg-dark :is(h1,h2,h3,h4,h5,p,strong) { color: #fff; }
.ul-rich .bg-primary, .ul-rich .bg-warning { background: var(--gold) !important; color: #fff; }
.ul-rich .position-relative { position: relative; } .ul-rich .overflow-hidden { overflow: hidden; }
.ul-rich .mx-auto { margin-left: auto !important; margin-right: auto !important; }
.ul-rich .m-0 { margin: 0 !important; } .ul-rich .p-0 { padding: 0 !important; }
.ul-rich .mb-0 { margin-bottom: 0 !important; } .ul-rich .mb-1 { margin-bottom: 4px !important; } .ul-rich .mb-2 { margin-bottom: 8px !important; }
.ul-rich .mb-3 { margin-bottom: 16px !important; } .ul-rich .mb-4 { margin-bottom: 24px !important; } .ul-rich .mb-5 { margin-bottom: 40px !important; }
.ul-rich .mt-0 { margin-top: 0 !important; } .ul-rich .mt-1 { margin-top: 4px !important; } .ul-rich .mt-2 { margin-top: 8px !important; }
.ul-rich .mt-3 { margin-top: 16px !important; } .ul-rich .mt-4 { margin-top: 24px !important; } .ul-rich .mt-5 { margin-top: 40px !important; }
.ul-rich .my-2 { margin-top: 8px !important; margin-bottom: 8px !important; } .ul-rich .my-3 { margin-top: 16px !important; margin-bottom: 16px !important; }
.ul-rich .my-4 { margin-top: 24px !important; margin-bottom: 24px !important; } .ul-rich .my-5 { margin-top: 40px !important; margin-bottom: 40px !important; }
.ul-rich .p-2 { padding: 8px !important; } .ul-rich .p-3 { padding: 16px !important; } .ul-rich .p-4 { padding: 24px !important; } .ul-rich .p-5 { padding: 36px !important; }
.ul-rich .py-2 { padding-top: 8px !important; padding-bottom: 8px !important; } .ul-rich .py-3 { padding-top: 16px !important; padding-bottom: 16px !important; }
.ul-rich .py-4 { padding-top: 24px !important; padding-bottom: 24px !important; } .ul-rich .py-5 { padding-top: 36px !important; padding-bottom: 36px !important; }
.ul-rich .px-3 { padding-left: 16px !important; padding-right: 16px !important; } .ul-rich .px-4 { padding-left: 24px !important; padding-right: 24px !important; }
.ul-rich .card { background: #fff; border-radius: 10px; box-shadow: var(--shadow); border: 1px solid #f0e9d8; overflow: hidden; height: 100%; }
.ul-rich .card-body { padding: 18px; } .ul-rich .card-title { font-family: var(--font-head); font-size: 1.1rem; margin: 0 0 8px; }
.ul-rich .card-text:last-child { margin-bottom: 0; } .ul-rich .card-img-top { width: 100%; border-radius: 0; }
.ul-rich .card i[class*="fa-"], .ul-rich .card i.bi { display: inline-block; margin-bottom: 8px; }
.ul-rich .btn { text-decoration: none; }
.ul-rich .btn-primary, .ul-rich .btn-danger, .ul-rich .btn-warning, .ul-rich .btn-success, .ul-rich .btn-dark, .ul-rich .btn-info {
  background: var(--gold); border-color: var(--gold); color: #fff; }
.ul-rich .btn-primary:hover, .ul-rich .btn-danger:hover, .ul-rich .btn-warning:hover, .ul-rich .btn-success:hover, .ul-rich .btn-dark:hover { background: var(--gold-dark); border-color: var(--gold-dark); }
.ul-rich [class*="btn-outline-"] { background: transparent; color: var(--gold-dark); border-color: var(--gold); }
.ul-rich [class*="btn-outline-"]:hover { background: var(--gold); color: #fff; }
.ul-rich .btn-lg { padding: 13px 28px; font-size: 1rem; } .ul-rich .btn-sm { padding: 6px 14px; font-size: .8rem; }
.ul-rich .badge { color: #fff; }
.ul-rich .badge.bg-light { color: var(--dark) !important; }
.ul-rich i[class*="fa-"], .ul-rich i.bi { line-height: 1; }
.ul-rich h2 i, .ul-rich h3 i, .ul-rich h4 i, .ul-rich li > i:first-child { color: var(--gold); margin-right: 6px; }
.ul-rich .text-warning, .ul-rich i.text-warning { color: var(--gold) !important; }

/* Long term content collapses behind "Read more" */
.ul-clamp { position: relative; max-height: 560px; overflow: hidden; transition: max-height .4s ease; }
.ul-clamp::before { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 140px; z-index: 1;
  background: linear-gradient(rgba(246,241,230,0), var(--clamp-bg, var(--cream))); pointer-events: none; }
.section--white .ul-clamp { --clamp-bg: #fff; }
.ul-clamp.is-open { max-height: none; }
.ul-clamp.is-open::before { display: none; }
.ul-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; background: none; border: 1px solid var(--gold); color: var(--gold-dark);
  border-radius: 30px; padding: 8px 18px; font-weight: 700; font-size: .85rem; cursor: pointer; }
.ul-more:hover { background: var(--gold); color: #fff; }

/* "About" blocks on term pages */
.about-lead { font-size: 1.08rem; color: #333; margin-bottom: 18px; }
.about-lead p { margin-bottom: 10px; }

/* =========================================================
   PROJECT PAGE BODY
   ========================================================= */
.proj-body { padding-top: 34px; }
.subnav { position: sticky; top: var(--header-h); z-index: 40; background: rgba(255,255,255,.96); backdrop-filter: blur(6px);
  border-bottom: 1px solid #ece4d2; box-shadow: 0 2px 10px rgba(0,0,0,.04); }
.admin-bar .subnav { top: calc(var(--header-h) + 32px); }
.subnav-inner { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.subnav-inner::-webkit-scrollbar { display: none; }
.subnav a { flex: none; padding: 13px 14px; font-size: .86rem; font-weight: 700; color: var(--muted); border-bottom: 3px solid transparent; white-space: nowrap; }
.subnav a:hover, .subnav a.active { color: var(--gold-dark); border-bottom-color: var(--gold); }
.key-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: #e6dcc2; border-radius: 10px; overflow: hidden; margin: 0 0 28px; box-shadow: var(--shadow); }
.key-facts > div { background: #fff; padding: 14px 14px; }
.key-facts small { display: block; font-size: .68rem; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); }
.key-facts strong { font-size: .95rem; color: #151515; }
.key-facts a { color: var(--gold-dark); }
.proj-aside { display: flex; flex-direction: column; gap: 18px; position: sticky; top: calc(var(--header-h) + 64px); }
.proj-aside .sticky-form { position: static; }
.aside-help { background: var(--dark); color: #fff; border-radius: 10px; padding: 18px 20px; font-size: .9rem; }
.aside-help b { display: block; font-family: var(--font-head); font-weight: 500; font-size: 1.1rem; margin-bottom: 4px; }
.aside-help a { color: var(--gold-light); font-weight: 700; }
@media (max-width: 992px) {
  .proj-aside { position: static; }
  .key-facts { grid-template-columns: repeat(2, 1fr); }
  .subnav { top: var(--header-h); }
}

/* =========================================================
   ARTICLE: images keep their own shape (many have text on them)
   ========================================================= */
.article-cover { aspect-ratio: auto; max-height: 620px; display: flex; justify-content: center; background: var(--cream-dark); }
.article-cover img { width: 100%; height: auto; max-height: 620px; object-fit: contain; }
.article-body.ul-rich { font-size: 1.05rem; line-height: 1.8; color: #333; }
.article-body.ul-rich h2 { margin-top: 46px; font-size: clamp(1.35rem, 2.6vw, 1.75rem); }
.article-body .lead-text { font-size: 1.15rem; }
@media (max-width: 768px) { .article-body.ul-rich { font-size: 1rem; } .article-cover { max-height: 420px; } .article-cover img { max-height: 420px; } }
html:not(.js) .ul-clamp { max-height: none; } html:not(.js) .ul-clamp::before { display: none; }
:where(.ul-rich) iframe { border: 0; max-width: 100%; }
.ul-rich .wp-block-embed.is-type-video .wp-block-embed__wrapper,
.ul-rich .wp-block-embed-youtube .wp-block-embed__wrapper,
.ul-rich .wp-block-embed-vimeo .wp-block-embed__wrapper { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #000; }
.ul-rich .wp-block-embed.is-type-video iframe, .ul-rich .wp-block-embed-youtube iframe, .ul-rich .wp-block-embed-vimeo iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.ul-rich .wp-block-embed__wrapper::before { display: none; }

/* =========================================================
   LAZY BLOCKS (editor blocks that reuse the design components)
   ========================================================= */
.ul-block { margin: 46px 0; scroll-margin-top: calc(var(--header-h) + 70px); }
.ul-block:first-child { margin-top: 0; }
.ul-block .section-title { margin-bottom: 26px; }
.ul-block .section-sub { margin: -12px 0 24px; }
.ul-block-intro { max-width: 760px; margin: 0 auto 26px; text-align: center; color: #555; }
.ul-block-intro p:last-child { margin-bottom: 0; }
.ul-block .pay-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.ul-block .pay-card h4 { font-family: var(--font-body); font-size: .95rem; font-weight: 700; margin: 10px 0 2px; color: #151515; }
.ul-block .pay-card p { margin: 0; }
.ul-block .pay-legend { gap: 10px; flex-wrap: wrap; }
.ul-block .pay-legend span { display: inline-flex; align-items: center; gap: 6px; }
.ul-block .pay-legend span::before { content: ''; width: 10px; height: 10px; border-radius: 3px; background: var(--gold); flex: none; }
.ul-block .pay-legend span:nth-child(1)::before { background: var(--gold-dark); }
.ul-block .pay-legend span:nth-child(3)::before { background: var(--gold-light); }
.ul-block .pay-legend span:nth-child(4)::before { background: #e9dcb4; }
.ul-block .pay-split span:nth-child(n+5) { background: #f3ead2; }
.ul-block .section-more { margin-top: 26px; }
.btn .btn-icon { display: inline-block; width: auto; height: 14px; margin-left: 6px; vertical-align: -2px; border-radius: 0; filter: brightness(0) invert(1); }
@media (max-width: 520px) { .ul-block .pay-grid { grid-template-columns: 1fr 1fr; } .ul-block .section-more .btn { width: 100%; } }
/* Highlights block */
.ul-block .highlights { gap: 28px; align-items: stretch; }
.ul-block .highlights .img-wrap { min-height: 380px; border-radius: 10px; }
.ul-block .highlights .img-wrap img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; margin: 0; }
.ul-block .highlights:not(:has(.img-wrap)) { grid-template-columns: 1fr; }
.ul-block .check-list { background: #fff; border-radius: 10px; padding: 8px 20px; box-shadow: var(--shadow); align-self: center; width: 100%; margin: 0; }
.ul-block .check-list li { align-items: center; margin: 0; font-size: .95rem; line-height: 1.5; }
.ul-block .check-list li::before { content: none; }
.ul-block .ck--icon { background: var(--cream); width: 34px; height: 34px; }
.ul-block .ck--icon img { width: 20px; height: 20px; object-fit: contain; border-radius: 0; margin: 0; }
@media (max-width: 1100px) { .with-sidebar .ul-block .highlights { grid-template-columns: 1fr; } .with-sidebar .ul-block .highlights .img-wrap { min-height: 260px; } }
@media (max-width: 768px) { .ul-block .highlights .img-wrap { min-height: 240px; } }
.ul-block .check-list .ck { width: 34px; height: 34px; font-size: .8rem; margin-top: 0; }
/* Brochure block */
.ul-block .brochure h3 { font-family: var(--font-head); font-weight: 500; font-size: 1.35rem; line-height: 1.3; color: #151515; margin: 0 0 8px; }
.ul-block .brochure p { margin-bottom: 18px; }
.ul-block .brochure .hint { margin: 10px 0 0; }
.ul-block .brochure .img-wrap img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; margin: 0; }
.ul-block .brochure:not(:has(.img-wrap)) { grid-template-columns: 1fr; }
@media (max-width: 1100px) { .with-sidebar .ul-block .brochure { grid-template-columns: 1fr; } .with-sidebar .ul-block .brochure .img-wrap { order: -1; min-height: 200px; } }
/* Amenities block */
.ul-eyebrow { text-align: center; font-size: .75rem; font-weight: 900; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-dark); margin: 0 0 6px !important; }
.ul-block .amenities { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px; }
.ul-block .amenity { background: #fff; box-shadow: var(--shadow); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 120px; }
.ul-block .amenity-icon { width: 42px; height: 42px; object-fit: contain; border-radius: 0; margin: 0; }
.ul-block .amenity span { font-size: .85rem; line-height: 1.35; color: #222; }
@media (max-width: 520px) { .ul-block .amenities { grid-template-columns: repeat(2, 1fr); gap: 10px; } .ul-block .amenity { min-height: 104px; padding: 16px 8px; } }
.ul-block .section-title { margin-top: 0; }
/* Location block */
.ul-block .location-grid { gap: 24px; align-items: center; }
.ul-block .location-grid:not(:has(.map-wrap)) { grid-template-columns: 1fr; }
.ul-block .dist-list { margin: 0 0 18px; padding: 0; }
.ul-block .dist-list li { margin-bottom: 10px; padding: 10px 14px; }
.ul-block .dist-list li::before { content: none; }
.ul-block .dist-list p { margin: 0; font-size: .92rem; color: #222; line-height: 1.45; }
.ul-block .loc-icon { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; }
.ul-block .loc-icon img { width: 24px; height: 24px; object-fit: contain; border-radius: 0; margin: 0; }
.map-wrap--img { position: relative; display: block; min-height: 0; background: #fff; cursor: zoom-in; }
.map-wrap--img img { width: 100%; height: auto; display: block; border-radius: 0; margin: 0; transition: transform .5s; }
.map-wrap--img:hover img { transform: scale(1.03); }
.map-zoom { position: absolute; right: 12px; bottom: 12px; background: rgba(20,20,20,.75); color: #fff; font-size: .78rem; font-weight: 700; padding: 6px 12px; border-radius: 20px; }
@media (max-width: 1100px) { .with-sidebar .ul-block .location-grid { grid-template-columns: 1fr; } }
.cg-count.cg-rec { background: var(--gold); color: #fff; border-color: var(--gold); }
