/* Salas Forum — estilos alineados con el tema salas-travel (Archivo, azul #001e4e, rojo #a4270b, amarillo #facc15). */

.stf {
    --stf-navy: #001e4e;
    --stf-red: #a4270b;
    --stf-red-dark: #86200a;
    --stf-yellow: #facc15;
    --stf-text: #111827;
    --stf-muted: #6b7280;
    --stf-subtle: #9ca3af;
    --stf-border: #e5e7eb;
    --stf-bg: #f9fafb;
    --stf-card: #ffffff;
    --stf-radius: 16px;
    --stf-shadow: 0 10px 30px rgba(0, 30, 78, 0.06);
    /* Altura del header fijo del tema (forum.js la ajusta al valor real). */
    --stf-header: 57px;

    background: var(--stf-bg);
    color: var(--stf-text);
    font-family: 'Archivo', system-ui, sans-serif;
    padding: 0 0 5rem;
    min-height: 70vh;
}

@media (min-width: 768px) {
    .stf { --stf-header: 65px; }
}

@media (min-width: 1025px) {
    .stf { --stf-header: 122px; }
}

.stf *,
.stf *::before,
.stf *::after { box-sizing: border-box; }

.stf a { color: inherit; text-decoration: none; }

.stf-container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ---------- Hero ---------- */

/* El hero empieza bajo el header fijo; su padding superior reserva ese alto más aire propio. */
.stf-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    padding: calc(var(--stf-header) + 3rem) 0 3rem;
    margin-bottom: 2.5rem;
    background-color: var(--stf-navy);
    background-image:
        linear-gradient(100deg, rgba(0, 30, 78, 0.96) 0%, rgba(0, 30, 78, 0.86) 45%, rgba(0, 30, 78, 0.35) 100%),
        var(--stf-hero-img, linear-gradient(135deg, #001e4e 0%, #0a2f6b 100%));
    background-size: cover;
    background-position: center 40%;
}

/* Remate amarillo inferior, como el subrayado de los títulos del tema. */
.stf-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--stf-yellow) 0 12%, transparent 12%);
}

.stf-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 3rem;
}

.stf-hero__content { max-width: 44rem; }

.stf-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--stf-yellow) !important;
    margin: 0 0 0.9rem;
}

.stf-eyebrow--link:hover { text-decoration: underline !important; }

.stf-hero__title {
    font-size: clamp(2.1rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.025em;
    margin: 0;
    color: #fff;
    text-wrap: balance;
}

.stf-bar {
    width: 64px;
    height: 4px;
    background: var(--stf-yellow);
    margin-top: 1.1rem;
}

.stf-hero__intro {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 36rem;
    margin: 1.25rem 0 0;
    line-height: 1.6;
}

.stf-hero__search {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    max-width: 36rem;
    margin: 2rem 0 0;
    padding: 6px 6px 6px 3rem;
    background: #fff;
    border-radius: 999px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}

.stf-hero__search > i {
    position: absolute;
    left: 1.15rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: var(--stf-subtle);
    pointer-events: none;
}

.stf-hero__search input {
    flex: 1;
    min-width: 0;
    height: 44px;
    border: 0;
    background: transparent;
    font: inherit;
    font-size: 1rem;
    color: var(--stf-text);
}

.stf-hero__search input:focus { outline: none; }
.stf-hero__search:focus-within { box-shadow: 0 0 0 3px var(--stf-yellow), 0 18px 40px rgba(0, 0, 0, 0.25); }

.stf-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.5rem;
    margin-top: 1.5rem;
}

.stf-hero__hint {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
}

.stf-hero__hint i { font-size: 1.1rem; color: var(--stf-yellow); }

.stf-hero__stats {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    list-style: none;
    margin: 0;
    padding: 0;
    min-width: 220px;
}

.stf-hero__stats li {
    display: grid;
    grid-template-columns: 44px 1fr;
    grid-template-rows: auto auto;
    column-gap: 0.85rem;
    align-items: center;
    padding: 0.9rem 1.1rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(6px);
}

.stf-hero__stats i {
    grid-row: span 2;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(250, 204, 21, 0.15);
    color: var(--stf-yellow);
    font-size: 1.35rem;
}

.stf-hero__stats strong { font-size: 1.5rem; font-weight: 800; line-height: 1.1; }
.stf-hero__stats span { font-size: 0.8rem; color: rgba(255, 255, 255, 0.72); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; }

/* ---------- Botones ---------- */

.stf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 44px;
    padding: 0 1.25rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.stf-btn i { font-size: 1.15rem; }
.stf-btn:focus-visible { outline: 3px solid var(--stf-yellow); outline-offset: 2px; }

.stf-btn--primary { background: var(--stf-red); color: #fff !important; }
.stf-btn--primary:hover { background: var(--stf-red-dark); }
.stf-btn--primary[disabled] { opacity: 0.7; cursor: progress; }

.stf-btn--ghost { background: transparent; color: var(--stf-muted); }
.stf-btn--ghost:hover { color: var(--stf-navy); background: #f3f4f6; }

.stf-btn--navy { background: var(--stf-navy); color: #fff !important; }
.stf-btn--navy:hover { background: var(--stf-red); }

.stf-btn--light { background: #fff; color: var(--stf-navy) !important; }
.stf-btn--light:hover { background: var(--stf-yellow); }

.stf-btn--block { display: flex; width: 100%; }

.stf-icon-btn {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 0;
    background: transparent;
    color: var(--stf-muted);
    font-size: 1.25rem;
    cursor: pointer;
}

.stf-icon-btn:hover { background: #f3f4f6; color: var(--stf-navy); }

/* ---------- Layout ---------- */

.stf-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
}

.stf-layout--single { grid-template-columns: minmax(0, 1fr) 300px; }

.stf-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: sticky;
    top: calc(var(--stf-header) + 24px);
}

.stf-card {
    background: var(--stf-card);
    border-radius: var(--stf-radius);
    box-shadow: var(--stf-shadow);
    border: 1px solid rgba(0, 30, 78, 0.05);
}

.stf-sidebar__title {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--stf-muted);
    margin: 0 0 0.75rem;
}

/* ---------- Categorías ---------- */

.stf-cats { padding: 1.25rem; }
.stf-cats ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }

.stf-cats a {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.6rem 0.75rem;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--stf-text);
    transition: background-color 0.2s, color 0.2s;
}

.stf-cats a i { font-size: 1.2rem; color: var(--stf-muted); }
.stf-cats a span { flex: 1; }
.stf-cats a em { font-style: normal; font-size: 0.8rem; color: var(--stf-subtle); font-weight: 600; }
.stf-cats a:hover { background: #f3f4f6; }

.stf-cats a.is-active { background: var(--stf-navy); color: #fff; }
.stf-cats a.is-active i,
.stf-cats a.is-active em { color: var(--stf-yellow); }

/* ---------- Normas y promo ---------- */

.stf-guidelines { padding: 1.25rem; }
.stf-guidelines ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.stf-guidelines li { display: flex; gap: 0.5rem; font-size: 0.9rem; color: var(--stf-muted); line-height: 1.45; }
.stf-guidelines li i { color: #16a34a; margin-top: 0.15rem; }

.stf-promo {
    padding: 1.5rem;
    background: linear-gradient(160deg, var(--stf-navy), #0a2f6b);
    color: #fff;
}

.stf-promo > i { font-size: 2rem; color: var(--stf-yellow); }
.stf-promo .stf-sidebar__title { color: #fff; font-size: 1.05rem; letter-spacing: 0; text-transform: none; margin: 0.5rem 0 0.35rem; }
.stf-promo p { color: rgba(255, 255, 255, 0.78); font-size: 0.9rem; margin: 0 0 1rem; line-height: 1.5; }

/* ---------- Lista de temas ---------- */

.stf-results-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--stf-navy);
}

.stf-results-bar p { margin: 0; }
.stf-results-bar a { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.875rem; color: var(--stf-red); }

.stf-topics { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.85rem; }

.stf-topic {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.25rem 1.5rem;
    background: var(--stf-card);
    border-radius: var(--stf-radius);
    box-shadow: var(--stf-shadow);
    border: 1px solid rgba(0, 30, 78, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.stf-topic:hover { transform: translateY(-2px); box-shadow: 0 15px 40px rgba(0, 30, 78, 0.1); }
.stf-topic.is-pinned { border-left: 4px solid var(--stf-yellow); }

.stf-topic__body { flex: 1; min-width: 0; }

.stf-topic__tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.5rem; }

.stf-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    background: #fdf2ef;
    color: var(--stf-red) !important;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

a.stf-tag:hover { background: var(--stf-red); color: #fff !important; }
.stf-tag--pinned { background: #fef9c3; color: #854d0e !important; }
.stf-tag--muted { background: #f3f4f6; color: var(--stf-muted) !important; }

.stf-topic__title {
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.3;
    color: var(--stf-navy);
    margin: 0 0 0.35rem;
}

.stf-topic__title a { transition: color 0.2s; }
.stf-topic__title a:hover { color: var(--stf-red); }

.stf-topic__excerpt {
    margin: 0 0 0.6rem;
    font-size: 0.95rem;
    color: var(--stf-muted);
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.stf-topic__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0;
    font-size: 0.8rem;
    color: var(--stf-subtle);
}

.stf-topic__count {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 64px;
    padding: 0.6rem 0.5rem;
    border-radius: 12px;
    background: #eef2f9;
    color: var(--stf-navy) !important;
    align-self: center;
    transition: background-color 0.2s;
}

.stf-topic__count i { font-size: 1.2rem; }
.stf-topic__count strong { font-size: 1.05rem; line-height: 1.2; }
.stf-topic__count.is-empty { background: #f3f4f6; color: var(--stf-subtle) !important; }
.stf-topic__count:hover { background: var(--stf-navy); color: #fff !important; }

/* ---------- Avatares ---------- */

.stf-avatar {
    --stf-avatar-hue: 215;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: hsl(var(--stf-avatar-hue) 55% 92%);
    color: hsl(var(--stf-avatar-hue) 55% 28%);
    font-weight: 800;
    letter-spacing: 0.02em;
}

.stf-avatar--md { width: 44px; height: 44px; font-size: 0.95rem; }
.stf-avatar--lg { width: 52px; height: 52px; font-size: 1.05rem; }
.stf-avatar--staff { background: var(--stf-navy); color: var(--stf-yellow); }

/* ---------- Paginación ---------- */

.stf-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 2.5rem; font-weight: 600; }

.stf-pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 10px;
    border-radius: 10px;
    background: #fff;
    color: var(--stf-navy);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 30, 78, 0.1);
    transition: all 0.2s;
}

.stf-pagination .page-numbers.current,
.stf-pagination a.page-numbers:hover { background: var(--stf-navy); color: #fff; border-color: var(--stf-navy); }

/* ---------- Vacío y avisos ---------- */

.stf-empty {
    text-align: center;
    padding: 4rem 2rem;
    background: #fff;
    border-radius: 20px;
    box-shadow: var(--stf-shadow);
}

.stf-empty > i { font-size: 3.5rem; color: #d1d5db; display: block; margin-bottom: 0.75rem; }
.stf-empty h2 { font-size: 1.4rem; font-weight: 800; color: var(--stf-navy); margin: 0 0 0.5rem; }
.stf-empty p { color: var(--stf-muted); margin: 0 0 1.5rem; }

.stf-notice {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-weight: 600;
    line-height: 1.5;
}

.stf-notice i { font-size: 1.4rem; flex-shrink: 0; }
.stf-notice p { margin: 0; }
.stf-notice--success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.stf-notice--error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* ---------- Formularios ---------- */

.stf-compose { display: none; margin-bottom: 2rem; scroll-margin-top: calc(var(--stf-header) + 24px); }
.stf-compose.is-open,
.stf-compose:target { display: block; }

.stf-form-card { padding: 1.75rem; scroll-margin-top: calc(var(--stf-header) + 24px); }

.stf-form-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.stf-form-card__head h2 { font-size: 1.35rem; font-weight: 800; color: var(--stf-navy); margin: 0; }

.stf-form { display: flex; flex-direction: column; gap: 1.1rem; margin: 0; }

.stf-field { display: flex; flex-direction: column; gap: 0.4rem; min-width: 0; }
.stf-field label { font-size: 0.875rem; font-weight: 700; color: var(--stf-navy); }
.stf-field label span { color: var(--stf-red); }
.stf-field small { font-size: 0.78rem; color: var(--stf-subtle); }

.stf-field input,
.stf-field select,
.stf-field textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--stf-border);
    border-radius: 12px;
    background: #fff;
    font: inherit;
    font-size: 1rem;
    color: var(--stf-text);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.stf-field textarea { resize: vertical; min-height: 140px; line-height: 1.55; }

.stf-field input:focus,
.stf-field select:focus,
.stf-field textarea:focus { outline: none; border-color: var(--stf-navy); box-shadow: 0 0 0 3px rgba(0, 30, 78, 0.12); }

.stf-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.stf-check { display: inline-flex; align-items: center; gap: 0.6rem; font-size: 0.9rem; color: var(--stf-text); cursor: pointer; }
.stf-check input { width: 18px; height: 18px; accent-color: var(--stf-red); }

.stf-posting-as { display: flex; align-items: center; gap: 0.4rem; margin: 0; font-size: 0.9rem; color: var(--stf-muted); }
.stf-posting-as i { font-size: 1.2rem; }

.stf-form__footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1.1rem;
    border-top: 1px solid #f3f4f6;
}

.stf-form__note { display: flex; gap: 0.4rem; align-items: center; margin: 0; font-size: 0.82rem; color: var(--stf-muted); flex: 1 1 260px; }
.stf-form__note i { font-size: 1.1rem; color: #16a34a; }
.stf-form__buttons { display: flex; gap: 0.5rem; margin-left: auto; }

/* Campo trampa para bots: fuera de la vista pero no display:none. */
.stf-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Tema individual ---------- */

.stf--single { padding-top: calc(var(--stf-header) + 2rem); }

.stf-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--stf-muted);
}

.stf-breadcrumb a { display: inline-flex; align-items: center; gap: 0.35rem; }
.stf-breadcrumb a:hover { color: var(--stf-red); }
.stf-breadcrumb > i { font-size: 0.8rem; color: var(--stf-subtle); }

.stf-post { padding: 1.75rem; }
.stf-post--topic { padding: 2.25rem; }

.stf-post__title {
    font-size: clamp(1.6rem, 3.5vw, 2.25rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.015em;
    color: var(--stf-navy);
    margin: 0.25rem 0 1.25rem;
}

.stf-byline { display: flex; align-items: center; gap: 0.85rem; }
.stf-byline > div { display: flex; flex-wrap: wrap; align-items: center; gap: 0.2rem 0.6rem; }
.stf-byline strong { font-weight: 800; color: var(--stf-text); }
.stf-byline time { font-size: 0.85rem; color: var(--stf-subtle); }
.stf-permalink:hover time { color: var(--stf-red); }

.stf-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    background: var(--stf-navy);
    color: var(--stf-yellow);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.stf-post__content {
    margin-top: 1.25rem;
    font-size: 1.02rem;
    line-height: 1.75;
    color: #374151;
    overflow-wrap: anywhere;
}

.stf-post--topic .stf-post__content { padding-top: 1.25rem; border-top: 1px solid #f3f4f6; }
.stf-post__content p { margin: 0 0 1em; }
.stf-post__content p:last-child { margin-bottom: 0; }
.stf-post__content a { color: var(--stf-red); text-decoration: underline; }

.stf-replies { margin: 2.5rem 0 2rem; scroll-margin-top: calc(var(--stf-header) + 24px); }

.stf-section-title { font-size: 1.25rem; font-weight: 800; color: var(--stf-navy); margin: 0 0 1rem; }

.stf-reply-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.85rem; }
.stf-post--reply { scroll-margin-top: calc(var(--stf-header) + 24px); }
.stf-post--reply .stf-post__content { margin-top: 0.85rem; padding-left: calc(44px + 0.85rem); }
.stf-post--reply.is-staff { border-left: 4px solid var(--stf-navy); }
.stf-post--reply:target { box-shadow: 0 0 0 3px var(--stf-yellow), var(--stf-shadow); }

.stf-replies__empty {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    padding: 1.5rem;
    border: 2px dashed var(--stf-border);
    border-radius: var(--stf-radius);
    color: var(--stf-muted);
}

.stf-replies__empty i { font-size: 1.4rem; }

.stf-closed { display: flex; align-items: center; gap: 0.5rem; margin: 0; color: var(--stf-muted); font-weight: 600; }

/* ---------- Responsive ---------- */

@media (max-width: 1023px) {
    .stf-layout,
    .stf-layout--single { grid-template-columns: minmax(0, 1fr); }
    .stf-sidebar { position: static; }
    .stf-layout:not(.stf-layout--single) .stf-sidebar { order: 0; }
    .stf-guidelines { display: none; }
    .stf-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
    .stf-hero__stats { flex-direction: row; min-width: 0; }
    .stf-hero__stats li { flex: 1; }
}

@media (max-width: 767px) {
    .stf--single { padding-top: calc(var(--stf-header) + 1.25rem); }
    .stf-container { padding: 0 1rem; }
    .stf-hero { padding: calc(var(--stf-header) + 2rem) 0 2rem; margin-bottom: 1.5rem; background-position: 65% center; }
    .stf-hero__search { margin-top: 1.5rem; padding-left: 2.6rem; }
    .stf-hero__search > i { left: 1rem; }
    .stf-hero__search .stf-btn { padding: 0 1rem; }
    .stf-hero__actions { gap: 0.75rem 1rem; }
    .stf-hero__stats { gap: 0.5rem; }
    .stf-hero__stats li { grid-template-columns: 1fr; text-align: center; padding: 0.75rem 0.5rem; }
    .stf-hero__stats i { display: none; }
    .stf-hero__stats strong { font-size: 1.25rem; }
    .stf-hero__stats span { font-size: 0.68rem; letter-spacing: 0.04em; }
    .stf-topic { padding: 1rem; gap: 0.75rem; }
    .stf-topic .stf-avatar { display: none; }
    .stf-topic__count { min-width: 52px; }
    .stf-post,
    .stf-post--topic,
    .stf-form-card { padding: 1.25rem; }
    .stf-post--reply .stf-post__content { padding-left: 0; }
    .stf-field-row { grid-template-columns: 1fr; }
    .stf-form__buttons { width: 100%; }
    .stf-form__buttons .stf-btn--primary { flex: 1; }
    .stf-cats ul { flex-direction: row; overflow-x: auto; gap: 0.4rem; padding-bottom: 0.25rem; }
    .stf-cats a { white-space: nowrap; border: 1px solid var(--stf-border); border-radius: 999px; padding: 0.45rem 0.85rem; }
    .stf-cats a.is-active { border-color: var(--stf-navy); }
}
