/* News & Updates - Specific Styles */

/* Language content switching */
.lang-content {
    display: none;
}

.lang-content.active {
    display: block;
}

/* Main content */
main {
    padding-top: 80px;
}

/* Container utility */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section */
.news-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6rem 2rem 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.news-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.news-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* Latest News Section */
.latest-news {
    padding: 6rem 0;
    background: #f8f9fa;
}

.latest-news h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: #1d1d1f;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.news-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
}

.news-card.featured {
    grid-column: 1 / -1;
    max-width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
}

.news-card.featured .news-category {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.news-card.featured h3,
.news-card.featured p,
.news-card.featured .read-more {
    color: white;
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.news-category {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-category.technology {
    background: #e3f2fd;
    color: #1976d2;
}

.news-category.media {
    background: #fce4ec;
    color: #c2185b;
}

.news-category.company {
    background: #e8f5e8;
    color: #2e7d32;
}

.news-date {
    font-size: 0.9rem;
    color: #86868b;
}

.news-card.featured .news-date {
    color: rgba(255, 255, 255, 0.8);
}

.news-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.news-card p {
    color: #86868b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.news-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.read-time {
    font-size: 0.85rem;
    color: #86868b;
}

.news-card.featured .read-time {
    color: rgba(255, 255, 255, 0.8);
}

.read-more {
    color: #0071e3;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #005bb5;
    text-decoration: underline;
}

/* Announcements Section */
.announcements {
    padding: 6rem 0;
    background: white;
}

.announcements h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: #1d1d1f;
}

.announcement-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.announcement-item {
    display: flex;
    gap: 1.5rem;
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.announcement-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.announcement-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 2px solid #e5e7eb;
}

.announcement-content {
    flex: 1;
}

.announcement-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 0.75rem;
}

.announcement-content p {
    color: #86868b;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.announcement-content time {
    font-size: 0.9rem;
    color: #86868b;
    font-style: italic;
}

/* Newsletter Section */
.newsletter {
    padding: 6rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.newsletter p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.newsletter-form {
    margin-bottom: 1rem;
}

.form-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.form-group input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    background: white;
    color: #1d1d1f;
    outline: none;
}

.form-group input::placeholder {
    color: #86868b;
}

.form-group button {
    padding: 1rem 2rem;
    background: #ff6b6b;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.form-group button:hover {
    background: #ff5252;
}

.newsletter-note {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .news-hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .news-card.featured {
        grid-column: 1;
    }
    
    .news-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .announcement-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .announcement-icon {
        align-self: center;
    }
    
    .form-group {
        flex-direction: column;
        gap: 1rem;
    }
    
    .newsletter h2 {
        font-size: 2rem;
    }
    
    .newsletter p {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .news-hero {
        padding: 4rem 1rem 3rem;
    }
    
    .news-hero h1 {
        font-size: 2rem;
    }
    
    .news-card,
    .announcement-item {
        padding: 1.5rem;
    }
    
    .latest-news,
    .announcements,
    .newsletter {
        padding: 4rem 0;
    }
    
    .latest-news h2,
    .announcements h2,
    .newsletter h2 {
        font-size: 2rem;
    }
}