/*
Theme Name: IAA 50 Aniversario
Theme URI:
Author: Baética Proyectos Digitales
Author URI:
Description: Diseñado por Colectivo Verbena y desarrollado por Baética
Requires at least: 6.9
Tested up to: 6.9
Requires PHP: 5.7
Version:
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: iaa-50-aniversario
Tags:
*/


.max-width-1200 {
	max-width: 1200px;
	margin: 0 auto;
}

@media (max-width: 1023.9px) {
	.u-flex-nowrap-tablet {
		flex-wrap: wrap !important;
	}

	.u-gap-small-tablet {
		gap: 40px !important;
	}
}

@media (max-width: 781.9px) {
	.u-flex-column-mobile {
		flex-direction: column !important;
	}

	.u-flex-centered-mobile .wp-block-group {
		justify-content: center !important;
		align-items: center !important;
	}

	.u-flex-centered-mobile p {
		text-align: center;
	}

	.u-gap-small-mobile {
		gap: 40px !important;
	}

}

/* Logo de cabecera */
.c-header__logo {
	max-width: 269px;
	width: 100%;
	height: auto;
}

@media (max-width: 781.9px) {
	.c-header__logo {
		max-width: 176px;
	}

	.c-header__wrapper {
		padding-top: 15px !important;
		padding-bottom: 15px !important;
		justify-content: center !important;

		border-bottom: 2px solid var(--wp--preset--color--custom-azul-suave) !important;
	}
}

header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;

	z-index: 999;
}

header::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: transparent;
	transition: background 1s ease-in-out, opacity 1s ease-in-out;
	will-change: background, opacity;
	z-index: -1;
	pointer-events: none;
}

header.is-scrolled::before {
	background: var(--wp--preset--color--custom-azul-oscuro);
}

:where(.wp-site-blocks)>* {
	margin-block-start: 0 !important;
}


.u-text-balance {
	text-wrap: balance;
}

.u-text-pretty {
	text-wrap: balance;
	text-wrap: pretty;
}

.u-uppercase {
	text-transform: uppercase;
}

.u-block {
	display: block;
}

.u-margin-header-top {
	margin-top: var(--header-height, 113.5px) !important;
}

.u-margin-header-bottom {
	margin-bottom: var(--header-height, 113.5px) !important;
}

.u-padding-header-top {
	padding-top: var(--header-height, 113.5px) !important;
}

.u-padding-header-bottom {
	padding-bottom: var(--header-height, 113.5px) !important;
}

@media (max-width: 781.9px) {
	.u-margin-header-top {
		margin-top: var(--header-height, 61px) !important;
	}

	.u-margin-header-bottom {
		margin-bottom: var(--header-height, 61px) !important;
	}

	.u-padding-header-top {
		padding-top: var(--header-height, 61px) !important;
	}

	.u-padding-header-bottom {
		padding-bottom: var(--header-height, 61px) !important;
	}
}

.u-text-center {
	text-align: center;
}

.u-paragraph-content> :first-child {
	margin-top: 0;
}

.u-paragraph-content> :last-child {
	margin-bottom: 0;
}

.c-single-perspective-intro {
	max-width: 630px;
	margin-left: auto;
	margin-right: auto;
}

.single-pregunta .entry-content>*+* {
	margin-block-start: 60px !important;
}

.c-title-site,
.c-title-site a {
	transition: color 0.75s ease-in-out;
	will-change: color;
}

.c-title-site__text>a {
	text-decoration: none !important;

}

@media (max-width: 781.9px) {
	.c-title-site {
		width: 100% !important;
	}


	.c-title-site__text,
	.c-title-site__text>a {
		display: block;
	}

	.c-title-site__text {
		text-align: justify !important;
		text-justify: auto !important;
	}

	.c-title-site__text>a {
		display: inline-block;
		width: 100%;
		text-align: justify;
		text-align-last: justify;
	}
}


.has-custom-h-1-font-size {
	line-height: 1;
	font-weight: 400;
}

body.has-custom-bg-color .c-block-go-to-top svg,
body.has-custom-bg-color .entry-content .c-block-slider__navigation-button svg,
body.has-custom-bg-color .c-block-info-menu__button-text,
body.has-custom-bg-color .c-title-site__text a,
body.has-custom-bg-color .wp-site-blocks>.wp-block-group *,
body.has-custom-bg-color .c-single-perspective-intro *,
body.has-custom-bg-color .entry-content *,
body.has-custom-bg-color h1 {
	color: var(--wp--preset--color--custom-azul-oscuro) !important;
}

body.has-custom-bg-color .entry-content .c-gallery-lightbox .swiper-pagination-progressbar,
body.has-custom-bg-color .entry-content .c-gallery-lightbox .progress-dot {
	background: var(--wp--preset--color--custom-azul-oscuro) !important;
}

body.has-custom-bg-color header.is-scrolled .c-block-info-menu__button-text--closed,
body.has-custom-bg-color header.is-scrolled .c-title-site__text a {
	color: var(--wp--preset--color--custom-azul-suave) !important;
}

body.has-custom-bg-color .c-single-perspective-audio-popup .c-single-perspective-audio-popup__title,
body.has-custom-bg-color .c-single-perspective-audio-popup .c-single-perspetive-audio-popup__close-icon,
body.has-custom-bg-color .c-single-perspective-audio-popup .c-single-perspetive-audio-popup__close-text {
	color: var(--wp--preset--color--custom-azul-suave) !important;
	text-transform: uppercase;
}

.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
	text-wrap: balance;
	font-weight: 400;
	line-height: 1;
}

body.single-pregunta .u-margin-header-top {
	margin-top: calc(var(--header-height, 61px) * 2) !important;
}

.goverlay {
	background: rgba(255, 255, 255, 0.6) !important;
}

.gslide-inner-content {
	padding: 2rem !important;
}

.glightbox-clean .gslide-media {
	box-shadow: none !important;
}

@media (min-width: 769px) {
	.goverlay {
		background: rgba(255, 255, 255, 0.6) !important;
	}

	.glightbox-clean .gslide-media {
		box-shadow: none !important;
	}

	.gslide-inner-content {
		padding: 2rem !important;
	}
}

body.single-pregunta .wp-block-table td {
	padding: 34px 43px !important;
	text-align: justify;
	text-justify: auto;
}

@media (max-width: 781.9px) {
	body.single-pregunta .wp-block-table td {
		padding: 1rem 2rem !important;
	}
}

body.single-pregunta .entry-content p {
	text-align: center;
}

.c-single-perspective__back a {
	text-decoration: none !important;
}

.c-single-perspective__back a:hover {
	text-decoration: underline !important;
}
