header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 1s ease-in-out;

    .brand {
        margin-top: -@space-md;

        @media (max-width: 992px) {
            display: block;
            height: 100px;
            margin: @space-md 0;
        }

        @media (max-width: 768px) {
            display: block;
            height: 60px;
            margin: @space-md 0;
        }

        img {
            width: auto;
            height: 100%;
        }
    }

    .service-bar {
        background-color: @primary;
        color: @on-primary;
        border-bottom-left-radius: @radius-default;
        border-bottom-right-radius: @radius-default;
        height: 29px;
        line-height: 29px;
        padding: 0 20px;

        @media (max-width: 992px) {
            display: none;
        }
    }

    nav {
        ul {
            padding: 0 20px;
            margin-top: 50px;
            list-style: none;
            transition: all 1s ease-in-out;

            li {
                a {
                    font-size: 20px;
                    color: #fff;
                    font-weight: 700;
                    text-decoration: none;

                    &:hover {
                        color: @primary;
                        text-decoration: none;
                    }

                    &.active {
                        color: @primary;
                    }
                }
            }
        }

        &.show {
            display: block;
        }
    }

    &.scroll {
        background: rgba(0, 0, 0, 0.7);
        padding-bottom: @space-lg;

        @media (max-width: 992px) {
            padding-bottom: 0;
        }
    }

    @media (max-width: 992px) {
        background: rgba(0, 0, 0, 0.7);
    }
}

.top-article {
    .wave-bottom {
        height: 200px;
        margin-top: -33px;
        background-image: url("../css/theme/components/img/wave_header_bottom.png");
        background-repeat: repeat-x;
    }

    & > .articles {
        z-index: 1;
        margin-right: 120px;
        margin-left: 120px;
        display: flex;
        justify-content: space-around;
        align-items: stretch;
        gap: @space-lg;
        margin-top: -80px;
        margin-bottom: -120px;

        article {
            width: 33%;
        }

        @media (max-width: 1200px) {
            flex-direction: column;
            margin-right: @space-xl;
            margin-left: @space-xl;

            article {
                width: 100%;
            }
        }
    }

    *[class^="col"] {
        margin-top: @space-md;
    }
}
