/* La portada se controla con data-evento-activo en index.html. */
.evento-portada { display: none; }
html[data-evento-activo="true"] #header-carousel { display: none; }
html[data-evento-activo="true"] .evento-portada { display: block; }
html[data-evento-activo="true"] .facts { margin-top: 0 !important; padding-top: 40px !important; }
.evento-portada {
    background: radial-gradient(ellipse at 85% 35%, #175784 0%, transparent 55%), #091e3e;
    color: #fff;
    padding: 145px 0 60px;
}
.evento-layout { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 64px; }
.evento-etiqueta { color: #80dbf4; font-size: .82rem; font-weight: 700; letter-spacing: .12em; margin-bottom: 20px; }
.evento-contenido h1 { color: #fff; font-size: clamp(2rem, 3.5vw, 3.35rem); line-height: 1.1; margin-bottom: 22px; }
.evento-contenido h1 span { color: #80dbf4; }
.evento-intro { color: #d9e7f1; font-size: 1.08rem; max-width: 480px; }
.evento-datos { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 18px; }
.evento-datos li { display: flex; align-items: center; gap: 16px; }
.evento-datos i { color: #80dbf4; font-size: 1.5rem; width: 30px; text-align: center; }
.evento-datos strong, .evento-datos span { display: block; }
.evento-datos strong { font-size: 1.1rem; }
.evento-datos span { color: #d9e7f1; font-size: .95rem; }
.evento-inscripcion { background: #80dbf4; color: #091e3e; padding: 16px 26px; border-radius: 8px; font-weight: 700; font-size: 1.08rem; }
.evento-inscripcion i { margin-left: 16px; }
.evento-inscripcion:hover { background: #b3edfd; color: #091e3e; }
.evento-pasos { color: #fff; max-width: 480px; margin: 0 0 16px; }
.evento-acciones { display: flex; flex-direction: column; align-items: stretch; gap: 12px; max-width: 420px; }
.evento-pago { border: 1px solid #80dbf4; color: #fff; border-radius: 8px; padding: 14px 18px; font-weight: 700; }
.evento-pago span { display: block; font-size: .9rem; font-weight: 400; margin-top: 3px; }
.evento-pago:hover { background: #163f60; color: #fff; }
.evento-pago:focus-visible { outline: 3px solid #fff; outline-offset: 6px; }
.evento-pago-modal { border-radius: 14px; overflow: hidden; }
.evento-pago-modal .modal-header, .evento-pago-modal .modal-body, .evento-pago-modal .modal-footer { padding: 24px; }
.evento-pago-modal .modal-footer { gap: 8px; }
.evento-pago-modal .modal-footer .btn { width: 100%; margin: 0; white-space: normal; padding: 12px; }
.evento-pago-importe { background: #eef9ff; padding: 16px; border-radius: 8px; color: #091e3e; }
.evento-inscripcion:focus-visible, .evento-afiche:focus-visible { outline: 3px solid #fff; outline-offset: 6px; }
.evento-ayuda { font-size: .8rem; color: #d9e7f1; margin: 12px 0 25px; }
.evento-organiza { color: #d9e7f1; font-size: .9rem; margin-bottom: 0; }
.evento-afiche { display: block; max-width: 420px; width: 100%; justify-self: end; border-radius: 12px; overflow: hidden; box-shadow: 0 20px 50px #0005; background: #fff; }
.evento-afiche img { display: block; width: 100%; height: auto; }
.evento-afiche > span { display: block; text-align: center; padding: 10px; color: #091e3e; font-size: .85rem; }
.evento-afiche > span i { margin-left: 8px; }
@media (max-width: 991.98px) {
    .evento-portada { padding: 44px 0; }
    .evento-layout { gap: 32px; grid-template-columns: 1fr 1fr; }
    .evento-contenido h1 { font-size: 2rem; }
}
@media (max-width: 767.98px) {
    .evento-layout { grid-template-columns: 1fr; gap: 32px; }
    .evento-contenido h1 { font-size: clamp(2rem, 7vw, 2.8rem); }
    .evento-inscripcion { width: 100%; }
    .evento-afiche { justify-self: center; }
    .evento-etiqueta { font-size: .72rem; }
}
