/* =========================================================
   Che cos’è un Search Fund - page specific
   ========================================================= */

.sf-hero {
    padding-top: 24px;
}

.sf-hero__copy {
    min-height: 240px;
    display: flex;
    align-items: flex-start;
}

.sf-hero__title {
    margin: 0;
    font-family: 'SF Pro Display', 'Anuphan', sans-serif;
    letter-spacing: -0.06em;
    line-height: 0.9;
}

.sf-hero__title-top,
.sf-hero__title-bottom {
    display: block;
}

.sf-hero__title-top {
    font-size: clamp(62px, 6.15vw, 96px);
    font-weight: 500;
    color: #006672;
}

.sf-hero__title-bottom {
    margin-top: -4px;
    font-size: clamp(64px, 6.2vw, 98px);
    font-weight: 500;
    color: var(--text);
}

.sf-hero__text {
    max-width: 1320px;
}

.sf-hero__text p {
    margin: 0;
    max-width: 1400px;
    font-family: 'Anuphan', sans-serif;
    font-size: clamp(21px, 1.74vw, 31px);
    line-height: 1.01;
    font-weight: 500;
    color: #4f9aa0;
    letter-spacing: -0.04em;
}

.sf-hero__text p + p {
    margin-top: 22px;
}

.sf-two-col {
    display: grid;
    grid-template-columns: 184px minmax(0, 1fr);
    gap: 40px 180px;
    align-items: start;
}

.sf-two-col__right {
    max-width: 1010px;
}

.sf-two-col__right--narrow {
    max-width: 952px;
}

.sf-two-col__right--growth {
    max-width: 980px;
}

.sf-model .eyebrow-pill,
.sf-why .eyebrow-pill,
.sf-growth .eyebrow-pill {
    gap: 0;
    min-height: 30px;
    padding: 7px 16px 6px;
    font-size: 16px;
    color: #5e7d81;
    white-space: nowrap;
}

.sf-model .eyebrow-pill::before,
.sf-why .eyebrow-pill::before,
.sf-growth .eyebrow-pill::before {
    display: none;
    content: none;
}

.sf-two-col__right p {
    margin: 0;
    font-family: 'Anuphan', sans-serif;
    font-size: clamp(21px, 1.74vw, 31px);
    line-height: 1.01;
    font-weight: 500;
    color: #4f9aa0;
    letter-spacing: -0.04em;
}

.sf-two-col__right p + p {
    margin-top: 24px;
}

.sf-why .sf-two-col__right p {
    max-width: 930px;
}

.sf-reasons {
    padding-bottom: 88px;
}

.sf-reasons__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.sf-reason {
    min-height: 212px;
    padding: 78px 22px 66px;
}

.sf-reason--teal { background: #0f7985; }
.sf-reason--navy { background: #2b4e5b; }
.sf-reason--mint { background: #40989d; }
.sf-reason--light { background: #dedddb; }

.sf-reason__title {
    margin: 0 0 22px;
    font-family: 'SF Pro Display', sans-serif;
    font-size: clamp(22px, 1.75vw, 31px);
    line-height: 0.98;
    font-weight: 500;
    letter-spacing: -0.04em;
}

.sf-reason__body {
    margin: 0;
    max-width: 245px;
    font-family: 'Anuphan', sans-serif;
    font-size: clamp(13px, 1vw, 17px);
    line-height: 1.14;
    letter-spacing: -0.03em;
}

.sf-reason--teal .sf-reason__title,
.sf-reason--navy .sf-reason__title,
.sf-reason--mint .sf-reason__title,
.sf-reason--teal .sf-reason__body,
.sf-reason--navy .sf-reason__body,
.sf-reason--mint .sf-reason__body {
    color: #f1f3f2;
}

.sf-reason--light .sf-reason__title,
.sf-reason--light .sf-reason__body {
    color: #166c77;
}

.sf-growth {
    padding-top: 28px;
}

@media (max-width: 1199.98px) {
    .sf-hero__copy {
        min-height: 132px;
    }

    .sf-two-col {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .sf-two-col__right,
    .sf-two-col__right--narrow,
    .sf-two-col__right--growth,
    .sf-hero__text,
    .sf-hero__text p {
        max-width: 100%;
    }

    .sf-reasons__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767.98px) {
    .sf-hero__copy {
        min-height: auto;
        padding-bottom: 16px;
    }

    .sf-hero__title-top {
        font-size: clamp(46px, 11vw, 62px);
    }

    .sf-hero__title-bottom {
        font-size: clamp(48px, 11.5vw, 64px);
    }

    .sf-hero__text p,
    .sf-two-col__right p {
        font-size: 18px;
        line-height: 1.1;
    }

    .sf-reasons {
        padding-bottom: 28px;
    }

    .sf-reasons__grid {
        grid-template-columns: 1fr;
    }

    .sf-reason {
        min-height: auto;
        padding: 30px 22px 26px;
    }

    .sf-reason__title {
        font-size: 28px;
    }

    .sf-reason__body {
        max-width: 100%;
        font-size: 15px;
    }
}

@media (min-width: 1200px) {
    .sf-reason__body {
        font-size: clamp(15px, 1.1vw, 19px);
    }
}

.sf-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'SF Pro Display', sans-serif;
    font-size: 18px;
    line-height: 1;
    font-weight: 500;
    text-transform: uppercase;
    color: #0b5a6a;
    letter-spacing: -0.02em;
    text-decoration: none;
}

.sf-back-link__icon {
    font-size: 20px;
    line-height: 1;
}

.sf-back-link {
    margin-top: 32px;
    display: inline-flex;
}
