/* The dark site footer of every page (views/components/site_footer.twig). */

.site-footer {
    position: relative;
    z-index: 0;
    background-color: #0a1c2e;
    color: #9fb3c4;
    padding: 56px 0 28px 0;
    border-top: solid 3px #ffc107;
    font-size: 1rem;
    line-height: 1.5;
}
.site-footer-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 16px;
}
.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
    gap: 40px 32px;
}
/* The blue logo turns white on the navy. */
.footer-brand > a img { filter: brightness(0) invert(1); }
.footer-brand p { margin: 18px 0 20px 0; max-width: 340px; line-height: 1.55; }
.footer-made { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; }
.footer-made img { border-radius: 2px; }
.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.site-footer .footer-col h2 {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #ffc107;
    margin: 6px 0 6px 0;
}
.site-footer .footer-col a {
    color: #dce8f1;
    text-decoration: none;
    text-underline-offset: 3px;
}
.site-footer .footer-col a:hover, .site-footer .footer-col a:focus-visible { color: #ffffff; text-decoration: underline; }
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    margin-top: 48px;
    padding-top: 22px;
    border-top: solid 1px rgba(255,255,255,0.1);
    font-size: 0.85rem;
}
.footer-bottom .language-menu { color: #9fb3c4; }
.footer-bottom .form-select { background-color: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.18); }
.footer-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 22px;
    margin-top: 10px;
    font-size: 0.78rem;
    color: #7f95a8;
}
.footer-reading { padding: 0 4px; border-radius: 3px; color: #dce8f1; }
.footer-reading-ok { background: rgba(25, 135, 84, 0.35); }
.footer-reading-warn { background: rgba(255, 193, 7, 0.3); }
.footer-reading-bad { background: rgba(220, 53, 69, 0.4); }
@media (max-width: 991px) {
    .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 576px) {
    .site-footer { padding-top: 44px; padding-bottom: 72px; }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
}
@media print {
    .site-footer { display: none; }
}
