/* News & Events Specific Styles */
.news-container {
    width: 90%;
    max-width: 1200px;
    margin: 2rem auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* Featured News Item */
.featured-news {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    background-color: var(--color-block-white);
    box-shadow: var(--box-shadow-img);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    padding: 0;
}

.featured-news-image {
    height: 400px;
    overflow: hidden;
    margin: auto;
}


.featured-news-image img {
    width: auto;
    height: 100%;
    margin:auto;
    transition: transform 0.3s ease;
}

.featured-news:hover .featured-news-image img {
    transform: scale(1.05);
}

.featured-news-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-date {
    color: var(--color-blue);
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.featured-news-content h2, .featured-news-content h1  {
    color: var(--color-blue-dark-pop);
    margin-bottom: 1rem;
    font-size: 2rem!important;
    font-weight: 800;

}

.featured-news-content p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: var(--text-color-dark);
}

.read-more-button, .read-more-link, .back-to-news {
    display: inline-block;
    background-color: var(--color-blue);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.2s ease;
    align-self: flex-start;
    margin-top: auto;
}

.read-more-button:hover, .read-more-link:hover, .back-to-news:hover {
    background-color: var(--color-blue-dark);
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 2rem;
}

.news-item {
    background-color: var(--color-block-white);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    box-shadow: var(--box-shadow-img);
    transition: transform 0.2s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-item:hover {
    transform: translateY(-5px);
}

.news-item-image {
    padding-top: 20px;
    height: 400px;
    overflow: hidden;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-item-image img {
    width: auto;
    height: auto;
    max-height: 100%;
    max-width: 100%;
    transition: transform 0.3s ease;
}

.news-item:hover .news-item-image img {
    transform: scale(1.05);
}

.news-item-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.news-item-quote{
    font-weight: 800;
    font-size: calc(1em + 2px);
    font-style: italic;
}
.news-item-content h3, .news-item-content h2,  .news-item-content h1{
    color: var(--color-blue-dark-pop);
    margin-bottom: 0.75rem;
    font-size: 2rem;
    font-weight: 800;
}

.news-item-content p {
    margin-bottom: 1rem;
    flex-grow: 1;
    color: var(--text-color-dark);
}



/* Archive Link */
.news-archive-link {
    text-align: center;
    margin-top: 2rem;
}

.news-archive-link a {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #f0f0f0;
    color: var(--color-blue-dark-pop);
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.news-archive-link a:hover {
    background-color: #e0e0e0;
}

/* Responsive Design */
@media screen and (max-width: 992px) {
    .featured-news {
        grid-template-columns: 1fr;
    }
    
    .featured-news-image {
        height: 300px;
        padding-top: 20px;
    }
}

@media screen and (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .news-container {
        width: 95%;
    }
}

/* Individual News Article Page */
.news-article {
    width: 90%;
    max-width: 900px;
    margin: 2rem auto;
    background-color: var(--color-block-white);
    padding: 2rem;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--box-shadow-img);
}

.news-article-header {
    margin-bottom: 2rem;
}

.news-article-date {
    color: var(--color-blue);
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.news-article h2,  h1.news-article-title {
    color: var(--color-blue-dark-pop);
    margin-bottom: 1rem;
    font-size: 2.8rem!important;
}

.news-article-image {
    padding-top: 20px;
    height: 400px;
    overflow: hidden;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    border-radius: var(--border-radius-sm);
}

.news-article-image img {
    width: auto;
    height: auto;
    max-height: 100%;
    max-width: 100%;
    transition: transform 0.3s ease;
}

.news-article-content {
    line-height: 1.8;
}

.news-article-content  {
    margin-bottom: 1.5rem;
    color: var(--text-color-dark);
}

.news-article-footer {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
}



/* Archive Page Styles */
.archive-container {
    width: 90%;
    max-width: 900px;
    margin: 2rem auto;
}

.archive-year {
    margin-bottom: 2rem;
}

.archive-year-title {
    color: var(--color-blue-dark-pop);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--color-blue-light);
}

.archive-item {
    display: flex;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.archive-date {
    min-width: 100px;
    color: var(--color-blue);
    font-weight: bold;
}

.archive-title {
    flex-grow: 1;
}

.archive-title a {
    color: var(--text-color-dark);
    text-decoration: none;
    transition: color 0.2s ease;
}

.archive-title a:hover {
    color: var(--color-blue);
}