/*
 Theme Name:   Remedy Clinic Theme
 Theme URI:    https://remedyclinic.com/
 Description:  Visibull Dev's GP theme
 Author:       Visibull Dev
 Author URI:   https://visibull.net/
 Template:     generatepress
 Version:      0.1
*/


.center {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
}

/*STYLED BUTTON*/
.button {
	font-size: 16px;
}

.button__blue {
	color: var(--white) !important;
	background-color: var(--link) !important;
	
	@media screen and (min-width: 769px) {
		font-size: 20px;
	}
}

.button__blue:hover {
	background-color: var(--dark-2) !important;
}


.aspect-ratio-21 {
	aspect-ratio: 2 / 1;
	
	@media (min-width: 1024px) {
		height: 56.25vw;
		max-height: 100vh;
		min-height: 400px;
		aspect-ratio: unset;
	}
}

.widget__title {
	position: relative;
	margin-bottom: 20px;
	padding-bottom: 10px;
}

.widget__title:after {
	content: "";
	position: absolute;
	bottom: 0;
	background: var(--link);
	width: 35px;
    height: 2px;
    display: block;
	
}

/*HOMEPAGE EMPLOYEES SECTION*/
.team__section {
	.team__thumb {
		cursor: pointer;
	}
	
	.team__thumb:hover {
		figure img {
			opacity: 0.5;	
		}
	}
	
	figure {
		background: var(--primary);
	}
	
	a { text-decoration: none; }
}


/* TESTIMONIALS CAROUSEL */
.carousel__testimonials {
	position: relative;
	
	.gb-carousel {
		position: relative;
	}
	
	.gb-carousel-item {
		position: relative;
		height: auto;
		align-self: stretch;
		
		>div {
			height: 100%;
			border-top-left-radius: 80px;
			border-top-right-radius: 0;
			border-bottom-right-radius: 80px;
			border-bottom-left-radius: 0;
			padding: 40px 60px 30px;
			display: grid;
			column-gap: .5em;			
			grid-template-columns: 2fr 3fr;
			
			/*
			span {
				position: absolute;
				right: 10px;
				bottom: 10px;
			}
			*/
		}
		
		p {
			font-size: 19px;
			font-weight: 400;
			margin-top: 20px;
			line-height: 30px;
			color: #636363;
		}
	}
	
	.gb-element-7ec3828e {
		position: absolute;
		top: auto;
		bottom: 20px;
		left: 50px;
		z-index: 1;
	}
	
	.gb-carousel-dot {
		background: var(--yellow);
		height: 15px;
		width: 15px;
	}
	
	.gb-carousel-dot.is-active {
		background: var(--dark-2);
		transform: none;
	}
	
	.testimonial__client {
		align-items: flex-start;
		flex-flow: column;
		justify-content: flex-end;
		color: #636363;
		
		img {
			height: 150px;
            width: 150px;
            margin-bottom: 20px;
		}
	}
	
	.testimonial__content {
		position: relative;		
		
		p + div { 
			position: relative;
            text-align: right;
			bottom: auto;
			right: auto;
			top: auto;
            left: auto;
			display: block;
			
			svg {
				fill: var(--yellow);
				transform: scaleX(-1);
			}
		}
	}
	
	@media screen and (max-width: 768px) {
		.gb-carousel {
			max-width: 100%;	
		}
		
		.gb-carousel-item {
			>div {
				grid-template-columns: 1fr;
				padding-left: 20px;
				padding-right: 20px;
			}
		}
		
		.testimonial__client {
			padding-top: 0;
			align-items: center;	
			flex-flow: row;
            justify-content: flex-start;
			
			img {
				height: 100px;
				width: 100px;
			}
			
			img + div {
				flex: none;
			}
		}
		
	}
}

.carousel__testimonials:before {
	width: 200px;
    height: 200px;
    background-image: url(/wp-content/uploads/2026/08/testimonial-top-dot.png);
    background-repeat: no-repeat;
    content: '';
    position: absolute;
    right: 0;
    top: -75px;
	
	@media screen and (max-width: 768px) {
		right: -55px;
    	top: -25px;
	}
}

.carousel__testimonials:after {
	width: 200px;
    height: 200px;
    background-image: url(/wp-content/uploads/2026/08/testimonial-bottom-dot.png);
    background-repeat: no-repeat;
    content: '';
    position: absolute;
    left: 50px;
    bottom: -130px;
	
	@media screen and (max-width: 768px) {
		left: -15px;
    	bottom: -90px;
	}
}



/* ------ 404 Page ----- */
.error404 #page,
.search-results #page {
	border-top: none !important;
}

.error404 .site-content,
.search .site-content {
    max-width: calc(1200px + 48px);
	margin: 0 auto;
	padding: 80px 10px 160px !important;
	
	.site-main {
		padding-right: 40px;
	}
	
	h1 {
		margin-bottom: 24px;
		letter-spacing: -2px;
	}
	
	p {
		margin-left: 0;
	}
	
	form {
		margin-top: 30px;
	}
	
}

.wp-block-search__inside-wrapper {
	.wp-block-search__button {
		background-color: var(--link);
		margin-left: 0;
	}
}

.wp-block-latest-posts__list,
.wp-block-latest-comments {
	margin: 30px 0 0;
	
}

.search .site-content {
	article {
		&:not(:last-child) {
		 margin-bottom: 24px;				
	   }
		
		h2 {
			margin-bottom: 10px;
			
			a {
				letter-spacing: -2px;
			}
		}
	}
}


/*FOOTER*/
.footer {
	.footer__column {
		gap: 1em;
	}
	
	.footer__column-header {
		position: relative;
		
		&:after {
			content: "";
			height: 2px;
			width: 40px;
			position: absolute;
			bottom: 0;
			left: 0;
			background-color: var(--white);
		}
	}
	
	.footer__column-links {
		> div {
			margin-bottom: 12px;
			align-items: flex-start;
		}
		
		>div:hover {
			color: var(--yellow);
		}
	}
	
	a.footer__social {
		display: flex;
		align-items: center;
		justify-content: center;
		
		svg {
			height: 20px;
    		width: 25px;
		}				
	}
	
	a.footer__social:hover {
		svg path {
			fill: black;
		}
	}
	
	a { 
		text-decoration: none; 
		line-height: 1.1;
        margin-bottom: 6px;
		display: block;		
	}
		
	.active {
		color: var(--yellow);
	}
	
	
	@media screen and (max-width:767px) {
		.footer__column:not(:first-child) {
			margin-top: 30px;
		}		
	}
	
}



/*MEDIA QUERIES*/
@media screen and (max-width:768px) {
	.hero__banner .button {
		font-size: 14px;
	}

}