/* archive-styles.css - TOW 2025 Heritage Branding (Responsive & Sticky Footer) */

@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;600;700&display=swap');

:root {
    --tow-navy: #004b7c;
    --bg-header: #ffffff;
    --bg-body: #f4f3ec;
    --text-main: #333333;
    --tow-gold: #ffcc00;
}

body {
    font-family: 'Lato', 'Helvetica Neue', Arial, sans-serif;
    font-size: 17.5px;
    background-color: var(--bg-body);
    color: var(--text-main);
    margin: 0;
    line-height: 1.6;
    border-top: 3px solid var(--tow-gold);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background-color: var(--bg-header);
    padding: 0;
}

header .container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding-top: 8px;
    padding-bottom: 8px;
}

header img {
    height: 100px;
    max-height: none;
    width: auto;
    margin: 0;
}

.container {
    width: 100%;
    box-sizing: border-box;
    max-width: 1300px;
    margin: 0 auto;
    padding: 15px 60px;
}

main.container {
    flex: 1;
}

h1 {
    color: var(--tow-navy);
    font-size: 2.1em;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 10px;
    border: none;
}

/* Accordion Styling */
dl {
    margin: 0;
}

dt {
    margin-bottom: 6px;
}

dt h4 {
    background: transparent;
    color: var(--tow-navy);
    padding: 6px 0;
    margin: 0;
    font-size: 1.1em;
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
    border: none;
    display: inline-block;
}

dt h4:hover {
    color: #003355;
}

dt h4::after {
    content: none;
}

dd {
    background: transparent;
    margin: 0 0 15px 15px;
    padding: 5px 0 5px 15px;
    border-left: 2px solid #ccc;
}

dd p {
    margin: 6px 0;
}

dd a {
    color: var(--tow-navy);
    text-decoration: none;
    font-size: 1em;
    transition: color 0.2s;
}

dd a:hover {
    text-decoration: underline;
    color: #003355;
}

/* Footer Styling */
footer {
    background-color: var(--tow-navy);
    color: #ffffff;
    padding: 8px 0 20px 0;
    margin-top: 35px;
    font-size: 0.95em;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-column {
    flex: 1;
    text-align: center;
}

.footer-column.left {
    text-align: left;
}

.footer-column.center {
    font-weight: 300;
}

.footer-column.center strong {
    font-weight: 700;
}

.footer-column.right {
    text-align: center;
    font-weight: 300;
}

.footer-column p {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.4 !important;
}

footer img {
    /* Pure responsive scaling: Shrinks naturally as the flex column gets squeezed */
    max-width: 100%;
    max-height: 65px;
    /* Caps the maximum height on large desktop screens */
    height: auto;
    /* Maintains the exact aspect ratio so it doesn't warp */
    margin-top: 0;
}

footer a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 300;
}

footer a:hover {
    text-decoration: underline;
}

#vts-user-menu {
    list-style: none;
    padding: 0;
    margin: 0 !important;
}

#vts-user-menu li {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.4 !important;
}

/* =========================================
   Mobile & Tablet Breakpoints 
   ========================================= */
@media (max-width: 768px) {
    .container {
        /* Reduces the 60px desktop padding so mobile text isn't squeezed */
        padding: 15px 20px;
    }

    header .container {
        /* Centers the header logo on small screens */
        align-items: center;
    }

    header img {
        /* Ensures the logo scales down and doesn't overflow off-screen */
        height: auto;
        width: 100%;
        max-width: 350px;
    }

    .footer-grid {
        /* Stacks the 3 footer columns vertically instead of side-by-side */
        flex-direction: column;
        align-items: center;
        gap: 30px;
        /* Adds clean breathing room between the stacked columns */
    }

    .footer-column.left,
    .footer-column.center,
    .footer-column.right {
        /* Forces all stacked footer text/images to center align perfectly */
        text-align: center;
    }
}