/* ==========================================================================
   Editorial Wallace · estilo "tela y oro" para Zakra
   Libro de tapa dura: tela verde, letras doradas, páginas marfil.

   Cubre el marcado de Zakra 2.x (clases tg-) y de Zakra 4.x (clases zak-).
   Este archivo se carga después del CSS de Zakra y de las opciones del
   Personalizador, así que manda sobre ellas.

   Índice
   0. Tipografías y variables
   1. Base
   2. Títulos y texto
   3. Enlaces
   4. Botones
   5. Formularios
   6. Cabecera
   7. Menú principal y botón de la cabecera
   8. Menú móvil
   9. Encabezado de página y migas de pan
   10. Entradas, archivo y barra lateral
   11. Pie de página
   12. Botón "volver arriba"
   13. Elementor (colores y tipografías globales)
   ========================================================================== */

/* 0. Tipografías y variables
   ========================================================================== */

@font-face {
	font-family: "Libre Baskerville";
	src: url(../fonts/libre-baskerville-latin-400-normal.woff2) format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Libre Baskerville";
	src: url(../fonts/libre-baskerville-latin-400-italic.woff2) format("woff2");
	font-weight: 400;
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: "Manrope";
	src: url(../fonts/manrope-latin-wght-normal.woff2) format("woff2");
	font-weight: 200 800;
	font-style: normal;
	font-display: swap;
}

:root {
	/* Paleta */
	--w-verde-profundo: #0c2e23;
	--w-verde-tela: #163a2e;
	--w-dorado: #c9a96e;
	--w-dorado-claro: #d6b983;
	--w-dorado-oscuro: #806033;
	--w-marfil: #f4eee2;
	--w-marfil-hondo: #e8dfcc;
	--w-tinta: #1c1b19;
	--w-gris-verde: #56635c;
	--w-salvia: #a3b3ab;

	/* Tipografías */
	--w-serif: "Libre Baskerville", Baskerville, "Times New Roman", serif;
	--w-sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

	/* Escala (igual que la landing) */
	--w-t-xs: .8125rem;
	--w-t-sm: .9375rem;
	--w-t-base: 1.0625rem;
	--w-t-lg: 1.25rem;
	--w-t-h4: 1.25rem;
	--w-t-h3: clamp(1.2rem, 1.05rem + .6vw, 1.5rem);
	--w-t-h2: clamp(1.75rem, 1.2rem + 2.3vw, 2.875rem);
	--w-t-h1: clamp(2.125rem, 1.2rem + 3.9vw, 4rem);

	/* Líneas */
	--w-linea: rgba(28, 27, 25, .14);
	--w-linea-clara: rgba(244, 238, 226, .18);
	--w-radio: 3px;

	/* Textura de tela para los fondos verdes */
	--w-tela: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9 .55' numOctaves='3' seed='4'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='.16'/%3E%3C/svg%3E");
}

/* 1. Base
   ========================================================================== */

html {
	-webkit-text-size-adjust: 100%;
}

body {
	background-color: var(--w-marfil);
	color: var(--w-tinta);
	font-family: var(--w-sans);
	font-weight: 400;
	font-size: var(--w-t-base);
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

/* Zakra pinta de blanco el contenedor de la página: lo pasamos a marfil */
body.wallace #page,
body.wallace:not(.tg-container--separate) #page,
.zak-container--boxed .zak-site#page,
#page #main,
#page .site-content,
#page .zak-content {
	background-color: var(--w-marfil);
}

::selection {
	background: var(--w-dorado);
	color: var(--w-verde-profundo);
}

:focus-visible {
	outline: 2px solid var(--w-dorado-oscuro);
	outline-offset: 3px;
}

hr,
.wp-block-separator {
	border: 0;
	height: 1px;
	background: var(--w-linea);
	opacity: 1;
}

/* 2. Títulos y texto
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
	font-family: var(--w-serif);
	font-weight: 400;
	text-wrap: balance;
}

h1 { font-size: var(--w-t-h1); line-height: 1.12; letter-spacing: -.015em; }
h2 { font-size: var(--w-t-h2); line-height: 1.18; letter-spacing: -.01em; }
h3 { font-size: var(--w-t-h3); line-height: 1.3; }
h4 { font-size: var(--w-t-h4); line-height: 1.35; }
h5 { font-size: 1.0625rem; line-height: 1.4; }
h6 {
	font-family: var(--w-sans);
	font-size: var(--w-t-xs);
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--w-dorado-oscuro);
}

/* La palabra destacada en itálica, como en la landing */
h1 em, h2 em, h3 em {
	font-style: italic;
	color: var(--w-dorado-oscuro);
}

/* Títulos dentro del contenido del tema (no dentro de secciones de Elementor,
   que tienen sus propios colores) */
.entry-content :is(h1, h2, h3, h4, h5):not(.elementor *),
.zak-entry-summary :is(h1, h2, h3, h4, h5),
.comments-area :is(h2, h3) {
	color: var(--w-verde-profundo);
}

p {
	text-wrap: pretty;
}

.entry-content,
.zak-entry-summary {
	font-size: var(--w-t-base);
	line-height: 1.7;
}

strong, b {
	font-weight: 700;
}

blockquote,
.wp-block-quote {
	margin: 2rem 0;
	padding: .25rem 0 .25rem 1.5rem;
	border-left: 2px solid var(--w-dorado);
	background: none;
	font-family: var(--w-serif);
	font-size: var(--w-t-lg);
	font-style: italic;
	line-height: 1.55;
	color: var(--w-verde-profundo);
}
blockquote cite,
.wp-block-quote cite {
	display: block;
	margin-top: .75rem;
	font-family: var(--w-sans);
	font-size: var(--w-t-xs);
	font-style: normal;
	font-weight: 600;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--w-dorado-oscuro);
}

table {
	border-collapse: collapse;
}
.entry-content table th,
.entry-content table td {
	border: 0;
	border-bottom: 1px solid var(--w-linea);
	padding: .75rem 1rem .75rem 0;
	text-align: left;
}
.entry-content table th {
	font-size: var(--w-t-xs);
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--w-dorado-oscuro);
}

/* Etiqueta: texto chico en mayúsculas espaciadas */
.etiqueta,
.wallace-etiqueta {
	font: 600 var(--w-t-xs)/1.4 var(--w-sans);
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--w-dorado-oscuro);
}

/* 3. Enlaces
   ========================================================================== */

a {
	color: var(--w-verde-profundo);
	transition: color .2s, background-color .2s, border-color .2s, text-decoration-color .2s;
}
a:hover,
a:focus {
	color: var(--w-dorado-oscuro);
}

/* Enlaces dentro del texto: dorado oscuro subrayado (el dorado claro es solo decorativo sobre marfil) */
#page .entry-content a:not([class*="button"]):not([class*="btn"]):not(.wp-block-button__link):not(.wp-element-button):not(.elementor-button):not(.zak-button):not(.tg-read-more):not(.more-link),
#page .zak-entry-summary a:not([class*="button"]),
#page .comment-content a {
	color: var(--w-dorado-oscuro);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: .22em;
	text-decoration-color: rgba(128, 96, 51, .45);
}
#page .entry-content a:not([class*="button"]):not([class*="btn"]):not(.wp-block-button__link):not(.wp-element-button):not(.elementor-button):not(.zak-button):not(.tg-read-more):not(.more-link):hover,
#page .zak-entry-summary a:not([class*="button"]):hover,
#page .comment-content a:hover {
	color: var(--w-verde-profundo);
	text-decoration-color: var(--w-verde-profundo);
}

/* 4. Botones
   ========================================================================== */

/* Colores generales (Zakra también pinta así los botones de interfaz) */
button,
input[type="button"],
input[type="reset"],
input[type="submit"],
#infinite-handle span {
	background-color: var(--w-verde-profundo);
	color: var(--w-marfil);
	border: 1px solid transparent;
	border-radius: var(--w-radio);
	font-family: var(--w-sans);
}
button:hover,
button:focus,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
#infinite-handle span:hover {
	background-color: var(--w-verde-tela);
	color: var(--w-marfil);
}

/* Botón verde de la marca: formularios, bloques y botones del tema */
input[type="submit"],
input[type="button"],
input[type="reset"],
.wpcf7 .wpcf7-submit,
.everest-forms button[type="submit"],
.everest-forms input[type="submit"],
.everest-forms .evf-submit,
.mailerlite-form button,
.ml-form-embedSubmit button,
.wp-block-button__link,
.wp-element-button,
.wp-block-search__button,
.zak-button,
.button,
a.button,
.tg-read-more-wrapper a,
a.tg-read-more,
.more-link,
.comment-respond .submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .625rem;
	min-height: 3.25rem;
	padding: .85rem 1.6rem;
	border: 1px solid transparent;
	border-radius: var(--w-radio);
	background-color: var(--w-verde-profundo);
	color: var(--w-marfil);
	font: 700 var(--w-t-sm)/1.2 var(--w-sans);
	letter-spacing: .01em;
	text-decoration: none;
	text-transform: none;
	box-shadow: none;
	cursor: pointer;
	transition: background-color .2s, color .2s, border-color .2s;
}
.wpcf7 .wpcf7-submit:hover,
.everest-forms button[type="submit"]:hover,
.everest-forms input[type="submit"]:hover,
.everest-forms .evf-submit:hover,
.mailerlite-form button:hover,
.ml-form-embedSubmit button:hover,
.wp-block-button__link:hover,
.wp-element-button:hover,
.wp-block-search__button:hover,
.zak-button:hover,
.button:hover,
a.button:hover,
.tg-read-more-wrapper a:hover,
a.tg-read-more:hover,
.more-link:hover,
.comment-respond .submit:hover {
	background-color: var(--w-verde-tela);
	color: var(--w-marfil);
	text-decoration: none;
}

/* "Leer más" en el blog: botón de línea */
.tg-read-more-wrapper a,
a.tg-read-more,
.more-link {
	min-height: 2.75rem;
	padding: .6rem 1.15rem;
	background-color: transparent;
	border-color: rgba(12, 46, 35, .35);
	color: var(--w-verde-profundo);
}
.tg-read-more-wrapper a:hover,
a.tg-read-more:hover,
.more-link:hover {
	background-color: rgba(12, 46, 35, .05);
	border-color: var(--w-verde-profundo);
	color: var(--w-verde-profundo);
}

/* Variantes de bloque */
.wp-block-button.is-style-outline > .wp-block-button__link,
.wp-block-button__link.is-style-outline {
	background-color: transparent;
	border-color: rgba(12, 46, 35, .35);
	color: var(--w-verde-profundo);
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover {
	background-color: rgba(12, 46, 35, .05);
	border-color: var(--w-verde-profundo);
	color: var(--w-verde-profundo);
}

/* Clases para usar a mano (en bloques "HTML personalizado" o en el campo
   "Clases CSS adicionales" de un bloque Botón): */
.boton-oro,
.boton-oro .wp-block-button__link {
	background-color: var(--w-dorado);
	color: var(--w-verde-profundo);
}
.boton-oro:hover,
.boton-oro .wp-block-button__link:hover {
	background-color: var(--w-dorado-claro);
	color: var(--w-verde-profundo);
}

/* 5. Formularios
   ========================================================================== */

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="date"],
textarea,
select,
.everest-forms .evf-field-container input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.everest-forms textarea,
.everest-forms select {
	background-color: rgba(232, 223, 204, .45);
	border: 1px solid rgba(28, 27, 25, .22);
	border-radius: var(--w-radio);
	color: var(--w-tinta);
	font-family: var(--w-sans);
	font-size: 1rem;
	padding: .75rem .95rem;
	box-shadow: none;
	transition: border-color .2s, box-shadow .2s, background-color .2s;
}
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="date"]:focus,
textarea:focus,
select:focus,
.everest-forms .evf-field-container input:focus,
.everest-forms textarea:focus,
.everest-forms select:focus {
	outline: none;
	background-color: var(--w-marfil);
	border-color: var(--w-dorado-oscuro);
	box-shadow: 0 0 0 3px rgba(201, 169, 110, .28);
}
::placeholder {
	color: var(--w-gris-verde);
	opacity: .8;
}

label,
.everest-forms .evf-label,
.wpcf7 label {
	font-family: var(--w-sans);
	font-size: var(--w-t-sm);
	font-weight: 600;
	color: var(--w-verde-profundo);
}

.wpcf7 form .wpcf7-response-output {
	border-radius: var(--w-radio);
	border-color: var(--w-dorado);
	margin: 1.5rem 0 0;
	padding: .85rem 1rem;
	font-size: var(--w-t-sm);
}

/* 6. Cabecera
   ========================================================================== */

#masthead,
#masthead .tg-site-header-top,
#masthead .tg-site-header-bottom,
#zak-masthead,
#zak-masthead .zak-main-header,
#zak-masthead .zak-top-bar,
#zak-masthead .zak-header-top-row,
#zak-masthead .zak-header-main-row,
#zak-masthead .zak-header-bottom-row {
	background-color: var(--w-marfil);
	background-image: none;
}

#masthead,
#zak-masthead {
	position: sticky;
	top: 0;
	z-index: 200;
	border-bottom: 1px solid var(--w-linea);
}
.admin-bar #masthead,
.admin-bar #zak-masthead {
	top: 32px;
}
@media (max-width: 782px) {
	.admin-bar #masthead,
	.admin-bar #zak-masthead {
		top: 46px;
	}
}
@media (max-width: 600px) {
	.admin-bar #masthead,
	.admin-bar #zak-masthead {
		top: 0;
	}
}

#masthead .tg-site-header-bottom,
#zak-masthead .zak-main-header {
	padding-top: .85rem;
	padding-bottom: .85rem;
}

/* Logo */
#masthead .custom-logo-link img,
#masthead .custom-logo,
#zak-masthead .custom-logo-link img,
#zak-masthead .custom-logo {
	display: block;
	height: 3rem;
	width: auto;
	max-height: none;
	max-width: none;
}
@media (max-width: 600px) {
	#masthead .custom-logo-link img,
	#masthead .custom-logo,
	#zak-masthead .custom-logo-link img,
	#zak-masthead .custom-logo {
		height: 2.25rem;
	}
}

/* Título del sitio (por si no hay logo) */
#masthead .site-title,
#masthead .site-title a,
#zak-masthead .site-title,
#zak-masthead .site-title a {
	font-family: var(--w-serif);
	font-weight: 400;
	color: var(--w-verde-profundo);
}
#masthead .site-description,
#zak-masthead .site-description {
	font-family: var(--w-sans);
	color: var(--w-gris-verde);
}

/* 7. Menú principal y botón de la cabecera
   ========================================================================== */

/* Ítems de primer nivel */
#masthead .tg-primary-menu > div > ul > li:not(.tg-header-button-wrap):not(.tg-menu-item-search) > a,
#zak-masthead .zak-primary-nav .zak-primary-menu > li > a,
#zak-masthead .zak-primary-nav > ul > li > a {
	font-family: var(--w-sans);
	font-size: var(--w-t-sm);
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: .01em;
	color: var(--w-verde-profundo);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: .55em;
	text-decoration-color: transparent;
}
#masthead .tg-primary-menu > div > ul > li:not(.tg-header-button-wrap):not(.tg-menu-item-search) > a:hover,
#masthead .tg-primary-menu > div > ul > li:not(.tg-header-button-wrap):hover > a,
#masthead .tg-primary-menu > div > ul > li.current-menu-item:not(.tg-header-button-wrap) > a,
#masthead .tg-primary-menu > div > ul > li.current_page_item:not(.tg-header-button-wrap) > a,
#masthead .tg-primary-menu > div > ul > li.current-menu-ancestor:not(.tg-header-button-wrap) > a,
#masthead .tg-primary-menu > div > ul > li.current_page_ancestor:not(.tg-header-button-wrap) > a,
#zak-masthead .zak-primary-nav .zak-primary-menu > li:hover > a,
#zak-masthead .zak-primary-nav .zak-primary-menu > li.current-menu-item > a,
#zak-masthead .zak-primary-nav .zak-primary-menu > li.current_page_item > a,
#zak-masthead .zak-primary-nav .zak-primary-menu > li.current-menu-ancestor > a,
#zak-masthead .zak-primary-nav .zak-primary-menu > li.current_page_ancestor > a {
	color: var(--w-verde-profundo);
	text-decoration-color: var(--w-dorado-oscuro);
}

/* Quitar las rayitas de color de los estilos "subrayado / borde" de Zakra */
#masthead .tg-primary-menu > div > ul > li > a::before,
#zak-masthead .zak-primary-nav .zak-primary-menu > li > a::before {
	background-color: transparent;
}

/* Flechita de submenú */
#masthead .tg-primary-menu li.menu-item-has-children > a::after,
#masthead .tg-primary-menu .tg-icon,
#zak-masthead .zak-primary-nav .zak-icon,
#zak-masthead .zak-primary-nav svg {
	color: var(--w-dorado-oscuro);
	fill: var(--w-dorado-oscuro);
}

/* Submenús */
#masthead .tg-primary-menu ul ul,
#zak-masthead .zak-primary-nav ul ul {
	background-color: var(--w-marfil);
	border: 1px solid var(--w-linea);
	border-top: 2px solid var(--w-dorado);
	border-radius: 0 0 var(--w-radio) var(--w-radio);
	box-shadow: 0 24px 40px -24px rgba(12, 46, 35, .4);
	padding: .5rem 0;
}
#masthead .tg-primary-menu ul ul li,
#zak-masthead .zak-primary-nav ul ul li {
	border: 0;
}
#masthead .tg-primary-menu ul ul li a,
#zak-masthead .zak-primary-nav ul ul li a {
	padding: .65rem 1.25rem;
	font-family: var(--w-sans);
	font-size: var(--w-t-sm);
	font-weight: 500;
	line-height: 1.4;
	color: var(--w-tinta);
	text-decoration: none;
	background: transparent;
}
#masthead .tg-primary-menu ul ul li a:hover,
#masthead .tg-primary-menu ul ul li.current-menu-item > a,
#zak-masthead .zak-primary-nav ul ul li a:hover,
#zak-masthead .zak-primary-nav ul ul li.current-menu-item > a {
	background-color: var(--w-marfil-hondo);
	color: var(--w-verde-profundo);
}

/* Botón de la cabecera ("Hablemos") */
#masthead .tg-primary-menu > div ul li.tg-header-button-wrap a,
#zak-masthead .zak-header-buttons .zak-header-button .zak-button,
#zak-masthead .zak-header-button .zak-button {
	display: inline-flex;
	align-items: center;
	gap: .55rem;
	min-height: 2.75rem;
	padding: .6rem 1.15rem;
	border: 1px solid transparent;
	border-radius: var(--w-radio);
	background-color: var(--w-verde-profundo);
	color: var(--w-marfil);
	font-family: var(--w-sans);
	font-size: var(--w-t-sm);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: .01em;
	text-decoration: none;
	transition: background-color .2s;
}
#masthead .tg-primary-menu > div ul li.tg-header-button-wrap a:hover,
#zak-masthead .zak-header-buttons .zak-header-button .zak-button:hover,
#zak-masthead .zak-header-button .zak-button:hover {
	background-color: var(--w-verde-tela);
	color: var(--w-marfil);
}
#masthead .tg-primary-menu > div ul li.tg-header-button-wrap {
	margin-left: .75rem;
}

/* Ícono de WhatsApp en los botones que llevan a WhatsApp */
#masthead .tg-header-button-wrap a[href*="wa.me"]::before,
#masthead .tg-header-button-wrap a[href*="whatsapp"]::before,
#zak-masthead .zak-button[href*="wa.me"]::before,
#zak-masthead .zak-button[href*="whatsapp"]::before {
	content: "";
	flex: none;
	width: 1.15rem;
	height: 1.15rem;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12.04 2a9.9 9.9 0 0 0-8.5 15l-1.4 5.1 5.3-1.4A9.9 9.9 0 1 0 12.04 2Zm0 1.8a8.1 8.1 0 1 1-4.2 15l-.3-.2-3.1.8.8-3-.2-.3a8.1 8.1 0 0 1 7-12.3Zm-3.3 4c-.2 0-.5 0-.7.3-.3.3-1 1-1 2.3s1 2.7 1.2 2.9c.1.2 2 3.2 5 4.4 2.5 1 3 .8 3.5.7.5 0 1.7-.7 2-1.4.2-.7.2-1.2.1-1.4l-.5-.3-1.8-.9c-.2-.1-.4-.1-.6.1l-.8 1c-.1.2-.3.2-.5.1a6.6 6.6 0 0 1-3.3-2.9c-.2-.3 0-.4.1-.6l.4-.5.3-.5v-.5l-.8-2c-.2-.5-.4-.5-.6-.5Z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12.04 2a9.9 9.9 0 0 0-8.5 15l-1.4 5.1 5.3-1.4A9.9 9.9 0 1 0 12.04 2Zm0 1.8a8.1 8.1 0 1 1-4.2 15l-.3-.2-3.1.8.8-3-.2-.3a8.1 8.1 0 0 1 7-12.3Zm-3.3 4c-.2 0-.5 0-.7.3-.3.3-1 1-1 2.3s1 2.7 1.2 2.9c.1.2 2 3.2 5 4.4 2.5 1 3 .8 3.5.7.5 0 1.7-.7 2-1.4.2-.7.2-1.2.1-1.4l-.5-.3-1.8-.9c-.2-.1-.4-.1-.6.1l-.8 1c-.1.2-.3.2-.5.1a6.6 6.6 0 0 1-3.3-2.9c-.2-.3 0-.4.1-.6l.4-.5.3-.5v-.5l-.8-2c-.2-.5-.4-.5-.6-.5Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Lupa de búsqueda */
#masthead .tg-menu-item-search > a,
#masthead .tg-menu-item-search .tg-icon,
#zak-masthead .zak-header-search__toggle,
#zak-masthead .zak-header-search__toggle svg {
	color: var(--w-verde-profundo);
	fill: var(--w-verde-profundo);
}
#masthead .tg-menu-item-search .search-form,
#zak-masthead .zak-search-container,
#zak-masthead .zak-header-search .zak-search-form {
	background-color: var(--w-marfil);
	border: 1px solid var(--w-linea);
	border-top: 2px solid var(--w-dorado);
	box-shadow: 0 24px 40px -24px rgba(12, 46, 35, .4);
}

/* Botón de menú (hamburguesa) */
#masthead .tg-mobile-toggle,
#masthead .tg-mobile-toggle button,
#masthead .tg-mobile-toggle .tg-icon,
#zak-masthead .zak-toggle-menu,
#zak-masthead .zak-menu-toggle,
#zak-masthead .zak-menu-toggle svg {
	color: var(--w-verde-profundo);
	fill: var(--w-verde-profundo);
	background: transparent;
}

/* 8. Menú móvil
   ========================================================================== */

#masthead .tg-mobile-navigation,
#zak-mobile-nav,
.zak-mobile-nav {
	background-color: var(--w-marfil);
	color: var(--w-tinta);
	font-family: var(--w-sans);
}
#masthead .tg-mobile-navigation > div > ul,
#zak-mobile-nav .zak-mobile-menu {
	border-top: 1px solid var(--w-linea);
}
#masthead .tg-mobile-navigation li,
#zak-mobile-nav li {
	border-bottom: 1px solid var(--w-linea);
}
#masthead .tg-mobile-navigation li li:last-child,
#zak-mobile-nav li li:last-child {
	border-bottom: 0;
}
#masthead .tg-mobile-navigation a,
#zak-mobile-nav a {
	padding-top: .9rem;
	padding-bottom: .9rem;
	font-family: var(--w-sans);
	font-size: var(--w-t-base);
	font-weight: 600;
	color: var(--w-verde-profundo);
	text-decoration: none;
}
#masthead .tg-mobile-navigation li li a,
#zak-mobile-nav li li a {
	font-weight: 500;
	font-size: var(--w-t-sm);
	color: var(--w-tinta);
}
#masthead .tg-mobile-navigation li.current-menu-item > a,
#masthead .tg-mobile-navigation li.current_page_item > a,
#masthead .tg-mobile-navigation a:hover,
#zak-mobile-nav li.current-menu-item > a,
#zak-mobile-nav a:hover {
	color: var(--w-dorado-oscuro);
}
#masthead .tg-mobile-navigation .tg-header-button-wrap a,
#zak-mobile-nav .zak-header-button .zak-button {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: .55rem;
	margin-top: 1rem;
	padding: .85rem 1.25rem;
	border-radius: var(--w-radio);
	background-color: var(--w-verde-profundo);
	color: var(--w-marfil);
	font-weight: 700;
}
#masthead .tg-mobile-navigation .tg-mobile-navigation-close,
#masthead .tg-mobile-navigation .tg-submenu-toggle,
#zak-mobile-nav .zak-mobile-nav-close,
#zak-mobile-nav .zak-submenu-toggle {
	color: var(--w-verde-profundo);
	background: transparent;
}

/* 9. Encabezado de página y migas de pan
   ========================================================================== */

#page .tg-page-header,
#page .tg-container--separate .tg-page-header,
#page .zak-page-header {
	padding-top: clamp(2.75rem, 6vw, 4.75rem);
	padding-bottom: clamp(2.75rem, 6vw, 4.75rem);
	background-color: var(--w-verde-profundo);
	background-image: var(--w-tela);
	background-size: auto;
	background-repeat: repeat;
	background-attachment: scroll;
	background-position: center;
	border: 0;
	color: var(--w-marfil);
}

#page .tg-page-header .tg-page-header__title,
#page .zak-page-header .zak-page-title,
#page .zak-page-header__title,
#page .zak-page-header h1 {
	margin: 0;
	font-family: var(--w-serif);
	font-size: clamp(1.875rem, 1.2rem + 2.6vw, 3rem);
	font-weight: 400;
	line-height: 1.15;
	letter-spacing: -.01em;
	color: var(--w-marfil);
}

/* Filete dorado debajo del título */
#page .tg-page-header .tg-page-header__title::after,
#page .zak-page-header .zak-page-title::after,
#page .zak-page-header__title::after {
	content: "";
	display: block;
	width: 3.5rem;
	height: 1px;
	margin-top: 1.1rem;
	background: var(--w-dorado);
}
#page .tg-page-header--both-center .tg-page-header__title::after,
#page .tg-page-header--title-only-center .tg-page-header__title::after,
#page .zak-page-header--center .zak-page-title::after {
	margin-left: auto;
	margin-right: auto;
}

/* Migas de pan */
#page .tg-page-header .breadcrumb-trail ul li,
#page .zak-page-header .breadcrumb-trail ul li,
#page .zak-breadcrumbs .trail-items li {
	font-family: var(--w-sans);
	font-size: var(--w-t-xs);
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--w-salvia);
}
#page .tg-page-header .breadcrumb-trail ul li a,
#page .zak-page-header .breadcrumb-trail ul li a,
#page .zak-breadcrumbs .trail-items li a {
	color: var(--w-dorado);
	text-decoration: none;
}
#page .tg-page-header .breadcrumb-trail ul li a:hover,
#page .zak-page-header .breadcrumb-trail ul li a:hover,
#page .zak-breadcrumbs .trail-items li a:hover {
	color: var(--w-marfil);
}
#page .tg-page-header .breadcrumb-trail ul li::after,
#page .zak-page-header .breadcrumb-trail ul li::after,
#page .zak-breadcrumbs .trail-items li::after {
	color: var(--w-dorado);
	opacity: .7;
}

/* 10. Entradas, archivo y barra lateral
   ========================================================================== */

/* Título de la entrada/página cuando va dentro del contenido */
#page .tg-page-content__title,
#page .zak-page-content__title,
#page .entry-title,
#page .entry-title a {
	font-family: var(--w-serif);
	font-weight: 400;
	color: var(--w-verde-profundo);
	text-decoration: none;
}
#page .tg-page-content__title,
#page .zak-page-content__title,
#page .single .entry-title {
	font-size: var(--w-t-h2);
	line-height: 1.18;
}
#page .entry-title a:hover {
	color: var(--w-dorado-oscuro);
}

/* Entradas en el listado del blog */
#page .hentry.zakra-article,
#page .zak-post {
	border-color: var(--w-linea);
}

/* Fecha, autor, categorías */
#page .entry-meta,
#page .zak-entry-meta {
	font-family: var(--w-sans);
	font-size: var(--w-t-xs);
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--w-gris-verde);
}
#page .entry-meta a,
#page .zak-entry-meta a,
#page .tg-meta-style-two .entry-meta span,
#page .tg-meta-style-two .entry-meta a {
	color: var(--w-gris-verde);
	text-decoration: none;
}
#page .entry-meta a:hover,
#page .zak-entry-meta a:hover {
	color: var(--w-dorado-oscuro);
}

/* Imagen destacada */
#page .post-thumbnail img,
#page .zak-entry-thumbnail img {
	border-radius: 2px;
}

/* Barra lateral */
#page #secondary .widget,
#page .zak-secondary .widget {
	font-family: var(--w-sans);
	font-size: var(--w-t-sm);
	color: var(--w-tinta);
}
#page #secondary .widget-title,
#page .zak-secondary .widget-title,
#page .zak-secondary .zak-widget-title,
#page #secondary .wp-block-heading {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1rem;
	font-family: var(--w-sans);
	font-size: var(--w-t-xs);
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--w-dorado-oscuro);
}
#page #secondary .widget-title::after,
#page .zak-secondary .widget-title::after,
#page .zak-secondary .zak-widget-title::after {
	content: "";
	flex: 1;
	height: 1px;
	background: rgba(128, 96, 51, .35);
}
#page #secondary .widget a,
#page .zak-secondary .widget a {
	color: var(--w-tinta);
	text-decoration: none;
}
#page #secondary .widget a:hover,
#page .zak-secondary .widget a:hover {
	color: var(--w-dorado-oscuro);
}
#page #secondary .widget ul li,
#page .zak-secondary .widget ul li {
	border-color: var(--w-linea);
}

/* Paginación */
#page .navigation .page-numbers,
#page .nav-links .page-numbers {
	border-radius: var(--w-radio);
	border-color: var(--w-linea);
	color: var(--w-verde-profundo);
	font-family: var(--w-sans);
	font-weight: 600;
}
#page .navigation .page-numbers.current,
#page .navigation .page-numbers:hover,
#page .nav-links .page-numbers.current,
#page .nav-links .page-numbers:hover {
	background-color: var(--w-verde-profundo);
	border-color: var(--w-verde-profundo);
	color: var(--w-marfil);
}

/* Navegación entre entradas */
#page .post-navigation .nav-links a {
	font-family: var(--w-serif);
	color: var(--w-verde-profundo);
	text-decoration: none;
}
#page .post-navigation .nav-links a:hover {
	color: var(--w-dorado-oscuro);
}

/* Comentarios */
#page .comments-area {
	border-color: var(--w-linea);
}
#page .comment-author .fn,
#page .comment-author .fn a {
	font-family: var(--w-serif);
	font-weight: 400;
	color: var(--w-verde-profundo);
}

/* 11. Pie de página
   ========================================================================== */

#colophon,
#colophon .tg-site-footer-widgets,
#colophon .tg-site-footer-bar,
#zak-footer,
#zak-footer .zak-footer-cols,
#zak-footer .zak-footer-bar,
#zak-footer .zak-footer-top-row,
#zak-footer .zak-footer-main-row,
#zak-footer .zak-footer-bottom-row {
	background-color: var(--w-verde-profundo);
	color: var(--w-salvia);
	border-color: var(--w-linea-clara);
}
#colophon,
#zak-footer {
	background-image: var(--w-tela);
	font-family: var(--w-sans);
	font-size: var(--w-t-sm);
}
#colophon .tg-site-footer-widgets,
#colophon .tg-site-footer-bar,
#zak-footer .zak-footer-cols,
#zak-footer .zak-footer-bar,
#zak-footer .zak-footer-top-row,
#zak-footer .zak-footer-main-row,
#zak-footer .zak-footer-bottom-row {
	background-color: transparent;
}

#colophon .tg-site-footer-widgets {
	border-top: 0;
}
#colophon .tg-footer-widget-container {
	padding-top: clamp(3rem, 7vw, 5rem);
	padding-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

/* Texto y párrafos */
#colophon .tg-site-footer-widgets,
#colophon .tg-site-footer-widgets p,
#colophon .widget,
#zak-footer .widget,
#zak-footer p {
	font-family: var(--w-sans);
	font-size: var(--w-t-sm);
	line-height: 1.7;
	color: var(--w-salvia);
}

/* Títulos de los widgets */
#colophon .tg-site-footer-widgets .widget-title,
#colophon .widget .widget-title,
#zak-footer .widget-title,
#zak-footer .zak-widget-title,
#zak-footer .wp-block-heading {
	margin-bottom: 1rem;
	font-family: var(--w-sans);
	font-size: var(--w-t-xs);
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--w-dorado);
}

/* Enlaces */
#colophon a,
#colophon .tg-site-footer-widgets a,
#zak-footer a {
	color: var(--w-marfil);
	text-decoration: underline;
	text-decoration-color: rgba(244, 238, 226, .3);
	text-underline-offset: .25em;
}
#colophon a:hover,
#colophon a:focus,
#colophon .tg-site-footer-widgets a:hover,
#zak-footer a:hover,
#zak-footer a:focus {
	color: var(--w-dorado);
	text-decoration-color: var(--w-dorado);
}
#colophon .widget_media_image a,
#zak-footer .widget_media_image a {
	text-decoration: none;
}
#colophon :focus-visible,
#zak-footer :focus-visible {
	outline-color: var(--w-dorado);
}

/* Logo del pie (se reemplaza por la versión marfil) */
#colophon .widget_media_image img,
#zak-footer .widget_media_image img {
	height: auto;
	width: auto;
	max-width: 13.5rem;
	max-height: 3.5rem;
}
#colophon .widget_media_image,
#zak-footer .widget_media_image {
	margin-bottom: 1.25rem;
}

/* Barra de copyright */
#colophon .tg-site-footer-bar,
#zak-footer .zak-footer-bar,
#zak-footer .zak-footer-bottom-row {
	border-top: 1px solid var(--w-linea-clara);
	padding-top: 1.5rem;
	padding-bottom: 1.5rem;
	font-size: var(--w-t-sm);
	color: var(--w-salvia);
}
#colophon .tg-site-footer-bar .tg-site-footer-section-1,
#colophon .tg-site-footer-bar .tg-site-footer-section-2,
#zak-footer .zak-copyright {
	color: var(--w-salvia);
}

/* Menú del pie */
#colophon .menu a,
#zak-footer .zak-footer-nav a,
#zak-footer .zak-footer-nav-2 a {
	text-decoration: none;
}

/* Formularios sobre el verde del pie */
#colophon input:not([type="submit"]),
#colophon textarea,
#zak-footer input:not([type="submit"]),
#zak-footer textarea {
	background-color: rgba(244, 238, 226, .06);
	border-color: var(--w-linea-clara);
	color: var(--w-marfil);
}
#colophon input[type="submit"],
#colophon button,
#zak-footer input[type="submit"],
#zak-footer button {
	background-color: var(--w-dorado);
	color: var(--w-verde-profundo);
}
#colophon input[type="submit"]:hover,
#colophon button:hover,
#zak-footer input[type="submit"]:hover,
#zak-footer button:hover {
	background-color: var(--w-dorado-claro);
	color: var(--w-verde-profundo);
}

/* 12. Botón "volver arriba"
   ========================================================================== */

a.tg-scroll-to-top.tg-scroll-to-top,
#tg-scroll-to-top,
#zak-scroll-to-top {
	width: 2.875rem;
	height: 2.875rem;
	border-radius: var(--w-radio);
	background-color: var(--w-verde-profundo);
	color: var(--w-dorado);
	border: 1px solid rgba(201, 169, 110, .45);
}
a.tg-scroll-to-top.tg-scroll-to-top:hover,
#tg-scroll-to-top:hover,
#zak-scroll-to-top:hover {
	background-color: var(--w-verde-tela);
	color: var(--w-marfil);
}
#zak-scroll-to-top svg {
	fill: currentColor;
}

/* 13. Elementor: colores y tipografías globales de la marca
   Las páginas armadas con Elementor toman estos valores en todo lo que use
   los colores/tipografías "globales". Lo que tenga un color puesto a mano
   en un widget conserva ese color.
   ========================================================================== */

body[class*="elementor-kit-"] {
	--e-global-color-primary: #0c2e23;   /* Títulos */
	--e-global-color-secondary: #806033; /* Destacados */
	--e-global-color-text: #1c1b19;      /* Texto */
	--e-global-color-accent: #0c2e23;    /* Botones */

	--e-global-typography-primary-font-family: "Libre Baskerville";
	--e-global-typography-primary-font-weight: 400;
	--e-global-typography-secondary-font-family: "Libre Baskerville";
	--e-global-typography-secondary-font-weight: 400;
	--e-global-typography-text-font-family: "Manrope";
	--e-global-typography-text-font-weight: 400;
	--e-global-typography-accent-font-family: "Manrope";
	--e-global-typography-accent-font-weight: 700;
}

body .elementor-button {
	border-radius: var(--w-radio);
	letter-spacing: .01em;
}

body .elementor-lightbox {
	background-color: rgba(12, 46, 35, .92);
}

/* Preferencia de menos movimiento */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		transition: none !important;
	}
}
