/* Páginas de portal (eventos, contrata, estadísticas…) con la estética de la
   portada: cabecera x-banner-seccion «moderno» (pt-cab) y piezas comunes. */

/* ---------- Cabecera ---------- */
.pt-cab { position: relative; overflow: hidden; padding: 132px 0 44px; margin-bottom: 0;
  background: radial-gradient(800px 320px at 92% -10%, rgba(124, 92, 255, .32), transparent 60%),
              radial-gradient(700px 300px at -5% 120%, rgba(25, 227, 255, .2), transparent 60%),
              linear-gradient(160deg, #0b0c14 0%, #171a2b 100%); }
.pt-cab--foto { background: linear-gradient(90deg, rgba(7,7,12,.92) 0%, rgba(7,7,12,.72) 55%, rgba(7,7,12,.5) 100%), var(--pt-fondo) center / cover no-repeat; }
.pt-cab::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, #19e3ff, #7c5cff, #ff2750); }
.pt-cab-in { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 22px 40px; align-items: flex-end; justify-content: space-between; }
.pt-cab-txt { max-width: 760px; }
.pt-cab h1 { font-weight: 800; font-size: clamp(30px, 4.6vw, 52px); line-height: 1.02; letter-spacing: -.02em; }
.pt-cab p { font-size: 16px; color: #bcbece; }
.pt-rotulo { display: inline-flex; align-items: center; gap: 10px; letter-spacing: .22em; }
.pt-rotulo span { width: 7px; height: 7px; border-radius: 50%; background: #19e3ff; box-shadow: 0 0 12px #19e3ff; }
.pt-acciones { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.pt-cifras { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.pt-cifras > div { min-width: 104px; padding: 10px 16px; border: 1px solid rgba(255,255,255,.12); border-radius: 16px; background: rgba(255,255,255,.05); backdrop-filter: blur(6px); }
.pt-cifras dd { margin: 0; font-family: var(--em-fuente-ui); font-weight: 800; font-size: 26px; line-height: 1; color: #fff; }
.pt-cifras dt { margin-top: 4px; font-family: var(--em-fuente-mono); font-size: 10px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: #9ea6c0; }
@media (max-width: 991px) { .pt-cab { padding: 108px 0 34px; } }

/* Botones de la cabecera (sobre fondo oscuro) */
.pt-btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px; border-radius: 999px; font-family: var(--em-fuente-mono); font-size: 12.5px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; text-decoration: none !important; transition: transform .2s, box-shadow .2s, background .2s; }
.pt-btn--lleno { background: linear-gradient(100deg, #ff2750, #7c5cff); color: #fff !important; box-shadow: 0 12px 30px rgba(255,39,80,.38); }
.pt-btn--lleno:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(124,92,255,.5); }
.pt-btn--cian { border: 1px solid #19e3ff; background: rgba(25,227,255,.06); color: #19e3ff !important; }
.pt-btn--cian:hover { background: rgba(25,227,255,.16); }

/* ---------- Cuerpo ---------- */
.pt-cuerpo { padding: 40px 0 70px; background: #f6f7f9; }
.pt-sec + .pt-sec { margin-top: 56px; }
.pt-sec-cab { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: flex-end; justify-content: space-between; margin-bottom: 22px; }
.pt-sec-cab h2 { margin: 0; font-family: var(--em-fuente-ui); font-weight: 800; font-size: clamp(24px, 3vw, 34px); letter-spacing: -.01em; color: var(--em-txt); }
.pt-sec-cab .pt-sub { margin: 6px 0 0; color: var(--em-txt-3); font-size: 15px; max-width: 620px; }
.pt-rot { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 6px; font-family: var(--em-fuente-mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: #e11d48; }
.pt-vacio { padding: 44px 20px; text-align: center; color: var(--em-txt-3); background: #fff; border: 1px dashed var(--em-borde); border-radius: 20px; }
.pt-vacio i { display: block; font-size: 32px; margin-bottom: 6px; }
.pt-vacio strong { display: block; color: var(--em-txt-2); }

/* Separación bajo la cabecera para las páginas que no usan .pt-cuerpo
   (rankings, equipos, detalle de deportista); las que sí lo usan la anulan. */
.pt-cab { margin-bottom: 28px; }
.em:has(> .pt-cab) + .pt-cuerpo, .em:has(> .pt-cab) + .em.pt-cuerpo { margin-top: -28px; }
