/*
 Theme Name:   UES
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Kyzen Dev
 Author URI:   https://kyzendev.com/
 Template:     bricks
 Version:      1.0
 Text Domain:  bricks
*/


/* ======================= Global ======================= */
.highlight {
    font-family: Marcellus;
    font-weight: 400;
}



.custom-button svg {
    background: var(--bricks-color-fzrhxt);
    padding: 8px;
    border-radius: 50%;
}
.custom-button path {
	stroke: var(--bricks-color-djtakq);
}
.custom-button.blue {
	color: var(--bricks-color-htvnkq);
	background: var(--bricks-color-fzrhxt);
}
.custom-button.blue svg {
    background: var(--bricks-color-dpgdfz);
}
.custom-button.blue path {
	stroke: var(--bricks-color-fzrhxt);
}



/* ======================= Header ======================= */
.custom-header,
.custom-header .custom-wrapper{
	transition: all 0.15s;
}
.custom-header.scrolled {
	padding: 0 !important;
}
.custom-header.scrolled .custom-wrapper {
	border-radius: 0 !important;
	border-bottom: 1px solid var(--bricks-color-htvnkq);
}
.custom-header .sub-menu {
	border-radius: 12px;
	top: calc(100% + 12px);
	left: -24px;
}
.custom-header .bricks-mobile-menu-wrapper {
	padding-top: 48px;
}



/* ======================= Home ======================= */
.custom-testimonial .bricks-swiper-container {
	overflow: visible;
}
.custom-testimonial .swiper-slide {
	padding: 64px 32px 32px;
	border-radius: 16px;
	gap: 48px;
	position: relative;
}
.custom-testimonial .swiper-slide:before {
	content: '';
	background: url('/wp-content/uploads/2025/09/quote-up.svg') no-repeat;
	background-size: cover;
	width: 180px;
	height: 180px;
	position: absolute;
	top: 0;
	right: 0;
	opacity: 0.05;
}
.custom-testimonial .testimonial-meta-wrapper {
  margin: 0;
}
.custom-testimonial .testimonial-content-wrapper {
	padding-top: 96px;
	position: relative;
}
.custom-testimonial .testimonial-content-wrapper:before {
	content: '';
	background-image: url('/wp-content/uploads/2025/09/quote-up.svg');
	background-size: cover;
	width: 48px;
	height: 48px;
	position: absolute;
	top: 0;
	left: 0;
}



#menu-footer-menu {
	flex-wrap: wrap;
	justify-content: center;
}
/* ======================= Blog ======================= */
.bricks-layout-item .image-wrapper img,
.related-blog-section .repeater-item img {
	border-radius: 16px;
}
.bricks-layout-item .content-wrapper {
	position: unset !important;
}
.bricks-layout-item p:last-child,
.related-blog-section .post-content p:last-child {
	position: absolute;
	top: 12px;
	left: 12px;
	background: var(--bricks-color-amikzd);
	padding: 4px;
	border-radius: 8px;
	width: 74px;
	height: 74px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	font-size: 12px;
	line-height: 18px;
}
.date-month {
	font-size: 18px;
	line-height: 24px;
	font-weight: 600;
	color: var(--bricks-color-hqqqjd);
}

/* ======================= Blog details ======================= */
.custom-sidebar .dynamic {
	width: 100%;
}


/* ======================= Contact ======================= */ 
.custom-form {
	display: flex;
	gap: 16px;
}
.custom-form .form-group:not(.submit-button-wrapper, :nth-last-child(2), :nth-last-child(3)) {
	width: calc(50% - 8px);
}
.custom-form select {
	background-color: var(--bricks-color-amikzd);
}



/* ======================= Service details ======================= */ 
.custom-list ul {
    margin: 0;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}



/* ======================= Responsive ======================= */ 
@media only screen and (max-width: 1261px) {
	.custom-testimonial .swiper-slide:before {
		width: 120px;
		height: 120px;
	}
	.custom-testimonial .swiper-slide {
		padding: 32px 24px 24px;
		border-radius: 12px;
		gap: 32px;
		margin-right: 24px;
	}
	.custom-testimonial .testimonial-content-wrapper {
		padding-top: 64px;
	}
	.custom-testimonial .testimonial-content-wrapper:before {
		width: 32px;
		height: 32px;
		background-size: cover;
	}
	
	.custom-form .form-group:not(.submit-button-wrapper, :nth-last-child(2), :nth-last-child(3)) {
		width: 100%;
	}
}
@media only screen and (max-width: 991px) {
	.before-footer .custom-round-button svg {
		height: 32px;
		width: 32px;
	}

	.custom-form .form-group:not(.submit-button-wrapper, :nth-last-child(2), :nth-last-child(3)) {
		width: calc(50% - 8px);
	}
}
@media only screen and (max-width: 767px) {
	.custom-testimonial .swiper-slide:before {
		width: 96px;
		height: 96px;
	}
	.custom-testimonial .swiper-slide {
		padding: 24px 16px 16px;
		border-radius: 8px;
		gap: 24px;
		margin-right: 16px;
	}
	.custom-testimonial .testimonial-content-wrapper {
		padding-top: 48px;
	}
	.custom-testimonial .testimonial-content-wrapper:before {
		width: 24px;
		height: 24px;
	}
	
	.before-footer .custom-round-button svg {
		height: 24px;
		width: 24px;
	}
}

@media only screen and (max-width: 520px) {
	.custom-form .form-group:not(.submit-button-wrapper, :nth-last-child(2), :nth-last-child(3)) {
		width: 100%;
	}
}