/* How to Choose a School: page styles */
.fact-needed {
    background: #fff3a3;
    padding: 0 4px;
    border-radius: 3px;
}

html {
    scroll-behavior: smooth;
}

section[id] {
    scroll-margin-top: 110px;
}

/* proof cards */
.proof-card {
    background: #fff;
    border-radius: 10px;
    padding: 28px 24px;
    height: 100%;
    text-align: center;
    box-shadow: 0 10px 30px rgba(14, 42, 98, 0.07);
    transition: transform .25s ease, box-shadow .25s ease;
}
.proof-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(14, 42, 98, 0.12);
}
.proof-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: rgba(221, 22, 82, 0.09);
    color: var(--base-color);
    font-size: 28px;
    margin-bottom: 16px;
}
.proof-figure {
    font-family: var(--primary-font);
    font-weight: 800;
    font-size: 40px;
    line-height: 1.15;
    letter-spacing: -1px;
    color: var(--dark-gray);
    margin-bottom: 8px;
    white-space: nowrap;
}
.proof-figure small {
    font-family: var(--primary-font);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0;
    color: var(--medium-gray);
    margin-right: 2px;
}
.proof-label {
    display: block;
    font-size: 15px;
    line-height: 22px;
    color: var(--medium-gray);
}
.proof-figure.counter:after {
    content: none;
}

/* jump pills */
.cd-tag {
    display: inline-flex;
    align-items: center;
    background: #fff;
    color: var(--dark-gray);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    margin: 4px;
    border: 1px solid rgba(14, 42, 98, 0.18);
    box-shadow: 0 4px 14px rgba(14, 42, 98, 0.08);
    transition: all .25s ease;
    white-space: nowrap;
    text-decoration: none;
}
.cd-tag:hover {
    background: var(--base-color);
    color: #fff;
    border-color: var(--base-color);
    transform: translateY(-2px);
}
.cd-tag-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 10px 0;
}
@media (max-width: 575px) {
    .cd-tag {
        padding: 8px 16px;
        font-size: 14px;
    }
}

/* number badges */
.check-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--dark-gray);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
    box-shadow: 0 10px 25px rgba(14, 42, 98, 0.25);
}
.check-number.is-base {
    background: var(--base-color);
    box-shadow: 0 10px 25px rgba(221, 22, 82, 0.25);
}

/* stacked tables on mobile */
@media (max-width: 767px) {
    .stack-table thead {
        display: none;
    }
    .stack-table,
    .stack-table tbody,
    .stack-table tr,
    .stack-table th,
    .stack-table td {
        display: block;
        width: 100%;
    }
    .stack-table tr {
        border: 1px solid rgba(14, 42, 98, 0.12);
        border-radius: 10px;
        margin-bottom: 15px;
        padding: 15px;
    }
    .stack-table td {
        padding: 5px 0;
        border: 0;
    }
    .stack-table td::before {
        content: attr(data-label);
        display: block;
        color: var(--base-color);
        font-weight: 700;
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: .05em;
    }
}

/* mobile bar */
.mobile-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: var(--dark-gray);
    padding: 10px 0;
    box-shadow: 0 -8px 24px rgba(14, 42, 98, 0.2);
}
.mobile-cta-bar .btn {
    white-space: nowrap;
    font-size: 13px;
    padding-left: 6px;
    padding-right: 6px;
}
body {
    padding-bottom: 76px;
}
@media (min-width: 992px) {
    body {
        padding-bottom: 0;
    }
}
