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

.resources__header {
    width: 1300px;
    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 {
    background: #f3f3f3;
}

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

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

@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 .excerpt {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    font-size: 15px;
    line-height: 1.5;
    color: #000;
    margin-bottom: 20px;
}

.resources__top-post .post-content .button {
    background: #7b7b7b;
    color: #fff;
    font-size: 11px;
    line-height: 1.5;
    font-weight: 600;
    padding: 10px 42px;
    cursor: pointer;
}

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

.resources__posts-wrapper .post-item:has(.post-thumbnail) {
    display: flex;
    gap: 20px;
}

.resources__posts-wrapper .post-thumbnail {
    width: 150px;
    aspect-ratio: 5/3;
    overflow: hidden;
    flex: none;
}

.resources__posts-wrapper .post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 576px) {
    .resources__posts-wrapper .post-item:has(.post-thumbnail) {
        flex-direction: column;
    }

    .resources__posts-wrapper .post-thumbnail {
        width: 100%;
    }
}

.resources__posts-wrapper .counter {
    padding-top: 45px;
    padding-bottom: 45px;
    font-size: 14px;
    line-height: 1.5;
    color: #7a7a7a;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.resources__posts-wrapper .post-item {
    border-bottom: 1px solid #dedede;
    padding-top: 20px;
    padding-bottom: 20px;
}

.resources__posts-wrapper .post-item .post-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

@media (max-width: 576px) {
    .resources__posts-wrapper .post-item .post-content {
        flex-direction: column;
        align-items: flex-start;
    }
}

.resources__posts-wrapper .post-item .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 .excerpt {
    font-weight: 400;
}

.resources__posts-wrapper .post-item .post-content .button {
    flex-shrink: 0;
    background: #7b7b7b;
    color: #fff;
    font-size: 11px;
    line-height: 1.5;
    font-weight: 600;
    padding: 10px 42px;
    cursor: pointer;
}

.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;
}