.elementor-6684 .elementor-element.elementor-element-388fe4d{--display:flex;--flex-direction:column;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--align-items:stretch;--gap:0px 0px;--row-gap:0px;--column-gap:0px;}.elementor-6684 .elementor-element.elementor-element-388fe4d:not(.elementor-motion-effects-element-type-background), .elementor-6684 .elementor-element.elementor-element-388fe4d > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:var( --e-global-color-2e72a74 );}.elementor-6684 .elementor-element.elementor-element-4bd6eeca{--display:flex;--flex-direction:column;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--align-items:stretch;--gap:0px 0px;--row-gap:0px;--column-gap:0px;}.elementor-6684 .elementor-element.elementor-element-0f164ff{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--padding-top:3.2rem;--padding-bottom:0rem;--padding-left:0rem;--padding-right:0rem;}.elementor-6684 .elementor-element.elementor-element-7d94bc7{--display:flex;}.elementor-widget-heading .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-size:var( --e-global-typography-primary-font-size );font-weight:var( --e-global-typography-primary-font-weight );text-transform:var( --e-global-typography-primary-text-transform );font-style:var( --e-global-typography-primary-font-style );text-decoration:var( --e-global-typography-primary-text-decoration );line-height:var( --e-global-typography-primary-line-height );letter-spacing:var( --e-global-typography-primary-letter-spacing );color:var( --e-global-color-primary );}.elementor-6684 .elementor-element.elementor-element-57dd8a2 > .elementor-widget-container{padding:3rem 0rem 1.6rem 0rem;}.elementor-6684 .elementor-element.elementor-element-57dd8a2.elementor-element{--align-self:center;}.elementor-6684 .elementor-element.elementor-element-57dd8a2{text-align:center;}.elementor-6684 .elementor-element.elementor-element-39c9dfb{width:var( --container-widget-width, 100% );max-width:100%;--container-widget-width:100%;--container-widget-flex-grow:0;}.elementor-6684 .elementor-element.elementor-element-39c9dfb.elementor-element{--align-self:center;}.elementor-6684 .elementor-element.elementor-element-fb4960b > .elementor-widget-container{padding:3rem 0rem 1.6rem 0rem;}.elementor-6684 .elementor-element.elementor-element-fb4960b.elementor-element{--align-self:center;}.elementor-6684 .elementor-element.elementor-element-f2bfdfa{--display:grid;--e-con-grid-template-columns:repeat(2, 1fr);--e-con-grid-template-rows:repeat(1, 1fr);--grid-auto-flow:row;--padding-top:1.20rem;--padding-bottom:0rem;--padding-left:0rem;--padding-right:0rem;}.elementor-widget-image .widget-image-caption{color:var( --e-global-color-text );font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-size:var( --e-global-typography-text-font-size );font-weight:var( --e-global-typography-text-font-weight );text-transform:var( --e-global-typography-text-text-transform );font-style:var( --e-global-typography-text-font-style );text-decoration:var( --e-global-typography-text-text-decoration );line-height:var( --e-global-typography-text-line-height );}.elementor-6684 .elementor-element.elementor-element-0242e42 img{width:65%;max-width:65%;border-style:solid;border-width:0px 0px 15px 10px;border-color:#040f48;border-radius:10px 10px 10px 10px;}.elementor-6684 .elementor-element.elementor-element-c15ed4a img{width:65%;max-width:65%;border-style:solid;border-width:0px 10px 15px 0px;border-color:#08170a;border-radius:10px 10px 10px 10px;}@media(min-width:768px){.elementor-6684 .elementor-element.elementor-element-388fe4d{--width:100%;}.elementor-6684 .elementor-element.elementor-element-4bd6eeca{--width:100%;}.elementor-6684 .elementor-element.elementor-element-0f164ff{--width:80%;}}@media(max-width:1024px){.elementor-6684 .elementor-element.elementor-element-388fe4d{--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--padding-top:15%;--padding-bottom:15%;--padding-left:5%;--padding-right:5%;}.elementor-6684 .elementor-element.elementor-element-4bd6eeca{--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-widget-heading .elementor-heading-title{font-size:var( --e-global-typography-primary-font-size );line-height:var( --e-global-typography-primary-line-height );letter-spacing:var( --e-global-typography-primary-letter-spacing );}.elementor-6684 .elementor-element.elementor-element-f2bfdfa{--grid-auto-flow:row;}.elementor-widget-image .widget-image-caption{font-size:var( --e-global-typography-text-font-size );line-height:var( --e-global-typography-text-line-height );}}@media(max-width:767px){.elementor-6684 .elementor-element.elementor-element-388fe4d{--padding-top:15%;--padding-bottom:5%;--padding-left:5%;--padding-right:5%;}.elementor-6684 .elementor-element.elementor-element-0f164ff{--align-items:center;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );}.elementor-6684 .elementor-element.elementor-element-7d94bc7{--align-items:center;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );}.elementor-6684 .elementor-element.elementor-element-7d94bc7.e-con{--align-self:center;}.elementor-widget-heading .elementor-heading-title{font-size:var( --e-global-typography-primary-font-size );line-height:var( --e-global-typography-primary-line-height );letter-spacing:var( --e-global-typography-primary-letter-spacing );}.elementor-6684 .elementor-element.elementor-element-57dd8a2.elementor-element{--align-self:center;}.elementor-6684 .elementor-element.elementor-element-39c9dfb{--container-widget-width:100%;--container-widget-flex-grow:0;width:var( --container-widget-width, 100% );max-width:100%;}.elementor-6684 .elementor-element.elementor-element-fb4960b > .elementor-widget-container{padding:0rem 0rem 0rem 0rem;}.elementor-6684 .elementor-element.elementor-element-fb4960b{text-align:center;}.elementor-6684 .elementor-element.elementor-element-f2bfdfa{--e-con-grid-template-columns:repeat(1, 1fr);--gap:24px 0px;--row-gap:24px;--column-gap:0px;--grid-auto-flow:row;}.elementor-widget-image .widget-image-caption{font-size:var( --e-global-typography-text-font-size );line-height:var( --e-global-typography-text-line-height );}}/* Start custom CSS for shortcode, class: .elementor-element-39c9dfb *//* Contenedor general del scoreboard */
.elementor-6684 .elementor-element.elementor-element-39c9dfb .sp-scoreboard-wrapper {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 0;
}

/* Zona central del calendario */
.elementor-6684 .elementor-element.elementor-element-39c9dfb .sp-scoreboard-content {
  flex: 1;
  overflow: hidden;
}

/* Botones laterales */
.elementor-6684 .elementor-element.elementor-element-39c9dfb .sp-scoreboard-nav {
  width: 34px;
  min-width: 34px;
  border: 0;
  border-radius: 0;
  background: #FFCA28!important;
  color: #111827;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0;
  line-height: 1;
  z-index: 5;
  padding: 0;
}

/* Elimina iconos rotos que pudiera meter el tema/plugin */
.elementor-6684 .elementor-element.elementor-element-39c9dfb .sp-scoreboard-nav::before {
  font-family: Arial, sans-serif !important;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  color: #111827;
  display: block;
}

/* Flecha izquierda */
.elementor-6684 .elementor-element.elementor-element-39c9dfb .sp-scoreboard-prev::before {
  content: "‹";
}

/* Flecha derecha */
.elementor-6684 .elementor-element.elementor-element-39c9dfb .sp-scoreboard-next::before {
  content: "›";
}

/* Hover */
.elementor-6684 .elementor-element.elementor-element-39c9dfb .sp-scoreboard-nav:hover {
  background: #111827;
}

.elementor-6684 .elementor-element.elementor-element-39c9dfb .sp-scoreboard-nav:hover::before {
  color: #ffffff;
}

/* Ajuste móvil */
@media (max-width: 767px) {
  .elementor-6684 .elementor-element.elementor-element-39c9dfb .sp-scoreboard-nav {
    width: 28px;
    min-width: 28px;
  }

  .elementor-6684 .elementor-element.elementor-element-39c9dfb .sp-scoreboard-nav::before {
    font-size: 22px;
  }
}/* End custom CSS */
/* Start custom CSS *//* =========================================================
   CEF7 - PÁGINA DE PARTIDO / CSS OPTIMIZADO
   Versión consolidada:
   - Variables maestras
   - Contenedores alineados
   - Hero
   - Resumen
   - Alineaciones
   - Estadísticas
   - Campo dinámico
   ========================================================= */


/* =========================================================
   1. BASE / VARIABLES MAESTRAS
   ========================================================= */

.cef7-match-page {
  --cef7-yellow: #FFCA28;
  --cef7-yellow-soft: rgba(255, 202, 40, 0.16);
  --cef7-dark: #081423;
  --cef7-dark-2: #111827;
  --cef7-text: #111827;
  --cef7-muted: #6B7280;
  --cef7-bg: #F3F5F8;
  --cef7-card: #FFFFFF;
  --cef7-soft: #F8FAFC;
  --cef7-line: rgba(8, 20, 35, 0.10);
  --cef7-line-soft: rgba(8, 20, 35, 0.08);

  --cef7-content-width: 980px;
  --cef7-wide-width: 1180px;

  --cef7-radius-card: 24px;
  --cef7-radius-card-mobile: 22px;
  --cef7-radius-item: 18px;
  --cef7-shadow-card: 0 18px 42px rgba(8, 20, 35, 0.10);
  --cef7-shadow-hero: 0 24px 58px rgba(8, 20, 35, 0.30);

  width: 100%;
  max-width: var(--cef7-wide-width);
  margin: 0 auto;
  padding: 14px;
  background: var(--cef7-bg);
}

.cef7-match-page,
.cef7-match-page * {
  box-sizing: border-box;
}

.cef7-match-page a {
  color: var(--cef7-dark);
  text-decoration: none !important;
}

.cef7-match-page .sp-template,
.cef7-match-page .sp-table-wrapper,
.cef7-match-page .sp-scrollable-table-wrapper,
.cef7-match-page table {
  width: 100%;
  max-width: 100%;
}

.cef7-match-page .sp-template {
  margin: 0;
}

.cef7-match-page .sp-scrollable-table-wrapper {
  overflow-x: auto;
}

/* Evita que Elementor/Nested Tabs estreche el contenido activo */
.cef7-match-page .elementor-tab-content,
.cef7-match-page .e-n-tabs-content,
.cef7-match-page .e-n-tabs-content > .e-con,
.cef7-match-page .e-con-inner {
  width: 100% !important;
  max-width: 100% !important;
}

@media (min-width: 768px) {
  .cef7-match-page {
    padding: 22px;
  }
}

@media (min-width: 1025px) {
  .cef7-match-page {
    padding: 32px;
  }
}

@media (max-width: 420px) {
  .cef7-match-page {
    padding: 10px;
  }
}


/* =========================================================
   2. ESTILOS MAESTROS REUTILIZABLES
   ========================================================= */

/* Anchura estándar para pestañas de contenido */
.cef7-match-page .cef7-event-details,
.cef7-match-page .elementor-widget.cef7-event-details,
.cef7-match-page .cef7-event-statistics,
.cef7-match-page .elementor-widget.cef7-event-statistics,
.cef7-match-page .cef7-venue-card-widget,
.cef7-match-page .elementor-widget.cef7-venue-card-widget,
.cef7-match-page .cef7-venue-card-widget > .elementor-widget-container {
  width: 100% !important;
  max-width: var(--cef7-content-width) !important;
  margin: 18px auto 0 !important;
  flex-basis: 100% !important;
  flex-grow: 0 !important;
  align-self: center !important;
}

/* Anchura amplia solo para Alineaciones */
.cef7-match-page .cef7-event-performance,
.cef7-match-page .elementor-widget.cef7-event-performance,
.cef7-match-page .cef7-event-performance > .elementor-widget-container {
  width: 100% !important;
  max-width: var(--cef7-wide-width) !important;
  margin: 18px auto 0 !important;
  flex-basis: 100% !important;
  flex-grow: 1 !important;
  align-self: stretch !important;
}

/* Tarjetas maestras */
.cef7-match-page .sp-template-event-details,
.cef7-match-page .sp-template-event-statistics,
.cef7-match-page .cef7-venue-card {
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden;
  padding: 0;
  border-radius: var(--cef7-radius-card);
  background: var(--cef7-card);
  border: 1px solid var(--cef7-line-soft);
  box-shadow: var(--cef7-shadow-card);
}

/* Cabecera blanca reutilizable: Resumen / Estadísticas */
.cef7-match-page .cef7-event-details .sp-table-caption,
.cef7-match-page .cef7-event-statistics .sp-template-event-statistics .sp-table-caption {
  display: flex !important;
  align-items: center;
  gap: 0 !important;
  margin: 0 !important;
  padding: 22px 24px 20px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--cef7-line-soft) !important;
  background: #ffffff !important;
  color: var(--cef7-dark) !important;
  font-family: "League Spartan", "Poppins", system-ui, sans-serif;
  font-size: clamp(26px, 3vw, 34px) !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  text-transform: none !important;
  letter-spacing: -0.035em;
}

.cef7-match-page .cef7-event-details .sp-table-caption::after,
.cef7-match-page .cef7-event-statistics .sp-template-event-statistics .sp-table-caption::after {
  display: none !important;
}

/* Icono circular reutilizable en cabeceras */
.cef7-match-page .cef7-event-details .sp-table-caption::before,
.cef7-match-page .cef7-event-statistics .sp-template-event-statistics .sp-table-caption::before {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  min-width: 34px;
  margin-right: 14px;
  border-radius: 999px;
  background: var(--cef7-yellow);
  color: var(--cef7-dark);
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

/* Badge amarillo reutilizable */
.cef7-match-page .cef7-badge,
.cef7-match-page .cef7-venue-card__eyebrow,
.cef7-match-page .cef7-venue-card__description::before,
.cef7-match-page .cef7-venue-card__map::before,
.cef7-match-page .cef7-event-performance .sp-total-row::before {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--cef7-yellow);
  color: var(--cef7-dark);
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}


/* =========================================================
   3. HERO DEL PARTIDO
   Estructura:
   .cef7-match-hero
     .cef7-hero-teams  -> [event_teams]
     .cef7-hero-score  -> [event_results]
   ========================================================= */

.cef7-match-page .cef7-match-hero {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: var(--cef7-content-width);
  margin: 24px auto 18px;
  padding: 58px 16px 28px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 202, 40, 0.20), transparent 34%),
    radial-gradient(circle at 82% 16%, rgba(255, 255, 255, 0.08), transparent 28%),
    linear-gradient(135deg, #07111F 0%, #111827 58%, #17243A 100%);
  box-shadow: var(--cef7-shadow-hero);
  color: #fff;
}

.cef7-match-page .cef7-match-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0 72%, rgba(255, 202, 40, 0.12) 72% 76%, transparent 76%),
    radial-gradient(circle at 50% 52%, rgba(255,255,255,0.06), transparent 34%);
  pointer-events: none;
}

.cef7-match-page .cef7-match-hero::after {
  content: "Partido";
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 3;
  max-width: max-content;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--cef7-yellow);
  color: var(--cef7-dark);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.cef7-match-page .cef7-match-hero .sp-template,
.cef7-match-page .cef7-match-hero .sp-table-wrapper,
.cef7-match-page .cef7-match-hero .sp-scrollable-table-wrapper {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 0;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}

/* Equipos + VS */
.cef7-match-page .cef7-match-hero .cef7-hero-teams {
  position: relative;
  z-index: 2;
}

.cef7-match-page .cef7-match-hero .cef7-hero-teams .sp-event-logos {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 58px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  margin: 0;
  color: transparent !important;
  font-size: 0 !important;
  text-align: center;
}

.cef7-match-page .cef7-match-hero .cef7-hero-teams::after {
  content: "VS";
  position: absolute;
  top: clamp(48px, 7vw, 66px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: rgba(255, 202, 40, 0.12);
  border: 1px solid rgba(255, 202, 40, 0.36);
  color: var(--cef7-yellow);
  font-family: "League Spartan", "Poppins", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.04em;
  box-shadow:
    0 10px 24px rgba(0,0,0,0.18),
    inset 0 0 0 1px rgba(255,255,255,0.05);
}

.cef7-match-page .cef7-match-hero .cef7-hero-teams .sp-team-logo {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  min-width: 0;
}

.cef7-match-page .cef7-match-hero .cef7-hero-teams .sp-team-logo img {
  order: 1;
  width: clamp(92px, 15vw, 136px) !important;
  height: clamp(92px, 15vw, 136px) !important;
  object-fit: contain;
  padding: 11px;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,255,255,0.88));
  box-shadow:
    0 20px 42px rgba(0, 0, 0, 0.30),
    inset 0 0 0 1px rgba(255,255,255,0.75);
}

.cef7-match-page .cef7-match-hero .cef7-hero-teams .sp-team-logo .sp-team-name {
  order: 2;
}

.cef7-match-page .cef7-match-hero .cef7-hero-teams .sp-team-name {
  display: block !important;
  max-width: 240px;
  color: #ffffff !important;
  opacity: 1 !important;
  visibility: visible !important;
  font-family: "Poppins", system-ui, sans-serif;
  font-size: clamp(18px, 2.2vw, 25px);
  font-weight: 900;
  line-height: 1.08;
  text-align: center;
  text-transform: none;
  text-shadow: 0 2px 12px rgba(0,0,0,0.46);
  white-space: normal;
  overflow-wrap: anywhere;
}

/* Marcador */
.cef7-match-page .cef7-match-hero .cef7-hero-score {
  position: relative;
  z-index: 2;
  margin-top: 32px;
}

.cef7-match-page .cef7-match-hero .cef7-hero-score .sp-table-caption,
.cef7-match-page .cef7-match-hero .cef7-hero-score .sp-event-results thead {
  display: none !important;
}

.cef7-match-page .cef7-match-hero .cef7-hero-score .sp-event-results {
  width: 100%;
  margin: 0;
  border: 0 !important;
  border-collapse: collapse !important;
  background: transparent !important;
}

.cef7-match-page .cef7-match-hero .cef7-hero-score .sp-event-results tbody {
  display: grid;
  grid-template-columns: auto auto auto;
  align-items: center;
  justify-content: center;
  column-gap: 22px;
  width: fit-content;
  min-width: 230px;
  margin: 0 auto;
  padding: 12px 26px 14px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.06));
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow:
    0 20px 38px rgba(0,0,0,0.22),
    inset 0 0 0 1px rgba(255,255,255,0.05);
  backdrop-filter: blur(8px);
}

.cef7-match-page .cef7-match-hero .cef7-hero-score .sp-event-results tbody::before {
  content: "-";
  grid-column: 2;
  grid-row: 1;
  color: rgba(255,255,255,0.92);
  font-family: "League Spartan", "Poppins", system-ui, sans-serif;
  font-size: 54px;
  font-weight: 900;
  line-height: 1;
}

.cef7-match-page .cef7-match-hero .cef7-hero-score .sp-event-results tr {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
}

.cef7-match-page .cef7-match-hero .cef7-hero-score .sp-event-results tr:first-child {
  grid-column: 1;
  grid-row: 1;
}

.cef7-match-page .cef7-match-hero .cef7-hero-score .sp-event-results tr:nth-child(2) {
  grid-column: 3;
  grid-row: 1;
}

.cef7-match-page .cef7-match-hero .cef7-hero-score .sp-event-results td {
  border: 0 !important;
  background: transparent !important;
  padding: 0 !important;
}

.cef7-match-page .cef7-match-hero .cef7-hero-score .sp-event-results .data-name,
.cef7-match-page .cef7-match-hero .cef7-hero-score .sp-event-results .data-firsthalf,
.cef7-match-page .cef7-match-hero .cef7-hero-score .sp-event-results .data-secondhalf,
.cef7-match-page .cef7-match-hero .cef7-hero-score .sp-event-results .data-outcome {
  display: none !important;
}

.cef7-match-page .cef7-match-hero .cef7-hero-score .sp-event-results td.data-goals {
  display: block !important;
  min-width: 58px;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--cef7-yellow) !important;
  font-family: "League Spartan", "Poppins", system-ui, sans-serif !important;
  font-size: clamp(58px, 7vw, 84px) !important;
  font-weight: 900 !important;
  line-height: 0.88 !important;
  text-align: center !important;
  text-shadow: 0 12px 28px rgba(0,0,0,0.36);
}

.cef7-match-page .cef7-match-hero .cef7-hero-score::after {
  content: "Resultado del partido";
  display: flex;
  justify-content: center;
  margin-top: 14px;
  color: rgba(255,255,255,0.86);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

@media (min-width: 768px) {
  .cef7-match-page .cef7-match-hero {
    margin-top: 38px;
    padding: 64px 42px 34px;
    border-radius: 34px;
  }

  .cef7-match-page .cef7-match-hero::after {
    top: 22px;
    left: 22px;
  }

  .cef7-match-page .cef7-match-hero .cef7-hero-teams .sp-event-logos {
    grid-template-columns: minmax(0, 1fr) 76px minmax(0, 1fr);
    gap: 44px;
  }

  .cef7-match-page .cef7-match-hero .cef7-hero-teams::after {
    width: 56px;
    height: 56px;
    font-size: 16px;
  }

  .cef7-match-page .cef7-match-hero .cef7-hero-score {
    margin-top: 38px;
  }

  .cef7-match-page .cef7-match-hero .cef7-hero-score .sp-event-results tbody {
    min-width: 270px;
    column-gap: 28px;
    padding: 14px 34px 16px;
  }

  .cef7-match-page .cef7-match-hero .cef7-hero-score .sp-event-results tbody::before {
    font-size: 62px;
  }
}

@media (max-width: 767px) {
  .cef7-match-page .cef7-match-hero .cef7-hero-teams .sp-event-logos {
    grid-template-columns: minmax(0, 1fr) 46px minmax(0, 1fr);
    gap: 12px;
  }

  .cef7-match-page .cef7-match-hero .cef7-hero-teams::after {
    top: 46px;
    width: 40px;
    height: 40px;
    font-size: 12px;
  }

  .cef7-match-page .cef7-match-hero .cef7-hero-teams .sp-team-logo {
    gap: 11px;
  }

  .cef7-match-page .cef7-match-hero .cef7-hero-teams .sp-team-logo img {
    width: 92px !important;
    height: 92px !important;
    padding: 9px;
    border-radius: 24px;
  }

  .cef7-match-page .cef7-match-hero .cef7-hero-teams .sp-team-name {
    max-width: 148px;
    font-size: 20px;
    line-height: 1.05;
  }

  .cef7-match-page .cef7-match-hero .cef7-hero-score {
    margin-top: 34px;
  }

  .cef7-match-page .cef7-match-hero .cef7-hero-score .sp-event-results tbody {
    min-width: 210px;
    column-gap: 18px;
    padding: 12px 24px 14px;
  }

  .cef7-match-page .cef7-match-hero .cef7-hero-score .sp-event-results tbody::before {
    font-size: 50px;
  }

  .cef7-match-page .cef7-match-hero .cef7-hero-score .sp-event-results td.data-goals {
    min-width: 48px;
    font-size: 66px !important;
  }
}

@media (max-width: 420px) {
  .cef7-match-page .cef7-match-hero {
    margin-top: 18px;
    padding: 52px 10px 22px;
    border-radius: 24px;
  }

  .cef7-match-page .cef7-match-hero::after {
    top: 16px;
    left: 16px;
  }

  .cef7-match-page .cef7-match-hero .cef7-hero-teams .sp-event-logos {
    grid-template-columns: minmax(0, 1fr) 38px minmax(0, 1fr);
    gap: 8px;
  }

  .cef7-match-page .cef7-match-hero .cef7-hero-teams::after {
    top: 43px;
    width: 34px;
    height: 34px;
    font-size: 11px;
  }

  .cef7-match-page .cef7-match-hero .cef7-hero-teams .sp-team-logo img {
    width: 82px !important;
    height: 82px !important;
    border-radius: 22px;
    padding: 8px;
  }

  .cef7-match-page .cef7-match-hero .cef7-hero-teams .sp-team-name {
    max-width: 132px;
    font-size: 17px;
  }

  .cef7-match-page .cef7-match-hero .cef7-hero-score {
    margin-top: 30px;
  }

  .cef7-match-page .cef7-match-hero .cef7-hero-score .sp-event-results tbody {
    min-width: 188px;
    column-gap: 14px;
    padding: 10px 18px 12px;
    border-radius: 22px;
  }

  .cef7-match-page .cef7-match-hero .cef7-hero-score .sp-event-results tbody::before {
    font-size: 42px;
  }

  .cef7-match-page .cef7-match-hero .cef7-hero-score .sp-event-results td.data-goals {
    min-width: 40px;
    font-size: 58px !important;
  }

  .cef7-match-page .cef7-match-hero .cef7-hero-score::after {
    margin-top: 12px;
    font-size: 12px;
  }
}


/* =========================================================
   4. TABS / NORMALIZACIÓN LIGERA
   Clase recomendada del widget Tabs: cef7-match-tabs
   ========================================================= */

.cef7-match-page .cef7-match-tabs,
.cef7-match-tabs {
  width: 100% !important;
  max-width: 760px !important;
  margin: 18px auto 32px !important;
}

.cef7-match-page .cef7-match-tabs .elementor-tabs-wrapper,
.cef7-match-page .cef7-match-tabs .e-n-tabs-heading,
.cef7-match-tabs .elementor-tabs-wrapper,
.cef7-match-tabs .e-n-tabs-heading {
  display: flex !important;
  justify-content: center !important;
  width: 100% !important;
}

.cef7-match-page .cef7-match-tabs .elementor-tab-title,
.cef7-match-page .cef7-match-tabs .e-n-tab-title,
.cef7-match-page .cef7-match-tabs button.e-n-tab-title,
.cef7-match-tabs .elementor-tab-title,
.cef7-match-tabs .e-n-tab-title,
.cef7-match-tabs button.e-n-tab-title {
  min-height: 40px !important;
  padding: 10px 18px !important;
  font-family: "Poppins", system-ui, sans-serif !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  text-align: center !important;
}

.cef7-match-page .cef7-match-tabs .e-n-tab-title-text,
.cef7-match-tabs .e-n-tab-title-text {
  font-family: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
  white-space: nowrap !important;
}

@media (max-width: 767px) {
  .cef7-match-page .cef7-match-tabs,
  .cef7-match-tabs {
    max-width: 100% !important;
    margin: 14px auto 24px !important;
  }

  .cef7-match-page .cef7-match-tabs .elementor-tabs-wrapper,
  .cef7-match-page .cef7-match-tabs .e-n-tabs-heading,
  .cef7-match-tabs .elementor-tabs-wrapper,
  .cef7-match-tabs .e-n-tabs-heading {
    overflow-x: auto !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    scrollbar-width: none;
  }

  .cef7-match-page .cef7-match-tabs .elementor-tabs-wrapper::-webkit-scrollbar,
  .cef7-match-page .cef7-match-tabs .e-n-tabs-heading::-webkit-scrollbar,
  .cef7-match-tabs .elementor-tabs-wrapper::-webkit-scrollbar,
  .cef7-match-tabs .e-n-tabs-heading::-webkit-scrollbar {
    display: none;
  }

  .cef7-match-page .cef7-match-tabs .elementor-tab-title,
  .cef7-match-page .cef7-match-tabs .e-n-tab-title,
  .cef7-match-page .cef7-match-tabs button.e-n-tab-title,
  .cef7-match-tabs .elementor-tab-title,
  .cef7-match-tabs .e-n-tab-title,
  .cef7-match-tabs button.e-n-tab-title {
    flex: 0 0 auto !important;
    min-width: max-content !important;
    padding: 9px 12px !important;
    font-size: 11px !important;
    letter-spacing: -0.02em !important;
  }

  .cef7-match-page .cef7-match-tabs .e-n-tab-title-text,
  .cef7-match-tabs .e-n-tab-title-text {
    font-size: 11px !important;
  }
}


/* =========================================================
   5. PESTAÑA RESUMEN
   Shortcode: [event_details]
   Clase widget: cef7-event-details
   ========================================================= */

.cef7-match-page .cef7-event-details .sp-table-caption::before {
  content: "i";
}

.cef7-match-page .cef7-event-details > .elementor-widget-container,
.cef7-match-page .cef7-event-details .sp-template-event-details {
  width: 100% !important;
  max-width: 100% !important;
}

.cef7-match-page .cef7-event-details .sp-table-wrapper,
.cef7-match-page .cef7-event-details .sp-scrollable-table-wrapper {
  overflow: visible !important;
}

.cef7-match-page .cef7-event-details .sp-event-details {
  width: 100%;
  margin: 0;
  border: 0 !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  background: transparent !important;
}

.cef7-match-page .cef7-event-details .sp-event-details thead {
  display: none !important;
}

.cef7-match-page .cef7-event-details .sp-event-details tbody,
.cef7-match-page .cef7-event-details .sp-event-details tr {
  display: block;
}

.cef7-match-page .cef7-event-details .sp-event-details tr {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 16px;
}

.cef7-match-page .cef7-event-details .sp-event-details td {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 76px;
  gap: 6px;
  padding: 14px 16px !important;
  border: 1px solid var(--cef7-line-soft) !important;
  border-radius: var(--cef7-radius-item);
  background: var(--cef7-soft) !important;
  color: var(--cef7-dark);
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
  text-align: left;
}

.cef7-match-page .cef7-event-details .sp-event-details td::before {
  display: block;
  color: var(--cef7-muted);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.cef7-match-page .cef7-event-details .sp-event-details td:nth-child(1)::before {
  content: "Fecha";
}

.cef7-match-page .cef7-event-details .sp-event-details td:nth-child(2)::before {
  content: "Hora";
}

.cef7-match-page .cef7-event-details .sp-event-details td:nth-child(3)::before {
  content: "Grupo";
}

.cef7-match-page .cef7-event-details .sp-event-details td:nth-child(4)::before {
  content: "Temporada";
}

.cef7-match-page .cef7-event-details .sp-event-details td:nth-child(5)::before {
  content: "Campo";
}

.cef7-match-page .cef7-event-details .sp-event-details td:nth-child(1),
.cef7-match-page .cef7-event-details .sp-event-details td:nth-child(2) {
  background: rgba(255, 202, 40, 0.14) !important;
  border-color: rgba(255, 202, 40, 0.36) !important;
}

@media (min-width: 768px) {
  .cef7-match-page .cef7-event-details {
    margin-top: 22px !important;
  }

  .cef7-match-page .cef7-event-details .sp-event-details tr {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    padding: 20px 24px 24px;
  }

  .cef7-match-page .cef7-event-details .sp-event-details td {
    text-align: center;
    align-items: center;
    min-height: 92px;
  }
}

@media (max-width: 420px) {
  .cef7-match-page .cef7-event-details {
    margin-top: 16px !important;
  }

  .cef7-match-page .cef7-event-details .sp-template-event-details {
    border-radius: var(--cef7-radius-card-mobile);
  }

  .cef7-match-page .cef7-event-details .sp-table-caption {
    padding: 20px 18px 18px !important;
    font-size: 30px !important;
  }

  .cef7-match-page .cef7-event-details .sp-table-caption::before {
    width: 32px;
    height: 32px;
    min-width: 32px;
    margin-right: 12px;
    font-size: 14px;
  }

  .cef7-match-page .cef7-event-details .sp-event-details tr {
    padding: 14px;
  }

  .cef7-match-page .cef7-event-details .sp-event-details td {
    min-height: 68px;
    padding: 13px 14px !important;
    font-size: 15px;
  }
}


/* =========================================================
   6. PESTAÑA ALINEACIONES
   Shortcode: [event_performance]
   Clase widget: cef7-event-performance
   ========================================================= */

.cef7-match-page .cef7-event-performance .sp-template-event-statistics {
  display: none !important;
}

.cef7-match-page .cef7-event-performance .sp-template,
.cef7-match-page .cef7-event-performance .sp-event-performance-tables {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

.cef7-match-page .cef7-event-performance .sp-event-performance-tables {
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 18px;
}

.cef7-match-page .cef7-event-performance .sp-template-event-performance {
  overflow: hidden;
  padding: 0;
  border-radius: var(--cef7-radius-card);
  background: #ffffff;
  border: 1px solid var(--cef7-line-soft);
  box-shadow: var(--cef7-shadow-card);
}

.cef7-match-page .cef7-event-performance .sp-template-event-performance .sp-table-caption {
  display: flex !important;
  align-items: center;
  margin: 0 !important;
  padding: 18px 20px 16px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--cef7-line-soft) !important;
  background: linear-gradient(135deg, #081423 0%, #111827 100%) !important;
  color: #ffffff !important;
  font-family: "League Spartan", "Poppins", system-ui, sans-serif;
  font-size: clamp(22px, 3vw, 30px) !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  text-transform: none !important;
  letter-spacing: -0.03em;
}

.cef7-match-page .cef7-event-performance .sp-template-event-performance .sp-table-caption::before {
  content: "";
  display: inline-flex !important;
  width: 30px;
  height: 30px;
  min-width: 30px;
  margin-right: 12px;
  border-radius: 999px;
  background: var(--cef7-yellow);
  box-shadow: inset 0 0 0 8px rgba(8, 20, 35, 0.14);
}

.cef7-match-page .cef7-event-performance .sp-template-event-performance .sp-table-caption::after {
  display: none !important;
}

.cef7-match-page .cef7-event-performance .sp-event-performance {
  width: 100%;
  margin: 0;
  border: 0 !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  background: transparent !important;
}

.cef7-match-page .cef7-event-performance .sp-event-performance thead {
  display: none !important;
}

.cef7-match-page .cef7-event-performance .sp-event-performance tbody {
  display: grid;
  gap: 8px;
  padding: 14px;
}

.cef7-match-page .cef7-event-performance .sp-event-performance tr.lineup,
.cef7-match-page .cef7-event-performance .sp-event-performance tr.sub {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 10px 12px;
  border-radius: 16px;
  background: var(--cef7-soft);
  border: 1px solid var(--cef7-line-soft);
}

.cef7-match-page .cef7-event-performance .sp-event-performance tr.sub {
  background: #ffffff;
}

.cef7-match-page .cef7-event-performance .sp-event-performance td {
  border: 0 !important;
  background: transparent !important;
  padding: 0 !important;
}

.cef7-match-page .cef7-event-performance .sp-event-performance .data-number {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--cef7-dark);
  color: #ffffff;
  font-family: "League Spartan", "Poppins", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
}

.cef7-match-page .cef7-event-performance .sp-event-performance .data-name {
  min-width: 0;
}

.cef7-match-page .cef7-event-performance .sp-event-performance .data-name a,
.cef7-match-page .cef7-event-performance .sp-event-performance .data-name {
  color: var(--cef7-dark) !important;
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.18;
  text-decoration: none !important;
}

.cef7-match-page .cef7-event-performance .sp-player-position {
  display: block;
  margin-top: 3px;
  color: var(--cef7-muted);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cef7-match-page .cef7-event-performance .sp-performance-icons {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  color: var(--cef7-dark);
  font-size: 13px;
  font-weight: 900;
  text-align: right;
  white-space: nowrap;
}

.cef7-match-page .cef7-event-performance .sp-performance-icons .sp-icon-soccerball {
  color: var(--cef7-yellow) !important;
}

/* Acciones */
.cef7-match-page .cef7-event-performance .sp-total-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 14px;
  min-height: 58px;
  margin: 12px 14px 0 !important;
  padding: 12px 16px !important;
  border-radius: var(--cef7-radius-item);
  background: #FFF7DF !important;
  border: 1px solid rgba(255, 202, 40, 0.46) !important;
  color: var(--cef7-dark) !important;
  box-shadow: none !important;
}

.cef7-match-page .cef7-event-performance .sp-total-row::before {
  content: "Acciones";
  flex: 0 0 auto;
}

.cef7-match-page .cef7-event-performance .sp-total-row td {
  border: 0 !important;
  background: transparent !important;
  padding: 0 !important;
  color: var(--cef7-dark) !important;
}

.cef7-match-page .cef7-event-performance .sp-total-row .data-number,
.cef7-match-page .cef7-event-performance .sp-total-row .data-name {
  display: none !important;
}

.cef7-match-page .cef7-event-performance .sp-total-row .sp-performance-icons {
  display: inline-flex !important;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  width: auto;
  max-width: 100%;
  margin-left: auto;
  padding: 0 !important;
  background: transparent !important;
  color: var(--cef7-dark) !important;
  box-shadow: none !important;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
}

.cef7-match-page .cef7-event-performance .sp-total-row .sp-performance-icons > * {
  margin-left: 2px;
  margin-right: 2px;
}

.cef7-match-page .cef7-event-performance .sp-total-row .sp-performance-icons [class*="sp-icon"] {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 0 0 1px rgba(8, 20, 35, 0.08);
}

/* Staff */
.cef7-match-page .cef7-event-performance .sp-template-event-staff {
  box-sizing: border-box !important;
  width: calc(100% - 56px) !important;
  max-width: calc(100% - 56px) !important;
  margin: 18px 28px 16px !important;
  padding: 16px 18px !important;
  border-radius: var(--cef7-radius-item);
  background: linear-gradient(135deg, rgba(255, 202, 40, 0.18), rgba(255, 202, 40, 0.08));
  border: 1px solid rgba(255, 202, 40, 0.36);
}

.cef7-match-page .cef7-event-performance .sp-template-event-staff::before {
  content: "👥 Staff técnico";
  display: block;
  margin-bottom: 12px;
  color: var(--cef7-dark);
  font-family: "League Spartan", "Poppins", system-ui, sans-serif;
  font-size: 17px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.cef7-match-page .cef7-event-performance .sp-event-staff {
  margin: 0;
  color: var(--cef7-dark);
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.75;
}

.cef7-match-page .cef7-event-performance .sp-event-staff a {
  color: var(--cef7-dark) !important;
  font-weight: 900;
  text-decoration: none !important;
}

@media (min-width: 900px) {
  .cef7-match-page .cef7-event-performance .sp-event-performance-tables {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 22px !important;
    align-items: stretch !important;
  }

  .cef7-match-page .cef7-event-performance .sp-template-event-performance {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .cef7-match-page .cef7-event-performance .sp-template-event-performance .sp-table-wrapper,
  .cef7-match-page .cef7-event-performance .sp-template-event-performance .sp-scrollable-table-wrapper {
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .cef7-match-page .cef7-event-performance .sp-event-performance {
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .cef7-match-page .cef7-event-performance .sp-event-performance tbody {
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
  }

  .cef7-match-page .cef7-event-performance .sp-total-row {
    margin-top: auto !important;
  }

  .cef7-match-page .cef7-event-performance .sp-template-event-staff {
    flex: 0 0 auto !important;
    min-height: 112px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
  }
}

@media (max-width: 899px) {
  .cef7-match-page .cef7-event-performance .sp-event-performance-tables {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .cef7-match-page .cef7-event-performance .sp-template-event-staff {
    width: calc(100% - 52px) !important;
    max-width: calc(100% - 52px) !important;
    margin-left: 26px !important;
    margin-right: 26px !important;
  }
}

@media (max-width: 767px) {
  .cef7-match-page .cef7-event-performance {
    margin-top: 16px !important;
  }

  .cef7-match-page .cef7-event-performance .sp-template-event-performance {
    border-radius: var(--cef7-radius-card-mobile);
  }

  .cef7-match-page .cef7-event-performance .sp-template-event-performance .sp-table-caption {
    padding: 18px 16px 15px !important;
    font-size: 26px !important;
  }

  .cef7-match-page .cef7-event-performance .sp-event-performance tbody {
    padding: 12px;
  }

  .cef7-match-page .cef7-event-performance .sp-event-performance tr.lineup,
  .cef7-match-page .cef7-event-performance .sp-event-performance tr.sub {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 10px;
    min-height: 56px;
  }

  .cef7-match-page .cef7-event-performance .sp-event-performance .data-number {
    width: 34px;
    height: 34px;
    font-size: 15px;
  }

  .cef7-match-page .cef7-event-performance .sp-performance-icons {
    grid-column: 2;
    justify-content: flex-start;
    margin-top: 3px;
    white-space: normal;
  }

  .cef7-match-page .cef7-event-performance .sp-total-row {
    justify-content: flex-start !important;
    flex-wrap: wrap;
    margin: 12px 12px 0 !important;
    padding: 12px 14px !important;
  }

  .cef7-match-page .cef7-event-performance .sp-total-row .sp-performance-icons {
    justify-content: flex-start;
    margin-left: 0;
  }

  .cef7-match-page .cef7-event-performance .sp-template-event-staff {
    margin-top: 14px !important;
    margin-bottom: 12px !important;
    padding: 15px 16px !important;
  }
}


/* =========================================================
   7. PESTAÑA ESTADÍSTICAS
   Shortcode: [event_performance]
   Clase widget: cef7-event-statistics
   ========================================================= */

.cef7-match-page .cef7-event-statistics .sp-template-event-performance,
.cef7-match-page .cef7-event-statistics .sp-template-event-staff {
  display: none !important;
}

.cef7-match-page .cef7-event-statistics .sp-template-event-statistics {
  display: block !important;
}

.cef7-match-page .cef7-event-statistics .sp-template-event-statistics .sp-table-caption::before {
  content: "↗";
  font-size: 17px;
}

.cef7-match-page .cef7-event-statistics .sp-template-event-statistics .sp-table-wrapper,
.cef7-match-page .cef7-event-statistics .sp-template-event-statistics .sp-scrollable-table-wrapper {
  overflow: visible !important;
}

.cef7-match-page .cef7-event-statistics .sp-statistic-label {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 18px 24px 10px;
  color: var(--cef7-dark) !important;
  font-family: "Poppins", system-ui, sans-serif !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  line-height: 1.18 !important;
  text-align: center;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

.cef7-match-page .cef7-event-statistics .sp-statistic-label::before {
  content: "•";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  min-width: 26px;
  border-radius: 999px;
  background: var(--cef7-yellow);
  color: var(--cef7-dark);
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
}

.cef7-match-page .cef7-event-statistics .sp-statistic-label:nth-of-type(1)::before {
  content: "⚽";
}

.cef7-match-page .cef7-event-statistics .sp-statistic-label:nth-of-type(2)::before {
  content: "🎯";
}

.cef7-match-page .cef7-event-statistics .sp-statistic-label:nth-of-type(3)::before {
  content: "🟨";
}

.cef7-match-page .cef7-event-statistics .sp-statistic-label:nth-of-type(4)::before {
  content: "🟥";
}

.cef7-match-page .cef7-event-statistics .sp-statistic-label:nth-of-type(5)::before {
  content: "🥅";
}

.cef7-match-page .cef7-event-statistics .sp-statistic-label:nth-of-type(6)::before {
  content: "🧤";
}

.cef7-match-page .cef7-event-statistics .sp-event-statistics {
  width: calc(100% - 48px);
  margin: 0 24px 18px;
  border: 0 !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  background: var(--cef7-soft);
  border-radius: var(--cef7-radius-item);
  overflow: hidden;
}

.cef7-match-page .cef7-event-statistics .sp-event-statistics td {
  border: 0 !important;
  background: transparent !important;
  padding: 14px 10px !important;
  vertical-align: middle;
}

.cef7-match-page .cef7-event-statistics .sp-statistic-value {
  width: 58px;
  color: var(--cef7-dark);
  font-family: "League Spartan", "Poppins", system-ui, sans-serif;
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
}

.cef7-match-page .cef7-event-statistics .sp-statistic-bar {
  height: 14px !important;
  border-radius: 999px;
  background: rgba(8, 20, 35, 0.10) !important;
  overflow: hidden;
}

.cef7-match-page .cef7-event-statistics .sp-statistic-bar-fill {
  height: 100% !important;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cef7-yellow), #FFE083) !important;
}

.cef7-match-page .cef7-event-statistics .sp-template-event-statistics > *:last-child {
  margin-bottom: 20px;
}

@media (max-width: 767px) {
  .cef7-match-page .cef7-event-statistics {
    margin-top: 16px !important;
    max-width: 100% !important;
  }

  .cef7-match-page .cef7-event-statistics .sp-template-event-statistics {
    border-radius: var(--cef7-radius-card-mobile);
  }

  .cef7-match-page .cef7-event-statistics .sp-template-event-statistics .sp-table-caption {
    padding: 20px 18px 18px !important;
    font-size: 30px !important;
  }

  .cef7-match-page .cef7-event-statistics .sp-template-event-statistics .sp-table-caption::before {
    width: 32px;
    height: 32px;
    min-width: 32px;
    margin-right: 12px;
    font-size: 16px;
  }

  .cef7-match-page .cef7-event-statistics .sp-statistic-label {
    gap: 7px;
    padding: 16px 16px 9px;
    font-size: 14px !important;
  }

  .cef7-match-page .cef7-event-statistics .sp-statistic-label::before {
    width: 24px;
    height: 24px;
    min-width: 24px;
    font-size: 13px;
  }

  .cef7-match-page .cef7-event-statistics .sp-event-statistics {
    width: calc(100% - 28px);
    margin: 0 14px 16px;
    border-radius: 16px;
  }

  .cef7-match-page .cef7-event-statistics .sp-event-statistics td {
    padding: 12px 7px !important;
  }

  .cef7-match-page .cef7-event-statistics .sp-statistic-value {
    width: 42px;
    font-size: 24px;
  }

  .cef7-match-page .cef7-event-statistics .sp-statistic-bar {
    height: 12px !important;
  }
}


/* =========================================================
   8. PESTAÑA CAMPO / TARJETA DINÁMICA
   Shortcode: [cef7_venue_card]
   Clase widget: cef7-venue-card-widget
   ========================================================= */

.cef7-match-page .cef7-venue-card,
.cef7-venue-card {
  border-radius: 28px;
  box-shadow: 0 22px 56px rgba(8, 20, 35, 0.14);
}

/* Cabecera */
.cef7-match-page .cef7-venue-card__header,
.cef7-venue-card__header {
  position: relative;
  overflow: hidden;
  padding: 30px 32px 28px;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 202, 40, 0.22), transparent 34%),
    radial-gradient(circle at 88% 18%, rgba(255,255,255,0.10), transparent 28%),
    linear-gradient(135deg, #07111F 0%, #111827 58%, #17243A 100%);
  color: #ffffff;
}

.cef7-match-page .cef7-venue-card__header::after,
.cef7-venue-card__header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0 74%, rgba(255, 202, 40, 0.12) 74% 78%, transparent 78%);
  pointer-events: none;
}

.cef7-match-page .cef7-venue-card__eyebrow,
.cef7-venue-card__eyebrow {
  position: relative;
  z-index: 2;
  margin-bottom: 14px;
}

.cef7-match-page .cef7-venue-card__title,
.cef7-venue-card__title {
  position: relative;
  z-index: 2;
  margin: 0;
  max-width: 820px;
  color: #ffffff;
  font-family: "League Spartan", "Poppins", system-ui, sans-serif;
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.05em;
  text-shadow: 0 8px 28px rgba(0,0,0,0.30);
}

.cef7-match-page .cef7-venue-card__address,
.cef7-venue-card__address {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 16px 0 0;
  color: rgba(255,255,255,0.82);
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.45;
}

.cef7-match-page .cef7-venue-card__address::before,
.cef7-venue-card__address::before {
  content: "📍";
  line-height: 1.25;
}

/* Imagen + descripción */
.cef7-match-page .cef7-venue-card__info,
.cef7-venue-card__info {
  display: grid !important;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr) !important;
  gap: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  background: #ffffff;
}

.cef7-match-page .cef7-venue-card__media,
.cef7-venue-card__media {
  position: relative;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 430px;
  background: #E5E7EB;
  overflow: hidden;
}

.cef7-match-page .cef7-venue-card__media::after,
.cef7-venue-card__media::after {
  content: "Plano del campo";
  position: absolute;
  left: 20px;
  bottom: 20px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(8, 20, 35, 0.86);
  color: #ffffff;
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  backdrop-filter: blur(8px);
}

.cef7-match-page .cef7-venue-card__media img,
.cef7-venue-card__media img {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

.cef7-match-page .cef7-venue-card__description,
.cef7-venue-card__description {
  position: relative;
  width: 100% !important;
  max-width: 100% !important;
  padding: 34px;
  color: var(--cef7-text);
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.7;
  background:
    radial-gradient(circle at top right, rgba(255, 202, 40, 0.18), transparent 34%),
    #ffffff;
  border-left: 1px solid var(--cef7-line-soft);
}

.cef7-match-page .cef7-venue-card__description::before,
.cef7-venue-card__description::before {
  content: "Información útil";
  margin-bottom: 16px;
}

.cef7-match-page .cef7-venue-card__description p,
.cef7-venue-card__description p {
  margin: 0 0 13px;
}

.cef7-match-page .cef7-venue-card__description p:last-child,
.cef7-venue-card__description p:last-child {
  margin-bottom: 0;
}

.cef7-match-page .cef7-venue-card__description strong,
.cef7-venue-card__description strong {
  font-weight: 900;
  color: var(--cef7-dark);
}

.cef7-match-page .cef7-venue-card__info > *:only-child,
.cef7-venue-card__info > *:only-child {
  grid-column: 1 / -1 !important;
}

/* Mapa */
.cef7-match-page .cef7-venue-card__map,
.cef7-venue-card__map {
  position: relative;
  width: 100% !important;
  max-width: 100% !important;
  padding: 64px 24px 24px;
  background: #ffffff;
  border-top: 1px solid var(--cef7-line-soft);
}

.cef7-match-page .cef7-venue-card__map::before,
.cef7-venue-card__map::before {
  content: "Cómo llegar";
  position: absolute;
  top: 22px;
  left: 24px;
}

.cef7-match-page .cef7-venue-card__map iframe,
.cef7-venue-card__map iframe {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 390px;
  border: 0;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(8, 20, 35, 0.10);
}

@media (max-width: 1024px) {
  .cef7-match-page .cef7-venue-card__info,
  .cef7-venue-card__info {
    grid-template-columns: 1fr !important;
  }

  .cef7-match-page .cef7-venue-card__description,
  .cef7-venue-card__description {
    border-left: 0;
    border-top: 1px solid var(--cef7-line-soft);
  }
}

@media (max-width: 767px) {
  .cef7-match-page .cef7-venue-card-widget,
  .cef7-match-page .elementor-widget.cef7-venue-card-widget,
  .cef7-match-page .cef7-venue-card-widget > .elementor-widget-container {
    max-width: 100% !important;
    margin-top: 16px !important;
  }

  .cef7-match-page .cef7-venue-card,
  .cef7-venue-card {
    border-radius: var(--cef7-radius-card-mobile);
  }

  .cef7-match-page .cef7-venue-card__header,
  .cef7-venue-card__header {
    padding: 24px 18px 22px;
  }

  .cef7-match-page .cef7-venue-card__title,
  .cef7-venue-card__title {
    font-size: 36px;
  }

  .cef7-match-page .cef7-venue-card__address,
  .cef7-venue-card__address {
    font-size: 14px;
  }

  .cef7-match-page .cef7-venue-card__media,
  .cef7-match-page .cef7-venue-card__media img,
  .cef7-venue-card__media,
  .cef7-venue-card__media img {
    min-height: 230px;
  }

  .cef7-match-page .cef7-venue-card__media::after,
  .cef7-venue-card__media::after {
    left: 14px;
    bottom: 14px;
  }

  .cef7-match-page .cef7-venue-card__description,
  .cef7-venue-card__description {
    padding: 22px 18px;
    font-size: 14px;
    line-height: 1.62;
  }

  .cef7-match-page .cef7-venue-card__map,
  .cef7-venue-card__map {
    padding: 60px 18px 18px;
  }

  .cef7-match-page .cef7-venue-card__map::before,
  .cef7-venue-card__map::before {
    top: 20px;
    left: 18px;
  }

  .cef7-match-page .cef7-venue-card__map iframe,
  .cef7-venue-card__map iframe {
    min-height: 260px;
    border-radius: 18px;
  }
}/* End custom CSS */