/**
 * Mundial Plugin - Banner top compacto.
 *
 * Compacto, horizontal, NO ALTO. Pensado para el header del sitio durante
 * el Mundial. Se apila en mobile para no romper el layout.
 *
 * Branding: verde + amarillo Loteria del Huila.
 */

.mh-banner,
.mh-banner * {
	box-sizing: border-box;
}

.mh-banner {
	display: flex !important;
	align-items: center;
	gap: 1rem;
	width: 100%;
	padding: .55rem .9rem;
	background:
		radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .12) 1px, transparent 0) 0 0 / 14px 14px,
		linear-gradient(90deg, #154916 0%, #206c23 50%, #2d8531 100%);
	color: #fff;
	border-radius: 10px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
		"Helvetica Neue", Arial, sans-serif;
	font-size: .85rem;
	line-height: 1.2;
	box-shadow: 0 2px 8px rgba(21, 73, 22, .2);
	overflow: hidden;
}

/* CTA con la camiseta. */
.mh-banner .mh-banner__cta {
	display: flex !important;
	align-items: center;
	gap: .55rem;
	background: #ffc412;
	color: #154916 !important;
	padding: .35rem .75rem .35rem .4rem;
	border-radius: 999px;
	text-decoration: none !important;
	font-weight: 700;
	flex-shrink: 0;
	transition: transform .15s, box-shadow .15s;
	box-shadow: 0 2px 6px rgba(0, 0, 0, .12);
	min-height: 0;
	line-height: 1;
}

.mh-banner .mh-banner__cta:hover {
	transform: translateY(-1px);
	box-shadow: 0 4px 10px rgba(0, 0, 0, .18);
}

.mh-banner .mh-banner__prize {
	display: inline-block;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	overflow: hidden;
	background-color: #fff;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	border: 2px solid #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .15);
	flex-shrink: 0;
	line-height: 0;
}

.mh-banner .mh-banner__prize img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mh-banner .mh-banner__cta-text {
	display: flex !important;
	flex-direction: column;
	gap: 0;
	line-height: 1.15;
}

.mh-banner .mh-banner__cta-text strong {
	font-size: .9rem;
	font-weight: 800;
	letter-spacing: .01em;
}

.mh-banner .mh-banner__cta-text small {
	font-size: .65rem;
	font-weight: 600;
	opacity: .8;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.mh-banner .mh-banner__arrow {
	display: inline-block;
	color: #154916;
	flex-shrink: 0;
}

/* Bloque de partidos (proximo + Colombia). */
.mh-banner .mh-banner__matches {
	display: flex !important;
	align-items: center;
	gap: 1.5rem;
	flex: 1;
	min-width: 0;
}

.mh-banner .mh-banner__match {
	display: flex !important;
	align-items: center;
	gap: .55rem;
	min-width: 0;
	flex-wrap: nowrap;
}

.mh-banner .mh-banner__match + .mh-banner__match {
	padding-left: 1.5rem;
	border-left: 1px solid rgba(255, 255, 255, .25);
}

.mh-banner .mh-banner__match--colombia {
	background: rgba(255, 196, 18, .12);
	padding: .25rem .65rem;
	border-radius: 8px;
}

.mh-banner .mh-banner__label {
	display: inline-flex !important;
	align-items: center;
	gap: .3rem;
	font-size: .65rem;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
	opacity: .85;
	white-space: nowrap;
	flex-shrink: 0;
}

.mh-banner .mh-banner__label .mundial-flag {
	border-radius: 2px;
	width: 16px;
	height: 12px;
}

.mh-banner .mh-banner__teams {
	display: inline-flex !important;
	align-items: center;
	gap: .35rem;
	font-weight: 700;
	font-size: .9rem;
	white-space: nowrap;
}

.mh-banner .mh-banner__teams .mundial-flag {
	width: 22px;
	height: 16px;
	border-radius: 2px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, .15);
}

.mh-banner .mh-banner__teams em {
	font-style: normal;
	font-weight: 500;
	font-size: .72rem;
	opacity: .75;
	margin: 0 .1rem;
}

.mh-banner .mh-banner__when {
	display: inline-block;
	background: rgba(0, 0, 0, .2);
	color: #ffc412;
	padding: .2rem .55rem;
	border-radius: 999px;
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .03em;
	white-space: nowrap;
	flex-shrink: 0;
}

/* Modifier opcional: sticky al top. */
.mh-banner.mh-banner--sticky {
	position: sticky;
	top: 0;
	z-index: 999;
	border-radius: 0;
}

/* ===== TABLET: ajustes ===== */
@media (max-width: 1000px) {
	.mh-banner {
		font-size: .8rem;
		gap: .75rem;
	}

	.mh-banner .mh-banner__matches {
		gap: 1rem;
	}

	.mh-banner .mh-banner__match + .mh-banner__match {
		padding-left: 1rem;
	}
}

/* ===== MOBILE: stack vertical ===== */
@media (max-width: 720px) {
	.mh-banner {
		flex-direction: column;
		align-items: stretch;
		gap: .55rem;
		padding: .65rem .75rem;
		border-radius: 8px;
	}

	.mh-banner .mh-banner__cta {
		justify-content: center;
		padding: .4rem .75rem;
	}

	.mh-banner .mh-banner__matches {
		flex-direction: column;
		align-items: flex-start;
		gap: .4rem;
	}

	.mh-banner .mh-banner__match {
		flex-wrap: wrap;
		gap: .4rem .55rem;
		width: 100%;
	}

	.mh-banner .mh-banner__match + .mh-banner__match {
		padding-left: 0;
		border-left: 0;
		border-top: 1px dashed rgba(255, 255, 255, .2);
		padding-top: .4rem;
	}

	.mh-banner .mh-banner__match--colombia {
		padding: .4rem .65rem;
	}
}
