/* assets/css/news-detail.css */

/* News Detail Banner */
.news-detail-banner {
    background: url('https://x-naturegrass.com/wp-content/themes/GlobalZT/assets/images/banner/news-banner.webp') no-repeat scroll center / cover;
    padding: 80px 0;
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.news-detail-banner.fixedbg::before{
    backdrop-filter: blur(10px);
}
/* .news-detail-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(211, 47, 47, 0.1) 0%, rgba(0,0,0,0) 100%);
    pointer-events: none;
} */

.banner-split {
    display: flex;
    align-items: center;
    gap: 60px;
}

.banner-info {
    flex: 1.5;
}

.banner-image {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border: 5px solid rgba(255, 255, 255, 0.1);
}

.banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.banner-info .breadcrumbs {
    font-size: 0.9rem;
    margin-bottom: 20px;
    opacity: 0.8;
}

.banner-info .breadcrumbs a {
    color: var(--white);
    transition: color 0.3s ease;
}

.banner-info .breadcrumbs a:hover {
    color: var(--primary-red);
}

.banner-info h1 {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.banner-info p.intro {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
    padding-left: 20px;
    border-left: 3px solid var(--primary-red);
}

/* Main Content Layout */
.news-detail-section {
    padding: 50px 0;
    background: #fff;
}

.detail-layout {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.detail-content-area {
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
    flex: 1;
}

/* Article Styling */
.article-header {
    margin-bottom: 40px;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
    margin-bottom: 30px;
    color: #888;
    font-size: 0.9rem;
}

.article-meta span i {
    color: var(--primary-red);
    margin-right: 8px;
}

.article-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

.article-body p {
    margin-bottom: 25px;
}

.article-body h2, .article-body h3 {
    color: var(--primary-black);
    margin: 40px 0 20px;
    font-weight: 800;
}

.article-body h2 { font-size: 2rem; }
.article-body h3 { font-size: 1.5rem; }

.article-body img {
    width: 100%;
    border-radius: 15px;
    margin: 30px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.quote-block {
    background: #fdf2f2;
    padding: 40px;
    border-radius: 20px;
    border-left: 5px solid var(--primary-red);
    margin: 40px 0;
    position: relative;
}

.quote-block p {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--primary-black);
    margin-bottom: 0;
    font-weight: 600;
}

.article-footer {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.article-tags {
    display: flex;
    gap: 10px;
}

.article-tags .tag {
    background: #f5f5f5;
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 0.85rem;
    color: #666;
    transition: all 0.3s ease;
}

.article-tags .tag:hover {
    background: var(--primary-red);
    color: #fff;
}

.share-links {
    display: flex;
    gap: 15px;
    align-items: center;
}

.share-links span {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-black);
}

.share-btn {
    width: 35px;
    height: 35px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #666;
    transition: all 0.3s ease;
}

.share-btn:hover {
    background: var(--primary-red);
    color: #fff;
}

/* Recommended Section */
.recommended-section {
    padding: 50px 0;
    background: #f9f9f9;
}

.recommended-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

/* Reusing Home/List News Card Styles or slightly modified */
.recommend-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.recommend-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.recommend-img {
    height: 220px;
    overflow: hidden;
}

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

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

.recommend-info {
    padding: 25px;
}

.recommend-info .date {
    font-size: 0.8rem;
    color: var(--primary-red);
    font-weight: 700;
    margin-bottom: 10px;
}

.recommend-info h4 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary-black);
    margin-bottom: 15px;
    line-height: 1.4;
}

.recommend-link {
    font-weight: 700;
    color: var(--primary-red);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .banner-split {
        gap: 40px;
    }
}

@media (max-width: 992px) {
    .banner-split {
        flex-direction: column;
        text-align: center;
    }
    .banner-info p.intro {
        border-left: none;
        padding-left: 0;
    }
    .detail-layout {
        flex-direction: column;
    }
    .sidebar {
        width: 100%;
    }
    .recommended-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .banner-info h1 {
        font-size: 2.2rem;
    }
    .article-body {
        font-size: 1rem;
    }
    .recommended-grid {
        grid-template-columns: 1fr;
    }
}
