:root {
  --fanadako-blue: #007fff;
  --fanadako-blue-dark: #043f8f;
  --fanadako-yellow: #f7d618;
  --fanadako-red: #ce1021;
  --fanadako-ink: #09233f;
}

html.route-loading::after {
  content: "";
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 36%;
  height: 3px;
  background: linear-gradient(90deg, #f7c948, #36b37e, #007fff);
  box-shadow: 0 0 10px rgba(0, 127, 255, 0.35);
  animation: fanadako-route-progress 0.9s ease-in-out infinite alternate;
}

@keyframes fanadako-route-progress {
  from { transform: translateX(-35%); }
  to { transform: translateX(210%); }
}

#brand-home-link {
  flex: 0 0 auto;
  margin-right: 1rem;
}

nav > div:first-child {
  max-width: 90rem;
  gap: 0.75rem;
}

@media (min-width: 1024px) and (max-width: 1199px) {
  #desktop-primary-nav,
  [data-harvest-public-submission] {
    display: none !important;
  }

  #mob-toggle {
    display: inline-flex !important;
  }
}

@media (min-width: 1200px) and (max-width: 1535px) {
  #desktop-primary-nav {
    display: flex !important;
    min-width: 0;
    flex: 1 1 auto;
    justify-content: flex-start;
  }

  #desktop-primary-nav .nav-item {
    padding-left: .52rem !important;
    padding-right: .52rem !important;
    font-size: .78rem !important;
  }

  #desktop-primary-nav #nav-brokers,
  #desktop-primary-nav #nav-ai,
  #desktop-primary-nav #nav-marketplace,
  #desktop-primary-nav #nav-about,
  [data-harvest-public-submission] {
    display: none !important;
  }

  #mob-toggle {
    display: inline-flex !important;
  }

  #brand-home-link {
    margin-right: .35rem;
  }
}

@media (min-width: 1536px) {
  #desktop-primary-nav {
    display: flex !important;
    min-width: 0;
  }
}

@media (max-width: 639px) {
  #top-language-label,
  #lang-sel {
    display: none !important;
  }

  .mk-top-strip > div,
  .topbar-actions {
    flex-wrap: nowrap !important;
  }
}

body[data-country-code="CD"] { color: var(--fanadako-ink); }
body[data-country-code="CD"] .topbar { background: var(--fanadako-blue-dark) !important; }
body[data-country-code="CD"] .bg-green-900,
body[data-country-code="CD"] footer { background-color: #062f68 !important; }
body[data-country-code="CD"] .bg-green-800,
body[data-country-code="CD"] .bg-green-700 { background-color: var(--fanadako-blue) !important; }
body[data-country-code="CD"] .text-green-900,
body[data-country-code="CD"] .text-green-800,
body[data-country-code="CD"] .text-green-700 { color: var(--fanadako-blue-dark) !important; }
body[data-country-code="CD"] .border-green-700,
body[data-country-code="CD"] .border-green-200,
body[data-country-code="CD"] .border-green-100 { border-color: rgba(0, 127, 255, .28) !important; }
body[data-country-code="CD"] .bg-green-50 { background-color: #eef7ff !important; }
body[data-country-code="CD"] .hover\:bg-green-50:hover { background-color: #e3f2ff !important; }
body[data-country-code="CD"] #hero-search-btn,
body[data-country-code="CD"] .hero-search-button { background: var(--fanadako-red) !important; }
body[data-country-code="CD"] #hero-search-btn:hover,
body[data-country-code="CD"] .hero-search-button:hover { background: #ad0c1a !important; }
body[data-country-code="CD"] #hero-list-property-btn,
body[data-country-code="CD"] #nav-list-property { background: var(--fanadako-blue) !important; }
body[data-country-code="CD"] .fanadako-logo-mark { border-radius: 12px; box-shadow: 0 5px 16px rgba(0, 63, 143, .22); }
body[data-country-code="CD"] #hero-home { position: relative; }
body[data-country-code="CD"] .hero-bg {
  background-image:
    linear-gradient(180deg, rgba(3, 18, 44, .32) 0%, rgba(3, 20, 50, .76) 100%),
    url('/assets/fanadako-kinshasa-skyline.jpg') !important;
  background-position: center 42%;
}
body[data-country-code="CD"] #hero-home::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, var(--fanadako-blue) 0 58%, var(--fanadako-yellow) 58% 74%, var(--fanadako-red) 74% 100%);
  z-index: 3;
}
body[data-country-code="CD"] a:focus-visible,
body[data-country-code="CD"] button:focus-visible,
body[data-country-code="CD"] input:focus-visible,
body[data-country-code="CD"] select:focus-visible { outline: 3px solid var(--fanadako-yellow); outline-offset: 2px; }

.investment-showroom-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
}

.investment-showroom-card {
  position: relative;
  grid-column: span 4;
  min-height: 27rem;
  overflow: hidden;
  border-radius: 1.6rem;
  color: #fff;
  isolation: isolate;
  box-shadow: 0 22px 55px rgba(5, 31, 69, .16);
  transform: translateY(0);
  transition: transform .28s ease, box-shadow .28s ease;
}

.investment-showroom-card:nth-child(1),
.investment-showroom-card:nth-child(2) { grid-column: span 6; }

.investment-showroom-card:hover,
.investment-showroom-card:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(5, 31, 69, .26);
}

.investment-showroom-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--showroom-image) center/cover no-repeat;
  transform: scale(1.02);
  animation: showroom-window 15s ease-in-out infinite alternate;
}

.investment-showroom-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(4, 18, 38, .04), rgba(4, 18, 38, .4) 44%, rgba(4, 18, 38, .96));
}

@keyframes showroom-window {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to { transform: scale(1.12) translate3d(-1.5%, -1%, 0); }
}

.investment-showroom-card-link {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.35rem;
  color: #fff !important;
  text-decoration: none;
}

.investment-showroom-card-link p { color: rgba(255, 255, 255, .9) !important; }
.investment-showroom-card-link h3 { color: #fff !important; text-shadow: 0 2px 20px rgba(0, 0, 0, .28); }
.investment-showroom-card-link > div:last-child > span { color: #09233f !important; }

.investment-showroom-brand {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 1rem;
  background: color-mix(in srgb, var(--showroom-accent) 84%, white 16%);
  border: 1px solid rgba(255, 255, 255, .45);
  font-weight: 900;
  letter-spacing: -.04em;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
}

.investment-showroom-pill {
  display: inline-flex;
  align-items: center;
  width: max-content;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
  background: rgba(3, 18, 44, .55);
  padding: .4rem .7rem;
  font-size: .68rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  backdrop-filter: blur(12px);
}

.investment-showroom-loading {
  grid-column: 1 / -1;
  border: 1px dashed rgba(0, 127, 255, .35);
  border-radius: 1.5rem;
  padding: 3rem 1rem;
  text-align: center;
  color: #34516f;
  background: #fff;
}

.showroom-detail-hero {
  position: relative;
  overflow: hidden;
  min-height: 30rem;
  border-radius: 2rem;
  color: #fff;
  background: #062f68;
  box-shadow: 0 28px 70px rgba(5, 31, 69, .22);
}

.showroom-detail-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showroom-detail-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3, 18, 44, .96), rgba(3, 18, 44, .7) 58%, rgba(3, 18, 44, .18));
}

.showroom-room-stage {
  position: relative;
  min-height: 25rem;
  overflow: hidden;
  border-radius: 1.5rem;
  perspective: 900px;
  background: linear-gradient(160deg, #dcefff 0 49.5%, #b9d0df 50% 100%);
}

.showroom-room {
  position: absolute;
  inset: 2rem;
  border: 2px solid rgba(9, 35, 63, .22);
  border-radius: 1rem;
  background:
    linear-gradient(90deg, transparent 49.7%, rgba(9, 35, 63, .08) 50%, transparent 50.3%),
    linear-gradient(transparent 49.7%, rgba(9, 35, 63, .08) 50%, transparent 50.3%),
    #f7fbff;
  background-size: 58px 58px;
  transform: rotateX(48deg) rotateZ(var(--room-angle, -2deg)) scale(.88);
  transform-origin: center;
  transition: transform .35s ease;
  box-shadow: inset 0 0 50px rgba(0, 63, 143, .08);
}

.showroom-furniture {
  position: absolute;
  display: grid;
  place-items: center;
  min-width: 4.2rem;
  min-height: 2.8rem;
  border: 2px solid rgba(9, 35, 63, .2);
  border-radius: .8rem;
  color: #09233f;
  background: #fff;
  font-size: .72rem;
  font-weight: 900;
  box-shadow: 0 10px 25px rgba(9, 35, 63, .18);
  cursor: grab;
  user-select: none;
}

.showroom-furniture:active { cursor: grabbing; }

.showroom-control {
  border: 1px solid #c8ddf4;
  border-radius: .8rem;
  background: #fff;
  padding: .7rem .9rem;
  color: #043f8f;
  font-size: .78rem;
  font-weight: 900;
}

.showroom-control:hover { background: #eef7ff; }

body[data-country-code="CD"] #page-investment,
body[data-country-code="CD"] #page-investment p,
body[data-country-code="CD"] #page-investment li,
body[data-country-code="CD"] #page-investment label { color: #213a54; }

body[data-country-code="CD"] #page-investment [class*="bg-[#09233f]"],
body[data-country-code="CD"] #page-investment [class*="bg-[#062f68]"] { color: #fff; }

body[data-country-code="CD"] #page-investment [class*="bg-[#09233f]"] p,
body[data-country-code="CD"] #page-investment [class*="bg-[#09233f]"] li,
body[data-country-code="CD"] #page-investment [class*="bg-[#062f68]"] p { color: #e7f3ff; }

@media (max-width: 1023px) {
  .investment-showroom-card,
  .investment-showroom-card:nth-child(1),
  .investment-showroom-card:nth-child(2) { grid-column: span 6; }
}

@media (max-width: 639px) {
  .investment-showroom-card,
  .investment-showroom-card:nth-child(1),
  .investment-showroom-card:nth-child(2) { grid-column: 1 / -1; min-height: 24rem; }
  .showroom-detail-hero { min-height: 34rem; }
  .showroom-room { inset: .7rem; }
}

@media (prefers-reduced-motion: reduce) {
  body[data-country-code="CD"] *,
  body[data-country-code="CD"] *::before,
  body[data-country-code="CD"] *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .investment-showroom-card::before { animation: none !important; }
}

/* Fanadako premium public direction: editorial clarity, DRC-first utility. */
:root {
  --fanadako-blue: #75192e;
  --fanadako-blue-dark: #1b1718;
  --fanadako-yellow: #c8aa70;
  --fanadako-red: #75192e;
  --fanadako-ink: #1b1718;
  --fanadako-paper: #f3f0eb;
  --fanadako-cream: #faf8f4;
  --fanadako-gold: #c8aa70;
  --fanadako-oxblood: #75192e;
}

body[data-country-code="CD"] {
  background: var(--fanadako-cream);
  color: var(--fanadako-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body[data-country-code="CD"] h1,
body[data-country-code="CD"] h2,
body[data-country-code="CD"] h3,
body[data-country-code="CD"] .serif {
  font-family: Georgia, "Times New Roman", serif;
  font-style: normal !important;
  letter-spacing: -.025em;
}

body[data-country-code="CD"] em,
body[data-country-code="CD"] i:not([class*="fa-"]) { font-style: normal; }

body[data-country-code="CD"] .mk-top-strip,
body[data-country-code="CD"] .topbar { background: #1b1718 !important; }

body[data-country-code="CD"] .mk-top-strip {
  border-bottom: 1px solid rgba(255, 255, 255, .09);
  font-size: .72rem;
  letter-spacing: .04em;
}

body[data-country-code="CD"] > nav {
  background: rgba(250, 248, 244, .96) !important;
  border-color: rgba(27, 23, 24, .12) !important;
  box-shadow: 0 8px 30px rgba(27, 23, 24, .04);
  backdrop-filter: blur(18px);
}

body[data-country-code="CD"] > nav > div { min-height: 5.4rem; }
body[data-country-code="CD"] #brand-home-link { gap: .75rem; }
body[data-country-code="CD"] .fanadako-logo-mark {
  width: 3rem;
  height: 3rem;
  border-radius: .35rem;
  box-shadow: 0 8px 24px rgba(27, 23, 24, .12);
}

body[data-country-code="CD"] #brand-home-link .text-2xl {
  color: #1b1718 !important;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-style: normal;
  font-weight: 500 !important;
  letter-spacing: -.04em;
}

body[data-country-code="CD"] #brand-home-link .text-red-600 { color: #75192e !important; }
body[data-country-code="CD"] #brand-home-link .text-xs {
  color: #746c68 !important;
  font-size: .59rem;
  font-weight: 700;
  letter-spacing: .17em;
}

body[data-country-code="CD"] #desktop-primary-nav .nav-item {
  border-radius: 0 !important;
  color: #332e2c !important;
  font-size: .79rem;
  font-weight: 600;
  letter-spacing: -.01em;
}

body[data-country-code="CD"] #desktop-primary-nav .nav-item:hover {
  background: transparent !important;
  color: #75192e !important;
}

body[data-country-code="CD"] #nav-list-property,
body[data-country-code="CD"] #hero-list-property-btn {
  border-radius: .2rem !important;
  background: #75192e !important;
  color: #fff !important;
  box-shadow: none !important;
}

body[data-country-code="CD"] .bg-green-900,
body[data-country-code="CD"] footer { background-color: #1b1718 !important; }
body[data-country-code="CD"] .bg-green-800,
body[data-country-code="CD"] .bg-green-700 { background-color: #75192e !important; }
body[data-country-code="CD"] .text-green-900,
body[data-country-code="CD"] .text-green-800,
body[data-country-code="CD"] .text-green-700 { color: #75192e !important; }
body[data-country-code="CD"] .border-green-700,
body[data-country-code="CD"] .border-green-200,
body[data-country-code="CD"] .border-green-100 { border-color: rgba(117, 25, 46, .2) !important; }
body[data-country-code="CD"] .bg-green-50 { background-color: #f8f1f2 !important; }
body[data-country-code="CD"] .hover\:bg-green-50:hover { background-color: #f3e8ea !important; }

html.route-loading::after {
  width: 28%;
  height: 2px;
  background: linear-gradient(90deg, #75192e, #c8aa70);
  box-shadow: none;
}

.fanadako-premium-home { background: var(--fanadako-cream); }
.fanadako-premium-home .fanadako-section-shell {
  width: min(100% - 2rem, 90rem);
  margin-inline: auto;
}

body[data-country-code="CD"] .fanadako-premium-hero.hero-bg {
  position: relative;
  display: grid;
  min-height: 47rem;
  overflow: hidden;
  background: #1b1718 !important;
  isolation: isolate;
}

body[data-country-code="CD"] #hero-home::before { display: none; }
.fanadako-hero-media,
.fanadako-hero-shade,
.fanadako-hero-image { position: absolute; inset: 0; }
.fanadako-hero-media { z-index: -3; }
.fanadako-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 56%;
  opacity: 0;
  transform: scale(1.025);
  transition: opacity 1.1s ease, transform 8s ease;
}
.fanadako-hero-image.is-active { opacity: 1; transform: scale(1.075); }
.fanadako-hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(20, 15, 16, .82) 0%, rgba(20, 15, 16, .42) 52%, rgba(20, 15, 16, .18) 100%),
    linear-gradient(180deg, rgba(20, 15, 16, .2), rgba(20, 15, 16, .68));
}

.fanadako-hero-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: min(100% - 2rem, 90rem);
  min-height: 47rem;
  margin-inline: auto;
  padding: 7.5rem 0 1.5rem;
}

.fanadako-hero-copy { max-width: 58rem; }
.fanadako-eyebrow,
.fanadako-section-kicker {
  color: #8a6a32;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif !important;
  font-size: .67rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: .18em;
  line-height: 1.4;
  text-transform: uppercase;
}
.fanadako-eyebrow { color: #ead8b4; }
.fanadako-hero-copy h1 {
  max-width: 54rem;
  margin: .55rem 0 .6rem;
  color: #fff;
  font-size: clamp(3rem, 6.3vw, 6.8rem);
  font-weight: 400;
  line-height: .91;
  text-wrap: balance;
}
.fanadako-hero-copy > p {
  max-width: 51rem;
  color: rgba(255, 255, 255, .87);
  font-size: clamp(.94rem, 1.55vw, 1.18rem);
  font-weight: 500;
  line-height: 1.55;
}
.fanadako-hero-copy .hero-opportunity-counter { color: #fff; }

.fanadako-search-shell {
  width: min(100%, 72rem);
  margin: 2rem 0 0;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: .25rem !important;
  background: rgba(250, 248, 244, .96) !important;
  padding: .8rem;
  color: #1b1718;
  box-shadow: 0 22px 65px rgba(13, 10, 11, .28);
  backdrop-filter: blur(18px);
}
.fanadako-search-tabs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .1rem .25rem .72rem;
}
.fanadako-tab-list { display: flex; align-items: center; gap: .15rem; overflow-x: auto; }
.fanadako-search-shell .hero-tab {
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  padding: .6rem .75rem;
  color: #675f5b;
  font-size: .74rem;
  font-weight: 750;
  white-space: nowrap;
}
.fanadako-search-shell .hero-tab.active {
  border-color: #75192e;
  background: transparent;
  color: #75192e;
}
.fanadako-list-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border: 0;
  background: transparent;
  color: #75192e;
  font-size: .75rem;
  font-weight: 800;
  white-space: nowrap;
}
.fanadako-search-row {
  display: grid;
  grid-template-columns: minmax(17rem, 1fr) minmax(9rem, auto) auto;
  gap: 1px;
  overflow: visible;
  border: 1px solid #d7d1ca;
  background: #d7d1ca;
}
.fanadako-search-row .hero-field,
.fanadako-search-row .hero-location-control,
.fanadako-search-row .hero-search-btn {
  min-height: 3.55rem;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.fanadako-search-row .hero-field { background: #fff; }
.fanadako-search-row .hero-location-wrap { background: #fff; }
.fanadako-search-row .hero-location-control { color: #332e2c; }
body[data-country-code="CD"] .fanadako-search-row #hero-search-btn {
  min-width: 8rem;
  background: #75192e !important;
  color: #fff;
}
.fanadako-search-row .hero-location-helper { color: #584f4c; }
.fanadako-filter-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .45rem;
  margin-top: .6rem;
}
.fanadako-search-shell .hero-filter-field,
.fanadako-search-shell .hero-filter-button,
.fanadako-search-shell .hero-advanced-field {
  min-height: 2.65rem;
  border-color: #ded8d1;
  border-radius: .15rem;
  background: #fff;
  color: #332e2c;
  font-size: .73rem;
}
.fanadako-search-shell .hero-advanced-panel {
  margin-top: .55rem;
  border-color: #ded8d1;
  border-radius: .2rem;
  background: #f7f4ef;
}
.fanadako-advanced-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .45rem; }
.fanadako-filter-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .35rem; }
.fanadako-filter-actions button { border: 1px solid #75192e; border-radius: .15rem; background: #75192e; color: #fff; font-size: .72rem; font-weight: 800; }
.fanadako-filter-actions button:last-child { background: #fff; color: #75192e; }

.fanadako-hero-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  color: rgba(255, 255, 255, .68);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.fanadako-hero-dots { display: flex; gap: .5rem; }
.fanadako-hero-dots button {
  width: 2rem;
  height: 2px;
  border: 0;
  background: rgba(255, 255, 255, .42);
  transition: width .25s ease, background .25s ease;
}
.fanadako-hero-dots button.is-active { width: 3.6rem; background: #fff; }

.fanadako-ai-section { padding: 2.3rem 0; background: #1b1718; }
.fanadako-ai-section .ask-ai-search-shell {
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: .25rem;
  background: #272122;
  color: #fff;
}
.fanadako-ai-section .ask-ai-search-title { color: #fff; font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.fanadako-ai-section .ask-ai-search-subtitle { color: #cfc7c3; }
.fanadako-ai-section .ask-ai-scope-chip { border-color: rgba(200, 170, 112, .32); background: rgba(200, 170, 112, .1); color: #ead8b4; }
.fanadako-ai-section .ask-ai-search-submit { border-radius: .15rem; background: #75192e; }

.fanadako-property-section,
.fanadako-agents-section,
.fanadako-map-section,
.fanadako-popular-section,
.fanadako-values-section,
.fanadako-podcast-section { padding: clamp(4.2rem, 8vw, 7.8rem) 0; }
.fanadako-section-light { background: #faf8f4; }
.fanadako-section-paper { background: #f0ece6; }
.fanadako-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.2rem;
}
.fanadako-section-heading h2,
.fanadako-values-section h2,
.fanadako-popular-section h2,
.fanadako-podcast-section h2 {
  margin-top: .4rem;
  color: #1b1718;
  font-size: clamp(2.2rem, 4vw, 4.4rem);
  font-weight: 400;
  line-height: 1;
}
.fanadako-section-heading p:not(.fanadako-section-kicker) { max-width: 42rem; margin-top: .75rem; color: #6c6460; line-height: 1.6; }
.fanadako-section-heading a {
  flex: 0 0 auto;
  border-bottom: 1px solid #75192e;
  color: #75192e;
  font-size: .75rem;
  font-weight: 800;
  padding-bottom: .2rem;
}
.fanadako-property-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.fanadako-property-grid > .fanadako-loading-copy { grid-column: 1 / -1; }
.fanadako-loading-copy { padding: 2rem 0; color: #6f6762; }
.fanadako-premium-home .property-card {
  overflow: hidden;
  border: 1px solid rgba(27, 23, 24, .11) !important;
  border-radius: .2rem !important;
  background: #fff;
  box-shadow: none !important;
  transition: transform .25s ease, box-shadow .25s ease;
}
.fanadako-premium-home .property-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 46px rgba(27, 23, 24, .09) !important;
}
.fanadako-premium-home .property-card img { border-radius: 0 !important; }
.fanadako-premium-home .property-card .text-green-700,
.fanadako-premium-home .property-card .text-green-800 { color: #75192e !important; }
.fanadako-premium-home .property-description-tooltip {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

.fanadako-agency-section { padding: clamp(4rem, 7vw, 6.5rem) 0; background: #75192e; color: #fff; }
.fanadako-agency-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(25rem, .85fr); align-items: end; gap: clamp(3rem, 8vw, 8rem); }
.fanadako-agency-section .fanadako-section-kicker { color: #ead8b4; }
.fanadako-agency-section h2 { max-width: 54rem; margin-top: .55rem; font-size: clamp(2.5rem, 5vw, 5.4rem); font-weight: 400; line-height: .97; }
.fanadako-agency-section p:not(.fanadako-section-kicker) { max-width: 48rem; margin-top: 1.4rem; color: rgba(255, 255, 255, .8); line-height: 1.7; }
.fanadako-primary-cta { display: inline-flex; align-items: center; justify-content: space-between; gap: 3rem; min-width: 15rem; margin-top: 2rem; border: 1px solid #fff; border-radius: .15rem; padding: .95rem 1.15rem; color: #fff; font-size: .78rem; font-weight: 800; }
.fanadako-primary-cta:hover { background: #fff; color: #75192e; }
.fanadako-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid rgba(255, 255, 255, .28); }
.fanadako-metrics > div { padding: 1.4rem .9rem 0; border-left: 1px solid rgba(255, 255, 255, .22); }
.fanadako-metrics > div:first-child { border-left: 0; padding-left: 0; }
.fanadako-metrics dt { font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 3vw, 3.5rem); line-height: 1; }
.fanadako-metrics dd { margin-top: .6rem; color: rgba(255, 255, 255, .7); font-size: .67rem; font-weight: 700; line-height: 1.4; }

.fanadako-values-section { background: #1b1718; color: #fff; }
.fanadako-values-section .fanadako-section-kicker { color: #c8aa70; }
.fanadako-values-section h2 { max-width: 55rem; color: #fff; }
.fanadako-values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 4rem; border-top: 1px solid rgba(255, 255, 255, .18); }
.fanadako-values-grid article { padding: 2rem 2rem 0; border-left: 1px solid rgba(255, 255, 255, .18); }
.fanadako-values-grid article:first-child { padding-left: 0; border-left: 0; }
.fanadako-values-grid span { color: #c8aa70; font-size: .66rem; font-weight: 800; letter-spacing: .12em; }
.fanadako-values-grid h3 { margin-top: 2.5rem; color: #fff; font-size: 1.65rem; font-weight: 400; }
.fanadako-values-grid p { margin-top: .8rem; color: #bdb5b1; font-size: .88rem; line-height: 1.7; }

.fanadako-popular-section { background: #faf8f4; }
.fanadako-popular-links { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 2.8rem; border-top: 1px solid #cfc8c0; }
.fanadako-popular-links a { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #cfc8c0; padding: 1.1rem .2rem; color: #1b1718; font-family: Georgia, "Times New Roman", serif; font-size: 1.45rem; }
.fanadako-popular-links a::after { content: "↗"; color: #75192e; font-family: Inter, sans-serif; font-size: .8rem; }
.fanadako-popular-links a:hover { color: #75192e; }

.fanadako-podcast-section { background: #dfd5ca; }
.fanadako-podcast-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(18rem, .8fr); gap: 4rem; align-items: end; }
.fanadako-podcast-section h2 { max-width: 48rem; }
.fanadako-podcast-section p:not(.fanadako-section-kicker) { max-width: 43rem; margin-top: 1rem; color: #5f5753; line-height: 1.7; }
.fanadako-coming-soon { display: inline-flex; margin-top: 1.5rem; border: 1px solid #75192e; padding: .45rem .7rem; color: #75192e; font-size: .65rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.fanadako-social-discovery { display: grid; border-top: 1px solid rgba(27, 23, 24, .28); }
.fanadako-social-discovery p { padding: 0 0 1rem; color: #1b1718 !important; font-size: .72rem; font-weight: 800; }
.fanadako-social-discovery a { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid rgba(27, 23, 24, .18); padding: 1rem 0; color: #1b1718; font-weight: 700; }
.fanadako-social-discovery a:hover { color: #75192e; }

.fanadako-agents-section { background: #f0ece6; }
.fanadako-map-section { background: #faf8f4; }
.fanadako-map-section #map-home { min-height: 34rem; border: 1px solid rgba(27, 23, 24, .16); border-radius: .2rem !important; }

body[data-country-code="CD"] .page:not(.fanadako-premium-home) > [class*="bg-[#0f3d2e]"],
body[data-country-code="CD"] .page:not(.fanadako-premium-home) > .bg-green-800,
body[data-country-code="CD"] .page:not(.fanadako-premium-home) > .bg-green-900 {
  background: #1b1718 !important;
}
body[data-country-code="CD"] .page:not(.fanadako-premium-home) .property-card { border-radius: .25rem !important; box-shadow: none !important; }
body[data-country-code="CD"] .page:not(.fanadako-premium-home) button.bg-green-700,
body[data-country-code="CD"] .page:not(.fanadako-premium-home) a.bg-green-700 { border-radius: .2rem !important; background: #75192e !important; }
body[data-country-code="CD"] .section-search-shell { background: #f5f1ec !important; }
body[data-country-code="CD"] .section-search-submit {
  border-radius: .2rem !important;
  background: #75192e !important;
  color: #fff !important;
}
body[data-country-code="CD"] .section-search-query,
body[data-country-code="CD"] .canonical-location-nearby,
body[data-country-code="CD"] .section-search-inner select { border-radius: .2rem !important; }
body[data-country-code="CD"] .canonical-location-nearby { color: #75192e !important; }
body[data-country-code="CD"] .page:not(.fanadako-premium-home) .ask-ai-search-shell {
  border-color: rgba(117, 25, 46, .16) !important;
  border-radius: .25rem !important;
  box-shadow: none !important;
}
body[data-country-code="CD"] .page:not(.fanadako-premium-home) .ask-ai-search-title {
  color: #1b1718 !important;
  font-family: Georgia, "Times New Roman", serif;
  font-style: normal;
  font-weight: 400;
}
body[data-country-code="CD"] .page:not(.fanadako-premium-home) .ask-ai-scope-chip {
  border-color: rgba(117, 25, 46, .18) !important;
  background: #f8f1f2 !important;
  color: #75192e !important;
}
body[data-country-code="CD"] .page:not(.fanadako-premium-home) .ask-ai-search-submit { background: #75192e !important; }
body[data-country-code="CD"] #page-investment .investment-showroom-loading { border-color: rgba(117, 25, 46, .3); color: #5b4c4f; }
body[data-country-code="CD"] #page-investment .showroom-detail-hero { background: #1b1718; }
body[data-country-code="CD"] #page-investment .showroom-control { border-color: rgba(117, 25, 46, .2); color: #75192e; }
body[data-country-code="CD"] #page-investment .showroom-control:hover { background: #f8f1f2; }

@media (min-width: 1200px) and (max-width: 1535px) {
  body[data-country-code="CD"] #desktop-primary-nav #nav-ai { display: inline-flex !important; }
}

@media (max-width: 1023px) {
  .fanadako-property-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fanadako-agency-layout,
  .fanadako-podcast-layout { grid-template-columns: 1fr; }
  .fanadako-search-row { grid-template-columns: minmax(14rem, 1fr) minmax(8rem, auto) auto; }
}

@media (max-width: 767px) {
  body[data-country-code="CD"] > nav > div { min-height: 4.5rem; }
  body[data-country-code="CD"] #brand-home-link .text-2xl { font-size: 1.28rem; }
  body[data-country-code="CD"] .fanadako-logo-mark { width: 2.6rem; height: 2.6rem; }
  .fanadako-hero-content { min-height: 44rem; padding-top: 5rem; }
  body[data-country-code="CD"] .fanadako-premium-hero.hero-bg { min-height: 44rem; }
  .fanadako-hero-copy h1 { font-size: clamp(2.7rem, 13vw, 4.5rem); }
  .fanadako-search-tabs { align-items: flex-start; }
  .fanadako-list-link { padding-top: .55rem; }
  .fanadako-search-row { grid-template-columns: 1fr; gap: 1px; }
  .fanadako-search-row .hero-location-wrap { min-height: 3.2rem; }
  .fanadako-search-row .hero-location-control { width: 100%; }
  .fanadako-filter-row,
  .fanadako-advanced-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fanadako-filter-actions { grid-column: 1 / -1; min-height: 2.6rem; }
  .fanadako-section-heading { align-items: flex-start; }
  .fanadako-property-grid { grid-template-columns: 1fr; }
  .fanadako-values-grid { grid-template-columns: 1fr; }
  .fanadako-values-grid article,
  .fanadako-values-grid article:first-child { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .18); padding: 1.8rem 0; }
  .fanadako-values-grid article:first-child { border-top: 0; }
  .fanadako-values-grid h3 { margin-top: 1.3rem; }
  .fanadako-popular-links { grid-template-columns: 1fr; }
  .fanadako-metrics { grid-template-columns: 1fr; }
  .fanadako-metrics > div,
  .fanadako-metrics > div:first-child { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .22); padding: 1.3rem 0; }
}

@media (max-width: 639px) {
  #top-language-label { display: none !important; }
  body[data-country-code="CD"] #lang-sel { display: block !important; max-width: 7.2rem; font-size: .7rem; }
  body[data-country-code="CD"] .mk-top-strip .topbar-left a { display: none !important; }
  body[data-country-code="CD"] .mk-top-strip > div { gap: .4rem; }
  .fanadako-search-shell { padding: .55rem; }
  .fanadako-tab-list { width: 100%; }
  .fanadako-search-tabs { display: block; }
  .fanadako-list-link { margin: .2rem 0 0 .65rem; }
  .fanadako-hero-footer > span { display: none; }
  .fanadako-section-heading { display: block; }
  .fanadako-section-heading a { display: inline-block; margin-top: 1.2rem; }
  .fanadako-map-section #map-home { min-height: 27rem; }
}

@media (prefers-reduced-motion: reduce) {
  .fanadako-hero-image { transition: none !important; transform: none !important; }
}

/* Audit acceptance layer v21 — intentionally last so legacy utility rules cannot leak through. */
:root {
  --fd-red: #75192e;
  --fd-red-dark: #581020;
  --fd-ink: #151515;
  --fd-paper: #f7f6f2;
  --fd-gold: #c8aa70;
}

body[data-country-code="CD"] { background: var(--fd-paper) !important; color: var(--fd-ink); font-family: "Inter", Arial, sans-serif !important; }
body[data-country-code="CD"] :is(h1, h2, h3, .serif, .fanadako-wordmark) { font-family: "Prata", Georgia, serif !important; font-style: normal !important; }
body[data-country-code="CD"] :is(em, i):not(.fa):not(.fas):not(.far):not(.fab) { font-style: normal !important; }
body[data-country-code="CD"] :is([class*="text-green"], [class*="text-emerald"], [class*="text-blue"], [class*="text-sky"], [class*="text-teal"], [class*="text-indigo"]) { color: var(--fd-red) !important; }
body[data-country-code="CD"] :is([class*="border-green"], [class*="border-emerald"], [class*="border-blue"], [class*="border-sky"], [class*="border-teal"], [class*="border-indigo"]) { border-color: rgba(21, 21, 21, .16) !important; }
body[data-country-code="CD"] :is([class*="bg-green"], [class*="bg-emerald"], [class*="bg-blue"], [class*="bg-sky"], [class*="bg-teal"], [class*="bg-indigo"]) { background: var(--fd-paper) !important; }
body[data-country-code="CD"] :is(button, a, input[type="submit"]):is([class*="bg-green"], [class*="bg-blue"], [class*="bg-emerald"], [class*="bg-teal"], [class*="bg-indigo"]) { border-color: var(--fd-red) !important; background: var(--fd-red) !important; color: #fff !important; }
body[data-country-code="CD"] :is([class*="from-green"], [class*="from-emerald"], [class*="from-blue"], [class*="from-indigo"], [class*="via-green"], [class*="via-blue"], [class*="to-green"], [class*="to-blue"]) { background: var(--fd-ink) !important; }

body[data-country-code="CD"] .fanadako-premium-hero.hero-bg,
body[data-country-code="CD"] .fanadako-hero-content {
  height: 550px !important;
  min-height: 550px !important;
  max-height: 550px !important;
}
body[data-country-code="CD"] .fanadako-premium-hero.hero-bg { border-radius: 0 !important; }
body[data-country-code="CD"] .fanadako-hero-content { padding-top: 108px !important; padding-bottom: 18px !important; }
body[data-country-code="CD"] .fanadako-hero-copy h1 { max-width: 760px; font-size: clamp(38px, 3.05vw, 44px) !important; line-height: 1.12 !important; }
body[data-country-code="CD"] .fanadako-search-shell { display: flex; flex-direction: column; }
body[data-country-code="CD"] .fanadako-search-secondary { order: 1; margin: 0 0 10px; }
body[data-country-code="CD"] .fanadako-search-row { order: 2; }
body[data-country-code="CD"] .fanadako-tab-list { max-width: 100%; }
body[data-country-code="CD"] .fanadako-hero-footer { display: none !important; }

body[data-country-code="CD"] :is(#page-sale, #page-rent, #page-students, #page-commercial, #page-land) > :nth-child(2) { position: sticky; top: 0; z-index: 42; }
body[data-country-code="CD"] :is(#page-sale, #page-rent, #page-students, #page-commercial, #page-land) > :nth-child(2) > div { max-height: 82px; overflow: auto; scrollbar-width: thin; }

body[data-country-code="CD"] #page-investment .fd-investment-hero { background: var(--fd-ink) !important; }
body[data-country-code="CD"] #page-investment .fd-investment-hero h1 { max-width: 900px; color: #fff !important; font-size: clamp(38px, 5vw, 68px) !important; }
body[data-country-code="CD"] #page-investment :is(.fd-investment-toolbar button, .fd-enquiry button, .fd-investment-tools form > button) { border-color: var(--fd-red) !important; background: var(--fd-red) !important; color: #fff !important; }
body[data-country-code="CD"] #page-investment .fd-investment-card a { color: var(--fd-red) !important; background: transparent !important; }

@media (max-width: 767px) {
  body[data-country-code="CD"] .fanadako-premium-hero.hero-bg,
  body[data-country-code="CD"] .fanadako-hero-content { height: 475px !important; min-height: 475px !important; max-height: 475px !important; }
  body[data-country-code="CD"] .fanadako-hero-content { padding-top: 100px !important; }
  body[data-country-code="CD"] .fanadako-hero-copy h1 { margin-bottom: 12px; font-size: 30px !important; line-height: 1.12 !important; }
  body[data-country-code="CD"] .fanadako-search-row { grid-template-columns: minmax(0, 1fr) 92px !important; }
  body[data-country-code="CD"] .fanadako-main-select { display: none !important; }
  body[data-country-code="CD"] .fanadako-location-field { min-height: 48px; border-right: 1px solid #dedede !important; border-bottom: 0 !important; }
  body[data-country-code="CD"] .fanadako-search-row #hero-search-btn { width: 92px; min-height: 48px; border-radius: 0 .25rem .25rem 0 !important; }
  body[data-country-code="CD"] .fanadako-search-secondary { width: 100%; }
  body[data-country-code="CD"] .fanadako-tab-list { max-width: calc(100vw - 76px); justify-content: flex-start; }
  body[data-country-code="CD"] #page-investment .fd-investment-hero h1 { font-size: 34px !important; }
}

/* Fanadako audit fixes v21: one enforced public palette and compact responsive shell. */
:root {
  --fd-red: #75192e;
  --fd-red-dark: #581020;
  --fd-ink: #151515;
  --fd-paper: #f7f6f2;
  --fd-gold: #c8aa70;
}

body[data-country-code="CD"] :is([class*="text-green"], [class*="text-emerald"], [class*="text-blue"], [class*="text-sky"], [class*="text-teal"], [class*="#15603f"], [class*="#007fff"], [class*="#0b8"]),
body[data-country-code="CD"] :is([style*="#15603f"], [style*="#007fff"], [style*="#008"], [style*="#0b8"]) { color: var(--fd-red) !important; }
body[data-country-code="CD"] :is([class*="border-green"], [class*="border-emerald"], [class*="border-blue"], [class*="border-sky"], [class*="border-teal"], [class*="#e4ece8"], [class*="#dbe8e0"]) { border-color: rgba(21, 21, 21, .16) !important; }
body[data-country-code="CD"] :is([class*="bg-green"], [class*="bg-emerald"], [class*="bg-blue"], [class*="bg-sky"], [class*="bg-teal"], [class*="#f0f6f2"], [class*="#f6f9f7"]) { background: var(--fd-paper) !important; }
body[data-country-code="CD"] :is(button, a, input[type="submit"])[class*="bg-green"],
body[data-country-code="CD"] :is(button, a, input[type="submit"])[class*="bg-blue"],
body[data-country-code="CD"] :is(button, a, input[type="submit"])[class*="#15603f"],
body[data-country-code="CD"] :is(button, a, input[type="submit"])[class*="#007fff"] { background: var(--fd-red) !important; color: #fff !important; }
body[data-country-code="CD"] :is([class*="from-green"], [class*="from-emerald"], [class*="from-blue"], [class*="via-green"], [class*="via-emerald"], [class*="via-blue"], [class*="to-green"], [class*="to-emerald"], [class*="to-blue"]) { background: var(--fd-ink) !important; }
body[data-country-code="CD"] :is(.toast, [role="status"]):not([class*="error"]):not([class*="red"]) { --tw-ring-color: rgba(117, 25, 46, .22); }

body[data-country-code="CD"] .fanadako-premium-hero.hero-bg,
body[data-country-code="CD"] .fanadako-hero-content {
  height: 550px;
  min-height: 550px;
  max-height: 550px;
}
body[data-country-code="CD"] .fanadako-hero-content { padding-top: 108px; padding-bottom: 18px; }
body[data-country-code="CD"] .fanadako-hero-copy h1 { max-width: 760px; font-size: clamp(38px, 3.05vw, 44px); line-height: 1.12; }
body[data-country-code="CD"] .fanadako-search-secondary { order: 1; margin: 0 0 10px; }
body[data-country-code="CD"] .fanadako-search-row { order: 2; }
body[data-country-code="CD"] .fanadako-search-shell { display: flex; flex-direction: column; }
body[data-country-code="CD"] .fanadako-tab-list { max-width: 100%; }
body[data-country-code="CD"] .fanadako-hero-footer { display: none; }

body[data-country-code="CD"] :is(#page-sale, #page-rent, #page-students, #page-commercial, #page-land) > :nth-child(2) {
  position: sticky;
  top: 0;
  z-index: 42;
}
body[data-country-code="CD"] :is(#page-sale, #page-rent, #page-students, #page-commercial, #page-land) > :nth-child(2) > div {
  max-height: 82px;
  overflow: auto;
  scrollbar-width: thin;
}

.fd-investment-shell { width: min(calc(100% - 32px), 1320px); margin-inline: auto; }
.fd-investment-hero { background: var(--fd-ink); color: #fff; padding: 48px 0 0; }
.fd-investment-hero h1 { max-width: 900px; margin: 10px 0 14px; color: #fff; font-size: clamp(38px, 5vw, 68px); line-height: 1.08; }
.fd-investment-hero p:not(.fd-kicker) { max-width: 760px; color: rgba(255,255,255,.76); font-size: 16px; line-height: 1.65; }
.fd-kicker { color: var(--fd-gold); font: 600 11px/1.4 var(--fd-sans); letter-spacing: .13em; }
.fd-breadcrumb { display: flex; gap: 9px; margin-bottom: 32px; color: rgba(255,255,255,.7); font-size: 12px; }
.fd-breadcrumb a { color: #fff; }
.fd-investment-tabs { display: flex; gap: 0; margin-top: 34px; overflow-x: auto; scrollbar-width: none; }
.fd-investment-tabs::-webkit-scrollbar { display: none; }
.fd-investment-tabs a { flex: 0 0 auto; border-bottom: 3px solid transparent; padding: 16px 18px; color: rgba(255,255,255,.72); font-size: 12px; }
.fd-investment-tabs a[aria-current="page"] { border-color: var(--fd-gold); color: #fff; }
.fd-investment-main { padding-block: 34px 72px; }
.fd-investment-toolbar { display: grid; grid-template-columns: 1.7fr repeat(3, minmax(150px, .7fr)) auto; gap: 9px; padding: 14px; background: #fff; border: 1px solid var(--fd-line); }
.fd-investment-toolbar :is(input, select, button) { width: 100%; min-height: 44px; border: 1px solid #d9d6d0; border-radius: 0; background: #fff; padding: 0 12px; color: var(--fd-ink); font: 500 12px var(--fd-sans); }
.fd-investment-toolbar button { border-color: var(--fd-red); background: var(--fd-red); color: #fff; }
.fd-investment-count { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; margin: 30px 0 18px; }
.fd-investment-count h2 { font-size: 26px; }
.fd-investment-count span { color: var(--fd-muted); font-size: 12px; }
.fd-investment-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, .7fr); gap: 24px; align-items: start; }
.fd-investment-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.fd-investment-card { background: #fff; border: 1px solid var(--fd-line); }
.fd-investment-card-media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: #e6e2da; }
.fd-investment-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.fd-investment-card:hover img { transform: scale(1.025); }
.fd-investment-card-media span { position: absolute; left: 12px; bottom: 12px; background: rgba(21,21,21,.88); color: #fff; padding: 7px 9px; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.fd-investment-card-body { padding: 18px; }
.fd-investment-card h3 { margin: 6px 0 7px; font-size: 22px; }
.fd-investment-card p { color: var(--fd-muted); font-size: 12px; line-height: 1.55; }
.fd-investment-card-meta { display: flex; justify-content: space-between; gap: 10px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--fd-line); }
.fd-investment-card-price { color: var(--fd-ink) !important; font-weight: 700; }
.fd-investment-card a { display: inline-flex; margin-top: 16px; color: var(--fd-red); font-weight: 700; font-size: 12px; }
.fd-investment-map { position: sticky; top: 92px; background: #fff; border: 1px solid var(--fd-line); }
#investment-map-canvas { min-height: 520px; background: radial-gradient(circle at 35% 38%, #ddd8cf 0 3px, transparent 4px), linear-gradient(135deg,#ece8e1,#d8d4cc); }
.fd-investment-map p { margin: 0; padding: 12px; color: var(--fd-muted); font-size: 10px; line-height: 1.5; }
.fd-map-pin { position: absolute; width: 14px; height: 14px; border: 3px solid #fff; border-radius: 50%; background: var(--fd-red); box-shadow: 0 2px 9px rgba(0,0,0,.25); }
.fd-investment-map #investment-map-canvas { position: relative; }
.fd-project-detail { background: #fff; border: 1px solid var(--fd-line); }
.fd-project-hero { display: grid; grid-template-columns: 1.2fr .8fr; }
.fd-project-hero img { width: 100%; min-height: 430px; height: 100%; object-fit: cover; background: #e6e2da; }
.fd-project-copy { padding: clamp(26px,4vw,54px); }
.fd-project-copy h1 { margin: 10px 0 14px; font-size: clamp(34px,4vw,58px); }
.fd-project-copy p { color: var(--fd-muted); line-height: 1.7; }
.fd-project-gallery { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; margin-top: 2px; }
.fd-project-gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; background: #e6e2da; }
.fd-project-map { display: grid; grid-template-columns: 1.5fr .5fr; gap: 1px; margin-top: 1px; background: var(--fd-line); }
.fd-project-map iframe { width: 100%; min-height: 360px; border: 0; background: #e6e2da; }
.fd-project-map > div { background: #fff; padding: 24px; }
.fd-project-map h2 { margin-bottom: 12px; font-size: 21px; }
.fd-project-map p { color: var(--fd-muted); font-size: 12px; line-height: 1.6; }
.fd-project-map a { display: inline-flex; margin-top: 14px; color: var(--fd-red); font-size: 12px; font-weight: 700; }
.fd-project-facts { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--fd-line); margin-top: 1px; }
.fd-project-facts > div { background: #fff; padding: 24px; }
.fd-project-facts h2 { margin-bottom: 12px; font-size: 21px; }
.fd-project-facts :is(p,li) { color: var(--fd-muted); font-size: 12px; line-height: 1.6; }
.fd-enquiry { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.fd-enquiry :is(input,textarea,button) { border: 1px solid #d9d6d0; border-radius: 0; padding: 11px; }
.fd-enquiry textarea { grid-column: 1/-1; }
.fd-enquiry button { grid-column: 1/-1; background: var(--fd-red); color: #fff; font-weight: 700; }
.fd-investment-tools { display: grid; grid-template-columns: .8fr 1.2fr; gap: 24px; margin-top: 56px; }
.fd-investment-tools > * { background: #fff; border: 1px solid var(--fd-line); padding: clamp(22px,3vw,38px); }
.fd-investment-tools h2 { margin: 8px 0 16px; font-size: 28px; }
.fd-investment-tools li { margin: 10px 0; color: var(--fd-muted); line-height: 1.55; }
.fd-calc-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
.fd-calc-grid label { color: var(--fd-muted); font-size: 11px; }
.fd-calc-grid input { width: 100%; margin-top: 6px; border: 1px solid #d9d6d0; padding: 11px; }
.fd-investment-tools form > button { margin-top: 14px; border: 0; background: var(--fd-red); color: #fff; padding: 12px 18px; font-weight: 700; }
.fd-calc-results { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; margin-top: 18px; background: var(--fd-line); }
.fd-calc-results span { background: var(--fd-paper); padding: 12px; color: var(--fd-muted); font-size: 10px; }
.fd-calc-results strong { display: block; margin-top: 5px; color: var(--fd-ink); font-size: 17px; }
.fd-disclaimer { margin-top: 14px; color: var(--fd-muted); font-size: 10px; line-height: 1.5; }
.fd-investment-loading,.fd-investment-empty { grid-column: 1/-1; padding: 50px 20px; border: 1px solid var(--fd-line); background: #fff; text-align: center; color: var(--fd-muted); }

@media (max-width: 767px) {
  body[data-country-code="CD"] .fanadako-premium-hero.hero-bg,
  body[data-country-code="CD"] .fanadako-hero-content { height: 475px; min-height: 475px; max-height: 475px; }
  body[data-country-code="CD"] .fanadako-hero-content { padding-top: 100px; }
  body[data-country-code="CD"] .fanadako-hero-copy h1 { margin-bottom: 12px; font-size: 30px; line-height: 1.12; }
  body[data-country-code="CD"] .fanadako-search-row { grid-template-columns: 1fr auto; }
  body[data-country-code="CD"] .fanadako-main-select { display: none; }
  body[data-country-code="CD"] .fanadako-location-field { border-bottom: 0; border-right: 1px solid #dedede; }
  body[data-country-code="CD"] .fanadako-search-row #hero-search-btn { width: 92px; border-radius: 0 .25rem .25rem 0 !important; }
  body[data-country-code="CD"] .fanadako-search-secondary { width: 100%; }
  body[data-country-code="CD"] .fanadako-tab-list { max-width: calc(100vw - 76px); }
  body[data-country-code="CD"] .fanadako-province-rail { padding-right: 30px; }
  .fd-investment-shell { width: min(calc(100% - 24px), 1320px); }
  .fd-investment-hero { padding-top: 30px; }
  .fd-investment-hero h1 { font-size: 34px; }
  .fd-investment-toolbar { grid-template-columns: 1fr 1fr; }
  .fd-investment-toolbar label:first-child { grid-column: 1/-1; }
  .fd-investment-layout,.fd-investment-tools,.fd-project-hero { grid-template-columns: 1fr; }
  .fd-investment-grid { grid-template-columns: 1fr; }
  .fd-investment-map { position: static; }
  #investment-map-canvas { min-height: 300px; }
  .fd-project-hero img { min-height: 280px; }
  .fd-project-gallery,.fd-project-facts,.fd-project-map { grid-template-columns: 1fr; }
  .fd-calc-grid,.fd-calc-results { grid-template-columns: 1fr; }
  .fd-enquiry { grid-template-columns: 1fr; }
  body[data-country-code="CD"] footer .grid { grid-template-columns: 1fr !important; }
}

/* Fanadako v11: restrained luxury editorial system inspired by the approved reference. */
:root {
  --fd-ink: #151515;
  --fd-charcoal: #242120;
  --fd-paper: #f7f6f2;
  --fd-white: #ffffff;
  --fd-line: rgba(21, 21, 21, .14);
  --fd-red: #76182e;
  --fd-red-dark: #581020;
  --fd-muted: #717171;
  --fd-display: "Prata", Georgia, "Times New Roman", serif;
  --fd-sans: "Inter", Arial, sans-serif;
}

body[data-country-code="CD"] {
  background: var(--fd-paper);
  color: var(--fd-ink);
  font-family: var(--fd-sans);
  font-size: 14px;
}

body[data-country-code="CD"] h1,
body[data-country-code="CD"] h2,
body[data-country-code="CD"] h3,
body[data-country-code="CD"] .serif {
  font-family: var(--fd-display) !important;
  font-style: normal !important;
  font-weight: 400 !important;
  letter-spacing: -.035em;
}

body[data-country-code="CD"] #language-spotlight { display: none !important; }

body[data-country-code="CD"] .mk-top-strip {
  min-height: 38px;
  border: 0;
  background: var(--fd-ink) !important;
  font-family: var(--fd-sans);
  letter-spacing: 0;
}

body[data-country-code="CD"] .mk-top-strip > div {
  width: min(100% - 2rem, 90rem);
  min-height: 38px;
  margin-inline: auto;
  padding-inline: 0;
}

body[data-country-code="CD"] .mk-top-strip select {
  min-height: 26px;
  border: 1px solid rgba(255, 255, 255, .24) !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: #fff !important;
}

body[data-country-code="CD"] > nav {
  border-bottom: 1px solid var(--fd-line) !important;
  background: rgba(255, 255, 255, .97) !important;
  box-shadow: none;
  font-family: var(--fd-sans);
  backdrop-filter: blur(18px);
}

body[data-country-code="CD"] > nav > div:first-child {
  width: min(100% - 2rem, 90rem);
  min-height: 66px;
  margin-inline: auto;
  padding: 0;
  gap: 1.1rem;
}

body[data-country-code="CD"] #brand-home-link {
  min-width: max-content;
  margin-right: 1rem;
  gap: .8rem;
  color: var(--fd-ink);
}

.fanadako-nav-monogram {
  display: inline-flex;
  width: 1.35rem;
  align-items: center;
  justify-content: center;
  font-family: var(--fd-display);
  line-height: 1;
}

.fanadako-nav-monogram::before { content: "F"; font-size: 1.12rem; }
.fanadako-nav-monogram span { display: none; }

body[data-country-code="CD"] .fanadako-wordmark {
  color: inherit !important;
  font-family: var(--fd-display) !important;
  font-size: 1.18rem;
  font-weight: 400 !important;
  letter-spacing: -.055em;
  line-height: 1;
}

body[data-country-code="CD"] #brand-home-link .text-xs {
  margin-top: .32rem !important;
  color: currentColor !important;
  font-family: var(--fd-sans);
  font-size: .5rem;
  font-weight: 600;
  letter-spacing: .17em;
  opacity: .62;
}

body[data-country-code="CD"] #desktop-primary-nav {
  gap: 0;
  margin-left: auto;
}

body[data-country-code="CD"] #desktop-primary-nav .nav-item {
  min-height: 66px;
  display: inline-flex;
  align-items: center;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 .7rem !important;
  color: #2d2b2a !important;
  background: transparent !important;
  font-size: .75rem !important;
  font-weight: 400;
  letter-spacing: 0;
}

body[data-country-code="CD"] #desktop-primary-nav .nav-item:hover,
body[data-country-code="CD"] #desktop-primary-nav .nav-item:focus-visible {
  color: var(--fd-red) !important;
}

body[data-country-code="CD"] #nav-list-btn,
body[data-country-code="CD"] [data-harvest-public-submission] {
  min-height: 38px;
  border: 1px solid var(--fd-ink) !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: var(--fd-ink) !important;
  padding-inline: 1rem !important;
  font-size: .74rem;
  font-weight: 500;
}

body[data-country-code="CD"].fanadako-home-active .mk-top-strip {
  position: absolute;
  inset: 0 0 auto;
  z-index: 54;
  min-height: 66px;
  pointer-events: none;
  background: transparent !important;
}

body[data-country-code="CD"].fanadako-home-active .mk-top-strip > div {
  min-height: 66px;
  justify-content: flex-end;
}

body[data-country-code="CD"].fanadako-home-active .topbar-left,
body[data-country-code="CD"].fanadako-home-active #top-language-label { display: none !important; }

body[data-country-code="CD"].fanadako-home-active .topbar-actions {
  pointer-events: auto;
}

body[data-country-code="CD"].fanadako-home-active .topbar-actions a,
body[data-country-code="CD"].fanadako-home-active .topbar-actions select {
  color: #fff !important;
}

body[data-country-code="CD"].fanadako-home-active > nav {
  position: absolute;
  inset: 0 0 auto;
  z-index: 53;
  border-color: rgba(255, 255, 255, .28) !important;
  background: transparent !important;
  color: #fff;
  backdrop-filter: none;
}

body[data-country-code="CD"].fanadako-home-active > nav > div:first-child {
  padding-right: 23rem;
}

body[data-country-code="CD"].fanadako-home-active #brand-home-link,
body[data-country-code="CD"].fanadako-home-active #desktop-primary-nav .nav-item,
body[data-country-code="CD"].fanadako-home-active #mob-toggle {
  color: #fff !important;
}

body[data-country-code="CD"].fanadako-home-active > nav > div:first-child > .flex.items-center.gap-2 {
  display: flex !important;
}

body[data-country-code="CD"].fanadako-home-active :is(#nav-list-btn, [data-harvest-public-submission]) { display: none !important; }

body[data-country-code="CD"].fanadako-home-active #mob-toggle {
  position: absolute;
  top: 15px;
  right: 1rem;
}

body[data-country-code="CD"] .fanadako-premium-hero.hero-bg {
  min-height: clamp(43rem, calc(100svh - 2rem), 48rem);
  border-radius: 0 0 1.25rem 1.25rem;
}

.fanadako-province-rail {
  position: absolute;
  inset: 66px 0 auto;
  z-index: 4;
  display: flex;
  height: 46px;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 2.2vw, 2rem);
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, .25);
  color: #fff;
  font-family: var(--fd-sans);
  white-space: nowrap;
}

.fanadako-province-rail a {
  color: inherit;
  font-size: .72rem;
  font-weight: 400;
  opacity: .92;
}

.fanadako-province-rail a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }

.fanadako-hero-shade {
  background:
    linear-gradient(180deg, rgba(8, 12, 15, .22) 0%, rgba(8, 12, 15, .24) 45%, rgba(8, 12, 15, .62) 100%),
    linear-gradient(90deg, rgba(8, 12, 15, .24), rgba(8, 12, 15, .08), rgba(8, 12, 15, .22));
}

.fanadako-hero-content {
  width: min(100% - 2.5rem, 90rem);
  min-height: clamp(43rem, calc(100svh - 2rem), 48rem);
  align-items: center;
  justify-content: center;
  padding: 11rem 0 2rem;
  text-align: center;
}

.fanadako-hero-copy { display: contents; }
.fanadako-eyebrow { display: none; }

.fanadako-hero-copy h1 {
  order: 1;
  max-width: 68rem;
  margin: 0 auto 1.55rem;
  color: #fff;
  font-family: var(--fd-display) !important;
  font-size: clamp(2.55rem, 4vw, 4.15rem);
  font-weight: 400 !important;
  line-height: 1.08;
  letter-spacing: -.045em;
  text-shadow: 0 2px 22px rgba(0, 0, 0, .22);
}

.fanadako-hero-copy > p {
  order: 3;
  max-width: 56rem;
  margin: .95rem auto 0;
  color: rgba(255, 255, 255, .92);
  font-family: var(--fd-sans);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .055em;
  line-height: 1.55;
  text-transform: uppercase;
}

.fanadako-search-shell {
  order: 2;
  width: min(100%, 55.5rem);
  margin: 0 auto;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  padding: 0 !important;
  color: var(--fd-ink);
  box-shadow: none !important;
  backdrop-filter: none;
}

.fanadako-search-row {
  display: grid;
  grid-template-columns: minmax(18rem, 1fr) 10.5rem 10.5rem 10.5rem;
  gap: 0;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 14px 35px rgba(0, 0, 0, .16);
}

.fanadako-location-field {
  display: flex;
  min-width: 0;
  align-items: center;
  border-right: 1px solid #dedede;
  background: #fff;
}

.fanadako-location-field .hero-location-wrap {
  position: static;
  display: grid;
  flex: 0 0 3.2rem;
  width: 3.2rem !important;
  min-width: 3.2rem !important;
  max-width: 3.2rem !important;
  place-items: center;
  background: #fff;
}

.fanadako-location-field .hero-location-control {
  width: 3.2rem;
  min-height: 48px;
  border: 0 !important;
  border-radius: 999px 0 0 999px !important;
  padding: 0;
  color: var(--fd-ink);
  background: #fff;
}

.fanadako-location-field .hero-location-helper { display: none !important; }

.fanadako-search-row .hero-field,
.fanadako-search-row .hero-filter-field,
.fanadako-search-row .hero-search-btn {
  width: 100%;
  min-height: 48px;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-family: var(--fd-sans);
  font-size: .78rem;
}

.fanadako-search-row .hero-field {
  min-width: 0;
  padding: 0 .8rem 0 0;
  color: var(--fd-ink);
  background: #fff;
}

.fanadako-main-select {
  min-width: 0;
  border-right: 1px solid #dedede;
  background: #fff;
}

.fanadako-search-row .hero-filter-field {
  appearance: auto;
  padding: 0 1rem;
  color: var(--fd-muted);
  background: #fff;
}

body[data-country-code="CD"] .fanadako-search-row #hero-search-btn {
  min-width: 0;
  border-radius: 0 999px 999px 0 !important;
  background: var(--fd-red) !important;
  color: #fff;
  font-size: .86rem;
  font-weight: 500;
}

body[data-country-code="CD"] .fanadako-search-row #hero-search-btn:hover { background: var(--fd-red-dark) !important; }

.fanadako-search-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: .9rem;
  color: #fff;
}

.fanadako-tab-list {
  display: flex;
  align-items: center;
  gap: .15rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.fanadako-tab-list::-webkit-scrollbar { display: none; }

.fanadako-search-shell .hero-tab,
.fanadako-search-secondary .hero-filter-button,
.fanadako-search-secondary .fanadako-list-link {
  min-height: 30px;
  border: 0 !important;
  border-bottom: 1px solid transparent !important;
  border-radius: 0 !important;
  background: transparent !important;
  padding: .3rem .42rem;
  color: rgba(255, 255, 255, .86) !important;
  font-family: var(--fd-sans);
  font-size: .65rem;
  font-weight: 500;
  letter-spacing: .02em;
  white-space: nowrap;
}

.fanadako-search-shell .hero-tab.active {
  border-bottom-color: #fff !important;
  color: #fff !important;
}

.fanadako-search-secondary .hero-filter-button,
.fanadako-search-secondary .fanadako-list-link { border-left: 1px solid rgba(255, 255, 255, .36) !important; padding-left: 1rem; }

.fanadako-search-shell .hero-advanced-panel {
  margin: .7rem auto 0;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: .2rem;
  background: rgba(247, 246, 242, .98);
  padding: .65rem;
  box-shadow: 0 18px 45px rgba(0, 0, 0, .2);
}

.fanadako-advanced-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.fanadako-search-shell .hero-advanced-field {
  min-height: 40px;
  border: 1px solid #d9d7d4;
  border-radius: .1rem;
  color: var(--fd-ink);
  background: #fff;
  font-family: var(--fd-sans);
  font-size: .7rem;
}

.fanadako-filter-actions { min-height: 40px; }
.fanadako-filter-actions button { border-radius: .1rem; background: var(--fd-red); }

.fanadako-hero-footer {
  order: 4;
  width: min(100%, 55.5rem);
  justify-content: center;
  margin-top: auto;
  padding-top: 1.2rem;
  font-family: var(--fd-sans);
  font-size: .62rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.fanadako-hero-footer > span { margin-left: 1rem; }
.fanadako-hero-dots button { width: 2.6rem; }
.fanadako-hero-dots button.is-active { width: 3.6rem; }

.fanadako-ai-section {
  border-bottom: 1px solid var(--fd-line);
  background: #fff;
  padding: 1.45rem 0;
}

.fanadako-ai-section .ask-ai-search-shell {
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--fd-ink);
  box-shadow: none;
}

.fanadako-ai-section .ask-ai-search-title {
  color: var(--fd-ink);
  font-family: var(--fd-display) !important;
  font-size: 1.3rem;
}

.fanadako-ai-section .ask-ai-search-subtitle { color: var(--fd-muted); }
.fanadako-ai-section .ask-ai-scope-chip { border-color: var(--fd-line); background: var(--fd-paper); color: var(--fd-ink); }
.fanadako-ai-section .ask-ai-search-row { border-radius: 999px; }
.fanadako-ai-section .ask-ai-search-submit { border-radius: 999px; background: var(--fd-red); }

.fanadako-premium-home .fanadako-section-shell { width: min(100% - 3rem, 81rem); }

.fanadako-property-section,
.fanadako-agents-section,
.fanadako-map-section,
.fanadako-popular-section,
.fanadako-values-section,
.fanadako-podcast-section { padding: clamp(3.8rem, 6vw, 6rem) 0; }

.fanadako-section-light { background: #fff; }
.fanadako-section-paper { background: var(--fd-paper); }
.fanadako-section-heading { margin-bottom: 1.8rem; }

.fanadako-section-heading h2,
.fanadako-property-section .fanadako-section-heading h2,
.fanadako-agents-section .fanadako-section-heading h2,
.fanadako-map-section .fanadako-section-heading h2 {
  margin-top: .15rem;
  color: var(--fd-ink);
  font-family: var(--fd-sans) !important;
  font-size: 1.28rem;
  font-weight: 400 !important;
  letter-spacing: 0;
  line-height: 1.3;
}

.fanadako-section-kicker {
  color: var(--fd-muted);
  font-family: var(--fd-sans) !important;
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .09em;
}

.fanadako-section-heading a {
  border: 0;
  color: var(--fd-ink);
  font-size: .75rem;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.fanadako-property-grid { gap: 1.5rem; }

.fanadako-premium-home .property-card {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent;
  box-shadow: none !important;
}

.fanadako-premium-home .property-card:hover { transform: none; box-shadow: none !important; }
.fanadako-premium-home .property-card img { aspect-ratio: 4 / 3; border-radius: 0 !important; object-fit: cover; }

.fanadako-agency-section {
  background: var(--fd-ink);
  color: #fff;
}

.fanadako-agency-layout { grid-template-columns: minmax(0, 1fr) minmax(23rem, .8fr); }
.fanadako-agency-section h2 { font-size: clamp(2rem, 3.5vw, 3.4rem); line-height: 1.15; }
.fanadako-agency-section .fanadako-section-kicker { color: rgba(255, 255, 255, .65); }
.fanadako-primary-cta { border-radius: 999px; min-width: 12rem; }
.fanadako-primary-cta:hover { color: var(--fd-ink); }
.fanadako-metrics dt { font-family: var(--fd-display); }

.fanadako-values-section { background: var(--fd-paper); color: var(--fd-ink); }
.fanadako-values-section .fanadako-section-kicker { color: var(--fd-muted); }
.fanadako-values-section h2 { max-width: 46rem; color: var(--fd-ink); font-size: clamp(2rem, 3.5vw, 3.6rem); line-height: 1.15; }
.fanadako-values-grid { border-color: var(--fd-line); }
.fanadako-values-grid article { border-color: var(--fd-line); }
.fanadako-values-grid span { color: var(--fd-red); }
.fanadako-values-grid h3 { color: var(--fd-ink); font-size: 1.35rem; }
.fanadako-values-grid p { color: var(--fd-muted); }

.fanadako-popular-section { background: #fff; }
.fanadako-popular-section h2,
.fanadako-podcast-section h2 { font-size: clamp(2rem, 3.5vw, 3.8rem); line-height: 1.15; }
.fanadako-popular-links { border-color: var(--fd-line); }
.fanadako-popular-links a { border-color: var(--fd-line); font-family: var(--fd-display); font-size: 1.15rem; }
.fanadako-popular-links a::after { color: var(--fd-red); }

.fanadako-podcast-section { background: #ded8d0; }
.fanadako-coming-soon { border-color: var(--fd-ink); color: var(--fd-ink); }
.fanadako-social-discovery { border-color: var(--fd-line); }
.fanadako-social-discovery a:hover { color: var(--fd-red); }
.fanadako-agents-section { background: var(--fd-paper); }
.fanadako-map-section { background: #fff; }

/* Consistent premium treatment across the public catalogue and service routes. */
body[data-country-code="CD"] :is(#page-sale, #page-rent, #page-students, #page-commercial, #page-land, #page-brokers, #page-marketplace, #page-investment, #page-ai-chatbot, #page-list-property, #page-about) {
  background: var(--fd-paper) !important;
  color: var(--fd-ink);
}

body[data-country-code="CD"] :is(#page-sale, #page-rent, #page-students, #page-commercial, #page-land, #page-brokers) > :first-child {
  border: 0 !important;
  background: var(--fd-ink) !important;
  color: #fff !important;
  padding-block: 3.4rem !important;
}

body[data-country-code="CD"] :is(#page-sale, #page-rent, #page-students, #page-commercial, #page-land, #page-brokers) > :first-child h1 {
  color: #fff !important;
  font-size: clamp(2rem, 4vw, 3.5rem) !important;
  line-height: 1.15;
}

body[data-country-code="CD"] :is(#page-sale, #page-rent, #page-commercial, #page-land) > :nth-child(2),
body[data-country-code="CD"] #page-students > :nth-child(2) {
  border-bottom: 1px solid var(--fd-line) !important;
  background: #fff !important;
  box-shadow: 0 10px 30px rgba(21, 21, 21, .04);
}

body[data-country-code="CD"] :is(#page-sale, #page-rent, #page-students, #page-commercial, #page-land) > :nth-child(2) > div > div {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body[data-country-code="CD"] :is(#page-sale, #page-rent, #page-students, #page-commercial, #page-land) > :nth-child(2) input,
body[data-country-code="CD"] :is(#page-sale, #page-rent, #page-students, #page-commercial, #page-land) > :nth-child(2) select {
  border: 1px solid #d8d6d2 !important;
  border-radius: .1rem !important;
  background: #fff !important;
  color: var(--fd-ink) !important;
  box-shadow: none !important;
}

body[data-country-code="CD"] :is(#sale-filter-submit, #rent-filter-submit, #student-filter-submit, #commercial-filter-submit, #land-filter-submit) {
  border: 1px solid var(--fd-red) !important;
  border-radius: .1rem !important;
  background: var(--fd-red) !important;
  color: #fff !important;
}

body[data-country-code="CD"] :is(#sale-use-location-btn, #rent-use-location-btn, #student-use-location-btn, #commercial-use-location-btn, #land-use-location-btn) {
  border: 1px solid var(--fd-ink) !important;
  border-radius: .1rem !important;
  background: #fff !important;
  color: var(--fd-ink) !important;
}

body[data-country-code="CD"] .page:not(.fanadako-premium-home) .property-card,
body[data-country-code="CD"] #brokers-grid > article,
body[data-country-code="CD"] #brokers-grid > div {
  border-color: var(--fd-line) !important;
  border-radius: .15rem !important;
  background: #fff;
  box-shadow: none !important;
}

body[data-country-code="CD"] .page:not(.fanadako-premium-home) .property-card:hover { box-shadow: 0 18px 40px rgba(21, 21, 21, .08) !important; }

body[data-country-code="CD"] .page:not(.fanadako-premium-home) :is(input, select, textarea, button, a)[class*="rounded-xl"],
body[data-country-code="CD"] .page:not(.fanadako-premium-home) :is(input, select, textarea, button, a)[class*="rounded-2xl"],
body[data-country-code="CD"] .page:not(.fanadako-premium-home) :is(input, select, textarea, button, a)[class*="rounded-3xl"] { border-radius: .2rem !important; }

body[data-country-code="CD"] #page-investment > section:first-child,
body[data-country-code="CD"] #page-investment .showroom-detail-hero {
  background: var(--fd-ink) !important;
}

body[data-country-code="CD"] #page-investment > section:first-child > div[class*="bg-gradient"] {
  background: linear-gradient(90deg, rgba(21, 21, 21, .96), rgba(21, 21, 21, .72), rgba(118, 24, 46, .42)) !important;
}

body[data-country-code="CD"] #page-investment main { width: min(100% - 2rem, 81rem); }
body[data-country-code="CD"] #page-investment h1 { font-size: clamp(2.4rem, 5vw, 4.7rem) !important; line-height: 1.1; }
body[data-country-code="CD"] #page-investment :is(h2, h3) { color: var(--fd-ink); }
body[data-country-code="CD"] #page-investment [class*="text-[#007fff]"] { color: var(--fd-red) !important; }
body[data-country-code="CD"] #page-investment [class*="bg-[#09233f]"] { background: var(--fd-ink) !important; }
body[data-country-code="CD"] #page-investment [class*="bg-[#f7d618]"] { background: var(--fd-red) !important; color: #fff !important; }

body[data-country-code="CD"] #page-marketplace .marketplace-ai-shell,
body[data-country-code="CD"] #page-list-property form,
body[data-country-code="CD"] #page-ai-chatbot [class*="bg-white"],
body[data-country-code="CD"] #page-about [class*="bg-white"] {
  border-color: var(--fd-line) !important;
  border-radius: .2rem !important;
  box-shadow: none !important;
}

body[data-country-code="CD"] footer {
  border-top: 1px solid rgba(255, 255, 255, .14);
  background: var(--fd-ink) !important;
  font-family: var(--fd-sans);
}

@media (max-width: 1199px) {
  body[data-country-code="CD"].fanadako-home-active > nav > div:first-child { padding-right: 18rem; }
  body[data-country-code="CD"].fanadako-home-active .topbar-actions > :is(#top-saved-link, #top-dashboard-link, #top-signout-link) { display: none !important; }
}

@media (min-width: 1200px) and (max-width: 1535px) {
  body[data-country-code="CD"].fanadako-home-active .mk-top-strip > div { padding-right: 3.25rem; }
  body[data-country-code="CD"].fanadako-home-active .topbar-actions { margin-right: 3rem; }
}

@media (max-width: 1023px) {
  body[data-country-code="CD"] > nav > div:first-child { min-height: 62px; }
  body[data-country-code="CD"].fanadako-home-active > nav > div:first-child { padding-right: 0; }
  body[data-country-code="CD"].fanadako-home-active > nav > div:first-child > .flex.items-center.gap-2 { display: flex !important; }
  body[data-country-code="CD"].fanadako-home-active .mk-top-strip > div { padding-right: 3.2rem; }
  body[data-country-code="CD"].fanadako-home-active .topbar-actions {
    position: absolute;
    top: 18px;
    right: 3.35rem;
    width: auto !important;
    max-width: calc(100% - 12.5rem);
    flex: 0 0 auto;
    margin: 0;
  }
  body[data-country-code="CD"].fanadako-home-active .topbar-actions > :not(#lang-sel) { display: none !important; }
  body[data-country-code="CD"].fanadako-home-active #lang-sel { display: block !important; max-width: 7rem; }
  .fanadako-province-rail { inset-block-start: 62px; justify-content: flex-start; padding-inline: 1rem; overflow-x: auto; scrollbar-width: none; }
  .fanadako-province-rail::-webkit-scrollbar { display: none; }
  .fanadako-search-row { grid-template-columns: minmax(15rem, 1fr) 9rem 9rem 8.5rem; }
  .fanadako-premium-home .fanadako-section-shell { width: min(100% - 2rem, 81rem); }
}

@media (max-width: 767px) {
  body[data-country-code="CD"] #brand-home-link { margin-right: 0; gap: .55rem; }
  body[data-country-code="CD"] .fanadako-wordmark { font-size: 1rem; }
  body[data-country-code="CD"] #brand-home-link .text-xs { display: none; }
  body[data-country-code="CD"].fanadako-home-active .mk-top-strip > div { width: 100%; padding-right: 3rem; }
  body[data-country-code="CD"] .fanadako-premium-hero.hero-bg,
  .fanadako-hero-content { min-height: 48rem; }
  .fanadako-hero-content { width: min(100% - 1.4rem, 90rem); padding-top: 10rem; }
  .fanadako-hero-copy h1 { max-width: 34rem; margin-bottom: 1.2rem; font-size: clamp(2rem, 9vw, 3rem); }
  .fanadako-search-row { grid-template-columns: 1fr; border-radius: .25rem; }
  .fanadako-location-field,
  .fanadako-main-select { min-height: 48px; border-right: 0; border-bottom: 1px solid #dedede; }
  body[data-country-code="CD"] .fanadako-search-row #hero-search-btn { border-radius: 0 0 .25rem .25rem !important; }
  .fanadako-search-secondary { align-items: flex-start; gap: .4rem; }
  .fanadako-tab-list { max-width: calc(100vw - 8rem); justify-content: flex-start; }
  .fanadako-search-secondary .hero-filter-button { border-left: 1px solid rgba(255, 255, 255, .36) !important; }
  .fanadako-search-secondary .fanadako-list-link { display: none; }
  .fanadako-advanced-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fanadako-hero-copy > p { max-width: 31rem; font-size: .56rem; }
  .fanadako-hero-footer { justify-content: center; }
  .fanadako-hero-footer > span { display: none; }
  .fanadako-property-grid { grid-template-columns: 1fr; }
  .fanadako-agency-layout,
  .fanadako-podcast-layout { grid-template-columns: 1fr; }
  .fanadako-popular-links { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  body[data-country-code="CD"].fanadako-home-active #lang-sel { max-width: 5.7rem; font-size: .64rem; }
  .fanadako-nav-monogram { width: 1.1rem; }
  .fanadako-hero-content { padding-top: 9.2rem; }
  .fanadako-search-secondary { justify-content: flex-start; }
  .fanadako-tab-list { max-width: calc(100vw - 6rem); }
}

@media (prefers-reduced-motion: reduce) {
  .fanadako-hero-image { transition: none !important; transform: none !important; }
}
