/*********** CUSTOM CSS ***************/

footer.footer--custom.bg-color-secondary .text-color-primary,
footer.footer--custom.bg-color-tertiary .text-color-primary,
footer.footer--custom.bg-color-quaternary .text-color-primary {
    color: #fff !important;
}

.footer--classic.footer-top-border nav#sub-menu ul {
    display: flex;
    list-style: none;
    gap: 20px;
    margin-bottom: 0;
}

.footer--classic.footer-top-border nav#sub-menu ul * {
    margin: 0;
}

.footer--classic.footer-top-border .container-fluid.py-2 .flex-lg-row * {
    margin: 0;
}

@media (max-width: 992px) {
    .header_slider-main.owl-carousel .owl-stage-outer .owl-item {
        padding-top: 70px;
    }

    html.sticky-header-active #header.header-effect-shrink .header-container {
        height: auto !important;
        min-height: 70px;
    }

    html.sticky-header-active #header.header-effect-shrink .header-logo {
        width: auto !important;
        height: auto !important;
        margin: 0.5rem 0;
    }

    html.sticky-header-active #header.header-effect-shrink .header-logo img {
        max-height: 45px;
        width: auto;
        height: auto !important;
        top: 0 !important;
    }

    html.sticky-header-active #header.header-effect-shrink .header-row {
        align-items: center;
    }
}

/* Responsive badges — prevent column overlap */
.row > [class*="col-"] {
    min-width: 0;
}

.row > [class*="col-"] .badge,
.frame h1 .badge,
.frame h2 .badge,
.frame h3 .badge {
    display: inline-block;
    max-width: 100%;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
    line-height: 1.3;
    height: auto;
}
