/* =====================================================================
   nav-bridge-2019.css
   Loaded ONLY by the old 2019 template (headcode-new-nav.inc).
   The shared nav.inc / footer now use 2025 components (menu cards,
   360 circle, gold tour badge) whose styles live in the 2025
   styles-nav.css + styles.css, which 2019 pages don't load.
   Everything here is scoped to the nav cards and tour badges, so it
   can't change old page content. Delete this file (and its <link>)
   once no pages use the 2019 template.
   ===================================================================== */

/* ---------- Admissions & Aid menu cards (base small-block-card) ---------- */
.menu-cards-col {
    padding-top: 5.5em;
}

.menu-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2em;
    margin-bottom: 0;
}

.menu-cards a.small-block-card {
    display: flex;
    flex-direction: column;
    border-radius: 16px 16px 3px 3px;
    color: #282828;
    text-decoration: none;
    transition: background .2s ease;
}

.menu-cards a.small-block-card:hover,
.menu-cards a.small-block-card:focus-visible {
    background: #eaeaea;
    color: #282828;
    text-decoration: none;
}

.menu-cards a.small-block-card:focus-visible {
    outline: 3px solid #00703c;
    outline-offset: 2px;
}

.menu-cards .small-block-card img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: 16px;
    transition: all .4s ease;
}

.menu-cards a.small-block-card:hover img {
    filter: contrast(.7);
}

.menu-cards .small-block-card-text {
    padding: .9em .4em 0;
}

.menu-cards span.small-block-card-header {
    display: block;
    margin-bottom: .5em;
    font-family: "Roboto Condensed", sans-serif;
    font-size: 1.85em;
    font-weight: bold;
    letter-spacing: -.5px;
    line-height: 1.2;
    color: #282828;
}

.menu-cards .small-block-card p {
    margin: 0 0 1em;
    font-size: 1.55em;
    line-height: 1.5;
    color: #282828;
}

@media only screen and (min-width: 1150px) {
    .menu-cards {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 2.2em 1.2em;
    }
}

/* gold NEW pill next to the tour card title */
.menu-cards .new-pill {
    display: inline-block;
    margin-left: .4em;
    padding: .15em .55em;
    border-radius: 999px;
    background-color: #f2c230;
    color: #282828;
    font-family: "Roboto", "Gill Sans MT", Calibri, sans-serif;
    font-size: .55em;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    vertical-align: middle;
}

/* 360° circle in the middle of the tour card image */
.card-360 {
    position: relative;
    display: block;
}

.card-360-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4.2em;
    height: 4.2em;
    border: .2em solid #00703c;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, .92);
    color: #00703c;
    font-family: "Roboto", "Gill Sans MT", Calibri, sans-serif;
    font-size: 1.9em;
    font-weight: 700;
    transform: translate(-50%, -50%);
    box-shadow: 0 .3em 1em rgba(0, 0, 0, .3);
    transition: transform .3s ease;
}

.menu-cards a.small-block-card:hover .card-360-badge {
    transform: translate(-50%, -50%) scale(1.1);
}

/* phones/tablets: small thumbnail left, text right */
@media (max-width: 1199px) {
    .menu-cards-col {
        padding-top: 1em;
    }

    .menu-cards {
        grid-template-columns: 1fr;
        gap: .6em;
    }

    .menu-cards a.small-block-card {
        display: grid;
        grid-template-columns: 5.5em 1fr;
        align-items: center;
        gap: .9em;
        padding: .5em;
        border-radius: .8em;
    }

    .menu-cards .small-block-card img {
        aspect-ratio: 1 / 1;
        border-radius: .6em;
    }

    .menu-cards .small-block-card-text {
        padding: 0;
    }

    .menu-cards span.small-block-card-header {
        margin-bottom: 0;
        font-size: 1.05em;
        line-height: 1.25;
    }

    .menu-cards .small-block-card p {
        margin: .25em 0 0;
        font-size: .9em;
        line-height: 1.4;
    }

    .card-360-badge {
        width: 3.4em;
        height: 3.4em;
        border-width: .15em;
        font-size: .75em;
    }
}

/* mobile menu: NEW pill after "Virtual Campus Tour" link text */
.nav-link .new-pill {
    display: inline-block;
    align-self: center;
    flex: 0 0 auto;
    margin-left: .5em;
    padding: .2em .6em;
    border-radius: 999px;
    background-color: #f2c230;
    color: #282828;
    font-size: .7em;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: .06em;
    text-transform: uppercase;
    vertical-align: middle;
}

/* ---------- Gold "NEW Virtual Tour" badge (About menu + footer) ---------- */
a.tour-badge {
    position: absolute;
    top: -1.1em;
    right: 0;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: .5em;
    padding: .5em 1em;
    border-radius: .5em;
    background-color: #f2c230;
    color: #282828;
    font-family: "Roboto", "Gill Sans MT", Calibri, sans-serif;
    font-size: 1.35em;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    transform: rotate(3deg);
    box-shadow: 0 .35em .9em rgba(0, 0, 0, .18);
}

a.tour-badge:hover {
    color: #282828;
    text-decoration: none;
    transform: rotate(0deg) translateY(-.15em);
}

a.tour-badge:focus-visible {
    outline: 3px solid #00703c;
    outline-offset: 2px;
}

.tour-badge .tour-badge-new {
    padding: .15em .5em;
    border-radius: 999px;
    background-color: #282828;
    color: #f2c230;
    font-size: .7em;
    letter-spacing: .06em;
    text-transform: uppercase;
}

@media (prefers-reduced-motion: reduce) {
    a.tour-badge:hover {
        transform: rotate(3deg);
    }

    .card-360-badge,
    .menu-cards .small-block-card img {
        transition: none;
    }
}
