﻿/* down.css - 頁尾與高對比資訊 */
.footer {
    background: var(--ncu-red2);

    color: var(--text-main);
    padding: 80px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer h3 {
    font-size: 1.25rem;
    margin-bottom: 25px;
    color: var(--text-main);
}

.footer-contact a {
    color: var(--text-main);
}

.footer-contact address {
    font-style: normal;
    line-height: 2;
    color: #cbd5e1;
    margin-bottom: 0px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.footer-links a:hover {
    text-decoration: none;
    color: #FDE68A;
}

.accessibility-box {
    width: 100px;
    height: 100px;
    border: 1px dashed #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    font-size: 0.9rem;
    color: #94a3b8;
}

/* --- RWD Media Queries for Footer --- */
@media screen and (max-width: 900px) {
    .footer {
        padding: 40px 0 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
        margin-bottom: 30px;
    }

    .footer-links ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-access {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}