/**
 * Site footer styles (dark-red branded footer: logo, tagline, Instagram
 * pill, nav links, legal text, copyright). Extracted from style.css and
 * enqueued separately — see customthemes_footer_styles() in functions.php.
 */

.footer {
    margin-top: var(--footer-gap, 70px);
    background: #9C3037;
    padding: 40px 0 32px;
}

.footer__inner {
    width: min(calc(100% - 15px), 1180px);
    margin: 0 auto;
    padding: 10px 14px;
}

.footer__top {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 28px;
    margin-bottom: 24px;
}

.footer__logoRow {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 2px;
}

.footer__logo {
    color: #FEFBF8;
    font-weight: 900;
    letter-spacing: .04em;
    font-size: 26px;
}

.footer__smiley {
    width: 35px;
    height: 35px;
    display: block;
}

.footer__tagline {
    margin: 0;
    color: #FEFBF8;
    font-size: 15px;
}

.footer__ig {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    background: #FEFBF8;
    border-radius: 999px;
    padding: 6px 20px 6px 6px;
    text-decoration: none;
}

.footer__igIcon {
    width: 28px;
    height: 28px;
    border-radius: 30px;
    background: #9C3037;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.footer__ig span:last-child {
    color: #9C3037;
    font-size: 15px;
    font-weight: 600;
}

.footer__nav {
    display: flex;
    flex-wrap: wrap;
    margin-left: auto;
    row-gap: 8px;
}

.footer__nav a {
    color: #FEFBF8;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    margin-right: 10px;
}

.footer__nav a:not(:last-child)::after {
    content: "|";
    margin-left: 10px;
    color: rgba(254, 251, 248, 0.5);
    font-weight: 400;
}

.footer__nav a:hover {
    text-decoration: underline;
}

.footer__bottom {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 24px;
    padding-top: 16px;
}

.footer__legal {
    margin: 0;
    max-width: 640px;
    color: rgba(254, 251, 248, 0.6);
    font-size: 13px;
    line-height: 18px;
}

.footer__legal a {
    color: rgba(254, 251, 248, 0.6);
    text-decoration: none;
}

.footer__legal a:hover {
    text-decoration: underline;
}

.footer__copy {
    margin: 0;
    color: rgba(254, 251, 248, 0.6);
    font-size: 13px;
    white-space: nowrap;
}

@media (max-width: 820px) {
    .footer {
       margin-top: var(--footer-gap, 70px);
       background: #9C3037;
       padding: 25px 0 25px;
    }
    .footer__inner {
       padding: 0px 14px;
    }
    .footer__top {
       flex-direction: column;
       align-items: flex-start;
       gap: 20px;
    }

    .footer__bottom {
       flex-direction: column;
       gap: 8px;
    }

    .footer__copy {
       white-space: normal;
    }

    .footer__nav {
       margin-left: 0;
       row-gap: 16px;
    }
}
