/**
 * Carousel sections — "What other women have asked us" and the review wall.
 *
 * Built from the supplied design, with one deliberate difference: the original
 * used a global `*{box-sizing:border-box;margin:0;padding:0}` reset and styled
 * bare h2/h3/p/a. A plugin cannot do that — it would silently restyle the whole
 * theme. So every rule here is scoped under .mp-aod-sec and the reset is applied
 * only to elements inside it.
 *
 * Fonts are NOT loaded here. The design calls for Open Sans, which the theme
 * already serves; loading it again from the plugin would add a second network
 * request for a font the page already has.
 */

.mp-aod-sec {
	--mp-base-wash: #FBF1F3;
	--mp-baby: #FBE1E8;
	--mp-light-pink: #F8D5DF;
	--mp-lav: #E6DFF4;
	--mp-lav-mid: #C9BBE8;
	--mp-peach: #FBE6DC;
	--mp-berry: var(--wp--preset--color--berry, #8E2C4E);
	--mp-berry-hover: #7A2542;
	--mp-black: #000;
	--mp-ink: #1A1A1A;
	--mp-muted: #645A60;
	--mp-line: #F1E0E6;
	--mp-r-lg: 24px;
	--mp-maxw: 1120px;

	padding: 80px 0;
	color: var(--mp-ink);
	line-height: 1.6;
}

/* Scoped reset — inside the section only, never the whole document. */
.mp-aod-sec *,
.mp-aod-sec *::before,
.mp-aod-sec *::after {
	box-sizing: border-box;
}

.mp-aod-sec--tint {
	background: var(--mp-base-wash);
}

.mp-aod-sec-wrap {
	max-width: var(--mp-maxw);
	margin: 0 auto;
	padding: 0 24px;
}

/* ---------- section head ---------- */

.mp-aod-eyebrow {
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--mp-berry);
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 14px;
}

.mp-aod-eyebrow::before {
	content: "";
	width: 20px;
	height: 2px;
	background: var(--mp-berry);
	border-radius: 2px;
}

.mp-aod-sec-head {
	text-align: center;
	max-width: 660px;
	margin: 0 auto 40px;
}

.mp-aod-sec-head h2 {
	font-size: clamp(1.7rem, 3.4vw, 2.3rem);
	line-height: 1.18;
	letter-spacing: -.02em;
	font-weight: 800;
	color: var(--mp-black);
	margin: 0 0 10px;
}

.mp-aod-sec-head p {
	color: #000;
	font-size: inherit; /* the theme's own body size, no override */
	margin: 0;
}

/* ---------- slider mechanics (shared) ---------- */

.mp-aod-slider {
	position: relative;
}

.mp-aod-slider-viewport {
	overflow: hidden;
	touch-action: pan-y;
	cursor: grab;
	-webkit-user-select: none;
	user-select: none;
}

.mp-aod-slider-viewport.is-grabbing {
	cursor: grabbing;
}

.mp-aod-slider-track {
	display: flex;
	align-items: stretch;
	transition: transform .45s cubic-bezier(.5, 0, .2, 1);
	will-change: transform;
}

.mp-aod-slide {
	display: flex;
}

.mp-aod-qa-track > .mp-aod-slide {
	flex: 0 0 50%;
	padding: 0 12px;
}

.mp-aod-rev-track > .mp-aod-slide {
	flex: 0 0 25%;
	padding: 0 10px;
}

.mp-aod-spot-track > .mp-aod-slide {
	flex: 0 0 100%;
}

/* Arrows sit on the sides — icon only, no chrome. */
.mp-aod-s-arrow {
	position: absolute;
	top: 42%;
	transform: translateY(-50%);
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: none;
	border: none;
	box-shadow: none;
	padding: 0;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--mp-berry);
	z-index: 2;
	transition: color .2s;
}

.mp-aod-s-arrow:hover {
	color: var(--mp-berry-hover);
}

.mp-aod-s-arrow svg {
	width: 42px;
	height: 42px;
}

.mp-aod-s-arrow.is-prev {
	left: -22px;
}

.mp-aod-s-arrow.is-next {
	right: -22px;
}

.mp-aod-dots {
	display: flex;
	gap: 8px;
	justify-content: center;
	margin-top: 24px;
}

.mp-aod-dots button {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--mp-lav-mid);
	border: none;
	cursor: pointer;
	padding: 0;
	transition: .25s;
}

.mp-aod-dots button.is-active {
	background: var(--mp-berry);
	width: 24px;
	border-radius: 6px;
}

/* ---------- Q&A cards ---------- */

.mp-aod-qa-card {
	background: #fff;
	border: 1px solid var(--mp-line);
	border-radius: var(--mp-r-lg);
	padding: 24px;
	height: 100%;
	width: 100%;
	box-sizing: border-box; /* padding+border inside the 100% — without this
	                           the card outgrows its slide and the viewport
	                           clips the bottom border */
	display: flex;
	flex-direction: column;
}

.mp-aod-qa-card h3 {
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.4;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
	letter-spacing: -.02em;
	color: var(--mp-black);
	margin: 0 0 8px;
}

.mp-aod-qa-card h3 a {
	color: inherit;
	text-decoration: none;
}

.mp-aod-qa-card h3 a:hover {
	color: var(--mp-berry);
}

.mp-aod-qa-meta {
	font-size: .76rem;
	color: var(--mp-muted);
	font-weight: 600;
	margin: 0 0 10px;
}

.mp-aod-qa-meta a {
	color: var(--mp-berry);
	text-decoration: none;
}

.mp-aod-qa-meta a:hover {
	color: var(--mp-berry-hover);
}

.mp-aod-qa-answer {
	font-size: .9rem;
	color: var(--mp-ink);
	margin: 0 0 12px;
	flex: 1;
	display: -webkit-box;
	-webkit-line-clamp: 6;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.mp-aod-qa-more {
	font-size: .94rem;
	font-weight: 700;
	color: var(--mp-berry);
	text-decoration: none !important;
	transition: color .18s ease;
}

.mp-aod-qa-more:hover {
	color: var(--mp-berry-hover);
	text-decoration: none !important;
}

/* The arrow steps forward on hover; the colour change carries the link. */
.mp-aod-arr {
	display: inline-block;
	transition: transform .18s ease;
}

.mp-aod-qa-more:hover .mp-aod-arr {
	transform: translateX(3px);
}

/* ---------- review cards ---------- */

.mp-aod-rcard {
	background: #fff;
	border: 1px solid var(--mp-line);
	border-radius: var(--mp-r-lg);
	padding: 22px;
	width: 100%;
	display: flex;
	flex-direction: column;
}

.mp-aod-rcard-who {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
}

.mp-aod-rcard-av {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	font-size: .74rem;
	color: var(--mp-black);
	flex: 0 0 auto;
}

.mp-aod-rcard-name {
	font-size: .84rem;
	font-weight: 700;
	color: var(--mp-black);
}

.mp-aod-rcard p {
	font-size: .86rem;
	color: var(--mp-ink);
	margin: 0;
}

/* ---------- responsive ---------- */

@media (max-width: 960px) {
	.mp-aod-qa-track > .mp-aod-slide {
		flex: 0 0 100%;
	}

	.mp-aod-rev-track > .mp-aod-slide {
		flex: 0 0 50%;
	}
}

@media (max-width: 560px) {
	.mp-aod-sec {
		padding: 56px 0;
	}

	.mp-aod-sec-wrap {
		padding: 0 18px;
	}

	.mp-aod-rev-track > .mp-aod-slide {
		flex: 0 0 100%;
	}

	.mp-aod-s-arrow.is-prev {
		left: -20px;
	}

	.mp-aod-s-arrow.is-next {
		right: -20px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.mp-aod-sec *,
	.mp-aod-slider-track {
		animation: none !important;
		transition: none !important;
	}
}

/* =========================================================================
 * Review spotlight — [mp_reviews_spotlight]
 * One large centred card at a time. Shares the slider mechanics above; only
 * the card styling differs. No stars, no location — reviews store neither.
 * ====================================================================== */

.mp-aod-spot {
	max-width: 720px;
	margin: 0 auto;
}

.mp-aod-spot-card {
	background: #fff;
	border: 1px solid var(--mp-line);
	border-radius: var(--mp-r-lg);
	padding: 44px 46px;
	margin: 4px;
	text-align: center;
	width: 100%;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
}

.mp-aod-spot-quote {
	font-size: 1.2rem;
	line-height: 1.6;
	color: var(--mp-ink);
	font-weight: 600;
	margin: 0 0 22px;
	/* straight quotes look flat; curly ones read as a real testimonial */
	quotes: "\201C" "\201D";
}

.mp-aod-spot-quote::before {
	content: open-quote;
}

.mp-aod-spot-quote::after {
	content: close-quote;
}

.mp-aod-spot-who {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
}

.mp-aod-spot-av {
	width: 46px;
	height: 46px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	font-size: 1rem;
	color: var(--mp-black);
	flex: 0 0 auto;
}

.mp-aod-spot-name {
	color: var(--mp-black);
	font-size: .95rem;
	font-weight: 700;
}

@media (max-width: 560px) {
	.mp-aod-spot-card {
		padding: 32px 24px;
	}

	.mp-aod-spot-quote {
		font-size: 1.05rem;
	}
}

/* Mobile: the card question a touch smaller again. */
@media (max-width: 600px) {
	.mp-aod-qa-card h3 {
		font-size: 1rem;
	}
}
