/* Naver Collection-style category links: centered, airy, muted gray text links. */

.category-text-links {
    text-align: center;
}

/* Equal visible whitespace above (green section edge) and below (next section's
   padding-top). The extra .container specificity beats the global container
   padding-block variable. Next section owns the bottom gap, so bottom is 0. */
section.category-text-links.container {
    padding-block: 40px 0;
}

.category-text-links__headline {
    font-size: 28px;
    font-weight: 500;
    color: #101213;
    margin: 0 0 28px;
    line-height: 1.1;
}

.category-text-links__list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 900px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 32px;
}

.category-text-links__item {
    display: flex;
    align-items: center;
}

.category-text-links__link {
    font-size: 17px;
    font-weight: 400;
    color: #6b6b6b;
    text-decoration: none;
    transition: color 0.2s;
}

.category-text-links__link:hover {
    color: #8c4d15;
}

@media (min-width: 770px) {
    section.category-text-links.container {
        padding-block: 64px 0;
    }

    .category-text-links__headline {
        font-size: 44px;
        margin: 0 0 40px;
    }

    .category-text-links__list {
        gap: 14px 40px;
    }

    .category-text-links__link {
        font-size: 18px;
    }
}
