.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 {
    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 .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 .author-name {
    margin-bottom: 0;
    font-size: 11px;
    line-height: 1.5;
    color: #000;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

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


.resources__top-post .author-wrapper {
    display: flex;
    gap: 20px;
    align-items: center;
}

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

.resources__top-post .post-image a {
    display: block;
    height: 100%;
}

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

.filters-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
    max-width: 1140px;
    padding-left: 20px;
    padding-right: 20px;
    margin: 40px auto;
}

@media (max-width: 768px) {
    .filters-wrapper {
        grid-template-columns: 1fr;
    }
}

.filters-wrapper .blog-search-wrapper {
    position: relative;
    grid-column: span 2;
}

@media (max-width: 768px) {
    .filters-wrapper .blog-search-wrapper {
        grid-column: span 1;
    }
}

.filters-wrapper .blog-search-wrapper:before {
    position: absolute;
    top: 10px;
    left: 14px;
    content: '';
    background-image: url("data:image/svg+xml,%3Csvg width='22' height='22' viewBox='0 0 22 22' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M17.9667 19.25L12.1917 13.475C11.7333 13.8417 11.2063 14.1319 10.6104 14.3458C10.0146 14.5597 9.38056 14.6667 8.70833 14.6667C7.04306 14.6667 5.63368 14.0899 4.48021 12.9365C3.32674 11.783 2.75 10.3736 2.75 8.70833C2.75 7.04306 3.32674 5.63368 4.48021 4.48021C5.63368 3.32674 7.04306 2.75 8.70833 2.75C10.3736 2.75 11.783 3.32674 12.9365 4.48021C14.0899 5.63368 14.6667 7.04306 14.6667 8.70833C14.6667 9.38056 14.5597 10.0146 14.3458 10.6104C14.1319 11.2063 13.8417 11.7333 13.475 12.1917L19.25 17.9667L17.9667 19.25ZM8.70833 12.8333C9.85417 12.8333 10.8281 12.4323 11.6302 11.6302C12.4323 10.8281 12.8333 9.85417 12.8333 8.70833C12.8333 7.5625 12.4323 6.58854 11.6302 5.78646C10.8281 4.98438 9.85417 4.58333 8.70833 4.58333C7.5625 4.58333 6.58854 4.98438 5.78646 5.78646C4.98438 6.58854 4.58333 7.5625 4.58333 8.70833C4.58333 9.85417 4.98438 10.8281 5.78646 11.6302C6.58854 12.4323 7.5625 12.8333 8.70833 12.8333Z' fill='%23979797'/%3E%3C/svg%3E%0A");
    width: 22px;
    height: 22px;
}

.filters-wrapper .filter-search {
    background: #f8f8f8;
    border: none;
    padding-left: 55px;
    padding-right: 20px;
}

.filters-wrapper .filter-category {
    grid-column: span 1;
    background: #f8f8f8;
    border: none;
    position: relative;
}

.resources__posts-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px 30px;
    width: 100%;
    max-width: 1140px;
    padding-left: 20px;
    padding-right: 20px;
    margin: 0 auto 55px;
}

@media (max-width: 768px) {
    .resources__posts-wrapper {
        grid-template-columns: 1fr;
    }
}

.resources__posts-wrapper .post-item {
    background: #f3f3f3;
}

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

.resources__posts-wrapper .post-item .post-content {
    padding: 30px;
}

.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 .author {
    color: #000;
    font-size: 12px;
    line-height: 1.5;
    margin-bottom: 10px;
    font-weight: 600;
}

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

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