/* Latest News Block Styles */
.latest-news-block {
    padding: 80px 0;
    background: var(--background-light);
}

.latest-news-block .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.latest-news-block .block-title {
    color: var(--olive-dark);
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
}

.latest-news-block .block-subtitle {
    color: var(--text-light);
    font-size: 18px;
    font-weight: 400;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* News Grid */
.latest-news-block .news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

/* News Item */
.latest-news-block .news-item {
    border-radius: 8px;
    overflow: hidden;
    background-color: #ffffff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.latest-news-block .news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.latest-news-block .news-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.latest-news-block .news-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.latest-news-block .news-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.latest-news-block .news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.latest-news-block .news-content {
    padding: 20px;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.latest-news-block .news-date {
    color: var(--olive-dark);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
}

.latest-news-block .news-title {
    color: var(--text-dark);
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 15px 0;
    line-height: 1.4;
    transition: color 0.3s ease;
    flex: 1;
}

.latest-news-block .news-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.latest-news-block .news-title a:hover {
    color: var(--olive-dark);
    text-decoration: none;
}

/* News Actions */
.latest-news-block .news-actions {
    margin-top: auto;
    padding-top: 15px;
}

.latest-news-block .news-read-more {
    display: inline-block;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
    background-color: var(--olive-light);
    color: var(--white);
    border: 2px solid var(--olive-light);
    box-sizing: border-box;
}

.latest-news-block .news-read-more:hover {
    background-color: var(--olive-dark);
    border-color: var(--olive-dark);
    text-decoration: none;
    color: var(--white);
}

/* Links inside paragraphs */
.latest-news-block p a {
    margin-right: 5px;
}

/* No News Message */
.latest-news-block .no-news-message {
    text-align: center;
    padding: 40px;
    background-color: #f5f5f5;
    border-radius: 8px;
}

.latest-news-block .no-news-message p {
    margin: 0;
    color: #666;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .latest-news-block .news-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .latest-news-block .news-block-title {
        font-size: 32px;
    }
    
    .latest-news-block .news-block-subtitle {
        font-size: 16px;
    }
    
    .latest-news-block .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .latest-news-block {
        padding: 60px 0;
    }
    
    .latest-news-block .news-block-title {
        font-size: 28px;
    }
}

@media (max-width: 576px) {
    .latest-news-block .news-grid {
        grid-template-columns: 1fr;
    }
    
    .latest-news-block .news-image {
        height: 200px;
    }
} 