/* ==========================================================================
   FETRI 2026 · Estructura: barra superior, menú lateral, barra inferior móvil,
   cabecera de página y de evento, patrocinadores y pie.
   ========================================================================== */

/* ---------- Barra superior ---------- */
/* Header.razor pone overflow-x:hidden en línea a html y body; con eso el body pasa a ser contenedor de scroll
   y la barra deja de quedarse fija. "clip" recorta igual sin crear contenedor (visible es la reserva para
   navegadores sin clip: el recorte horizontal lo sigue haciendo html).
   Solo en las páginas rediseñadas: en inscripciones y pagos la barra se va con el scroll como la cabecera
   antigua y sus columnas laterales fijas no quedan tapadas por ella. */
html.f26c body {
    overflow-x: visible !important;
    overflow-x: clip !important;
}
html.f26 {
    overflow-x: hidden !important;
    overflow-x: clip !important;
    /* los anclajes internos no quedan tapados por la barra */
    scroll-padding-top: calc(var(--f26-topbar-h) + 3px + env(safe-area-inset-top, 0px) + 12px);
}

.f26-topbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    padding-top: env(safe-area-inset-top, 0px);
    background: var(--f26-ink);
    color: #fff;
    isolation: isolate;
}
.f26-topbar::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--f26-tex);
    opacity: .9;
    pointer-events: none;
}
.f26-topbar__inner {
    display: flex;
    align-items: center;
    gap: 28px;
    height: var(--f26-topbar-h);
    max-width: var(--f26-maxw);
    margin: 0 auto;
    padding: 0 var(--f26-gutter-chrome);
}
.f26-topbar__line {
    height: 3px;
    background: var(--f26-grad-accent);
}

.f26-brand {
    flex: none;
    display: inline-flex;
    align-items: center;
    height: 100%;
}
.f26-brand img {
    display: block;
    width: auto;
    height: 36px;
}

.f26-nav {
    display: flex;
    align-items: stretch;
    gap: 4px;
    height: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}
.f26-nav li { display: flex; }
.f26-nav__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 0 14px;
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-decoration: none !important;
    white-space: nowrap;
    opacity: .82;
    transition: opacity .15s ease;
}
.f26-nav__link:hover { opacity: 1; }
.f26-nav__link.is-active { opacity: 1; }
.f26-nav__link.is-active::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 0;
    height: 4px;
    border-radius: 4px 4px 0 0;
    background: var(--f26-gold);
}

.f26-topbar__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.f26-iconbtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: background .15s ease;
}
.f26-iconbtn:hover { background: rgba(255, 255, 255, .16); }

.f26-only-mobile { display: none !important; }
html.f26c .f26-menubtn { display: none !important; }

/* ---------- Buscador ---------- */
.f26-search {
    position: relative;
    width: 300px;
}
.f26-search__icon {
    position: absolute;
    left: 6px;
    top: 50%;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--f26-on-ink-mute);
    font-size: 14px;
    cursor: pointer;
    transform: translateY(-50%);
}
.f26-search__icon:hover { color: var(--f26-gold); }
.f26-search:focus-within .f26-search__icon { color: var(--f26-mute); }
.f26-search__input {
    width: 100%;
    height: 40px;
    padding: 0 14px 0 40px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: var(--f26-pill);
    background: rgba(255, 255, 255, .08);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    /* en anchos justos el texto de ayuda se corta con puntos suspensivos en vez de a media palabra */
    text-overflow: ellipsis;
    transition: background .15s ease, border-color .15s ease;
}
.f26-search__input::placeholder { color: var(--f26-on-ink-mute); opacity: 1; }
.f26-search__input:focus {
    background: #fff;
    border-color: #fff;
    color: var(--f26-ink);
    box-shadow: var(--f26-focus);
}
.f26-search__input:focus::placeholder { color: var(--f26-mute); }
.f26-search__input::-webkit-search-cancel-button { filter: grayscale(1); }

.f26-search__results {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: min(420px, 92vw);
    max-height: min(70vh, 560px);
    overflow-y: auto;
    border-radius: var(--f26-r);
    background: #fff;
    color: var(--f26-ink);
    box-shadow: var(--f26-shadow-3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .15s ease, transform .15s ease, visibility .15s;
    z-index: 1060;
}
.f26-search__results.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
}
.f26-search__panel { padding: 8px; }
.f26-search__panel:empty { display: none; }
.f26-search__group {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 6px 8px 4px;
    font-size: var(--f26-fs-xs);
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--f26-red);
}
.f26-search__item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: 100%;
    padding: 10px 12px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    text-align: left;
    color: inherit;
    cursor: pointer;
}
.f26-search__item:hover, .f26-search__item:focus-visible { background: var(--f26-tint); }
.f26-search__name { font-size: 14px; font-weight: 700; line-height: 1.3; }
.f26-search__meta { font-size: 12px; color: var(--f26-mute); }
.f26-search__status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 12px;
    font-size: 14px;
    color: var(--f26-mute);
}
.f26-search__results:not(.is-open) .f26-search__panel { display: none; }

/* ---------- Menú lateral ---------- */
.f26-drawer-overlay {
    position: fixed;
    inset: 0;
    z-index: 1065;
    background: rgba(12, 12, 16, .55);
    backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s;
}
.f26-drawer-overlay.is-open { opacity: 1; visibility: visible; }

.f26-drawer {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 1070;
    display: flex;
    flex-direction: column;
    width: min(340px, 88vw);
    background: #fff;
    box-shadow: var(--f26-shadow-3);
    transform: translateX(-102%);
    visibility: hidden;
    transition: transform .28s cubic-bezier(.4, 0, .2, 1), visibility .28s;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-left: env(safe-area-inset-left, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
}
.f26-drawer.is-open { transform: none; visibility: visible; }

.f26-drawer__head {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: calc(14px + env(safe-area-inset-top, 0px)) 16px 14px 20px;
    background: var(--f26-ink);
    color: #fff;
}
.f26-drawer__head::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--f26-tex); }
.f26-drawer__head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--f26-grad-accent); }
.f26-drawer__head img { height: 32px; width: auto; }

.f26-drawer__search { position: relative; padding: 16px 16px 8px; }
.f26-search--drawer { width: 100%; }
.f26-search--drawer .f26-search__icon { color: var(--f26-mute); }
.f26-search--drawer .f26-search__input {
    height: 46px;
    background: var(--f26-tint);
    border-color: var(--f26-tint);
    color: var(--f26-ink);
    font-size: 16px; /* 16px evita el zoom automático de iOS */
}
.f26-search--drawer .f26-search__input::placeholder { color: var(--f26-mute); }
.f26-search__results--drawer {
    position: static;
    width: auto;
    max-height: none;
    margin-top: 8px;
    box-shadow: none;
    border: 1px solid var(--f26-line);
    transform: none;
    display: none;
}
.f26-search__results--drawer.is-open { display: block; }

.f26-drawer__nav {
    margin: 0;
    padding: 8px 12px 16px;
    list-style: none;
}
.f26-drawer__link {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 52px;
    padding: 0 12px;
    border-radius: 12px;
    color: var(--f26-ink) !important;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .02em;
    text-decoration: none !important;
}
.f26-drawer__link i {
    width: 22px;
    text-align: center;
    color: var(--f26-mute);
    font-size: 17px;
}
.f26-drawer__link:hover { background: var(--f26-tint); }
.f26-drawer__link.is-active { background: var(--f26-red-soft); color: var(--f26-red-dk) !important; }
.f26-drawer__link.is-active i { color: var(--f26-red); }

.f26-drawer__install {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: auto 16px 20px;
    min-height: 48px;
    border: 0;
    border-radius: 12px;
    background: var(--f26-ink);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .04em;
}

/* El bloqueo de scroll del menú antiguo fija el body y hace saltar la página al principio: aquí basta con overflow */
html.f26 body.menu-open {
    position: static !important;
    width: auto !important;
    overflow: hidden !important;
}
html.f26:has(body.menu-open) { overflow: hidden; }

/* ---------- Barra de navegación inferior (móvil) ---------- */
.f26-bottomnav {
    display: none;
}

/* ---------- Cabecera de página ---------- */
.f26-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--f26-ink);
    color: #fff;
}
.f26-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--f26-tex), radial-gradient(ellipse 70% 120% at 100% 0%, rgba(207, 18, 47, .35), transparent 60%);
    pointer-events: none;
}
.f26-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: var(--f26-grad-accent);
}
/* Cabecera compacta: título y antetítulo en una franja baja para que el contenido empiece cuanto antes */
.f26-hero__inner {
    position: relative;
    z-index: 1;
    max-width: var(--f26-maxw);
    margin: 0 auto;
    padding: 18px var(--f26-gutter-chrome) 20px;
}
.f26-hero__kicker {
    margin: 0 0 4px;
    color: var(--f26-gold);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.f26-hero__title {
    margin: 0;
    color: #fff;
    font-size: 28px;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -.005em;
    text-transform: uppercase;
}
.f26-hero__iso {
    position: absolute;
    right: -40px;
    top: 50%;
    z-index: 0;
    width: 200px;
    height: auto;
    transform: translateY(-50%) rotate(-8deg);
    opacity: .07;
    pointer-events: none;
    filter: grayscale(1) brightness(3);
}

/* Cabecera de evento */
.f26-hero--event .f26-hero__inner { padding-top: 14px; padding-bottom: 18px; }
.f26-back {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 28px;
    margin-bottom: 10px;
    padding: 0 12px 0 9px;
    border: 0;
    border-radius: var(--f26-pill);
    background: rgba(255, 255, 255, .1);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    cursor: pointer;
}
.f26-back:hover { background: rgba(255, 255, 255, .18); }
/* Zona táctil de al menos 44 px sin cambiar el tamaño visible */
.f26-back { position: relative; }
.f26-back::before { content: ""; position: absolute; inset: -8px -4px; }

.f26-event-head {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}
.f26-event-head__poster {
    flex: none;
    width: auto;
    height: 100px;
    max-width: 170px;
    object-fit: contain;
    background: #fff;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, .9);
    box-shadow: var(--f26-shadow-2);
}
.f26-event-head__body { min-width: 0; }
/* Si el cartel no carga, no se deja el marco blanco vacío */
.f26-event-head__poster.is-broken { display: none; }
.f26-hero__title--event {
    font-size: 26px;
    line-height: 1.12;
    text-transform: none;
    letter-spacing: -.01em;
    text-wrap: balance;
}
.f26-event-head__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 22px;
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
    color: #E6E7EC;
    font-size: 14px;
    font-weight: 500;
}
.f26-event-head__meta li { display: inline-flex; align-items: baseline; gap: 8px; }
.f26-event-head__meta i { color: var(--f26-gold); }
.f26-event-head__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
}

/* ---------- Patrocinadores ---------- */
.f26-sponsors {
    position: relative;
    isolation: isolate;
    margin-top: 40px;
    background: var(--f26-ink);
    color: #fff;
}
.f26-sponsors::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--f26-tex); }
html.f26x .f26-sponsors { display: none !important; }
.f26-sponsors::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--f26-grad-accent); }
.f26-sponsors__inner {
    max-width: var(--f26-maxw);
    margin: 0 auto;
    padding: 40px var(--f26-gutter-chrome) 12px;
}
.f26-sponsors__row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 28px 36px;
    margin-bottom: 28px;
}
.f26-sponsors__row:last-child { grid-template-columns: 3fr 1.4fr; }
.f26-sponsors__group { min-width: 0; }
.f26-sponsors__title {
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
    color: var(--f26-on-ink-mute);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.f26-sponsors__logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 26px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.f26-sponsors__logo {
    display: block;
    width: auto;
    max-width: 150px;
    height: 56px;
    object-fit: contain;
    opacity: .92;
    transition: opacity .15s ease;
}
.f26-sponsors__logo:hover { opacity: 1; }

/* ---------- Pie ---------- */
.f26-footer {
    position: relative;
    background: #121216;
    color: var(--f26-on-ink-mute);
}
.f26-footer__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 28px;
    max-width: var(--f26-maxw);
    margin: 0 auto;
    padding: 22px var(--f26-gutter-chrome);
}
.f26-footer__brand img { display: block; height: 30px; width: auto; opacity: .9; }
.f26-footer__legal { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.f26-footer__legal a {
    color: #fff !important;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none !important;
    opacity: .85;
}
.f26-footer__legal a:hover { opacity: 1; text-decoration: underline !important; }
.f26-footer__copy { margin: 0 0 0 auto; font-size: 12px; }
@media (min-width: 992px) {
    /* Hueco para el botón flotante de volver arriba */
    .f26-footer__copy { margin-right: 52px; }
}

/* Botón "volver arriba" */
html.f26c .scroll-to-top {
    /* por debajo del menú lateral y su velo (1065/1070) */
    z-index: 1035 !important;
    right: 16px !important;
    bottom: 20px !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 12px !important;
    background: var(--f26-ink) !important;
    box-shadow: var(--f26-shadow-2) !important;
}
html.f26c .scroll-to-top:hover { background: var(--f26-red) !important; }

/* Aviso de error de la aplicación ("recargar"): por encima de la presentación de carga y, en el móvil,
   encima de la barra inferior (no debajo) */
html.f26 #blazor-error-ui { z-index: 1045; }
html.f26c #blazor-error-ui { bottom: calc(var(--f26-bottomnav-h) + env(safe-area-inset-bottom, 0px)); }

/* Flechas de las barras deslizables (pestañas del evento y meses del calendario): solo con ratón,
   donde no hay gesto para deslizar. Las pone el script de index.html y se ven si quedan opciones a ese lado. */
.f26-strip-arrow { display: none; }
@media (hover: hover) and (pointer: fine) {
    html.f26c .f26-strip-arrow {
        position: absolute;
        top: 0;
        bottom: 0;
        z-index: 3;
        display: flex;
        align-items: center;
        width: 46px;
        padding: 0 12px;
        border: 0;
        color: var(--f26-ink);
        font-size: 13px;
        cursor: pointer;
        opacity: 0;
        pointer-events: none;
        transition: opacity .15s ease, color .15s ease;
    }
    html.f26c .f26-strip-arrow--prev { left: 0; justify-content: flex-start; background: linear-gradient(90deg, #fff 55%, rgba(255, 255, 255, 0)); }
    html.f26c .f26-strip-arrow--next { right: 0; justify-content: flex-end; background: linear-gradient(270deg, #fff 55%, rgba(255, 255, 255, 0)); }
    html.f26c .f26-tabs-scrolled > .f26-strip-arrow--prev,
    html.f26c .f26-tabs-more > .f26-strip-arrow--next { opacity: 1; pointer-events: auto; }
    html.f26c .f26-strip-arrow:hover { color: var(--f26-red); }
}

/* Contenedor principal de las páginas
   (MainLayout fija padding-top:0 !important en línea, así que el aire con la cabecera va como margen) */
html.f26c body > #app main.container-fluid,
html.f26c main.container-fluid {
    max-width: calc(var(--f26-maxw) + 2 * var(--f26-gutter));
    /* !important: Calendar.razor (montado también en las fichas de evento) pone margin-top:0 !important a todos los .container-fluid en móvil */
    margin-top: 22px !important;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--f26-gutter) !important;
    padding-right: var(--f26-gutter) !important;
}

/* En inscripciones y pagos (contenido sin rediseñar) no se muestra la barra inferior */
html.f26:not(.f26c) .f26-bottomnav { display: none !important; }

/* ==========================================================================
   Tablet y móvil
   ========================================================================== */
@media (max-width: 1199.98px) {
    /* entre 992 y 1199 px el buscador cede ancho antes de salirse por la derecha */
    .f26-topbar__actions { min-width: 0; }
    .f26-topbar .f26-search { flex: 0 1 220px; width: 220px; min-width: 150px; }
    .f26-nav__link { padding: 0 10px; letter-spacing: .05em; }
    .f26-nav__link.is-active::after { left: 10px; right: 10px; }
    .f26-topbar__inner { gap: 16px; }
}

@media (max-width: 991.98px) {
    .f26-nav,
    .f26-topbar .f26-search { display: none; }
    .f26-only-mobile { display: inline-flex !important; }
    .f26-brand img { height: 28px; }
    .f26-iconbtn { width: 42px; height: 42px; border-radius: 10px; font-size: 17px; }

    .f26-bottomnav {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1040;
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: 1fr;
        height: calc(var(--f26-bottomnav-h) + env(safe-area-inset-bottom, 0px));
        padding: 0 max(4px, env(safe-area-inset-right, 0px)) env(safe-area-inset-bottom, 0px) max(4px, env(safe-area-inset-left, 0px));
        background: var(--f26-ink);
        box-shadow: 0 -6px 20px rgba(0, 0, 0, .18);
        isolation: isolate;
    }
    .f26-bottomnav::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--f26-tex); pointer-events: none; }
    .f26-bottomnav::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--f26-grad-accent); opacity: .9; }

    .f26-bottomnav__item {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        min-width: 0;
        height: var(--f26-bottomnav-h);
        padding: 0 2px;
        border: 0;
        background: transparent;
        color: var(--f26-on-ink-mute) !important;
        font-size: 10px;
        font-weight: 700;
        letter-spacing: .04em;
        text-transform: uppercase;
        text-decoration: none !important;
        -webkit-tap-highlight-color: transparent;
    }
    .f26-bottomnav__item i { font-size: 19px; line-height: 1; }
    .f26-bottomnav__item span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .f26-bottomnav__item.is-active { color: #fff !important; }
    .f26-bottomnav__item.is-active i { color: var(--f26-gold); }
    .f26-bottomnav__item.is-active::before {
        content: "";
        position: absolute;
        top: 2px;
        left: 50%;
        width: 28px;
        height: 3px;
        margin-left: -14px;
        border-radius: 0 0 3px 3px;
        background: var(--f26-gold);
    }

    html.f26c .scroll-to-top {
        right: calc(12px + env(safe-area-inset-right, 0px)) !important;
        bottom: calc(var(--f26-bottomnav-h) + env(safe-area-inset-bottom, 0px) + 12px) !important;
        width: 40px !important;
        height: 40px !important;
        box-shadow: 0 0 0 2px rgba(255, 255, 255, .9), var(--f26-shadow-2) !important;
    }

    .f26-hero__inner { padding: 12px var(--f26-gutter-chrome) 14px; }
    .f26-hero__kicker { font-size: 10px; margin-bottom: 2px; }
    .f26-hero__title { font-size: 21px; }
    .f26-hero__iso { width: 130px; right: -28px; }

    /* Evento: el botón de volver pasa a ser un círculo a la izquierda del título (sin fila propia),
       centrado con su primera línea; fechas, lugar y distancias siguen debajo a todo el ancho */
    .f26-hero--event .f26-hero__inner { padding-top: 12px; padding-bottom: 14px; }
    .f26-back {
        position: absolute;
        top: 8px;
        left: var(--f26-gutter-chrome);
        justify-content: center;
        width: 30px;
        height: 30px;
        min-height: 30px;
        margin: 0;
        padding: 0;
        gap: 0;
        font-size: 0;
        letter-spacing: 0;
    }
    .f26-back i { font-size: 14px; }
    .f26-back::before { inset: -7px; }
    .f26-event-head { gap: 14px; }
    .f26-event-head__poster { display: none; }
    .f26-hero__title--event { padding-left: 40px; font-size: 18px; line-height: 1.25; }
    .f26-event-head__meta { gap: 2px 14px; margin-top: 6px; font-size: 12.5px; }
    .f26-event-head__chips {
        flex-wrap: nowrap;
        overflow-x: auto;
        margin: 8px calc(-1 * var(--f26-gutter-chrome)) 0;
        padding: 0 var(--f26-gutter-chrome) 2px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    .f26-event-head__chips::-webkit-scrollbar { display: none; }

    /* Patrocinadores compactos: los grupos cortos van de dos en dos */
    .f26-sponsors { margin-top: 28px; }
    .f26-sponsors__inner { padding-top: 26px; }
    .f26-sponsors__row,
    .f26-sponsors__row:last-child { grid-template-columns: 1fr 1fr; gap: 18px 16px; margin-bottom: 18px; }
    .f26-sponsors__row > .f26-sponsors__group--wide,
    .f26-sponsors__row:last-child > .f26-sponsors__group { grid-column: 1 / -1; }
    .f26-sponsors__title { margin-bottom: 10px; padding-bottom: 8px; font-size: 10px; letter-spacing: .08em; }
    .f26-sponsors__logos { gap: 10px 18px; }
    .f26-sponsors__logo { height: 38px; max-width: 104px; }

    .f26-footer__inner { justify-content: center; text-align: center; padding-bottom: 26px; }
    .f26-footer__legal { justify-content: center; }
    .f26-footer__copy { margin: 0; width: 100%; }

    html.f26c body > #app main.container-fluid,
    html.f26c main.container-fluid { margin-top: 16px !important; }
}

@media (max-width: 400px) {
    .f26-bottomnav__item { font-size: 9px; letter-spacing: 0; }
}
@media (max-width: 374.98px) {
    .f26-bottomnav__item { padding: 0; font-size: 8.5px; }
}
@media (max-width: 339.98px) {
    .f26-bottomnav__item { font-size: 8px; }
}

@media (prefers-reduced-motion: reduce) {
    .f26-drawer, .f26-drawer-overlay, .f26-search__results { transition: none !important; }
}
