/* ==========================================================================
   CARTEL TAURINO Y AGENDA · estilos compartidos
   Archivo: assets/css/cartel.css
   Lo usan carteles.php, festejo.php y tv.php.
   ========================================================================== */

.category-header-title {
    font-size: 24px;
    color: #111;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #c0392b;
    text-transform: uppercase;
}

/* ===================== FILTROS DE LA AGENDA ===================== */
.agenda-filtros {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 18px;
}
.af-fila {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
}
.af-chip {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 13px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #333;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 20px;
    cursor: pointer;
    font-family: Arial, sans-serif;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.af-chip:hover {
    border-color: #c0392b;
    color: #c0392b;
}
.af-chip.activo {
    background: #2a0808;
    border-color: #2a0808;
    color: #fff;
}
.af-chip.af-vacio {
    opacity: 0.45;
}
.af-cuenta {
    display: inline-block;
    min-width: 18px;
    padding: 1px 5px;
    font-size: 10px;
    text-align: center;
    color: #fff;
    background: #c0392b;
    border-radius: 10px;
}
.af-chip.activo .af-cuenta {
    background: #c9a24a;
    color: #1a0000;
}
.af-paises .af-chip {
    font-size: 13px;
}
.agenda-vacia {
    padding: 30px 20px;
    text-align: center;
    color: #666;
    background: #fafafa;
    border: 1px dashed #ccc;
    border-radius: 4px;
    margin-bottom: 20px;
}
.agenda-layout.sin-resultados {
    display: none;
}
.agenda-aviso-admin {
    padding: 10px 14px;
    margin-bottom: 15px;
    font-size: 13px;
    color: #7a5200;
    background: #fff7e0;
    border: 1px solid #e8c877;
    border-radius: 4px;
}

/* ===================== AGENDA ===================== */
.agenda-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 430px;
    gap: 30px;
    align-items: start;
    margin-bottom: 40px;
}
.agenda-list-container {
    background: #fafafa;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 12px;
    max-height: 780px;
    overflow-y: auto;
}
.agenda-item {
    display: flex;
    gap: 15px;
    align-items: center;
    padding: 12px;
    margin-bottom: 8px;
    background: #fff;
    border: 1px solid #eee;
    border-left: 4px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.agenda-item[hidden] {
    display: none;
}
.agenda-item:hover {
    border-left-color: #c0392b;
    transform: translateX(3px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.agenda-item.active {
    background: #2a0808;
    border-color: #2a0808;
    border-left-color: #c9a24a;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}
.agenda-cal {
    flex-shrink: 0;
    width: 58px;
    text-align: center;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #ddd;
    background: #fff;
}
.agenda-cal .cal-mes {
    display: block;
    background: #c0392b;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 1px;
    padding: 3px 0;
}
.agenda-cal .cal-dia {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 900;
    color: #111;
    line-height: 1.2;
    padding: 2px 0 4px;
}
.agenda-info {
    min-width: 0;
}
.agenda-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #c0392b;
    margin-bottom: 2px;
}
.agenda-titulo-festejo {
    font-size: 16px;
    color: #111;
    font-weight: bold;
}
.agenda-sub-lugar {
    font-size: 12px;
    color: #666;
}
.agenda-tuhora {
    display: block;
    font-size: 11px;
    color: #2471a3;
    font-weight: bold;
}
.agenda-item.active .agenda-tag { color: #e8c877; }
.agenda-item.active .agenda-titulo-festejo { color: #fff; }
.agenda-item.active .agenda-sub-lugar { color: #ccc; }
.agenda-item.active .agenda-tuhora { color: #9fd0ff; }
.agenda-item.active .agenda-cal { border-color: #c9a24a; }

/* ===================== CARTEL ===================== */
.cartel-preview-wrapper {
    position: sticky;
    top: 20px;
    perspective: 1200px;
}
.cartel-canvas-container {
    position: relative;
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    border: 3px solid #1a1a1a;
    border-radius: 3px;
    overflow: hidden;
    background: #efe0c2;
    box-shadow: 0 0 0 3px #c9a24a, 0 14px 35px rgba(0,0,0,0.35);
    transition: opacity 0.28s ease, transform 0.28s ease;
}
.cartel-canvas-container.cambiando {
    opacity: 0;
    transform: rotateY(12deg) scale(0.96);
}
.cartel-bg-img {
    width: 100%;
    height: auto;
    display: block;
}
/* Efecto de papel envejecido encima de la plantilla */
.cartel-papel {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse at center, rgba(255,245,220,0) 55%, rgba(120,70,20,0.28) 100%),
        repeating-linear-gradient(0deg, rgba(0,0,0,0.015) 0 2px, rgba(0,0,0,0) 2px 4px);
    mix-blend-mode: multiply;
    z-index: 2;
}

/* Cinta superior con el tipo de festejo */
.cartel-cinta {
    position: absolute;
    top: 3%;
    left: 8%;
    right: 8%;
    z-index: 5;
    text-align: center;
    font-family: 'Cinzel', serif;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 7px 26px;
    background: linear-gradient(180deg, #b3140f, #7d0a07);
    clip-path: polygon(0 0, 100% 0, 94% 50%, 100% 100%, 0 100%, 6% 50%);
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

/* Zona de texto del cartel */
.cartel-text-overlay {
    position: absolute;
    top: 42%;
    left: 6%;
    right: 6%;
    bottom: 3%;
    z-index: 4;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    text-align: center;
    overflow: hidden;
}
.cartel-text-overlay > div {
    width: 100%;
}
.fit {
    display: block;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    line-height: 1.05;
}
.c-pre {
    font-family: 'Cinzel', serif;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 5px;
    color: #3a2a1a;
    text-transform: uppercase;
}
.c-plaza {
    font-family: 'Rye', 'Playfair Display', serif;
    color: #9b0d0d;
    text-transform: uppercase;
    text-shadow: 1px 1px 0 rgba(0,0,0,0.18);
}
.c-ciudad {
    font-family: 'Cinzel', serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #333;
    text-transform: uppercase;
    margin-top: 2px;
}
.c-fecha {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    color: #111;
    text-transform: uppercase;
}
.c-hora {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 700;
    font-size: 14px;
    color: #9b0d0d;
    margin-top: 2px;
}
.c-ornamento {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #9b0d0d;
    font-size: 14px;
}
.c-ornamento::before,
.c-ornamento::after {
    content: "";
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, transparent, #9b0d0d, transparent);
}
.c-reses {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 700;
    font-size: 14px;
    color: #333;
}
.c-ganaderia {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 900;
    color: #9b0d0d;
    text-transform: uppercase;
    letter-spacing: 0;
    text-shadow: 1px 1px 0 rgba(0,0,0,0.15);
}
.c-toreros {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.c-torero {
    font-family: 'Alfa Slab One', 'Playfair Display', serif;
    text-transform: uppercase;
    color: #111;
    text-shadow: 1px 1px 0 rgba(0,0,0,0.15);
}
.c-torero:nth-child(even) {
    color: #9b0d0d;
}
.cartel-acciones {
    display: flex;
    justify-content: center;
    gap: 6px;
}
.btn-mapa {
    background: #111;
    color: #fff;
    padding: 5px 12px;
    font-size: 11px;
    text-decoration: none;
    border-radius: 2px;
    font-family: Arial, sans-serif;
    text-transform: uppercase;
    font-weight: bold;
}
.btn-mapa:hover { background: #990000; }

/* ===================== BOTONES DEBAJO DEL CARTEL ===================== */
.cartel-botones {
    max-width: 430px;
    margin: 18px auto 0;
    font-family: Arial, sans-serif;
}
.cb-hora,
.cb-tv {
    display: block;
    margin-bottom: 8px;
    padding: 7px 10px;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    border-radius: 3px;
}
.cb-hora {
    color: #1b4f72;
    background: #eaf3fb;
    border: 1px solid #b9d6ee;
}
/* El bloque de televisión trae su propio diseño (.tvx) */
.cb-tv {
    padding: 0;
    font-weight: normal;
    text-align: left;
}
.cb-hora[hidden],
.cb-tv[hidden] {
    display: none;
}
.cb-fila {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
}
.cb-menu {
    position: relative;
}
.cb-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 100%;
    min-height: 40px;
    padding: 8px 6px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    color: #fff;
    background: #1a1a1a;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-family: Arial, sans-serif;
    box-sizing: border-box;
    transition: background 0.2s;
}
.cb-btn:hover {
    background: #990000;
    color: #fff;
}
.cb-btn.cb-wa {
    background: #1f9d55;
}
.cb-btn.cb-wa:hover {
    background: #157a41;
}
.cb-opciones {
    display: none;
    position: absolute;
    left: 0;
    bottom: calc(100% + 6px);
    z-index: 30;
    min-width: 190px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 8px 22px rgba(0,0,0,0.2);
    overflow: hidden;
}
.cb-menu:last-child .cb-opciones {
    left: auto;
    right: 0;
}
.cb-menu.abierto .cb-opciones {
    display: block;
}
.cb-opciones a,
.cb-opciones button {
    display: block;
    width: 100%;
    padding: 11px 14px;
    font-size: 13px;
    text-align: left;
    color: #222;
    text-decoration: none;
    background: #fff;
    border: none;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    font-family: Arial, sans-serif;
}
.cb-opciones a:hover,
.cb-opciones button:hover {
    background: #fbeeee;
    color: #990000;
}
.cb-ver {
    display: block;
    margin-top: 10px;
    font-size: 13px;
    font-weight: bold;
    text-align: center;
    color: #c0392b;
    text-decoration: none;
}
.cb-ver:hover {
    text-decoration: underline;
}
.cb-aviso {
    position: fixed;
    left: 50%;
    bottom: 24px;
    z-index: 9999;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    background: rgba(20, 20, 20, 0.92);
    border-radius: 22px;
    transform: translate(-50%, 20px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s, transform 0.25s;
    font-family: Arial, sans-serif;
}
.cb-aviso.visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

/* ===================== PÁGINA DE UN FESTEJO ===================== */
.festejo-migas {
    font-size: 13px;
    color: #777;
    margin-bottom: 12px;
}
.festejo-migas a {
    color: #c0392b;
    text-decoration: none;
}
.festejo-layout {
    display: grid;
    grid-template-columns: 430px minmax(0, 1fr);
    gap: 32px;
    align-items: start;
    margin-bottom: 40px;
}
.festejo-titulo {
    margin: 0 0 6px;
    font-family: 'Playfair Display', serif;
    font-size: 30px;
    line-height: 1.2;
    color: #111;
}
.festejo-sub {
    margin: 0 0 18px;
    font-size: 15px;
    color: #555;
}
.festejo-pasado {
    padding: 10px 14px;
    margin-bottom: 16px;
    font-size: 14px;
    font-weight: bold;
    color: #7a5200;
    background: #fff7e0;
    border: 1px solid #e8c877;
    border-radius: 4px;
}
.festejo-ficha {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    font-size: 15px;
}
.festejo-ficha th,
.festejo-ficha td {
    padding: 10px 8px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid #eee;
}
.festejo-ficha th {
    width: 140px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #c0392b;
}
.festejo-ficha td {
    color: #222;
}
.festejo-ficha td small {
    display: block;
    color: #2471a3;
    font-weight: bold;
    font-size: 12px;
    margin-top: 2px;
}
.festejo-toreros {
    margin: 0;
    padding: 0;
    list-style: none;
    font-weight: bold;
}
.festejo-otros h3 {
    font-size: 16px;
    text-transform: uppercase;
    color: #111;
    border-bottom: 2px solid #c0392b;
    padding-bottom: 6px;
}
.festejo-otros a.agenda-item {
    text-decoration: none;
}

/* ---------- Botón de televisora (Inter-Toros TV) ---------- */
.btn-canal {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(180deg, #c0392b, #8e1b10);
    color: #fff;
    padding: 7px 14px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-family: Arial, sans-serif;
    border: 1px solid rgba(232, 200, 119, 0.7);
    border-radius: 3px;
    cursor: pointer;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35);
}
.btn-canal:hover {
    background: linear-gradient(180deg, #e8c877, #b88f32);
    color: #1a0000;
}
.agenda-canal {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 6px;
    font-size: 10px;
    font-weight: bold;
    color: #fff;
    background: #2a0808;
    border-radius: 2px;
    vertical-align: middle;
}
.agenda-hoy {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 6px;
    font-size: 10px;
    font-weight: bold;
    color: #fff;
    background: #d31818;
    border-radius: 2px;
    vertical-align: middle;
    animation: agendaHoy 1.6s ease-in-out infinite;
}
@keyframes agendaHoy {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.55; }
}
.agenda-item.active .agenda-canal {
    background: #c9a24a;
    color: #1a0000;
}

/* ===================== FESTEJOS CERCANOS ===================== */
.seccion-cercanos-wrapper {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 2px solid #ddd;
}
.titulo-seccion-cercanos {
    font-size: 20px;
    color: #111;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-weight: bold;
}
.header-acciones-mapa {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px 20px;
    flex-wrap: wrap;
    background: #fff;
    padding: 15px;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
}
.btn-ubicacion {
    background: #c0392b;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 3px;
    font-weight: bold;
    font-size: 13px;
    cursor: pointer;
    text-transform: uppercase;
}
.btn-ubicacion:hover { background: #a93226; }
.slider-radio-container {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: bold;
    color: #333;
}
.slider-radio-container input[type=range] {
    cursor: pointer;
    accent-color: #c0392b;
    width: 220px;
}
.estado-ubicacion {
    flex-basis: 100%;
    font-size: 13px;
    color: #555;
}
.estado-ubicacion.ok { color: #1e7a3c; font-weight: bold; }
.estado-ubicacion.aviso { color: #b36b00; font-weight: bold; }
.estado-ubicacion.error { color: #c0392b; font-weight: bold; }

.mapa-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 15px;
}
#mapa-festejos {
    width: 100%;
    height: 480px;
    border-radius: 4px;
    border: 2px solid #ddd;
}
.pin-tu {
    width: 32px;
    height: 32px;
    line-height: 28px;
    border-radius: 50%;
    font-weight: bold;
    font-size: 11px;
    text-align: center;
    color: #fff;
    background: #2980b9;
    border: 2px solid #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    box-sizing: border-box;
}
.cercanos-panel {
    display: flex;
    flex-direction: column;
    height: 480px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background: #fafafa;
    overflow: hidden;
}
.cercanos-header {
    background: #1a1a1a;
    color: #fff;
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
    padding: 12px 15px;
    border-bottom: 2px solid #c0392b;
}
.cercanos-lista {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
}
.cercano-item {
    display: flex;
    gap: 12px;
    align-items: center;
    background: #fff;
    border: 1px solid #eee;
    border-left: 4px solid #c0392b;
    border-radius: 4px;
    padding: 10px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}
.cercano-item:hover {
    transform: translateX(3px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.cercano-dist {
    flex-shrink: 0;
    min-width: 62px;
    text-align: center;
    background: #2a0808;
    color: #e8c877;
    font-weight: bold;
    font-size: 13px;
    padding: 7px 4px;
    border-radius: 3px;
}
.cercano-info {
    min-width: 0;
}
.cercano-info strong {
    display: block;
    font-size: 14px;
    color: #111;
}
.cercano-info small {
    display: block;
    font-size: 12px;
    color: #666;
}
.cercanos-vacio {
    font-size: 13px;
    color: #666;
    text-align: center;
    padding: 30px 10px;
    line-height: 1.5;
}

/* ===================== TABLETA Y CELULAR ===================== */
@media (max-width: 1100px) {
    .agenda-layout {
        grid-template-columns: 1fr;
    }
    .cartel-preview-wrapper {
        position: static;
        order: -1;
    }
    .agenda-list-container {
        max-height: 420px;
    }
    .festejo-layout {
        grid-template-columns: 1fr;
    }
    .mapa-layout {
        grid-template-columns: 1fr;
    }
    #mapa-festejos {
        height: 380px;
    }
    .cercanos-panel {
        height: auto;
        max-height: 380px;
    }
    .slider-radio-container input[type=range] {
        width: 160px;
    }
}

@media (max-width: 520px) {
    .cb-fila {
        grid-template-columns: repeat(2, 1fr);
    }
    .cb-menu:nth-child(odd) .cb-opciones {
        left: 0;
        right: auto;
    }
    .cb-menu:nth-child(even) .cb-opciones {
        left: auto;
        right: 0;
    }
    .festejo-titulo {
        font-size: 24px;
    }
    .festejo-ficha th {
        width: 100px;
    }
    .category-header-title {
        font-size: 20px;
    }
}

/* --------------------------------------------------------------------------
   FESTEJOS "POR ANUNCIAR" Y CARTELES RECIÉN ANUNCIADOS
-------------------------------------------------------------------------- */
.agenda-estado {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 6px;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    border-radius: 2px;
    vertical-align: middle;
}
.agenda-estado-pendiente {
    color: #7a5200;
    background: #fff1c7;
    border: 1px dashed #c9a24a;
}
.agenda-estado-nuevo {
    color: #fff;
    background: #1e8449;
}
.agenda-item.active .agenda-estado-pendiente {
    color: #2a0808;
    background: #e8c877;
}

/* Sello diagonal sobre el cartel */
.cartel-sello {
    position: absolute;
    top: 46%;
    left: 50%;
    z-index: 6;
    transform: translate(-50%, -50%) rotate(-14deg);
    padding: 6px 18px;
    font-family: 'Cinzel', serif;
    font-weight: 900;
    font-size: clamp(14px, 4.4vw, 24px);
    letter-spacing: 2px;
    text-transform: uppercase;
    white-space: nowrap;
    color: #b3140f;
    background: rgba(255, 248, 230, 0.86);
    border: 3px double #b3140f;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
    pointer-events: none;
}
.cartel-sello[hidden] {
    display: none;
}

.festejo-aviso {
    padding: 10px 14px;
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.5;
    color: #7a5200;
    background: #fff7e0;
    border: 1px dashed #c9a24a;
    border-radius: 4px;
}
.festejo-aviso-nuevo {
    color: #145a32;
    background: #e9f7ef;
    border: 1px solid #58d68d;
}
.festejo-pendiente {
    color: #a07400;
    font-style: italic;
}

/* --------------------------------------------------------------------------
   TELEVISIÓN: LOGOS DE LAS TELEVISORAS Y HORARIOS POR PAÍS
-------------------------------------------------------------------------- */
.tvx {
    padding: 10px 12px;
    color: #f3ece0;
    background: linear-gradient(180deg, #2a0808, #170404);
    border: 1px solid #5a1a12;
    border-top: 3px solid #c9a24a;
    border-radius: 4px;
    font-family: Arial, sans-serif;
}
.tvx-cab {
    margin-bottom: 8px;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #e8c877;
}
.tvx-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 9px;
}
.tvx-logo {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    min-width: 84px;
    max-width: 150px;
    padding: 5px 10px;
    background: #fff;
    border: 2px solid transparent;
    border-radius: 6px;
    text-decoration: none;
    cursor: pointer;
    font-family: inherit;
    transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
a.tvx-logo:hover,
button.tvx-logo:hover {
    transform: translateY(-1px);
    border-color: #e8c877;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
}
.tvx-logo img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.tvx-nombre {
    font-size: 12px;
    font-weight: bold;
    color: #2a0808;
    white-space: nowrap;
}
.tvx-dif {
    position: absolute;
    right: -6px;
    bottom: -7px;
    padding: 0 5px;
    font-size: 9px;
    font-weight: bold;
    line-height: 15px;
    text-transform: uppercase;
    color: #fff;
    background: #7a5200;
    border-radius: 2px;
}
.tvx-horas {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
}
.tvx-hora {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    white-space: nowrap;
}
.tvx-hora b {
    font-size: 14px;
    color: #fff;
}
.tvx-hora small {
    font-size: 10px;
    color: #e8c877;
    text-transform: uppercase;
}
.tvx-bandera {
    display: block;
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25);
}
.tvx-bandera-txt {
    font-size: 10px;
    font-weight: bold;
    color: #e8c877;
}
.tvx-nota {
    margin-top: 7px;
    font-size: 11px;
    color: #e8c877;
}
.festejo-ficha .tvx {
    margin-top: 2px;
}
@media (max-width: 480px) {
    .tvx-logo {
        min-width: 72px;
        height: 38px;
    }
    .tvx-hora {
        font-size: 12px;
    }
}
