
/* ==========================================
   familyFIRST - ADULT SERVICES
   Shared individual service page stylesheet
   ========================================== */

   body {
    background-color: #F1ECE3 !important;
}

.ff-therapy-page {
    --ff-brown: #76513B;
    --ff-espresso: #2D1F17;
    --ff-sage: #859F7D;
    --ff-terracotta: #C96F56;
    --ff-sand: #EDE8DF;
    --ff-beige: #D6C6B6;
    --ff-body: #665F59;
    color: var(--ff-espresso);
}

.ff-therapy-page *,
.ff-therapy-page *::before,
.ff-therapy-page *::after {
    box-sizing: border-box;
}

/* SAME TEAM BANNER */

body.ff-therapy-refresh
.ff-therapy-page .banner.team-hero h1 {
    color: #76513B !important;
    -webkit-text-fill-color: #76513B !important;
}

/* CONTAINER */

.ff-therapy-page .ff-therapy-container {
    width: calc(100% - 80px);
    max-width: 1240px;
    margin: 0 auto;
}

/* BREADCRUMB */

.ff-therapy-breadcrumb-section {
    background: #FFFFFF;
    padding: 27px 0 0;
}

.ff-therapy-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ff-therapy-breadcrumb li {
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--ff-body);
    font-size: 13px;
    line-height: 1.7;
}

.ff-therapy-breadcrumb li::before,
.ff-therapy-breadcrumb li::after {
    content: none !important;
}

.ff-therapy-breadcrumb a {
    color: var(--ff-brown);
    text-decoration: none;
}

.ff-therapy-breadcrumb a:hover {
    text-decoration: underline;
}

.ff-therapy-breadcrumb .separator {
    color: #B6A79B;
}

/* INTRODUCTION */

.ff-therapy-intro {
    padding: 65px 0 85px;
    background: #FFFFFF;
}

.ff-therapy-intro-layout {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: clamp(40px, 6vw, 95px);
    align-items: start;
}

.ff-therapy-intro-title {
    position: relative;
}

.ff-therapy-page .ff-therapy-intro h2,
.ff-therapy-page .ff-therapy-services h2,
.ff-therapy-page .ff-therapy-approach h2 {
    margin: 0;
    color: var(--ff-brown);
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: normal;
}

.ff-therapy-intro-copy p {
    margin: 0 0 22px;
    color: var(--ff-body);
    font-size: 17px;
    line-height: 1.9;
}

.ff-therapy-intro-copy p:last-child {
    margin-bottom: 0;
}

/* SERVICES / AREAS OF SUPPORT */

.ff-therapy-services {
    padding: 75px 0 90px;
    background: #F8F6F2;
}

.ff-therapy-services-header {
    margin-bottom: 20px;
}

.ff-therapy-page .ff-therapy-services-header h2 {
    margin-bottom: 18px;
}

.ff-therapy-services-header p {
    margin: 0;
    color: var(--ff-body);
    font-size: 17px;
    line-height: 1.8;
}

.ff-therapy-services-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(245px, 285px);
    gap: clamp(40px, 5vw, 70px);
    align-items: start;
}

/* TWO-COLUMN SUPPORT LIST */

.ff-therapy-concerns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ff-therapy-concerns li {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 72px;
    margin: 0;
    padding: 17px 8px 17px 26px;
    border-bottom: 1px solid var(--ff-beige);
    list-style: none;
    color: var(--ff-espresso);
    font-size: 16px;
    line-height: 1.65;
}

.ff-therapy-concerns li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 29px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--ff-sage);
}

.ff-therapy-concerns li::after {
    content: none !important;
}

/* ADULT SERVICES SIDEBAR */

.ff-therapy-sidebar {
    position: sticky;
    top: 110px;
    min-width: 0;
    padding: 27px 24px;
    background: #FFFFFF;
    border: 1px solid var(--ff-sand);
    border-radius: 12px;
}

.ff-therapy-sidebar h3 {
    margin: 0 0 20px;
    color: var(--ff-brown);
    font-size: 21px;
    font-weight: 600;
    line-height: 1.3;
}

.ff-therapy-sidebar ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ff-therapy-sidebar li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid var(--ff-sand);
    list-style: none;
}

.ff-therapy-sidebar li:last-child {
    border-bottom: 0;
}

.ff-therapy-sidebar li::before,
.ff-therapy-sidebar li::after {
    content: none !important;
}

.ff-therapy-sidebar a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 15px 0;
    color: var(--ff-espresso);
    font-size: 14px;
    line-height: 1.55;
    text-decoration: none;
    transition: color .2s ease;
}

.ff-therapy-sidebar a:hover {
    color: var(--ff-terracotta);
}

.ff-therapy-sidebar a[aria-current="page"] {
    color: var(--ff-brown);
    font-weight: 700;
}

.ff-therapy-sidebar .service-arrow {
    flex-shrink: 0;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 28px;
    height: 28px;
    border: 1px solid var(--ff-beige);
    border-radius: 50%;
    color: var(--ff-brown);
    font-size: 16px;
}

/* OUR APPROACH - NO COLOURED CARD */

.ff-therapy-approach {
    padding: 75px 0 90px;
    background: #FFFFFF;
}

.ff-therapy-approach-inner {
    max-width: 1050px;
    margin: 0 auto;
}

.ff-therapy-divider {
    width: 100%;
    height: 1px;
    margin-top: 10px;
    margin-bottom: 28px;
    background: var(--ff-beige);
}

.ff-therapy-approach-inner p {
    margin: 0;
    color: var(--ff-body);
    font-size: 17px;
    line-height: 1.9;
}

/* TABLET */

@media (max-width: 991px) {

    .ff-therapy-intro-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .ff-therapy-services-layout {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .ff-therapy-sidebar {
        position: static;
    }
}

/* MOBILE */

@media (max-width: 680px) {

    .ff-therapy-page .ff-therapy-container {
        width: calc(100% - 32px);
    }

    .ff-therapy-intro {
        padding: 45px 0 60px;
    }

    .ff-therapy-page .ff-therapy-intro h2,
    .ff-therapy-page .ff-therapy-services h2,
    .ff-therapy-page .ff-therapy-approach h2 {
        font-size: 27px;
    }

    .ff-therapy-intro-copy p,
    .ff-therapy-services-header p,
    .ff-therapy-approach-inner p {
        font-size: 16px;
        line-height: 1.8;
    }

    .ff-therapy-services {
        padding: 55px 0 65px;
    }

    .ff-therapy-concerns {
        grid-template-columns: 1fr;
    }

    .ff-therapy-concerns li {
        min-height: 0;
        padding: 17px 8px 17px 25px;
    }

    .ff-therapy-concerns li::before {
        top: 26px;
    }

    .ff-therapy-approach {
        padding: 55px 0 65px;
    }

    .ff-therapy-sidebar {
        padding: 22px 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ff-therapy-sidebar a {
        transition: none;
    }
}

/* ==========================================
   ADULT SERVICES - ADDITIONAL CONTENT LISTS
   ========================================== */

.ff-therapy-page .ff-therapy-intro-benefits,
.ff-therapy-page .ff-therapy-expect-list {
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.ff-therapy-page .ff-therapy-intro-benefits li,
.ff-therapy-page .ff-therapy-expect-list li {
    position: relative;
    margin: 0;
    padding: 15px 10px 15px 25px;
    border-bottom: 1px solid #D6C6B6;
    list-style: none;
    color: #665F59;
    font-size: 16px;
    line-height: 1.8;
}

.ff-therapy-page .ff-therapy-intro-benefits li::before,
.ff-therapy-page .ff-therapy-expect-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 26px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #859F7D;
}

.ff-therapy-page .ff-therapy-intro-benefits li::after,
.ff-therapy-page .ff-therapy-expect-list li::after {
    content: none !important;
}

.ff-therapy-page .ff-therapy-intro-benefits li:last-child,
.ff-therapy-page .ff-therapy-expect-list li:last-child {
    border-bottom: 0;
}

@media (max-width: 680px) {

    .ff-therapy-page .ff-therapy-intro-benefits li,
    .ff-therapy-page .ff-therapy-expect-list li {
        font-size: 15px;
        line-height: 1.75;
    }

}

.ff-therapy-approach .items-list ul {
    list-style: disc;
    padding-left: 24px;
    margin: 24px 0 0;
}

.ff-therapy-approach .items-list li {
    margin-bottom: 16px;
    line-height: 1.8;
}


/* ==========================================
   FAMILY THERAPY - OUR APPROACH
   ========================================== */

.ff-therapy-page .ff-therapy-approach-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.ff-therapy-page .ff-therapy-approach-list li {
    position: relative;
    margin: 0;
    padding: 16px 10px 16px 26px;
    border-bottom: 1px solid var(--ff-beige);
    list-style: none;
    color: var(--ff-body);
    font-size: 17px;
    line-height: 1.8;
}

.ff-therapy-page .ff-therapy-approach-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 29px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--ff-sage);
}

.ff-therapy-page .ff-therapy-approach-list li::after {
    content: none !important;
}

.ff-therapy-page .ff-therapy-approach-list li:last-child {
    border-bottom: 0;
}

@media (max-width: 680px) {
    .ff-therapy-page .ff-therapy-approach-list li {
        padding: 15px 8px 15px 25px;
        font-size: 16px;
        line-height: 1.75;
    }

    .ff-therapy-page .ff-therapy-approach-list li::before {
        top: 27px;
    }
}


/* ==========================================
   familyFIRST - ADULT SERVICES LANDING PAGE
   adults.php
   ========================================== */

/* PAGE VARIABLES */

.ff-adult-page {
    --ff-ink: #2D1F17;
    --ff-muted: #665F59;
    --ff-sage: #859F7D;
    --ff-terracotta: #C96F56;
    --ff-sand: #EDE8DF;
    --ff-lavender: #E8DFF7;

    color: var(--ff-ink);
}

.ff-adult-page *,
.ff-adult-page *::before,
.ff-adult-page *::after {
    box-sizing: border-box;
}

/* ==========================================
   BANNER HEADING
   ========================================== */

body.adult-development-refresh
.ff-adult-page .banner.team-hero h1 {
    color: #76513B !important;
    -webkit-text-fill-color: #76513B !important;
}

/* ==========================================
   SERVICES SECTION
   ========================================== */

.ff-adult-page .ff-adult-services {
    padding: clamp(48px, 6.5vw, 90px) 0
             clamp(76px, 9vw, 132px);
    background: #FFFFFF;
}

/* ==========================================
   SERVICES CARD GRID
   ========================================== */

.ff-adult-page .ff-adult-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;

    margin: 0;
    padding: 0;
    list-style: none;
}

.ff-adult-page .ff-adult-grid li {
    min-width: 0;
    height: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ff-adult-page .ff-adult-grid li::before,
.ff-adult-page .ff-adult-grid li::after {
    content: none !important;
}

/* ==========================================
   CARD DESIGN
   ========================================== */

.ff-adult-page .ff-adult-card {
    display: flex;
    flex-direction: column;

    width: 100%;
    height: 100%;
    padding: 0;

    overflow: hidden;

    background: #FFFFFF;
    border: 1px solid #EDE8DF;
    border-radius: 12px;

    text-decoration: none !important;

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}

/* ==========================================
   CARD IMAGES
   ========================================== */

.ff-adult-page .ff-adult-card-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--ff-sand);
}

.ff-adult-page .ff-adult-card-image img {
    display: block;
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .4s ease;
}

/* ==========================================
   CARD CONTENT
   ========================================== */

.ff-adult-page .ff-adult-card-content {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    width: 100%;
    min-height: 125px;
    padding: 22px;

    flex: 1;
}

.ff-adult-page .ff-adult-card h3 {
    margin: 0;
    max-width: none;

    color: var(--ff-ink);
    font-size: 19px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0;
}

/* ==========================================
   CARD BACKGROUND COLOURS
   ========================================== */

/* Sage Green */

.ff-adult-page .ff-adult-grid li:nth-child(4n+1)
.ff-adult-card-content {
    background: #EDF2EA;
}

/* Dusty Blue */

.ff-adult-page .ff-adult-grid li:nth-child(4n+2)
.ff-adult-card-content {
    background: #EAF1F7;
}

/* Soft Lavender */

.ff-adult-page .ff-adult-grid li:nth-child(4n+3)
.ff-adult-card-content {
    background: var(--ff-lavender);
}

/* Dusty Pink */

.ff-adult-page .ff-adult-grid li:nth-child(4n+4)
.ff-adult-card-content {
    background: #F5E8E6;
}

/* ==========================================
   CARD ARROW
   ========================================== */

.ff-adult-page .ff-adult-card-arrow {
    position: static;
    display: grid;
    place-items: center;

    width: 36px;
    height: 36px;
    flex: 0 0 36px;

    border: 1px solid var(--ff-terracotta);
    border-radius: 50%;

    background: transparent;

    transition: background .2s ease;
}

.ff-adult-page .ff-adult-card-arrow::after {
    content: "";
    display: block;

    width: 8px;
    height: 8px;

    border-top: 2px solid var(--ff-terracotta);
    border-right: 2px solid var(--ff-terracotta);

    transform: rotate(45deg);
    margin-left: -3px;
}

/* ==========================================
   HOVER EFFECTS
   ========================================== */

.ff-adult-page .ff-adult-card:hover {
    transform: translateY(-5px);

    border-color: var(--ff-terracotta);

    box-shadow: 0 14px 32px rgba(45, 31, 23, .10);
}

.ff-adult-page .ff-adult-card:hover img {
    transform: scale(1.04);
}

.ff-adult-page .ff-adult-card:hover
.ff-adult-card-arrow {
    background: var(--ff-terracotta);
}

.ff-adult-page .ff-adult-card:hover
.ff-adult-card-arrow::after {
    border-top-color: #FFFFFF;
    border-right-color: #FFFFFF;
}

/* ==========================================
   KEYBOARD ACCESSIBILITY
   ========================================== */

.ff-adult-page .ff-adult-card:focus-visible {
    outline: 3px solid var(--ff-sage);
    outline-offset: 3px;
}

/* ==========================================
   TABLET
   ========================================== */

@media (max-width: 991px) {

    .ff-adult-page .ff-adult-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

}

/* ==========================================
   MOBILE
   ========================================== */

@media (max-width: 680px) {

    .ff-adult-page .ff-adult-services {
        padding: 42px 0 70px;
    }

    .ff-adult-page .ff-adult-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .ff-adult-page .ff-adult-card-content {
        min-height: 110px;
        padding: 20px;
    }

    .ff-adult-page .ff-adult-card h3 {
        font-size: 18px;
    }

}

/* ==========================================
   REDUCED MOTION
   ========================================== */

@media (prefers-reduced-motion: reduce) {

    .ff-adult-page .ff-adult-card,
    .ff-adult-page .ff-adult-card-image img {
        transition: none;
    }

}
/* =========================================
   FAMILY FIRST - GLOBAL BANNER FIX
   ========================================= */

body .banner {
    position: relative !important;
    width: 100%;
     height: 450px !important;
    min-height: 450px !important;
    max-height: 450px !important;
    overflow: hidden !important;
    padding: 0 !important;
}

/* Make the image cover the entire banner */
body .banner > img {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block;
}

/* Keep the heading above the image */
body .banner .banner_cont {
    position: absolute !important;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
}

/* Tablet */
@media (max-width: 991px) {
    body .banner {
        height: 400px !important;
        min-height: 400px !important;
        max-height: 400px !important;
    }
}

/* Mobile */
@media (max-width: 767px) {
    body .banner {
        height: 300px !important;
        min-height: 300px !important;
        max-height: 300px !important;
    }

    body .banner > img {
        object-position: 65% center !important;
    }
}


.banner.team-hero .banner_cont {
    background: none !important;
    backdrop-filter: none !important;
    filter: none !important;
}

.banner.team-hero img {
    filter: none !important;
}


/* =========================================
   PSYCHOTHERAPY FOR INDIVIDUALS
   RESPONSIVE BANNER
   ========================================= */

/* Desktop banner */

body.ff-therapy-refresh .banner.team-hero.ff-adult-therapy-hero {
    position: relative !important;
    width: 100% !important;
    height: 450px !important;
    min-height: 450px !important;
    max-height: 450px !important;
    overflow: hidden !important;
    display: block !important;
    padding: 0 !important;
}

/* Picture wrapper */

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

/* Banner image */

body.ff-therapy-refresh .ff-adult-therapy-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;
}

/* Keep heading over banner */

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

    background: transparent !important;
    background-image: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* Remove inherited gradient and blur */

body.ff-therapy-refresh .ff-adult-therapy-hero::before,
body.ff-therapy-refresh .ff-adult-therapy-hero::after,
body.ff-therapy-refresh .ff-adult-therapy-hero .banner_cont::before,
body.ff-therapy-refresh .ff-adult-therapy-hero .banner_cont::after {
    content: none !important;
}

/* Heading */

body.ff-therapy-refresh .ff-adult-therapy-hero h1 {
    color: #76513B !important;
    -webkit-text-fill-color: #76513B !important;
    font-size: clamp(34px, 4vw, 56px);
    line-height: 1.2;
    margin: 0;
}


/* TABLET - 769px to 1199px */

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

    body.ff-therapy-refresh .banner.team-hero.ff-adult-therapy-hero {
        height: 360px !important;
        min-height: 360px !important;
        max-height: 360px !important;
    }

    body.ff-therapy-refresh .ff-adult-therapy-hero h1 {
        font-size: 36px !important;
        max-width: 65%;
    }
}


/* TABLET AND MOBILE - 768px and below */

@media (max-width: 768px) {

    body.ff-therapy-refresh .banner.team-hero.ff-adult-therapy-hero {
        height: 350px !important;
        min-height: 350px !important;
        max-height: 350px !important;
    }

    body.ff-therapy-refresh .ff-adult-therapy-hero > picture > img {
        object-position: center center !important;
    }

    body.ff-therapy-refresh .ff-adult-therapy-hero .banner_cont {
        align-items: center !important;
    }

    body.ff-therapy-refresh .ff-adult-therapy-hero h1 {
        font-size: 28px !important;
        line-height: 1.2 !important;
        max-width: 65%;
    }
}


/* SMALL MOBILE - 375px and below */

@media (max-width: 375px) {

    body.ff-therapy-refresh .banner.team-hero.ff-adult-therapy-hero {
        height: 300px !important;
        min-height: 300px !important;
        max-height: 300px !important;
    }

    body.ff-therapy-refresh .ff-adult-therapy-hero .banner_cont .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    body.ff-therapy-refresh .ff-adult-therapy-hero h1 {
        font-size: 22px !important;
        line-height: 1.2 !important;
        max-width: 75%;
    }
}


/* =========================================
   ADULT SERVICES - STRONGER SOFT BANNER EFFECT
   ========================================= */

/* Desktop */
body.ff-therapy-refresh
.ff-therapy-page .banner.team-hero .banner_cont {
    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;

    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* Tablet */
@media (max-width: 991px) {
    body.ff-therapy-refresh
    .ff-therapy-page .banner.team-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) {
    body.ff-therapy-refresh
    .ff-therapy-page .banner.team-hero .banner_cont {
        background: linear-gradient(
            90deg,
            rgba(241, 236, 227, 0.50) 0%,
            rgba(241, 236, 227, 0.25) 60%,
            transparent 100%
        ) !important;
    }
}

/* =========================================
   FAMILY FIRST - RESPONSIVE COUNSELLING BANNER
   ========================================= */

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

/* Picture and image */

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

.ff-counselling-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;
}

/* Text overlay */

.ff-counselling-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;

    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.ff-counselling-hero .banner_cont h1 {
    color: #76513B !important;
    -webkit-text-fill-color: #76513B !important;
    font-size: clamp(34px, 4vw, 56px);
    line-height: 1.2 !important;
    max-width: 620px;
    margin: 0;
}

/* TABLET */

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

    body .banner.team-hero.ff-counselling-hero {
        height: 360px !important;
        min-height: 360px !important;
        max-height: 360px !important;
    }

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

    .ff-counselling-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) {

    body .banner.team-hero.ff-counselling-hero {
        height: 350px !important;
        min-height: 350px !important;
        max-height: 350px !important;
    }

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

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

        background: linear-gradient(
            180deg,
            rgba(241, 236, 227, 0.65) 0%,
            rgba(241, 236, 227, 0.25) 45%,
            transparent 75%
        ) !important;
    }

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

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

/* SMALL MOBILE */

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