/* ML Reviews */

.ml-home-slider {
	position: relative;
	overflow: visible;
	width: 100%;
	max-width: 1400px;
	margin: 0 auto;
}

.ml-slider-track {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 46px;
	align-items: stretch;
}

.ml-slide {
	flex: initial;
	min-width: 0;
	box-sizing: border-box;
}

.ml-card {
	background: #ffffff;
	border: 1px solid #ffffff;
	border-radius: 10px;
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
	overflow: hidden;
}

.ml-card--home {
	display: block;
	padding: 40px 38px 32px;
	height: 100%;
	min-height: 360px;
}

.ml-card-author--home-signature {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 18px !important;
}

.ml-home-slider .ml-card-content {
	display: grid;
	grid-template-rows: auto 1fr auto;
	row-gap: 0;
	height: 100%;
	padding-left: 0;
	padding-top: 60px;
}

.ml-home-slider .ml-card-image {
	display: none;
}

.ml-home-slider .ml-card-title {
	display: block;
	position: relative;
	z-index: 1;
	margin: 0 0 18px;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 1.55rem;
	font-weight: 700;
	line-height: 1.15;
	text-align: center;
	color: #3f4537;
}

.ml-home-slider .ml-rating {
	position: static;
	z-index: auto;
	justify-content: center;
	padding-top: 0;
	margin-top: 10px;
	margin-bottom: 20px;
	font-size: 1rem;
	line-height: 1;
	letter-spacing: 4px;
	color: #b78b3f;
}

.ml-home-slider .ml-card-text {
	position: relative;
	z-index: 1;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 25px;
	line-height: 1.3;
	text-align: center;
	color: #3F4038;
}

.ml-home-slider .ml-card-text p {
	margin-bottom: 0;
}

.ml-home-slider .ml-card-author {
	margin-top: 0;
	padding-top: 0;
	border-top: 0;
}

.ml-home-slider .ml-card-author strong {
	display: block;
	font-family: "Inter", Arial, sans-serif;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: 0.9px;
	text-transform: uppercase;
	color: #223121;
}

.ml-home-slider .ml-card-author span {
	margin-top: 6px;
	font-size: 0.82rem;
	line-height: 1.2;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #b59a6a;
	display: block;
}

.ml-home-slider .ml-slider-controls {
	display: none;
	margin-top: 34px;
}

.ml-archive-list {
	display: flex;
	flex-direction: column;
	gap: 32px;
	max-width: 1100px;
	margin: 0 auto;
}

.ml-card--archive {
	display: block;
	padding: 56px 60px;
	margin-bottom: 0;
}

.ml-card-content {
	position: relative;
	padding-top: 80px;
}

.ml-card-quote-mark {
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 150px;
	line-height: 0.8;
	text-align: center;
	color: #d8cec2;
	opacity: 0.85;
	pointer-events: none;
	z-index: 0;
}

.ml-card-image img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 14px;
}

.ml-card-title {
	margin: 0 0 14px;
	font-size: 1.35rem;
	line-height: 1.2;
	text-align: center;
}

.ml-card-text {
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 25px;
	line-height: 1.2;
	text-align: center;
	color: #3F4038;
}

.ml-card-text--archive {
	padding-top: 0;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 25px;
	line-height: 1.5;
	text-align: center;
	color: #3F4038;
}

.ml-card-text p {
	margin: 0 0 1em;
}

.ml-card-text p:last-child {
	margin-bottom: 0;
}

.ml-card-separator {
	width: 100%;
	max-width: 90px;
	height: 1px;
	margin: 28px auto 22px;
	background: #b78b3f;
}

.ml-card-author-photo {
	width: 54px;
	height: 54px;
	border-radius: 50%;
	overflow: hidden;
	flex: 0 0 54px;
	background: #efe6da;
}

.ml-card-author-photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ml-card-author-photo--home {
	width: 56px;
	height: 56px;
	flex-basis: 56px;
}

.ml-card-author {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	margin-top: 0;
	padding-top: 0;
	border-top: 0;
	text-align: left;
}

.ml-card-author--signature {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 18px;
	margin-top: 0;
	padding-top: 0;
}

.ml-card-author-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	border-radius: 50%;
	background: #efe6da !important;
	color: #6e5c4a;
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.08em;
	flex-shrink: 0;
	align-self: center;
}

.ml-card-author-meta {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 4px;
	min-height: 54px;
	align-self: center;
	font-family: "Inter", Arial, sans-serif;
	text-transform: none;
	font-weight: 700;
	letter-spacing: 0;
}

.ml-card-author strong {
	display: block;
	margin: 0;
	font-family: "Inter", Arial, sans-serif;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: 0.9px;
	text-transform: uppercase;
	color: #223121;
}

.ml-card-author span {
	font-size: 0.92rem;
	color: #7d746b;
	opacity: 1;
}

.ml-rating {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 3px;
	position: relative;
	z-index: 1;
	padding-top: 0;
	margin-top: 28px;
	margin-bottom: 20px;
	line-height: 1;
	color: #b78b3f;
	opacity: 1;
}

.ml-star {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
}

.ml-star svg {
	display: block;
	width: 30px;
	height: 30px;
	fill: currentColor;
}

.ml-home-slider .ml-star svg {
	width: 30px;
	height: 30px;
}

.ml-slider-controls {
	display: flex;
	gap: 10px;
	justify-content: center;
	margin-top: 18px;
}

.ml-slider-button {
	appearance: none;
	border: 1px solid #d8d8d8;
	background: #fff;
	border-radius: 999px;
	width: 42px;
	height: 42px;
	cursor: pointer;
	font-size: 22px;
	line-height: 1;
}

.ml-pagination ul {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
	list-style: none;
	padding: 0;
	margin: 40px 0 0;
}

.ml-pagination a,
.ml-pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	padding: 11px 15px;
	border: 1px solid #e2ddd7;
	border-radius: 999px;
	text-decoration: none;
	color: inherit;
	background: #fff;
	transition: all 0.2s ease;
}

.ml-pagination .current {
	font-weight: 700;
	border-color: #cfc7bc;
}

.ml-pagination a:hover {
	border-color: #cfc7bc;
	transform: translateY(-1px);
}

.ml-archive-list .ml-card-image {
	display: none;
}

@media (max-width: 767px) {
	.ml-home-slider {
		overflow: visible;
		max-width: 100%;
		padding: 0 20px;
		box-sizing: border-box;
	}

	.ml-home-slider .ml-slider-track {
		display: grid;
		grid-template-columns: 1fr;
		gap: 100px;
		transform: none !important;
	}
	.ml-home-slider .ml-slide {
		flex: initial;
		width: 100%;
		max-width: 100%;
	}

	.ml-card--home {
		display: block;
		padding: 28px 24px 22px;
		min-height: auto;
	}

	.ml-home-slider .ml-card-content {
		display: grid;
		grid-template-rows: auto 1fr auto;
		height: 100%;
		width: 100%;
	}

	.ml-archive-list {
		gap: 20px;
	}

	.ml-card--archive {
		padding: 32px 24px;
	}

	.ml-card-quote-mark {
		font-size: 100px;
		top: 0;
		line-height: 0.85;
	}

	.ml-home-slider .ml-rating {
		margin-bottom: 25px;
		font-size: 0.92rem;
		letter-spacing: 3px;
	}

	.ml-home-slider .ml-star svg {
		width: 28px;
		height: 28px;
	}

	.ml-rating {
		padding-top: 0;
		margin-bottom: 20px;
	}

	.ml-home-slider .ml-card-title {
		font-size: 1.35rem;
		margin-bottom: 14px;
	}

	.ml-home-slider .ml-card-text {
		font-size: 25px;
		line-height: 1.5;
	}

	.ml-home-slider .ml-card-text p {
		margin-bottom: 0;
	}

	.ml-card-text {
		font-size: 25px;
		line-height: 1.5;
	}

	.ml-card-text--archive {
		font-family: "Cormorant Garamond", Georgia, serif;
		font-size: 25px;
		line-height: 1.5;
		text-align: center;
		max-width: none;
	}

	.ml-card-author--signature {
		gap: 14px;
		margin-top: 0;
		padding-top: 0;
	}

	.ml-card-author-badge {
		width: 46px;
		height: 46px;
		font-size: 0.85rem;
	}

	.ml-card-author-photo {
		width: 46px;
		height: 46px;
		flex-basis: 46px;
	}

	.ml-card-separator {
		margin: 24px 0 18px;
	}

	.ml-home-slider .ml-card-author {
		margin-top: 0;
		padding-top: 0;
	}

	.ml-home-slider .ml-card-author strong {
		font-family: "Inter", Arial, sans-serif;
		font-size: 16px;
		font-weight: 700;
		letter-spacing: 0.9px;
		text-transform: uppercase;
		color: #223121;
	}

	.ml-home-slider .ml-card-author span {
		margin-top: 5px;
		font-size: 0.78rem;
		letter-spacing: 0.12em;
	}

	.ml-home-slider .ml-slider-controls {
		display: none;
	}

	.ml-home-slider .ml-slider-button {
		width: 38px;
		height: 38px;
	}
}