.resources__header__wrapper {
    width: 100%;
    background: #deeaf8;
}

.resources__header {
    width: 1380px;
    max-width: 100%;
    padding: 0 20px;
    display: flex;
    margin: 0 auto;
    overflow-x: auto;
}

.resources__header__wrapper .resources__header__link {
    padding: 12px 53px;
    background: transparent;
    color: #9bb0c7;
    display: inline-block;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 800;
    line-height: 19px;
    transition: 0.3s;
}

.resources__header__wrapper .resources__header__link:hover, .resources__header__wrapper .resources__header__link:focus {
    color: #002855;
}

.resources__header__wrapper .resources__header__link.active {
    background: #002855;
    color: #fff;
}

.resources__top-post {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    background: #f3f3f3;
}

@media (max-width: 1023px) {
    .resources__top-post {
        display: flex;
        flex-direction: column-reverse;
    }
}

.resources__top-post .post-content-wrapper {
    padding-top: 45px;
    padding-bottom: 45px;
}

.resources__top-post .post-content {
    width: 570px;
    max-width: 100%;
    margin-left: auto;
    padding-right: 70px;
    padding-left: 20px;
}

@media (max-width: 1023px) {
    .resources__top-post .post-content {
        margin-left: 0;
        width: 100%;
        padding-right: 20px;
    }
}

.resources__top-post .post-content .category {
    text-transform: uppercase;
    color: #7a7a7a;
    font-size: 12px;
    line-height: 1.5;
    margin-bottom: 10px;
    letter-spacing: 0.12em;
    font-weight: 700;
}

.resources__top-post .post-content .title {
    font-size: 28px;
    line-height: 1.2;
    margin-bottom: 10px;
    font-weight: 800;
    color: #000;
    display: block;
}

.resources__top-post .post-content .place {
    font-size: 13px;
    line-height: 1.5;
    color: #000;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0;
}

.resources__top-post .post-content .time {
    font-size: 13px;
    line-height: 1.5;
    color: #000;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
}

.resources__top-post .post-content .excerpt {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    font-size: 15px;
    line-height: 1.5;
    color: #000;
    margin-bottom: 20px;
}

.resources__top-post .buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.resources__top-post .buttons .register-button {
    background: #006fd0;
    color: #fff;
    font-size: 11px;
    line-height: 1.5;
    font-weight: 600;
    padding: 10px 20px;
}

.resources__top-post .buttons .view-button {
    background: #b2b2b2;
    color: #fff;
    font-size: 11px;
    line-height: 1.5;
    font-weight: 600;
    padding: 10px 20px;
}

.resources__top-post .post-image {
    position: relative;
    min-height: 1px;
}

.resources__top-post .post-image .post-image_box {
    display: block;
    height: 100%;
    position: relative;
}

.label {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    min-width: 120px;
    background: #006fd0;
}

.label__flex {
    display: flex;
    padding: 0 10px;
}

.label .day {
    padding: 14px 14px 0;
    margin-bottom: 0;
    text-align: center;
    text-transform: uppercase;
    color: #fff;
    font-size: 40px;
    font-weight: 800;
    line-height: 1;
}

.label .month {
    margin-bottom: 0;
    text-align: center;
    text-transform: uppercase;
    color: #80b7e7;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.5;
    letter-spacing: 0.12em;
}

.label .year {
    margin-bottom: 0;
    padding-bottom: 14px;
    text-align: center;
    text-transform: uppercase;
    color: #80b7e7;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.5;
    letter-spacing: 0.12em;
}

.label .time {
    background: #fff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #006fd0;
    padding-top: 7px;
    padding-bottom: 7px;
    text-align: center;
    margin-bottom: 0;
}

.resources__top-post .post-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 1023px) {
    .resources__top-post .post-image img {
        position: relative;
        height: 200px;
    }
}

.resources__posts__title {
    max-width: 1140px;
    padding-left: 20px;
    padding-right: 20px;
    margin: 0 auto;
    padding-top: 25px;
}

.resources__posts-wrapper {
    width: 100%;
    max-width: 1140px;
    padding-left: 20px;
    padding-right: 20px;
    margin: 0 auto 55px;
    padding-top: 25px;
}

.resources__posts-wrapper.--past {
    padding-top: 0;
}

.resources__posts-wrapper.--past .post-item a {
    pointer-events: none;
}

.resources__posts-wrapper .post-item {
    display: flex;
    gap: 75px;
    padding-bottom: 40px;
    padding-top: 40px;
}

@media (max-width: 767px) {
    .resources__posts-wrapper .post-item {
        flex-direction: column;
        gap: 20px;
    }
}

.resources__posts-wrapper .post-item:not(:last-child) {
    border-bottom: 1px solid #ababab;
}

.resources__posts-wrapper .post-item .image-link {
    display: block;
    width: 382px;
    max-width: 100%;
    flex-shrink: 0;
    position: relative;
}

@media (max-width: 767px) {
    .resources__posts-wrapper .post-item .image-link {
        width: 100%;
    }
}

.resources__posts-wrapper .post-item img {
    width: 100%;
    aspect-ratio: 1.5;
    object-fit: cover;
    display: block;
}

.resources__posts-wrapper .post-item .post-content .category {
    color: #7a7a7a;
    font-size: 12px;
    line-height: 1.5;
    margin-bottom: 10px;
    letter-spacing: 0.12em;
    font-weight: 700;
    text-transform: uppercase;
}

.resources__posts-wrapper .post-item .post-content .title {
    font-size: 16px;
    line-height: 1.2;
    margin-bottom: 10px;
    font-weight: 800;
    color: #000;
    display: block;
}

.resources__posts-wrapper .post-item .post-content .place {
    font-size: 13px;
    line-height: 1.5;
    color: #000;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0;
}

.resources__posts-wrapper .post-item .post-content .time {
    font-size: 13px;
    line-height: 1.5;
    color: #000;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.resources__posts-wrapper .post-item .post-content .buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.resources__posts-wrapper .post-item .post-content .buttons .register-button {
    background: #006fd0;
    color: #fff;
    font-size: 11px;
    line-height: 1.5;
    font-weight: 600;
    padding: 10px 20px;
    pointer-events: all;
}

.resources__posts-wrapper .post-item .post-content .buttons .view-button {
    background: #b2b2b2;
    color: #fff;
    font-size: 11px;
    line-height: 1.5;
    font-weight: 600;
    padding: 10px 20px;
    pointer-events: all;
}

.resources__posts-wrapper .post-item .post-content .excerpt {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    font-size: 14px;
    line-height: 1.5;
    color: #000;
    margin-bottom: 20px;
}

.load-more-wrapper {
    text-align: center;
}

.load-more-wrapper .load-more {
    border: none;
    color: #646464;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 10px 20px;
    cursor: pointer;
    opacity: .7;
    background: transparent;
    display: block;
    margin: 0 auto 80px;
}

.load-more-wrapper .load-more:hover, .load-more-wrapper .load-more:active, .load-more-wrapper .load-more:focus {
    background: transparent;
}