
.news-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
}
.news-item {
    width: 23.4%;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Распределяем пространство между контентом и кнопкой */
}
.news-thumbnail {
    width: 100%;
    height: 200px; /* или другой нужный тебе размер */
    overflow: hidden;
    flex-shrink: 0;
}

.news-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Распределяем пространство между текстом и кнопкой */
}
.news-title-h2 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
    margin-top:25px;
}
.news-button {
    display: inline-block;
    background-color: #b0cb1f;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    margin-top: auto; /* Ставим кнопку в нижнюю часть контейнера */
}
.news-button:hover {
    background-color: #b0cb1f;
}
@media (max-width: 1024px) {
    .news-item {
        width: calc(50% - 30px);
    }
}
@media (max-width: 600px) {
    .news-item {
        width: 100%;
    }
}


    .single-news-page .news-thumbnail img {
  max-width: 50%;
  height: auto;
  margin: 0 auto;
  display: block;
  margin-bottom:50px;
}

.single-news-page .content h2{
    font-size:41px;
    color:#b0cb1f;
    margin-bottom:20px;
    font-weight: 700;
}

.single-news-page .content h5{
    font-size:21px;
    color:#b0cb1f;
    margin-bottom:20px;
    font-weight: 700;
}

.single-news-page .content a{
    color:var(--dark-text-color);
}

.single-news-page .content a:hover{
    color:#b0cb1f;
}

.single-news-page .content h3{
    font-size:30px;
    color:#b0cb1f;
    margin-bottom:30px;
    font-weight: 700;
}

.single-news-page .content p{
    font-size:21px;
    margin-bottom:50px;
}

article.single-news{
  margin-bottom:50px;
}

@media(max-width:768px){
    .single-news-page .news-thumbnail img {
        max-width:100%;
    }
}

