/* News Page Specific Styles */

/* Page Hero */
.page-hero {
    margin-top: 80px;
    background: linear-gradient(135deg, rgba(190, 3, 0, 0.9), rgba(160, 2, 0, 0.9)), 
                url('../assets/images/manufacture/IMG_4573.HEIC') center/cover;
    color: white;
    padding: 6rem 0 4rem;
    text-align: center;
}

.page-hero .hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
}

.page-hero .hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: white;
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.6);
}

/* Featured News */
.featured-news {
    padding: 6rem 0;
    background-color: white;
}

.featured-article {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
    background-color: #f8f9fa;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.article-image {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: linear-gradient(135deg, #be0300, #a00200);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.article-content {
    padding: 3rem;
}

.article-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.article-date,
.article-category {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

.article-date i {
    color: #be0300;
}

.article-category i {
    color: #28a745;
}

.featured-article h2 {
    font-size: 2rem;
    color: #000;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.featured-article p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.article-highlights {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

.highlight-item i {
    color: #be0300;
}

/* News Grid */
.news-grid-section {
    padding: 6rem 0;
    background-color: #f8f9fa;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.news-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.news-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-date {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #be0300, #a00200);
    color: white;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    min-width: 60px;
}

.news-date .day {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.news-date .month {
    display: block;
    font-size: 0.8rem;
    margin: 0.2rem 0;
}

.news-date .year {
    display: block;
    font-size: 0.7rem;
    opacity: 0.8;
}

.news-content {
    padding: 2rem;
}

.news-meta {
    margin-bottom: 1rem;
}

.news-category {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #f8f9fa;
    color: #666;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.news-category i {
    color: #be0300;
}

.news-card h3 {
    font-size: 1.3rem;
    color: #000;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.news-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.news-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f0f0f0;
    padding-top: 1rem;
}

.read-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #999;
    font-size: 0.8rem;
}

.read-time i {
    color: #be0300;
}

.read-more {
    color: #be0300;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #a00200;
}

/* Load More Section */
.load-more-section {
    text-align: center;
}

.news-note {
    color: #666;
    font-size: 1rem;
    margin-bottom: 2rem;
    font-style: italic;
}

.load-more-btn {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.load-more-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Newsletter */
.newsletter {
    padding: 6rem 0;
    background: linear-gradient(135deg, #be0300, #a00200);
    color: white;
}

.newsletter-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
}

.newsletter-text h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1rem;
}

.newsletter-text p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.newsletter-form .form-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 1.2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    background-color: rgba(255, 255, 255, 0.9);
    color: #333;
}

.newsletter-form input::placeholder {
    color: #666;
}

.newsletter-form button {
    padding: 1.2rem 2rem;
    white-space: nowrap;
}

.newsletter-note {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-hero .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .page-hero .hero-content p {
        font-size: 1.1rem;
    }
    
    .featured-article {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .article-image {
        height: 250px;
    }
    
    .article-content {
        padding: 2rem;
    }
    
    .featured-article h2 {
        font-size: 1.8rem;
    }
    
    .article-highlights {
        gap: 1rem;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .newsletter-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .newsletter-form .form-group {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .page-hero {
        padding: 4rem 0 3rem;
    }
    
    .page-hero .hero-content h1 {
        font-size: 2rem;
    }
    
    .featured-article {
        margin: 0 -1rem;
        border-radius: 0;
    }
    
    .article-content {
        padding: 1.5rem;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .featured-article h2 {
        font-size: 1.5rem;
    }
    
    .news-content {
        padding: 1.5rem;
    }
    
    .news-card h3 {
        font-size: 1.2rem;
    }
    
    .newsletter-text h2 {
        font-size: 2rem;
    }
    
    .newsletter-text p {
        font-size: 1rem;
    }
}
