#colophon {
    color: var(--global-palette8);
    --footer-mobile-content-width: min(100%, 18.5rem);
    --footer-mobile-icon-column: 1.1rem;
}

#colophon a,
#colophon p,
#colophon h4,
#colophon li,
#colophon span {
    color: inherit;
}

#colophon a {
    transition: color 0.2s ease;
}

#colophon a:hover,
#colophon a:focus-visible {
    color: var(--global-palette9);
}

#colophon .site-top-footer-wrap {
    border-bottom: 1px solid color-mix(in srgb, var(--global-palette7) 16%, transparent);
}

#colophon .site-middle-footer-wrap {
    border-bottom: 1px solid color-mix(in srgb, var(--global-palette7) 12%, transparent);
}

#colophon .site-top-footer-inner-wrap,
#colophon .site-middle-footer-inner-wrap,
#colophon .site-bottom-footer-inner-wrap {
    row-gap: 1.5rem;
}

#colophon .site-top-footer-inner-wrap {
    column-gap: 1rem;
    padding: 1.1rem 0;
}

#colophon .site-top-footer-inner-wrap .footer-widget-area,
#colophon .site-top-footer-inner-wrap .footer-widget-area-inner,
#colophon .site-top-footer-inner-wrap .widget.widget_block {
    height: 100%;
}

#colophon .site-top-footer-inner-wrap .footer-widget-area-inner {
    padding: 0.4rem 0;
}

#colophon .site-top-footer-inner-wrap .kb-row-layout-wrap > .kt-row-column-wrap {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    column-gap: 0.75rem;
    row-gap: 0.5rem;
    padding-top: 0;
    padding-bottom: 0;
}

#colophon .site-top-footer-inner-wrap .wp-block-kadence-icon {
    justify-content: flex-start;
}

#colophon .site-top-footer-inner-wrap .kb-svg-icon-wrap {
    color: var(--global-palette9);
}

#colophon .site-top-footer-inner-wrap .kb-svg-icon-wrap svg {
    width: 1.1rem;
    height: 1.1rem;
    stroke-width: 2.6;
}

#colophon .site-top-footer-inner-wrap .wp-block-kadence-advancedheading {
    margin: 0;
    color: var(--global-palette9);
    font-size: 0.96rem;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0.02em;
    text-transform: none;
}

#colophon .site-middle-footer-wrap {
    padding: 20px 0;
}

#colophon .site-middle-footer-inner-wrap {
    align-items: stretch;
    padding: 20px 0;
    column-gap: clamp(1.5rem, 3vw, 3rem);
}

#colophon .site-middle-footer-inner-wrap .footer-widget-area-inner {
    height: 100%;
}

#colophon .site-footer-middle-section-1 .footer-widget-area-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.85rem;
    min-height: 100%;
}

#colophon .site-footer-middle-section-1 .footer-widget-area-inner > .widget {
    width: 100%;
    margin-bottom: 0;
}

#colophon .site-footer-middle-section-1 .wp-block-kadence-advancedheading,
#colophon .site-footer-middle-section-1 p,
#colophon .site-footer-middle-section-1 .wp-block-social-links {
    margin: 0;
    text-align: left;
}

#colophon .site-footer-middle-section-1 .wp-block-social-links {
    justify-content: flex-start;
    padding: 0;
}

#colophon .site-footer-middle-section-1 .wp-block-kadence-image,
#colophon .site-footer-middle-section-1 figure {
    margin: 0;
    text-align: left;
}

#colophon .site-footer-middle-section-1 img {
    display: block;
    margin: 0;
}

#colophon .site-footer-middle-section-2 .footer-widget-area-inner {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

#colophon #footer-navigation .footer-menu-container {
    width: 100%;
}

#colophon #footer-navigation .menu {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: left;
}

#colophon #footer-navigation .menu > li {
    margin: 0;
}

#colophon #footer-navigation a {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    color: var(--global-palette8);
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.02em;
    text-decoration: none;
    text-align: left;
    transition: color 0.2s ease, transform 0.2s ease;
}

#colophon #footer-navigation a:hover,
#colophon #footer-navigation a:focus-visible {
    color: var(--global-palette9);
    transform: translateY(-1px);
}

#colophon .site-footer-middle-section-3 .footer-widget-area-inner {
    display: grid;
    align-content: start;
    gap: 0.2rem;
}

#colophon .site-footer-middle-section-3 .widget {
    margin-bottom: 0;
}

#colophon .site-footer-middle-section-3 h4 {
    margin: 0;
    color: var(--global-palette9);
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

#colophon .site-footer-middle-section-3 .widget_text p {
    margin: 0;
    padding: 0;
    color: var(--global-palette8);
    line-height: 1.7;
}

#colophon .site-footer-middle-section-3 .widget_text p:has(br:only-child) {
    display: none;
}

#colophon .site-bottom-footer-inner-wrap {
    align-items: center;
    column-gap: 1.5rem;
    padding: 1.2rem 0;
}

#colophon .footer-html p {
    margin: 0;
    color: var(--global-palette9);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.02em;
}

#colophon .site-footer-bottom-section-2 .wp-block-columns {
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    margin-bottom: 0;
}

#colophon .site-footer-bottom-section-2 figure {
    margin: 0;
}

#colophon .site-footer-bottom-section-2 img {
    display: block;
    width: auto;
    max-height: 52px;
}

@media screen and (max-width: 1024px) {
    #colophon .site-top-footer-inner-wrap,
    #colophon .site-middle-footer-inner-wrap,
    #colophon .site-bottom-footer-inner-wrap {
        text-align: center;
    }

    #colophon .site-top-footer-inner-wrap .footer-widget-area-inner,
    #colophon .site-middle-footer-inner-wrap .footer-widget-area-inner {
        justify-items: center;
    }

    #colophon .site-top-footer-inner-wrap .kb-row-layout-wrap > .kt-row-column-wrap {
        justify-content: center;
    }

    #colophon .site-footer-middle-section-2 .footer-widget-area-inner {
        justify-content: center;
    }

    #colophon #footer-navigation .menu {
        align-items: center;
        text-align: center;
    }

    #colophon #footer-navigation a {
        justify-content: center;
        text-align: center;
    }

    #colophon .site-footer-middle-section-3 .widget_text p {
        text-align: center;
    }

    #colophon .site-bottom-footer-inner-wrap,
    #colophon .site-footer-bottom-section-2 .wp-block-columns {
        justify-content: center;
    }
}

@media screen and (max-width: 767px) {
    #colophon .site-container {
        padding-right: 20px;
        padding-left: 20px;
    }

    #colophon .site-top-footer-inner-wrap .site-footer-section,
    #colophon .site-middle-footer-inner-wrap .site-footer-section,
    #colophon .site-bottom-footer-inner-wrap .site-footer-section {
        display: flex;
        justify-content: center;
    }

    #colophon .site-top-footer-inner-wrap .footer-widget-area,
    #colophon .site-middle-footer-inner-wrap .footer-widget-area,
    #colophon .site-bottom-footer-inner-wrap .footer-widget-area {
        width: var(--footer-mobile-content-width);
        max-width: 100%;
        margin: 0 auto;
    }

    #colophon .site-middle-footer-inner-wrap .site-footer-section,
    #colophon .site-bottom-footer-inner-wrap .site-footer-section {
        width: 100%;
    }

    #colophon .site-top-footer-inner-wrap .footer-widget-area-inner,
    #colophon .site-middle-footer-inner-wrap .footer-widget-area-inner,
    #colophon .site-bottom-footer-inner-wrap .footer-widget-area-inner {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        direction: ltr;
        text-align: left;
        justify-items: start;
    }

    #colophon .site-top-footer-inner-wrap .footer-widget-area-inner {
        padding: 0.3rem 0;
    }

    #colophon .site-top-footer-inner-wrap .kb-row-layout-wrap {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    #colophon .site-top-footer-inner-wrap .kb-row-layout-wrap > .kt-row-column-wrap {
        display: grid;
        grid-template-columns: var(--footer-mobile-icon-column) minmax(0, 1fr);
        justify-content: center;
        justify-items: start;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        column-gap: 0.65rem;
    }

    #colophon .site-top-footer-inner-wrap .kb-row-layout-wrap > .kt-row-column-wrap > .wp-block-kadence-column {
        min-width: 0;
    }

    #colophon .site-top-footer-inner-wrap .wp-block-kadence-icon {
        justify-content: center;
    }

    #colophon .site-top-footer-inner-wrap .wp-block-kadence-advancedheading {
        direction: ltr;
        text-align: left;
    }

    #colophon .site-footer-middle-section-1 .footer-widget-area-inner,
    #colophon .site-footer-middle-section-2 .footer-widget-area-inner {
        justify-content: flex-start;
    }

    #colophon .site-footer-middle-section-1 .wp-block-kadence-image,
    #colophon .site-footer-middle-section-1 figure,
    #colophon .site-footer-middle-section-1 img {
        margin-left: 0;
        margin-right: 0;
        text-align: left;
    }

    #colophon #footer-navigation .menu {
        align-items: flex-start;
        text-align: left;
    }

    #colophon #footer-navigation a,
    #colophon .site-footer-middle-section-3 h4,
    #colophon .site-footer-middle-section-3 .widget_text p,
    #colophon .footer-html p {
        text-align: left;
    }

    #colophon #footer-navigation a,
    #colophon .site-footer-bottom-section-2 .wp-block-columns {
        justify-content: flex-start;
    }

    #colophon .site-footer-bottom-section-2 .wp-block-columns {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        flex-wrap: wrap;
        gap: 0.85rem;
    }

    #colophon .site-footer-bottom-section-2 .wp-block-column {
        flex: 0 0 auto;
    }

    #colophon .site-footer-bottom-section-2 .wp-block-column,
    #colophon .site-footer-bottom-section-2 figure {
        margin-left: 0;
        margin-right: 0;
    }

    #colophon .site-bottom-footer-inner-wrap {
        padding: 1rem 0;
    }
}

.footer-html {
    margin: 0em 0;
}
.footer-widget-area-inner a {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    color: var(--global-palette3) !important;
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.02em;
    text-decoration: none;
    text-align: left;
    transition: color 0.2s ease, transform 0.2s ease;
    text-transform: capitalize !important;
    margin-bottom: 15px !important; 
}
