.custom-footer {
    background: #2b267f;
    padding: 40px 20px 0 20px;
}

.custom-footer * {
    color: #fff;
}

.custom-footer__inner {
    display: grid;
    grid-template-columns: 300px repeat(4, fit-content(220px));
    justify-content: space-between;
}

.custom-footer__inner > div {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.custom-footer__brand .custom-logo-link {
    text-align: center;
    margin-bottom: 10px;
}

.custom-footer__brand .custom-logo-link img {
    max-width: 180px;
    height: auto;
    filter: brightness(0) invert(1);
}

.custom-footer__description {
    color: #ddd;
    font-size: 14px;
    line-height: 1.35;
    margin-bottom: 15px;
}

.custom-footer__newsletter {
    width: 100%;
}

.custom-footer__newsletter-title {
    line-height: 1;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
}

.custom-footer__newsletter div.wpforms-container-full {
    margin: 10px 0 0 0 !important;
}

.custom-footer__newsletter div.wpforms-container-full .wpforms-form .wpforms-field {
    padding: 0 !important;
}

.custom-footer__newsletter form {
    display: flex;
    align-items: center;
}

.custom-footer__newsletter .wpforms-field-container {
    width: 100% !important;
}

.custom-footer__newsletter input {
    min-width: 100% !important;
    border: 0 !important;
}

.custom-footer__newsletter .wpforms-submit-container {
    padding: 0 !important;
}

.custom-footer__newsletter .wpforms-submit-container button {
    height: 44.48px !important;
    border: 1px solid #fff !important;
    border-left: 0 !important;
}

.custom-footer__socials {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 5px;
}

.custom-footer__column.custom-footer__accordion {
    align-items: flex-start;
}

.custom-footer__column.custom-footer__accordion button {
    padding: 0;
    background: transparent;
    border: 0;
    color: #fff;
}

.custom-footer__column.custom-footer__accordion button,
.custom-footer__contact h2 {
    margin-bottom: 20px;

    line-height: 1;
    text-transform: uppercase;
    font-size: 16px;
    font-style: normal;
    font-weight: 800;
}

.custom-footer__column.custom-footer__accordion ul {
    margin: 0;
    list-style: none;
}

.custom-footer__column.custom-footer__accordion ul li {
    line-height: 1;
    margin-bottom: 10px;
}

.custom-footer__column.custom-footer__accordion ul a {
    font-size: 14px;
    color: #ddd;
}

.custom-footer__column.custom-footer__accordion ul a:hover {
    color: #f89800;
}

.custom-footer__contact {
    align-items: flex-start !important;
}

.custom-footer__contact p,
.custom-footer__contact a{
    line-height: 1.25;
    margin-bottom: 10px;
    font-size: 14px;
    color: #ddd;
}

.custom-footer__copyright {
    margin-top: 20px;
    padding-top: 10px;
    padding-bottom: 10px;

    border-top: 2px solid #ddd;
    text-align: center;
    font-size: 12px;
    color: #ddd;
    text-transform: uppercase;
}

@media (max-width: 767px) {
    .custom-footer {
        padding: 20px 16px;
    }

    .custom-footer__inner {
        display: flex;
        flex-direction: column;
        gap: 0;

        width: 100%;
        max-width: 100%;
        padding: 0;
        margin: 0;
    }

    .custom-footer__inner > div {
        width: 100%;
        align-items: stretch;
    }

    .custom-footer__brand {
        align-items: center !important;
        text-align: center;
        margin-bottom: 34px;
    }

    .custom-footer__brand .custom-logo-link {
        max-width: 100%;
        margin-bottom: 20px;
        margin-right: 0;
    }

    .custom-footer__brand .custom-logo-link img {
        max-width: 230px;
    }

    .custom-footer__description {
        color: #fff;
    }

    .custom-footer__newsletter-title {
        margin-bottom: 18px;
    }

    .custom-footer__newsletter form {
        position: relative;
    }

    .custom-footer__socials {
        gap: 25px;
        margin: 20px 0 0 0;
    }

    .custom-footer__social img {
        width: 30px;
        height: auto;
    }

    .custom-footer__column.custom-footer__accordion {
        border-top: 1px solid rgba(255, 255, 255, 0.75);
    }

    .custom-footer__contact {
        border-bottom: 1px solid rgba(255, 255, 255, 0.75);
    }

    .custom-footer__column.custom-footer__accordion button {
        position: relative;
        width: 100%;
        padding: 20px 30px 20px 0;
        margin: 0;
        text-align: left;
        cursor: pointer;
    }

    .custom-footer__column.custom-footer__accordion button::after {
        content: '';
        position: absolute;
        right: 8px;
        top: 50%;
        width: 10px;
        height: 10px;
        border-right: 2px solid #fff;
        border-bottom: 2px solid #fff;
        transform: translateY(-60%) rotate(45deg);
    }

    .custom-footer__column.custom-footer__accordion.is-open button::after {
        transform: translateY(-35%) rotate(225deg);
    }

    .custom-footer__accordion-content {
        display: none;
        padding-bottom: 10px;
    }

    .custom-footer__column.custom-footer__accordion.is-open .custom-footer__accordion-content {
        display: block;
    }

    .custom-footer__copyright {
        padding: 0;
        border-top: 0;
    }
}