/*
 * Huuguu v81.31.2 — Footer Control Binding Real
 * Footer builder controls are bound directly to variables printed on .site-footer.
 * This file is the final footer visual layer and intentionally wins legacy footer rules.
 */

.site-footer {
    background: var(--hgg-footer-bg, #0f1730) !important;
    color: var(--hgg-footer-text, #ffffff) !important;
}

.site-footer .huuguu-footer-container,
.site-footer .site-footer__row,
.site-footer .site-footer__column,
.site-footer .widget,
.site-footer .widget_block,
.site-footer .site-footer__text,
.site-footer .site-info {
    color: var(--hgg-footer-text, #ffffff) !important;
}

.site-footer p,
.site-footer li,
.site-footer span,
.site-footer small,
.site-footer .textwidget,
.site-footer .wp-block-group,
.site-footer .wp-block-group p {
    color: var(--hgg-footer-text, #ffffff) !important;
}

.site-footer .widget-title,
.site-footer .wp-block-heading,
.site-footer .site-footer__title,
.site-footer h1,
.site-footer h2,
.site-footer h3,
.site-footer h4,
.site-footer h5,
.site-footer h6,
.site-footer .wp-block-group h1,
.site-footer .wp-block-group h2,
.site-footer .wp-block-group h3,
.site-footer .wp-block-group h4,
.site-footer .wp-block-group h5,
.site-footer .wp-block-group h6 {
    color: var(--hgg-footer-heading, var(--hgg-footer-text, #ffffff)) !important;
}

.site-footer a,
.site-footer .widget a,
.site-footer .footer-navigation a,
.site-footer .footer-navigation--slot a,
.site-footer .widget_nav_menu a,
.site-footer .wp-block-latest-posts a,
.site-footer .wp-block-latest-posts__post-title,
.site-footer .huu-pro-menu__list a {
    color: var(--hgg-footer-link, var(--hgg-footer-text, #ffffff)) !important;
}

.site-footer a:hover,
.site-footer a:focus,
.site-footer .widget a:hover,
.site-footer .widget a:focus,
.site-footer .footer-navigation a:hover,
.site-footer .footer-navigation a:focus,
.site-footer .footer-navigation--slot a:hover,
.site-footer .footer-navigation--slot a:focus,
.site-footer .widget_nav_menu a:hover,
.site-footer .widget_nav_menu a:focus,
.site-footer .wp-block-latest-posts a:hover,
.site-footer .wp-block-latest-posts a:focus,
.site-footer .wp-block-latest-posts__post-title:hover,
.site-footer .wp-block-latest-posts__post-title:focus,
.site-footer .huu-pro-menu__list a:hover,
.site-footer .huu-pro-menu__list a:focus {
    color: var(--hgg-footer-link-hover, var(--hgg-footer-link, #ffffff)) !important;
}

.site-footer .current-menu-item > a,
.site-footer .current_page_item > a,
.site-footer .current_page_parent > a,
.site-footer .current-menu-ancestor > a,
.site-footer .current_page_ancestor > a,
.site-footer .footer-navigation .current-menu-item > a,
.site-footer .footer-navigation .current_page_item > a,
.site-footer .footer-navigation--slot .current-menu-item > a,
.site-footer .footer-navigation--slot .current_page_item > a,
.site-footer .widget_nav_menu .current-menu-item > a,
.site-footer .widget_nav_menu .current_page_item > a,
.site-footer .huu-pro-menu__list .current-menu-item > a,
.site-footer .huu-pro-menu__list .current_page_item > a {
    color: var(--hgg-footer-link-active, var(--hgg-footer-link-hover, var(--hgg-footer-link, #ffffff))) !important;
}

.site-footer .site-footer__row {
    gap: var(--hgg-footer-row-gap, 24px);
    border-bottom: var(--hgg-footer-divider-width, 0) solid var(--hgg-footer-divider-color, rgba(255, 255, 255, 0.14)) !important;
}

.site-footer .site-footer__row:last-child {
    border-bottom: 0 !important;
}

.site-footer hr,
.site-footer .wp-block-separator,
.site-footer .footer-divider,
.site-footer .site-footer__divider {
    border-color: var(--hgg-footer-divider-color, rgba(255, 255, 255, 0.14)) !important;
    background-color: var(--hgg-footer-divider-color, rgba(255, 255, 255, 0.14)) !important;
}

/* Visual presets: intentionally visible differences. Colors remain controlled by color controls. */
.site-footer--classic .site-footer__row {
    gap: var(--hgg-footer-row-gap, 24px);
}

.site-footer--classic .widget-title,
.site-footer--classic .wp-block-heading,
.site-footer--classic .site-footer__title {
    margin-bottom: 0.85rem;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0;
}

.site-footer--premium .site-footer__row {
    gap: max(var(--hgg-footer-row-gap, 24px), 32px);
}

.site-footer--premium .widget-title,
.site-footer--premium .wp-block-heading,
.site-footer--premium .site-footer__title {
    margin-bottom: 1rem;
    font-size: 1.08rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.site-footer--premium .site-footer__column {
    position: relative;
}

.site-footer--premium .site-footer__column::before {
    content: "";
    display: block;
    width: 34px;
    height: 3px;
    margin-bottom: 12px;
    border-radius: 999px;
    background: var(--hgg-footer-heading, var(--hgg-footer-link-active, currentColor));
    opacity: 0.75;
}

.site-footer--minimal {
    box-shadow: none !important;
}

.site-footer--minimal .site-footer__row {
    gap: max(calc(var(--hgg-footer-row-gap, 24px) * 0.7), 14px);
    border-bottom-width: 0 !important;
}

.site-footer--minimal .widget-title,
.site-footer--minimal .wp-block-heading,
.site-footer--minimal .site-footer__title {
    margin-bottom: 0.65rem;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0;
}

.site-footer--minimal .site-info,
.site-footer--minimal .site-footer__text,
.site-footer--minimal .widget {
    opacity: 0.88;
}

/* v81.31.3 — Footer divider color real binding.
   The footer divider color control must affect every visible divider in the footer,
   including the copyright separator (.site-info), not only optional row dividers. */
.site-footer .site-info {
    border-top-color: var(--hgg-footer-divider-color, rgba(255,255,255,.14)) !important;
}
.site-footer .site-footer__row,
.site-footer .site-footer__row + .site-footer__row,
.site-footer .site-info,
.site-footer .wp-block-separator,
.site-footer hr,
.site-footer .footer-divider,
.site-footer .site-footer__divider {
    border-color: var(--hgg-footer-divider-color, rgba(255,255,255,.14)) !important;
}
.site-footer .wp-block-separator,
.site-footer .footer-divider,
.site-footer .site-footer__divider {
    background-color: var(--hgg-footer-divider-color, rgba(255,255,255,.14)) !important;
}

/* v81.34.9 Footer Title Marker Scope Fix
 * The decorative line above footer columns was being applied at column level,
 * which made it appear in widget types where it does not belong (horizontal menu,
 * social links, payment icons, legal row and newsletter blocks). Disable the
 * global premium column marker so each widget can own its own visual rhythm.
 */
.site-footer--premium .site-footer__column::before {
    content: none !important;
    display: none !important;
}

.site-footer--premium .huu-pro-social-links::before,
.site-footer--premium .huu-pro-payment-icons::before,
.site-footer--premium .huu-pro-menu--horizontal::before,
.site-footer--premium .huu-pro-newsletter::before,
.site-footer--premium .site-footer__legal::before {
    content: none !important;
    display: none !important;
}
