/* news-template.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    padding-top: 50px;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fafafa;
}

/* ===== PROMO BANNER ===== */
.promo-banner {
    margin-top: 0;
}

/* ===== NEWS TEMPLATE SECTION ===== */
.news-template-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 30px;
    background: #fff;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    font-size: 14px;
    color: #666;
}

.breadcrumb a {
    color: #3b1f0f;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #8a5a44;
}

.breadcrumb i {
    font-size: 16px;
    color: #999;
}

.breadcrumb span {
    color: #999;
}

/* ===== ARTICLE HEADER ===== */
.article-header {
    margin-bottom: 40px;
}

.category-badge {
    display: inline-block;
    background: #3b1f0f;
    color: white;
    padding: 6px 18px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.news-title {
    font-family: 'Crimson Pro', serif;
    font-size: 3rem;
    font-weight: 600;
    color: #2F1200;
    line-height: 1.3;
    margin-bottom: 20px;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 15px 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
}

.meta-item i {
    font-size: 18px;
    color: #8a5a44;
}

/* ===== FEATURED IMAGE ===== */
.featured-image {
    margin: 40px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.featured-image img {
    width: 100%;
    height: 550px;
    object-fit: contain;
    display: block;
    background: #f5f5f5;
}

/* ===== SUB IMAGES SLIDER ===== */
.sub-images-section {
    margin: -10px 0 30px 0;
}

.sub-images-slider-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.sub-images-track-container {
    overflow: hidden;
    flex: 1;
}

.sub-images-track {
    display: flex;
    gap: 10px;
    transition: transform 0.35s ease;
}

.sub-thumb {
    flex: 0 0 calc(20% - 8px);
    min-width: 55px;
    max-width: 80px;
    height: 52px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s ease, opacity 0.2s ease;
    opacity: 0.65;
}

.sub-thumb:hover {
    opacity: 1;
}

.sub-thumb.active {
    border-color: #3b1f0f;
    opacity: 1;
}

.sub-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: #f5f5f5;
}

.slider-arrow {
    background: #3b1f0f;
    color: white;
    border: none;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-arrow:hover {
    background: #8a5a44;
}

@media (max-width: 768px) {
    .sub-thumb {
        flex: 0 0 calc(25% - 8px);
        height: 44px;
    }
    .slider-arrow {
        width: 22px;
        height: 22px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .sub-thumb {
        flex: 0 0 calc(33.33% - 8px);
        height: 38px;
    }
}

/* ===== ARTICLE CONTENT ===== */
.article-content {
    font-size: 17px;
    line-height: 1.8;
    color: #444;
    margin: 40px 0;
}

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

/* ===== KEYWORDS SECTION ===== */
.keywords-section {
    margin: 40px 0;
    padding: 25px;
    background: #f8f9fa;
    border-left: 4px solid #3b1f0f;
    border-radius: 4px;
}

.keywords-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #2F1200;
    margin-bottom: 15px;
    font-size: 14px;
}

.keywords-label i {
    font-size: 18px;
}

.keywords-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.keyword-tag {
    display: inline-block;
    background: white;
    color: #3b1f0f;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    border: 1px solid #ddd;
    transition: all 0.3s ease;
}

.keyword-tag:hover {
    background: #3b1f0f;
    color: white;
    border-color: #3b1f0f;
}

/* ===== RELATED NEWS ===== */
.related-news {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 2px solid #e0e0e0;
}

.related-news h3 {
    font-family: 'Crimson Pro', serif;
    font-size: 2rem;
    color: #2F1200;
    margin-bottom: 30px;
}

.related-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.related-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.related-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

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

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

.related-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(59, 31, 15, 0.9);
    color: white;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.related-content {
    padding: 20px;
}

.related-date {
    font-size: 12px;
    color: #999;
    display: block;
    margin-bottom: 10px;
}

.related-content h4 {
    font-family: 'Crimson Pro', serif;
    font-size: 1.2rem;
    color: #2F1200;
    margin-bottom: 10px;
    line-height: 1.4;
}

.related-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #3b1f0f;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    gap: 12px;
    color: #8a5a44;
}

.read-more-btn i {
    font-size: 16px;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, #3b1f0f 0%, #5a2c0e 100%);
    padding: 80px 30px;
    text-align: center;
}

.cta-content h2 {
    font-family: 'Crimson Pro', serif;
    font-size: 2.5rem;
    color: white;
    margin-bottom: 15px;
    font-weight: 600;
}

.cta-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 40px;
    background: white;
    color: #3b1f0f;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-btn:hover {
    background: #f8f1e9;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.cta-btn i {
    font-size: 20px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .news-template-section {
        padding: 50px 30px;
    }
    
    .news-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .news-template-section {
        padding: 40px 20px;
    }
    
    .news-title {
        font-size: 2rem;
    }
    
    .article-meta {
        gap: 15px;
    }
    
    .featured-image img {
    height: 380px;
}
    
    .article-content {
        font-size: 16px;
    }
    
    .share-section {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .related-news-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .news-title {
        font-size: 1.6rem;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .featured-image img {
    height: 240px;
}
    
    .cta-content h2 {
        font-size: 1.6rem;
    }
    
    .cta-btn {
        padding: 12px 30px;
        font-size: 13px;
    }
}