.category-heading {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: clamp(5rem, 9vw, 9rem) var(--page-padding) clamp(3rem, 6vw, 6rem);
}

.category-heading h1 {
    max-width: 1150px;
    margin-bottom: 1.5rem;
    font-size: clamp(4.2rem, 10vw, 10rem);
    font-weight: 400;
    letter-spacing: -0.07em;
    line-height: 0.82;
}

.category-heading > p:last-child {
    max-width: 36rem;
    margin: 0;
    color: var(--color-text-soft);
    font-size: 1.2rem;
}

.category-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1rem, 2vw, 2rem);
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 var(--page-padding) 0;
}

.category-gallery-item {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: linear-gradient(145deg, #d7cec0, #eee8df 52%, #c5b9a8);
}

.category-gallery-item:nth-child(3n + 2) {
    background: linear-gradient(140deg, #cbbdab, #e6ddd1 52%, #b8aa98);
}

.category-gallery-item:nth-child(3n) {
    background: linear-gradient(150deg, #e7e0d7, #cdc4b8 50%, #efeae3);
}

.category-gallery-item span {
    position: absolute;
    right: 1rem;
    bottom: 0.8rem;
    color: rgba(58, 40, 32, 0.45);
    font-size: 0.8rem;
    letter-spacing: 0.08em;
}

@media (max-width: 760px) {
    .category-gallery {
        grid-template-columns: 1fr;
    }

    .category-gallery-item {
        aspect-ratio: 4 / 5;
    }
}
