/* =========================================================
   COMMUNITY + STORE FOOTER ONLY
   Used by pages that extend base.html
========================================================= */

.portal-footer {
    width: 100%;
    margin-top: 70px;
    padding: 40px 28px 22px;
    box-sizing: border-box;

    color: #ffffff;
    background: #020304;
    border-top: 1px solid #252b33;
}

.portal-footer-divider {
    width: 100%;
    height: 3px;
    margin-bottom: 40px;

    background: linear-gradient(
        90deg,
        #155cff 0%,
        #ffffff 50%,
        #ef2934 100%
    );
}

.portal-footer-brand {
    width: 100%;
    margin-bottom: 45px;
    text-align: center;
}

.portal-footer-brand img {
    display: block;
    width: 145px;
    height: 145px;
    margin: 0 auto 20px;
    object-fit: contain;
    border-radius: 50%;
}

.portal-footer-brand h2 {
    margin: 0;
    color: #ef292f;

    font-size: clamp(1.45rem, 2.5vw, 2rem);
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.portal-footer-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 40px;

    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
}

.portal-footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.portal-footer-column h3 {
    width: 100%;
    margin: 0 0 14px;
    padding-bottom: 10px;

    color: #195cff;
    font-size: 1.15rem;
    font-weight: 900;

    border-bottom: 2px solid #195cff;
}

.portal-footer-column a {
    display: block;
    margin: 6px 0;

    color: #ffffff;
    font-size: 1rem;
    text-decoration: none;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.portal-footer-column a:hover {
    color: #72a5ff;
    transform: translateX(4px);
}

.portal-footer-quote {
    max-width: 1400px;
    margin: 48px auto 36px;

    color: #ffffff;
    font-size: clamp(1.25rem, 2.4vw, 1.75rem);
    font-style: italic;
    text-align: center;
}

.portal-footer-copy {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding-top: 22px;

    color: #8f9aaa;
    text-align: center;

    border-top: 1px solid #252b33;
}

@media (max-width: 850px) {
    .portal-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .portal-footer {
        padding-left: 20px;
        padding-right: 20px;
    }

    .portal-footer-grid {
        grid-template-columns: 1fr;
    }

    .portal-footer-brand h2 {
        letter-spacing: 0.06em;
    }
}