﻿/* =========================================================
   MEMBERSHIP PAGE
   Theme: Nationwide Caravanning
   Primary: #DC3103
   Secondary: #bc2500
   ========================================================= */

.membership-page {
    background: #fff;
    color: #333;
}


/* =========================================================
   PAGE BANNER
   ========================================================= */

.membership-banner {
    background: #DC3103;
    padding: 55px 0;
}

    .membership-banner h1 {
        margin: 0;
        color: #fff;
        font-size: 48px;
        line-height: 1.2;
        font-weight: 700;
    }


/* =========================================================
   INTRO
   ========================================================= */

.membership-intro {
    padding: 55px 0;
    background: #fff;
}

.membership-intro-grid {
    display: flex;
    align-items: flex-start;
    gap: 60px;
}

.membership-intro-content {
    flex: 1 1 55%;
}

.membership-intro-image {
    flex: 1 1 45%;
}

    .membership-intro-image img {
        display: block;
        width: 100%;
        height: auto;
        border-radius: 4px;
    }


/* Small red label */

.membership-eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    color: #DC3103;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.membership-intro-content h2 {
    margin: 0 0 20px;
    color: #2c3e50;
    font-size: 32px;
    line-height: 1.25;
    font-weight: 700;
}

.membership-intro-content p {
    max-width: 650px;
    margin: 0;
    color: #555;
    font-size: 17px;
    line-height: 1.7;
}


/* =========================================================
   MEMBERSHIP PLANS SECTION
   ========================================================= */

.membership-plans {
    padding: 70px 0 80px;
    background: #fff;
    border-top: 1px solid #eee;
}

.membership-section-heading {
    max-width: 750px;
    margin: 0 auto 45px;
    text-align: center;
}

    .membership-section-heading h2 {
        margin: 0 0 15px;
        color: #2c3e50;
        font-size: 36px;
        line-height: 1.25;
        font-weight: 700;
    }

    .membership-section-heading p {
        margin: 0;
        color: #666;
        font-size: 16px;
        line-height: 1.7;
    }


/* =========================================================
   PLAN GRID
   ========================================================= */

.membership-plan-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
    align-items: stretch;
}


/* =========================================================
   PLAN CARD
   ========================================================= */

.membership-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-top: 4px solid transparent;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.7);
    transition: transform .25s ease, box-shadow .25s ease, border-top-color .25s ease;
}

    .membership-card:hover {
        /*transform: translateY(-5px);*/
        border-top-color: #DC3103;
        box-shadow: 0 10px 28px rgba(0, 0, 0, 0.10);
    }


/* Middle card */

.membership-card-featured {
    border-top-color: transparent;
}


/* =========================================================
   CARD ICON
   ========================================================= */

.membership-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin: 30px auto 15px;
    border-radius: 50%;
    background: #fff1ed;
    color: #DC3103;
    font-size: 30px;
}


/* =========================================================
   CARD CONTENT
   ========================================================= */

.membership-card-content {
    padding: 0 30px 25px;
    flex: 1;
}

    .membership-card-content h3 {
        margin: 0 0 12px;
        color: #2c3e50;
        font-size: 22px;
        line-height: 1.3;
        font-weight: 700;
        text-align: center;
    }

.membership-card-intro {
    min-height: 65px;
    margin: 0 0 20px;
    color: #666;
    font-size: 15px;
    line-height: 1.6;
    text-align: center;
}


/* Features */

.membership-card-content ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

    .membership-card-content ul li {
        position: relative;
        margin: 0;
        padding: 10px 0 10px 25px;
        color: #444;
        font-size: 15px;
        line-height: 1.5;
        border-bottom: 1px solid #eee;
    }

        .membership-card-content ul li:last-child {
            border-bottom: 0;
        }

        .membership-card-content ul li::before {
            position: absolute;
            left: 0;
            top: 12px;
            content: "\f00c";
            font-family: FontAwesome;
            color: #DC3103;
            font-size: 13px;
        }


/* =========================================================
   CARD FOOTER
   ========================================================= */

.membership-card-footer {
    padding: 20px 30px 30px;
    text-align: center;
}

.membership-btn {
    display: inline-block;
    width: 100%;
    padding: 13px 20px;
    background: #DC3103;
    border: 1px solid #DC3103;
    border-radius: 3px;
    color: #fff !important;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 600;
    text-align: center;
    text-decoration: none !important;
    transition: background .2s ease, border-color .2s ease;
}

    .membership-btn:hover,
    .membership-btn:focus {
        background: #bc2500;
        border-color: #bc2500;
        color: #fff !important;
        text-decoration: none !important;
    }

.membership-card-content ul,
.membership-card-content ul li {
    list-style: none !important;
}

    .membership-card-content ul li::marker {
        content: none !important;
    }

/* =========================================================
   TABLET
   ========================================================= */

@media screen and (max-width: 991px) {

    .membership-intro-grid {
        gap: 35px;
    }

    .membership-plan-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .membership-card:last-child {
        grid-column: 1 / -1;
        max-width: 50%;
        width: 100%;
        margin: 0 auto;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media screen and (max-width: 767px) {

    .membership-banner {
        padding: 40px 0;
    }

        .membership-banner h1 {
            font-size: 32px;
        }


    .membership-intro {
        padding: 40px 0;
    }

    .membership-intro-grid {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .membership-intro-content,
    .membership-intro-image {
        width: 100%;
        flex: none;
    }

        .membership-intro-content h2 {
            font-size: 27px;
        }

        .membership-intro-content p {
            font-size: 16px;
        }


    .membership-plans {
        padding: 50px 0 60px;
    }

    .membership-section-heading {
        margin-bottom: 30px;
    }

        .membership-section-heading h2 {
            font-size: 29px;
        }


    .membership-plan-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .membership-card:last-child {
        grid-column: auto;
        max-width: none;
        margin: 0;
    }


    .membership-card-content {
        padding-left: 22px;
        padding-right: 22px;
    }

    .membership-card-footer {
        padding-left: 22px;
        padding-right: 22px;
    }

    .membership-card-intro {
        min-height: auto;
    }
}
