/*!
Theme Name: Juegos para Aprender
Theme URI: https://juegosparaaprender.com/
Author: Juegos para Aprender
Author URI: https://juegosparaaprender.com/
Description: Tema educativo moderno, ligero y responsivo optimizado para juegos didácticos interactivos en HTML5 y Phaser.
Version: 2.0.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: juegos
Tags: education, kids-games, html5-games, responsive-layout, custom-logo, custom-menu, featured-images, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

juegos is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Index
		- Game index
	- Posts and pages
		- Post-page
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

:root {
  --font--family-Anton: 'Anton', sans-serif; 
  --font--family-Poppins: 'Poppins', sans-serif; 
  --font--family-Barlow: 'Barlow Condensed', sans-serif;
}

/* SVG Icons
--------------------------------------------- */
.icon {
	display: inline-block;
	vertical-align: -0.15em;
	flex-shrink: 0;
	transition: transform 0.2s ease;
}


/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #334155;
	font-family: var(--font--family-Poppins, 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
	font-size: 1rem;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	color: #1e293b;
	font-family: var(--font--family-Poppins, sans-serif);
	font-weight: 600;
	line-height: 1.3;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: #1877f2;
}

a:visited {
	color: inherit;
}

a:hover,
a:focus,
a:active {
	color: #125ec4;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms (Modern & Non-intrusive Reset)
--------------------------------------------- */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 1rem;
	line-height: inherit;
	margin: 0;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	cursor: pointer;
}

/* Fallback base para inputs nativos no estilizados */
:where(input:not([type="button"]):not([type="reset"]):not([type="submit"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="range"]), textarea, select):not([class]) {
	color: #334155;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	padding: 8px 12px;
	background-color: #ffffff;
	font-family: inherit;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

:where(input:not([type="button"]):not([type="reset"]):not([type="submit"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="range"]), textarea, select):not([class]):focus {
	outline: none;
	border-color: #3b82f6;
	box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
	color: #0f172a;
}

textarea {
	width: 100%;
}

/* Ads
--------------------------------------------- */
.anuncio {
	background: #ffffff;
	margin-bottom: 10px;
	padding: 5px;
	border-radius: 10px;
}

ins.adsbygoogle {
	background: transparent !important;
}



/* header */

.site {
	background: #f8fafc;
}

.title-archive {
	background: #fff;
}

.site-header {
	background: #1877f2;
	background: linear-gradient(90deg, #176fe8 0%, #1b7cf9 100%);
	box-shadow: 0 4px 18px rgba(24, 111, 232, 0.22);
	border-bottom: 1px solid rgba(255, 255, 255, 0.18);
	position: sticky;
	top: 0;
	z-index: 1030;
	transition: all 0.3s ease;
}

.site-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 72px;
	padding: 8px 0;
}

.site-branding {
	display: flex;
	align-items: center;
	gap: 14px;
	text-decoration: none;
}

.site-branding .custom-logo,
.site-branding img {
	width: 52px;
	height: 52px;
	object-fit: contain;
	display: block;
	margin: 0;
	border-radius: 12px;
	transition: transform 0.2s ease;
}

.site-branding:hover .custom-logo,
.site-branding:hover img {
	transform: scale(1.03);
}

.site-branding-text {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.site-title {
	margin: 0;
	padding: 0;
	line-height: 1.15;
}

.site-title a {
	font-family: var(--font--family-Poppins);
	font-size: 1.75rem;
	font-weight: 700;
	letter-spacing: -0.4px;
	color: #ffffff;
	text-decoration: none;
	display: block;
	transition: opacity 0.2s ease;
}

.site-title a:hover {
	text-decoration: none;
	color: #ffffff;
	opacity: 0.92;
}

.site-description {
	margin: 3px 0 0 0;
	padding: 0;
	font-family: var(--font--family-Poppins);
	font-size: 0.82rem;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.92);
	line-height: 1.25;
}

.site-content {

	margin-top: 10px;
}




.navigation-con {

	margin-top: 10px;

}



/* ==========================================================================
   Sidebar & Categories Card (Poki / Duolingo Style)
   ========================================================================== */

.widget-area {
	background: transparent;
	margin: 0;
	padding: 0;
	border: none !important;
}

/* Proporción de Layout Principal en Escritorio (Sidebar fijo de 300px unificado con el juego) */
@media screen and (min-width: 992px) {
	.site-sidebar-col {
		flex: 0 0 300px !important;
		max-width: 300px !important;
		width: 300px !important;
		margin-top: 11px !important;
	}
	.home .site-sidebar-col,
	.archive .site-sidebar-col,
	.search .site-sidebar-col,
	.error404 .site-sidebar-col,
	.page .site-sidebar-col,
	.single-article .site-sidebar-col,
	.post-template-single-article .site-sidebar-col,
	.single-video .site-sidebar-col,
	.post-template-single-video .site-sidebar-col {
		margin-top: 11px !important;
	}
	.home .site-main,
	.archive .site-main,
	.search .site-main,
	.error404 .site-main,
	.page .site-main,
	.single-article .site-main,
	.post-template-single-article .site-main,
	.single-video .site-main,
	.post-template-single-video .site-main,
	.site-sidebar-col + .site-main,
	.site-main:has(+ .site-sidebar-col) {
		flex: 1 1 0% !important;
		max-width: calc(100% - 300px) !important;
		width: calc(100% - 300px) !important;
	}
	.home .site-main,
	.archive .site-main,
	.search .site-main,
	.error404 .site-main,
	.page .site-main,
	.single-article .site-main,
	.post-template-single-article .site-main,
	.single-video .site-main,
	.post-template-single-video .site-main,
	.site-main:has(+ .site-sidebar-col) {
		padding-right: 22px !important;
		margin-top: 11px !important;
		padding-top: 0 !important;
	}

	/* Página Single Game HTML5 (Plantilla con grid integrado y modo teatro: 100% ancho natural) */
	.post-single-col-game {
		flex: 0 0 100% !important;
		max-width: 100% !important;
		width: 100% !important;
		padding-right: 0 !important;
	}
}

/* Remover bordes divisorios antiguos en contenedores de sidebar */
.col-lg-3.border-right,
.col-lg-3.border-left,
.col-md-3.border-left {
	border-right: none !important;
	border-left: none !important;
}

/* Tarjeta Principal de Categorías */
.sidebar-categories-card {
	background: #ffffff;
	border: 1px solid #eef2f6;
	border-radius: 18px;
	padding: 14px 12px;
	box-shadow: 0 4px 18px rgba(18, 43, 74, 0.04);
	margin-bottom: 20px;
	transition: box-shadow 0.25s ease;
}

.sidebar-categories-card:hover {
	box-shadow: 0 6px 22px rgba(18, 43, 74, 0.06);
}

/* Cabecera de la Tarjeta */
.sidebar-card-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-bottom: 10px;
	margin-bottom: 8px;
	border-bottom: 1px solid #f1f5f9;
}

.sidebar-card-title {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-size: 1.05rem;
	font-weight: 700;
	color: #122b48;
	line-height: 1.2;
}

.sidebar-card-title-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #f59e0b;
}

.sidebar-card-badge {
	display: inline-block;
	padding: 2px 8px;
	font-family: 'Poppins', sans-serif;
	font-size: 0.72rem;
	font-weight: 600;
	color: #64748b;
	background: #f1f5f9;
	border-radius: 999px;
	letter-spacing: -0.01em;
}

/* Lista de Categorías */
.sidebar-categories-list {
	list-style: none !important;
	list-style-type: none !important;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.sidebar-cat-item {
	margin: 0;
	padding: 0;
	list-style: none;
}

.sidebar-cat-link,
.sidebar-cat-link:visited {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 5px 8px;
	border-radius: 10px;
	text-decoration: none;
	color: #334155;
	background-color: transparent;
	transition: background-color 0.18s ease, transform 0.15s ease, color 0.18s ease;
}

.sidebar-cat-link:hover,
.sidebar-cat-link:focus,
.sidebar-cat-link:visited:hover {
	background-color: #f8fafc;
	color: var(--cat-color, #1877f2);
	text-decoration: none;
	transform: translateX(3px);
}

.sidebar-cat-left {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

/* Caja de Icono Pastel */
.sidebar-cat-icon-box {
	width: 30px;
	height: 30px;
	border-radius: 8px;
	background-color: var(--cat-bg, #ebf4ff);
	color: var(--cat-color, #287deb);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sidebar-cat-link:hover .sidebar-cat-icon-box {
	transform: scale(1.08);
}

.sidebar-cat-name {
	font-family: 'Poppins', sans-serif;
	font-size: 0.88rem;
	font-weight: 600;
	color: inherit;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Contador de juegos */
.sidebar-cat-count {
	display: inline-block;
	font-family: 'Poppins', sans-serif;
	font-size: 0.76rem;
	font-weight: 600;
	color: #94a3b8;
	padding: 1px 5px;
	border-radius: 6px;
	transition: color 0.18s ease;
}

/* Estado Activo (como en el mockup: fila pastel con texto resaltado) */
.sidebar-cat-item.is-active .sidebar-cat-link,
.sidebar-cat-item.is-active .sidebar-cat-link:visited {
	background-color: var(--cat-bg, #e6f7ef);
	color: var(--cat-color, #00a667);
	font-weight: 700;
	transform: none;
}

.sidebar-cat-item.is-active .sidebar-cat-count {
	color: var(--cat-color, #00a667);
	font-weight: 700;
}

/* Widgets adicionales en la Sidebar */
.sidebar-widgets-wrapper .widget_categories,
.sidebar-widgets-wrapper .widget_nav_menu {
	display: none !important; /* Ocultar menú o categorías duplicadas en widgets */
}

.sidebar-widgets-wrapper .widget,
.sidebar-social-card {
	background: #ffffff;
	border: 1px solid #eef2f6;
	border-radius: 20px;
	padding: 20px 16px;
	margin-bottom: 24px;
	box-shadow: 0 4px 20px rgba(18, 43, 74, 0.04);
}

.sidebar-widgets-wrapper .widget-title,
.sidebar-social-card .widget-title {
	font-family: 'Poppins', sans-serif;
	font-size: 1.05rem;
	font-weight: 700;
	color: #122b48;
	background: transparent;
	padding: 0 0 10px 0;
	margin-bottom: 12px;
	border-bottom: 1px solid #f1f5f9;
}

.sidebar-widgets-wrapper ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.sidebar-widgets-wrapper a {
	color: #334155;
	text-decoration: none;
	font-family: 'Poppins', sans-serif;
	font-size: 0.92rem;
	transition: color 0.15s ease;
}

.sidebar-widgets-wrapper a:hover {
	color: #1d68d8;
	text-decoration: none;
}

/* Adaptación responsive para pantallas móviles y tablets */
@media (max-width: 991.98px) {
	.sidebar-categories-card {
		padding: 12px 14px;
		margin-bottom: 18px;
		border-radius: 16px;
	}

	.sidebar-card-header {
		padding-bottom: 8px;
		margin-bottom: 10px;
	}

	.sidebar-categories-list {
		flex-direction: row;
		overflow-x: auto;
		white-space: nowrap;
		-webkit-overflow-scrolling: touch;
		padding-bottom: 6px;
		gap: 8px;
		scrollbar-width: none;
	}

	.sidebar-categories-list::-webkit-scrollbar {
		display: none;
	}

	.sidebar-cat-item {
		flex-shrink: 0;
	}

	.sidebar-cat-link,
	.sidebar-cat-link:visited {
		padding: 6px 12px;
		border-radius: 999px;
		background-color: #f8fafc;
		border: 1px solid #eef2f6;
		gap: 8px;
		color: #334155;
		transform: none !important;
	}

	.sidebar-cat-item.is-active .sidebar-cat-link,
	.sidebar-cat-item.is-active .sidebar-cat-link:visited {
		background-color: var(--cat-bg, #e6f7ef);
		color: var(--cat-color, #00a667);
		border-color: transparent;
	}

	.sidebar-cat-icon-box {
		width: 28px;
		height: 28px;
		border-radius: 50%;
	}

	.sidebar-cat-name {
		font-size: 0.85rem;
	}

	.sidebar-cat-count {
		font-size: 0.75rem;
	}
}


/* footer */

.widget-footer {

	padding: 10px;
	margin-top: 10px;
}

.widget-footer h2 {

	color:#fff;
	font-size: 1.2em;
	font-weight: bold;
	font-family: 'Barlow Condensed', sans-serif;

}

.widget-footer p {


	color:#fff;
}


.widget-footer ul {

	list-style: none;
	list-style-type: none;
  margin: 0;
  padding: 0 5PX;
}


/* ==========================================================================
   Footer Moderno (Arquitectura Híbrida 4 Columnas)
   ========================================================================== */

.site-footer {
	background-color: #0c1322;
	color: #94a3b8;
	font-family: var(--font--family-Poppins, sans-serif);
	position: relative;
	width: 100%;
	clear: both;
}

/* Franja superior arcoíris */
.footer-rainbow-bar {
	height: 4px;
	width: 100%;
	background: linear-gradient(90deg, #00c2ff 0%, #00c2ff 25%, #e0248a 25%, #e0248a 50%, #f59e0b 50%, #f59e0b 75%, #2563eb 75%, #2563eb 100%);
}

.footer-main-container {
	padding-top: 48px;
	padding-bottom: 38px;
}

/* Títulos de las columnas */
.footer-col-title {
	font-size: 0.88rem;
	font-weight: 700;
	color: #ffffff;
	text-transform: uppercase;
	letter-spacing: 0.6px;
	margin-bottom: 20px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.footer-title-icon {
	color: #f59e0b;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

/* Columna 1: Marca & Confianza */
.footer-brand-header {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 16px;
	text-decoration: none;
}

.footer-custom-logo img {
	max-height: 42px;
	width: auto;
	border-radius: 10px;
}

.footer-brand-icon-box {
	width: 42px;
	height: 42px;
	border-radius: 12px;
	background: linear-gradient(135deg, #00c2ff, #2563eb);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #ffffff;
	flex-shrink: 0;
	box-shadow: 0 4px 12px rgba(0, 194, 255, 0.25);
}

.footer-brand-title {
	font-size: 1.28rem;
	font-weight: 800;
	color: #ffffff;
	text-decoration: none;
	line-height: 1.2;
	transition: color 0.2s ease;
}

.footer-brand-title:hover {
	color: #38bdf8;
	text-decoration: none;
}

.footer-brand-desc {
	font-size: 0.85rem;
	line-height: 1.6;
	color: #94a3b8;
	margin-bottom: 22px;
}

.footer-trust-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.trust-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.09);
	border-radius: 20px;
	font-size: 0.76rem;
	font-weight: 600;
	color: #e2e8f0;
	transition: all 0.2s ease;
}

.trust-badge:hover {
	background: rgba(255, 255, 255, 0.09);
	border-color: rgba(255, 255, 255, 0.18);
	transform: translateY(-1px);
}

.trust-badge-icon.badge-shield {
	color: #f43f5e;
}

.trust-badge-icon.badge-bolt {
	color: #eab308;
}

.trust-badge-icon.badge-school {
	color: #38bdf8;
}

/* Columna 2: Categorías Principales */
.footer-categories-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.footer-cat-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 6px 10px;
	border-radius: 8px;
	text-decoration: none;
	color: #cbd5e1;
	font-size: 0.86rem;
	font-weight: 500;
	transition: all 0.2s ease;
}

.footer-cat-left {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.footer-cat-icon-box {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--cat-color, #38bdf8);
	flex-shrink: 0;
	transition: transform 0.2s ease;
}

.footer-cat-name {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.footer-cat-count {
	font-size: 0.72rem;
	font-weight: 600;
	color: #94a3b8;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 6px;
	padding: 1px 7px;
	min-width: 22px;
	text-align: center;
	transition: all 0.2s ease;
}

.footer-cat-link:hover {
	background: rgba(255, 255, 255, 0.06);
	color: #ffffff;
	text-decoration: none;
	transform: translateX(3px);
}

.footer-cat-link:hover .footer-cat-icon-box {
	transform: scale(1.15);
}

.footer-cat-link:hover .footer-cat-count {
	background: rgba(255, 255, 255, 0.12);
	color: #ffffff;
	border-color: rgba(255, 255, 255, 0.18);
}

/* Columna 3: Docentes y Familias */
.footer-audience-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.footer-audience-list li a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #94a3b8;
	font-size: 0.88rem;
	font-weight: 500;
	text-decoration: none;
	transition: all 0.2s ease;
}

.footer-audience-list li a:hover {
	color: #ffffff;
	text-decoration: none;
	transform: translateX(3px);
}

.footer-highlight-item a {
	color: #38bdf8 !important;
	font-weight: 600 !important;
}

.footer-highlight-item a:hover {
	color: #7dd3fc !important;
}

.footer-item-icon {
	color: #facc15;
	display: inline-flex;
	align-items: center;
}

/* Columna 4: Comunidad y Soporte */
.footer-community-text {
	font-size: 0.85rem;
	line-height: 1.55;
	color: #94a3b8;
	margin-bottom: 16px;
}

.footer-social-cta {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.btn-footer-social {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 16px;
	border-radius: 12px;
	text-decoration: none;
	font-weight: 600;
	transition: all 0.25s ease;
	width: 100%;
}

.btn-social-facebook {
	background: #1877f2;
	color: #ffffff !important;
	box-shadow: 0 4px 14px rgba(24, 119, 242, 0.28);
}

.btn-social-facebook:hover {
	background: #166fe5;
	color: #ffffff !important;
	text-decoration: none;
	transform: translateY(-2px);
	box-shadow: 0 6px 18px rgba(24, 119, 242, 0.4);
}

.btn-social-youtube {
	background: #c4172c;
	color: #ffffff !important;
	box-shadow: 0 4px 14px rgba(196, 23, 44, 0.28);
}

.btn-social-youtube:hover {
	background: #b01325;
	color: #ffffff !important;
	text-decoration: none;
	transform: translateY(-2px);
	box-shadow: 0 6px 18px rgba(196, 23, 44, 0.4);
}

.social-btn-left {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.social-btn-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.social-btn-label {
	font-size: 0.88rem;
}

.social-btn-badge {
	background: rgba(255, 255, 255, 0.22);
	font-size: 0.74rem;
	padding: 2px 10px;
	border-radius: 12px;
	color: #ffffff;
	letter-spacing: 0.3px;
}

.footer-legal-links-wrap {
	margin-top: 22px;
}

.footer-legal-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 6px 10px;
}

.footer-legal-list li {
	display: inline-flex;
	align-items: center;
}

.footer-legal-list li:not(:last-child)::after {
	content: "•";
	margin-left: 10px;
	color: #475569;
	font-size: 0.8rem;
}

.footer-legal-list li a {
	color: #64748b;
	font-size: 0.8rem;
	text-decoration: none;
	transition: color 0.2s ease;
}

.footer-legal-list li a:hover {
	color: #cbd5e1;
	text-decoration: underline;
}

/* Sub-Footer */
.footer-bottom-bar {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(0, 0, 0, 0.25);
	padding: 16px 0;
}

.footer-bottom-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 14px;
	font-size: 0.82rem;
	color: #64748b;
}

.footer-copyright strong {
	color: #cbd5e1;
	font-weight: 600;
}

.footer-bottom-right {
	display: inline-flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
}

.footer-made-with {
	color: #94a3b8;
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.heart-svg-icon {
	color: #f43f5e;
	display: inline-block;
	vertical-align: middle;
	animation: footerHeartBeat 2s infinite ease-in-out;
}

@keyframes footerHeartBeat {
	0%, 100% { transform: scale(1); }
	14% { transform: scale(1.15); }
	28% { transform: scale(1); }
	42% { transform: scale(1.15); }
	70% { transform: scale(1); }
}

.footer-scroll-top-btn {
	background: rgba(255, 255, 255, 0.08);
	color: #cbd5e1;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 8px;
	padding: 5px 12px;
	font-size: 0.8rem;
	font-weight: 600;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	transition: all 0.2s ease;
}

.footer-scroll-top-btn:hover {
	background: rgba(255, 255, 255, 0.16);
	color: #ffffff;
	border-color: rgba(255, 255, 255, 0.25);
	transform: translateY(-2px);
}

.scroll-top-arrow {
	font-size: 0.9rem;
	transition: transform 0.2s ease;
}

.footer-scroll-top-btn:hover .scroll-top-arrow {
	transform: translateY(-2px);
}

@media (max-width: 991.98px) {
	.footer-main-container {
		padding-top: 36px;
		padding-bottom: 24px;
	}
	.footer-bottom-inner {
		flex-direction: column;
		text-align: center;
		justify-content: center;
	}
}


/*--------------------------------------------------------------
# End adds
--------------------------------------------------------------*/



/* Navigation
--------------------------------------------- */
.main-navigation {
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

/* Botón menú móvil */
.menu-toggle {
	display: none;
	background: rgba(255, 255, 255, 0.18);
	border: 1px solid rgba(255, 255, 255, 0.35);
	color: #ffffff;
	border-radius: 10px;
	padding: 9px 12px;
	cursor: pointer;
	transition: all 0.2s ease;
	outline: none;
}

.menu-toggle:hover,
.menu-toggle:focus {
	background: rgba(255, 255, 255, 0.28);
	border-color: rgba(255, 255, 255, 0.5);
	color: #ffffff;
	outline: none;
}

.menu-toggle-icon {
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Menú en Escritorio (>= 768px) */
@media screen and (min-width: 768px) {
	.menu-toggle {
		display: none;
	}

	.main-navigation ul.nav-menu {
		display: flex;
		align-items: center;
		gap: 6px;
		margin: 0;
		padding: 0;
		list-style: none;
	}

	.main-navigation .nav-menu li {
		position: relative;
	}

	.main-navigation .nav-menu a,
	.main-navigation .nav-menu a:visited {
		font-family: var(--font--family-Poppins);
		font-size: 0.95rem;
		font-weight: 600;
		letter-spacing: 0.1px;
		text-transform: none;
		color: #ffffff;
		text-decoration: none;
		padding: 8px 14px;
		border-radius: 12px;
		transition: all 0.2s ease;
		display: inline-flex;
		align-items: center;
		gap: 6px;
	}

	.main-navigation .nav-menu a:hover,
	.main-navigation .nav-menu a:focus,
	.main-navigation .nav-menu a:visited:hover {
		background: rgba(255, 255, 255, 0.18);
		color: #ffffff;
		transform: translateY(-1px);
		text-decoration: none;
	}

	.main-navigation .nav-menu .current-menu-item > a,
	.main-navigation .nav-menu .current-menu-item > a:visited {
		background: rgba(255, 255, 255, 0.25);
		color: #ffffff;
		box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
	}

	/* Submenús en escritorio */
	.main-navigation ul ul {
		box-shadow: 0 10px 25px rgba(18, 43, 74, 0.08);
		border: 1px solid #eef2f6;
		position: absolute;
		top: 100%;
		left: -999em;
		z-index: 99999;
		background: #ffffff;
		border-radius: 12px;
		padding: 8px;
		margin: 0;
		min-width: 190px;
		list-style: none;
	}

	.main-navigation ul ul a {
		padding: 10px 14px;
		border-radius: 8px;
		display: flex;
		color: #334155;
	}

	.main-navigation ul ul a:hover {
		background: #f1f5f9;
		color: #1d68d8;
	}

	.main-navigation ul ul li:hover > ul,
	.main-navigation ul ul li.focus > ul,
	.main-navigation ul li:hover > ul,
	.main-navigation ul li.focus > ul {
		display: block;
		left: auto;
	}
}

/* Menú en Móvil (< 768px) */
@media screen and (max-width: 767.98px) {
	.site-header-inner {
		min-height: 60px;
		padding: 6px 0;
	}

	.site-branding .custom-logo,
	.site-branding img {
		width: 44px;
		height: 44px;
	}

	.site-title a {
		font-size: 1.4rem;
	}

	.site-description {
		font-size: 0.74rem;
	}

	.menu-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
	}

	.main-navigation {
		position: static;
	}

	.main-navigation ul.nav-menu {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		width: 100%;
		background: #1877f2;
		background: linear-gradient(180deg, #1877f2 0%, #1462cb 100%);
		box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
		border-top: 1px solid rgba(255, 255, 255, 0.18);
		padding: 12px 16px;
		margin: 0;
		list-style: none;
		z-index: 1020;
	}

	.main-navigation.toggled ul.nav-menu {
		display: flex;
		flex-direction: column;
		gap: 6px;
		animation: headerSlideDown 0.25s ease-out forwards;
	}

	.main-navigation .nav-menu a {
		font-family: var(--font--family-Poppins);
		font-size: 1rem;
		font-weight: 600;
		text-transform: none;
		color: #ffffff;
		text-decoration: none;
		padding: 12px 14px;
		border-radius: 10px;
		display: flex;
		align-items: center;
		gap: 8px;
		transition: background 0.2s ease, color 0.2s ease;
	}

	.main-navigation .nav-menu a:hover,
	.main-navigation .nav-menu a:focus,
	.main-navigation .nav-menu .current-menu-item > a {
		background: rgba(255, 255, 255, 0.18);
		color: #ffffff;
		text-decoration: none;
	}
}

@keyframes headerSlideDown {
	from {
		opacity: 0;
		transform: translateY(-8px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
	padding: 0 5px;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Index 
--------------------*/

/* Game-index Sections */
.games-section-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 0;
	margin-bottom: 18px;
	padding: 0 2px;
}

.games-section-header-left {
	display: flex;
	align-items: center;
	gap: 12px;
}

.games-section-icon {
	width: 42px;
	height: 42px;
	border-radius: 12px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	color: #1877f2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
	flex-shrink: 0;
}

.games-section-icon.icon-destacados {
	background: linear-gradient(135deg, #f43f5e 0%, #ec4899 100%);
	color: #ffffff;
	border-radius: 50%;
	border: none;
	font-size: 1.25rem;
	box-shadow: 0 4px 12px rgba(244, 63, 94, 0.28);
}

.games-section-view-all {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #0284c7;
	font-family: var(--font--family-Poppins);
	font-size: 0.88rem;
	font-weight: 600;
	text-decoration: none;
	transition: color 0.15s ease;
}

.games-section-view-all:hover {
	color: #0369a1;
	text-decoration: none;
}

.games-section-view-all .view-all-arrow {
	transition: transform 0.15s ease;
}

.games-section-view-all:hover .view-all-arrow {
	transform: translateX(3px);
}

.games-section-title {
	font-family: var(--font--family-Poppins);
	font-size: 1.35rem;
	font-weight: 600;
	color: #1e293b;
	margin: 0;
	line-height: 1.25;
	letter-spacing: -0.2px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.games-section-subtitle {
	font-size: 0.84rem;
	color: #64748b;
	margin: 2px 0 0;
	font-weight: 500;
}

/* Buscador en la cabecera de Últimos Juegos (Píldora Moderna) */
.games-section-header-right {
	display: flex;
	align-items: center;
}

.games-header-search-form {
	margin: 0;
	position: relative;
}

.games-search-input-wrap {
	position: relative;
	display: inline-flex;
	align-items: center;
	width: auto;
}

.games-search-icon {
	position: absolute;
	left: 14px;
	top: 50%;
	transform: translateY(-50%);
	color: #94a3b8;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
	z-index: 3;
	line-height: 1;
	transition: color 0.2s ease;
}

.games-search-icon svg {
	display: block;
}

/* Selector compuesto de alta especificidad para prevalecer sobre input[type="search"] de Underscores y Bootstrap */
input[type="search"].games-header-search-input,
.games-header-search-input {
	-webkit-appearance: none !important;
	-moz-appearance: none !important;
	appearance: none !important;
	box-sizing: border-box !important;
	height: 42px !important;
	width: 270px;
	border-radius: 50px !important;
	background: #ffffff !important;
	background-color: #ffffff !important;
	border: 1.5px solid #cbd5e1 !important;
	padding-top: 6px !important;
	padding-bottom: 6px !important;
	padding-left: 42px !important;
	padding-right: 16px !important;
	font-family: var(--font--family-Poppins, sans-serif) !important;
	font-size: 0.84rem !important;
	font-weight: 500 !important;
	color: #1e293b !important;
	box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04) !important;
	outline: none !important;
	line-height: normal !important;
	transition: all 0.22s ease !important;
}

input[type="search"].games-header-search-input::-webkit-search-decoration,
input[type="search"].games-header-search-input::-webkit-search-cancel-button {
	-webkit-appearance: none;
}

input[type="search"].games-header-search-input::placeholder,
.games-header-search-input::placeholder {
	color: #94a3b8 !important;
	font-weight: 400 !important;
	opacity: 1 !important;
}

input[type="search"].games-header-search-input:focus,
.games-header-search-input:focus {
	border-color: #0284c7 !important;
	box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.16), 0 2px 8px rgba(15, 23, 42, 0.06) !important;
	width: 300px;
}

.games-search-input-wrap:focus-within .games-search-icon {
	color: #0284c7;
}

@media (max-width: 767.98px) {
	.games-section-header {
		flex-direction: column;
		align-items: stretch;
		gap: 14px;
	}
	.games-section-header-right,
	.games-header-search-form,
	.games-search-input-wrap {
		width: 100%;
	}
	input[type="search"].games-header-search-input,
	.games-header-search-input {
		width: 100% !important;
	}
}

/* Layout del Grid de Tarjetas (Exactamente 4 por fila en escritorio) */
.games-cards-row {
	display: flex;
	flex-wrap: wrap;
	--bs-gutter-x: 16px;
	--bs-gutter-y: 16px;
	margin-left: -8px;
	margin-right: -8px;
}

.games-cards-row > .game-card-col,
.game-card-col {
	padding: 8px !important;
	box-sizing: border-box;
	display: flex;
}

/* 4 tarjetas por fila en escritorio (25% exacto) */
@media screen and (min-width: 992px) {
	.game-card-col {
		flex: 0 0 25% !important;
		max-width: 25% !important;
		width: 25% !important;
	}
}

/* 3 tarjetas por fila en tablets */
@media screen and (min-width: 768px) and (max-width: 991.98px) {
	.game-card-col {
		flex: 0 0 33.333333% !important;
		max-width: 33.333333% !important;
		width: 33.333333% !important;
	}
}

/* 2 tarjetas por fila en móviles */
@media screen and (max-width: 767.98px) {
	.game-card-col {
		flex: 0 0 50% !important;
		max-width: 50% !important;
		width: 50% !important;
	}
}

/* Tarjetas de Juegos (.con-index / .game-card) */
.con-index,
.game-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	overflow: hidden;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease;
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
	margin: 0;
}

.con-index:hover,
.game-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
	border-color: #cbd5e1;
}

.game-card-article {
	display: flex;
	flex-direction: column;
	height: 100%;
	width: 100%;
}

/* Miniatura / Thumbnail */
.game-card-thumb-wrap {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #f8fafc;
	border-bottom: 1px solid #f1f5f9;
}

.game-card-thumb-link {
	display: block;
	width: 100%;
	height: 100%;
}

.game-card-thumb-wrap img,
.con-index img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
	border-radius: 0 !important;
}

.con-index:hover .game-card-thumb-wrap img {
	transform: scale(1.04);
}

.game-thumb-fallback {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #94a3b8;
	background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

/* Insignias sobre la miniatura del juego */
.game-card-rating-badge {
	position: absolute;
	top: 8px;
	right: 8px;
	display: inline-flex;
	align-items: center;
	gap: 3px;
	background: rgba(15, 23, 42, 0.75);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	color: #ffffff;
	font-size: 0.72rem;
	font-weight: 700;
	padding: 2px 7px;
	border-radius: 999px;
	line-height: 1.2;
	z-index: 2;
	pointer-events: none;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.game-card-rating-badge .star-icon {
	color: #fbbf24;
	font-size: 0.75rem;
}

.game-card-tag-badge {
	position: absolute;
	top: 8px;
	right: 8px;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	background: #ffe4e6;
	color: #e11d48;
	font-size: 0.72rem;
	font-weight: 600;
	padding: 2px 8px;
	border-radius: 999px;
	line-height: 1.2;
	z-index: 2;
	pointer-events: none;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* Cuerpo de la tarjeta */
.game-card-body {
	padding: 12px 14px 12px;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

/* Título */
.game-card-title {
	font-family: var(--font--family-Poppins);
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: -0.01em;
	margin: 0 0 6px 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 2.8em;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.game-card-title a {
	color: #1e293b;
	text-decoration: none;
	transition: color 0.15s ease;
}

.game-card-title a:hover {
	color: #1877f2;
	text-decoration: none;
}

/* Extracto */
.game-card-excerpt {
	font-size: 0.80rem;
	line-height: 1.45;
	color: #64748b;
	margin: 0 0 10px 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 2.8em;
}

/* Pie de tarjeta */
.game-card-footer {
	margin-top: auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 6px;
	padding-top: 10px;
	border-top: 1px solid #f1f5f9;
}

/* Categoría única con punto de color */
.game-card-cat-badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 3px 8px;
	border-radius: 999px;
	background: var(--cat-bg, #f1f5f9);
	color: var(--cat-color, #475569);
	font-size: 0.72rem;
	font-weight: 600;
	text-decoration: none;
	max-width: calc(100% - 75px);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	transition: opacity 0.15s ease;
}

.game-card-cat-badge:hover {
	opacity: 0.85;
	text-decoration: none;
	color: var(--cat-color, #475569);
}

.game-card-cat-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background-color: var(--cat-color, #475569);
	flex-shrink: 0;
}

.game-card-cat-text {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* Botón Jugar */
.game-card-play-btn {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--btn-color, #0284c7);
	color: #ffffff !important;
	font-family: var(--font--family-Poppins);
	font-size: 0.75rem;
	font-weight: 700;
	text-decoration: none;
	flex-shrink: 0;
	transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.game-card-play-btn:hover {
	filter: brightness(0.92);
	color: #ffffff !important;
	text-decoration: none;
	transform: scale(1.04);
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.game-card-play-btn .play-arrow-icon {
	width: 9px;
	height: 9px;
	transition: transform 0.15s ease;
}

.game-card-play-btn:hover .play-arrow-icon {
	transform: translateX(1px);
}

/* Ajustes Responsive para Móvil (2 columnas) */
@media screen and (max-width: 575.98px) {
	.games-section-title {
		font-size: 1.15rem;
	}

	.games-section-icon {
		width: 36px;
		height: 36px;
	}

	.game-card-body {
		padding: 10px 10px 8px;
	}

	.game-card-title {
		font-size: 0.84rem;
		min-height: 2.5em;
	}

	.game-card-excerpt {
		display: none; /* Oculta extracto en móviles para mantener tarjeta compacta */
	}

	.game-card-footer {
		padding-top: 6px;
	}

	.game-card-cat-badge {
		padding: 2px 6px;
		font-size: 0.68rem;
		max-width: calc(100% - 65px);
	}

	.game-card-play-btn {
		padding: 3px 8px;
		font-size: 0.70rem;
	}
}



/* Anuncio lateral pegajoso */
.sidebar-sticky-ad {
	position: sticky;
	top: 24px;
	z-index: 10;
	margin-bottom: 20px;
}

/* ==============================================================
   Secciones Temáticas de Categorías en Portada (Geografía, Dibujo, etc.)
   ============================================================== */
.home-cat-section {
	margin-top: 2.5rem;
	margin-bottom: 1rem;
}

/* Cabecera de la categoría */
.home-cat-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 14px;
}

.home-cat-header-left {
	display: flex;
	align-items: center;
	gap: 12px;
}

.home-cat-icon {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--cat-accent, #1877f2);
	color: #ffffff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 1.25rem;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
	flex-shrink: 0;
}

.home-cat-title-wrap {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 3px;
}

.home-cat-title {
	font-family: var(--font--family-Poppins);
	font-size: 1.35rem;
	font-weight: 600;
	color: #1e293b;
	margin: 0;
	line-height: 1.2;
	letter-spacing: -0.2px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.home-cat-subtitle-pill {
	display: inline-block;
	background: var(--cat-pill-bg, #e0f2fe);
	color: var(--cat-pill-color, #0369a1);
	font-family: var(--font--family-Poppins);
	font-size: 0.74rem;
	font-weight: 600;
	padding: 2px 10px;
	border-radius: 999px;
	line-height: 1.4;
}

.home-cat-header-right {
	display: flex;
	align-items: center;
}

.home-cat-cta-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #ffffff;
	border: 1.5px solid var(--cat-accent, #1877f2);
	color: var(--cat-accent, #1877f2);
	font-family: var(--font--family-Poppins);
	font-size: 0.82rem;
	font-weight: 600;
	padding: 5px 14px;
	border-radius: 999px;
	text-decoration: none;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.home-cat-cta-btn:hover {
	background: var(--cat-pill-bg, #e0f2fe);
	color: var(--cat-accent, #1877f2);
	border-color: var(--cat-accent, #1877f2);
	text-decoration: none;
	transform: translateY(-1px);
}

.home-cat-cta-btn .cta-arrow {
	transition: transform 0.15s ease;
}

.home-cat-cta-btn:hover .cta-arrow {
	transform: translateX(3px);
}

/* Tarjeta descriptiva introductoria */
.home-cat-intro-card {
	background: var(--cat-intro-bg, #f8fafc);
	border: 1px solid var(--cat-intro-border, rgba(2, 132, 199, 0.2));
	border-radius: 14px;
	padding: 12px 16px;
	margin-bottom: 16px;
	display: flex;
	align-items: center;
	gap: 12px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.home-cat-intro-emoji {
	font-size: 1.5rem;
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.home-cat-intro-text {
	font-size: 0.84rem;
	line-height: 1.5;
	color: #334155;
	margin: 0;
	font-weight: 400;
	text-align: left;
}

/* Cuadrícula de 5 tarjetas compactas */
.home-cat-cards-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
	margin-bottom: 10px;
}

@media (min-width: 576px) {
	.home-cat-cards-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (min-width: 992px) {
	.home-cat-cards-grid {
		grid-template-columns: repeat(5, 1fr);
		gap: 12px;
	}
}

/* Tarjeta individual compacta */
.home-cat-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
	box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.home-cat-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
	border-color: #cbd5e1;
}

.home-cat-card-thumb {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #f8fafc;
	border-bottom: 1px solid #f1f5f9;
}

.home-cat-card-thumb-link {
	display: block;
	width: 100%;
	height: 100%;
}

.home-cat-card-thumb img,
.home-cat-card-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
}

.home-cat-card:hover .home-cat-card-thumb img {
	transform: scale(1.05);
}

.home-cat-card-body {
	padding: 10px 10px 12px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	flex-grow: 1;
	text-align: center;
}

.home-cat-card-title {
	font-family: var(--font--family-Poppins);
	font-size: 0.835rem;
	font-weight: 600;
	line-height: 1.32;
	letter-spacing: -0.02em;
	margin: 0 0 10px 0;
	color: #1e293b;
	text-align: center;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 2.65em;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.home-cat-card-title a {
	color: #1e293b;
	text-decoration: none;
	transition: color 0.15s ease;
}

.home-cat-card-title a:hover {
	color: var(--cat-accent, #1877f2);
	text-decoration: none;
}

.home-cat-play-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	padding: 4px 14px;
	border-radius: 999px;
	background: var(--cat-accent, #0d9488);
	color: #ffffff !important;
	font-family: var(--font--family-Poppins);
	font-size: 0.74rem;
	font-weight: 700;
	text-decoration: none;
	transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
	width: fit-content;
}

.home-cat-play-btn:hover {
	filter: brightness(0.92);
	transform: scale(1.04);
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
	color: #ffffff !important;
	text-decoration: none;
}

.home-cat-play-btn .play-arrow-icon {
	width: 9px;
	height: 9px;
	transition: transform 0.15s ease;
}

.home-cat-play-btn:hover .play-arrow-icon {
	transform: translateX(1px);
}



/* Posts and pages
---------------------------------------------------------------------------- */

.sticky {
	display: block;
}

.post,
.page {
	margin: 0 0 0.3em;
}


.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}



/* Post & Pages Layout
---------------------------------------------------------------------------- */
.post-single-col {
	background: #ffffff;
	padding: 24px;
	margin: 12px 0 24px 0;
	border-radius: 12px;
	box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
	min-height: 500px;
}

.post-single-col h2 {
	font-size: 1.5rem;
	font-weight: 700;
	color: #1e293b;
	margin-bottom: 12px;
}

.post-single-col a {
	color: #1877f2;
}

.post-single-col a:hover {
	color: #125ec4;
}

.post-single-col ul {
	margin: 0 0 1.5em 1.5em;
	padding: 0;
}

.post-single-col p {
	line-height: 1.65;
	color: #334155;
	margin-bottom: 1.25em;
}

/* Post-single Game Container
   El margin-top de 5px junto con el margin-top de 6px de .single-game-layout-wrap
   iguala exactamente los 11px de distancia al header que tienen la Home y los Archivos. */
.post-single-col-game {
	padding: 0;
	margin: 5px 0 20px 0;
}

.entry-header h1 {
	font-family: var(--font--family-Poppins, sans-serif);
	font-weight: 600;
}

.site-main {
	min-height: 600px;
}

.game-iframe {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
}

.game-iframe iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* ==========================================================================
   YouTube-Style Dynamic Theater Grid for Games
   ========================================================================== */

.single-game-layout-wrap {
	width: 100%;
	margin-top: 6px;
	margin-bottom: 24px;
}

/* Grid dinámico de 2 columnas estilo YouTube */
.game-layout-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	grid-template-areas:
		"player sidebar"
		"content sidebar";
	gap: 22px;
	align-items: start;
	width: 100%;
	transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.game-player-area {
	grid-area: player;
	min-width: 0;
}

.game-sidebar-area {
	grid-area: sidebar;
	min-width: 0;
}

.game-content-area {
	grid-area: content;
	min-width: 0;
}

/* Modo Teatro / Pantalla Ancha Activado (.is-theater-mode) */
.game-layout-grid.is-theater-mode {
	grid-template-columns: minmax(0, 1fr) 300px;
	grid-template-areas:
		"player player"
		"content sidebar";
}

/* Tarjeta del Reproductor del Juego (Contenedor unificado: Header + Iframe) */
.game-player-card {
	background: #ffffff;
	border: 1px solid #eef2f6;
	border-radius: 22px;
	padding: 20px 22px 18px 22px;
	box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
	margin-bottom: 0;
	transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Encabezado integrado del Juego */
.game-stage-header {
	margin-bottom: 16px;
}

/* Migas de pan (Breadcrumbs) */
.game-breadcrumbs {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
	font-size: 0.80rem;
	color: #64748b;
	margin-bottom: 10px;
	font-family: var(--font--family-Poppins, sans-serif);
	line-height: 1.4;
}

.game-breadcrumbs .breadcrumb-item {
	color: #64748b;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	transition: color 0.15s ease;
}

.game-breadcrumbs .breadcrumb-item:hover {
	color: #0284c7;
	text-decoration: underline;
}

.game-breadcrumbs .breadcrumb-sep {
	color: #cbd5e1;
	font-weight: 300;
}

.game-breadcrumbs .breadcrumb-current {
	color: #1e293b;
	font-weight: 700;
}

/* Fila de Título a la izquierda + Acciones (Guardar/Compartir) a la derecha */
.game-stage-title-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 0;
}

/* Título del Juego */
.game-stage-title {
	font-family: var(--font--family-Poppins, sans-serif);
	font-size: 1.55rem;
	font-weight: 800;
	color: #0f172a;
	margin: 0;
	line-height: 1.25;
	letter-spacing: -0.02em;
	flex: 1 1 auto;
	min-width: 0;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* Píldoras de Metadatos (Badges) */
.game-meta-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 12px;
	border-radius: 999px;
	font-size: 0.78rem;
	font-weight: 700;
	font-family: var(--font--family-Poppins, sans-serif);
	line-height: 1.25;
	text-decoration: none;
	border: 1px solid transparent;
	transition: transform 0.15s ease;
}

.game-meta-pill.game-meta-cat {
	background: var(--pill-bg, #f3eefc);
	color: var(--pill-color, #7e22ce);
	border-color: rgba(126, 34, 206, 0.2);
}

.game-meta-pill.game-meta-cat:hover {
	transform: translateY(-1px);
	filter: brightness(0.97);
}

.game-pill-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: currentColor;
	display: inline-block;
}

.game-meta-pill.game-meta-age,
.game-meta-pill.game-meta-tag {
	background: #f0fdf4;
	color: #16a34a;
	border-color: #bbf7d0;
}

.game-meta-pill.game-meta-rating {
	background: #fefce8;
	color: #a16207;
	border-color: #fef08a;
}

.game-meta-pill.game-meta-rating .star-icon {
	color: #eab308;
}

.game-meta-pill.game-meta-rating .rating-votes {
	font-weight: 500;
	opacity: 0.85;
}

.game-meta-pill.game-meta-plays {
	background: #f8fafc;
	color: #64748b;
	border-color: #e2e8f0;
}

/* Botones de Acción (Guardar / Compartir) */
.game-stage-actions {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
}

.btn-stage-action {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 14px;
	border-radius: 999px;
	font-family: var(--font--family-Poppins, sans-serif);
	font-size: 0.78rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.18s ease;
	line-height: 1;
	border: 1px solid #e2e8f0;
	background: #ffffff;
	color: #334155;
}

.btn-stage-action:hover {
	transform: translateY(-1px);
	box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
}

.btn-stage-fav {
	background: #f8fafc;
	border-color: #e2e8f0;
	color: #334155;
}

.btn-stage-fav:hover {
	background: #f1f5f9;
	border-color: #cbd5e1;
	color: #0f172a;
}

.btn-stage-fav.active {
	background: #fdf2f8;
	border-color: #f472b6;
	color: #db2777;
}

.btn-stage-fav .fav-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #94a3b8;
	transition: color 0.18s ease, transform 0.18s ease;
}

.btn-stage-fav:hover .fav-icon {
	color: #ec4899;
}

.btn-stage-fav.active .fav-icon {
	color: #db2777;
	transform: scale(1.15);
}

.btn-stage-share {
	background: #f0f9ff;
	border-color: #bae6fd;
	color: #0369a1;
}

.btn-stage-share:hover {
	background: #e0f2fe;
	border-color: #7dd3fc;
	color: #0284c7;
}

.btn-stage-share .share-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #0284c7;
}

.game-breadcrumbs .breadcrumb-icon {
	display: inline-flex;
	align-items: center;
	color: #f59e0b;
}

.game-controls-left .tip-icon {
	display: inline-flex;
	align-items: center;
	color: #eab308;
}

.game-related-title .related-title-icon {
	display: inline-flex;
	align-items: center;
	color: #6366f1;
}

.game-iframe-stage {
	position: relative;
	width: 100%;
	padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
	height: 0;
	overflow: hidden;
	background: #1e293b;
	border-radius: 12px;
}

.game-iframe-stage iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: none;
}

/* Barra de Controles debajo del Juego */
.game-controls-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: transparent;
	border: none;
	border-radius: 0;
	padding: 14px 0 0 0;
	margin: 0;
	box-shadow: none;
	gap: 12px;
	flex-wrap: wrap;
	width: 100%;
}

.game-controls-left {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 0.82rem;
	color: #64748b;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	padding: 6px 14px;
	line-height: 1.2;
}

.game-tip-kbd {
	background: #f1f5f9;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	padding: 2px 7px;
	font-size: 0.76rem;
	font-family: inherit;
	color: #334155;
	font-weight: 600;
}

.game-controls-right {
	display: flex;
	align-items: center;
	gap: 8px;
}

.btn-game-action {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 14px;
	border-radius: 10px;
	font-family: var(--font--family-Poppins, sans-serif);
	font-size: 0.82rem;
	font-weight: 600;
	cursor: pointer;
	border: 1px solid #e2e8f0;
	background: #ffffff;
	color: #334155;
	transition: all 0.18s ease;
	line-height: 1;
}

.btn-game-action:hover {
	background: #f8fafc;
	border-color: #cbd5e1;
	color: #0f172a;
}

.btn-game-action.btn-theater.active {
	background: #eff6ff;
	border-color: #3b82f6;
	color: #1d4ed8;
}

.btn-game-action.btn-fullscreen {
	background: #10b981;
	border-color: #10b981;
	color: #ffffff;
}

.btn-game-action.btn-fullscreen:hover {
	background: #059669;
	border-color: #059669;
}

/* Tarjeta de Descripción Enriquecida */
.game-desc-card {
	background: #ffffff;
	border: 1px solid #eef2f6;
	border-radius: 20px;
	padding: 22px 24px;
	margin-bottom: 24px;
	box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
	font-family: var(--font--family-Poppins, sans-serif);
}

/* Cabecera de la sección Descripción */
.game-desc-header-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 14px;
	margin-bottom: 18px;
	padding-bottom: 14px;
	border-bottom: 1px solid #f1f5f9;
}

.game-desc-title-group {
	display: flex;
	align-items: center;
	gap: 14px;
}

.game-desc-icon-box {
	width: 44px;
	height: 44px;
	min-width: 44px;
	border-radius: 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.game-desc-heading {
	margin: 0;
	font-size: 1.25rem;
	font-weight: 700;
	color: #0f172a;
	line-height: 1.25;
}

.game-desc-subheading {
	margin: 3px 0 0 0;
	font-size: 0.85rem;
	color: #64748b;
	font-weight: 500;
}

/* Badge de partidas / social proof */
.game-desc-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #fefce8;
	border: 1.5px solid #fef08a;
	color: #854d0e;
	font-size: 0.84rem;
	font-weight: 600;
	padding: 6px 14px;
	border-radius: 999px;
	white-space: nowrap;
	box-shadow: 0 2px 6px rgba(234, 179, 8, 0.12);
}

/* Cuerpo de texto a todo lo ancho */
.game-desc-text {
	font-size: 0.98rem;
	color: #334155;
	line-height: 1.7;
	margin-bottom: 20px;
}

.game-desc-text p:last-child {
	margin-bottom: 0;
}

/* Ficha Rápida en 4 cajitas */
.game-quick-facts {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 14px;
	margin: 22px 0 20px 0;
}

.game-fact-box {
	background: #f8fafc;
	border: 1px solid #eef2f6;
	border-radius: 14px;
	padding: 14px 10px;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.game-fact-box:hover {
	background: #ffffff;
	border-color: #cbd5e1;
	transform: translateY(-2px);
	box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}

.game-fact-icon {
	font-size: 1.35rem;
	margin-bottom: 6px;
	line-height: 1;
}

.game-fact-label {
	font-size: 0.70rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #94a3b8;
	margin-bottom: 4px;
}

.game-fact-value {
	font-size: 0.86rem;
	font-weight: 700;
	color: #0f172a;
	line-height: 1.3;
}

/* Pie de tarjeta con Categorías y Tags */
.game-desc-footer-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px;
	margin-top: 18px;
	padding-top: 16px;
	border-top: 1px solid #f1f5f9;
}

.game-tax-wrapper {
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex-grow: 1;
}

.game-tax-group {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
}

.game-tax-label {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-weight: 600;
	color: #64748b;
	font-size: 0.82rem;
	min-width: 90px;
}

.game-tax-pills,
.game-tax-chips {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
}

/* Píldoras de Categoría */
.game-cat-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 12px;
	border-radius: 999px;
	background: var(--pill-bg, #f1f5f9);
	color: var(--pill-color, #0f172a);
	border: 1px solid rgba(0, 0, 0, 0.05);
	font-weight: 600;
	font-size: 0.82rem;
	text-decoration: none;
	transition: all 0.18s ease;
	line-height: 1.2;
}

.game-cat-pill:hover {
	transform: translateY(-1px);
	box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
	color: var(--pill-color, #0f172a);
	text-decoration: none;
}

/* Chips de Etiquetas (#Tags) */
.game-tag-chip {
	display: inline-flex;
	align-items: center;
	padding: 4px 10px;
	border-radius: 999px;
	background: #f1f5f9;
	color: #475569;
	font-size: 0.80rem;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.18s ease;
	line-height: 1.2;
}

.game-tag-chip:hover {
	background: #e2e8f0;
	color: #0f172a;
	transform: translateY(-1px);
	text-decoration: none;
}

/* Adaptación Responsiva para Móvil */
@media (max-width: 991.98px) {
	.game-quick-facts {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 575.98px) {
	.game-desc-card {
		padding: 18px 16px;
	}

	.game-desc-header-row {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}

	.game-desc-badge {
		align-self: flex-start;
	}

	.game-quick-facts {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}

	.game-tax-group {
		flex-direction: column;
		align-items: flex-start;
		gap: 6px;
	}
}

/* Bloques de Juegos Similares y Otros Juegos */
.game-related-section {
	background: #ffffff;
	border: 1px solid #eef2f6;
	border-radius: 18px;
	padding: 18px;
	margin-bottom: 20px;
	box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
}

.game-related-title {
	font-family: var(--font--family-Poppins, sans-serif);
	font-size: 1.15rem;
	font-weight: 700;
	color: #0f172a;
	margin: 0 0 14px 0;
	display: flex;
	align-items: center;
	gap: 8px;
}

/* Responsive Móvil / Tablet (< 992px) */
@media screen and (max-width: 991.98px) {
	.game-layout-grid,
	.game-layout-grid.is-theater-mode {
		grid-template-columns: 1fr;
		grid-template-areas:
			"player"
			"content"
			"sidebar";
		gap: 16px;
	}

	.game-player-card {
		padding: 14px 14px 12px 14px;
		border-radius: 18px;
	}

	.game-stage-title-row {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}

	.game-stage-title {
		font-size: 1.35rem;
		width: 100%;
		margin-bottom: 0;
	}

	.game-stage-actions {
		width: 100%;
		justify-content: flex-start;
		margin-bottom: 4px;
	}

	.btn-game-action.btn-theater {
		display: none !important; /* En móviles ya ocupa el 100% de la pantalla */
	}

	.game-desc-header {
		flex-direction: column;
	}

	.game-desc-thumb {
		width: 100%;
		max-width: 200px;
		margin: 0 auto 12px auto;
	}
}


.randPost img {
	height:165px;
}



.randPost a {
	
	color:#000;
	font-family: var(--font--family-Anton);
	font-size:12px;
	text-decoration: none;
	text-transform: uppercase;
	text-align: center;
	background: #fff;
}

.randPost a:hover {

text-decoration: none;

}



.type-post {

	padding: 0px;

	

}

/* ==========================================================================
   Páginas Estáticas e Institucionales (page.php / content-page.php)
   ========================================================================== */

.page-article-card {
	background: #ffffff;
	border: 1px solid #eef2f6;
	border-radius: 20px;
	padding: 32px 36px 36px 36px;
	box-shadow: 0 4px 20px rgba(18, 43, 74, 0.04);
	margin-bottom: 24px;
	transition: box-shadow 0.25s ease;
}

/* Cabecera de Página */
.page-header-box {
	border-bottom: 1px solid #f1f5f9;
	padding-bottom: 20px;
	margin-bottom: 24px;
}

/* Migas de pan de página */
.page-breadcrumbs {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 0.82rem;
	color: #64748b;
	margin-bottom: 14px;
	font-family: var(--font--family-Poppins, sans-serif);
}

.page-bc-link {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: #64748b;
	text-decoration: none;
	font-weight: 500;
	transition: color 0.18s ease;
}

.page-bc-link:hover {
	color: #1877f2;
	text-decoration: none;
}

.page-bc-sep {
	color: #cbd5e1;
	font-size: 0.78rem;
}

.page-bc-current {
	font-weight: 700;
	color: #0f172a;
}

/* Fila de Insignia y Fecha */
.page-badge-row {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 10px;
}

.page-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #eff6ff;
	color: #1d4ed8;
	padding: 4px 12px;
	border-radius: 999px;
	font-size: 0.76rem;
	font-weight: 700;
	font-family: var(--font--family-Poppins, sans-serif);
	letter-spacing: 0.2px;
}

.page-badge-icon {
	display: inline-flex;
	align-items: center;
	color: #3b82f6;
}

.page-date-badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	color: #94a3b8;
	font-size: 0.78rem;
	font-weight: 500;
	font-family: var(--font--family-Poppins, sans-serif);
}

.page-main-title {
	font-family: var(--font--family-Poppins, sans-serif);
	font-size: 2rem;
	font-weight: 800;
	color: #0f172a;
	margin: 0;
	line-height: 1.25;
	letter-spacing: -0.02em;
}

/* Imagen destacada de página */
.page-featured-media {
	border-radius: 14px;
	overflow: hidden;
	margin-bottom: 24px;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.page-featured-image {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
}

/* Cuerpo Editorial (.page-content-body / .entry-content) */
.page-content-body {
	color: #334155;
	font-size: 0.98rem;
	line-height: 1.75;
	font-family: var(--font--family-Poppins, sans-serif);
}

.page-content-body p {
	margin-bottom: 1.35rem;
}

.page-content-body p:last-child {
	margin-bottom: 0;
}

.page-content-body h2 {
	font-family: var(--font--family-Poppins, sans-serif);
	font-size: 1.4rem;
	font-weight: 700;
	color: #0f172a;
	margin-top: 2.2rem;
	margin-bottom: 1rem;
	padding-bottom: 8px;
	border-bottom: 2px solid #f1f5f9;
	letter-spacing: -0.01em;
}

.page-content-body h3 {
	font-family: var(--font--family-Poppins, sans-serif);
	font-size: 1.18rem;
	font-weight: 700;
	color: #1e293b;
	margin-top: 1.75rem;
	margin-bottom: 0.75rem;
}

.page-content-body h4 {
	font-family: var(--font--family-Poppins, sans-serif);
	font-size: 1.05rem;
	font-weight: 600;
	color: #334155;
	margin-top: 1.35rem;
	margin-bottom: 0.5rem;
}

.page-content-body ul,
.page-content-body ol {
	padding-left: 24px;
	margin-bottom: 1.35rem;
}

.page-content-body li {
	margin-bottom: 8px;
	line-height: 1.65;
}

.page-content-body blockquote {
	border-left: 4px solid #3b82f6;
	background: #f8fafc;
	padding: 16px 20px;
	border-radius: 0 12px 12px 0;
	margin: 1.6rem 0;
	color: #475569;
	font-style: italic;
}

.page-content-body a {
	color: #2563eb;
	text-decoration: underline;
	text-underline-offset: 3px;
	font-weight: 500;
	transition: color 0.18s ease;
}

.page-content-body a:hover {
	color: #1d4ed8;
	text-decoration: underline;
}

.page-content-body table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	overflow: hidden;
	margin: 1.6rem 0;
}

.page-content-body th {
	background: #f8fafc;
	color: #0f172a;
	font-weight: 700;
	padding: 11px 16px;
	text-align: left;
	border-bottom: 1px solid #e2e8f0;
	font-size: 0.88rem;
}

.page-content-body td {
	padding: 11px 16px;
	border-bottom: 1px solid #f1f5f9;
	color: #475569;
	font-size: 0.88rem;
}

.page-content-body tr:last-child td {
	border-bottom: none;
}

.page-content-body tr:nth-child(even) td {
	background: #fafafa;
}

/* Paginación interna de página (wp_link_pages) */
.page-pagination-links {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-top: 24px;
	padding-top: 16px;
	border-top: 1px solid #f1f5f9;
}

.page-links-title {
	font-weight: 700;
	font-size: 0.85rem;
	color: #64748b;
}

.page-number-item {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 32px;
	height: 32px;
	padding: 0 8px;
	border-radius: 8px;
	background: #f1f5f9;
	color: #334155;
	font-size: 0.84rem;
	font-weight: 600;
	text-decoration: none;
}

/* Botón flotante/badge de editar para administradores */
.page-footer-meta {
	margin-top: 28px;
	padding-top: 16px;
	border-top: 1px solid #f1f5f9;
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

.page-edit-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #f1f5f9;
	color: #64748b;
	font-size: 0.78rem;
	font-weight: 600;
	padding: 4px 12px;
	border-radius: 8px;
	text-decoration: none;
	transition: all 0.2s ease;
}

.page-edit-badge a {
	color: inherit;
	text-decoration: none;
}

.page-edit-badge:hover {
	background: #e2e8f0;
	color: #0f172a;
}

@media screen and (max-width: 767.98px) {
	.page-article-card {
		padding: 22px 18px 24px 18px;
		border-radius: 16px;
	}
	.page-main-title {
		font-size: 1.55rem;
	}
}

/* Post-archive --------------------------------------*/

.post-archive-col {
	padding: 0;
	margin: 0 0 15px 0;
}

/* ==========================================================================
   Tarjeta de Cabecera de Archivo / Categoría (Propuesta Imagen 1)
   ========================================================================== */

.archive-hero-card {
	background: #ffffff;
	border: 1px solid #f1f5f9;
	border-radius: 20px;
	padding: 22px 24px 18px 24px;
	box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
	margin-bottom: 22px;
	transition: all 0.25s ease;
}

/* Migas de pan de archivo */
.archive-breadcrumbs {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 0.82rem;
	color: #64748b;
	margin-bottom: 14px;
	font-family: var(--font--family-Poppins, sans-serif);
}

.archive-bc-link {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: #64748b;
	text-decoration: none;
	font-weight: 500;
	transition: color 0.18s ease;
}

.archive-bc-link:hover {
	color: var(--cat-color, #1877f2);
}

.archive-bc-sep {
	color: #cbd5e1;
	font-size: 0.78rem;
}

.archive-bc-current {
	font-weight: 700;
	color: var(--cat-color, #ca8a04);
}

/* Bloque Principal del Hero: Icono + Textos */
.archive-hero-main {
	display: flex;
	align-items: center;
	gap: 18px;
	margin-bottom: 16px;
}

.archive-hero-icon-box {
	width: 66px;
	height: 66px;
	min-width: 66px;
	border-radius: 18px;
	background: var(--cat-bg, #fefde8);
	border: 1px solid var(--cat-active-bg, #fef08a);
	color: var(--cat-color, #ca8a04);
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 3px 12px rgba(15, 23, 42, 0.04);
}

.archive-hero-content {
	flex: 1;
	min-width: 0;
}

.archive-hero-title-row {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 4px;
}

.archive-hero-title {
	font-family: var(--font--family-Poppins, sans-serif);
	font-size: 1.65rem;
	font-weight: 800;
	color: #0f172a;
	margin: 0;
	line-height: 1.25;
}

.archive-hero-badge {
	display: inline-flex;
	align-items: center;
	padding: 3px 12px;
	border-radius: 999px;
	background: var(--cat-bg, #fefde8);
	border: 1px solid var(--cat-active-bg, #fef08a);
	color: var(--cat-color, #ca8a04);
	font-size: 0.76rem;
	font-weight: 700;
	font-family: var(--font--family-Poppins, sans-serif);
}

.archive-hero-desc {
	color: #475569;
	font-size: 0.90rem;
	line-height: 1.5;
	margin: 0;
}

/* Barra de Filtros y Ordenamiento */
.archive-hero-filters {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	flex-wrap: wrap;
	padding-top: 14px;
	border-top: 1px solid #f1f5f9;
}

.archive-filter-pills {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.archive-filter-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 14px;
	border-radius: 999px;
	font-size: 0.80rem;
	font-weight: 600;
	font-family: var(--font--family-Poppins, sans-serif);
	text-decoration: none;
	transition: all 0.18s ease;
	line-height: 1.3;
}

.archive-filter-pill.is-active {
	background: var(--cat-color, #ca8a04);
	color: #ffffff !important;
	border: 1px solid transparent;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.archive-filter-pill:not(.is-active) {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	color: #475569;
}

.archive-filter-pill:not(.is-active):hover {
	background: #f8fafc;
	border-color: #cbd5e1;
	color: #0f172a;
}

.archive-sort-wrap {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 0.80rem;
	color: #64748b;
	font-weight: 600;
	font-family: var(--font--family-Poppins, sans-serif);
}

.archive-sort-select {
	padding: 5px 28px 5px 10px;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	background: #ffffff;
	font-size: 0.80rem;
	font-weight: 600;
	color: #334155;
	font-family: inherit;
	cursor: pointer;
	outline: none;
	transition: border-color 0.18s ease;
}

.archive-sort-select:focus {
	border-color: #94a3b8;
}

@media screen and (max-width: 991.98px) {
	.archive-hero-main {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}
	.archive-hero-title {
		font-size: 1.35rem;
	}
	.archive-hero-filters {
		flex-direction: column;
		align-items: flex-start;
	}
	.archive-sort-wrap {
		width: 100%;
		justify-content: flex-start;
	}
}

/* Cabecera Hero de Búsqueda (Título y Ordenamiento en la Misma Fila)
---------------------------------------------------------------------------- */
.search-hero-title-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	flex-wrap: wrap;
	width: 100%;
}

.search-title-badge-group {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.search-sort-wrap {
	margin-left: auto;
}

.search-hero-card .archive-hero-main {
	margin-bottom: 0;
}

@media screen and (max-width: 575.98px) {
	.search-sort-wrap {
		margin-left: 0;
		width: 100%;
	}
}

/* Estado Vacío de Búsqueda (Sin Resultados)
---------------------------------------------------------------------------- */
.search-no-results-card {
	background: #ffffff;
	border: 1px solid #f1f5f9;
	border-radius: 20px;
	padding: 44px 24px;
	text-align: center;
	box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
	margin-bottom: 24px;
}

.search-empty-icon {
	width: 76px;
	height: 76px;
	margin: 0 auto 16px auto;
	border-radius: 50%;
	background: #f0f9ff;
	border: 1px solid #e0f2fe;
	color: #0284c7;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 14px rgba(2, 132, 199, 0.12);
}

.search-empty-title {
	font-family: var(--font--family-Poppins, sans-serif);
	font-size: 1.35rem;
	font-weight: 700;
	color: #0f172a;
	margin-bottom: 8px;
}

.search-empty-text {
	font-size: 0.92rem;
	color: #64748b;
	max-width: 500px;
	margin: 0 auto 20px auto;
	line-height: 1.55;
}

.search-empty-form-wrap {
	display: flex;
	justify-content: center;
	margin-bottom: 24px;
}

.search-empty-suggestions {
	padding-top: 20px;
	border-top: 1px solid #f1f5f9;
	max-width: 560px;
	margin: 0 auto;
}

.suggestions-label {
	display: block;
	font-size: 0.82rem;
	font-weight: 600;
	color: #94a3b8;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 12px;
}

.suggestions-pills {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	flex-wrap: wrap;
}

.suggestion-pill {
	display: inline-flex;
	align-items: center;
	padding: 6px 16px;
	border-radius: 999px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	color: #334155;
	font-size: 0.84rem;
	font-weight: 600;
	font-family: var(--font--family-Poppins, sans-serif);
	text-decoration: none;
	transition: all 0.2s ease;
}

.suggestion-pill:hover {
	background: #0284c7;
	border-color: #0284c7;
	color: #ffffff;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(2, 132, 199, 0.2);
	text-decoration: none;
}
/* ==========================================================================
   Página de Error 404 (Diseño Lúdico y Moderno)
   ========================================================================== */

.error-404-card {
	background: #ffffff;
	border: 1px solid #eef2f6;
	border-radius: 20px;
	padding: 40px 32px 34px;
	box-shadow: 0 4px 22px rgba(18, 43, 74, 0.04);
	margin-bottom: 24px;
}

/* Ilustración Cohete + ? */
.error-404-illustration-wrap {
	display: flex;
	justify-content: center;
	margin-bottom: 14px;
}

.error-404-illustration {
	position: relative;
	display: inline-block;
}

.error-planet-svg {
	display: block;
	animation: planetFloat 4s ease-in-out infinite alternate;
}

@keyframes planetFloat {
	0% {
		transform: translateY(0) rotate(0deg);
	}
	100% {
		transform: translateY(-8px) rotate(2deg);
	}
}


/* Badge de Error */
.error-404-badge-wrap {
	margin-bottom: 12px;
}

.error-404-badge {
	display: inline-block;
	background: #fee2e2;
	color: #dc2626;
	font-family: var(--font--family-Poppins, sans-serif);
	font-size: 0.78rem;
	font-weight: 700;
	padding: 4px 14px;
	border-radius: 999px;
	letter-spacing: 0.2px;
}

/* Título y Subtítulo */
.error-404-title {
	font-family: var(--font--family-Poppins, sans-serif);
	font-size: 1.85rem;
	font-weight: 800;
	color: #0f172a;
	margin-bottom: 12px;
	line-height: 1.25;
	letter-spacing: -0.3px;
}

.error-404-subtitle {
	font-size: 0.95rem;
	color: #64748b;
	line-height: 1.6;
	max-width: 620px;
	margin: 0 auto 26px auto;
}

/* Buscador Integrado tipo Píldora */
.error-404-search-box {
	max-width: 520px;
	margin: 0 auto 24px auto;
}

.error-search-form {
	margin: 0;
}

.error-search-input-wrap {
	position: relative;
	display: flex;
	align-items: center;
	background: #ffffff;
	border: 1.5px solid #cbd5e1;
	border-radius: 50px;
	padding: 3px 4px 3px 14px;
	transition: all 0.2s ease;
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.error-search-input-wrap:focus-within {
	border-color: #0284c7;
	box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.16);
}

.error-search-icon {
	color: #94a3b8;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 8px;
	flex-shrink: 0;
}

.error-search-input {
	flex: 1;
	border: none !important;
	outline: none !important;
	box-shadow: none !important;
	background: transparent !important;
	font-size: 0.88rem;
	color: #1e293b;
	padding: 8px 6px;
	min-width: 0;
}

.error-search-input::placeholder {
	color: #94a3b8;
}

.btn-error-search {
	background: #0284c7;
	border: none;
	color: #ffffff;
	font-family: var(--font--family-Poppins, sans-serif);
	font-size: 0.86rem;
	font-weight: 700;
	padding: 8px 22px;
	border-radius: 50px;
	cursor: pointer;
	transition: all 0.2s ease;
	flex-shrink: 0;
}

.btn-error-search:hover {
	background: #0369a1;
	transform: translateY(-1px);
	box-shadow: 0 3px 10px rgba(2, 132, 199, 0.25);
}

/* Botones de Acción (Volver / Juego al Azar) */
.error-404-actions {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	flex-wrap: wrap;
}

.btn-error-action {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 22px;
	border-radius: 12px;
	font-family: var(--font--family-Poppins, sans-serif);
	font-size: 0.90rem;
	font-weight: 700;
	text-decoration: none;
	transition: all 0.2s ease;
	line-height: 1.3;
}

.btn-error-action:hover {
	text-decoration: none;
	transform: translateY(-2px);
}

.btn-error-action.btn-home {
	background: #0284c7;
	color: #ffffff !important;
	box-shadow: 0 4px 14px rgba(2, 132, 199, 0.22);
}

.btn-error-action.btn-home:hover {
	background: #0369a1;
	box-shadow: 0 6px 18px rgba(2, 132, 199, 0.32);
}

.btn-error-action.btn-random {
	background: #d97706;
	background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
	color: #ffffff !important;
	box-shadow: 0 4px 14px rgba(217, 119, 6, 0.25);
}

.btn-error-action.btn-random:hover {
	background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
	box-shadow: 0 6px 18px rgba(217, 119, 6, 0.35);
}

/* Estrella de la sección favoritos */
.featured-section-star {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 1.35rem;
	line-height: 1;
}

/* Tarjeta de Comunidad Facebook (Sidebar) */
.sidebar-community-card {
	background: #ffffff;
	border: 1px solid #eef2f6;
	border-radius: 18px;
	padding: 18px 16px;
	box-shadow: 0 4px 18px rgba(18, 43, 74, 0.04);
}

.sidebar-community-header {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 8px;
}

.community-icon {
	color: #1877f2;
	display: inline-flex;
	align-items: center;
}

.community-title {
	font-family: var(--font--family-Poppins, sans-serif);
	font-size: 1.05rem;
	font-weight: 700;
	color: #122b48;
	margin: 0;
	line-height: 1.2;
}

.community-desc {
	font-size: 0.84rem;
	color: #64748b;
	line-height: 1.5;
	margin: 0 0 14px 0;
}

.btn-community-fb {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: #1877f2;
	background: linear-gradient(135deg, #1877f2 0%, #1565c0 100%);
	color: #ffffff !important;
	font-family: var(--font--family-Poppins, sans-serif);
	font-size: 0.88rem;
	font-weight: 600;
	padding: 10px 16px;
	border-radius: 12px;
	text-decoration: none;
	transition: all 0.2s ease;
	box-shadow: 0 4px 12px rgba(24, 119, 242, 0.25);
}

.btn-community-fb:hover {
	background: linear-gradient(135deg, #1565c0 0%, #0d47a1 100%);
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(24, 119, 242, 0.35);
	text-decoration: none;
}

@media screen and (max-width: 767.98px) {
	.error-404-card {
		padding: 30px 18px 24px;
	}
	.error-404-title {
		font-size: 1.45rem;
	}
	.error-404-actions {
		flex-direction: column;
		width: 100%;
	}
	.btn-error-action {
		width: 100%;
		justify-content: center;
	}
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}


/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}


/* ---Botón flotante---- */


.btn-flotante {
	font-size: 18px; /* Cambiar el tamaño de la tipografia */
	text-transform: uppercase; /* Texto en mayusculas */
	font-weight: bold; /* Fuente en negrita o bold */
	font-color: #fff; /* Color del texto */
	border-radius: 10px; /* Borde del boton */
	padding: 2px 2px; /* Relleno del boton */
	position: fixed;
	bottom: 15px;
	right: 15px;
	transition: all 300ms ease 0ms;
	box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
	z-index: 99;
}

/* ==========================================================================
   Paginación Numérica Lúdica y Moderna (.games-pagination-bar)
   ========================================================================== */

.games-pagination-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px;
	padding: 20px 4px 10px 4px;
	margin-top: 1rem;
	margin-bottom: 2rem;
	font-family: var(--font-family-base, 'Poppins', sans-serif);
}

.games-pagination-info {
	color: #64748b;
	font-size: 0.92rem;
	font-weight: 500;
	letter-spacing: -0.01em;
}

.games-pagination-controls {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
}

/* Botones Anterior / Siguiente */
.games-pagination-btn {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 0.88rem;
	border-radius: 999px;
	text-decoration: none;
	transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
	line-height: 1;
	user-select: none;
}

.games-pagination-btn .pagination-arrow {
	flex-shrink: 0;
	transition: transform 0.2s ease;
}

/* Botón Anterior */
.games-pagination-btn.btn-prev {
	padding: 8px 16px;
	background-color: #ffffff;
	color: #475569;
	border: 1.5px solid #e2e8f0;
	font-weight: 600;
}

.games-pagination-btn.btn-prev:hover:not(.is-disabled) {
	background-color: #fff5f7;
	border-color: #e11d48;
	color: #e11d48;
	transform: translateX(-2px);
}

.games-pagination-btn.btn-prev.is-disabled {
	background-color: #eef2f6;
	color: #94a3b8;
	border: 1.5px solid transparent;
	cursor: default;
}

.games-pagination-btn.btn-prev.is-disabled .pagination-arrow {
	color: #94a3b8;
}

/* Botón Página Siguiente */
.games-pagination-btn.btn-next {
	padding: 8px 18px;
	background-color: #ffffff;
	color: #e11d48;
	border: 1.5px solid #fecdd3;
	font-weight: 700;
}

.games-pagination-btn.btn-next .pagination-arrow {
	color: #e11d48;
}

.games-pagination-btn.btn-next:hover:not(.is-disabled) {
	background-color: #e11d48;
	color: #ffffff;
	border-color: #e11d48;
	transform: translateX(2px);
	box-shadow: 0 4px 12px rgba(225, 29, 72, 0.25);
}

.games-pagination-btn.btn-next:hover:not(.is-disabled) .pagination-arrow {
	color: #ffffff;
}

.games-pagination-btn.btn-next.is-disabled {
	background-color: #eef2f6;
	color: #94a3b8;
	border: 1.5px solid transparent;
	cursor: default;
}

.games-pagination-btn.btn-next.is-disabled .pagination-arrow {
	color: #94a3b8;
}

/* Lista de Números de Página */
.games-pagination-numbers {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.games-pagination-numbers .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	min-width: 36px;
	border-radius: 999px;
	font-size: 0.9rem;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
	line-height: 1;
}

/* Número Inactivo (Enlace) */
.games-pagination-numbers a.page-numbers {
	background-color: #ffffff;
	color: #334155;
	border: 1.5px solid #e2e8f0;
}

.games-pagination-numbers a.page-numbers:hover {
	background-color: #fff5f7;
	border-color: #e11d48;
	color: #e11d48;
	transform: translateY(-2px);
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

/* Número Activo (Píldora Roja) */
.games-pagination-numbers .page-numbers.current {
	background-color: #e11d48;
	color: #ffffff;
	border: 1.5px solid #e11d48;
	font-weight: 700;
	box-shadow: 0 3px 10px rgba(225, 29, 72, 0.35);
	cursor: default;
}

/* Puntos Suspensivos */
.games-pagination-numbers .page-numbers.dots {
	width: auto;
	min-width: auto;
	height: auto;
	border: none;
	background: transparent;
	color: #94a3b8;
	font-weight: 700;
	padding: 0 4px;
}

/* Adaptación Responsiva Móvil (< 768px) */
@media (max-width: 767.98px) {
	.games-pagination-bar {
		flex-direction: column;
		justify-content: center;
		align-items: center;
		text-align: center;
		gap: 14px;
		padding: 14px 0;
	}

	.games-pagination-controls {
		justify-content: center;
		gap: 8px;
	}

	.games-pagination-btn.btn-prev {
		padding: 7px 12px;
		font-size: 0.82rem;
	}

	.games-pagination-btn.btn-next {
		padding: 7px 14px;
		font-size: 0.82rem;
	}

	.games-pagination-numbers .page-numbers {
		width: 32px;
		height: 32px;
		min-width: 32px;
		font-size: 0.82rem;
	}
}



