/* --- Header --- */
.news-detail-wrapper {
    background-color: #fff;
    color: #333;
}

.detail-header {
    background-color: #f9f9f9;
    padding: 60px 0 40px;
    border-bottom: 1px solid #eee;
    text-align: center;
}

.detail-breadcrumb .breadcrumb {
    justify-content: center;
    background: transparent;
    padding: 0;
    margin-bottom: 20px;
}

.detail-breadcrumb .breadcrumb-item a {
    color: #999;
    text-decoration: none;
    font-size: 13px;
    text-transform: uppercase;
}

.detail-breadcrumb .breadcrumb-item.active {
    color: #d4af37;
    font-weight: 600;
}

.post-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    color: #000;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.post-meta {
    font-size: 14px;
    color: #888;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.meta-item i {
    margin-right: 5px;
    color: #d4af37;
}

/* --- Content --- */
.post-content {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
}

.lead-text {
    font-size: 18px;
    font-weight: 500;
    color: #000;
    margin-bottom: 30px;
    font-style: italic;
    border-left: 4px solid #d4af37;
    padding-left: 20px;
}

.post-featured-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 40px;
}

.post-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: #000;
    margin-top: 40px;
    margin-bottom: 20px;
}

.post-content p {
    margin-bottom: 20px;
}

.post-quote {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    font-size: 20px;
    font-style: italic;
    color: #3e1515; /* Đỏ rượu */
    text-align: center;
    margin: 40px 0;
    position: relative;
}

.post-quote::before {
    content: '"';
    font-size: 60px;
    color: #eac086;
    position: absolute;
    top: -10px;
    left: 20px;
    opacity: 0.3;
}

.content-list {
    margin-bottom: 30px;
    padding-left: 20px;
}

.content-list li {
    margin-bottom: 10px;
    list-style-type: disc;
}

.content-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 20px;
}

.img-caption {
    font-size: 13px;
    color: #999;
    text-align: center;
    margin-top: 10px;
    font-style: italic;
}

/* Footer Post */
.post-footer {
    border-top: 1px solid #eee;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.post-tags span, .post-share span {
    font-weight: 600;
    margin-right: 10px;
    color: #000;
}

.post-tags a {
    color: #666;
    text-decoration: none;
    background: #f0f0f0;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 13px;
    margin-right: 5px;
    transition: all 0.3s;
}

.post-tags a:hover {
    background: #d4af37;
    color: #fff;
}

.share-icon {
    width: 35px;
    height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid #ddd;
    color: #666;
    text-decoration: none;
    margin-left: 5px;
    transition: all 0.3s;
}

.share-icon:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}

.share-icon.facebook:hover { background: #1877f2; border-color: #1877f2; }
.share-icon.twitter:hover { background: #1da1f2; border-color: #1da1f2; }
.share-icon.pinterest:hover { background: #bd081c; border-color: #bd081c; }

/* Related Posts */
.related-heading {
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

.related-card {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.related-img {
    border-radius: 8px;
    overflow: hidden;
    height: 200px;
    display: block;
}

.related-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.related-card:hover .related-img img {
    transform: scale(1.1);
}

.related-body h4 {
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 5px;
}

.related-body h4 a {
    color: #000;
    text-decoration: none;
    transition: color 0.3s;
}

.related-body h4 a:hover {
    color: #d4af37;
}

.related-body .date {
    font-size: 12px;
    color: #999;
}

/* Sidebar Product Card */
.sidebar-product-card {
    text-align: center;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
}

.sidebar-product-card img {
    width: 100%;
    height: 150px;
    object-fit: contain;
    margin-bottom: 15px;
}

.sidebar-product-card h5 {
    font-size: 16px;
    margin-bottom: 5px;
}

.sidebar-product-card .price {
    font-weight: bold;
    color: #3e1515;
    margin-bottom: 15px;
}

.btn-sidebar-buy {
    display: block;
    background: #000;
    color: #fff;
    padding: 10px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 600;
    transition: background 0.3s;
}

.btn-sidebar-buy:hover {
    background: #d4af37;
}

/* Sticky Sidebar */
.sticky-sidebar {
    position: sticky;
    top: 20px;
}

/* Animation */
.animate-detail {
    opacity: 0;
    will-change: transform, opacity;
    transition: all 0.8s ease-out;
}

.detail-visible .animate-detail {
    opacity: 1;
    transform: translate(0, 0);
}   

.from-bottom { transform: translateY(30px); }
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

.post-body-content img {
        max-width: 100%;
        height: auto;
        border-radius: 4px;
        margin: 15px 0;
    }
    .post-body-content ul, .post-body-content ol {
        margin-left: 20px;
        margin-bottom: 15px;
    }
    .post-body-content h2, .post-body-content h3 {
        margin-top: 30px;
        margin-bottom: 15px;
        color: #4a0e0e;
    }

/* Responsive */
@media (max-width: 992px) {
    .news-sidebar {
        margin-top: 50px;
        padding-left: 0;
    }
    
    .post-title { font-size: 28px; }
}