/* ============================================================
   NTM Blog — Categories filter

   Light section. Centered eyebrow + serif headline with italic
   teal accent, then a center-aligned wrap of pill buttons.
   "All Articles" pill is dark/active; the rest sit as soft
   cream chips that hover to teal.
   ============================================================ */

.ntm-blog-categories {
    background-color: var(--ntm-bg-page, #f6f3ef);
    color: var(--ntm-ink, #14323a);
    padding: clamp(56px, 7vw, 112px) clamp(24px, 5vw, 64px) clamp(28px, 4vw, 56px);
}

.ntm-blog-categories__inner {
    max-width: var(--ntm-container-max, 1392px);
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: clamp(20px, 2.4vw, 32px);
}

.ntm-blog-categories__eyebrow {
    margin: 0;
    font-family: var(--ntm-font-sans);
    font-weight: 600;
    font-size: clamp(0.75rem, 0.85vw, 0.9rem);
    line-height: 1;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ntm-accent-teal);
}

.ntm-blog-categories__title {
    margin: 0;
    font-family: var(--ntm-font-serif);
    font-weight: 400;
    font-size: clamp(2rem, 3.6vw, 3rem);
    line-height: 1.15;
    color: var(--ntm-ink, #14323a);
}

.ntm-blog-categories__title-roman {
    font-style: normal;
}

.ntm-blog-categories__title-italic {
    font-style: italic;
    color: var(--ntm-accent-teal);
    margin-left: 0.18em;
}

.ntm-blog-categories__list {
    list-style: none;
    margin: clamp(8px, 1vw, 16px) auto 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(8px, 0.9vw, 12px);
    max-width: 880px;
}

.ntm-blog-categories__chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: clamp(10px, 0.9vw, 12px) clamp(16px, 1.4vw, 22px);
    font-family: var(--ntm-font-sans);
    font-weight: 600;
    font-size: clamp(0.7rem, 0.78vw, 0.8rem);
    line-height: 1;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ntm-ink, #14323a);
    background-color: #ffffff;
    border: 1px solid rgba(20, 50, 58, 0.12);
    text-decoration: none;
    transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
    white-space: nowrap;
}

.ntm-blog-categories__chip:hover,
.ntm-blog-categories__chip:focus-visible {
    background-color: var(--ntm-accent-teal);
    border-color: var(--ntm-accent-teal);
    color: #ffffff;
}

.ntm-blog-categories__chip--active {
    background-color: #161616;
    border-color: #161616;
    color: #ffffff;
}

.ntm-blog-categories__chip--active:hover,
.ntm-blog-categories__chip--active:focus-visible {
    background-color: #161616;
    border-color: #161616;
    color: #ffffff;
    opacity: 0.92;
}
