/*
Theme Name: RentalPortfol.io
Theme URI: https://rentalportfol.io
Author: Lot & Lane
Description: RentalPortfol.io theme (leasing-first portfolio) with Landlords, Communities, Lease Listings, and Leasing Agents.
Version: 1.0.8
Text Domain: rentalportfolio
*/


body {
    margin: 0;
    background: #f3f4f6;
    color: #111827;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Shared utility styles */
.bs-section-label {
    font-size: 0.75rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.bs-heading {
    margin: 0;
    font-size: 1.4rem;
}

.bs-section {
    padding: 1.5rem 1.5rem 2.5rem;
}

.bs-section-inner,
.bs-builder-section-inner,
.bs-property-header-inner,
.bs-hero-inner,
.bs-builder-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
}

/* Sticky header on property page */
.bs-property-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.bs-property-header-inner {
    padding: 0.5rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.bs-property-header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.bs-logo img {
    height: 32px;
    width: auto;
}

.bs-header-divider {
    width: 1px;
    height: 24px;
    background: rgba(15, 23, 42, 0.12);
}

/* Anchor menu */
.bs-anchor-menu {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
}

.bs-anchor-menu a {
    position: relative;
    text-decoration: none;
    color: #6b7280;
    padding-bottom: 0.35rem;
}

.bs-anchor-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    border-radius: 999px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}

.bs-anchor-menu a:hover::after {
    transform: scaleX(1);
}

.bs-anchor-menu a.is-active {
    color: #111827;
}

.bs-anchor-menu a.is-active::after {
    transform: scaleX(1);
}

.bs-cta-link {
    font-weight: 600;
}

/* Hero on property page */
.bs-hero {
    padding: 2.5rem 1.5rem 1.5rem;
}

.bs-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: center;
}

.bs-hero-image-wrap {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.08), rgba(148, 163, 184, 0.2));
    border-radius: 1.75rem;
    padding: 1.25rem;
}

.bs-hero-image-angled {
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.25);
}

.bs-hero-image-angled img {
    display: block;
    width: 100%;
    height: auto;
}

.bs-hero-content {
    max-width: 480px;
}

.bs-property-title {
    font-size: clamp(1.9rem, 2.3vw, 2.4rem);
    margin: 0 0 0.4rem;
}

.bs-property-subtitle {
    margin: 0 0 0.75rem;
    color: #6b7280;
}

.bs-price {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.bs-quick-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
}

.bs-stat {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
    font-size: 0.85rem;
}

.bs-stat-icon {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.06);
}

/* Button / pills */
.bs-cta-button,
.bs-pill,
.bs-builder-cta,
.bs-builder-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.8rem;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
}

.bs-pill.outline,
.bs-builder-pill.outline {
    background: transparent;
    border: 1px solid #111827;
    color: #111827;
}

/* Features layout */
.bs-features-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.9fr);
    gap: 2.5rem;
}

.bs-feature-list {
    list-style: none;
    margin: 0;
    padding: 1.25rem 1.5rem;
    border-radius: 1.5rem;
    background: #ffffff;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}

.bs-feature-list li {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    padding: 0.35rem 0;
}

.bs-feature-list span {
    color: #6b7280;
}

/* Gallery */
.bs-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.75rem;
}

.bs-gallery-item {
    border-radius: 1rem;
    overflow: hidden;
    display: block;
}

.bs-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Virtual tour */
.bs-tour-embed iframe {
    width: 100%;
    min-height: 480px;
    border: 0;
    border-radius: 1.5rem;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.2);
}

/* Map */
.bs-map-wrap iframe {
    width: 100%;
    min-height: 360px;
    border: 0;
    border-radius: 1.5rem;
    overflow: hidden;
}

/* Community section on property */
.bs-community-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.8fr);
    gap: 2rem;
    align-items: center;
}

.bs-community-logo {
    max-width: 260px;
    width: 100%;
    height: auto;
}

/* Inquiry & agents */
.bs-inquiry-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: flex-start;
}

.bs-agent-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-radius: 1rem;
    background: #ffffff;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
    margin-bottom: 0.75rem;
}

/* Leasing agent block in hero (single listing) */
.bs-hero-agent {
    margin-top: 1.25rem;
}

.bs-agent-card--hero {
    margin-bottom: 0.85rem;
}

.bs-agent-initials {
    width: 62px;
    height: 62px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    background: rgba(15, 23, 42, 0.06);
    color: #111827;
}

.bs-agent-photo img {
    border-radius: 999px;
    width: 62px;
    height: 62px;
    object-fit: cover;
}

.bs-agent-name {
    margin: 0 0 0.15rem;
    font-size: 0.98rem;
}

.bs-agent-contact {
    margin: 0;
    font-size: 0.85rem;
}

.bs-agent-cta {
    margin: 0.35rem 0 0;
}

.bs-agent-link {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: underline;
    color: #111827;
}

.bs-agent-link:hover {
    opacity: 0.8;
}


.bs-agent-broker-logo img {
    max-height: 34px;
    width: auto;
}

/* Builder overview */
.bs-builder-hero {
    padding: 2.5rem 1.5rem 2rem;
}

.bs-builder-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: center;
}

.bs-builder-hero-content {
    max-width: 560px;
}

.bs-builder-heading {
    font-size: clamp(2rem, 2.6vw, 2.6rem);
    margin: 0 0 0.5rem;
}

.bs-builder-tagline {
    margin: 0 0 1rem;
    font-size: 1.05rem;
    color: #374151;
}

.bs-builder-description p {
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
    color: #4b5563;
}

.bs-builder-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.bs-builder-hero-image-wrap {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.08), rgba(148, 163, 184, 0.2));
    border-radius: 1.75rem;
    padding: 1.25rem;
}

.bs-builder-hero-image-angled {
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.25);
}

.bs-builder-hero-image-angled img {
    display: block;
    width: 100%;
    height: auto;
}

.bs-builder-hero-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
}

.bs-builder-hero-logo-card {
    padding: 2rem 2.5rem;
    border-radius: 1.75rem;
    background: #ffffff;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.16);
}

.bs-builder-hero-logo-card img {
    max-width: 260px;
    width: 100%;
    height: auto;
}

/* Builder communities section */
.bs-builder-communities {
    padding: 0 1.5rem 3rem;
}

.bs-community-groups {
    display: flex;
    flex-direction: column;
    gap: 2.25rem;
    margin-top: 1.5rem;
}

.bs-community-group {
    border-radius: 1.75rem;
    background: #ffffff;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
    padding: 1.75rem 1.75rem 1.5rem;
}

.bs-community-header {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr);
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 1.25rem;
}

.bs-community-label {
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #9ca3af;
    margin-bottom: 0.35rem;
}

.bs-community-title {
    margin: 0 0 0.4rem;
    font-size: 1.2rem;
}

.bs-community-description {
    font-size: 0.9rem;
    color: #4b5563;
    margin-bottom: 0.75rem;
}

.bs-community-header-logo {
    max-width: 200px;
    max-height: 72px;
    width: 100%;
    height: auto;
    object-fit: contain;
    margin-left: auto;
}

/* Property cards on builder overview */
.bs-property-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
}

.bs-property-card {
    display: flex;
    flex-direction: column;
    border-radius: 1.25rem;
    overflow: hidden;
    background: #f9fafb;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.bs-property-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.16);
    background: #ffffff;
}

.bs-property-card-media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.bs-property-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bs-property-card-badge {
    position: absolute;
    left: 0.9rem;
    bottom: 0.9rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.86);
    color: #f9fafb;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.bs-property-card-body {
    padding: 0.9rem 1rem 1rem;
}

.bs-property-card-title {
    font-size: 1rem;
    margin: 0 0 0.3rem;
}

.bs-property-card-price {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.bs-property-card-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    font-size: 0.8rem;
    color: #6b7280;
}

/* Responsive tweaks */
@media (max-width: 960px) {
    .bs-hero-inner,
    .bs-features-grid,
    .bs-community-inner,
    .bs-inquiry-inner,
    .bs-builder-hero-inner,
    .bs-community-header {
        grid-template-columns: 1fr;
    }

    .bs-property-header-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .bs-anchor-menu {
        flex-wrap: wrap;
    }

    .bs-builder-hero {
        padding-top: 1.5rem;
    }

    .bs-community-header-logo {
        margin-left: 0;
    }
}


/* Gallery load more */
.bs-gallery-item.is-hidden {
    display: none;
}

.bs-gallery-load-more-wrap {
    margin-top: 2.5rem;
    text-align: center;
}

.bs-gallery-load-more {
    appearance: none;
    border: none;
    border-radius: 999px;
    padding: 0.75rem 1.75rem;
    font-size: 0.9375rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    cursor: pointer;
    background: var(--bs-primary, #111827);
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.25);
    transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease;
}

.bs-gallery-load-more:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.28);
}

.bs-gallery-load-more:active {
    transform: translateY(0);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.22);
}


/* More from this builder */
.bs-more-from-builder {
    background: #020617;
    color: #e5e7eb;
}

.bs-more-from-builder .bs-section-header {
    margin-bottom: 1.5rem;
}

.bs-more-grid {
    /* layout handled by .bs-more-carousel .bs-more-grid */
}


.bs-more-card {
    flex: 0 0 30%;
    max-width: 30%;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    border-radius: 1.25rem;
    overflow: hidden;
    background: #f9fafb;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.bs-more-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.16);
}

.bs-more-thumb {
    position: relative;
    padding-top: 66%;
    overflow: hidden;
}

.bs-more-thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bs-more-meta {
    padding: 1rem 1.1rem 1.1rem;
}

.bs-more-title {
    margin: 0 0 0.3rem;
    font-size: 1rem;
}

.bs-more-community {
    margin: 0 0 0.4rem;
    font-size: 0.85rem;
    color: #9ca3af;
}

.bs-more-price {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 500;
}

@media (max-width: 960px) {
    .bs-more-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .bs-more-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}


/* Community archive shares styling with builder archive */
.bs-community-archive .bs-builder-hero-inner { align-items: center; }


/* Quick stats + feature icons */
.bs-quick-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
}

.bs-stat {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.bs-stat-icon,
.bs-feature-icon {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.06);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
    color: var(--bs-primary);
}

.bs-stat-icon::before,
.bs-stat-icon::after,
.bs-feature-icon::before,
.bs-feature-icon::after {
    content: "";
    position: absolute;
    box-sizing: border-box;
}

/* Base feature list layout */
.bs-feature-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.bs-feature {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.5rem 0;
}

.bs-feature-label {
    flex: 1;
    font-size: 0.875rem;
    color: #9CA3AF;
}

.bs-feature-value {
    font-weight: 600;
    font-size: 0.9rem;
}

/* Beds icon – simple bed shape */
.bs-stat--beds .bs-stat-icon::before,
.bs-feature--beds .bs-feature-icon::before {
    width: 16px;
    height: 9px;
    border-radius: 2px;
    border: 2px solid currentColor;
    border-top-width: 3px;
    bottom: 4px;
}

.bs-stat--beds .bs-stat-icon::after,
.bs-feature--beds .bs-feature-icon::after {
    width: 4px;
    height: 4px;
    border-radius: 999px;
    background: currentColor;
    left: 4px;
    top: 7px;
}

/* Baths icon – tub shape */
.bs-stat--baths .bs-stat-icon::before,
.bs-feature--baths .bs-feature-icon::before {
    width: 16px;
    height: 8px;
    border-radius: 0 0 6px 6px;
    border: 2px solid currentColor;
    border-top: none;
    bottom: 4px;
}

.bs-stat--baths .bs-stat-icon::after,
.bs-feature--baths .bs-feature-icon::after {
    width: 8px;
    height: 4px;
    border-radius: 6px 6px 0 0;
    border: 2px solid currentColor;
    border-bottom: none;
    top: 4px;
    right: 3px;
}

/* Sq ft icon – square outline */
.bs-stat--sqft .bs-stat-icon::before,
.bs-feature--sqft .bs-feature-icon::before {
    width: 14px;
    height: 14px;
    border-radius: 3px;
    border: 2px solid currentColor;
}

/* Lot icon – dashed rectangle */
.bs-stat--lot .bs-stat-icon::before,
.bs-feature--lot .bs-feature-icon::before {
    width: 16px;
    height: 10px;
    border-radius: 4px;
    border: 2px dashed currentColor;
}

/* Garage icon – rectangle with roof */
.bs-stat--garage .bs-stat-icon::before,
.bs-feature--garage .bs-feature-icon::before {
    width: 14px;
    height: 8px;
    border-radius: 2px;
    border: 2px solid currentColor;
    bottom: 4px;
}

.bs-stat--garage .bs-stat-icon::after,
.bs-feature--garage .bs-feature-icon::after {
    width: 16px;
    height: 8px;
    border-left: 2px solid transparent;
    border-right: 2px solid transparent;
    border-bottom: 2px solid currentColor;
    transform: rotate(180deg);
    top: 3px;
}

/* Lower level icon – downward chevron / arrow */
.bs-stat--lower .bs-stat-icon::before,
.bs-feature--lower .bs-feature-icon::before {
    width: 12px;
    height: 12px;
    border-left: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
    bottom: 3px;
}


/* === Flat spec icons (beds, baths, sqft, lot, garage, lower) === */
.bs-quick-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
}

.bs-stat {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.bs-stat-icon,
.bs-feature-icon {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.06);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
    color: var(--bs-primary);
}

.bs-stat-icon::before,
.bs-stat-icon::after,
.bs-feature-icon::before,
.bs-feature-icon::after {
    content: "";
    position: absolute;
    box-sizing: border-box;
}

/* Feature list layout */
.bs-feature-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.bs-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
}

.bs-feature-label {
    flex: 1;
    font-size: 0.875rem;
    color: #9CA3AF;
}

.bs-feature-value {
    font-weight: 600;
    font-size: 0.9rem;
}

/* Beds icon – simple bed silhouette */
.bs-stat--beds .bs-stat-icon::before,
.bs-feature--beds .bs-feature-icon::before {
    width: 16px;
    height: 9px;
    border-radius: 2px;
    border: 2px solid currentColor;
    border-top-width: 3px;
    bottom: 4px;
}

.bs-stat--beds .bs-stat-icon::after,
.bs-feature--beds .bs-feature-icon::after {
    width: 4px;
    height: 4px;
    border-radius: 999px;
    background: currentColor;
    left: 4px;
    top: 7px;
}

/* Baths icon – tub shape with faucet */
.bs-stat--baths .bs-stat-icon::before,
.bs-feature--baths .bs-feature-icon::before {
    width: 16px;
    height: 8px;
    border-radius: 0 0 6px 6px;
    border: 2px solid currentColor;
    border-top: none;
    bottom: 4px;
}

.bs-stat--baths .bs-stat-icon::after,
.bs-feature--baths .bs-feature-icon::after {
    width: 8px;
    height: 4px;
    border-radius: 6px 6px 0 0;
    border: 2px solid currentColor;
    border-bottom: none;
    top: 4px;
    right: 3px;
}

/* Sq ft icon – square outline */
.bs-stat--sqft .bs-stat-icon::before,
.bs-feature--sqft .bs-feature-icon::before {
    width: 14px;
    height: 14px;
    border-radius: 3px;
    border: 2px solid currentColor;
}

/* Lot icon – dashed rectangle */
.bs-stat--lot .bs-stat-icon::before,
.bs-feature--lot .bs-feature-icon::before {
    width: 16px;
    height: 10px;
    border-radius: 4px;
    border: 2px dashed currentColor;
}

/* Garage icon – box with roof */
.bs-stat--garage .bs-stat-icon::before,
.bs-feature--garage .bs-feature-icon::before {
    width: 14px;
    height: 8px;
    border-radius: 2px;
    border: 2px solid currentColor;
    bottom: 4px;
}

.bs-stat--garage .bs-stat-icon::after,
.bs-feature--garage .bs-feature-icon::after {
    width: 16px;
    height: 8px;
    border-left: 2px solid transparent;
    border-right: 2px solid transparent;
    border-bottom: 2px solid currentColor;
    transform: rotate(180deg);
    top: 3px;
}

/* Lower level icon – downward chevron */
.bs-stat--lower .bs-stat-icon::before,
.bs-feature--lower .bs-feature-icon::before {
    width: 12px;
    height: 12px;
    border-left: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
    bottom: 3px;
}


/* Icon wrappers for stats & features */
.bs-stat-icon,
.bs-feature-icon {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.06);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--bs-primary);
}

.bs-stat-icon svg,
.bs-feature-icon svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Reset any previous pseudo-element icon shapes */
.bs-stat-icon::before,
.bs-stat-icon::after,
.bs-feature-icon::before,
.bs-feature-icon::after {
    content: none !important;
    width: 0 !important;
    height: 0 !important;
    border: 0 !important;
}


.bs-agent-title {
    font-size: 0.8rem;
    color: #9CA3AF;
    margin: 0 0 0.25rem;
}


.bs-logo img {
    height: 50px !important;
    width: auto;
}

.bs-agent-broker-logo img {
    max-height: 40px !important;
    width: auto;
}

.bs-agent-photo img {
    width: 80px !important;
    height: 80px !important;
    object-fit: cover;
    border-radius: 8px;
}


/* === Refined feature card layout === */
.bs-features-sidebar {
    max-width: 360px;
    background: #F9FAFB;
    border-radius: 18px;
    padding: 18px 20px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
}

.bs-feature-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.bs-feature {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 0;
}

.bs-feature + .bs-feature {
    border-top: 1px solid rgba(148, 163, 184, 0.18);
}

/* Left side: icon + label */
.bs-feature-icon {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.04);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    flex-shrink: 0;
}

.bs-feature-icon svg {
    width: 16px;
    height: 16px;
    stroke-width: 1.6;
    opacity: 0.75;
}

/* Label + value */
.bs-feature-label {
    flex: 1;
    font-size: 0.9rem;
    color: #6B7280;
}

.bs-feature-value {
    font-weight: 600;
    font-size: 0.9rem;
    color: #020617;
    text-align: right;
    white-space: nowrap;
}


/* === Minimal flat version of feature card (Style A) === */
.bs-features-sidebar {
    max-width: 360px;
    background: #FFFFFF;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    padding: 16px 18px;
    box-shadow: none;
}

.bs-feature {
    padding: 8px 0;
}

.bs-feature + .bs-feature {
    border-top: 1px solid rgba(148, 163, 184, 0.16);
}

.bs-feature-icon {
    background: rgba(148, 163, 184, 0.10);
}

.bs-feature-label {
    font-size: 0.9rem;
    color: #4B5563;
}

.bs-feature-value {
    font-size: 0.9rem;
    color: #111827;
}

/* Slightly tighter on small screens */
@media (max-width: 767px) {
    .bs-features-sidebar {
        max-width: 100%;
        padding: 14px 14px;
    }
}


/* More from this builder – horizontal carousel with arrows */
.bs-more-from-builder {
    position: relative;
}


.bs-more-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Inline circular arrows on left/right */
.bs-more-arrow {
    position: static;
    border: none;
    background-color: #FFFFFF;
    border-radius: 999px;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.14);
    transition: background-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
    flex-shrink: 0;
}

.bs-more-arrow--prev {
    /* sits on the left of the cards */
}

.bs-more-arrow--next {
    /* sits on the right of the cards */
}

.bs-more-arrow:hover {
    background-color: #F1F5F9;
    transform: translateY(-1px);
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.20);
}

.bs-more-arrow-icon {
    font-size: 18px;
    line-height: 1;
    color: var(--bs-primary, #111827);
}

/* Disabled state */
.bs-more-arrow--disabled {
    opacity: 0.35;
    pointer-events: none;
    box-shadow: none;
    transform: none;
}

/* Make the grid flex to fill space between arrows */
.bs-more-carousel .bs-more-grid {
    flex: 1;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 16px;
    padding: 4px 2px 8px;
}

/* Each card smaller to sit comfortably between arrows */
.bs-more-card {
    flex: 0 0 30%;
    max-width: 30%;
    scroll-snap-align: start;
}

/* Tablet: cards a bit wider */
@media (max-width: 1024px) {
    .bs-more-card {
        flex: 0 0 32%;
        max-width: 32%;
    }
}

/* Mobile: show one larger card between arrows */
@media (max-width: 640px) {
    .bs-more-carousel {
        gap: 10px;
    }
    .bs-more-card {
        flex: 0 0 80%;
        max-width: 80%;
    }
}

    .bs-more-arrow--next {
        right: 4px;
    }
}


.bs-more-arrow-icon {
    font-size: 18px;
    line-height: 1;
    color: var(--bs-primary, #111827);
}

/* On small screens, arrows sit tighter */
@media (max-width: 767px) {
    .bs-more-carousel {
        gap: 8px;
    }
    .bs-more-card {
    flex: 0 0 calc(33.333% - 16px);
    max-width: calc(33.333% - 16px);
    scroll-snap-align: start;
}
}


/* More from this builder – responsive card widths */
@media (max-width: 1024px) {
    .bs-more-card {
        flex: 0 0 calc(50% - 16px);
        max-width: calc(50% - 16px);
    }
}

@media (max-width: 640px) {
    .bs-more-card {
        flex: 0 0 85%;
        max-width: 85%;
    }
}


.bs-more-arrow--disabled {
    opacity: 0.35;
    pointer-events: none;
    box-shadow: none;
    transform: none;
}


/* Final overrides for "More from this builder" cards to match listing cards */
.bs-section.bs-more-from-builder {
    /* keep dark band background if desired */
    background: #020617;
}

.bs-section.bs-more-from-builder .bs-section-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.5rem 2.5rem;
}


.bs-more-carousel {
    margin-top: 1.5rem;
}

.bs-more-card {
    display: flex;
    flex-direction: column;
    border-radius: 1.25rem;
    overflow: hidden;
    background: #f9fafb;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.bs-more-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.16);
}

.bs-more-thumb {
    position: relative;
    overflow: hidden;
    background: #020617;
}

.bs-more-thumb img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.bs-more-meta {
    padding: 0.85rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.bs-more-title {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: #020617;
    margin: 0;
}

.bs-more-community {
    font-size: 0.82rem;
    color: #6b7280;
    margin: 0;
}

.bs-more-price {
    font-size: 0.88rem;
    font-weight: 600;
    color: #fbbf24;
    margin: 0.2rem 0 0;
}


/* Ensure "More from this builder" band is fully dark from top to bottom */
.bs-section.bs-more-from-builder {
    background: #020617;
    color: #e5e7eb;
    padding: 2.25rem 1.5rem 2.75rem;
}

.bs-section.bs-more-from-builder .bs-section-inner {
    background: transparent;
}


/* === Strong overrides for "More from this builder" band === */
#more-from-builder,
#more-from-builder .bs-section-inner,
.bs-section.bs-more-from-builder,
.bs-section.bs-more-from-builder .bs-section-inner {
    background: #020617 !important;
    background-color: #020617 !important;
    color: #e5e7eb;
}

/* Remove any stray white backgrounds inside the carousel row */
#more-from-builder .bs-more-carousel,
#more-from-builder .bs-more-grid {
    background: transparent !important;
}

/* Give vertical breathing room to the band itself */
#more-from-builder .bs-more-carousel {
    padding-top: 1.75rem;
    padding-bottom: 1.75rem;
}


/* Full width About This Home */
.bs-about-full {
    padding: 1rem 0 2rem;
    font-size: 1rem;
    line-height: 1.65;
    color: #111827;
}





/* Pick Your Home section */
.bs-pick-home {
    background: #020617;
}

.bs-pick-home .bs-section-header {
    margin-bottom: 1.5rem;
}

.bs-pick-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.bs-pick-table {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 0;
    border-collapse: collapse;
    font-size: 0.95rem;
    color: #e5e7eb;
}

.bs-pick-table thead th {
    text-align: left;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    padding: 0.6rem 0.85rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.65);
    white-space: nowrap;
}

.bs-pick-table tbody td {
    padding: 0.65rem 0.85rem;
    border-bottom: 1px solid rgba(51, 65, 85, 0.8);
    vertical-align: top;
}

.bs-pick-table tbody tr:last-child td {
    border-bottom: none;
}

.bs-pick-table tbody tr:nth-child(odd) {
    background: rgba(15, 23, 42, 0.75);
}

.bs-pick-table tbody tr:nth-child(even) {
    background: rgba(15, 23, 42, 0.45);
}

.bs-pick-table tbody tr:hover {
    background: rgba(30, 64, 175, 0.65);
}

.bs-pick-table td:nth-child(1) {
    font-weight: 500;
    white-space: nowrap;
}

.bs-pick-table td:nth-child(3),
.bs-pick-table td:nth-child(4) {
    white-space: nowrap;
}

/* Mobile tweaks */
@media (max-width: 640px) {
    .bs-pick-table {
        font-size: 0.88rem;
    }
    .bs-pick-table thead th,
    .bs-pick-table tbody td {
        padding-left: 0.6rem;
        padding-right: 0.6rem;
    }
}



/* About This Home – light band with dark text */
#about-this-home.bs-section {
    background: #f9fafb;
    color: #111827;
}



/* Ensure all typical content text inside About uses dark text */
#about-this-home .bs-about-full,
#about-this-home .bs-about-full p,
#about-this-home .bs-about-full li,
#about-this-home .bs-about-full span {
    color: #111827;
}

/* Pick Your Home – make headings/subheading light on dark */
.bs-pick-home .bs-section-header .bs-heading,
.bs-pick-home .bs-section-header .bs-subheading {
    color: #e5e7eb;
}


/* About This Home: reset inner layout so content is centered, not offset */


/* Give About This Home its own comfortable horizontal padding */

@media (min-width: 1024px) {
    
}


/* Simple 3-card grid for More from this builder */
.simple-grid {
 display:flex;
 flex-wrap:wrap;
 gap:16px;
 justify-content:center;
 margin-top:1.5rem;
}
.simple-grid .bs-more-card {
 flex:0 0 calc(33.33% - 16px);
 max-width:calc(33.33% - 16px);
 background:#f9fafb;
 border-radius:1.1rem;
 overflow:hidden;
 box-shadow:0 10px 30px rgba(15,23,42,0.08);
 text-decoration:none;
 color:inherit;
}
@media(max-width:960px){
 .simple-grid .bs-more-card {
   flex:0 0 100%;
   max-width:100%;
 }
}

/* remove arrow containers if still present */
.bs-more-arrow, .bs-more-arrow-left, .bs-more-arrow-right {
 display:none !important;
}


@media (max-width: 960px) {
    .simple-grid {
        flex-direction: column;
        align-items: stretch;
    }
    .simple-grid .bs-more-card {
        flex: 0 0 100%;
        max-width: 100%;
    }
}


/* === More from this builder – unified styling === */
.bs-section.bs-more-from-builder {
    background: #020617;
    color: #e5e7eb;
}

.bs-section.bs-more-from-builder .bs-section-inner {
    background: transparent;
}

/* Use grid for cards, responsive: 3 / 2 / 1 columns */
.bs-more-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

@media (max-width: 960px) {
    .bs-more-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .bs-more-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Card styling to match overall theme – no big white tiles */
.bs-more-card {
    display: flex;
    flex-direction: column;
    border-radius: 1.25rem;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.92);
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(148, 163, 184, 0.5);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.7);
    transition: transform 0.14s ease, box-shadow 0.14s ease, border-color 0.14s ease;
}

.bs-more-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.9);
    border-color: rgba(248, 250, 252, 0.65);
}

.bs-more-thumb {
    position: relative;
    padding-top: 62%;
    overflow: hidden;
    background: #020617;
}

.bs-more-thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Meta/text styling */
.bs-more-meta {
    padding: 0.9rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.bs-more-title {
    margin: 0;
    font-size: 0.96rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: #f9fafb;
}

.bs-more-community {
    margin: 0.1rem 0 0.2rem;
    font-size: 0.82rem;
    color: #9ca3af;
}

/* Price: subtle, light – no bright yellow */
.bs-more-price {
    margin: 0.2rem 0 0;
    font-size: 0.9rem;
    font-weight: 500;
    color: #e5e7eb;
}

/* Ensure arrows (if present) don't clash on mobile */
.bs-more-carousel {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.bs-more-arrow {
    background: transparent;
    border: 1px solid rgba(148, 163, 184, 0.4);
    border-radius: 999px;
    width: 2.25rem;
    height: 2.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #e5e7eb;
    cursor: pointer;
    flex-shrink: 0;
}

.bs-more-arrow:hover {
    border-color: rgba(248, 250, 252, 0.75);
}

.bs-more-arrow-icon {
    font-size: 1.3rem;
    line-height: 1;
}


/* === FINAL OVERRIDE: More from this builder – dark cards + proper mobile stacking === */

/* Dark band & text */
.bs-section.bs-more-from-builder {
    background: #020617;
    color: #e5e7eb;
}

.bs-section.bs-more-from-builder .bs-section-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.5rem 2.5rem;
    background: transparent;
}

/* Card visual style */
.bs-section.bs-more-from-builder .bs-more-card {
    background: rgba(15, 23, 42, 0.96);
    border-radius: 1.25rem;
    border: 1px solid rgba(148, 163, 184, 0.55);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.85);
    color: #e5e7eb;
}

/* Price – light, not yellow */
.bs-section.bs-more-from-builder .bs-more-price {
    color: #e5e7eb;
}

/* 📱 Mobile & small tablets: stack cards full-width */
@media (max-width: 900px) {
    .bs-section.bs-more-from-builder .bs-more-carousel {
        flex-direction: column;
        align-items: stretch;
    }

    .bs-section.bs-more-from-builder .bs-more-grid {
        display: block;
        overflow-x: visible;
    }

    .bs-section.bs-more-from-builder .bs-more-card {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100%;
        margin-bottom: 1rem;
    }

    .bs-section.bs-more-from-builder .bs-more-arrow {
        display: none !important;
    }
}


/* Lightbox */
body.bs-lightbox-open {
    overflow: hidden;
}

.bs-lightbox {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.bs-lightbox.is-open {
    display: flex;
}

.bs-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.85);
}

.bs-lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 3.5rem;
    box-sizing: border-box;
}

.bs-lightbox-image-wrap {
    max-width: 100%;
    max-height: 100%;
}

.bs-lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    display: block;
    border-radius: 0.75rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    background: #000;
}

.bs-lightbox-close,
.bs-lightbox-prev,
.bs-lightbox-next {
    position: absolute;
    border: none;
    border-radius: 999px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    background: rgba(15, 23, 42, 0.85);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    line-height: 1;
}

.bs-lightbox-close {
    top: 1rem;
    right: 1rem;
}

.bs-lightbox-prev {
    left: 1rem;
}

.bs-lightbox-next {
    right: 1rem;
}

.bs-lightbox-close:hover,
.bs-lightbox-prev:hover,
.bs-lightbox-next:hover {
    background: rgba(15, 23, 42, 1);
}

@media (max-width: 640px) {
    .bs-lightbox-content {
        padding: 0.75rem 2.5rem;
    }

    .bs-lightbox-image {
        max-height: 70vh;
    }

    .bs-lightbox-close,
    .bs-lightbox-prev,
    .bs-lightbox-next {
        width: 34px;
        height: 34px;
        font-size: 1.1rem;
    }
}

/* === Lightbox controls visibility fix (v2.1.2) === */
.pswp__button,
.pswp__arrow--left,
.pswp__arrow--right {
    display: none !important;
}

.pswp--open .pswp__button,
.pswp--open .pswp__arrow--left,
.pswp--open .pswp__arrow--right {
    display: block !important;
}
/* === End lightbox controls visibility fix === */
