.article-details-page {
    background: #fff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.article-header-new {
    background: #fcfcfc;
    border-bottom: 1px solid #eee;
    padding: 80px 0;
}

.header-grid-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.header-content-side {
    text-align: right;
}

.article-main-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 25px;
    color: #000;
}

.article-meta-badge {
    display: inline-block;
    background: var(--color-primary);
    color: #fff;
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.article-meta-bottom {
    font-size: 1.1rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 15px;
}

.article-meta-bottom .separator {
    color: #ddd;
}

.header-image-side {
    display: flex;
    justify-content: center;
}

.article-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.article-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.article-image-wrapper:hover img {
    transform: scale(1.05);
}

.article-body-container {
    padding: 60px 0;
}

.article-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 60px;
}

.article-toc {
    background: #f8f9fa;
    border-right: 5px solid var(--color-primary);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.toc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    cursor: pointer;
}

.toc-title-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.toc-header i.fa-list-ul {
    color: var(--color-primary);
    font-size: 1.3rem;
}

.toc-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 800;
}

.toc-toggle-btn {
    background: none;
    border: none;
    color: #999;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.3s ease;
    padding: 5px;
}

.article-toc.collapsed .toc-toggle-btn {
    transform: rotate(180deg);
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
    max-height: 1000px;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1), margin 0.3s ease, opacity 0.3s ease;
    opacity: 1;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.article-toc.collapsed .toc-list {
    max-height: 0;
    margin-top: 0;
    opacity: 0;
    padding-top: 0;
    border-top-color: transparent;
}

.toc-item {
    margin-bottom: 12px;
}

.toc-item a {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    text-decoration: none;
    color: #444;
    font-weight: 600;
    transition: 0.3s;
}

.toc-item a:hover {
    color: var(--color-primary);
    transform: translateX(-5px);
}

.toc-bullet {
    width: 8px;
    height: 8px;
    background: #ddd;
    border-radius: 2px;
    margin-top: 8px;
    transition: 0.3s;
}

.toc-item a:hover .toc-bullet {
    background: var(--color-primary);
}

.toc-h3 {
    margin-right: 25px;
}

.toc-h3 a {
    font-weight: 500;
    font-size: 0.95rem;
}

.article-rich-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #333;
}

.article-rich-text h2,
.article-rich-text h3 {
    color: #000;
    font-weight: 800;
    margin-top: 50px;
    margin-bottom: 20px;
    position: relative;
    scroll-margin-top: 100px;
}

.article-rich-text h2 {
    font-size: 2rem;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.article-rich-text h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 80px;
    height: 2px;
    background: var(--color-primary);
}

.article-rich-text p {
    margin-bottom: 25px;
}

.article-rich-text img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    margin: 40px 0;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.article-faq-section {
    margin: 60px 0;
    padding: 40px;
    background: #fdfdfd;
    border-radius: 20px;
    border: 1px solid #f0f0f0;
}

.article-faq-header {
    margin-bottom: 30px;
}

.article-faq-header .section-title {
    font-size: 1.8rem;
    font-weight: 800;
    text-align: right;
    margin-bottom: 10px;
}

.faq-container {
    width: 100%;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}


.sidebar-widget {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
    border: 1px solid #f0f0f0;
    position: sticky;
    top: 100px;
}

.contact-widget {
    background: #111;
    color: #fff;
    border: none;
}

.sidebar-widget h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: inherit;
}

.btn-sidebar-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--color-primary);
    color: #fff;
    padding: 15px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
    margin-top: 20px;
}

.btn-sidebar-whatsapp:hover {
    background: #fff;
    color: var(--color-primary);
}

.why-list {
    list-style: none;
    padding: 0;
}

.why-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-weight: 600;
}

.why-list i {
    color: var(--color-primary);
}

.article-footer {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.share-box {
    display: flex;
    align-items: center;
    gap: 20px;
}

.share-box h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
}

.share-links {
    display: flex;
    gap: 15px;
}

.share-item {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
    font-size: 1.2rem;
}

.share-item.wa {
    background: #25d366;
}

.share-item.fb {
    background: #1877f2;
}

.share-item:hover {
    transform: translateY(-5px);
    opacity: 0.8;
}

@media (max-width: 992px) {
    .header-grid-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .header-content-side {
        text-align: center;
    }

    .article-meta-bottom {
        justify-content: center;
    }

    .article-grid {
        grid-template-columns: 1fr;
    }

    .article-sidebar {
        order: 2;
    }

    .sidebar-widget {
        position: static;
    }
}

@media (max-width: 768px) {
    .article-header-new {
        padding: 50px 0;
    }

    .article-main-title {
        font-size: 2.2rem;
    }

    .article-body-container {
        padding: 40px 15px;
    }

}