:root {
    --brand-orange: #ff9c00; /* Primary Orange */
    --brand-orange-hover: #e08900;
    --brand-orange-tint: #fffdf9; /* Soft tint for tile backgrounds */
    --brand-black: #000000; /* Corporate Black */
    --brand-navy: #000b26; /* Deep Dark Navy matched to your image */
    --text-main: #1a202c;
    --text-muted: #4a5568;
    --bg-light: #f7fafc;
    --white: #ffffff;
    --page-margin: 8%; /* Centralized alignment margin */
    --placeholder-bg: #e2e8f0; /* Neutral grey for plain placeholders */
    --placeholder-text: #94a3b8;
}

body {
    line-height: 1.5;
    color: var(--text-main);
    margin: 0;
    padding: 0;
    background-color: var(--white);
}

/* Hero Outer Frame */
.hero-outer {
    background-color: var(--bg-light);
    padding: 80px var(--page-margin);
}

.hero-card {
    background-color: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    position: relative;
}

.hero-left {
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
}

/* Hero Image: hero.png background */
.hero-right {
    background-image: url("hero.png");
    background-size: cover;
    background-position: center;
    min-height: 450px;
    clip-path: polygon(15% 0%, 100% 0%, 100% 100%, 0% 100%);
    margin-left: -60px;
    border-left: 1px solid #cbd5e1;
}

h1 {
    color: var(--brand-black);
    font-size: 2.8rem;
    font-weight: 800;
    margin: 0 0 15px 0;
    line-height: 1.2;
}

.hero-text {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 95%;
    line-height: 1.5;
}

.hero-offer {
    align-self: flex-start;
    margin: -8px 0 28px;
    padding: 10px 16px;
    border-left: 4px solid var(--brand-orange);
    border-radius: 4px;
    background: #fff6e6;
    color: var(--brand-navy);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.4;
}

/* Dual CTA Container */
.hero-cta-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Centralized Value Proposition Section */
.value-prop-section {
    padding: 100px var(--page-margin) 60px var(--page-margin);
    max-width: 1200px;
    margin: 0 auto;
}

.value-prop-section h2 {
    font-size: 2rem;
    color: var(--brand-black);
    font-weight: 800;
    margin-top: 0;
    margin-bottom: 50px;
    line-height: 1.4;
    text-align: center;
}

.value-prop-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

/* Image 2: Value Prop Graphic for "Why Choose Rightbiz" section */
.value-prop-graphic {
    width: 100%;
    height: 320px;
    background-color: var(--placeholder-bg);
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    box-sizing: border-box;
}

.value-prop-graphic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.value-prop-text {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

/* Restyled High Impact Data Metrics Section - Matching Reference Image Layout & Brand Colors */
.metrics-section {
    padding: 40px var(--page-margin) 80px var(--page-margin);
    max-width: 1200px;
    margin: 0 auto;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.metric-card {
    background-color: #fff6e6; /* Soft brand orange tint layer */
    border-radius: 16px;
    padding: 60px 30px;
    text-align: center;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.metric-large {
    font-size: 4.8rem;
    font-weight: 800;
    color: var(--brand-navy);
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.metric-desc {
    font-size: 1.15rem;
    color: var(--brand-navy);
    font-weight: 500;
    margin: 0;
    max-width: 85%;
    line-height: 1.4;
}

/* start: Featured */
.featured {
    background-color: #2c4150;
    padding: 100px 0;
}
.featured .overflow-hidden {
    position: relative;
    overflow: hidden;
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    isolation: isolate;
}
.featured-track {
    display: -webkit-flex;
    display: flex;
    width: -webkit-max-content;
    width: max-content;
    will-change: transform;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}
.featured-image {
    display: block;
    height: 61px;
    width: auto;
    max-width: none;
    flex-shrink: 0;
    -webkit-flex-shrink: 0;
}
/* end: Featured */

/* Powerful Targeting UI Grid Section — Swapped from Purple to Orange Palette */
.targeting-section {
    /* Match the .container content width used by the adjacent "Most Recently
       Featured" and "Recently Commercial Sold Property" sections (their content
       runs 136–1304px at a 1440 viewport). The old 8% var(--page-margin) inset
       made the targeting grid 235–1205px, i.e. visibly narrower than the
       section directly below it. Padding of 16px (same as .container) gives the
       identical content edges. */
    padding: 80px 16px 100px 16px;
    max-width: 1200px;
    margin: 0 auto;
}

.targeting-section h2 {
    font-size: 2.5rem;
    color: var(--brand-black);
    font-weight: 800;
    margin-top: 0;
    margin-bottom: 40px;
    letter-spacing: -0.5px;
    text-align: center;
}

.targeting-grid {
    display: grid;
    /* minmax(0, 1fr) (not 1fr) so unequal min-content widths don't force the
       columns uneven and overflow the centred container */
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.targeting-tile {
    background-color: var(--brand-orange-tint);
    border: 1px solid #ffe8cc;
    border-radius: 8px;
    padding: 35px 28px;
    box-sizing: border-box;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.targeting-tile:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 156, 0, 0.08);
    border-color: var(--brand-orange);
}

.tile-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    flex-wrap: nowrap;
}

.tile-icon {
    background-color: var(--brand-orange);
    color: var(--brand-black);
    width: 48px;
    height: 48px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tile-icon svg {
    width: 26px;
    height: 26px;
    fill: currentColor;
}

.tile-header h3 {
    font-size: 1.65rem;
    color: #2d3748;
    font-weight: 700;
    margin: 0;
    white-space: nowrap;
}

.tile-body {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* Slidable Testimonials Segment */
.testimonial-section {
    padding: 100px var(--page-margin) 60px var(--page-margin);
    background-color: var(--white);
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-header-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.testimonial-header-wrap h2 {
    font-size: 2.3rem;
    font-weight: 800;
    color: var(--brand-navy);
    margin: 0;
}

.testimonial-nav-btns {
    display: flex;
    gap: 12px;
}

.testimonial-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #cbd5e1;
    background-color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #64748b;
}

.testimonial-nav-btn:hover {
    border-color: var(--brand-navy);
    color: var(--brand-navy);
    background-color: var(--bg-light);
}

.testimonial-nav-btn svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.testimonial-slider-container {
    overflow: hidden;
    width: 100%;
}

.testimonial-slider-track {
    display: flex;
    gap: 30px;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.testimonial-card-v2 {
    flex: 0 0 calc(50% - 15px);
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 45px;
    background: var(--white);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.01);
}

.quote-icon-graphics {
    color: var(--brand-orange);
    margin-bottom: 24px;
    height: 32px;
}

.quote-icon-graphics svg {
    width: 45px;
    height: 32px;
    fill: currentColor;
}

.testimonial-card-v2 h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: #334155;
    margin: 0 0 16px 0;
    line-height: 1.4;
}

.testimonial-body-text {
    font-size: 1.05rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 40px 0;
}

.testimonial-profile-meta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.profile-avatar-stack {
    position: relative;
    width: 68px;
    height: 60px;
    flex-shrink: 0;
}

.avatar-img-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 0;
    top: 6px;
    z-index: 2;
    color: var(--white);
    font-weight: bold;
}

.logo-img-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--brand-navy);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 700;
    position: absolute;
    right: 0;
    top: 6px;
    z-index: 1;
    border: 2px solid var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    line-height: 1.1;
    padding: 2px;
    box-sizing: border-box;
}

.author-text-details h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--brand-navy);
    margin: 0 0 4px 0;
}

.author-text-details p {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0;
}

/* FAQ Area Block Layout */
.faq-section-wrapper {
    background-color: #f3f7fa;
    padding: 80px var(--page-margin);
}

.faq-outer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 50px;
    align-items: start;
}

.faq-heading-side {
    display: flex;
    align-items: flex-start;
}

.faq-heading-side h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--brand-navy);
    margin: 0;
    line-height: 1.3;
}

.faq-accordion-side {
}

.faq-rounded-accordion-panel {
    background-color: var(--white);
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    padding: 15px 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.01);
}

.faq-accordion-node {
    border-bottom: 1px solid #e2e8f0;
}

.faq-accordion-node:last-child {
    border-bottom: none;
}

.faq-accordion-trigger {
    width: 100%;
    background: none;
    border: none;
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    cursor: pointer;
    color: #334155;
    font-size: 1.15rem;
    font-weight: 600;
    transition: color 0.2s ease;
}

.faq-accordion-trigger:hover {
    color: var(--brand-navy);
}

.faq-accordion-arrow-icon {
    color: var(--brand-orange);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 20px;
}

.faq-accordion-arrow-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.faq-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
}

.faq-accordion-content p {
    font-size: 1.05rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 24px 0;
}

/* State class toggled by the FAQ accordion JS (see compound rules below) */
.is-expanded {
    display: block;
}

.faq-accordion-node.is-expanded .faq-accordion-arrow-icon {
    transform: rotate(180deg);
}

.faq-accordion-node.is-expanded .faq-accordion-content {
    max-height: 1000px;
    transition: max-height 0.3s cubic-bezier(1, 0, 1, 0);
}

/* Form Layout Section — Image-Matched Heading Upgrade */
.form-section {
    background-color: var(--white);
    padding: 80px var(--page-margin);
}

.broker-form-header {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto 50px auto;
}

.broker-form-header h2 {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--brand-navy);
    margin: 0 0 20px 0;
    letter-spacing: -0.5px;
}

/* Image-matched content stack wrapper (Text inline with 'or' and button) */
.broker-form-sub-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 1.15rem;
    color: #334155;
}

.broker-form-sub-wrapper p {
    margin: 0;
    max-width: 720px;
    line-height: 1.4;
    text-align: center;
}

.broker-form-or {
    color: #64748b;
    font-weight: 400;
}

.broker-form-call-btn {
    display: inline-block;
    padding: 14px 45px;
    border: 2px solid #00ca9a; /* Vibrant aqua teal boundary */
    border-radius: 12px;
    color: var(--brand-navy);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.2s ease;
    background-color: var(--white);
}

.broker-form-call-btn:hover {
    background-color: rgba(0, 202, 154, 0.05);
    transform: translateY(-1px);
}

.broker-card-container {
    max-width: 950px;
    margin: 0 auto;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 50px 60px;
    box-sizing: border-box;
}

.broker-form-group-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand-navy);
    margin: 0 0 24px 0;
}

.broker-fields-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.broker-fields-stack:last-of-type {
    margin-bottom: 0;
}

.broker-input-wrapper {
    position: relative;
    width: 100%;
}

.broker-form-control {
    width: 100%;
    padding: 18px 24px;
    border: 1px solid #cbd5e1;
    border-radius: 30px;
    background-color: var(--white);
    font-size: 1.05rem;
    color: var(--text-main);
    box-sizing: border-box;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.broker-form-control:focus {
    outline: none;
    border-color: var(--brand-navy);
    box-shadow: 0 0 0 3px rgba(0, 18, 66, 0.08);
}

.broker-form-control::placeholder {
    color: #94a3b8;
}

.password-toggle-btn {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
}

.password-toggle-btn:hover {
    color: var(--brand-navy);
}

.password-toggle-btn svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

/* Modifier carried by the two broker password-visibility buttons; inherits all
   positioning/styling from .password-toggle-btn above. */
.broker-pw-toggle {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

/* === Global utility classes used by index_tpl.resp_split.html ===
   These are normally provided by /header-footer2/index.css (loaded globally by
   the header). Repeated here so this page's own stylesheet fully defines every
   class its markup references; values are copied verbatim from the global sheet
   so behaviour is unchanged. */
.btn {
    font-size: 0.875rem;
    display: flex;
    font-weight: 500;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    color: var(--white) !important;
    cursor: pointer;
    border: none;
    outline: none;
    justify-content: center;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    font-family: 'Outfit', sans-serif;
}

.btn-blue {
    background: #263238;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
}

.font-semibold {
    font-weight: 600;
}

.mb-5 {
    margin-bottom: 2.5rem;
}

.ml-1 {
    margin-left: 0.5rem;
}

.text-center {
    text-align: center;
}

.text-white {
    color: var(--white);
}

.text-xl {
    font-size: 2rem;
}

.with-placeholder {
    padding: 0.75rem 1.5rem 0.75rem;
}

.broker-submit-container {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

@media (max-width: 900px) {
    .hero-card {
        grid-template-columns: 1fr;
    }
    .hero-right {
        display: none;
    }
    .hero-outer {
        padding: 40px 16px;
    }
    .hero-left {
        padding: 30px;
    }
    .hero-text {
        max-width: 100%;
    }
    h1 {
        font-size: 2rem;
    }
    .value-prop-section {
        padding: 60px var(--page-margin) 40px var(--page-margin);
    }
    .metrics-section {
        padding: 20px var(--page-margin) 40px var(--page-margin);
    }
    .metric-card {
        padding: 40px 20px;
    }
    .metric-large {
        font-size: 3.5rem;
    }
    .featured {
        padding: 60px 0;
    }
    .targeting-section {
        /* Keep the same content inset as the sold-property/featured .container
           at this breakpoint too, so the section stays aligned on mobile and
           tablet (the 8% --page-margin inset here was the off-centre cause). */
        padding: 50px 16px 60px 16px;
    }
    .testimonial-section {
        padding: 60px var(--page-margin) 30px var(--page-margin);
    }
    .testimonial-card-v2 {
        flex: 0 0 100%;
        padding: 30px;
    }
    .testimonial-header-wrap h2 {
        font-size: 1.8rem;
    }
    .faq-section-wrapper {
        padding: 60px var(--page-margin);
    }
    .faq-outer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .faq-heading-side h2 {
        font-size: 1.8rem;
    }
    .faq-rounded-accordion-panel {
        padding: 10px 20px;
    }
    .faq-accordion-trigger {
        font-size: 1.05rem;
    }
    .form-section {
        padding: 60px var(--page-margin);
    }
    .broker-form-header h2 {
        font-size: 2.2rem;
    }
    .broker-form-sub-wrapper {
        flex-direction: column;
        gap: 10px;
    }
    .broker-form-sub-wrapper p {
        text-align: center;
    }
    .broker-card-container {
        padding: 30px 24px;
    }
    .hero-cta-group {
        flex-direction: column;
    }
    .value-prop-section h2 {
        font-size: 1.6rem;
        margin-bottom: 25px;
    }
    .value-prop-split {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .value-prop-graphic {
        height: 220px;
    }
    .targeting-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .targeting-section h2 {
        font-size: 1.8rem;
    }
}

/* ---- Registration form additions ---- */

/* Make autocomplete dropdown visible on input focus/hover */
.broker-input-wrapper {
    position: relative;
}
.broker-input-wrapper input:focus ~ .form__autocomplete,
.broker-input-wrapper .form__autocomplete:hover {
    opacity: 1;
    visibility: visible;
}

/* Reuse header-footer2 autocomplete items with local overrides */
.broker-input-wrapper .form__autocomplete {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    width: 100%;
    text-align: left;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.15s,
        visibility 0.15s;
    z-index: 700;
    max-height: 14rem;
    border-radius: 0 0 8px 8px;
    overflow-y: auto;
    border: 1px solid #e2e8f0;
    list-style: none;
    padding: 0;
    margin: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.broker-input-wrapper .form__autocomplete-item {
    padding: 0.55rem 1rem;
    cursor: pointer;
    display: flex;
    gap: 0;
    align-items: center;
    font-size: 0.95rem;
    color: var(--text-main);
}
.broker-input-wrapper .form__autocomplete-item:hover {
    background: var(--bg-light);
}

/* Terms section — scrollable box matching brokers/register */
.broker-terms {
    padding: 40px;
    border-radius: 4px;
    border: 1px solid #dadada;
    margin: 24px 0 20px;
    background: var(--white);
}
.broker-terms-title {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 12px;
    color: var(--text-main);
}
.broker-terms-list {
    max-height: 120px;
    overflow-y: auto;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}
.broker-terms-list > li {
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
}
.broker-terms-list > li::before {
    content: "";
    display: block;
    width: 4px;
    height: 4px;
    background-color: #414141;
    border-radius: 50%;
    margin-right: 12px;
    margin-top: 8px;
    flex-shrink: 0;
}
.broker-terms-note {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0 0 14px;
}

/* Error alert scoped to broker-card-container */
.broker-card-container .error-alert {
    margin-bottom: 16px;
}
.broker-card-container .alert-error {
    background: rgba(198, 69, 69, 0.08);
    border: 1px solid rgba(198, 69, 69, 0.2);
    border-radius: 6px;
    padding: 14px 18px;
    color: #c0392b;
}
.broker-card-container .alert-error-header {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 6px;
}
.broker-card-container .alert-error-body {
    margin: 0;
    padding: 0 0 0 18px;
    font-size: 0.9rem;
}

/* Success alert */
.broker-card-container .alert-success {
    background: rgba(46, 125, 50, 0.08);
    border: 1px solid rgba(46, 125, 50, 0.2);
    border-radius: 6px;
    padding: 18px 22px;
    color: #2e7d32;
    text-align: center;
    margin-bottom: 16px;
}

/* Submit button loading state */
#submitBtn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* ============================================================
           Recent Commercial Property Sales slider
           (ported from sell_business recent-business slider — same
           design values, adapted to the sold-property card classes)
           ============================================================ */
.recent-property-section {
    padding: 5rem 0;
    background: #fcfcfc;
}

.recent-property-section .section-title {
    font-size: calc(24px + 0.6vw);
    font-weight: 600;
    line-height: 1.2;
}

.recent-property-section .sold-property-slider {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - (2rem * 3)) / 5);
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    scroll-behavior: smooth;
}

.recent-property-section .slide-item {
    scroll-snap-align: start;
}

.recent-property-section .sold-property-card {
    position: relative;
    border-radius: 3px;
    background: #fff;
}

.recent-property-section .sold-property-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.recent-property-section .sold-property-image-wrap {
    height: 180px;
    position: relative;
    margin-bottom: 1rem;
    overflow: hidden;
    border-radius: 5px 5px 0 0;
}

.recent-property-section .sold-property-image {
    width: 100%;
    height: 100%;
}

.recent-property-section .sold-property-body {
    padding: 0.5rem;
}

.recent-property-section .sold-property-title {
    margin-bottom: 0.6rem;
    white-space: nowrap;
    overflow: hidden;
    position: relative;
    color: #000;
    font-size: 1rem;
    font-weight: 600;
}

.recent-property-section .sold-property-title::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 2rem;
    background: rgb(255, 255, 255);
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 1) 100%);
}

.recent-property-section .sold-property-location {
    display: flex;
    align-items: center;
    font-size: 0.8rem;
    color: #15be53;
}

.recent-property-section .sold-property-price {
    margin-top: 0.25rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #000;
}

.recent-property-section .sold-property-sold {
    display: inline-block;
    margin-top: 0.35rem;
    padding: 0.15rem 0.5rem;
    background: #9b332fe1;
    color: #fff;
    font-size: 0.7rem;
    border-radius: 3px;
}

.recent-property-section .recent-property-indicator {
    text-align: center;
    margin-top: 1.5rem;
}

.recent-property-section .recent-property-indicator span {
    display: inline-block;
    margin: 0 0.125rem;
    width: 0.625rem;
    height: 0.625rem;
    background: #eee;
    cursor: pointer;
    border-radius: 50%;
}

.recent-property-section .recent-property-indicator span.active {
    background: #225fac;
}

.recent-property-section .sold-property-slider::-webkit-scrollbar {
    display: none;
}

.recent-property-section .no-sold-properties {
    padding: 2rem 0;
    text-align: center;
    color: var(--text-muted);
}

/* Responsive — same breakpoints/values as the sell_business slider */
@media only screen and (max-width: 991px) {
    .recent-property-section .sold-property-slider {
        grid-auto-columns: calc((100% - 24px) / 2);
    }
}

@media only screen and (max-width: 767px) {
    .recent-property-section .sold-property-slider {
        grid-auto-columns: calc((100% - 1.25rem) / 2);
    }
}

@media only screen and (max-width: 575px) {
    .recent-property-section .sold-property-slider {
        grid-auto-columns: calc((100% - 1.5rem) / 2);
    }

    .recent-property-section .sold-property-image-wrap {
        height: 180px;
    }
}

/* start: Broker logos (ported from /brokers/register/index.css) */
.broker-section {
    padding: 60px var(--page-margin);
}

.broker-section .section-title {
    font-size: 28px;
    font-weight: 600;
    line-height: 1.3;
}

.broker-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 24px;
    align-items: center;
    margin-top: 32px;
}

.broker-wrapper img {
    width: 100%;
    height: 96px;
    object-fit: contain;
    padding: 24px;
    background-color: #eee;
    border: 1px solid #ddd;
    border-radius: 8px;
}
/* end: Broker logos */

@media only screen and (max-width: 767px) {
    .broker-wrapper {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media only screen and (max-width: 575px) {
    .broker-wrapper {
        grid-template-columns: 1fr;
    }
}


/* === Extracted from example.html inline styles so index.css defines every class the markup references === */
.brand-logo {
            font-weight: 800;
            font-size: 1.4rem;
            color: var(--white);
            letter-spacing: -0.5px;
        }
.brand-logo span {
            color: var(--brand-orange);
        }
.rm-btn {
            display: inline-block;
            padding: 10px 22px; 
            text-decoration: none;
            font-weight: 700;
            font-size: 0.95rem; 
            border-radius: 30px; 
            transition: all 0.15s ease-in-out;
            cursor: pointer;
            text-align: center;
        }
.rm-btn-primary {
            background-color: var(--brand-orange);
            color: var(--brand-black);
            border: 2px solid var(--brand-orange);
        }
.rm-btn-primary:hover {
            background-color: var(--brand-orange-hover);
            border-color: var(--brand-orange-hover);
        }
.rm-btn-secondary {
            background-color: transparent;
            color: var(--text-main);
            border: 2px solid var(--brand-orange);
        }
.rm-btn-secondary:hover {
            background-color: rgba(255, 156, 0, 0.1);
            color: var(--brand-black);
        }
/* Brands Slider Section */
        .brands-slider-section {
            padding: 40px 0 60px 0;
            overflow: hidden;
            background-color: var(--white);
        }
.brands-slider-title {
            text-align: center;
            font-size: 0.9rem;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            color: var(--text-muted);
            margin-bottom: 35px;
            font-weight: 700;
        }
.brands-slider-track {
            display: flex;
            width: calc(250px * 14); 
            animation: scrollBrands 35s linear infinite;
        }
.brands-slider-track:hover {
            animation-play-state: paused;
        }
.brand-logo-item {
            width: 250px;
            height: 65px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
.brand-logo-item span {
            font-size: 1.25rem;
            font-weight: 700;
            color: #a0aec0; 
            letter-spacing: -0.5px;
            transition: color 0.2s ease;
        }
.brand-logo-item:hover span {
            color: var(--brand-black);
        }
.faq-expert-profile-card {
            text-align: center;
            display: flex;
            flex-direction: column;
            align-items: center;
            position: relative;
        }
.faq-house-mask-container {
            position: relative;
            width: 230px;
            height: 250px;
            margin-bottom: 20px;
        }
/* Image 3: Plain Placeholder for FAQ Expert Profile Picture */
        .faq-expert-avatar-clipped {
            width: 100%;
            height: 100%;
            background-color: var(--placeholder-bg);
            clip-path: polygon(50% 0%, 100% 25%, 100% 80%, 50% 100%, 0% 80%, 0% 25%);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--placeholder-text);
            font-weight: 600;
            font-size: 0.85rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            text-align: center;
            padding: 10px;
            box-sizing: border-box;
            border: 1px dashed #cbd5e1;
        }
.faq-floating-home-badge {
            position: absolute;
            bottom: 12px;
            right: 12px;
            width: 44px;
            height: 44px;
            background-color: var(--white);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 10px rgba(0,0,0,0.1);
            color: #00ca9a; 
        }
.faq-floating-home-badge svg {
            width: 22px;
            height: 22px;
            fill: none;
            stroke: currentColor;
            stroke-width: 2;
        }
.faq-expert-profile-card h3 {
            font-size: 1.6rem;
            color: var(--brand-navy);
            margin: 0 0 4px 0;
            font-weight: 800;
        }
.faq-expert-profile-card p {
            font-size: 1rem;
            color: #64748b;
            margin: 0;
            font-weight: 500;
        }
.faq-sub-intro-text {
            font-size: 1.1rem;
            color: #64748b;
            margin: 0 0 40px 0;
            line-height: 1.5;
        }
.broker-submit-btn {
            background-color: var(--brand-orange);
            color: var(--brand-black);
            border: 2px solid var(--brand-orange);
            padding: 14px 45px;
            font-size: 1.1rem;
            font-weight: 700;
            border-radius: 30px;
            cursor: pointer;
            transition: all 0.15s ease-in-out;
        }
.broker-submit-btn:hover {
            background-color: var(--brand-orange-hover);
            border-color: var(--brand-orange-hover);
        }
@media (max-width: 900px) {
    .brands-slider-section { padding: 30px 0 40px 0; }
    .rm-btn { width: 100%; box-sizing: border-box; }
}
