@import url('https://fonts.googleapis.com/css2?family=Marcellus&family=Jost:wght@300;400;500&display=swap');

/* ============================================================
   SIGNATURE HABITAT — light edition · ivory body, gold × flame
   ============================================================ */
:root {
  --bg:      #fdfcf8;          /* warm white body */
  --bg-2:    #f6f1e6;          /* sand panel */
  --card:    #ffffff;
  --ink:     #17120b;          /* primary text */
  --muted:   #4f4638;          /* secondary text */
  --night:   #0c0a07;          /* dark bands: hero, awards, newsletter, footer */
  --night-2: #14110a;
  --ivory:   #f3ecdd;
  --gold:    #b8912a;          /* deep gold, readable on white */
  --gold-lt: #e9c75d;
  --gold-dk: #8a6a1c;
  --flame:   #eb6d12;
  --flame-lt:#ff8a3d;
  --line:    rgba(184,145,42,.32);
  --line-soft: rgba(33,28,18,.12);
  --line-dark: rgba(243,236,221,.10);
  --shadow:  0 24px 60px -22px rgba(33,28,18,.18);
  --serif:   'Marcellus', Georgia, 'Times New Roman', serif;
  --sans:    'Jost', 'Century Gothic', system-ui, sans-serif;
  --pad:     clamp(20px, 5vw, 80px);
  --maxw:    1480px;
}

/* Base override to apply the theme globally */
body, button, input, select, textarea, label, option, a, p, span, li {
  font-family: var(--sans) !important;
}

body {
  background: var(--bg) !important;
  color: var(--ink) !important;
  line-height: 1.72 !important;
  letter-spacing: .01em !important;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Cg fill='none' stroke='%23b8912a' stroke-width='0.7'%3E%3Cpath d='M48 18 L57 39 L78 48 L57 57 L48 78 L39 57 L18 48 L39 39 Z'/%3E%3Cpath d='M48 0 L48 12 M48 84 L48 96 M0 48 L12 48 M84 48 L96 48'/%3E%3C/g%3E%3C/svg%3E");
}

/* Headlines */
h1, h2, h3, .serif-font, h1 *, h2 *, h3 *, .serif-font * {
  font-family: var(--serif) !important;
  font-weight: 400 !important;
  line-height: 1.12 !important;
  letter-spacing: .01em !important;
  color: var(--ink);
}

.gold-text {
  background: linear-gradient(100deg, var(--gold-dk) 0%, var(--gold) 45%, var(--flame) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .4em;
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow::before, .eyebrow.center::after {
  content: "";
  width: 44px;
  height: 1px;
  background: linear-gradient(90deg, var(--flame), transparent);
}

.eyebrow.center::before {
  background: linear-gradient(90deg, transparent, var(--flame));
}

.lead {
  color: var(--muted) !important;
  font-weight: 400 !important;
  font-size: clamp(16px, 1.35vw, 20px) !important;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: .28em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 16px 30px 15px;
  border: 1px solid var(--flame) !important;
  color: var(--flame) !important;
  position: relative;
  overflow: hidden;
  transition: color .45s, background-color .45s;
  background: transparent;
  cursor: pointer;
  white-space: nowrap;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, var(--flame), #f59a2e, var(--gold-lt));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s cubic-bezier(.22,1,.36,1);
  z-index: 0;
}

.btn span {
  position: relative;
  z-index: 1;
}

.btn:hover {
  color: #fff !important;
  text-decoration: none;
}

.btn:hover::before {
  transform: scaleX(1);
}

.btn.solid {
  background: linear-gradient(105deg, var(--flame), #f59a2e, var(--gold-lt)) !important;
  color: #fff !important;
  border: none !important;
  padding: 17px 32px 16px;
}

.btn.solid:hover {
  color: var(--night) !important;
}

.btn.solid::before {
  background: linear-gradient(105deg, var(--gold-lt), #f59a2e, var(--flame));
}

.btn.ghost-light {
  border-color: rgba(243, 236, 221, 0.7) !important;
  color: var(--ivory) !important;
}

/* Modern Header / Navigation */
.nav-fixed-modern {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: auto !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  --nav-inline: max(var(--pad), calc((100vw - var(--maxw)) / 2 + var(--pad)));
  padding: 12px var(--nav-inline);
  transition: background .5s, padding .5s, border-color .5s, backdrop-filter .5s, box-shadow .5s;
  border-bottom: 1px solid transparent;
}

.nav-fixed-modern > a {
  flex: 0 0 auto;
}

.nav-fixed-modern .logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1) drop-shadow(0 2px 8px rgba(0,0,0,.35));
  transition: filter .5s, height .5s;
}

.nav-fixed-modern.scrolled {
  background: rgba(253, 252, 248, 0.95) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 8px var(--nav-inline);
  border-color: var(--line-soft);
  box-shadow: 0 10px 40px -20px rgba(33, 28, 18, 0.18);
}

.nav-fixed-modern.scrolled .logo-img {
  filter: none !important;
  height: 34px;
}

.nav-links-modern {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  min-width: 0;
  flex-wrap: nowrap;
  gap: clamp(9px, 1vw, 18px);
  transform: translateY(3px);
}

.nav-links-modern a {
  font-size: 11.5px;
  letter-spacing: .07em;
  line-height: 1.2;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88) !important;
  position: relative;
  padding: 4px 0;
  white-space: nowrap;
  transition: color 0.3s;
  text-shadow: 0 1px 8px rgba(0,0,0,0.45);
}

.nav-fixed-modern.scrolled .nav-links-modern a {
  color: rgba(255, 255, 255, 0.88) !important;
  text-shadow: 0 1px 8px rgba(0,0,0,0.28);
}

.nav-links-modern a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  height: 1px;
  width: 100%;
  background: rgba(235, 109, 18, 0.42);
  transform: scaleX(1);
  transform-origin: left;
  opacity: 1;
  transition: background .35s, height .35s, transform .45s cubic-bezier(.22,1,.36,1);
}

.nav-links-modern a:hover {
  background: linear-gradient(100deg, #ffe28a 0%, #f5b942 42%, var(--flame) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  text-decoration: none;
}

.nav-fixed-modern.scrolled .nav-links-modern a:hover {
  color: transparent !important;
}

.nav-links-modern a:hover::after {
  height: 2px;
  background: linear-gradient(100deg, #ffe28a 0%, #f5b942 42%, var(--flame) 100%);
}

.nav-right-modern {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 14px;
}

.nav-phone-modern {
  font-size: 13px;
  letter-spacing: .12em;
  color: rgba(243, 236, 221, 0.85);
  transition: color .3s;
  white-space: nowrap;
  text-shadow: 0 1px 6px rgba(0,0,0,0.3);
}

.nav-fixed-modern.scrolled .nav-phone-modern {
  color: var(--muted);
  text-shadow: none;
}

.nav-phone-modern:hover {
  color: var(--flame) !important;
  text-decoration: none;
}

.nav-cta-modern {
  min-height: 40px;
  padding: 8px 14px 7px;
  font-size: 10.5px;
  letter-spacing: .13em;
}

/* Modern Hero Section */
.hero-modern {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 130px;
  padding-bottom: 70px;
  background: var(--night);
}

.hero-media-modern {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: linear-gradient(160deg, #241c10, #0c0a07);
}

.hero-media-modern img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kenburns 16s ease-out forwards;
  transform-origin: center;
}

@keyframes kenburns {
  from { transform: scale(1.12); }
  to { transform: scale(1.0); }
}

.hero-media-modern::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12,10,7,.72) 0%, rgba(12,10,7,.45) 42%, rgba(12,10,7,.18) 100%),
    linear-gradient(180deg, rgba(12,10,7,.5) 0%, rgba(12,10,7,.12) 45%, rgba(12,10,7,.6) 100%);
}

.hero-inner-modern {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
  position: relative;
  z-index: 2;
}

.hero-modern .eyebrow {
  margin-bottom: 28px;
  color: var(--gold-lt);
}

.hero-modern h1 {
  font-family: var(--sans) !important;
  font-weight: 300 !important;
  font-size: clamp(4rem, 7.3vw, 5.9rem) !important;
  max-width: 1320px;
  color: #fdfcf8 !important;
  text-shadow: 0 3px 26px rgba(0,0,0,.5);
}

.hero-modern h1 span {
  font-family: var(--sans) !important;
  font-weight: 300 !important;
  color: #fdfcf8 !important;
}

.hero-modern h1 .hl {
  display: block;
  overflow: hidden;
  font-size: inherit !important;
  line-height: inherit !important;
}

.hero-modern h1 .hl > span {
  display: inline-block;
  font-size: inherit !important;
  line-height: inherit !important;
  transform: translateY(112%);
  animation: slideUp 1.3s cubic-bezier(.22,1,.36,1) forwards;
}

.hero-modern h1 .hl:nth-child(1) > span { animation-delay: 0.15s; }
.hero-modern h1 .hl:nth-child(2) > span { animation-delay: 0.3s; }

@keyframes slideUp {
  to { transform: translateY(0); }
}

.hero-modern h1 .brand {
  font-family: var(--serif) !important;
  font-weight: 400 !important;
  font-style: normal;
  white-space: nowrap;
  background: linear-gradient(100deg, #ffe28a 0%, #f5b942 40%, var(--flame) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 3px 18px rgba(0,0,0,.55));
}

.hero-modern .lead {
  max-width: 540px;
  margin-top: 24px;
  color: #e8e0cd !important;
  text-shadow: 0 1px 12px rgba(0,0,0,.4);
  opacity: 0;
  animation: fadeUp 1.2s cubic-bezier(.22,1,.36,1) forwards 0.6s;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

/* Search Tabs & Fields */
.tabs-modern {
  display: flex;
  gap: 8px;
  margin-top: 44px;
}

.tab-modern {
  font-size: 12px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: #f0e6cf;
  padding: 13px 28px 12px;
  border: 1px solid rgba(243, 236, 221, 0.28);
  background: rgba(12, 10, 7, 0.5);
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: color .35s, background .35s, border-color .35s;
}

.tab-modern.active {
  background: linear-gradient(105deg, var(--flame), #f5a73a) !important;
  color: #fff !important;
  border-color: transparent !important;
}

.search-modern-form {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.2fr auto;
  align-items: stretch;
  background: rgba(12, 10, 7, 0.66);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(243, 236, 221, 0.22);
}

.search-modern-form .field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 26px;
  border-right: 1px solid rgba(243, 236, 221, 0.12);
  justify-content: center;
}

.search-modern-form label {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--gold-lt);
  margin-bottom: 0;
}

.search-modern-form select {
  background: transparent !important;
  border: none !important;
  outline: none !important;
  color: #fdfcf8 !important;
  font-size: 16px;
  font-weight: 400;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23eb6d12' fill='none'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right center !important;
  padding-right: 22px !important;
  box-shadow: none !important;
}

.search-modern-form select option {
  background: var(--night-2) !important;
  color: var(--ivory) !important;
}

.search-modern-form .go {
  border: none;
  padding: 0;
}

.search-modern-form .go button {
  height: 100%;
  width: 100%;
  border: none !important;
  background: linear-gradient(105deg, var(--flame), #f59a2e, var(--gold-lt)) !important;
  color: #fff !important;
  min-height: 68px;
  padding: 0 42px;
  cursor: pointer;
}

/* Select2 integration styling */
.select2-container--default .select2-selection--multiple {
  background-color: transparent !important;
  border: none !important;
  color: #fff !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered {
  padding: 0 !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 4px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
  background-color: var(--flame) !important;
  border: none !important;
  color: #fff !important;
  font-size: 12px !important;
  border-radius: 4px !important;
}

/* Partners Logo Rail */
.partners-modern {
  border-bottom: 1px solid var(--line-soft);
  padding: 48px 0;
  background: var(--card);
  overflow: hidden;
}

.partners-modern .row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 76px);
  width: min(calc(100% - (2 * var(--pad))), calc(var(--maxw) - (2 * var(--pad))));
  max-width: calc(var(--maxw) - (2 * var(--pad)));
  margin: 0 auto;
  padding: 0;
}

.partners-modern small {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--muted);
}

.partners-modern .logo-rail {
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.partners-modern .logos {
  --partner-gap: clamp(42px, 6vw, 92px);
  display: flex;
  align-items: center;
  width: max-content;
  gap: var(--partner-gap);
  flex-wrap: nowrap;
  animation: partnerSlide 24s linear infinite;
}

.partners-modern .logos img {
  flex: 0 0 auto;
  height: clamp(60px, 6vw, 84px);
  width: auto;
  max-width: 150px;
  object-fit: contain;
  filter: grayscale(1) opacity(0.72);
  transition: filter .4s, transform .4s;
}

.partners-modern .logos img:hover {
  filter: grayscale(0) opacity(1);
  transform: scale(1.06);
}

@keyframes partnerSlide {
  to { transform: translate3d(calc(-50% - (var(--partner-gap) / 2)), 0, 0); }
}

/* Sections General */
.section-modern {
  padding: clamp(80px, 10vh, 130px) 0;
  position: relative;
  z-index: 1;
}

.sh-home .section-modern > .container {
  width: min(calc(100% - (2 * var(--pad))), calc(var(--maxw) - (2 * var(--pad)))) !important;
  max-width: calc(var(--maxw) - (2 * var(--pad))) !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.section-modern.alt {
  background: var(--bg-2);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.sec-head-modern {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 26px;
  margin-bottom: 56px;
}

.sec-head-modern h2 {
  font-size: clamp(1.9rem, 4vw, 3.4rem);
  max-width: 18ch;
  margin-top: 16px;
}

.sec-head-modern .side {
  max-width: 390px;
  color: var(--muted);
  font-size: 15.5px;
  font-weight: 400;
}

/* Property Listings Grid */
.list-grid-modern {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

#hot .list-grid-modern {
  gap: clamp(28px, 3vw, 42px);
}

.listing-card-modern {
  background: transparent;
  border: 0;
  transition: transform .5s;
  display: flex;
  flex-direction: column;
}

.listing-card-modern:hover {
  transform: translateY(-6px);
  text-decoration: none !important;
}

.listing-card-modern .ph {
  position: relative;
  aspect-ratio: 16/10.5;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(160deg, #e8dfc9, #f6f1e6);
}

.listing-card-modern .ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.3s cubic-bezier(.22,1,.36,1);
}

.listing-card-modern:hover .ph img {
  transform: scale(1.06);
}

.listing-card-modern .ribbon {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  font-size: 9.5px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(105deg, var(--flame), var(--flame-lt));
  padding: 7px 14px 6px;
}

.listing-card-modern .body {
  padding: 22px 2px 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
}

.listing-card-modern .price {
  font-family: var(--serif) !important;
  font-size: 1.4rem;
  color: var(--ink);
}

.listing-card-modern .price small {
  font-family: var(--sans) !important;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .2em;
  color: var(--gold);
}

.listing-card-modern h3 {
  font-size: 1.2rem !important;
  font-family: var(--sans) !important;
  font-weight: 500 !important;
  color: var(--ink);
}

.listing-card-modern .loc {
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.listing-card-modern .loc::before {
  content: "◆ ";
  color: var(--flame);
  font-size: 8px;
  vertical-align: 2px;
}

.listing-card-modern .specs {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(33, 28, 18, 0.1);
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--muted);
}

.listing-card-modern .specs b {
  color: var(--ink);
  font-weight: 400;
}

.listing-card-modern .dev {
  color: var(--flame);
}

/* Sell / Valuate Section */
.sell-modern {
  background: var(--bg-2);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.sell-modern .grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}

.sell-modern .eyebrow {
  margin-bottom: 18px;
}

.sell-modern h2 {
  margin-bottom: 18px;
  line-height: 1.12;
}

.sell-modern .lead {
  margin-top: 0;
  line-height: 1.55;
}

.betters-modern {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.better-modern {
  border: 1px solid rgba(33, 28, 18, 0.08);
  border-radius: 8px;
  padding: 30px 28px;
  background: rgba(255, 255, 255, 0.72);
  transition: border-color .5s, box-shadow .5s, transform .5s;
}

.better-modern:hover {
  border-color: rgba(184, 145, 42, 0.24);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.better-modern b {
  display: block;
  font-family: var(--serif) !important;
  font-weight: 400 !important;
  font-size: clamp(1.5rem, 2.3vw, 2.1rem) !important;
  color: var(--ink);
  line-height: 1.15;
}

.better-modern b em {
  font-style: normal;
  color: var(--flame);
}

.better-modern h3 {
  font-size: 13px !important;
  font-family: var(--sans) !important;
  font-weight: 500 !important;
  letter-spacing: .28em !important;
  text-transform: uppercase !important;
  color: var(--gold) !important;
  margin: 12px 0 8px !important;
}

.better-modern p {
  font-size: 14.5px;
  color: var(--muted);
  font-weight: 400;
  margin: 0;
}

/* Who We Are Section */
.who-modern {
  background:
    linear-gradient(180deg, rgba(253, 252, 248, 0.98), rgba(246, 241, 230, 0.94));
}

.who-shell-modern {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.04fr);
  align-items: stretch;
  gap: clamp(34px, 5vw, 72px);
}

.who-media-modern {
  position: relative;
  min-height: 680px;
  display: grid;
  grid-template-columns: 1fr minmax(140px, 0.3fr);
  grid-template-rows: minmax(320px, 1fr) auto;
  gap: 18px;
  align-content: start;
}

.who-hero-frame-modern,
.who-secondary-frame-modern {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(160deg, #e8dfc9, #f6f1e6);
  box-shadow: var(--shadow);
}

.who-hero-frame-modern::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid var(--line);
  z-index: -1;
}

.who-hero-frame-modern {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
  min-height: 520px;
}

.who-secondary-frame-modern {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
  min-height: 228px;
}

.who-hero-frame-modern::after,
.who-secondary-frame-modern::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 10, 7, 0) 38%, rgba(12, 10, 7, 0.54) 100%),
    linear-gradient(90deg, rgba(12, 10, 7, 0.14), rgba(12, 10, 7, 0));
  pointer-events: none;
}

.who-media-modern img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.who-content-modern {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(8px, 1vw, 18px) 0;
}

.who-content-modern .eyebrow {
  margin-bottom: 18px;
}

.who-content-modern h2 {
  max-width: 11ch;
  margin-bottom: 22px;
  font-size: clamp(2.7rem, 5vw, 4.9rem);
}

.who-content-modern p {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.78;
  margin-bottom: 20px;
}

.who-lead-modern {
  color: #2f281e !important;
  font-size: clamp(17px, 1.35vw, 20px) !important;
  line-height: 1.75 !important;
  margin-bottom: 16px !important;
}

.who-value-grid-modern {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  margin: 14px 0 30px;
}

.who-value-card-modern {
  min-height: 198px;
  padding: 22px 20px 20px;
  border: 1px solid rgba(33, 28, 18, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 45px -34px rgba(33, 28, 18, 0.24);
}

.who-value-card-modern .k {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, var(--flame), var(--gold-lt));
  color: #fff;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.who-value-card-modern h3 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.16;
}

.who-value-card-modern p {
  margin: 0 !important;
  font-size: 14.5px !important;
  line-height: 1.7 !important;
}

.who-points-modern {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
  max-width: 660px;
  margin-bottom: 38px;
}

.who-points-modern span {
  position: relative;
  min-height: 76px;
  display: flex;
  align-items: center;
  padding: 18px 18px 18px 50px;
  border: 1px solid rgba(33, 28, 18, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.56);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.35;
  transition: border-color .4s, transform .4s, box-shadow .4s;
}

.who-points-modern span:hover {
  border-color: rgba(184, 145, 42, 0.28);
  box-shadow: 0 18px 42px -30px rgba(33, 28, 18, 0.32);
  transform: translateY(-2px);
}

.who-points-modern span::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  transform: translateY(-50%);
  background:
    linear-gradient(135deg, var(--flame), var(--gold-lt));
  box-shadow: 0 0 0 6px rgba(235, 109, 18, 0.08);
}

.who-points-modern b {
  font-weight: 500;
}

.who-proof-modern {
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 30px;
  z-index: 3;
  padding: 22px 24px;
  border: 1px solid rgba(243, 236, 221, 0.24);
  background: rgba(12, 10, 7, 0.64);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--ivory);
}

.who-proof-modern span {
  display: block;
  margin-bottom: 6px;
  color: var(--gold-lt);
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
}

.who-proof-modern b {
  display: block;
  font-family: var(--serif) !important;
  font-weight: 400;
  font-size: clamp(1.5rem, 2.2vw, 2.2rem);
  line-height: 1.15;
}

.who-stats-modern {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
  display: grid;
  gap: 14px;
}

.who-stats-modern article {
  padding: 18px 16px;
  border: 1px solid rgba(33, 28, 18, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  min-height: 110px;
}

.who-stats-modern strong {
  display: block;
  margin-bottom: 8px;
  font-family: var(--serif) !important;
  font-size: 2rem;
  line-height: 1;
  color: var(--ink);
}

.who-stats-modern span {
  display: block;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
}

.who-actions-modern {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.who-actions-modern p {
  margin: 0 !important;
  max-width: 420px;
  font-size: 14px !important;
  line-height: 1.65 !important;
}

/* Reviews Ticker / Carousel */
.r-rail-modern {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(280px, 31vw, 430px);
  gap: 20px;
  max-width: 100%;
  overflow-x: auto;
  padding: 6px 6px 22px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
}

.r-rail-modern::-webkit-scrollbar {
  height: 3px;
}

.r-rail-modern::-webkit-scrollbar-thumb {
  background: var(--gold);
}

.review-card-modern {
  scroll-snap-align: start;
  border: 1px solid rgba(33, 28, 18, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color .5s, box-shadow .5s;
}

.review-card-modern:hover {
  border-color: rgba(184, 145, 42, 0.24);
  box-shadow: var(--shadow);
}

.review-card-modern .stars {
  color: var(--flame);
  letter-spacing: .32em;
  font-size: 13px;
}

.review-card-modern blockquote {
  font-size: 15.5px;
  color: #2f281e;
  line-height: 1.8;
  flex: 1;
  font-weight: 400;
  margin: 0;
  border: none;
  padding: 0;
}

.review-card-modern .who {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  border-top: 1px solid var(--line-soft);
  padding-top: 16px;
}

.review-card-modern .who b {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 16px;
  letter-spacing: .06em;
}

.review-card-modern .who span {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}

.review-card-modern .g {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}

.review-card-modern .g b {
  color: var(--flame);
  font-weight: 500;
}

.r-nav-modern {
  display: flex;
  gap: 10px;
}

.r-nav-modern button {
  width: 52px;
  height: 52px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--gold-dk);
  font-size: 18px;
  cursor: pointer;
  transition: background .35s, color .35s, border-color .35s;
}

.r-nav-modern button:hover {
  background: linear-gradient(105deg, var(--flame), #f5a73a);
  color: #fff;
  border-color: transparent;
}

/* Communities Grid */
.community-grid-modern {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.community-card-modern {
  display: block;
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: 8px;
  background: var(--night);
  color: var(--ivory);
  isolation: isolate;
}

.community-card-modern:hover {
  text-decoration: none !important;
}

.community-card-modern img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.25s cubic-bezier(.22,1,.36,1), filter .7s;
  filter: saturate(0.95);
}

.community-card-modern::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(12,10,7,.05) 22%, rgba(12,10,7,.82) 100%);
}

.community-card-modern .body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
}

.community-card-modern h3 {
  font-size: 1.45rem !important;
  color: #fdfcf8 !important;
  margin: 0;
}

.community-card-modern p {
  margin-top: 4px;
  font-size: 13px;
  color: rgba(243,236,221,.76);
  margin-bottom: 0;
}

.community-card-modern .arrow {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(243,236,221,.32);
  color: var(--gold-lt);
  transform: translate(-6px, 6px);
  opacity: 0;
  transition: opacity .35s, transform .35s, border-color .35s;
}

.community-card-modern:hover img {
  transform: scale(1.08);
  filter: saturate(1.08);
}

.community-card-modern:hover .arrow {
  opacity: 1;
  transform: none;
  border-color: rgba(233,199,93,.7);
}

/* Management Team Grid */
.team-grid-modern {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.member-card-modern {
  background: transparent;
  border: 0;
  transition: transform .5s;
}

.member-card-modern:hover {
  transform: translateY(-6px);
}

.member-card-modern .ph {
  aspect-ratio: 3/3.4;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(160deg, #e8dfc9, #f6f1e6);
}

.member-card-modern .ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.9);
  transition: filter .7s, transform 1.2s cubic-bezier(.22,1,.36,1);
}

.member-card-modern:hover .ph img {
  filter: saturate(1);
  transform: scale(1.04);
}

.member-card-modern .info {
  padding: 20px 2px 0;
}

.member-card-modern .info h3 {
  font-size: 1.35rem !important;
  margin-bottom: 4px !important;
}

.member-card-modern .info .role {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--flame);
  margin: 0;
}

.member-card-modern .info .org {
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 7px;
}

/* Why Section Grid */
.why-grid-modern {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.why-card-modern {
  border: 0;
  background: transparent;
  transition: transform .5s;
  display: flex;
  flex-direction: column;
}

.why-card-modern:hover {
  transform: translateY(-6px);
}

.why-card-modern .ph {
  aspect-ratio: 16/10;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(160deg, #e8dfc9, #f6f1e6);
}

.why-card-modern .ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.9);
  transition: transform 1.3s cubic-bezier(.22,1,.36,1), filter .7s;
}

.why-card-modern:hover .ph img {
  transform: scale(1.06);
  filter: saturate(1);
}

.why-card-modern .body {
  padding: 20px 2px 0;
}

.why-card-modern h3 {
  font-size: 1.35rem !important;
  margin-bottom: 10px !important;
}

.why-card-modern p {
  font-size: 14.5px;
  color: var(--muted);
  font-weight: 400;
  margin: 0;
}

/* Group Grid */
.group-head-modern {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 46px;
  text-align: center;
}

.group-head-modern h2 {
  margin-top: 16px !important;
  margin-bottom: 0 !important;
}

.group-head-modern p {
  margin-top: 24px !important;
  margin-bottom: 0 !important;
}

.FAQs-section .group-head-modern {
  margin-bottom: 34px;
}

.grp-grid-modern {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding-top: 14px;
}

.grp-card-modern {
  border: 1px solid rgba(33, 28, 18, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  padding: 32px 28px;
  transition: border-color .5s, box-shadow .5s, transform .5s;
}

.grp-card-modern:hover {
  border-color: rgba(184, 145, 42, 0.24);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.grp-card-modern .glyph {
  font-family: var(--serif) !important;
  font-size: 1.4rem;
  color: var(--flame);
  display: block;
  margin-bottom: 18px;
}

.grp-card-modern h3 {
  font-size: 1.2rem !important;
  margin-bottom: 10px !important;
}

.grp-card-modern p {
  font-size: 14.5px;
  color: var(--muted);
  font-weight: 400;
  margin: 0;
}

/* Careers Grid */
.careers-modern .grid {
  display: grid;
  grid-template-columns: 6fr 5fr;
  gap: clamp(36px, 6vw, 90px);
  align-items: center;
}

.careers-modern .frame {
  position: relative;
  aspect-ratio: 4/3.4;
  background: linear-gradient(160deg, #e8dfc9, #f6f1e6);
  box-shadow: var(--shadow);
}

.careers-modern .frame::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid var(--line);
  z-index: -1;
}

.careers-modern .frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Homepage Contact Panel */
.newsletter-modern {
  padding: clamp(88px, 11vh, 140px) 0;
  background:
    linear-gradient(135deg, rgba(12, 10, 7, 0.94), rgba(20, 17, 10, 0.98)),
    radial-gradient(circle at 18% 18%, rgba(184, 145, 42, 0.16), transparent 32%);
}

.contact-panel-modern {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1fr);
  gap: clamp(34px, 5vw, 74px);
  align-items: stretch;
  background: rgba(253, 252, 248, 0.06);
  border: 1px solid rgba(243, 236, 221, 0.12);
  border-radius: 8px;
  box-shadow: 0 34px 90px -48px rgba(0, 0, 0, 0.72);
  padding: clamp(28px, 4vw, 58px);
  position: relative;
  overflow: hidden;
}

.contact-panel-modern::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(235, 109, 18, 0.1), transparent 42%),
    linear-gradient(180deg, rgba(253, 252, 248, 0.06), transparent);
  pointer-events: none;
}

.contact-intro-modern,
.home-contact-form-modern {
  position: relative;
  z-index: 1;
}

.contact-intro-modern {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 100%;
  padding: clamp(8px, 1vw, 16px) 0;
}

.contact-intro-modern .eyebrow {
  color: var(--gold-lt);
  margin-bottom: 24px;
}

.contact-intro-modern h2 {
  color: #fdfcf8 !important;
  font-size: clamp(2.4rem, 4.6vw, 4.6rem) !important;
  max-width: 9ch;
  margin: 0 0 24px !important;
}

.contact-intro-modern p {
  max-width: 460px;
  margin: 0 0 36px;
  color: rgba(243, 236, 221, 0.82) !important;
  font-size: 17px;
  line-height: 1.75;
}

.contact-cues-modern {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 8px;
  padding-top: 8px;
}

.contact-cues-modern span {
  display: block;
  padding: 16px 18px;
  border: 1px solid rgba(243, 236, 221, 0.12);
  border-radius: 8px;
  color: rgba(253, 252, 248, 0.9);
  font-size: 14px;
  line-height: 1.45;
  background: rgba(253, 252, 248, 0.05);
}

.contact-cues-modern b {
  display: block;
  margin-bottom: 5px;
  color: var(--gold-lt);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.contact-cues-modern a {
  color: rgba(253, 252, 248, 0.94);
}

.contact-cues-modern a:hover {
  color: var(--gold-lt);
  text-decoration: none;
}

.contact-promise-modern {
  display: grid;
  gap: 16px;
  margin-top: 26px;
}

.contact-promise-card-modern {
  padding: 18px 20px;
  border: 1px solid rgba(243, 236, 221, 0.14);
  border-radius: 8px;
  background: rgba(253, 252, 248, 0.05);
}

.contact-promise-card-modern .mini {
  display: block;
  margin-bottom: 8px;
  color: var(--gold-lt);
  font-size: 10px;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.contact-promise-card-modern strong {
  color: #fdfcf8;
  font-family: var(--serif) !important;
  font-size: 1.55rem;
  line-height: 1.25;
  font-weight: 400;
}

.contact-promise-list-modern {
  display: grid;
  gap: 10px;
}

.contact-promise-list-modern span {
  position: relative;
  padding-left: 20px;
  color: rgba(243, 236, 221, 0.86);
  font-size: 14px;
  line-height: 1.55;
}

.contact-promise-list-modern span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--flame), var(--gold-lt));
}

.home-contact-form-modern {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: end;
  padding: clamp(22px, 3vw, 38px);
  border: 1px solid rgba(243, 236, 221, 0.14);
  border-radius: 8px;
  background: rgba(253, 252, 248, 0.96);
  box-shadow: 0 24px 70px -42px rgba(0, 0, 0, 0.65);
}

.contact-form-head-modern {
  grid-column: 1 / -1;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(33, 28, 18, 0.08);
  margin-bottom: 4px;
}

.contact-form-head-modern .eyebrow {
  display: block;
  margin-bottom: 10px;
}

.contact-form-head-modern p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.home-contact-form-modern .form-field {
  min-width: 0;
}

.home-contact-form-modern .form-field.span-2 {
  grid-column: 1 / -1;
}

.home-contact-form-modern label {
  display: block;
  margin: 0 0 8px;
  text-align: left;
  color: var(--gold-dk);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .22em;
  line-height: 1.3;
  text-transform: uppercase;
}

.home-contact-form-modern input,
.home-contact-form-modern select {
  width: 100%;
  height: 54px;
  border: 1px solid rgba(33, 28, 18, 0.18) !important;
  border-radius: 6px;
  background: #fff !important;
  color: var(--ink) !important;
  font-size: 15px;
  padding: 0 16px;
  outline: none !important;
  box-shadow: none !important;
}

.home-contact-form-modern select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='8'%3E%3Cpath d='M1 1l5.5 5L12 1' stroke='%23b6b0a8' stroke-width='2' fill='none'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: calc(100% - 18px) center !important;
  padding-right: 44px;
}

.home-contact-form-modern input:focus,
.home-contact-form-modern select:focus {
  border-color: var(--flame) !important;
  box-shadow: 0 0 0 3px rgba(235, 109, 18, 0.12) !important;
}

.contact-captcha,
.contact-submit {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-start;
}

.contact-captcha {
  min-height: 78px;
  align-items: center;
}

.contact-submit {
  margin-top: 2px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.contact-submit .btn {
  width: min(100%, 320px);
}

.contact-submit p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

/* Modern Footer */
.footer-modern {
  background: var(--night);
  color: var(--ivory);
  padding: 80px 0 36px;
  position: relative;
  z-index: 1;
}

.footer-modern > .wrap {
  width: min(100% - 64px, 1240px);
  margin-inline: auto;
}

.footer-modern .logo-img {
  height: 46px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .95;
}

.footer-modern .f-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, minmax(0, 1fr));
  gap: 42px;
  margin-bottom: 60px;
}

.footer-modern h4 {
  font-size: 10.5px;
  letter-spacing: .38em;
  text-transform: uppercase;
  color: var(--gold-lt);
  margin-bottom: 20px;
  font-weight: 400;
}

.footer-modern a {
  color: #fdfcf8;
  transition: color 0.3s;
}

.footer-modern a:hover {
  color: var(--gold-lt);
  text-decoration: none;
}

.footer-modern .f-grid a {
  display: block;
  padding: 6px 0;
  font-size: 14px;
  color: #fdfcf8;
  transition: color 0.3s, padding-left 0.3s;
}

.footer-modern .f-grid a:hover {
  color: var(--gold-lt);
  padding-left: 8px;
  text-decoration: none;
}

.footer-modern .f-brand .c-item {
  display: block;
  font-size: 14px;
  color: #fdfcf8;
  padding: 4px 0;
}

.footer-modern .f-brand .c-item b {
  color: var(--gold-lt);
  font-weight: 400;
  letter-spacing: .1em;
  font-size: 10px;
  text-transform: uppercase;
  display: block;
  margin-top: 16px;
}

.footer-modern .f-license {
  font-size: 11.5px;
  line-height: 1.9;
  color: rgba(253, 252, 248, 0.86);
  border-top: 1px solid var(--line-dark);
  padding-top: 26px;
  max-width: 920px;
}

.footer-modern .f-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
  font-size: 10.5px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: rgba(253, 252, 248, 0.86);
}

.footer-modern .f-social {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-modern .f-social a {
  color: #fdfcf8;
  transition: color .3s;
  display: inline;
  padding: 0;
}

.footer-modern .f-social a:hover {
  color: var(--gold-lt);
}

/* Veil Overlay */
.veil-modern {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  transition: opacity 1s ease .25s, visibility 1s .25s;
}

.veil-modern.done {
  opacity: 0;
  visibility: hidden;
}

.veil-modern img {
  width: min(220px, 55vw);
  height: auto;
  object-fit: contain;
  opacity: 0;
  animation: veilFade 0.8s ease forwards 0.1s;
}

@keyframes veilFade { to { opacity: 1; } }

.veil-modern .rule {
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), var(--flame));
  animation: ruleGrow 1.2s cubic-bezier(.22,1,.36,1) forwards 0.15s;
}

@keyframes ruleGrow { to { width: 200px; } }

/* Scroll Reveal classes */
.rev-modern {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .85s cubic-bezier(.22,1,.36,1), transform .85s cubic-bezier(.22,1,.36,1);
}

.rev-modern.in {
  opacity: 1;
  transform: none;
}

.rev-modern.d1 { transition-delay: .12s; }
.rev-modern.d2 { transition-delay: .24s; }
.rev-modern.d3 { transition-delay: .36s; }

/* Responsive Overrides */
@media (max-width: 1240px) {
  .community-grid-modern, .team-grid-modern, .why-grid-modern, .grp-grid-modern {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-modern .f-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (max-width: 1100px) {
  .list-grid-modern {
    grid-template-columns: repeat(2, 1fr);
  }
  .search-modern-form {
    grid-template-columns: 1fr 1fr;
  }
  .search-modern-form .field {
    border-right: none;
    border-bottom: 1px solid rgba(243,236,221,.12);
  }
  .search-modern-form .field:nth-child(odd) {
    border-right: 1px solid rgba(243,236,221,.12);
  }
  .search-modern-form .go {
    grid-column: 1 / -1;
  }
  .search-modern-form .go button {
    padding: 20px;
  }
  .sell-modern .grid, .careers-modern .grid {
    grid-template-columns: 1fr;
  }
  .who-shell-modern {
    grid-template-columns: 1fr;
  }
  .who-media-modern {
    min-height: 0;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .who-hero-frame-modern {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 460px;
  }
  .who-secondary-frame-modern,
  .who-stats-modern {
    grid-column: 1 / -1;
    grid-row: auto;
  }
  .who-value-grid-modern {
    grid-template-columns: 1fr;
  }
  .home-contact-form-modern {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1180px) {
  .nav-links-modern {
    display: none !important;
  }
}

@media (max-width: 640px) {
  .nav-cta-modern {
    display: none !important;
  }
  .nav-fixed-modern {
    gap: 14px;
  }
  .list-grid-modern, .community-grid-modern, .team-grid-modern, .why-grid-modern, .grp-grid-modern, .betters-modern {
    grid-template-columns: 1fr;
  }
  .who-media-modern {
    min-height: 280px;
  }
  .who-content-modern {
    padding: 32px 22px;
  }
  .who-points-modern {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .footer-modern .f-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 42px;
  }
  .footer-modern {
    padding: 58px 0 32px;
  }
  .footer-modern > .wrap {
    width: min(100% - 32px, 1240px);
  }
  .footer-modern .f-bottom {
    display: grid;
    gap: 18px;
  }
  .footer-modern .f-social {
    gap: 14px 20px;
  }
  .partners-modern .row {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .partners-modern .logos {
    --partner-gap: 36px;
    animation-duration: 18s;
  }
  .partners-modern .logos img {
    height: 60px;
    max-width: 122px;
  }
  .tabs-modern {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .tab-modern {
    padding: 13px 12px 12px;
    text-align: center;
  }
  .hero-modern h1 {
    font-size: clamp(3rem, 14vw, 4.4rem) !important;
    max-width: 100%;
  }
  .search-modern-form {
    grid-template-columns: 1fr;
  }
  .search-modern-form .field, .search-modern-form .field:nth-child(odd) {
    border-right: none;
    border-bottom: 1px solid rgba(243,236,221,.12);
    padding: 22px 24px;
  }
  .search-modern-form .go button {
    min-height: 64px;
  }
  .contact-panel-modern {
    padding: 34px 18px;
  }
  .contact-cues-modern {
    grid-template-columns: 1fr;
  }
  .contact-promise-card-modern strong {
    font-size: 1.28rem;
  }
  .home-contact-form-modern {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .home-contact-form-modern .form-field.span-2 {
    grid-column: auto;
  }
  .home-contact-form-modern label {
    text-align: left;
    font-size: 15px;
  }
  .home-contact-form-modern input,
  .home-contact-form-modern select {
    height: 52px;
  }
}

/* ============================================================
   SCROLLED NAV & OTHER FIXES
   ============================================================ */
.nav-fixed-modern.scrolled .btn.ghost-light {
  border-color: rgba(235, 109, 18, 0.55) !important;
  color: var(--flame) !important;
}

.nav-fixed-modern.scrolled .nav-phone-modern {
  color: var(--muted) !important;
  text-shadow: none !important;
}

.nav-fixed-modern.scrolled .nav-links-modern a {
  color: var(--muted) !important;
  text-shadow: none !important;
}

.nav-fixed-modern.scrolled .menu-btn span {
  background: var(--ink) !important;
}

/* Mobile Hamburger Menu */
.menu-btn {
  display: none;
  flex-direction: column;
  gap: 7px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  z-index: 130;
}

.menu-btn span {
  width: 28px;
  height: 1.5px;
  background: var(--ivory);
  transition: transform .4s, opacity .4s, background .4s;
}

.menu-open .menu-btn span {
  background: var(--ink) !important;
}

.menu-open .menu-btn span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.menu-open .menu-btn span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

@media (max-width: 1180px) {
  .menu-btn {
    display: flex;
  }
}

/* Menu Overlay */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(253, 252, 248, 0.98);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  padding: 0 var(--pad);
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.7s cubic-bezier(0.76, 0, 0.24, 1), visibility 0.7s;
  overflow-y: auto;
  visibility: hidden;
  pointer-events: none;
}

.menu-open .menu-overlay {
  clip-path: inset(0 0 0 0);
  visibility: visible;
  pointer-events: auto;
}

.menu-overlay a {
  font-family: var(--serif);
  font-size: clamp(26px, 6.5vw, 46px);
  padding: 13px 0;
  color: var(--ink);
  border-bottom: 1px solid var(--line-soft);
  transition: color 0.3s, padding-left 0.3s;
}

.menu-overlay a:hover {
  color: var(--flame);
  padding-left: 16px;
  text-decoration: none;
}

/* Select2 dropdown positioning and width fixes */
.select2-container {
  width: 100% !important;
}

.search-modern-form .select2-container--default .select2-selection--multiple {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  min-height: 24px !important;
  height: 24px !important;
}

.search-modern-form .select2-container--default .select2-selection--multiple .select2-selection__rendered {
  padding: 0 !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 4px;
  min-height: 24px !important;
  line-height: 24px !important;
}

.search-modern-form .select2-container--default .select2-selection--multiple .select2-search__field {
  color: #fdfcf8 !important;
  font-family: var(--sans) !important;
  font-size: 16px !important;
  line-height: 24px !important;
  height: 24px !important;
  margin-top: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

.search-modern-form .select2-container--default .select2-selection--multiple .select2-selection__choice {
  background: var(--flame) !important;
  border: none !important;
  color: #fff !important;
  font-size: 13px !important;
  padding: 4px 8px !important;
  border-radius: 4px !important;
}

.select2-dropdown {
  background-color: var(--night-2) !important;
  border: 1px solid var(--line-dark) !important;
  border-radius: 8px !important;
  color: var(--ivory) !important;
}

.select2-results__option {
  padding: 8px 16px !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background-color: var(--flame) !important;
  color: #fff !important;
}

/* FAQs Accordion Styling */
.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border: 1px solid rgba(184, 145, 42, 0.18);
  background: rgba(255, 255, 255, 0.6);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item[open] {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(184, 145, 42, 0.45);
  box-shadow: var(--shadow);
}

.faq-question {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
  padding: 22px 28px;
  cursor: pointer;
  list-style: none;
  position: relative;
  user-select: none;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  font-family: var(--sans);
  font-size: 22px;
  color: var(--flame);
  transition: transform 0.3s ease;
}

.faq-item[open] .faq-question::after {
  content: "−";
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 28px 22px;
  font-size: 15.5px;
  color: var(--muted);
  line-height: 1.7;
}

.faq-answer p {
  margin: 0;
}

/* ============================================================
   ADDITIONAL MODERN UI AND INTERACTION FIXES
   ============================================================ */

/* 1. Global Navigation Scrolled/Light styling on Non-Homepage pages */
body:not(.sh-home) .nav-fixed-modern {
  background: rgba(253, 252, 248, 0.95) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 8px var(--nav-inline);
  border-color: var(--line-soft);
  box-shadow: 0 10px 40px -20px rgba(33, 28, 18, 0.18);
}

body:not(.sh-home) .container {
  width: min(calc(100% - (2 * var(--pad))), calc(var(--maxw) - (2 * var(--pad)))) !important;
  max-width: calc(var(--maxw) - (2 * var(--pad))) !important;
}

body:not(.sh-home) .nav-fixed-modern .logo-img {
  filter: none !important;
  height: 34px;
}

body:not(.sh-home) .nav-fixed-modern .nav-links-modern a {
  color: var(--muted) !important;
  text-shadow: none !important;
}

body:not(.sh-home) .nav-fixed-modern .nav-links-modern a:hover {
  color: var(--ink) !important;
}

body:not(.sh-home) .nav-fixed-modern .nav-phone-modern {
  color: var(--muted) !important;
  text-shadow: none !important;
}

body:not(.sh-home) .nav-fixed-modern .btn.ghost-light {
  border-color: rgba(235, 109, 18, 0.55) !important;
  color: var(--flame) !important;
}

body:not(.sh-home) .nav-fixed-modern .menu-btn span {
  background: var(--ink) !important;
}

/* 2. Select2 dropdown width calculation & clipping fixes */
.select2-container--open {
  min-width: 280px !important;
  z-index: 99999 !important;
}

.select2-dropdown {
  min-width: 280px !important;
  width: 100% !important;
  box-shadow: 0 10px 30px rgba(12, 10, 7, 0.15) !important;
}

/* 3. Hero Search Button Typography and Hover Matching */
.search-modern-form .go button {
  height: 100%;
  width: 100%;
  border: none !important;
  background: linear-gradient(105deg, var(--flame), #f59a2e, var(--gold-lt)) !important;
  color: #fff !important;
  min-height: 68px;
  padding: 0 42px;
  cursor: pointer;
  
  /* Make it match .btn in typography, spacing & transitions */
  font-family: var(--sans) !important;
  font-size: 12px !important;
  letter-spacing: .28em !important;
  text-transform: uppercase !important;
  font-weight: 500 !important;
  position: relative;
  overflow: hidden;
  transition: color .45s, background-color .45s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0 !important;
}

.search-modern-form .go button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, var(--gold-lt), #f59a2e, var(--flame));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s cubic-bezier(.22,1,.36,1);
  z-index: 0;
}

.search-modern-form .go button span {
  position: relative;
  z-index: 1;
}

.search-modern-form .go button:hover::before {
  transform: scaleX(1);
}

.search-modern-form .go button:hover {
  color: #fff !important;
  text-decoration: none;
}

/* 4. Legacy and standard theme buttons override to support modern visual aesthetics */
.btn-primary,
.btn-style,
.btn-primary-custom,
.btn-primary.alyn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  font-family: var(--sans) !important;
  font-size: 12px !important;
  letter-spacing: .28em !important;
  text-transform: uppercase !important;
  font-weight: 500 !important;
  padding: 16px 30px 15px !important;
  background: linear-gradient(105deg, var(--flame), #f59a2e, var(--gold-lt)) !important;
  color: #fff !important;
  border: none !important;
  position: relative !important;
  overflow: hidden !important;
  transition: color .45s, background-color .45s !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  text-shadow: none !important;
  text-decoration: none !important;
}

.btn-primary::before,
.btn-style::before,
.btn-primary-custom::before,
.btn-primary.alyn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, var(--gold-lt), #f59a2e, var(--flame)) !important;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s cubic-bezier(.22,1,.36,1);
  z-index: 0;
}

.btn-primary:hover::before,
.btn-style:hover::before,
.btn-primary-custom:hover::before,
.btn-primary.alyn:hover::before {
  transform: scaleX(1) !important;
}

.btn-primary span,
.btn-style span,
.btn-primary-custom span,
.btn-primary.alyn span {
  position: relative !important;
  z-index: 1 !important;
}

.btn-primary:hover,
.btn-style:hover,
.btn-primary-custom:hover,
.btn-primary.alyn:hover {
  color: #fff !important;
  background: transparent !important;
  text-decoration: none !important;
}

/* Listing cards: keep Call / Email / WhatsApp actions inside each card. */
.listing-details > ul.mt-3:not(.estate-info) {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 10px !important;
  width: 100% !important;
  margin: 16px 0 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.listing-details > ul.mt-3:not(.estate-info) li {
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.listing-details > ul.mt-3:not(.estate-info) a,
.listing-details > ul.mt-3:not(.estate-info) .btn.btn-primary.btn-style {
  width: 100% !important;
  min-width: 0 !important;
}

.listing-details > ul.mt-3:not(.estate-info) .btn.btn-primary.btn-style {
  min-height: 44px !important;
  margin-top: 0 !important;
  padding: 10px 7px !important;
  gap: 5px !important;
  font-size: 10px !important;
  letter-spacing: .08em !important;
}

.listing-details > ul.mt-3:not(.estate-info) .btn.btn-primary.btn-style .fa {
  font-family: FontAwesome !important;
  font-size: 11px !important;
  font-style: normal !important;
  font-weight: normal !important;
  line-height: 1 !important;
}

.listing-details > ul.mt-3:not(.estate-info) .btn.btn-primary.btn-style .fa::before {
  font-family: FontAwesome !important;
  font-style: normal !important;
  font-weight: normal !important;
}

@media (max-width: 420px) {
  .listing-details > ul.mt-3:not(.estate-info) {
    gap: 8px !important;
  }

  .listing-details > ul.mt-3:not(.estate-info) .btn.btn-primary.btn-style {
    padding-inline: 6px !important;
    font-size: 9px !important;
    letter-spacing: .06em !important;
  }
}

/* Properties/search listing page refinements */
.w3l-cover-3 .searchbox {
  overflow: visible !important;
  position: relative !important;
  z-index: 20 !important;
  padding: 18px 22px 28px !important;
  border-radius: 8px !important;
  box-shadow: 0 18px 50px rgba(33, 28, 18, 0.05) !important;
}

.w3l-cover-3 .tab-content,
.w3l-cover-3 .tab-pane,
.w3l-cover-3 form {
  overflow: visible !important;
}

.w3l-cover-3 .w3l-cover-3-gd {
  display: grid !important;
  grid-template-columns: minmax(320px, 1fr) 170px 145px 132px 118px !important;
  gap: 4px !important;
  align-items: stretch !important;
  width: 100% !important;
}

.w3l-cover-3 .w3l-cover-3-gd-project {
  grid-template-columns: minmax(320px, 1fr) 118px !important;
}

.w3l-cover-3 .input-group-btn,
.w3l-cover-3 .search-width-pt,
.w3l-cover-3 .search-width-bd,
.w3l-cover-3 .search-width-pr,
.w3l-cover-3 .search-width-srbtn,
.w3l-cover-3 .button-container {
  width: auto !important;
  min-width: 0 !important;
}

.w3l-cover-3 .search-container {
  height: 54px !important;
  border: 1px solid rgba(33, 28, 18, 0.68) !important;
  border-radius: 3px !important;
  background: rgba(255, 255, 255, 0.9) !important;
  display: block !important;
  margin: 0 !important;
}

.w3l-cover-3 .row2 {
  align-items: center !important;
  height: 100% !important;
  margin: 0 !important;
  flex-wrap: nowrap !important;
  width: 100% !important;
}

.w3l-cover-3 .row2 .inputsrcicon,
.w3l-cover-3 .inputsrcicon.col-1,
.w3l-cover-3 .inputsrcicon.col-1-mob {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  flex: 0 0 42px !important;
  max-width: 42px !important;
  width: 42px !important;
  position: static !important;
}

.w3l-cover-3 .row2 .src-svg,
.w3l-cover-3 .inputsrcicon .src-svg {
  width: 16px !important;
  height: 16px !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  color: var(--ink) !important;
}

.w3l-cover-3 .row2 .src-select,
.w3l-cover-3 .row2 .inputsrc-com,
.w3l-cover-3 .src-select.col-11,
.w3l-cover-3 .inputsrc-com.col-11,
.w3l-cover-3 .src-select.col-11-mob,
.w3l-cover-3 .inputsrc-com.col-11-mob {
  display: block !important;
  flex: 1 1 auto !important;
  width: auto !important;
  max-width: none !important;
  padding: 0 12px 0 0 !important;
  margin: 0 !important;
  position: static !important;
  height: 100% !important;
  min-width: 0 !important;
}

.w3l-cover-3 .select2-container--default .select2-selection--multiple {
  min-height: 52px !important;
  height: 52px !important;
  border: 0 !important;
  background: transparent !important;
  display: flex !important;
  align-items: center !important;
}

.w3l-cover-3 .select2-container--default .select2-selection--multiple .select2-selection__rendered {
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  width: 100% !important;
  min-height: 52px !important;
  padding: 0 !important;
  overflow: hidden !important;
}

.w3l-cover-3 .select2-container--default .select2-selection--multiple .select2-search {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 28px !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 28px !important;
  list-style: none !important;
}

.w3l-cover-3 .select2-container--default .select2-selection--multiple .select2-search__field {
  height: 28px !important;
  margin: 0 !important;
  color: var(--muted) !important;
  font-family: var(--sans) !important;
  font-size: 14px !important;
  line-height: 28px !important;
}

.w3l-cover-3 .select2-container--default .select2-selection--multiple .select2-selection__choice {
  margin: 0 6px 0 0 !important;
  padding: 4px 8px !important;
  border: 0 !important;
  border-radius: 2px !important;
  background: rgba(235, 109, 18, 0.12) !important;
  color: var(--ink) !important;
  font-size: 12px !important;
}

.w3l-cover-3 .btn-default,
.w3l-cover-3 .customselect,
.w3l-cover-3 .dropdown-label {
  width: 100% !important;
  height: 54px !important;
  min-height: 54px !important;
  border: 1px solid rgba(33, 28, 18, 0.75) !important;
  border-radius: 3px !important;
  background-color: rgba(255, 255, 255, 0.9) !important;
  color: var(--flame) !important;
  font-family: var(--sans) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: .28em !important;
  line-height: 1.1 !important;
  text-align: left !important;
  text-transform: uppercase !important;
  padding: 0 30px 0 14px !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.w3l-cover-3 select.btn-default {
  appearance: none !important;
  -webkit-appearance: none !important;
  background-image: url("../images/down.png") !important;
  background-repeat: no-repeat !important;
  background-position: calc(100% - 12px) 50% !important;
}

.w3l-cover-3 .w3l-cover-3-gd select.btn.btn-default,
.w3l-cover-3 .w3l-cover-3-gd .customselect.btn.btn-default {
  display: block !important;
  height: 54px !important;
  min-height: 54px !important;
  max-height: 54px !important;
  line-height: 1.1 !important;
  margin: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  vertical-align: top !important;
}

.w3l-cover-3 .w3l-cover-3-gd .search-width-pt,
.w3l-cover-3 .w3l-cover-3-gd .search-width-bd,
.w3l-cover-3 .w3l-cover-3-gd .search-width-pr {
  display: block !important;
  height: 54px !important;
  max-height: 54px !important;
  line-height: 0 !important;
  margin: 0 !important;
}

.w3l-cover-3 .btn-default:focus,
.w3l-cover-3 .search-container:focus-within {
  border-color: var(--flame) !important;
  box-shadow: 0 0 0 2px rgba(235, 109, 18, 0.1) !important;
  outline: none !important;
}

.w3l-cover-3 .btn-primary.alyn,
.w3l-cover-3 .search-width-srbtn,
.w3l-cover-3 .button-container .btn-primary {
  width: 100% !important;
  height: 54px !important;
  min-height: 54px !important;
  margin: 0 !important;
  padding: 0 14px !important;
  font-size: 10px !important;
  letter-spacing: .28em !important;
  border-radius: 0 !important;
}

.w3l-cover-3 #showMoreOptions,
.w3l-cover-3 #showMoreOptions2 {
  color: var(--flame) !important;
  font-family: var(--sans) !important;
  font-size: 13px !important;
  letter-spacing: .02em !important;
}

body:not(.sh-home) .select2-container--open {
  z-index: 100000 !important;
}

body:not(.sh-home) .select2-container--open .select2-dropdown,
body:not(.sh-home) .select2-dropdown {
  background: #fff !important;
  border: 1px solid rgba(33, 28, 18, 0.18) !important;
  border-radius: 0 0 4px 4px !important;
  box-shadow: 0 18px 42px rgba(33, 28, 18, 0.18) !important;
  color: var(--ink) !important;
  min-width: 0 !important;
  max-width: min(620px, calc(100vw - 32px)) !important;
}

body:not(.sh-home) .select2-results__options {
  max-height: 240px !important;
}

body:not(.sh-home) .select2-results__option {
  color: var(--ink) !important;
  background: #fff !important;
  padding: 10px 14px !important;
  font-family: var(--sans) !important;
  font-size: 14px !important;
}

body:not(.sh-home) .select2-container--default .select2-results__option--highlighted[aria-selected],
body:not(.sh-home) .select2-container--default .select2-results__option[aria-selected=true] {
  background: linear-gradient(105deg, var(--flame), #f59a2e, var(--gold-lt)) !important;
  color: #fff !important;
}

.listing-details > ul.mt-3:not(.estate-info) .btn.btn-primary.btn-style .fa {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 11px !important;
  min-width: 11px !important;
  font-size: 11px !important;
}

.listing-details > ul.mt-3:not(.estate-info) .btn.btn-primary.btn-style .texxt {
  font-size: 10px !important;
  line-height: 1 !important;
  letter-spacing: .06em !important;
  white-space: nowrap !important;
  min-width: 0 !important;
}

.locations-1 .row {
  align-items: stretch !important;
}

.locations-1 .listing-img {
  display: flex !important;
  flex-direction: column !important;
}

.locations-1 .listing-img > a {
  display: block !important;
  flex: 0 0 auto !important;
}

.locations-1 .listing-details {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  box-sizing: border-box !important;
  height: 310px !important;
  min-height: 310px !important;
  padding: 20px 14px 16px !important;
}

.locations-1 .listing-details h4.user_title {
  height: auto !important;
  min-height: 56px !important;
  margin-bottom: 12px !important;
}

.locations-1 .listing-details p.user_position {
  margin: 0 0 9px !important;
  min-height: 24px !important;
}

.locations-1 .listing-details p.user_position:nth-of-type(2) {
  min-height: 45px !important;
}

.locations-1 .listing-details .estate-info {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 10px 18px !important;
  min-height: 40px !important;
  height: auto !important;
  margin: 4px 0 0 !important;
}

.locations-1 .listing-details .estate-info li {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin: 0 !important;
  font-size: 14px !important;
  line-height: 1.2 !important;
}

.locations-1 .listing-details .fa,
.locations-1 .listing-details .fa::before {
  font-family: FontAwesome !important;
  font-style: normal !important;
  font-weight: normal !important;
}

.locations-1 .listing-details p.user_position .fa,
.locations-1 .listing-details .estate-info .fa {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 15px !important;
  min-width: 15px !important;
  color: rgba(63, 58, 100, 0.58) !important;
  font-size: 14px !important;
  opacity: 1 !important;
}

.locations-1 .listing-details > ul.mt-3:not(.estate-info) {
  margin-top: auto !important;
  padding-top: 16px !important;
}

@media (max-width: 1199px) {
  .w3l-cover-3 .w3l-cover-3-gd,
  .w3l-cover-3 .w3l-cover-3-gd-project {
    grid-template-columns: 1fr 1fr !important;
  }
}

@media (max-width: 767px) {
  .w3l-cover-3 .searchbox {
    padding: 16px !important;
  }

  .w3l-cover-3 .w3l-cover-3-gd,
  .w3l-cover-3 .w3l-cover-3-gd-project {
    grid-template-columns: 1fr !important;
  }

  .w3l-cover-3 .btn-primary.alyn,
  .w3l-cover-3 .search-width-srbtn,
  .w3l-cover-3 .button-container .btn-primary {
    width: 100% !important;
  }
}
