﻿/* CertExamQA footer user control (ucfooter.ascx)
   Every rule is prefixed with .ceq-footer so it out-ranks global
   p / ul / li / a / h3 styles from the site theme. */
.ceq-footer {
    --ceq-ink: #14213d;
    --ceq-green: #1e9e5a;
    --ceq-orange: #f28c28;
    --ceq-text: #c9d2e3;
    --ceq-muted: #9fb0cc;
    background: var(--ceq-ink);
    color: var(--ceq-text);
    font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: .95rem;
    line-height: 1.5;
    text-align: left;
}

    .ceq-footer *,
    .ceq-footer *::before,
    .ceq-footer *::after {
        box-sizing: border-box;
    }

    .ceq-footer .ceq-footer__grid {
        max-width: 1240px;
        margin: 0 auto;
        padding: 48px 20px 32px;
        display: grid;
        grid-template-columns: 2fr 1fr 1.3fr 1fr;
        gap: 32px;
        align-items: start;
        text-align: left;
    }

    /* ---------- About column ---------- */
    .ceq-footer .ceq-footer__about {
        text-align: left;
    }

    .ceq-footer .ceq-footer__brand {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        color: #fff;
        font-weight: 600;
        font-size: 2.5rem;
        text-decoration: none;
    }

        .ceq-footer .ceq-footer__brand:hover {
            color: #fff;
            text-decoration: none;
        }

        .ceq-footer .ceq-footer__brand img {
            display: block;
            width: auto;
            max-height: 48px;
        }

    .ceq-footer .ceq-footer__about p {
        margin: 14px 0 18px;
        max-width: 34ch;
        color: var(--ceq-text);
       /* font-size: .95rem;*/
        line-height: 1.6;
        text-align: left;
    }

    .ceq-footer .ceq-footer__cta {
        display: inline-block;
        padding: 9px 18px;
        border-radius: 6px;
        background: var(--ceq-green);
        color: #fff !important;
        font-size: 1.5rem;
        font-weight: 600;
        text-decoration: none;
    }

        .ceq-footer .ceq-footer__cta:hover {
            background: #17824a;
            text-decoration: none;
        }

    /* ---------- Link columns ---------- */
    .ceq-footer .ceq-footer__col {
        text-align: left;
    }

        .ceq-footer .ceq-footer__col h3 {
            margin: 0 0 14px;
            color: #fff;
            font-family: inherit;
            font-size: 2rem;
            font-weight: 600;
            text-align: left;
        }

        .ceq-footer .ceq-footer__col ul {
            margin: 0;
            padding: 0;
            list-style: none;
            text-align: left;
        }

        .ceq-footer .ceq-footer__col li {
            margin: 0;
            padding: 0;
            text-align: left;
        }

            .ceq-footer .ceq-footer__col li + li {
                margin-top: 8px;
            }

        .ceq-footer .ceq-footer__col a {
            display: inline-block;
            color: var(--ceq-text);
            font-size: 1.5rem;
            text-align: left;
            text-decoration: none;
            word-break: break-word;
        }

            .ceq-footer .ceq-footer__col a:hover {
                color: #fff;
                text-decoration: underline;
                text-decoration-color: var(--ceq-orange);
                text-underline-offset: 4px;
            }

    .ceq-footer a:focus-visible {
        outline: 3px solid var(--ceq-orange);
        outline-offset: 2px;
    }

    /* ---------- Bottom bar ---------- */
    .ceq-footer .ceq-footer__bottom {
        max-width: 1240px;
        margin: 0 auto;
        padding: 18px 20px 24px;
        border-top: 1px solid rgba(255, 255, 255, .14);
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 16px 32px;
        font-size: .85rem;
        color: var(--ceq-muted);
    }

        .ceq-footer .ceq-footer__bottom p {
            margin: 0;
            color: var(--ceq-muted);
            font-size: 1.3rem;
            line-height: 1.5;
            text-align: left;
        }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .ceq-footer .ceq-footer__grid {
        grid-template-columns: 1fr 1fr;
    }

    .ceq-footer .ceq-footer__about {
        grid-column: 1 / -1;
    }
}

@media (max-width: 575px) {
    .ceq-footer .ceq-footer__grid {
        grid-template-columns: 1fr;
        padding-top: 36px;
    }

    .ceq-footer .ceq-footer__bottom {
        flex-direction: column;
    }

        .ceq-footer .ceq-footer__bottom p:last-child {
            text-align: left;
        }
}
