section.cws-membership-section {
    padding: 15px;
    width: 100%;
}


.cws-membership-wrapper {
    max-width: 1080px;
    margin: auto;
    padding: 20px;
}

.cws-membership-grid {
    display: grid;
    grid-template-columns: repeat(3,auto);
    gap: 50px;
}
.cws-membership-card {
    padding: 20px;
    box-shadow: 0px 5px 35px 0px #99999954;
    border-radius: 12px;
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    gap: 15px;
    margin-top: 35px;
}
.cws-membership-card.featured {
    border: 1px solid #224f6485;
    position: relative;
    border-radius: 0 0 12px 12px;
}

.cws-membership-card.featured::before {
    content: 'Recommended';
    padding: 8px 15px;
    background: #224f64cf;
    color: white;
    font-weight: bold;
    position: absolute;
    transform: translateY(-100%);
    width: 100%;
    border-radius: 12px 12px 0 0;
    outline: 1px solid #224f6485;
    text-align: center;
}

h2.cws-section-title {
    margin-bottom: 35px;
    text-align: center;
}

h3.level-name {
    margin-bottom: 5px;
    font-weight: bold;
}

span.original-price {
    text-decoration: line-through;
    color: #878787;
    font-size: 17px;
}

.discount-label{
    background: #227ba3;
    padding: 2px 10px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 25px;
    color: white;
}

p.discounted-price {
    font-size: 40px;
    font-weight: bold;
    margin: 0;
}

p.discounted-price::before {
    content: '\F7EC';
    font-family: 'bootstrap-icons';
    font-weight: normal;
    font-size: 16px;
}

p.discounted-price::after {
    content: '/ month';
    font-size: 16px;
    font-weight: normal;
}

ul.feature-list {
    list-style: none;
    margin: 0;
}

span.feature-text {
    font-size: 15px;
    color: #3e3e3e;
}

span.feature-text.unavailable {
    color: #858585;
}

a.cws-join-btn:hover,a.cws-your-level-btn:hover {
    transform: scale(0.95);
}

a.cws-join-btn {
    background: transparent;
    padding: 2px 10px;
    color: #224f64;
    font-weight: bold;
    border: 1px solid;
    border-radius: 5px;
    text-align: center;
    transition: .3s ease;
}

.featured a.cws-join-btn {
    background: #224f64;
    color: white;
}

a.cws-your-level-btn {
    background: #eff4ff;
    padding: 2px 10px;
    border-radius: 5px;
    border: 1px solid #cbcbcb;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: .3s ease;
}


@media screen and (max-width:900px){
    .cws-membership-grid {
    display: grid;
    gap: 50px;
    grid-template-areas: "card1 card2"
        "card3 card3";
    justify-content: center;
    grid-template-columns: unset;
}

.cws-membership-card.featured { 
    grid-area: card3;
    max-width: max-content;
    justify-self: center;
}

.cws-membership-card { 
    min-width: 320px;
}
}

@media screen and (max-width:760px){
    
    .cws-membership-card {
    min-width: unset;
    width: 100%;
}
.cws-membership-card.featured {
    max-width: 300px;
}

.cws-membership-grid { 
    justify-content: unset; 
}
}

@media screen and (max-width:550px){
    .cws-membership-grid {
    grid-template-columns: auto;
    grid-template-areas: unset;
}

.cws-membership-card.featured {
    grid-area: unset;
    max-width: 100%;
    margin-top: 40px;
}

  .cws-membership-card {
   margin: 0;
}
   
}

