.content-banner {
    margin-top: 0;
}

.news_page > section,
.events_page > section {
    padding: 50px 0 10px;
}

.news__filter {
    margin-bottom: 50px;
}

.news__filter .search {
    position: relative;
}

.news__filter .txt {
    width: 100%;
    height: 44px;
    padding: 0 16px 0 44px;
    border: 1px solid #d1d6d9;
    border-radius: 4px;
    background: #fff;
    color: #292929;
    font-size: 14px;
    font-weight: 500;
}

.news__filter .sbm {
    position: absolute;
    top: 0;
    left: 0;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    color: #087079;
}

.news__list {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.news__item {
    flex-basis: calc((100% - 64px) / 3);
    border-radius: 0 24px;
    background: #fff;
    box-shadow: 0 4px 30px rgba(0, 0, 0, .1);
    overflow: hidden;
}

.news__image {
    display: block;
    height: 240px;
    border-radius: 0 24px;
    overflow: hidden;
}

.news__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s linear;
}

.news__image:hover img {
    transform: scale(1.1);
}

.news__inner {
    padding: 20px 25px;
    font-size: 16px;
    line-height: 1.3;
}

.news__inner h3 {
    display: -webkit-box;
    height: 60px;
    margin: 0 0 10px;
    color: #292929;
    font-size: 20px;
    line-height: 30px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.news__inner h3 a {
    color: #292929;
}

.news__date,
.events .date {
    display: block;
    margin-bottom: 16px;
    color: #8f8f8f;
    font-size: 12px;
    font-weight: 500;
}

.news__inner p {
    display: -webkit-box;
    margin: 0 0 25px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.news__more {
    color: #087079;
    font-weight: 600;
}

.news__article {
    max-width: 950px;
    margin: 0 auto;
}

.news__article > img,
.events__content > img {
    display: block;
    max-width: 100%;
    margin: 30px auto;
}

.events__sort {
    display: flex;
    margin-bottom: 26px;
}

.events__sort .sort {
    display: flex;
    gap: 16px;
    padding: 4px;
    border: 1px solid #087079;
    border-radius: 28px;
}

.events__sort a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 146px;
    min-height: 48px;
    border-radius: 24px;
    color: #087079;
    font-size: 18px;
    font-weight: 700;
}

.events__sort a.active,
.events__sort a:hover {
    background: #087079;
    color: #fff;
    text-decoration: none;
}

.events__item--row {
    display: flex;
    position: relative;
    align-items: flex-start;
    min-height: 100px;
    margin: 0 0 16px;
    padding: 20px 45px 20px 145px;
    border-radius: 16px 16px 16px 32px;
    background: #efefef;
}

.events__date {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 100%;
    border-radius: 0 32px;
    background: #087079;
    box-shadow: 0 4px 50px rgba(0, 0, 0, .16);
    color: #fff;
    text-align: center;
}

.events__date span {
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
}

.events__date strong {
    font-size: 40px;
    line-height: 1;
}

.events__hold {
    flex: 1;
}

.events__hold h2 {
    margin: 0 0 10px;
    font-size: 22px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.events__hold h2 a {
    color: #292929;
}

.events__item .view {
    position: absolute;
    top: 37px;
    right: 16px;
    color: #087079;
    font-size: 20px;
}

.events__sidebar {
    padding-left: 20px;
}

.events__sub-ttl {
    margin: 0;
    padding: 14px 20px;
    background: #087079;
    color: #fff;
    text-transform: uppercase;
}

.events__box {
    margin-bottom: 25px;
    padding: 22px;
    background: #f4f4f4;
}

.content-pagination {
    display: flex;
    justify-content: center;
    margin-top: 45px;
}

.content-empty {
    padding: 50px 20px;
    background: #f4f4f4;
    text-align: center;
}

.events-calendar__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 30px;
}

.events-calendar__nav {
    display: flex;
    align-items: center;
    gap: 35px;
}

.events-calendar__title {
    min-width: 240px;
    margin: 0;
    color: #087079;
    font-size: 34px;
    text-align: center;
}

.events-calendar__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid #087079;
    border-radius: 50%;
    color: #087079;
}

.events-calendar__arrow:hover {
    background: #087079;
    color: #fff;
    text-decoration: none;
}

.events-calendar__grid {
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
}

.events-calendar__weekdays,
.events-calendar__week {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

.events-calendar__weekday {
    padding: 14px 5px;
    color: #292929;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
}

.events-calendar__week {
    position: relative;
    min-height: 145px;
    border-top: 1px solid #e7e7e7;
}

.events-calendar__day {
    grid-row: 1 / -1;
    padding: 12px 9px;
    border-left: 1px solid #e7e7e7;
}

.events-calendar__day:first-child {
    border-left: 0;
}

.events-calendar__day.is-muted {
    background: #fafafa;
    color: #aaa;
}

.events-calendar__day.is-today {
    box-shadow: inset 0 0 0 2px rgba(8, 112, 121, .25);
}

.events-calendar__date {
    display: block;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
}

.events-calendar__event-bar {
    position: relative;
    z-index: 2;
    align-self: center;
    min-width: 0;
    height: 22px;
    margin: 0 4px;
    padding: 0 8px;
    border-radius: 3px;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 22px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.events-calendar__event-bar:hover {
    color: #fff;
    filter: brightness(.85);
    text-decoration: none;
}

@media (max-width: 767px) {
    .news_page > section,
    .events_page > section {
        padding: 45px 0;
    }

    .news__item {
        flex-basis: calc((100% - 32px) / 2);
    }

    .news__image {
        display: block;
        min-height: 220px;
    }

    .news__inner {
        padding: 25px;
    }

    .events__sort .sort {
        width: 100%;
        gap: 4px;
    }

    .events__sort a {
        flex: 1;
        width: auto;
        min-width: 0;
        font-size: 14px;
    }

    .events__item--row {
        padding-left: 105px;
    }

    .events__date {
        width: 90px;
    }

    .events__hold h2 {
        font-size: 18px;
    }

    .events__sidebar {
        margin-top: 40px;
        padding-left: 0;
    }

    .events-calendar {
        overflow-x: auto;
    }

    .events-calendar__header {
        align-items: stretch;
        flex-direction: column;
    }

    .events-calendar__nav {
        justify-content: space-between;
    }

    .events-calendar__title {
        min-width: 0;
        font-size: 24px;
    }

    .events-calendar__grid {
        min-width: 700px;
    }
}

@media (max-width: 575px) {
    .news__item {
        flex-basis: 100%;
    }

    .news__image {
        height: 240px;
    }
}
