/**
 * Header breakpoints — Bootstrap 4 lg = 992px
 */

@media (max-width: 991.98px) {
    .ec-h-announcement-inner {
        flex-wrap: wrap;
        padding-top: 6px;
        padding-bottom: 6px;
        min-height: auto;
    }

    .ec-h-skip {
        order: 2;
        width: 100%;
        text-align: center;
        padding-top: 4px;
    }

    .ec-h-skip a {
        font-size: 10px;
        padding: 3px 8px;
    }

    .ec-h-carousel {
        order: 1;
        width: 100%;
        flex: none;
    }

    .ec-h-carousel-text {
        font-size: 10px;
        letter-spacing: 0.08em;
        white-space: normal;
        line-height: 1.3;
        max-height: 2.6em;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .ec-h-carousel-btn {
        width: 32px;
        height: 28px;
        font-size: 16px;
    }

    .ec-h-navbar-row {
        min-height: 64px;
    }

    .ec-h-desktop-nav {
        display: none !important;
    }

    .ec-h-toggler {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
    }

    .ec-h-tools {
        gap: 2px;
    }

    .ec-h-tool {
        width: 40px;
        height: 40px;
    }

    .ec-h-tool svg {
        width: 20px;
        height: 20px;
    }
}

@media (min-width: 992px) {
    .ec-h-toggler {
        display: none !important;
    }

    .ec-h-brand-tag {
        font-size: 10px;
    }

    .ec-h-nav-link {
        padding: 12px 8px;
        font-size: 10px;
    }
}

@media (min-width: 1200px) {
    .ec-h-nav-link {
        padding: 12px 12px;
        font-size: 11px;
    }
}

@media (max-width: 380px) {
    .ec-h-brand-text {
        display: none;
    }

    .ec-h-brand img {
        max-height: 36px;
    }
}
