/* redesign: antracite e verde-salvia -- overrides houzez styling-options.css */

:root {
  --brand-primary: #2b2b2b;
  --brand-primary-hover: #454545;
  --brand-primary-dark: #1c1c1c;
  --brand-primary-darker: #121212;
  --brand-accent: #7c9885;
  --brand-accent-hover: #93ab9e;
}

/* fonts
/* ----------------------------------------------------------- */
body,
.form-control,
.bootstrap-select .text,
.sort-by-title,
.btn,
.main-nav,
.dropdown-menu,
.login-register,
.btn-create-listing,
.logged-in-nav {
  font-family: "Roboto", sans-serif !important;
}

h1, h2, h3, h4, h5, h6, .item-title,
.banner-title, .houzez_section_title,
.post-content-wrap h1, .post-content-wrap h2, .post-content-wrap h3,
.post-content-wrap h4, .post-content-wrap h5, .post-content-wrap h6 {
  font-family: "Montserrat", sans-serif !important;
}

/* primary color (was #00aeff)
/* ----------------------------------------------------------- */
a,
a:hover,
a:active,
a:focus,
.primary-text,
.btn-clear,
.btn-apply,
.btn-primary-outlined,
.btn-primary-outlined:before,
.item-title a:hover,
.sort-by .bootstrap-select .bs-placeholder,
.sort-by .bootstrap-select > .btn,
.sort-by .bootstrap-select > .btn:active,
.page-link,
.page-link:hover,
.accordion-title:before,
.agent-list-wrap .agent-list-content h2 a:hover,
.agent-list-wrap .agent-list-contact li a:hover,
.post-title-wrap h2 a:hover,
.listing-switch-view .switch-btn.active,
.item-wrap-v6 .item-price-wrap,
.listing-v6 .list-view .item-body .item-price-wrap {
  color: var(--brand-primary) !important;
}

.control input:checked ~ .control__indicator,
.top-banner-wrap .nav-pills .nav-link,
.btn-primary-outlined:hover,
.page-item.active .page-link,
.slick-prev:hover, .slick-prev:focus,
.slick-next:hover, .slick-next:focus,
.login-register-form .modal-header,
.primary-label,
.post-tag,
.ui-slider-horizontal .ui-slider-range {
  background-color: var(--brand-primary) !important;
}

.control input:checked ~ .control__indicator,
.btn-primary-outlined,
.page-item.active .page-link {
  border-color: var(--brand-primary) !important;
}

.slick-arrow { background-color: var(--brand-primary) !important; }
.slick-arrow:hover { background-color: var(--brand-primary-hover) !important; }

.property-navigation-wrap a.active {
  color: var(--brand-primary) !important;
  box-shadow: inset 0 -3px var(--brand-primary) !important;
}

/* buttons
/* ----------------------------------------------------------- */
.btn-primary,
.fc-button-primary {
  color: #fff !important;
  background-color: var(--brand-primary) !important;
  border-color: var(--brand-primary) !important;
}
.btn-primary:focus, .btn-primary:hover, .btn-primary:active,
.fc-button-primary:focus, .fc-button-primary:hover, .fc-button-primary:active {
  color: #fff !important;
  background-color: var(--brand-primary-hover) !important;
  border-color: var(--brand-primary-hover) !important;
}

.btn-secondary {
  color: #fff !important;
  background-color: var(--brand-accent) !important;
  border-color: var(--brand-accent) !important;
}
.btn-secondary:focus, .btn-secondary:hover, .btn-secondary:active {
  color: #fff !important;
  background-color: var(--brand-accent-hover) !important;
  border-color: var(--brand-accent-hover) !important;
}

.btn-primary-outlined {
  color: var(--brand-primary) !important;
  background-color: transparent !important;
  border-color: var(--brand-primary) !important;
}
.btn-primary-outlined:hover {
  color: #fff !important;
  background-color: var(--brand-primary-hover) !important;
  border-color: var(--brand-primary-hover) !important;
}

/* header / nav
/* ----------------------------------------------------------- */
.header-v1, .header-v3 .header-top, .header-v3 .header-bottom,
.header-v5 .header-bottom, .header-v6 .header-top,
.header-mobile, .dashboard-side-wrap,
.footer-top-wrap {
  background-color: var(--brand-primary-dark) !important;
}

.footer-bottom-wrap {
  background-color: var(--brand-primary-darker) !important;
}

.header-v1 a, .header-v2 a, .header-v3 a, .header-v5 a, .header-v6 a,
.top-bar-wrap a, .top-bar-contact, .top-bar-slogan, .top-bar-wrap .btn {
  color: #fff !important;
}
.header-v1 a:hover, .header-v1 a:active,
.header-v2 a:hover, .header-v2 a:active,
.header-v3 a:hover, .header-v3 a:active,
.header-v5 a:hover, .header-v5 a:active,
.header-v6 a:hover, .header-v6 a:active,
.top-bar-wrap a:hover, .top-bar-wrap a:active {
  color: var(--brand-accent) !important;
  background-color: rgba(124, 152, 133, 0.15) !important;
}

.header-v4 a { color: var(--brand-primary-dark) !important; }
.header-v4 a:hover, .header-v4 a:active { color: var(--brand-primary) !important; background-color: rgba(124,152,133,0.12) !important; }

.header-transparent-wrap .header-v4 a { color: #fff !important; }
.header-transparent-wrap .header-v4 a:hover, .header-transparent-wrap .header-v4 a:active {
  color: #fff !important;
  background-color: rgba(255,255,255,0.15) !important;
}

.main-nav .navbar-nav .nav-item .nav-item a { color: var(--brand-primary-dark) !important; }
.main-nav .navbar-nav .nav-item .nav-item a:hover,
.main-nav .navbar-nav .nav-item .nav-item a:active { color: var(--brand-primary) !important; }

.top-bar-wrap, .switcher-wrap .dropdown-menu { background-color: var(--brand-primary-darker) !important; }

.advanced-search-nav, .search-expandable, .overlay-search-advanced-module {
  background-color: var(--brand-primary-dark) !important;
}

.advanced-search-btn { color: var(--brand-primary) !important; }
.advanced-search-btn:hover, .advanced-search-btn:active {
  color: #fff !important;
  background-color: var(--brand-primary) !important;
  border-color: var(--brand-primary) !important;
}

.footer-top-wrap a:hover,
.footer-bottom-wrap a:hover {
  color: var(--brand-accent) !important;
}

/* labels
/* ----------------------------------------------------------- */
.label-featured {
  background-color: var(--brand-accent) !important;
  color: #fff !important;
}

.label-status {
  background-color: var(--brand-primary) !important;
  color: #fff !important;
}

/* cookie consent banner (CookieYes) -- ships with inline styles, needs !important to beat them
/* ----------------------------------------------------------- */
.cky-btn-revisit-wrapper,
.cky-btn-accept {
  background-color: var(--brand-accent) !important;
  border-color: var(--brand-accent) !important;
  color: #fff !important;
}

.cky-btn-customize,
.cky-btn-reject,
.cky-btn-preferences {
  color: var(--brand-accent) !important;
  border-color: var(--brand-accent) !important;
  background-color: transparent !important;
}

.cky-switch input:checked ~ .cky-slider,
.cky-consent-bar,
.cky-preference-center {
  --cky-accent: var(--brand-accent);
}

/* Elementor widget buttons -- Elementor bakes colors into per-page CSS files
   tied to specific widget IDs (e.g. contact-form submit buttons), which
   bypasses the theme classes above entirely. Override generically here.
/* ----------------------------------------------------------- */
.elementor-button {
  background-color: var(--brand-accent) !important;
  border-color: var(--brand-accent) !important;
  color: #fff !important;
}
.elementor-button:hover,
.elementor-button:focus {
  background-color: var(--brand-accent-hover) !important;
  border-color: var(--brand-accent-hover) !important;
  color: #fff !important;
}

/* hero search status tabs (Todas / Para arrendar / Para venda)
/* ----------------------------------------------------------- */
#houzez-search-tabs-wrap .nav-link {
  background-color: var(--brand-primary) !important;
  color: #fff !important;
}
#houzez-search-tabs-wrap .nav-link.active {
  background-color: #fff !important;
  color: var(--brand-primary) !important;
}
#houzez-search-tabs-wrap button.nav-link {
  border: none;
  cursor: pointer;
  font-family: "Roboto", sans-serif;
}

/* homepage hero background -- custom living-room photo, with a dark overlay
   so the white hero text stays readable on top of it.
/* ----------------------------------------------------------- */
.elementor-element-c1d7965,
.elementor-element-c1d7965:not(.elementor-motion-effects-element-type-background) {
  background-image: url('../../uploads/2026/09/hero-living-room.webp') !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}
.elementor-element-c1d7965 > .elementor-background-overlay {
  background: var(--brand-primary-dark) !important;
  opacity: 0.55 !important;
  pointer-events: none !important;
}
.elementor-element-c1d7965.elementor-section-height-full {
  height: auto !important;
  min-height: 0 !important;
  padding-top: 19.05rem;
  padding-bottom: 19.05rem;
}
.elementor-element-c1d7965.elementor-section-height-full > .elementor-container {
  height: auto !important;
}
@media (max-width: 767.98px) {
  .elementor-element-c1d7965.elementor-section-height-full {
    height: 100vh !important;
    padding-top: 0;
    padding-bottom: 0;
    display: flex !important;
    align-items: center;
  }
}

/* secondary-page hero banners (Sobre nos, Propriedades, Servicos) -- these relied
   on a jQuery parallax plugin that isn't loaded, and on data-parallax-bg-image
   URLs hardcoded to the live forcadosnumeros.pt site (several pointing at demo
   stock photos that don't exist at all), so the banner was silently blank.
   Replaced with the same flat gradient used on the homepage hero.
/* ----------------------------------------------------------- */
.top-banner-wrap .banner-inner {
  background-image: none !important;
  background: linear-gradient(135deg, var(--brand-primary-dark) 0%, var(--brand-primary) 100%) !important;
  height: 500px !important;
  position: relative !important;
}
.top-banner-wrap .banner-inner:before {
  background-color: transparent !important;
  opacity: 0 !important;
}
@media (max-width: 767.98px) {
  .top-banner-wrap .banner-inner {
    height: 300px !important;
  }
}

/* propriedades.php uses top-banner -- override the general
   500px banner height for this page specifically.
/* ----------------------------------------------------------- */
.top-banner .banner-inner {
  height: 160px !important;
}
@media (max-width: 767.98px) {
  .top-banner .banner-inner {
    height: 75px !important;
  }
}

/* propriedades.php -- short banner is meant to read as a light header strip,
   not a dark hero, so the nav/logo can switch to the black variant below.
/* ----------------------------------------------------------- */
.top-banner .banner-inner {
  background: #f5f5f0 !important;
}
.top-banner .banner-title,
.top-banner .banner-subtitle {
  color: var(--brand-primary) !important;
}

/* .listing-wrap (legal pages, agent/property "not found" fallbacks) --
   header is position:absolute with no banner underneath it here, so the
   content needs its own top padding.
/* ----------------------------------------------------------- */
.listing-wrap {
  padding-top: 180px;
}
@media (max-width: 767.98px) {
  .listing-wrap {
    padding-top: 75px;
  }
}

/* propriedades.php -- the banner already provides clearance under the
   header here, so undo the .listing-wrap padding-top above and put the
   spacing on the banner wrapper itself instead.
/* ----------------------------------------------------------- */
.top-banner-wrap.top-banner ~ .listing-wrap {
  padding-top: 0;
}
.top-banner-wrap.top-banner {
  padding-top: 160px;
}
@media (max-width: 767.98px) {
  .top-banner-wrap.top-banner {
    padding-top: 120px;
  }
}

/* agente.php (agent profile page) -- header is position:absolute with no
   banner underneath it here, so the content needs its own top padding.
/* ----------------------------------------------------------- */
.agente-content-wrap {
  padding-top: 150px;
}
@media (max-width: 767.98px) {
  .agente-content-wrap {
    padding-top: 75px;
  }
}

/* contactos.php -- header is position:absolute with no banner underneath it
   here, so the content needs its own top padding.
/* ----------------------------------------------------------- */
.elementor-1100 {
  padding-top: 120px;
}
@media (max-width: 767.98px) {
  .elementor-1100 {
    padding-top: 75px;
  }
}

/* propriedade.php / agente.php -- white page background behind the
   transparent header, so the default white nav links are invisible.
/* ----------------------------------------------------------- */
#main-wrap:has(.property-wrap) .header-transparent-wrap .header-v4 a,
#main-wrap:has(.top-banner) .header-transparent-wrap .header-v4 a,
#main-wrap:has(.elementor-1100) .header-transparent-wrap .header-v4 a {
  color: var(--brand-primary) !important;
}
#main-wrap:has(.property-wrap) .header-transparent-wrap .header-v4 a:hover,
#main-wrap:has(.property-wrap) .header-transparent-wrap .header-v4 a:active,
#main-wrap:has(.top-banner) .header-transparent-wrap .header-v4 a:hover,
#main-wrap:has(.top-banner) .header-transparent-wrap .header-v4 a:active,
#main-wrap:has(.elementor-1100) .header-transparent-wrap .header-v4 a:hover,
#main-wrap:has(.elementor-1100) .header-transparent-wrap .header-v4 a:active {
  color: var(--brand-accent) !important;
}

/* propriedade.php -- header is position:absolute with no banner underneath
   it here, so the content needs its own top padding.
/* ----------------------------------------------------------- */
.property-wrap {
  padding-top: 150px;
}
@media (max-width: 767.98px) {
  .property-wrap {
    padding-top: 75px;
  }
  .property-detail {
    padding-left: 20px;
  }
}

/* white-background pages (contactos, propriedade, agente, legal pages) --
   the logo is white (designed for the dark hero/banner), which disappears on
   a white page background. Invert it to black on those pages only.
/* ----------------------------------------------------------- */
#main-wrap:has(.property-wrap) .logo img,
#main-wrap:has(.elementor-1100) .logo img,
#main-wrap:has(.legal-page-wrap) .logo img,
#main-wrap:has(.top-banner) .logo img {
  filter: invert(1);
}

/* ...but the mobile header itself keeps its dark background on these same
   pages, so the inverted (now black) logo disappears again there. Revert
   the invert on mobile only, keeping the logo white against the dark bar.
/* ----------------------------------------------------------- */
@media (max-width: 991.98px) {
  #main-wrap:has(.property-wrap) .header-mobile .logo img,
  #main-wrap:has(.elementor-1100) .header-mobile .logo img,
  #main-wrap:has(.legal-page-wrap) .header-mobile .logo img,
  #main-wrap:has(.top-banner) .header-mobile .logo img {
    filter: none;
  }
}

/* these pages have no hero banner for the header to float over, so the
   theme's scroll-triggered sticky header (data-sticky="1", meant for the
   homepage only) just pops the header back in as a fixed bar mid-scroll.
   Keep it in normal flow here. Covers contactos/propriedade/agente/legal
   pages plus sobre-nos and the servico-*.php pages (plain .top-banner-wrap,
   no .top-banner modifier).
/* ----------------------------------------------------------- */
#main-wrap:has(.property-wrap) #header-section.houzez-in-view,
#main-wrap:has(.property-wrap) #header-mobile.houzez-in-view,
#main-wrap:has(.elementor-1100) #header-section.houzez-in-view,
#main-wrap:has(.elementor-1100) #header-mobile.houzez-in-view,
#main-wrap:has(.legal-page-wrap) #header-section.houzez-in-view,
#main-wrap:has(.legal-page-wrap) #header-mobile.houzez-in-view,
#main-wrap:has(.top-banner) #header-section.houzez-in-view,
#main-wrap:has(.top-banner) #header-mobile.houzez-in-view,
#main-wrap:has(.top-banner-wrap) #header-section.houzez-in-view,
#main-wrap:has(.top-banner-wrap) #header-mobile.houzez-in-view {
  position: relative !important;
  top: 0 !important;
}

/* footer legal links -- match the lighter copyright text color instead of
   the default dark link color, which is invisible on the dark footer.
/* ----------------------------------------------------------- */
.footer-copyright a {
  color: rgba(255, 255, 255, 0.75) !important;
  text-decoration: underline;
}
.footer-copyright a:hover,
.footer-copyright a:active {
  color: #ffffff !important;
}

/* mobile header -- 60px was too short for the larger logo (72px tall),
   causing it to overflow, and the hamburger icon was rendering black
   (invisible) against the dark header background. 90px then worked but
   felt oversized for a mobile nav bar, so logo + bar were both trimmed
   down together.
/* ----------------------------------------------------------- */
.header-mobile {
  height: 68px !important;
}
.header-mobile .logo img {
  height: 52px !important;
  width: auto !important;
}
.header-mobile .toggle-button-left,
.header-mobile .toggle-button-left i {
  color: #ffffff !important;
}

/* legal pages -- data tables (e.g. politica-de-privacidade.php section 4)
   need basic styling and horizontal scroll on narrow screens.
/* ----------------------------------------------------------- */
.legal-page-wrap .table-responsive-wrap {
  overflow-x: auto;
  margin-bottom: 1.5rem;
}
.legal-page-wrap table {
  border-collapse: collapse;
  width: 100%;
  min-width: 600px;
}
.legal-page-wrap table th,
.legal-page-wrap table td {
  border: 1px solid #e0e0e0;
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
  font-size: 0.9rem;
}
.legal-page-wrap table th {
  background: var(--brand-primary);
  color: #fff;
  font-weight: 600;
}

/* homepage -- the sticky header (.sticky-nav-area, added by custom.js on
   scroll) switches to a white background, which makes the white logo
   invisible. Invert it to black and shrink it slightly to fit the slimmer
   sticky bar.
/* ----------------------------------------------------------- */
#main-wrap:has(.elementor-element-c1d7965) .sticky-nav-area .logo img {
  filter: invert(1);
  width: 225px;
  height: 98px;
}

/* homepage -- "Os nossos serviços" redesign: card grid with a circular
   icon badge, replacing the old dense left-aligned icon+text list.
/* ----------------------------------------------------------- */
.services-section-title {
  text-align: center;
}
.section-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-accent);
  margin: 0 0 6px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  padding-bottom: 50px;
}

/* the Elementor spacer widget between the title and the cards defaults to
   50px + 20px margin -- too much space now that the title has its own
   eyebrow/heading rhythm.
/* ----------------------------------------------------------- */
.elementor-element-ceede71 .elementor-spacer-inner {
  height: 10px !important;
}
.service-card {
  background: #fff;
  border: 1px solid #e5e3dc;
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(43, 43, 43, 0.08);
  border-color: #cfd8d1;
}
.service-icon-badge {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #eef2ec;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}
.service-icon-badge svg {
  width: 28px;
  height: 28px;
  color: #5b7a63;
}
.service-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--brand-primary);
  margin: 0 0 10px;
}
.service-body {
  font-size: 14px;
  line-height: 1.6;
  color: #6b6b68;
  margin: 0 0 16px;
}
.service-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--brand-accent);
  text-decoration: none;
  border-bottom: 1px solid #a9bfb0;
  padding-bottom: 2px;
}
.service-link:hover {
  color: var(--brand-accent-hover);
  border-color: var(--brand-accent-hover);
}

/* team photos (sobre-nos.php / index.php "Conheça a nossa equipa") -- force
   a square crop regardless of each photo's real aspect ratio. The
   width/height HTML attributes only set the *placeholder* ratio used
   before the image loads; browsers switch to the image's real intrinsic
   ratio once it loads (some team photos aren't natively square), which
   made some team members' cards taller than others.
/* ----------------------------------------------------------- */
.team-module img {
  aspect-ratio: 1 / 1 !important;
  object-fit: cover;
}

/* contactos.php redesign -- centered header, two-column form + info cards
   instead of the old plain unstyled form and disconnected sidebar text.
/* ----------------------------------------------------------- */
.contact-page-wrap {
  padding-bottom: 100px;
}
.contact-page-wrap .contact-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 40px;
}
@media (max-width: 767.98px) {
  .contact-page-wrap {
    padding-bottom: 50px;
  }
}
.contact-page-wrap .contact-header h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: var(--brand-primary);
  margin: 0 0 10px;
}
.contact-header-subtitle {
  font-size: 15px;
  color: #6b6b68;
  margin: 0;
}
.contact-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  align-items: start;
}
.contact-form-card {
  background: #fff;
  border: 1px solid #e5e3dc;
  border-radius: 12px;
  padding: 32px;
}
.contact-form-card .elementor-field-label,
.agent-widget .elementor-field-label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--brand-primary);
  margin-bottom: 6px;
}
.contact-form-card .elementor-field.form-control,
.agent-widget .elementor-field.form-control {
  background: #faf9f6;
  border: 1px solid #dcdad2;
  border-radius: 6px;
  transition: border-color 0.15s ease;
}
.contact-form-card .elementor-field.form-control:focus,
.agent-widget .elementor-field.form-control:focus {
  border-color: var(--brand-accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(124, 152, 133, 0.15);
}
.contact-form-card .houzez-submit-button,
.agent-widget .houzez-submit-button {
  background: var(--brand-accent) !important;
  border-color: var(--brand-accent) !important;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  width: 100%;
}
.contact-form-card .houzez-submit-button:hover,
.agent-widget .houzez-submit-button:hover {
  background: var(--brand-accent-hover) !important;
  border-color: var(--brand-accent-hover) !important;
}
.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-info-card {
  background: #fff;
  border: 1px solid #e5e3dc;
  border-radius: 12px;
  padding: 22px;
}
.contact-info-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.contact-info-row + .contact-info-row {
  margin-top: 16px;
}
.contact-info-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #eef2ec;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info-icon svg {
  width: 16px;
  height: 16px;
  color: #5b7a63;
}
.contact-info-label {
  font-size: 11px;
  color: #9a9a94;
  margin: 0;
}
.contact-info-value {
  font-size: 14px;
  font-weight: 500;
  margin: 0;
}
.contact-info-value a {
  color: var(--brand-primary);
  text-decoration: none;
}
.contact-info-value a:hover {
  color: var(--brand-accent);
}
.contact-whatsapp-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #eef2ec;
  border-radius: 12px;
  padding: 18px 22px;
  text-decoration: none;
  transition: background 0.15s ease;
}
.contact-whatsapp-card:hover {
  background: #e2eadf;
}
.contact-whatsapp-card img {
  border-radius: 10px;
  flex-shrink: 0;
}
.contact-whatsapp-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--brand-primary);
  margin: 0;
}
.contact-whatsapp-subtitle {
  font-size: 12px;
  color: #6b6b68;
  margin: 0;
}
@media (max-width: 767.98px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

/* sobre-nos.php redesign -- centered eyebrow header for the story block
   (matches the "Os nossos serviços" / team section treatment) and a
   narrower, more readable text column instead of a full-width wall of text.
/* ----------------------------------------------------------- */
.about-story-header {
  width: 100%;
  text-align: center;
  margin-bottom: 24px;
}
.about-story-header h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: var(--brand-primary);
  margin: 0;
}
.about-story-text {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.about-story-text p {
  font-size: 15px;
  line-height: 1.8;
  color: #4a4a47;
  margin: 0 0 16px;
}
.about-story-text p:last-child {
  margin-bottom: 0;
}

/* property teaser cards (homepage, propriedades.php, similar listings) --
   real photos have inconsistent aspect ratios, which was stretching card
   heights unevenly. Force a consistent thumbnail height everywhere.
   The card's flex ancestor uses align-items:center (not stretch), so
   .item-header/.listing-image-wrap/.listing-thumb shrink-wrap to the
   image's own intrinsic aspect ratio instead of the card width -- this
   made the featured card (landscape photo) render much wider than the
   others (portrait photos). Force the whole chain to stretch full-width
   so width:100% on the image actually has something to resolve against.
/* ----------------------------------------------------------- */
.item-header,
.listing-image-wrap,
.listing-thumb {
  width: 100% !important;
}
.listing-thumb .wp-post-image {
  height: 230px;
  width: 100%;
  object-fit: cover;
}

/* propriedade.php redesign -- hero header with status badge, price and
   quick-stat icons, card-framed content sections, and a cleaner specs
   grid/gallery/agent widget, replacing the old plain bullet-list layout.
/* ----------------------------------------------------------- */
.property-hero {
  background: #fff;
  border: 1px solid #e5e3dc;
  border-radius: 12px;
  padding: 28px 32px;
  margin-bottom: 24px;
}
.property-status-badge {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: var(--brand-primary);
  padding: 5px 12px;
  border-radius: 20px;
  margin: 0 8px 12px 0;
}
.property-status-badge.property-status-featured {
  background: var(--brand-accent);
}
.property-hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: var(--brand-primary);
  margin: 0 0 10px;
}
.property-hero .item-address {
  display: flex;
  align-items: center;
  gap: 6px;
  font-style: normal;
  color: #6b6b68;
  font-size: 15px;
  margin: 0 0 14px;
}
.property-hero .item-address svg {
  width: 16px;
  height: 16px;
  color: var(--brand-accent);
  flex-shrink: 0;
}
.property-hero-price {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 28px;
  color: var(--brand-accent);
  margin: 0 0 18px;
}
.property-quick-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding-top: 18px;
  border-top: 1px solid #efede6;
}
.property-quick-stat {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--brand-primary);
  font-weight: 500;
}
.property-quick-stat svg {
  width: 20px;
  height: 20px;
  color: var(--brand-accent);
  flex-shrink: 0;
}
.property-card {
  background: #fff;
  border: 1px solid #e5e3dc;
  border-radius: 12px;
  padding: 28px 32px;
  margin-bottom: 24px;
}
.property-card h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: var(--brand-primary);
  margin: 0 0 16px;
}
.property-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.property-detail-grid li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1efe8;
}
.property-detail-label {
  font-size: 12px;
  color: #9a9a94;
}
.property-detail-value {
  font-size: 15px;
  font-weight: 500;
  color: var(--brand-primary);
}
.property-features-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}
.property-features-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--brand-primary);
}
.property-features-list li svg {
  width: 18px;
  height: 18px;
  color: var(--brand-accent);
  flex-shrink: 0;
}
.property-gallery-card .property-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}
.property-gallery-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  transition: transform 0.2s ease;
}
.property-gallery-grid a {
  overflow: hidden;
  border-radius: 8px;
  display: block;
}
.property-gallery-grid a:hover img {
  transform: scale(1.04);
}
.agent-widget h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 17px;
  color: var(--brand-primary);
  margin: 0 0 16px;
}
.agent-widget-contact {
  background: #faf9f6;
  border-radius: 8px;
  padding: 14px 16px;
  margin-bottom: 18px;
}
.agent-widget-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-accent);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
}
.agent-widget-phone svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.agent-widget-phone:hover {
  color: var(--brand-accent-hover);
}
@media (max-width: 767.98px) {
  .property-hero,
  .property-card {
    padding: 22px 20px;
  }
}

/* agente.php redesign -- profile card (photo + name + role + contact) above
   a "Sobre" card, replacing the old plain two-column layout. Reuses
   .property-card for the bio block.
/* ----------------------------------------------------------- */
.agent-profile-card {
  display: flex;
  align-items: center;
  gap: 28px;
  background: #fff;
  border: 1px solid #e5e3dc;
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 24px;
}
.agent-profile-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.agent-profile-info h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: var(--brand-primary);
  margin: 0 0 4px;
}
.agent-profile-role {
  color: var(--brand-accent);
  font-weight: 500;
  font-size: 15px;
  margin: 0 0 16px;
}
.agent-profile-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 12px;
}
.agent-profile-contact a {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--brand-primary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}
.agent-profile-contact a svg {
  width: 17px;
  height: 17px;
  color: var(--brand-accent);
  flex-shrink: 0;
}
.agent-profile-contact a:hover {
  color: var(--brand-accent);
}
.agent-profile-languages {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}
.agent-lang-flag {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #e5e3dc;
}
@media (max-width: 767.98px) {
  .agent-profile-card {
    flex-direction: column;
    text-align: center;
    padding: 28px 20px;
  }
  .agent-profile-contact,
  .agent-profile-languages {
    justify-content: center;
  }
}

/* mobile/tablet: no sticky header anywhere (belt and braces with the guard
   in custom.js) -- the header always scrolls away with the page.
/* ----------------------------------------------------------- */
@media (max-width: 991.98px) {
  #header-section,
  #header-section.sticky-nav-area,
  #header-section.houzez-in-view,
  #header-mobile,
  #header-mobile.sticky-nav-area,
  #header-mobile.houzez-in-view {
    position: relative !important;
    top: 0 !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
  #header-section { display: none !important; }
  #main-wrap { margin-top: 0 !important; }
}
