.page-header-detail {
    background: linear-gradient(135deg, rgba(211, 47, 47, 0.95) 0%, rgba(183, 28, 28, 0.95) 100%);
    color: white;
    padding: 3rem 2rem 2rem;
    text-align: center;
}

.page-header-detail h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}
.article-detail {
    padding: 4rem 0;
    background-color: white;
}

.article-wrapper {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 3rem;
}
.article-main {
    background-color: white;
}

.article-header {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--light-bg);
}

.article-header h1 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.article-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-size: 0.95rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.meta-item i {
    color: var(--primary-color);
}
.article-share {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.share-label {
    font-weight: 600;
    color: var(--text-color);
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    transition: all 0.3s;
    font-size: 1rem;
}

.share-btn.facebook {
    background-color: #1877f2;
}

.share-btn.facebook:hover {
    background-color: #0a66c2;
    transform: translateY(-3px);
}

.share-btn.twitter {
    background-color: #1da1f2;
}

.share-btn.twitter:hover {
    background-color: #1a91da;
    transform: translateY(-3px);
}

.share-btn.pinterest {
    background-color: #e60023;
}

.share-btn.pinterest:hover {
    background-color: #c41e3a;
    transform: translateY(-3px);
}

.share-btn.zalo {
    background-color: #0084ff;
}

.share-btn.zalo:hover {
    background-color: #0066cc;
    transform: translateY(-3px);
}
.article-image {
    margin-bottom: 2rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.article-image img {
    width: 100%;
    height: auto;
    display: block;
    background-color: #e0e0e0;
}
.article-content {
    line-height: 1.8;
    color: var(--text-light);
}

.article-content p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.article-content h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 2rem 0 1rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--light-bg);
}

.article-content h2:first-of-type {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
}

.article-content ul {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.article-content ul li {
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.article-content ol li {
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.article-content a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.article-content a:hover {
    text-decoration: underline;
}
.article-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--light-bg);
}

.article-tags {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.tag {
    display: inline-block;
    background-color: var(--light-bg);
    color: var(--primary-color);
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s;
}

.tag:hover {
    background-color: var(--primary-color);
    color: white;
}

.article-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background-color: var(--light-bg);
    color: var(--primary-color);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.nav-btn:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.nav-btn.back {
    grid-column: 2;
}
.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-box {
    background-color: var(--light-bg);
    padding: 1.5rem;
    border-radius: 12px;
}

.sidebar-box h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid white;
}
.search-form {
    display: flex;
    gap: 0;
}

.search-form input {
    flex: 1;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 6px 0 0 6px;
    font-size: 0.95rem;
}

.search-form button {
    padding: 0.8rem 1.2rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0 6px 6px 0;
    cursor: pointer;
    transition: all 0.3s;
}

.search-form button:hover {
    background-color: var(--secondary-color);
}
.category-list {
    list-style: none;
}

.category-list li {
    margin-bottom: 0.8rem;
}

.category-list a {
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s;
}

.category-list a:hover {
    color: var(--primary-color);
    padding-left: 0.5rem;
}
.recent-posts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.recent-post {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 1rem;
    padding: 0.8rem;
    background-color: white;
    border-radius: 6px;
    transition: all 0.3s;
}

.recent-post:hover {
    background-color: var(--light-bg);
}

.recent-post img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}

.recent-info h4 {
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.recent-info h4 a {
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s;
}

.recent-info h4 a:hover {
    color: var(--primary-color);
}

.recent-info .date {
    font-size: 0.8rem;
    color: var(--text-light);
}
.contact-box {
    background: linear-gradient(135deg, rgba(211, 47, 47, 0.1) 0%, rgba(255, 152, 0, 0.1) 100%);
    border-left: 4px solid var(--primary-color);
}

.contact-info {
    margin-bottom: 1rem;
}

.contact-info p {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.6;
}

.contact-info strong {
    color: var(--primary-color);
}

.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.contact-info a:hover {
    text-decoration: underline;
}
.related-posts {
    padding: 4rem 0;
    background-color: var(--light-bg);
}

.related-posts h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.related-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.related-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.related-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.related-card:hover .related-image img {
    transform: scale(1.08);
}

.related-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 2;
}

.related-content {
    padding: 1.5rem;
}

.related-content h3 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.related-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
}

.related-date i {
    color: var(--primary-color);
}

.related-excerpt {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.read-more:hover {
    gap: 0.8rem;
}
@media (max-width: 768px) {
    .article-wrapper {
        grid-template-columns: 1fr;
    }

    .article-header h1 {
        font-size: 1.6rem;
    }

    .article-meta {
        flex-direction: column;
        gap: 0.8rem;
    }

    .article-nav {
        grid-template-columns: 1fr;
    }

    .nav-btn.back {
        grid-column: auto;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .page-header-detail {
        padding: 2rem 1rem;
    }

    .page-header-detail h1 {
        font-size: 1.5rem;
    }

    .article-detail {
        padding: 2rem 0;
    }

    .article-header h1 {
        font-size: 1.4rem;
    }

    .article-meta {
        font-size: 0.85rem;
    }

    .article-share {
        flex-wrap: wrap;
    }

    .share-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .article-content h2 {
        font-size: 1.2rem;
    }

    .sidebar-box {
        padding: 1rem;
    }

    .related-image {
        height: 150px;
    }

    .related-content h3 {
        font-size: 1rem;
    }
}