/* Mend Human — Hidden Heart Risk Assessment */

/* .mhr-wrap {
	--mhr-primary: #1a4d6d;
	--mhr-primary-dark: #0f3348;
	--mhr-accent: #c9a227;
	--mhr-text: #1e293b;
	--mhr-muted: #64748b;
	--mhr-bg: #f8fafc;
	--mhr-card: #ffffff;
	--mhr-radius: 12px;
	--mhr-shadow: 0 4px 24px rgba(15, 51, 72, 0.08);
	max-width: 1100px;
	margin: 0 auto;
	padding: 1.5rem 1rem 3rem;
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	color: var(--mhr-text);
	line-height: 1.6;
} */

/* .mhr-progress {
	margin-bottom: 1.5rem;
	padding: 1.35rem 1.5rem 1.25rem;
	border-radius: var(--mhr-radius);
	background: linear-gradient(160deg, var(--mhr-primary-dark) 0%, var(--mhr-primary) 100%);
	box-shadow: var(--mhr-shadow);
} */

/* .mhr-progress-steps {
	display: flex;
	justify-content: space-between;
	align-items: center;
	list-style: none;
	margin: 0;
	padding: 0;
	position: relative;
}

.mhr-progress-steps::before {
	content: "";
	position: absolute;
	left: 1.125rem;
	right: 1.125rem;
	top: 50%;
	height: 2px;
	background: rgba(255, 255, 255, 0.22);
	transform: translateY(-50%);
	z-index: 0;
}

.mhr-progress-step {
	position: relative;
	z-index: 1;
	flex: 0 0 auto;
	margin: 0;
	padding: 0;
}

.mhr-progress-step__dot {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 50%;
	border: 2px solid var(--mhr-accent);
	background: transparent;
	color: #fff;
	font-size: 0.9rem;
	font-weight: 700;
	line-height: 1;
	transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.mhr-progress-step.is-active .mhr-progress-step__dot {
	background: var(--mhr-accent);
	border-color: var(--mhr-accent);
	color: #fff;
}

.mhr-progress .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
} */

/* .mhr-section {
	display: none;
	background: var(--mhr-card);
	border-radius: var(--mhr-radius);
	box-shadow: var(--mhr-shadow);
	padding: 2rem 1.75rem;
} */

/* .mhr-section.mhr-active {
	display: block;
} */

/* .mhr-hero.mhr-active {
	background: linear-gradient(160deg, var(--mhr-primary-dark) 0%, var(--mhr-primary) 100%);
	color: #fff;
} */

/* .mhr-hero .mhr-muted,
.mhr-hero .mhr-checklist {
	color: rgba(255, 255, 255, 0.92);
}

.mhr-eyebrow {
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 0.75rem;
	opacity: 0.85;
	margin: 0 0 0.5rem;
}

.mhr-title {
	font-size: clamp(1.75rem, 4vw, 2.25rem);
	line-height: 1.2;
	margin: 0 0 0.75rem;
}

.mhr-subtitle {
	font-size: 1.125rem;
	font-weight: 600;
	margin: 0 0 1rem;
}

.mhr-checklist {
	list-style: none;
	padding: 0;
	margin: 1.25rem 0 1.75rem;
}

.mhr-checklist li {
	padding: 0.35rem 0 0.35rem 1.75rem;
	position: relative;
}

.mhr-checklist li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: var(--mhr-accent);
	font-weight: 700;
}

.mhr-hero .mhr-checklist li::before {
	color: #fff;
}

.mhr-form-head-tagline,
.myplugin-text-primary.mhr-form-head-tagline {
	display: block;
	margin: 0 0 0.5rem;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--mhr-accent);
}

.mhr-section h2 {
	font-size: 1.35rem;
	margin: 0 0 1.25rem;
	color: var(--mhr-primary-dark);
} */

/* .mhr-section h3 {
	font-size: 1.05rem;
	margin: 1.5rem 0 0.75rem;
} */

/* fieldset {
	border: none;
	padding: 0;
	margin: 0 0 1.25rem;
} */

/* legend {
	font-weight: 600;
	margin-bottom: 0.5rem;
	display: block;
}

fieldset label {
	display: block;
	margin: 0.35rem 0;
	cursor: pointer;
} */

/* .mhr-field {
	display: block;
	margin-bottom: 1rem;
}

.mhr-field span {
	display: block;
	font-weight: 600;
	margin-bottom: 0.35rem;
} */

/* .mhr-field input[type="number"],
.mhr-field input[type="email"],
.mhr-field input[type="text"] {
	width: 100%;
	max-width: 280px;
	padding: 0.65rem 0.85rem;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	font-size: 1rem;
} */

/* .mhr-grid-2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
} */

/* @media (max-width: 520px) {
	.mhr-grid-2 {
		grid-template-columns: 1fr;
	}
} */

/* .mhr-habits-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9rem;
	margin-bottom: 1rem;
}

.mhr-habits-table th,
.mhr-habits-table td {
	padding: 0.5rem 0.35rem;
	border-bottom: 1px solid #e2e8f0;
	text-align: center;
}

.mhr-habits-table th:first-child,
.mhr-habits-table td:first-child {
	text-align: left;
}

.mhr-result-panel {
	background: var(--mhr-bg);
	border-radius: 10px;
	padding: 1.25rem;
	margin: 1.25rem 0;
	border-left: 4px solid var(--mhr-primary);
}

.mhr-result-value {
	font-size: 1.5rem;
	margin: 0.25rem 0;
} */

/* Metric result cards (WHR, TG/HDL, hs-CRP) — dark panel + risk pills */
/* .mhr-metric-result-panel {
	background: var(--mhr-primary-dark);
	color: #fff;
	border-left: none;
} */
/* 
.mhr-metric-result-panel .mhr-metric-result-title {
	margin: 0 0 0.75rem;
	font-size: 1.125rem;
	font-weight: 500;
	color: #fff;
} */

/* .mhr-metric-value {
	display: inline-block;
	min-width: 3.5rem;
	margin: 0 0 0.5rem;
	padding-bottom: 0.2rem;
	font-size: clamp(1.75rem, 4vw, 2.25rem);
	line-height: 1.1;
	border-bottom: 3px solid rgba(255, 255, 255, 0.9);
} */

/* .mhr-metric-value strong {
	font-weight: 600;
} */

/* .mhr-metric-unit {
	font-size: 1rem;
	font-weight: 500;
	margin-left: 0.35rem;
	opacity: 0.85;
} */

/* .mhr-metric-result-panel .mhr-metric-extra {
	color: rgba(255, 255, 255, 0.72);
	margin: 0.35rem 0 0;
} */

/* .mhr-metric-result-panel .mhr-metric-extra:empty {
	display: none;
} */

/* .mhr-risk-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	margin-top: 1.25rem;
} */

/* .mhr-risk-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.45rem 0.9rem;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	font-size: 0.8125rem;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.45);
	background: transparent;
	opacity: 0.5;
	transition: opacity 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.mhr-risk-pill__dot {
	width: 0.55rem;
	height: 0.55rem;
	border-radius: 50%;
	flex-shrink: 0;
}

.mhr-risk-pill[data-risk-level='low'],
.mhr-risk-pill[data-risk-level='optimal'] {
	border-color: rgba(74, 222, 128, 0.35);
}

.mhr-risk-pill[data-risk-level='low'] .mhr-risk-pill__dot,
.mhr-risk-pill[data-risk-level='optimal'] .mhr-risk-pill__dot {
	background: #4ade80;
}

.mhr-risk-pill[data-risk-level='elevated'] {
	border-color: rgba(251, 191, 36, 0.35);
}

.mhr-risk-pill[data-risk-level='elevated'] .mhr-risk-pill__dot {
	background: #fbbf24;
}

.mhr-risk-pill[data-risk-level='moderate'] {
	border-color: rgba(251, 191, 36, 0.35);
}

.mhr-risk-pill[data-risk-level='moderate'] .mhr-risk-pill__dot {
	background: #fbbf24;
}

.mhr-risk-pills--bp .mhr-risk-pill[data-risk-level='moderate'] {
	border-color: rgba(251, 146, 60, 0.35);
}

.mhr-risk-pills--bp .mhr-risk-pill[data-risk-level='moderate'] .mhr-risk-pill__dot {
	background: #fb923c;
}

.mhr-risk-pill[data-risk-level='high'] {
	border-color: rgba(248, 113, 113, 0.35);
}

.mhr-risk-pill[data-risk-level='high'] .mhr-risk-pill__dot {
	background: #f87171;
}

.mhr-risk-pills--has-result .mhr-risk-pill {
	opacity: 0.45;
}

.mhr-risk-pill[data-risk-level='low'].is-active,
.mhr-risk-pill[data-risk-level='optimal'].is-active {
	opacity: 1;
	color: #fff;
	border-color: #4ade80;
	background: rgba(74, 222, 128, 0.14);
}

.mhr-risk-pill[data-risk-level='elevated'].is-active {
	opacity: 1;
	color: #fff;
	border-color: #fbbf24;
	background: rgba(251, 191, 36, 0.18);
}

.mhr-risk-pill[data-risk-level='moderate'].is-active {
	opacity: 1;
	color: #fff;
	border-color: #fbbf24;
	background: rgba(251, 191, 36, 0.18);
}

.mhr-risk-pills--bp .mhr-risk-pill[data-risk-level='moderate'].is-active {
	border-color: #fb923c;
	background: rgba(251, 146, 60, 0.18);
}

.mhr-risk-pill[data-risk-level='high'].is-active {
	opacity: 1;
	color: #fff;
	border-color: #f87171;
	background: rgba(248, 113, 113, 0.16);
} */

/* @media (max-width: 520px) {
	.mhr-risk-pills {
		flex-direction: column;
		align-items: stretch;
	}

	.mhr-risk-pill {
		justify-content: center;
	}
}

.mhr-muted {
	color: var(--mhr-muted);
	font-size: 0.9rem;
} */

/* .mhr-risk-badge {
	display: inline-block;
	padding: 0.65rem 1rem;
	border-radius: 8px;
	font-weight: 600;
	margin: 0.25rem 0;
}

.mhr-risk-badge-lg {
	font-size: 1.1rem;
	padding: 1rem 1.25rem;
}

.risk-low {
	background: #dcfce7;
	color: #166534;
}

.risk-moderate,
.risk-elevated {
	background: #fef9c3;
	color: #854d0e;
}

.risk-high {
	background: #fee2e2;
	color: #991b1b;
}

.risk-optimal {
	background: #dcfce7;
	color: #166534;
}

.risk-none {
	background: #f1f5f9;
	color: var(--mhr-muted);
}

.mhr-insight {
	margin: 1rem 0;
	font-size: 0.9rem;
}

.mhr-insight summary {
	cursor: pointer;
	font-weight: 600;
	color: var(--mhr-primary);
} */

/* .mhr-warning {
	background: #fffbeb;
	border: 1px solid #fcd34d;
	border-radius: 8px;
	padding: 1rem 1.25rem;
	margin: 1rem 0;
}

.mhr-warning p {
	margin: 0;
} */

/* .mhr-important-notes {
	margin: 1rem 0;
}

.mhr-important-note {
	background: #eff6ff;
	border: 1px solid #93c5fd;
	border-radius: 8px;
	padding: 1rem 1.1rem;
} */

/* .mhr-important-note--follow {
	margin-top: 0.75rem;
} */

/* .mhr-important-note__title {
	margin: 0 0 0.5rem;
	font-size: 0.95rem;
	font-weight: 700;
	color: #1e40af;
} */

/* .mhr-important-note__content {
	font-size: 0.9rem;
	color: #1e3a8a;
}

.mhr-important-note__content :last-child {
	margin-bottom: 0;
}

.mhr-hormonal-sex-note {
	margin: 0 0 1rem;
} */

/* .mhr-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1.5rem;
}

.mhr-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.85rem 1.5rem;
	border-radius: 8px;
	font-size: 1rem;
	font-weight: 600;
	text-decoration: none;
	border: none;
	cursor: pointer;
	transition: background 0.2s, transform 0.15s;
}

.mhr-btn-primary {
	background: var(--mhr-accent);
	color: #1a1a1a;
}

.mhr-btn-primary:hover {
	filter: brightness(1.05);
}

.mhr-hero .mhr-btn-primary {
	background: #fff;
	color: var(--mhr-primary-dark);
}

.mhr-btn-secondary {
	background: #e2e8f0;
	color: var(--mhr-text);
} */

/* .mhr-cta-secondary {
	margin-top: 1rem;
	font-size: 0.9rem;
}

.mhr-cta-secondary a {
	color: var(--mhr-primary);
} */

/* .mhr-results .mhr-cta-primary {
	margin: 2rem 0 1rem;
	text-align: center;
} */

/* .mhr-disclaimer {
	font-size: 0.75rem;
	color: var(--mhr-muted);
	margin-top: 2rem;
	line-height: 1.5;
} */

/* .mhr-error,
fieldset.mhr-error,
.mhr-required-group.mhr-error {
	outline: 2px solid #dc2626;
	outline-offset: 2px;
	border-radius: 6px;
} */

/* input.mhr-error {
	border-color: #dc2626;
} */

/* .mhr-trust {
	margin: 2rem 0 1.5rem;
	padding: 1.75rem 1.5rem 1.5rem;
	border-radius: var(--mhr-radius);
	background: linear-gradient(160deg, var(--mhr-primary-dark) 0%, var(--mhr-primary) 100%);
	color: #fff;
	border-top: none;
}

.mhr-trust__header {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	padding-bottom: 1.25rem;
	margin-bottom: 1.25rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.mhr-trust__icon {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
	color: var(--mhr-accent);
}

.mhr-trust__header-text {
	min-width: 0;
}

.mhr-trust__title {
	margin: 0 0 0.35rem;
	font-size: clamp(1.15rem, 2.5vw, 1.45rem);
	line-height: 1.3;
	color: #fff;
	font-weight: 700;
}

.mhr-trust__title .mhr-trust__highlight,
.mhr-trust__block-title .mhr-trust__highlight,
.mhr-trust__title strong,
.mhr-trust__block-title strong {
	color: var(--mhr-accent);
	font-weight: inherit;
}

.mhr-trust__subtitle {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.88);
}

.mhr-trust__main {
	margin-top: 0.25rem;
}

.mhr-trust__block--follow {
	margin-top: 1.25rem;
	padding-top: 1.25rem;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.mhr-trust__block-title {
	margin: 0 0 0.65rem;
	font-size: 1rem;
	font-weight: 700;
	color: #fff;
	line-height: 1.35;
}

.mhr-trust-rich {
	font-size: 0.92rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.9);
}

.mhr-trust-rich :last-child {
	margin-bottom: 0;
}

.mhr-trust-rich p {
	margin: 0 0 0.75rem;
}

.mhr-trust-rich ul {
	margin: 0.5rem 0 0.75rem;
	padding: 0;
	list-style: none;
}

.mhr-trust-rich ul li {
	position: relative;
	padding: 0.25rem 0 0.25rem 1.6rem;
}

.mhr-trust__main .mhr-trust-rich ul li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: #4ade80;
	font-weight: 700;
}

.mhr-insight-footer {
	margin-top: 1.25rem;
	padding-top: 1.25rem;
	border-top: 1px solid #e2e8f0;
}

.mhr-insight-block--footer:first-child {
	margin-top: 0;
}

.mhr-trust__disclaimer {
	margin-top: 1.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.mhr-trust__disclaimer-title {
	margin: 0 0 0.5rem;
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: rgba(255, 255, 255, 0.75);
}

.mhr-trust__disclaimer-content {
	font-size: 0.75rem;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.72);
} */

/* Two-column step layout: form left, educational insight right */
/* .mhr-step-layout {
	display: grid;
	grid-template-columns: 1fr minmax(260px, 340px);
	gap: 2rem;
	align-items: start;
	margin-top: 0.5rem;
}

.mhr-step-layout.mhr-step-layout--no-insight {
	grid-template-columns: 1fr;
}

.mhr-step-main {
	min-width: 0;
} */

/* .mhr-step-insight {
	background: var(--mhr-bg);
	border-radius: var(--mhr-radius);
	padding: 1.25rem 1.35rem;
	border: 1px solid #e2e8f0;
	position: sticky;
	top: 1rem;
	max-height: calc(100vh - 2rem);
	overflow-y: auto;
}

.mhr-insight-sidebar-title {
	margin: 0 0 0.75rem;
	font-size: 1.1rem;
	color: var(--mhr-primary-dark);
}

.mhr-insight-block--follow {
	margin-top: 1.25rem;
	padding-top: 1.25rem;
	border-top: 1px solid #e2e8f0;
}

.mhr-insight-item-title {
	margin: 0 0 0.5rem;
	font-size: 1rem;
	font-weight: 600;
	color: var(--mhr-primary-dark);
}

.mhr-insight-item-content :last-child {
	margin-bottom: 0;
}

.mhr-insight-block :last-child {
	margin-bottom: 0;
}

.mhr-risk-interpretation {
	margin-top: 1.25rem;
	padding-top: 1.25rem;
	border-top: 1px solid #e2e8f0;
}

.mhr-unit-fieldset {
	margin-bottom: 1rem;
} */

/* .mhr-unit-hint {
	font-weight: 400;
	color: var(--mhr-muted);
} */

/* .mhr-field-error {
	display: block;
	margin-top: 0.35rem;
	font-size: 0.85rem;
	color: #dc2626;
}

.mhr-field-error.mhr-hidden {
	display: none;
} */

/* .mhr-whr-example-list {
	margin: 0.5rem 0 0;
	padding-left: 1.25rem;
}

.mhr-whr-example-list:empty {
	display: none;
} */

/* @media (max-width: 640px) {
	.mhr-progress {
		padding: 1rem 0.75rem;
	}

	.mhr-progress-steps::before {
		left: 0.85rem;
		right: 0.85rem;
	}

	.mhr-progress-step__dot {
		width: 1.85rem;
		height: 1.85rem;
		font-size: 0.8rem;
	}
}

@media (max-width: 900px) {
	.mhr-step-layout {
		grid-template-columns: 1fr;
	}

	.mhr-step-insight {
		position: static;
		max-height: none;
		order: 2;
	}

	.mhr-step-main {
		order: 1;
	}

}
.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
    max-width: 1050px !important;
} */
/* Validation highlight helpers (supplement main-style.css). */
/* .mhr-table-radio-fieldset .mhr-habits-table tr.mhr-error td .mhr-form-fieldset-label .mhr-form-fieldset-label-radio {
	border-color: #dc2626;
}

.mhr-form-fieldset.mhr-error > .mhr-field-error {
	display: block;
	margin-top: 12px;
}

.mhr-form-fieldset-options.mhr-checkbox-fieldset > .mhr-field-error,
.mhr-form-fieldset-options.mhr-radio-fieldset > .mhr-field-error,
.mhr-form-fieldset-options.mhr-table-radio-fieldset > .mhr-field-error {
	display: block;
	width: 100%;
	margin-top: 12px;
}

.mhr-form-fieldset-options.mhr-checkbox-fieldset > .mhr-field-error {
	grid-column: 1 / -1;
}

.mhr-form-fieldset-options.mhr-radio-fieldset > .mhr-field-error {
	grid-column: 1 / -1;
}

.mhr-form-fieldset-options.mhr-radio-fieldset.mhr-error .mhr-form-fieldset-label .mhr-form-fieldset-label-text::before {
	border-color: #dc2626;
}

.mhr-form-fieldset.mhr-error > .mhr-checkbox-fieldset .mhr-form-fieldset-label > .mhr-form-fieldset-legend-text::before,
.mhr-form-fieldset-options.mhr-checkbox-fieldset.mhr-error .mhr-form-fieldset-label > .mhr-form-fieldset-legend-text::before {
	border-color: #dc2626;
} */

/* Waist / hip measurement info button */
.mhr-legend-title-row {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem;
    max-width: 100%;
}

.mhr-info-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.125rem;
    height: 1.125rem;
    min-width: 1.125rem;
    padding: 0;
    margin: 0;
    border: none;
    border-radius: 50%;
    background-color: var(--myplugin-primary);
    color: #fff;
    cursor: pointer;
    flex-shrink: 0;
    vertical-align: middle;
    line-height: 1;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.mhr-info-btn:hover,
.mhr-info-btn:focus-visible,
.mhr-info-btn.is-active {
	background-color: transparent;
    border: 1px solid var(--myplugin-primary);
    border-radius: 50%;
}

.mhr-info-btn:focus-visible {
    outline: 2px solid #93c5fd;
    outline-offset: 2px;
}

.mhr-info-btn-icon {
    font-size: 0.6875rem;
    font-weight: 700;
    font-style: italic;
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1;
    pointer-events: none;
}

.mhr-info-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(1rem, 3vw, 2rem);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.mhr-info-modal.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mhr-info-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.72);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.mhr-info-modal.is-visible .mhr-info-modal-backdrop {
    opacity: 1;
}

.mhr-info-modal-content {
    position: relative;
    z-index: 1;
    /* width: min(560px, 92vw); */
	width: 100%;
	max-width: 1000px;
    max-height: min(90vh, 720px);
    overflow: auto;
    padding: 0.75rem;
    /* padding-top: 2.5rem; */
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.35);
    opacity: 0;
    transform: scale(0.96) translateY(10px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.mhr-info-modal.is-visible .mhr-info-modal-content {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.mhr-info-modal-close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: var(--bodyColor);
    color: #fff;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.mhr-info-modal-close:hover,
.mhr-info-modal-close:focus-visible {
    background: var(--myplugin-primary);
    color: #fff;
}

.mhr-info-modal-close:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

.mhr-info-modal-content img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
}