/* =====================================================
   NEWS PAGE STYLES - INDUSTRIAL × ASIAN NATURAL
   ===================================================== */

/* ===== NEWS HERO SECTION ===== */
.news_hero_section {
    background: linear-gradient(135deg, 
        rgba(45, 55, 72, 0.95) 0%, 
        rgba(74, 85, 104, 0.9) 100%), 
        url('../images/demo/demo.png') center/cover;
    padding: 120px 0 80px;
    margin-top: 80px;
    position: relative;
}

.news_hero_section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(139, 92, 76, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(45, 55, 72, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.news_hero_content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.news_hero_title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.news_hero_description {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ===== NEWS FILTER SECTION ===== */
.news_filter_section {
    background: #f8f9fa;
    padding: 40px 0;
    border-bottom: 1px solid #e2e8f0;
}

.news_filter_container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.news_filter_group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.news_filter_title {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.news_filter_title i {
    color: #8b5c4c;
}

.news_filter_options,
.news_filter_years {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.filter_btn {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 25px;
    padding: 0.75rem 1.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: #4a5568;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.filter_btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 76, 0.1), transparent);
    transition: left 0.5s ease;
}

.filter_btn:hover::before {
    left: 100%;
}

.filter_btn:hover {
    border-color: #8b5c4c;
    color: #8b5c4c;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(139, 92, 76, 0.15);
}

.filter_btn.active {
    background: linear-gradient(135deg, #8b5c4c 0%, #a0695a 100%);
    border-color: #8b5c4c;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(139, 92, 76, 0.3);
}

.filter_btn.active:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 76, 0.4);
}

.filter_count {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    min-width: 24px;
    text-align: center;
}

.filter_btn.active .filter_count {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.filter_btn:not(.active) .filter_count {
    background: #f1f5f9;
    color: #64748b;
}

.year_btn {
    border-radius: 15px;
    padding: 0.6rem 1.2rem;
}

/* ===== NEWS LIST SECTION ===== */
.news_list_section {
    background: #ffffff;
    padding: 60px 0;
    min-height: 500px;
}

.news_list_container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.news_article {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
    display: flex;
    gap: 0;
}

.news_article:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    border-color: rgba(139, 92, 76, 0.2);
}

.news_article_image {
    position: relative;
    flex: 0 0 300px;
    height: 240px;
    overflow: hidden;
}

.news_article_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news_article:hover .news_article_image img {
    transform: scale(1.05);
}

.news_badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.badge_new {
    background: linear-gradient(135deg, #8b5c4c 0%, #a0695a 100%);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(139, 92, 76, 0.3);
}

.badge_hot {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
}

.badge_sale {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.badge_event {
    background: linear-gradient(135deg, #7c3aed 0%, #8b5cf6 100%);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.3);
}

.badge_festival {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.3);
}

.news_article_content {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news_article_title {
    margin: 0 0 1rem 0;
}

.news_article_title a {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d3748;
    text-decoration: none;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.news_article_title a:hover {
    color: #8b5c4c;
}

.news_article_description {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 1.5rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news_article_meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.news_article_date {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.news_article_date i {
    color: #8b5c4c;
}

.news_article_link {
    background: linear-gradient(135deg, #8b5c4c 0%, #a0695a 100%);
    color: #ffffff;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.news_article_link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 76, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

/* ===== NO RESULTS ===== */
.news_no_results {
    text-align: center;
    padding: 4rem 2rem;
    background: #f8f9fa;
    border-radius: 16px;
    margin: 2rem 0;
}

.no_results_icon {
    font-size: 4rem;
    color: #cbd5e0;
    margin-bottom: 1.5rem;
}

.news_no_results h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #4a5568;
    margin-bottom: 1rem;
}

.news_no_results p {
    font-family: 'Inter', sans-serif;
    color: #718096;
    margin-bottom: 2rem;
}

/* ===== PAGINATION ===== */
.news_pagination {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.pagination_container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.pagination_btn {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    color: #4a5568;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.pagination_btn:hover {
    border-color: #8b5c4c;
    color: #8b5c4c;
    transform: translateY(-2px);
}

.pagination_numbers {
    display: flex;
    gap: 0.25rem;
    margin: 0 1rem;
}

.pagination_number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    color: #4a5568;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    transition: all 0.3s ease;
}

.pagination_number:hover {
    border-color: #8b5c4c;
    color: #8b5c4c;
}

.pagination_number.active {
    background: linear-gradient(135deg, #8b5c4c 0%, #a0695a 100%);
    border-color: #8b5c4c;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(139, 92, 76, 0.3);
}

.pagination_dots {
    color: #94a3b8;
    padding: 0 0.5rem;
    display: flex;
    align-items: center;
}

.pagination_info {
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #64748b;
    margin-top: 1rem;
}

/* ===== NEWS DETAIL PAGE ===== */
.news_detail_hero {
    background: #f8f9fa;
    padding: 2rem 0;
    margin-top: 80px;
    border-bottom: 1px solid #e2e8f0;
}

.news_detail_breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
}

.breadcrumb_item {
    color: #64748b;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: color 0.3s ease;
}

.breadcrumb_item:hover {
    color: #8b5c4c;
}

.breadcrumb_separator {
    color: #cbd5e0;
    font-size: 0.8rem;
}

.breadcrumb_current {
    color: #2d3748;
    font-weight: 500;
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.news_detail_content {
    background: #ffffff;
    padding: 3rem 0;
}

.news_detail_container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
}

.news_detail_main {
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
}

.news_detail_header {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e2e8f0;
}

.news_detail_badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
}

.news_detail_title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: #2d3748;
    line-height: 1.3;
    margin: 0 0 1.5rem 0;
}

.news_detail_meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.news_detail_date,
.news_detail_time {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.news_detail_date i,
.news_detail_time i {
    color: #8b5c4c;
}

.news_detail_description {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: #4a5568;
    line-height: 1.7;
    font-weight: 500;
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #8b5c4c;
}

.news_detail_image {
    margin: 2rem 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.news_detail_image img {
    width: 100%;
    height: auto;
    display: block;
}

.news_detail_body {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #374151;
    margin: 2rem 0;
}

.news_detail_body p {
    margin-bottom: 1.5rem;
}

.news_detail_body ul {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.news_detail_body li {
    margin-bottom: 0.5rem;
}

.news_detail_navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
    gap: 1rem;
}

.news_nav_btn {
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.news_nav_back {
    background: #f8f9fa;
    color: #4a5568;
    border-color: #e2e8f0;
}

.news_nav_back:hover {
    border-color: #8b5c4c;
    color: #8b5c4c;
    transform: translateY(-2px);
}

.news_nav_related {
    background: linear-gradient(135deg, #8b5c4c 0%, #a0695a 100%);
    color: #ffffff;
}

.news_nav_related:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 76, 0.4);
}

/* ===== SIDEBAR ===== */
.news_detail_sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar_card {
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
}

.sidebar_title {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    margin: 0 0 1.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sidebar_title i {
    color: #8b5c4c;
}

.contact_info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact_item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #4a5568;
    line-height: 1.5;
}

.contact_item i {
    color: #8b5c4c;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.contact_btn {
    background: linear-gradient(135deg, #8b5c4c 0%, #a0695a 100%);
    color: #ffffff;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.contact_btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 76, 0.4);
}

.quick_links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.quick_link {
    padding: 0.75rem 1rem;
    border-radius: 12px;
    background: #f8f9fa;
    color: #4a5568;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.quick_link:hover {
    background: #ffffff;
    color: #8b5c4c;
    border-color: rgba(139, 92, 76, 0.2);
    transform: translateX(4px);
}

.quick_link i {
    color: #8b5c4c;
}

/* ===== RELATED NEWS ===== */
.related_news_section {
    background: #f8f9fa;
    padding: 4rem 0;
}

.section_header {
    text-align: center;
    margin-bottom: 3rem;
}

.section_title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1rem;
}

.section_subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

.related_news_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.related_news_card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
}

.related_news_card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.related_news_image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.related_news_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related_news_card:hover .related_news_image img {
    transform: scale(1.05);
}

.related_news_content {
    padding: 1.5rem;
}

.related_news_title {
    margin: 0 0 1rem 0;
}

.related_news_title a {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #2d3748;
    text-decoration: none;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.related_news_title a:hover {
    color: #8b5c4c;
}

.related_news_description {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 1.5rem 0;
}

.related_news_meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.related_news_date {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.related_news_date i {
    color: #8b5c4c;
}

.related_news_link {
    color: #8b5c4c;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.related_news_link:hover {
    color: #2d3748;
    transform: translateX(4px);
}

.related_news_footer {
    text-align: center;
    margin-top: 2rem;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .news_detail_container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .news_detail_sidebar {
        order: -1;
    }
    
    .sidebar_card {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .news_hero_title {
        font-size: 2rem;
    }
    
    .news_hero_description {
        font-size: 1.1rem;
    }
    
    .news_filter_container {
        gap: 1.5rem;
    }
    
    .news_filter_options,
    .news_filter_years {
        justify-content: center;
    }
    
    .filter_btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .news_article {
        flex-direction: column;
    }
    
    .news_article_image {
        flex: none;
        height: 200px;
    }
    
    .news_article_content {
        padding: 1.5rem;
    }
    
    .news_article_title a {
        font-size: 1.3rem;
    }
    
    .news_article_meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .news_detail_main {
        padding: 1.5rem;
    }
    
    .news_detail_title {
        font-size: 2rem;
    }
    
    .news_detail_meta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .news_detail_navigation {
        flex-direction: column;
        gap: 1rem;
    }
    
    .pagination_container {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .pagination_numbers {
        margin: 0.5rem 0;
    }
    
    .related_news_grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .news_hero_section {
        padding: 80px 0 60px;
    }
    
    .news_hero_title {
        font-size: 1.75rem;
    }
    
    .news_filter_section {
        padding: 30px 0;
    }
    
    .filter_btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    .news_list_section {
        padding: 40px 0;
    }
    
    .news_article_content {
        padding: 1.2rem;
    }
    
    .news_detail_main {
        padding: 1.2rem;
    }
    
    .news_detail_title {
        font-size: 1.75rem;
    }
    
    .section_title {
        font-size: 2rem;
    }
    
    .pagination_btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
}
