.attyd-testimonials-masonry {
	column-count: 2;
	column-gap: 28px;
}

.attyd-testimonial-card {
	display: inline-block;
	width: 100%;
	margin-bottom: 28px;
	break-inside: avoid;
}

.attyd-testimonials-cols-1 {
	grid-template-columns: 1fr;
}

.attyd-testimonials-cols-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.attyd-testimonials-cols-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.attyd-testimonials-cols-4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.attyd-testimonial-card {
	width: 100%;
	height: auto;
	box-sizing: border-box;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 18px;
	padding: 28px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
	transition: opacity .2s ease;
}

.attyd-testimonial-images {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 16px;
	margin-bottom: 24px;
}

.attyd-testimonial-image {
	display: flex;
	justify-content: center;
	width: 100%;
}

.attyd-testimonial-photo {
	display: block;
	width: auto;
	max-width: 100%;
	max-height: 720px;
	height: auto;
	object-fit: contain;
	border-radius: 18px;
	border: 4px solid #fff;
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.15);
}

.attyd-testimonial-images-count-1 .attyd-testimonial-photo {
	margin-left: auto;
	margin-right: auto;
	max-width: 420px;
}

.attyd-testimonial-images-count-2 .attyd-testimonial-image,
.attyd-testimonial-images-count-3 .attyd-testimonial-image,
.attyd-testimonial-images-count-4 .attyd-testimonial-image {
	width: auto;
}

.attyd-testimonial-images-count-2 .attyd-testimonial-photo,
.attyd-testimonial-images-count-3 .attyd-testimonial-photo,
.attyd-testimonial-images-count-4 .attyd-testimonial-photo {
	max-width: 180px;
	max-height: 260px;
}

.attyd-testimonial-quote {
	color: #555;
	font-size: 17px;
	line-height: 1.6;
}

.attyd-testimonial-quote p:last-child {
	margin-bottom: 0;
}

.attyd-testimonial-name {
	font-size: 18px;
	margin: 20px 0 0;
	color: #1f3d2b;
	text-align: center;
}

.attyd-testimonials-load-more-wrap {
	text-align: center;
	margin-top: 32px;
}

.attyd-testimonials-load-more {
	background: #0f6b2f;
	color: #fff;
	border: 0;
	border-radius: 999px;
	padding: 12px 28px;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.attyd-testimonials-load-more:hover,
.attyd-testimonials-load-more:focus {
	background: #0b5425;
	color: #fff;
	transform: translateY(-1px);
	box-shadow: 0 8px 18px rgba(15, 107, 47, 0.22);
}

.attyd-testimonials-load-more:disabled {
	opacity: 0.7;
	cursor: wait;
	transform: none;
}

@media (max-width: 991px) {
	.attyd-testimonials-cols-3,
	.attyd-testimonials-cols-4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.attyd-testimonials-masonry,
	.attyd-testimonials-cols-1,
	.attyd-testimonials-cols-2,
	.attyd-testimonials-cols-3,
	.attyd-testimonials-cols-4 {
		grid-template-columns: 1fr;
	}

	.attyd-testimonial-card {
		padding: 22px;
	}

	.attyd-testimonial-photo {
		max-width: 100%;
	}
}
