/* Membership types: "Word lid" page, chosen membership summary and MijnVB membership pages */

.vb-join {
    background: #f3f5fa;
    font-family: "Futura PT", serif;
}

.vb-join__hero {
    background: linear-gradient(135deg, #233056 3.03%, #274893);
    color: white;
    padding: 110px 0 150px;
    text-align: center;
}

.vb-join__eyebrow {
    align-items: center;
    color: #ffe500;
    display: inline-flex;
    font-size: 14px;
    font-weight: 600;
    gap: 14px;
    letter-spacing: .22em;
    text-transform: uppercase;
}

.vb-join__eyebrow:before,
.vb-join__eyebrow:after {
    background: #ffe500;
    content: "";
    display: block;
    height: 2px;
    width: 32px;
}

.vb-join__title {
    color: white;
    font-family: "Futura PT", serif;
    font-size: 44px;
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1;
    margin: 18px 0 20px;
    text-transform: uppercase;
}

.vb-join__title strong {
    background: linear-gradient(270.56deg, #ffe500 1.88%, #fc0 86.38%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.vb-join__lead {
    color: rgba(255, 255, 255, .86);
    font-size: 19px;
    line-height: 1.45;
    margin: 0 auto;
    max-width: 720px;
}

.vb-join__plans {
    padding-bottom: 64px;
}

.vb-join__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    margin-top: -100px;
}

.vb-join__grid > .vb-membership-card {
    width: 100%;
}

.vb-join__footnotes {
    color: #4a4f5c;
    font-size: 17px;
    margin-top: 36px;
    text-align: center;
}

.vb-join__footnotes p {
    margin: 0 0 6px;
}

.vb-join__footnotes a {
    color: #03509e;
    font-weight: 600;
}

@media (min-width: 640px) {
    .vb-join__grid > .vb-membership-card {
        width: calc((100% - 24px) / 2);
    }
}

@media (min-width: 992px) {
    .vb-join__hero {
        padding-top: 64px;
    }

    .vb-join__title {
        font-size: 64px;
    }

    .vb-join__grid > .vb-membership-card {
        width: calc((100% - 48px) / 3);
    }
}

/* Card */

.vb-membership-card {
    background: white;
    border: 1px solid rgba(39, 72, 147, .08);
    border-radius: 20px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 14px 36px rgba(16, 24, 40, .09);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    transition: transform .2s ease, box-shadow .2s ease;
}

.vb-membership-card:hover {
    box-shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 22px 48px rgba(16, 24, 40, .16);
    transform: translateY(-4px);
}

.vb-membership-card.is-selected {
    box-shadow: 0 0 0 3px #ffe500, 0 22px 48px rgba(16, 24, 40, .16);
}

.vb-membership-card__media {
    background: #233056;
    flex: none;
    padding-top: 61%;
    position: relative;
}

.vb-membership-card__media img {
    height: 100%;
    left: 0;
    object-fit: cover;
    position: absolute;
    top: 0;
    width: 100%;
}

.vb-membership-card__media:after {
    background: linear-gradient(180deg, rgba(5, 13, 60, 0) 38%, rgba(5, 13, 60, .82) 100%);
    bottom: 0;
    content: "";
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.vb-membership-card__badge,
.vb-membership-card__selected {
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    left: 14px;
    letter-spacing: .04em;
    line-height: 1;
    padding: 7px 11px 6px;
    position: absolute;
    text-transform: uppercase;
    top: 14px;
    z-index: 2;
}

.vb-membership-card__badge {
    background: #ffe500;
    color: #111;
}

.vb-membership-card__selected {
    background: white;
    color: #03509e;
    left: auto;
    right: 14px;
}

.vb-membership-card__price {
    bottom: 14px;
    color: white;
    font-size: 46px;
    font-weight: 800;
    left: 18px;
    letter-spacing: -.02em;
    line-height: 1;
    position: absolute;
    z-index: 2;
}

.vb-membership-card__price small {
    display: block;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .06em;
    margin-bottom: 2px;
    text-transform: uppercase;
}

.vb-membership-card__price span {
    font-size: 17px;
    font-weight: 500;
    letter-spacing: 0;
    margin-left: 3px;
}

.vb-membership-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 22px 22px 24px;
}

.vb-membership-card__title {
    color: #111;
    font-family: "Futura PT", serif;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -.01em;
    line-height: 1.1;
    margin: 0 0 10px;
    text-transform: uppercase;
}

.vb-membership-card__intro {
    color: #4a4f5c;
    font-size: 16px;
    line-height: 1.42;
    margin: 0 0 18px;
}

.vb-membership-card__includes {
    color: #03509e;
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 10px;
}

.vb-membership-card__benefits {
    flex: 1;
    list-style: none;
    margin: 0 0 22px;
    padding: 0;
}

.vb-membership-card__benefits li {
    color: #1a1a1a;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 12px;
    min-height: 26px;
    padding: 3px 0 0 38px;
    position: relative;
}

.vb-membership-card__benefits li:before {
    background: #ffe500 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='5 12.5 10 17 19 7'/%3E%3C/svg%3E") center / 14px no-repeat;
    border-radius: 8px;
    content: "";
    height: 26px;
    left: 0;
    position: absolute;
    top: 0;
    width: 26px;
}

.vb-membership-card__cta {
    align-items: center;
    background: #03509e;
    border-radius: 14px;
    color: white;
    display: flex;
    font-size: 18px;
    font-weight: 600;
    gap: 10px;
    justify-content: center;
    min-height: 54px;
    padding: 0 18px;
    text-decoration: none;
    transition: background-color .2s ease;
}

.vb-membership-card__cta:hover,
.vb-membership-card__cta:focus {
    background: #233056;
    color: white;
    text-decoration: none;
}

.vb-membership-card__cta:focus-visible {
    outline: 3px solid #ffe500;
    outline-offset: 3px;
}

.vb-membership-card__cta .fa {
    transition: transform .2s ease;
}

.vb-membership-card__cta:hover .fa {
    transform: translateX(4px);
}

@media (prefers-reduced-motion: reduce) {
    .vb-membership-card,
    .vb-membership-card__cta .fa {
        transition: none;
    }

    .vb-membership-card:hover,
    .vb-membership-card__cta:hover .fa {
        transform: none;
    }
}

/* Chosen membership (registration steps & MijnVB) */

.vb-membership-choice {
    align-items: center;
    background: #f3f5fa;
    border: 1px solid rgba(39, 72, 147, .12);
    border-radius: 16px;
    display: flex;
    font-family: "Futura PT", serif;
    gap: 16px;
    margin-bottom: 24px;
    padding: 12px;
}

.vb-membership-choice img {
    border-radius: 10px;
    flex: none;
    height: 64px;
    object-fit: cover;
    width: 96px;
}

.vb-membership-choice__text {
    flex: 1;
    min-width: 0;
}

.vb-membership-choice__label {
    color: #6b7180;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.vb-membership-choice__title {
    color: #111;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.15;
    text-transform: uppercase;
}

.vb-membership-choice__price {
    color: #03509e;
    font-size: 17px;
    font-weight: 600;
}

.vb-membership-choice__action {
    color: #03509e;
    flex: none;
    font-size: 16px;
    font-weight: 600;
    padding: 8px 10px;
}

@media (max-width: 480px) {
    .vb-membership-choice {
        flex-wrap: wrap;
    }

    .vb-membership-choice__action {
        padding: 0 0 4px 112px;
    }
}

/* MijnVB: current membership */

.vb-membership-current {
    border: 1px solid rgba(39, 72, 147, .12);
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    font-family: "Futura PT", serif;
    margin: 8px 0 24px;
    overflow: hidden;
}

.vb-membership-current__media {
    padding-top: 45%;
    position: relative;
}

.vb-membership-current__media img {
    height: 100%;
    left: 0;
    object-fit: cover;
    position: absolute;
    top: 0;
    width: 100%;
}

.vb-membership-current__body {
    flex: 1;
    padding: 20px 22px 8px;
}

.vb-membership-current__title {
    color: #111;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.vb-membership-current__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 32px;
    margin: 0 0 18px;
}

.vb-membership-current__facts dt {
    color: #6b7180;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.vb-membership-current__facts dd {
    color: #03509e;
    font-size: 19px;
    font-weight: 600;
    margin: 0;
}

@media (min-width: 768px) {
    .vb-membership-current {
        flex-direction: row;
    }

    .vb-membership-current__media {
        flex: none;
        padding-top: 0;
        width: 38%;
    }
}

/* MijnVB: digital membership card */

.vb-digital-card__media {
    background: #f5f5f6;
    padding-top: 62.8%;
}

.vb-digital-card__body {
    align-items: center;
    display: flex;
    flex: 1;
    flex-wrap: wrap;
    gap: 18px 24px;
    padding: 20px 22px 22px;
}

.vb-digital-card__holder {
    flex: 1 1 180px;
    min-width: 0;
}

.vb-digital-card__name {
    color: #111;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 6px;
}

.vb-digital-card__address {
    color: #4a4f5c;
    font-size: 18px;
    line-height: 1.35;
    margin: 0 0 14px;
}

.vb-digital-card .vb-membership-current__facts {
    margin-bottom: 0;
}

.vb-digital-card__qr {
    flex: none;
    height: 136px;
    width: 136px;
}

.vb-digital-card__qr canvas,
.vb-digital-card__qr img {
    height: 100%;
    width: 100%;
}

@media (min-width: 768px) {
    .vb-digital-card__media {
        min-height: 190px;
        padding-top: 0;
    }
}

/* MijnVB: upgrade waiting for payment */

.vb-membership-pending {
    background: #fffbe0;
    border: 2px solid #ffe500;
    border-radius: 16px;
    font-family: "Futura PT", serif;
    margin-bottom: 24px;
    padding: 18px 20px;
}

.vb-membership-pending__head {
    display: flex;
    gap: 14px;
}

.vb-membership-pending__head > .fa {
    color: #b08f00;
    font-size: 26px;
    margin-top: 2px;
}

.vb-membership-pending__title {
    color: #111;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 4px;
}

.vb-membership-pending p {
    font-size: 17px;
    margin: 0 0 6px;
}

.vb-membership-pending__failed {
    color: #b42318;
    font-weight: 600;
}

.vb-membership-pending__actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin: 12px 0 12px 40px;
}

.vb-membership-pending__actions form {
    margin: 0;
}

.vb-membership-pending__actions .btn {
    padding-left: 28px;
    padding-right: 28px;
    width: auto;
}

.vb-link-button {
    background: none;
    border: 0;
    color: #03509e;
    font-size: 16px;
    font-weight: 600;
    padding: 0;
    text-decoration: underline;
}

.vb-membership-pending__transfer {
    border-top: 1px solid rgba(176, 143, 0, .25);
    color: #4a4f5c;
    font-size: 15px;
    margin-left: 40px;
    padding-top: 10px;
}

/* MijnVB: choose a new membership */

.vb-membership-options {
    border: 0;
    font-family: "Futura PT", serif;
    margin: 0 0 12px;
    padding: 0;
}

.vb-membership-options legend {
    border: 0;
    color: #111;
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 12px;
}

.vb-membership-option {
    cursor: pointer;
    display: block;
    font-weight: normal;
    margin: 0 0 12px;
    position: relative;
}

.vb-membership-option__input {
    opacity: 0;
    pointer-events: none;
    position: absolute;
}

.vb-membership-option__card {
    align-items: center;
    background: white;
    border: 2px solid #e3e7f0;
    border-radius: 16px;
    display: flex;
    gap: 16px;
    padding: 12px 16px 12px 12px;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.vb-membership-option:hover .vb-membership-option__card {
    border-color: #9db3dd;
}

.vb-membership-option__input:checked + .vb-membership-option__card {
    border-color: #03509e;
    box-shadow: 0 8px 24px rgba(3, 80, 158, .14);
}

.vb-membership-option__input:focus-visible + .vb-membership-option__card {
    outline: 3px solid #ffe500;
    outline-offset: 2px;
}

.vb-membership-option__radio {
    border: 2px solid #b8c2d6;
    border-radius: 50%;
    flex: none;
    height: 22px;
    position: relative;
    width: 22px;
}

.vb-membership-option__input:checked + .vb-membership-option__card .vb-membership-option__radio {
    border-color: #03509e;
}

.vb-membership-option__input:checked + .vb-membership-option__card .vb-membership-option__radio:after {
    background: #03509e;
    border-radius: 50%;
    content: "";
    height: 10px;
    left: 4px;
    position: absolute;
    top: 4px;
    width: 10px;
}

.vb-membership-option__image {
    border-radius: 10px;
    flex: none;
    height: 72px;
    object-fit: cover;
    width: 108px;
}

.vb-membership-option__text {
    flex: 1;
    min-width: 0;
}

.vb-membership-option__title {
    color: #111;
    display: block;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.15;
    text-transform: uppercase;
}

.vb-membership-option__tag {
    background: #eef2fa;
    border-radius: 999px;
    color: #03509e;
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .04em;
    margin-left: 6px;
    padding: 3px 8px;
    vertical-align: 3px;
}

.vb-membership-option__includes {
    color: #03509e;
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-top: 6px;
}

.vb-membership-option__benefits {
    display: block;
    margin-top: 6px;
}

.vb-membership-option__benefit {
    color: #1a1a1a;
    display: block;
    font-size: 15px;
    line-height: 1.3;
    margin-bottom: 5px;
    padding-left: 26px;
    position: relative;
}

.vb-membership-option__benefit:before {
    background: #ffe500 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='5 12.5 10 17 19 7'/%3E%3C/svg%3E") center / 10px no-repeat;
    border-radius: 5px;
    content: "";
    height: 18px;
    left: 0;
    position: absolute;
    top: 0;
    width: 18px;
}

.vb-membership-option__price {
    color: #111;
    flex: none;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.1;
    text-align: right;
}

.vb-membership-option__price small {
    color: #6b7180;
    font-size: 14px;
    font-weight: 500;
}

.vb-membership-option__diff {
    color: #03509e;
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-top: 4px;
}

@media (max-width: 600px) {
    .vb-membership-option__card {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .vb-membership-option__image {
        display: none;
    }

    .vb-membership-option__text {
        flex-basis: calc(100% - 38px);
    }

    .vb-membership-option__price {
        padding-left: 38px;
        text-align: left;
        width: 100%;
    }
}

.vb-membership-summary {
    background: #f3f5fa;
    border-radius: 14px;
    color: #1a1a1a;
    font-family: "Futura PT", serif;
    font-size: 17px;
    margin: 4px 0 20px;
    padding: 14px 18px;
}

.vb-membership-summary:empty {
    display: none;
}
