/* Shared Nenurta CyberTech footer for the assessment app.
   These pages are standalone HTML with their own inline <style> blocks and no
   shared chrome, so this file is the one place the footer is defined. Every
   page links it and repeats the small markup block before </body>. */

.nenurta-footer {
    width: 100%;
    /* Pushes the footer to the bottom on the flex-centred pages; inert on the
       block-layout pages, where the padding and border still separate it. */
    margin-top: auto;
    padding: 28px 20px;
    background: #ffffff;
    border-top: 1px solid #e3e3ea;
    /* Several pages give <body> its own padding, which would leave a strip of
       page background under the footer. Sitting flush at the bottom with
       rounded top corners matches the app's 8px cards on those pages, and is
       simply a full-width band on the pages with no body padding. */
    border-radius: 8px 8px 0 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 0.85rem;
    color: #5c5c66;
    text-align: center;
    box-sizing: border-box;
}

.nenurta-footer-brand {
    display: inline-block;
    text-decoration: none;
    margin-bottom: 10px;
}

.nenurta-footer-name {
    display: block;
    color: #1d1d24;
    font-size: 1rem;
    font-weight: 700;
}

.nenurta-footer-tagline {
    display: block;
    color: #fa8f02;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-top: 2px;
}

.nenurta-footer-links {
    margin: 0 0 8px;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    justify-content: center;
}

.nenurta-footer-links a {
    color: #4a4a55;
    text-decoration: none;
}

.nenurta-footer-links a:hover,
.nenurta-footer-links a:focus {
    color: #fa8f02;
    text-decoration: underline;
}

.nenurta-footer-copy {
    margin: 0;
    font-size: 0.78rem;
    color: #85858f;
}

/* The app's pages centre a single card with `display: flex` on <body>. Adding
   the footer as a second flex item would put it beside that card, so switch
   those pages to a column. This is inert where <body> is not a flex container.
   `height: auto` undoes error.html's fixed `height: 100vh`, which would
   otherwise clip the footer. */
body {
    flex-direction: column;
    height: auto;
    min-height: 100vh;
    padding-bottom: 0;
}

@media (max-width: 480px) {
    .nenurta-footer {
        padding: 22px 16px;
    }

    .nenurta-footer-links {
        gap: 6px 14px;
    }
}
