/* Полезные материалы */
.useful-materials {
    margin: 40px 0;
}

.useful-materials h2 {
    font-size: 36px;
    line-height: 1.2;
    margin-bottom: 30px;
}

.useful-materials-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}

.useful-materials-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    background: #f8f8f8;
    border-radius: 6px;
    overflow: hidden;
}

.useful-materials-image {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
}

.useful-materials-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.useful-materials-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 20px;
}

.useful-materials-content h3 {
    font-size: 20px;
    line-height: 1.3;
    margin-bottom: 12px;
}

.useful-materials-content p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.useful-materials-button {
    display: inline-block;
    align-self: flex-start;
    margin-top: auto;
    padding: 12px 20px;
    background: #0093dd;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    font-size: 15px;
}

.useful-materials-button:hover {
    background: #007bb8;
    color: #fff;
}

@media (max-width: 900px) {
    .useful-materials-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .useful-materials-list {
        grid-template-columns: 1fr;
    }

    .useful-materials h2 {
        font-size: 28px;
    }
}
/* Статьи без галереи */
.welcome_news .shell.no-gallery .text {
    width: 100% !important;
    max-width: 100%;
    min-width: 0;
}