
/* ===== PASAJES: filtros, tarjetas y ventana del pasaje ===== */
.pasajes-filtros {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 28px;
}

.pasaje-filtro {
    font-family: 'Permanent Marker', cursive;
    font-size: 15px;
    letter-spacing: 0.5px;
    color: #f1e6c8;
    background: #111;
    border: 3px solid #1a1a1a;
    border-radius: 999px;
    padding: 7px 16px 5px;
    cursor: pointer;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.pasaje-filtro:hover { transform: translateY(-2px) rotate(-1deg); }

.pasaje-filtro.activo {
    color: #111;
    background: #f3d77a;
    border-color: #fff;
}

.pasajes-rejilla {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 26px;
    margin-bottom: 48px;
}

.pasaje-tarjeta {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    color: #fff;
    background: radial-gradient(circle at 70% 20%, #3a2a0c, #0d0904 75%);
    border: 6px solid #1a1a1a;
    border-radius: 24px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
}

.pasaje-tarjeta:hover,
.pasaje-tarjeta:focus-visible {
    transform: scale(1.03) translateY(-6px);
    box-shadow: 0 26px 50px rgba(0, 0, 0, 0.5), 0 0 0 3px #d4a72c;
    outline: none;
}

.pasaje-foto {
    aspect-ratio: 4 / 3;
    background: radial-gradient(circle at 50% 40%, #4a3510, #120c04 75%);
    overflow: hidden;
}

.pasaje-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 6s ease-out;
}

.pasaje-tarjeta:hover .pasaje-foto img { transform: scale(1.08); }

.pasaje-cuerpo { padding: 18px 20px 22px; }

.pasaje-cuerpo h2 {
    margin: 12px 0 4px;
    font-family: 'Permanent Marker', cursive;
    font-weight: normal;
    font-size: 24px;
    line-height: 1.15;
    color: #f3d77a;
}

.pasaje-cita {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 1.5px;
    color: #d4a72c;
    text-transform: uppercase;
}

.pasaje-gancho {
    margin: 0 0 14px;
    font-size: 16px;
    line-height: 1.45;
    color: #f1e6c8;
    font-style: italic;
}

.pasaje-leer {
    font-family: 'Permanent Marker', cursive;
    font-size: 15px;
    color: #111;
    background: #fff;
    border: none;
    border-radius: 6px;
    padding: 6px 14px 4px;
    transform: rotate(-2deg);
    cursor: pointer;
}

/* «Muy pronto»: la foto y el texto apagados, pero el botón de votar con color */
.pasaje-tarjeta.pronto { cursor: default; }
.pasaje-tarjeta.pronto .pasaje-foto { filter: grayscale(0.7) brightness(0.6); }
.pasaje-tarjeta.pronto .pasaje-cuerpo h2,
.pasaje-tarjeta.pronto .pasaje-cita,
.pasaje-tarjeta.pronto .pasaje-gancho { opacity: 0.75; }

.pasaje-votar {
    font-family: 'Permanent Marker', cursive;
    font-size: 15px;
    color: #111;
    background: #f3d77a;
    border: none;
    border-radius: 999px;
    padding: 7px 16px 5px;
    cursor: pointer;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease, background 0.2s ease;
}
.pasaje-votar:hover { transform: translateY(-2px) rotate(-1deg); background: #fff; }
.pasaje-votar span {
    display: inline-block;
    min-width: 22px;
    margin-left: 6px;
    padding: 1px 7px 0;
    border-radius: 999px;
    background: #111;
    color: #f3d77a;
    font-size: 13px;
    text-align: center;
}
.pasaje-votar.hecho { background: #fff; cursor: default; }
.pasaje-votar.hecho:hover { transform: none; }

.pasajes-votacion {
    margin: 0 0 24px;
    padding: 18px 24px;
    color: #f1e6c8;
    background: rgba(13, 9, 4, 0.85);
    border: 3px dashed #d4a72c;
    border-radius: 20px;
}
.pasajes-votacion h2 {
    margin: 0 0 8px;
    font-family: 'Permanent Marker', cursive;
    font-weight: normal;
    font-size: 24px;
    color: #f3d77a;
}
.pasajes-votacion p { margin: 6px 0; font-size: 16px; line-height: 1.5; }
.pasajes-votacion a { color: #f3d77a; font-weight: bold; }
.pasaje-tarjeta.pronto:hover { transform: none; box-shadow: 0 14px 34px rgba(0, 0, 0, 0.4); }

/* --- Ventana del pasaje --- */
.pasaje-ventana {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(20, 12, 2, 0.88);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.pasaje-ventana.abierto { opacity: 1; pointer-events: auto; }

.pasaje-caja {
    position: relative;
    width: min(100%, 720px);
    max-height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-sizing: border-box;
    color: #f1e6c8;
    background: #0f0b05;
    border: 5px solid #fff;
    border-radius: 20px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    transform: scale(0.94) rotate(-0.5deg);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.pasaje-ventana.abierto .pasaje-caja { transform: none; }

.pasaje-contenido { overflow-y: auto; padding-bottom: 28px; }

.pasaje-cerrar {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    width: 40px;
    height: 40px;
    font-size: 28px;
    line-height: 36px;
    color: #111;
    background: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
}

.pasaje-cabecera { margin: 0 0 18px; height: 260px; overflow: hidden; border-radius: 14px 14px 0 0; }
.pasaje-cabecera img,
.pasaje-cabecera video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.pasaje-cabecera video { object-position: center 30%; }

.pasaje-contenido > :not(.pasaje-cabecera) { margin-left: 32px; margin-right: 32px; }

.pasaje-contenido h2 {
    margin-top: 12px;
    margin-bottom: 4px;
    font-family: 'Permanent Marker', cursive;
    font-weight: normal;
    font-size: clamp(26px, 4vw, 36px);
    line-height: 1.1;
    color: #f3d77a;
}

.pasaje-contenido h3 {
    margin-top: 26px;
    margin-bottom: 8px;
    font-family: 'Permanent Marker', cursive;
    font-weight: normal;
    font-size: 20px;
    color: #f3d77a;
}

.pasaje-contenido p { font-size: 17px; line-height: 1.6; margin-top: 0; }
.pasaje-contenido strong { color: #f3d77a; }

.pasaje-texto blockquote {
    margin: 16px 0;
    padding: 4px 0 4px 18px;
    border-left: 4px solid #d4a72c;
    font-family: Georgia, 'Times New Roman', serif;
    font-style: italic;
    font-size: 21px;
    line-height: 1.45;
    color: #fff;
}

.pasaje-texto cite {
    display: block;
    margin-top: 4px;
    font-family: inherit;
    font-style: normal;
    font-size: 13px;
    letter-spacing: 2px;
    color: #d4a72c;
    text-transform: uppercase;
}

.pasaje-dato {
    margin-top: 26px;
    padding: 4px 20px 6px;
    background: rgba(243, 215, 122, 0.08);
    border: 2px dashed rgba(243, 215, 122, 0.45);
    border-radius: 14px;
}

.pasaje-llevar {
    margin-top: 26px;
    padding: 6px 20px 8px;
    color: #111;
    background: #f3d77a;
    border-radius: 14px;
    transform: rotate(-0.6deg);
}

.pasaje-llevar h3 { color: #111; }
.pasaje-llevar p { font-size: 19px; font-weight: bold; color: #111; }

.pasaje-acciones {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.pasaje-acciones button,
.pasaje-acciones a {
    font-family: 'Permanent Marker', cursive;
    font-size: 16px;
    text-decoration: none;
    color: #111;
    background: #fff;
    border: none;
    border-radius: 999px;
    padding: 9px 18px 7px;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.pasaje-acciones button:hover,
.pasaje-acciones a:hover { transform: translateY(-2px); background: #f3d77a; }

.pasaje-amen.hecho { background: #f3d77a; }
.pasaje-amen span { margin-left: 4px; }

@media (max-width: 600px) {
    .pasaje-contenido > :not(.pasaje-cabecera) { margin-left: 20px; margin-right: 20px; }
    .pasaje-cabecera { height: 190px; }
    .pasaje-texto blockquote { font-size: 19px; }
}

/* --- Puerta de entrada: ¿Primera vez con la Biblia? --- */
.biblia-entrada {
    margin: 0 0 28px;
    padding: 22px 24px;
    color: #f1e6c8;
    background: rgba(13, 9, 4, 0.88);
    border: 6px solid #1a1a1a;
    border-radius: 24px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.4);
}
.biblia-entrada h2 {
    margin: 0 0 8px;
    font-family: 'Permanent Marker', cursive;
    font-weight: normal;
    font-size: 26px;
    color: #f3d77a;
}
.biblia-entrada > p { margin: 6px 0 14px; font-size: 16px; line-height: 1.5; }
.biblia-entrada details {
    margin: 0 0 10px;
    padding: 0 16px;
    border: 2px solid rgba(212, 167, 44, 0.45);
    border-radius: 14px;
}
.biblia-entrada details[open] { background: rgba(212, 167, 44, 0.06); }
.biblia-entrada summary {
    cursor: pointer;
    padding: 12px 0;
    font-size: 18px;
    font-weight: bold;
    color: #f3d77a;
    list-style: none;
}
.biblia-entrada summary::-webkit-details-marker { display: none; }
.biblia-entrada summary::before { content: '+ '; color: #d4a72c; }
.biblia-entrada details[open] summary::before { content: '– '; }
.biblia-entrada details p,
.biblia-entrada details li { font-size: 15.5px; line-height: 1.6; }
.biblia-entrada details p { margin: 0 0 12px; }
.biblia-entrada details ul { margin: 0 0 14px; padding-left: 20px; }
.biblia-entrada details li { margin: 0 0 8px; }
.biblia-entrada a { color: #f3d77a; font-weight: bold; }
.biblia-entrada .biblia-entrada-pie { margin: 14px 0 0; font-style: italic; color: #d4a72c; }
