.huu-pro-widget,
.huu-pro-widget * {
    box-sizing: border-box;
}

.site-footer__column .huu-pro-widget {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.site-footer__column .huu-pro-widget .widget-title,
.site-footer__column .huu-pro-widget .huu-pro-newsletter__title {
    overflow-wrap: anywhere;
}

.huu-pro-menu {
    width: 100%;
}

.huu-pro-menu__list,
.huu-pro-menu__list ul,
.huu-pro-menu__list li {
    list-style: none !important;
    margin: 0;
    padding: 0;
}

.huu-pro-menu__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: var(--huu-pro-menu-gap, 18px);
    width: 100%;
}

.huu-pro-menu[style*="--huu-pro-menu-align:left"] .huu-pro-menu__list {
    justify-content: flex-start;
}

.huu-pro-menu[style*="--huu-pro-menu-align:center"] .huu-pro-menu__list {
    justify-content: center;
}

.huu-pro-menu[style*="--huu-pro-menu-align:right"] .huu-pro-menu__list {
    justify-content: flex-end;
}

.huu-pro-menu__list > li {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin: 0 !important;
    padding: 0 !important;
}

.huu-pro-menu__list > li::before,
.huu-pro-menu__list > li::after,
.huu-pro-menu__list a::before,
.huu-pro-menu__list a::after {
    content: none !important;
    display: none !important;
}

.huu-pro-menu__list > li + li::before {
    content: '' !important;
    display: none !important;
}

.huu-pro-menu.is-has-divider .huu-pro-menu__list > li + li::before {
    display: inline-block !important;
    width: 1px;
    height: .9em;
    margin-right: calc(var(--huu-pro-menu-gap, 18px) / 2);
    background: currentColor;
    opacity: .28;
}

.huu-pro-menu__list > li + li {
    margin-left: 0 !important;
}

.huu-pro-menu__list a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--huu-pro-menu-color, #1f2b46);
    font-size: var(--huu-pro-menu-size, 15px);
    line-height: 1.4;
    text-transform: var(--huu-pro-menu-transform, none);
    text-decoration: none;
    border: 0;
    box-shadow: none;
    white-space: nowrap;
}

.huu-pro-menu__list a:hover,
.huu-pro-menu__list a:focus {
    color: var(--huu-pro-menu-hover, #246de8);
    text-decoration: none;
}

.huu-pro-menu__list .current-menu-item > a,
.huu-pro-menu__list .current_page_item > a,
.huu-pro-menu__list .current-menu-ancestor > a,
.huu-pro-menu__list .current_page_ancestor > a {
    color: var(--huu-pro-menu-active, #111111);
}

@media (max-width: 640px) {
    .huu-pro-menu__list {
        justify-content: center;
        row-gap: 10px;
        column-gap: 14px;
    }

    .huu-pro-menu__list a {
        white-space: normal;
        text-align: center;
    }
}

.huu-pro-contact,
.huu-pro-newsletter {
    width: 100%;
    min-width: 0;
}

.huu-pro-contact {
    width: min(100%, var(--huu-pro-contact-max-width, 360px));
    max-width: var(--huu-pro-contact-max-width, 360px);
    padding-bottom: var(--huu-pro-contact-bottom-spacing, 12px);
}

.huu-pro-contact.align-left {
    margin-left: 0;
    margin-right: auto;
}

.huu-pro-contact.align-center {
    margin-left: auto;
    margin-right: auto;
}

.huu-pro-contact.align-right {
    margin-left: auto;
    margin-right: 0;
}

.huu-pro-contact__media {
    margin-bottom: 14px;
}

.huu-pro-contact__image {
    display: block;
    width: auto;
    max-width: min(100%, var(--huu-pro-contact-image-width, 120px));
    height: auto;
}

.huu-pro-contact__content {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.huu-pro-contact__text,
.huu-pro-contact__row {
    margin: 0;
}

.huu-pro-contact__row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.55;
}

.huu-pro-contact__row a,
.huu-pro-contact__row span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.huu-pro-contact__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    opacity: .92;
}

.huu-pro-contact__icon svg {
    display: block;
    width: 18px;
    height: 18px;
}

.huu-pro-newsletter {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: var(--huu-newsletter-text, #ffffff);
}

.huu-pro-newsletter__title {
    margin: 0 0 6px;
    color: inherit;
}

.huu-pro-newsletter__text {
    margin: 0;
    color: inherit;
    opacity: .92;
}

.huu-pro-newsletter__form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.huu-pro-newsletter__field {
    width: 100%;
}

.huu-pro-newsletter__field input {
    display: block;
    width: 100%;
    min-width: 0;
    height: 46px;
    padding: 0 14px;
    border: 1px solid var(--huu-newsletter-input-border, #cbd5e1);
    border-radius: var(--huu-newsletter-input-radius, 10px);
    background: var(--huu-newsletter-input-bg, #ffffff);
    color: var(--huu-newsletter-input-text, #0f172a);
    box-sizing: border-box;
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.huu-pro-newsletter__field input::placeholder {
    color: color-mix(in srgb, var(--huu-newsletter-input-text, #0f172a) 52%, transparent);
}

.huu-pro-newsletter__field input:focus {
    outline: 0;
    border-color: var(--huu-newsletter-button-bg, #2563eb);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--huu-newsletter-button-bg, #2563eb) 18%, transparent);
}

.huu-pro-newsletter__consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95em;
    line-height: 1.5;
    color: inherit;
}

.huu-pro-newsletter__consent input {
    margin-top: 3px;
    accent-color: var(--huu-newsletter-button-bg, #2563eb);
    flex: 0 0 auto;
}

.huu-pro-newsletter__consent span {
    display: block;
}

.huu-pro-newsletter__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 46px;
    padding: 0 16px;
    border: 0;
    border-radius: var(--huu-newsletter-button-radius, 10px);
    background: var(--huu-newsletter-button-bg, #2563eb);
    color: var(--huu-newsletter-button-text, #ffffff);
    font-weight: 600;
    cursor: pointer;
    transition: transform .18s ease, opacity .18s ease, filter .18s ease;
}

.huu-pro-newsletter__button:hover,
.huu-pro-newsletter__button:focus {
    filter: brightness(1.05);
    transform: translateY(-1px);
}

.huu-pro-newsletter__button:focus {
    outline: 0;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--huu-newsletter-button-bg, #2563eb) 22%, transparent);
}

.huu-pro-newsletter__response {
    margin: 0;
    font-size: .95em;
}

.huu-pro-newsletter__response.is-success {
    color: #b7ffd2;
}

.huu-pro-newsletter__response.is-error {
    color: #ffd2cc;
}

@media (max-width: 640px) {
    .huu-pro-newsletter {
        padding: 0;
    }
}


@media (min-width: 782px) {
    .huu-pro-contact {
        transform: translateY(var(--huu-pro-contact-desktop-top-offset, 0px));
    }
}

@media (max-width: 781px) {
    .huu-pro-contact {
        width: 100%;
        max-width: 100%;
        padding-bottom: max(12px, var(--huu-pro-contact-bottom-spacing, 12px));
        transform: none;
    }
}

.widget.huuguu-widget.huu-pro-widget > .widget-title {
    margin: 0 0 14px;
}
.huu-pro-widget-newsletter .huu-pro-newsletter__title,
.huu-pro-widget-contact-block .huu-pro-contact__title,
.huu-pro-widget-horizontal-menu .huu-pro-menu__title {
    display:none;
}


/* Footer widget section normalization */
.site-footer__column .widget + .widget {
    margin-top: 1.1rem;
}

.site-footer__column .widget_block + .widget_block,
.site-footer__column .widget_block + .huu-pro-widget,
.site-footer__column .huu-pro-widget + .widget_block,
.site-footer__column .huu-pro-widget + .huu-pro-widget {
    margin-top: 1rem;
}

.site-footer__column .widget_block .wp-block-heading,
.site-footer__column .huu-pro-widget > .widget-title,
.site-footer__column .huu-pro-widget .huu-pro-newsletter__title {
    margin: 0 0 1rem;
}

.site-footer__column .widget_block > :last-child,
.site-footer__column .huu-pro-widget > :last-child {
    margin-bottom: 0;
}
