#custom-header[header-version="3"] {
    font-family: 'Inter', sans-serif;
    width: 100%;
    display: flex;
    flex-direction: column;

    p {
        margin: unset;
        padding: unset;
    }

    .wrapper {

        .sub-header {
            background-color: var(--bch-logo-color);

            .content {
                margin: 0 200px;
                display: flex;
                flex-direction: row;
                align-items: center;
                justify-content: space-between;
                gap: 1rem;

                .breaking-news {
                    display: flex;
                    align-items: center;
                    gap: 12px;
                    flex: 1;

                    p.noutati {
                        padding: 6px 16px;
                        background-color: white;
                        color: var(--bch-logo-color);
                        font-size: 13px;
                        margin: 0;
                        white-space: nowrap;
                    }

                    #breaking-news-ticker {
                        position: relative;
                        overflow: hidden;
                        min-width: 300px;
                        height: 24px;
                        flex: 1;

                        .ticker-item {
                            position: absolute;
                            top: 0;
                            left: 0;
                            width: 100%;
                            opacity: 0;
                            transform: translateY(20px);
                            transition: opacity 0.6s ease, transform 0.6s ease;
                            pointer-events: none;

                            &.active {
                                opacity: 1;
                                transform: translateY(0);
                                pointer-events: all;
                            }

                            a {
                                color: white;
                                text-decoration: none;
                                font-size: 13px;
                                line-height: 1.4;

                                &:hover {
                                    color: white;
                                }

                                .article-title {
                                    margin: 0;
                                    padding: 0;
                                    display: inline;
                                }
                            }
                        }
                    }

                    .ticker-controls {
                        display: flex;
                        gap: 5px;
                        align-items: center;

                        .ticker-nav {
                            background: none;
                            border: none;
                            cursor: pointer;
                            padding: 0;
                            width: 24px;
                            height: 24px;
                            display: flex;
                            align-items: center;
                            justify-content: center;
                            opacity: 0.6;
                            transition: all 0.3s ease;

                            &:hover {
                                opacity: 1;
                                transform: scale(1.1);

                                svg path {
                                    stroke: var(--bch-logo-color);
                                }
                            }

                            &.ticker-prev svg {
                                transform: scaleX(-1);
                            }

                            svg {
                                width: 32px;
                                height: 32px;
                            }
                        }
                    }
                }

                button {
                    background: none;

                    a {
                        color: white;
                        text-decoration: none;
                        font-size: 14px;
                        font-weight: 500;
                    }
                }
            }
        }

        .header {
            width: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            border-bottom: 1px solid #e5e5e5;

            .content {
                display: flex;
                flex-direction: row;
                align-items: center;
                justify-content: space-between;
                margin: 0 200px;

                .logo {
                    width: auto;

                    a.logo-link {
                        display: block;
                        width: auto;

                        img {
                            width: 200px;
                            height: auto;
                        }
                    }
                }

                .menu {
                    display: flex;
                    flex-direction: row;

                    ul.custom-header-categories {
                        margin: unset;
                        padding: unset;
                        display: flex;
                        flex-direction: row;
                        gap: 10px;

                        li.menu-item {
                            list-style: none;
                            background-color: transparent;
                            padding: 26px 10px;

                            &:hover {
                                background-color: var(--bch-logo-color);
                            }

                            a {
                                font-family: 'Inter', sans-serif;
                                font-size: 13px;
                                text-transform: uppercase;
                                font-weight: 600;
                                color: black;
                            }
                        }
                    }
                }

                .menu-mobile {
                    display: none;
                }
            }
        }
    }
}

@media only screen and (max-width:48em) {
    #custom-header[header-version="3"] {

        .wrapper {

            .sub-header {

                .content {
                    margin: 0;

                    .breaking-news {
                        overflow: hidden;
                    }

                    button {
                        display: none;
                    }
                }
            }

            .header {

                .content {
                    margin: 0 1rem!important;
                    align-items: center;
                    margin: 0;
                    padding: 1rem 0;
                    justify-content: space-between;

                    .logo {

                        a {
                            width: 65%!important;

                            img {
                                width: 100%!important;
                            }
                        }
                    }

                    .menu {
                        
                        ul.custom-header-categories {
                            display: none!important;
                        }

                        .menu-mobile {
                            display: flex;
                            flex-direction: row;
                            align-items: center;

                            svg path {
                                stroke: var(--bch-logo-color);
                            }
                        }
                    }
                }
            }
        }
    }
}








































.mobile-menu-panel {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    max-width: 90vw;
    height: 100vh;
    height: 100dvh;
    background-color: var(--bch-logo-color);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: -10px 0 30px rgba(0,0,0,0.3);
}

.mobile-menu-panel.open {
    right: 0;
}

.mobile-menu-header {
    padding: 20px;
    display: flex;
    justify-content: flex-end;
}

.mobile-menu-close {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-content {
    flex: 1;
    overflow-y: auto;
    padding: 0 20px 40px;
}

/* Overlay negru */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: rgba(0,0,0,0.6);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    z-index: 9998;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}


@media only screen and (max-width:48em) {
    .mobile-menu-panel {

        .mobile-menu-header {
            display: flex;
            flex-direction: row;
            justify-content: space-between;
            align-items: center;

            .logo-mobile {
                width: 75%;
            }
        }

        .mobile-menu-content {

            ul.mobile-categories {
                list-style: none;
                padding: unset;
                display: flex;
                flex-direction: column;
                gap: 0.765rem;

                li {

                    a {
                        font-size: 1.6rem;
                        color: white;

                    }
                }
            }
        }
    }   
}