/* ==========================================================================
   Base/Features.SideBySide — Alternating image/text feature blocks
   Merged from SideBySideFeatures.css + AboutOwnerSideBySide.css (grid layout)
   Uses standard feature-block class names (not monoA-services-*)
   ========================================================================== */

.full-width-breakout-sidebyside {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background: var(--section-bg-canvas);
}

.side-by-side-features {
    padding: 5rem 0;
    background-color: var(--section-bg-canvas);
}

.features-section-header {
    text-align: center;
    margin-bottom: 2.75rem;
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1.5rem;
}

.features-section-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
}

.features-section-subtitle {
    font-family: var(--font-sans);
    font-size: 1.125rem;
    line-height: 1.75;
    color: var(--primary-color);
    margin: 0 auto;
    max-width: 640px;
    text-align: center;
}

.features-wrapper {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.feature-block {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(280px, 1.1fr);
    grid-template-areas: "image text";
    gap: 2rem;
    align-items: center;
}

    .feature-block.reverse {
        grid-template-areas: "text image";
    }

.feature-image {
    grid-area: image;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-text {
    grid-area: text;
    min-width: 280px;
}

    .feature-text h3 {
        font-size: 2rem;
        font-weight: 700;
        color: var(--primary-color);
        margin-bottom: 1rem;
    }

    .feature-text p {
        font-size: 1.125rem;
        color: var(--primary-color);
        line-height: 1.6;
    }

.feature-text,
.feature-image {
    align-self: stretch;
}

    .feature-image img {
        width: 100%;
        height: auto;
        max-height: clamp(420px, 80vh, 980px);
        object-fit: cover;
        border-radius: 1rem;
        box-shadow: 0 10px 30px rgba(0,0,0,0.08);
        background: var(--section-bg-1);
        max-width: 560px;
    }

@media (max-height: 900px) and (min-width: 992px) {
    .feature-image img {
        max-height: clamp(360px, 60vh, 880px);
    }
}

@media (max-height: 800px) and (min-width: 992px) {
    .feature-image img {
        max-height: clamp(320px, 55vh, 820px);
    }
}

@media (max-width: 900px) {
    .feature-block {
        grid-template-columns: 1fr;
        grid-template-areas:
            "image"
            "text";
        align-items: start;
    }

    .feature-image,
    .feature-text {
        align-self: auto;
    }

    .feature-image {
        height: auto;
    }

        .feature-image img {
            max-height: none;
            height: auto;
            object-fit: contain;
            margin: 0 auto;
        }
}
