/* Blog Detail Container */
.blog-detail-container {
    padding: 40px 0;
    background: #f8f9fa;
}

/* Breadcrumb */
.breadcrumb {
    background: white;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* Sidebar Widget */
.sidebar-widget {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.widget-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #007bff;
    color: #333;
}

    .widget-title i {
        color: #ff6b6b;
        margin-right: 8px;
    }

/* Most Viewed List */
.most-viewed-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.most-viewed-item {
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

    .most-viewed-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

.item-link {
    display: flex;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
}

    .item-link:hover {
        transform: translateX(5px);
    }

        .item-link:hover .item-title {
            color: #007bff;
        }

.item-image {
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
}

    .item-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.item-content {
    flex: 1;
}

.item-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.item-meta {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: #666;
}

    .item-meta span {
        display: flex;
        align-items: center;
        gap: 4px;
    }

        .item-meta span i {
            font-size: 11px;
        }

/* Article */
.blog-detail-article {
    background: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.article-header {
    margin-bottom: 30px;
}

.article-title {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.3;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    color: #666;
    font-size: 14px;
    padding: 15px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

    .meta-item i {
        color: #007bff;
    }

.article-featured-image {
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
}

    .article-featured-image img {
        width: 100%;
        height: auto;
        display: block;
    }

.article-description {
    font-size: 18px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 25px;
    padding: 20px;
    background: #f8f9fa;
    border-left: 4px solid #007bff;
    border-radius: 4px;
}

.article-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 30px;
}

    .article-content h2,
    .article-content h3,
    .article-content h4 {
        margin-top: 25px;
        margin-bottom: 15px;
        color: #333;
        font-weight: 600;
    }

    .article-content p {
        margin-bottom: 15px;
    }

    .article-content img {
        max-width: 100%;
        height: auto;
        border-radius: 8px;
        margin: 20px 0;
    }

    .article-content ul,
    .article-content ol {
        margin-bottom: 20px;
        padding-left: 30px;
    }

    .article-content li {
        margin-bottom: 10px;
    }

    .article-content blockquote {
        border-left: 4px solid #007bff;
        padding-left: 20px;
        margin: 20px 0;
        font-style: italic;
        color: #555;
    }

/* Tags */
.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 20px 0;
    border-top: 1px solid #eee;
    align-items: center;
}

    .article-tags i {
        color: #007bff;
        font-size: 18px;
    }

.tag-item {
    display: inline-block;
    padding: 6px 12px;
    background: #e9ecef;
    border-radius: 20px;
    font-size: 13px;
    color: #495057;
    transition: all 0.3s;
}

    .tag-item:hover {
        background: #007bff;
        color: white;
    }

/* Share Buttons */
.article-share {
    padding: 25px 0;
    border-top: 1px solid #eee;
}

    .article-share h4 {
        font-size: 16px;
        margin-bottom: 15px;
        color: #333;
    }

.share-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-share {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    color: white;
}

    .btn-share:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        color: white;
    }

.btn-facebook {
    background: #1877f2;
}

.btn-twitter {
    background: #1da1f2;
}

.btn-linkedin {
    background: #0077b5;
}

/* Related Articles */
.related-articles {
    margin-top: 40px;
}

.section-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 25px;
    color: #333;
    padding-bottom: 10px;
    border-bottom: 2px solid #007bff;
}

    .section-title i {
        color: #007bff;
        margin-right: 10px;
    }

.related-article-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s;
    margin-bottom: 20px;
    height: 100%;
}

    .related-article-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    }

.card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.card-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

    .card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s;
    }

.related-article-card:hover .card-image img {
    transform: scale(1.1);
}

.card-content {
    padding: 15px;
}

.card-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.card-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #999;
}

    .card-meta span {
        display: flex;
        align-items: center;
        gap: 4px;
    }

/* Responsive */
@media (max-width: 768px) {
    .article-title {
        font-size: 24px;
    }

    .article-meta {
        flex-direction: column;
        gap: 10px;
    }

    .sidebar-widget {
        margin-top: 30px;
    }

    .share-buttons {
        flex-direction: column;
    }

    .btn-share {
        width: 100%;
        justify-content: center;
    }
}

/* Thêm vào cuối file */

/* Advertise Widget */
.advertise-widget {
    margin-top: 0px;
}

.advertise-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.advertise-item {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

    .advertise-item:hover {
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        transform: translateY(-2px);
    }

    .advertise-item a {
        display: block;
    }

    .advertise-item img {
        width: 100%;
        height: auto;
        display: block;
        transition: transform 0.3s;
    }

    .advertise-item:hover img {
        transform: scale(1.05);
    }

/* Responsive */
