﻿/* ========== Variables ========== */
:root {
    --low-blue: #2B3494;
    --low-red: #C32434;
    --low-red-50: rgba(195, 36, 52, 0.5);
    --low-blue-33: rgba(43, 52, 148, .33);
}

/* Stats cards: keep color-by-column even when using <th>/<thead> */
.stats .card__stats table {
    width: 100%;
    border-collapse: collapse;
}

.stats .card__stats th {
    font-weight: inherit; /* undo default bold */
    text-align: inherit; /* undo default centering */
}

/* Column 1 (labels) */
.stats .card__stats tr > :is(th, td):nth-child(1) {
    color: #000;
    font-weight: 400;
    text-align: left;
}

/* Column 2 (2023) */
.stats .card__stats tr > :is(th, td):nth-child(2) {
    color: var(--low-blue) ;
    font-weight: 400;
    text-align: center;
}

/* Column 3 (2024) */
.stats .card__stats tr > :is(th, td):nth-child(3) {
    color: var(--low-red) ; 
    font-weight: 700;
    text-align: center;
}

/* Footer specific*/
:root {
    --low-blue: #2B3494;
    --low-red: #C32434;
    --low-red-50: rgba(195, 36, 52, 0.5);
    --low-blue-33: rgba(43, 52, 148, .33);
}

/* Sticky footer layout (recommended) */
html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: 'Montserrat', sans-serif;
}

main {
    flex: 1 0 auto;
}

footer {
    flex-shrink: 0;
}

/* Footer polish */
.footer-nav a {
    margin: 0 1rem;
    display: inline-block;
}

.footer-social a:hover {
    transform: scale(1.2);
    transition: transform 0.2s ease;
}

.footer-social i {
    transition: color 0.2s ease;
}

footer.footer {
    padding: 2rem 0;
}
