/*
 Theme Name:   TandemBlog
 Theme URI:    https://tandem.blog
 Description:  GeneratePress child theme
 Author:       Tandem
 Author URI:   https://tandem.blog
 Template:     generatepress
 Version:      0.3
*/


#masthead {
	z-index: 2;
}

.Fosca .wp-block-tandem-full-page-slide{
	color: #ffffff !important;
}
.Clara .wp-block-tandem-full-page-slide {
	color: #ffffff !important;
}


.fp-overflow {
	color: #fff;
}

/* galeria projectes -> carousel */


.slick-track {
	display: flex !important;
	gap: 2rem;

}

.slick-slide.slick-current.slick-active.slick-center {
	width: auto !important;
}

.slick-slide {
	width: auto !important;
}

.wp-block-tandem-carousel-slide img {
	height: 85vh;
	width: 100%;
	object-fit: contain;
}

/* galeria projectes -> carousel manual */

.roc-carousel {
	height: max(600px, 75vh);
	gap: 2rem;
	display: flex;
	flex-wrap: nowrap;
	overflow-x: scroll;
	overflow-y: hidden;

	& > * {
		height: 100%;
	}

	& > :is(img, video) {
		width: auto;
	}

	& > div {
		min-inline-size: 25vw;
		user-select: none;
		flex-shrink: 0;
	}

	@media (max-width: 48rem) {
		flex-direction: column;
		overflow-x: hidden;
		overflow-y: revert;

		.cloned {
			display: none;
		}

		& > * {
			height: auto;
		}

		& > :is(img, video, div) {
			width: 100%;
		}
	}
}


/* postal */

.postal .img_postal {
  background-size: 100% !important;
  transition: all .5s;
}
 
.postal:hover .img_postal {
  background-size: 110% !important;
  transition: all .5s;
}


