.homepage .useful-links {
    padding: 4rem 0;
    background: #fffdfd;
}

.homepage .icon-cards {
    padding: 4rem 0;
    background: #f0f0f4;
}

.homepage .content-with-title__wrapper {
    margin: 0 !important;
}

.useful-links__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.useful-links__card {
    position: relative;
    height: 280px;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: #325390;
    will-change: transform;
}

/* Базовый градиент */
.useful-links__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
    rgba(50, 83, 144, 0.5),
    rgba(50, 83, 144, 0.75));
    z-index: 1;
}

/* Градиент для hover эффекта */
.useful-links__card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
    rgba(31, 51, 89, 0.7),
    rgba(31, 51, 89, 0.95));
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.useful-links__card:hover::after {
    opacity: 1;
}

.useful-links__card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.01);
    transition: transform 1.2s cubic-bezier(0.215, 0.610, 0.355, 1.000);
    z-index: 0;
}

.useful-links__card:hover .useful-links__card-bg {
    transform: scale(1.12);
}

.useful-links__card-title {
    padding: 0 20px;
    margin: 0;
    position: relative;
    font-family: Montserrat, sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 20px;
    line-height: 24px;
    color: #fffdfd;
    text-align: center;
    z-index: 2;
    opacity: 0.95;
    transform: translateZ(0);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.useful-links__card:hover .useful-links__card-title {
    transform: scale(1.05);
    opacity: 1;
}

@media (min-width: 640px) {
    .useful-links__grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .useful-links__grid:has(.useful-links__card:nth-child(5)) {
        grid-template-columns: repeat(2, 1fr);
    }

    .useful-links__grid:has(.useful-links__card:nth-child(5)) .useful-links__card:last-child {
        grid-column: auto;
        max-width: none;
        margin-left: 0;
        margin-right: 0;
    }
}

@media (min-width: 1024px) {
    .useful-links__grid {
        display: flex;
        flex-wrap: nowrap;
        gap: 20px;
    }

    .useful-links__card {
        flex: 1;
        min-width: 0;
    }
}


/* custom-cards.css */
.custom-cards__grid {
    display: grid;
    gap: 20px;
}

/* Настройки колонок */
.custom-cards__grid--2-columns,
.custom-cards__grid--3-columns,
.custom-cards__grid--4-columns,
.custom-cards__grid--5-columns {
    grid-template-columns: repeat(1, 1fr);
}

.custom-cards__card {
    position: relative;
    height: 280px;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    will-change: transform;
}

/* Базовый градиент */
.custom-cards__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
    rgba(0, 0, 0, 0.3),
    rgba(0, 0, 0, 0.5));
    z-index: 1;
    transition: opacity 0.3s ease;
}

/* Градиент для hover эффекта */
.custom-cards__card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
    rgba(0, 0, 0, 0.5),
    rgba(0, 0, 0, 0.7));
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.custom-cards__card:hover::after {
    opacity: 1;
}

.custom-cards__card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.01);
    transition: transform 1.2s cubic-bezier(0.215, 0.610, 0.355, 1.000);
    z-index: 0;
}

.custom-cards__card:hover .custom-cards__card-bg {
    transform: scale(1.12);
}

.custom-cards__card-title {
    padding: 0 20px;
    margin: 0;
    position: relative;
    font-family: Montserrat, sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 20px;
    line-height: 24px;
    color: #fffdfd;
    text-align: center;
    z-index: 2;
    opacity: 0.95;
    transform: translateZ(0);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.custom-cards__card:hover .custom-cards__card-title {
    transform: scale(1.05);
    opacity: 1;
}

/* Медиа-запросы для разных размеров экрана */
@media (min-width: 640px) {
    .custom-cards__grid--2-columns,
    .custom-cards__grid--3-columns,
    .custom-cards__grid--4-columns,
    .custom-cards__grid--5-columns {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .custom-cards__grid--2-columns {
        grid-template-columns: repeat(2, 1fr);
    }

    .custom-cards__grid--3-columns {
        grid-template-columns: repeat(3, 1fr);
    }

    .custom-cards__grid--4-columns {
        grid-template-columns: repeat(4, 1fr);
    }

    .custom-cards__grid--5-columns {
        grid-template-columns: repeat(5, 1fr);
    }
}


/* icon-cards.css */
/*.icon-cards {*/
/*    margin: 0;*/
/*    padding: 4rem 0;*/
/*}*/

.icon-cards__grid {
    display: grid;
    gap: 20px;
}

/* Grid columns configuration */
.icon-cards__grid--2-columns,
.icon-cards__grid--3-columns,
.icon-cards__grid--4-columns,
.icon-cards__grid--5-columns {
    grid-template-columns: repeat(1, 1fr);
}

.icon-cards__card {
    position: relative;
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    text-decoration: none;
    background-color: #E6F0FB;
    will-change: transform;
    padding: 28px 44px;
    transition: all 0.3s ease;
}

.icon-cards__card--link {
    cursor: pointer;
    text-decoration: none;
}

.icon-cards__card--link:hover {
    background-color: #F0F6FF;
}

.icon-cards__card--link:hover .icon-cards__icon img {
    transform: scale(1.05);
}

.icon-cards__icon img {
    margin: 0;
    padding: 0;
    width: 80px;
    height: 80px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.icon-cards__info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.icon-cards__card-title {
    margin: 0;
    padding: 0;
    font-family: Montserrat, sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 20px;
    line-height: 1.5;
    color: #325390;
    text-align: center;
}

.icon-cards__card-description {
    margin: 0;
    padding: 0;
    font-family: Avenir Next Cyr, sans-serif;
    font-style: normal;
    font-size: 16px;
    line-height: 1.5;
    color: #474747;
    text-align: center;
}

.icon-cards__card-description a {
    color: #325390;
    text-decoration: none;
    border-bottom: 1px solid rgba(50, 83, 144, 0.2);
    transition: border-color 0.2s ease, color 0.2s ease;
}

.icon-cards__card-description a:hover {
    color: #1a2945;
    border-bottom-color: #1a2945;
}

/* Responsive grid settings */
@media (min-width: 640px) {
    .icon-cards__grid--2-columns,
    .icon-cards__grid--3-columns,
    .icon-cards__grid--4-columns,
    .icon-cards__grid--5-columns {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .icon-cards__grid--2-columns {
        grid-template-columns: repeat(2, 1fr);
    }

    .icon-cards__grid--3-columns {
        grid-template-columns: repeat(3, 1fr);
    }

    .icon-cards__grid--4-columns {
        grid-template-columns: repeat(4, 1fr);
    }

    .icon-cards__grid--5-columns {
        grid-template-columns: repeat(5, 1fr);
    }
}


/* other styles */
.content-with-title__wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 4rem 0;
}

.content-with-title__wrapper--no-title {
    margin-top: 0 !important;
}

@media (max-width: 767px) {
    .content-with-title__wrapper {
        margin: 2rem 0;
    }
}


/* page-content.css */
/* Основной контейнер контента */
.page-content {
    max-width: 100%;
    margin: 0;
    padding: 0;
    font-family: Avenir Next Cyr, sans-serif;
    font-style: normal;
    line-height: 1.5;
    color: #2C3E50;
    font-size: 16px;
}

/* Типографика заголовков */
.page-content h1, .page-content h2, .page-content h3,
.page-content h4, .page-content h5, .page-content h6 {
    font-family: Montserrat, sans-serif;
    margin: 1em 0;
    color: #474747;
    font-weight: 700;
}

.page-content h1 {
    font-size: 2em;
}

.page-content h2 {
    font-size: 1.8em;
}

.page-content h3 {
    font-size: 1.6em;
}

.page-content h4 {
    font-size: 1.4em;
}

.page-content h5 {
    font-size: 1.2em;
}

.page-content h6 {
    font-size: 1em;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Параграфы и текст */
.page-content p {
    margin: 0.8em 0;
    font-size: 1.1em;
}

.page-content strong {
    color: #474747;
    font-weight: 600;
}

.page-content mark {
    background-color: rgba(50, 83, 144, 0.1);
    color: #325390;
    padding: 0.2em 0.4em;
    border-radius: 3px;
}

/* Списки */
.page-content ul,
.page-content ol {
    margin: 0 0 1.5em 0;
    padding-left: 1.5em;
    list-style-position: outside;
}

.page-content ol > li::marker,
.page-content ul > li::marker {
    color: #325390;
}

.page-content ul li {
    position: relative;
    padding: 0.2rem 0;
}

.page-content ul ul {
    margin: 0.5em 0;
}

.page-content ul ul > li::marker,
.page-content ol ol > li::marker {
    color: rgba(50, 83, 144, 0.7);
}

.page-content ul ul ul > li::marker,
.page-content ol ol ol > li::marker {
    color: rgba(50, 83, 144, 0.5);
}

/* Нумерованные списки */
.page-content ol {
    list-style: decimal;
    counter-reset: item;
}

.page-content ol ol {
    list-style: lower-alpha;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

.page-content ol ol ol {
    list-style: lower-roman;
}

/* Цитаты */
.page-content blockquote {
    margin: 2em 0;
    padding: 1.5em 2em;
    border-left: 4px solid #325390;
    background-color: rgba(50, 83, 144, 0.05);
    border-radius: 0 4px 4px 0;
}

.page-content blockquote p {
    color: #325390;
    font-size: 1.1em;
    font-style: italic;
}

.page-content blockquote cite {
    display: block;
    margin-top: 1em;
    color: rgba(50, 83, 144, 0.7);
    font-size: 0.9em;
}

/* Таблицы */
.page-content table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
    width: 100%;
    margin: 2em 0;
    border-collapse: collapse;
    border: 1px solid rgba(50, 83, 144, 0.2);
    table-layout: fixed;
}

.page-content table caption {
    width: 100%;
    white-space: normal;
    word-wrap: break-word;
    margin: 1em;
}

.page-content th {
    background-color: rgba(50, 83, 144, 0.05);
    color: #325390;
    font-weight: 600;
    border-bottom: 2px solid rgba(50, 83, 144, 0.2);
}

.page-content td,
.page-content th {
    padding: 1em;
    text-align: left;
    border-bottom: 1px solid rgba(50, 83, 144, 0.1);
    min-width: 120px;
}

.page-content tbody tr:nth-child(even) {
    background-color: rgba(50, 83, 144, 0.02);
}

/* Код */
.page-content pre {
    background-color: #f8f9fa;
    padding: 1.5em;
    margin: 2em 0;
    border-radius: 4px;
    border: 1px solid rgba(50, 83, 144, 0.1);
}

.page-content code {
    font-family: 'JetBrains Mono', 'Fira Code', Monaco, Consolas, monospace;
    font-size: 0.9em;
    color: #325390;
    background-color: rgba(50, 83, 144, 0.05);
    padding: 0.2em 0.4em;
    border-radius: 3px;
}

/* Определения */
.page-content dt {
    color: #325390;
    font-weight: 600;
    margin-top: 1.2em;
}

.page-content dd {
    margin-left: 2em;
    margin-top: 0.5em;
    color: #566573;
}

/* Ссылки */
.page-content a {
    color: #325390;
    text-decoration: none;
    border-bottom: 1px solid rgba(50, 83, 144, 0.2);
    transition: border-color 0.2s ease, color 0.2s ease;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.page-content a:hover {
    color: #1a2945;
    border-bottom-color: #1a2945;
}

/* Горизонтальная линия */
.page-content hr {
    margin: 2em 0;
    border: none;
    height: 1px;
    background-color: rgba(50, 83, 144, 0.2);
}

/* Изображения */
.page-content img {
    max-width: 100%;
    height: auto;
    margin: 2em 0;
    display: block;
}

.page-content figure {
    margin: 2em 0;
}

.page-content figcaption {
    margin-top: 0.5em;
    text-align: center;
    font-size: 0.9em;
    color: #666;
}

/* Адаптивность */
@media (max-width: 1024px) {
    .page-content table caption {
        margin: 1em 0;
    }
}

@media (max-width: 768px) {
    .page-content h1 {
        font-size: 1.8em;
    }

    .page-content h2 {
        font-size: 1.6em;
    }

    .page-content h3 {
        font-size: 1.4em;
    }

    .page-content h4 {
        font-size: 1.2em;
    }

    .page-content h5 {
        font-size: 1.0em;
    }

    .page-content h6 {
        font-size: 0.9em;
    }

    .page-content blockquote {
        padding: 1em;
        margin: 1.5em 0;
    }

    .page-content pre {
        padding: 1em;
        margin: 1.5em 0;
    }
}

/* Базовые стили таблиц */
.page-content table {
    width: 100%;
    margin: 2em 0;
    border-collapse: collapse;
    border: 1px solid rgba(50, 83, 144, 0.2);
}

.page-content th {
    background-color: rgba(50, 83, 144, 0.05);
    color: #325390;
    font-weight: 600;
    border-bottom: 2px solid rgba(50, 83, 144, 0.2);
}

.page-content td,
.page-content th {
    padding: 1em;
    text-align: left;
    border-bottom: 1px solid rgba(50, 83, 144, 0.1);
}

.page-content tbody tr:nth-child(even) {
    background-color: rgba(50, 83, 144, 0.02);
}

/* Стили для планшетов */
@media (min-width: 769px) {
    .page-content table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        max-width: 100%;
    }

    .page-content td,
    .page-content th {
        padding: 0.8em;
        width: 1%;
    }
}

/* Стили для мобильных устройств */
@media (max-width: 768px) {
    .page-content table {
        display: block;
        width: 100%;
        margin: 1em 0;
        border: none;
        background: transparent;
    }

    .page-content table caption {
        display: flex;
        justify-content: center;
    }

    .page-content thead {
        display: none;
    }

    .page-content tbody,
    .page-content tr,
    .page-content td {
        display: block;
        width: 100%;
    }

    .page-content tr {
        margin-bottom: 1em;
        background: #fff;
        border: 1px solid rgba(50, 83, 144, 0.2);
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    }

    .page-content td {
        position: relative;
        padding: 0.8em 1em;
        border-bottom: 1px solid rgba(50, 83, 144, 0.1);
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 2.5em;
    }

    .page-content td:last-child {
        border-bottom: none;
    }

    /* Используем data-header для отображения заголовков */
    .page-content td::before {
        content: attr(data-header);
        font-weight: 600;
        color: #325390;
        padding-right: 1em;
        flex: 1;
        max-width: 40%;
    }

    /* Стили для контента ячейки */
    .page-content td .cell-content {
        flex: 2;
        text-align: right;
    }

    .page-content tr:nth-child(even) {
        background-color: #f8f9fa;
    }

    .page-content td {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
}

/* Дополнительные стили для маленьких экранов */
@media (max-width: 480px) {
    .page-content td {
        padding: 0.7em 1em;
        font-size: 0.9em;
        flex-direction: column;
        align-items: flex-start;
    }

    .page-content td::before {
        margin-bottom: 0.3em;
        max-width: 100%;
    }

    .page-content td .cell-content {
        width: 100%;
        text-align: left;
    }

    .page-content tr {
        margin-bottom: 0.8em;
    }
}

.wp-video {
    margin: 0.8em 0;
}


.feedback-section {
    font-family: Avenir Next Cyr, sans-serif;
    font-style: normal;
    padding: 4rem 0;
    background: #E6F0FB;
}

.feedback-section .homepage-title {
    margin-bottom: 2rem;
}

.feedback-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.feedback-description {
    margin-bottom: 2rem;
    line-height: 1.6;
    color: #474747;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #474747;
}

.required::after {
    content: '*';
    color: #dc3545;
    margin-left: 4px;
}

.form-input {
    width: 100%;
    padding: 12px;
    border: 2px solid #D6DAE9;
    background: #fffdfd;
    transition: border-color 0.3s ease;
    margin-top: 4px;
    border-radius: 0;
}

.form-input:focus {
    outline: none;
    border-color: #325390;
}

.form-input.error {
    border-color: #dc3545;
}

.error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
}

.error-message.visible {
    display: block;
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.form-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 2rem;
}

.btn {
    padding: 12px 24px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-family: 'Avenir Next Cyr', sans-serif;
}

.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-clear {
    background: #2F3654;
    color: #fffdfd;
}

.btn-clear:hover:not(:disabled) {
    background: #505674;
}

.btn-submit {
    background: #325390;
    color: #fffdfd;
}

.btn-submit:hover:not(:disabled) {
    background: #325390BF;
}

.spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid #fffdfd;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.success-message {
    display: none;
    background-color: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.character-count {
    color: #666;
    font-size: 0.875rem;
    text-align: right;
    margin-top: 0.25rem;
}

.hidden-field {
    display: none;
    visibility: hidden;
    position: absolute;
    left: -9999px;
}


/* Стили для секции новостей */
.site-news {
    padding: 4rem 0;
    background-color: #F7F7F9;
}

/* Грид для главной страницы - всегда 3 колонки */
.site-news__grid {
    display: grid;
    gap: 24px;
}

@media (max-width: 991px) {
    .site-news__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .site-news__grid {
        grid-template-columns: 1fr;
    }
}

/* Базовая структура сетки */
.site-news__grid {
    display: grid;
    gap: 24px;
}

.site-news__grid--2-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.site-news__grid--3-columns {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.site-news__grid--4-columns {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.site-news__grid--5-columns {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.site-news--all-news .site-news__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)); /* Всегда 3 колонки по умолчанию */
}

.site-news--all-news {
    background-color: #fffdfd;
    padding: 0;
}

/* Адаптивность для страницы всех новостей */
@media (max-width: 991px) {
    .site-news--all-news .site-news__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .site-news--all-news .site-news__grid {
        grid-template-columns: 1fr;
    }
}

/* Карточка новости */
.site-news__item {
    display: flex;
    flex-direction: column;
    background-color: #fcfcff;
    transition: all 0.3s ease;
    overflow: hidden;
}

.site-news--all-news .site-news__item {
    background-color: #F7F7F9;
}

/* Контейнер для изображения */
.site-news__image-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 100%; /* Строго квадратное соотношение */
    overflow: hidden;
    background-color: #eee;
}

.site-news__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.site-news__grid--2-columns .site-news__image-wrapper,
.site-news__grid--3-columns .site-news__image-wrapper,
.site-news__grid--4-columns .site-news__image-wrapper,
.site-news__grid--5-columns .site-news__image-wrapper {
    padding-bottom: 100%;
    aspect-ratio: 1;
}

.site-news__item:hover .site-news__image {
    transform: scale(1.05);
}

/* Контент карточки */
.site-news__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.5rem 2rem;
}

/* Заголовок */
.site-news__title {
    word-wrap: break-word;
    overflow-wrap: break-word;
    font-size: 20px;
    line-height: 1.4;
    font-weight: 500;
    margin: 0;
}

.site-news__link {
    color: #325390;
    text-decoration: none;
    transition: color 0.3s ease;
    font-family: Montserrat, sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.5;
}

.site-news__link:hover {
    color: #092655;
}

/* Мета-информация */
.site-news__meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;

    color: #666;
    font-family: Montserrat, sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.5;
}

.site-news__date, .site-news__category {
    display: flex;
    align-items: center;
    gap: 6px;
}

.site-news__date img, .site-news__category img {
    width: 16px;
    height: 16px;
}

.site-news__category {
    color: #666;
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-news__category:hover {
    color: #292929;
}

/* Текст новости */
.site-news__summary {
    word-wrap: break-word;
    overflow-wrap: break-word;
    font-family: 'Avenir Next Cyr', sans-serif;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/* Адаптивность */
@media (max-width: 1400px) {
    .site-news__grid--5-columns {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1200px) {
    .site-news__grid--4-columns,
    .site-news__grid--5-columns {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .site-news__grid--3-columns,
    .site-news__grid--4-columns,
    .site-news__grid--5-columns {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .site-news__grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
}

/* Кнопка "Смотреть все" */
.site-news__footer {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    text-align: center;
}
