: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"] [hidden] { display: none !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"] .mk-top-strip,
body[data-country-code="CD"] .mk-top-strip * { background-color: var(--fd-ink) !important; color: #fff !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-search-secondary .hero-filter-button { flex: 0 0 auto; width: auto !important; justify-content: center; }
body[data-country-code="CD"] .fanadako-hero-footer { display: none !important; }
body[data-country-code="CD"] .fanadako-ai-section { padding: .35rem 0 !important; }
body[data-country-code="CD"] .fanadako-ai-section form { margin-top: .45rem !important; }
body[data-country-code="CD"] #home-ask-ai-feature + .fanadako-property-section { padding-top: .6rem !important; }
body[data-country-code="CD"] #home-ask-ai-feature + .fanadako-property-section .fanadako-section-heading { margin-bottom: .8rem !important; }
body[data-country-code="CD"] .ask-ai-search-row { border-color: rgba(21, 21, 21, .16) !important; }
body[data-country-code="CD"] .ask-ai-search-icon { color: var(--fd-gold) !important; }
body[data-country-code="CD"] .hero-opportunity-tooltip { border-color: rgba(200, 170, 112, .45) !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: none !important; overflow: visible !important; }
body[data-country-code="CD"] .fanadako-listing-filter-bar:not(.is-expanded) [data-fanadako-filter-secondary="1"] { display: none !important; }
body[data-country-code="CD"] .fanadako-listing-primary-filters { grid-template-columns: minmax(240px, 2fr) repeat(4, minmax(100px, 1fr)) auto auto !important; }
body[data-country-code="CD"] .fanadako-listing-filter-toggle { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 7px; border: 1px solid var(--fd-red) !important; border-radius: .2rem !important; background: var(--fd-red) !important; padding: 0 15px; color: #fff !important; font: 600 12px "Inter", Arial, sans-serif; white-space: nowrap; }

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 .fd-investment-hero p:not(.fd-kicker) { color: rgba(255, 255, 255, .78) !important; }
body[data-country-code="CD"] #page-investment .fd-investment-hero .fd-kicker { color: var(--fd-gold) !important; }
body[data-country-code="CD"] #page-investment .fd-investment-hero .fd-breadcrumb { color: rgba(255, 255, 255, .72) !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 { width: calc(100% - 24px) !important; min-width: 0 !important; max-width: calc(100% - 24px) !important; margin-inline: auto !important; padding-top: 100px !important; }
  body[data-country-code="CD"] .fanadako-search-shell,
  body[data-country-code="CD"] .fanadako-search-row { min-width: 0 !important; max-width: 100% !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-row #hero-search-btn { padding-inline: 4px !important; font-size: .72rem !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"] .fanadako-listing-primary-filters { grid-template-columns: minmax(0, 1fr) auto !important; }
  body[data-country-code="CD"] .fanadako-listing-filter-bar:not(.is-expanded) [data-fanadako-filter-mobile-hide="1"] { display: none !important; }
  body[data-country-code="CD"] .fanadako-listing-filter-bar.is-expanded .fanadako-listing-primary-filters { grid-template-columns: 1fr !important; }
  body[data-country-code="CD"] .fanadako-listing-filter-bar.is-expanded .fanadako-listing-filter-toggle { width: 100%; }
  body[data-country-code="CD"] #page-investment .fd-investment-hero h1 { font-size: 34px !important; }
}
