.news-grid-container {
    margin-bottom: 25px;
}

.news-grid-item {
    margin-bottom: 25px;
}

.news-card {
    height: 100%;
    max-height: 710px;
    min-height: 620px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
}

.image-rating {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.479);
    color: rgb(0, 0, 0);
    padding: 4px 10px 4px 10px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    z-index: 2;
    border: solid 1px #CCCED1
}

.image-rating svg {
    width: 16px;
    height: 16px;
    fill: #FF6901; 
}


.news-image {
    overflow: hidden;
    position: relative;
    height: 300px;
    width: 100%;
    background: #ffffff;
}

.news-image img {
    position: absolute;
    width: 100%;
    min-height: 110%;
    min-width: 125%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
}

.image-placeholder svg {
    width: 50%;
    height: 50%;
    opacity: 0.5;
}

.news-meta {
    padding: 15px 0px 0px 0px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-date {
    color: #323C46;
    font-size: 14px;
    margin-bottom: 8px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.news-title {
    font-size: 18px;
    font-weight: 800;
    margin: 0 0 5px 0;
    line-height: 1.3;
    overflow: hidden;
    height: auto;
}

.news-title a {
    color: #333;
}

.news-title a:hover {
    color: #1e88e5;
}

.news-excerpt {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    flex-grow: 1;
    height: 8em;
    overflow: hidden;
}

.news-excerpt a {
    color: #666 !important;
}

.news-read-more {
    color: #ffffff;
    background-color: #FF6901;
    font-size: 14px;
    text-decoration: none;
    padding: 13px 0px 13px 25px;
    font-weight: 700;
    max-width: 205px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    gap: 20px;
}

@media (max-width: 1483px) {
    .news-card {
        min-height: 705px;
    }

    .news-excerpt {
        height: 12.5em;
    }
}
@media (max-width: 1483px) {
    .news-card {
        min-height: 705px;
    }

    .news-excerpt {
        height: 12.5em;
    }
} 
@media (max-width: 1279px) {
    
.news-title {
    font-size: 17px;
    font-weight: 800;
    margin: 0 0 5px 0;
    line-height: 1.3;
    overflow: hidden;
    height: auto;
}
.news-excerpt {
        font-size: 13.5px;
    }

}
@media (max-width: 1200px) {
.news-title {
    font-size: 16px;
}

.news-excerpt {
        font-size: 13px;
    }

}
/* Адаптивность */
@media (max-width: 991px) {
    .news-card {
        min-height: 660px;
    }

    .news-title {
        font-size: 18px;
        min-height: auto;
    }

    .news-excerpt {
        height: auto;
        min-height: 4.2em;
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    .news-card {
        min-height: auto;
    }

    .news-grid-item {
        margin-bottom: 20px;
    }

    .news-image {
        padding-top: 75%;
        height: 300px;
    }

    .news-image img {
        min-height: 100%;
        min-width: 100%;
    }

    .news-title,
    .news-excerpt {
        height: auto !important;
    }

    .news-read-more {
        display: none;
    }
}