

/* Start:/local/templates/main/components/bitrix/news.list/certificates/style.css?17913671161984*/
.certificates__gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 328px));
    gap: 32px;
    justify-content: center;
}

.certificates__name {
    font-size: 28px;
    padding: 64px 0 32px;
    font-weight: 500;
    text-align: center;
}

.certificates__gallery a {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-width: 0;
    padding: 16px;
    overflow: hidden;
    border: 1px solid #e1e4e8;
    border-radius: 12px;
    background-color: #f3f5f7;
    box-shadow: 0 8px 24px rgba(20, 24, 32, 0.08);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.certificates__gallery img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 4px;
    background-color: #fff;
}

.certificates__gallery a:focus-visible {
    outline: 3px solid rgba(237, 26, 59, 0.3);
    outline-offset: 3px;
    border-color: #ed1a3b;
    box-shadow: 0 14px 32px rgba(20, 24, 32, 0.16);
    transform: translateY(-6px);
}

@media (hover: hover) {
    .certificates__gallery a:hover {
        border-color: #ed1a3b;
        box-shadow: 0 14px 32px rgba(20, 24, 32, 0.16);
        transform: translateY(-6px);
    }
}

@media (max-width: 991px) {
    .certificates__gallery {
        grid-template-columns: repeat(2, minmax(0, 328px));
        gap: 24px;
    }
}

@media (max-width: 575px) {
    .certificates__name {
        font-size: 24px;
        padding: 48px 0 24px;
    }

    .certificates__gallery {
        grid-template-columns: minmax(0, 328px);
        gap: 20px;
    }

    .certificates__gallery a {
        padding: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .certificates__gallery a {
        transition: none;
    }

    .certificates__gallery a:focus-visible {
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) and (hover: hover) {
    .certificates__gallery a:hover {
        transform: none;
    }
}

/* End */
/* /local/templates/main/components/bitrix/news.list/certificates/style.css?17913671161984 */
