/**
 * MP Ask Our Doctors — patient pages.
 *
 * Everything is scoped under .mp-aod.
 *
 * The design arrived as a standalone page, which opened with
 * `*{box-sizing:border-box;margin:0;padding:0}` and styled bare h1/h2/a. That
 * is correct for a page that owns the document and catastrophic inside one that
 * does not: it would strip margins from every block in the theme's header,
 * footer, and any content the page holds around this shortcode.
 *
 * Tokens are read from theme.json with the design's hex as fallback, so brand
 * changes made in the Site Editor reach this page too.
 */

.mp-aod {
	--mp-berry: var(--wp--preset--color--berry, #8E2C4E);
	--mp-berry-hover: #7A2542;
	--mp-base-wash: #FBF1F3;
	--mp-baby: #FBE1E8;
	--mp-light-pink: #F8D5DF;
	--mp-lav-mid: #C9BBE8;
	--mp-ivory: #FCF8F5;
	--mp-black: #000;
	--mp-ink: #1A1A1A;
	--mp-muted: #645A60;
	--mp-line: #E4C9D2;         /* matched to the form — was too faint at #F1E0E6 */
	--mp-line-soft: #F1E0E6;    /* hairline dividers keep the softer tone */
	--mp-sage: #8DA79B;
	--mp-sage-soft: #E7F0EB;
	--mp-sage-line: #CDE0D6;
	--mp-sage-ink: #3A5349;
	--mp-shadow-sm: 0 2px 10px rgba(0, 0, 0, .05);
	--mp-r-lg: 24px;

	max-width: 760px;
	margin: 0 auto;
	color: var(--mp-ink);
	line-height: 1.6;
}

/* ---------- utility bar ---------- */

.mp-aod-utility {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-bottom: 18px;
	margin-bottom: 26px;
	border-bottom: 1px solid var(--mp-line-soft);
}

.mp-aod-back {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: .88rem;
	font-weight: 700;
	color: var(--mp-ink);
	text-decoration: none;
}

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

.mp-aod-signout {
	font-size: .86rem;
	font-weight: 700;
	color: var(--mp-muted);
	background: var(--mp-base-wash);
	border: 1.5px solid var(--mp-line);
	border-radius: 100px;
	padding: 8px 18px;
	text-decoration: none;
	white-space: nowrap;
	flex: 0 0 auto;
}

.mp-aod-signout:hover {
	color: var(--mp-berry);
	border-color: var(--mp-berry);
}

/* ---------- status ---------- */

.mp-aod-status-row {
	margin-bottom: 18px;
}

.mp-aod-pill {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: .78rem;
	font-weight: 700;
	color: var(--mp-sage-ink);
	background: var(--mp-sage-soft);
	border: 1px solid var(--mp-sage-line);
	border-radius: 100px;
	padding: 7px 14px;
}

.mp-aod-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--mp-sage);
	flex: 0 0 auto;
}

/* ---------- her question ---------- */

.mp-aod-asked {
	background: var(--mp-base-wash);
	border-radius: var(--mp-r-lg);
	padding: 22px 24px;
	margin-bottom: 22px;
}

.mp-aod-tag {
	display: block;
	font-size: .7rem;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--mp-berry);
	margin-bottom: 8px;
}

.mp-aod-asked p {
	font-size: 1.02rem;
	color: var(--mp-ink);
	font-weight: 600;
	margin: 0 0 8px;
	white-space: pre-wrap;
}

.mp-aod-when {
	font-size: .78rem;
	color: var(--mp-muted);
	font-weight: 600;
}

/* ---------- byline ---------- */

/*
 * Mirrors MP Article Meta's .byline — same shape, same proportions, same
 * behaviour. A woman who reads an article and then reads her answer should see
 * the same doctor presented the same way, because it is the same record.
 */

.mp-aod-byline {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
	margin-bottom: 26px;
	padding-bottom: 22px;
	border-bottom: 1px solid var(--mp-line-soft);
}

.mp-aod-avs {
	display: flex;
	flex: 0 0 auto;
}

.mp-aod-av {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	border: 2px solid #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	font-size: .82rem;
	color: var(--mp-ink);
	background-size: cover;
	background-position: center;
	box-shadow: 0 1px 4px rgba(0, 0, 0, .08);
	flex: 0 0 auto;
}

.mp-aod-who {
	font-size: .86rem;
	color: var(--mp-muted);
	line-height: 1.4;
	min-width: 0;
}

.mp-aod-who a,
.mp-aod-who strong {
	color: var(--mp-ink);
	font-weight: 700;
	text-decoration: none;
}

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

.mp-aod-role {
	color: var(--mp-muted);
	font-weight: 600;
}

.mp-aod-bio {
	color: var(--mp-muted);
	font-weight: 400;
}

/* ---------- heading + intro ---------- */

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

.mp-aod-intro {
	font-size: 1rem;
	line-height: 1.65;
	color: var(--mp-muted);
	margin: 0 0 26px;
}

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

.mp-aod-card {
	background: #fff;
	border: 1.5px solid var(--mp-line);
	border-radius: var(--mp-r-lg);
	padding: 28px;
	box-shadow: var(--mp-shadow-sm);
}

.mp-aod-note {
	background: var(--mp-base-wash);
	border-radius: 16px;
	padding: 16px 18px;
}

.mp-aod-note p {
	margin: 0;
	font-size: .86rem;
	line-height: 1.6;
	color: var(--mp-muted);
}

/* ---------- the answer ---------- */

.mp-aod-body {
	padding-bottom: 10px;
}

.mp-aod-body p {
	font-size: 1rem;
	color: var(--mp-ink);
	margin: 0 0 16px;
}

.mp-aod-body p:last-child {
	margin-bottom: 0;
}

.mp-aod-body h2,
.mp-aod-body h3 {
	color: var(--mp-black);
	line-height: 1.25;
	margin: 28px 0 10px;
}

.mp-aod-body h2 {
	font-size: 1.3rem;
}

.mp-aod-body h3 {
	font-size: 1.08rem;
}

.mp-aod-body ul,
.mp-aod-body ol {
	margin: 0 0 16px 1.2em;
	padding: 0;
}

.mp-aod-body li {
	margin-bottom: .45em;
}

.mp-aod-body a {
	color: var(--mp-berry);
	text-decoration: none;
	transition: color .15s ease;
}

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

.mp-aod-body a:hover {
	text-decoration: none;
}

/* ---------- signpost ---------- */

.mp-aod-body .mp-signpost {
	background: var(--mp-base-wash);
	border-left: 3px solid var(--mp-berry);
	border-radius: 0 12px 12px 0;
	padding: 16px 18px;
	margin: 24px 0;
}

.mp-signpost-label {
	display: block;
	font-size: .7rem;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--mp-berry);
	margin-bottom: 6px;
}

.mp-signpost-body p {
	margin: 0 0 .6em;
	font-size: .98rem;
	line-height: 1.65;
}

.mp-signpost-body p:last-child {
	margin-bottom: 0;
}

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

.mp-aod-review-wrap {
	position: relative;
	/*
	 * overflow-x:clip, not hidden. hidden on an ancestor silently breaks
	 * position:sticky further up the tree — which would kill the theme's
	 * sticky header on this page only, and look like a header bug.
	 */
	overflow-x: clip;
	background: var(--mp-base-wash);
	border-radius: var(--mp-r-lg);
	padding: 40px 24px;
	margin: 48px 0 8px;
}

.mp-aod-bubbles {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
}

.mp-aod-bubble {
	position: absolute;
	border-radius: 50%;
}

.mp-aod-rate {
	position: relative;
	z-index: 1;
	background: #fff;
	border: 1.5px solid var(--mp-line);
	border-radius: var(--mp-r-lg);
	padding: 32px;
	box-shadow: var(--mp-shadow-sm);
}

.mp-aod-rate h2 {
	font-size: 1.25rem;
	margin: 0 0 6px;
	color: var(--mp-black);
	line-height: 1.2;
}

.mp-aod-rate-sub {
	color: var(--mp-muted);
	font-size: .92rem;
	margin: 0 0 20px;
}

.mp-aod-thumbs {
	display: flex;
	gap: 12px;
	margin-bottom: 16px;
	flex-wrap: wrap;
}

.mp-aod-thumb {
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 12px 20px;
	border-radius: 100px;
	border: 1.5px solid var(--mp-line);
	background: #fff;
	font-family: inherit;
	font-size: .92rem;
	font-weight: 700;
	color: var(--mp-ink);
	cursor: pointer;
	transition: .18s;
}

.mp-aod-thumb svg {
	flex: 0 0 auto;
}

.mp-aod-thumb:hover {
	border-color: var(--mp-berry);
}

.mp-aod-thumb.selected.up {
	background: var(--mp-sage-soft);
	border-color: var(--mp-sage-line);
	color: var(--mp-sage-ink);
}

.mp-aod-thumb.selected.down {
	background: var(--mp-base-wash);
	border-color: var(--mp-line);
	color: var(--mp-berry);
}

.mp-aod-rate-detail {
	max-height: 0;
	overflow: hidden;
	transition: max-height .3s ease;
}

.mp-aod-rate-detail.open {
	/*
	 * Generous on purpose. max-height animation clips silently when the content
	 * outgrows it, and the consent line below the textarea pushed the old 240px
	 * right to the edge — on a narrow phone it wrapped to three lines and the
	 * bottom vanished with no scrollbar to hint why.
	 */
	max-height: 420px;
}

.mp-aod-rate textarea {
	width: 100%;
	box-sizing: border-box; /* padding stays inside — no overflow onto the border */
	border: 1.5px solid var(--mp-line);
	border-radius: 12px;
	padding: 13px 15px;
	font-family: inherit;
	/*
	 * 16px exactly, not .95rem.
	 *
	 * iOS Safari zooms the whole viewport when you focus an input whose
	 * font-size is under 16px — the page jumps, the layout blows out, and she
	 * has to pinch back. It is the single most common "this box is not mobile
	 * friendly" bug and it is invisible on a desktop.
	 */
	font-size: 16px;
	line-height: 1.5;
	color: var(--mp-ink);
	background: var(--mp-ivory);
	outline: none;
	min-height: 90px;
	resize: vertical;
	margin: 4px 0 10px;
	-webkit-appearance: none;
	appearance: none;
}

.mp-aod-rate textarea:focus {
	border-color: var(--mp-berry);
	background: #fff;
}

.mp-aod-rate-err {
	color: var(--mp-berry);
	font-size: .86rem;
	font-weight: 600;
	margin: 0 0 10px;
}

.mp-aod-rate-as {
	font-size: .78rem;
	color: var(--mp-muted);
	margin: 12px 0 0;
}

.mp-aod-rate-thanks {
	display: none;
	text-align: center;
	padding: 12px 0 4px;
}

.mp-aod-check {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--mp-sage-soft);
	color: var(--mp-sage-ink);
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 12px;
}

.mp-aod-rate-thanks h3 {
	font-size: 1.1rem;
	margin: 0 0 4px;
	color: var(--mp-black);
}

.mp-aod-rate-thanks p {
	color: var(--mp-muted);
	font-size: .9rem;
	margin: 0;
}

.mp-aod-rate.is-done .mp-aod-rate-form {
	display: none;
}

.mp-aod-rate.is-done .mp-aod-rate-thanks {
	display: block;
}

/* ---------- buttons ---------- */

.mp-aod .mp-aod-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	font-weight: 700;
	font-size: .95rem;
	padding: 14px 26px;
	border-radius: 100px;
	border: 1.5px solid transparent;
	cursor: pointer;
	font-family: inherit;
	text-decoration: none;
	transition: transform .18s, box-shadow .18s, background .18s;
}

.mp-aod .mp-aod-btn-primary {
	background: var(--mp-berry);
	color: #fff;
	box-shadow: 0 10px 24px rgba(142, 44, 78, .24);
}

.mp-aod .mp-aod-btn-primary:hover {
	background: var(--mp-berry-hover);
	transform: translateY(-2px);
	color: #fff;
}

/* ---------- list ---------- */

.mp-aod-area-sub {
	font-size: 1rem;
	line-height: 1.6;
	color: var(--mp-muted);
	margin: 6px 0 28px;
	max-width: 60ch;
}

.mp-aod-area-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	margin-bottom: 8px;
}

.mp-aod-area-head h1 {
	font-size: clamp(2rem, 4vw, 2.7rem);
	color: var(--mp-black);
	line-height: 1.18;
	letter-spacing: -.02em;
	margin: 0;
}

.mp-aod-qlist {
	margin-top: 34px;
	border-top: 1px solid var(--mp-line);
}

.mp-aod-qrow {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 26px 4px;
	border-bottom: 1px solid var(--mp-line-soft);
	text-decoration: none;
	transition: padding-left .18s;
}

.mp-aod-qrow:hover {
	padding-left: 8px;
}

.mp-aod-qmain {
	min-width: 0;
}

.mp-aod-qtitle {
	display: block;
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--mp-black);
	margin-bottom: 6px;
	transition: color .18s;
	line-height: 1.35;
}

.mp-aod-qrow:hover .mp-aod-qtitle {
	color: var(--mp-berry);
}

.mp-aod-qmeta {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: .84rem;
	color: var(--mp-muted);
	font-weight: 600;
	flex-wrap: wrap;
}

.mp-aod-qstatus {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--mp-sage-ink);
}

.mp-aod-qarrow {
	flex: 0 0 auto;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--mp-base-wash);
	color: var(--mp-berry);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform .18s, background .18s;
}

.mp-aod-qrow:hover .mp-aod-qarrow {
	background: var(--mp-berry);
	color: #fff;
	transform: translateX(3px);
}

.mp-aod-empty {
	text-align: center;
	padding: 60px 20px;
	color: var(--mp-muted);
}

/* ---------- login help ---------- */

.mp-aod-narrow {
	max-width: 520px;
	/* this login screen is short; a little breathing room stops the footer
	   riding up under the card and the page looking half-empty */
	padding-bottom: 64px;
}

.mp-aod-relink label {
	display: block;
	font-size: .85rem;
	font-weight: 700;
	margin-bottom: 6px;
	color: var(--mp-black);
}

.mp-aod-relink input {
	width: 100%;
	box-sizing: border-box; /* keep 100% width + padding INSIDE the box, so it
	                           doesn't overflow and touch the card border */
	border: 1.5px solid var(--mp-line);
	border-radius: 12px;
	padding: 13px 15px;
	font-family: inherit;
	font-size: 16px; /* 16px: stop iOS zooming on focus */
	background: var(--mp-ivory);
	margin-bottom: 12px;
}

.mp-aod-relink input:focus {
	border-color: var(--mp-berry);
	background: #fff;
	outline: none;
}

.mp-aod-small {
	font-size: .88rem;
	color: var(--mp-muted);
	line-height: 1.6;
}

.mp-aod :focus-visible {
	outline: 3px solid var(--mp-berry);
	outline-offset: 2px;
	border-radius: 6px;
}

.mp-aod-rate-consent {
	font-size: .78rem;
	line-height: 1.55;
	color: var(--mp-muted);
	margin: 0 0 14px;
}

.mp-aod-rate-consent strong {
	color: var(--mp-ink);
}

/* ---------- review wall ---------- */

.mp-aod-wall {
	max-width: 1120px;
}

.mp-aod-wall-title {
	font-size: clamp(1.6rem, 3vw, 2.1rem);
	color: var(--mp-black);
	font-weight: 800;
	letter-spacing: -.02em;
	text-align: center;
	margin: 0 0 28px;
}

.mp-aod-wall-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 18px;
}

.mp-aod-wall-card {
	background: #fff;
	border: 1.5px solid var(--mp-line);
	border-radius: var(--mp-r-lg);
	padding: 24px;
	margin: 0;
	box-shadow: var(--mp-shadow-sm);
}

.mp-aod-wall-card blockquote {
	margin: 0 0 16px;
	padding: 0;
	border: none;
	font-size: .95rem;
	line-height: 1.65;
	color: var(--mp-ink);
}

.mp-aod-wall-card blockquote::before {
	content: "\201C";
	color: var(--mp-berry);
	font-size: 2rem;
	font-weight: 800;
	line-height: 0;
	vertical-align: -.35em;
	margin-right: 2px;
}

.mp-aod-wall-card figcaption {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
	font-size: .8rem;
	padding-top: 14px;
	border-top: 1px solid var(--mp-line);
}

.mp-aod-wall-who {
	font-weight: 800;
	color: var(--mp-berry);
}

.mp-aod-wall-when {
	color: var(--mp-muted);
	font-weight: 600;
}

@media (max-width: 640px) {
	.mp-aod-rate {
		padding: 22px 16px;
	}

	.mp-aod-review-wrap {
		padding: 24px 12px;
	}

	.mp-aod-thumbs {
		gap: 8px;
	}

	.mp-aod-thumb {
		flex: 1 1 0;
		justify-content: center;
		padding: 12px 10px;
		font-size: .86rem;
		min-width: 0;
	}

	.mp-aod-rate h2 {
		font-size: 1.15rem;
	}

	/* Full width — a 26px pill floating on a phone reads as decoration. */
	.mp-aod .mp-aod-btn-primary {
		width: 100%;
	}

	.mp-aod-rate-detail.open {
		max-height: 520px;
	}

	.mp-aod-wall-grid {
		grid-template-columns: 1fr;
	}
}

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

/* Sits inside a card on the login-help page, so no outer margin. */
.mp-aod-card .mp-aod-relink {
	margin: 0;
}

.mp-aod-card .mp-aod-small {
	margin: 14px 0 0;
}

/* The bare re-login screen shown on the single-answer URL when logged out.
   Deliberately plain — none of the answer page's design belongs here. */
.mp-aod-standalone-login {
	max-width: 520px;
	margin: 40px auto;
	text-align: center;
}

/* keep the form fields left-aligned inside the centered block — a centered
   label above a full-width input reads oddly, but the heading and intro
   centering is what was asked for */
.mp-aod-standalone-login .mp-aod-relink {
	text-align: left;
}

.mp-aod-nudge {
	max-width: 620px;
	margin: 40px auto;
	padding: 24px 26px;
	background: var(--mp-wash, #FBF1F3);
	border-radius: 16px;
	text-align: center;
	color: var(--mp-muted, #645A60);
}

.mp-aod-nudge a {
	color: var(--mp-berry, #8E2C4E);
	font-weight: 700;
}


/* ---------------------------------------------------------------
 * Desktop type scale — mirrors the form. Mobile untouched.
 * ------------------------------------------------------------ */
@media (min-width: 768px) {
	.mp-aod-asked p {
		font-size: 1.12rem;
	}

	.mp-aod-body p,
	.mp-aod-body li {
		font-size: 1.08rem;
		line-height: 1.75;
	}

	.mp-aod-body h2 {
		font-size: 1.5rem;
	}

	.mp-aod-body h3 {
		font-size: 1.2rem;
	}

	.mp-aod-h1 {
		font-size: clamp(2rem, 3.4vw, 2.5rem);
	}

	.mp-aod-rate h2 {
		font-size: 1.4rem;
	}
}

/* List page: breathing room at the bottom so the footer doesn't ride up. */
.mp-aod-qlist {
	margin-bottom: 64px;
}

.mp-aod-empty {
	margin-bottom: 64px;
}

/* =========================================================================
 * ANSWER PAGE REDESIGN (v0.34) — scoped to .mp-aod-v2 so the other
 * patient pages (login help, my-answers list) keep their existing layout.
 * Lives at the end of the file on purpose: these override earlier base rules
 * by source order. Design source: mp-aod-answer-redesign preview.
 * ====================================================================== */

.mp-aod-v2 {
	--mp-berry-deep: #6E1F39;
	--mp-rose-fill: #F7D5DF;

	position: relative;
	max-width: 1120px;
	padding: 28px clamp(18px, 5vw, 50px) clamp(50px, 7vw, 90px);
	margin-block-start: 0 !important;
	overflow: hidden;
}

/* Two-glow hero wash — pink top-right, lavender bottom-left. */
.mp-aod-v2::before {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: 560px;
	background:
		radial-gradient(620px 340px at 88% -60px, rgba(251, 225, 232, .75), transparent 70%),
		radial-gradient(520px 320px at -6% 480px, rgba(201, 187, 232, .35), transparent 70%);
	pointer-events: none;
	z-index: 0;
}

.mp-aod-v2 > * {
	position: relative;
	z-index: 1;
}

/* ---------- Hero ---------- */
.mp-aod-v2 .mp-aod-hero {
	max-width: 760px;
	margin: 0 auto clamp(34px, 5vw, 52px);
	text-align: center;
}

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

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

.mp-aod-v2 .mp-aod-status-row {
	margin: 0 0 18px;
}

.mp-aod-v2 .mp-aod-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #fff;
	border: 1px solid var(--mp-line-soft);
	border-radius: 999px;
	padding: 7px 16px;
	font-size: .84rem;
	font-weight: 700;
	color: var(--mp-ink);
	box-shadow: 0 2px 8px rgba(142, 44, 78, .08);
}

.mp-aod-v2 .mp-aod-dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--mp-sage);
	box-shadow: 0 0 0 0 rgba(141, 167, 155, .5);
	animation: mp-aod-ans-pulse 2.2s ease-out infinite;
}

@keyframes mp-aod-ans-pulse {
	0%   { box-shadow: 0 0 0 0 rgba(141, 167, 155, .45); }
	70%  { box-shadow: 0 0 0 8px rgba(141, 167, 155, 0); }
	100% { box-shadow: 0 0 0 0 rgba(141, 167, 155, 0); }
}

.mp-aod-v2 .mp-aod-h1 {
	font-size: clamp(1.9rem, 1.9rem + ((1vw - 0.2rem) * 1.8), 2.8rem);
	font-weight: 800;
	line-height: 1.25;
	margin: 0 0 10px;
	color: var(--mp-ink);
}

.mp-aod-v2 .mp-aod-hero-sub {
	color: var(--mp-muted);
	font-size: .98rem;
	margin: 0;
}

/* ---------- Q -> A thread ---------- */
.mp-aod-v2 .mp-aod-thread {
	max-width: 880px;
	margin: 0 auto;
}

.mp-aod-v2 .mp-aod-node {
	position: relative;
}

.mp-aod-v2 .mp-aod-asked {
	background: var(--mp-ivory);
	border: 1px solid var(--mp-line-soft);
	border-radius: 18px;
	padding: 22px 26px 18px;
	margin-bottom: 26px;
}

.mp-aod-v2 .mp-aod-tag {
	display: inline-block;
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--mp-berry);
	margin-bottom: 6px;
}

.mp-aod-v2 .mp-aod-asked p {
	margin: 0 0 8px;
	font-size: 1.06rem;
	font-weight: 600;
	color: var(--mp-ink);
	line-height: 1.6;
}

.mp-aod-v2 .mp-aod-when {
	font-size: .82rem;
	color: var(--mp-muted);
}

/* ---------- Answer card ---------- */
.mp-aod-v2 .mp-aod-answer {
	background: #fff;
	border: 1px solid var(--mp-line-soft);
	border-radius: 18px;
	box-shadow: 0 10px 32px rgba(142, 44, 78, .09);
	overflow: hidden;
	margin-bottom: clamp(38px, 6vw, 56px);
}

.mp-aod-v2 .mp-aod-letterhead {
	display: flex;
	align-items: center;
	gap: 15px;
	padding: 20px 26px;
	background: linear-gradient(to right, var(--mp-ivory), #fff);
	border-bottom: 1px solid var(--mp-line-soft);
}

/* The letterhead avatar — sized here; the base .mp-aod-av look (photo cover
   or initials) comes from the shared rule. */
.mp-aod-v2 .mp-aod-letterhead .mp-aod-av {
	flex: none;
	width: 54px;
	height: 54px;
	border-radius: 50%;
	background-size: cover;
	background-position: center;
	border: 2px solid #fff;
	box-shadow: 0 0 0 2px var(--mp-light-pink);
	font-size: 1rem;
	line-height: 50px;
	text-align: center;
}

.mp-aod-v2 .mp-aod-who {
	line-height: 1.45;
}

.mp-aod-v2 .mp-aod-who-label {
	display: block;
	font-size: .74rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--mp-muted);
}

.mp-aod-v2 .mp-aod-who a,
.mp-aod-v2 .mp-aod-who-name {
	color: var(--mp-berry-deep);
	font-weight: 700;
	font-size: 1.02rem;
	text-decoration: none;
	transition: color .18s ease;
}

.mp-aod-v2 .mp-aod-who a:hover {
	color: var(--mp-berry);
}

.mp-aod-v2 .mp-aod-verified {
	display: flex;
	width: fit-content;
	align-items: center;
	gap: 6px;
	margin-top: 5px;
	padding: 4px 12px 4px 9px;
	background: rgba(141, 167, 155, .14);
	border: 1px solid rgba(141, 167, 155, .45);
	border-radius: 999px;
	font-size: .74rem;
	font-weight: 700;
	letter-spacing: .02em;
	color: #5F7A6D;
	white-space: nowrap;
}

.mp-aod-v2 .mp-aod-verified svg {
	flex: none;
}

.mp-aod-v2 .mp-aod-answer .mp-aod-body {
	padding: 26px 26px 8px;
}

.mp-aod-v2 .mp-aod-answer .mp-aod-body p {
	margin: 0 0 1.1em;
}

.mp-aod-v2 .mp-aod-answer .mp-aod-body p:first-child::first-letter {
	color: var(--mp-berry);
	font-weight: 700;
}

/* Educational-guidance strip inside the answer card. */
.mp-aod-v2 .mp-aod-ans-note {
	display: flex;
	gap: 11px;
	align-items: flex-start;
	margin: 10px 26px 24px;
	padding: 13px 16px;
	background: var(--mp-ivory);
	border: 1px solid var(--mp-line-soft);
	border-radius: 12px;
	font-size: .84rem;
	color: var(--mp-muted);
	line-height: 1.6;
}

.mp-aod-v2 .mp-aod-ans-note svg {
	flex: none;
	margin-top: 3px;
	color: var(--mp-berry);
}

/* ---------- Feedback ---------- */
.mp-aod-v2 .mp-aod-review-wrap {
	position: relative;
	max-width: 880px;
	margin: 0 auto;
	background: var(--mp-ivory);
	border: 1px solid var(--mp-line-soft);
	border-radius: 22px;
	padding: clamp(28px, 5vw, 42px);
	overflow: hidden;
}

.mp-aod-v2 .mp-aod-rate {
	position: relative;
	text-align: center;
}

.mp-aod-v2 .mp-aod-rate h2 {
	font-size: 1.3rem;
	font-weight: 800;
	margin: 0 0 6px;
	line-height: 1.4;
}

.mp-aod-v2 .mp-aod-rate-sub {
	color: var(--mp-muted);
	font-size: .92rem;
	margin: 0 0 22px;
}

.mp-aod-v2 .mp-aod-thumbs {
	display: flex;
	justify-content: center;
	gap: 12px;
	flex-wrap: wrap;
}

.mp-aod-v2 .mp-aod-thumb {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 12px 26px;
	background: #fff;
	border: 1.5px solid var(--mp-line);
	border-radius: 999px;
	font-family: inherit;
	font-size: .95rem;
	font-weight: 700;
	color: var(--mp-ink);
	cursor: pointer;
	transition: border-color .18s ease, background .18s ease, color .18s ease, transform .12s ease;
}

.mp-aod-v2 .mp-aod-thumb:hover {
	border-color: var(--mp-berry);
	transform: translateY(-1px);
}

/* review.js toggles .selected — the design's is-on state, same look. */
.mp-aod-v2 .mp-aod-thumb.selected {
	background: var(--mp-berry);
	border-color: var(--mp-berry);
	color: #fff;
}

.mp-aod-v2 .mp-aod-thumb.selected svg {
	stroke: #fff;
}

/* review.js adds .open — the design's is-open state. */
.mp-aod-v2 .mp-aod-rate-detail {
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	transition: max-height .3s ease, opacity .3s ease, margin .3s ease;
	margin-top: 0;
	text-align: left;
}

.mp-aod-v2 .mp-aod-rate-detail.open {
	max-height: 460px;
	opacity: 1;
	margin-top: 20px;
}

.mp-aod-v2 .mp-aod-rate-detail textarea {
	width: 100%;
	box-sizing: border-box;
	min-height: 150px;
	resize: vertical;
	padding: 14px 16px;
	border: 1.5px solid var(--mp-line);
	border-radius: 14px;
	background: #fff;
	font-family: inherit;
	font-size: .94rem;
	line-height: 1.6;
	color: var(--mp-ink);
}

.mp-aod-v2 .mp-aod-rate-detail textarea:focus {
	border-color: var(--mp-berry);
	outline: none;
}

.mp-aod-v2 .mp-aod-rate-consent {
	font-size: .8rem;
	color: var(--mp-muted);
	line-height: 1.6;
	margin: 10px 2px 0;
}

.mp-aod-v2 .mp-aod-rate #mpAodRateSubmit {
	margin-top: 20px;
	padding: 13px 34px;
	background: var(--mp-berry);
	border: none;
	border-radius: 999px;
	color: #fff;
	font-family: inherit;
	font-size: .96rem;
	font-weight: 700;
	cursor: pointer;
	box-shadow: 0 6px 18px rgba(142, 44, 78, .28);
	transition: background .18s ease, transform .12s ease, box-shadow .18s ease;
}

.mp-aod-v2 .mp-aod-rate #mpAodRateSubmit:hover {
	background: var(--mp-berry-hover);
	transform: translateY(-1px);
	box-shadow: 0 8px 22px rgba(142, 44, 78, .34);
}

/* ---------- Entrance ---------- */
@media (prefers-reduced-motion: no-preference) {
	.mp-aod-v2 .mp-aod-hero,
	.mp-aod-v2 .mp-aod-node,
	.mp-aod-v2 .mp-aod-review-wrap {
		animation: mp-aod-ans-rise .5s ease both;
	}

	.mp-aod-v2 .mp-aod-node:nth-child(2) {
		animation-delay: .08s;
	}

	.mp-aod-v2 .mp-aod-review-wrap {
		animation-delay: .16s;
	}

	@keyframes mp-aod-ans-rise {
		from { opacity: 0; transform: translateY(10px); }
		to   { opacity: 1; transform: none; }
	}
}

/* ---------- Mobile ---------- */
@media (max-width: 640px) {
	.mp-aod-v2 .mp-aod-hero {
		text-align: left;
	}

	.mp-aod-v2 .mp-aod-asked,
	.mp-aod-v2 .mp-aod-answer .mp-aod-body {
		padding-left: 20px;
		padding-right: 20px;
	}

	.mp-aod-v2 .mp-aod-letterhead {
		padding: 18px 20px;
	}

	.mp-aod-v2 .mp-aod-ans-note {
		margin-left: 20px;
		margin-right: 20px;
	}

	.mp-aod-v2 .mp-aod-thumb {
		flex: 1 1 46%;
		justify-content: center;
		padding: 9px 14px;
		font-size: .88rem;
	}
}

/* ---------- Questions list (my-answers) — same v2 family ---------- */

.mp-aod-v2 .mp-aod-signout {
	margin-left: auto; /* right-aligned with or without a back link beside it */
}

.mp-aod-v2 .mp-aod-qlist {
	max-width: 880px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.mp-aod-v2 .mp-aod-qrow {
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 20px 24px;
	background: #fff;
	border: 1px solid var(--mp-line-soft);
	border-radius: 16px;
	text-decoration: none;
	color: var(--mp-ink);
	box-shadow: 0 2px 10px rgba(142, 44, 78, .05);
	transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.mp-aod-v2 .mp-aod-qrow:hover {
	border-color: var(--mp-berry);
	box-shadow: 0 8px 24px rgba(142, 44, 78, .12);
	transform: translateY(-2px);
}

.mp-aod-v2 .mp-aod-qmain {
	flex: 1;
	min-width: 0;
}

.mp-aod-v2 .mp-aod-qtitle {
	font-size: 1.02rem;
	font-weight: 700;
	line-height: 1.5;
	margin-bottom: 6px;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.mp-aod-v2 .mp-aod-qmeta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	font-size: .82rem;
	color: var(--mp-muted);
}

/* Status badges — same language as the answer page's verified badge. */
.mp-aod-v2 .mp-aod-qstatus {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 3px 12px 3px 10px;
	border-radius: 999px;
	font-size: .76rem;
	font-weight: 700;
	letter-spacing: .02em;
	white-space: nowrap;
}

/* Inside a badge the dot is a plain 7px marker — no pulse, colour per state. */
.mp-aod-v2 .mp-aod-qstatus .mp-aod-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	animation: none;
	box-shadow: none;
}

.mp-aod-v2 .mp-aod-qstatus.is-answered {
	background: rgba(141, 167, 155, .14);
	border: 1px solid rgba(141, 167, 155, .45);
	color: #5F7A6D;
}

.mp-aod-v2 .mp-aod-qstatus.is-answered .mp-aod-dot {
	background: var(--mp-sage);
}

/* Ready for the day pending rows are shown; unused while the list is
   answered-only (State::PATIENT_READABLE). */
.mp-aod-v2 .mp-aod-qstatus.is-pending {
	background: rgba(201, 187, 232, .16);
	border: 1px solid rgba(201, 187, 232, .55);
	color: #6E5F8E;
}

.mp-aod-v2 .mp-aod-qstatus.is-pending .mp-aod-dot {
	background: var(--mp-lav-mid);
}

.mp-aod-v2 .mp-aod-qarrow {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--mp-ivory);
	border: 1px solid var(--mp-line-soft);
	color: var(--mp-berry);
	transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.mp-aod-v2 .mp-aod-qrow:hover .mp-aod-qarrow {
	background: var(--mp-berry);
	border-color: var(--mp-berry);
	color: #fff;
	transform: translateX(3px);
}

/* Empty state, quiet and centred within the same column. */
.mp-aod-v2 .mp-aod-empty {
	max-width: 880px;
	margin: 0 auto;
	text-align: center;
	color: var(--mp-muted);
}

/* ---------- Ask another question CTA ---------- */
.mp-aod-v2 .mp-aod-askmore {
	max-width: 880px;
	margin: clamp(30px, 5vw, 44px) auto 0;
	text-align: center;
}

.mp-aod-v2 .mp-aod-askmore a {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 13px 32px;
	background: var(--mp-berry);
	border-radius: 999px;
	color: #fff;
	font-size: .96rem;
	font-weight: 700;
	text-decoration: none;
	box-shadow: 0 6px 18px rgba(142, 44, 78, .28);
	transition: background .18s ease, transform .12s ease, box-shadow .18s ease;
}

.mp-aod-v2 .mp-aod-askmore a:hover {
	background: var(--mp-berry-hover);
	transform: translateY(-1px);
	box-shadow: 0 8px 22px rgba(142, 44, 78, .34);
}

/* Entrance stagger for the list page. */
@media (prefers-reduced-motion: no-preference) {
	.mp-aod-v2 .mp-aod-qrow,
	.mp-aod-v2 .mp-aod-askmore {
		animation: mp-aod-ans-rise .5s ease both;
	}

	.mp-aod-v2 .mp-aod-qrow:nth-child(1) { animation-delay: .05s; }
	.mp-aod-v2 .mp-aod-qrow:nth-child(2) { animation-delay: .1s; }
	.mp-aod-v2 .mp-aod-qrow:nth-child(3) { animation-delay: .15s; }
	.mp-aod-v2 .mp-aod-qrow:nth-child(4) { animation-delay: .2s; }
	.mp-aod-v2 .mp-aod-qrow:nth-child(5) { animation-delay: .25s; }
	.mp-aod-v2 .mp-aod-askmore { animation-delay: .3s; }
}

/* Mobile — list page. */
@media (max-width: 640px) {
	.mp-aod-v2 .mp-aod-qrow {
		padding: 16px 18px;
		gap: 14px;
	}

	.mp-aod-v2 .mp-aod-qarrow {
		width: 34px;
		height: 34px;
	}
}

/* ---------- v2 corrections (full-width template) ---------- */

/*
 * The page template is full width, so the hero wash bleeds to the real
 * viewport edges instead of stopping at the 1120px content column. The
 * symmetric calc avoids the 100vw scrollbar-width overflow trap, and the
 * wrapper stops clipping so the bleed can escape it.
 */
.mp-aod-v2 {
	overflow: visible;
}

.mp-aod-v2::before {
	left: calc(50% - 50vw);
	right: calc(50% - 50vw);
}

/* Utility row per the design: no rule underneath; the back link is a white
   pill in berry; sign-out muted, warming to berry. */
.mp-aod-v2 .mp-aod-utility {
	margin-bottom: clamp(28px, 5vw, 44px);
	padding-bottom: 0;
	border-bottom: none;
}

.mp-aod-v2 .mp-aod-back {
	gap: 9px;
	padding: 9px 18px 9px 14px;
	background: #fff;
	border: 1px solid var(--mp-line-soft);
	border-radius: 999px;
	color: var(--mp-berry);
	font-size: .9rem;
	font-weight: 600;
	text-decoration: none;
	box-shadow: 0 1px 4px rgba(142, 44, 78, .06);
	transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.mp-aod-v2 .mp-aod-back:hover {
	border-color: var(--mp-berry);
	color: var(--mp-berry);
	box-shadow: 0 3px 10px rgba(142, 44, 78, .12);
	transform: translateX(-2px);
}

.mp-aod-v2 .mp-aod-signout {
	color: var(--mp-muted);
	font-size: .88rem;
	font-weight: 600;
	text-decoration: none;
	transition: color .18s ease;
}

.mp-aod-v2 .mp-aod-signout:hover {
	color: var(--mp-berry);
}

/* The ivory review wrap is the card; the inner rate box goes naked — the
   base file's white bordered card must not show through inside it. */
.mp-aod-v2 .mp-aod-rate {
	background: transparent;
	border: none;
	border-radius: 0;
	padding: 0;
	box-shadow: none;
}

/* ---------- v2 corrections, round two ---------- */

/* The old list design drew a rule above the questions; the v2 hero needs no
   line under it — the cards begin cleanly. */
.mp-aod-v2 .mp-aod-qlist {
	border-top: none;
	margin-top: 0;
}

/* Sign out: a pill on the questions page (the base file's pill styling shows
   through), plain text on the answer page where the back link is the only
   pill in the row. */
.mp-aod-page-answer .mp-aod-signout {
	background: none;
	border: none;
	border-radius: 0;
	padding: 0;
}

/* The feedback card and the answer column share one width, declared once —
   equal on desktop by construction, not by coincidence. border-box on both
   so their borders cannot skew the comparison. */
.mp-aod-v2 {
	--mp-col: 880px;
}

.mp-aod-v2 .mp-aod-thread,
.mp-aod-v2 .mp-aod-qlist,
.mp-aod-v2 .mp-aod-askmore,
.mp-aod-v2 .mp-aod-review-wrap {
	max-width: var(--mp-col);
	box-sizing: border-box;
}
