body.category {
    background-color: #f2f0ef;
}

.category-hero .blog-banner__content {
    gap: 12px;
}

.category-hero__kicker {
    margin: 0;
    font-family: "Familjen Grotesk", sans-serif;
    font-size: 10px;
    font-weight: 400;
    font-style: normal;
    line-height: 1;
    letter-spacing: 0;
    text-transform: uppercase;
    color: #ffffff;
}

.category-hero__title {
    margin: 0;
    font-family: "Familjen Grotesk", sans-serif;
    font-size: 12px;
    font-weight: 700;
    font-style: normal;
    line-height: 1;
    letter-spacing: 0;
    text-transform: uppercase;
    color: #ffffff;
}

.blog-highlights {
    width: 100%;
    background-color: #f2f0ef;
    color: #0a0a0a;
    padding: 48px 0 24px;
}

.blog-highlights__title {
    margin: 0 auto 32px;
    padding: 0 20px;
    max-width: 1280px;
    font-family: "Familjen Grotesk", sans-serif;
    font-size: 12px;
    font-weight: 700;
    font-style: normal;
    line-height: 1;
    letter-spacing: 0;
    text-align: left;
    text-transform: uppercase;
    color: #595959;
}

.blog-highlights__viewport {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.blog-highlights__track {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    will-change: transform;
    transition: transform 0.45s ease;
}

.blog-highlights__slide {
    flex: 0 0 197px;
    width: 197px;
    max-width: 197px;
}

.blog-highlights__link {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.blog-highlights__link:hover .blog-highlights__post-title,
.blog-highlights__link:focus-visible .blog-highlights__post-title {
    opacity: 0.7;
}

.blog-highlights__media {
    display: block;
    width: 197px;
    height: auto;
    max-width: 197px;
    margin: 0 0 16px;
}

.blog-highlights__image {
    display: block;
    width: 197px;
    max-width: 100%;
    height: auto;
    object-fit: unset;
    pointer-events: none;
}

.blog-highlights__kicker {
    margin: 0 0 8px;
    font-family: "Familjen Grotesk", sans-serif;
    font-size: 12px;
    font-weight: 400;
    font-style: normal;
    line-height: 1;
    letter-spacing: 0;
    text-transform: uppercase;
    color: #595959;
}

.blog-highlights__post-title {
    margin: 0;
    font-family: "Familjen Grotesk", sans-serif;
    font-size: 16px;
    font-weight: 400;
    font-style: normal;
    line-height: 32px;
    letter-spacing: 0;
    color: #000000;
}

.blog-highlights__nav {
    position: absolute;
    top: 50%;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    transform: translateY(-50%);
}

.blog-highlights__nav svg {
    display: block;
}

.blog-highlights__nav--prev {
    left: 8px;
}

.blog-highlights__nav--next {
    right: 8px;
}

.blog-highlights__nav:hover,
.blog-highlights__nav:focus-visible {
    opacity: 0.7;
}

.blog-highlights__nav:focus-visible {
    outline: 1px solid #f2f0ef;
    outline-offset: 4px;
}

.category-recent .blog-explore__inner,
.category-trending__inner {
    padding: 48px 20px 80px;
}

.category-recent .blog-posts__popular-title,
.category-trending .blog-posts__popular-title {
    margin: 0 0 24px;
}

.category-trending {
    width: 100%;
    background-color: #f2f0ef;
    color: #0a0a0a;
}

.category-trending__inner {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

.category-trending__grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 100%;
}

.category-trending__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px 16px;
    align-items: start;
    width: 100%;
}

.category-trending .blog-card {
    width: 100%;
    min-width: 0;
}

.category-trending .blog-card--tall {
    grid-column: 1 / -1;
}

.category-trending .blog-card__media,
.category-recent .blog-card__media {
    padding-inline: 0;
    margin-bottom: 24px;
    height: auto;
    aspect-ratio: auto;
    overflow: visible;
}

.category-trending .blog-card__body,
.category-recent .blog-card__body {
    padding: 0;
}

.category-trending .blog-card__image,
.category-recent .blog-card__image {
    width: 100%;
    height: auto;
    object-fit: unset;
}

.category-trending .blog-card--tall .blog-card__media {
    width: 335px;
    max-width: 100%;
    height: auto;
}

.category-trending .blog-card--tall .blog-card__image {
    width: 335px;
    max-width: 100%;
    height: auto;
    object-fit: unset;
}

.category-trending .blog-card:not(.blog-card--tall) .blog-card__media {
    position: relative;
    width: 100%;
    overflow: hidden;
    aspect-ratio: 3 / 4;
}

.category-trending .blog-card:not(.blog-card--tall) .blog-card__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.category-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px 16px;
    margin-top: 48px;
    font-family: "Familjen Grotesk", sans-serif;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: uppercase;
    color: #595959;
}

.category-pagination .page-numbers {
    color: #595959;
    text-decoration: none;
}

.category-pagination .page-numbers.current,
.category-pagination .page-numbers:hover,
.category-pagination .page-numbers:focus-visible {
    color: #0a0a0a;
}

@media (min-width: 1024px) {
    .category-hero .blog-banner__content {
        max-width: 620px;
        padding: 0 40px 72px;
        gap: 16px;
    }

    .blog-highlights {
        padding: 72px 0 40px;
    }

    .blog-highlights__title {
        margin-bottom: 40px;
        padding: 0 20px;
    }

    .blog-highlights__track {
        gap: 24px;
    }

    .blog-highlights__slide {
        flex: 0 0 610px;
        width: 610px;
        max-width: 610px;
    }

    .blog-highlights__media {
        width: 610px;
        height: auto;
        max-width: 610px;
        margin-bottom: 24px;
    }

    .blog-highlights__image {
        width: 610px;
    }

    .blog-highlights__post-title {
        font-size: 24px;
        line-height: 25px;
    }

    .blog-highlights__nav {
        width: 40px;
        height: 40px;
    }

    .blog-highlights__nav--prev {
        left: 16px;
    }

    .blog-highlights__nav--next {
        right: 16px;
    }

    .category-recent .blog-explore__inner,
    .category-trending__inner {
        padding: 72px 20px 100px;
    }

    .category-trending__grid {
        gap: 72px;
    }

    .category-trending__row {
        grid-template-columns: minmax(0, 610px) minmax(0, 1fr) minmax(0, 1fr);
        gap: 40px 24px;
    }

    .category-trending__row--rtl {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 610px);
    }

    .category-trending .blog-card--tall {
        grid-column: 1;
    }

    .category-trending__row--rtl .blog-card--tall {
        grid-column: 3;
    }

    .category-trending .blog-card:not(.blog-card--tall) .blog-card__media {
        width: 100%;
        max-width: none;
        aspect-ratio: 335 / 188;
    }

    .category-recent .blog-card__media {
        position: relative;
        width: 100%;
        height: auto;
        max-width: none;
        overflow: hidden;
        aspect-ratio: 400 / 295;
    }

    .category-recent .blog-card__image {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .category-trending .blog-card--tall .blog-card__media,
    .category-trending .blog-card--tall .blog-card__image {
        width: 610px;
        max-width: 100%;
        height: auto;
    }
}

@media (min-width: 1280px) {
    .category-hero .blog-banner__content {
        padding-left: 48px;
        padding-bottom: 80px;
    }
}
