﻿
.container h2 {
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 5px;
    color: #222;
}

.section-subtitle {
    font-size: 20px;
    font-weight: 200;
    color: #333;
    margin-top: 0;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 42px;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #222;
}

.hero-text {
    font-size: 24px;
    font-weight: 200;
    line-height: 1.3; 
    color: #333;
    margin-top: 10px;
    margin-bottom: 20px;
    max-width: 1100px; 
}

.section-divider {
    margin-top: 30px;
    margin-bottom: 50px;
    border: none;
    border-top: 1px solid #eeeeee;
}

.news-card {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
    box-sizing: border-box;
    text-decoration: none;
    color: #333;
}

.news-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-top: 8px;
    margin-bottom: 0px;
    line-height: 1.5;
    color: #333;
}

.news-card:hover h3 {
    text-decoration: underline; 
}

.news-card__image {
    width: 100%;
    padding-top: 56%; 
    background-size: cover;
    background-position: center;
    border-radius: 7px;
    display: block;
    margin-bottom: 12px;
}
.news-list {
    display: grid;
    grid-template-columns: 1fr; 
    gap: 25px;
}

/*Tablet*/
@media (min-width: 768px) {
    .news-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

/*Desktop*/
@media (min-width: 1024px) {
    .news-list {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }
}


