

/* Start:/local/templates/.default/components/bitrix/news/last_events/bitrix/news.detail/.default/style.css?17486147962302*/

.last-events__container{
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px 100px -10px;
}
.last-events__item{
    display: flex;
    flex-direction: column;
    margin: 20px 10px 0 10px;
    width: calc(32.49% - 10px);
    box-shadow: 0px 4px 20px rgba(0, 90, 170, 0.08);
    border-radius: 8px;
    overflow: hidden;
}
.last-events__item:hover {
    cursor: pointer;
}
.last-events__img{
    height: 230px;
}
.last-events__img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.last-events__title{
    margin: 0 15px 3px 15px;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    flex: 1 1 auto;
}
.last-events__text{
    flex: 1 1 auto;
    padding: 0 20px 0 10px;
    visibility: hidden;
    opacity: 0;
    transition: 0.4s ease;
    font-weight: 500;
}
.last-events__link{
    display: block;
    font-size: 16px;
    margin: 0 15px 24px 15px;
    text-transform: uppercase;
}
.last-events__body{
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    margin: 80px 10px 0 10px;
    width: calc(32.49% - 10px);
    color: #fff;
    transition: 0.4s ease;
    user-select: none;
    cursor: pointer;
}
.last-events__line{
    border-bottom: 2px solid #ffffff;
    width: 50px;
    transition: 0.4s ease;
}


@media (max-width: 1200px) {
    .last-events__item{
        width: calc(32.4% - 10px) !important;
    }
    .last-events__body{
        width: calc(32.4% - 10px) !important;
    }

}
@media (max-width: 1100px) {
    .last-events__item {
        width: calc(32.34% - 10px) !important;
    }
    .last-events__body {
        width: calc(32.34% - 10px) !important;
    }
}
@media (max-width: 1024px) {
    .last-events__item{
        width: calc(32.2% - 10px) !important;
    }
    .last-events__body{
        width: calc(32.2% - 10px) !important;
    }
}
@media (max-width: 900px) {
    .last-events__container {
        margin-bottom: 50px !important;
    }
    .last-events__item {
        width: calc(48.3% - 10px) !important;
    }
    .last-events__body {
        width: calc(48.3% - 10px) !important;
    }
}
@media (max-width: 600px) {
    .last-events__item {
        width: calc(100% - 10px) !important;
    }
    .last-events__body {
        width: calc(90% - 10px) !important;
    }
}

/* End */
/* /local/templates/.default/components/bitrix/news/last_events/bitrix/news.detail/.default/style.css?17486147962302 */
