/* ========================================
   Provider Header
======================================== */

.provider-header {
    background: rgb(40 51 74);
}

.provider-header__container {
    max-width: 1240px;
    margin: 0 auto;
    padding: clamp(20px, 2vw, 40px) 0;
    box-sizing: border-box;
    gap: 26px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.provider-header__logo {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 575px;
    text-decoration: none;
}

.provider-header__logo-image {
    display: block;
    width: 100%;
    height: auto;
}

.provider-header__site-name {
    font-family: 'Montserrat';
    font-size: clamp(24px, 2vw, 36px);
    font-weight: 700;
    line-height: 120%;
    color: #fff;
    text-align: center;
}

.provider-header__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 26px;
}

.provider-header__description {
    max-width: 940px;
    margin: 0;

    font-family: 'Montserrat';
    font-size: 16px;
    font-weight: 400;
    line-height: 140%;
    color: #fff;
    text-align: center;
}

.provider-header__directory-link {
    display: inline-block;
    font-family: 'Montserrat';
    font-size: 16px;
    font-weight: 400;
    line-height: 130%;
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 2px;

    transition: color 0.3s ease;
}

.provider-header__directory-link:hover {
    color: rgb(94 223 245);
}


/* ========================================
   Provider Footer
======================================== */

.provider-footer {
    background: rgb(40 51 74);
    display: flex;
    justify-content: center;
}

.provider-footer__container {
    max-width: 1240px;
    display: flex;
    padding-top: clamp(20px, 2vw, 40px);
    padding-bottom: clamp(15px, 2vw, 25px);
    box-sizing: border-box;
    flex-direction: column;
    align-items: center;
    gap: 36px;
}

.provider-footer__inner {
    max-width: 660px;
    margin: 0 auto;
}

.provider-footer__logo {
    display: flex;
    width: 100%;
    max-width: 475px;
    text-decoration: none;
}

.provider-footer__logo-image {
    display: block;
    width: 100%;
    height: auto;
}

.provider-footer__site-name {
    font-family: 'Montserrat';
    font-size: clamp(20px, 1.6vw, 28px);
    font-weight: 700;
    line-height: 120%;
    color: #fff;
}

.provider-footer__content {
    margin-top: 26px;
}

.provider-footer__description {
    margin: 0;
    max-width: 570px;
    font-family: 'Montserrat';
    font-size: 16px;
    font-weight: 400;
    line-height: 145%;
    color: #fff;
    text-align: justify;
}

.provider-footer__navigation {
    display: none;
}

.provider-footer__copyright {
    margin: 12px 0 0 0;
    font-family: 'Montserrat';
    font-size: 16px;
    font-weight: 400;
    line-height: 140%;
    color: #fff;
    text-align: center;
}

.provider-footer__links {
    margin-top: 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 26px;

    text-align: center;
}

.provider-footer__links p {
    margin: 0;
}

.provider-footer__links a {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;

    color: #fff;
    text-decoration: none;

    transition: color .25s ease;
}

.provider-footer__links a:hover {
    color: rgb(94 223 245);
}

.provider-footer__legal {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;

    color: #fff;
}

.provider-footer__legal span {
    color: #fff;
}


/* ========================================
   Mobile
======================================== */

@media (max-width: 768px) {

    .provider-header__container {
        padding: 16px;

        align-items: flex-start;
        justify-content: center;
    }

    .provider-header__logo {
        justify-content: flex-start;
    }

    .provider-header__content {
        display: none;
    }


    .provider-footer__container {
        padding: 38px 24px 28px;
    }

    .provider-footer__inner {
        max-width: none;
    }

    .provider-footer__logo {
        max-width: 475px;
    }

    .provider-footer__content {
        margin-top: 36px;
    }

    .provider-footer__description {
        max-width: none;

        font-size: 15px;
        line-height: 145%;
        text-align: justify;
    }

    .provider-footer__navigation {
        margin-top: 36px;

        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 25px;

        font-family: 'Montserrat';
        font-size: 15px;
        line-height: 140%;
        text-align: center;
    }

    .provider-footer__navigation > a,
    .provider-footer__legal-links a {
        color: #fff;
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .provider-footer__navigation > a:hover,
    .provider-footer__legal-links a:hover {
        color: rgb(94 223 245);
    }

    .provider-footer__legal-links {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        gap: 7px;
        color: #fff;
    }

    .provider-footer__copyright {
        font-size: 15px;
    }

    .provider-footer__links {
        gap: 26px;
    }

    .provider-footer__links a {
        font-size: 16px;
    }

    .provider-footer__legal {
        gap: 8px;
    }
}


/* ========================================
   Small Mobile
======================================== */

@media (max-width: 480px) {

    .provider-header__logo {
        max-width: 100%;
    }

    .provider-footer__logo {
        max-width: 100%;
    }

    .provider-footer__description {
        font-size: 14px;
    }

    .provider-footer__navigation {
        font-size: 14px;
    }

    .provider-footer__copyright {
        font-size: 14px;
    }
}