/**
 * Praguept — Services Grid widget
 * Structural styles only. Colors, spacing, radius and typography are
 * controlled per-instance from the Elementor Style tab.
 */

.pt-services-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	width: 100%;
	align-items: stretch;
}

.pt-service-card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	box-sizing: border-box;
	width: 100%;
	transition: transform 0.25s ease, filter 0.25s ease;
}

.pt-service-card * {
	box-sizing: border-box;
}

/* Icon frame */
.pt-service-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	line-height: 1;
}

.pt-service-icon svg {
	display: block;
	fill: currentColor;
}

/* Title */
.pt-service-title {
	margin: 0;
	width: 100%;
}

/* Description */
.pt-service-description {
	margin: 0;
	width: 100%;
}

/* Problems list */
.pt-service-list-label,
.pt-service-therapists-label {
	width: 100%;
	text-transform: uppercase;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
}

.pt-service-list {
	list-style: none;
	margin: 0;
	padding: 0;
	width: 100%;
}

.pt-service-list-item {
	display: flex;
	align-items: flex-start;
	list-style: none;
}

.pt-service-list-item:last-child {
	margin-bottom: 0 !important;
}

.pt-service-list-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	border-radius: 6px;
	margin-top: 1px;
}

.pt-service-list-icon svg {
	width: 11px;
	height: 11px;
}

.pt-service-list-text {
	flex: 1;
}

/* Physiotherapists row */
.pt-service-therapists {
	width: 100%;
	border-top: 1px solid transparent;
}

.pt-service-therapists-list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	width: 100%;
}

.pt-therapist-link {
	text-decoration: none;
}

.pt-therapist-item {
	display: inline-flex;
	align-items: center;
}

.pt-therapist-avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	overflow: hidden;
	font-size: 11px;
	font-weight: 600;
	line-height: 1;
}

.pt-therapist-avatar img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pt-therapist-name {
	white-space: nowrap;
}

/* Optional hover-lift effect, toggled via the Card style control */
.pt-service-hover-lift-yes .pt-service-card:hover {
	transform: translateY(-4px);
	filter: drop-shadow(0 10px 20px rgba(20, 36, 32, 0.10));
}

@media (prefers-reduced-motion: reduce) {
	.pt-service-card {
		transition: none;
	}

	.pt-service-hover-lift-yes .pt-service-card:hover {
		transform: none;
	}
}
