/* Homepage Testimonial Carousel widget styles */

.htc-carousel-wrapper {
	position: relative;
}

.htc-swiper {
	overflow: hidden;
	padding-top: 54px;
}

.htc-swiper .swiper-wrapper {
	align-items: stretch;
}

.htc-swiper .swiper-slide {
	height: auto;
	display: flex;
}

/* Card */
.htc-card {
	position: relative;
	background: #ffffff;
	border: 1px solid #A2C9D9;
	border-radius: 16px;
	padding: 48px 28px 32px;
	text-align: center;
	width: 100%;
}

/* Badge */
.htc-badge {
	position: absolute;
	top: 0;
	left: 50%;
	transform: translate(-50%, -50%);
	display: inline-flex;
	align-items: center;
	background: #ffffff;
	border: 1px solid #A2C9D9;
	border-radius: 999px;
	padding: 0;
	max-width: calc(100% - 24px);
	box-shadow: 0 6px 16px #4c91cc33;
}

.htc-badge-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	max-width: 100%;
	margin: 13px 28px;
}

.htc-badge-icon img {
    height: unset !important;
}

/* Quote */
.htc-quote {
	color: #6fa8c9;
	font-size: 16px;
	line-height: 1.6;
	margin: 16px 0;
}

/* Author line */
.htc-author {
	font-size: 14px;
	margin: 0;
}

.htc-author-name {
	color: #2d6f93;
	background: none !important;
	font-weight: 700;
}

.htc-author-separator {
	margin: 0 6px;
	color: #c9d3d1;
}

.htc-author-position {
	color: #7a8c6e;
}

/* Controls row: dots centered, arrows bottom-right */
.htc-controls {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 32px;
	min-height: 44px;
}

/* Hidden by JS when the carousel has too few slides to need sliding at all */
.htc-controls.htc-controls-hidden {
	display: none;
}

.htc-dots {
	display: flex;
	align-items: center;
	gap: 8px;
	justify-content: center;
}

.htc-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #A2C9D9;
	display: inline-block;
	padding: 0;
	border: 0;
	cursor: pointer;
}

.htc-dot.is-active {
	background-color: #80A500 !important;
}

.htc-arrows {
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	display: flex;
	gap: 12px;
}

.htc-arrow {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: transparent;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: #2d6f93;
	padding: 0;
	transition: background-color 0.2s ease;
	box-shadow: 0 6px 16px #4c91cc33;
}

.htc-arrow:hover {
	background: #f1f6f4;
}

.htc-arrow svg {
	width: 16px;
	height: 16px;
	display: block;
}

/* Responsive */
@media (max-width: 1024px) {
	.htc-card {
		padding: 44px 24px 28px;
	}
}

@media (max-width: 767px) {
	.htc-swiper {
		padding-top: 24px;
	}

	.htc-controls {
		flex-wrap: wrap;
		gap: 12px;
	}

	.htc-arrows {
		position: static;
		transform: none;
	}
}