.membership-header {
    margin-bottom: 7.5rem;
}

.membership-card__big-title {
    color: #FFF;
    /* Heading M */
    font-family: var(--lb-font-display);
    font-size: clamp(1.9rem, 4vw, 4.0625rem);
    font-style: normal;
    font-weight: 400;
    line-height: 110%;
}

.membership-card__subtitle {
    color: var(--lb-gold);
    font-family: var(--lb-font-script);
    font-size: clamp(1.8rem, 4vw, 3.125rem);
    font-style: normal;
    margin-bottom: 25px;
    font-weight: 400;
    line-height: normal;
}

.membership-list-section {
    margin-bottom: 0!important;
    display: flex;
    justify-content: center;
    padding: 9.37rem 2rem;
    background-color: var(--lb-navy);
}

@media (max-width: 992px) {
    .membership-header {
        margin-bottom: 3rem;
    }

    .membership-list-section {
        padding: 4rem 2rem;
        padding-left: 1.125rem;
        padding-right: 1.125rem;
    }
}

.membership-list-container {
    max-width: var(--lb-container);
    width: 100%;
}

.membership-list-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.membership-card {
    display: flex;
    background: var(--lb-slate);
    border-radius: 0.75rem;
    overflow: hidden;
    transition: transform var(--lb-duration-slow) var(--lb-ease), box-shadow var(--lb-duration-slow) var(--lb-ease);
    color: #fff;
    box-shadow: var(--lb-shadow-soft);
}

.membership-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--lb-shadow-lift);
}

.membership-card.reverse {
    flex-direction: row-reverse;
}

.membership-card__image {
    min-width: 60%;
    background: url('<?php echo esc_url($background_image); ?>') lightgray 50% / cover no-repeat;
    position: relative;
}

.membership-card__image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(47, 78, 101, 0.00) 0%, rgba(47, 78, 101, 0.20) 17.72%, rgba(47, 78, 101, 0.95) 83.08%, var(--lb-slate) 95.26%, var(--lb-slate) 110.77%);
    z-index: 1;
}

.reverse .membership-card__image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(270deg, rgba(47, 78, 101, 0.00) 0%, rgba(47, 78, 101, 0.20) 17.72%, rgba(47, 78, 101, 0.95) 83.08%, var(--lb-slate) 95.26%, var(--lb-slate) 110.77%);
    z-index: 1;
}

.membership-card__info {
    padding: 30px 20px;
    flex-direction: column;
    justify-content: center;
    max-width: 50%;
}

.membership-card__name {
    color: #FFF;
    font-family: var(--lb-font-sans);
    font-size: clamp(1.3rem, 4vw, 1.875rem);
    font-style: normal;
    font-weight: 500;
    line-height: 100%; /* 30px */
    letter-spacing: 2.1px;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
}

.membership-card__title {
    color: #FFF;
    font-family: var(--lb-font-sans);
    font-size: clamp(1rem, 3vw, 1.125rem);

    font-style: normal;
    font-weight: 500;
    line-height: 140%;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(247, 247, 247, 0.20);
}

.membership-card__features {
    list-style: none;
    margin-top: 32px;
    padding: 0;
    margin-bottom: 2rem;
}

.membership-card__features li {
    color: #FFF;

    /* Paragraph S */
    font-family: var(--lb-font-sans);
    font-size: 0.875rem;
    display: flex;
    gap: 5px;
    font-style: normal;
    font-weight: 500;
    line-height: 140%;
}

.membership-card__features li .icon {
    width: 24px;
}

.membership-card__link {
    font-size: 1rem;
    color: #fff;
    text-decoration: none;
    border: 2px solid #fff;
    padding: 0.5rem 2rem;
    border-radius: 30px;
    display: inline-block;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-align: center;
}

.membership-card__link:hover {
    background-color: #fff;
    color: #091f36;
}

@media only screen and (max-width: 767px) {
    .membership-card, .membership-card.reverse {
        flex-direction: column;
    }

    .membership-card__info {
        max-width: 100%;
        padding: 20px;
    }

    .membership-card__image {
        min-height: 200px;
    }
}
