.l-footer {
    width: 100%;
    color: var(--color-text-on-dark);
    font-family: var(--font-family-base);
}

.p-footer {
    width: 100%;
    background-color: #000000;
    display: grid;
    grid-template-columns: 210px 1fr 210px;
    grid-template-rows: 1fr 1.6fr 1fr;
}

.p-footer__logo {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.p-footer__logo-link:hover .p-footer__logo-img {
    opacity: 0.7;
}

.p-footer__logo-img {
    max-height: 90px;
    transition: opacity 0.1s ease;
}

.p-footer__links {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    width: 100%;
    height: 100%;
    display: flex;
    gap: 40px;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
}

.p-footer__link {
    font-size: 16px;
    text-decoration: none;
    transition: color 0.1s ease;
}

.p-footer__link:hover {
    color: var(--color-text-on-dark-hover);
}

.p-footer__sub {
    grid-column: 2 / 3;
    grid-row: 3 / 4;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.p-footer__copy {
    font-size: 14px;
}

@media screen and (max-width: 1024px) {
    .p-footer {
        padding: 50px 0;
        display: flex;
        gap: 40px;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
    }

    .p-footer__logo {
        height: auto;
        display: flex;
        justify-content: center;
        align-items: flex-start;
    }

    .p-footer__logo-img {
        max-height: 70px;
    }

    .p-footer__links {
        height: auto;
        display: flex;
        gap: 40px;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
    }

    .p-footer__link {
        font-size: 14px;
    }

    .p-footer__sub {
        height: auto;
        display: flex;
        justify-content: center;
        align-items: flex-start;
    }
}
