/*
Theme Name: Exigo Divi Child
Description: Local repair layer for Exigo Interior Divi site.
Author: Exigo Interior
Template: Divi
Version: 1.0.0
Text Domain: exigo-divi-child
*/

/* CONTACT US: Divi 5 drops effective 25px module sizing from legacy shortcode. */
body.home #contact + .et_pb_row .et_pb_image_3,
body.home #contact + .et_pb_row .et_pb_image_4,
body.home #contact + .et_pb_row .et_pb_image_5 {
	width: 25px;
	max-width: 25px;
}

body.home #contact + .et_pb_row .et_pb_image_3 .et_pb_image_wrap,
body.home #contact + .et_pb_row .et_pb_image_4 .et_pb_image_wrap,
body.home #contact + .et_pb_row .et_pb_image_5 .et_pb_image_wrap,
body.home #contact + .et_pb_row .et_pb_image_3 img,
body.home #contact + .et_pb_row .et_pb_image_4 img,
body.home #contact + .et_pb_row .et_pb_image_5 img {
	display: block;
	width: 25px;
	max-width: 25px;
	height: auto;
}

/* OUR PORTOFOLIO: stabilize legacy image-hover layout under Divi 5. */
body.home #portofolio + .image-hover-layout .et_pb_column,
body.home #portofolio + .image-hover-layout .et_pb_blurb,
body.home #portofolio + .image-hover-layout .et_pb_blurb_content,
body.home #portofolio + .image-hover-layout .et_pb_main_blurb_image,
body.home #portofolio + .image-hover-layout .et_pb_image_wrap {
	width: 100%;
	max-width: 100%;
	min-height: 1px;
}

body.home #portofolio + .image-hover-layout .et_pb_blurb_content,
body.home #portofolio + .image-hover-layout .et_pb_main_blurb_image,
body.home #portofolio + .image-hover-layout .et_pb_image_wrap {
	display: block;
	position: relative;
	opacity: 1;
	visibility: visible;
}

body.home #portofolio + .image-hover-layout .et_pb_main_blurb_image {
	margin: 0;
}

body.home #portofolio + .image-hover-layout .et_pb_image_wrap img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	opacity: 1;
	visibility: visible;
	transform: none;
}

body.home #portofolio + .image-hover-layout .et_pb_column:hover .et_pb_image_wrap img {
	transform: scale(1.1);
}

body.home #portofolio + .image-hover-layout .et_pb_blurb_container {
	z-index: 2;
}

@media (max-width: 980px) {
	body.home #portofolio + .image-hover-layout .et_pb_blurb_container {
		top: auto;
		bottom: 0;
		opacity: 1;
		visibility: visible;
		padding: 12px 16px;
		background: rgba(0, 0, 0, 0.58);
	}

	body.home #portofolio + .image-hover-layout .et_pb_blurb_content::before,
	body.home #portofolio + .image-hover-layout .et_pb_blurb_content::after {
		display: none;
	}
}

@media (max-width: 767px) {
	body.home #contact + .et_pb_row .et_pb_image_3,
	body.home #contact + .et_pb_row .et_pb_image_4,
	body.home #contact + .et_pb_row .et_pb_image_5,
	body.home #contact + .et_pb_row .et_pb_image_3 .et_pb_image_wrap,
	body.home #contact + .et_pb_row .et_pb_image_4 .et_pb_image_wrap,
	body.home #contact + .et_pb_row .et_pb_image_5 .et_pb_image_wrap,
	body.home #contact + .et_pb_row .et_pb_image_3 img,
	body.home #contact + .et_pb_row .et_pb_image_4 img,
	body.home #contact + .et_pb_row .et_pb_image_5 img {
		width: 22px;
		max-width: 22px;
	}
}

.exigo-testimonials {
	width: 100%;
}

.exigo-testimonials__viewport {
	overflow: hidden;
}

.exigo-testimonials__track {
	display: grid;
	gap: 20px;
}

.exigo-testimonials__item {
	display: flex;
	margin: 0;
}

.exigo-testimonials__inner {
	width: 100%;
	padding: 28px 30px;
	background: #ffffff;
	color: #727272;
	box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
}

.exigo-testimonials__heading {
	margin: 0 0 14px;
	padding: 0;
	color: #333333;
	font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.3;
}

.exigo-testimonials__content {
	font-family: 'Cantarell', Helvetica, Arial, Lucida, sans-serif;
	font-size: 15px;
	line-height: 1.7;
}

.exigo-testimonials__content p {
	padding-bottom: 12px;
}

.exigo-testimonials__content p:last-child {
	padding-bottom: 0;
}


.exigo-testimonials__controls {
	display: none;
	align-items: center;
	justify-content: center;
	gap: 14px;
	margin-top: 22px;
}

.exigo-testimonials.is-enhanced .exigo-testimonials__track {
	display: flex;
	gap: 0;
	transition: transform 0.45s ease;
	will-change: transform;
}

.exigo-testimonials.is-enhanced .exigo-testimonials__item {
	flex: 0 0 100%;
	width: 100%;
}

.exigo-testimonials.is-enhanced .exigo-testimonials__controls {
	display: flex;
}

.exigo-testimonials__button,
.exigo-testimonials__dot {
	border: 0;
	cursor: pointer;
}

.exigo-testimonials__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border-radius: 50%;
	background: #333333;
	color: #ffffff;
	font-size: 26px;
	line-height: 1;
	transition: background-color 0.2s ease;
}

.exigo-testimonials__button:hover,
.exigo-testimonials__button:focus-visible {
	background: #6b6b6b;
}

.exigo-testimonials__dots {
	display: flex;
	gap: 8px;
}

.exigo-testimonials__dot {
	width: 9px;
	height: 9px;
	padding: 0;
	border-radius: 50%;
	background: #c4c4c4;
	transition: background-color 0.2s ease;
}

.exigo-testimonials__dot.is-active,
.exigo-testimonials__dot:hover,
.exigo-testimonials__dot:focus-visible {
	background: #333333;
}

.exigo-testimonials__button:focus-visible,
.exigo-testimonials__dot:focus-visible {
	outline: 2px solid #2ea3f2;
	outline-offset: 3px;
}

@media (max-width: 980px) {
	}

	.exigo-testimonials__inner {
		padding: 24px;
	}
}
