/**
 * Footer Section Block
 *
 * Full-width navy footer. Copyright on the left, two link rows on the right.
 * Matches child-theme-sections-screenshots/footer-section.png
 */

:root {
    --color-navy: #385d8c;
    --color-pale: #eef3f8;
    --color-teal: #93cddc;
    --color-sky:  #d2eaf0;
    --color-text: #787878;
    --color-white: #ffffff;
}

.footer-section {
    background-color: var(--color-navy);
    color: var(--color-white);
    padding: 40px 0;
    font-family: 'Roboto', sans-serif;
}

.footer-section__container {
    max-width: var(--theme-normal-container-max-width, 1290px);
    width: var(--theme-container-width, 100%);
    margin: 0 auto;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-section__copyright {
    color: var(--color-white);
    font-size: 16px;
    line-height: 1.5;
}

.footer-section__links {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 18px;
    text-align: right;
}

.footer-section__links-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 22px;
}

.footer-section__link {
    color: var(--color-white);
    text-decoration: none;
    font-size: 16px;
    line-height: 1.5;
    transition: opacity 0.3s ease;
}

.footer-section__link:hover,
.footer-section__link:focus {
    opacity: 0.75;
    text-decoration: underline;
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1023px) {
    .footer-section__copyright,
    .footer-section__link {
        font-size: 15px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .footer-section {
        padding: 32px 0;
    }

    .footer-section__container {
        flex-direction: column;
        align-items: flex-start;
        gap: 22px;
    }

    .footer-section__links {
        align-items: flex-start;
        text-align: left;
        width: 100%;
    }

    .footer-section__links-row {
        justify-content: flex-start;
        gap: 16px 20px;
    }

    .footer-section__copyright,
    .footer-section__link {
        font-size: 15px;
    }
}
