.wp-block-onlines-footer.footer__wrapper,
.wp-block-onlines-footer.footer__wrapper::before,
.wp-block-onlines-footer.footer__wrapper::after,
.wp-block-onlines-footer.footer__wrapper *,
.wp-block-onlines-footer.footer__wrapper *::before,
.wp-block-onlines-footer.footer__wrapper *::after {
    box-sizing: border-box;
}

.wp-block-onlines-footer.footer__wrapper {
    width: 100%;
    margin-top: 0 !important;
    padding: 90px 0 36px;
    background: transparent;
    color: var(--wp--preset--color--alternativo);
}

.wp-block-onlines-footer.footer__wrapper.footer--compact {
    padding: 50px 1rem;
    color: var(--wp--preset--color--custom-azul);
}

.footer--compact .footer__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: var(--wp--style--global--wide-size);
}

.footer--compact .footer__brand {
    margin-bottom: 0;
}

.footer--compact .footer__logo-link {
    width: 145px;
    height: 60px;
    overflow: hidden;
}

.footer--compact .footer__logo-link img {
    transform: scale(1.18);
    transform-origin: center;
}

.footer--compact .footer__logo-placeholder {
    min-height: 0;
    color: var(--wp--preset--color--custom-azul);
    font-family: var(--wp--preset--font-family--greycliff-cf, sans-serif);
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0;
    text-transform: lowercase;
}

.footer--compact .footer__content {
    display: flex;
    justify-content: center;
}

.footer--compact .footer__newsletter,
.footer--compact .footer__menu-area {
    display: none;
}

.footer--compact .footer__socials-area {
    justify-content: center;
}

.footer--compact .footer__socials {
    margin-top: 0;
    gap: 12px;
    height: 26px;
    color: var(--wp--preset--color--custom-azul);
    font-size: 20px;
}

.footer--compact .footer__social-link {
    width: 26px;
    height: 26px;
    padding: 0;
    color: var(--wp--preset--color--custom-azul);
    opacity: 1;
    transform: translateY(0);
    transition: transform 0.4s ease-in-out;
}

.footer--compact .footer__social-item:first-child .footer__social-link,
.footer--compact .footer__social-item:last-child .footer__social-link {
    padding: 0;
}

.footer--compact .footer__social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.footer--compact .footer__social-icon svg {
    width: auto;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
}

.footer--compact .footer__social-link:hover,
.footer--compact .footer__social-link:focus-visible {
    color: var(--wp--preset--color--custom-azul);
    opacity: 1;
    transform: translateY(-2px);
}

.footer--compact .footer__bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 22px;
}

.footer--compact .footer__legal {
    display: none;
}

.footer--compact .footer__credits {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: rgba(51, 51, 51, 0.95);
    font-family: var(--wp--preset--font-family--greycliff-cf);
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    letter-spacing: -0.12px;
}

.footer--compact .footer__credits .footer__onlines-prefix {
    font-family: var(--wp--preset--font-family--greycliff-cf);
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    letter-spacing: -0.12px;
    color: rgba(51, 51, 51, 0.95);
    opacity: 1;
}

.footer--compact .footer__alma-logo {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    margin-bottom: -2px;
}

.footer--compact .footer__alma-logo img {
    display: block;
    width: 58px;
    height: 17px;
    aspect-ratio: 58 / 17;
    max-height: none;
}

.footer--compact .footer__onlines {
    display: inline-flex;
    align-items: center;
    color: rgba(51, 51, 51, 0.85);
    text-decoration: none;
}

.footer--compact .footer__onlines-logo {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    margin-bottom: 2px;
}

.footer__alma-logo {
    background-color: rgba(51, 51, 51, 1);
    -webkit-mask: url("../../images/footer/logo-alma.svg") center / contain no-repeat;
    mask: url("../../images/footer/logo-alma.svg") center / contain no-repeat;
    transition: background-color 0.2s ease;
}

.footer__onlines-logo {
    background-color: rgba(51, 51, 51, 0.85);
    -webkit-mask: url("../../images/footer/logo-onlines.svg") center / contain no-repeat;
    mask: url("../../images/footer/logo-onlines.svg") center / contain no-repeat;
    transition: background-color 0.2s ease;
}

.footer__alma-logo img,
.footer__onlines-logo img {
    visibility: hidden;
}

.footer__alma-logo:hover,
.footer__alma-logo:focus-visible,
.footer__onlines:hover .footer__onlines-logo,
.footer__onlines:focus-visible .footer__onlines-logo {
    background-color: var(--wp--preset--color--custom-azul, #09364D);
}

.footer--compact .footer__onlines-logo img,
.footer--compact .footer__onlines-logo svg {
    display: block;
    width: 54px;
    height: 14px;
    max-height: none;
}

.footer--compact .footer__onlines:hover,
.footer--compact .footer__onlines:focus-visible {
    color: var(--wp--preset--color--custom-azul, #09364D);
}

.footer__description-control .components-textarea-control__input,
.footer__gravity-shortcode-control .components-textarea-control__input {
    resize: none;
}

.footer__container {
    --input-height: 64px;
    width: 100%;
    max-width: var(--wp--style--global--wide-size);
    margin: 0 auto;
}

.footer__brand {
    display: flex;
    justify-content: center;
    margin-bottom: 74px;
}

.footer__logo-link,
.footer__logo-placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    text-decoration: none;
}

.footer__logo-link {
    height: var(--footer-logo-height-desktop, 44px);
}

.footer__logo-link img {
    display: block;
    width: auto !important;
    height: 100% !important;
    max-width: 100%;
}

.footer__logo-placeholder {
    min-height: var(--footer-logo-height-desktop, 44px);
    color: var(--wp--preset--color--texto);
    font-family: var(--wp--preset--font-family--greycliff-cf);
    font-size: 34px;
    font-style: normal;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1;
    text-transform: uppercase;
}

.footer__content {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 50px;
    align-items: start;
}

.footer__newsletter {
    width: 100%;
    max-width: 480px;
}

.footer__newsletter-eyebrow,
.footer__newsletter-description,
.footer__legal,
.footer__onlines-prefix {
    margin: 0;
    color: var(--wp--preset--color--secundario);
    font-family: var(--wp--preset--font-family--greycliff-cf);
    font-style: normal;
    font-weight: 700;
}

.footer__newsletter-eyebrow {
    font-size: 16px;
    line-height: 1.25;
}

.footer__newsletter-description {
    max-width: 480px;
    margin-top: 4px;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 400 !important;
}

.footer__newsletter-form {
    width: 100%;
    margin-top: 22px;
}

.footer__newsletter-form .gform_wrapper {
    width: 100% !important;
    max-width: 480px !important;
}

.footer__newsletter-form form,
.footer__fallback-form {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0;
    width: 100%;
    max-width: 480px;
}

.footer__newsletter-form .gform_wrapper,
.footer__newsletter-form .gform_validation_errors,
.footer__newsletter-form .validation_message,
.footer__newsletter-form .gform_submission_error,
.footer__newsletter-form .gform_confirmation_message {
    margin: 0 !important;
    margin-top: 5px !important;
}

.footer__newsletter-form .gform_confirmation_message {
    color: var(--wp--preset--color--texto) !important;
    text-wrap: balance !important;
}

.footer__newsletter-form .gform_validation_errors {
    margin-bottom: 12px !important;
    padding-block: 7px !important;
    padding-bottom: 11px !important;
}

.footer__newsletter-form .gform_validation_errors .gform_submission_error {
    flex-direction: row !important;
}

.footer__newsletter-form .gform_heading,
.footer__newsletter-form .gfield_label,
.footer__newsletter-form .gform_required_legend,
.footer__newsletter-form .screen-reader-text,
.footer__newsletter-form legend {
    display: none !important;
}

.footer__newsletter-form .gform_wrapper form {
    position: relative !important;
    display: flex !important;
    flex-direction: row !important;
    gap: 0 !important;
    align-items: stretch !important;
    width: 100% !important;
}

.footer__newsletter-form .gform_body {
    flex: 1 1 auto !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer__newsletter-form .gform_fields {
    display: flex !important;
    flex-direction: row !important;
    gap: 0 !important;
    grid-row-gap: 0 !important;
}

.footer__newsletter-form .gfield,
.footer__newsletter-form .ginput_container,
.footer__newsletter-form .gfield_email,
.footer__newsletter-form .gform-theme-field-control,
.footer__newsletter-form .gform-theme-field-control input {
    margin: 0 !important;
}

.footer__newsletter-form .gfield {
    width: 100% !important;
    padding: 0 !important;
}

.footer__newsletter-form .gform_footer,
.footer__newsletter-form .gform_wrapper .gform_footer {
    --gform-footer-top: 6px;
    position: absolute !important;
    top: var(--gform-footer-top) !important;
    right: 7px !important;
    bottom: auto !important;
    height: calc(var(--input-height) - var(--gform-footer-top) * 2) !important;
    left: auto !important;
    z-index: 2;
    display: flex !important;
    align-items: stretch !important;
    justify-content: stretch !important;
    flex: 0 0 131px !important;
    width: 131px !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer__newsletter-form input[type="email"],
.footer__newsletter-form input[type="text"],
.footer__newsletter-form .gfield input:not([type="submit"]):not([type="button"]):not([type="hidden"]),
.footer__newsletter-form .ginput_container input:not([type="submit"]):not([type="button"]):not([type="hidden"]),
.footer__fallback-input {
    width: 100% !important;
    min-width: 0;
    height: var(--input-height) !important;
    padding: 0 165px 0 24px !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    border-style: solid !important;
    border-width: 1px !important;
    border-color: #555555 !important;
    border-radius: 999px !important;
    background: transparent !important;
    color: var(--wp--preset--color--secundario) !important;
    caret-color: var(--wp--preset--color--secundario) !important;
    -webkit-text-fill-color: var(--wp--preset--color--secundario) !important;
    box-shadow: none !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    font-family: var(--wp--preset--font-family--greycliff-cf) !important;
    font-size: 16px !important;
    font-style: normal !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    letter-spacing: 0 !important;
}

.footer__newsletter-form input[type="email"]::placeholder,
.footer__newsletter-form input[type="text"]::placeholder,
.footer__newsletter-form .gfield input:not([type="submit"]):not([type="button"]):not([type="hidden"])::placeholder,
.footer__newsletter-form .ginput_container input:not([type="submit"]):not([type="button"]):not([type="hidden"])::placeholder,
.footer__fallback-input::placeholder {
    color: var(--wp--preset--color--secundario) !important;
    opacity: 1 !important;
}

.footer__newsletter-form input[type="email"]::-webkit-input-placeholder,
.footer__newsletter-form input[type="text"]::-webkit-input-placeholder,
.footer__newsletter-form .gfield input:not([type="submit"]):not([type="button"]):not([type="hidden"])::-webkit-input-placeholder,
.footer__newsletter-form .ginput_container input:not([type="submit"]):not([type="button"]):not([type="hidden"])::-webkit-input-placeholder,
.footer__fallback-input::-webkit-input-placeholder {
    color: var(--wp--preset--color--secundario) !important;
    opacity: 1 !important;
}

.footer__newsletter-form input[type="email"]::-moz-placeholder,
.footer__newsletter-form input[type="text"]::-moz-placeholder,
.footer__newsletter-form .gfield input:not([type="submit"]):not([type="button"]):not([type="hidden"])::-moz-placeholder,
.footer__newsletter-form .ginput_container input:not([type="submit"]):not([type="button"]):not([type="hidden"])::-moz-placeholder,
.footer__fallback-input::-moz-placeholder {
    color: var(--wp--preset--color--secundario) !important;
    opacity: 1 !important;
}

.footer__newsletter-form input[type="email"]:-ms-input-placeholder,
.footer__newsletter-form input[type="text"]:-ms-input-placeholder,
.footer__newsletter-form .gfield input:not([type="submit"]):not([type="button"]):not([type="hidden"]):-ms-input-placeholder,
.footer__newsletter-form .ginput_container input:not([type="submit"]):not([type="button"]):not([type="hidden"]):-ms-input-placeholder,
.footer__fallback-input:-ms-input-placeholder {
    color: var(--wp--preset--color--secundario) !important;
}

.footer__newsletter-form input[type="email"]::-ms-input-placeholder,
.footer__newsletter-form input[type="text"]::-ms-input-placeholder,
.footer__newsletter-form .gfield input:not([type="submit"]):not([type="button"]):not([type="hidden"])::-ms-input-placeholder,
.footer__newsletter-form .ginput_container input:not([type="submit"]):not([type="button"]):not([type="hidden"])::-ms-input-placeholder,
.footer__fallback-input::-ms-input-placeholder {
    color: var(--wp--preset--color--secundario) !important;
}

.footer__newsletter-form input[type="submit"],
.footer__newsletter-form button[type="submit"],
.footer__fallback-button {
    width: 100% !important;
    height: 100% !important;
    padding: 0 20px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: var(--wp--preset--color--texto) !important;
    color: var(--wp--preset--color--alternativo) !important;
    box-shadow: none !important;
    font-family: var(--wp--preset--font-family--greycliff-cf) !important;
    font-size: 14px !important;
    font-style: normal !important;
    font-weight: 700 !important;
    line-height: 1.05 !important;
    cursor: pointer;
    transition: transform 0.25s ease, filter 0.25s ease;
    white-space: nowrap !important;
    background-image: none !important;
}

#gform_submit_button_1 {
    width: 131px !important;
    height: 100% !important;
}

.footer__newsletter-form input[type="submit"]:hover,
.footer__newsletter-form button[type="submit"]:hover,
.footer__fallback-button:hover {
    filter: brightness(1.08);
}

.footer__newsletter-form input[type="email"]:focus-visible,
.footer__newsletter-form input[type="text"]:focus-visible,
.footer__newsletter-form input[type="submit"]:focus-visible,
.footer__newsletter-form button[type="submit"]:focus-visible,
.footer__fallback-input:focus-visible,
.footer__fallback-button:focus-visible,
.footer__menu-link:focus-visible,
.footer__logo-link:focus-visible,
.footer__social-link:focus-visible,
.footer__alma-logo:focus-visible,
.footer__onlines:focus-visible {
    outline: 2px solid var(--wp--preset--color--alternativo);
    outline-offset: 3px;
}

.footer__menu-area {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    justify-self: end;
    align-self: end;
    padding-top: 0;
}

.footer__menu {
    display: grid;
    grid-template-columns: repeat(4, minmax(185px, auto));
    column-gap: 40px;
    row-gap: 12px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer__menu-item {
    margin: 0;
}

.footer__menu-link,
.footer__menu-text {
    color: var(--wp--preset--color--texto);
    font-family: var(--wp--preset--font-family--greycliff-cf);
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.35;
    text-decoration: none;
    transition: opacity 0.25s ease, color 0.25s ease;
}

.footer__menu:hover .footer__menu-link,
.footer__menu:hover .footer__menu-text {
    opacity: 0.5;
}

.footer__menu:hover .footer__menu-item:hover .footer__menu-link,
.footer__menu:hover .footer__menu-item:hover .footer__menu-text,
.footer__menu:hover .footer__menu-item:focus-within .footer__menu-link,
.footer__menu:hover .footer__menu-item:focus-within .footer__menu-text {
    opacity: 1;
}

.footer__menu-link:hover,
.footer__menu-link:focus-visible {
    opacity: 0.82;
}

.footer__socials-area {
    display: flex;
    justify-content: flex-end;
    align-self: end;
}

.footer__socials {
    display: flex;
    align-items: center;
    gap: .5em;
    padding: 0;
    margin: 24px 0 0;
    color: var(--wp--preset--color--texto);
    font-size: var(--footer-social-font-size-desktop, 21px);
    line-height: 1;
    list-style: none;
}

.footer__social-item {
    display: flex;
    margin: 0;
}

.footer__social-item.footer__social-item--instagram {
    margin-bottom: -3px;
}

.footer__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 3px;
    color: currentColor;
    line-height: 1;
    text-decoration: none;
    transition: all 0.4s ease-in-out;
}

.footer__social-item:first-child .footer__social-link {
    padding-left: 0;
}

.footer__social-item:last-child .footer__social-link {
    padding-right: 0;
}

.footer__social-link:hover,
.footer__social-link:focus-visible {
    color: currentColor;
    transform: translateY(-2px);
}

.footer__social-icon,
.footer__social-icon svg {
    display: block;
}

.footer__social-icon svg {
    width: auto;
    height: 1em;
}

.footer__bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-top: 53px;
}

.footer__legal,
.footer__onlines-prefix,
.footer__onlines {
    font-size: 12px;
    line-height: 1.25;
}

.footer__onlines {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    color: var(--wp--preset--color--secundario);
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer__onlines:hover,
.footer__onlines:focus-visible {
    color: var(--wp--preset--color--custom-azul);
}

.footer__onlines-logo {
    display: inline-flex;
    align-items: baseline;
    line-height: 1.25;
    overflow: visible;
}

.footer__onlines-logo svg,
.footer__onlines-logo img {
    display: block;
    width: auto;
    height: 13px;
    overflow: visible;
}

.bambi,
.footer__alma-logo img {
    display: block;
}

.footer__alma-logo img {
    width: 58px;
    height: 17px;
}

@media (max-width: 1535px) {
    .footer__content {
        gap: 50px;
    }
    .footer__menu {
        gap: 30px;
        grid-template-columns: repeat(4, minmax(185px, auto));
    }
}

@media (max-width: 1400px) {
    .footer__content {
        gap: 50px;
    }
    .footer__menu {
        gap: 25px;
        grid-template-columns: repeat(4, minmax(140px, auto));
    }
}

@media (max-width: 1279px) {
    .footer__content {
        gap: 50px;
    }
    .footer__menu {
        gap: 25px;
        grid-template-columns: repeat(4, minmax(120px, auto));
    }
}

@media (max-width: 1023px) {
    .wp-block-onlines-footer.footer__wrapper {
        padding: 50px 0 26px;
    }

    .footer__container {
        --input-height: 50px;
        width: min(var(--wp--style--global--content-size), calc(100% - 40px));
    }

    .footer__brand {
        margin-bottom: 28px;
    }

    .footer__logo-link,
    .footer__logo-placeholder {
        height: var(--footer-logo-height-mobile, 32px);
        min-height: var(--footer-logo-height-mobile, 32px);
    }

    .footer__logo-placeholder {
        font-size: 24px;
    }

    .footer__content {
        display: block;
    }

    .footer__newsletter {
        max-width: none;
    }

    .footer__newsletter-description {
        max-width: none;
        text-wrap: balance;
    }

    .footer__newsletter-form form,
    .footer__fallback-form,
    .footer__newsletter-form .gform_wrapper form {
        position: static !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        max-width: none !important;
    }

    .footer__newsletter-form .gform_footer,
    .footer__newsletter-form .gform-footer,
    .footer__newsletter-form .gform_footer.top_label,
    .footer__newsletter-form .gform-footer.top_label,
    .footer__newsletter-form .gform_wrapper .gform_footer {
        position: static !important;
        flex: 0 0 auto !important;
        width: 100% !important;
        max-width: none !important;
        min-height: 0 !important;
        align-self: stretch !important;
    }

    .footer__newsletter-form .gform_wrapper {
        max-width: none !important;
    }

    .footer__newsletter-form input[type="email"],
    .footer__newsletter-form input[type="text"],
    .footer__newsletter-form .gfield input:not([type="submit"]):not([type="button"]):not([type="hidden"]),
    .footer__newsletter-form .ginput_container input:not([type="submit"]):not([type="button"]):not([type="hidden"]),
    .footer__fallback-input {
        padding-right: 18px !important;
    }

    .footer__newsletter-form input[type="submit"],
    .footer__newsletter-form button[type="submit"],
    .footer__newsletter-form #gform_submit_button_1,
    .footer__fallback-button {
        display: block !important;
        width: 100% !important;
        max-width: none !important;
        height: var(--input-height) !important;
        border-radius: 999px !important;
        align-self: stretch;
    }

    .footer__menu-area {
        display: none;
    }

    .footer__socials-area {
        justify-content: center;
        margin-top: 24px;
    }

    .footer__socials {
        margin-top: 0;
        font-size: var(--footer-social-font-size-mobile, 21px);
    }

    .footer__bottom {
        align-items: center;
        flex-direction: column;
        margin-top: 30px;
        gap: 15px;
        text-align: center;
    }

    .footer__legal {
        width: 100%;
        text-align: center;
    }

    .footer__onlines {
        align-self: center;
        justify-content: center;
    }

    .wp-block-onlines-footer.footer__wrapper.footer--compact {
        padding: 40px 1rem;
    }

    .footer--compact .footer__container {
        width: 100%;
    }

    .footer--compact .footer__brand {
        margin-bottom: 0;
    }

    .footer--compact .footer__logo-link {
        width: 145px;
        height: 60px;
        min-height: 60px;
    }

    .footer--compact .footer__socials-area {
        margin-top: 0;
    }

    .footer--compact .footer__bottom {
        margin-top: 22px;
        gap: 0;
    }

    .footer--compact .footer__credits {
        flex-wrap: nowrap;
        gap: 6px;
    }
}

.editor-styles-wrapper .footer__menu-link,
.editor-styles-wrapper .footer__onlines,
.editor-styles-wrapper .footer__social-link  {
    pointer-events: none !important;
}
