/*
Theme Name:     Pro Design
Theme URI:      n/a
Template:       kadence
Author:         Pro Author
Author URI:     n/a
Description:    Child Theme Description
Version:        1.0
License:        GNU General Public License v3.0 (or later)
License URI:    https://www.gnu.org/licenses/gpl-3.0.html
*/

.overflow-hidden,
.overflow-hidden > div{
	overflow:hidden;
}
.wp-block-image.alignfull,
.wp-block-kadence-image.alignfull{
	margin-left:0!important;
	margin-right:0!important;
	width:100%!important;
}
.mt-auto{
	margin-top:auto!important;
}
.wp-block-kadence-testimonials .kt-testimonial-meta-wrap{
	flex-direction:column;
	gap:17px;
}
.wp-block-kadence-testimonials .kt-testimonial-meta-wrap .kt-testimonial-name,
.wp-block-kadence-testimonials .kt-testimonial-meta-wrap .kt-testimonial-occupation{
	text-align:center;
}
@media(min-width:1200px){
	.wp-block-kadence-testimonials .slick-prev,
	.wp-block-kadence-testimonials .slick-next{
		background-image: url(/wp-content/uploads/2023/11/arrow.svg)!important;
		background-size: contain!important;
		background-position: center!important;
		background-repeat: no-repeat!important;
		background-color: transparent!important;
		margin-top:-80px;
	}	
	.wp-block-kadence-testimonials .slick-next{
		margin-top:-100px;
	}
	.wp-block-kadence-testimonials .slick-prev svg,
	.wp-block-kadence-testimonials .slick-next svg{
		display:none;
	}
	
	.wp-block-kadence-testimonials .slick-next{
		transform:rotate(180deg);
	}
}

/* QUERY LOOP */
.wp-block-query  .wp-block-post-featured-image{
	border-radius:8px;
	overflow:hidden;
}
.wp-block-query .wp-block-post-terms a:hover,
.wp-block-query .wp-block-post-title a:hover{
	color:#72E3ED;
}
.wp-block-query .wp-block-post-title{
	margin-top:12px;
	margin-bottom:8px;
}
.wp-block-query .wp-block-post-excerpt__more-link{
	font-weight:600;
}
.wp-block-query .wp-block-post-excerpt__more-link:hover{
	color:white;
}

/* ROW OVERLAY */
.row-has-overlay .col-has-overlay > div:before{
	border-radius:8px;
}
@media(min-width:1025px){
	.row-has-overlay .col-has-overlay,
	.row-has-overlay .col-has-overlay>div{
		position:unset;
	}
	.row-has-overlay .wp-block-kadence-column:not(.col-has-overlay){
		position:relative;
		z-index:2;
	}
	.row-has-overlay .col-has-overlay > div:before{
		left: 25%;
	}	
	.content-has-overlay .col-has-overlay,
	.content-has-overlay .col-has-overlay>div{
		position:unset;
	}
	.content-has-overlay .wp-block-kadence-column:not(.col-has-overlay){
		position:relative;
		z-index:2;
	}
	.content-has-overlay .col-has-overlay > div:before{
		bottom: 25%;
	}	
}
