/*
 * Metacritic Games Importer – frontend
 *
 * Estilo alineado con La Nación Gamer (tema Gamxo): rojo de marca, azul marino
 * de la cabecera, esquinas rectas, títulos en barra con muesca y etiquetas de
 * plataforma con corte en flecha. Usa las variables del tema cuando existen.
 */

.mcg-archive,
.mcg-page,
.mcg-featured {
	--mcg-primary: var(--primary_color, #f80136);
	--mcg-navy: #171b48;
	--mcg-dark: var(--title_dark_color, #111111);
	--mcg-text: var(--body_dark_color, #444444);
	--mcg-muted: var(--meta_dark_color, #7e7e7e);
	--mcg-border: var(--border_dark_color, #e4e4e4);
	--mcg-surface: #ffffff;
	--mcg-surface-2: #f2f2f2;
	--mcg-on-dark: #ffffff;

	/* Colores de Metacritic */
	--mcg-good: #00ce7a;
	--mcg-mixed: #ffbd3f;
	--mcg-bad: #ff6874;
	--mcg-tbd: #c9c9c9;

	/* Colores de plataforma (los mismos que las categorías del sitio) */
	--mcg-xbox: #107c10;
	--mcg-playstation: #003791;
	--mcg-pc: #111111;
	--mcg-nintendo: #e60012;
	--mcg-movil: #00a8e8;
	--mcg-mac: #5f6368;
	--mcg-linux: #333333;
	--mcg-sega: #0060a8;

	--mcg-gap: 30px;
	box-sizing: border-box;
	color: var(--mcg-text);
}

.mcg-archive *,
.mcg-archive *::before,
.mcg-archive *::after,
.mcg-featured *,
.mcg-featured *::before,
.mcg-featured *::after,
.mcg-page *,
.mcg-page *::before,
.mcg-page *::after {
	box-sizing: border-box;
}

[data-theme="dark-mode"] .mcg-archive,
[data-theme="dark-mode"] .mcg-page,
[data-theme="dark-mode"] .mcg-featured {
	--mcg-dark: #ffffff;
	--mcg-text: #e6e5e5;
	--mcg-muted: #cfcfcf;
	--mcg-border: #3b3b3b;
	--mcg-surface: #161616;
	--mcg-surface-2: #222222;
}

.mcg-icon {
	display: inline-block;
	flex: 0 0 auto;
	vertical-align: -0.15em;
}

/* ---------- Contenedor (mismos anchos que el .container del tema) ---------- */

.mcg-container {
	width: 100%;
	margin-right: auto;
	margin-left: auto;
	padding-right: 12px;
	padding-left: 12px;
}

@media (min-width: 576px) { .mcg-container { max-width: 540px; } }
@media (min-width: 768px) { .mcg-container { max-width: 720px; } }
@media (min-width: 992px) { .mcg-container { max-width: 960px; } }
@media (min-width: 1200px) { .mcg-container { max-width: 1140px; } }
@media (min-width: 1400px) { .mcg-container { max-width: 1320px; } }

.mcg-page {
	padding: 70px 0 90px;
}

.mcg-page--single {
	padding-top: 0;
}

.mcg-page__header {
	margin-bottom: 30px;
}

.mcg-page__title {
	margin: 0 0 8px;
	color: var(--mcg-dark);
}

.mcg-page__intro {
	color: var(--mcg-muted);
}

/* Gamxo ya pinta el título en su banner negro: evita duplicarlo. */
.wp-theme-gamxo .mcg-page--archive .mcg-page__title {
	display: none;
}

/* En la ficha, el hero del juego sustituye al banner vacío del tema. */
.wp-theme-gamxo.single-mc_game .site-content > .entry-banner {
	display: none;
}

/* ---------- Título de sección: barra roja con muesca (como el tema) ---------- */

.mcg-title {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 50px;
	margin: 0 0 34px;
	padding: 0 0 0 20px;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.3;
	color: #ffffff;
	background-color: var(--mcg-title-bg, var(--mcg-primary));
}

.mcg-title::after {
	content: "";
	position: absolute;
	bottom: -10px;
	left: 25px;
	z-index: 1;
	border-top: 10px solid var(--mcg-title-bg, var(--mcg-primary));
	border-right: 10px solid transparent;
	border-left: 10px solid transparent;
}

.mcg-title__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	align-self: stretch;
	padding: 0 18px;
	font-size: 14px;
	font-weight: 500;
	color: #ffffff;
	text-decoration: none;
	transition: background-color .3s;
}

.mcg-title__link:hover,
.mcg-title__link:focus {
	color: #ffffff;
	background-color: rgba(0, 0, 0, .15);
}

/* ---------- Etiquetas de plataforma (estilo "category-style" del tema) ---------- */

.mcg-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mcg-tag {
	margin: 0;
	padding: 0 20px 0 12px;
	font-size: 12px;
	font-weight: 500;
	line-height: 26px;
	letter-spacing: .02em;
	color: #ffffff;
	text-transform: uppercase;
	white-space: nowrap;
	background-color: var(--mcg-primary);
	clip-path: polygon(100% 0%, 88% 50%, 100% 100%, 0 100%, 0% 50%, 0 0);
}

.mcg-tag a {
	color: inherit;
	text-decoration: none;
}

.mcg-tag--xbox { background-color: var(--mcg-xbox); }
.mcg-tag--playstation { background-color: var(--mcg-playstation); }
.mcg-tag--pc { background-color: var(--mcg-pc); }
.mcg-tag--nintendo { background-color: var(--mcg-nintendo); }
.mcg-tag--movil { background-color: var(--mcg-movil); }
.mcg-tag--mac { background-color: var(--mcg-mac); }
.mcg-tag--linux { background-color: var(--mcg-linux); }
.mcg-tag--sega { background-color: var(--mcg-sega); }
.mcg-tag--more { padding-right: 16px; background-color: rgba(0, 0, 0, .75); }

/* ---------- Meta (fecha con icono rojo) ---------- */

.mcg-meta {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-size: 14px;
	line-height: 1.4;
	color: var(--mcg-muted);
}

.mcg-meta .mcg-icon {
	color: var(--mcg-primary);
}

/* ---------- Filtros ---------- */

.mcg-filters {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 16px 18px;
	margin-bottom: 44px;
	padding: 24px;
	background-color: var(--mcg-navy);
	border-bottom: 3px solid var(--mcg-primary);
}

.mcg-filters__field {
	display: flex;
	flex: 1 1 150px;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

.mcg-filters__field--search {
	flex: 2 1 240px;
}

.mcg-filters label {
	margin: 0;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.3;
	letter-spacing: .06em;
	color: rgba(255, 255, 255, .72);
	text-transform: uppercase;
}

.mcg-filters input[type="search"],
.mcg-filters select {
	width: 100%;
	height: 46px;
	margin: 0;
	padding: 0 14px;
	font: inherit;
	font-size: 15px;
	line-height: 46px;
	color: #111111;
	background-color: #ffffff;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	outline: none;
}

.mcg-filters select {
	padding-right: 36px;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23f80136' d='M12 15.6 5.6 9.2 7 7.8l5 5 5-5 1.4 1.4z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 10px center;
	background-size: 20px;
}

.mcg-filters input[type="search"]:focus,
.mcg-filters select:focus {
	box-shadow: inset 0 -3px 0 var(--mcg-primary);
}

.mcg-filters__actions {
	display: flex;
	align-items: center;
	gap: 16px;
	min-height: 46px;
}

.mcg-filters__actions:empty,
.js-mcg .mcg-filters__actions:not(:has(a)) {
	display: none;
}

.mcg-filters__reset {
	font-size: 14px;
	font-weight: 500;
	color: #ffffff;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.mcg-filters__reset:hover,
.mcg-filters__reset:focus {
	color: var(--mcg-primary);
}

.js-mcg .mcg-filters [type="submit"] {
	display: none;
}

/* ---------- Botones ---------- */

.mcg-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	height: 46px;
	padding: 0 24px;
	font: inherit;
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
	letter-spacing: .03em;
	color: #ffffff;
	text-transform: uppercase;
	text-decoration: none;
	background-color: var(--mcg-primary);
	border: 1px solid var(--mcg-primary);
	border-radius: 0;
	cursor: pointer;
	transition: background-color .3s, border-color .3s, color .3s, box-shadow .3s;
}

.mcg-button:hover,
.mcg-button:focus {
	color: #ffffff;
	background-color: var(--mcg-navy);
	border-color: var(--mcg-navy);
	box-shadow: 0 10px 30px rgba(23, 27, 72, .25);
}

.mcg-button--ghost {
	color: var(--mcg-dark);
	background-color: transparent;
	border-color: var(--mcg-dark);
}

.mcg-button--ghost:hover,
.mcg-button--ghost:focus {
	color: #ffffff;
	background-color: var(--mcg-primary);
	border-color: var(--mcg-primary);
	box-shadow: 0 10px 30px rgba(248, 1, 54, .2);
}

/* ---------- Resultados ---------- */

.mcg-results {
	transition: opacity .2s;
}

.mcg-archive.is-loading .mcg-results {
	opacity: .4;
	pointer-events: none;
}

.mcg-results__count {
	margin: 0 0 26px;
	padding-left: 12px;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.2;
	color: var(--mcg-dark);
	text-transform: uppercase;
	letter-spacing: .04em;
	border-left: 3px solid var(--mcg-primary);
}

.mcg-empty {
	margin: 0;
	padding: 60px 20px;
	text-align: center;
	color: var(--mcg-muted);
	background-color: var(--mcg-surface-2);
}

/* ---------- Grilla ---------- */

.mcg-grid {
	display: grid;
	grid-template-columns: repeat(var(--mcg-columns, 4), minmax(0, 1fr));
	gap: 44px var(--mcg-gap);
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (max-width: 1199px) {
	.mcg-grid {
		grid-template-columns: repeat(min(var(--mcg-columns, 4), 3), minmax(0, 1fr));
	}
}

@media (max-width: 991px) {
	.mcg-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		--mcg-gap: 24px;
	}
}

@media (max-width: 575px) {
	.mcg-grid {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 36px;
	}
}

/* ---------- Tarjeta ---------- */

.mcg-card {
	position: relative;
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 0;
}

.mcg-card__media {
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background-color: #111111;
}

.mcg-card__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, .6) 100%);
	pointer-events: none;
}

.mcg-card .mcg-card__media img,
.mcg-card .mcg-card__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .6s ease;
}

.mcg-card__placeholder {
	background: linear-gradient(135deg, var(--mcg-navy), #0b0d24);
}

.mcg-card:hover .mcg-card__media img,
.mcg-card:focus-within .mcg-card__media img {
	transform: scale(1.07);
}

.mcg-card__score {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 2;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
}

.mcg-card__tags {
	position: absolute;
	right: 70px;
	bottom: 12px;
	left: 12px;
	z-index: 2;
	pointer-events: none;
}

.mcg-card__tags {
	flex-wrap: nowrap;
	overflow: hidden;
}

.mcg-card__tags .mcg-tag {
	font-size: 11px;
	line-height: 24px;
}

.mcg-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 8px;
	padding-top: 18px;
}

.mcg-card__title {
	margin: 0;
	font-size: 18px;
	font-weight: 500;
	line-height: 1.4;
	color: var(--mcg-dark);
}

.mcg-card__title a {
	color: inherit;
	text-decoration: none;
	background-image: linear-gradient(var(--mcg-primary), var(--mcg-primary));
	background-repeat: no-repeat;
	background-position: 0 100%;
	background-size: 0 1px;
	transition: color .3s, background-size .4s;
}

/* Toda la tarjeta es clicable. */
.mcg-card__title a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 3;
}

.mcg-card:hover .mcg-card__title a,
.mcg-card__title a:focus {
	color: var(--mcg-primary);
	background-size: 100% 1px;
}

.mcg-card__title a:focus-visible {
	outline: none;
}

.mcg-card:focus-within {
	outline: 2px solid var(--mcg-primary);
	outline-offset: 6px;
}

.mcg-card__genres {
	margin: 0;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.5;
	letter-spacing: .06em;
	color: var(--mcg-muted);
	text-transform: uppercase;
}

/* ---------- Metascore ---------- */

.mcg-score {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	font-size: 19px;
	font-weight: 700;
	line-height: 1;
	color: #111111;
	border-radius: 3px;
}

.mcg-score--sm {
	width: 34px;
	height: 34px;
	font-size: 15px;
}

.mcg-score--lg {
	width: 84px;
	height: 84px;
	font-size: 40px;
	border-radius: 4px;
}

.mcg-score--good { background-color: var(--mcg-good); }
.mcg-score--mixed { background-color: var(--mcg-mixed); }
.mcg-score--bad { background-color: var(--mcg-bad); }
.mcg-score--tbd { background-color: var(--mcg-tbd); font-size: 13px; }

/* ---------- Paginación (como la del tema) ---------- */

.mcg-pagination ul,
.mcg-pagination ul.page-numbers {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: auto;
	height: auto;
	margin: 60px 0 0;
	padding: 0;
	list-style: none;
	background: none;
	border: 0;
}

.mcg-pagination li {
	margin: 0;
	border: 0;
}

.mcg-pagination a.page-numbers,
.mcg-pagination span.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 48px;
	height: 46px;
	padding: 0 14px;
	font-size: 17px;
	font-weight: 500;
	line-height: 1;
	color: var(--mcg-dark);
	text-decoration: none;
	background-color: var(--mcg-surface-2);
	border: 0;
	transition: background-color .3s, color .3s;
}

.mcg-pagination a.page-numbers:hover,
.mcg-pagination a.page-numbers:focus,
.mcg-pagination span.page-numbers.current {
	color: #ffffff;
	background-color: var(--mcg-primary);
}

.mcg-pagination span.page-numbers.dots {
	min-width: 0;
	padding: 0 4px;
	background: none;
}

.mcg-pagination .prev,
.mcg-pagination .next {
	font-size: 15px;
}

/* ---------- Ficha: hero ---------- */

.mcg-hero {
	position: relative;
	margin: 0 0 70px;
	color: #ffffff;
	background: var(--mcg-navy) var(--mcg-hero, none) center 25% / cover no-repeat;
	border-bottom: 4px solid var(--mcg-primary);
	overflow: hidden;
}

.mcg-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(23, 27, 72, .96) 0%, rgba(23, 27, 72, .82) 40%, rgba(23, 27, 72, .35) 75%, rgba(0, 0, 0, .15) 100%),
		linear-gradient(0deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, 0) 45%);
}

.mcg-hero__inner {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-end;
	gap: 18px;
	min-height: 520px;
	padding-top: 60px;
	padding-bottom: 56px;
}

.mcg-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: auto;
	font-size: 14px;
	line-height: 1.5;
	color: #bfbfbf;
}

.mcg-breadcrumb a {
	color: #bfbfbf;
	text-decoration: none;
}

.mcg-breadcrumb a:hover,
.mcg-breadcrumb a:focus,
.mcg-breadcrumb [aria-current] {
	color: #ffffff;
}

.mcg-hero__title {
	max-width: 900px;
	margin: 0;
	font-size: clamp(30px, 4.6vw, 54px);
	font-weight: 600;
	line-height: 1.12;
	color: #ffffff;
}

.mcg-hero__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 26px;
	margin: 0;
	padding: 0;
	font-size: 15px;
	color: #e0e0e0;
	list-style: none;
}

.mcg-hero__meta li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
}

.mcg-hero__meta .mcg-icon {
	color: var(--mcg-primary);
}

.mcg-hero__meta a {
	color: #e0e0e0;
	text-decoration: none;
}

.mcg-hero__meta a:hover,
.mcg-hero__meta a:focus {
	color: #ffffff;
}

.mcg-hero__genres {
	flex-wrap: wrap;
	gap: 4px 10px;
	text-transform: uppercase;
	font-size: 13px;
	letter-spacing: .06em;
}

.mcg-hero__genres a + a::before {
	content: "/";
	margin-right: 10px;
	color: rgba(255, 255, 255, .4);
}

.mcg-scores {
	display: flex;
	flex-wrap: wrap;
	gap: 18px 40px;
	margin-top: 8px;
}

.mcg-scores__item {
	display: flex;
	align-items: center;
	gap: 14px;
}

.mcg-scores__item + .mcg-scores__item {
	padding-left: 40px;
	border-left: 1px solid rgba(255, 255, 255, .2);
}

.mcg-scores__label {
	display: flex;
	flex-direction: column;
	gap: 2px;
	font-size: 14px;
	line-height: 1.4;
	color: #e0e0e0;
}

.mcg-scores__label strong {
	font-size: 17px;
	font-weight: 600;
	color: #ffffff;
}

.mcg-rating {
	font-size: 42px;
	font-weight: 700;
	line-height: 1;
	color: #ffffff;
}

.mcg-rating small {
	font-size: 18px;
	font-weight: 500;
	opacity: .65;
}

/* ---------- Ficha: contenido ---------- */

.mcg-game__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 380px;
	gap: 50px;
	align-items: start;
}

@media (max-width: 1199px) {
	.mcg-game__layout {
		grid-template-columns: minmax(0, 1fr) 320px;
		gap: 36px;
	}
}

@media (max-width: 991px) {
	.mcg-game__layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.mcg-hero__inner {
		min-height: 420px;
		padding-bottom: 40px;
	}

	.mcg-hero::before {
		background: linear-gradient(0deg, rgba(23, 27, 72, .97) 0%, rgba(23, 27, 72, .75) 55%, rgba(23, 27, 72, .45) 100%);
	}
}

@media (max-width: 575px) {
	.mcg-hero {
		margin-bottom: 50px;
	}

	.mcg-scores__item + .mcg-scores__item {
		padding-left: 0;
		border-left: 0;
	}

	.mcg-score--lg {
		width: 68px;
		height: 68px;
		font-size: 32px;
	}
}

.mcg-section + .mcg-section {
	margin-top: 56px;
}

.mcg-description {
	font-size: 16px;
	line-height: 1.9;
	color: var(--mcg-text);
}

.mcg-description p {
	margin: 0 0 1.2em;
}

.mcg-description p:last-child {
	margin-bottom: 0;
}

.mcg-gallery {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (max-width: 575px) {
	.mcg-gallery {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
	}
}

.mcg-gallery li {
	margin: 0;
}

.mcg-gallery a {
	position: relative;
	display: block;
	overflow: hidden;
}

.mcg-gallery a::after {
	content: "";
	position: absolute;
	inset: 0;
	background-color: var(--mcg-primary);
	opacity: 0;
	transition: opacity .3s;
}

.mcg-gallery a:hover::after,
.mcg-gallery a:focus::after {
	opacity: .35;
}

.mcg-gallery li img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	transition: transform .5s;
}

.mcg-gallery a:hover img {
	transform: scale(1.06);
}

/* Paneles laterales tipo widget del tema */

.mcg-panel {
	margin-bottom: 40px;
}

.mcg-panel .mcg-title {
	margin-bottom: 0;
	font-size: 17px;
}

.mcg-details,
.mcg-platform-scores {
	margin: 0;
	padding: 14px 22px 8px;
	list-style: none;
	background-color: var(--mcg-surface);
	border: 1px solid var(--mcg-border);
	border-top: 0;
}

.mcg-details > div {
	display: grid;
	grid-template-columns: 120px minmax(0, 1fr);
	gap: 12px;
	padding: 12px 0;
	border-bottom: 1px dashed var(--mcg-border);
}

.mcg-details > div:last-child {
	border-bottom: 0;
}

.mcg-details dt {
	margin: 0;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.8;
	letter-spacing: .05em;
	color: var(--mcg-muted);
	text-transform: uppercase;
}

.mcg-details dd {
	margin: 0;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.6;
	color: var(--mcg-dark);
}

.mcg-platform-scores li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0;
	padding: 10px 0;
	font-size: 15px;
	font-weight: 500;
	border-bottom: 1px dashed var(--mcg-border);
}

.mcg-platform-scores li:last-child {
	border-bottom: 0;
}

.mcg-platform-scores a {
	color: var(--mcg-dark);
	text-decoration: none;
}

.mcg-platform-scores a:hover,
.mcg-platform-scores a:focus {
	color: var(--mcg-primary);
}

.mcg-links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.mcg-links .mcg-button {
	flex: 1 1 auto;
}

.mcg-credit {
	margin: 16px 0 0;
	font-size: 13px;
	color: var(--mcg-muted);
}

.mcg-credit a {
	color: var(--mcg-dark);
}

.mcg-related {
	margin-top: 80px;
}

/* ---------- Juegos destacados (widget de Elementor / shortcode) ---------- */

.mcg-featured {
	--mcg-featured-h: 464px;
	--mcg-featured-gap: 24px;
	--mcg-thumb-w: 128px;
	--mcg-card-bg: rgba(17, 17, 17, .88);
	--mcg-card-title: #ffffff;
	--mcg-card-meta: #e0e0e0;
}

.mcg-featured .mcg-featured__heading {
	margin-bottom: 30px;
}

.mcg-title__link-text {
	transform: translateX(10px);
	opacity: 0;
	transition: opacity .3s, transform .3s;
}

.mcg-title__link:hover .mcg-title__link-text,
.mcg-title__link:focus .mcg-title__link-text {
	transform: none;
	opacity: 1;
}

.mcg-featured__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.36fr) minmax(0, 1fr);
	gap: var(--mcg-featured-gap);
}

.mcg-featured--single .mcg-featured__grid {
	grid-template-columns: minmax(0, 1fr);
}

.mcg-featured .mcg-meta {
	color: var(--mcg-card-meta);
}

/* Principal */

.mcg-featured__main {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: var(--mcg-featured-h);
	overflow: hidden;
	background-color: #111111;
}

.mcg-featured .mcg-featured__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .7s ease;
}

.mcg-featured__main::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(to top, var(--mcg-overlay, rgba(0, 0, 0, .9)) 0%, rgba(0, 0, 0, .35) 55%, rgba(0, 0, 0, .15) 100%);
	pointer-events: none;
}

.mcg-featured .mcg-featured__main:hover .mcg-featured__bg,
.mcg-featured .mcg-featured__main:focus-within .mcg-featured__bg {
	transform: scale(1.06);
}

.mcg-featured__tags {
	position: absolute;
	top: 30px;
	right: 90px;
	left: 30px;
	z-index: 2;
	pointer-events: none;
}

.mcg-featured__tags .mcg-tag {
	font-size: 14px;
	font-weight: 400;
	line-height: 30px;
	padding: 0 22px 0 15px;
}

.mcg-featured__score {
	position: absolute;
	top: 30px;
	right: 30px;
	z-index: 2;
	width: 54px;
	height: 54px;
	font-size: 23px;
	box-shadow: 0 8px 22px rgba(0, 0, 0, .4);
}

.mcg-featured__content {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	gap: 12px;
	width: 100%;
	padding: 30px;
}

.mcg-featured__title {
	margin: 0;
	font-size: 26px;
	font-weight: 500;
	line-height: 1.4;
	color: var(--mcg-card-title);
}

.mcg-featured__title a,
.mcg-featured__item-title a {
	color: inherit;
	text-decoration: none;
	background-image: linear-gradient(currentColor, currentColor);
	background-repeat: no-repeat;
	background-position: 0 100%;
	background-size: 0 1px;
	transition: background-size .4s, color .3s;
}

.mcg-featured__title a::after,
.mcg-featured__item-title a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 3;
}

.mcg-featured__main:hover .mcg-featured__title a,
.mcg-featured__item:hover .mcg-featured__item-title a,
.mcg-featured__title a:focus,
.mcg-featured__item-title a:focus {
	background-size: 100% 1px;
}

.mcg-featured__title a:focus-visible,
.mcg-featured__item-title a:focus-visible {
	outline: none;
}

.mcg-featured__main:focus-within,
.mcg-featured__item:focus-within {
	outline: 2px solid var(--mcg-primary);
	outline-offset: 3px;
}

.mcg-featured__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 22px;
	margin: 0;
	padding: 0;
	font-size: 14px;
	line-height: 1.5;
	color: var(--mcg-card-meta);
	list-style: none;
}

.mcg-featured__meta li {
	position: relative;
	margin: 0;
}

.mcg-featured__meta li + li::before {
	content: "";
	position: absolute;
	top: 50%;
	left: -12px;
	width: 4px;
	height: 4px;
	background-color: var(--mcg-primary);
	transform: translateY(-50%);
}

.mcg-featured__genres {
	text-transform: uppercase;
	letter-spacing: .06em;
	font-size: 12px;
}

/* Lista lateral */

.mcg-featured__list {
	display: flex;
	flex-direction: column;
	gap: var(--mcg-featured-gap);
}

.mcg-featured__item {
	position: relative;
	display: grid;
	flex: 1 1 0;
	grid-template-columns: var(--mcg-thumb-w) minmax(0, 1fr);
	min-height: 120px;
	overflow: hidden;
	background-color: var(--mcg-card-bg);
}

.mcg-featured__thumb {
	position: relative;
	overflow: hidden;
	background-color: #111111;
}

.mcg-featured .mcg-featured__thumb img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .6s ease;
}

.mcg-featured .mcg-featured__item:hover .mcg-featured__thumb img,
.mcg-featured .mcg-featured__item:focus-within .mcg-featured__thumb img {
	transform: scale(1.08);
}

.mcg-featured__thumb .mcg-score {
	position: absolute;
	top: 8px;
	left: 8px;
	z-index: 2;
	box-shadow: 0 4px 12px rgba(0, 0, 0, .4);
}

.mcg-featured__body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 10px;
	padding: 18px 20px;
}

.mcg-featured__item-title {
	display: -webkit-box;
	margin: 0;
	overflow: hidden;
	font-size: 18px;
	font-weight: 500;
	line-height: 1.45;
	color: var(--mcg-card-title);
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

@media (max-width: 991px) {
	.mcg-featured__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.mcg-featured__main {
		min-height: min(var(--mcg-featured-h), 420px);
	}
}

@media (max-width: 575px) {
	.mcg-featured {
		--mcg-thumb-w: 104px;
	}

	.mcg-featured__main {
		min-height: 340px;
	}

	.mcg-featured__tags {
		top: 20px;
		right: 80px;
		left: 20px;
	}

	.mcg-featured__content {
		padding: 20px;
	}

	.mcg-featured__score {
		top: 20px;
		right: 20px;
		width: 46px;
		height: 46px;
		font-size: 19px;
	}

	.mcg-featured__title {
		font-size: 21px;
	}

	.mcg-featured__tags .mcg-tag {
		font-size: 12px;
		line-height: 26px;
	}

	.mcg-featured__body {
		padding: 14px 16px;
	}

	.mcg-featured__item-title {
		font-size: 16px;
	}
}

/* ---------- Visor de capturas ---------- */

.mcg-lightbox {
	width: min(1200px, 94vw);
	max-width: none;
	padding: 0;
	background: transparent;
	border: 0;
}

.mcg-lightbox::backdrop {
	background: rgba(11, 13, 36, .92);
}

.mcg-lightbox img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 88vh;
	object-fit: contain;
}

.mcg-lightbox button {
	position: absolute;
	top: 0;
	right: 0;
	width: 46px;
	height: 46px;
	font-size: 26px;
	line-height: 1;
	color: #ffffff;
	background-color: var(--primary_color, #f80136);
	border: 0;
	border-radius: 0;
	cursor: pointer;
}
