/*
Theme Name: Zium Child
Author: WebGeniusLab
Author URI: http://webgeniuslab.net
Description: WebGeniusLab team presents absolutely fresh and powerful WordPress theme. It combines new technologies and functional design that helps to showcase your content in better way. This WordPress theme is developed with attention to details, so you can create effective presentation of a website easily. Enjoy building web pages with our product!
Version: 1.0
Template: zium
Text Domain: zium-child
*/

/* Galeria d'imatges a les pagines de sessio: sense espai entre elements */
.elementor-image-gallery .gallery {
	margin: 0 !important;
}
.elementor-image-gallery .gallery-item {
	margin: 0 !important;
	padding: 0 !important;
	width: 12.5% !important;
	max-width: 12.5% !important;
}
.elementor-image-gallery .gallery-icon {
	padding: 0 !important;
	margin: 0 !important;
}
.elementor-image-gallery .gallery-icon a,
.elementor-image-gallery .gallery-icon img {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	margin: 0 !important;
	border: none !important;
}
.elementor-image-gallery .gallery-icon {
	aspect-ratio: 1 / 1;
	overflow: hidden;
}
.elementor-image-gallery .gallery-icon img {
	object-fit: cover;
}

/* Popup "M'interessa" */
.nc-popup {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 9999;
	align-items: center;
	justify-content: center;
}
.nc-popup:target {
	display: flex;
}
.nc-popup__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.75);
}
.nc-popup__box {
	position: relative;
	background: #ffffff;
	color: #212121;
	max-width: 640px;
	width: 90%;
	max-height: 85vh;
	overflow-y: auto;
	padding: 45px 35px 35px;
	border-radius: 6px;
	z-index: 1;
}
.nc-popup__close {
	position: absolute;
	top: 12px;
	right: 18px;
	font-size: 30px;
	line-height: 1;
	color: #212121;
	text-decoration: none;
}
.nc-popup__close:hover {
	color: #F5F464;
}
.nc-popup__title {
	margin: 0 0 8px;
	font-size: 26px;
}
.nc-popup__subtitle {
	margin: 0 0 20px;
	color: #666;
}

/* Camps de formulari (CF7) mes compactes */
.wpcf7 input[type=text],
.wpcf7 input[type=email],
.wpcf7 input[type=tel],
.wpcf7 select {
	height: 40px !important;
	line-height: 1.4 !important;
}

/* Capçalera de pagina: menys espai entre el titol i els breadcrumbs */
.page-header_title {
	margin-bottom: 6px !important;
}

/* Checkbox d'acceptacio legal: el tema amaga el input real i mostra ::before al span germa */
input[type=checkbox] + span::before {
	color: #ffffff !important;
}
input[type=checkbox]:checked + span::before {
	color: #F5F464 !important;
}

/* Home: treu el padding-bottom de #main perque la linia mobil quedi enganxada al footer */
body.home #main {
	padding-bottom: 0 !important;
}

/* Footer: fila inferior (avis legal, privacitat, cookies, copyright) centrada i en lletra petita */
.elementor-element-f89af26 > .elementor-widget-wrap {
	display: block !important;
	text-align: center !important;
	padding-top: 20px;
	padding-bottom: 20px;
}
.elementor-element-f89af26 .elementor-widget-divider,
.elementor-element-f89af26 .elementor-widget-spacer {
	display: none !important;
}
.elementor-element-f89af26 .elementor-widget-text-editor {
	display: inline-block !important;
	float: none !important;
	margin: 4px 12px !important;
	font-size: 12px !important;
}
.elementor-element-f89af26 .elementor-widget-text-editor a {
	color: inherit;
	text-decoration: underline;
}

/* Titols H2 mes petits a les pagines legals (Avis Legal, Privacitat, Cookies) */
.page-id-4902 #main-content h2,
.page-id-3 #main-content h2,
.page-id-4904 #main-content h2 {
	font-size: 28px !important;
	line-height: 1.3 !important;
}

/* Graella "altres sessions" a les pagines individuals de sessio */
.nc-other-sessions {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 20px;
}
.nc-other-sessions a,
.nc-other-sessions .nc-other-sessions__logo {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1 / 1;
	background: #F5F464;
	overflow: hidden;
}
.nc-other-sessions a span {
	position: relative;
	z-index: 2;
	color: #000000;
	font-weight: 700;
	font-size: 20px;
	text-align: center;
	padding: 20px;
	transition: color 0.25s;
}
.nc-other-sessions a {
	text-decoration: none !important;
}
.nc-other-sessions a::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: var(--bg-img);
	background-size: cover;
	background-position: center;
	opacity: 0;
	transition: opacity 0.25s;
}
.nc-other-sessions a::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.4);
	opacity: 0;
	transition: opacity 0.25s;
}
.nc-other-sessions a:hover::before {
	opacity: 0.35;
}
.nc-other-sessions a:hover::after {
	opacity: 1;
}
.nc-other-sessions a:hover span {
	color: #F5F464;
}
.nc-other-sessions__logo {
	background: #181818;
	padding: 0;
}
.nc-other-sessions__logo img {
	width: 60%;
	height: auto;
	object-fit: contain;
}
@media (max-width: 991px) {
	.nc-other-sessions {
		grid-template-columns: repeat(3, 1fr);
	}
}
@media (max-width: 767px) {
	.nc-other-sessions {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* Capçalera de pagina: sense marge inferior */
.page-header.page-header_align_center {
	margin-bottom: 0 !important;
	min-height: 260px !important;
}

/* Sessions: imatge principal mes petita (menys alta) */
.parent-pageid-3193 .elementor-element-234d22b img {
	width: 75%;
	height: auto;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	object-position: center;
}

/* Breadcrumbs del titol de pagina: sense marge superior */
.page-header_breadcrumbs {
	margin-top: 0 !important;
}
