/**
 * Theme Name:     Spectra One Child
 * Author:         WEB.WORK
 * Template:       spectra-one
 * Text Domain:	   spectra-one-child
 * Description:    Custom child theme for Campus Fashion Haacht
 */
p:has(a),
p > a{
	font-family: var(--wp--preset--font-family--josefin-sans);
}
p:empty{
	display: none;
}
.sticky-post-item{
	padding-top: 30px;
}
.sticky-post-item > a{
	display: flex;
	flex-direction: row-reverse;
	gap: 50px;
}
.sticky-post-item > a img{
	width: 100%;
	object-fit: contain;
	object-position: top;
}
.sticky-post-item > a .wrapper{
	padding-top: 10px;
    border-top: 2px solid black;
}

.wp-block-woocommerce-add-to-cart-form:has(.out-of-stock){
	padding: 1rem;
    background: var(--wc-secondary);
}
/* FORMS */
.gform_required_legend{
	display: none;
}
form *::placeholder{
	font-size: 14px !important;
}
.uagb-loop-post:nth-child(even) div.image{
	grid-column-start: 2;
	grid-column-end: 2;
}			
.uagb-loop-post:nth-child(even) div.text{
	grid-column-start: 1;
	grid-row-end: 1;
}
.uagb-loop-post:nth-child(even) div.text > *{
	text-align: right;
}
.uagb-loop-post:nth-child(even) div.text .uagb-buttons__wrap{
	justify-content: flex-end;
}
.uagb-loop-post:nth-child(odd) .background-deco-loop{
	margin-left: -30px;
}
.uagb-loop-post:nth-child(even) .background-deco-loop{
	margin-right: -30px;
}
body .gchoice label{
	padding: 0;
	margin-left: 20px;
	border-radius: var(--border-radius-large);
	cursor: pointer;
	position: relative;
	line-height: 1;
	color: var(--wp--preset--color--heading);
	font-size: 14px !important;
	width: 100%;
	border-radius: var(--border-radius-large);
	max-width: 100% !important;
}
body .gchoice label::before{
	content: '';
	aspect-ratio: 1;
	border-radius: 50%;
	border: 1px solid var(--wp--preset--color--heading);
	position: absolute;
	left: -20px;
	height: 12px;
	top: calc(50% - 8px);
}
body .gchoice:has(input:checked) label::before,
body .gchoice label:hover::before{
	background-color: var(--wp--preset--color--heading);
}
body .gchoice input{
	display: none !important;
}
.gfield--type-quantity .instruction{
	display: none;
}
form .gfield_radio{
	display: flex;
	gap: 24px;
	flex-wrap: wrap;
}
body .gform_wrapper.gravity-theme .gfield textarea.medium {
	height: 150px;
}
form textarea:focus-visible,
form select:focus-visible,
form input:not([type='submit']):focus-visible{
	outline: unset !important;
	border: 1px solid black !important;
}
form textarea,
form select,
form input:not([type='submit']){
	border: unset !important;
	border: 1px solid var(--wp--preset--color--primary) !important;
	background: var(--wp--preset--color--primary) !important;
}
input[type='button'],
input[type='submit']{ 
	color: var(--wp--preset--color--heading) !important;
	font-family: var(--wp--preset--font-family--josefin-sans) !important;
	font-size: var(--wp--preset--font-size--small) !important;
	font-style: normal !important;
	font-weight: 300 !important;
	letter-spacing: inherit !important;
	line-height: var(--wp--custom--line-height--initial) !important;
	padding-top: calc(0.667em + 2px) !important;
	padding-right: calc(1.333em + 2px) !important;
	padding-bottom: calc(0.667em + 2px) !important;
	padding-left: calc(1.333em + 2px) !important;
	text-decoration: none !important;
	text-transform: inherit !important;
	cursor: pointer !important;
	background-color: unset !important;
	border: 1px solid var(--wp--preset--color--heading) !important;
}
input[type='button']:hover,
input[type='submit']:hover{
	background-color: var(--wp--preset--color--heading) !important;
	color: white !important;
	border: 1px solid var(--wp--preset--color--primary) !important;			
}

/* BUTTONS */
.uagb-buttons-repeater.wp-block-button__link,
.wp-block-buttons .wp-block-button__link {
	border: 1px solid !important;
	border-radius: 0 !important;
	background-color: unset !important;
	padding-top: calc(0.667em + 2px) !important;
    padding-right: calc(1.333em + 2px) !important;
    padding-bottom: calc(0.667em + 2px) !important;
    padding-left: calc(1.333em + 2px) !important;

}
footer .wp-block-buttons .wp-block-button__link{
	color: var(--wp--preset--color--primary) !important;
	border-color: var(--wp--preset--color--primary) !important;
	line-height: 0.7;
}
footer .wp-block-buttons .wp-block-button__link:hover{
	background-color: var(--wp--preset--color--primary) !important;
	color: var(--wp--preset--color--heading) !important;
}
.uagb-buttons-repeater.wp-block-button__link:hover,
.wp-block-buttons .wp-block-button__link:hover {
	background-color: var(--wp--preset--color--heading) !important;
	color: white !important;
	border: 1px solid var(--wp--preset--color--primary) !important;
}
.logo img{
	filter: brightness(0) invert(1);
}
.hero-gall > div{
	grid-template-columns: 1fr 2fr 1fr;
}

.hero-gall > div > div:nth-child(1){
	opacity: 0.4;
}
.hero-gall > div > div:nth-child(3){
	margin-top: auto;
	opacity: 0.4;
}	

.home .entry-content{
	overflow: hidden;
}
/* .home-hero{
	min-height: calc(100vh - 81px) !important;
} */
.home .entry-content > div{
	z-index: 2 !important;
} /*
.home .entry-content::after{
	content: ' ';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 0;
	opacity: 0.25;
	height: 100%;
	background-color: var(--wp--preset--color--heading);
}
.home .entry-content::before{
	content: '';
	position: absolute;
	width: 100%;
	z-index: 2;
	height: 100%;
	background: radial-gradient(circle, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 60%, rgba(255,255,255,0) 100%);
	pointer-events: none;
} */
@media screen and (min-width: 1800px){
	/* .home-hero > div{
		max-width: 1700px !important;
	} */
}
@media screen and (max-width: 1800px){
	html{
		zoom: 0.85;
	}
}
@media screen and (max-width: 768px){
	.sticky-post-item > a{
		flex-direction: column;
		gap: 20px;
	}
	.uagb-loop-post:nth-child(even) div.image{
		grid-column-start: 1;
		grid-column-end: 1;
	}			
	.uagb-loop-post:nth-child(even) div.text{
		grid-column-start: 2;
		grid-row-end: 2;
	}
	.uagb-loop-post .background-deco-loop{
		display: none !important;
	}
	.uagb-loop-post:nth-child(even) div.text > *{
		text-align: left;
	}
	.uagb-loop-post:nth-child(even) div.text .uagb-buttons__wrap{
		justify-content: flex-start;
	}
}