/*!
Theme Name: Portfolio Kevin Pery
Author: Kevin Pery
Author URI: http://kevinpery.com
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: V-1

Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready


Portfolio 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.

*/

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

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

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

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

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

/* Colores personalizados / general  */

:root {
  --verde: #2BDE1E;
  --azul: #2E5AF4;
  --rosa: #FF71C6;
  --rojo: #E63424;
  --lila: #A38DEF;
  --amarillo: #FCEA00;
}

html, body {
	-webkit-text-size-adjust: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	scrollbar-width: none; /* Firefox */
	-ms-overflow-style: none;  /* IE y Edge */
}

body::-webkit-scrollbar {
	display: none; /* Chrome, Safari */
}

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

#content, .site-content { /* el contenedor principal */
	flex: 1;
}

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

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

hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

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

a {
	background-color: transparent;
}

abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

b,
strong {
	font-weight: bolder;
}

code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

small {
	font-size: 80%;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

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

img {
	border-style: none;
}

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

button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

button,
input {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

fieldset {
	padding: 0.35em 0.75em 0.625em;
}

legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

progress {
	vertical-align: baseline;
}

textarea {
	overflow: auto;
}

[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

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

details {
	display: block;
}

summary {
	display: list-item;
}

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

template {
	display: none;
}

[hidden] {
	display: none;
}

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

*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

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

/* Typography
--------------------------------------------- */

@font-face {
  font-family: 'Neue Montreal';
  src: url('./fonts/NeueMontreal-Regular.woff2') format('woff2'),
       url('./fonts/NeueMontreal-Regular.woff') format('woff'),
       url('./fonts/NeueMontreal-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Neue Montreal';
  src: url('./fonts/NeueMontreal-RegularItalic.woff2') format('woff2'),
       url('./fonts/NeueMontreal-RegularItalic.woff') format('woff'),
       url('./fonts/NeueMontreal-RegularItalic.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

body,
button,
input,
select,
optgroup,
textarea {
	color: black;
	font-family: 'Neue Montreal', sans-serif;
	font-weight: 400;
	font-size: 1rem;
	line-height: 1.5;
}

a:visited {
  color: inherit !important;
}

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

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

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: #fff9c0;
	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,
a:visited,
a:active {
	color: inherit;
}

a:focus {
	outline: thin dotted;
}

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

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*PAGES*/
/*Estilo de las pginas por defecto*/

/* SITE MAIN */
.site-main {
	padding: 0px;
}

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

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

.main-navigation ul ul a {
	width: 200px;
}

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

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}

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

.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%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

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

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

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

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

/* 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;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	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;
}

/*--------------------------------------------------------------
# CSS PERSONALIZADO
--------------------------------------------------------------*/

/* General */
html {
	font-size: 30px;
}

/* Tipografas */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: normal;
	line-height: 1.2;
	margin-bottom: 1rem;
}

/* Jerarquía de tipografas */
p {
	font-size: 1em;
	font-weight: normal;
}

h1 { font-size: 1em; }
h2 { font-size: 0.85em; }
h3 { font-size: 0.75em; }
h4 { font-size: 0.65em; }
h5 { font-size: 0.5em; }
h6 { font-size: 0.45em; }

/* Leyendas */
figcaption { font-size: 0.5em; }

pre, pre a {
	background-image: none !important;
	font-size: 0.5em;
	color: white !important;
	background: black;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.2;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

/* 0-1 HEADER ADMIN */
/* ajusta cuando existe la barra de admin */
body.admin-bar {
	padding-top: calc(50px + 32px);
}

/* fija el header justo debajo de la barra de admin */
body.admin-bar .site-header {
	top: 32px;
}

/* para los que no tienen barra de admin */
body:not(.admin-bar) {
	padding-top: 50px;
}

/* 0-2 HEADER GENERAL */

#page {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

/* Header, Cabecera */
.site-header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 50px;
	display: flex;
	align-items: flex-end;
	padding: 0 10px;
	z-index: 999;
	transition: transform .3s ease;
	transform: translateY(0);
}

.site-header.hidden {
	transform: translateY(-100%);
}

/* Logotipo */
.site-branding {
	flex: 1;
	display: flex;
	align-items: flex-end;
	height: 100%;
}

/* Nombre del sitio */
.site-title {
	margin: 0;
}

.site-title a {
	font-size: 30px;
	line-height: normal; /* no 0, para que respete la caja */
	background-image: none !important;
}

/* NAV + ARROW */
.main-navigation {
	flex: 1;
	display: flex;
	align-items: flex-end; /* bajar flecha y menú */
	justify-content: flex-end;
	height: 100%;
}

.back-arrow {
	font-size: 30px;
	background-image: none !important;
}

.main-navigation ul {
	display: flex;
	gap: 30px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.main-navigation a {
	text-decoration: none;
	font-size: 30px;
	font-weight: 400;
	line-height: 1;
}

/* Descripción del sitio (oculta) */
.site-description {
	display: none;
}

/*** 1. HOME ****/

/**** entry-content ****/
.entry-content {
	padding: 0px 10px;
}

/* 1-1 Mansory Layout Posts */
.publications-grid-items {
	column-count: 1;
	column-gap: 0px;
}

@media (min-width: 768px) {
	.publications-grid-items {
		column-count: 3;
	}
}

.publication-item {
	display: block;
	width: 100%;
	margin-bottom: 0px;
	border: 0 solid #eee;
	padding: 10px;
	border-radius: 8px;
	break-inside: avoid-column;
	-webkit-column-break-inside: avoid;
	-moz-column-break-inside: avoid;
}

.pub-thumb .pinit-hover-link,
.pub-thumb .PIN_community_button {
	display: none !important;
	visibility: hidden !important;
}

.pub-thumb img {
	transition: filter 0.3s ease-in-out;
	border-radius: 10px;
	display: block;
	width: 100%;
	margin-bottom: 10px;
}

.pub-thumb img:hover {
	transition: filter 0.3s ease-in-out;
	filter: brightness(90%);
}

.pub-small-title {
	margin: 0 0 10px;
	font-size: 20px;
	line-height: 1;
}

.pub-small-title a {
	background: none !important;
}

.pub-excerpt {
	font-size: 17px;
	line-height: 1.3;
}

.publications-grid {
	padding: 0px;
}

.publications-menu {
	margin-bottom: 80px;
	display: flex;
	justify-content: center;
}

.pub-cat-item {
	cursor: pointer;
	margin-right: 50px;
	font-size: 20px;
	font-weight: 400;
}

.pub-cat-item.active {
	text-decoration: underline;
}

/* Posts categoria y tags*/
.entry-footer {
	display: none; /* Poner flex si queremos verlos*/
	flex-direction: column;
	align-items: center;
}

.entry-footer .cat-links,
.entry-footer .tags-links {
	display: block;
	text-align: center;
}

.entry-footer .cat-links {
	margin-bottom: 0.5em;
}

.nav-links {
	font-size: 30px;
}

/* Posts, Relacionados */

/* Contenedor y título */
.kp-related-posts {
	margin-top: clamp(4rem, 8vw, 6rem);
	margin-bottom: clamp(2rem, 4vw, 3rem);
	padding-left: 20px;
	padding-right: 20px;
	padding-bottom: 50px !important;
	background: var(--azul);
	transition: background-color 5s ease, background 5s ease;
	color: white;
}

.kp-related-title {
	font-size: 25px;
	text-transform: uppercase;
	text-align: center;
	line-height: 1;
	padding-top: 2rem;
	padding-bottom: 2rem;
}

h2.kp-related-title {
	margin-block: 0;
}

/* Grid: 2 cols en móvil, 4 en >=768px */
.kp-related-grid {
	display: grid;
	gap: 10px; /* mantiene el comportamiento final (antes lo sobrescribía el duplicado) */
	grid-template-columns: 1fr 1fr;
}

@media (min-width: 768px) {
	.kp-related-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

/* Tarjetas */
.kp-rel-card {
	display: flex;
	flex-direction: column;
	gap: .5rem;
}

/* Enlace + marco de imagen 4:5 */
.kp-thumb {
	display: block;
	text-decoration: none;
}

.kp-thumb-frame {
	position: relative;
	width: 100%;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border-radius: 0px;
}

a.kp-thumb {
	background-image: none !important;
}

/* Imágenes y swap en hover */
.kp-thumb-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: opacity .8s ease;
}

.kp-thumb-img.kp-main {
	opacity: 1;
}

.kp-thumb-img.kp-alt {
	opacity: 0;
}

.kp-rel-card:hover .kp-thumb-img.kp-alt {
	opacity: 1;
}

.kp-rel-card:hover .kp-thumb-img.kp-main {
	opacity: 0;
}

/* Metadatos (mantiene lo que aportaba el bloque duplicado) */
.kp-rel-title {
	font-size: 18px;
	margin: 0px;
	line-height: 1;
}

.kp-rel-excerpt {
	margin-top: 5px !important;
	font-size: 12px;
	color: #fff;
	margin: 0;
}

/* POST / POSTS / BLOG / ENTRADAS */

/* Titulo de entrada */
.post-template .entry-header {
	text-align: center;
}

/*Fecha y datos del post*/
.single-post .entry-meta {
	display: none;
}

/* dos-culumnas */
body .is-layout-flex {
	justify-content: center;
}

/* Gap dos coulumnas */
:where(.wp-block-columns.is-layout-flex) {
	gap: 20px;
}

/*Ancho máximo pagina */
.single-post .entry-content {
	max-width: 1300px;
	margin: auto;
}

/* Padding final (antes lo sobrescribía el bloque duplicado) */
.single-post .entry-content p {
	padding: 2.5em 0em !important;
}

.single-post .entry-content h1,
.single-post .entry-content h2,
.single-post .entry-content h3,
.single-post .entry-content h4,
.single-post .entry-content h5,
.single-post .entry-content h6,
.single-post .entry-content p,
.single-post .entry-content ul,
.single-post .entry-content ol,
.single-post .entry-content blockquote,
.single-post .entry-content pre {
	margin: auto;
	box-sizing: border-box;
	padding: 0;
}

.single-post .wp-block-image img {
	max-width: 100%;
	width: 100%;
}

.single-post .post-thumbnail {
	display: none;
}

.single-post .comments-area,
.comments-link {
	display: none;
}

/* ELEMENTOS */

/* SLIDER */
/* Flechas carusel*/
.swiper-button-next:after,
.swiper-button-prev:after {
	font-family: 'Neue Montreal', sans-serif !important;
	font-size: 30px !important;
	color: black;
}

/* Móvil (<= 768px) */
@media (max-width: 768px) {
	.swiper-button-next:after,
	.swiper-button-prev:after {
		font-size: 20px !important;
	}
}

.swiper-button-next:after { content: '→' !important; }
.swiper-button-prev:after { content: '←' !important; }

/* Galera Gutenberg columnas */

/* Espacio entre imagenes */
.wp-block-gallery.wp-block-gallery-1 {
	--wp--style--gallery-gap-default: 20px;
}

/* 2 Columnas de imágenes, sólo 1 en móviles */
@media (max-width: 480px) {
	.wp-block-gallery.columns-2 {
		flex-direction: column !important;
	}

	.wp-block-gallery.columns-2 figure {
		width: 100% !important;
		margin-right: 0 !important;
	}
}

/* PAGES: */
/* Página 404 */

.site-main-404 {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100svh - 160px);
    padding: 40px 20px;
    box-sizing: border-box;
}

.site-404-wrapper {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.site-404-wrapper .error-404 {
    margin: 0;
}

.site-404-wrapper .page-header {
    margin: 0;
}

.site-404-wrapper .page-title {
    margin: 0;
}

.site-404-wrapper .page-content {
    margin-top: 24px;
}

.site-404-link {
    display: inline-block;
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* Ajuste para móviles */

@media screen and (max-width: 768px) {
    .site-main-404 {
        min-height: calc(100svh - 120px);
        padding: 30px 20px;
    }

    .site-404-wrapper .page-title {
        font-size: clamp(32px, 10vw, 54px);
        line-height: 1;
    }
}


/*Who I am*/
/*Ocultar títulos*/
body.page-id-58 .site-title {
	display: none; /*titulo del menú*/
}

body.page-id-58 .entry-header {
	display: none; /*titulo de la pagina*/
}

/* ----- FOOTER ----- */
.site-footer {
	margin-top: auto;
	width: 100%;
}

.footer-container {
	display: flex;
	justify-content: space-between;
	padding-left: 20px;
	padding-right: 20px;
	font-size: 30px;
	align-items: flex-end;
	line-height: 1;
}

.footer-col-left {
	text-align: left;
}

.footer-col-right {
	text-align: right;
}

.footer-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-menu li {
	display: inline-block;
	margin-right: 2.5rem; /* ajusta el espacio */
}

.footer-menu li a {
	text-decoration: none;
}

.footer-menu a {
	text-decoration: none;
	padding-bottom: 6px; /* espacio para el SVG al hover */
}

.footer-cta {
	display: inline-block;
	text-decoration: none;
}

.site-info {
	display: none;
}

/* --- Footer móvil: "WANNA PLAY" arriba, redes debajo, todo centrado --- */
@media (max-width: 768px) {

	.footer-container {
		margin: 30px 0px;
		display: flex;
		flex-direction: column; /* apilado */
		align-items: center; /* centra contenido */
		gap: 16px;
		padding-left: 16px;
		padding-right: 16px;
	}

	/* Pone la columna derecha ("WANNA PLAY?") arriba */
	.footer-col-right {
		order: -1;
		text-align: center;
		width: 100%;
	}

	/* Redes debajo y centradas */
	.footer-col-left {
		order: 0;
		text-align: center;
		width: 100%;
	}

	/* Menú de redes: que envuelva y sin márgenes gigantes */
	.footer-menu {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap: 0px 16px;
		margin-top: 50px;
		padding: 0;
	}

	.footer-menu li {
		margin: 0; /* quita el 4.5rem que desborda */
		display: inline-flex;
	}
} /* FIN FOOTER MOVIL */
