.site-corretor .broker-home-template,
.site-corretor .broker-home-block {
    font-family: "Montserrat", "Lato", Arial, sans-serif;
}

.site-corretor .broker-template-label {
    display: inline-flex;
    align-items: center;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1;
    padding: 0.58rem 0.72rem;
}

.site-corretor .broker-section-heading {
    align-items: flex-end;
    display: flex;
    gap: 1.5rem;
    justify-content: space-between;
    margin-bottom: 1.35rem;
}

.site-corretor .broker-section-heading span {
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    margin-bottom: 0.35rem;
    text-transform: uppercase;
}

.site-corretor .broker-section-heading h2,
.site-corretor .broker-section-heading h3 {
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.12;
    margin: 0;
}

.site-corretor .broker-section-heading h2 {
    font-size: 2.25rem;
}

.site-corretor .broker-section-heading h3 {
    font-size: 1.35rem;
}

.site-corretor .broker-section-heading a {
    font-size: 0.78rem;
    font-weight: 800;
    white-space: nowrap;
}

.site-corretor .broker-section-heading.compact {
    align-items: flex-start;
    display: block;
}

.site-corretor .broker-search-module .row {
    align-items: center;
    justify-content: flex-start;
    margin-left: 0;
    margin-right: 0;
}

.site-corretor .broker-search-module .broker-search-action .btn {
    margin-left: 10px;
}

.site-corretor .broker-search-module .rld-single-input,
.site-corretor .broker-search-module .rld-single-select {
    margin-bottom: 0.75rem;
}

.site-corretor .broker-home-block {
    padding: 4.8rem 0;
}

.site-corretor .broker-home-block .alert {
    width: 100%;
}

.site-corretor .broker-home-block #guiaBairros .card {
    border: 1px solid rgba(20, 35, 45, 0.09);
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(20, 35, 45, 0.06);
}

.site-corretor .broker-home-block #guiaBairros .card-title {
    font-size: 1rem;
    font-weight: 900;
}

.site-corretor .broker-home-block #guiaBairros .tipo-boxes {
    display: grid;
    gap: 0.45rem;
}

.site-corretor .broker-home-block #guiaBairros .tipo-box {
    align-items: center;
    border-top: 1px solid rgba(20, 35, 45, 0.08);
    display: flex;
    justify-content: space-between;
    padding-top: 0.45rem;
}

.site-corretor .broker-home-block #guiaBairros .tipo-link,
.site-corretor .broker-home-block #guiaBairros .tipo-total {
    font-size: 0.78rem;
    font-weight: 800;
}

.site-corretor .broker-home-block .agents-grid {
    min-width: 0;
}

.site-corretor .broker-home-block .landscapes {
    margin-bottom: 0 !important;
}

.site-corretor .broker-home-block .project-single,
.site-corretor .broker-home-block .homes-content {
    height: 100%;
}

.site-corretor .broker-home-block .homes-content h3 {
    font-size: 1.02rem;
    line-height: 1.25;
}

.site-corretor .broker-home-block .homes-list {
    display: grid;
    gap: 0.45rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.site-corretor .broker-home-block .homes-list li {
    width: auto !important;
}

/* Modelo 2: editorial premium */
.site-corretor.broker-template-2 .broker-luxury-hero {
    background-color: #071a16;
    background-image:
        linear-gradient(90deg, rgba(7, 26, 22, 0.94), rgba(7, 26, 22, 0.66) 42%, rgba(7, 26, 22, 0.18)),
        var(--broker-template-hero-image, url("/images/single-property/banner.jpg"));
    background-position: center;
    background-size: cover;
    min-height: 720px;
    padding: 138px 0 70px;
    position: relative;
}

.site-corretor.broker-template-2 .broker-luxury-hero::before {
    background: radial-gradient(circle at 72% 28%, rgba(241, 200, 121, 0.18), transparent 32%);
    content: "";
    inset: 0;
    position: absolute;
}

.site-corretor.broker-template-2 .broker-luxury-shell {
    align-items: center;
    display: grid;
    gap: 3rem;
    grid-template-columns: minmax(0, 1fr) minmax(380px, 520px);
    margin: 0 auto;
    max-width: 1180px;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
}

.site-corretor.broker-template-2 .broker-luxury-copy {
    color: #fff;
    max-width: 680px;
}

.site-corretor.broker-template-2 .broker-luxury-copy .broker-template-label {
    background: rgba(199, 154, 69, 0.18);
    color: #f1c879;
}

.site-corretor.broker-template-2 .broker-luxury-copy h1 {
    color: #fff;
    font-size: 5rem;
    font-weight: 900;
    line-height: 0.96;
    margin: 1.2rem 0;
}

.site-corretor.broker-template-2 .broker-luxury-copy p {
    color: rgba(255, 255, 255, 0.76);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 580px;
}

.site-corretor.broker-template-2 .broker-luxury-proof {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 2.2rem;
    padding-top: 1.4rem;
}

.site-corretor.broker-template-2 .broker-luxury-proof strong {
    color: #f1c879;
    display: block;
    font-size: 0.9rem;
    font-weight: 900;
}

.site-corretor.broker-template-2 .broker-luxury-proof span {
    color: rgba(255, 255, 255, 0.66);
    display: block;
    font-size: 0.74rem;
    line-height: 1.35;
}

.site-corretor.broker-template-2 .broker-luxury-panel {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.34);
    padding: 1rem;
}

.site-corretor.broker-template-2 .broker-luxury-panel .broker-search-module {
    border: 0;
    box-shadow: none;
    margin: 0;
    padding: 0;
}

.site-corretor.broker-template-2 .broker-concierge-link {
    border-top: 1px solid rgba(19, 35, 31, 0.1);
    color: #10231f;
    display: block;
    font-weight: 900;
    margin-top: 0.7rem;
    padding-top: 0.9rem;
}

.site-corretor.broker-template-2 .broker-luxury-selection {
    background: #f7faf8;
}

.site-corretor.broker-template-2 .broker-luxury-selection .broker-section-heading span,
.site-corretor.broker-template-2 .broker-luxury-selection .broker-section-heading a,
.site-corretor.broker-template-2 .broker-luxury-journal .broker-section-heading span,
.site-corretor.broker-template-2 .broker-luxury-neighborhoods .broker-section-heading span {
    color: #a8761a;
}

.site-corretor.broker-template-2 .broker-luxury-property-grid {
    display: grid;
    gap: 1.1rem;
    grid-template-columns: 1.25fr repeat(2, minmax(0, 1fr));
}

.site-corretor.broker-template-2 .broker-luxury-property-grid .agents-grid:nth-child(n+4) {
    display: none;
}

.site-corretor.broker-template-2 .broker-luxury-property-grid .agents-grid:first-child {
    grid-row: span 2;
}

.site-corretor.broker-template-2 .broker-luxury-property-grid .agents-grid:first-child .swiper-slide {
    padding-top: 78%;
}

.site-corretor.broker-template-2 .broker-luxury-journal {
    background: #10231f;
    color: #fff;
}

.site-corretor.broker-template-2 .broker-luxury-journal-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}

.site-corretor.broker-template-2 .broker-luxury-journal article {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 2rem;
}

.site-corretor.broker-template-2 .broker-luxury-journal article span {
    color: #f1c879;
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
}

.site-corretor.broker-template-2 .broker-luxury-journal article h2 {
    color: #fff;
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.04;
    margin: 1rem 0;
}

.site-corretor.broker-template-2 .broker-luxury-journal article p {
    color: rgba(255, 255, 255, 0.68);
}

.site-corretor.broker-template-2 .broker-luxury-journal article a {
    border: 1px solid rgba(241, 200, 121, 0.5);
    border-radius: 6px;
    color: #f1c879;
    display: inline-flex;
    font-weight: 900;
    margin-top: 1rem;
    padding: 0.78rem 1rem;
}

.site-corretor.broker-template-2 .broker-luxury-rent-list #top10ImoveisAluguel {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.site-corretor.broker-template-2 .broker-luxury-rent-list #top10ImoveisAluguel .agents-grid:nth-child(n+5) {
    display: none;
}

.site-corretor.broker-template-2 .broker-luxury-neighborhoods {
    background: #f7faf8;
}

.site-corretor.broker-template-2 .broker-luxury-neighborhoods #guiaBairros {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.site-corretor.broker-template-2 .broker-luxury-neighborhoods #guiaBairros > div {
    max-width: none;
    padding: 0;
}

.site-corretor.broker-template-2 .broker-luxury-neighborhoods #guiaBairros > div:nth-child(n+5) {
    display: none;
}

/* Modelo 3: bairros e mapa */
.site-corretor.broker-template-3 .broker-map-hero {
    background: #eef5f9;
    padding: 132px 0 2.2rem;
}

.site-corretor.broker-template-3 .broker-map-intro {
    margin: 0 auto 1.6rem;
    max-width: 820px;
    text-align: center;
}

.site-corretor.broker-template-3 .broker-map-intro .broker-template-label {
    background: rgba(38, 95, 143, 0.12);
    color: #265f8f;
}

.site-corretor.broker-template-3 .broker-map-intro h1 {
    color: #111827;
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.02;
    margin: 1rem 0;
}

.site-corretor.broker-template-3 .broker-map-intro p {
    color: #627084;
    font-size: 1.02rem;
    line-height: 1.65;
}

.site-corretor.broker-template-3 .broker-map-hero .broker-search-module {
    margin: 0 auto;
    max-width: 1060px;
}

.site-corretor.broker-template-3 .broker-neighborhood-discovery {
    background: #f4f7fb;
    padding-top: 2.8rem;
}

.site-corretor.broker-template-3 .broker-discovery-grid {
    display: grid;
    gap: 1.2rem;
    grid-template-columns: minmax(240px, 0.72fr) minmax(360px, 1.16fr) minmax(300px, 0.9fr);
}

.site-corretor.broker-template-3 .broker-discovery-rail,
.site-corretor.broker-template-3 .broker-discovery-results,
.site-corretor.broker-template-3 .broker-map-card {
    background: #fff;
    border: 1px solid #dbe3ee;
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(17, 24, 39, 0.06);
}

.site-corretor.broker-template-3 .broker-discovery-rail,
.site-corretor.broker-template-3 .broker-discovery-results {
    padding: 1.1rem;
}

.site-corretor.broker-template-3 .broker-discovery-rail #guiaBairros {
    display: grid;
    gap: 0.8rem;
    margin: 0;
}

.site-corretor.broker-template-3 .broker-discovery-rail #guiaBairros > div {
    max-width: none;
    padding: 0;
}

.site-corretor.broker-template-3 .broker-discovery-rail #guiaBairros > div:nth-child(n+5) {
    display: none;
}

.site-corretor.broker-template-3 .broker-map-board {
    min-height: 660px;
}

.site-corretor.broker-template-3 .broker-map-card {
    background:
        linear-gradient(90deg, rgba(38, 95, 143, 0.08) 1px, transparent 1px),
        linear-gradient(rgba(38, 95, 143, 0.08) 1px, transparent 1px),
        #edf5f2;
    background-size: 64px 64px;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.site-corretor.broker-template-3 .broker-map-streets {
    background:
        linear-gradient(28deg, transparent 45%, rgba(38, 95, 143, 0.22) 46%, rgba(38, 95, 143, 0.22) 49%, transparent 50%),
        linear-gradient(-34deg, transparent 45%, rgba(38, 95, 143, 0.14) 46%, rgba(38, 95, 143, 0.14) 50%, transparent 51%);
    inset: 0;
    position: absolute;
}

.site-corretor.broker-template-3 .broker-map-pin {
    background: #265f8f;
    border-radius: 6px;
    box-shadow: 0 12px 24px rgba(38, 95, 143, 0.28);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 900;
    padding: 0.52rem 0.62rem;
    position: absolute;
    z-index: 1;
}

.site-corretor.broker-template-3 .pin-a {
    left: 22%;
    top: 22%;
}

.site-corretor.broker-template-3 .pin-b {
    right: 18%;
    top: 34%;
}

.site-corretor.broker-template-3 .pin-c {
    left: 36%;
    bottom: 28%;
}

.site-corretor.broker-template-3 .pin-d {
    right: 28%;
    bottom: 18%;
}

.site-corretor.broker-template-3 .broker-discovery-results #top10ImoveisVenda {
    display: grid;
    gap: 0.85rem;
}

.site-corretor.broker-template-3 .broker-discovery-results #top10ImoveisVenda .agents-grid:nth-child(n+4) {
    display: none;
}

.site-corretor.broker-template-3 .broker-discovery-results .landscapes,
.site-corretor.broker-template-3 .broker-discovery-results .project-single {
    margin: 0 !important;
}

.site-corretor.broker-template-3 .broker-discovery-results .homes-content {
    padding: 0.9rem !important;
}

.site-corretor.broker-template-3 .broker-map-rent-strip {
    background: #fff;
}

.site-corretor.broker-template-3 .broker-map-rent-strip #top10ImoveisAluguel {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.site-corretor.broker-template-3 .broker-map-rent-strip #top10ImoveisAluguel .agents-grid:nth-child(n+5) {
    display: none;
}

/* Modelo 4: marca pessoal */
.site-corretor.broker-template-4 .broker-personal-hero {
    background-color: #1f2421;
    background-image:
        linear-gradient(90deg, rgba(31, 36, 33, 0.96), rgba(31, 36, 33, 0.7) 58%, rgba(31, 36, 33, 0.36)),
        var(--broker-template-hero-image, url("/images/single-property/banner.jpg"));
    background-position: center;
    background-size: cover;
    min-height: 720px;
    padding: 136px 0 70px;
}

.site-corretor.broker-template-4 .broker-personal-grid {
    align-items: center;
    display: grid;
    gap: 1.5rem;
    grid-template-columns: minmax(0, 0.95fr) minmax(260px, 360px) minmax(320px, 0.8fr);
}

.site-corretor.broker-template-4 .broker-personal-copy {
    color: #fffaf5;
}

.site-corretor.broker-template-4 .broker-personal-copy .broker-template-label {
    background: rgba(183, 115, 79, 0.2);
    color: #f1b188;
}

.site-corretor.broker-template-4 .broker-personal-copy h1 {
    color: #fffaf5;
    font-size: 4.35rem;
    font-weight: 900;
    line-height: 1.02;
    margin: 1.1rem 0;
}

.site-corretor.broker-template-4 .broker-personal-copy p {
    color: rgba(255, 250, 245, 0.76);
    font-size: 1rem;
    line-height: 1.7;
}

.site-corretor.broker-template-4 .broker-personal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.site-corretor.broker-template-4 .broker-personal-actions a {
    border: 1px solid rgba(255, 250, 245, 0.22);
    border-radius: 4px;
    color: #fffaf5;
    font-weight: 900;
    padding: 0.82rem 1rem;
}

.site-corretor.broker-template-4 .broker-personal-actions a:first-child {
    background: #b7734f;
    border-color: #b7734f;
}

.site-corretor.broker-template-4 .broker-personal-card {
    background: #fffaf5;
    border-radius: 4px;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
    overflow: hidden;
}

.site-corretor.broker-template-4 .broker-personal-card img {
    display: block;
    height: 390px;
    object-fit: cover;
    width: 100%;
}

.site-corretor.broker-template-4 .broker-personal-card div {
    padding: 1.1rem;
}

.site-corretor.broker-template-4 .broker-personal-card strong {
    color: #1f2421;
    display: block;
    font-size: 1.1rem;
    font-weight: 900;
}

.site-corretor.broker-template-4 .broker-personal-card span {
    color: #8a8178;
    display: block;
    font-size: 0.78rem;
    line-height: 1.55;
    margin-top: 0.35rem;
}

.site-corretor.broker-template-4 .broker-personal-search .broker-search-module {
    background: #fffaf5;
    border-radius: 4px;
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.24);
    padding: 0.9rem;
}

.site-corretor.broker-template-4 .broker-personal-stats {
    background: #1f2421;
    padding: 0;
}

.site-corretor.broker-template-4 .broker-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.site-corretor.broker-template-4 .broker-stat-grid div {
    border-left: 1px solid rgba(255, 250, 245, 0.12);
    padding: 1.3rem 1rem;
    text-align: center;
}

.site-corretor.broker-template-4 .broker-stat-grid div:first-child {
    border-left: 0;
}

.site-corretor.broker-template-4 .broker-stat-grid strong {
    color: #f1b188;
    display: block;
    font-size: 1.35rem;
    font-weight: 900;
}

.site-corretor.broker-template-4 .broker-stat-grid span {
    color: rgba(255, 250, 245, 0.68);
    display: block;
    font-size: 0.74rem;
    margin-top: 0.25rem;
}

.site-corretor.broker-template-4 .broker-personal-feature,
.site-corretor.broker-template-4 .broker-personal-opportunities {
    background: #f7f1eb;
}

.site-corretor.broker-template-4 .broker-personal-feature-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.58fr);
}

.site-corretor.broker-template-4 .broker-personal-feature #top10ImoveisVenda .agents-grid:nth-child(n+2) {
    display: none;
}

.site-corretor.broker-template-4 .broker-personal-feature #top10ImoveisVenda .project-single {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
}

.site-corretor.broker-template-4 .broker-personal-feature #top10ImoveisVenda .homes-content {
    border-top: 0 !important;
    padding: 1.4rem !important;
}

.site-corretor.broker-template-4 .broker-personal-feature aside {
    background: #fffaf5;
    border: 1px solid #e4d8cd;
    border-radius: 4px;
    box-shadow: 0 14px 30px rgba(43, 41, 39, 0.08);
    padding: 1.4rem;
}

.site-corretor.broker-template-4 .broker-personal-feature aside h3 {
    color: #1f2421;
    font-size: 1.4rem;
    font-weight: 900;
}

.site-corretor.broker-template-4 .broker-personal-feature aside ul {
    list-style: none;
    margin: 1rem 0;
    padding: 0;
}

.site-corretor.broker-template-4 .broker-personal-feature aside li {
    border-top: 1px solid #e4d8cd;
    color: #5f6f52;
    font-weight: 800;
    padding: 0.75rem 0;
}

.site-corretor.broker-template-4 .broker-personal-feature aside a {
    background: #b7734f;
    border-radius: 4px;
    color: #fffaf5;
    display: inline-flex;
    font-weight: 900;
    padding: 0.82rem 1rem;
}

.site-corretor.broker-template-4 .broker-personal-opportunities #top10ImoveisAluguel {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.site-corretor.broker-template-4 .broker-personal-opportunities #top10ImoveisAluguel .agents-grid:nth-child(n+4),
.site-corretor.broker-template-4 .broker-personal-opportunities #guiaBairros {
    display: none;
}

/* Modelo 5: catálogo premium */
.site-corretor.broker-template-5 .broker-catalog-hero {
    background: #f5fbfb;
    border-bottom: 1px solid #d5e5e6;
    padding: 122px 1rem 1.4rem;
}

.site-corretor.broker-template-5 .broker-catalog-top {
    align-items: flex-end;
    display: flex;
    gap: 1.5rem;
    justify-content: space-between;
    margin: 0 auto 1rem;
    max-width: 1320px;
}

.site-corretor.broker-template-5 .broker-catalog-top .broker-template-label {
    background: rgba(22, 128, 123, 0.12);
    color: #16807b;
}

.site-corretor.broker-template-5 .broker-catalog-top h1 {
    color: #14313a;
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1.04;
    margin: 0.85rem 0 0;
    max-width: 760px;
}

.site-corretor.broker-template-5 .broker-catalog-top > a {
    background: #16807b;
    border-radius: 8px;
    color: #fff;
    font-weight: 900;
    padding: 0.82rem 1rem;
    white-space: nowrap;
}

.site-corretor.broker-template-5 .broker-catalog-hero .broker-search-module {
    margin: 0 auto;
    max-width: 1320px;
}

.site-corretor.broker-template-5 .broker-catalog-tabs {
    display: flex;
    gap: 0.7rem;
    margin: 1rem auto 0;
    max-width: 1320px;
    overflow-x: auto;
}

.site-corretor.broker-template-5 .broker-catalog-tabs a {
    background: #fff;
    border: 1px solid #d5e5e6;
    border-radius: 8px;
    color: #14313a;
    font-weight: 900;
    padding: 0.72rem 0.95rem;
    white-space: nowrap;
}

.site-corretor.broker-template-5 .broker-catalog-grid-section {
    background: #f5fbfb;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 1.4rem;
}

.site-corretor.broker-template-5 .broker-catalog-layout {
    display: grid;
    gap: 1.2rem;
    grid-template-columns: 280px minmax(0, 1fr);
    margin: 0 auto;
    max-width: 1320px;
}

.site-corretor.broker-template-5 .broker-catalog-sidebar {
    align-self: start;
    background: #fff;
    border: 1px solid #d5e5e6;
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(20, 49, 58, 0.06);
    padding: 1.1rem;
    position: sticky;
    top: 95px;
}

.site-corretor.broker-template-5 .broker-catalog-sidebar > a {
    align-items: center;
    border-top: 1px solid #d5e5e6;
    color: #14313a;
    display: flex;
    font-weight: 900;
    justify-content: space-between;
    padding: 0.8rem 0;
}

.site-corretor.broker-template-5 .broker-catalog-neighborhoods {
    border-top: 1px solid #d5e5e6;
    margin-top: 0.6rem;
    padding-top: 1rem;
}

.site-corretor.broker-template-5 .broker-catalog-neighborhoods h3 {
    color: #14313a;
    font-size: 1rem;
    font-weight: 900;
}

.site-corretor.broker-template-5 .broker-catalog-neighborhoods #guiaBairros {
    display: grid;
    gap: 0.65rem;
    margin: 0;
}

.site-corretor.broker-template-5 .broker-catalog-neighborhoods #guiaBairros > div {
    max-width: none;
    padding: 0;
}

.site-corretor.broker-template-5 .broker-catalog-neighborhoods #guiaBairros > div:nth-child(n+4) {
    display: none;
}

.site-corretor.broker-template-5 .broker-catalog-results {
    min-width: 0;
}

.site-corretor.broker-template-5 .broker-catalog-results #top10ImoveisVenda,
.site-corretor.broker-template-5 .broker-catalog-results #top10ImoveisAluguel {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.site-corretor.broker-template-5 .broker-catalog-results #top10ImoveisVenda .agents-grid:nth-child(n+7),
.site-corretor.broker-template-5 .broker-catalog-results #top10ImoveisAluguel .agents-grid:nth-child(n+4) {
    display: none;
}

.site-corretor.broker-template-5 .broker-catalog-subheading {
    border-top: 1px solid #d5e5e6;
    margin-top: 2rem;
    padding-top: 2rem;
}

@media (max-width: 1199.98px) {
    .site-corretor.broker-template-2 .broker-luxury-shell,
    .site-corretor.broker-template-4 .broker-personal-grid {
        grid-template-columns: 1fr;
    }

    .site-corretor.broker-template-3 .broker-discovery-grid {
        grid-template-columns: 1fr;
    }

    .site-corretor.broker-template-3 .broker-map-board {
        min-height: 420px;
    }

    .site-corretor.broker-template-5 .broker-catalog-layout {
        grid-template-columns: 1fr;
    }

    .site-corretor.broker-template-5 .broker-catalog-sidebar {
        position: static;
    }
}

@media (max-width: 991.98px) {
    .site-corretor .broker-section-heading,
    .site-corretor.broker-template-5 .broker-catalog-top {
        align-items: flex-start;
        flex-direction: column;
    }

    .site-corretor .broker-section-heading h2 {
        font-size: 1.9rem;
    }

    .site-corretor.broker-template-2 .broker-luxury-copy h1,
    .site-corretor.broker-template-4 .broker-personal-copy h1 {
        font-size: 3.35rem;
    }

    .site-corretor.broker-template-2 .broker-luxury-journal article h2,
    .site-corretor.broker-template-3 .broker-map-intro h1,
    .site-corretor.broker-template-5 .broker-catalog-top h1 {
        font-size: 2.7rem;
    }

    .site-corretor.broker-template-2 .broker-luxury-property-grid,
    .site-corretor.broker-template-2 .broker-luxury-journal-grid,
    .site-corretor.broker-template-2 .broker-luxury-rent-list #top10ImoveisAluguel,
    .site-corretor.broker-template-2 .broker-luxury-neighborhoods #guiaBairros,
    .site-corretor.broker-template-3 .broker-map-rent-strip #top10ImoveisAluguel,
    .site-corretor.broker-template-4 .broker-personal-feature-grid,
    .site-corretor.broker-template-4 .broker-personal-opportunities #top10ImoveisAluguel,
    .site-corretor.broker-template-5 .broker-catalog-results #top10ImoveisVenda,
    .site-corretor.broker-template-5 .broker-catalog-results #top10ImoveisAluguel {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-corretor.broker-template-4 .broker-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .site-corretor .broker-home-block {
        padding: 3rem 0;
    }

    .site-corretor .broker-section-heading h2 {
        font-size: 1.65rem;
    }

    .site-corretor .broker-search-module .row {
        display: block;
    }

    .site-corretor .broker-search-module .rld-single-input,
    .site-corretor .broker-search-module .rld-single-select,
    .site-corretor .broker-search-module .broker-search-action {
        margin-left: 0 !important;
        padding-left: 0 !important;
        width: 100%;
    }

    .site-corretor .broker-search-module .broker-search-action .btn {
        margin-left: 0;
        width: 100%;
    }

    .site-corretor.broker-template-2 .broker-luxury-hero,
    .site-corretor.broker-template-4 .broker-personal-hero {
        padding-top: 116px;
    }

    .site-corretor.broker-template-2 .broker-luxury-copy h1,
    .site-corretor.broker-template-3 .broker-map-intro h1,
    .site-corretor.broker-template-4 .broker-personal-copy h1,
    .site-corretor.broker-template-5 .broker-catalog-top h1 {
        font-size: 2.25rem;
        line-height: 1.08;
    }

    .site-corretor.broker-template-2 .broker-luxury-journal article h2 {
        font-size: 2rem;
    }

    .site-corretor.broker-template-2 .broker-luxury-proof,
    .site-corretor.broker-template-2 .broker-luxury-property-grid,
    .site-corretor.broker-template-2 .broker-luxury-rent-list #top10ImoveisAluguel,
    .site-corretor.broker-template-2 .broker-luxury-neighborhoods #guiaBairros,
    .site-corretor.broker-template-3 .broker-map-rent-strip #top10ImoveisAluguel,
    .site-corretor.broker-template-4 .broker-personal-feature #top10ImoveisVenda .project-single,
    .site-corretor.broker-template-4 .broker-personal-opportunities #top10ImoveisAluguel,
    .site-corretor.broker-template-5 .broker-catalog-results #top10ImoveisVenda,
    .site-corretor.broker-template-5 .broker-catalog-results #top10ImoveisAluguel {
        grid-template-columns: 1fr;
    }

    .site-corretor.broker-template-4 .broker-stat-grid {
        grid-template-columns: 1fr;
    }
}

/* Template layout layer: structure changes only, colors come from the broker settings. */
.site-corretor[class*="broker-template-"] {
    --broker-layout-brand: var(--broker-brand, #111827);
    --broker-layout-text: var(--broker-text, #111827);
    --broker-layout-heading: var(--broker-heading-bg, var(--broker-brand, #111827));
    --broker-layout-button-text: var(--broker-button-text, #fff);
    --broker-layout-title: var(--broker-title, var(--broker-text, #111827));
}

.site-corretor.broker-template-2 {
    --broker-template-accent: var(--broker-layout-brand);
    --broker-template-aqua: var(--broker-soft, #f6f7fb);
    --broker-template-card: #fff;
    --broker-template-deep: var(--broker-layout-heading);
    --broker-template-ink: var(--broker-layout-text);
    --broker-template-line: var(--broker-line, #e5e7eb);
    --broker-template-muted: var(--broker-muted, #64748b);
    --broker-template-soft: var(--broker-soft, #f6f7fb);
}

.site-corretor.broker-template-3 {
    --broker-template-primary: var(--broker-layout-brand);
    --broker-template-accent: var(--broker-layout-brand);
    --broker-template-aqua: var(--broker-soft, #f6f7fb);
    --broker-template-card: #fff;
    --broker-template-ink: var(--broker-layout-text);
    --broker-template-line: var(--broker-line, #e5e7eb);
    --broker-template-muted: var(--broker-muted, #64748b);
    --broker-template-soft: var(--broker-soft, #f6f7fb);
}

.site-corretor.broker-template-4 {
    --broker-template-body: var(--broker-layout-text);
    --broker-template-card: #fff;
    --broker-template-copper: var(--broker-layout-brand);
    --broker-template-deep: var(--broker-layout-heading);
    --broker-template-olive: var(--broker-layout-heading);
    --broker-template-ink: var(--broker-layout-text);
    --broker-template-line: var(--broker-line, #e5e7eb);
    --broker-template-muted: var(--broker-muted, #64748b);
    --broker-template-soft: var(--broker-soft, #f6f7fb);
}

.site-corretor.broker-template-5 {
    --broker-template-card: #fff;
    --broker-template-teal: var(--broker-layout-brand);
    --broker-template-sun: var(--broker-layout-brand);
    --broker-template-ink: var(--broker-layout-text);
    --broker-template-lagoon: var(--broker-soft, #f6f7fb);
    --broker-template-line: var(--broker-line, #e5e7eb);
    --broker-template-muted: var(--broker-muted, #64748b);
    --broker-template-soft: var(--broker-soft, #f6f7fb);
}

.site-corretor.broker-template-6,
.site-corretor.broker-template-7,
.site-corretor.broker-template-8 {
    --broker-template-card: #fff;
    --broker-template-ink: var(--broker-layout-text);
    --broker-template-line: var(--broker-line, #e5e7eb);
    --broker-template-muted: var(--broker-muted, #64748b);
    --broker-template-soft: var(--broker-soft, #f6f7fb);
    --broker-template-accent: var(--broker-layout-brand);
}

.site-corretor[class*="broker-template-"] .broker-template-label,
.site-corretor[class*="broker-template-"] .rld-main-search .btn,
.site-corretor[class*="broker-template-"] #btnBuscar,
.site-corretor[class*="broker-template-"] #btnBuscarPorCodigo,
.site-corretor[class*="broker-template-"] .header-widget .button,
.site-corretor[class*="broker-template-"] .broker-form-card .btn,
.site-corretor[class*="broker-template-"] .btn-primary,
.site-corretor[class*="broker-template-"] .widget-boxed .btn,
.site-corretor[class*="broker-template-"] .property-detail-meta .category-tag {
    background: var(--broker-layout-brand) !important;
    border-color: var(--broker-layout-brand) !important;
    color: var(--broker-layout-button-text) !important;
}

.site-corretor[class*="broker-template-"] .broker-section-heading span,
.site-corretor[class*="broker-template-"] .broker-page-hero-content span,
.site-corretor[class*="broker-template-"] .homes-list li i,
.site-corretor[class*="broker-template-"] .homes-address i,
.site-corretor[class*="broker-template-"] .property-detail-address i,
.site-corretor[class*="broker-template-"] .broker-contact-card .info i,
.site-corretor[class*="broker-template-"] .broker-neighborhood-link i,
.site-corretor[class*="broker-template-"] .compare a:hover {
    color: var(--broker-layout-brand) !important;
}

.site-corretor[class*="broker-template-"] .broker-section-heading h2,
.site-corretor[class*="broker-template-"] .broker-section-heading h3,
.site-corretor[class*="broker-template-"] .broker-page-hero-content h1,
.site-corretor[class*="broker-template-"] .homes-content h3 a,
.site-corretor[class*="broker-template-"] .property-detail-summary h3,
.site-corretor[class*="broker-template-"] .property-detail-price-item strong,
.site-corretor[class*="broker-template-"] .broker-contact-card h3,
.site-corretor[class*="broker-template-"] .broker-map-card h3 {
    color: var(--broker-layout-title) !important;
}

.site-corretor[class*="broker-template-"] .price-properties h3 a,
.site-corretor[class*="broker-template-"] .property-detail-costs b {
    color: var(--broker-layout-heading) !important;
}

.site-corretor[class*="broker-template-"] #navigation.style-1 ul li:hover,
.site-corretor[class*="broker-template-"] .rld-banner-tab .nav-tabs .nav-item a.active,
.site-corretor[class*="broker-template-"] .rld-banner-tab .nav-tabs .nav-item a:hover {
    background: var(--broker-layout-brand) !important;
    color: var(--broker-layout-button-text) !important;
}

.site-corretor[class*="broker-template-"] .banner-inner h1,
.site-corretor[class*="broker-template-"] .banner-inner .title {
    color: var(--broker-layout-title) !important;
}

.site-corretor[class*="broker-template-"] .banner-inner .sub-title {
    color: var(--broker-layout-text) !important;
}

.site-corretor[class*="broker-template-"] .banner-search-wrap,
.site-corretor[class*="broker-template-"] .broker-search-module {
    border-color: var(--broker-line) !important;
}

.site-corretor[class*="broker-template-"] .banner-search-wrap {
    border-left-color: var(--broker-layout-brand) !important;
    border-bottom-color: var(--broker-layout-brand) !important;
}

.site-corretor[class*="broker-template-"] .fav-topo {
    border-color: var(--broker-layout-brand) !important;
    color: var(--broker-layout-brand) !important;
}

.site-corretor[class*="broker-template-"] .broker-feature-card,
.site-corretor[class*="broker-template-"] .broker-luxury-proof,
.site-corretor[class*="broker-template-"] .broker-luxury-journal article,
.site-corretor[class*="broker-template-"] .broker-map-feature,
.site-corretor[class*="broker-template-"] .broker-personal-feature,
.site-corretor[class*="broker-template-"] .broker-catalog-panel {
    background: #fff !important;
    border-color: var(--broker-line) !important;
    color: var(--broker-layout-text) !important;
}

.site-corretor[class*="broker-template-"] .broker-feature-card strong,
.site-corretor[class*="broker-template-"] .broker-luxury-proof strong,
.site-corretor[class*="broker-template-"] .broker-map-feature strong,
.site-corretor[class*="broker-template-"] .broker-personal-feature strong,
.site-corretor[class*="broker-template-"] .broker-catalog-panel strong {
    color: var(--broker-layout-title) !important;
}

.site-corretor.broker-template-2.homepage-3 #header:not(.sticky):not(.cloned),
.site-corretor.broker-template-4 #header,
.site-corretor.broker-template-4.homepage-3 #header:not(.sticky):not(.cloned) {
    background: var(--broker-layout-heading) !important;
}

.site-corretor.broker-template-2.homepage-3 #header:not(.sticky):not(.cloned) #navigation.style-1 ul li a,
.site-corretor.broker-template-4 #navigation.style-1 ul li a,
.site-corretor.broker-template-4.homepage-3 #header:not(.sticky):not(.cloned) #navigation.style-1 ul li a {
    color: var(--broker-layout-button-text) !important;
}

.site-corretor.broker-template-2.homepage-3 #header:not(.sticky):not(.cloned) .fav-topo,
.site-corretor.broker-template-4 .fav-topo {
    background: transparent !important;
    color: var(--broker-layout-button-text) !important;
}

.site-corretor[class*="broker-template-"].inner-pages.listing .properties-right.list {
    background: #fff;
    padding-bottom: 4.5rem;
}

.site-corretor[class*="broker-template-"].inner-pages.listing .properties-right.list .container > .row {
    align-items: flex-start;
    justify-content: flex-start;
}

.site-corretor[class*="broker-template-"].inner-pages.listing .property-list-card {
    margin-bottom: 1.25rem;
}

.site-corretor[class*="broker-template-"].inner-pages.listing .property-list-card-row {
    background: #fff;
    border: 1px solid var(--broker-line);
    border-radius: 8px;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.07);
    overflow: hidden;
}

.site-corretor[class*="broker-template-"].inner-pages.listing .property-list-media,
.site-corretor[class*="broker-template-"].inner-pages.listing .property-list-body {
    min-width: 0;
}

.site-corretor[class*="broker-template-"].inner-pages.listing .property-list-media .project-single,
.site-corretor[class*="broker-template-"].inner-pages.listing .property-list-media .project-inner,
.site-corretor[class*="broker-template-"].inner-pages.listing .property-list-media .homes,
.site-corretor[class*="broker-template-"].inner-pages.listing .property-list-media .swiper-container {
    height: 100%;
}

.site-corretor[class*="broker-template-"].inner-pages.listing .property-list-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.site-corretor[class*="broker-template-"].inner-pages.listing .widget-boxed.main-search-field {
    border-top: 4px solid var(--broker-layout-brand) !important;
}

.site-corretor.broker-template-2.inner-pages.listing .properties-right.list .container > .row {
    display: grid;
    gap: 2rem;
    grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
    margin-left: 0;
    margin-right: 0;
}

.site-corretor.broker-template-2.inner-pages.listing .properties-right.list aside.car,
.site-corretor.broker-template-2.inner-pages.listing .properties-right.list .blog-pots {
    flex: none;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
    width: auto;
}

.site-corretor.broker-template-2.inner-pages.listing .property-list-card {
    padding-left: 0;
    padding-right: 0;
}

.site-corretor.broker-template-2.inner-pages.listing .property-list-card-row {
    display: grid;
    grid-template-columns: minmax(300px, 0.95fr) minmax(0, 1.05fr);
    margin: 0;
}

.site-corretor.broker-template-2.inner-pages.listing .property-list-card-row > [class*="col-"] {
    flex: none;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
}

.site-corretor.broker-template-2.inner-pages.listing .property-list-body {
    padding: 1.6rem !important;
}

.site-corretor.broker-template-2.inner-pages.listing .property-list-body h3 {
    font-size: 1.35rem;
}

.site-corretor.broker-template-2.inner-pages.listing .homes-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.site-corretor.broker-template-3.inner-pages.listing .properties-right.list .container > .row {
    display: block;
    margin-left: 0;
    margin-right: 0;
}

.site-corretor.broker-template-3.inner-pages.listing .properties-right.list aside.car,
.site-corretor.broker-template-3.inner-pages.listing .properties-right.list .blog-pots {
    flex: none;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
    width: 100%;
}

.site-corretor.broker-template-3.inner-pages.listing .widget-boxed.main-search-field {
    margin-bottom: 1.35rem;
    padding: 1.1rem !important;
}

.site-corretor.broker-template-3.inner-pages.listing #listingFilters.is-open {
    display: grid;
    gap: 0.85rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.site-corretor.broker-template-3.inner-pages.listing #listingFilters .main-search-field-2,
.site-corretor.broker-template-3.inner-pages.listing #listingFilters .form-group {
    margin-bottom: 0;
}

.site-corretor.broker-template-3.inner-pages.listing #imovel-content {
    display: grid;
    gap: 1.1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-left: 0;
    margin-right: 0;
}

.site-corretor.broker-template-3.inner-pages.listing .property-list-card {
    flex: none;
    margin: 0;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
    width: auto;
}

.site-corretor.broker-template-3.inner-pages.listing .property-list-card-row {
    display: block;
    height: 100%;
    margin: 0;
}

.site-corretor.broker-template-3.inner-pages.listing .property-list-card-row > [class*="col-"] {
    flex: none;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
    width: 100%;
}

.site-corretor.broker-template-3.inner-pages.listing .property-list-media .swiper-slide {
    padding-top: 62%;
}

.site-corretor.broker-template-3.inner-pages.listing .property-list-body {
    padding: 1.05rem !important;
}

.site-corretor.broker-template-3.inner-pages.listing .homes-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.site-corretor.broker-template-4.inner-pages.listing .properties-right.list .container > .row {
    display: block;
    margin-left: 0;
    margin-right: 0;
}

.site-corretor.broker-template-4.inner-pages.listing .properties-right.list aside.car,
.site-corretor.broker-template-4.inner-pages.listing .properties-right.list .blog-pots {
    flex: none;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
    width: 100%;
}

.site-corretor.broker-template-4.inner-pages.listing .widget-boxed.main-search-field {
    margin-bottom: 2rem;
}

.site-corretor.broker-template-4.inner-pages.listing #listingFilters.is-open {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.site-corretor.broker-template-4.inner-pages.listing #imovel-content {
    margin-left: 0;
    margin-right: 0;
}

.site-corretor.broker-template-4.inner-pages.listing .property-list-card {
    padding-left: 0;
    padding-right: 0;
}

.site-corretor.broker-template-4.inner-pages.listing .property-list-card-row {
    display: grid;
    grid-template-columns: minmax(320px, 1.15fr) minmax(0, 0.85fr);
    margin: 0;
}

.site-corretor.broker-template-4.inner-pages.listing .property-list-card-row > [class*="col-"] {
    flex: none;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
}

.site-corretor.broker-template-4.inner-pages.listing .property-list-card:nth-child(even) .property-list-media {
    order: 2;
}

.site-corretor.broker-template-4.inner-pages.listing .property-list-card:nth-child(even) .property-list-body {
    order: 1;
}

.site-corretor.broker-template-4.inner-pages.listing .property-list-body {
    justify-content: center;
    padding: 2rem !important;
}

.site-corretor.broker-template-4.inner-pages.listing .property-list-body h3 {
    font-size: 1.45rem;
}

.site-corretor.broker-template-5.inner-pages.listing .properties-right.list .container > .row {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: minmax(230px, 280px) minmax(0, 1fr);
    margin-left: 0;
    margin-right: 0;
}

.site-corretor.broker-template-5.inner-pages.listing .properties-right.list aside.car,
.site-corretor.broker-template-5.inner-pages.listing .properties-right.list .blog-pots {
    flex: none;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
    width: auto;
}

.site-corretor.broker-template-5.inner-pages.listing .widget-boxed.main-search-field {
    padding: 0.9rem !important;
}

.site-corretor.broker-template-5.inner-pages.listing .property-list-card {
    padding-left: 0;
    padding-right: 0;
}

.site-corretor.broker-template-5.inner-pages.listing .property-list-card-row {
    display: grid;
    grid-template-columns: 245px minmax(0, 1fr);
    margin: 0;
}

.site-corretor.broker-template-5.inner-pages.listing .property-list-card-row > [class*="col-"] {
    flex: none;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
}

.site-corretor.broker-template-5.inner-pages.listing .property-list-media .swiper-slide {
    padding-top: 72%;
}

.site-corretor.broker-template-5.inner-pages.listing .property-list-body {
    padding: 1rem 1.15rem !important;
}

.site-corretor.broker-template-5.inner-pages.listing .property-list-body h3 {
    font-size: 1rem;
}

.site-corretor.broker-template-5.inner-pages.listing .homes-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.site-corretor[class*="broker-template-"].sin-1 .single-proper.details {
    background: #fff;
}

.site-corretor[class*="broker-template-"].sin-1 .property-detail-summary-card,
.site-corretor[class*="broker-template-"].sin-1 .blog-info.details,
.site-corretor[class*="broker-template-"].sin-1 .property-detail-sidebar-column .widget-boxed {
    border: 1px solid var(--broker-line) !important;
    border-radius: 8px !important;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.07) !important;
}

.site-corretor[class*="broker-template-"].sin-1 .property-detail-summary {
    align-items: stretch;
    gap: 1.25rem;
}

.site-corretor[class*="broker-template-"].sin-1 .property-detail-price-panel {
    border-left: 4px solid var(--broker-layout-brand);
}

.site-corretor.broker-template-2.sin-1 .property-detail-summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
}

.site-corretor.broker-template-2.sin-1 .property-detail-price-panel {
    background: #f8fafc;
    border-radius: 8px;
    padding: 1rem;
}

.site-corretor.broker-template-3.sin-1 .property-detail-content-row {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
    margin-left: 0;
    margin-right: 0;
}

.site-corretor.broker-template-3.sin-1 .property-detail-main-column,
.site-corretor.broker-template-3.sin-1 .property-detail-sidebar-column {
    flex: none;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
    width: auto;
}

.site-corretor.broker-template-3.sin-1 .property-detail-sidebar-column {
    position: sticky;
    top: 105px;
}

.site-corretor.broker-template-3.sin-1 .property-detail-summary {
    display: block;
}

.site-corretor.broker-template-3.sin-1 .property-detail-price-panel {
    margin-top: 1rem;
}

.site-corretor.broker-template-4.sin-1 .property-detail-summary-row,
.site-corretor.broker-template-4.sin-1 .property-detail-content-row {
    margin-left: auto;
    margin-right: auto;
    max-width: 1060px;
}

.site-corretor.broker-template-4.sin-1 .property-detail-summary {
    display: block;
    text-align: center;
}

.site-corretor.broker-template-4.sin-1 .property-detail-address {
    justify-content: center;
}

.site-corretor.broker-template-4.sin-1 .property-detail-price-panel {
    margin: 1.2rem auto 0;
    max-width: 720px;
}

.site-corretor.broker-template-4.sin-1 .property-detail-content-row {
    display: block;
}

.site-corretor.broker-template-4.sin-1 .property-detail-main-column,
.site-corretor.broker-template-4.sin-1 .property-detail-sidebar-column {
    flex: none;
    max-width: 100%;
}

.site-corretor.broker-template-4.sin-1 .property-detail-sidebar-column {
    margin-top: 1.5rem;
}

.site-corretor.broker-template-5.sin-1 .property-detail-summary {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.site-corretor.broker-template-5.sin-1 .property-detail-copy {
    flex: 1 1 auto;
}

.site-corretor.broker-template-5.sin-1 .property-detail-price-panel {
    flex: 0 0 320px;
}

.site-corretor[class*="broker-template-"].broker-page .broker-page-hero {
    background: #fff;
    border-bottom: 1px solid var(--broker-line);
}

.site-corretor[class*="broker-template-"].broker-page .broker-page-hero-content p,
.site-corretor[class*="broker-template-"].broker-page .broker-contact-card p,
.site-corretor[class*="broker-template-"].broker-page .broker-rich-content-card {
    color: var(--broker-layout-text);
}

.site-corretor[class*="broker-template-"].broker-page .broker-form-card,
.site-corretor[class*="broker-template-"].broker-page .broker-contact-card,
.site-corretor[class*="broker-template-"].broker-page .broker-map-card,
.site-corretor[class*="broker-template-"].broker-page .broker-rich-content-card,
.site-corretor[class*="broker-template-"].broker-page .broker-neighborhood-card {
    border-top: 4px solid var(--broker-layout-brand) !important;
}

.site-corretor.broker-template-2.broker-page .broker-page-hero-content {
    border-left: 6px solid var(--broker-layout-brand);
    max-width: 820px;
    padding-left: 2rem;
    text-align: left;
}

.site-corretor.broker-template-2.broker-page .broker-contact-row,
.site-corretor.broker-template-2.broker-page .broker-content-page > .container > .row {
    align-items: flex-start;
    display: grid;
    gap: 2rem;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    margin-left: 0;
    margin-right: 0;
}

.site-corretor.broker-template-2.broker-page .broker-form-column,
.site-corretor.broker-template-2.broker-page .broker-contact-column,
.site-corretor.broker-template-2.broker-page .broker-content-page > .container > .row > [class*="col-"] {
    flex: none;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
    width: auto;
}

.site-corretor.broker-template-3.broker-page .broker-page-hero {
    padding-bottom: 2.4rem;
    padding-top: 3rem;
}

.site-corretor.broker-template-3.broker-page .broker-page-hero-content {
    align-items: end;
    display: grid;
    gap: 1rem 2rem;
    grid-template-columns: 190px minmax(0, 1fr);
    max-width: none;
    text-align: left;
}

.site-corretor.broker-template-3.broker-page .broker-page-hero-content span {
    align-self: start;
    background: var(--broker-layout-brand);
    border-radius: 8px;
    color: var(--broker-layout-button-text) !important;
    padding: 0.75rem 0.9rem;
}

.site-corretor.broker-template-3.broker-page .broker-page-hero-content p {
    grid-column: 2;
}

.site-corretor.broker-template-3.broker-page .broker-contact-row {
    align-items: flex-start;
}

.site-corretor.broker-template-3.broker-page .broker-contact-card {
    position: sticky;
    top: 105px;
}

.site-corretor.broker-template-3.broker-neighborhood-page #guiaBairros {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-left: 0;
    margin-right: 0;
}

.site-corretor.broker-template-3.broker-neighborhood-page #guiaBairros > [class*="col-"],
.site-corretor.broker-template-3.broker-neighborhood-page #guiaBairros > .broker-neighborhood-card {
    flex: none;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
    width: auto;
}

.site-corretor.broker-template-4.broker-page .broker-page-hero {
    background: var(--broker-layout-heading);
}

.site-corretor.broker-template-4.broker-page .broker-page-hero-content {
    margin-left: auto;
    margin-right: auto;
    max-width: 900px;
    text-align: center;
}

.site-corretor.broker-template-4.broker-page .broker-page-hero-content h1,
.site-corretor.broker-template-4.broker-page .broker-page-hero-content p {
    color: var(--broker-layout-button-text) !important;
}

.site-corretor.broker-template-4.broker-page .broker-page-hero-content span {
    background: #fff;
    border-radius: 8px;
    color: var(--broker-layout-brand) !important;
    display: inline-flex;
    padding: 0.45rem 0.75rem;
}

.site-corretor.broker-template-4.broker-page .broker-contact-row {
    align-items: stretch;
}

.site-corretor.broker-template-4.broker-page .broker-form-card,
.site-corretor.broker-template-4.broker-page .broker-contact-card,
.site-corretor.broker-template-4.broker-page .broker-rich-content-card {
    padding: 2rem !important;
}

.site-corretor.broker-template-5.broker-page .broker-page-hero {
    padding-bottom: 2.2rem;
    padding-top: 2.2rem;
}

.site-corretor.broker-template-5.broker-page .broker-page-hero-content {
    align-items: center;
    display: flex;
    gap: 1.25rem;
    justify-content: space-between;
    max-width: none;
    text-align: left;
}

.site-corretor.broker-template-5.broker-page .broker-page-hero-content span {
    border: 1px solid var(--broker-layout-brand);
    border-radius: 8px;
    padding: 0.45rem 0.7rem;
    white-space: nowrap;
}

.site-corretor.broker-template-5.broker-page .broker-page-hero-content h1 {
    flex: 1 1 auto;
    margin-bottom: 0;
}

.site-corretor.broker-template-5.broker-page .broker-page-hero-content p {
    flex: 0 1 360px;
    margin-bottom: 0;
}

.site-corretor.broker-template-5.broker-page .broker-form-card,
.site-corretor.broker-template-5.broker-page .broker-contact-card,
.site-corretor.broker-template-5.broker-page .broker-rich-content-card,
.site-corretor.broker-template-5.broker-page .broker-map-card {
    box-shadow: none !important;
}

.site-corretor.broker-template-5.broker-favorites-page .featured.portfolio,
.site-corretor.broker-template-5.broker-favorites-page .popular-places {
    padding-bottom: 3rem;
    padding-top: 3rem;
}

@media (max-width: 1199.98px) {
    .site-corretor.broker-template-3.inner-pages.listing #listingFilters.is-open,
    .site-corretor.broker-template-4.inner-pages.listing #listingFilters.is-open {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .site-corretor.broker-template-5.inner-pages.listing .homes-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .site-corretor.broker-template-2.inner-pages.listing .properties-right.list .container > .row,
    .site-corretor.broker-template-5.inner-pages.listing .properties-right.list .container > .row,
    .site-corretor.broker-template-3.sin-1 .property-detail-content-row,
    .site-corretor.broker-template-2.broker-page .broker-contact-row,
    .site-corretor.broker-template-2.broker-page .broker-content-page > .container > .row {
        display: block;
    }

    .site-corretor.broker-template-2.inner-pages.listing .property-list-card-row,
    .site-corretor.broker-template-4.inner-pages.listing .property-list-card-row,
    .site-corretor.broker-template-5.inner-pages.listing .property-list-card-row {
        display: block;
    }

    .site-corretor.broker-template-2.inner-pages.listing .property-list-card-row > [class*="col-"],
    .site-corretor.broker-template-4.inner-pages.listing .property-list-card-row > [class*="col-"],
    .site-corretor.broker-template-5.inner-pages.listing .property-list-card-row > [class*="col-"] {
        max-width: 100%;
        width: 100%;
    }

    .site-corretor.broker-template-4.inner-pages.listing .property-list-card:nth-child(even) .property-list-media,
    .site-corretor.broker-template-4.inner-pages.listing .property-list-card:nth-child(even) .property-list-body {
        order: initial;
    }

    .site-corretor.broker-template-3.inner-pages.listing #imovel-content {
        grid-template-columns: 1fr;
    }

    .site-corretor.broker-template-3.inner-pages.listing #listingFilters.is-open,
    .site-corretor.broker-template-4.inner-pages.listing #listingFilters.is-open {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-corretor.broker-template-3.sin-1 .property-detail-sidebar-column,
    .site-corretor.broker-template-3.broker-page .broker-contact-card {
        position: static;
    }

    .site-corretor.broker-template-5.sin-1 .property-detail-summary {
        align-items: stretch;
        display: block;
    }

    .site-corretor.broker-template-5.sin-1 .property-detail-price-panel {
        margin-top: 1rem;
    }

    .site-corretor.broker-template-3.broker-page .broker-page-hero-content,
    .site-corretor.broker-template-5.broker-page .broker-page-hero-content {
        display: block;
    }

    .site-corretor.broker-template-3.broker-page .broker-page-hero-content p,
    .site-corretor.broker-template-5.broker-page .broker-page-hero-content p {
        margin-top: 0.8rem;
    }

    .site-corretor.broker-template-3.broker-neighborhood-page #guiaBairros {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .site-corretor.broker-template-3.inner-pages.listing #listingFilters.is-open,
    .site-corretor.broker-template-4.inner-pages.listing #listingFilters.is-open,
    .site-corretor.broker-template-3.broker-neighborhood-page #guiaBairros {
        grid-template-columns: 1fr;
    }

    .site-corretor.broker-template-2.inner-pages.listing .property-list-body,
    .site-corretor.broker-template-4.inner-pages.listing .property-list-body {
        padding: 1.15rem !important;
    }

    .site-corretor.broker-template-2.broker-page .broker-page-hero-content {
        border-left-width: 4px;
        padding-left: 1rem;
    }
}

/* Professional real-estate template reset */
.site-corretor .broker-realestate-hero,
.site-corretor .broker-realestate-section,
.site-corretor .broker-realestate-floating-search {
    font-family: "Montserrat", "Lato", Arial, sans-serif;
}

.site-corretor .broker-realestate-hero {
    background: #fff;
    overflow: hidden;
    padding: 132px 0 3.2rem;
    position: relative;
}

.site-corretor .broker-realestate-hero .container,
.site-corretor .broker-realestate-hero .container-fluid {
    position: relative;
    z-index: 1;
}

.site-corretor .broker-realestate-hero-copy {
    max-width: 720px;
}

.site-corretor .broker-realestate-hero-copy h1,
.site-corretor .broker-realestate-catalog-head h1 {
    color: var(--broker-layout-title);
    font-size: 3.65rem;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.06;
    margin: 0.95rem 0 0.85rem;
}

.site-corretor .broker-realestate-hero-copy p {
    color: var(--broker-layout-text);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
    max-width: 620px;
}

.site-corretor .broker-realestate-quick-links,
.site-corretor .broker-realestate-shortcuts,
.site-corretor .broker-realestate-service-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.site-corretor .broker-realestate-quick-links {
    margin-top: 1.35rem;
}

.site-corretor .broker-realestate-quick-links a,
.site-corretor .broker-realestate-shortcuts a,
.site-corretor .broker-realestate-service-row a,
.site-corretor .broker-realestate-catalog-head > a,
.site-corretor .broker-realestate-catalog-sidebar > a {
    align-items: center;
    border-radius: 8px;
    display: inline-flex;
    font-weight: 900;
    min-height: 46px;
}

.site-corretor .broker-realestate-quick-links a,
.site-corretor .broker-realestate-catalog-head > a {
    background: var(--broker-layout-brand);
    color: var(--broker-layout-button-text) !important;
    padding: 0.78rem 1rem;
}

.site-corretor .broker-realestate-quick-links a + a {
    background: #fff;
    border: 1px solid var(--broker-line);
    color: var(--broker-layout-title) !important;
}

.site-corretor .broker-realestate-search-card {
    background: #fff;
    border: 1px solid var(--broker-line);
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.11);
    min-width: 0;
    padding: 1rem;
}

.site-corretor .broker-realestate-search-card > strong {
    color: var(--broker-layout-title);
    display: block;
    font-size: 1rem;
    font-weight: 900;
    margin-bottom: 0.8rem;
}

.site-corretor .broker-home-template-2 .broker-search-module,
.site-corretor .broker-home-template-3 .broker-search-module,
.site-corretor .broker-home-template-4 .broker-search-module,
.site-corretor .broker-home-template-5 .broker-search-module {
    background: transparent;
    border: 0 !important;
    box-shadow: none !important;
    margin: 0 !important;
    max-width: none;
    overflow: visible;
    padding: 0 !important;
}

.site-corretor .broker-home-template-2 .rld-banner-tab,
.site-corretor .broker-home-template-3 .rld-banner-tab,
.site-corretor .broker-home-template-4 .rld-banner-tab,
.site-corretor .broker-home-template-5 .rld-banner-tab {
    background: #f8fafc;
    border: 1px solid var(--broker-line);
    border-radius: 8px;
    display: grid;
    gap: 0.45rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0 0 0.75rem;
    padding: 0.42rem;
}

.site-corretor .broker-home-template-2 .rld-banner-tab .nav-item,
.site-corretor .broker-home-template-3 .rld-banner-tab .nav-item,
.site-corretor .broker-home-template-4 .rld-banner-tab .nav-item,
.site-corretor .broker-home-template-5 .rld-banner-tab .nav-item {
    min-width: 0;
}

.site-corretor .broker-home-template-2 .rld-banner-tab .nav-link,
.site-corretor .broker-home-template-3 .rld-banner-tab .nav-link,
.site-corretor .broker-home-template-4 .rld-banner-tab .nav-link,
.site-corretor .broker-home-template-5 .rld-banner-tab .nav-link {
    align-items: center;
    border: 0;
    border-radius: 6px;
    color: var(--broker-layout-title) !important;
    display: flex;
    font-size: 0.86rem;
    font-weight: 900;
    justify-content: center;
    min-height: 45px;
    padding: 0.55rem 0.45rem;
    text-align: center;
    white-space: normal;
}

.site-corretor .broker-home-template-2 .rld-banner-tab .nav-link.active,
.site-corretor .broker-home-template-3 .rld-banner-tab .nav-link.active,
.site-corretor .broker-home-template-4 .rld-banner-tab .nav-link.active,
.site-corretor .broker-home-template-5 .rld-banner-tab .nav-link.active {
    background: var(--broker-layout-brand) !important;
    color: var(--broker-layout-button-text) !important;
}

.site-corretor .broker-home-template-2 .rld-main-search .row,
.site-corretor .broker-home-template-3 .rld-main-search .row,
.site-corretor .broker-home-template-4 .rld-main-search .row,
.site-corretor .broker-home-template-5 .rld-main-search .row {
    align-items: stretch;
    display: grid;
    gap: 0.65rem;
    grid-template-columns: minmax(0, 1.2fr) minmax(230px, 0.78fr) 150px;
    justify-content: stretch;
    margin-left: 0;
    margin-right: 0;
}

.site-corretor .broker-home-template-2 .rld-single-input,
.site-corretor .broker-home-template-2 .rld-single-select,
.site-corretor .broker-home-template-2 .broker-search-action,
.site-corretor .broker-home-template-3 .rld-single-input,
.site-corretor .broker-home-template-3 .rld-single-select,
.site-corretor .broker-home-template-3 .broker-search-action,
.site-corretor .broker-home-template-4 .rld-single-input,
.site-corretor .broker-home-template-4 .rld-single-select,
.site-corretor .broker-home-template-4 .broker-search-action,
.site-corretor .broker-home-template-5 .rld-single-input,
.site-corretor .broker-home-template-5 .rld-single-select,
.site-corretor .broker-home-template-5 .broker-search-action {
    flex: none;
    margin: 0 !important;
    max-width: none;
    min-width: 0;
    padding: 0 !important;
    width: auto;
}

.site-corretor .broker-home-template-2 .form-group,
.site-corretor .broker-home-template-3 .form-group,
.site-corretor .broker-home-template-4 .form-group,
.site-corretor .broker-home-template-5 .form-group {
    margin-bottom: 0;
    min-width: 0 !important;
}

.site-corretor .broker-home-template-2 .rld-main-search input,
.site-corretor .broker-home-template-2 .rld-main-search select,
.site-corretor .broker-home-template-2 .select2-container--default .select2-selection--single,
.site-corretor .broker-home-template-3 .rld-main-search input,
.site-corretor .broker-home-template-3 .rld-main-search select,
.site-corretor .broker-home-template-3 .select2-container--default .select2-selection--single,
.site-corretor .broker-home-template-4 .rld-main-search input,
.site-corretor .broker-home-template-4 .rld-main-search select,
.site-corretor .broker-home-template-4 .select2-container--default .select2-selection--single,
.site-corretor .broker-home-template-5 .rld-main-search input,
.site-corretor .broker-home-template-5 .rld-main-search select,
.site-corretor .broker-home-template-5 .select2-container--default .select2-selection--single {
    background: #fff !important;
    border: 1px solid var(--broker-line) !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    color: var(--broker-layout-text) !important;
    height: 52px !important;
    min-height: 52px;
    padding-left: 0.9rem !important;
    width: 100% !important;
}

.site-corretor .broker-home-template-2 .select2-container,
.site-corretor .broker-home-template-3 .select2-container,
.site-corretor .broker-home-template-4 .select2-container,
.site-corretor .broker-home-template-5 .select2-container,
.site-corretor .broker-home-template-2 .twitter-typeahead,
.site-corretor .broker-home-template-3 .twitter-typeahead,
.site-corretor .broker-home-template-4 .twitter-typeahead,
.site-corretor .broker-home-template-5 .twitter-typeahead {
    width: 100% !important;
}

.site-corretor .broker-home-template-2 .broker-search-action .btn,
.site-corretor .broker-home-template-3 .broker-search-action .btn,
.site-corretor .broker-home-template-4 .broker-search-action .btn,
.site-corretor .broker-home-template-5 .broker-search-action .btn {
    align-items: center;
    border-radius: 8px !important;
    display: flex;
    height: 52px;
    justify-content: center;
    margin: 0 !important;
    min-width: 0;
    width: 100%;
}

.site-corretor .broker-realestate-hero-split {
    background-color: #111827;
    background-image:
        linear-gradient(90deg, rgba(17, 24, 39, 0.9), rgba(17, 24, 39, 0.65) 42%, rgba(17, 24, 39, 0.22)),
        var(--broker-template-hero-image);
    background-position: center;
    background-size: cover;
    color: #fff;
    padding-bottom: 5.5rem;
}

.site-corretor .broker-realestate-hero-split .container {
    align-items: center;
    display: grid;
    gap: 2rem;
    grid-template-columns: minmax(0, 0.95fr) minmax(420px, 0.82fr);
}

.site-corretor .broker-realestate-hero-split .broker-realestate-hero-copy h1,
.site-corretor .broker-realestate-hero-overlay .broker-realestate-hero-copy h1,
.site-corretor .broker-realestate-hero-split .broker-realestate-hero-copy p,
.site-corretor .broker-realestate-hero-overlay .broker-realestate-hero-copy p {
    color: #fff !important;
}

.site-corretor .broker-realestate-hero-split .broker-template-label,
.site-corretor .broker-realestate-hero-overlay .broker-template-label {
    background: var(--broker-layout-brand);
    color: var(--broker-layout-button-text) !important;
}

.site-corretor .broker-realestate-hero-search {
    background: #f6f7fb;
    border-bottom: 1px solid var(--broker-line);
    text-align: center;
}

.site-corretor .broker-realestate-hero-search .broker-realestate-hero-copy,
.site-corretor .broker-realestate-hero-search .broker-realestate-search-card {
    margin-left: auto;
    margin-right: auto;
}

.site-corretor .broker-realestate-hero-search .broker-realestate-search-card {
    max-width: 1120px;
}

.site-corretor .broker-realestate-shortcuts {
    justify-content: center;
    margin: 1rem auto 0;
    max-width: 1120px;
}

.site-corretor .broker-realestate-shortcuts a {
    background: #fff;
    border: 1px solid var(--broker-line);
    color: var(--broker-layout-title) !important;
    padding: 0.7rem 0.95rem;
}

.site-corretor .broker-realestate-shortcuts a:hover {
    border-color: var(--broker-layout-brand);
    color: var(--broker-layout-brand) !important;
}

.site-corretor .broker-realestate-hero-overlay {
    background-color: #111827;
    background-image:
        linear-gradient(90deg, rgba(17, 24, 39, 0.86), rgba(17, 24, 39, 0.5) 54%, rgba(17, 24, 39, 0.18)),
        var(--broker-template-hero-image);
    background-position: center;
    background-size: cover;
    min-height: 560px;
    padding-bottom: 7.5rem;
}

.site-corretor .broker-realestate-floating-search {
    background: #fff;
    margin-top: -4.5rem;
    padding-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.site-corretor .broker-realestate-floating-search .broker-realestate-search-card {
    margin-left: auto;
    margin-right: auto;
    max-width: 1120px;
}

.site-corretor .broker-realestate-hero-catalog {
    background: #f6f7fb;
    border-bottom: 1px solid var(--broker-line);
    padding-left: 1rem;
    padding-right: 1rem;
}

.site-corretor .broker-realestate-catalog-head {
    align-items: flex-end;
    display: flex;
    gap: 1.5rem;
    justify-content: space-between;
    margin: 0 auto 1rem;
    max-width: 1320px;
}

.site-corretor .broker-realestate-catalog-head h1 {
    max-width: 760px;
}

.site-corretor .broker-realestate-hero-catalog .broker-realestate-search-card,
.site-corretor .broker-realestate-hero-catalog .broker-realestate-shortcuts {
    margin-left: auto;
    margin-right: auto;
    max-width: 1320px;
}

.site-corretor .broker-realestate-section {
    background: #fff;
}

.site-corretor .broker-realestate-section-muted {
    background: #f6f7fb;
}

.site-corretor .broker-realestate-grid {
    display: grid;
    gap: 1rem;
    min-width: 0;
}

.site-corretor .broker-realestate-grid-featured,
.site-corretor .broker-realestate-grid-catalog {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.site-corretor .broker-realestate-grid-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.site-corretor .broker-realestate-grid-featured .agents-grid:nth-child(n+7),
.site-corretor .broker-realestate-grid-catalog .agents-grid:nth-child(n+7),
.site-corretor .broker-realestate-grid-compact .agents-grid:nth-child(n+5) {
    display: none;
}

.site-corretor .broker-realestate-two-columns {
    align-items: start;
    display: grid;
    gap: 1.5rem;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.46fr);
}

.site-corretor .broker-realestate-two-columns-even {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.site-corretor .broker-realestate-neighborhoods,
.site-corretor .broker-realestate-catalog-sidebar {
    background: #fff;
    border: 1px solid var(--broker-line);
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
    padding: 1rem;
}

.site-corretor .broker-realestate-neighborhoods #guiaBairros,
.site-corretor .broker-realestate-neighborhood-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-left: 0;
    margin-right: 0;
}

.site-corretor .broker-realestate-neighborhoods #guiaBairros > div,
.site-corretor .broker-realestate-neighborhood-grid > div {
    flex: none;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
    width: auto;
}

.site-corretor .broker-realestate-neighborhoods #guiaBairros > div:nth-child(n+5) {
    display: none;
}

.site-corretor .broker-realestate-service-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.site-corretor .broker-realestate-service-row a {
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--broker-line);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
    color: var(--broker-layout-text) !important;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1.1rem;
}

.site-corretor .broker-realestate-service-row strong {
    color: var(--broker-layout-title);
    font-size: 1.05rem;
}

.site-corretor .broker-realestate-service-row span {
    font-size: 0.82rem;
    line-height: 1.45;
}

.site-corretor .broker-realestate-catalog-layout {
    display: grid;
    gap: 1.2rem;
    grid-template-columns: 270px minmax(0, 1fr);
    margin: 0 auto;
    max-width: 1320px;
}

.site-corretor .broker-realestate-catalog-sidebar {
    align-self: start;
    position: sticky;
    top: 100px;
}

.site-corretor .broker-realestate-catalog-sidebar > a {
    border-top: 1px solid var(--broker-line);
    color: var(--broker-layout-title) !important;
    justify-content: space-between;
    min-height: 44px;
    padding: 0.7rem 0;
    width: 100%;
}

.site-corretor .broker-realestate-subheading {
    border-top: 1px solid var(--broker-line);
    margin-top: 2rem;
    padding-top: 1.5rem;
}

.site-corretor .broker-realestate-section .project-single,
.site-corretor .broker-realestate-section .homes-content {
    height: 100%;
}

.site-corretor .broker-realestate-section .agents-grid {
    min-width: 0;
}

@media (max-width: 1199.98px) {
    .site-corretor .broker-realestate-hero-split .container,
    .site-corretor .broker-realestate-two-columns,
    .site-corretor .broker-realestate-two-columns-even,
    .site-corretor .broker-realestate-catalog-layout {
        grid-template-columns: 1fr;
    }

    .site-corretor .broker-realestate-catalog-sidebar {
        position: static;
    }
}

@media (max-width: 991.98px) {
    .site-corretor .broker-realestate-hero {
        padding-top: 112px;
    }

    .site-corretor .broker-realestate-hero-copy h1,
    .site-corretor .broker-realestate-catalog-head h1 {
        font-size: 2.75rem;
    }

    .site-corretor .broker-home-template-2 .rld-main-search .row,
    .site-corretor .broker-home-template-3 .rld-main-search .row,
    .site-corretor .broker-home-template-4 .rld-main-search .row,
    .site-corretor .broker-home-template-5 .rld-main-search .row {
        grid-template-columns: 1fr 1fr;
    }

    .site-corretor .broker-home-template-2 .broker-search-action,
    .site-corretor .broker-home-template-3 .broker-search-action,
    .site-corretor .broker-home-template-4 .broker-search-action,
    .site-corretor .broker-home-template-5 .broker-search-action {
        grid-column: 1 / -1;
    }

    .site-corretor .broker-realestate-grid-featured,
    .site-corretor .broker-realestate-grid-catalog,
    .site-corretor .broker-realestate-grid-compact,
    .site-corretor .broker-realestate-neighborhoods #guiaBairros,
    .site-corretor .broker-realestate-neighborhood-grid,
    .site-corretor .broker-realestate-service-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-corretor .broker-realestate-catalog-head {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 767.98px) {
    .site-corretor .broker-realestate-hero {
        padding-bottom: 2.4rem;
    }

    .site-corretor .broker-realestate-hero-copy h1,
    .site-corretor .broker-realestate-catalog-head h1 {
        font-size: 2.15rem;
        line-height: 1.12;
    }

    .site-corretor .broker-home-template-2 .rld-banner-tab,
    .site-corretor .broker-home-template-3 .rld-banner-tab,
    .site-corretor .broker-home-template-4 .rld-banner-tab,
    .site-corretor .broker-home-template-5 .rld-banner-tab {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-corretor .broker-home-template-2 .rld-main-search .row,
    .site-corretor .broker-home-template-3 .rld-main-search .row,
    .site-corretor .broker-home-template-4 .rld-main-search .row,
    .site-corretor .broker-home-template-5 .rld-main-search .row,
    .site-corretor .broker-realestate-grid-featured,
    .site-corretor .broker-realestate-grid-catalog,
    .site-corretor .broker-realestate-grid-compact,
    .site-corretor .broker-realestate-neighborhoods #guiaBairros,
    .site-corretor .broker-realestate-neighborhood-grid,
    .site-corretor .broker-realestate-service-row {
        grid-template-columns: 1fr;
    }

    .site-corretor .broker-realestate-floating-search {
        margin-top: 0;
        padding-top: 1rem;
    }
}

@media (max-width: 575.98px) {
    .site-corretor .broker-realestate-hero {
        padding-left: 0;
        padding-right: 0;
    }

    .site-corretor .broker-realestate-search-card {
        padding: 0.75rem;
    }

    .site-corretor .broker-realestate-quick-links,
    .site-corretor .broker-realestate-shortcuts {
        display: grid;
        grid-template-columns: 1fr;
    }

    .site-corretor .broker-realestate-quick-links a,
    .site-corretor .broker-realestate-shortcuts a {
        justify-content: center;
        width: 100%;
    }
}

/* Search hardening for the professional real-estate templates. */
.site-corretor .broker-home-template-2 .broker-search-module,
.site-corretor .broker-home-template-3 .broker-search-module,
.site-corretor .broker-home-template-4 .broker-search-module,
.site-corretor .broker-home-template-5 .broker-search-module {
    max-width: none !important;
    width: 100% !important;
}

.site-corretor .broker-home-template-2 .rld-main-search,
.site-corretor .broker-home-template-3 .rld-main-search,
.site-corretor .broker-home-template-4 .rld-main-search,
.site-corretor .broker-home-template-5 .rld-main-search {
    display: block !important;
    margin: 0 !important;
    min-width: 0 !important;
    overflow: visible !important;
    padding: 0 !important;
    width: 100% !important;
}

.site-corretor .broker-home-template-2 .rld-main-search .row,
.site-corretor .broker-home-template-3 .rld-main-search .row,
.site-corretor .broker-home-template-4 .rld-main-search .row,
.site-corretor .broker-home-template-5 .rld-main-search .row {
    max-width: 100% !important;
    width: 100% !important;
}

.site-corretor .broker-home-template-2.broker-realestate-hero-split .rld-main-search .row {
    grid-template-columns: minmax(0, 1fr) !important;
}

.site-corretor .broker-home-template-2.broker-realestate-hero-split .rld-banner-tab {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.site-corretor.broker-template-4 .broker-realestate-floating-search .rld-banner-tab .nav-link {
    background: #fff !important;
    color: var(--broker-layout-title) !important;
}

.site-corretor.broker-template-4 .broker-realestate-floating-search .rld-banner-tab .nav-link.active,
.site-corretor.broker-template-4 .broker-realestate-floating-search .rld-banner-tab .nav-link:hover {
    background: var(--broker-layout-brand) !important;
    color: var(--broker-layout-button-text) !important;
}

/* Modern real-estate template system */
.site-corretor .broker-modern-home,
.site-corretor .broker-modern-section,
.site-corretor .broker-modern-search-panel {
    --broker-modern-bg: #f5f7fa;
    --broker-modern-surface: #fff;
    --broker-modern-soft: #eef2f6;
    --broker-modern-line: rgba(15, 23, 42, 0.1);
    --broker-modern-shadow: 0 22px 54px rgba(15, 23, 42, 0.12);
    color: var(--broker-layout-text);
    font-family: "Montserrat", "Lato", Arial, sans-serif;
}

.site-corretor .broker-modern-home {
    overflow: hidden;
    position: relative;
}

.site-corretor .broker-modern-copy h1,
.site-corretor .broker-modern-gallery-copy h1,
.site-corretor .broker-modern-map-search h1,
.site-corretor .broker-modern-portal-head h1,
.site-corretor .broker-modern-section-head h2 {
    color: var(--broker-layout-title);
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.02;
    margin: 0;
}

.site-corretor .broker-modern-copy p,
.site-corretor .broker-modern-gallery-copy p,
.site-corretor .broker-modern-map-search p,
.site-corretor .broker-modern-portal-head p,
.site-corretor .broker-modern-section-head p,
.site-corretor .broker-modern-neighborhood-panel p {
    color: var(--broker-layout-text);
    font-size: 0.98rem;
    line-height: 1.7;
    margin-bottom: 0;
}

.site-corretor .broker-modern-actions,
.site-corretor .broker-modern-portal-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.site-corretor .broker-modern-actions a,
.site-corretor .broker-modern-portal-tabs a,
.site-corretor .broker-modern-section-head > a,
.site-corretor .broker-modern-panel-link,
.site-corretor .broker-modern-portal-head > a,
.site-corretor .broker-modern-catalog-sidebar a {
    align-items: center;
    border-radius: 8px;
    display: inline-flex;
    font-size: 0.88rem;
    font-weight: 900;
    justify-content: center;
    line-height: 1.2;
    min-height: 46px;
    padding: 0.72rem 1rem;
}

.site-corretor .broker-modern-actions a:first-child,
.site-corretor .broker-modern-portal-head > a,
.site-corretor .broker-modern-section-head > a {
    background: var(--broker-layout-brand);
    color: var(--broker-layout-button-text) !important;
}

.site-corretor .broker-modern-actions a + a,
.site-corretor .broker-modern-portal-tabs a,
.site-corretor .broker-modern-catalog-sidebar a,
.site-corretor .broker-modern-panel-link {
    background: #fff;
    border: 1px solid var(--broker-modern-line);
    color: var(--broker-layout-title) !important;
}

.site-corretor .broker-modern-search-panel {
    background: #fff;
    border: 1px solid var(--broker-modern-line);
    border-radius: 8px;
    box-shadow: var(--broker-modern-shadow);
    min-width: 0;
    padding: 1rem;
}

.site-corretor .broker-modern-search-panel h2 {
    color: var(--broker-layout-title);
    font-size: 1.05rem;
    font-weight: 900;
    margin: 0 0 0.85rem;
}

.site-corretor .broker-modern-search-panel .broker-search-module {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    margin: 0 !important;
    max-width: none !important;
    padding: 0 !important;
    width: 100% !important;
}

.site-corretor .broker-modern-search-panel .rld-banner-tab {
    background: #f7f8fb !important;
    border: 1px solid var(--broker-modern-line) !important;
    border-radius: 8px !important;
    display: grid !important;
    gap: 0.45rem !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    margin: 0 0 0.75rem !important;
    padding: 0.42rem !important;
}

.site-corretor .broker-modern-search-panel .rld-banner-tab .nav-link {
    align-items: center;
    background: transparent !important;
    border: 0 !important;
    border-radius: 6px !important;
    color: var(--broker-layout-title) !important;
    display: flex;
    font-size: 0.8rem;
    font-weight: 900;
    justify-content: center;
    min-height: 44px;
    padding: 0.5rem !important;
    text-align: center;
    white-space: normal;
}

.site-corretor .broker-modern-search-panel .rld-banner-tab .nav-link.active,
.site-corretor .broker-modern-search-panel .rld-banner-tab .nav-link:hover {
    background: var(--broker-layout-brand) !important;
    color: var(--broker-layout-button-text) !important;
}

.site-corretor .broker-modern-search-panel .rld-main-search,
.site-corretor .broker-modern-search-panel .rld-main-search > .row {
    display: block !important;
    margin: 0 !important;
    min-width: 0 !important;
    padding: 0 !important;
    width: 100% !important;
}

.site-corretor .broker-modern-search-panel .rld-main-search > .row {
    display: grid !important;
    gap: 0.65rem !important;
    grid-template-columns: minmax(0, 1.25fr) minmax(210px, 0.85fr) 140px !important;
}

.site-corretor .broker-modern-editorial .rld-main-search > .row {
    grid-template-columns: minmax(0, 1fr) !important;
}

.site-corretor .broker-modern-search-panel .rld-single-input,
.site-corretor .broker-modern-search-panel .rld-single-select,
.site-corretor .broker-modern-search-panel .broker-search-action,
.site-corretor .broker-modern-search-panel .form-group {
    flex: none !important;
    margin: 0 !important;
    max-width: none !important;
    min-width: 0 !important;
    padding: 0 !important;
    width: auto !important;
}

.site-corretor .broker-modern-search-panel input,
.site-corretor .broker-modern-search-panel select,
.site-corretor .broker-modern-search-panel .select2-container,
.site-corretor .broker-modern-search-panel .twitter-typeahead,
.site-corretor .broker-modern-search-panel .select2-selection--single {
    width: 100% !important;
}

.site-corretor .broker-modern-search-panel input,
.site-corretor .broker-modern-search-panel select,
.site-corretor .broker-modern-search-panel .select2-selection--single {
    background: #fff !important;
    border: 1px solid var(--broker-modern-line) !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    color: var(--broker-layout-text) !important;
    height: 52px !important;
    min-height: 52px;
    padding-left: 0.9rem !important;
}

.site-corretor .broker-modern-search-panel .broker-search-action .btn {
    align-items: center;
    background: var(--broker-layout-brand) !important;
    border-color: var(--broker-layout-brand) !important;
    border-radius: 8px !important;
    color: var(--broker-layout-button-text) !important;
    display: flex;
    height: 52px;
    justify-content: center;
    margin: 0 !important;
    width: 100%;
}

.site-corretor .broker-modern-editorial {
    background-color: #111827;
    background-image: linear-gradient(90deg, rgba(15, 23, 42, 0.94), rgba(15, 23, 42, 0.72) 46%, rgba(15, 23, 42, 0.18)), var(--broker-template-hero-image);
    background-position: center;
    background-size: cover;
    min-height: 730px;
    padding: 145px 0 72px;
}

.site-corretor .broker-modern-editorial-grid {
    align-items: center;
    display: grid;
    gap: 3rem;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 500px);
}

.site-corretor .broker-modern-editorial .broker-modern-copy h1,
.site-corretor .broker-modern-editorial .broker-modern-copy p {
    color: #fff;
}

.site-corretor .broker-modern-editorial .broker-modern-copy h1 {
    font-size: 4.65rem;
    max-width: 760px;
}

.site-corretor .broker-modern-editorial .broker-modern-copy p {
    color: rgba(255, 255, 255, 0.76);
    margin-top: 1.2rem;
    max-width: 560px;
}

.site-corretor .broker-modern-editorial .broker-modern-actions {
    margin-top: 2rem;
}

.site-corretor .broker-modern-editorial .broker-modern-actions a + a {
    background: rgba(255, 255, 255, 0.94);
}

.site-corretor .broker-modern-map {
    background: #f3f6f9;
    padding: 138px 0 78px;
}

.site-corretor .broker-modern-map-grid {
    align-items: stretch;
    display: grid;
    gap: 1.5rem;
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.75fr);
}

.site-corretor .broker-modern-map-search {
    box-shadow: none;
    padding: 1.35rem;
}

.site-corretor .broker-modern-map-search h1 {
    font-size: 3.35rem;
    margin-bottom: 0.9rem;
}

.site-corretor .broker-modern-map-search p {
    margin-bottom: 1.2rem;
    max-width: 640px;
}

.site-corretor .broker-modern-map-board {
    background: #101827;
    border-radius: 8px;
    min-height: 490px;
    overflow: hidden;
    position: relative;
}

.site-corretor .broker-modern-map-board::before {
    background-image:
        linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
    background-size: 58px 58px;
    content: "";
    inset: 0;
    position: absolute;
}

.site-corretor .broker-modern-map-line {
    background: rgba(255, 255, 255, 0.18);
    height: 2px;
    left: -10%;
    position: absolute;
    right: -10%;
    top: 48%;
    transform: rotate(-18deg);
}

.site-corretor .broker-modern-map-line.line-two {
    top: 62%;
    transform: rotate(24deg);
}

.site-corretor .broker-modern-map-board .pin {
    background: var(--broker-layout-brand);
    border-radius: 8px;
    box-shadow: 0 16px 36px rgba(0,0,0,0.22);
    color: var(--broker-layout-button-text);
    font-size: 0.78rem;
    font-weight: 900;
    padding: 0.62rem 0.78rem;
    position: absolute;
}

.site-corretor .broker-modern-map-board .pin-one { left: 12%; top: 22%; }
.site-corretor .broker-modern-map-board .pin-two { right: 16%; top: 33%; }
.site-corretor .broker-modern-map-board .pin-three { left: 28%; bottom: 22%; }
.site-corretor .broker-modern-map-board .pin-four { right: 22%; bottom: 18%; }

.site-corretor .broker-modern-gallery {
    background-color: #111827;
    background-image: linear-gradient(90deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.42) 56%, rgba(15, 23, 42, 0.08)), var(--broker-template-hero-image);
    background-position: center;
    background-size: cover;
    min-height: 640px;
    padding: 150px 0 130px;
}

.site-corretor .broker-modern-gallery-copy {
    max-width: 790px;
}

.site-corretor .broker-modern-gallery-copy h1,
.site-corretor .broker-modern-gallery-copy p {
    color: #fff;
}

.site-corretor .broker-modern-gallery-copy h1 {
    font-size: 4.2rem;
}

.site-corretor .broker-modern-gallery-copy p {
    color: rgba(255,255,255,0.76);
    margin-top: 1rem;
    max-width: 560px;
}

.site-corretor .broker-modern-gallery-copy .broker-modern-actions {
    margin-top: 1.8rem;
}

.site-corretor .broker-modern-gallery-search {
    background: #fff;
    margin-top: -82px;
    position: relative;
    z-index: 3;
}

.site-corretor .broker-modern-gallery-search .broker-modern-search-panel {
    margin: 0 auto;
    max-width: 1130px;
}

.site-corretor .broker-modern-portal {
    background: #f3f6f9;
    border-bottom: 1px solid var(--broker-modern-line);
    padding: 132px 1rem 56px;
}

.site-corretor .broker-modern-portal-head {
    align-items: flex-end;
    display: flex;
    gap: 2rem;
    justify-content: space-between;
    margin: 0 auto 1.25rem;
    max-width: 1320px;
}

.site-corretor .broker-modern-portal-head h1 {
    font-size: 3.85rem;
    max-width: 860px;
}

.site-corretor .broker-modern-portal-head p {
    margin-top: 0.8rem;
    max-width: 620px;
}

.site-corretor .broker-modern-portal .broker-modern-search-panel,
.site-corretor .broker-modern-portal-tabs {
    margin-left: auto;
    margin-right: auto;
    max-width: 1320px;
}

.site-corretor .broker-modern-portal-tabs {
    justify-content: center;
    margin-top: 1rem;
}

.site-corretor .broker-modern-section {
    background: #fff;
    padding: 4.6rem 0;
}

.site-corretor .broker-modern-section-light {
    background: var(--broker-modern-bg);
}

.site-corretor .broker-modern-section-head {
    align-items: flex-end;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1.3rem;
}

.site-corretor .broker-modern-section-head h2 {
    font-size: 2.25rem;
}

.site-corretor .broker-modern-section-head-stacked {
    align-items: flex-start;
    display: block;
}

.site-corretor .broker-modern-section-head-stacked a {
    margin-top: 0.8rem;
}

.site-corretor .broker-modern-feature-grid,
.site-corretor .broker-modern-catalog-grid,
.site-corretor .broker-modern-compact-grid,
.site-corretor .broker-modern-list-grid,
.site-corretor .broker-modern-neighborhood-grid,
.site-corretor .broker-modern-neighborhood-panel #guiaBairros {
    display: grid;
    gap: 1rem;
    margin-left: 0;
    margin-right: 0;
}

.site-corretor .broker-modern-feature-grid {
    grid-template-columns: 1.25fr repeat(2, minmax(0, 1fr));
}

.site-corretor .broker-modern-feature-grid .agents-grid:first-child {
    grid-row: span 2;
}

.site-corretor .broker-modern-feature-grid .agents-grid:first-child .swiper-slide {
    padding-top: 92%;
}

.site-corretor .broker-modern-feature-grid .agents-grid:nth-child(n+6),
.site-corretor .broker-modern-catalog-grid .agents-grid:nth-child(n+7),
.site-corretor .broker-modern-compact-grid .agents-grid:nth-child(n+5),
.site-corretor .broker-modern-list-grid .agents-grid:nth-child(n+4) {
    display: none;
}

.site-corretor .broker-modern-catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.site-corretor .broker-modern-compact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.site-corretor .broker-modern-list-grid {
    grid-template-columns: 1fr;
}

.site-corretor .broker-modern-results-columns,
.site-corretor .broker-modern-split-grid,
.site-corretor .broker-modern-catalog-layout {
    display: grid;
    gap: 1.4rem;
}

.site-corretor .broker-modern-results-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.site-corretor .broker-modern-split-grid {
    align-items: start;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.38fr);
}

.site-corretor .broker-modern-neighborhood-panel,
.site-corretor .broker-modern-catalog-sidebar {
    background: #fff;
    border: 1px solid var(--broker-modern-line);
    border-radius: 8px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.07);
    padding: 1.2rem;
}

.site-corretor .broker-modern-neighborhood-panel h2,
.site-corretor .broker-modern-catalog-sidebar h2 {
    color: var(--broker-layout-title);
    font-size: 1.35rem;
    font-weight: 900;
    line-height: 1.1;
    margin: 0 0 0.7rem;
}

.site-corretor .broker-modern-neighborhood-grid,
.site-corretor .broker-modern-neighborhood-panel #guiaBairros {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.site-corretor .broker-modern-neighborhood-grid > [class*="col-"],
.site-corretor .broker-modern-neighborhood-panel #guiaBairros > [class*="col-"] {
    flex: none;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
    width: auto;
}

.site-corretor .broker-modern-neighborhood-panel #guiaBairros {
    grid-template-columns: 1fr;
    margin-top: 1rem;
}

.site-corretor .broker-modern-service-band {
    padding-bottom: 2rem;
    padding-top: 2rem;
}

.site-corretor .broker-modern-service-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.site-corretor .broker-modern-service-grid a {
    background: #fff;
    border: 1px solid var(--broker-modern-line);
    border-radius: 8px;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.06);
    color: var(--broker-layout-text) !important;
    padding: 1.1rem;
}

.site-corretor .broker-modern-service-grid strong {
    color: var(--broker-layout-title);
    display: block;
    font-size: 1.02rem;
}

.site-corretor .broker-modern-service-grid span {
    display: block;
    font-size: 0.82rem;
    line-height: 1.45;
    margin-top: 0.25rem;
}

.site-corretor .broker-modern-portal-catalog {
    background: #fff;
}

.site-corretor .broker-modern-catalog-layout {
    grid-template-columns: 270px minmax(0, 1fr);
    margin: 0 auto;
    max-width: 1320px;
}

.site-corretor .broker-modern-catalog-sidebar {
    align-self: start;
    position: sticky;
    top: 104px;
}

.site-corretor .broker-modern-catalog-sidebar a {
    justify-content: flex-start;
    margin-top: 0.55rem;
    width: 100%;
}

.site-corretor .broker-modern-subsection-head {
    border-top: 1px solid var(--broker-modern-line);
    margin-top: 2rem;
    padding-top: 1.6rem;
}

.site-corretor .broker-modern-section .agents-grid {
    min-width: 0;
}

.site-corretor .broker-modern-section .landscapes {
    margin-bottom: 0 !important;
}

.site-corretor .broker-modern-section .project-single,
.site-corretor .broker-modern-section .homes-content {
    border-radius: 8px !important;
    height: 100%;
}

.site-corretor .broker-modern-section .homes-content h3 {
    color: var(--broker-layout-title);
    font-size: 1.02rem;
    line-height: 1.25;
}

.site-corretor .broker-modern-section .homes-list {
    display: grid;
    gap: 0.42rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.site-corretor .broker-modern-section .homes-list li {
    width: auto !important;
}

.site-corretor[class*="broker-template-"].inner-pages.listing .properties-right.list {
    background: #f4f6f9;
    padding-top: 5.4rem !important;
}

.site-corretor[class*="broker-template-"].inner-pages.listing .headings-2 {
    padding-bottom: 1rem !important;
}

.site-corretor[class*="broker-template-"].inner-pages.listing .tituloHeader {
    background: #fff;
    border: 1px solid var(--broker-modern-line);
    border-radius: 8px;
    color: var(--broker-layout-title) !important;
    display: inline-flex;
    min-height: 50px;
    padding: 0.8rem 1rem !important;
}

.site-corretor[class*="broker-template-"].inner-pages.listing .properties-right > .container > .row {
    align-items: start;
    display: grid;
    gap: 1.1rem;
    grid-template-columns: 310px minmax(0, 1fr);
    margin-left: 0;
    margin-right: 0;
}

.site-corretor[class*="broker-template-"].inner-pages.listing aside.car,
.site-corretor[class*="broker-template-"].inner-pages.listing .blog-pots {
    flex: none;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
    width: auto;
}

.site-corretor[class*="broker-template-"].inner-pages.listing aside.car {
    position: sticky;
    top: 104px;
}

.site-corretor[class*="broker-template-"].inner-pages.listing .widget-boxed.main-search-field,
.site-corretor[class*="broker-template-"].inner-pages.listing .listing-results-toolbar,
.site-corretor[class*="broker-template-"].inner-pages.listing .property-list-card-row {
    background: #fff;
    border: 1px solid var(--broker-modern-line);
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
}

.site-corretor[class*="broker-template-"].inner-pages.listing .widget-boxed.main-search-field {
    padding: 1rem !important;
}

.site-corretor[class*="broker-template-"].inner-pages.listing .widget-boxed-header h4 {
    color: var(--broker-layout-title);
    font-size: 1.05rem;
    font-weight: 900;
    margin-bottom: 0.9rem;
}

.site-corretor[class*="broker-template-"].inner-pages.listing .main-search-field-2 {
    border-top: 1px solid var(--broker-modern-line);
    margin-top: 0.9rem;
    padding-top: 0.9rem;
}

.site-corretor[class*="broker-template-"].inner-pages.listing .main-search-field-2 label {
    color: var(--broker-layout-title);
    font-size: 0.78rem;
    font-weight: 900;
}

.site-corretor[class*="broker-template-"].inner-pages.listing .btn.btn-boxes,
.site-corretor[class*="broker-template-"].inner-pages.listing #btnBuscar {
    border-radius: 8px !important;
}

.site-corretor[class*="broker-template-"].inner-pages.listing #btnBuscar {
    background: var(--broker-layout-brand) !important;
    border-color: var(--broker-layout-brand) !important;
    color: var(--broker-layout-button-text) !important;
    font-weight: 900;
    width: 100%;
}

.site-corretor[class*="broker-template-"].inner-pages.listing .listing-results-toolbar {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding: 0.65rem;
}

.site-corretor[class*="broker-template-"].inner-pages.listing .listing-intent-tabs .nav-link {
    border-radius: 8px !important;
    color: var(--broker-layout-title) !important;
    font-weight: 900;
    min-height: 44px;
    padding: 0.7rem 1rem !important;
}

.site-corretor[class*="broker-template-"].inner-pages.listing .listing-intent-tabs .nav-link.active {
    background: var(--broker-layout-brand) !important;
    color: var(--broker-layout-button-text) !important;
}

.site-corretor[class*="broker-template-"].inner-pages.listing .property-list-card {
    padding-left: 0;
    padding-right: 0;
}

.site-corretor[class*="broker-template-"].inner-pages.listing .property-list-card-row {
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    margin: 0 0 1rem !important;
    overflow: hidden;
}

.site-corretor[class*="broker-template-"].inner-pages.listing .property-list-card-row > [class*="col-"] {
    flex: none;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
    width: auto;
}

.site-corretor[class*="broker-template-"].inner-pages.listing .property-list-body {
    padding: 1.1rem !important;
}

.site-corretor[class*="broker-template-"].inner-pages.listing .property-list-body h3 {
    color: var(--broker-layout-title);
    font-size: 1.15rem;
    font-weight: 900;
}

.site-corretor[class*="broker-template-"].inner-pages.listing .property-list-media .swiper-slide {
    padding-top: 76%;
}

.site-corretor[class*="broker-template-"].inner-pages.listing .homes-list {
    display: grid;
    gap: 0.45rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.site-corretor[class*="broker-template-"].inner-pages.listing .homes-list li {
    width: auto !important;
}

.site-corretor.broker-template-2.inner-pages.listing .properties-right > .container > .row {
    grid-template-columns: minmax(310px, 0.32fr) minmax(0, 1fr);
}

.site-corretor.broker-template-2.inner-pages.listing .property-list-card-row {
    grid-template-columns: 360px minmax(0, 1fr);
}

.site-corretor.broker-template-3.inner-pages.listing .properties-right > .container > .row {
    grid-template-columns: 340px minmax(0, 1fr);
}

.site-corretor.broker-template-3.inner-pages.listing .widget-boxed.main-search-field {
    border-left: 5px solid var(--broker-layout-brand);
}

.site-corretor.broker-template-4.inner-pages.listing .properties-right > .container > .row {
    grid-template-columns: 1fr;
}

.site-corretor.broker-template-4.inner-pages.listing aside.car {
    position: static;
}

.site-corretor.broker-template-4.inner-pages.listing .listing-filter-content.is-open {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.site-corretor.broker-template-4.inner-pages.listing .listing-filter-content.is-open .col-lg-12,
.site-corretor.broker-template-4.inner-pages.listing .listing-filter-content.is-open .main-search-field-2 {
    margin-top: 0;
    padding-top: 0;
}

.site-corretor.broker-template-4.inner-pages.listing .listing-filter-content.is-open .col-lg-12 {
    align-self: end;
    grid-column: span 1;
}

.site-corretor.broker-template-4.inner-pages.listing .property-list-card-row {
    grid-template-columns: 42% minmax(0, 1fr);
}

.site-corretor.broker-template-5.inner-pages.listing .properties-right > .container {
    max-width: 1320px;
}

.site-corretor.broker-template-5.inner-pages.listing .property-list-card-row {
    grid-template-columns: 250px minmax(0, 1fr);
}

.site-corretor.broker-page .broker-page-hero {
    padding: 5.2rem 0 2.8rem;
}

.site-corretor.broker-template-2.broker-page .broker-page-hero {
    background: #111827;
}

.site-corretor.broker-template-2.broker-page .broker-page-hero-content h1,
.site-corretor.broker-template-2.broker-page .broker-page-hero-content p {
    color: #fff !important;
}

.site-corretor.broker-template-3.broker-page .broker-page-hero {
    background: #f3f6f9;
}

.site-corretor.broker-template-4.broker-page .broker-page-hero {
    background: var(--broker-layout-heading);
}

.site-corretor.broker-template-5.broker-page .broker-page-hero {
    background: #fff;
}

@media (max-width: 1199.98px) {
    .site-corretor .broker-modern-editorial-grid,
    .site-corretor .broker-modern-map-grid,
    .site-corretor .broker-modern-split-grid,
    .site-corretor .broker-modern-catalog-layout,
    .site-corretor[class*="broker-template-"].inner-pages.listing .properties-right > .container > .row,
    .site-corretor[class*="broker-template-"].inner-pages.listing .property-list-card-row {
        grid-template-columns: 1fr;
    }

    .site-corretor[class*="broker-template-"].inner-pages.listing aside.car,
    .site-corretor .broker-modern-catalog-sidebar {
        position: static;
    }

    .site-corretor.broker-template-4.inner-pages.listing .listing-filter-content.is-open {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .site-corretor .broker-modern-editorial,
    .site-corretor .broker-modern-map,
    .site-corretor .broker-modern-gallery,
    .site-corretor .broker-modern-portal {
        padding-top: 112px;
    }

    .site-corretor .broker-modern-editorial .broker-modern-copy h1,
    .site-corretor .broker-modern-gallery-copy h1,
    .site-corretor .broker-modern-map-search h1,
    .site-corretor .broker-modern-portal-head h1 {
        font-size: 2.85rem;
    }

    .site-corretor .broker-modern-feature-grid,
    .site-corretor .broker-modern-catalog-grid,
    .site-corretor .broker-modern-results-columns,
    .site-corretor .broker-modern-service-grid,
    .site-corretor .broker-modern-neighborhood-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-corretor .broker-modern-feature-grid .agents-grid:first-child {
        grid-row: auto;
    }

    .site-corretor .broker-modern-portal-head,
    .site-corretor .broker-modern-section-head,
    .site-corretor.broker-template-5.broker-page .broker-page-hero-content {
        align-items: flex-start;
        flex-direction: column;
    }

    .site-corretor .broker-modern-search-panel .rld-main-search > .row {
        grid-template-columns: 1fr 1fr !important;
    }

    .site-corretor .broker-modern-search-panel .broker-search-action {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767.98px) {
    .site-corretor .broker-modern-editorial,
    .site-corretor .broker-modern-map,
    .site-corretor .broker-modern-gallery,
    .site-corretor .broker-modern-portal {
        min-height: auto;
        padding-bottom: 2.6rem;
    }

    .site-corretor .broker-modern-editorial .broker-modern-copy h1,
    .site-corretor .broker-modern-gallery-copy h1,
    .site-corretor .broker-modern-map-search h1,
    .site-corretor .broker-modern-portal-head h1 {
        font-size: 2.25rem;
        line-height: 1.08;
    }

    .site-corretor .broker-modern-section {
        padding: 3rem 0;
    }

    .site-corretor .broker-modern-search-panel .rld-banner-tab,
    .site-corretor .broker-modern-feature-grid,
    .site-corretor .broker-modern-catalog-grid,
    .site-corretor .broker-modern-compact-grid,
    .site-corretor .broker-modern-list-grid,
    .site-corretor .broker-modern-results-columns,
    .site-corretor .broker-modern-service-grid,
    .site-corretor .broker-modern-neighborhood-grid,
    .site-corretor .broker-modern-neighborhood-panel #guiaBairros,
    .site-corretor.broker-template-4.inner-pages.listing .listing-filter-content.is-open {
        grid-template-columns: 1fr !important;
    }

    .site-corretor .broker-modern-search-panel .rld-main-search > .row {
        grid-template-columns: 1fr !important;
    }

    .site-corretor .broker-modern-gallery-search {
        margin-top: 0;
        padding-top: 1rem;
    }

    .site-corretor[class*="broker-template-"].inner-pages.listing .properties-right.list {
        padding-top: 4.2rem !important;
    }

    .site-corretor[class*="broker-template-"].inner-pages.listing .listing-results-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .site-corretor[class*="broker-template-"].inner-pages.listing .listing-intent-tabs {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .site-corretor[class*="broker-template-"].inner-pages.listing .homes-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .site-corretor .broker-modern-search-panel {
        padding: 0.8rem;
    }

    .site-corretor .broker-modern-actions,
    .site-corretor .broker-modern-portal-tabs {
        display: grid;
        grid-template-columns: 1fr;
    }

    .site-corretor .broker-modern-actions a,
    .site-corretor .broker-modern-portal-tabs a,
    .site-corretor .broker-modern-portal-head > a {
        width: 100%;
    }

    .site-corretor .broker-modern-map-board {
        min-height: 320px;
    }
}

/* Final QA pass: keep preview pages readable and compact across templates */
.site-corretor[class*="broker-template-"] .price-properties .title,
.site-corretor[class*="broker-template-"] .price-properties .title a,
.site-corretor[class*="broker-template-"].inner-pages.listing .price-properties .title,
.site-corretor[class*="broker-template-"].inner-pages.listing .price-properties .title a {
    color: var(--broker-layout-title) !important;
    opacity: 1 !important;
}

.site-corretor[class*="broker-template-"] .price-properties.footer {
    border-top-color: var(--broker-modern-line, rgba(15, 23, 42, 0.1)) !important;
}

.site-corretor.broker-template-4.inner-pages #header,
.site-corretor.broker-template-4.inner-pages #header.cloned,
.site-corretor.broker-template-4.inner-pages #header-container {
    background: #fff !important;
}

.site-corretor.broker-template-4.inner-pages #navigation.style-1.head-tr ul li a,
.site-corretor.broker-template-4.inner-pages .user-menu i,
.site-corretor.broker-template-4.inner-pages .fa-heart-o {
    color: var(--broker-layout-title) !important;
}

.site-corretor.broker-template-2.homepage-3 #header,
.site-corretor.broker-template-2.homepage-3 #header-container,
.site-corretor.broker-template-4.homepage-3 #header,
.site-corretor.broker-template-4.homepage-3 #header-container {
    background: #fff !important;
}

.site-corretor.broker-template-2.homepage-3 #navigation.style-1.head-tr ul li a,
.site-corretor.broker-template-2.homepage-3 .user-menu i,
.site-corretor.broker-template-2.homepage-3 .fa-heart-o,
.site-corretor.broker-template-4.homepage-3 #navigation.style-1.head-tr ul li a,
.site-corretor.broker-template-4.homepage-3 .user-menu i,
.site-corretor.broker-template-4.homepage-3 .fa-heart-o {
    color: var(--broker-layout-title) !important;
}

.site-corretor #by-popup {
    max-width: 72px !important;
    width: 72px !important;
}

@media (max-width: 767.98px) {
    .site-corretor .broker-modern-search-panel .rld-banner-tab {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .site-corretor[class*="broker-template-"].inner-pages.listing .listing-intent-tabs {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    .site-corretor[class*="broker-template-"].inner-pages.listing .listing-intent-tabs .nav-link {
        font-size: 0.76rem;
        min-height: 42px;
        padding: 0.55rem 0.35rem !important;
        text-align: center;
    }

    .site-corretor #by-popup {
        margin-right: 12px !important;
        max-width: 54px !important;
        width: 54px !important;
    }
}

@media (max-width: 359.98px) {
    .site-corretor .broker-modern-search-panel .rld-banner-tab,
    .site-corretor[class*="broker-template-"].inner-pages.listing .listing-intent-tabs {
        grid-template-columns: 1fr !important;
    }
}

body.site-corretor.broker-template-2.homepage-3 #header #navigation.style-1.head-tr ul li a,
body.site-corretor.broker-template-4.homepage-3 #header #navigation.style-1.head-tr ul li a,
body.site-corretor.broker-template-2.homepage-3 #header .right-side.user-menu.add i,
body.site-corretor.broker-template-4.homepage-3 #header .right-side.user-menu.add i,
body.site-corretor.broker-template-2.homepage-3 #header .fav-topo,
body.site-corretor.broker-template-4.homepage-3 #header .fav-topo {
    color: var(--broker-layout-title, #252525) !important;
}

body.site-corretor.broker-template-2.homepage-3 #header-container,
body.site-corretor.broker-template-4.homepage-3 #header-container,
body.site-corretor.broker-template-2.homepage-3 #header,
body.site-corretor.broker-template-4.homepage-3 #header {
    background: #fff !important;
}

body.site-corretor.broker-template-2.homepage-3 #header:not(.sticky):not(.cloned) #navigation.style-1.head-tr ul li a,
body.site-corretor.broker-template-4.homepage-3 #header:not(.sticky):not(.cloned) #navigation.style-1.head-tr ul li a,
body.site-corretor.broker-template-2.homepage-3 #header:not(.sticky):not(.cloned) .right-side.user-menu.add i,
body.site-corretor.broker-template-4.homepage-3 #header:not(.sticky):not(.cloned) .right-side.user-menu.add i,
body.site-corretor.broker-template-2.homepage-3 #header:not(.sticky):not(.cloned) .fav-topo,
body.site-corretor.broker-template-4.homepage-3 #header:not(.sticky):not(.cloned) .fav-topo {
    color: #252525 !important;
}

body.site-corretor.broker-template-2.homepage-3 #header:not(.sticky):not(.cloned),
body.site-corretor.broker-template-4.homepage-3 #header:not(.sticky):not(.cloned) {
    background: #fff !important;
}

/* Sitewide template continuity: every public page follows the selected layout language */
.site-corretor[class*="broker-template-"].inner-pages {
    --broker-template-page-bg: #f4f6f9;
    --broker-template-surface: #fff;
    --broker-template-soft-surface: #f8fafc;
    --broker-template-line-soft: rgba(15, 23, 42, 0.1);
    --broker-template-shadow-soft: 0 18px 44px rgba(15, 23, 42, 0.08);
    --broker-template-radius: 8px;
    background: var(--broker-template-page-bg);
}

.site-corretor[class*="broker-template-"].inner-pages #header,
.site-corretor[class*="broker-template-"].inner-pages #header-container {
    background: #fff !important;
}

.site-corretor[class*="broker-template-"].inner-pages #navigation.style-1.head-tr ul li a,
.site-corretor[class*="broker-template-"].inner-pages .right-side.user-menu.add i,
.site-corretor[class*="broker-template-"].inner-pages .fav-topo {
    color: var(--broker-layout-title, #252525) !important;
}

.site-corretor[class*="broker-template-"].inner-pages .headings,
.site-corretor[class*="broker-template-"].inner-pages.broker-page .broker-page-hero {
    border-bottom: 1px solid var(--broker-template-line-soft);
    margin-top: 0;
    overflow: hidden;
    padding: 7.2rem 0 3.4rem;
    position: relative;
}

.site-corretor[class*="broker-template-"].inner-pages .headings .text-heading,
.site-corretor[class*="broker-template-"].inner-pages.broker-page .broker-page-hero-content {
    margin: 0 auto;
    max-width: 1120px;
    position: relative;
    text-align: left !important;
    z-index: 1;
}

.site-corretor[class*="broker-template-"].inner-pages .headings h1,
.site-corretor[class*="broker-template-"].inner-pages .headings h2,
.site-corretor[class*="broker-template-"].inner-pages.broker-page .broker-page-hero-content h1 {
    color: var(--broker-layout-title) !important;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.05;
}

.site-corretor[class*="broker-template-"].inner-pages .headings h1,
.site-corretor[class*="broker-template-"].inner-pages.broker-page .broker-page-hero-content h1 {
    font-size: clamp(2.1rem, 5vw, 4.2rem);
    margin-bottom: 0.75rem;
}

.site-corretor[class*="broker-template-"].inner-pages .headings h2,
.site-corretor[class*="broker-template-"].inner-pages.broker-page .broker-page-hero-content p {
    color: var(--broker-layout-text) !important;
    font-size: 1.02rem;
    line-height: 1.7;
    margin: 0;
    max-width: 680px;
}

.site-corretor[class*="broker-template-"].inner-pages .contact-us,
.site-corretor[class*="broker-template-"].inner-pages .about-us,
.site-corretor[class*="broker-template-"].inner-pages .popular-places,
.site-corretor[class*="broker-template-"].inner-pages .featured.portfolio,
.site-corretor[class*="broker-template-"].inner-pages .single-proper.details {
    background: var(--broker-template-page-bg) !important;
}

.site-corretor[class*="broker-template-"].inner-pages .contact-us > .container,
.site-corretor[class*="broker-template-"].inner-pages .about-us > .container,
.site-corretor[class*="broker-template-"].inner-pages .popular-places > .container,
.site-corretor[class*="broker-template-"].inner-pages .featured.portfolio > .container,
.site-corretor[class*="broker-template-"].inner-pages .featured.portfolio > .container-fluid,
.site-corretor[class*="broker-template-"].inner-pages .single-proper.details > .container {
    max-width: 1180px;
}

.site-corretor[class*="broker-template-"].inner-pages .contact-form,
.site-corretor[class*="broker-template-"].inner-pages .broker-form-card,
.site-corretor[class*="broker-template-"].inner-pages .call-info,
.site-corretor[class*="broker-template-"].inner-pages .broker-contact-card,
.site-corretor[class*="broker-template-"].inner-pages .broker-map-card,
.site-corretor[class*="broker-template-"].inner-pages .broker-rich-content-card,
.site-corretor[class*="broker-template-"].inner-pages .broker-neighborhood-card,
.site-corretor[class*="broker-template-"].inner-pages .property-detail-summary-card,
.site-corretor[class*="broker-template-"].inner-pages .blog-info.details,
.site-corretor[class*="broker-template-"].inner-pages .widget-boxed,
.site-corretor[class*="broker-template-"].inner-pages .project-single {
    background: var(--broker-template-surface) !important;
    border: 1px solid var(--broker-template-line-soft) !important;
    border-radius: var(--broker-template-radius) !important;
    box-shadow: var(--broker-template-shadow-soft) !important;
}

.site-corretor[class*="broker-template-"].inner-pages .contact-us .row,
.site-corretor[class*="broker-template-"].inner-pages .broker-contact-row {
    align-items: stretch;
    justify-content: flex-start;
}

.site-corretor[class*="broker-template-"].inner-pages .contact-form,
.site-corretor[class*="broker-template-"].inner-pages .broker-form-card {
    padding: 1.45rem;
}

.site-corretor[class*="broker-template-"].inner-pages .call-info,
.site-corretor[class*="broker-template-"].inner-pages .broker-contact-card {
    height: 100%;
    padding: 1.45rem !important;
}

.site-corretor[class*="broker-template-"].inner-pages .contact-form .form-control,
.site-corretor[class*="broker-template-"].inner-pages .contact-form .select2-selection,
.site-corretor[class*="broker-template-"].inner-pages .broker-form-card .form-control,
.site-corretor[class*="broker-template-"].inner-pages .broker-form-card .select2-selection {
    border: 1px solid var(--broker-template-line-soft) !important;
    border-radius: 8px !important;
    min-height: 50px;
}

.site-corretor[class*="broker-template-"].inner-pages .contact-form textarea.form-control,
.site-corretor[class*="broker-template-"].inner-pages .broker-form-card textarea.form-control {
    min-height: 160px;
}

.site-corretor[class*="broker-template-"].inner-pages .contact-form .btn,
.site-corretor[class*="broker-template-"].inner-pages .broker-form-card .btn,
.site-corretor[class*="broker-template-"].inner-pages .enviarformimovel,
.site-corretor[class*="broker-template-"].inner-pages .whatsappwhite {
    background: var(--broker-layout-brand) !important;
    border-color: var(--broker-layout-brand) !important;
    border-radius: 8px !important;
    color: var(--broker-layout-button-text) !important;
    font-weight: 900;
}

.site-corretor[class*="broker-template-"].inner-pages .sec-title h2,
.site-corretor[class*="broker-template-"].inner-pages .contact-us h3,
.site-corretor[class*="broker-template-"].inner-pages .call-info h3,
.site-corretor[class*="broker-template-"].inner-pages .broker-section-heading h2,
.site-corretor[class*="broker-template-"].inner-pages .broker-neighborhood-card h3,
.site-corretor[class*="broker-template-"].inner-pages .property-detail-summary h3 {
    color: var(--broker-layout-title) !important;
    font-weight: 900;
    letter-spacing: 0;
}

.site-corretor[class*="broker-template-"].inner-pages .featured.portfolio .sec-title,
.site-corretor[class*="broker-template-"].inner-pages .popular-places .sec-title {
    margin-bottom: 1.25rem;
    text-align: left;
}

.site-corretor[class*="broker-template-"].inner-pages .featured.portfolio .slick-lancers,
.site-corretor[class*="broker-template-"].inner-pages .featured.portfolio .portfolio {
    margin-left: 0;
    margin-right: 0;
}

.site-corretor[class*="broker-template-"].inner-pages .broker-neighborhood-guide #guiaBairros,
.site-corretor[class*="broker-template-"].inner-pages.broker-favorites-page .slick-lancers {
    align-items: stretch;
    justify-content: flex-start;
}

.site-corretor[class*="broker-template-"].sin-1 .container-box {
    background: #0f172a;
    border-bottom: 1px solid var(--broker-template-line-soft);
    margin-top: 0;
    overflow: hidden;
}

.site-corretor[class*="broker-template-"].sin-1 .buttons-container button {
    background: rgba(255, 255, 255, 0.94) !important;
    border: 1px solid rgba(255, 255, 255, 0.65) !important;
    border-radius: 8px;
    color: #111827 !important;
    font-weight: 900;
}

.site-corretor[class*="broker-template-"].sin-1 .property-detail-content-row,
.site-corretor[class*="broker-template-"].sin-1 .property-detail-summary-row {
    justify-content: flex-start;
}

.site-corretor[class*="broker-template-"].sin-1 .property-detail-summary-card {
    overflow: hidden;
}

.site-corretor[class*="broker-template-"].sin-1 .property-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.site-corretor[class*="broker-template-"].sin-1 .property-detail-code {
    background: var(--broker-template-soft-surface);
    border: 1px solid var(--broker-template-line-soft);
    border-radius: 999px;
    color: var(--broker-layout-text);
    font-weight: 800;
    padding: 0.42rem 0.68rem;
}

.site-corretor[class*="broker-template-"].sin-1 .property-detail-facts li,
.site-corretor[class*="broker-template-"].inner-pages.listing .homes-list li {
    background: var(--broker-template-soft-surface);
    border: 1px solid var(--broker-template-line-soft);
    border-radius: 8px;
    padding: 0.45rem 0.55rem;
}

/* Template 2: editorial premium on every page */
.site-corretor.broker-template-2.inner-pages {
    --broker-template-page-bg: #f5f7fa;
    --broker-template-radius: 8px;
}

.site-corretor.broker-template-2.inner-pages .headings,
.site-corretor.broker-template-2.inner-pages.broker-page .broker-page-hero {
    background-color: #111827;
    background-image: linear-gradient(90deg, rgba(15,23,42,0.96), rgba(15,23,42,0.78) 55%, rgba(15,23,42,0.24)), var(--broker-template-hero-image);
    background-position: center;
    background-size: cover;
}

.site-corretor.broker-template-2.inner-pages .headings h1,
.site-corretor.broker-template-2.inner-pages .headings h2,
.site-corretor.broker-template-2.inner-pages.broker-page .broker-page-hero-content h1,
.site-corretor.broker-template-2.inner-pages.broker-page .broker-page-hero-content p {
    color: #fff !important;
}

.site-corretor.broker-template-2.inner-pages .headings .text-heading,
.site-corretor.broker-template-2.inner-pages.broker-page .broker-page-hero-content {
    border-left: 6px solid var(--broker-layout-brand);
    padding-left: 2rem;
}

.site-corretor.broker-template-2.inner-pages .contact-us > .container > .row,
.site-corretor.broker-template-2.inner-pages .broker-contact-row,
.site-corretor.broker-template-2.sin-1 .property-detail-content-row {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
    margin-left: 0;
    margin-right: 0;
}

.site-corretor.broker-template-2.inner-pages .contact-us > .container > .row > [class*="col-"],
.site-corretor.broker-template-2.inner-pages .broker-contact-row > [class*="col-"],
.site-corretor.broker-template-2.sin-1 .property-detail-content-row > [class*="col-"] {
    flex: none;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
    width: auto;
}

.site-corretor.broker-template-2.sin-1 .property-detail-summary-card {
    border-left: 6px solid var(--broker-layout-brand) !important;
}

/* Template 3: neighborhood/map-first continuity */
.site-corretor.broker-template-3.inner-pages {
    --broker-template-page-bg: #eef3f8;
}

.site-corretor.broker-template-3.inner-pages .headings,
.site-corretor.broker-template-3.inner-pages.broker-page .broker-page-hero {
    background:
        linear-gradient(rgba(15, 23, 42, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.055) 1px, transparent 1px),
        #eef3f8;
    background-size: 58px 58px;
}

.site-corretor.broker-template-3.inner-pages .headings .text-heading::before,
.site-corretor.broker-template-3.inner-pages.broker-page .broker-page-hero-content::before {
    background: var(--broker-layout-brand);
    border-radius: 8px;
    content: "";
    display: block;
    height: 8px;
    margin-bottom: 1rem;
    width: 96px;
}

.site-corretor.broker-template-3.inner-pages .contact-us > .container > .row,
.site-corretor.broker-template-3.inner-pages .broker-contact-row {
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    margin-left: 0;
    margin-right: 0;
}

.site-corretor.broker-template-3.inner-pages .contact-us > .container > .row > [class*="col-"],
.site-corretor.broker-template-3.inner-pages .broker-contact-row > [class*="col-"] {
    flex: none;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
    width: auto;
}

.site-corretor.broker-template-3.inner-pages .call-info,
.site-corretor.broker-template-3.inner-pages .broker-contact-card,
.site-corretor.broker-template-3.sin-1 .property-detail-sidebar-column {
    position: sticky;
    top: 104px;
}

.site-corretor.broker-template-3.sin-1 .container-box .swiper-container::after {
    background:
        linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
    background-size: 64px 64px;
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
}

/* Template 4: luxury/gallery continuity */
.site-corretor.broker-template-4.inner-pages {
    --broker-template-page-bg: #fff;
    --broker-template-shadow-soft: 0 12px 34px rgba(15, 23, 42, 0.05);
}

.site-corretor.broker-template-4.inner-pages .headings,
.site-corretor.broker-template-4.inner-pages.broker-page .broker-page-hero {
    background-color: #111827;
    background-image: linear-gradient(90deg, rgba(15,23,42,0.84), rgba(15,23,42,0.42) 62%, rgba(15,23,42,0.08)), var(--broker-template-hero-image);
    background-position: center;
    background-size: cover;
    min-height: 360px;
}

.site-corretor.broker-template-4.inner-pages .headings .text-heading,
.site-corretor.broker-template-4.inner-pages.broker-page .broker-page-hero-content {
    margin-left: auto;
    margin-right: auto;
    max-width: 900px;
    text-align: center !important;
}

.site-corretor.broker-template-4.inner-pages .headings h1,
.site-corretor.broker-template-4.inner-pages .headings h2,
.site-corretor.broker-template-4.inner-pages.broker-page .broker-page-hero-content h1,
.site-corretor.broker-template-4.inner-pages.broker-page .broker-page-hero-content p {
    color: #fff !important;
    margin-left: auto;
    margin-right: auto;
}

.site-corretor.broker-template-4.inner-pages .contact-form,
.site-corretor.broker-template-4.inner-pages .broker-form-card,
.site-corretor.broker-template-4.inner-pages .call-info,
.site-corretor.broker-template-4.inner-pages .broker-contact-card,
.site-corretor.broker-template-4.inner-pages .broker-rich-content-card,
.site-corretor.broker-template-4.inner-pages .property-detail-summary-card,
.site-corretor.broker-template-4.inner-pages .blog-info.details {
    box-shadow: none !important;
}

.site-corretor.broker-template-4.inner-pages .contact-us > .container > .row,
.site-corretor.broker-template-4.inner-pages .broker-contact-row {
    align-items: stretch;
}

.site-corretor.broker-template-4.sin-1 .container-box {
    background: #fff;
}

.site-corretor.broker-template-4.sin-1 .container-box .swiper-slide img {
    object-fit: cover !important;
}

/* Template 5: portal/catalog continuity */
.site-corretor.broker-template-5.inner-pages {
    --broker-template-page-bg: #f3f6f9;
    --broker-template-shadow-soft: none;
}

.site-corretor.broker-template-5.inner-pages .headings,
.site-corretor.broker-template-5.inner-pages.broker-page .broker-page-hero {
    background: #f3f6f9;
    padding-bottom: 2.4rem;
    padding-top: 6.6rem;
}

.site-corretor.broker-template-5.inner-pages .headings .text-heading,
.site-corretor.broker-template-5.inner-pages.broker-page .broker-page-hero-content {
    align-items: center;
    display: flex;
    gap: 1.5rem;
    justify-content: space-between;
    max-width: 1280px;
}

.site-corretor.broker-template-5.inner-pages .headings h1,
.site-corretor.broker-template-5.inner-pages.broker-page .broker-page-hero-content h1 {
    flex: 1 1 auto;
    font-size: clamp(2rem, 4vw, 3.3rem);
    margin: 0;
}

.site-corretor.broker-template-5.inner-pages .headings h2,
.site-corretor.broker-template-5.inner-pages.broker-page .broker-page-hero-content p {
    flex: 0 1 390px;
    margin: 0;
}

.site-corretor.broker-template-5.inner-pages .contact-us > .container > .row,
.site-corretor.broker-template-5.inner-pages .broker-contact-row,
.site-corretor.broker-template-5.sin-1 .property-detail-content-row {
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
    margin-left: 0;
    margin-right: 0;
}

.site-corretor.broker-template-5.inner-pages .contact-us > .container > .row > [class*="col-"],
.site-corretor.broker-template-5.inner-pages .broker-contact-row > [class*="col-"],
.site-corretor.broker-template-5.sin-1 .property-detail-content-row > [class*="col-"] {
    flex: none;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
    width: auto;
}

.site-corretor.broker-template-5.inner-pages .contact-form,
.site-corretor.broker-template-5.inner-pages .broker-form-card,
.site-corretor.broker-template-5.inner-pages .call-info,
.site-corretor.broker-template-5.inner-pages .broker-contact-card,
.site-corretor.broker-template-5.inner-pages .broker-rich-content-card,
.site-corretor.broker-template-5.inner-pages .broker-neighborhood-card,
.site-corretor.broker-template-5.inner-pages .property-detail-summary-card,
.site-corretor.broker-template-5.inner-pages .blog-info.details,
.site-corretor.broker-template-5.inner-pages .widget-boxed {
    border-top: 0 !important;
}

.site-corretor.broker-template-5.sin-1 .property-detail-summary {
    align-items: flex-start;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
}

@media (max-width: 1199.98px) {
    .site-corretor.broker-template-2.inner-pages .contact-us > .container > .row,
    .site-corretor.broker-template-2.inner-pages .broker-contact-row,
    .site-corretor.broker-template-2.sin-1 .property-detail-content-row,
    .site-corretor.broker-template-3.inner-pages .contact-us > .container > .row,
    .site-corretor.broker-template-3.inner-pages .broker-contact-row,
    .site-corretor.broker-template-5.inner-pages .contact-us > .container > .row,
    .site-corretor.broker-template-5.inner-pages .broker-contact-row,
    .site-corretor.broker-template-5.sin-1 .property-detail-content-row,
    .site-corretor.broker-template-5.sin-1 .property-detail-summary {
        grid-template-columns: 1fr;
    }

    .site-corretor.broker-template-3.inner-pages .call-info,
    .site-corretor.broker-template-3.inner-pages .broker-contact-card,
    .site-corretor.broker-template-3.sin-1 .property-detail-sidebar-column {
        position: static;
    }
}

@media (max-width: 767.98px) {
    .site-corretor[class*="broker-template-"].inner-pages .headings,
    .site-corretor[class*="broker-template-"].inner-pages.broker-page .broker-page-hero {
        padding: 5.5rem 0 2.2rem;
    }

    .site-corretor[class*="broker-template-"].inner-pages .headings h1,
    .site-corretor[class*="broker-template-"].inner-pages.broker-page .broker-page-hero-content h1 {
        font-size: 2rem;
    }

    .site-corretor.broker-template-2.inner-pages .headings .text-heading,
    .site-corretor.broker-template-2.inner-pages.broker-page .broker-page-hero-content {
        border-left-width: 4px;
        padding-left: 1rem;
    }

    .site-corretor.broker-template-5.inner-pages .headings .text-heading,
    .site-corretor.broker-template-5.inner-pages.broker-page .broker-page-hero-content {
        align-items: flex-start;
        display: block;
    }

    .site-corretor[class*="broker-template-"].inner-pages .contact-form,
    .site-corretor[class*="broker-template-"].inner-pages .broker-form-card,
    .site-corretor[class*="broker-template-"].inner-pages .call-info,
    .site-corretor[class*="broker-template-"].inner-pages .broker-contact-card {
        padding: 1rem !important;
    }
}

.site-corretor.broker-template-2.inner-pages .headings {
    background-color: #111827 !important;
    background-image: linear-gradient(90deg, rgba(15,23,42,0.96), rgba(15,23,42,0.78) 55%, rgba(15,23,42,0.24)), var(--broker-template-hero-image) !important;
    background-position: center !important;
    background-size: cover !important;
}

.site-corretor.broker-template-2.inner-pages .headings h1,
.site-corretor.broker-template-2.inner-pages .headings h2 {
    color: #fff !important;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.28);
}

.site-corretor.broker-template-3.inner-pages.broker-page .broker-page-hero-content {
    align-items: end !important;
    display: grid !important;
    gap: 0.8rem 2rem !important;
    grid-template-columns: minmax(180px, 0.42fr) minmax(0, 1fr) !important;
}

.site-corretor.broker-template-3.inner-pages.broker-page .broker-page-hero-content::before {
    display: none !important;
}

.site-corretor.broker-template-3.inner-pages.broker-page .broker-page-hero-content span {
    align-self: start !important;
    display: inline-flex !important;
    grid-column: 2 !important;
    justify-self: start !important;
    max-width: max-content !important;
    width: auto !important;
}

.site-corretor.broker-template-3.inner-pages.broker-page .broker-page-hero-content h1 {
    grid-column: 1 !important;
    grid-row: 1 / span 2 !important;
    max-width: 320px;
}

.site-corretor.broker-template-3.inner-pages.broker-page .broker-page-hero-content p {
    align-self: end !important;
    grid-column: 2 !important;
    grid-row: 2 !important;
    max-width: 680px;
}

@media (max-width: 767.98px) {
    .site-corretor.broker-template-3.inner-pages.broker-page .broker-page-hero-content {
        display: block !important;
    }

    .site-corretor.broker-template-3.inner-pages.broker-page .broker-page-hero-content span {
        margin-bottom: 1rem;
    }

    .site-corretor.broker-template-3.inner-pages.broker-page .broker-page-hero-content h1 {
        max-width: none;
    }
}

/* Template 5 final continuity pass: catalog shell on every inner page */
.site-corretor.broker-template-5.inner-pages .headings,
.site-corretor.broker-template-5.inner-pages.broker-page .broker-page-hero {
    background:
        linear-gradient(90deg, rgba(255,255,255,0.94), rgba(255,255,255,0.72)),
        linear-gradient(135deg, rgba(17,24,39,0.08), rgba(255,255,255,0) 48%),
        #eef3f7 !important;
    border-bottom: 1px solid rgba(17, 24, 39, 0.08);
    padding: 6.8rem 0 2.6rem !important;
}

.site-corretor.broker-template-5.inner-pages .headings .text-heading,
.site-corretor.broker-template-5.inner-pages.broker-page .broker-page-hero-content {
    align-items: center !important;
    background: #fff;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-left: 5px solid var(--broker-brand);
    border-radius: 8px;
    box-shadow: 0 18px 46px rgba(17, 24, 39, 0.08);
    display: grid !important;
    gap: 1rem 2rem;
    grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.48fr);
    margin-left: auto;
    margin-right: auto;
    max-width: 1140px;
    padding: 1.25rem 1.5rem !important;
}

.site-corretor.broker-template-5.inner-pages .headings .text-heading::after,
.site-corretor.broker-template-5.inner-pages.broker-page .broker-page-hero-content::after {
    background:
        linear-gradient(90deg, var(--broker-brand), rgba(17, 24, 39, 0.12)),
        repeating-linear-gradient(90deg, rgba(17,24,39,0.12) 0 1px, transparent 1px 11px);
    border-radius: 999px;
    content: "";
    display: block;
    height: 6px;
    justify-self: stretch;
}

.site-corretor.broker-template-5.inner-pages .headings h1,
.site-corretor.broker-template-5.inner-pages.broker-page .broker-page-hero-content h1 {
    color: var(--broker-title) !important;
    font-size: clamp(2.1rem, 3.6vw, 3.4rem) !important;
    line-height: 1;
}

.site-corretor.broker-template-5.inner-pages .headings h2,
.site-corretor.broker-template-5.inner-pages.broker-page .broker-page-hero-content p {
    color: var(--broker-text) !important;
    font-size: 0.98rem;
    line-height: 1.7;
}

.site-corretor.broker-template-5.inner-pages.broker-page .broker-page-hero-content span {
    display: inline-flex !important;
    grid-column: 1;
    justify-self: start;
    max-width: max-content;
    width: auto !important;
}

.site-corretor.broker-template-5.inner-pages.broker-page .broker-page-hero-content h1 {
    grid-column: 2;
    grid-row: 1;
}

.site-corretor.broker-template-5.inner-pages.broker-page .broker-page-hero-content p {
    grid-column: 1;
    grid-row: 2;
}

.site-corretor.broker-template-5.inner-pages.broker-page .broker-page-hero-content::after {
    grid-column: 2;
    grid-row: 2;
}

.site-corretor.broker-template-5.inner-pages .contact-us > .container,
.site-corretor.broker-template-5.inner-pages .popular-places > .container,
.site-corretor.broker-template-5.inner-pages .featured.portfolio > .container {
    background: transparent;
}

.site-corretor.broker-template-5.inner-pages .contact-form,
.site-corretor.broker-template-5.inner-pages .broker-form-card,
.site-corretor.broker-template-5.inner-pages .call-info,
.site-corretor.broker-template-5.inner-pages .broker-contact-card,
.site-corretor.broker-template-5.inner-pages .broker-rich-content-card,
.site-corretor.broker-template-5.inner-pages .broker-neighborhood-card,
.site-corretor.broker-template-5.inner-pages .property-detail-summary-card,
.site-corretor.broker-template-5.inner-pages .blog-info.details,
.site-corretor.broker-template-5.inner-pages .widget-boxed {
    border: 1px solid rgba(17, 24, 39, 0.08) !important;
    border-radius: 8px !important;
    box-shadow: 0 12px 34px rgba(17, 24, 39, 0.06) !important;
}

.site-corretor.broker-template-5.inner-pages .contact-form,
.site-corretor.broker-template-5.inner-pages .broker-form-card {
    border-top: 4px solid var(--broker-brand) !important;
}

@media (max-width: 767.98px) {
    .site-corretor.broker-template-5.inner-pages .headings,
    .site-corretor.broker-template-5.inner-pages.broker-page .broker-page-hero {
        padding: 5.25rem 0 1.4rem !important;
    }

    .site-corretor.broker-template-5.inner-pages .headings .text-heading,
    .site-corretor.broker-template-5.inner-pages.broker-page .broker-page-hero-content {
        display: block !important;
        margin-left: 15px;
        margin-right: 15px;
        padding: 1.05rem 1rem !important;
    }

    .site-corretor.broker-template-5.inner-pages .headings .text-heading::after,
    .site-corretor.broker-template-5.inner-pages.broker-page .broker-page-hero-content::after {
        margin-top: 1rem;
        width: 100%;
    }

    .site-corretor.broker-template-5.inner-pages.broker-page .broker-page-hero-content span,
    .site-corretor.broker-template-5.inner-pages.broker-page .broker-page-hero-content h1,
    .site-corretor.broker-template-5.inner-pages.broker-page .broker-page-hero-content p,
    .site-corretor.broker-template-5.inner-pages.broker-page .broker-page-hero-content::after {
        grid-column: auto;
        grid-row: auto;
    }

    .site-corretor.broker-template-5.inner-pages .headings h1,
    .site-corretor.broker-template-5.inner-pages.broker-page .broker-page-hero-content h1 {
        font-size: 1.85rem !important;
        line-height: 1.05;
    }
}

/* Distinct inner-page templates: each model owns its page shell, not only its colors. */
.site-corretor[class*="broker-template-"] .broker-template-page-hero {
    overflow: hidden;
    position: relative;
}

.site-corretor[class*="broker-template-"] .broker-template-page-hero .container {
    max-width: 1160px;
}

.site-corretor[class*="broker-template-"] .broker-template-page-hero h1 {
    color: var(--broker-title);
    font-size: clamp(2.2rem, 4.5vw, 4.3rem);
    font-weight: 800;
    letter-spacing: 0;
    line-height: 0.98;
    margin: 0;
}

.site-corretor[class*="broker-template-"] .broker-template-page-hero p {
    color: var(--broker-text);
    font-size: 1rem;
    line-height: 1.75;
    margin: 0;
}

.site-corretor[class*="broker-template-"] .broker-template-page-hero span {
    color: var(--broker-brand);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.site-corretor.broker-template-2 .broker-template-page-hero--editorial {
    background:
        linear-gradient(90deg, rgba(10,15,28,0.97), rgba(10,15,28,0.82) 54%, rgba(10,15,28,0.22)),
        var(--broker-template-hero-image);
    background-position: center;
    background-size: cover;
    padding: 8.2rem 0 4.2rem;
}

.site-corretor.broker-template-2 .broker-template-page-hero--editorial .broker-template-page-hero-grid {
    align-items: end;
    display: grid;
    gap: 2rem;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
}

.site-corretor.broker-template-2 .broker-template-page-hero--editorial .broker-template-page-hero-copy {
    border-left: 6px solid var(--broker-brand);
    padding-left: 1.4rem;
}

.site-corretor.broker-template-2 .broker-template-page-hero--editorial h1,
.site-corretor.broker-template-2 .broker-template-page-hero--editorial p {
    color: #fff;
}

.site-corretor.broker-template-2 .broker-template-page-hero-panel {
    background: rgba(255,255,255,0.94);
    border-radius: 8px;
    box-shadow: 0 26px 60px rgba(0,0,0,0.22);
    display: grid;
    gap: 0.45rem;
    min-height: 180px;
    padding: 1.25rem;
}

.site-corretor.broker-template-2 .broker-template-page-hero-panel strong {
    color: #111827;
    font-size: 1.1rem;
}

.site-corretor.broker-template-2 .broker-template-page-hero-panel i {
    align-self: end;
    background: linear-gradient(90deg, var(--broker-brand), rgba(17,24,39,0.15));
    display: block;
    height: 5px;
    width: 100%;
}

.site-corretor.broker-template-3 .broker-template-page-hero--map {
    background-color: #eef5f8;
    background-image:
        linear-gradient(rgba(17,24,39,0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(17,24,39,0.07) 1px, transparent 1px);
    background-size: 58px 58px;
    padding: 7.7rem 0 3.6rem;
}

.site-corretor.broker-template-3 .broker-template-page-hero-map-grid {
    align-items: center;
    display: grid;
    gap: 2rem;
    grid-template-columns: minmax(0, 0.78fr) minmax(280px, 0.42fr);
}

.site-corretor.broker-template-3 .broker-template-page-hero--map h1 {
    max-width: 520px;
}

.site-corretor.broker-template-3 .broker-template-page-hero--map p {
    max-width: 620px;
}

.site-corretor.broker-template-3 .broker-template-page-map-card {
    aspect-ratio: 4 / 3;
    background:
        radial-gradient(circle at 28% 34%, var(--broker-brand) 0 8px, transparent 9px),
        radial-gradient(circle at 66% 45%, #111827 0 7px, transparent 8px),
        radial-gradient(circle at 48% 70%, rgba(17,24,39,0.45) 0 6px, transparent 7px),
        linear-gradient(135deg, #fff, #edf3f7);
    border: 1px solid rgba(17,24,39,0.08);
    border-radius: 8px;
    box-shadow: 0 18px 44px rgba(17,24,39,0.12);
    display: grid;
    padding: 1rem;
    position: relative;
}

.site-corretor.broker-template-3 .broker-template-page-map-card span {
    background: rgba(17,24,39,0.1);
    display: block;
    height: 1px;
    position: absolute;
    width: 100%;
}

.site-corretor.broker-template-3 .broker-template-page-map-card span:nth-child(1) {
    left: 0;
    top: 32%;
    transform: rotate(-12deg);
}

.site-corretor.broker-template-3 .broker-template-page-map-card span:nth-child(2) {
    left: 0;
    top: 62%;
    transform: rotate(8deg);
}

.site-corretor.broker-template-3 .broker-template-page-map-card span:nth-child(3) {
    height: 100%;
    left: 54%;
    top: 0;
    transform: rotate(18deg);
    width: 1px;
}

.site-corretor.broker-template-3 .broker-template-page-map-card strong {
    align-self: end;
    background: #fff;
    border-radius: 8px;
    color: #111827;
    padding: 0.85rem 1rem;
}

.site-corretor.broker-template-4 .broker-template-page-hero--gallery {
    background:
        linear-gradient(180deg, rgba(0,0,0,0.2), rgba(0,0,0,0.48)),
        var(--broker-template-hero-image);
    background-position: center;
    background-size: cover;
    min-height: 420px;
    padding: 9rem 0 4rem;
}

.site-corretor.broker-template-4 .broker-template-page-hero--gallery .broker-template-page-hero-copy {
    margin: 0 auto;
    max-width: 780px;
    text-align: center;
}

.site-corretor.broker-template-4 .broker-template-page-hero--gallery span {
    background: rgba(255,255,255,0.94);
    border-radius: 999px;
    display: inline-flex;
    margin-bottom: 1rem;
    padding: 0.45rem 0.8rem;
}

.site-corretor.broker-template-4 .broker-template-page-hero--gallery h1,
.site-corretor.broker-template-4 .broker-template-page-hero--gallery p {
    color: #fff;
    text-shadow: 0 2px 22px rgba(0,0,0,0.35);
}

.site-corretor.broker-template-5 .broker-template-page-hero--catalog {
    background:
        linear-gradient(135deg, rgba(17,24,39,0.05), rgba(255,255,255,0) 42%),
        #f2f6f9;
    border-bottom: 1px solid rgba(17,24,39,0.08);
    padding: 7.4rem 0 2.8rem;
}

.site-corretor.broker-template-5 .broker-template-page-hero-catalog-card {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(17,24,39,0.08);
    border-left: 5px solid var(--broker-brand);
    border-radius: 8px;
    box-shadow: 0 18px 44px rgba(17,24,39,0.08);
    display: grid;
    gap: 1.5rem;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
    padding: 1.35rem 1.55rem;
}

.site-corretor.broker-template-5 .broker-template-page-catalog-rail {
    display: grid;
    gap: 0.6rem;
}

.site-corretor.broker-template-5 .broker-template-page-catalog-rail strong {
    align-items: center;
    background: #f6f8fb;
    border: 1px solid rgba(17,24,39,0.08);
    border-radius: 8px;
    color: #111827;
    display: flex;
    justify-content: space-between;
    padding: 0.72rem 0.9rem;
}

.site-corretor.broker-template-5 .broker-template-page-catalog-rail strong::after {
    background: var(--broker-brand);
    border-radius: 999px;
    content: "";
    height: 8px;
    width: 8px;
}

.site-corretor[class*="broker-template-"] .broker-listing-template-page {
    padding-top: 0 !important;
}

.site-corretor[class*="broker-template-"] .broker-listing-hero {
    align-items: center;
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr) auto;
    margin: 0 0 1.25rem;
}

.site-corretor[class*="broker-template-"] .broker-listing-hero-copy {
    min-width: 0;
}

.site-corretor[class*="broker-template-"] .broker-listing-hero-copy > span {
    color: var(--broker-brand);
    display: block;
    font-size: 0.78rem;
    font-weight: 800;
    margin-bottom: 0.35rem;
    text-transform: uppercase;
}

.site-corretor[class*="broker-template-"] .broker-listing-hero .tituloHeader {
    color: var(--broker-title);
    font-size: clamp(1.25rem, 2vw, 1.75rem) !important;
    line-height: 1.25;
}

.site-corretor[class*="broker-template-"] .broker-listing-hero-actions {
    align-items: center;
    display: flex;
    gap: 0.45rem;
}

.site-corretor[class*="broker-template-"] .broker-listing-hero-actions strong,
.site-corretor[class*="broker-template-"] .broker-listing-hero-actions span {
    border: 1px solid rgba(17,24,39,0.1);
    border-radius: 999px;
    color: #111827;
    font-size: 0.8rem;
    padding: 0.45rem 0.7rem;
}

.site-corretor.broker-template-2 .broker-listing-hero {
    background: #111827;
    border-left: 5px solid var(--broker-brand);
    border-radius: 8px;
    box-shadow: 0 22px 55px rgba(17,24,39,0.18);
    padding: 1.2rem 1.35rem;
}

.site-corretor.broker-template-2 .broker-listing-hero .tituloHeader,
.site-corretor.broker-template-2 .broker-listing-hero-actions strong,
.site-corretor.broker-template-2 .broker-listing-hero-actions span {
    color: #fff;
}

.site-corretor.broker-template-2 .broker-listing-hero-actions strong,
.site-corretor.broker-template-2 .broker-listing-hero-actions span {
    border-color: rgba(255,255,255,0.2);
}

.site-corretor.broker-template-3 .broker-listing-hero {
    background:
        linear-gradient(rgba(17,24,39,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(17,24,39,0.06) 1px, transparent 1px),
        #eef5f8;
    background-size: 44px 44px;
    border-radius: 8px;
    padding: 1.1rem 1.2rem;
}

.site-corretor.broker-template-4 .broker-listing-hero {
    align-items: end;
    border-bottom: 1px solid rgba(17,24,39,0.12);
    padding-bottom: 1rem;
}

.site-corretor.broker-template-5 .broker-listing-hero {
    background: #fff;
    border: 1px solid rgba(17,24,39,0.08);
    border-left: 5px solid var(--broker-brand);
    border-radius: 8px;
    box-shadow: 0 15px 35px rgba(17,24,39,0.07);
    padding: 1rem 1.2rem;
}

.site-corretor[class*="broker-template-"] .broker-detail-media-stage {
    position: relative;
}

.site-corretor.broker-template-2 .broker-detail-media-stage::after,
.site-corretor.broker-template-3 .broker-detail-media-stage::after,
.site-corretor.broker-template-5 .broker-detail-media-stage::after {
    bottom: 0;
    color: #fff;
    content: "Imóvel selecionado";
    font-size: 0.8rem;
    font-weight: 800;
    left: 50%;
    letter-spacing: 0;
    padding: 0.55rem 0.8rem;
    position: absolute;
    text-transform: uppercase;
    transform: translateX(-50%);
    z-index: 4;
}

.site-corretor.broker-template-2 .broker-detail-media-stage::after {
    background: #111827;
}

.site-corretor.broker-template-3 .broker-detail-media-stage::after {
    background: var(--broker-brand);
    border-radius: 999px 999px 0 0;
}

.site-corretor.broker-template-5 .broker-detail-media-stage::after {
    background: #fff;
    border: 1px solid rgba(17,24,39,0.08);
    color: #111827;
}

@media (max-width: 991.98px) {
    .site-corretor.broker-template-2 .broker-template-page-hero--editorial .broker-template-page-hero-grid,
    .site-corretor.broker-template-3 .broker-template-page-hero-map-grid,
    .site-corretor.broker-template-5 .broker-template-page-hero-catalog-card {
        grid-template-columns: 1fr;
    }

    .site-corretor.broker-template-2 .broker-template-page-hero-panel,
    .site-corretor.broker-template-3 .broker-template-page-map-card,
    .site-corretor.broker-template-5 .broker-template-page-catalog-rail {
        display: none;
    }

    .site-corretor[class*="broker-template-"] .broker-listing-hero {
        grid-template-columns: 1fr;
    }

    .site-corretor[class*="broker-template-"] .broker-listing-hero-actions {
        flex-wrap: wrap;
    }
}

@media (max-width: 767.98px) {
    .site-corretor[class*="broker-template-"] .broker-template-page-hero {
        padding: 5.6rem 0 2.1rem !important;
    }

    .site-corretor[class*="broker-template-"] .broker-template-page-hero h1 {
        font-size: 2rem;
        line-height: 1.05;
    }

    .site-corretor[class*="broker-template-"] .broker-template-page-hero p {
        font-size: 0.95rem;
        line-height: 1.55;
    }

    .site-corretor.broker-template-4 .broker-template-page-hero--gallery {
        min-height: 310px;
    }

    .site-corretor.broker-template-5 .broker-template-page-hero-catalog-card {
        padding: 1rem;
    }

    .site-corretor[class*="broker-template-"] .broker-listing-hero-actions {
        display: none;
    }
}

/* Production pass: distinct, compact broker templates. Template 1 does not load this file. */
.site-corretor.broker-template-2,
.site-corretor.broker-template-3,
.site-corretor.broker-template-4,
.site-corretor.broker-template-5 {
    --broker-modern-page: #f5f7fa;
    --broker-modern-quiet: #eef2f6;
    --broker-modern-stroke: rgba(15, 23, 42, 0.1);
    --broker-modern-depth: 0 16px 42px rgba(15, 23, 42, 0.11);
    --broker-modern-heavy-depth: 0 24px 62px rgba(15, 23, 42, 0.18);
}

.site-corretor.broker-template-2 .broker-modern-home .container,
.site-corretor.broker-template-3 .broker-modern-home .container,
.site-corretor.broker-template-4 .broker-modern-home .container,
.site-corretor.broker-template-5 .broker-modern-portal > .container-fluid,
.site-corretor.broker-template-5 .broker-modern-portal-catalog > .container-fluid {
    max-width: 1180px;
}

.site-corretor.broker-template-2 .broker-modern-copy h1,
.site-corretor.broker-template-3 .broker-modern-map-search h1,
.site-corretor.broker-template-4 .broker-modern-gallery-copy h1,
.site-corretor.broker-template-5 .broker-modern-portal-head h1,
.site-corretor.broker-template-2 .broker-template-page-hero h1,
.site-corretor.broker-template-3 .broker-template-page-hero h1,
.site-corretor.broker-template-4 .broker-template-page-hero h1,
.site-corretor.broker-template-5 .broker-template-page-hero h1 {
    letter-spacing: 0;
    overflow-wrap: anywhere;
    text-transform: none !important;
}

.site-corretor.broker-template-2 .broker-modern-section-head h2,
.site-corretor.broker-template-3 .broker-modern-section-head h2,
.site-corretor.broker-template-4 .broker-modern-section-head h2,
.site-corretor.broker-template-5 .broker-modern-section-head h2 {
    font-size: clamp(1.45rem, 2.1vw, 2rem);
    line-height: 1.12;
}

.site-corretor .broker-modern-eyebrow {
    color: var(--broker-layout-brand);
    display: inline-flex;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.site-corretor .broker-modern-proof-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1.25rem;
}

.site-corretor .broker-modern-proof-row span,
.site-corretor .broker-modern-gallery-strip span,
.site-corretor .broker-modern-portal-summary a {
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 900;
    justify-content: center;
    min-height: 38px;
    padding: 0.55rem 0.72rem;
}

.site-corretor .broker-modern-search-panel {
    border-color: var(--broker-modern-stroke);
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.1);
}

.site-corretor .broker-modern-search-panel .rld-banner-tab {
    gap: 0.35rem !important;
    padding: 0.36rem !important;
}

.site-corretor .broker-modern-search-panel .rld-banner-tab .nav-link {
    min-height: 42px;
}

.site-corretor .broker-modern-search-panel input,
.site-corretor .broker-modern-search-panel select,
.site-corretor .broker-modern-search-panel .select2-selection--single,
.site-corretor .broker-modern-search-panel .broker-search-action .btn {
    height: 50px !important;
    min-height: 50px;
}

/* Template 2: editorial broker office */
.site-corretor.broker-template-2 .broker-modern-editorial {
    background-image:
        linear-gradient(90deg, rgba(10, 15, 28, 0.94), rgba(10, 15, 28, 0.74) 48%, rgba(10, 15, 28, 0.26)),
        var(--broker-template-hero-image);
    min-height: 625px;
    padding: 128px 0 58px;
}

.site-corretor.broker-template-2 .broker-modern-editorial-grid {
    align-items: end;
    gap: 2rem;
    grid-template-columns: minmax(0, 0.92fr) minmax(330px, 430px);
}

.site-corretor.broker-template-2 .broker-modern-copy {
    border-left: 5px solid var(--broker-layout-brand);
    max-width: 650px;
    padding-left: 1.25rem;
}

.site-corretor.broker-template-2 .broker-modern-editorial .broker-modern-copy h1 {
    font-size: clamp(2.35rem, 3.7vw, 3.75rem);
    line-height: 1.04;
}

.site-corretor.broker-template-2 .broker-modern-editorial .broker-modern-copy p {
    font-size: 0.98rem;
    line-height: 1.68;
    margin-top: 1rem;
}

.site-corretor.broker-template-2 .broker-modern-proof-row span {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.site-corretor.broker-template-2 .broker-modern-editorial .broker-modern-search-panel {
    border-top: 4px solid var(--broker-layout-brand);
    padding: 1.05rem;
}

.site-corretor.broker-template-2 .broker-modern-editorial .broker-modern-actions {
    margin-top: 1.45rem;
}

.site-corretor.broker-template-2 .broker-modern-editorial-split {
    background: #fff;
}

/* Template 3: region-first search */
.site-corretor.broker-template-3 .broker-modern-map {
    background-color: #eef3f7;
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.055) 1px, transparent 1px);
    background-size: 58px 58px;
    padding: 120px 0 64px;
}

.site-corretor.broker-template-3 .broker-modern-map-grid {
    align-items: center;
    grid-template-columns: minmax(0, 0.98fr) minmax(330px, 0.72fr);
}

.site-corretor.broker-template-3 .broker-modern-map-search {
    border-left: 5px solid var(--broker-layout-brand);
    padding: 1.35rem;
}

.site-corretor.broker-template-3 .broker-modern-map-search h1 {
    font-size: clamp(2.05rem, 3.2vw, 3.1rem);
    line-height: 1.06;
}

.site-corretor.broker-template-3 .broker-modern-map-search p {
    font-size: 0.96rem;
    line-height: 1.64;
    margin-bottom: 1rem;
}

.site-corretor.broker-template-3 .broker-modern-map-board {
    box-shadow: var(--broker-modern-heavy-depth);
    min-height: 430px;
}

.site-corretor.broker-template-3 .broker-modern-map-caption {
    background: #fff;
    border-radius: 8px;
    bottom: 1rem;
    color: var(--broker-layout-title);
    font-size: 0.9rem;
    font-weight: 900;
    left: 1rem;
    padding: 0.8rem 1rem;
    position: absolute;
    right: 1rem;
    z-index: 1;
}

/* Template 4: visual gallery */
.site-corretor.broker-template-4 .broker-modern-gallery {
    background-image:
        linear-gradient(90deg, rgba(10, 15, 28, 0.84), rgba(10, 15, 28, 0.44) 58%, rgba(10, 15, 28, 0.12)),
        var(--broker-template-hero-image);
    min-height: 565px;
    padding: 132px 0 96px;
}

.site-corretor.broker-template-4 .broker-modern-gallery-copy {
    max-width: 720px;
}

.site-corretor.broker-template-4 .broker-modern-gallery-copy h1 {
    font-size: clamp(2.45rem, 4vw, 3.8rem);
    line-height: 1.06;
}

.site-corretor.broker-template-4 .broker-modern-gallery-copy p {
    font-size: 0.98rem;
    line-height: 1.68;
    max-width: 540px;
}

.site-corretor.broker-template-4 .broker-modern-gallery-strip {
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1.6rem;
    max-width: 520px;
    padding-top: 1rem;
}

.site-corretor.broker-template-4 .broker-modern-gallery-strip span {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.site-corretor.broker-template-4 .broker-modern-gallery-search {
    margin-top: -58px;
    padding-bottom: 0.5rem;
}

.site-corretor.broker-template-4 .broker-modern-gallery-search .broker-modern-search-panel {
    border-bottom: 4px solid var(--broker-layout-brand);
}

.site-corretor.broker-template-4 .broker-modern-service-band {
    background: #fff;
    padding-top: 2.4rem;
}

/* Template 5: compact portal */
.site-corretor.broker-template-5 .broker-modern-portal {
    background:
        linear-gradient(180deg, #fff, #f4f7fa);
    padding: 116px 1rem 44px;
}

.site-corretor.broker-template-5 .broker-modern-portal-head {
    align-items: stretch;
    display: grid;
    gap: 1.2rem;
    grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.36fr);
    margin-bottom: 1rem;
}

.site-corretor.broker-template-5 .broker-modern-portal-head h1 {
    font-size: clamp(2.1rem, 3.35vw, 3.25rem);
    line-height: 1.06;
    max-width: 760px;
}

.site-corretor.broker-template-5 .broker-modern-portal-head p {
    font-size: 0.98rem;
    line-height: 1.65;
    max-width: 560px;
}

.site-corretor.broker-template-5 .broker-modern-portal-summary {
    background: #fff;
    border: 1px solid var(--broker-modern-stroke);
    border-left: 5px solid var(--broker-layout-brand);
    border-radius: 8px;
    box-shadow: var(--broker-modern-depth);
    display: grid;
    gap: 0.55rem;
    padding: 1rem;
}

.site-corretor.broker-template-5 .broker-modern-portal-summary strong {
    color: var(--broker-layout-title);
    font-size: 0.92rem;
    line-height: 1.3;
}

.site-corretor.broker-template-5 .broker-modern-portal-summary a {
    background: #f7f9fb;
    border-color: var(--broker-modern-stroke);
    color: var(--broker-layout-title) !important;
    justify-content: flex-start;
}

.site-corretor.broker-template-5 .broker-modern-portal .broker-modern-search-panel {
    border-left: 5px solid var(--broker-layout-brand);
}

.site-corretor.broker-template-5 .broker-modern-portal-tabs {
    justify-content: flex-start;
}

.site-corretor.broker-template-5 .broker-modern-portal-catalog {
    padding-top: 3.4rem;
}

.site-corretor.broker-template-5 .broker-modern-catalog-layout {
    grid-template-columns: 240px minmax(0, 1fr);
}

/* Inner page scale and continuity */
.site-corretor.broker-template-2 .broker-template-page-hero,
.site-corretor.broker-template-3 .broker-template-page-hero,
.site-corretor.broker-template-4 .broker-template-page-hero,
.site-corretor.broker-template-5 .broker-template-page-hero {
    margin-top: 0;
}

.site-corretor.broker-template-2 .broker-template-page-hero h1,
.site-corretor.broker-template-3 .broker-template-page-hero h1,
.site-corretor.broker-template-4 .broker-template-page-hero h1,
.site-corretor.broker-template-5 .broker-template-page-hero h1 {
    font-size: clamp(1.9rem, 3.05vw, 3.05rem) !important;
    font-weight: 900;
    line-height: 1.08;
}

.site-corretor.broker-template-2 .broker-template-page-hero p,
.site-corretor.broker-template-3 .broker-template-page-hero p,
.site-corretor.broker-template-4 .broker-template-page-hero p,
.site-corretor.broker-template-5 .broker-template-page-hero p {
    font-size: 0.96rem;
    line-height: 1.62;
}

.site-corretor.broker-template-2 .broker-template-page-hero--editorial {
    padding: 6.9rem 0 3rem;
}

.site-corretor.broker-template-2 .broker-template-page-hero-panel {
    min-height: 142px;
}

.site-corretor.broker-template-3 .broker-template-page-hero--map {
    padding: 6.6rem 0 3rem;
}

.site-corretor.broker-template-3 .broker-template-page-hero--map h1 {
    max-width: 460px;
}

.site-corretor.broker-template-3 .broker-template-page-map-card {
    max-height: 275px;
}

.site-corretor.broker-template-4 .broker-template-page-hero--gallery {
    min-height: 340px;
    padding: 7rem 0 3rem;
}

.site-corretor.broker-template-4 .broker-template-page-hero--gallery .broker-template-page-hero-copy {
    max-width: 680px;
}

.site-corretor.broker-template-5 .broker-template-page-hero--catalog {
    padding: 6.4rem 0 2.1rem;
}

.site-corretor.broker-template-5 .broker-template-page-hero-catalog-card {
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
    padding: 1.1rem 1.25rem;
}

.site-corretor.broker-template-2 .broker-listing-hero,
.site-corretor.broker-template-3 .broker-listing-hero,
.site-corretor.broker-template-4 .broker-listing-hero,
.site-corretor.broker-template-5 .broker-listing-hero {
    min-height: auto;
}

.site-corretor.broker-template-2 .broker-listing-hero .tituloHeader,
.site-corretor.broker-template-3 .broker-listing-hero .tituloHeader,
.site-corretor.broker-template-4 .broker-listing-hero .tituloHeader,
.site-corretor.broker-template-5 .broker-listing-hero .tituloHeader {
    font-size: clamp(1.05rem, 1.45vw, 1.35rem) !important;
    line-height: 1.22;
}

.site-corretor[class*="broker-template-"].inner-pages.listing .property-list-card-row {
    align-items: stretch;
}

.site-corretor[class*="broker-template-"].inner-pages.listing .property-list-body {
    display: grid;
    gap: 0.7rem;
}

.site-corretor[class*="broker-template-"].inner-pages.listing .property-list-body h3 {
    font-size: 1.08rem;
    line-height: 1.25;
}

.site-corretor[class*="broker-template-"] .broker-section-heading h2,
.site-corretor[class*="broker-template-"] .broker-page-hero-content h1 {
    overflow-wrap: anywhere;
}

@media (max-width: 1199.98px) {
    .site-corretor.broker-template-2 .broker-modern-editorial-grid,
    .site-corretor.broker-template-3 .broker-modern-map-grid,
    .site-corretor.broker-template-5 .broker-modern-portal-head {
        grid-template-columns: 1fr;
    }

    .site-corretor.broker-template-2 .broker-modern-editorial .broker-modern-search-panel {
        max-width: 680px;
    }

    .site-corretor.broker-template-5 .broker-modern-portal-summary {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .site-corretor.broker-template-5 .broker-modern-portal-summary strong {
        align-self: center;
    }
}

@media (max-width: 991.98px) {
    .site-corretor.broker-template-2 .broker-modern-editorial,
    .site-corretor.broker-template-3 .broker-modern-map,
    .site-corretor.broker-template-4 .broker-modern-gallery,
    .site-corretor.broker-template-5 .broker-modern-portal {
        padding-top: 104px;
    }

    .site-corretor.broker-template-2 .broker-modern-editorial .broker-modern-copy h1,
    .site-corretor.broker-template-3 .broker-modern-map-search h1,
    .site-corretor.broker-template-4 .broker-modern-gallery-copy h1,
    .site-corretor.broker-template-5 .broker-modern-portal-head h1 {
        font-size: 2.45rem;
    }

    .site-corretor.broker-template-5 .broker-modern-portal-summary {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .site-corretor.broker-template-2 .broker-modern-editorial,
    .site-corretor.broker-template-3 .broker-modern-map,
    .site-corretor.broker-template-4 .broker-modern-gallery,
    .site-corretor.broker-template-5 .broker-modern-portal {
        min-height: auto;
        padding-bottom: 2.2rem;
    }

    .site-corretor.broker-template-2 .broker-modern-copy {
        border-left-width: 4px;
        padding-left: 1rem;
    }

    .site-corretor.broker-template-2 .broker-modern-editorial .broker-modern-copy h1,
    .site-corretor.broker-template-3 .broker-modern-map-search h1,
    .site-corretor.broker-template-4 .broker-modern-gallery-copy h1,
    .site-corretor.broker-template-5 .broker-modern-portal-head h1,
    .site-corretor.broker-template-2 .broker-template-page-hero h1,
    .site-corretor.broker-template-3 .broker-template-page-hero h1,
    .site-corretor.broker-template-4 .broker-template-page-hero h1,
    .site-corretor.broker-template-5 .broker-template-page-hero h1 {
        font-size: 1.9rem !important;
        line-height: 1.1;
    }

    .site-corretor.broker-template-3 .broker-modern-map-board {
        min-height: 285px;
    }

    .site-corretor.broker-template-4 .broker-modern-gallery-search {
        margin-top: 0;
        padding-top: 1rem;
    }

    .site-corretor.broker-template-4 .broker-modern-gallery-strip,
    .site-corretor.broker-template-5 .broker-modern-portal-tabs {
        display: grid;
        grid-template-columns: 1fr;
    }

    .site-corretor.broker-template-5 .broker-modern-portal-summary {
        display: none;
    }

    .site-corretor.broker-template-5 .broker-template-page-hero-catalog-card {
        grid-template-columns: 1fr;
    }

    .site-corretor[class*="broker-template-"].inner-pages.listing .property-list-media .swiper-slide {
        padding-top: 64%;
    }
}

@media (max-width: 575.98px) {
    .site-corretor .broker-modern-search-panel .rld-banner-tab {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .site-corretor .broker-modern-search-panel .rld-banner-tab .nav-link {
        min-height: 40px;
    }

    .site-corretor.broker-template-2 .broker-modern-editorial .broker-modern-actions,
    .site-corretor.broker-template-4 .broker-modern-gallery-copy .broker-modern-actions {
        grid-template-columns: 1fr;
    }

    .site-corretor.broker-template-2 .broker-modern-editorial .broker-modern-search-panel,
    .site-corretor.broker-template-3 .broker-modern-map-search,
    .site-corretor.broker-template-4 .broker-modern-gallery-search .broker-modern-search-panel,
    .site-corretor.broker-template-5 .broker-modern-portal .broker-modern-search-panel {
        padding: 0.78rem;
    }
}

/* QA pass: stable production grids for property cards and neighborhood blocks. */
.site-corretor.broker-template-2 .broker-modern-feature-grid,
.site-corretor.broker-template-4 .broker-modern-feature-grid,
.site-corretor.broker-template-5 .broker-modern-catalog-grid {
    align-items: stretch;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.site-corretor.broker-template-2 .broker-modern-feature-grid .agents-grid,
.site-corretor.broker-template-4 .broker-modern-feature-grid .agents-grid,
.site-corretor.broker-template-5 .broker-modern-catalog-grid .agents-grid {
    display: block !important;
}

.site-corretor.broker-template-2 .broker-modern-feature-grid .agents-grid:first-child,
.site-corretor.broker-template-4 .broker-modern-feature-grid .agents-grid:first-child {
    grid-row: auto !important;
}

.site-corretor.broker-template-2 .broker-modern-feature-grid .agents-grid:nth-child(n+4),
.site-corretor.broker-template-4 .broker-modern-feature-grid .agents-grid:nth-child(n+4),
.site-corretor.broker-template-5 .broker-modern-catalog-grid .agents-grid:nth-child(n+4) {
    display: none !important;
}

.site-corretor.broker-template-2 .broker-modern-section .agents-grid,
.site-corretor.broker-template-4 .broker-modern-section .agents-grid,
.site-corretor.broker-template-5 .broker-modern-section .agents-grid,
.site-corretor.broker-template-2 .broker-modern-section .landscapes,
.site-corretor.broker-template-4 .broker-modern-section .landscapes,
.site-corretor.broker-template-5 .broker-modern-section .landscapes,
.site-corretor.broker-template-2 .broker-modern-section .project-single,
.site-corretor.broker-template-4 .broker-modern-section .project-single,
.site-corretor.broker-template-5 .broker-modern-section .project-single {
    height: 100%;
    min-width: 0;
}

.site-corretor.broker-template-2 .broker-modern-section .project-single,
.site-corretor.broker-template-4 .broker-modern-section .project-single,
.site-corretor.broker-template-5 .broker-modern-section .project-single {
    display: flex;
    flex-direction: column;
}

.site-corretor.broker-template-2 .broker-modern-section .project-head,
.site-corretor.broker-template-4 .broker-modern-section .project-head,
.site-corretor.broker-template-5 .broker-modern-section .project-head {
    aspect-ratio: 4 / 3;
    background: #111827 !important;
    flex: 0 0 auto;
    overflow: hidden;
    position: relative;
}

.site-corretor.broker-template-2 .broker-modern-section .project-head .homes,
.site-corretor.broker-template-4 .broker-modern-section .project-head .homes,
.site-corretor.broker-template-5 .broker-modern-section .project-head .homes,
.site-corretor.broker-template-2 .broker-modern-section .project-head .swiper-container,
.site-corretor.broker-template-4 .broker-modern-section .project-head .swiper-container,
.site-corretor.broker-template-5 .broker-modern-section .project-head .swiper-container,
.site-corretor.broker-template-2 .broker-modern-section .project-head .swiper-wrapper,
.site-corretor.broker-template-4 .broker-modern-section .project-head .swiper-wrapper,
.site-corretor.broker-template-5 .broker-modern-section .project-head .swiper-wrapper {
    height: 100% !important;
}

.site-corretor.broker-template-2 .broker-modern-section .project-head .swiper-slide,
.site-corretor.broker-template-4 .broker-modern-section .project-head .swiper-slide,
.site-corretor.broker-template-5 .broker-modern-section .project-head .swiper-slide {
    height: 100% !important;
    padding-top: 0 !important;
}

.site-corretor.broker-template-2 .broker-modern-feature-grid .agents-grid:first-child .swiper-slide,
.site-corretor.broker-template-4 .broker-modern-feature-grid .agents-grid:first-child .swiper-slide {
    padding-top: 0 !important;
}

.site-corretor.broker-template-2 .broker-modern-section .project-head .swiper-slide img,
.site-corretor.broker-template-4 .broker-modern-section .project-head .swiper-slide img,
.site-corretor.broker-template-5 .broker-modern-section .project-head .swiper-slide img {
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    width: 100% !important;
}

.site-corretor.broker-template-2 .broker-modern-section .button-effect,
.site-corretor.broker-template-4 .broker-modern-section .button-effect,
.site-corretor.broker-template-5 .broker-modern-section .button-effect {
    bottom: 0.75rem;
    display: flex;
    gap: 0.45rem;
    left: 0.75rem;
    margin: 0 !important;
    position: absolute;
    z-index: 5;
}

.site-corretor.broker-template-2 .broker-modern-section .button-effect .btn,
.site-corretor.broker-template-4 .broker-modern-section .button-effect .btn,
.site-corretor.broker-template-5 .broker-modern-section .button-effect .btn {
    align-items: center;
    background: rgba(15, 23, 42, 0.84) !important;
    border: 0 !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.2);
    color: #fff !important;
    display: inline-flex;
    height: 42px;
    justify-content: center;
    margin: 0 !important;
    padding: 0 !important;
    width: 42px;
}

.site-corretor.broker-template-2 .broker-modern-section .homes-content,
.site-corretor.broker-template-4 .broker-modern-section .homes-content,
.site-corretor.broker-template-5 .broker-modern-section .homes-content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 245px;
}

.site-corretor.broker-template-2 .broker-modern-section .homes-content,
.site-corretor.broker-template-4 .broker-modern-section .homes-content {
    min-height: 210px;
}

.site-corretor.broker-template-2 .broker-modern-section .price-properties.footer,
.site-corretor.broker-template-4 .broker-modern-section .price-properties.footer,
.site-corretor.broker-template-5 .broker-modern-section .price-properties.footer {
    margin-top: auto;
}

.site-corretor.broker-template-2 .broker-modern-section .homes-list,
.site-corretor.broker-template-4 .broker-modern-section .homes-list,
.site-corretor.broker-template-5 .broker-modern-section .homes-list {
    align-content: start;
    min-height: 4.4rem;
}

.site-corretor.broker-template-2 .broker-modern-section .swiper-pagination,
.site-corretor.broker-template-4 .broker-modern-section .swiper-pagination,
.site-corretor.broker-template-5 .broker-modern-section .swiper-pagination {
    bottom: 0.7rem !important;
}

.site-corretor.broker-template-2 .broker-modern-section .swiper-pagination-bullet,
.site-corretor.broker-template-4 .broker-modern-section .swiper-pagination-bullet,
.site-corretor.broker-template-5 .broker-modern-section .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.86) !important;
    height: 8px;
    opacity: 0.72;
    width: 8px;
}

.site-corretor.broker-template-2 .broker-modern-section .swiper-pagination-bullet-active,
.site-corretor.broker-template-4 .broker-modern-section .swiper-pagination-bullet-active,
.site-corretor.broker-template-5 .broker-modern-section .swiper-pagination-bullet-active {
    opacity: 1;
}

/* Template 3: replace fake map mood with a practical region panel. */
.site-corretor.broker-template-3 .broker-modern-region-board {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(246, 248, 251, 0.94));
    border: 1px solid rgba(15, 23, 42, 0.09);
    box-shadow: var(--broker-modern-heavy-depth);
    color: var(--broker-layout-title);
    display: grid;
    gap: 1rem;
    min-height: auto;
    padding: 1.25rem;
}

.site-corretor.broker-template-3 .broker-modern-region-board::before,
.site-corretor.broker-template-3 .broker-modern-region-board .broker-modern-map-line,
.site-corretor.broker-template-3 .broker-modern-region-board .pin,
.site-corretor.broker-template-3 .broker-modern-region-board .broker-modern-map-caption {
    display: none !important;
}

.site-corretor.broker-template-3 .broker-modern-region-board strong {
    color: var(--broker-layout-title);
    font-size: clamp(1.45rem, 2.2vw, 2rem);
    font-weight: 900;
    line-height: 1.08;
}

.site-corretor.broker-template-3 .broker-modern-region-board ul {
    display: grid;
    gap: 0.65rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-corretor.broker-template-3 .broker-modern-region-board li {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-left: 4px solid var(--broker-layout-brand);
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 0.95rem;
}

.site-corretor.broker-template-3 .broker-modern-region-board b {
    color: var(--broker-layout-title);
    font-size: 0.95rem;
}

.site-corretor.broker-template-3 .broker-modern-region-board li span {
    color: var(--broker-layout-text);
    font-size: 0.78rem;
    font-weight: 800;
    opacity: 0.72;
    text-align: right;
}

/* Template 5: stronger portal hero. */
.site-corretor.broker-template-5 .broker-modern-portal {
    background-color: #111827;
    background-image:
        linear-gradient(90deg, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.74) 48%, rgba(15, 23, 42, 0.3)),
        var(--broker-template-hero-image);
    background-position: center;
    background-size: cover;
    border-bottom: 0;
}

.site-corretor.broker-template-5 .broker-modern-portal .broker-modern-eyebrow,
.site-corretor.broker-template-5 .broker-modern-portal-head h1,
.site-corretor.broker-template-5 .broker-modern-portal-head p {
    color: #fff;
}

.site-corretor.broker-template-5 .broker-modern-portal .broker-modern-eyebrow {
    color: var(--broker-layout-brand);
}

.site-corretor.broker-template-5 .broker-modern-portal-summary,
.site-corretor.broker-template-5 .broker-modern-portal .broker-modern-search-panel,
.site-corretor.broker-template-5 .broker-modern-portal-tabs a {
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.18);
}

.site-corretor.broker-template-5 .broker-modern-portal-tabs a {
    border-color: rgba(255, 255, 255, 0.18);
}

/* Home neighborhood blocks: align few items and avoid dumping dozens on the home. */
.site-corretor.broker-template-3 .broker-modern-neighborhood-grid,
.site-corretor.broker-template-5 .broker-modern-neighborhood-grid {
    align-items: stretch;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.site-corretor.broker-template-3 .broker-modern-neighborhood-grid > [class*="col-"],
.site-corretor.broker-template-5 .broker-modern-neighborhood-grid > [class*="col-"] {
    display: block;
}

.site-corretor.broker-template-3 .broker-modern-neighborhood-grid > [class*="col-"]:nth-child(n+9),
.site-corretor.broker-template-5 .broker-modern-neighborhood-grid > [class*="col-"]:nth-child(n+9) {
    display: none !important;
}

.site-corretor.broker-template-3 .broker-modern-neighborhood-grid .card,
.site-corretor.broker-template-5 .broker-modern-neighborhood-grid .card {
    height: 100%;
}

@media (max-width: 1199.98px) {
    .site-corretor.broker-template-2 .broker-modern-feature-grid,
    .site-corretor.broker-template-4 .broker-modern-feature-grid,
    .site-corretor.broker-template-5 .broker-modern-catalog-grid,
    .site-corretor.broker-template-3 .broker-modern-neighborhood-grid,
    .site-corretor.broker-template-5 .broker-modern-neighborhood-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 767.98px) {
    .site-corretor.broker-template-2 .broker-modern-feature-grid,
    .site-corretor.broker-template-4 .broker-modern-feature-grid,
    .site-corretor.broker-template-5 .broker-modern-catalog-grid,
    .site-corretor.broker-template-3 .broker-modern-neighborhood-grid,
    .site-corretor.broker-template-5 .broker-modern-neighborhood-grid {
        grid-template-columns: 1fr !important;
    }

    .site-corretor.broker-template-2 .broker-modern-section .homes-content,
    .site-corretor.broker-template-4 .broker-modern-section .homes-content,
    .site-corretor.broker-template-5 .broker-modern-section .homes-content {
        min-height: auto;
    }
}

/* Template 5 mobile QA: the production desktop grid is declared late, so keep the
   catalog stacked after all desktop rules have been applied. */
@media (max-width: 1199.98px) {
    .site-corretor.broker-template-5 .broker-modern-catalog-layout {
        grid-template-columns: 1fr !important;
    }

    .site-corretor.broker-template-5 .broker-modern-catalog-layout > main {
        min-width: 0;
        width: 100%;
    }

    .site-corretor.broker-template-5 .broker-modern-catalog-sidebar {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        position: static;
    }

    .site-corretor.broker-template-5 .broker-modern-catalog-sidebar h2 {
        grid-column: 1 / -1;
    }

    .site-corretor.broker-template-5 .broker-modern-catalog-sidebar a {
        justify-content: center;
        margin-top: 0;
        min-width: 0;
        text-align: center;
    }
}

@media (max-width: 767.98px) {
    .site-corretor.broker-template-5 .broker-modern-portal-catalog {
        padding-top: 2rem;
    }

    .site-corretor.broker-template-5 .broker-modern-catalog-sidebar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 0.95rem;
    }

    .site-corretor.broker-template-5 .broker-modern-catalog-sidebar h2 {
        font-size: 1.15rem;
    }

    .site-corretor.broker-template-5 .broker-modern-section-head {
        align-items: stretch;
        gap: 0.8rem;
    }

    .site-corretor.broker-template-5 .broker-modern-section-head > a {
        align-self: flex-start;
    }
}

/* Cross-template QA pass: small spacing fixes that prevent fixed headers,
   long text and late media loads from making the layouts feel broken. */
.site-corretor[class*="broker-template-"] #top10ImoveisVenda,
.site-corretor[class*="broker-template-"] #top10ImoveisAluguel,
.site-corretor[class*="broker-template-"] #guiaBairros,
.site-corretor[class*="broker-template-"] .broker-modern-section,
.site-corretor[class*="broker-template-"].inner-pages.listing #imovel-content,
.site-corretor[class*="broker-template-"].sin-1 .property-detail-summary-card {
    scroll-margin-top: 112px;
}

.site-corretor[class*="broker-template-"].inner-pages.listing .property-list-media,
.site-corretor[class*="broker-template-"].inner-pages.listing .property-list-media .homes,
.site-corretor[class*="broker-template-"].inner-pages.listing .property-list-media .swiper-container {
    background: #111827;
    overflow: hidden;
}

.site-corretor[class*="broker-template-"].inner-pages.listing .property-list-media .swiper-slide img {
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    width: 100% !important;
}

@media (max-width: 991.98px) {
    .site-corretor.broker-template-5 .broker-modern-portal-summary {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .site-corretor[class*="broker-template-"] #top10ImoveisVenda,
    .site-corretor[class*="broker-template-"] #top10ImoveisAluguel,
    .site-corretor[class*="broker-template-"] #guiaBairros,
    .site-corretor[class*="broker-template-"] .broker-modern-section,
    .site-corretor[class*="broker-template-"].inner-pages.listing #imovel-content,
    .site-corretor[class*="broker-template-"].sin-1 .property-detail-summary-card {
        scroll-margin-top: 92px;
    }

    .site-corretor.broker-template-2.sin-1 .property-detail-summary {
        display: block !important;
    }

    .site-corretor.broker-template-2.sin-1 .property-detail-summary-card {
        overflow: visible;
        padding: 0.95rem !important;
    }

    .site-corretor.broker-template-2.sin-1 .property-detail-copy,
    .site-corretor.broker-template-2.sin-1 .property-detail-price-panel {
        min-width: 0;
        width: 100%;
    }

    .site-corretor.broker-template-2.sin-1 .property-detail-price-panel {
        margin-top: 1rem;
    }

    .site-corretor.broker-template-2.sin-1 .property-detail-summary h3 {
        font-size: 1.55rem !important;
        line-height: 1.12;
        overflow-wrap: anywhere;
    }

    .site-corretor.broker-template-2.sin-1 .property-detail-address {
        align-items: flex-start;
        line-height: 1.35;
    }

    .site-corretor[class*="broker-template-"].inner-pages.listing .property-list-card {
        overflow: hidden;
    }
}

/* Final production QA: template 2-5 only. */
.site-corretor[class*="broker-template-"] #navigation.style-1.head-tr ul li a.active {
    color: var(--broker-layout-brand) !important;
}

.site-corretor[class*="broker-template-"] #navigation.style-1.head-tr ul li a.active::after {
    background: var(--broker-layout-brand);
    border-radius: 999px;
    content: "";
    display: block;
    height: 3px;
    margin-top: 0.35rem;
    width: 100%;
}

.site-corretor[class*="broker-template-"] .broker-detail-media-stage::after {
    display: none !important;
}

.site-corretor[class*="broker-template-"] .swiper-pagination {
    align-items: center;
    display: flex;
    gap: 6px;
    justify-content: center;
    left: 50% !important;
    max-width: 132px;
    overflow: hidden;
    transform: translateX(-50%);
    white-space: nowrap;
}

.site-corretor[class*="broker-template-"] .swiper-pagination .swiper-pagination-bullet {
    flex: 0 0 8px;
    height: 8px;
    margin: 0 !important;
    padding: 0 !important;
    width: 8px;
}

.site-corretor[class*="broker-template-"] .swiper-pagination .swiper-pagination-bullet:nth-child(n+10) {
    display: none !important;
}

.site-corretor[class*="broker-template-"].inner-pages.listing .property-list-card-row {
    align-items: stretch;
    min-height: 0 !important;
}

.site-corretor[class*="broker-template-"].inner-pages.listing .property-list-media {
    align-self: stretch;
    background: #eef2f7 !important;
    min-height: 258px;
    overflow: hidden;
    position: relative;
}

.site-corretor[class*="broker-template-"].inner-pages.listing .property-list-media .project-single,
.site-corretor[class*="broker-template-"].inner-pages.listing .property-list-media .project-inner,
.site-corretor[class*="broker-template-"].inner-pages.listing .property-list-media .project-head,
.site-corretor[class*="broker-template-"].inner-pages.listing .property-list-media .homes,
.site-corretor[class*="broker-template-"].inner-pages.listing .property-list-media .swiper-container,
.site-corretor[class*="broker-template-"].inner-pages.listing .property-list-media .swiper-wrapper,
.site-corretor[class*="broker-template-"].inner-pages.listing .property-list-media .swiper-slide,
.site-corretor[class*="broker-template-"].inner-pages.listing .property-list-media .swiper-slide a,
.site-corretor[class*="broker-template-"].inner-pages.listing .property-list-media .swiper-slide img {
    height: 100% !important;
    min-height: 0 !important;
}

.site-corretor[class*="broker-template-"].inner-pages.listing .property-list-media .project-head {
    background: #eef2f7 !important;
    overflow: hidden;
    position: relative;
}

.site-corretor[class*="broker-template-"].inner-pages.listing .property-list-media .homes,
.site-corretor[class*="broker-template-"].inner-pages.listing .property-list-media .swiper-container,
.site-corretor[class*="broker-template-"].inner-pages.listing .property-list-media .swiper-wrapper,
.site-corretor[class*="broker-template-"].inner-pages.listing .property-list-media .swiper-slide {
    background: #eef2f7 !important;
}

.site-corretor[class*="broker-template-"].inner-pages.listing .property-list-media .swiper-slide {
    align-items: stretch;
    padding-top: 0 !important;
    width: 100% !important;
}

.site-corretor[class*="broker-template-"].inner-pages.listing .property-list-media .swiper-slide a {
    display: block;
    width: 100%;
}

.site-corretor[class*="broker-template-"].inner-pages.listing .property-list-media .swiper-slide img {
    display: block;
    object-fit: cover !important;
    object-position: center center !important;
    width: 100% !important;
}

.site-corretor[class*="broker-template-"] .project-head.is-empty-media,
.site-corretor[class*="broker-template-"] .project-head.is-empty-media .homes,
.site-corretor[class*="broker-template-"] .project-head.is-empty-media .swiper-container,
.site-corretor[class*="broker-template-"] .project-head.is-empty-media .swiper-wrapper,
.site-corretor[class*="broker-template-"] .project-head.is-empty-media .swiper-slide {
    background: #eef2f7 !important;
}

.site-corretor[class*="broker-template-"] .broker-listing-empty-media a {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0)),
        linear-gradient(135deg, #f8fafc 0%, #e8eef6 100%) !important;
    display: block;
    height: 100%;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.site-corretor[class*="broker-template-"] .broker-listing-empty-media a::before {
    background: rgba(255, 255, 255, 0.56);
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 10px;
    content: "";
    inset: clamp(1rem, 7vw, 2.35rem);
    position: absolute;
}

.site-corretor[class*="broker-template-"] .broker-listing-empty-media a::after {
    border: 2px solid rgba(100, 116, 139, 0.26);
    border-radius: 8px;
    box-shadow: inset 0 -12px 0 rgba(148, 163, 184, 0.12);
    content: "";
    height: 42px;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 58px;
}

.site-corretor[class*="broker-template-"].inner-pages.listing .property-list-media .button-effect {
    bottom: 0.72rem;
    display: flex;
    gap: 0.45rem;
    left: 0.72rem;
    margin: 0 !important;
    position: absolute;
    z-index: 7;
}

.site-corretor[class*="broker-template-"].inner-pages.listing .property-list-media .button-effect:empty {
    display: none;
}

.site-corretor[class*="broker-template-"].inner-pages.listing .property-list-media .button-effect .btn {
    align-items: center;
    background: rgba(15, 23, 42, 0.86) !important;
    border: 0 !important;
    border-radius: 8px !important;
    color: #fff !important;
    display: inline-flex;
    height: 40px;
    justify-content: center;
    margin: 0 !important;
    padding: 0 !important;
    width: 40px;
}

.site-corretor.broker-template-3.inner-pages.listing .property-list-media,
.site-corretor.broker-template-5.inner-pages.listing .property-list-media {
    height: clamp(232px, 23vw, 292px);
}

.site-corretor.broker-template-4.inner-pages.listing .property-list-card-row {
    grid-template-columns: minmax(300px, 0.42fr) minmax(0, 0.58fr) !important;
}

.site-corretor.broker-template-4.inner-pages.listing .property-list-card:nth-child(even) .property-list-media,
.site-corretor.broker-template-4.inner-pages.listing .property-list-card:nth-child(even) .property-list-body {
    order: initial !important;
}

.site-corretor.broker-template-4.inner-pages.listing .property-list-body {
    justify-content: flex-start !important;
    padding: 1.35rem !important;
}

.site-corretor[class*="broker-template-"].inner-pages.listing .widget-boxed.main-search-field {
    padding: 0.85rem !important;
}

.site-corretor[class*="broker-template-"].inner-pages.listing .widget-boxed-header h4 {
    font-size: 0.98rem !important;
    margin-bottom: 0.65rem !important;
}

.site-corretor[class*="broker-template-"].inner-pages.listing .main-search-field-2 {
    margin-top: 0.65rem !important;
    padding-top: 0.65rem !important;
}

.site-corretor[class*="broker-template-"].inner-pages.listing .main-search-field-2 label {
    margin-bottom: 0.45rem !important;
}

.site-corretor[class*="broker-template-"].inner-pages.listing .form-control,
.site-corretor[class*="broker-template-"].inner-pages.listing .select2-container--default .select2-selection--single,
.site-corretor[class*="broker-template-"].inner-pages.listing .typeahead {
    min-height: 40px !important;
}

.site-corretor[class*="broker-template-"].inner-pages.listing .btn.btn-boxes {
    font-size: 0.84rem !important;
    min-height: 36px;
    padding: 0.42rem 0.5rem !important;
}

.site-corretor[class*="broker-template-"].inner-pages.listing #btnBuscar {
    min-height: 40px;
    padding: 0.58rem 0.85rem !important;
}

.site-corretor[class*="broker-template-"].inner-pages.listing .listing-results-toolbar {
    padding: 0.55rem !important;
}

.site-corretor[class*="broker-template-"].inner-pages.listing .listing-intent-tabs .nav-link {
    min-height: 38px !important;
    padding: 0.55rem 0.75rem !important;
}

.site-corretor.broker-template-3.inner-pages.listing #listingFilters.is-open,
.site-corretor.broker-template-4.inner-pages.listing .listing-filter-content.is-open {
    align-items: end;
    gap: 0.7rem !important;
}

.site-corretor.broker-template-3.inner-pages.listing #listingFilters.is-open .col-lg-12,
.site-corretor.broker-template-4.inner-pages.listing .listing-filter-content.is-open .col-lg-12 {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.site-corretor[class*="broker-template-"].sin-1 .property-detail-price-panel {
    background: #fff !important;
    border: 1px solid rgba(148, 163, 184, 0.34) !important;
    border-left: 0 !important;
    border-top: 4px solid var(--broker-layout-brand) !important;
    box-shadow: none !important;
    gap: 0.62rem !important;
    padding: clamp(0.85rem, 1.5vw, 1.08rem) !important;
}

.site-corretor[class*="broker-template-"].sin-1 .property-detail-summary-card {
    padding: clamp(0.95rem, 1.8vw, 1.35rem) !important;
}

.site-corretor[class*="broker-template-"].sin-1 .property-detail-summary {
    gap: clamp(0.8rem, 1.4vw, 1.15rem) !important;
}

.site-corretor[class*="broker-template-"].sin-1 .property-detail-summary h3 {
    line-height: 1.16 !important;
    margin-bottom: 0.42rem !important;
}

.site-corretor[class*="broker-template-"].sin-1 .property-detail-price-item strong {
    color: var(--broker-layout-title) !important;
}

.site-corretor[class*="broker-template-"].sin-1 .property-detail-costs {
    background: #f8fafc;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 8px;
    padding: 0.62rem 0.72rem !important;
}

.site-corretor[class*="broker-template-"].sin-1 .property-detail-costs span {
    color: var(--broker-layout-text, #42526b) !important;
}

.site-corretor[class*="broker-template-"].sin-1 .property-detail-costs b {
    color: var(--broker-layout-title, #1f2937) !important;
    font-weight: 850 !important;
}

.site-corretor[class*="broker-template-"].broker-page .broker-section-heading {
    display: block !important;
    max-width: 780px;
}

.site-corretor[class*="broker-template-"].broker-page .broker-section-heading span {
    margin-bottom: 0 !important;
}

.site-corretor[class*="broker-template-"].broker-page .broker-section-heading h2 {
    font-size: clamp(1.55rem, 2.2vw, 2.05rem) !important;
    max-width: 740px;
}

.site-corretor[class*="broker-template-"].broker-page .broker-section-heading p {
    margin-top: 0.45rem;
    max-width: 740px;
}

.site-corretor[class*="broker-template-"].broker-page .broker-contact-page,
.site-corretor[class*="broker-template-"].broker-page .broker-content-page,
.site-corretor[class*="broker-template-"].broker-page .broker-neighborhood-guide {
    overflow: visible;
    padding-bottom: clamp(3.25rem, 5.5vw, 5rem) !important;
    position: relative;
}

.site-corretor[class*="broker-template-"].broker-page .broker-contact-page > .container,
.site-corretor[class*="broker-template-"].broker-page .broker-content-page > .container,
.site-corretor[class*="broker-template-"].broker-page .broker-neighborhood-guide > .container {
    position: relative;
    z-index: 1;
}

.site-corretor[class*="broker-template-"] .first-footer {
    clear: both;
    margin-top: 0 !important;
    position: relative;
    z-index: 0;
}

.site-corretor[class*="broker-template-"] .first-footer .top-footer {
    background: #111827 !important;
}

.site-corretor[class*="broker-template-"] .first-footer h3 {
    color: #fff !important;
}

.site-corretor[class*="broker-template-"] .first-footer p,
.site-corretor[class*="broker-template-"] .first-footer a,
.site-corretor[class*="broker-template-"] .first-footer .in-p {
    color: #dbe4ef !important;
}

.site-corretor[class*="broker-template-"] .first-footer .info i {
    color: #fff !important;
}

.site-corretor[class*="broker-template-"] .first-footer input[type="email"] {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #fff !important;
}

.site-corretor[class*="broker-template-"] .first-footer input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.72) !important;
}

.site-corretor[class*="broker-template-"].broker-announce-page .broker-contact-row {
    align-items: flex-start;
    display: grid !important;
    gap: 1.65rem;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.site-corretor[class*="broker-template-"].broker-announce-page .broker-form-column,
.site-corretor[class*="broker-template-"].broker-announce-page .broker-contact-column {
    flex: none !important;
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: auto !important;
}

.site-corretor[class*="broker-template-"].broker-announce-page .broker-form-card {
    align-self: start;
    height: auto !important;
    min-height: 0 !important;
}

@media (max-width: 1199.98px) {
    .site-corretor[class*="broker-template-"].inner-pages.listing .property-list-media {
        min-height: 204px !important;
    }

    .site-corretor.broker-template-4.inner-pages.listing .property-list-card-row {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 991.98px) {
    .site-corretor[class*="broker-template-"].broker-page .broker-section-heading h2,
    .site-corretor[class*="broker-template-"].broker-page .broker-section-heading p {
        max-width: none;
    }

    .site-corretor[class*="broker-template-"].broker-announce-page .broker-contact-row {
        display: block !important;
    }

    .site-corretor[class*="broker-template-"].broker-announce-page .broker-contact-column {
        margin-top: 1rem !important;
    }
}

@media (max-width: 767.98px) {
    .site-corretor[class*="broker-template-"].inner-pages.listing .property-list-media,
    .site-corretor.broker-template-3.inner-pages.listing .property-list-media,
    .site-corretor.broker-template-5.inner-pages.listing .property-list-media {
        height: 226px;
        min-height: 226px;
    }

    .site-corretor[class*="broker-template-"].inner-pages.listing .property-list-body {
        min-height: 0 !important;
    }

    .site-corretor[class*="broker-template-"].inner-pages.listing .listing-filter-content.is-open,
    .site-corretor.broker-template-3.inner-pages.listing #listingFilters.is-open,
    .site-corretor.broker-template-4.inner-pages.listing .listing-filter-content.is-open {
        grid-template-columns: 1fr !important;
    }

    .site-corretor[class*="broker-template-"] #navigation.style-1.head-tr ul li a.active::after {
        display: none;
    }
}

.site-corretor[class*="broker-template-"] .project-head,
.site-corretor[class*="broker-template-"] .project-head .homes,
.site-corretor[class*="broker-template-"] .project-head .swiper-container,
.site-corretor[class*="broker-template-"] .project-head .swiper-wrapper,
.site-corretor[class*="broker-template-"] .project-head .swiper-slide,
.site-corretor[class*="broker-template-"] .project-head .swiper-slide a,
.site-corretor[class*="broker-template-"] .project-head .swiper-slide img {
    background-color: #eef2f7 !important;
}

/* Production layout reset: professional listing cards, compact filters and stable active navigation. */
.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8) #navigation.style-1.head-tr ul li.active > a,
.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8) #navigation.style-1.head-tr ul li > a.active {
    color: var(--broker-layout-brand) !important;
    font-weight: 900;
}

.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8) .broker-listing-hero {
    align-items: center !important;
    background: #fff !important;
    background-image: none !important;
    border: 1px solid rgba(148, 163, 184, 0.22) !important;
    border-left: 4px solid var(--broker-layout-brand) !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.045) !important;
    display: flex !important;
    justify-content: space-between !important;
    margin: 0 0 0.95rem !important;
    min-height: 0 !important;
    padding: 0.8rem 1rem !important;
}

.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8) .broker-listing-hero-copy > span {
    color: var(--broker-layout-brand) !important;
    font-size: 0.72rem !important;
    margin: 0 !important;
}

.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8) .broker-listing-hero .tituloHeader {
    color: var(--broker-layout-title) !important;
    font-size: 0.96rem !important;
    line-height: 1.35 !important;
    margin: 0.25rem 0 0 !important;
}

.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8) .broker-listing-hero-actions {
    display: none !important;
}

.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .properties-right.list {
    background: #f4f7fb !important;
    padding-top: clamp(1rem, 2.4vw, 2rem) !important;
}

.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing #imovel-content {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.85rem !important;
    height: auto !important;
}

.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing #imovel-content .property-list-card {
    flex: 0 0 100% !important;
    margin: 0 !important;
    max-width: 100% !important;
    padding: 0 !important;
    position: static !important;
    transform: none !important;
    width: 100% !important;
}

.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .property-list-card-row {
    align-items: stretch !important;
    background: #fff !important;
    border: 1px solid rgba(148, 163, 184, 0.24) !important;
    border-radius: 8px !important;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.055) !important;
    display: grid !important;
    gap: 0 !important;
    grid-template-columns: minmax(260px, 34%) minmax(0, 1fr) !important;
    margin: 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
}

.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .property-list-card-row > [class*="col-"] {
    flex: none !important;
    max-width: none !important;
    padding: 0 !important;
    width: auto !important;
}

.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .property-list-media {
    align-self: stretch !important;
    background: #eef2f7 !important;
    height: auto !important;
    min-height: 204px !important;
    overflow: hidden !important;
    position: relative !important;
}

.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .property-list-media .project-single,
.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .property-list-media .project-inner,
.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .property-list-media .project-head,
.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .property-list-media .homes,
.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .property-list-media .swiper-container,
.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .property-list-media .swiper-wrapper,
.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .property-list-media .swiper-slide,
.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .property-list-media .swiper-slide a,
.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .property-list-media .swiper-slide img {
    height: 100% !important;
    min-height: 0 !important;
}

.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .property-list-media .swiper-slide {
    padding-top: 0 !important;
}

.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .property-list-media .swiper-slide img {
    object-fit: cover !important;
    object-position: center center !important;
}

.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .property-list-body.homes-content {
    align-content: start !important;
    align-self: stretch !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.62rem !important;
    height: 100% !important;
    justify-content: flex-start !important;
    min-height: 0 !important;
    padding: 1rem 1.15rem !important;
}

.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .property-list-body.homes-content h3 {
    font-size: clamp(1.12rem, 1.4vw, 1.32rem) !important;
    line-height: 1.18 !important;
    margin: 0 !important;
}

.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .property-list-body .homes-address {
    margin: 0 !important;
}

.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .property-list-body .homes-address a {
    align-items: flex-start;
    display: flex;
    gap: 0.5rem;
    line-height: 1.35;
}

.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .property-list-body .homes-list {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.38rem 0.85rem !important;
    grid-template-columns: none !important;
    margin: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
}

.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .property-list-body .homes-list li {
    align-items: center;
    display: inline-flex !important;
    font-size: 0.92rem !important;
    gap: 0.28rem;
    line-height: 1.2;
    margin: 0 !important;
    width: auto !important;
}

.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .property-list-body .price-properties.footer {
    align-items: center !important;
    border-top: 1px solid rgba(148, 163, 184, 0.22) !important;
    display: flex !important;
    justify-content: space-between !important;
    margin-top: auto !important;
    padding-top: 0.75rem !important;
}

.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .property-list-body .price-properties.footer .title {
    font-size: clamp(1.08rem, 1.25vw, 1.28rem) !important;
    line-height: 1.15 !important;
    margin: 0 !important;
}

.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .property-list-body .compare {
    align-items: center !important;
    display: flex !important;
    flex: 0 0 auto;
    gap: 0.55rem;
}

.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .property-list-media .button-effect,
.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8) .broker-modern-section .button-effect {
    background: transparent !important;
    bottom: 0.6rem !important;
    display: inline-flex !important;
    gap: 0.4rem !important;
    height: auto !important;
    left: 0.6rem !important;
    margin: 0 !important;
    opacity: 1 !important;
    padding: 0 !important;
    position: absolute !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
    transition: none !important;
    visibility: visible !important;
    width: auto !important;
    z-index: 8 !important;
}

.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8) .broker-modern-section .project-head {
    overflow: hidden !important;
    position: relative !important;
}

.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .property-list-media .button-effect:empty,
.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8) .broker-modern-section .button-effect:empty {
    display: none !important;
}

.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .property-list-media .button-effect .btn,
.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8) .broker-modern-section .button-effect .btn {
    align-items: center !important;
    border: 0 !important;
    border-radius: 8px !important;
    display: inline-flex !important;
    flex: 0 0 36px !important;
    height: 36px !important;
    justify-content: center !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 36px !important;
}

.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8) #top10ImoveisVenda .project-single,
.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8) #top10ImoveisAluguel .project-single {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    min-height: 0 !important;
}

.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8) #top10ImoveisVenda .agents-grid,
.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8) #top10ImoveisAluguel .agents-grid,
.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing #imovel-content .property-list-card {
    opacity: 1 !important;
    transform: none !important;
}

.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8) #top10ImoveisVenda .homes-content,
.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8) #top10ImoveisAluguel .homes-content {
    display: flex !important;
    flex: 0 0 auto !important;
    flex-direction: column !important;
    gap: 0.5rem !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 1rem 1.1rem !important;
}

.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8) #top10ImoveisVenda .homes-list,
.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8) #top10ImoveisAluguel .homes-list {
    align-content: start !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.42rem 0.8rem !important;
    margin: 0 !important;
    min-height: 0 !important;
    padding-bottom: 0.55rem !important;
}

.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8) #top10ImoveisVenda .price-properties.footer,
.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8) #top10ImoveisAluguel .price-properties.footer {
    margin-top: 0.35rem !important;
    padding-top: 0.75rem !important;
}

.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8) #top10ImoveisVenda .landscapes,
.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8) #top10ImoveisAluguel .landscapes {
    height: auto !important;
    min-height: 0 !important;
}

.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8) #top10ImoveisVenda .project-head,
.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8) #top10ImoveisAluguel .project-head {
    margin: 0 !important;
}

.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8) #top10ImoveisVenda .homes-content,
.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8) #top10ImoveisAluguel .homes-content {
    gap: 0.32rem !important;
    padding: 0.72rem 0.9rem 0.78rem !important;
}

.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8) #top10ImoveisVenda .homes-content h3,
.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8) #top10ImoveisAluguel .homes-content h3 {
    font-size: 0.98rem !important;
    line-height: 1.18 !important;
    margin: 0 !important;
}

.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8) #top10ImoveisVenda .homes-address,
.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8) #top10ImoveisAluguel .homes-address {
    line-height: 1.25 !important;
    margin: 0 !important;
}

.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8) #top10ImoveisVenda .homes-address a,
.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8) #top10ImoveisAluguel .homes-address a {
    align-items: flex-start !important;
    display: flex !important;
    gap: 0.35rem !important;
    line-height: 1.25 !important;
}

.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8) #top10ImoveisVenda .homes-list,
.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8) #top10ImoveisAluguel .homes-list {
    gap: 0.28rem 0.64rem !important;
    margin: 0.12rem 0 0 !important;
    padding: 0 !important;
}

.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8) #top10ImoveisVenda .homes-list li,
.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8) #top10ImoveisAluguel .homes-list li {
    align-items: center !important;
    display: inline-flex !important;
    font-size: 0.9rem !important;
    gap: 0.26rem !important;
    line-height: 1.18 !important;
    margin: 0 !important;
}

.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8) #top10ImoveisVenda .price-properties.footer,
.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8) #top10ImoveisAluguel .price-properties.footer {
    margin: 0.38rem 0 0 !important;
    min-height: 0 !important;
    padding: 0.55rem 0 0 !important;
}

.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8) #top10ImoveisVenda .price-properties.footer .title,
.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8) #top10ImoveisAluguel .price-properties.footer .title {
    font-size: 1.02rem !important;
    line-height: 1.15 !important;
    margin: 0 !important;
}

.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8) #top10ImoveisVenda .price-properties.footer .compare,
.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8) #top10ImoveisAluguel .price-properties.footer .compare {
    align-items: center !important;
    display: flex !important;
    gap: 0.52rem !important;
}

.site-corretor:is(.broker-template-2, .broker-template-4, .broker-template-5) #top10ImoveisVenda .landscapes,
.site-corretor:is(.broker-template-2, .broker-template-4, .broker-template-5) #top10ImoveisAluguel .landscapes {
    border-bottom: 0 !important;
    height: auto !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.site-corretor:is(.broker-template-2, .broker-template-4, .broker-template-5) .broker-modern-feature-grid,
.site-corretor:is(.broker-template-2, .broker-template-4, .broker-template-5) .broker-modern-catalog-grid {
    align-items: start !important;
}

.site-corretor:is(.broker-template-2, .broker-template-4, .broker-template-5) #top10ImoveisVenda .agents-grid,
.site-corretor:is(.broker-template-2, .broker-template-4, .broker-template-5) #top10ImoveisAluguel .agents-grid {
    height: auto !important;
}

.site-corretor:is(.broker-template-2, .broker-template-4, .broker-template-5) #top10ImoveisVenda .project-single,
.site-corretor:is(.broker-template-2, .broker-template-4, .broker-template-5) #top10ImoveisAluguel .project-single {
    margin-bottom: 0 !important;
    overflow: hidden !important;
}

.site-corretor:is(.broker-template-2, .broker-template-4, .broker-template-5) #top10ImoveisVenda .project-head,
.site-corretor:is(.broker-template-2, .broker-template-4, .broker-template-5) #top10ImoveisAluguel .project-head,
.site-corretor:is(.broker-template-2, .broker-template-4, .broker-template-5) #top10ImoveisVenda .project-head .homes,
.site-corretor:is(.broker-template-2, .broker-template-4, .broker-template-5) #top10ImoveisAluguel .project-head .homes {
    border-bottom: 0 !important;
    margin-bottom: 0 !important;
}

.site-corretor:is(.broker-template-2, .broker-template-4, .broker-template-5) #top10ImoveisVenda .homes-content,
.site-corretor:is(.broker-template-2, .broker-template-4, .broker-template-5) #top10ImoveisAluguel .homes-content {
    border-top: 1px solid rgba(226, 232, 240, 0.9) !important;
    margin-top: 0 !important;
    padding-bottom: 0.34rem !important;
    padding-top: 0.44rem !important;
}

.site-corretor:is(.broker-template-2, .broker-template-4, .broker-template-5) #top10ImoveisVenda .price-properties.footer,
.site-corretor:is(.broker-template-2, .broker-template-4, .broker-template-5) #top10ImoveisAluguel .price-properties.footer {
    margin-top: 0.18rem !important;
    padding-top: 0.42rem !important;
}

.site-corretor.broker-template-3 .broker-modern-list-grid {
    align-items: start !important;
}

.site-corretor.broker-template-3 .broker-modern-list-grid .agents-grid,
.site-corretor.broker-template-3 .broker-modern-list-grid .landscapes {
    height: auto !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.site-corretor.broker-template-3 .broker-modern-list-grid .project-single {
    margin-bottom: 0 !important;
    overflow: hidden !important;
}

.site-corretor.broker-template-3 .broker-modern-list-grid .project-head,
.site-corretor.broker-template-3 .broker-modern-list-grid .project-head .homes {
    border-bottom: 0 !important;
    margin-bottom: 0 !important;
}

.site-corretor.broker-template-3 .broker-modern-list-grid .homes-content {
    border-top: 1px solid rgba(226, 232, 240, 0.9) !important;
    margin-top: 0 !important;
    padding-bottom: 0.34rem !important;
    padding-top: 0.44rem !important;
}

.site-corretor.broker-template-3 .broker-modern-list-grid .price-properties.footer {
    margin-top: 0.18rem !important;
    padding-top: 0.42rem !important;
}

.site-corretor.broker-template-3 #top10ImoveisVenda.broker-modern-list-grid .homes-content,
.site-corretor.broker-template-3 #top10ImoveisAluguel.broker-modern-list-grid .homes-content {
    padding: 0.44rem 0.9rem 0.34rem !important;
}

.site-corretor.broker-template-3 #top10ImoveisVenda.broker-modern-list-grid .price-properties.footer,
.site-corretor.broker-template-3 #top10ImoveisAluguel.broker-modern-list-grid .price-properties.footer {
    margin-top: 0.18rem !important;
    padding-top: 0.42rem !important;
}

.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8) #top10ImoveisAluguel.broker-home-grid-empty,
.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8) .broker-modern-section-head.broker-home-grid-empty,
.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8) .broker-home-rent-empty {
    display: none !important;
}

.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8) .broker-modern-results-columns.broker-home-rent-empty,
.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8) .broker-modern-split-grid.broker-home-rent-empty {
    grid-template-columns: 1fr !important;
}

.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .widget-boxed.main-search-field {
    border: 1px solid rgba(148, 163, 184, 0.24) !important;
    border-top: 3px solid var(--broker-layout-brand) !important;
    border-radius: 8px !important;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.045) !important;
    padding: 0.9rem !important;
}

.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .widget-boxed-header {
    border-bottom: 1px solid rgba(148, 163, 184, 0.18) !important;
    margin-bottom: 0.75rem !important;
    padding-bottom: 0.7rem !important;
}

.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .widget-boxed-header h4 {
    font-size: 1rem !important;
    line-height: 1.2 !important;
    margin: 0 !important;
}

.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .listing-filter-content.is-open {
    display: grid !important;
    gap: 0.7rem !important;
    grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)) !important;
    padding-top: 0 !important;
}

.site-corretor.broker-template-4.inner-pages.listing .listing-filter-content.is-open {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.site-corretor.broker-template-3.inner-pages.listing .listing-filter-content.is-open {
    align-items: end !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.site-corretor.broker-template-3.inner-pages.listing .listing-filter-content.is-open .col-lg-12 {
    align-self: end !important;
    grid-column: auto !important;
}

.site-corretor.broker-template-4.inner-pages.listing .listing-filter-content.is-open .col-lg-12 {
    align-self: end !important;
    grid-column: auto !important;
}

.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .main-search-field-2 {
    border-top: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .main-search-field-2 label {
    color: #334155 !important;
    font-size: 0.76rem !important;
    line-height: 1.2;
    margin-bottom: 0.38rem !important;
}

.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .form-control,
.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .select2-container--default .select2-selection--single,
.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .typeahead {
    border-radius: 8px !important;
    font-size: 0.9rem !important;
    min-height: 38px !important;
}

.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .btn-group.rdBusca {
    display: grid !important;
    gap: 0.35rem !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    width: 100% !important;
}

.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .widget-boxed .btn.btn-boxes {
    align-items: center !important;
    background: #fff !important;
    border: 1px solid rgba(148, 163, 184, 0.38) !important;
    border-radius: 999px !important;
    color: #334155 !important;
    display: inline-flex !important;
    font-size: 0.82rem !important;
    font-weight: 800 !important;
    justify-content: center !important;
    min-height: 32px !important;
    padding: 0.25rem 0.45rem !important;
}

.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .widget-boxed .btn.btn-boxes.active,
.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .widget-boxed .btn.btn-boxes:hover {
    background: var(--broker-layout-brand) !important;
    border-color: var(--broker-layout-brand) !important;
    color: var(--broker-layout-button-text) !important;
}

.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing #btnBuscar {
    border-radius: 8px !important;
    font-size: 0.86rem !important;
    font-weight: 900 !important;
    letter-spacing: 0 !important;
    min-height: 38px !important;
    padding: 0.5rem 0.75rem !important;
    text-transform: none !important;
}

.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .listing-results-toolbar {
    border-radius: 8px !important;
    gap: 0.55rem !important;
    margin-bottom: 0.8rem !important;
    padding: 0.42rem !important;
}

.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .listing-intent-tabs .nav-link {
    border-radius: 8px !important;
    font-size: 0.9rem !important;
    min-height: 36px !important;
    padding: 0.42rem 0.72rem !important;
}

.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .listing-sort-control {
    border-radius: 8px !important;
    min-height: 36px !important;
    padding: 0.22rem 0.28rem 0.22rem 0.55rem !important;
}

.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .listing-sort-control label {
    font-size: 0.82rem !important;
}

.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .listing-sort-control .sortby {
    font-size: 0.86rem !important;
    height: 32px !important;
    min-height: 32px !important;
    min-width: 150px !important;
}

@media (max-width: 991.98px) {
    .site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .property-list-card-row {
        grid-template-columns: 1fr !important;
    }

    .site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .property-list-media {
        aspect-ratio: 16 / 10;
        min-height: 0 !important;
    }
}

@media (max-width: 575.98px) {
    .site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .property-list-body.homes-content {
        gap: 0.48rem !important;
        padding: 0.85rem 0.95rem 0.72rem !important;
    }

    .site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .property-list-body .homes-list {
        gap: 0.32rem 0.62rem !important;
    }

    .site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .property-list-body .price-properties.footer {
        margin-top: 0.08rem !important;
        padding-top: 0.52rem !important;
    }

    .site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .property-list-body .price-properties.footer .title {
        font-size: 1.06rem !important;
    }

    .site-corretor[class*="broker-template-"].sin-1 .property-detail-summary-card {
        padding: 0.9rem !important;
    }

    .site-corretor[class*="broker-template-"].sin-1 .property-detail-price-panel {
        padding: 0.78rem !important;
    }

    .site-corretor[class*="broker-template-"].sin-1 .property-detail-summary h3 {
        font-size: clamp(1.42rem, 8vw, 1.85rem) !important;
    }

    .site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .listing-results-toolbar {
        align-items: stretch !important;
        flex-direction: column !important;
    }

    .site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .listing-intent-tabs,
    .site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .listing-sort-control {
        width: 100% !important;
    }

    .site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .listing-sort-control {
        justify-content: space-between !important;
    }
}

/* Final alignment fixes for listing pages and neighborhood initials. */
.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .properties-right.list .blog-pots {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .listing-results-toolbar,
.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing #imovel-content,
.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing #imovel-content .property-list-card,
.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing #imovel-content .property-list-card-row {
    max-width: 100% !important;
    width: 100% !important;
}

.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing #imovel-content {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

@media (max-width: 991.98px) {
    .site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing #imovel-content,
    .site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .listing-results-toolbar {
        margin-left: 15px !important;
        margin-right: 15px !important;
        max-width: calc(100% - 30px) !important;
        width: calc(100% - 30px) !important;
    }
}

.site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8).broker-neighborhood-page .broker-neighborhood-initial {
    background: var(--broker-layout-brand, var(--broker-brand, #f5b000)) !important;
    border: 1px solid rgba(255, 255, 255, 0.42) !important;
    color: var(--broker-layout-button-text, var(--broker-button-text, #fff)) !important;
    text-shadow: 0 1px 2px rgba(15, 23, 42, 0.22);
}

/* Template 7: editorial listing with a horizontal search bar. */
.site-corretor.broker-template-7.inner-pages.listing .broker-listing-template-page > .container > .row {
    display: grid !important;
    gap: 1rem !important;
    grid-template-columns: 1fr !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.site-corretor.broker-template-7.inner-pages.listing .broker-listing-template-page > .container > .row > aside.col-md-3.car,
.site-corretor.broker-template-7.inner-pages.listing .broker-listing-template-page > .container > .row > .col-md-9.blog-pots {
    flex: none !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
}

.site-corretor.broker-template-7.inner-pages.listing .widget-boxed.main-search-field {
    padding: 0.9rem !important;
}

.site-corretor.broker-template-7.inner-pages.listing .listing-filter-content.is-open {
    align-items: end !important;
    display: grid !important;
    gap: 0.72rem 0.85rem !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.site-corretor.broker-template-7.inner-pages.listing .listing-filter-content.is-open .main-search-field-2,
.site-corretor.broker-template-7.inner-pages.listing .listing-filter-content.is-open .form-group {
    margin-bottom: 0 !important;
}

.site-corretor.broker-template-7.inner-pages.listing .listing-filter-content.is-open .col-lg-12.no-pds {
    flex: none !important;
    grid-column: auto !important;
    max-width: none !important;
    padding: 0 !important;
    width: 100% !important;
}

.site-corretor.broker-template-7.inner-pages.listing .listing-filter-content.is-open #btnBuscar {
    min-height: 42px !important;
}

.site-corretor.broker-template-7.inner-pages.listing .property-list-card-row {
    grid-template-columns: minmax(250px, 30%) minmax(0, 1fr) !important;
}

/* Template 8: marketplace listing grid. */
.site-corretor.broker-template-8.inner-pages.listing #imovel-content {
    display: grid !important;
    gap: 1rem !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.site-corretor.broker-template-8.inner-pages.listing #imovel-content .property-list-card {
    max-width: 100% !important;
    width: 100% !important;
}

.site-corretor.broker-template-8.inner-pages.listing #imovel-content .property-list-card-row {
    display: grid !important;
    grid-template-columns: 1fr !important;
    height: 100% !important;
}

.site-corretor.broker-template-8.inner-pages.listing #imovel-content .property-list-card-row > [class*="col-"] {
    flex: none !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
}

.site-corretor.broker-template-8.inner-pages.listing .property-list-media {
    aspect-ratio: 16 / 10 !important;
    min-height: 0 !important;
}

.site-corretor.broker-template-8.inner-pages.listing .property-list-body.homes-content {
    min-height: 230px !important;
}

@media (max-width: 1199.98px) {
    .site-corretor.broker-template-7.inner-pages.listing .listing-filter-content.is-open {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .site-corretor.broker-template-7.inner-pages.listing .listing-filter-content.is-open .col-lg-12.no-pds {
        grid-column: 1 / -1 !important;
    }
}

@media (max-width: 991.98px) {
    .site-corretor.broker-template-7.inner-pages.listing .property-list-card-row,
    .site-corretor.broker-template-8.inner-pages.listing #imovel-content .property-list-card-row {
        grid-template-columns: 1fr !important;
    }

    .site-corretor.broker-template-8.inner-pages.listing #imovel-content {
        grid-template-columns: 1fr !important;
    }

    .site-corretor.broker-template-8.inner-pages.listing .property-list-body.homes-content {
        min-height: 0 !important;
    }
}

@media (max-width: 575.98px) {
    .site-corretor.broker-template-7.inner-pages.listing .listing-filter-content.is-open {
        grid-template-columns: 1fr !important;
    }
}

/* Templates 6 and 8 use compact portal search cards; keep old homepage search widths from leaking in. */
.site-corretor.broker-template-6.homepage-3 .broker-search-module .rld-main-search > .row,
.site-corretor.broker-template-8.homepage-3 .broker-search-module .rld-main-search > .row {
    align-items: end !important;
    display: grid !important;
    gap: 0.68rem !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    width: 100% !important;
}

.site-corretor.broker-template-6.homepage-3 .broker-search-module .rld-single-input,
.site-corretor.broker-template-6.homepage-3 .broker-search-module .rld-single-select,
.site-corretor.broker-template-6.homepage-3 .broker-search-module .broker-search-action,
.site-corretor.broker-template-8.homepage-3 .broker-search-module .rld-single-input,
.site-corretor.broker-template-8.homepage-3 .broker-search-module .rld-single-select,
.site-corretor.broker-template-8.homepage-3 .broker-search-module .broker-search-action {
    flex: none !important;
    margin: 0 !important;
    max-width: none !important;
    min-width: 0 !important;
    padding: 0 !important;
    width: 100% !important;
}

.site-corretor.broker-template-6.homepage-3 .broker-search-module .broker-search-action,
.site-corretor.broker-template-8.homepage-3 .broker-search-module .broker-search-action {
    grid-column: 1 / -1 !important;
}

.site-corretor.broker-template-6.homepage-3 .broker-search-module .broker-search-action .btn,
.site-corretor.broker-template-8.homepage-3 .broker-search-module .broker-search-action .btn {
    margin-left: 0 !important;
    width: 100% !important;
}

/* Portal-quality pass for templates 6, 7 and 8. */
.site-corretor:is(.broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .broker-listing-template-page {
    padding-top: clamp(1.3rem, 2.5vw, 2.2rem) !important;
}

.site-corretor:is(.broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .broker-listing-hero {
    align-items: center !important;
    border-radius: 8px !important;
    display: flex !important;
    min-height: 76px !important;
    padding: 0.95rem 1.1rem !important;
}

.site-corretor:is(.broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .broker-listing-hero-copy span {
    font-size: 0.72rem !important;
    letter-spacing: 0 !important;
    margin-bottom: 0.35rem !important;
}

.site-corretor:is(.broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .broker-listing-hero-copy .tituloHeader {
    font-size: 1.02rem !important;
    line-height: 1.25 !important;
}

.site-corretor:is(.broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .widget-boxed.main-search-field {
    border-radius: 8px !important;
    padding: 0.85rem !important;
}

.site-corretor:is(.broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .widget-boxed-header {
    margin-bottom: 0.65rem !important;
    padding-bottom: 0.55rem !important;
}

.site-corretor:is(.broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .widget-boxed-header h4 {
    font-size: 1rem !important;
    line-height: 1.18 !important;
}

.site-corretor:is(.broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .main-search-field-2 {
    margin-bottom: 0.78rem !important;
}

.site-corretor:is(.broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .main-search-field-2 label {
    font-size: 0.78rem !important;
    line-height: 1.1 !important;
    margin-bottom: 0.42rem !important;
}

.site-corretor:is(.broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .form-control,
.site-corretor:is(.broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .typeahead,
.site-corretor:is(.broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .select2-container--default .select2-selection--single {
    font-size: 0.92rem !important;
    min-height: 38px !important;
}

.site-corretor:is(.broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .btn-group.rdBusca {
    gap: 0.36rem !important;
}

.site-corretor:is(.broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .widget-boxed .btn.btn-boxes {
    border-radius: 999px !important;
    font-size: 0.78rem !important;
    min-height: 32px !important;
    padding: 0.34rem 0.5rem !important;
}

.site-corretor:is(.broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing #btnBuscar {
    border-radius: 8px !important;
    font-size: 0.9rem !important;
    min-height: 38px !important;
}

.site-corretor:is(.broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .listing-results-toolbar {
    align-items: center !important;
    border-radius: 8px !important;
    min-height: 50px !important;
    padding: 0.38rem 0.42rem !important;
}

.site-corretor:is(.broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .listing-intent-tabs {
    gap: 0.38rem !important;
}

.site-corretor:is(.broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .listing-intent-tabs .nav-link {
    border-radius: 8px !important;
    min-height: 36px !important;
    padding: 0.42rem 0.76rem !important;
}

.site-corretor:is(.broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .property-list-card-template {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.site-corretor:is(.broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .property-list-card-template .property-list-card-row {
    overflow: hidden !important;
}

.site-corretor:is(.broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .property-list-card-meta {
    align-items: center;
    color: var(--broker-layout-brand);
    display: flex;
    flex-wrap: wrap;
    font-size: 0.72rem;
    font-weight: 850;
    gap: 0.38rem;
    letter-spacing: 0;
    margin-bottom: 0.45rem;
    text-transform: uppercase;
}

.site-corretor:is(.broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .property-list-card-meta span {
    background: color-mix(in srgb, var(--broker-layout-brand) 9%, #fff);
    border: 1px solid color-mix(in srgb, var(--broker-layout-brand) 18%, transparent);
    border-radius: 999px;
    padding: 0.18rem 0.48rem;
}

.site-corretor:is(.broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .property-list-body.homes-content {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.48rem !important;
    min-height: 0 !important;
    padding: 1rem 1.1rem 0.9rem !important;
}

.site-corretor:is(.broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .property-list-body h3 {
    font-size: 1.16rem !important;
    line-height: 1.18 !important;
    margin: 0 !important;
}

.site-corretor:is(.broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .property-list-body .homes-address {
    margin: 0 !important;
}

.site-corretor:is(.broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .property-list-body .homes-address a {
    align-items: flex-start !important;
    display: flex !important;
    gap: 0.42rem !important;
    line-height: 1.35 !important;
}

.site-corretor:is(.broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .property-list-body .homes-list {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.38rem 0.75rem !important;
    margin: 0 !important;
    padding: 0 !important;
}

.site-corretor:is(.broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .property-list-body .homes-list li {
    align-items: center !important;
    display: inline-flex !important;
    margin: 0 !important;
    width: auto !important;
}

.site-corretor:is(.broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .property-list-body .homes-list a,
.site-corretor:is(.broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .property-list-body .homes-list span {
    color: var(--broker-layout-text) !important;
    font-size: 0.9rem !important;
    font-weight: 750 !important;
}

.site-corretor:is(.broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .property-list-body .price-properties.footer {
    align-items: center !important;
    display: flex !important;
    justify-content: space-between !important;
    margin-top: auto !important;
    padding-top: 0.75rem !important;
}

.site-corretor:is(.broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .property-list-body .price-properties.footer .title {
    font-size: 1.22rem !important;
    line-height: 1 !important;
    margin: 0 !important;
}

.site-corretor:is(.broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .property-list-details-link {
    align-items: center;
    border: 1px solid rgba(100, 116, 139, 0.24);
    border-radius: 999px;
    color: var(--broker-layout-title) !important;
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 850;
    min-height: 30px;
    padding: 0.25rem 0.68rem;
    white-space: nowrap;
}

.site-corretor:is(.broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .property-list-body .compare {
    align-items: center !important;
    display: flex !important;
    gap: 0.45rem !important;
    margin-left: 0.6rem !important;
}

.site-corretor:is(.broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .project-inner.project-head,
.site-corretor:is(.broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .project-inner.project-head .homes,
.site-corretor:is(.broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .project-inner.project-head .swiper-container,
.site-corretor:is(.broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .project-inner.project-head .swiper-wrapper,
.site-corretor:is(.broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .project-inner.project-head .swiper-slide {
    height: 100% !important;
}

.site-corretor:is(.broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .project-inner.project-head .swiper-slide {
    padding-top: 0 !important;
}

.site-corretor:is(.broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .project-inner.project-head .swiper-slide img {
    object-fit: cover !important;
}

/* Template 6: Zap-like portal results. */
.site-corretor.broker-template-6.inner-pages.listing .broker-listing-template-page > .container > .row {
    align-items: start !important;
    display: grid !important;
    gap: 1rem !important;
    grid-template-columns: 300px minmax(0, 1fr) !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.site-corretor.broker-template-6.inner-pages.listing .broker-listing-template-page aside.car {
    flex: none !important;
    max-width: 300px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 300px !important;
}

.site-corretor.broker-template-6.inner-pages.listing .broker-listing-template-page .blog-pots {
    flex: none !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
}

.site-corretor.broker-template-6.inner-pages.listing #imovel-content {
    gap: 0.85rem !important;
}

.site-corretor.broker-template-6.inner-pages.listing .property-list-card-template-6 .property-list-card-row {
    border-left: 0 !important;
    display: grid !important;
    grid-template-columns: minmax(270px, 36%) minmax(0, 1fr) !important;
    min-height: 224px !important;
}

.site-corretor.broker-template-6.inner-pages.listing .property-list-card-template-6 .property-list-media {
    aspect-ratio: auto !important;
    min-height: 224px !important;
}

.site-corretor.broker-template-6.inner-pages.listing .property-list-card-template-6 .property-list-body {
    border-left: 1px solid rgba(148, 163, 184, 0.22) !important;
}

/* Template 7: EmCasa-inspired clean editorial results. */
.site-corretor.broker-template-7.inner-pages.listing .broker-listing-hero {
    display: none !important;
}

.site-corretor.broker-template-7.inner-pages.listing .widget-boxed.main-search-field {
    margin-top: 0 !important;
}

.site-corretor.broker-template-7.inner-pages.listing .listing-results-toolbar {
    margin-top: 0.9rem !important;
}

.site-corretor.broker-template-7.inner-pages.listing #imovel-content {
    gap: 0.85rem !important;
}

.site-corretor.broker-template-7.inner-pages.listing .property-list-card-template-7 .property-list-card-row {
    display: grid !important;
    grid-template-columns: minmax(320px, 40%) minmax(0, 1fr) !important;
    min-height: 220px !important;
}

.site-corretor.broker-template-7.inner-pages.listing .property-list-card-template-7 .property-list-media {
    aspect-ratio: auto !important;
    min-height: 220px !important;
}

.site-corretor.broker-template-7.inner-pages.listing .property-list-card-template-7 .property-list-card-meta span {
    background: #fff !important;
}

/* Template 8: VivaReal-like marketplace cards. */
.site-corretor.broker-template-8.inner-pages.listing .broker-listing-template-page {
    padding-top: 1.2rem !important;
}

.site-corretor.broker-template-8.inner-pages.listing .broker-listing-hero {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    margin-bottom: 0.8rem !important;
    min-height: 0 !important;
    padding: 0 !important;
}

.site-corretor.broker-template-8.inner-pages.listing .broker-listing-hero .broker-listing-hero-copy {
    align-items: center !important;
    background: #fff !important;
    border: 1px solid rgba(148, 163, 184, 0.22) !important;
    border-left: 4px solid var(--broker-layout-brand) !important;
    border-radius: 8px !important;
    display: inline-flex !important;
    gap: 0.7rem !important;
    min-height: 54px !important;
    padding: 0.65rem 0.9rem !important;
}

.site-corretor.broker-template-8.inner-pages.listing .broker-listing-hero-copy span {
    margin: 0 !important;
}

.site-corretor.broker-template-8.inner-pages.listing .broker-listing-hero-copy .tituloHeader {
    font-size: 0.98rem !important;
    line-height: 1.2 !important;
}

.site-corretor.broker-template-8.inner-pages.listing .broker-listing-template-page aside.car {
    flex: none !important;
    max-width: 290px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 290px !important;
}

.site-corretor.broker-template-8.inner-pages.listing .broker-listing-template-page .blog-pots {
    flex: none !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
}

.site-corretor.broker-template-8.inner-pages.listing .broker-listing-template-page > .container > .row {
    align-items: start !important;
    display: grid !important;
    gap: 1rem !important;
    grid-template-columns: 290px minmax(0, 1fr) !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.site-corretor.broker-template-8.inner-pages.listing #imovel-content {
    align-items: stretch !important;
    gap: 0.85rem !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.site-corretor.broker-template-8.inner-pages.listing .property-list-card-template-8 {
    display: block !important;
    height: 100% !important;
}

.site-corretor.broker-template-8.inner-pages.listing .property-list-card-template-8 .property-list-card-row {
    background: #fff !important;
    border: 1px solid rgba(148, 163, 184, 0.22) !important;
    border-radius: 8px !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    min-height: 0 !important;
}

.site-corretor.broker-template-8.inner-pages.listing .property-list-card-template-8 .property-list-media {
    aspect-ratio: 16 / 9.4 !important;
    flex: 0 0 auto !important;
    width: 100% !important;
}

.site-corretor.broker-template-8.inner-pages.listing .property-list-card-template-8 .property-list-body {
    flex: 1 1 auto !important;
    gap: 0.34rem !important;
    min-height: 178px !important;
    padding: 0.72rem 0.9rem 0.72rem !important;
}

.site-corretor.broker-template-8.inner-pages.listing #imovel-content .property-list-card-template-8 .property-list-card-row > .property-list-body.homes-content {
    padding: 0.72rem 0.9rem 0.72rem !important;
}

.site-corretor.broker-template-8.inner-pages.listing .property-list-card-template-8 .property-list-card-meta,
.site-corretor.broker-template-8.inner-pages.listing .property-list-card-template-8 .property-list-body h3,
.site-corretor.broker-template-8.inner-pages.listing .property-list-card-template-8 .homes-address,
.site-corretor.broker-template-8.inner-pages.listing .property-list-card-template-8 .homes-list,
.site-corretor.broker-template-8.inner-pages.listing .property-list-card-template-8 .price-properties.footer {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
}

.site-corretor.broker-template-8.inner-pages.listing .property-list-card-template-8 .property-list-card-meta {
    margin-bottom: 0.15rem !important;
}

.site-corretor.broker-template-8.inner-pages.listing .property-list-card-template-8 .property-list-card-meta span {
    font-size: 0.66rem !important;
    padding: 0.12rem 0.38rem !important;
}

.site-corretor.broker-template-8.inner-pages.listing .property-list-card-template-8 .property-list-body h3 {
    font-size: 1.04rem !important;
}

.site-corretor.broker-template-8.inner-pages.listing .property-list-card-template-8 .property-list-body .homes-address a {
    font-size: 0.82rem !important;
    line-height: 1.28 !important;
}

.site-corretor.broker-template-8.inner-pages.listing .property-list-card-template-8 .property-list-body .homes-list {
    gap: 0.28rem 0.55rem !important;
}

.site-corretor.broker-template-8.inner-pages.listing .property-list-card-template-8 .property-list-body .homes-list a,
.site-corretor.broker-template-8.inner-pages.listing .property-list-card-template-8 .property-list-body .homes-list span {
    font-size: 0.78rem !important;
}

.site-corretor.broker-template-8.inner-pages.listing .property-list-card-template-8 .property-list-body .price-properties.footer {
    gap: 0.4rem !important;
    padding-top: 0.55rem !important;
}

.site-corretor.broker-template-8.inner-pages.listing .property-list-card-template-8 .property-list-body .price-properties.footer .title {
    font-size: 1.04rem !important;
}

.site-corretor.broker-template-8.inner-pages.listing .property-list-card-template-8 .property-list-details-link {
    display: none !important;
}

/* Distinct detail pages for the portal templates. */
.site-corretor:is(.broker-template-6, .broker-template-7, .broker-template-8).sin-1 .single-proper.blog.details {
    background: #f4f7fb !important;
    padding-top: 1rem !important;
}

.site-corretor:is(.broker-template-6, .broker-template-7, .broker-template-8).sin-1 .property-detail-summary-card {
    border-radius: 8px !important;
    padding: clamp(1rem, 2vw, 1.45rem) !important;
}

.site-corretor:is(.broker-template-6, .broker-template-7, .broker-template-8).sin-1 .property-detail-summary {
    align-items: stretch !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(310px, 330px) !important;
    gap: clamp(1rem, 2vw, 1.5rem) !important;
}

.site-corretor:is(.broker-template-6, .broker-template-7, .broker-template-8).sin-1 .property-detail-copy {
    align-self: center !important;
}

.site-corretor:is(.broker-template-6, .broker-template-7, .broker-template-8).sin-1 .property-detail-meta {
    gap: 0.46rem !important;
    margin-bottom: 0.8rem !important;
}

.site-corretor:is(.broker-template-6, .broker-template-7, .broker-template-8).sin-1 .property-detail-summary h3 {
    font-size: clamp(1.65rem, 3.2vw, 2.35rem) !important;
    line-height: 1.05 !important;
    margin-bottom: 0.55rem !important;
}

.site-corretor:is(.broker-template-6, .broker-template-7, .broker-template-8).sin-1 .property-detail-address {
    align-items: flex-start !important;
    display: inline-flex !important;
    gap: 0.42rem !important;
    max-width: 680px !important;
}

.site-corretor:is(.broker-template-6, .broker-template-7, .broker-template-8).sin-1 .property-detail-price-panel {
    align-self: stretch !important;
    border-radius: 8px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    min-height: 178px !important;
    padding: 1rem !important;
}

.site-corretor:is(.broker-template-6, .broker-template-7, .broker-template-8).sin-1 .property-detail-price-item span {
    color: var(--broker-layout-brand) !important;
    font-size: 0.74rem !important;
    font-weight: 900 !important;
    letter-spacing: 0 !important;
}

.site-corretor:is(.broker-template-6, .broker-template-7, .broker-template-8).sin-1 .property-detail-price-item strong {
    font-size: clamp(1.5rem, 2.3vw, 1.9rem) !important;
    line-height: 1.05 !important;
}

.site-corretor:is(.broker-template-6, .broker-template-7, .broker-template-8).sin-1 .property-detail-cta {
    align-items: center;
    background: var(--broker-layout-brand);
    border-radius: 8px;
    color: var(--broker-layout-button-text, #fff) !important;
    display: inline-flex;
    font-size: 0.92rem;
    font-weight: 900;
    justify-content: center;
    margin-top: 0.78rem;
    min-height: 42px;
    padding: 0.65rem 0.9rem;
    text-align: center;
    width: 100%;
}

.site-corretor.broker-template-6.sin-1 .property-detail-summary-card {
    margin-top: -0.75rem !important;
    position: relative !important;
    z-index: 2 !important;
}

.site-corretor.broker-template-6.sin-1 .broker-detail-media-stage .swiper-container {
    max-height: 420px !important;
}

.site-corretor.broker-template-6.sin-1 .property-detail-price-panel {
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08) !important;
}

.site-corretor.broker-template-7.sin-1 .broker-detail-media-stage {
    background: #fff !important;
    padding: 1rem clamp(1rem, 4vw, 3.5rem) !important;
}

.site-corretor.broker-template-7.sin-1 .broker-detail-media-stage .swiper-container {
    border-radius: 8px !important;
    max-height: 500px !important;
    overflow: hidden !important;
}

.site-corretor.broker-template-7.sin-1 .property-detail-summary-card {
    box-shadow: none !important;
    margin-top: 0.9rem !important;
}

.site-corretor.broker-template-7.sin-1 .single-proper.blog.details {
    background: #fff !important;
}

.site-corretor.broker-template-7.sin-1 .property-detail-summary {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 300px) !important;
}

.site-corretor.broker-template-7.sin-1 .property-detail-summary h3 {
    font-size: clamp(1.85rem, 3vw, 2.55rem) !important;
}

.site-corretor.broker-template-7.sin-1 .property-detail-price-panel {
    align-self: center !important;
    background: #fafafa !important;
    box-shadow: none !important;
    min-height: 0 !important;
}

.site-corretor.broker-template-8.sin-1 .broker-detail-media-stage {
    background: #eaf4ff !important;
}

.site-corretor.broker-template-8.sin-1 .property-detail-summary {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 360px) !important;
}

.site-corretor.broker-template-8.sin-1 .property-detail-summary-card {
    border-color: rgba(96, 165, 250, 0.24) !important;
    box-shadow: 0 18px 44px rgba(18, 32, 51, 0.08) !important;
}

.site-corretor.broker-template-8.sin-1 .property-detail-price-panel {
    background: #fff !important;
    box-shadow: 0 14px 30px rgba(18, 32, 51, 0.08) !important;
}

@media (max-width: 1199.98px) {
    .site-corretor.broker-template-6.inner-pages.listing .broker-listing-template-page > .container > .row,
    .site-corretor.broker-template-8.inner-pages.listing .broker-listing-template-page > .container > .row {
        display: block !important;
    }

    .site-corretor.broker-template-6.inner-pages.listing .broker-listing-template-page aside.car,
    .site-corretor.broker-template-8.inner-pages.listing .broker-listing-template-page aside.car,
    .site-corretor.broker-template-6.inner-pages.listing .broker-listing-template-page .blog-pots,
    .site-corretor.broker-template-8.inner-pages.listing .broker-listing-template-page .blog-pots {
        flex: none !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .site-corretor.broker-template-6.inner-pages.listing .widget-boxed.main-search-field,
    .site-corretor.broker-template-8.inner-pages.listing .widget-boxed.main-search-field {
        margin-bottom: 0.9rem !important;
    }

    .site-corretor.broker-template-6.inner-pages.listing .broker-listing-template-page aside.car,
    .site-corretor.broker-template-8.inner-pages.listing .broker-listing-template-page aside.car {
        margin-bottom: 0.85rem !important;
    }
}

@media (max-width: 991.98px) {
    .site-corretor:is(.broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .property-list-card-template .property-list-card-row,
    .site-corretor.broker-template-7.inner-pages.listing .property-list-card-template-7 .property-list-card-row {
        grid-template-columns: 1fr !important;
    }

    .site-corretor:is(.broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .property-list-card-template .property-list-media {
        aspect-ratio: 16 / 10 !important;
        min-height: 0 !important;
    }

    .site-corretor:is(.broker-template-6, .broker-template-7, .broker-template-8).sin-1 .property-detail-summary {
        grid-template-columns: 1fr !important;
    }

    .site-corretor:is(.broker-template-6, .broker-template-7, .broker-template-8).sin-1 .property-detail-price-panel {
        min-height: 0 !important;
    }
}

@media (max-width: 575.98px) {
    .site-corretor:is(.broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .broker-listing-template-page {
        padding-top: 1rem !important;
    }

    .site-corretor:is(.broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .broker-listing-hero,
    .site-corretor:is(.broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .widget-boxed.main-search-field,
    .site-corretor:is(.broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .listing-results-toolbar,
    .site-corretor:is(.broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing #imovel-content {
        margin-left: auto !important;
        margin-right: auto !important;
        max-width: calc(100% - 30px) !important;
        width: calc(100% - 30px) !important;
    }

    .site-corretor:is(.broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .property-list-body.homes-content {
        padding: 0.88rem 0.95rem 0.8rem !important;
    }

    .site-corretor:is(.broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .property-list-body .price-properties.footer {
        align-items: flex-start !important;
        gap: 0.55rem !important;
    }

    .site-corretor:is(.broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .property-list-details-link {
        display: none !important;
    }

    .site-corretor:is(.broker-template-6, .broker-template-7, .broker-template-8).sin-1 .property-detail-summary-card {
        padding: 1rem !important;
    }

    .site-corretor:is(.broker-template-6, .broker-template-7, .broker-template-8).sin-1 .property-detail-summary h3 {
        font-size: clamp(1.55rem, 8vw, 2rem) !important;
    }

    .site-corretor.broker-template-7.sin-1 .broker-detail-media-stage {
        padding: 0 !important;
    }
}

@media (min-width: 576px) and (max-width: 1199.98px) {
    .site-corretor.broker-template-8.inner-pages.listing #imovel-content {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .site-corretor.broker-template-8.inner-pages.listing .property-list-card-template-8 .property-list-media {
        aspect-ratio: 16 / 10 !important;
    }
}

@media (max-width: 575.98px) {
    .site-corretor.broker-template-8.inner-pages.listing #imovel-content {
        gap: 0.8rem !important;
        grid-template-columns: 1fr !important;
    }

    .site-corretor.broker-template-8.inner-pages.listing .property-list-card-template-8 .property-list-media {
        aspect-ratio: 16 / 10 !important;
    }

    .site-corretor.broker-template-8.inner-pages.listing .property-list-card-template-8 .property-list-body {
        min-height: 170px !important;
    }
}

/* Portal reference pass: templates 6, 7 and 8 now use different product structures. */
.site-corretor.broker-template-6 .broker-portal-search-card,
.site-corretor.broker-template-8 .broker-market-search-card {
    overflow: visible;
}

.site-corretor.broker-template-6 .broker-portal-search-card h1,
.site-corretor.broker-template-8 .broker-market-search-card h1 {
    max-width: 660px;
}

.site-corretor.broker-template-6 .broker-portal-quick-row,
.site-corretor.broker-template-8 .broker-market-popular-searches {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.48rem;
    margin-top: 0.9rem;
}

.site-corretor.broker-template-6 .broker-portal-quick-row a,
.site-corretor.broker-template-8 .broker-market-popular-searches a {
    align-items: center;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 999px;
    color: var(--broker-layout-title) !important;
    display: inline-flex;
    font-size: 0.82rem;
    font-weight: 800;
    min-height: 32px;
    padding: 0.36rem 0.7rem;
    text-decoration: none !important;
}

.site-corretor.broker-template-8 .broker-market-popular-searches > span {
    color: var(--template-8-muted);
    font-size: 0.78rem;
    font-weight: 900;
}

.site-corretor.broker-template-6 .broker-portal-index-card div {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.3rem;
}

.site-corretor.broker-template-6 .broker-portal-index-card div a {
    background: var(--broker-layout-brand);
    border-radius: 999px;
    color: var(--broker-layout-button-text) !important;
    font-size: 0.76rem;
    font-weight: 850;
    padding: 0.32rem 0.6rem;
    text-decoration: none !important;
}

.site-corretor.broker-template-7 .broker-advisory-proofline {
    display: flex;
    flex-wrap: wrap;
    gap: 0.48rem;
    margin-top: 1rem;
}

.site-corretor.broker-template-7 .broker-advisory-proofline span {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 850;
    padding: 0.36rem 0.7rem;
}

.site-corretor.broker-template-7 .broker-advisory-search-title {
    align-items: baseline;
    border-bottom: 1px solid rgba(17, 24, 39, 0.1);
    display: flex;
    gap: 0.55rem;
    justify-content: space-between;
    margin-bottom: 0.62rem;
    padding: 0.2rem 0 0.62rem;
}

.site-corretor.broker-template-7 .broker-advisory-search-title strong {
    color: var(--template-7-ink);
    font-size: 1rem;
    line-height: 1.2;
}

.site-corretor.broker-template-7 .broker-advisory-search-title span {
    color: var(--template-7-muted);
    font-size: 0.78rem;
    line-height: 1.25;
}

.site-corretor.broker-template-7 .broker-advisory-journey {
    background: #fff;
    padding-bottom: clamp(1.2rem, 3vw, 2.4rem);
    padding-top: clamp(1.2rem, 3vw, 2.4rem);
}

.site-corretor.broker-template-7 .broker-advisory-journey-grid {
    display: grid;
    gap: 0.8rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.site-corretor.broker-template-7 .broker-advisory-journey-grid article {
    background: #fafafa;
    border: 1px solid rgba(17, 24, 39, 0.1);
    border-radius: 8px;
    display: grid;
    gap: 0.32rem;
    min-height: 124px;
    padding: 1rem;
}

.site-corretor.broker-template-7 .broker-advisory-journey-grid span {
    color: var(--broker-layout-brand);
    font-size: 0.78rem;
    font-weight: 900;
}

.site-corretor.broker-template-7 .broker-advisory-journey-grid strong {
    color: var(--template-7-ink);
    font-size: 1rem;
    line-height: 1.18;
}

.site-corretor.broker-template-7 .broker-advisory-journey-grid p {
    color: var(--template-7-muted);
    font-size: 0.88rem;
    line-height: 1.4;
    margin: 0;
}

.site-corretor.broker-template-8 .broker-market-map-card {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 8px;
    bottom: 1rem;
    box-shadow: 0 16px 36px rgba(18, 32, 51, 0.16);
    display: grid;
    gap: 0.22rem;
    left: 1rem;
    max-width: min(310px, calc(100% - 2rem));
    padding: 0.9rem;
    position: absolute;
}

.site-corretor.broker-template-8 .broker-market-map-card span {
    color: var(--broker-layout-brand);
    font-size: 0.74rem;
    font-weight: 900;
    text-transform: uppercase;
}

.site-corretor.broker-template-8 .broker-market-map-card strong {
    color: var(--template-8-ink);
    font-size: 1rem;
    line-height: 1.18;
}

.site-corretor.broker-template-8 .broker-market-category-strip a {
    align-content: start;
    grid-template-rows: auto auto 1fr;
}

.site-corretor.broker-template-8 .broker-market-category-strip a > span {
    color: var(--broker-layout-brand);
    font-size: 0.78rem;
    font-weight: 900;
}

.site-corretor.broker-template-8 .broker-market-category-strip a small {
    color: var(--template-8-muted);
    font-size: 0.86rem;
    line-height: 1.35;
}

.site-corretor:is(.broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .property-list-card-template .button-effect {
    bottom: 0.65rem;
    display: flex !important;
    gap: 0.35rem;
    left: 0.65rem;
    position: absolute !important;
    right: auto;
    top: auto !important;
    z-index: 6;
}

.site-corretor:is(.broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .property-list-card-template .button-effect:empty {
    display: none !important;
}

.site-corretor:is(.broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .property-list-card-template .button-effect .btn {
    height: 34px !important;
    margin: 0 !important;
    min-height: 34px !important;
    width: 34px !important;
}

.site-corretor:is(.broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .property-list-card-template .swiper-pagination {
    bottom: 0.55rem !important;
    left: 50% !important;
    max-width: 120px;
    transform: translateX(-50%);
    white-space: nowrap;
}

.site-corretor:is(.broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .property-list-card-template .swiper-pagination-bullet {
    height: 6px !important;
    margin: 0 2px !important;
    padding: 0 !important;
    width: 6px !important;
}

.site-corretor.broker-template-6.inner-pages.listing .property-card-portal-row {
    background: #fff !important;
    border: 1px solid rgba(148, 163, 184, 0.24) !important;
    display: grid !important;
    grid-template-columns: minmax(300px, 34%) minmax(0, 1fr) !important;
    min-height: 244px !important;
}

.site-corretor.broker-template-6.inner-pages.listing .property-card-portal-row .property-list-body {
    align-items: stretch;
    border-left: 1px solid rgba(148, 163, 184, 0.2) !important;
    display: grid !important;
    gap: 1rem !important;
    grid-template-columns: minmax(0, 1fr) minmax(190px, 220px);
    min-height: 244px !important;
    padding: 1rem 1rem 1rem 1.1rem !important;
}

.site-corretor.broker-template-6.inner-pages.listing .property-card-portal-row .property-list-card-main,
.site-corretor.broker-template-7.inner-pages.listing .property-advisory-copy {
    display: flex;
    flex-direction: column;
    gap: 0.48rem;
    min-width: 0;
}

.site-corretor.broker-template-6.inner-pages.listing .property-card-price-column {
    border-left: 1px solid rgba(148, 163, 184, 0.22);
    display: flex;
    flex-direction: column;
    gap: 0.48rem;
    justify-content: center;
    padding-left: 1rem;
}

.site-corretor.broker-template-6.inner-pages.listing .property-card-price-column > span,
.site-corretor.broker-template-7.inner-pages.listing .property-advisory-footer span {
    color: #64748b;
    font-size: 0.74rem;
    font-weight: 850;
    text-transform: uppercase;
}

.site-corretor.broker-template-6.inner-pages.listing .property-card-price-column strong a,
.site-corretor.broker-template-7.inner-pages.listing .property-advisory-footer strong a {
    color: var(--broker-layout-title) !important;
    font-size: 1.25rem;
    font-weight: 900;
    line-height: 1.08;
}

.site-corretor.broker-template-6.inner-pages.listing .property-list-primary-link {
    align-items: center;
    background: var(--broker-layout-brand);
    border-radius: 8px;
    color: var(--broker-layout-button-text) !important;
    display: inline-flex;
    font-size: 0.86rem;
    font-weight: 900;
    justify-content: center;
    min-height: 38px;
    padding: 0.55rem 0.8rem;
    text-decoration: none !important;
}

.site-corretor.broker-template-6.inner-pages.listing .property-card-price-column .compare {
    margin-left: 0 !important;
}

.site-corretor.broker-template-7.inner-pages.listing .broker-listing-template-page > .container > .row {
    align-items: start !important;
    display: grid !important;
    gap: 1.25rem !important;
    grid-template-columns: minmax(255px, 300px) minmax(0, 1fr) !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.site-corretor.broker-template-7.inner-pages.listing .broker-listing-template-page aside.car,
.site-corretor.broker-template-7.inner-pages.listing .broker-listing-template-page .blog-pots {
    flex: none !important;
    max-width: none !important;
    min-width: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
}

.site-corretor.broker-template-7.inner-pages.listing .property-card-advisory-row {
    background: #fff !important;
    border: 1px solid rgba(17, 24, 39, 0.1) !important;
    box-shadow: none !important;
    display: grid !important;
    grid-template-columns: minmax(260px, 32%) minmax(0, 1fr) !important;
    min-height: 232px !important;
}

.site-corretor.broker-template-7.inner-pages.listing .property-card-advisory-row .property-list-body {
    display: flex !important;
    min-height: 232px !important;
    padding: 1rem 1.05rem !important;
}

.site-corretor.broker-template-7.inner-pages.listing .property-advisory-footer {
    align-items: end;
    border-top: 1px solid rgba(17, 24, 39, 0.1);
    display: flex;
    gap: 0.75rem;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 0.75rem;
}

.site-corretor.broker-template-7.inner-pages.listing .property-advisory-footer > div {
    display: grid;
    gap: 0.22rem;
}

.site-corretor.broker-template-8.inner-pages.listing #imovel-content {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.site-corretor.broker-template-8.inner-pages.listing .property-card-market-card {
    background: #fff !important;
    border: 1px solid rgba(98, 112, 134, 0.22) !important;
    display: flex !important;
    flex-direction: column !important;
    min-height: 0 !important;
}

.site-corretor.broker-template-8.inner-pages.listing .property-card-market-card .property-list-media {
    aspect-ratio: 16 / 9.5 !important;
    min-height: 0 !important;
    width: 100% !important;
}

.site-corretor.broker-template-8.inner-pages.listing .property-card-market-card .property-list-body {
    display: flex !important;
    flex: 1 1 auto;
    min-height: 188px !important;
    padding: 0.78rem 0.9rem !important;
}

.site-corretor.broker-template-8.inner-pages.listing .property-card-market-card .price-properties.footer {
    margin-top: auto !important;
}

.site-corretor:is(.broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .property-list-media .project-single,
.site-corretor:is(.broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .property-list-media .project-inner,
.site-corretor:is(.broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .property-list-media .project-head,
.site-corretor:is(.broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .property-list-media .homes,
.site-corretor:is(.broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .property-list-media .swiper-container,
.site-corretor:is(.broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .property-list-media .swiper-wrapper,
.site-corretor:is(.broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .property-list-media .swiper-slide,
.site-corretor:is(.broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .property-list-media .swiper-slide a,
.site-corretor:is(.broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .property-list-media .swiper-slide img {
    height: 100% !important;
    min-height: 0 !important;
}

.site-corretor:is(.broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .property-list-media {
    overflow: hidden;
}

.site-corretor:is(.broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .property-list-media img {
    object-fit: cover !important;
    object-position: center !important;
}

.site-corretor:is(.broker-template-6, .broker-template-7, .broker-template-8).sin-1 .broker-detail-media-stage .button-effect,
.site-corretor:is(.broker-template-6, .broker-template-7, .broker-template-8).sin-1 .buttons-container {
    gap: 0.45rem;
}

.site-corretor:is(.broker-template-6, .broker-template-7, .broker-template-8).sin-1 #videoIframe {
    aspect-ratio: 16 / 9;
    height: auto !important;
    max-height: 520px;
}

.site-corretor:is(.broker-template-6, .broker-template-7, .broker-template-8).sin-1 .property-detail-template-nav {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0 10px 1rem;
}

.site-corretor:is(.broker-template-6, .broker-template-7, .broker-template-8).sin-1 .property-detail-template-nav a {
    background: #fff;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 8px;
    display: grid;
    gap: 0.2rem;
    min-height: 76px;
    padding: 0.85rem 1rem;
    text-decoration: none !important;
}

.site-corretor:is(.broker-template-6, .broker-template-7, .broker-template-8).sin-1 .property-detail-template-nav span {
    color: var(--broker-layout-brand);
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.site-corretor:is(.broker-template-6, .broker-template-7, .broker-template-8).sin-1 .property-detail-template-nav strong {
    color: var(--broker-layout-title);
    font-size: 0.96rem;
    line-height: 1.16;
}

.site-corretor.broker-template-6.sin-1 .property-detail-template-nav a {
    border-left: 4px solid var(--broker-layout-brand);
}

.site-corretor.broker-template-7.sin-1 .property-detail-template-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.site-corretor.broker-template-7.sin-1 .property-detail-template-nav a {
    background: #fafafa;
    box-shadow: none;
}

.site-corretor.broker-template-8.sin-1 .property-detail-template-nav a {
    background: #f7fbff;
}

@media (max-width: 1199.98px) {
    .site-corretor.broker-template-7.inner-pages.listing .broker-listing-template-page > .container > .row {
        display: block !important;
    }

    .site-corretor.broker-template-7.inner-pages.listing .broker-listing-template-page aside.car {
        margin-bottom: 0.9rem !important;
    }
}

@media (max-width: 991.98px) {
    .site-corretor.broker-template-6.inner-pages.listing .property-card-portal-row,
    .site-corretor.broker-template-7.inner-pages.listing .property-card-advisory-row {
        grid-template-columns: 1fr !important;
    }

    .site-corretor.broker-template-6.inner-pages.listing .property-card-portal-row .property-list-body {
        border-left: 0 !important;
        grid-template-columns: 1fr !important;
        min-height: 0 !important;
    }

    .site-corretor.broker-template-6.inner-pages.listing .property-card-price-column {
        border-left: 0;
        border-top: 1px solid rgba(148, 163, 184, 0.22);
        padding-left: 0;
        padding-top: 0.8rem;
    }

    .site-corretor.broker-template-7.inner-pages.listing .property-card-advisory-row .property-list-body {
        min-height: 0 !important;
    }

    .site-corretor.broker-template-8.inner-pages.listing #imovel-content {
        grid-template-columns: 1fr !important;
    }

    .site-corretor:is(.broker-template-6, .broker-template-7, .broker-template-8).sin-1 .property-detail-template-nav {
        grid-template-columns: 1fr;
        margin-left: 0;
        margin-right: 0;
    }

    .site-corretor.broker-template-7 .broker-advisory-journey-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .site-corretor.broker-template-6 .broker-portal-quick-row,
    .site-corretor.broker-template-8 .broker-market-popular-searches,
    .site-corretor.broker-template-7 .broker-advisory-proofline,
    .site-corretor.broker-template-7 .broker-advisory-search-title {
        align-items: stretch;
        display: grid;
        grid-template-columns: 1fr;
    }

    .site-corretor.broker-template-7 .broker-advisory-search-title {
        gap: 0.2rem;
    }

    .site-corretor.broker-template-6 .broker-portal-quick-row a,
    .site-corretor.broker-template-8 .broker-market-popular-searches a {
        justify-content: center;
    }
}

/* Final portal QA pass: stretch listing-card content and soften oversized portal heroes. */
.site-corretor.broker-template-7 .broker-advisory-home h1,
.site-corretor.broker-template-8 .broker-market-home h1 {
    font-size: clamp(2.2rem, 3vw, 3.15rem) !important;
    line-height: 1.08 !important;
    max-width: 690px;
}

.site-corretor.broker-template-7 .broker-advisory-home h2,
.site-corretor.broker-template-8 .broker-market-home h2 {
    font-size: clamp(1.55rem, 2.1vw, 2.25rem) !important;
    line-height: 1.12 !important;
}

.site-corretor.broker-template-7 .broker-advisory-home .broker-search-module {
    min-height: 0 !important;
    overflow: visible !important;
}

.site-corretor.broker-template-7 .broker-advisory-home .broker-home-search-panel,
.site-corretor.broker-template-8 .broker-market-home .broker-home-search-panel {
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.13) !important;
}

.site-corretor.broker-template-6.inner-pages.listing .property-card-portal-row {
    min-height: 232px !important;
}

.site-corretor.broker-template-6.inner-pages.listing .property-card-portal-row .property-list-body {
    height: 100% !important;
    min-height: 232px !important;
}

.site-corretor.broker-template-6.inner-pages.listing .property-card-portal-row .property-list-card-main,
.site-corretor.broker-template-6.inner-pages.listing .property-card-portal-row .property-card-price-column {
    height: 100% !important;
    min-height: 0 !important;
}

.site-corretor.broker-template-6.inner-pages.listing .property-card-price-column .compare {
    align-items: center !important;
    display: flex !important;
    gap: 0.55rem !important;
    justify-content: flex-start !important;
    margin-top: 0.15rem !important;
}

.site-corretor.broker-template-6.inner-pages.listing .property-card-price-column .compare a {
    min-height: 32px !important;
}

.site-corretor.broker-template-7.inner-pages.listing .property-card-advisory-row .property-list-body,
.site-corretor.broker-template-8.inner-pages.listing .property-card-market-card .property-list-body {
    flex-direction: column !important;
    gap: 0.42rem !important;
}

.site-corretor.broker-template-7.inner-pages.listing .property-advisory-footer,
.site-corretor.broker-template-8.inner-pages.listing .price-properties.footer {
    margin-top: auto !important;
}

.site-corretor.broker-template-8.inner-pages.listing .property-card-market-card .property-list-body {
    min-height: 176px !important;
}

.site-corretor:is(.broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .property-list-card-template .homes-list {
    align-items: center !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.35rem 0.7rem !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.site-corretor:is(.broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .property-list-card-template .homes-list li {
    margin: 0 !important;
    padding: 0 !important;
    white-space: nowrap !important;
}

@media (max-width: 991.98px) {
    .site-corretor.broker-template-6.inner-pages.listing .property-card-portal-row,
    .site-corretor.broker-template-7.inner-pages.listing .property-card-advisory-row,
    .site-corretor.broker-template-8.inner-pages.listing .property-card-market-card {
        min-height: 0 !important;
    }

    .site-corretor.broker-template-6.inner-pages.listing .property-card-portal-row .property-list-body {
        height: auto !important;
        min-height: 0 !important;
        padding: 0.9rem !important;
    }
}

@media (max-width: 575.98px) {
    .site-corretor.broker-template-7 .broker-advisory-home h1,
    .site-corretor.broker-template-8 .broker-market-home h1 {
        font-size: clamp(1.9rem, 9vw, 2.35rem) !important;
        line-height: 1.1 !important;
    }

    .site-corretor:is(.broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .property-list-card-template .homes-list {
        gap: 0.3rem 0.6rem !important;
    }
}

/* First-fold QA: template 3 needs presence, template 7 needs a tighter search panel. */
.site-corretor.broker-template-3 .broker-home-template-3.broker-modern-map {
    background-color: #0f172a !important;
    background-image:
        linear-gradient(90deg, rgba(8, 17, 32, 0.9) 0%, rgba(8, 17, 32, 0.72) 44%, rgba(8, 17, 32, 0.28) 100%),
        var(--broker-template-hero-image, url("/images/single-property/banner.jpg")) !important;
    background-position: center !important;
    background-size: cover !important;
    color: #fff !important;
    min-height: clamp(610px, calc(100vh - 82px), 740px) !important;
    overflow: hidden !important;
    padding: clamp(6.2rem, 8vw, 8.2rem) 0 clamp(3.1rem, 4.8vw, 4.6rem) !important;
    position: relative !important;
}

.site-corretor.broker-template-3 .broker-home-template-3.broker-modern-map::after {
    background: linear-gradient(180deg, transparent, rgba(8, 17, 32, 0.2));
    bottom: 0;
    content: "";
    height: 38%;
    left: 0;
    pointer-events: none;
    position: absolute;
    right: 0;
}

.site-corretor.broker-template-3 .broker-home-template-3 .broker-modern-map-grid {
    align-items: center !important;
    display: grid !important;
    gap: clamp(2rem, 5vw, 5rem) !important;
    grid-template-columns: minmax(0, 1.04fr) minmax(340px, 0.72fr) !important;
    position: relative !important;
    z-index: 1 !important;
}

.site-corretor.broker-template-3 .broker-home-template-3 .broker-modern-map-search {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: #fff !important;
    max-width: 710px !important;
    padding: 0 !important;
}

.site-corretor.broker-template-3 .broker-home-template-3 .broker-modern-map-search .broker-modern-eyebrow {
    background: rgba(255, 255, 255, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 999px !important;
    color: var(--broker-layout-brand) !important;
    display: inline-flex !important;
    margin-bottom: 0.95rem !important;
    padding: 0.48rem 0.72rem !important;
}

.site-corretor.broker-template-3 .broker-home-template-3 .broker-modern-map-search h1 {
    color: #fff !important;
    font-size: clamp(2.55rem, 4.5vw, 4.85rem) !important;
    font-weight: 900 !important;
    letter-spacing: 0 !important;
    line-height: 1.02 !important;
    margin: 0 0 1rem !important;
    max-width: 720px !important;
}

.site-corretor.broker-template-3 .broker-home-template-3 .broker-modern-map-search p {
    color: rgba(255, 255, 255, 0.84) !important;
    font-size: clamp(1rem, 1.25vw, 1.16rem) !important;
    line-height: 1.58 !important;
    margin: 0 !important;
    max-width: 560px !important;
}

.site-corretor.broker-template-3 .broker-home-template-3 .broker-modern-map-search .broker-search-module {
    background: rgba(255, 255, 255, 0.97) !important;
    border: 1px solid rgba(255, 255, 255, 0.72) !important;
    border-radius: 10px !important;
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.22) !important;
    margin: 1.55rem 0 0 !important;
    max-width: 660px !important;
    min-height: 0 !important;
    overflow: visible !important;
    padding: 0.9rem !important;
}

.site-corretor.broker-template-3 .broker-home-template-3 .broker-search-module .rld-banner-tab {
    background: rgba(15, 23, 42, 0.055) !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    border-radius: 8px !important;
    display: grid !important;
    gap: 0.28rem !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    margin: 0 0 0.72rem !important;
    padding: 0.28rem !important;
}

.site-corretor.broker-template-3 .broker-home-template-3 .broker-search-module .rld-banner-tab .nav-item,
.site-corretor.broker-template-3 .broker-home-template-3 .broker-search-module .rld-banner-tab .nav-link {
    margin: 0 !important;
    min-width: 0 !important;
    width: 100% !important;
}

.site-corretor.broker-template-3 .broker-home-template-3 .broker-search-module .rld-banner-tab .nav-link {
    align-items: center !important;
    border-radius: 7px !important;
    display: flex !important;
    font-size: 0.82rem !important;
    justify-content: center !important;
    line-height: 1.15 !important;
    min-height: 36px !important;
    padding: 0.38rem 0.3rem !important;
    white-space: normal !important;
}

.site-corretor.broker-template-3 .broker-home-template-3 .broker-search-module .rld-main-search > .row {
    align-items: stretch !important;
    display: grid !important;
    gap: 0.55rem !important;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.88fr) 112px !important;
    margin: 0 !important;
}

.site-corretor.broker-template-3 .broker-home-template-3 .broker-search-module #tabs_2 .rld-main-search > .row {
    grid-template-columns: minmax(0, 1fr) 112px !important;
}

.site-corretor.broker-template-3 .broker-home-template-3 .broker-search-module .rld-single-input,
.site-corretor.broker-template-3 .broker-home-template-3 .broker-search-module .rld-single-select,
.site-corretor.broker-template-3 .broker-home-template-3 .broker-search-module .broker-search-action,
.site-corretor.broker-template-3 .broker-home-template-3 .broker-search-module .form-group,
.site-corretor.broker-template-3 .broker-home-template-3 .broker-search-module [class*="col-"],
.site-corretor.broker-template-3 .broker-home-template-3 .broker-search-module .select2-container,
.site-corretor.broker-template-3 .broker-home-template-3 .broker-search-module input,
.site-corretor.broker-template-3 .broker-home-template-3 .broker-search-module .form-control {
    flex: none !important;
    margin: 0 !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
}

.site-corretor.broker-template-3 .broker-home-template-3 .broker-search-module input,
.site-corretor.broker-template-3 .broker-home-template-3 .broker-search-module .form-control,
.site-corretor.broker-template-3 .broker-home-template-3 .broker-search-module .select2-container--default .select2-selection--single,
.site-corretor.broker-template-3 .broker-home-template-3 .broker-search-module #btnBuscar,
.site-corretor.broker-template-3 .broker-home-template-3 .broker-search-module #btnBuscarPorCodigo {
    height: 42px !important;
    min-height: 42px !important;
}

.site-corretor.broker-template-3 .broker-home-template-3 .broker-modern-map-board {
    align-content: end !important;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.07)),
        rgba(255, 255, 255, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    border-radius: 10px !important;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22) !important;
    color: #fff !important;
    display: grid !important;
    gap: 1.35rem !important;
    min-height: 410px !important;
    padding: 1.35rem !important;
}

.site-corretor.broker-template-3 .broker-home-template-3 .broker-modern-map-board > span {
    color: var(--broker-layout-brand) !important;
}

.site-corretor.broker-template-3 .broker-home-template-3 .broker-modern-map-board strong {
    color: #fff !important;
    font-size: clamp(1.45rem, 2vw, 2.1rem) !important;
    line-height: 1.08 !important;
}

.site-corretor.broker-template-3 .broker-home-template-3 .broker-modern-map-board ul {
    display: grid !important;
    gap: 0.62rem !important;
    margin: 0 !important;
    padding: 0 !important;
}

.site-corretor.broker-template-3 .broker-home-template-3 .broker-modern-map-board li {
    align-items: center !important;
    background: rgba(255, 255, 255, 0.13) !important;
    border: 1px solid rgba(255, 255, 255, 0.17) !important;
    border-radius: 8px !important;
    display: flex !important;
    gap: 0.9rem !important;
    justify-content: space-between !important;
    padding: 0.78rem 0.85rem !important;
}

.site-corretor.broker-template-3 .broker-home-template-3 .broker-modern-map-board li b,
.site-corretor.broker-template-3 .broker-home-template-3 .broker-modern-map-board li span {
    color: #fff !important;
}

.site-corretor.broker-template-3 .broker-home-template-3 .broker-modern-map-board li span {
    color: rgba(255, 255, 255, 0.72) !important;
    font-size: 0.78rem !important;
}

.site-corretor.broker-template-7 .broker-advisory-home {
    min-height: clamp(620px, calc(100vh - 42px), 760px) !important;
    padding: clamp(7.8rem, 8.6vw, 10rem) 0 clamp(3rem, 4.7vw, 4.6rem) !important;
}

.site-corretor.broker-template-7 .broker-advisory-home .container {
    align-items: center !important;
    display: grid !important;
    gap: clamp(2rem, 5vw, 5rem) !important;
    grid-template-columns: minmax(0, 0.98fr) minmax(410px, 560px) !important;
}

.site-corretor.broker-template-7 .broker-advisory-intro {
    max-width: 650px !important;
}

.site-corretor.broker-template-7 .broker-advisory-home h1 {
    font-size: clamp(2.55rem, 3.8vw, 4.15rem) !important;
    line-height: 1.04 !important;
    margin-bottom: 1rem !important;
    max-width: 660px !important;
}

.site-corretor.broker-template-7 .broker-advisory-intro p {
    font-size: clamp(1rem, 1.18vw, 1.16rem) !important;
    max-width: 560px !important;
}

.site-corretor.broker-template-7 .broker-advisory-proofline {
    gap: 0.55rem !important;
    margin-top: 1.35rem !important;
}

.site-corretor.broker-template-7 .broker-advisory-search-shell {
    border-radius: 10px !important;
    justify-self: end !important;
    max-width: 560px !important;
    overflow: visible !important;
    padding: 0.95rem !important;
    width: 100% !important;
}

.site-corretor.broker-template-7 .broker-advisory-search-title {
    align-items: center !important;
    gap: 0.8rem !important;
    margin-bottom: 0.75rem !important;
    padding: 0 0 0.75rem !important;
}

.site-corretor.broker-template-7 .broker-advisory-search-title strong {
    font-size: 0.98rem !important;
}

.site-corretor.broker-template-7 .broker-advisory-search-title span {
    font-size: 0.74rem !important;
    max-width: 210px !important;
    text-align: right !important;
}

.site-corretor.broker-template-7.homepage-3 .broker-advisory-search-shell .broker-search-module .rld-banner-tab {
    gap: 0.28rem !important;
    margin-bottom: 0.68rem !important;
    padding: 0.28rem !important;
}

.site-corretor.broker-template-7.homepage-3 .broker-advisory-search-shell .broker-search-module .rld-banner-tab .nav-link {
    align-items: center !important;
    display: flex !important;
    font-size: 0.82rem !important;
    justify-content: center !important;
    min-height: 38px !important;
    padding: 0.38rem 0.3rem !important;
}

.site-corretor.broker-template-7.homepage-3 .broker-advisory-search-shell .broker-search-module .rld-main-search > .row,
.site-corretor.broker-template-7.homepage-3 .broker-advisory-search-shell .broker-search-module #tabs_1 .rld-main-search > .row {
    gap: 0.55rem !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.86fr) !important;
}

.site-corretor.broker-template-7.homepage-3 .broker-advisory-search-shell .broker-search-module .broker-search-action {
    grid-column: 1 / -1 !important;
}

.site-corretor.broker-template-7.homepage-3 .broker-advisory-search-shell .broker-search-module #tabs_2 .rld-main-search > .row {
    grid-template-columns: minmax(0, 1fr) !important;
}

.site-corretor.broker-template-7.homepage-3 .broker-advisory-search-shell .broker-search-module input,
.site-corretor.broker-template-7.homepage-3 .broker-advisory-search-shell .broker-search-module .form-control,
.site-corretor.broker-template-7.homepage-3 .broker-advisory-search-shell .broker-search-module .select2-container--default .select2-selection--single,
.site-corretor.broker-template-7.homepage-3 .broker-advisory-search-shell .broker-search-module #btnBuscar,
.site-corretor.broker-template-7.homepage-3 .broker-advisory-search-shell .broker-search-module #btnBuscarPorCodigo {
    height: 43px !important;
    min-height: 43px !important;
}

.site-corretor.broker-template-7.homepage-3 .broker-advisory-search-shell .broker-search-module #btnBuscar,
.site-corretor.broker-template-7.homepage-3 .broker-advisory-search-shell .broker-search-module #btnBuscarPorCodigo {
    width: 100% !important;
}

@media (max-width: 1199.98px) {
    .site-corretor.broker-template-3 .broker-home-template-3 .broker-modern-map-grid,
    .site-corretor.broker-template-7 .broker-advisory-home .container {
        gap: 2rem !important;
        grid-template-columns: minmax(0, 1fr) minmax(360px, 520px) !important;
    }

    .site-corretor.broker-template-3 .broker-home-template-3 .broker-modern-map-search h1,
    .site-corretor.broker-template-7 .broker-advisory-home h1 {
        font-size: clamp(2.35rem, 4vw, 3.45rem) !important;
    }
}

@media (max-width: 991.98px) {
    .site-corretor.broker-template-3 .broker-home-template-3.broker-modern-map,
    .site-corretor.broker-template-7 .broker-advisory-home {
        min-height: 0 !important;
        padding: 5.2rem 0 3.2rem !important;
    }

    .site-corretor.broker-template-7 .broker-advisory-home {
        padding-top: 7.6rem !important;
    }

    .site-corretor.broker-template-3 .broker-home-template-3 .broker-modern-map-grid,
    .site-corretor.broker-template-7 .broker-advisory-home .container {
        grid-template-columns: 1fr !important;
    }

    .site-corretor.broker-template-3 .broker-home-template-3 .broker-modern-map-board,
    .site-corretor.broker-template-7 .broker-advisory-search-shell {
        justify-self: stretch !important;
        max-width: none !important;
        min-height: 0 !important;
    }
}

@media (max-width: 575.98px) {
    .site-corretor.broker-template-3 .broker-home-template-3.broker-modern-map,
    .site-corretor.broker-template-7 .broker-advisory-home {
        padding: 4.4rem 0 2.4rem !important;
    }

    .site-corretor.broker-template-7 .broker-advisory-home {
        padding-top: 8.75rem !important;
    }

    .site-corretor.broker-template-3 .broker-home-template-3 .broker-modern-map-search h1,
    .site-corretor.broker-template-7 .broker-advisory-home h1 {
        font-size: clamp(1.95rem, 9vw, 2.35rem) !important;
        line-height: 1.08 !important;
    }

    .site-corretor.broker-template-3 .broker-home-template-3 .broker-search-module .rld-banner-tab,
    .site-corretor.broker-template-7.homepage-3 .broker-advisory-search-shell .broker-search-module .rld-banner-tab {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .site-corretor.broker-template-3 .broker-home-template-3 .broker-modern-map-board {
        display: none !important;
    }

    .site-corretor.broker-template-3 .broker-home-template-3 .broker-search-module .rld-main-search > .row,
    .site-corretor.broker-template-3 .broker-home-template-3 .broker-search-module #tabs_2 .rld-main-search > .row,
    .site-corretor.broker-template-7.homepage-3 .broker-advisory-search-shell .broker-search-module .rld-main-search > .row,
    .site-corretor.broker-template-7.homepage-3 .broker-advisory-search-shell .broker-search-module #tabs_1 .rld-main-search > .row,
    .site-corretor.broker-template-7.homepage-3 .broker-advisory-search-shell .broker-search-module #tabs_2 .rld-main-search > .row {
        grid-template-columns: 1fr !important;
    }

    .site-corretor.broker-template-7 .broker-advisory-search-title {
        align-items: start !important;
    }

    .site-corretor.broker-template-7 .broker-advisory-search-title span {
        max-width: none !important;
        text-align: left !important;
    }
}

/* Template 7 search box spacing pass. */
.site-corretor.broker-template-7 .broker-advisory-search-shell {
    background: rgba(255, 255, 255, 0.96) !important;
    border: 1px solid rgba(255, 255, 255, 0.72) !important;
    border-radius: 12px !important;
    padding: 1.1rem !important;
}

.site-corretor.broker-template-7 .broker-advisory-search-title {
    align-items: flex-start !important;
    border-bottom: 1px solid rgba(17, 24, 39, 0.1) !important;
    margin: 0 0 0.78rem !important;
    padding: 0 0 0.68rem !important;
}

.site-corretor.broker-template-7 .broker-advisory-search-title strong {
    font-size: 1rem !important;
}

.site-corretor.broker-template-7 .broker-advisory-search-title span {
    font-size: 0.74rem !important;
    line-height: 1.25 !important;
}

.site-corretor.broker-template-7.homepage-3 .broker-advisory-search-shell .broker-search-module .rld-banner-tab {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    display: grid !important;
    gap: 0.38rem !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    margin: 0 0 0.82rem !important;
    padding: 0 !important;
}

.site-corretor.broker-template-7.homepage-3 .broker-advisory-search-shell .broker-search-module .rld-banner-tab .nav-link {
    background: rgba(17, 24, 39, 0.045) !important;
    border: 1px solid rgba(17, 24, 39, 0.08) !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    color: var(--template-7-muted) !important;
    font-size: 0.78rem !important;
    height: 37px !important;
    margin: 0 !important;
    min-height: 37px !important;
    padding: 0.34rem 0.28rem !important;
}

.site-corretor.broker-template-7.homepage-3 .broker-advisory-search-shell .broker-search-module .rld-banner-tab .nav-item {
    margin: 0 !important;
}

.site-corretor.broker-template-7.homepage-3 .broker-advisory-search-shell .broker-search-module .rld-banner-tab .nav-link.active,
.site-corretor.broker-template-7.homepage-3 .broker-advisory-search-shell .broker-search-module .rld-banner-tab .nav-link:hover {
    background: var(--broker-layout-brand) !important;
    border-color: var(--broker-layout-brand) !important;
    color: var(--broker-layout-button-text) !important;
}

.site-corretor.broker-template-7.homepage-3 .broker-advisory-search-shell .broker-search-module .rld-banner-tab .nav-link::before,
.site-corretor.broker-template-7.homepage-3 .broker-advisory-search-shell .broker-search-module .rld-banner-tab .nav-link::after {
    display: none !important;
}

.site-corretor.broker-template-7.homepage-3 .broker-advisory-search-shell .broker-search-module .rld-main-search > .row,
.site-corretor.broker-template-7.homepage-3 .broker-advisory-search-shell .broker-search-module #tabs_1 .rld-main-search > .row {
    align-items: stretch !important;
    gap: 0.5rem !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr) 108px !important;
}

.site-corretor.broker-template-7.homepage-3 .broker-advisory-search-shell .broker-search-module .broker-search-action {
    grid-column: auto !important;
}

.site-corretor.broker-template-7.homepage-3 .broker-advisory-search-shell .broker-search-module input,
.site-corretor.broker-template-7.homepage-3 .broker-advisory-search-shell .broker-search-module .form-control,
.site-corretor.broker-template-7.homepage-3 .broker-advisory-search-shell .broker-search-module .select2-container--default .select2-selection--single,
.site-corretor.broker-template-7.homepage-3 .broker-advisory-search-shell .broker-search-module #btnBuscar,
.site-corretor.broker-template-7.homepage-3 .broker-advisory-search-shell .broker-search-module #btnBuscarPorCodigo {
    height: 42px !important;
    min-height: 42px !important;
}

.site-corretor.broker-template-7.homepage-3 .broker-advisory-search-shell .broker-search-module #btnBuscar,
.site-corretor.broker-template-7.homepage-3 .broker-advisory-search-shell .broker-search-module #btnBuscarPorCodigo {
    border-radius: 8px !important;
    font-size: 0.82rem !important;
    padding-left: 0.7rem !important;
    padding-right: 0.7rem !important;
    width: 100% !important;
}

@media (max-width: 575.98px) {
    .site-corretor.broker-template-7 .broker-advisory-search-shell {
        padding: 0.78rem !important;
    }

    .site-corretor.broker-template-7 .broker-advisory-search-title {
        display: grid !important;
        gap: 0 !important;
        margin-bottom: 0.58rem !important;
        padding-bottom: 0.52rem !important;
    }

    .site-corretor.broker-template-7 .broker-advisory-search-title span {
        display: none !important;
    }

    .site-corretor.broker-template-7.homepage-3 .broker-advisory-search-shell .broker-search-module .rld-banner-tab {
        gap: 0.28rem !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        margin-bottom: 0.58rem !important;
    }

    .site-corretor.broker-template-7.homepage-3 .broker-advisory-search-shell .broker-search-module .rld-banner-tab .nav-link {
        font-size: 0.74rem !important;
        height: 34px !important;
        margin: 0 !important;
        min-height: 34px !important;
        padding: 0.24rem 0.2rem !important;
    }

    .site-corretor.broker-template-7.homepage-3 .broker-advisory-search-shell .broker-search-module .rld-main-search > .row,
    .site-corretor.broker-template-7.homepage-3 .broker-advisory-search-shell .broker-search-module #tabs_1 .rld-main-search > .row,
    .site-corretor.broker-template-7.homepage-3 .broker-advisory-search-shell .broker-search-module #tabs_2 .rld-main-search > .row {
        gap: 0.42rem !important;
        grid-template-columns: 1fr !important;
    }

    .site-corretor.broker-template-7.homepage-3 .broker-advisory-search-shell .broker-search-module input,
    .site-corretor.broker-template-7.homepage-3 .broker-advisory-search-shell .broker-search-module .form-control,
    .site-corretor.broker-template-7.homepage-3 .broker-advisory-search-shell .broker-search-module .select2-container--default .select2-selection--single,
    .site-corretor.broker-template-7.homepage-3 .broker-advisory-search-shell .broker-search-module #btnBuscar,
    .site-corretor.broker-template-7.homepage-3 .broker-advisory-search-shell .broker-search-module #btnBuscarPorCodigo {
        height: 40px !important;
        min-height: 40px !important;
    }
}

/* Listing pages: keep the focus on properties, not on result-count chrome. */
.site-corretor.inner-pages.listing .broker-listing-template-page {
    padding-top: 1rem !important;
}

.site-corretor.inner-pages.listing .broker-listing-hero {
    align-items: center !important;
    background: #fff !important;
    border: 1px solid rgba(148, 163, 184, 0.22) !important;
    border-left: 3px solid var(--broker-layout-brand, var(--broker-brand, #f5b000)) !important;
    border-radius: 8px !important;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.045) !important;
    display: flex !important;
    gap: 0.8rem !important;
    justify-content: space-between !important;
    margin: 0 0 0.72rem !important;
    min-height: 0 !important;
    padding: 0.62rem 0.85rem !important;
}

.site-corretor.inner-pages.listing .broker-listing-hero-copy {
    align-items: center !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.5rem !important;
    min-width: 0 !important;
}

.site-corretor.inner-pages.listing .broker-listing-hero-copy > span {
    background: rgba(245, 176, 0, 0.12) !important;
    border-radius: 999px !important;
    color: var(--broker-layout-brand, var(--broker-brand, #f5b000)) !important;
    font-size: 0.68rem !important;
    font-weight: 900 !important;
    letter-spacing: 0 !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0.28rem 0.5rem !important;
    text-transform: uppercase !important;
}

.site-corretor.inner-pages.listing .broker-listing-hero-copy .tituloHeader {
    color: #334155 !important;
    font-size: 0.9rem !important;
    font-weight: 750 !important;
    line-height: 1.2 !important;
    margin: 0 !important;
}

.site-corretor.inner-pages.listing .broker-listing-hero-actions {
    display: none !important;
}

/* Template 7 listing: compact horizontal search, not a dominant sidebar. */
.site-corretor.broker-template-7.inner-pages.listing .broker-listing-template-page > .container > .row {
    align-items: start !important;
    display: grid !important;
    gap: 0.85rem !important;
    grid-template-columns: 1fr !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.site-corretor.broker-template-7.inner-pages.listing .broker-listing-template-page > .container > .row > aside.car,
.site-corretor.broker-template-7.inner-pages.listing .broker-listing-template-page > .container > .row > .blog-pots {
    flex: none !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
}

.site-corretor.broker-template-7.inner-pages.listing .widget-boxed.main-search-field {
    background: #fff !important;
    border: 1px solid rgba(148, 163, 184, 0.24) !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.055) !important;
    margin: 0 !important;
    padding: 0.72rem !important;
}

.site-corretor.broker-template-7.inner-pages.listing .widget-boxed.main-search-field .widget-boxed-header {
    align-items: center !important;
    border: 0 !important;
    display: flex !important;
    justify-content: space-between !important;
    margin: 0 0 0.58rem !important;
    padding: 0 !important;
}

.site-corretor.broker-template-7.inner-pages.listing .widget-boxed.main-search-field .widget-boxed-header h4 {
    color: #111827 !important;
    font-size: 0.98rem !important;
    font-weight: 900 !important;
    line-height: 1.15 !important;
    margin: 0 !important;
}

.site-corretor.broker-template-7.inner-pages.listing .listing-filter-toggle {
    display: none !important;
}

.site-corretor.broker-template-7.inner-pages.listing .listing-filter-content,
.site-corretor.broker-template-7.inner-pages.listing .listing-filter-content.is-open {
    align-items: end !important;
    display: grid !important;
    gap: 0.58rem 0.7rem !important;
    grid-template-columns: minmax(210px, 1.15fr) minmax(180px, 0.9fr) minmax(190px, 1fr) minmax(170px, 0.9fr) !important;
}

.site-corretor.broker-template-7.inner-pages.listing .listing-filter-content .main-search-field-2,
.site-corretor.broker-template-7.inner-pages.listing .listing-filter-content .form-group,
.site-corretor.broker-template-7.inner-pages.listing .listing-filter-content .range-slider {
    margin: 0 !important;
    min-width: 0 !important;
    padding: 0 !important;
}

.site-corretor.broker-template-7.inner-pages.listing .listing-filter-content label {
    color: #475569 !important;
    font-size: 0.7rem !important;
    font-weight: 850 !important;
    line-height: 1.1 !important;
    margin-bottom: 0.32rem !important;
}

.site-corretor.broker-template-7.inner-pages.listing .listing-filter-content .form-control,
.site-corretor.broker-template-7.inner-pages.listing .listing-filter-content .typeahead,
.site-corretor.broker-template-7.inner-pages.listing .listing-filter-content .select2-container--default .select2-selection--single {
    border: 1px solid rgba(148, 163, 184, 0.38) !important;
    border-radius: 7px !important;
    font-size: 0.84rem !important;
    height: 36px !important;
    min-height: 36px !important;
}

.site-corretor.broker-template-7.inner-pages.listing .listing-filter-content .main-search-input-item,
.site-corretor.broker-template-7.inner-pages.listing .listing-filter-content .form-group.looking input {
    height: 36px !important;
}

.site-corretor.broker-template-7.inner-pages.listing .listing-filter-content .btn-group.rdBusca {
    gap: 0.28rem !important;
}

.site-corretor.broker-template-7.inner-pages.listing .listing-filter-content .btn.btn-boxes {
    border-radius: 7px !important;
    font-size: 0.78rem !important;
    min-height: 30px !important;
    padding: 0.18rem 0.36rem !important;
}

.site-corretor.broker-template-7.inner-pages.listing .listing-filter-content .range-slider {
    min-height: 48px !important;
}

.site-corretor.broker-template-7.inner-pages.listing .listing-filter-content .ui-slider,
.site-corretor.broker-template-7.inner-pages.listing .listing-filter-content .ui-slider-horizontal {
    height: 4px !important;
    margin: 0.58rem 0 0.45rem !important;
}

.site-corretor.broker-template-7.inner-pages.listing .listing-filter-content .first-slider-value,
.site-corretor.broker-template-7.inner-pages.listing .listing-filter-content .second-slider-value {
    color: #64748b !important;
    font-size: 0.72rem !important;
    height: auto !important;
    line-height: 1.2 !important;
}

.site-corretor.broker-template-7.inner-pages.listing .listing-filter-content .col-lg-12.no-pds {
    flex: none !important;
    grid-column: auto !important;
    max-width: none !important;
    padding: 0 !important;
    width: 100% !important;
}

.site-corretor.broker-template-7.inner-pages.listing .listing-filter-content .at-col-default-mar {
    margin: 0 !important;
}

.site-corretor.broker-template-7.inner-pages.listing .listing-filter-content #btnBuscar {
    align-items: center !important;
    border-radius: 7px !important;
    display: inline-flex !important;
    font-size: 0.84rem !important;
    justify-content: center !important;
    min-height: 36px !important;
    padding: 0.45rem 0.75rem !important;
    width: 100% !important;
}

.site-corretor.broker-template-7.inner-pages.listing .listing-results-toolbar {
    margin-top: 0 !important;
}

@media (max-width: 1199.98px) {
    .site-corretor.broker-template-7.inner-pages.listing .listing-filter-toggle {
        align-items: center !important;
        display: inline-flex !important;
        gap: 0.45rem !important;
        justify-content: center !important;
        margin: 0 !important;
        min-height: 34px !important;
        padding: 0.35rem 0.65rem !important;
    }

    .site-corretor.broker-template-7.inner-pages.listing .listing-filter-content,
    .site-corretor.broker-template-7.inner-pages.listing .listing-filter-content.is-open {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 575.98px) {
    .site-corretor.inner-pages.listing .broker-listing-hero {
        margin-left: 15px !important;
        margin-right: 15px !important;
        padding: 0.55rem 0.68rem !important;
    }

    .site-corretor.inner-pages.listing .broker-listing-hero-copy .tituloHeader {
        font-size: 0.84rem !important;
    }

    .site-corretor.broker-template-7.inner-pages.listing .widget-boxed.main-search-field {
        margin-left: 15px !important;
        margin-right: 15px !important;
        padding: 0.68rem !important;
    }

    .site-corretor.broker-template-7.inner-pages.listing .listing-filter-content,
    .site-corretor.broker-template-7.inner-pages.listing .listing-filter-content.is-open {
        gap: 0.56rem !important;
        grid-template-columns: 1fr !important;
    }
}

/* Listing pages: keep a subtle result-count line instead of an oversized banner. */
.site-corretor.inner-pages.listing .broker-listing-template-page > .container > .broker-listing-hero,
.site-corretor[class*="broker-template-"].inner-pages.listing .broker-listing-template-page > .container > .broker-listing-hero,
.site-corretor[class*="broker-template-"].inner-pages.listing .broker-listing-hero {
    align-items: center !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    display: flex !important;
    gap: 0.42rem !important;
    height: 1.35rem !important;
    justify-content: flex-start !important;
    margin: 0 0 0.45rem !important;
    max-height: 1.35rem !important;
    min-height: 0 !important;
    overflow: visible !important;
    padding: 0 !important;
}

.site-corretor[class*="broker-template-"].inner-pages.listing .broker-listing-hero-copy {
    align-items: center !important;
    align-self: center !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.42rem !important;
    height: 1.35rem !important;
    max-height: 1.35rem !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
}

.site-corretor[class*="broker-template-"].inner-pages.listing .broker-listing-hero-copy > span {
    background: transparent !important;
    border-radius: 0 !important;
    color: var(--broker-layout-brand, var(--broker-brand, #f5b000)) !important;
    font-size: 0.66rem !important;
    font-weight: 900 !important;
    letter-spacing: 0 !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    text-transform: uppercase !important;
}

.site-corretor[class*="broker-template-"].inner-pages.listing .broker-listing-hero-copy .tituloHeader {
    align-items: center !important;
    align-self: center !important;
    background: transparent !important;
    color: #64748b !important;
    display: inline-flex !important;
    font-size: 0.82rem !important;
    flex: 0 0 auto !important;
    font-weight: 650 !important;
    gap: 0.28rem !important;
    height: 1.35rem !important;
    max-height: 1.35rem !important;
    min-height: 0 !important;
    line-height: 1.2 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.site-corretor[class*="broker-template-"].inner-pages.listing .broker-listing-hero-copy .tituloHeader i,
.site-corretor[class*="broker-template-"].inner-pages.listing .broker-listing-hero-copy .tituloHeader small {
    font-size: inherit !important;
    line-height: 1.2 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.site-corretor[class*="broker-template-"].inner-pages.listing .broker-listing-hero-actions {
    display: none !important;
}

/* Template 7 listing search: make the filter a compact working tool. */
.site-corretor.broker-template-7.inner-pages.listing .widget-boxed.main-search-field {
    padding: 0.62rem !important;
}

.site-corretor.broker-template-7.inner-pages.listing .widget-boxed.main-search-field .widget-boxed-header {
    display: none !important;
}

.site-corretor.broker-template-7.inner-pages.listing .listing-filter-content,
.site-corretor.broker-template-7.inner-pages.listing .listing-filter-content.is-open {
    gap: 0.46rem 0.62rem !important;
}

.site-corretor.broker-template-7.inner-pages.listing .listing-filter-content label {
    margin-bottom: 0.24rem !important;
}

.site-corretor.broker-template-7.inner-pages.listing .listing-filter-content .form-control,
.site-corretor.broker-template-7.inner-pages.listing .listing-filter-content .typeahead,
.site-corretor.broker-template-7.inner-pages.listing .listing-filter-content .select2-container--default .select2-selection--single,
.site-corretor.broker-template-7.inner-pages.listing .listing-filter-content .main-search-input-item,
.site-corretor.broker-template-7.inner-pages.listing .listing-filter-content .form-group.looking input {
    height: 34px !important;
    min-height: 34px !important;
}

.site-corretor.broker-template-7.inner-pages.listing .listing-filter-content .btn.btn-boxes {
    min-height: 28px !important;
    padding: 0.15rem 0.32rem !important;
}

.site-corretor.broker-template-7.inner-pages.listing .listing-filter-content .range-slider {
    min-height: 42px !important;
}

.site-corretor.broker-template-7.inner-pages.listing .listing-filter-content .ui-slider,
.site-corretor.broker-template-7.inner-pages.listing .listing-filter-content .ui-slider-horizontal {
    margin: 0.5rem 0 0.36rem !important;
}

.site-corretor.broker-template-7.inner-pages.listing .listing-filter-content .col-lg-12.no-pds,
.site-corretor.broker-template-7.inner-pages.listing .listing-filter-content .col-lg-12.no-pds .at-col-default-mar {
    height: auto !important;
}

.site-corretor.broker-template-7.inner-pages.listing .listing-filter-content #btnBuscar {
    height: 34px !important;
    margin: 0 !important;
    min-height: 34px !important;
    padding: 0.38rem 0.72rem !important;
}

@media (max-width: 1199.98px) {
    .site-corretor.broker-template-7.inner-pages.listing .listing-filter-content:not(.is-open) {
        display: none !important;
    }

    .site-corretor.broker-template-7.inner-pages.listing .listing-filter-content.is-open {
        display: grid !important;
    }
}

.site-corretor.broker-template-7.inner-pages.listing .property-advisory-footer .compare {
    align-items: center !important;
    display: flex !important;
    flex: 0 0 auto !important;
    gap: 0.5rem !important;
    margin-left: 1rem !important;
    width: auto !important;
}

.site-corretor.broker-template-7.inner-pages.listing .property-advisory-footer .compare .property-list-details-link {
    background: #334155 !important;
    border: 0 !important;
    border-radius: 8px !important;
    color: #fff !important;
    flex: 0 0 auto !important;
    font-size: 0.78rem !important;
    height: 36px !important;
    min-height: 36px !important;
    min-width: 108px !important;
    overflow: hidden !important;
    padding: 0 0.72rem !important;
    width: auto !important;
}

.site-corretor.broker-template-7.inner-pages.listing .property-advisory-footer .compare a:not(.property-list-details-link) {
    flex: 0 0 36px !important;
    height: 36px !important;
    width: 36px !important;
}

@media (max-width: 575.98px) {
    .site-corretor.broker-template-7.inner-pages.listing .property-advisory-footer .compare {
        margin-left: 0.55rem !important;
    }

    .site-corretor.broker-template-7.inner-pages.listing .property-advisory-footer .compare .property-list-details-link {
        display: none !important;
    }
}

@media (max-width: 575.98px) {
    .site-corretor[class*="broker-template-"].inner-pages.listing .broker-listing-template-page {
        padding-top: 0.45rem !important;
    }

    .site-corretor[class*="broker-template-"].inner-pages.listing section.properties-right.list.featured.portfolio.blog.pt-5.broker-listing-template-page {
        padding-top: 0.45rem !important;
    }

    .site-corretor[class*="broker-template-"].inner-pages.listing .broker-listing-hero {
        height: 1.1rem !important;
        margin: 0 15px 0.2rem !important;
        max-height: 1.1rem !important;
    }

    .site-corretor[class*="broker-template-"].inner-pages.listing .broker-listing-hero-copy,
    .site-corretor[class*="broker-template-"].inner-pages.listing .broker-listing-hero-copy .tituloHeader {
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
        height: 1.1rem !important;
        max-height: 1.1rem !important;
        padding: 0 !important;
    }

    .site-corretor[class*="broker-template-"].inner-pages.listing .broker-listing-hero-copy > span,
    .site-corretor:is(.broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .broker-listing-hero-copy span,
    .site-corretor.broker-template-8.inner-pages.listing .broker-listing-hero-copy span {
        background: transparent !important;
        border-radius: 0 !important;
        font-size: 0.62rem !important;
        padding: 0 !important;
    }

    .site-corretor[class*="broker-template-"].inner-pages.listing .broker-listing-hero-copy .tituloHeader,
    .site-corretor[class*="broker-template-"].inner-pages.listing .broker-listing-hero-copy .tituloHeader i,
    .site-corretor[class*="broker-template-"].inner-pages.listing .broker-listing-hero-copy .tituloHeader small {
        font-size: 0.72rem !important;
    }

    .site-corretor[class*="broker-template-"].inner-pages.listing .broker-listing-template-page > .container > .row {
        margin-top: 0 !important;
    }

    .site-corretor[class*="broker-template-"].inner-pages.listing .broker-listing-template-page aside.car,
    .site-corretor[class*="broker-template-"].inner-pages.listing .broker-listing-template-page aside.car > .widget,
    .site-corretor[class*="broker-template-"].inner-pages.listing .broker-listing-template-page aside.car .widget {
        margin-bottom: 0.45rem !important;
        padding-top: 0 !important;
    }

    .site-corretor[class*="broker-template-"].inner-pages.listing .widget-boxed.main-search-field {
        margin: 0 15px 0.45rem !important;
        padding: 0.45rem !important;
    }

    .site-corretor[class*="broker-template-"].inner-pages.listing .widget-boxed.main-search-field .widget-boxed-header {
        display: none !important;
    }

    .site-corretor[class*="broker-template-"].inner-pages.listing .listing-filter-toggle {
        font-size: 0.9rem !important;
        height: 34px !important;
        min-height: 34px !important;
        padding: 0.32rem 0.6rem !important;
    }

    .site-corretor[class*="broker-template-"].inner-pages.listing .listing-results-toolbar {
        gap: 0.38rem !important;
        margin: 0.45rem 15px 0.6rem !important;
        padding: 0.35rem !important;
    }

    .site-corretor[class*="broker-template-"].inner-pages.listing .listing-intent-tabs .nav-link {
        font-size: 0.86rem !important;
        min-height: 34px !important;
        padding: 0.42rem 0.56rem !important;
    }

    .site-corretor[class*="broker-template-"].inner-pages.listing .listing-sort-control {
        min-height: 38px !important;
        padding: 0.24rem 0.3rem !important;
    }

    .site-corretor[class*="broker-template-"].inner-pages.listing .listing-sort-control label {
        display: none !important;
    }

    .site-corretor[class*="broker-template-"].inner-pages.listing .listing-sort-control .sortby {
        min-height: 34px !important;
    }
}

@media (max-width: 575.98px) {
    .site-corretor[class*="broker-template-"].inner-pages.listing .listing-results-toolbar {
        align-items: center !important;
        display: grid !important;
        gap: 0.3rem !important;
        grid-template-columns: minmax(0, 1fr) 102px !important;
        margin: 0.32rem 15px 0.5rem !important;
        padding: 0.28rem !important;
    }

    .site-corretor[class*="broker-template-"].inner-pages.listing .listing-intent-tabs {
        display: grid !important;
        gap: 0.2rem !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        min-width: 0 !important;
        width: 100% !important;
    }

    .site-corretor[class*="broker-template-"].inner-pages.listing .listing-intent-tabs .nav-link {
        border-radius: 7px !important;
        font-size: 0.72rem !important;
        min-height: 31px !important;
        overflow: hidden !important;
        padding: 0.28rem 0.18rem !important;
        text-overflow: ellipsis !important;
        width: 100% !important;
    }

    .site-corretor[class*="broker-template-"].inner-pages.listing .listing-sort-control {
        align-items: center !important;
        align-self: stretch !important;
        flex-direction: row !important;
        gap: 0 !important;
        justify-content: center !important;
        min-height: 31px !important;
        padding: 0 !important;
        width: 102px !important;
    }

    .site-corretor[class*="broker-template-"].inner-pages.listing .listing-sort-control .sortby {
        border-radius: 7px !important;
        font-size: 0.72rem !important;
        height: 31px !important;
        min-height: 31px !important;
        min-width: 0 !important;
        padding: 0 0.36rem !important;
        width: 100% !important;
    }

    .site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .broker-listing-hero {
        margin-left: 15px !important;
        margin-right: 15px !important;
    }

    .site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5).inner-pages.listing .widget-boxed.main-search-field {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

.site-corretor.broker-template-8.inner-pages.listing .broker-listing-template-page > .container > .broker-listing-hero .broker-listing-hero-copy,
.site-corretor.broker-template-8.inner-pages.listing .broker-listing-hero .broker-listing-hero-copy {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    height: 1.35rem !important;
    max-height: 1.35rem !important;
    min-height: 0 !important;
    padding: 0 !important;
}

@media (max-width: 575.98px) {
    .site-corretor.broker-template-8.inner-pages.listing .broker-listing-template-page > .container > .broker-listing-hero .broker-listing-hero-copy,
    .site-corretor.broker-template-8.inner-pages.listing .broker-listing-hero .broker-listing-hero-copy {
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
        height: 1.1rem !important;
        max-height: 1.1rem !important;
        min-height: 0 !important;
        padding: 0 !important;
    }
}

@media (max-width: 575.98px) {
    .site-corretor.broker-template-1.inner-pages.listing .broker-listing-template-page > .container > .broker-listing-hero,
    .site-corretor.broker-template-1.inner-pages.listing .broker-listing-template-page aside.car .widget-boxed.main-search-field,
    .site-corretor.broker-template-1.inner-pages.listing .broker-listing-template-page .listing-results-toolbar {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: auto !important;
    }

    .site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .broker-listing-template-page > .container > .broker-listing-hero {
        margin: 0 15px 0.2rem !important;
        width: auto !important;
    }

    .site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5).inner-pages.listing .broker-listing-template-page aside.car .widget-boxed.main-search-field {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: auto !important;
    }
}

@media (min-width: 576px) and (max-width: 991.98px) {
    .site-corretor:is(.broker-template-2, .broker-template-3, .broker-template-4, .broker-template-5, .broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .broker-listing-template-page > .container > .broker-listing-hero {
        margin-left: 15px !important;
        margin-right: 15px !important;
        width: auto !important;
    }

    .site-corretor:is(.broker-template-6, .broker-template-7, .broker-template-8).inner-pages.listing .broker-listing-template-page aside.car .widget-boxed.main-search-field {
        margin-left: 15px !important;
        margin-right: 15px !important;
        width: auto !important;
    }
}

/* Final grid alignment for template variants. */
.site-corretor[class*="broker-template-"] {
    --broker-grid-gutter: 24px;
    --broker-site-grid-inner: min(var(--broker-site-grid-max), 100%);
}

@media (max-width: 991.98px) {
    .site-corretor[class*="broker-template-"] {
        --broker-grid-gutter: 15px;
        --broker-site-grid-inner: 100%;
    }
}

.site-corretor[class*="broker-template-"] .container,
.site-corretor[class*="broker-template-"] .container-header,
.site-corretor[class*="broker-template-"] #header.cloned .container-header,
.site-corretor[class*="broker-template-"] .broker-luxury-shell,
.site-corretor[class*="broker-template-"] .broker-portal-hero-grid,
.site-corretor[class*="broker-template-"] .broker-market-shell,
.site-corretor[class*="broker-template-"].inner-pages.listing .properties-right > .container,
.site-corretor[class*="broker-template-"].inner-pages.sin-1 .single-proper.blog.details > .container,
.site-corretor[class*="broker-template-"].broker-page .broker-contact-page > .container,
.site-corretor[class*="broker-template-"].broker-page .broker-content-page > .container,
.site-corretor[class*="broker-template-"].broker-page .broker-neighborhood-guide > .container {
    box-sizing: border-box !important;
    max-width: var(--broker-site-grid-inner) !important;
    padding-left: var(--broker-grid-gutter) !important;
    padding-right: var(--broker-grid-gutter) !important;
    width: 100% !important;
}

.site-corretor[class*="broker-template-"] #header .container-header,
.site-corretor[class*="broker-template-"] #header.cloned .container-header,
.site-corretor[class*="broker-template-"] .broker-luxury-shell,
.site-corretor[class*="broker-template-"] .broker-portal-hero-grid,
.site-corretor[class*="broker-template-"] .broker-market-shell {
    margin-left: auto !important;
    margin-right: auto !important;
}

.site-corretor[class*="broker-template-"].inner-pages.listing .broker-listing-template-page > .container > .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.site-corretor.broker-template-6 .broker-portal-hero-grid {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.site-corretor[class*="broker-template-"].inner-pages.listing .broker-listing-template-page > .container > .broker-listing-hero,
.site-corretor[class*="broker-template-"].inner-pages.listing .broker-listing-template-page aside.car,
.site-corretor[class*="broker-template-"].inner-pages.listing .broker-listing-template-page .blog-pots,
.site-corretor[class*="broker-template-"].inner-pages.listing .broker-listing-template-page aside.car .widget-boxed.main-search-field,
.site-corretor[class*="broker-template-"].inner-pages.listing .broker-listing-template-page .listing-results-toolbar,
.site-corretor[class*="broker-template-"].inner-pages.listing .broker-listing-template-page #imovel-content {
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100% !important;
}

@media (max-width: 1199.98px) {
    .site-corretor[class*="broker-template-"].inner-pages.listing .broker-listing-template-page aside.car,
    .site-corretor[class*="broker-template-"].inner-pages.listing .broker-listing-template-page .blog-pots,
    .site-corretor[class*="broker-template-"].inner-pages.listing .broker-listing-template-page aside.car .widget-boxed.main-search-field,
    .site-corretor[class*="broker-template-"].inner-pages.listing .broker-listing-template-page .listing-results-toolbar,
    .site-corretor[class*="broker-template-"].inner-pages.listing .broker-listing-template-page #imovel-content,
    .site-corretor[class*="broker-template-"].inner-pages.listing .broker-listing-template-page .property-list-card-row {
        width: 100% !important;
    }
}
