/* =========================================
   MELIC - MemberMailer Subscription Plans
   ========================================= */

/* Main pricing container */

body.itemid-555 #osm-plans-list-columns {
    max-width: 1050px;
    margin: 30px auto;
    color: #123451;
    font-size: 17px;
}

/* Page heading */

body.itemid-555.view-plans .page-header h1 {
    color: #123451;
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 600;
    text-align: center;
    margin-bottom: 30px;
}

/* Pricing layout */

body.itemid-555 .osm-pricing-table {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    margin: 0 !important;
    align-items: stretch;
}

body.itemid-555 .osm-pricing-table::before,
body.itemid-555 .osm-pricing-table::after {
    display: none !important;
}

body.itemid-555 .osm-pricing-table > div {
    width: 100% !important;
    max-width: none !important;
    min-width: 0;
    float: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Individual plan cards */

body.itemid-555 .osm-plan {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #ffffff !important;
    border: 1px solid #dce6ef !important;
    border-radius: 16px !important;
    overflow: hidden;
    box-sizing: border-box;
    box-shadow: 0 5px 20px rgba(18, 52, 81, 0.08);
}

/* Plan header */

body.itemid-555 .osm-plan-header {
    background: linear-gradient(135deg, #091f40, #10365e) !important;
    color: #ffffff !important;
    padding: 28px 20px !important;
    text-align: center;
    border: none !important;
}

/* Plan title */

body.itemid-555 .osm-plan-title {
    color: #ffffff !important;
    background: transparent !important;
    font-size: 28px !important;
    font-weight: 600 !important;
    line-height: 1.3;
    padding: 12px !important;
    margin: 0 !important;
    text-align: center;
}

/* Plan price */

body.itemid-555 .osm-plan-price {
    background: #f0f6fc !important;
    color: #00777f !important;
    font-size: 36px !important;
    font-weight: 700 !important;
    padding: 24px 16px !important;
    text-align: center;
    border: none !important;
}

body.itemid-555 .osm-plan-price * {
    color: #00777f !important;
}

/* Plan descriptions */

body.itemid-555 .osm-plan-short-description {
    flex: 1;
    background: #ffffff !important;
    padding: 28px !important;
    color: #123451 !important;
    font-size: 16px !important;
    line-height: 1.75;
    text-align: left !important;
}

body.itemid-555 .osm-plan-short-description p {
    margin: 0 0 16px;
}

body.itemid-555 .osm-plan-short-description ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 16px 0;
}

body.itemid-555 .osm-plan-short-description li {
    position: relative;
    padding: 8px 0 8px 26px !important;
    border-bottom: 1px solid #e8eef4;
}

body.itemid-555 .osm-plan-short-description li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: #00777f;
    font-weight: bold;
}

/* Plan images */

body.itemid-555 .osm-plan img {
    display: block;
    max-width: 100%;
    height: auto !important;
    margin: 16px auto;
}

/* Subscription button area */

body.itemid-555 .osm-signup-container {
    background: #ffffff !important;
    list-style: none !important;
    margin: auto 0 0 !important;
    padding: 20px 28px 28px !important;
    text-align: center;
    border: none !important;
}

body.itemid-555 .osm-signup-container li {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
}

/* Subscription buttons */

body.itemid-555 .osm-signup-container a,
body.itemid-555 .osm-signup-container button,
body.itemid-555 .osm-signup-container input[type="submit"] {
    display: block;
    width: 100%;
    background: #00777f !important;
    color: #ffffff !important;
    padding: 14px 20px !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    text-shadow: none !important;
    box-shadow: none !important;
    box-sizing: border-box;
}

body.itemid-555 .osm-signup-container a:hover,
body.itemid-555 .osm-signup-container button:hover,
body.itemid-555 .osm-signup-container input[type="submit"]:hover {
    background: #005f66 !important;
    color: #ffffff !important;
}

/* Mobile layout */

@media (max-width: 700px) {

    body.itemid-555 .osm-pricing-table {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    body.itemid-555 .osm-plan-title {
        font-size: 24px !important;
    }

    body.itemid-555 .osm-plan-short-description {
        padding: 20px !important;
    }

    body.itemid-555 .osm-signup-container {
        padding: 20px !important;
    }
}
/* MELIC - Pricing refinements */

body.itemid-555 #osm-plans-list-columns > h1,
body.itemid-555 #osm-plans-list-columns > h2,
body.itemid-555 #osm-plans-list-columns .page-header {
    text-align: center !important;
    font-size: 32px !important;
    font-weight: 600 !important;
    margin-bottom: 28px !important;
    color: #123451 !important;
}

body.itemid-555 .osm-plan-price {
    font-size: 36px !important;
    font-weight: 700 !important;
}

body.itemid-555 .osm-plan-price span {
    font-size: inherit !important;
    font-weight: inherit !important;
}

body.itemid-555 .osm-plan-price small {
    font-size: 15px !important;
    font-weight: 400 !important;
}
/* MELIC - Pricing refinements */

body.itemid-555 #osm-plans-list-columns > h1,
body.itemid-555 #osm-plans-list-columns > h2,
body.itemid-555 #osm-plans-list-columns .page-header {
    text-align: center !important;
    font-size: 32px !important;
    font-weight: 600 !important;
    margin-bottom: 28px !important;
    color: #123451 !important;
}

body.itemid-555 .osm-plan-price {
    font-size: 36px !important;
    font-weight: 700 !important;
}

body.itemid-555 .osm-plan-price span {
    font-size: inherit !important;
    font-weight: inherit !important;
}

body.itemid-555 .osm-plan-price small {
    font-size: 15px !important;
    font-weight: 400 !important;
}