/* Scoped to the existing footer; the site's menus and page styling stay native. */
#footer.fulmina-footer {
    --fd-ink: #302b20;
    --fd-muted: #55492c;
    --fd-accent: #715419;
    --fd-yellow: #f8d552;
    --theme-text-color: var(--fd-muted);
    --theme-link-initial-color: var(--fd-muted);
    --theme-link-hover-color: var(--fd-ink);
    background: var(--fd-yellow);
    color: var(--fd-muted);
    border-top: 3px solid #cda82a;
    overflow-wrap: break-word;
}
#footer.fulmina-footer *, #footer.fulmina-footer *::before, #footer.fulmina-footer *::after { box-sizing: border-box; }
#footer.fulmina-footer > [data-row] { background: transparent; border: 0; }
#footer.fulmina-footer .fulmina-footer-intro,
#footer.fulmina-footer > [data-row] > .ct-container {
    width: calc(100% - 96px);
    max-width: 1180px;
    margin-inline: auto;
}
#footer.fulmina-footer .fulmina-footer-intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding-block: 48px 36px;
    border-bottom: 1px solid #302b2026;
}
#footer.fulmina-footer .fulmina-footer-wordmark {
    display: inline-block;
    color: var(--fd-ink);
    font-size: 32px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -1px;
    text-decoration: none;
}
#footer.fulmina-footer .fulmina-footer-brand p {
    max-width: 46ch;
    margin: 12px 0 0;
    color: var(--fd-muted);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.8;
}
#footer.fulmina-footer .fulmina-footer-button {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 20px;
    min-height: 50px;
    padding: 13px 22px;
    border: 1px solid var(--fd-accent);
    border-radius: 4px;
    color: var(--fd-ink);
    background: transparent;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    text-decoration: none;
    transition: color .18s ease, background-color .18s ease, border-color .18s ease;
}
#footer.fulmina-footer .fulmina-footer-button svg { flex: 0 0 20px; }
#footer.fulmina-footer .fulmina-footer-button:hover {
    background: var(--fd-ink);
    color: var(--fd-yellow);
    border-color: var(--fd-ink);
}
#footer.fulmina-footer > [data-row="middle"] > .ct-container {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 40px;
    padding-block: 36px 40px;
}
#footer.fulmina-footer [data-row="middle"] [data-column] {
    min-width: 0;
    padding: 0;
    border: 0;
}
#footer.fulmina-footer .ct-widget { margin: 0; }
#footer.fulmina-footer .widget-title {
    margin: 0 0 16px;
    color: var(--fd-accent);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    line-height: 1.7;
    text-transform: uppercase;
}
#footer.fulmina-footer .widget-menu { margin: 0; padding: 0; list-style: none; }
#footer.fulmina-footer .widget-menu li { margin: 0; padding: 0; border: 0; }
#footer.fulmina-footer .widget-menu a {
    display: inline-block;
    min-height: 36px;
    padding-block: 5px;
    color: var(--fd-muted);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.8;
    text-decoration: none;
    transition: color .18s ease;
}
#footer.fulmina-footer .widget-menu a:hover {
    color: var(--fd-ink);
    text-decoration: underline;
    text-decoration-color: var(--fd-accent);
    text-underline-offset: 5px;
    text-decoration-thickness: 1px;
}
#footer.fulmina-footer a:focus-visible {
    outline: 2px solid var(--fd-accent);
    outline-offset: 5px;
    border-radius: 2px;
}
#footer.fulmina-footer > [data-row="bottom"] {
    border-top: 1px solid #302b201a;
    background: transparent;
}
#footer.fulmina-footer > [data-row="bottom"] > .ct-container {
    display: block;
    min-height: 0;
    padding-block: 23px;
}
#footer.fulmina-footer [data-column="copyright"] { padding: 0; }
#footer.fulmina-footer .ct-footer-copyright,
#footer.fulmina-footer .ct-footer-copyright p {
    margin: 0;
    color: var(--fd-muted);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.7;
    text-align: center;
}
@media (max-width: 999px) {
    #footer.fulmina-footer .fulmina-footer-intro,
    #footer.fulmina-footer > [data-row] > .ct-container { width: calc(100% - 64px); }
    #footer.fulmina-footer > [data-row="middle"] > .ct-container { gap: 30px; }
}
@media (max-width: 689px) {
    #footer.fulmina-footer .fulmina-footer-intro,
    #footer.fulmina-footer > [data-row] > .ct-container { width: calc(100% - 48px); }
    #footer.fulmina-footer .fulmina-footer-intro {
        align-items: flex-start;
        flex-direction: column;
        gap: 24px;
        padding-block: 36px 32px;
    }
    #footer.fulmina-footer .fulmina-footer-wordmark { font-size: 29px; }
    #footer.fulmina-footer .fulmina-footer-brand p { max-width: 35ch; }
    #footer.fulmina-footer > [data-row="middle"] > .ct-container {
        grid-template-columns: repeat(2,minmax(0,1fr));
        column-gap: 26px;
        row-gap: 32px;
        padding-block: 32px 36px;
    }
    #footer.fulmina-footer .widget-title { margin-bottom: 10px; font-size: 11px; letter-spacing: 1.1px; }
    #footer.fulmina-footer .widget-menu a { min-height: 44px; padding-block: 9px; font-size: 14px; line-height: 1.8; }
    /* Keep copyright clear of the site's floating language selector. */
    #footer.fulmina-footer > [data-row="bottom"] > .ct-container { padding-block: 22px 78px; }
}
@media (prefers-reduced-motion: reduce) {
    #footer.fulmina-footer a { transition: none; }
}
