﻿/* =========================================================
   31. PRICING CARDS (AMC plans)
   Paste at the END of style.css. Works with the existing markup:
   <div class="price [hl]"> h3, p, ul, p>b+small, a.more
   Add this line to the CONTENTS list at the top of style.css:
   31. PRICING CARDS (AMC plans: Computer AMC page)
   ========================================================= */
.price {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    padding: 1.75rem;
    transition: transform .25s,border-color .25s,box-shadow .25s
}

    .price:hover {
        transform: translateY(-.25rem);
        border-color: var(--amber);
        box-shadow: 0 .875rem 1.875rem rgba(10,31,61,.08)
    }

    .price h3 {
        font-size: 1.2rem;
        margin-bottom: .4rem
    }

    .price > p:first-of-type {
        min-height: 3.4rem
    }

    /* feature list with green ticks (same look as .hc / .fc checks) */
    .price ul {
        flex: 1;
        list-style: none;
        padding: 0;
        margin: 1.1rem 0 0;
        display: grid;
        gap: .65rem;
        align-content: start
    }

    .price li {
        position: relative;
        padding-left: 1.8rem;
        font-size: .93rem;
        font-weight: 600;
        color: var(--ink);
        line-height: 1.45
    }

        .price li::before {
            content: "\2713";
            position: absolute;
            left: 0;
            top: .05rem;
            width: 1.25rem;
            height: 1.25rem;
            border-radius: 50%;
            background: var(--wa);
            color: #fff;
            display: grid;
            place-items: center;
            font-size: .7rem
        }

    /* price block */
    .price ul + p {
        border-top: 1px solid var(--line);
        padding-top: 1rem;
        color: var(--ink);
        font-size: 1rem;
        line-height: 1.55
    }

        .price ul + p b {
            font-size: 1.12rem;
            color: var(--navy)
        }

        .price ul + p small {
            color: var(--mut);
            font-size: .78rem;
            font-weight: 600
        }

    /* button-style link at the bottom of each card */
    .price .more {
        display: block;
        text-align: center;
        margin-top: 1rem;
        padding: .75rem 1rem;
        border: 1.5px solid var(--navy);
        border-radius: 62.4375rem;
        color: var(--navy);
        transition: background .2s,color .2s
    }

        .price .more:hover {
            background: var(--navy);
            color: #fff
        }

    /* highlighted (recommended) card */
    .price.hl {
        background: #fffaf0;
        box-shadow: 0 1.25rem 2.5rem rgba(245,163,15,.18)
    }

        .price.hl::before {
            content: "Recommended";
            position: absolute;
            top: -.8rem;
            left: 1.5rem;
            background: var(--amber);
            color: var(--navy);
            font-size: .75rem;
            font-weight: 800;
            padding: .25rem .85rem;
            border-radius: 99px
        }

        .price.hl .more {
            background: var(--amber);
            border-color: var(--amber);
            color: var(--navy)
        }

            .price.hl .more:hover {
                background: var(--amber2);
                border-color: var(--amber2)
            }

@media(max-width:640px) {
    .price {
        padding: 1.4rem
    }

        .price > p:first-of-type {
            min-height: 0
        }
}
