.post-category-navigation {
    display: flex;
    align-items: center;
    background: var(--primary-dark);
    min-height: 70px;
    padding: 16px 0;
    transition: all 0.3s ease;
}

.post-category-navigation.fixed {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 99;
}

.logged-in .post-category-navigation.fixed {
    top: 32px;
}

.category-navigation {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 32px;
}

.category-navigation nav {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    position: relative;
    gap: 32px;
    scrollbar-width: none;
}

.category-navigation a {
    color: var(--primary-beige);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.375;
    position: relative;
    display: block;
    padding: 8px 0;
}

.category-navigation a:after {
    content: "";
    width: 100%;
    height: 1px;
    background: transparent;
    position: absolute;
    bottom: 0;
    left: 0;
    transition: all 300ms ease-out 0s;
}

.category-navigation a:hover,
.category-navigation a:focus {
    text-decoration: none;
}

.category-navigation a:hover:after,
.category-navigation a.active:after {
    background: var(--primary-sun);
}

.category-posts-slider {
    background: var(--primary-green);
}

.category-posts-slider .swiper-slide {
    overflow: hidden;
}

.post-category-header {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 80px;
    height: 680px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 1;
}

.post-category-header .featured {
    flex: 1 1 0;
    margin-left: calc(-50vw + 50%);
    width: 100vw;
    max-width: none;
    height: 100%;
    display: flex;
    position: relative;
}

.post-category-header .featured img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.post-category-header .content {
    flex: 0 0 auto;
    width: 100%;
    max-width: 420px;
    min-width: 420px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
    padding: 80px 0;
}

.post-category-header article {
    color: var(--primary-white);
    width: 100%;
    max-width: 430px;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
    height: 100%;
}

.post-category-header article .title {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-white);
    line-height: normal;
}

.post-category-header article p {
    margin: 0;
    padding: 0;
}

.post-category-header article .button {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-white);
}

.post-category-header article img.render {
    margin: auto auto 0 auto;
}


.post-category-header .swiper-horizontal > .swiper-pagination-bullets,
.post-category-header .swiper-pagination-bullets.swiper-pagination-horizontal,
.post-category-header .swiper-pagination-custom, .swiper-pagination-fraction {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 24px;
    position: relative;
    bottom: 0;
}

.post-category-header .swiper-pagination-bullet {
    width: 24px;
    height: 24px;
    background: url(../../images/icons/slide-dot.svg);
    display: block;
    margin: 0;
    border-radius: 0;
    opacity: 1;
}

.post-category-header .swiper-pagination-bullet-active {
    background: url(../../images/icons/slide-dot-active.svg);
}

.post-category-entries {
    background: var(--primary-beige);
}

.post-category-entries .entries-wrapper {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.post-category-entries .post-content h3 {
    font-size: 18px;
}

.post-category-entries .community-newsletter {
    min-height: auto;
    margin: 60px 0;
}

.post-category-entries .newsletter-wrapper {
    position: relative;
}

.post-category-pagination {
    padding-top: 60px;
    padding-bottom: 40px;
}

.post-category-pagination .wp-paginate {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.post-category-pagination .wp-paginate a,
.post-category-pagination .wp-paginate span {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0.14px;
    width: 35px;
    height: 38px;
    background: var(--primary-white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.post-category-pagination .wp-paginate a:hover,
.post-category-pagination .wp-paginate span.current {
    color: var(--primary-white);
    background: var(--primary-green-light);
}

.section-no-entries {
    text-align: center;
}

@media (max-width: 1440px) {
    .post-category-header {
        height: 550px;
        gap: 40px;
    }
}

@media (max-width: 1280px) {
    .post-category-header .content {
        padding: 40px 0;
    }

    .post-category-header article .title {
        font-size: 26px;
    }

    .post-category-header .content {
        padding: 40px;
    }
}

@media (max-width: 992px) {
    .logged-in .post-category-navigation.fixed {
        top: 0;
    }

    .post-category-navigation {
        min-height: 50px;
        padding: 8px 0;
    }

    .category-navigation a {
        font-size: 14px;
    }

    .category-posts-slider .container {
        padding: 0;
    }

    .post-category-header {
        flex-direction: column;
        height: auto;
        gap: 0;
    }

    .post-category-header .featured {
        margin-left: 0;
        width: 100%;
    }

    .post-category-header .content {
        max-width: 100%;
        min-width: 100%;
        padding: 40px 24px;
    }

    .post-category-header article {
        max-width: 100%;
    }

    .post-category-header article .title {
        font-size: 24px;
    }

    .post-category-entries .entries-wrapper {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .post-category-entries .post-content h3 {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .post-category-header .featured img {
        height: 330px;
    }

    .post-category-entries .entries-wrapper {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    .category-navigation nav {
        gap: 17px;
    }
}

@media (max-width: 576px) {
    .post-category-navigation .container {
        padding-right: 0;
    }
}