.football-match.g4e-last-match,
.g4e-last-match {
	background:
		linear-gradient(105deg, rgba(1, 18, 38, 0.18) 0%, rgba(255, 255, 255, 0.94) 36%, #fff 100%),
		linear-gradient(90deg, rgba(1, 18, 38, 0.12), rgba(231, 196, 106, 0.18));
	border: 1px solid rgba(231, 196, 106, 0.72);
	border-radius: 10px;
	box-shadow: 0 18px 46px rgba(7, 21, 37, 0.1);
	color: #15191f;
	display: block !important;
	height: auto !important;
	min-height: 0 !important;
	overflow: hidden;
	padding: 18px 24px 20px;
	position: relative;
}

.g4e-last-match,
.g4e-last-match * {
	box-sizing: border-box;
}

.g4e-last-match::before {
	background: linear-gradient(180deg, #071525, rgba(7, 21, 37, 0));
	content: "";
	inset: 0 auto 0 0;
	position: absolute;
	width: 12px;
}

.g4e-last-match__meta {
	align-items: center;
	color: #4a4f59;
	display: flex;
	flex-wrap: wrap;
	font-size: 15px;
	font-weight: 700;
	gap: 8px 12px;
	justify-content: center;
	line-height: 1.3;
	margin-bottom: 16px;
	position: relative;
	text-align: center;
	z-index: 2;
}

.g4e-last-match__meta img {
	height: 24px;
	object-fit: contain;
	width: 24px;
}

.g4e-last-match__body {
	align-items: stretch;
	display: grid;
	gap: 16px;
	grid-template-columns: minmax(0, 1fr) 0;
	position: relative;
	transition: grid-template-columns 220ms ease;
	z-index: 2;
	height: 115px;
}

.g4e-last-match.is-details-open .g4e-last-match__body {
	grid-template-columns: minmax(0, 1fr) minmax(230px, 28%);
}

.g4e-last-match__main {
	align-items: center;
	display: grid;
	gap: 18px;
	grid-template-columns: minmax(140px, 1fr) auto minmax(140px, 1fr);
	transition: transform 220ms ease;
}

.g4e-last-match.is-details-open .g4e-last-match__main {
	transform: scale(0.98);
	transform-origin: center left;
}

.g4e-last-match__team {
	align-items: center;
	display: grid;
	gap: 12px;
	grid-template-columns: auto auto;
	justify-content: center;
	min-width: 0;
}

.g4e-last-match__team--home {
	justify-content: end;
}

.g4e-last-match__team--away {
	justify-content: start;
}

.g4e-last-match__team img {
	height: 99px !important;
	object-fit: contain;
	padding: 3px;
	width: 99px !important;
}

.g4e-last-match__team strong {
	color: #15191f;
	font-family: Anton, Oswald, Impact, sans-serif;
	font-size: clamp(24px, 3vw, 38px);
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1;
	text-transform: uppercase;
	white-space: nowrap;
}

.g4e-last-match__score {
	display: grid;
	gap: 8px;
	grid-template-columns: 1fr 1fr;
	min-width: 142px;
	position: relative;
}

.g4e-last-match__score span {
	align-items: center;
	background: #fff;
	border: 1px solid rgba(7, 21, 37, 0.12);
	border-radius: 10px;
	box-shadow: 0 8px 18px rgba(7, 21, 37, 0.08);
	color: #15191f;
	display: flex;
	font-family: Anton, Oswald, Impact, sans-serif;
	font-size: clamp(46px, 5vw, 66px);
	height: 82px;
	justify-content: center;
	line-height: 1;
	min-width: 66px;
}

.g4e-last-match__score small {
	color: #667085;
	font-size: 11px;
	font-weight: 900;
	grid-column: 1 / -1;
	letter-spacing: 0;
	text-align: center;
	text-transform: uppercase;
}

.g4e-last-match__toggle {
	align-items: center;
	background: #071525;
	border: 0;
	border-radius: 999px;
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	font-size: 12px;
	font-weight: 900;
	gap: 8px;
	justify-content: center;
	left: 50%;
	margin-top: 14px;
	min-height: 36px;
	padding: 0 22px;
	position: relative;
	text-transform: uppercase;
	transform: translateX(-50%);
	z-index: 3;
}

.g4e-last-match__toggle:hover,
.g4e-last-match__toggle:focus,
.g4e-last-match.is-details-open .g4e-last-match__toggle {
	background: #e7c46a;
	color: #071525;
	outline: 0;
}

.g4e-last-match__details {
	border-left: 3px solid #e7c46a;
	min-width: 0;
	opacity: 0;
	overflow: hidden;
	pointer-events: none;
	transform: translateX(16px);
	transition: opacity 200ms ease, transform 200ms ease;
}

.g4e-last-match.is-details-open .g4e-last-match__details {
	opacity: 1;
	pointer-events: auto;
	transform: translateX(0);
}

.g4e-last-match__details h4 {
	font-family: Anton, Oswald, Impact, sans-serif;
	font-size: 18px;
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1;
	margin: 0 0 14px;
	text-transform: uppercase;
}

.g4e-last-match__events {
	display: grid;
	gap: 0px;
}

.g4e-last-match__event {
	align-items: center;
	display: grid;
	gap: 10px;
	grid-template-columns: 42px 28px minmax(0, 1fr);
	position: relative;
}

.g4e-last-match__event + .g4e-last-match__event::before {
	background: rgba(255, 255, 255, 0.14);
	content: "";
	height: 16px;
	left: 55px;
	position: absolute;
	top: -16px;
	width: 1px;
}

.g4e-last-match__event-minute,
.g4e-last-match__event-text {
	font-size: 13px;
	font-weight: 900;
	line-height: 1.25;
}

.g4e-last-match__event-minute {
	color: #e7c46a;
	text-align: right;
}

.g4e-last-match__event-icon {
	align-items: center;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 50%;
	display: flex;
	height: 30px;
	justify-content: center;
	width: 28px;
}

.g4e-last-match__empty {
	color: rgba(255, 255, 255, 0.76);
	font-size: 13px;
	font-weight: 800;
	line-height: 1.45;
}

@media (max-width: 980px) {
	.g4e-last-match {
		padding: 18px 16px 20px;
	}

	.g4e-last-match__body,
	.g4e-last-match.is-details-open .g4e-last-match__body {
		grid-template-columns: 1fr;
	}

	.g4e-last-match.is-details-open .g4e-last-match__main {
		transform: none;
	}

	.g4e-last-match__main {
		gap: 16px;
		grid-template-columns: 1fr;
	}

	.g4e-last-match__team,
	.g4e-last-match__team--home,
	.g4e-last-match__team--away {
		grid-template-columns: 1fr;
		justify-items: center;
		text-align: center;
	}

	.g4e-last-match__team--away img {
		order: 2;
	}

	.g4e-last-match__score {
		justify-self: center;
	}
}
