/* Estilos del tema EDLP. Colores y medidas como variables para que un hijo pise fácil. */

/* Fuentes propias del tema (nada de Google Fonts: privacidad y velocidad) */
@font-face {
	font-family: "Archivo Black";
	src: url(../fonts/ArchivoBlack-Regular.woff2) format("woff2");
	font-weight: 400;
	font-display: swap;
	font-style: normal;
}
@font-face {
	font-family: "Archivo";
	src: url(../fonts/Archivo-Variable.woff2) format("woff2");
	font-weight: 100 900;
	font-stretch: 62% 125%;
	font-display: swap;
	font-style: normal;
}
@font-face {
	font-family: "Roboto Mono";
	src: url(../fonts/RobotoMono-Variable.woff2) format("woff2");
	font-weight: 100 700;
	font-display: swap;
	font-style: normal;
}

/* Colores, tipografías y medidas base */
:root {
	--edlp-paper:      #e7e5dc;
	--edlp-red:      #e41815;
	--edlp-red-dark: #b00000;
	--edlp-bone:     #e6e6dc;
	--edlp-gold:     #ada072;
	--edlp-ink:      #111111;
	--edlp-black:    #000000;
	--edlp-white:    #ffffff;

	--edlp-font-display:  "Archivo Black", "Arial Black", sans-serif;
	--edlp-font-body:     "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--edlp-font-mono:     "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

	--edlp-header-h:        104px;
	--edlp-header-h-scroll: 68px;
	--edlp-maxw:            1200px;

	--edlp-ease: cubic-bezier(0.22, 1, 0.36, 1);
	--edlp-dur:  0.28s;
	--edlp-cut:  20px; /* el corte de esquina que usa todo el sitio */
}

/* Base y reseteo liviano */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: var(--edlp-font-body); color: var(--edlp-ink); background: var(--edlp-paper); line-height: 1.55; -webkit-font-smoothing: antialiased; }
body.home { background-color: var(--edlp-red); }
a { color: var(--edlp-red); text-decoration: none; }
a:hover { color: var(--edlp-red-dark); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--edlp-font-display); line-height: 1.1; margin: 0 0 .5em; }
:focus-visible { outline: 3px solid var(--edlp-red); outline-offset: 2px; }

.edlp-skip-link { position: absolute; left: -9999px; top: 0; background: var(--edlp-red); color: #fff; padding: .6rem 1rem; z-index: 1000; }
.edlp-skip-link:focus { left: 8px; top: 8px; color: #fff; }

.edlp-wrap { max-width: var(--edlp-maxw); margin: 0 auto; padding: 0 24px; }

/* título de sección estilo "expandido" (imitamos GT America con Archivo ancho) */
.edlp-section-title {
	font-family: var(--edlp-font-body);
	font-weight: 900;
	font-stretch: 125%;
	text-transform: uppercase;
	letter-spacing: .02em;
	text-align: center;
	font-size: clamp(1.7rem, 5vw, 2.6rem);
}

/* corte de esquinas reutilizable */
.edlp-cut {
	clip-path: polygon(var(--edlp-cut) 0, 100% 0, 100% calc(100% - var(--edlp-cut)), calc(100% - var(--edlp-cut)) 100%, 0 100%, 0 var(--edlp-cut));
}

/* botón tipo el del sitio: rojo oscuro, mono, esquinitas y filo blanco */
.edlp-btn {
	display: inline-block;
	background: var(--edlp-red-dark);
	color: #fff;
	font-family: var(--edlp-font-mono);
	font-weight: 700;
	font-size: .78rem;
	text-transform: uppercase;
	letter-spacing: .5px;
	padding: 9px 18px;
	border: 0;
	cursor: pointer;
	clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0 calc(100% - 8px), 0 8px);
	transition: transform var(--edlp-dur) var(--edlp-ease), background var(--edlp-dur) var(--edlp-ease);
}
.edlp-btn:hover { background: var(--edlp-red); color: #fff; transform: scale(1.05); }

/* Header: dos menús con el escudo al medio */
.edlp-header {
	position: sticky; top: 0; z-index: 100;
	background: transparent;
	border-bottom: none;
	transition: background var(--edlp-dur) var(--edlp-ease), box-shadow var(--edlp-dur) var(--edlp-ease), border-color var(--edlp-dur) var(--edlp-ease);
}
.edlp-header__inner {
	max-width: var(--edlp-maxw); min-height: var(--edlp-header-h);
	margin: 0 auto; padding: 0 24px;
	display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
	transition: min-height var(--edlp-dur) var(--edlp-ease);
}
.edlp-header.is-scrolled .edlp-header__inner { min-height: var(--edlp-header-h-scroll); }
/* al bajar: negro translúcido con blur, como el sitio activo */
.edlp-header.is-scrolled {
	background: rgba(0, 0, 0, 0.3);
	border-bottom: none;
	box-shadow: rgba(0, 0, 0, 0.2) 0px 4px 20px;
	backdrop-filter: blur(15px);
	-webkit-backdrop-filter: blur(15px);
	transition: transform 0.3s, background 0.3s, backdrop-filter 0.3s, box-shadow 0.3s;
	color: #fff;
}
.edlp-header.is-scrolled .edlp-nav__list a,
.edlp-header.is-scrolled .edlp-header__search-toggle { color: #fff; }
.edlp-header.is-scrolled .edlp-header__toggle-bar { background: #fff; }
.edlp-header__brand { grid-column: 2; justify-self: center; display: flex; align-items: center; margin: 0 clamp(28px, 4vw, 64px); }
.edlp-header__brand img { max-height: 68px; width: auto; transition: max-height var(--edlp-dur) var(--edlp-ease); }
.edlp-header.is-scrolled .edlp-header__brand img { max-height: 50px; }
.edlp-header__brand-text { font-family: var(--edlp-font-display); font-size: 1.25rem; color: var(--edlp-red); text-transform: uppercase; }

.edlp-nav--left  { grid-column: 1; justify-self: end; }
.edlp-header__right { grid-column: 3; justify-self: start; display: flex; align-items: center; gap: 12px; width: 100%; }
.edlp-header__search-toggle { margin-left: auto; background: none; border: 0; cursor: pointer; color: inherit; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; }
.edlp-header__search-toggle .dashicons { font-size: 22px; width: 22px; height: 22px; }

.edlp-nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 24px; }
.edlp-nav__list li { position: relative; }
.edlp-nav__list a {
	position: relative; display: inline-block; padding: 8px 0; color: inherit;
	font-family: var(--edlp-font-body); font-weight: 700; text-transform: uppercase; font-size: .84rem; letter-spacing: .03em; white-space: nowrap;
}
.edlp-nav__list a::after {
	content: ""; position: absolute; left: 0; bottom: 2px; height: 2px; width: 100%;
	background: var(--edlp-red); transform: scaleX(0); transform-origin: left center;
	transition: transform var(--edlp-dur) var(--edlp-ease);
}
.edlp-nav__list a:hover::after, .edlp-nav__list .current-menu-item > a::after, .edlp-nav__list .current-menu-ancestor > a::after { transform: scaleX(1); }
.edlp-nav__list a:hover { color: var(--edlp-red); }

/* dropdowns de los menús */
.edlp-nav__list .sub-menu {
	list-style: none; margin: 0; padding: 8px 0; position: absolute; top: 100%; left: 0;
	min-width: 200px; background: #fff; border: 1px solid rgba(0,0,0,.08);
	box-shadow: 0 12px 28px rgba(0,0,0,.14); border-radius: 8px;
	opacity: 0; visibility: hidden; transform: translateY(6px);
	transition: opacity var(--edlp-dur) var(--edlp-ease), transform var(--edlp-dur) var(--edlp-ease), visibility var(--edlp-dur);
	z-index: 20;
}
.edlp-nav__list li:hover > .sub-menu, .edlp-nav__list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.edlp-nav__list .sub-menu a { display: block; padding: 8px 18px; color: var(--edlp-ink); text-transform: none; font-weight: 600; letter-spacing: 0; }
.edlp-nav__list .sub-menu a::after { display: none; }
.edlp-nav__list .sub-menu a:hover { background: var(--edlp-bone); color: var(--edlp-red); }

/* la lupa despliega esto */
.edlp-search { border-top: 1px solid rgba(0,0,0,.08); padding: 16px 0; background: inherit; }
.edlp-search .edlp-wrap { display: flex; }
.edlp-search input[type="search"] { flex: 1; padding: 12px 14px; font-size: 1rem; border: 1px solid rgba(0,0,0,.2); border-radius: 4px; }
.edlp-search button { margin-left: 8px; }

/* hamburguesa (solo móvil) */
.edlp-header__toggle { grid-column: 1; justify-self: start; display: none; flex-direction: column; gap: 5px; width: 40px; height: 40px; padding: 8px; background: none; border: 0; cursor: pointer; }
.edlp-header__toggle-bar { display: block; height: 2px; width: 100%; background: currentColor; transition: transform var(--edlp-dur) var(--edlp-ease), opacity var(--edlp-dur) var(--edlp-ease); }
.edlp-header__toggle[aria-expanded="true"] .edlp-header__toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.edlp-header__toggle[aria-expanded="true"] .edlp-header__toggle-bar:nth-child(2) { opacity: 0; }
.edlp-header__toggle[aria-expanded="true"] .edlp-header__toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* panel de menú en móvil */
.edlp-mobilenav { display: none; background: #fff; border-bottom: 1px solid rgba(0,0,0,.08); padding: 8px 24px 16px; position: sticky; top: var(--edlp-header-h-scroll); z-index: 99; }
.edlp-mobilenav__list { list-style: none; margin: 0; padding: 0; }
.edlp-mobilenav__list a { display: block; padding: 12px 0; color: var(--edlp-ink); font-weight: 700; text-transform: uppercase; font-size: .95rem; border-bottom: 1px solid rgba(0,0,0,.06); }
.edlp-mobilenav__list .sub-menu { list-style: none; margin: 0; padding-left: 16px; }

/* Header transparente cuando hay hero media; sólido al scrollear */
.edlp-has-hero .edlp-header {
	position: fixed; left: 0; right: 0; top: 0;
	background: transparent; color: #fff; border-bottom-color: transparent;
}
.edlp-has-hero .edlp-header .edlp-nav__list a,
.edlp-has-hero .edlp-header .edlp-header__search-toggle,
.edlp-has-hero .edlp-header .edlp-header__toggle-bar { color: #fff; }
.edlp-has-hero .edlp-header.is-scrolled { position: fixed; }
.edlp-has-hero .edlp-main { margin-top: 0; }

/* aparecer al scrollear */
.edlp-main { display: block; min-height: 50vh; }
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .5s var(--edlp-ease), transform .5s var(--edlp-ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* Hero media (imagen o video), a pantalla completa como el sitio */
.edlp-heromedia {
	position: relative; min-height: 100vh; display: flex; align-items: flex-end; overflow: hidden;
	background-color: var(--edlp-black); background-size: cover; background-position: center; color: #fff;
}
.edlp-heromedia__video, .edlp-heromedia__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.edlp-heromedia::after { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(0,0,0,.42); pointer-events: none; }
.edlp-heromedia__overlay { position: relative; z-index: 2; width: 100%; padding: 0 0 12vh; background: linear-gradient(to top, rgba(0,0,0,.7), rgba(0,0,0,0) 55%); }
.edlp-heromedia__sub { font-family: var(--edlp-font-mono); text-transform: uppercase; letter-spacing: .18em; font-size: .8rem; opacity: .9; margin: 0 0 10px; }
.edlp-heromedia__title { font-family: var(--edlp-font-body); font-weight: 900; font-stretch: 125%; text-transform: uppercase; color: #fff; font-size: clamp(1.4rem, 3.4vw, 2.4rem); line-height: 1.05; margin: 0 0 20px; max-width: 20ch; }

/* Carrusel de noticias destacadas (scroll-snap nativo, sin librerías) */
.edlp-hero-carousel { padding: 28px 0 12px; }
.edlp-carousel { position: relative; }
.edlp-carousel__track {
	display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
	padding: 6px 4px 18px; scrollbar-width: none; -ms-overflow-style: none;
}
.edlp-carousel__track::-webkit-scrollbar { display: none; }
.edlp-ncard { flex: 0 0 300px; scroll-snap-align: start; background: #1a1a1a; color: var(--edlp-bone); transition: transform var(--edlp-dur) var(--edlp-ease); clip-path: polygon(var(--edlp-cut) 0, 100% 0, 100% calc(100% - var(--edlp-cut)), calc(100% - var(--edlp-cut)) 100%, 0 100%, 0 var(--edlp-cut)); }
.edlp-ncard:hover { transform: translateY(-5px); }
.edlp-ncard__imglink { display: block; }
.edlp-ncard__img { width: 100%; height: 185px; object-fit: cover; display: block; }
.edlp-ncard__img--empty { background: #2a2a2a; }
.edlp-ncard__body { padding: 18px 16px 16px; background: #1a1a1a; }
.edlp-ncard__title { font-family: var(--edlp-font-display); font-size: .88rem; line-height: 1.15; text-transform: uppercase; margin: 0 0 16px; min-height: 2.3em; }
.edlp-ncard__title a { color: var(--edlp-bone); }
.edlp-ncard__title a:hover { color: #fff; }
.edlp-ncard__foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.edlp-ncard__btn { background: #2b2b2b; }
.edlp-ncard__btn:hover { background: var(--edlp-red); }
.edlp-ncard__date { font-family: var(--edlp-font-mono); font-size: .78rem; color: var(--edlp-gold); }
.edlp-carousel__arrow {
	position: absolute; top: 40%; transform: translateY(-50%); z-index: 5;
	width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
	background: #fff; color: var(--edlp-red); font-size: 1.2rem; line-height: 1;
	display: flex; align-items: center; justify-content: center;
	box-shadow: 0 4px 14px rgba(0,0,0,.25); transition: background var(--edlp-dur) var(--edlp-ease), transform var(--edlp-dur) var(--edlp-ease), color var(--edlp-dur) var(--edlp-ease);
}
.edlp-carousel__arrow:hover { background: var(--edlp-red); color: #fff; }
.edlp-carousel__arrow--prev { left: -10px; }
.edlp-carousel__arrow--next { right: -10px; }

/* Bloque de partidos: últimos (carrusel a la izquierda) + próximo (recuadro a la derecha) */
.edlp-fixtures { padding: 48px 0 56px; color: #fff; overflow-x: clip; }
.edlp-fixtures__grid { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start; }
.edlp-fixtures__past { min-width: 0; }
.edlp-fixtures__next { min-width: 0; }
.edlp-fixtures__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 8px; min-height: 64px; }
.edlp-fixtures__title { font-family: var(--edlp-font-body); font-weight: 900; font-stretch: 125%; text-transform: uppercase; font-size: clamp(.55rem, 1.35vw, .95rem); line-height: 1.1; color: #fff; margin: 0; }
.edlp-fixtures__arrows { display: flex; gap: 8px; }
.edlp-fixtures__arrow { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,.6); background: transparent; color: #fff; cursor: pointer; font-size: .8rem; display: flex; align-items: center; justify-content: center; transition: background var(--edlp-dur) var(--edlp-ease), color var(--edlp-dur) var(--edlp-ease); }
.edlp-fixtures__arrow:hover { background: #fff; color: var(--edlp-red); }

/* pista del carrusel de últimos */
.edlp-fixtures__track { display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; -ms-overflow-style: none; }
.edlp-fixtures__track::-webkit-scrollbar { display: none; }

/* tarjeta de partido pasado: 3 por vista, separadas por líneas verticales */
.edlp-fx { flex: 0 0 33.333%; scroll-snap-align: start; padding: 0 28px; border-left: 1px solid rgba(255,255,255,.18); }
.edlp-fx:first-child { border-left: 0; padding-left: 0; }
.edlp-fx__info { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.25); border-bottom: 1px solid rgba(255,255,255,.25); }
.edlp-fx__date { display: inline-flex; flex-direction: column; line-height: 1; }
.edlp-fx__day { font-family: var(--edlp-font-display); font-size: 1.5rem; }
.edlp-fx__month { font-family: var(--edlp-font-body); font-weight: 700; text-transform: uppercase; font-size: .72rem; letter-spacing: .04em; }
.edlp-fx__tourn { display: flex; flex-direction: column; text-align: right; font-family: var(--edlp-font-body); font-weight: 700; text-transform: uppercase; line-height: 1.15; }
.edlp-fx__tourn-name { font-size: .82rem; }
.edlp-fx__tourn-inst { font-size: .82rem; }
.edlp-fx__rows { padding: 20px 0; display: flex; flex-direction: column; gap: 14px; }
.edlp-fx__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.edlp-fx__crest { display: inline-flex; align-items: center; }
.edlp-fx__crest-img, .edlp-fx__crest img { max-height: 55px; width: auto; object-fit: contain; }
.edlp-fx__crest .edlp-match__crest-img { max-height: 58px; max-width: 58px; width: auto; height: auto; object-fit: contain; }
.edlp-fx__crest .edlp-match__crest-txt { width: 40px; height: 40px; background: rgba(255,255,255,.15); }
.edlp-fx__score { font-family: var(--edlp-font-display); font-size: 2.4rem; line-height: 1; }
.edlp-fx__btn { display: block; text-align: center; margin-top: 8px; }
.edlp-fixtures__past .edlp-fx__btn { background: transparent; border: 0.5px solid rgba(255,255,255,.55); clip-path: polygon(4px 0, calc(100% - 4px) 0, 100% 4px, 100% calc(100% - 4px), calc(100% - 4px) 100%, 4px 100%, 0 calc(100% - 4px), 0 4px); }
.edlp-fixtures__past .edlp-fx__btn:hover { background: rgba(255,255,255,.95); color: var(--edlp-red); transform: none; }

/* recuadro de próximo partido */
.edlp-fixtures__next .edlp-fixtures__title { margin-bottom: 12px; }
.edlp-fxbox { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18); padding: 22px 22px 26px; text-align: center; }
.edlp-fxbox .edlp-fx__info { justify-content: space-between; border-top: 0; border-bottom: 0; padding: 0 0 6px; text-align: left; }
.edlp-fxbox__crests { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 18px 0 6px; }
.edlp-fxbox__crests img { max-height: 62px; width: auto; object-fit: contain; }
.edlp-fxbox__crests .edlp-match__crest-img { max-height: 66px; max-width: 66px; width: auto; height: auto; object-fit: contain; }
.edlp-fxbox__meta { font-family: var(--edlp-font-mono); font-size: .8rem; opacity: .9; margin: 10px 0 16px; }
.edlp-fxbox__btn { margin-top: 8px; }

@media (max-width: 900px) {
	.edlp-fixtures__grid { grid-template-columns: 1fr; gap: 28px; }
	.edlp-fx { flex-basis: 80%; }
}
@media (max-width: 560px) {
	.edlp-fx { flex-basis: 100%; }
}

/* Grilla de noticias */
.edlp-news { padding: 56px 0 72px; }
.edlp-news__title { margin-bottom: 28px; font-size: clamp(1.6rem, 4vw, 2.2rem); }
.edlp-news__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.edlp-news__card { background: var(--edlp-bone); overflow: hidden; transition: transform var(--edlp-dur) var(--edlp-ease), box-shadow var(--edlp-dur) var(--edlp-ease); }
.edlp-news__card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0,0,0,.12); }
.edlp-news__thumb img { width: 100%; height: 190px; object-fit: cover; display: block; }
.edlp-news__body { padding: 16px; }
.edlp-news__headline { font-size: 1.05rem; text-transform: uppercase; margin: 0 0 12px; color: var(--edlp-ink); }
.edlp-news__foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.edlp-news__date { font-family: var(--edlp-font-mono); font-size: .78rem; color: #666; }
.edlp-news__link { color: inherit; display: block; }

/* Sponsors — mismo diseño que el sitio activo: fondo rojo, logos en fila separados por líneas */
.edlp-sponsors { padding: 44px 0 52px; background: transparent; color: #fff; }
.edlp-sponsors__title { color: var(--edlp-bone); font-size: clamp(1.15rem, 3vw, 1.5rem); text-align: center; margin-bottom: 28px; }
.edlp-sponsors__tier + .edlp-sponsors__tier { border-top: 1px solid rgba(255,255,255,.22); }
.edlp-sponsors__grid { display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; }
.edlp-sponsors__item { flex: 1 1 140px; max-width: 210px; display: inline-flex; align-items: center; justify-content: center; padding: 22px 24px; border-left: 1px solid rgba(255,255,255,.18); transition: opacity var(--edlp-dur) var(--edlp-ease); }
.edlp-sponsors__item:first-child { border-left: 0; }
.edlp-sponsors__item[href]:hover { opacity: .75; }
/* los logos se muestran en blanco, como en el sitio activo (se puede quitar este filtro si algún sponsor exige su color) */
.edlp-sponsors__logo { max-height: 46px; width: auto; object-fit: contain; filter: brightness(0) invert(1); }
.edlp-sponsors__name { font-family: var(--edlp-font-display); font-size: 1rem; color: var(--edlp-bone); }

/* utilitario: visible solo para lectores de pantalla */
.edlp-sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }


/* Pie */
/* Pie — como el sitio activo: fondo rojo, marca de agua EDLP, 4 sedes centradas */
.edlp-footer { position: relative; overflow: hidden; background: var(--edlp-red); color: var(--edlp-bone); }
.edlp-footer__brandzone { position: relative; padding: 24px 24px 0; }
.edlp-footer__inner { position: relative; z-index: 2; max-width: var(--edlp-maxw); margin: 0 auto; padding: 10px 24px 34px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.edlp-footer__bottom { position: relative; z-index: 2; border-top: 1px solid rgba(255,255,255,.16); padding: 14px 24px; text-align: center; font-size: .68rem; font-family: var(--edlp-font-mono); }

/* Responsive */
@media (max-width: 980px) {
	.edlp-nav--left, .edlp-nav--right { display: none; }
	.edlp-header__toggle { display: flex; }
	.edlp-header__right { grid-column: 3; justify-self: end; }
	.edlp-mobilenav:not([hidden]) { display: block; }
	.edlp-matches__grid { grid-template-columns: 1fr; }
	.edlp-news__grid { grid-template-columns: 1fr 1fr; }
	.edlp-footer__inner { grid-template-columns: repeat(2, 1fr); }
	.edlp-heromedia { min-height: 82vh; }
	.edlp-heromedia__video { display: none; }
	.edlp-carousel__arrow { display: none; } /* en móvil se scrollea con el dedo */
}
@media (max-width: 560px) {
	.edlp-news__grid { grid-template-columns: 1fr; }
	.edlp-footer__inner { grid-template-columns: 1fr; }
}

/* si pidieron menos movimiento, cortamos animaciones */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
	[data-reveal] { opacity: 1; transform: none; }
	.edlp-heromedia__video { display: none; }
}

/* --- Ajustes bloque partidos: fila fecha+torneo y escudo de texto --- */
.edlp-match__head { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 14px; }
.edlp-match__date { align-items: center; margin: 0; }
.edlp-match--result .edlp-match__tournament,
.edlp-match--next .edlp-match__tournament { margin: 0; text-align: left; }
.edlp-match__crest-txt { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; font-family: var(--edlp-font-display); font-size: .8rem; background: rgba(255,255,255,.15); border-radius: 50%; }

/* --- Banner 1 (título logo/texto + descripción + imagen/video) --- */
.edlp-banner { padding: 0 0 0; }
.edlp-banner__head { text-align: center; padding: 34px 24px 26px; }
.edlp-banner__title { display: flex; align-items: center; justify-content: center; gap: 18px; }
.edlp-banner__text { font-family: var(--edlp-font-display); text-transform: uppercase; font-size: clamp(1.2rem, 3vw, 1.8rem); letter-spacing: .06em; color: #fff; }
.edlp-banner__logo img { max-height: 54px; width: auto; display: block; }
.edlp-banner__rule { flex: 1; max-width: 120px; height: 2px; background: linear-gradient(to right, transparent, var(--edlp-gold)); }
.edlp-banner__rule:last-child { background: linear-gradient(to left, transparent, var(--edlp-gold)); }
.edlp-banner__desc { max-width: 720px; margin: 14px auto 0; color: var(--edlp-bone); font-size: 1rem; line-height: 1.6; }
.edlp-banner__media { display: block; width: 100%; line-height: 0; }
.edlp-banner__media[href]:hover { opacity: .96; }
.edlp-banner__img, .edlp-banner__video { width: 100%; height: auto; display: block; }

/* --- Noticias institucionales (sección roja) + tarjeta Agenda --- */
.edlp-inst { background: var(--edlp-red); padding: 44px 0 60px; }
.edlp-inst__title { color: var(--edlp-bone); font-size: clamp(1.15rem, 3vw, 1.5rem); margin-bottom: 32px; letter-spacing: 1px; }
.edlp-inst__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 30px; align-items: stretch; }
.edlp-inst__col { display: flex; flex-direction: column; gap: 22px; }
.edlp-inst__item { display: flex; flex-direction: column; gap: 12px; }
.edlp-inst__card { display: block; height: 210px; background: var(--edlp-bone) center/cover no-repeat; box-shadow: 0 4px 12px rgba(0,0,0,.1); transition: transform var(--edlp-dur) var(--edlp-ease), box-shadow var(--edlp-dur) var(--edlp-ease); }
.edlp-inst__card:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0,0,0,.2); }
.edlp-inst__headline { margin: 0; }
.edlp-inst__headline a { color: var(--edlp-bone); font-family: var(--edlp-font-display); font-size: clamp(.95rem, 2.4vw, 1.2rem); line-height: 1.1; text-transform: uppercase; letter-spacing: -.5px; }
.edlp-inst__headline a:hover { color: #fff; }
.edlp-inst__foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.edlp-inst__date { color: var(--edlp-bone); font-family: var(--edlp-font-mono); font-size: .85rem; }

.edlp-agenda { position: relative; overflow: hidden; min-height: 480px; background: var(--edlp-black); color: var(--edlp-bone); padding: 32px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; box-shadow: 0 8px 25px rgba(0,0,0,.3); transition: transform var(--edlp-dur) var(--edlp-ease); }
.edlp-agenda:hover { transform: scale(1.02); color: var(--edlp-bone); }
.edlp-agenda__pattern { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.edlp-agenda > *:not(.edlp-agenda__pattern) { position: relative; z-index: 1; }
.edlp-agenda__kicker { font-family: var(--edlp-font-mono); font-weight: 700; letter-spacing: .3em; font-size: clamp(.9rem, 2vw, 1.1rem); margin-bottom: 4px; }
.edlp-agenda__big { font-family: var(--edlp-font-body); font-weight: 900; font-stretch: 125%; text-transform: uppercase; font-size: clamp(2.5rem, 8vw, 4rem); line-height: 1; transform: skewX(-10deg); margin-bottom: 24px; }
.edlp-agenda__text { font-family: var(--edlp-font-display); font-size: clamp(.75rem, 1.8vw, .85rem); line-height: 1.4; max-width: 34ch; margin-bottom: 22px; }
.edlp-agenda__btn { align-self: center; }

/* --- Footer: banda de aniversario + sedes --- */
/* fila superior repartida (superpuesta a la imagen) + imagen de fondo del pie */
.edlp-footer__brandzone { position: relative; min-height: 72px; }
.edlp-footer__top { position: absolute; z-index: 2; top: 0; left: 0; right: 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; gap: 16px; margin: 0; padding: 56px 28px 0; }
.edlp-footer__word { font-family: var(--edlp-font-display); text-transform: uppercase; font-size: clamp(.5rem, .8vw, .58rem); color: var(--edlp-bone); letter-spacing: .08em; text-shadow: 0 1px 6px rgba(0,0,0,.35); }
.edlp-footer__word:first-child { justify-self: start; }
.edlp-footer__word:last-child { justify-self: end; }
.edlp-footer__anniv { justify-self: center; display: flex; flex-direction: column; align-items: center; line-height: 1.15; text-align: center; text-shadow: 0 1px 6px rgba(0,0,0,.35); }
.edlp-footer__anniv-years { font-family: var(--edlp-font-mono); font-size: .52rem; color: var(--edlp-bone); letter-spacing: .12em; }
.edlp-footer__anniv-big { font-family: var(--edlp-font-display); color: var(--edlp-white); font-size: clamp(.55rem, .9vw, .64rem); }

.edlp-footer__bg { display: block; width: 100%; height: auto; }

.edlp-footer__sede-title { color: var(--edlp-white); font-family: var(--edlp-font-body); font-weight: 800; font-size: .82rem; line-height: 1.25; margin: 0 0 8px; text-transform: uppercase; letter-spacing: .02em; }
.edlp-footer__sede-text { font-family: var(--edlp-font-mono); font-size: .7rem; line-height: 1.75; color: var(--edlp-bone); margin: 0; }

@media (max-width: 980px) {
	.edlp-inst__grid { grid-template-columns: 1fr; }
	.edlp-agenda { min-height: 360px; }
}
@media (max-width: 560px) {
	.edlp-banner__text { font-size: 1.1rem; }
	.edlp-banner__rule { max-width: 60px; }
	.edlp-footer__top { position: static; grid-template-columns: 1fr; justify-items: center; gap: 8px; padding: 28px 20px 8px; }
	.edlp-footer__word:first-child, .edlp-footer__word:last-child { justify-self: center; }
}

/* --- Módulo Noticia destacada (imagen grande + texto + botón a la derecha) --- */
.edlp-featured { padding: 40px 0 16px; }
.edlp-featured__card { display: grid; grid-template-columns: 1.35fr 1fr; background: var(--edlp-bone); overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.edlp-featured__media { display: block; min-height: 340px; background: var(--edlp-ink); overflow: hidden; }
.edlp-featured__img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; display: block; transition: transform .6s var(--edlp-ease); }
.edlp-featured__media:hover .edlp-featured__img { transform: scale(1.04); }
.edlp-featured__body { padding: 34px 34px 30px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.edlp-featured__kicker { font-family: var(--edlp-font-mono); text-transform: uppercase; letter-spacing: .2em; font-size: .72rem; color: var(--edlp-red); margin-bottom: 12px; }
.edlp-featured__title { margin: 0 0 14px; }
.edlp-featured__title a { color: var(--edlp-ink); font-family: var(--edlp-font-display); text-transform: uppercase; font-size: clamp(1.4rem, 3.2vw, 2.1rem); line-height: 1.08; letter-spacing: -.5px; }
.edlp-featured__title a:hover { color: var(--edlp-red); }
.edlp-featured__text { margin: 0 0 22px; font-size: 1rem; line-height: 1.6; color: #3a3a3a; }

@media (max-width: 780px) {
	.edlp-featured__card { grid-template-columns: 1fr; }
	.edlp-featured__media, .edlp-featured__img { min-height: 220px; }
	.edlp-featured__body { padding: 24px 22px 26px; }
}

/* --- Ficha de partido (single-partido.php) --- */
.edlp-partido { padding: 0 0 56px; }
.edlp-partido__head { background: var(--edlp-red); color: #fff; padding: 48px 0; text-align: center; }
.edlp-partido__meta-top { font-family: var(--edlp-font-mono); text-transform: uppercase; letter-spacing: .12em; font-size: .82rem; opacity: .95; margin: 0 0 24px; }
.edlp-partido__match { display: flex; align-items: center; justify-content: center; gap: clamp(16px, 5vw, 56px); }
.edlp-partido__team { display: flex; flex-direction: column; align-items: center; gap: 12px; min-width: 100px; }
.edlp-partido__crest img { max-height: 84px; width: auto; }
.edlp-partido__crest .edlp-match__crest-txt { width: 64px; height: 64px; background: rgba(255,255,255,.15); font-size: 1rem; }
.edlp-partido__name { font-family: var(--edlp-font-display); text-transform: uppercase; font-size: clamp(1rem, 2.4vw, 1.4rem); }
.edlp-partido__center { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.edlp-partido__score { font-family: var(--edlp-font-display); font-size: clamp(2.6rem, 8vw, 4.4rem); line-height: 1; }
.edlp-partido__dash { margin: 0 10px; }
.edlp-partido__vs { font-family: var(--edlp-font-display); font-size: clamp(1.6rem, 5vw, 2.4rem); opacity: .8; }
.edlp-partido__date { font-family: var(--edlp-font-mono); font-size: .85rem; opacity: .95; }
.edlp-partido__meta-bot { font-family: var(--edlp-font-mono); font-size: .85rem; opacity: .9; margin: 24px 0 0; }
.edlp-partido__body { padding: 40px 0 8px; }
.edlp-partido__back { margin-top: 24px; }

/* contenido del editor, prolijo */
.edlp-content { max-width: 780px; }
.edlp-content p { margin: 0 0 1.1em; line-height: 1.7; }
.edlp-content img { height: auto; border-radius: 8px; }
.edlp-content h2, .edlp-content h3 { margin: 1.4em 0 .5em; }

@media (max-width: 560px) {
	.edlp-partido__match { gap: 12px; }
	.edlp-partido__crest img { max-height: 60px; }
}

/* --- Nota y página individual --- */
.edlp-single, .edlp-page { background: transparent; }
.edlp-single__hero { position: relative; min-height: 46vh; background: var(--edlp-ink); overflow: hidden; display: flex; align-items: flex-end; }
.edlp-single__hero--page { min-height: 34vh; }
.edlp-single__hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.edlp-single__hero-overlay { position: relative; z-index: 1; width: 100%; padding: 90px 0 34px; background: linear-gradient(to top, rgba(0,0,0,.8), rgba(0,0,0,0)); color: #fff; }
.edlp-single__cat { display: inline-block; background: var(--edlp-red); color: #fff; font-family: var(--edlp-font-mono); font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 4px 10px; margin-bottom: 12px; clip-path: polygon(5px 0, calc(100% - 5px) 0, 100% 5px, 100% calc(100% - 5px), calc(100% - 5px) 100%, 5px 100%, 0 calc(100% - 5px), 0 5px); }
.edlp-single__title { color: #fff; font-family: var(--edlp-font-display); text-transform: uppercase; font-size: clamp(1.2rem, 3vw, 2rem); line-height: 1.12; margin: 0 0 10px; max-width: 26ch; }
.edlp-single__title--dark { color: var(--edlp-ink); }
.edlp-single__meta { font-family: var(--edlp-font-mono); font-size: .8rem; opacity: .9; margin: 0; }
.edlp-single__meta--dark { color: #666; }
.edlp-single__plain { padding: 48px 0 8px; }
.edlp-single__body { padding: 40px 0 40px; }

.edlp-single__nav { border-top: 1px solid rgba(0,0,0,.08); padding: 26px 0 48px; }
.edlp-single__nav-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.edlp-single__nav-link { display: flex; flex-direction: column; gap: 6px; color: var(--edlp-ink); }
.edlp-single__nav-link--next { text-align: right; }
.edlp-single__nav-label { font-family: var(--edlp-font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--edlp-red); }
.edlp-single__nav-title { font-family: var(--edlp-font-display); font-size: .95rem; line-height: 1.2; }
.edlp-single__nav-link:hover .edlp-single__nav-title { color: var(--edlp-red); }

.edlp-content__pages { margin-top: 24px; font-family: var(--edlp-font-mono); font-size: .85rem; }

@media (max-width: 640px) {
	.edlp-single__nav-grid { grid-template-columns: 1fr; }
	.edlp-single__nav-link--next { text-align: left; }
}

/* --- Pie interior (paginas que no son la portada): oscuro, escudo y redes --- */
.edlp-footer--interior { background: #1d1a16; color: var(--edlp-bone); padding-top: 44px; }
.edlp-footer--interior .edlp-footer__crest { text-align: center; margin-bottom: 20px; }
.edlp-footer--interior .edlp-footer__crest img { max-height: 76px; width: auto; display: inline-block; }
.edlp-footer__social { display: flex; justify-content: center; gap: 14px; margin-bottom: 34px; }
.edlp-footer__social-link { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; color: var(--edlp-bone); transition: background var(--edlp-dur) var(--edlp-ease), color var(--edlp-dur) var(--edlp-ease); }
.edlp-footer__social-link:hover { background: var(--edlp-bone); color: #1d1a16; }

/* redes con más de una cuenta: el mismo círculo pero un poco más ancho (pill) + flechita */
.edlp-footer__social-item { position: relative; }
.edlp-footer__social-toggle { width: auto; padding: 0 12px; border-radius: 19px; gap: 6px; background: transparent; cursor: pointer; }
.edlp-footer__social-chevron { display: inline-flex; transition: transform var(--edlp-dur) var(--edlp-ease); }
.edlp-footer__social-item:hover .edlp-footer__social-chevron, .edlp-footer__social-item.is-open .edlp-footer__social-chevron { transform: rotate(180deg); }

.edlp-footer__social-menu {
	position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%);
	min-width: 180px; margin: 0; padding: 6px; list-style: none;
	background: #141414; border: 1px solid rgba(255,255,255,.15); border-radius: 8px;
	box-shadow: 0 14px 30px rgba(0,0,0,.45); z-index: 20;
}
/* funciona con solo CSS (hover/foco); el JS suma click/touch y prolijidad de teclado */
.edlp-footer__social-item:hover .edlp-footer__social-menu,
.edlp-footer__social-item:focus-within .edlp-footer__social-menu,
.edlp-footer__social-item.is-open .edlp-footer__social-menu { display: block; }
.edlp-footer__social-menu li + li { margin-top: 2px; }
.edlp-footer__social-menu a { display: block; padding: 8px 12px; border-radius: 4px; font-family: var(--edlp-font-mono); font-size: .82rem; color: var(--edlp-bone); }
.edlp-footer__social-menu a:hover, .edlp-footer__social-menu a:focus-visible { background: rgba(255,255,255,.1); outline: 1px solid var(--edlp-bone); outline-offset: -1px; }
.edlp-footer--interior .edlp-footer__inner { padding-top: 0; }
.edlp-footer--interior .edlp-footer__bottom { border-top-color: rgba(255,255,255,.12); }

/* escudo del pie interior: si usan el logo de color como respaldo, lo pasamos a gris */
.edlp-footer--interior .edlp-footer__crest img { max-height: 64px; width: auto; display: inline-block; }
.edlp-footer__crest--auto img { filter: grayscale(1) brightness(1.6) opacity(.9); }

/* que la barra de administracion no tape el header */
.admin-bar .edlp-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .edlp-header { top: 46px; } }

/* --- Plantilla Deportes: hero con titulo gigante + bloques --- */
.edlp-deporte__hero { position: relative; min-height: 62vh; background: var(--edlp-ink); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.edlp-deporte__hero--plain { min-height: 32vh; background: var(--edlp-paper); }
.edlp-deporte__hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.edlp-deporte__hero::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.18); }
.edlp-deporte__hero--plain::after { display: none; }
.edlp-deporte__title { position: relative; z-index: 1; font-family: var(--edlp-font-body); font-weight: 900; font-stretch: 125%; text-transform: uppercase; color: var(--edlp-bone); font-size: clamp(2.6rem, 10vw, 7rem); line-height: .95; text-align: center; margin: 0; letter-spacing: -.01em; mix-blend-mode: screen; }
.edlp-deporte__hero--plain .edlp-deporte__title { color: var(--edlp-ink); mix-blend-mode: normal; }
.edlp-deporte__body { padding: 44px 0 8px; }
.edlp-deporte__block { padding: 26px 0; }
.edlp-deporte__block-title { font-size: clamp(1.1rem, 2.6vw, 1.4rem); text-align: left; margin-bottom: 16px; border-bottom: 1px solid rgba(0,0,0,.12); padding-bottom: 10px; }
.edlp-deporte__block-content { max-width: 780px; }

.edlp-plantel { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 20px; }
.edlp-plantel__card { background: #fff; text-align: center; padding-bottom: 14px; overflow: hidden; box-shadow: 0 4px 14px rgba(0,0,0,.08); }
.edlp-plantel__img { width: 100%; height: 200px; object-fit: cover; display: block; margin-bottom: 10px; }
.edlp-plantel__dorsal { display: block; font-family: var(--edlp-font-display); font-size: 1.3rem; color: var(--edlp-red); }
.edlp-plantel__nombre { display: block; font-weight: 700; text-transform: uppercase; font-size: .85rem; padding: 0 10px; }

/* --- FAQ: acordeon nativo con <details>, sin una linea de JS --- */
.edlp-accordion { max-width: 780px; border-top: 1px solid rgba(0,0,0,.12); }
.edlp-accordion__item { border-bottom: 1px solid rgba(0,0,0,.12); }
.edlp-accordion__q { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 4px; font-family: var(--edlp-font-body); font-weight: 700; font-size: 1rem; }
.edlp-accordion__q::-webkit-details-marker { display: none; }
.edlp-accordion__q::after { content: "+"; font-family: var(--edlp-font-mono); font-size: 1.2rem; color: var(--edlp-red); flex: 0 0 auto; transition: transform var(--edlp-dur) var(--edlp-ease); }
.edlp-accordion__item[open] .edlp-accordion__q::after { transform: rotate(45deg); }
.edlp-accordion__a { padding: 0 4px 20px; max-width: 720px; }
.edlp-faqs__grupo { padding: 8px 0; }
.edlp-faqs__link { margin-top: 4px; }

/* --- Historia: linea de tiempo nativa --- */
.edlp-timeline { list-style: none; margin: 0; padding: 0; max-width: 720px; border-left: 2px solid var(--edlp-red); }
.edlp-timeline__item { position: relative; padding: 4px 0 22px 26px; }
.edlp-timeline__item::before { content: ""; position: absolute; left: -7px; top: 8px; width: 12px; height: 12px; background: var(--edlp-red); border-radius: 50%; }
.edlp-timeline__anio { display: block; font-family: var(--edlp-font-mono); font-weight: 700; color: var(--edlp-red-dark); margin-bottom: 4px; }
.edlp-timeline__texto { display: block; line-height: 1.6; }

/* --- Planteles: agrupado por deporte, mismo repetidor y tarjetas que template-deportes --- */
.edlp-planteles__link { color: inherit; }
.edlp-planteles__link:hover { color: var(--edlp-red); }

/* --- Comisión Directiva: banda de período + filas rojas por cargo --- */
.edlp-comision__banda { background: var(--edlp-ink); padding: 22px 0; }
.edlp-comision__banda-title { color: var(--edlp-bone); font-family: var(--edlp-font-body); font-weight: 900; font-stretch: 125%; text-transform: uppercase; text-align: center; letter-spacing: .02em; font-size: clamp(1.1rem, 3vw, 1.7rem); margin: 0; }
.edlp-comision__body { background: var(--edlp-red); padding: 8px 0 24px; }
.edlp-comision__row { border-bottom: 1px solid rgba(255,255,255,.28); padding: 30px 0; }
.edlp-comision__row:last-child { border-bottom: 0; }
.edlp-comision__row-wrap { display: grid; grid-template-columns: minmax(160px, 260px) 1fr; gap: 24px; align-items: start; }
.edlp-comision__row-label { color: var(--edlp-bone); font-family: var(--edlp-font-body); font-weight: 900; font-stretch: 125%; text-transform: uppercase; font-size: clamp(1.1rem, 2.6vw, 1.6rem); line-height: 1.15; margin: 0; }
.edlp-comision__personas { display: flex; flex-wrap: wrap; gap: 28px 56px; }
.edlp-comision__persona-name { color: var(--edlp-bone); font-weight: 800; text-transform: uppercase; font-size: .98rem; line-height: 1.3; }
.edlp-comision__persona-name p { margin: 0; }
.edlp-comision__persona-role { display: block; color: var(--edlp-bone); opacity: .75; font-family: var(--edlp-font-mono); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; margin-top: 4px; }
.edlp-comision__lista { color: var(--edlp-bone); text-transform: uppercase; font-weight: 700; font-size: .9rem; column-count: 2; column-gap: 48px; }
.edlp-comision__lista p { margin: 0 0 16px; break-inside: avoid; }

@media (max-width: 700px) {
	.edlp-comision__row-wrap { grid-template-columns: 1fr; gap: 14px; }
	.edlp-comision__lista { column-count: 1; }
}

/* --- Plantilla Parent: botonera de hijas --- */
.edlp-parent__head { padding: 46px 0 8px; }
.edlp-parent__title { font-family: var(--edlp-font-body); font-weight: 900; font-stretch: 125%; text-transform: uppercase; font-size: clamp(1.4rem, 3.4vw, 2.2rem); margin: 0 0 10px; }
.edlp-parent__intro { max-width: 720px; }
.edlp-botonera { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 26px 0 64px; }
.edlp-botonera__card { display: flex; flex-direction: column; justify-content: space-between; gap: 34px; min-height: 120px; padding: 20px 22px; border: 1px solid var(--edlp-ink); color: var(--edlp-ink); background: transparent; transition: background var(--edlp-dur) var(--edlp-ease), color var(--edlp-dur) var(--edlp-ease), transform var(--edlp-dur) var(--edlp-ease); }
.edlp-botonera__card:hover { background: var(--edlp-ink); color: var(--edlp-bone); transform: translateY(-3px); }
.edlp-botonera__label { font-family: var(--edlp-font-body); font-weight: 900; font-stretch: 125%; text-transform: uppercase; font-size: 1rem; letter-spacing: .02em; }
.edlp-botonera__arrow { align-self: flex-end; font-size: 1.2rem; }
/* variedad de tamanos como el sitio: algunas tarjetas ocupan dos columnas y una va en oscuro */
.edlp-botonera__card:nth-child(6n+1) { grid-column: span 2; }
.edlp-botonera__card:nth-child(6n+4) { grid-column: span 2; min-height: 200px; background: var(--edlp-ink); color: var(--edlp-bone); }
.edlp-botonera__card:nth-child(6n+4):hover { background: var(--edlp-red-dark); }

@media (max-width: 760px) {
	.edlp-botonera { grid-template-columns: 1fr; }
	.edlp-botonera__card, .edlp-botonera__card:nth-child(6n+1), .edlp-botonera__card:nth-child(6n+4) { grid-column: auto; min-height: 96px; }
	.edlp-deporte__hero { min-height: 44vh; }
}

/* --- Ficha de partido: secciones Goles / Cambios / Tarjetas --- */
.edlp-partido__sec { padding: 26px 0 6px; }
.edlp-partido__sec-title { font-family: var(--edlp-font-body); font-weight: 900; font-stretch: 125%; text-transform: uppercase; font-size: clamp(1rem, 2.4vw, 1.3rem); border-bottom: 1px solid rgba(0,0,0,.15); padding-bottom: 10px; margin: 0 0 6px; }
.edlp-partido__row { display: flex; align-items: center; gap: 18px; padding: 14px 6px; border-bottom: 1px solid rgba(0,0,0,.1); }
.edlp-partido__min { font-family: var(--edlp-font-mono); font-weight: 700; min-width: 52px; text-align: right; }
.edlp-partido__who { flex: 1; font-weight: 700; text-transform: uppercase; font-size: .9rem; }
.edlp-partido__who--swap { display: flex; flex-direction: column; gap: 4px; }
.edlp-partido__dorsal { font-family: var(--edlp-font-mono); font-weight: 400; font-size: .78rem; opacity: .7; }
.edlp-partido__out { opacity: .75; }
.edlp-partido__card { width: 14px; height: 18px; border-radius: 2px; flex: 0 0 auto; }
.edlp-partido__card--amarilla { background: #f2c200; }
.edlp-partido__card--roja { background: var(--edlp-red); }
.edlp-partido__team-ico img, .edlp-partido__team-ico .edlp-fx__crest-img { max-height: 26px; max-width: 26px; width: auto; height: auto; }
.edlp-partido__team-ico .edlp-match__crest-img { max-height: 26px; max-width: 26px; width: auto; height: auto; }
.edlp-partido__team-ico .edlp-match__crest-txt { width: 24px; height: 24px; font-size: .5rem; background: rgba(0,0,0,.12); color: var(--edlp-ink); }
