.events-switch {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 33px;
    width: 100%;
    color: #127a8d;
    font-weight: 400;
    font-size: 24px;
    line-height: 100%;
    font-family: "Manrope", sans-serif;
}

.events-switch__btn {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    color: #127a8d;
    text-decoration: none;
}

.events-switch__btn svg {
    display: block;
    transition: transform 0.3s ease;
}

.events-switch__btn:hover svg {
    transform: rotate(30deg);
}

.active-event {
    font-size: 40px;
    text-transform: uppercase;
}

.news-list-section {
    display: flex;
    flex: 1 0 50%;
    flex-direction: column;
    align-items: center;
    gap: 16px 0;
    width: 100%;
    max-width: 1131px;
    color: #262626;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.3;
    font-family: "Manrope", sans-serif;
}

.news-list-section__page-title {
    font-family: "Manrope", sans-serif;
    font-weight: 400;
    font-size: clamp(2rem, 0.51vw + 1.88rem, 2.5rem);
    line-height: 1.3;
    text-transform: uppercase;
    color: #127A8D;
    align-self: flex-start;
}

.news-list-section__item--first-news {
    display: grid;
    grid-template-columns: minmax(340px, 419px) 1fr;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0 56px;
    transition: box-shadow 0.3s ease;
    box-shadow: 0px -2px 9.8px 0px #127a8d29;
    border-radius: 4px;
    background: rgba(244, 250, 253, 1);
    width: 100%;
    color: inherit;
    text-decoration: none;
}

.news-list-section__item {
    display: grid;
    grid-template-columns: 74px 107px minmax(0, 720px) 30px;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0 32px;
    padding: 24px 40px 26px;
    transition: box-shadow 0.3s ease;
    box-shadow: 0px -2px 9.8px 0px #127a8d29;
    border-radius: 4px;
    background: linear-gradient(146.12deg, rgba(255, 255, 255, 0.7744) 54.24%, rgba(255, 255, 255, 0.4224) 97.96%);
    background: linear-gradient(146.12deg, rgba(255, 255, 255, 0.7744) 54.24%, rgba(255, 255, 255, 0.4224) 97.96%);
    width: 100%;
    color: inherit;
    text-decoration: none;
}


.news-list-section__item:hover {
    cursor: pointer;
    outline: 1px solid rgba(18, 122, 141, 1);
    outline-offset: -1px;
    box-shadow: 0px -4px 20px 0px #127a8d29;
    color: inherit;
    text-decoration: none;
}

.news-list-section__item--first-news:hover {
    cursor: pointer;
    outline: 1px solid rgba(18, 122, 141, 1);
    outline-offset: -1px;
    color: inherit;
    text-decoration: none;
    box-shadow: 0px -2px 9.8px 0px rgba(18, 122, 141, 0.16);
}

.news-list-section__item--for-clients {
    background: #f4fafd;
}


.news-list-section__image {
    width: 100%;
    height: 100%;
}

.news-list-section__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.news-list-section__mobile-default-image {
    display: none;
}

.news-list-section__info {
    padding: 24px 56px 90px 0;
    position: relative;
}


/* .news-list-section__datetime {
    display: flex;
    grid-column: 1;
    flex-direction: column;
    gap: 4px;
    max-width: 74px;

} */

.news-list-section__meta {
    display: flex;
    align-items: center;
    gap: 0 53px;
}


.news-list-section__date--first-news {
    font-weight: 400;
    font-size: 20px;
    color: rgba(108, 108, 108, 1);
}

.news-list-section__date {
    display: flex;
    flex-direction: column;
    gap: 0 32px;
    max-width: 74px;
    grid-column: 1;
    font-weight: 400;
    font-size: 16px;
    color: rgba(108, 108, 108, 1);
}

.news-list-section__section-name--first-news {
    font-weight: 400;
    font-size: 20px;
    color: rgba(108, 108, 108, 1);
}

.news-list-section__section-name {
    display: flex;
    flex-direction: column;
    grid-column: 2;
    gap: 0 32px;
    max-width: 107px;
    width: 100%;
    word-break: break-word;
    font-weight: 400;
    font-size: 14px;
    color: rgba(108, 108, 108, 1);
}

/* .events-list__category {
    display: flex;
    grid-column: 2;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    max-width: 88px;
    font-size: 14px;
}

.events-list__category-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
} */

.news-list-section__title--first-news {
    color: rgba(18, 122, 141, 1);
    font-weight: 600;
    font-size: 24px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    margin: 16px 0 8px;
    font-family: "Manrope", sans-serif;
}

.news-list-section__text {
    grid-column: 3;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.news-list-section__title {
    display: flex;
    flex-direction: column;
    grid-column: 3;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    margin: 0;
    margin-bottom: 8px;
    max-width: 720px;
    width: 100%;
    color: rgba(18, 122, 141, 1);
    font-weight: 600;
    font-size: 20px;
    line-height: 1.3;
    font-family: "Manrope", sans-serif;
}

.news-list-section__preview--first-news {
    font-weight: 400;
    font-size: 20px;
    color: rgba(38, 38, 38, 1)
}

.news-list-section__preview {
    font-size: 18px;
    font-weight: 400;
    color: rgba(38, 38, 38, 1)
}

.news-list-section__title-link,
.news-list-section__title-text {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    color: #127a8d;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.3;
    font-family: "Manrope", sans-serif;
    text-decoration: none;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-list-section__title-link:hover {
    text-decoration: none;
}

.events-list__cost {
    grid-column: 4;
    max-width: 83px;
}

.news-list-section__more--first-news {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    position: absolute;
    top: 24px;
    right: 24px;
}

.events-list__more {
    display: flex;
    grid-column: 4;
    justify-content: center;
    align-items: center;
    max-width: 30px;
    height: 30px;
}

.news-list-section__more--first-news,
.events-list__more svg {
    display: block;
    transition: transform 0.3s ease;
}


.news-list-section__item:hover .events-list__more svg,
.news-list-section__item--first-news:hover .news-list-section__more--first-news svg {
    transform: rotate(30deg);
    transition: transform 0.3s ease;
}


/* 
.events-list__more-link {
    display: inline-block;
    transition: transform 0.3s ease;
    line-height: 0;
} */

.news-list-section__more--first-news,
.events-list__more-link svg {
    display: block;
}


.news-list-section__item:visited {
    color: inherit;
    text-decoration: none;
}

.news-list-section__item:focus {
    outline: none;
    color: inherit;
    text-decoration: none;
}

.news-list-section__item:active {
    color: inherit;
    text-decoration: none;
}

.news-list-section__empty {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
}

.news-list-section__empty-text--title {
    color: #82aeb7;
    font-weight: 400;
    font-size: 24px;
    line-height: 130%;
    font-family: "Manrope", sans-serif;
    text-align: left;
    text-transform: uppercase;
}

.news-list-section__empty-text {
    color: #6c6c6c;
    font-weight: 400;
    font-size: 16px;
    line-height: 130%;
    font-family: "Manrope", sans-serif;
    text-align: left;
}

.navigation {
    font-family: "Manrope", sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 100%;
    color: #127a8d;
}

/* Адаптив */
@media (min-width: 768px) and (max-width: 1439px) {
    .news-list-section__item--first-news {
        display: grid;
        grid-template-columns: 1fr;
    }

    .news-list-section__info {
        padding: 24px 20px;
    }

    .news-list-section__section-name {
        grid-area: section-name;
        grid-column: 1;
        max-width: unset;
        font-size: 16px;
    }

    .news-list-section__text {
        width: 100%;
        grid-area: text;
    }

    .events-list__more {
        grid-area: more;
        justify-self: end;
        grid-column: 2;
    }

    .news-list-section__date {
        grid-area: date;
        grid-column: 2;
        max-width: none;
        justify-self: end;
        align-self: flex-start !important;
    }

    .news-list-section__item {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto;
        grid-template-areas:
            "section-name date"
            "text text"
            "more more";
        gap: 16px 32px;
        padding: 20px;
        text-align: left;
    }

    .news-list-section__info {
        padding: unset;
        position: unset;
        padding: 24px 20px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto;
        grid-template-areas:
            "section-name--first-news date--first-news"
            "title--first-news title--first-news"
            "preview--first-news preview--first-news"
            "more--first-news more--first-news";
        align-items: center;
        gap: 16px 42px;
    }

    .news-list-section__section-name--first-news {
        grid-area: section-name--first-news;
        grid-column: 1;
        font-size: 16px;
    }

    .news-list-section__date--first-news {
        grid-area: date--first-news;
        grid-column: 2;
        justify-self: flex-end;
        font-size: 16px;
    }

    .news-list-section__title--first-news {
        grid-area: title--first-news;
        width: 100%;
        font-size: 20px;
    }

    .news-list-section__preview--first-news {
        grid-area: preview--first-news;
        width: 100%;
        font-size: 16px;
    }

    .news-list-section__more--first-news {
        position: unset;
        grid-area: more--first-news;
        justify-self: flex-end;
    }

    .news-list-section__image img {
        border-top-left-radius: 4px;
        border-top-right-radius: 4px;
        border-bottom-left-radius: unset !important;
        border-bottom-right-radius: unset !important;
    }
}

@media (max-width: 767.99px) {
    .news-list-section {
        gap: 10px 0;
    }

    .news-list-section__item {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto;
        grid-template-areas:
            "section-name date"
            "text text"
            "more more";
        align-items: center;
        gap: 16px 30px;
        padding: 20px;
        text-align: left;
    }

    .news-list-section__item--first-news {
        display: grid;
        grid-template-columns: 1fr;
    }

    .news-list-section__info {
        padding: unset;
        position: unset;
        padding: 24px 20px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto;
        grid-template-areas:
            "section-name--first-news date--first-news"
            "title--first-news title--first-news"
            "preview--first-news preview--first-news"
            "more--first-news more--first-news";
        align-items: center;
        gap: 16px 42px;
    }

    .news-list-section__meta {
        display: contents
    }

    .news-list-section__image {
        width: 100%;
        max-width: unset;
    }

    .news-list-section__image img{
        border-top-left-radius: 4px;
        border-top-right-radius: 4px;
        border-bottom-left-radius: unset !important;
        border-bottom-left-radius: unset !important;
    }

    .news-list-section__mobile-default-image {
        display: block;
    }

    .events-list__desk-default-image {
        display: none;
    }

    .news-list-section__text {
        width: 100%;
        grid-area: text;
    }

    .news-list-section__date {
        grid-area: date;
        grid-column: 2;
        max-width: none;
        justify-self: end;
        align-self: flex-start !important;
        font-size: 16px;
    }

    .news-list-section__date--first-news {
        grid-area: date--first-news;
        grid-column: 2;
        justify-self: flex-end;
        font-size: 16px;
    }

    .news-list-section__section-name {
        grid-area: section-name;
        grid-column: 1;
        max-width: unset;
        font-size: 16px;
    }

    .news-list-section__section-name--first-news {
        grid-area: section-name--first-news;
        grid-column: 1;
        font-size: 16px;
    }

    .news-list-section__preview--first-news {
        grid-area: preview--first-news;
        width: 100%;
        font-size: 16px;
    }

    .news-list-section__title {
        max-width: none;
        grid-column: unset;
        width: 100%;
        margin: 0 !important;
        font-size: 20px;
    }

    .news-list-section__title--first-news {
        grid-area: title--first-news;
        width: 100%;
        font-size: 20px;
    }

    .news-list-section__preview {
        max-width: none;
        grid-column: unset;
        width: 100%;
        font-size: 16px;
    }

    .news-list-section__more--first-news {
        position: unset;
        grid-area: more--first-news;
        justify-self: flex-end;
    }

    .events-list__more {
        grid-area: more;
        justify-self: end;
        grid-column: 2;
    }

    .news-list-section__empty-text--title {
        font-size: 20px;
    }
}

@media (min-width: 360px) and (max-width: 767px) {
    .news-list-section__page-title {
        position: absolute;
        top: 22px;
    }
}

@media (max-width: 360px) {
    .news-list-section__image {
        height: 168px;
    }
}