.article-menu {
    position: sticky;
    top: 0;
    z-index: 4000;
    transition: all 0.3s ease;
}

.article-menu:not(.is-sticky) {
    background: transparent;
    box-shadow: none;
}

.article-menu:not(.is-sticky) .menu .navbar li .nav-link,
.article-menu:not(.is-sticky) .menu .cart-icon a,
.article-menu:not(.is-sticky) .menu-items .profile-icon a,
.article-menu:not(.is-sticky) .switch-lan a{
    color: #fff;
    border-color: #fff;
}

.article-menu:not(.is-sticky) .menu .navbar li .nav-link:hover,
.article-menu:not(.is-sticky) .menu .cart-icon a:hover,
.article-menu:not(.is-sticky) .menu-items .profile-icon a:hover,
.article-menu:not(.is-sticky) .switch-lan a:hover{
    color: #C69B7B;
    border-color: #C69B7B;
}

.article-menu:not(.is-sticky) .menu-items svg {
    stroke: #fff;
}

.article-menu.is-sticky {
    background: #ffffffdb;
    backdrop-filter: blur(5px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.breadcrumb {
    margin-bottom: 0;
    justify-content: center;
}

.breadcrumb-wrapper li {
    padding: 0;
    font-size: 13px;
    color: #fff;
}

.breadcrumb-wrapper a {
    text-decoration: none;
    color: #fff;
    font-weight: 600;
}

.breadcrumb-wrapper li.active {
    font-size: 12px;
    color: #fff;
}

.breadcrumb-item + .breadcrumb-item::before {
    padding: 0 5px;
    font-weight: 500;
}

.article-header {
    background-color: #3A3845;
    padding: 50px 0;
    margin-top: -66px;
    margin-bottom: 120px;
}

.article-header-wrap {
    min-height: 370px;
    position: relative;
}

.article-header h1 {
    font-size: 52px;
    font-weight: bold;
    line-height: 1.8em;
    letter-spacing: 1px;
    color: #FFFFFF;
}

.article-header .article-info span {
    color: #fff;
    font-weight: 300;
    font-size: 13px;
}

.article-header .img-wrapper {
    clip-path: polygon(12% 0, 100% 0, 100% 20%, 100% 88%, 88% 100%, 0 100%, 0% 80%, 0 12%);
    overflow: hidden;
    width: 100%;
    text-align: end;
    position: absolute;
    left: 0;
    top: 90px;
}


.article-header .img-wrapper img {
    object-fit: cover;
    object-position: center;
    max-width: 415px;
    max-height: 403px;
    clip-path: polygon(12% 0, 100% 0, 100% 20%, 100% 88%, 88% 100%, 0 100%, 0% 80%, 0 12%);
}

@media (max-width: 992px) {
    .article-header .img-wrapper {
        top: 340px;
    }

    .article-header .img-wrapper img {
        width: 100%;
        max-width: 100%;
        max-height: 100%;
    }

    .article-header {
        margin-bottom: 340px;
    }
}

@media (min-width: 680px) and (max-width: 992px) {
    .article-header {
        margin-bottom: 680px;
    }
}


/*toc start*/

.toc-sticky-wrapper {
    position: sticky;
    top: 120px;
    backdrop-filter: blur(5px);
    z-index: 4000;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.toc-wrapper {
    /*position: sticky;*/
    /*top: 100px; !* distance from top of viewport *!*/
    background: #3A3845;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    border-radius: 8px;
    position: static; /* reset */
}

.toc-wrapper .toc-head {
    font-size: 19px;
    font-weight: 500;
    border-bottom: 1px solid #d5d5d5;
    padding-bottom: 10px;
    color: #C69B7B;
}

.toc-wrapper .toc-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
    max-height: 180px;
    overflow-y: scroll;
}

.toc-wrapper .toc-item {
    margin-bottom: 0.5rem;
}

.toc-wrapper .toc-link {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
}

.toc-wrapper .toc-h2 {
    color: rgb(33, 37, 41);
    font-weight: 500;
    margin-top: 0.5rem;
}

.toc-wrapper .toc-h3 {
    margin-right: 1rem;
    font-size: 0.95rem;
    color: #555;
}

.toc-wrapper .toc-link:hover {
    color: #C69B7B;
}

#scroll-progress {
    position: absolute;
    top: 0;
    right: 0;
    height: 4px;
    width: 0%;
    background-color: #C69B7B;
    z-index: 9999;
    transition: width 0.1s ease-out;
}

.article-content h2 {
    color: rgb(58, 56, 69);
    font-size: 28px;
    font-weight: 700;
}

.article-content .article-body p {
    color: #3A3845;
    font-size: 16px;
    line-height: 2em;
}

.article-content .article-body p a {
    color: #C69B7B;
    font-weight: bold;
}

.article-content .img-wrapper {
    text-align: center;
    margin-bottom: 20px;
}

.article-content .img-wrapper img {
    width: 100%;
}