/* =========================================
   Join page
========================================= */

.join-page {
    width: 100%;
    background: #fff;
    font-family: 'Montserrat', sans-serif;
    color: #26344c;
}

.join-page * {
    box-sizing: border-box;
}

.join-page__container {
    width: min(1210px, calc(100% - 40px));
    margin: 0 auto;
}

/* =========================================
   Header / logo
========================================= */

.join-page__header {
    width: 100%;
    max-width: 1240px;
    background: #273650;
}

.join-page__header .site-branding {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.join-page__header .site-branding a {
    display: flex;
    width: 100%;
    justify-content: center;
}

.join-page__header .site-logo {
    display: block;
    /*width: 100%;
    height: auto;*/
}

/* =========================================
   Intro
========================================= */

.join-page__intro {
    text-align: center;
    padding: 24px 20px 44px;
}

.join-page__title {
    max-width: 1240px;
    margin: 0 auto;
    color: #24324a;
    font-size: 23px;
    line-height: 1.35;
    font-weight: 700;
}

.join-page__subtitle {
    max-width: 1240px;
    margin: 25px auto 0;
    color: #43516a;
    font-size: 16px;
    line-height: 1.6;
    font-weight: 400;
}

.join-page__separator {
    width: 100%;
    border-top: 1px solid #d8dce3;
}

/* =========================================
   Main content
========================================= */

.join-page__content {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: 55px;
    padding: 28px 40px 36px;
}

.join-page__pricing-title {
    margin: 0 0 24px;
    color: #25334c;
    font-size: 26px;
    line-height: 1.3;
    font-weight: 600;
}

/* =========================================
   MemberPress pricing
========================================= */

.join-page .mepr-pricing-wrapper {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin: 0;
}

.join-page .pricing-item {
    min-height: 305px;
    padding: 34px 28px 25px;
    background: #fff;
    border: 1px solid #d7d7d7;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    font-family: 'Montserrat', sans-serif;
    box-shadow: none;
}

.join-page .pricing-item h3 {
    min-height: 60px;
    margin: 0 0 20px;
    color: #333;
    font-size: 19px;
    line-height: 1.25;
    font-weight: 600;
    text-align: center;
}

.join-page .pricing-item .price {
    margin: 5px 0 18px;
    color: #00aec7;
    font-size: 29px;
    line-height: 1;
    font-weight: 700;
}

.join-page .pricing-item p {
    margin: 3px 0;
    color: #666;
    font-size: 15px;
    line-height: 1.4;
    text-align: center;
}

.join-page .pricing-item p strong {
    color: #555;
    font-weight: 700;
}

.join-page .pricing-item .button {
    margin-top: auto;
    min-width: 132px;
    padding: 10px 25px;
    border: none;
    border-radius: 30px;
    background: #00aec7;
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    text-decoration: none;
    text-align: center;
    transition: background-color .2s ease;
}

.join-page .pricing-item .button:hover {
    background: #5edff5;
    color: #fff;
}

.join-page .mepr-pricing-login-link {
    margin-top: 24px;
    color: #536078;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
}

.join-page .mepr-pricing-login-link a {
    color: #008ca5;
    text-decoration: underline;
}

/* =========================================
   Quote / doctor
========================================= */

.join-page__about {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.join-page__quote {
    margin: 0;
    color: #5d687e;
    font-size: 16px;
    line-height: 1.55;
    font-style: italic;
    font-weight: 400;
}

.join-page__doctor-picture {
    display: block;
    width: 100%;
    max-width: 390px;
    margin-top: 22px;
}

.join-page__doctor-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.join-page__doctor-caption {
    display: flex;
    flex-direction: column;
    margin-top: 16px;
    color: #667086;
    font-size: 16px;
    line-height: 1.4;
    font-style: italic;
    text-align: center;
}

/* =========================================
   Bottom
========================================= */

.join-page__footer {
    border-top: 1px solid #d8dce3;
    padding: 22px 20px 42px;
    text-align: center;
}

.join-page__footer p {
    margin: 0;
    color: #657086;
    font-size: 16px;
    line-height: 1.6;
}

.join-page__footer a {
    color: #008ca5;
    text-decoration: underline;
}

/* =========================================
   Tablet
========================================= */

@media (max-width: 1024px) {

    .join-page__content {
        gap: 35px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .join-page .pricing-item {
        padding-left: 18px;
        padding-right: 18px;
    }

}

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

@media (max-width: 767px) {

    .join-page__container {
        width: 100%;
    }

    /* Header */

    .join-page__header {
        width: 100%;
        max-width: none;
        margin: 0;
        border-radius: 0;
    }

    .join-page__header .site-logo {
        width: 100%;
    }

    /* Intro */

    .join-page__intro {
        padding: 21px 20px 58px;
    }

    .join-page__title {
        max-width: 340px;
        font-size: 16px;
        line-height: 1.25;
    }

    .join-page__subtitle {
        max-width: 340px;
        margin-top: 13px;
        font-size: 14px;
        line-height: 1.3;
    }

    .join-page__separator {
        display: none;
    }

    /* Content */

    .join-page__content {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 0 15px;
    }

    .join-page__pricing-title {
        max-width: 350px;
        margin: 0 auto 22px;
        font-size: 18px;
        line-height: 1.3;
        text-align: center;
    }

    /* Pricing */

    .join-page .mepr-pricing-wrapper {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .join-page .pricing-item {
        width: 100%;
        min-height: 315px;
        padding: 40px 22px 25px;
        border-radius: 20px;
    }

    .join-page .pricing-item h3 {
        min-height: auto;
        margin-bottom: 35px;
        font-size: 18px;
        line-height: 1.25;
    }

    .join-page .pricing-item .price {
        margin-bottom: 24px;
        font-size: 29px;
    }

    .join-page .pricing-item p {
        font-size: 15px;
    }

    .join-page .pricing-item .button {
        margin-top: auto;
        min-width: 136px;
        font-size: 16px;
    }

    .join-page .mepr-pricing-login-link {
        margin-top: 18px;
        margin-bottom: 20px;
        font-size: 14px;
    }

    /* Quote */

    .join-page__about {
        border-top: 1px solid #d8dce3;
        padding-top: 32px;
    }

    .join-page__quote {
        max-width: 355px;
        margin: 0 auto;
        font-size: 14px;
        line-height: 1.5;
        text-align: center;
    }

    .join-page__doctor-picture {
        max-width: 310px;
        margin-top: 8px;
    }

    .join-page__doctor-caption {
        margin-top: 8px;
        font-size: 13px;
    }

    /* Footer */

    .join-page__footer {
        margin: 40px 15px 0;
        padding: 28px 5px 75px;
    }

    .join-page__footer p {
        font-size: 13px;
        line-height: 1.6;
    }

}
