/* ==========================================================
   GOLEIROS PALMARÉS 4.5
   Diseño full-width estilo Goleiros Partidos y Resultados
   ========================================================== */

.gbpm-palmares,
.gbpm-palmares * { box-sizing: border-box; }

.gbpm-palmares {
	--gb-green:#8cff00;
	--gb-green-dark:#68c900;
	--gb-dark:#171a20;
	--gb-dark-2:#20232b;
	--gb-text:#20232b;
	--gb-muted:#747b83;
	--gb-bg:#f3f4f1;
	--gb-card:#fff;
	width:100vw !important;
	max-width:100vw !important;
	position:relative !important;
	left:50% !important;
	margin-left:-50vw !important;
	margin-right:-50vw !important;
	margin-top:0 !important;
	padding:0 !important;
	background:var(--gb-bg);
	color:var(--gb-text);
	font-family:Arial,Helvetica,sans-serif;
	overflow:hidden;
}

.gbpm-hero {
	position:relative;
	min-height:225px;
	display:flex;
	align-items:center;
	justify-content:center;
	padding:34px 24px;
	overflow:hidden;
	background:
		radial-gradient(circle at 88% 18%,rgba(140,255,0,.18),transparent 30%),
		linear-gradient(135deg,#12151a 0%,#20232b 52%,#171a20 100%);
	border-bottom:3px solid var(--gb-green);
}

.gbpm-hero::before,
.gbpm-hero::after {
	content:"";
	position:absolute;
	width:520px;
	height:520px;
	border:1px solid rgba(140,255,0,.10);
	transform:rotate(35deg);
	pointer-events:none;
}
.gbpm-hero::before { right:-300px; top:-370px; }
.gbpm-hero::after { left:-310px; bottom:-390px; }

.gbpm-hero-bg {
	position:absolute;
	inset:0;
	background:linear-gradient(125deg,transparent 0 65%,rgba(140,255,0,.035) 65% 67%,transparent 67%);
	pointer-events:none;
}

.gbpm-hero-content {
	position:relative;
	z-index:2;
	width:min(900px,100%);
	text-align:center;
}

.gbpm-eyebrow {
	display:block;
	margin-bottom:10px;
	color:var(--gb-green);
	font-size:12px;
	font-weight:900;
	letter-spacing:2.8px;
	text-transform:uppercase;
}

.gbpm-hero h1 {
	margin:0 !important;
	color:#fff !important;
	font-size:clamp(42px,6vw,68px) !important;
	line-height:.95 !important;
	font-weight:900 !important;
	letter-spacing:.5px;
	text-shadow:0 5px 22px rgba(0,0,0,.28);
}

.gbpm-hero-line {
	display:block;
	width:72px;
	height:4px;
	margin:22px auto 18px;
	background:var(--gb-green);
	border-radius:4px;
}

.gbpm-hero p {
	max-width:700px;
	margin:0 auto;
	color:#c4c9cf;
	font-size:14px;
	line-height:1.65;
}

.gbpm-wrap {
	width:calc(100vw - 48px) !important;
	max-width:1240px !important;
	margin-left:auto !important;
	margin-right:auto !important;
	padding:16px 0 28px;
}

.gbpm-stats {
	display:grid;
	grid-template-columns:repeat(3,1fr);
	gap:12px;
	margin-bottom:16px;
}

.gbpm-stat {
	min-height:72px;
	display:flex;
	flex-direction:column;
	justify-content:center;
	padding:14px 20px;
	background:#fff;
	border:1px solid #dfe3dc;
	border-left:4px solid var(--gb-green);
	box-shadow:0 7px 24px rgba(17,22,17,.06);
}

.gbpm-stat strong {
	color:var(--gb-dark);
	font-size:28px;
	line-height:1;
	font-weight:900;
}

.gbpm-stat span {
	margin-top:8px;
	color:#737a81;
	font-size:10px;
	font-weight:900;
	letter-spacing:1px;
	text-transform:uppercase;
}

.gbpm-heading {
	display:flex;
	align-items:center;
	gap:14px;
	margin-bottom:9px;
}

.gbpm-heading-bar {
	width:5px;
	min-width:5px;
	height:32px;
	background:var(--gb-green);
}

.gbpm-heading-kicker {
	display:block;
	margin-bottom:4px;
	color:#7a8087;
	font-size:10px;
	font-weight:900;
	letter-spacing:2px;
}

.gbpm-heading h2 {
	margin:0;
	color:var(--gb-dark);
	font-size:28px;
	line-height:1;
	font-weight:900;
}

.gbpm-year {
	margin-bottom:5px;
	border:1px solid #dfe2dc;
	background:#fff;
	box-shadow:0 4px 16px rgba(20,25,20,.035);
}

.gbpm-year-title {
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:18px;
	min-height:54px;
	padding:11px 18px;
	border-left:5px solid var(--gb-green);
	border-bottom:0;
	cursor:pointer;
	list-style:none;
	transition:background .2s ease;
}

.gbpm-year-title::-webkit-details-marker { display:none; }
.gbpm-year-title::marker { content:""; }
.gbpm-year:hover .gbpm-year-title { background:#fafbf9; }

.gbpm-year-number {
	color:var(--gb-dark);
	font-size:25px;
	line-height:1;
	font-weight:900;
}

.gbpm-year-right {
	display:flex;
	align-items:center;
	gap:14px;
}

.gbpm-count {
	color:#687078;
	font-size:11px;
	font-weight:800;
}

.gbpm-arrow {
	color:var(--gb-green-dark);
	font-size:18px;
	font-weight:900;
	line-height:1;
	transition:transform .2s ease;
}

.gbpm-year[open] .gbpm-arrow { transform:rotate(180deg); }

.gbpm-year-body {
	padding:1px 12px 9px;
	background:#f7f8f6;
	border-top:1px solid #e4e7e2;
}

.gbpm-card {
	position:relative;
	margin:7px 0 0;
	padding:13px 18px 12px;
	background:#fff;
	border-left:4px solid var(--gb-green);
	box-shadow:0 5px 18px rgba(20,25,20,.055);
	transition:transform .2s ease,box-shadow .2s ease;
}

.gbpm-card:hover {
	transform:translateY(-2px);
	box-shadow:0 10px 28px rgba(20,25,20,.09);
}

.gbpm-card-top {
	display:flex;
	align-items:flex-start;
	gap:13px;
}

.gbpm-trophy {
	display:flex;
	align-items:center;
	justify-content:center;
	width:38px;
	min-width:38px;
	height:38px;
	margin-top:0;
	background:var(--gb-dark);
	border-radius:50%;
	font-size:17px;
}

.gbpm-card-main { min-width:0; flex:1; }

.gbpm-card h3 {
	margin:1px 0 9px;
	color:var(--gb-dark);
	font-size:16px;
	line-height:1.35;
	font-weight:900;
}

.gbpm-badges {
	display:flex;
	flex-wrap:wrap;
	gap:6px;
}

.gbpm-badge {
	display:inline-flex;
	align-items:center;
	min-height:23px;
	padding:4px 10px;
	border-radius:30px;
	background:#edf0eb;
	color:#5b6268;
	font-size:9px;
	font-weight:900;
	letter-spacing:.4px;
	text-transform:uppercase;
}

.gbpm-badge-dark {
	background:var(--gb-dark);
	color:var(--gb-green);
}

.gbpm-card-details {
	display:grid;
	grid-template-columns:minmax(180px,1fr) minmax(200px,1fr) auto;
	gap:18px;
	margin-top:11px;
	padding-top:10px;
	border-top:1px solid #eceeea;
}

.gbpm-detail { min-width:0; }

.gbpm-detail-label {
	display:block;
	margin-bottom:5px;
	color:#8a9096;
	font-size:8px;
	font-weight:900;
	letter-spacing:1.2px;
}

.gbpm-detail strong {
	display:block;
	color:#596168;
	font-size:12px;
	font-weight:700;
	line-height:1.45;
}

.gbpm-result strong { color:var(--gb-green-dark); font-weight:900; }
.gbpm-date { text-align:right; }

.gbpm-description {
	margin:10px 0 0;
	padding-top:9px;
	border-top:1px solid #eceeea;
	color:#737a81;
	font-size:12px;
	line-height:1.6;
}

.gbpm-vacio {
	display:flex;
	align-items:center;
	justify-content:center;
	flex-direction:column;
	gap:8px;
	max-width:700px;
	margin:50px auto;
	padding:55px 25px;
	background:#fff;
	border-left:4px solid var(--gb-green);
	box-shadow:0 7px 22px rgba(20,25,20,.05);
	text-align:center;
}
.gbpm-vacio-icon { font-size:38px; }
.gbpm-vacio strong { color:var(--gb-dark); font-size:20px; }
.gbpm-vacio span:last-child { color:#777e85; font-size:13px; }

@media(max-width:767px){
	.gbpm-palmares {
		width:100vw !important;
		left:50% !important;
		margin-left:-50vw !important;
	}
	.gbpm-hero { min-height:230px; padding:42px 18px; }
	.gbpm-eyebrow { font-size:9px; letter-spacing:1.8px; }
	.gbpm-hero h1 { font-size:40px !important; }
	.gbpm-hero p { font-size:12px; }
	.gbpm-wrap { width:calc(100vw - 30px) !important; padding:22px 0 34px; }
	.gbpm-stats { grid-template-columns:1fr; gap:7px; margin-bottom:18px; }
	.gbpm-stat { min-height:64px; }
	.gbpm-stat strong { font-size:25px; }
	.gbpm-heading { margin-bottom:10px; }
	.gbpm-heading-bar { height:38px; }
	.gbpm-heading h2 { font-size:24px; }
	.gbpm-year-title { min-height:54px; padding:14px 15px; }
	.gbpm-year-number { font-size:21px; }
	.gbpm-year-body { padding:1px 10px 9px; }
	.gbpm-card { padding:13px 15px; }
	.gbpm-card h3 { font-size:14px; }
	.gbpm-card-details { grid-template-columns:1fr; gap:10px; }
	.gbpm-date { text-align:left; }
}


/* ==========================================================
   4.3 — AJUSTE DE COMPACTACIÓN Y TÍTULO DUPLICADO
   ========================================================== */
.gbpm-palmares .gbpm-wrap {
	width:calc(100vw - 40px) !important;
	max-width:1240px !important;
	padding-top:20px !important;
	padding-bottom:34px !important;
}
.gbpm-palmares .gbpm-stats { margin-bottom:20px !important; }
.gbpm-palmares .gbpm-heading { margin-bottom:12px !important; }
.gbpm-palmares .gbpm-year { margin-bottom:7px !important; }
.gbpm-palmares .gbpm-year-title { min-height:52px !important; padding-top:10px !important; padding-bottom:10px !important; }
.gbpm-palmares .gbpm-year-body { padding-top:1px !important; padding-bottom:8px !important; }
.gbpm-palmares .gbpm-card { margin-top:7px !important; padding-top:13px !important; padding-bottom:11px !important; }

@media(max-width:767px){
	.gbpm-palmares .gbpm-wrap { width:calc(100vw - 28px) !important; padding-top:18px !important; padding-bottom:28px !important; }
	.gbpm-palmares .gbpm-stats { margin-bottom:16px !important; }
}


/* ==========================================================
   4.4 — PÁGINA COMPACTA / SIN ESPACIOS ENTRE HEADER Y FOOTER
   ========================================================== */
html body.gbpm-active-page .gbpm-palmares {
	margin-top: -1px !important;
	margin-bottom: -60px !important;
}

html body.gbpm-active-page .gbpm-palmares .gbpm-hero {
	margin-top: 0 !important;
}

html body.gbpm-active-page .gbpm-palmares .gbpm-wrap {
	padding-top: 18px !important;
	padding-bottom: 18px !important;
}

html body.gbpm-active-page .gbpm-palmares .gbpm-stats {
	margin-top: 0 !important;
	margin-bottom: 16px !important;
}

html body.gbpm-active-page .gbpm-palmares .gbpm-heading {
	margin-top: 0 !important;
	margin-bottom: 10px !important;
}

html body.gbpm-active-page .gbpm-palmares .gbpm-years {
	margin-bottom: 0 !important;
}

@media(max-width:767px){
	html body.gbpm-active-page .gbpm-palmares {
		margin-bottom: -35px !important;
	}
	html body.gbpm-active-page .gbpm-palmares .gbpm-wrap {
		padding-top: 15px !important;
		padding-bottom: 15px !important;
	}
}
