
/* ==========================================
   FAMILY FIRST - ABOUT US TWO COLUMN SECTION
   ========================================== */

.ff-about-page {
    padding: 65px 0 90px !important;
    background: #FFFFFF;
}

.ff-about-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(35px, 5vw, 75px);
    align-items: center;
}

.ff-about-content {
    min-width: 0;
}

.ff-about-content h2 {
    color: #76513B;
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.25;
    margin: 0 0 25px;
}

.ff-about-content .cont p {
    color: #665F59;
    font-size: 16px;
    line-height: 1.9;
    margin: 0;
}

/* RIGHT IMAGE */

.ff-about-image {
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
}

.ff-about-image img {
    display: block;
    width: 100%;
    height: 460px;
    object-fit: cover;
    object-position: center;
}

/* TABLET */

@media (max-width: 991px) {
    .ff-about-layout {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .ff-about-image img {
        height: 380px;
    }
}

/* MOBILE */

@media (max-width: 600px) {
    .ff-about-page {
        padding: 40px 0 65px !important;
    }

    .ff-about-content h2 {
        font-size: 28px;
    }

    .ff-about-image img {
        height: 260px;
    }
}

/* =========================================
   FAMILY FIRST - ABOUT US RESPONSIVE BANNER
   ========================================= */

.ff-about-hero {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: 450px !important;
    min-height: 450px !important;
    max-height: 450px !important;
    overflow: hidden !important;
    padding: 0 !important;
}

/* Image wrapper */

.ff-about-hero > picture {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 0;
}

.ff-about-hero > picture > img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: center center !important;
    filter: none !important;
}

/* Heading above image */

.ff-about-hero .banner_cont {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 2 !important;
    display: flex !important;
    align-items: center !important;

    background: linear-gradient(
        90deg,
        rgba(241, 236, 227, 0.70) 0%,
        rgba(241, 236, 227, 0.45) 30%,
        rgba(241, 236, 227, 0.18) 55%,
        transparent 78%
    ) !important;
}

.ff-about-hero .banner_cont h1 {
    color: #76513B !important;
    -webkit-text-fill-color: #76513B !important;
    line-height: 1.2 !important;
    max-width: 650px;
    margin: 0;
}

/* TABLET */

@media (min-width: 601px) and (max-width: 1199px) {

    .ff-about-hero {
        height: 360px !important;
        min-height: 360px !important;
        max-height: 360px !important;
    }

    .ff-about-hero .banner_cont h1 {
        font-size: 36px !important;
        max-width: 55%;
    }

    .ff-about-hero .banner_cont {
        background: linear-gradient(
            90deg,
            rgba(241, 236, 227, 0.60) 0%,
            rgba(241, 236, 227, 0.32) 50%,
            transparent 92%
        ) !important;
    }
}

/* MOBILE */

@media (max-width: 600px) {

    .ff-about-hero {
        height: 350px !important;
        min-height: 350px !important;
        max-height: 350px !important;
    }

    .ff-about-hero > picture > img {
        object-position: center center !important;
    }

    .ff-about-hero .banner_cont {
        align-items: flex-start !important;
        padding-top: 35px !important;

        background: linear-gradient(
            90deg,
            rgba(241, 236, 227, 0.50) 0%,
            rgba(241, 236, 227, 0.25) 60%,
            transparent 100%
        ) !important;
    }

    .ff-about-hero .banner_cont .container {
        padding-left: 24px !important;
        padding-right: 24px !important;
    }

    .ff-about-hero .banner_cont h1 {
        font-size: 25px !important;
        max-width: 85%;
    }
}

@media (max-width: 375px) {
    .ff-about-hero .banner_cont h1 {
        font-size: 22px !important;
    }
}
