/* ----- Contenedor general ----- */
/* --- Título --- */
.pr-title {
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 700;
    color: #e5050b;
    text-align: center;
}

/* --- Botones de filtro --- */
.pr-dias-filter {
    text-align: center;
    margin-bottom: 25px;
}

.pr-dia-btn {
    padding: 10px 18px;
    border: none;
    border-radius: 25px;
    margin: 4px;
    font-size: 14px;
    cursor: pointer;
    background: #e0e0e0;
    color: #30367d;
    transition: all .3s ease;
}

.pr-dia-btn:hover {
    transform: translateY(-2px);
}

.pr-dia-btn.active {
    background: linear-gradient(135deg, #30367d, #e5050b);
    color: white !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* --- Grid --- */
.pr-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

/* --- Cards --- */
.pr-card {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    transition: transform .3s ease, box-shadow .3s ease;
    background: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.pr-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
}

.pr-card img {
    width: 100%;
    height: auto;
    transition: transform .4s ease;
}

.pr-card:hover img {
    transform: scale(1.05);
}

.pr-card-info {
    padding: 15px;
    color: #30367d;
}

/* NUEVO: Header de la card con botón i */
.pr-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.pr-card-title {
    font-size: 18px;
    font-weight: bold;
    flex: 1;
}

/* BOTÓN DE INFORMACIÓN */
.pr-info-trigger {
    background: #e5050b;
    color: white;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    flex-shrink: 0;
    margin-left: 10px;
}

.pr-info-trigger:hover {
    background: #30367d;
}

/* CAJA DE DESCRIPCIÓN */
.pr-desc-box {
    display: none;
    font-size: 13px;
    background: #f8f8f8;
    border-left: 3px solid #e5050b;
    padding: 10px;
    margin: 10px 0;
    border-radius: 4px;
    color: #444;
    line-height: 1.4;
}

.pr-desc-box.active {
    display: block;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pr-card-horario {
    margin-top: 10px;
    font-size: 14px;
    opacity: .8;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* --- EN VIVO --- */
.pr-live-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 6px 14px;
    font-size: 13px;
    color: white;
    font-weight: bold;
    border-radius: 20px;
    background: linear-gradient(135deg, #ff0000, #b30000);
    display: flex;
    align-items: center;
    gap: 6px;
    animation: blink 1.3s infinite;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.6);
    z-index: 2;
}

.pr-live-tag::before {
    content: "●";
    font-size: 14px;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: .4;
    }
}

.pr-card.live {
    border: 3px solid #ff3b3b;
}