/*!
Theme Name: Balea Zuria
Theme URI: http://underscores.me/
Author: Triplevdoble
Author URI: https://www.triplevdoble.com/
Description: Creado por Triplevdoble para Balea Zuria
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: balea-zuria
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, 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.

Balea Zuria 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/
*/

/* COOKIES */
#CybotCookiebotDialogFooter #CybotCookiebotDialogBodyButtonAccept, #CybotCookiebotDialogFooter #CybotCookiebotDialogBodyLevelButtonAccept, #CybotCookiebotDialogFooter #CybotCookiebotDialogBodyLevelButtonLevelOptinAllowAll {
	background-color: #000000 !important;
    border-color: #000000 !important;
}
#CybotCookiebotDialogFooter .CybotCookiebotDialogBodyButton {
	border: 2px solid #000000 !important;
    background-color: #000000 !important;
}
#CybotCookiebotDialog.CybotEdge #CybotCookiebotDialogBodyEdgeMoreDetails a {
	color: #000000 !important;
}
#CybotCookiebotDialogNav .CybotCookiebotDialogNavItemLink.CybotCookiebotDialogActive {
	border-bottom: 1px solid #000000 !important;
	color: #000000 !important;
}

#CookiebotWidget{
    display: none !important;
}

/*--------------------------------------------------------------
>>> Generales:
----------------------------------------------------------------*/
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.site-title{
	display: none;
}

.site-main{
	overflow: hidden;
}

/* texto que solo sea accesible para lectores de pantalla */
.sr-only {
position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;}


/* QUITAMOS MOSCA DE RECAPTCHA DE GOOGLE */
.grecaptcha-badge { visibility: hidden; }



body{
  	font-family: "Fraunces", serif;
	color: #000;
	background-color: var(--fondo);
}

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

a{
	text-decoration: none;
	color: inherit;
	cursor: pointer!important;
	pointer-events: auto!important;
}

ul, li{
	list-style-type: none;
	padding-left: 0;
}

ul{
	margin-bottom: 0;
}

h1, h2, h3, h4, h5{
	margin-bottom: 0;
}


h1 {
    font-size: clamp(50px, 6vw, 100px);
    line-height: 110%;
    font-weight: 400;
}

h2{
	font-size: clamp(50px, 3vw, 60px);
	font-weight: 400;
	line-height: 120%;
}

h3{
	font-size: clamp(20px, 1vw, 24px);
	font-weight: 500;
	line-height: 120%;
}



p{
	font-size: clamp(16px, 2vw, 18px);
	line-height: 120%;
    font-weight: 300;
	margin-bottom: 0;
}

/* Colores */

:root {
  --fondo: #FEFBF4; /*Crema*/
  --cat1: #FFF; /*Poesia: Blanco*/
  --cat2: #FFF4A5; /*Sail bereziak: Amarillo*/
  --cat3: #A44564; /*Itzulpenak: Burdeos*/
  --cat4: #575757; /*Saiakera: Gris oscuro*/
  --cat5: #A1DEEE; /*DK: Azul*/
}


/* Paddings */

.py-200{padding: clamp(100px, 10vw, 200px) 0;}
.pb-200{padding-bottom: clamp(100px, 10vw, 200px);}
.pt-200{padding-top: clamp(100px, 10vw, 200px);}
.py-80{padding:clamp(50px, 10vw, 80px) 0;}
.pb-80{padding-bottom:clamp(50px, 10vw, 80px);}
.pt-80{padding-top: clamp(50px, 10vw, 80px);}


/* Padding fake container Bootstrap */
/* VERSIÓN IZQUIERDA */
.padding-l-calc {
  padding-right: calc(1.5rem * .5);
  padding-left: calc(1.5rem * .5);
/*  margin: auto;
*/}


@media (min-width: 1200px) {
  .padding-l-calc {
    padding-left: calc((100vw - 1140px + 24px) / 2);
  }
}
@media (min-width: 1400px) {
  .padding-l-calc {
    padding-left: calc((100vw - 1320px + 24px) / 2);
  }
}

/* VERSIÓN DERECHA (invertida) */
.padding-r-calc {
  padding-left: calc(1.5rem * .5);
  padding-right: calc(1.5rem * .5);
/*  margin: auto;*/
}


@media (min-width: 1200px) {
  .padding-r-calc {
    padding-right: calc((100vw - 1140px + 24px) / 2);
  }
}
@media (min-width: 1400px) {
  .padding-r-calc {
    padding-right: calc((100vw - 1320px + 24px) / 2);
  }
}



/* BTN */

.btn-fill,
.btn-comprar{
	width: fit-content;
}

.btn-comprar a {
	display: flex;
	flex-direction: row;
	align-items: center;
    gap: 5px;

    background-color: black;
    color: white;
    padding: 5px clamp(6px, 3vw, 18px);
    font-size: clamp(13px, 2vw, 16px);
    font-weight: 200;
	border-radius: 100px;

	transition: all .3s ease;	
}

.btn-fill a{
	display: flex;
	flex-direction: row;
	align-items: center;
	column-gap: 10px;
	font-size: clamp(16px, 2vw, 20px);
	border-radius: 100px;
	padding: clamp(7px, 2vw, 10px) clamp(15px, 2vw, 25px);
	background-color: white;
	color: black;
	transition: all .3s ease;	
}

.btn-fill a:hover{
	column-gap: 20px;
	cursor: pointer;
}

.btn-comprar a:hover{
	column-gap: 2px;
	cursor: pointer;
	transform: scale(.9);
}

.btn-fill a img,
.btn-comprar a img{
    width: 10px;
    height: 100%;
}






/* ------------------------------------------------------------------------------------ HEADER */

/*body:not(.page-id-19) main {
	padding-top: 100px;
}
*/

.site-header {
	position: relative;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
	background: linear-gradient(180deg, rgba(254, 251, 244, 0.3) 0%, rgba(254, 251, 244, 0) 100%);
	
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	padding: clamp(20px, 3vw, 30px) clamp(10px, 6vw, 100px);
}

.page-id-19 .site-header,
.egilea-template-default .site-header,
.argitalpen-template-default .site-header{
	position: absolute;
	background: transparent; 
}

.entry-title,
.entry-meta,
aside{
	display: none;
}

.site-header{
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	padding: clamp(20px, 3vw, 30px) clamp(10px, 6vw, 100px);
}

.site-header .site-branding img {
	max-width: clamp(80px, 6vw, 100px);
	height: auto;
	padding-top: 10px;
}		
.menu-desk,
.menu-desk ul{
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	gap: 40px;
}

.menu-item a{
	font-size: 20px;
	position: relative;
}

.menu-item a:before{
	font-size: 20px;
}

.menu-desk .menu-item a::after {
	position: absolute;
	content: "|";
	color: #000;
	top: -2px;
	right: -23px;
}
.menu-desk .menu-item:last-child a::after{
	content: none;
}


.menu-item.current_page_item a {
	color: #A9A9A9;
}

.menu-2 .navbar-toggler{
	font-size: 30px;
}
.offcanvas{
	width: 100%!important;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
}
.offcanvas button {
	position: absolute;
	top: 30px;
	right: 25px;
	background-color: red;
	padding: 10px;
}

.offcanvas .redes  {
	position: absolute;
	bottom: 10%;
}
.offcanvas h2{
	font-size: 60px;
	font-weight: 300;
}
.offcanvas .claim h3{
	letter-spacing: 13px;
	font-weight: 300;
	width: 100%;
}

.offcanvas .menu ul{
	display: flex;
	flex-direction: column;
	gap: 9px;
}	
.offcanvas .menu .menu-item a {
	font-size: 30px;
	color: #747474;
	font-weight: 300;
}

.offcanvas .redes svg{
	width: 25px;
	height: auto;
	color: #747474;
}




/* ------------------------------------------------------------------------------------ PORTADA */

/* PORTADA: Hero */

.portada-hero{
	position: relative;
	overflow: hidden;
}
.portada-hero .fondo{
	position: absolute;
	width: 120%;
	height: 100%;
	z-index: -2;
}
.portada-hero .fondo::after{
	content: "";
	position: absolute;
	bottom: 0;
	width: 100%;
	height: 80%;
	z-index: 0;
	background: linear-gradient(to bottom, rgba(254, 251, 244, 0) 0%, #FEFBF4 86%);
}

.portada-hero .fondo h1{
	font-size: clamp(100px, 9vw, 150px);
	font-style: italic;
	color: #5B5B5B;
	letter-spacing: 12%;
	line-height: 118%;
	text-transform: uppercase;
	white-space: nowrap;
	margin-bottom: 30px;
}
.portada-hero .fondo p{
	font-size: clamp(50px, 9vw, 100px);
	font-style: italic;
	color: #BABABA;
	letter-spacing: 12%;
	line-height: 118%;
}

.portada-libros-item{
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}



/* Hero swiper*/
.hero-swiper {
	width: 100%;
	height: 100%;
	padding: 50px 0;
}

.hero-swiper .swiper-slide {
	width: clamp(280px, 23vw, 450px)!important;
	height: fit-content;
}

.hero-swiper .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* PORTADA: Argitalpenak */


.portada-cabecera{
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	column-gap: 50px;
	row-gap: 20px;
	flex-wrap: wrap;
}

.portada-cabecera h2{
	margin-bottom: 20px;
}

.portada-libros .portada-cabecera{
	margin-bottom: 100px;
}

/* Libros swiper*/



.portada-libros-swiper{
	overflow: visible;
}

.portada-libros-swiper .swiper-slide {
	max-width: 290px!important;
	height: auto;
}

.libros .libro-card .miniatura, 
.portada-libros .libro-card .miniatura {
    width: clamp(150px, 28vw, 290px);
    height: auto;
    aspect-ratio: 1000 / 760;
    margin: auto;
    padding-bottom: 15px;
}

.portada-libros .libro-card .miniatura,
.ficha-libros .libro-card .miniatura{
    width: clamp(200px, 28vw, 290px);
}

.libros .libro-card .dual-book-mockup,
.portada-libros .libro-card .dual-book-mockup {
	--mockup-width: 100%;
	width: 100%;
}

.portada-libros-swiper .swiper-nav{
	position: absolute;
    right: 49%;
    bottom: -30px;	
	
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 10px;
}
.swiper-button-next,
.swiper-button-prev{
	color:black;
	width: 50px;
	height: auto;
}
.swiper-button-next:after,
.swiper-button-prev:after,
.swiper-button-next .swiper-navigation-icon,
.swiper-button-prev .swiper-navigation-icon{
	display: none;
}
.swiper-button-disabled,
.swiper-button-lock{
	display: flex !important;
	opacity: .3!important;
	pointer-events: none;
}

.libro-card{
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 20px;
	margin-bottom: 80px;
}

.libro-card .info{
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	gap: 15px;
}

.libro-card .categorias{
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: 5px;
	flex-wrap: wrap;
}

.libro-card .categoria{
	font-size: clamp(10px, 3vw, 13px);
	font-weight: 300;
	color: var(--text-color, #000);
	background-color: var(--cat-color);
	border-radius: 50px;
	padding: 3px 10px;
	white-space: nowrap;
}

.libro-card .info-1{
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.libro-card .tit{
	font-size: clamp(20px, 3vw, 26px);
	line-height: 120%;
	font-weight: 400;
	max-width: 290px;
}
.libro-card .autor{
	font-size: 16px;
	font-weight: 300;
}
.libro-card .btn,
.libros-listado .btn {
	font-size: clamp(12px, 2vw, 16px);
	font-weight: 300;
	color: white;
	background-color: black;
	border-radius: 50px;
	padding: clamp(2px, 1vw, 5px) clamp(9px, 1vw, 15px);
	width: fit-content;
}

.libro-card .btn a,
.libros-listado .btn a{
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 10px;
}


@media(min-width: 600px) {
	.libros .libro-card .miniatura{
		width: 200px;
	}

	.portada-libros-swiper .swiper-nav {
		right: 20px;
		top: -140px;
		bottom: unset;
	}
	.page-template-page-argitalpenak .libro-card{
		margin-bottom: 100px;
	}
}

@media(min-width: 992px){
	/*	.libro-card .tit{
			height: 75px;	
		}
	*/
	.portada-libros-swiper .swiper-slide {
		max-width: 330px!important;
		height: auto;
	}
}

/* =========================
   Mockups libros
========================= */

.libro-card .miniatura {
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	container-type: inline-size;
	overflow: visible;
}

.libro-card .dual-book-mockup {
	--mockup-width: clamp(170px, 62cqw, 260px);
}

.ficha-1 .miniatura {
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	container-type: inline-size;
	overflow: visible;
}

.ficha-1 .dual-book-mockup--ficha {
	--mockup-width: clamp(220px, 78vw, 420px);
}

.dual-book-mockup {
	--mockup-width: clamp(190px, 13vw, 290px);
	position: relative;
	width: var(--mockup-width);
	max-width: 100%;
	aspect-ratio: 1000 / 760;
	isolation: isolate;
}

.dual-book-mockup--ficha {
	--mockup-width: clamp(220px, 78vw, 420px);
}

.dual-book-mockup__stage {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	transform: none;
}

/*.dual-book-mockup__shadow {
	position: absolute;
	left: 17.4%;
	top: 16.05%;
	width: 69%;
	height: 80.26%;
	background:
		radial-gradient(ellipse at 45% 44%, rgba(0,0,0,.3), transparent 58%),
		radial-gradient(ellipse at 78% 80%, rgba(0,0,0,.16), transparent 60%);
	filter: blur(32px);
	transform: rotate(-8deg);
	opacity: .44;
	z-index: 0;
}
*/
.dual-book-mockup__book {
	position: absolute;
	width: 44%;
	height: 83.16%;
	overflow: hidden;
/*	box-shadow: 0 20px 38px rgba(0,0,0,.18);*/
}

.dual-book-mockup__book img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: fill;
	user-select: none;
	pointer-events: none;
}

.dual-book-mockup__back {
	left: 11.4%;
	top: 9.21%;
	transform: rotate(-12.5deg) skewY(-1deg);
	transform-origin: 55% 55%;
	z-index: 1;
	box-shadow: 0 14px 53px rgba(0,0,0,.15);
}

.dual-book-mockup__back::before {
	content: "";
	position: absolute;
	inset: 0;
	mix-blend-mode: multiply;
	pointer-events: none;
	z-index: 2;
}

.dual-book-mockup__front {
	left: 41.8%;
	top: 16.32%;
	z-index: 4;
	box-shadow:
		-26px 18px 38px rgba(0,0,0,.10),
		0 18px 26px rgba(0,0,0,.14);
}

.dual-book-mockup__front-light {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(100deg, rgba(255,255,255,.2), transparent 34%, rgba(0,0,0,.08) 100%),
		linear-gradient(180deg, rgba(255,255,255,.18), transparent 50%);
	mix-blend-mode: soft-light;
	pointer-events: none;
	z-index: 5;
}

.dual-book-mockup__center-shadow {
	position: absolute;
	left: 35.8%;
	top: 15.53%;
	width: 5%;
	height: 6.6%;
	background: linear-gradient(90deg, transparent, rgba(0,0,0,.42) 52%, transparent);
	filter: blur(19px);
	z-index: 3;
}

@media(min-width: 1400px){
	.libro-card .dual-book-mockup {
		--mockup-width: 300px;
	}
}

/* =========================
   PORTADA: Categorías
========================= */

.portada-categorias {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0;
}

/* Wrapper */
.categoria-card-wrap {
	width: 100%;
	transition: all .3s ease;
}

/* Card */
.categoria-card {
	display: flex;
	flex-direction: row;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	background: var(--cat-color);
	width: 100%;
	transition: all .3s ease;
}

/* Hover general */
.portada-categorias:has(.categoria-card:hover) .categoria-card {
	filter: brightness(0.50);
}

.portada-categorias:has(.categoria-card:hover) .categoria-card:hover {
	filter: brightness(1);
}

/* Estado activo */
.portada-categorias.has-active .categoria-card {
	filter: brightness(0.50);
}

.portada-categorias.has-active .categoria-card-wrap.is-active .categoria-card {
	filter: brightness(1);
}

/* Si hay activa y haces hover sobre otra */
.portada-categorias.has-active:has(.categoria-card:hover) .categoria-card {
	filter: brightness(0.50);
}

.portada-categorias.has-active:has(.categoria-card:hover) .categoria-card:hover {
	filter: brightness(1);
}

/* Carga AJAX */
#libros-listado-ajax {
	transition: opacity .25s ease;
}

.libros.is-loading #libros-listado-ajax {
	opacity: .35;
	pointer-events: none;
}

/* Imagen */
.categoria-img {
	position: relative;
	order: 2;
	overflow: hidden;
	width: 100%;
	height: 60px;
}

.categoria-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

/* Degradado */
.categoria-img::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to right, var(--cat-color) 0%, rgba(255,255,255,0) 50%);
	z-index: 1;
	pointer-events: none;
}

/* Texto */
.categoria-txt {
	position: relative;
	order: 1;
	height: 60px;
	padding: 20px;
	font-size: clamp(16px, 2vw, 30px);
	line-height: 100%;
	font-weight: 400;
	width: clamp(140px, 6vw, 250px);
	display: flex;
	align-items: center;
	flex-shrink: 0;
	background-color: var(--cat-color);
	color: var(--text-color, #000);
}

/* 1ª fila */
.categoria-card-wrap:nth-child(1) {
	grid-column: 1 / 2;
}

.categoria-card-wrap:nth-child(2) {
	grid-column: 2 / 3;
}

/* 2ª fila */
.categoria-card-wrap:nth-child(3) {
	grid-column: 1 / 2;
}

.categoria-card-wrap:nth-child(4) {
	grid-column: 2 / 3;
}

/* 3ª fila full width */
.categoria-card-wrap:nth-child(5) {
	grid-column: 1 / 3;
}

@media only screen and (min-width: 900px) and (max-width: 1100px) {
	.categoria-txt {
		width: 255px;
	}
}

@media (min-width: 1100px) {

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

	.categoria-card-wrap {
		grid-column: auto !important;
	}

	.categoria-card {
		flex-direction: column;
		height: auto;
		background: transparent;
	}

	.portada-categorias:has(.categoria-card:hover) .categoria-card:hover {
		transform: translateY(-4px);
	}

	.categoria-img {
		order: 1;
		height: 550px;
	}

	.categoria-img::before {
		display: none;
	}

	.categoria-txt {
		order: 2;
		padding: 30px 20px;
		justify-content: center;
		width: 100%;
		height: auto;
	}
}

/* Librerias */

.portada-librerias{
	display: flex;
	flex-direction: column;
	gap: clamp(100px, 9vw, 150px);
}

.portada-librerias .portada-cabecera p{
	max-width: 750px;
}
.marquee {
  overflow: hidden;
  width: 100%;
  background: #111;
  color: white;
  padding: 12px 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: scroll 20s linear infinite;
  gap: 150px;
}

.marquee-track .libreria-item {
  white-space: nowrap;
  flex-shrink: 0; 
}

.marquee-track .libreria-item a {
  display: block;
  max-height: 70px;
  width: 100%;
}

.marquee-track .libreria-item img {
  max-height: 70px;
  width: auto;
  display: block;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.nota p {
    float: right;
    max-width: 400px;
    text-align: end;
	font-size: 16px;
	font-weight: 200;
}


/* Balea Gara */

.portada-gara{
	display: flex;
	flex-direction: column;
	align-items: center;
	background-color: white;
}

.portada-gara-foto{
	flex: 1!important;
	box-sizing: border-box;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.portada-gara-foto img{
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.portada-gara-cont{
	flex: 1;
	box-sizing: border-box;

	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap:40px;
	padding: clamp(20px, 10vw, 80px);
	max-width: 1000px;
}

.portada-gara-cont .tit{
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
}

.portada-gara-cont .tit img {
    width: 80px;
    height: auto;
}

.portada-gara-cont .tit h2 {
   text-transform: uppercase;
	text-align: center;
	font-size: clamp(35px, 3vw, 45px);
}

.portada-gara-cont .txt{
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	padding-bottom: 100px;
}



@media(min-width: 1200px){
	.portada-gara{
		padding: clamp(100px, 10vw, 200px) 0;
		flex-direction: row;
	}
	.portada-gara-cont .txt{
		padding-bottom: 0;
	}

}



/* Poesialeku */

.portada-pl{
	color: white;
	position: relative;
}
.portada-pl-fondo {
	position: absolute;
	width: 100%;
	height: 100%;
	overflow: hidden;
	z-index: -2;
	background-color: black;
}

.portada-pl-fondo img {
	object-fit: cover;
	object-position: center;
	width: 100%;
	height: 100%;
}

.portada-pl-fondo::before{
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	background:linear-gradient(180deg,rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
}
.portada-pl-cont{
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	column-gap: 50px;
	row-gap: 60px;
	flex-wrap: wrap;
	padding: 100px 0;
}
.portada-pl-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 20px;
    max-width: 600px;
}

.portada-pl-info img{
	max-width: 250px;
}

.portada-pl-info h2{
    font-weight: 300;
    font-size: clamp(60px, 6vw, 100px);
}

.portada-pl-info p{
	text-align: center;
    font-weight: 300;
    font-size: clamp(16px, 6vw, 20px);
}

@media(min-width: 657px){
	
	.portada-pl-info {
		align-items: flex-start;
	}
	.portada-pl-info p{
		text-align: start;
	}
	.portada-pl-fondo::before{
		background: linear-gradient(265deg,rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
	}
	.portada-pl-cont{
		justify-content: space-between;
	}

}

/* ----------------------------------------------------------------------------------  LISTADOS: AUTOR Y LIBRO */

.autores h1,
.libros h1{
	text-align: center;
}


/*  AUTORES  */

.autores h1{
	text-align: center;
}
.autores-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding-bottom: clamp(50px, 4vw, 100px);
	gap: clamp(4px, 2vw, 16px);
}
.autores-card .ficha-foto{
	border-radius: 100%;
	aspect-ratio: 1/1;
	width: clamp(150px, 18vw, 250px);
	height: auto;
	overflow: hidden;
}

.autores-card .ficha-foto img{
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
	transition: transform 0.4s ease;
}

.autores-card:hover .ficha-foto img {
	transform: scale(1.1);
	cursor: pointer;
}

.autores-card .autor-tit {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	gap: clamp(10px, 2vw, 20px);
}
/*.autores-card .autor-separador{
	width: clamp(90px, 3vw, 140px);
}
*/
.autores-card .autor-tit h2{
	font-size: clamp(20px, 3vw, 30px);
}
.autores-card .autor-tit-info{
	display: flex;
	flex-direction: row;
	align-items: center;

}

.ficha-autor .portada-libros-swiper {
	margin-top: 0;
}

/*  LIBROS  */


.libros-cabecera{
	margin-bottom: clamp(30px, 6vw, 78px);
}

.page-template-page-argitalpenak .categoria-txt {
    font-size: clamp(18px, 1vw, 24px);
}


@media (min-width: 1100px){
	.page-template-page-argitalpenak .categoria-img{
		position: relative;
		height: 350px;
		order: 1;
	}	
}



/* ----------------------------------------------------------------------------------  FICHAS: AUTOR Y LIBRO */

.single-egilea,
.single-argitalpen{
	background-color: #F2EEE3!important;
}

.ficha-libro .ficha-cont{
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
	align-items: flex-start;
}


.ficha-cont{
	display: flex;
	flex-direction: column;
	justify-content: center;
	column-gap: 50px;
	padding-top: 100px;
}


/* FICHA 1 - COLUMNA IZQUIERDA */

.ficha-1{
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 30px;

	justify-content: flex-start;
	align-items: center;
	padding-bottom: 50px;
	position: relative;
	
	margin: auto;
}

.ficha-volver {
    position: absolute;
    top: -60px;
    left: 20px;
    z-index: 20;
	
    display: flex;
    align-items: center;
    gap: 10px;
}

.ficha-volver a{
	display: inline-flex;
	align-items: center;
	gap: 0;
	font-size: 14px;
	font-weight: 300;
	color: #696969;
	text-decoration: none;
    background-color: rgba(255, 255, 255, .5);
    padding: 3px 10px;
    border-radius: 30px;
}

.ficha-volver a:hover {
	cursor: pointer;
	 background-color: rgba(255, 255, 255, 1);
}


.ficha-volver p{
	font-size: 18px!important;
	font-weight: 300;
	color: #696969;

}

@media(min-width: 756px){
	.ficha-volver {
		left: 40px;
	}
}

@media(min-width: 1200px){
	.ficha-volver {
		top: 0;
		left: 0;
	}
}

.ficha-1 .ficha-foto {
    border-radius: 100%;
    aspect-ratio: 1/1;
    max-width: 400px;
    height: auto;
    overflow: hidden;
}

.ficha-1 .ficha-foto img{
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
}

.ficha-1 .autor-tit {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	gap: 20px;
}


.ficha-cont h1{
	font-size: clamp(25px, 3vw, 40px);
}
.ficha-1 p{
	font-size: clamp(18px, 3vw, 24px);
}

.ficha-1 .autor-separador{
	max-width: 170px;
	margin: auto;
}


/* FICHA 2 - COLUMNA DERECHA */

.ficha-2{
	background-color: var(--fondo);
	width: 100%;
}

.ficha-2 .ficha-info{
	flex: 1;
	display: flex;
	flex-direction: column;
    align-items: center;
	gap: 50px;
    padding: clamp(50px, 3vw, 120px) 0;
    max-width: 500px;
    margin: auto;
}

.ficha-2 .icon{
	width: 30px;
	height: auto;
}
.ficha-2 .icon img{
	object-fit: contain;
}

.ficha-2 .redes,
.ficha-2 .ficha-info-tit,
.ficha-2 .categorias,
.ficha-2 .libro-datos,
.ficha-2 .libro-datos-1,
.libro-datos-1-item{
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: 10px;
}

.ficha-2 .redes{
	justify-content: center;
}

.ficha-2 .intro p{
	font-size: clamp(24px, 2vw, 30px);
	font-weight: 400;
	text-align: center;
	margin-bottom: 1rem;
}

.ficha-2 ul{
	margin-left: 15px;
	margin-top:20px;
}

.ficha-2 ul li{
	font-size: 16px;
	font-weight: 200;
/*	margin-left: 15px;
	position: relative;
*/}

/*.ficha-2 ul li:before{
	position: absolute;
	content: "»";
	top: 0;
	left: -20px;

	font-size: 16px;
	font-weight: 200;
}*/

.ficha-info .premios li span,
.ficha-info .publis li span{
	font-style: italic;
	    font-size: 18px;
}

.ficha-2 .categorias{
	margin-bottom: 30px;
}		

.ficha-2 .categoria{
	font-size: 16px;
	font-weight: 300;
	color: var(--text-color, #000);
	background-color: var(--cat-color);
	border-radius: 50px;
	padding: 3px 10px;
}		

.ficha-2 h2 {
    font-size: clamp(20px,2vw, 24px);
    margin-top: 10px;
    font-weight: 200;
}

.ficha-2 h3 {
    font-size: clamp(22px,2vw, 28px);
    font-weight: 400;
}

.ficha-2 .tit{
	width: 100%;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
}			

.ficha-2 .libro-datos{
	justify-content: center;
	flex-wrap: wrap;
    column-gap: 40px;
	width: 100%;

	padding: 20px 5px;
	border-top: 1px solid #D0D0D0;
	border-bottom: 1px solid #D0D0D0;
}

.ficha-2 .libro-datos-1{
	gap: 30px;
}


.ficha-2 .libro-datos-1 p{
	font-size: 20px;
	font-weight: 400;
}

.ficha-2 .libro-datos-2{
	color: #969696;
	font-family: Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif";
	font-size: 14px;
}	

.ficha-2 .extracto{
	position: relative;
	font-weight: 400;
	text-align: center;
	line-height: 120%;
	padding: 10px 0;
}

.ficha-2 .extracto::before{
	position: absolute;
	content: "“";
	transform: translateX(-50%);
    top: 0;
    left: 50%;
	font-size: 60px;
	line-height: 0;
	font-weight: 500;
}

.ficha-2 .extracto::after{
	position: absolute;
	content: "”";
	transform: translateX(-50%);
	bottom: -20px;
	left: 50%;
	font-size: 60px;
	line-height: 0;
	font-weight: 500;
}

.ficha-2 .extracto p{
	margin-bottom: 1rem;
}

.ficha-2 .txt p{
	font-weight: 200;
	margin-bottom: 1rem;
}

.single-argitalpen .ficha-1 .miniatura {
	container-type: normal;
	min-height: clamp(190px, 65vw, 330px);
}

.single-argitalpen .ficha-1 .dual-book-mockup--ficha {
	--mockup-width: clamp(220px, 78vw, 420px);
	width: var(--mockup-width);
	max-width: calc(100vw - 30px);
	flex: 0 0 auto;
}


.ficha-libros{
	background-color: white;
}

.single-egilea .ficha-libros .swiper-nav{
	bottom: unset;
}

@media (min-width: 600px) {
	.single-egilea .ficha-libros .swiper-nav{
		top: 0;
		bottom: unset;
	}
}


@media(min-width: 1200px){
	.ficha-cont {
		flex-direction: row!important;
		justify-content: space-between;
		align-items: flex-start;
	}

	.ficha-1,
	.ficha-2 {
		flex: 0 0 50%;
		max-width: 50%;
	}

	.ficha-1 {
		min-width: 0;
		display: flex;
		justify-content: center;
		align-items: center;
		margin: inherit;
	}

	.ficha-1 .miniatura {
		width: 100%;
		max-width: 900px;
		display: flex;
		justify-content: center;
		container-type: inline-size;
		overflow: visible;
	}

	.ficha-1 .dual-book-mockup--ficha {
		--mockup-width: clamp(320px, 42vw, 620px);
	}

	.single-argitalpen .ficha-1 .miniatura {
		container-type: normal;
		min-height: clamp(250px, 32vw, 470px);
	}

	.single-argitalpen .ficha-1 .dual-book-mockup--ficha {
		--mockup-width: clamp(320px, 42vw, 620px);
		width: var(--mockup-width);
		max-width: min(620px, calc(50vw - 60px));
		flex: 0 0 auto;
	}
	
	.ficha-2 .redes,
	.ficha-2 .ficha-info-tit,
	.ficha-2 .categorias,
	.ficha-2 .libro-datos-1,
	.libro-datos-1-item{
		justify-content: flex-start;
	}
	
	.ficha-2 .libro-datos{
		justify-content: space-between;
	}
	
	.ficha-2 .ficha-info{
		max-width: auto;
		align-items: flex-start;
	}
	.ficha-2 .tit {
		text-align: start;
		align-items: flex-start;
	}
	
	.ficha-2 .intro p{
		text-align: start;
	}
	
	.ficha-2 .extracto::before{
		left: 0;
	}

	.ficha-2 .extracto::after{
		left: 100%;
	}
	
	.ficha-2 .extracto{
		text-align: start;
	}

	
	
}	

/* ----------------------------------------------------------------------------------  DK SARIAK */


.page-template-page-dk-sariak .site-header{
	background: linear-gradient(180deg,rgba(0, 0, 0, .3) 0%, rgba(0, 0, 0, 0) 100%);
}

.page-template-page-dk-sariak .site-header .menu-desk .menu-item a:not(.current-menu-item a){
	color: #fff!important;
}
.page-template-page-dk-sariak .redes svg path{
	fill: #fff!important;
}

.page-template-page-dk-sariak .site-header .menu-desk .current-menu-item a{
	color: #13608D!important;
}

.page-template-page-dk-sariak .menu-desk .menu-item a::after {
	position: absolute;
	content: "|";
	color: #fff!important;
	top: -2px;
	right: -23px;
}

.page-template-page-dk-sariak .swiper-nav{
	position: absolute;
	right: 48%;
	bottom: 8%;	
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 10px;
}

.dk-fondo{
	height: 500px;
}
.dk-fondo img{
	width: 100%;
	height: 100%;
	object-fit: cover;
}	

.dk-cabecera{
	background-color: black;
	padding: clamp(50px, 3vw, 100px) 0;
	color: white;
}	
.dk-cabecera h1{
	font-weight: 400;
	margin-bottom: 1rem;
}	
.dk-cabecera p{
	color: white;
	max-width: 700px;
	font-weight: 200;
	font-size: clamp(20px, 2vw, 24px);
}

.dk-libros .swiper{
	overflow: visible;
}

.dk-libros-swiper .swiper-slide {
	max-width: 330px!important;
	height: auto;
}

.dk-libros-swiper .libro-card {
	margin-bottom: 0;
	margin-top: 50px;
}

.dk-edicion{
	display: flex;
	flex-direction: row;
	gap: 10px;
	align-items: center;
}
.dk-edicion p{
	color: #A1DEEE;
	font-weight: 400;
	font-size: clamp(24px, 3vw, 30px);
}

.dk-galeria{
	display: flex;
	flex-direction: row;
	gap:0;
	overflow: scroll;
}

.dk-galeria-foto{
	flex:1;
	aspect-ratio: 1.3/1; 
	overflow-hidden;
	min-height: 300px;
}

.dk-galeria-foto img{
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.dk-info-cont{
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;
	gap: 50px;
}
.dk-info-tit,
.dk-info-txt{
	display: flex;
	flex-direction: column;
	gap: 30px;
	align-items: flex-start;
}
.dk-info-tit{
	max-width: 300px;
	align-items: center;
	text-align: center;
}
.dk-info-btn a{
	background-color: #009FDF;
	color: white;
	width: fit-content;
}
.dk-info-btn a svg path{
	fill: white;
}
.dk-info-txt{
	max-width: 850px;
}

.dk-info-txt p{
	font-size: clamp(18px, 2vw, 22px);
}

.dk-info-txt ul{
	margin-left: 15px;
}

.dk-info-txt ul li{
	font-size: clamp(16px, 2vw, 20px);
	font-weight: 400;
	margin-left: 15px;
	position: relative;
		margin-bottom: 10px;
}

.dk-info-txt ul li:before{
	position: absolute;
	content: "*";
	top: 5px;
	left: -20px;

	font-size: clamp(18px, 2vw, 20px);
	font-weight: 400;
	color: #009FDF;
}

.dk-info-txt-1 a,
.dk-info-txt-2 a{
	font-weight: 400;
	color: #009FDF;
}
.dk-info-txt .nota p{
	font-size: clamp(14px, 2vw, 16px);
	font-weight: 200;
    max-width: none;
    float: none;
    text-align: left;
}

	
@media(min-width: 500px){
	.page-template-page-dk-sariak .swiper-nav {
		position: absolute;
		right: 10%;
		top: 15%;
		bottom: unset;
	}
	
	
}

@media(min-width:992px){
	.dk-libros-swiper .libro-card {
		margin-top: 0;
	}	
	
	.dk-info-cont{
		flex-direction: row;
		justify-content: space-between;
		align-items: flex-start;
	}

	.dk-info-tit{
		max-width: 300px;
		align-items: flex-start;
		text-align: start;
	}
	
	
}





/* ----------------------------------------------------------------------------------  CONTACTO */

.contacto-cabecera {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    column-gap: 50px;
    row-gap: 90px;
    flex-wrap: wrap;
}
.contacto-tit h1{
	margin-bottom: 20px;
	font-weight: 300;
	font-size: ;
}
.contacto-tit p{
	max-width: 550px;
}

.contacto-info {
	display: flex;
	flex-direction: column;
	row-gap: 40px;
}

.contacto-info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    column-gap: 15px;
    row-gap: 13px;
}

.contacto-info-item .txt{
	font-size: clamp(20px, 2vw, 24px);
	font-weight: 300;
}
			
.contacto-info-item img{
	width: 22px;
	height: 100%;
}

.cf7-formulario-contacto {
    background: white;
    border: 1px solid #d8d8d8;
    padding: clamp(40px, 8vw, 80px) clamp(20px, 4vw, 60px);
}

/* Separación entre campos */
.cf7-campo {
    margin-bottom: 0;
}

/* Inputs y textarea */
.cf7-formulario-contacto .wpcf7-text,
.cf7-formulario-contacto .wpcf7-email,
.cf7-formulario-contacto .wpcf7-tel,
.cf7-formulario-contacto textarea,
.wpcf7-tel{
    width: 100%;
    border: none;
    border-bottom: 1px solid #cfcfcf;
    background: transparent;
    padding: 18px 10px;
    outline: none;
    box-shadow: none;
    font-size: clamp(20px, 2vw, 24px);
    font-weight: 200;
	color: #747474!important;
}
			
.wpcf7-file{
	font-weight: 200;
}

/* Área mensaje */
.cf7-formulario-contacto textarea {
    height: 120px;
    resize: none;
}


			
.cf7-recaptcha-texto{
	font-size: 14px;
	color: #9A9A9A;
}
			
.wpcf7-list-item-label{
	color: #9A9A9A;
}
			
.wpcf7-list-item-label a{
	color: #5F5F5F;
}
			
.wpcf7-list-item {
 margin: 10px 0 0 0;

}
			
.cf7-campo-archivo{
	margin-top: 20px;
}

/* Botón */			
.cf7-submit-wrap p{
    text-align: center;
}
			
.wpcf7-submit {
    font-size: clamp(18px, 4vw, 30px);
    font-weight: 300 !important;
}
			
.wpcf7-spinner{
	display: none;
}

.cf7-formulario-contacto input[type="submit"] {
    background: #000;
    color: #fff;
    border: none;
    padding: 18px 60px;
    cursor: pointer;
}
			
.cf7-formulario-contacto input[type="submit"]:hover {
    background: #262626;
}
			
@media(min-width: 576px){			
				
}			
			
@media(min-width: 992px){
.contacto-info {
    row-gap: 20px;
}
.contacto-info-item {
    flex-direction: row;
}	
	
.cf7-submit-wrap p{
	text-align: right;
}
.contacto-cabecera {
    justify-content: space-between;
}
	
				
}


/* ----------------------------------------------------------------------------------  FOOTER */

.site-footer{
	color: white;
	position: relative;
}
.footer-fondo {
	position: absolute;
	width: 100%;
	height: 100%;
	overflow: hidden;
	z-index: -1;
	background-color: black;
}
.footer-fondo img {
	object-fit: cover;
	object-position: center;
	width: 100%;
	height: 100%;
}

.site-footer ul,
.site-footer .footer-info,
.site-footer .footer-contacto,
.site-footer .footer-contacto-item,
.site-footer .footer-pie,
.site-footer .footer-pie-2{
	display: flex;
	flex-direction: row;
	align-items: center;
	flex-wrap: wrap;
}

.footer-info{
	column-gap: 80px;
	row-gap: 30px;
	justify-content: center;
	padding: 100px clamp(30px, 9vw, 100px);
	flex-wrap: wrap;
}

.footer-info .logo{
	max-width: 100px;
	height: 100%;
}

.footer-contacto{
	column-gap: 60px;
	row-gap: 20px;
	justify-content: center;
	flex-wrap: wrap;
}

.footer-contacto-item{
	column-gap: 10px;

}

.footer-contacto-item a {
	font-size: 20px;
	font-weight: 200;
}

.site-footer .footer-pie {
	justify-content: center;
	column-gap: 40px;
	row-gap: 20px;
	padding: 30px;
}

.site-footer .footer-pie-2{
	column-gap: 30px;
}

.kit-logos {
	max-width: 400px;
}

.kit-logos img {
	height: 100%;
	width: 100%;
}
.menu-footer-container ul{
	column-gap: 30px;
}
.menu-footer-container .menu-item a{
	font-size: 14px!important;
	font-weight: 200;
	color: #D7D7D7;
	position: relative;
}

.menu-footer-container .menu-item a::after{
	position: absolute;
	content: "|";
	color: #D7D7D7;
	top: -1px;
	right: -17px;
}

.menu-footer-container .menu-item:last-child a::after{
	content: none;
}

@media(min-width: 992px){
	.site-footer .footer-pie {
		justify-content: space-between;
	}

}


/* --------------------------------------------------------------------------------------------------------------- GRACIAS / 404 / INTERIOR -------- */

/* 404 - GRACIAS*/


.error-404,
.gracias{
	min-height: 75vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 100px 0;
}

.error-404 h1,
.gracias h1 {
	font-size: clamp(30px, 5vw, 70px);
	text-align: center;
}

.error-404 h2,
.gracias h2 {
	margin-bottom: 20px;
	font-size: clamp(20px, 2vw, 30px);
	text-align: center;
}

.error-404 p, 
.error-404 a,
.gracias p,
.gracias a{
	font-size: 18px;
	text-align: center;
}

.error-404 p,
.gracias p{
   font-weight: 200;
	margin-bottom: 0!important;
}

.error-404 a,
.gracias a{
	font-weight: 300;
}

.error-404 a,
.gracias a:hover{
	color: var(--azul-o);
}

.error-404 h1,
.error-404 h2,
.gracias h2,
.error-404 p,
.error-404 a{
	text-align: center;
}


.error-404 img{
	max-width: 400px;
	margin-bottom: 30px;
}

.gracias-foto{
	max-width: 1000px;
	margin: auto;
}

.gracias-foto img{
	width: 100%;
	height: 100%;
}



.gracias-info{
	display: flex;
	flex-direction: column;
	gap: 10px;
	align-items: center;
	text-align: center;
	margin-top: 50px;
}


.error-404 .btn,
.gracias .btn{
   display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
}


@media(min-width: 400px){
.error-404 h1,
.error-404 h2,
.error-404 p,
.error-404 a{
	text-align: start;
}
	
.error-404 .btn,
.gracias .btn{
   display: flex;
	justify-content: flex-start;
	padding: 0;
}

	
	
}

/* INTERIOR */

.page-template-page-interior .entry-content a,
.error-404 a,
.error-404 i{
    color: darkslategrey;
}
.page-template-page-interior .entry-content a:hover,
.error-404 a:hover,
.error-404 i:hover{
	color: inherit;
}

.page-template-page-interior .entry-title,
.page-template-page-interior .edit-link{
	display: none;
}


.page-template-page-interior .interior-cont{
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 80px 0;
}

.page-template-page-interior article{
	display: flex;
	flex-direction: column;
	justify-content: center;
}


.page-template-page-interior article header{
	display: none;
}



.page-template-page-interior .interior-cont h1 {
    margin: 30px 0 50px 0;
    font-size: clamp(41px, 3vw, 51px);
}

.page-template-page-interior .entry-content h2 {
    margin: 50px 0 20px 0;
    font-size: clamp(20px, 2vw, 30px);
    text-transform: none;
    font-weight: 300;
}
.page-template-page-interior .entry-content h3 {
       margin: 25px 0 10px 0;
}
.page-template-page-interior .entry-content .wp-block-quote p{
	font-size: 20px;
}

.page-template-page-interior .entry-content .wp-block-table{
	margin-top: 30px;
	margin-bottom: 60px;
}

 
.page-template-page-interior .wp-block-table .has-fixed-layout th{
	font-weight: 500;
}

.page-template-page-interior .wp-block-table .has-fixed-layout td{
	font-weight: 200;
}


.page-template-page-interior .entry-content p,
.page-template-page-interior .entry-content li{
	font-size: 16px;
    font-weight: 300;
	line-height: 150%;
	margin-bottom: 1rem;
}

.page-template-page-interior .entry-content p strong,
.page-template-page-interior .entry-content li strong{
    font-weight: 500;
}

.page-template-page-interior .entry-content ul{
    margin: 1rem 0;
}

.page-template-page-interior .entry-content li {
    list-style: circle;
    margin-left: 30px;
}
