/* The landing page footer (views/frontend/partials/footer.php) for pages that are
   still built on the old templates (head_dashboard.php / footer_dashboard.php) and
   don't load _general26.css. Same rules as the FOOTER section of _general26.css,
   with fonts and variables scoped to the footer so the old pages stay untouched. */

@font-face {
    font-family: "Baskerville";
    src: url("fonts/Baskervville-Regular.woff2") format("woff2")
}

.main-footer {
    --color-bg: #fff;
    --color-text: #000;
    --font-serif: "Baskerville", serif;
    --font-size-m: 14px;
    --spacing-s: 12px;
    --spacing-m: 24px;
    --spacing-l: 36px;

    box-sizing: border-box;
    background-color: var(--color-text);
    color: var(--color-bg);
    width: 100%;
    margin-top: var(--spacing-l);
    padding: var(--spacing-m) var(--spacing-s);
    font-family: var(--font-serif);
    font-size: var(--font-size-m);
    line-height: normal;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-l);
}

.main-footer a {
    color: inherit;
    text-decoration: none;
}

.main-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.main-footer img {
    display: block;
}

.footer-sections {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-l);
    flex-wrap: wrap;
}

.footer-section {
    width: calc(33.33% - var(--spacing-m));
}

.footer-socials ul {
    display: flex;
    gap: var(--spacing-s);
}

.footer-socials img {
    -webkit-filter: invert(1);
    filter: invert(1);
    width: 20px;
    height: 20px;
}

@media screen and (min-width: 1200px) {
    .main-footer {
        padding: var(--spacing-m);
    }

    .footer-sections {
        flex-direction: row;
    }
}
