/* FOOTER LAYOUT FIX */

html,
body {
    min-height: 100%;
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    color: #111111;
}

.content_container {
    flex: 1;
}

/* FOOTER */

.site-footer {
    width: 100%;
    margin-top: auto;
    padding: 44px 24px 28px;
    background: #ffffff;
    color: #111111;
    font-family: Georgia, "Times New Roman", serif;
    text-align: left;
}

.footer-grid {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* BRAND */

.footer-brand {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    max-width: 480px;
}

.footer-brand img {
    display: block;
    width: 74px;
    height: auto;
    flex-shrink: 0;
    margin: 0;
}

.footer-brand-text {
    max-width: 360px;
}

.footer-title {
    margin: 0 0 10px;
    color: #111111;
    font-size: 18px;
    line-height: 1.2;
    font-weight: normal;
    letter-spacing: 0.04em;
}

.footer-text {
    margin: 0;
    color: #333333;
    font-size: 14px;
    line-height: 1.6;
    letter-spacing: 0.01em;
}

/* COLUMNS */

.footer-column {
    width: 100%;
}

.footer-heading {
    margin: 0 0 14px;
    color: #111111;
    font-size: 12px;
    line-height: 1.2;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
}

.footer-links a {
    color: #111111;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.35;
    letter-spacing: 0.02em;
}

.footer-links a:hover {
    opacity: 0.55;
}

/* BOTTOM */

.footer-bottom {
    width: 100%;
    max-width: 1080px;
    margin: 38px auto 0;
    padding-top: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    color: #555555;
    font-size: 12px;
    line-height: 1.5;
    letter-spacing: 0.04em;
}

.footer-bottom span {
    display: block;
}

/* RESPONSIVE */

@media (max-width: 850px) {
    .site-footer {
        padding: 38px 22px 26px;
        text-align: center;
    }

    .footer-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 32px;
    }

    .footer-brand {
        max-width: 420px;
        flex-direction: column;
        align-items: center;
        gap: 16px;
        text-align: center;
    }

    .footer-brand img {
        width: 70px;
        margin: 0 auto;
    }

    .footer-brand-text {
        max-width: 360px;
    }

    .footer-column {
        text-align: center;
    }

    .footer-heading {
        margin-bottom: 12px;
    }

    .footer-links {
        align-items: center;
        gap: 8px;
    }

    .footer-bottom {
        margin-top: 34px;
        padding-top: 16px;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 6px;
    }
}

/* HORIZONTAL SCROLL FIX */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.site-footer {
    max-width: 100%;
    overflow-x: hidden;
}

.footer-grid,
.footer-bottom {
    width: 100%;
    max-width: 1080px;
}

.footer-grid {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr);
}

.footer-brand,
.footer-brand-text,
.footer-column,
.footer-links,
.footer-bottom {
    min-width: 0;
}

.footer-brand img {
    max-width: 100%;
}

.footer-text,
.footer-title,
.footer-heading,
.footer-links a,
.footer-bottom span {
    overflow-wrap: break-word;
    word-break: normal;
}

@media (max-width: 1100px) {
    .site-footer {
        padding-left: 20px;
        padding-right: 20px;
    }

    .footer-grid {
        max-width: 100%;
        gap: 34px;
    }

    .footer-bottom {
        max-width: 100%;
    }
}

@media (max-width: 850px) {
    .footer-grid {
        width: 100%;
        max-width: 100%;
    }

    .footer-brand {
        width: 100%;
        max-width: 380px;
    }

    .footer-column {
        width: 100%;
    }
}