.gr-footer {
    background: #17191a;
    color: #e7e7e5;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.7;
}

.gr-footer * {
    box-sizing: border-box;
}

.gr-footer__container {
    width: min(1240px, calc(100% - 48px));
    margin-inline: auto;
}

.gr-footer__main {
    padding: 56px 0 42px;
}

.gr-footer__hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
    align-items: center;
    gap: clamp(36px, 7vw, 90px);
}

.gr-footer__brand {
    max-width: 520px;
}

.gr-footer__logo {
    display: inline-block;
    margin-bottom: 20px;
}

.gr-footer__logo img {
    display: block;
    width: min(270px, 100%);
    height: auto;
    filter: brightness(0) invert(1);
}

.gr-footer__brand p {
    margin: 0 0 14px;
    color: #c7c8c6;
    font-size: 14px;
    line-height: 1.75;
}

.gr-footer__brand .gr-footer__eyebrow {
    margin-bottom: 12px;
    color: #c8a96a;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.5;
    text-transform: uppercase;
}

.gr-footer__socials {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.gr-footer__socials a {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border: 1px solid #858887;
    border-radius: 50%;
    color: #f2f2f0;
    font-size: 15px;
    text-decoration: none;
    transition: color 160ms ease, border-color 160ms ease;
}

.gr-footer__socials svg {
    display: block;
    width: 15px;
    height: 15px;
    fill: currentColor;
}

.gr-footer__socials a:hover,
.gr-footer__socials a:focus-visible {
    border-color: #c8a96a;
    color: #c8a96a;
}

.gr-footer__image {
    min-width: 0;
    aspect-ratio: 1.58 / 1;
    overflow: hidden;
    background: #252727;
}

.gr-footer__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gr-footer__details {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 48px;
    padding-top: 30px;
    padding-bottom: 30px;
    border-top: 1px solid #414344;
}

.gr-footer__details h2 {
    margin: 0 0 12px;
    color: #f2f2f0;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.gr-footer__details p {
    margin: 0 0 7px;
    color: #b9bbba;
    font-size: 13px;
}

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

.gr-footer__details a:hover,
.gr-footer__nav a:hover {
    color: #c8a96a;
}

.gr-footer__articles ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.gr-footer__articles li > a {
    color: #e7e7e5;
    font-size: 13px;
}

.gr-footer__articles li p {
    margin-top: 4px;
    font-size: 12px;
}

.gr-footer__nav {
    border-top: 1px solid #555758;
    border-bottom: 1px solid #555758;
}

.gr-footer__nav > div {
    display: flex;
    min-height: 60px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 26px;
}

.gr-footer__nav a {
    color: #e0e1df;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.gr-footer__legal {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 34px;
    padding-bottom: 34px;
    text-align: center;
}

.gr-footer__legal-logo {
    display: inline-block;
    margin-bottom: 16px;
}

.gr-footer__legal-logo img {
    display: block;
    width: 150px;
    height: auto;
    filter: brightness(0) invert(1);
}

.gr-footer__legal p {
    max-width: 1000px;
    margin: 7px auto 0;
    color: #b9bbba;
    font-size: 11px;
    line-height: 1.7;
}

.gr-footer__legal strong {
    color: #e7e7e5;
}

@media (max-width: 767px) {
    .gr-footer__container {
        width: min(100% - 36px, 560px);
    }

    .gr-footer__main {
        padding: 38px 0 30px;
    }

    .gr-footer__hero {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .gr-footer__image {
        aspect-ratio: 1.35 / 1;
    }

    .gr-footer__details {
        grid-template-columns: 1fr;
        gap: 26px;
        padding-top: 24px;
        padding-bottom: 24px;
    }

    .gr-footer__nav > div {
        justify-content: flex-start;
        gap: 8px 20px;
        padding-top: 14px;
        padding-bottom: 14px;
    }

    .gr-footer__legal {
        padding-top: 26px;
        padding-bottom: 28px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gr-footer__socials a {
        transition: none;
    }
}
