/* ============================================
   LOCAL MARKET KNOWLEDGE SECTION
   Professional Split-Screen Layout
   ============================================ */

.local-market-section {
    padding: 100px 0;
    background-color: #1E42B8;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.local-market-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 80px;
}

.local-market-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* Left Content */
.local-market-content {
    padding-right: 40px;
}

.local-market-subtitle {
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    opacity: 0.8;
}

.local-market-title {
    font-family: var(--mds-font-serif);
    font-size: 3rem;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 30px;
    color: #ffffff;
}

.local-market-description {
    font-size: 1.15rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

.local-market-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 40px;
    background-color: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.local-market-cta:hover {
    background-color: #ffffff;
    color: #1E42B8;
}

.local-market-cta svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.local-market-cta:hover svg {
    transform: translateX(5px);
}

/* Right Image */
.local-market-image {
    position: relative;
    width: 100%;
    padding-top: 75%;
    /* 4:3 aspect ratio */
    overflow: hidden;
    border-radius: 0;
}

.local-market-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Stats Overlay (Optional) */
.local-market-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 50px;
    padding-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive Design */
@media (max-width: 991px) {
    .local-market-section {
        padding: 70px 0;
    }

    .local-market-container {
        padding: 0 40px;
    }

    .local-market-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .local-market-content {
        padding-right: 0;
    }

    .local-market-title {
        font-size: 2.5rem;
    }

    .local-market-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .local-market-section {
        padding: 50px 0;
    }

    .local-market-container {
        padding: 0 20px;
    }

    .local-market-title {
        font-size: 2rem;
    }

    .local-market-description {
        font-size: 1rem;
    }

    .local-market-stats {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}

/* Alternative: Light Version */
.local-market-section.light-version {
    background-color: #f8f9fa;
    color: #1E42B8;
}

.local-market-section.light-version .local-market-title,
.local-market-section.light-version .local-market-subtitle,
.local-market-section.light-version .stat-number {
    color: #1E42B8;
}

.local-market-section.light-version .local-market-description,
.local-market-section.light-version .stat-label {
    color: #6c757d;
}

.local-market-section.light-version .local-market-cta {
    border-color: #1E42B8;
    color: #1E42B8;
}

.local-market-section.light-version .local-market-cta:hover {
    background-color: #1E42B8;
    color: #ffffff;
}