
body {
    padding-top: 8rem;
}

/* Main Content Structure */
.main-content {
    max-width: 1400px;
    margin: 8rem auto 0;
    padding: 0 2rem var(--space-xl);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(46, 49, 65, 0.7), rgba(46, 49, 65, 0.7)), 
                url('../assets/images/news/cover.png') center/cover no-repeat;
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-xl);
    border-radius: 8px;
    animation: fadeIn 1s ease-out;
}

.hero-content {
    text-align: center;
    color: var(--light-color);
    padding: var(--space-lg);
    max-width: 800px;
    animation: slideUp 0.8s ease-out;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    margin-bottom: var(--space-md);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
}

/* Article Styles */
.news-article {
    padding: 4rem 0;
    background-color: white;
}

.article-container {
    max-width: var(--max-width);
    margin: 0 auto;
    background-color: var(--gray-color);
    border: 1px dotted var(--secondary-color);
    padding: var(--space-xl);
    border-radius: var(--space-xl);
}

.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.article-date {
    display: inline-block;
    padding: var(--space-md) var(--space-lg);
    background-color: var(--primary-color);
    color: white;
    font-weight: bold;
    border-radius: var(--space-lg) 0 var(--space-lg) 0;
    margin-bottom: 2rem;
}

.article-title {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
    line-height: 1.3;
}

.article-lead {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: var(--dark-color);
    line-height: 1.6;
}

/* Call-to-Action Box */
.cta-box {
    background-color: var(--light-color);
    border-left: 5px solid var(--secondary-color);
    padding: 2rem;
    margin: 3rem 0;
}

.cta-title {
    margin-top: 0;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.cta-text {
    margin-bottom: 1rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    background-color: var(--primary-color);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: var(--primary-dark);
    transform: translateX(5px);
}

.cta-button i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.cta-button:hover i {
    transform: translateX(3px);
}

/* Gallery Styles */
/* Gallery Styles */
.article-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    align-items: stretch;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .article-gallery {
        grid-template-columns: 1fr;
        margin-top: 2rem;
    }
    
    .gallery-item {
        aspect-ratio: 16/9;
    }
}



/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(20px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .article-container {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
}