/*
 * Reader accounts: the header button, the sign-in window and the My account
 * page (assets/js/account.js). Rounded forms in the site's colours; buttons
 * (.btn) come from the theme. Loaded on every page (it's small).
 *
 * Fonts as the theme does it: reading text in Georgia; titles, small labels,
 * buttons, tabs and form fields in the theme's font (Sinkin Sans).
 */

.mhc-write-link { display: inline-flex; align-items: center; gap: 6px; margin-right: 18px; color: inherit; text-decoration: none; }
.mhc-write-link__text { white-space: nowrap; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.mhc-write-link:hover { color: #A06B3E; }
.mhc-account-link { display: inline-flex; align-items: center; margin-right: 18px; color: inherit; text-decoration: none; cursor: pointer; }
.mhc-account-link__icon { display: none; line-height: 0; }
.mhc-account-link__text { white-space: nowrap; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.mhc-account-link:hover .mhc-account-link__text { color: #A06B3E; }
.mhc-account-link__initials,
.mhc-account-link__photo { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; background: #126788; color: #fff; font-size: 11px; font-weight: 700; object-fit: cover; }

/* The window. */
.mhc-acct-open { overflow: hidden; }
.mhc-acct--modal {
	position: fixed; z-index: 100000; inset: 0;
	display: flex; align-items: center; justify-content: center;
	padding: 16px; background: rgba(10, 10, 10, 0.55);
}
.mhc-acct__panel { position: relative; width: 100%; max-width: 440px; max-height: calc(100vh - 32px); overflow-y: auto; padding: 36px 32px 28px; background: #fff; color: #0a0a0a; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25); }
.mhc-acct--page .mhc-acct__panel { max-width: 460px; margin: 0 auto; max-height: none; box-shadow: none; border: 1px solid #e9e9e9; }
.mhc-acct__close { position: absolute; top: 8px; right: 10px; padding: 4px 8px; border: 0; background: none; font-size: 26px; line-height: 1; cursor: pointer; color: #6b6b6b; }
.mhc-acct__close:hover { color: #0a0a0a; }
.mhc-acct__title { margin: 0 0 12px; font-size: 22px; line-height: 1.25; }
.mhc-acct__perks { margin: 0 0 20px; padding: 0 0 0 18px; font-size: 14px; color: #3a3a3a; }
.mhc-acct__perks li { margin: 0 0 4px; }

.mhc-acct__provider {
	display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%;
	margin: 0 0 10px; padding: 12px 16px; border: 1px solid #0a0a0a; border-radius: 0;
	background: #fff; color: #0a0a0a; font-size: 14px; font-weight: 600; cursor: pointer;
}
.mhc-acct__provider:hover:not(:disabled) { border-color: #126788; color: #126788; }
.mhc-acct__provider:disabled { opacity: 0.55; cursor: not-allowed; }
.mhc-acct__google { display: flex; justify-content: center; min-height: 44px; margin: 0 0 10px; }
.mhc-acct__soon { font-size: 10px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #126788; }
.mhc-acct__or { display: flex; align-items: center; gap: 12px; margin: 14px 0; color: #8a8a8a; font-size: 12px; text-transform: uppercase; }
.mhc-acct__or::before, .mhc-acct__or::after { content: ''; flex: 1; border-top: 1px solid #e2e2e2; }

.mhc-acct__form { margin: 0; }
.mhc-acct__field { display: block; margin: 0 0 14px; }
.mhc-acct__field[hidden] { display: none; }
.mhc-acct__label { display: block; margin: 0 0 6px; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #3a3a3a; }
.mhc-acct__field input[type="text"],
.mhc-acct__field input[type="email"],
.mhc-acct__field input[type="tel"],
.mhc-acct__inline input { width: 100%; margin: 0; padding: 10px 12px; border: 1px solid #cfcfcf; border-radius: 0; font-size: 16px; }
.mhc-acct__field input:focus, .mhc-acct__inline input:focus { border-color: #126788; outline: none; box-shadow: 0 0 0 1px #126788; }
.mhc-acct input::placeholder, .mhc-me input::placeholder { text-transform: none !important; letter-spacing: normal !important; }
.mhc-acct__code { letter-spacing: 0.4em; font-size: 22px !important; text-align: center; }
.mhc-acct__help, .mhc-acct__small { display: block; margin-top: 6px; font-size: 12px; color: #6b6b6b; }
.mhc-acct__primary { display: block; width: 100%; margin: 6px 0 0 !important; border-radius: 0; }
.mhc-acct__link { padding: 0; border: 0; background: none; color: #126788; font-size: 12px; text-decoration: underline; cursor: pointer; }
.mhc-acct__error { margin: 0 0 12px; padding: 8px 12px; border-left: 3px solid #b32d2e; background: #fcf0f1; color: #8a1f1f; font-size: 13px; }
.mhc-acct__error.is-info { border-color: #126788; background: #eef6f9; color: #0c4a62; }
.mhc-acct__error[hidden], .mhc-acct__saved[hidden] { display: none; }
.mhc-acct__saved { margin: 0 0 12px; color: #1a7f37; font-size: 13px; }

.mhc-acct__prefs { margin: 4px 0 16px; padding: 14px 16px; border: 1px solid #e9e9e9; }
.mhc-acct__prefs legend { padding: 0 6px; }
.mhc-acct__check { display: flex; align-items: flex-start; gap: 8px; margin: 0 0 10px; font-size: 14px; cursor: pointer; }
.mhc-acct__check input { margin-top: 3px; accent-color: #126788; }

.mhc-acct__inline { display: flex; gap: 8px; margin-top: 10px; }
.mhc-acct__inline input { max-width: 160px; }
.mhc-acct__inline .btn { margin: 0 !important; white-space: nowrap; }
.mhc-acct__danger { background: #b32d2e !important; color: #fff !important; }

@media (max-width: 640px) {
	.mhc-acct--modal { align-items: flex-end; padding: 0; }
	.mhc-acct__panel { max-width: none; max-height: 92vh; padding: 32px 20px 24px; }
	.mhc-account-link { margin-right: 12px; }
	.mhc-account-link__icon { display: inline-block; }
	.mhc-account-link__text { display: none; }
	.mhc-write-link { margin-right: 12px; }
	.mhc-write-link__text { display: none; }
	.mhc-acct__inline { flex-direction: column; }
	.mhc-acct__inline input { max-width: none; }
}

/* The theme capitalises labels; only the small field titles should be. */
label.mhc-acct__field,
label.mhc-acct__check,
.mhc-acct__help,
.mhc-acct__small { text-transform: none; letter-spacing: normal; font-weight: 400; }
label.mhc-acct__field .mhc-acct__label { text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; }

/* Save / Follow buttons (the theme's square tag style; on = filled blue). */
.mhc-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 16px 0 0; }
.mhc-actions--article { justify-content: flex-end; margin: 0 0 16px; }
.mhc-save, .mhc-follow { display: inline-flex !important; align-items: center; gap: 6px; margin: 0 !important; cursor: pointer; font: inherit; }
button.mhc-save, button.mhc-follow { background: #fff; border: 1px solid #d8d8d8; border-radius: 0; padding: 8px 12px 7px; font-size: 11px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: #0a0a0a; line-height: 1.2; }
button.mhc-save:hover, button.mhc-follow:hover { border-color: #126788; color: #126788; }
button.mhc-save.is-on, button.mhc-follow.is-on { background: #126788; border-color: #126788; color: #fff; }
button.mhc-save.is-on svg path { fill: currentColor; }
/* Icon-only: an even square with the icon centred (the hidden "Save" label must not take up a gap). */
button.mhc-save--compact { box-sizing: border-box; width: 28px; height: 28px; padding: 0; gap: 0 !important; justify-content: center; margin-left: 8px !important; vertical-align: middle; }
.mhc-book__actions .mhc-save { height: auto; }

/* My account, signed in: a 32 / 68 page like the profiles and the course player.
   Left: who they are, their plan and details. Right: tabs and what's in them.
   Square corners. #126788 for what's active and for progress, #35a2af for
   accents, #A06B3E for small print and tags. Titles, labels and buttons in the
   theme's font (Sinkin Sans); reading text in Georgia. */
.mhc-account-has-me .mhc-archive-header { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mhc-me {
	--m-blue: #126788;
	--m-teal: #35a2af;
	--m-brown: #A06B3E;
	--m-ink: #262220;
	--m-muted: #767267;
	--m-line: #e2ddd3;
	--m-soft: #f8f5e8;
	display: grid;
	grid-template-columns: minmax(0, 32fr) minmax(0, 68fr);
	gap: 40px;
	align-items: start;
	margin-top: 8px;
	color: var(--m-ink);
	font-family: var(--thb-primary-font, "Sinkin Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
}
.mhc-me *, .mhc-me *::before, .mhc-me *::after { box-sizing: border-box; }
.mhc-me__side { display: grid; gap: 20px; min-width: 0; }
.mhc-me__main { min-width: 0; }
.mhc-me .btn { margin: 0; border-radius: 0; text-decoration: none; }
.mhc-me .mhc-acct__link { font-family: inherit; }
.mhc-me-stack { display: grid; gap: 20px; }
.mhc-me-panel > :last-child { margin-bottom: 0; }

/* Cards: a heading with a small square in the card's colour. */
.mhc-me-card { --accent: var(--m-blue); min-width: 0; background: #fff; border: 1px solid var(--m-line); }
.mhc-me-sec__head { --accent: var(--m-blue); }
.mhc-me-card--teal { --accent: var(--m-teal); }
.mhc-me-card--brown { --accent: var(--m-brown); }
.mhc-me-card--danger { --accent: #b32d2e; border-color: #f0c8c8; }
.mhc-me-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px 14px; border-bottom: 1px solid var(--m-line); }
.mhc-me .mhc-me-card__head h2,
.mhc-me .mhc-me-sec__head h2 { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 17px; font-weight: 700; line-height: 1.2; letter-spacing: 0; text-transform: none; color: var(--m-ink); }
.mhc-me-card__head h2::before,
.mhc-me-sec__head h2::before { content: ''; flex: none; width: 8px; height: 8px; background: var(--accent); }
.mhc-me-card--danger .mhc-me-card__head h2 { color: #8a1f1f; }
.mhc-me-card__body { padding: 20px; }
.mhc-me-card__body > p { margin: 0 0 14px; font-size: 15px; line-height: 1.55; color: #403b35; }
.mhc-me-card__body > :last-child { margin-bottom: 0; }
.mhc-me-subhead { margin: 22px 0 2px; padding-top: 16px; border-top: 1px solid var(--m-line); font-size: 14px; font-weight: 700; }
.mhc-me-edit { display: flex; align-items: center; justify-content: center; flex: none; width: 32px; height: 32px; margin: 0; padding: 0; border: 1px solid var(--m-line); border-radius: 0; background: #fff; color: var(--m-blue); cursor: pointer; }
.mhc-me-edit:hover { border-color: var(--m-blue); }
.mhc-me-ico { display: flex; flex: none; line-height: 0; }

/* Profile card: a patterned cover in the three brand colours, the photo or initials, name, plan. */
.mhc-me-cover {
	position: relative;
	height: 104px;
	background-color: var(--m-blue);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cg fill='none' stroke='%23fff' stroke-opacity='.18'%3E%3Crect x='10' y='10' width='28' height='28'/%3E%3Crect x='10' y='10' width='28' height='28' transform='rotate(45 24 24)'/%3E%3C/g%3E%3C/svg%3E");
}
.mhc-me-cover::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 5px; background: linear-gradient(90deg, var(--m-blue) 0 33.34%, var(--m-teal) 33.34% 66.67%, var(--m-brown) 66.67% 100%); }
.mhc-me-profile__body { padding: 0 22px 22px; }
.mhc-me-avatar { display: block; width: 96px; height: 96px; margin: -48px 0 0; position: relative; border: 4px solid #fff; background: #fff; object-fit: cover; }
.mhc-me-avatar--initials { display: flex; align-items: center; justify-content: center; background: var(--m-brown); color: #fff; font-size: 34px; font-weight: 700; }
.mhc-me .mhc-me-name { margin: 16px 0 2px; font-size: 24px; font-weight: 700; line-height: 1.2; letter-spacing: 0; text-transform: none; color: var(--m-ink); overflow-wrap: anywhere; }
.mhc-me .mhc-me-email { margin: 0; font-size: 14px; font-style: italic; color: var(--m-muted); overflow-wrap: anywhere; }
.mhc-me .mhc-me-profile__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 14px 0 0; font-size: 13px; color: var(--m-muted); }
.mhc-me .mhc-me-tag { margin: 0; }
.mhc-me .mhc-me-tag--pro { background: var(--m-blue); }
.mhc-me-profile__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 18px; margin-top: 18px; }
.mhc-me .mhc-me-signout { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; color: var(--m-muted); }
.mhc-me .mhc-me-signout:hover { color: var(--m-blue); }
.mhc-me-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--m-line); }
.mhc-me-stat { margin: 0; border-left: 1px solid var(--m-line); }
.mhc-me-stat:first-child { border-left: 0; }
.mhc-me-stat--saved { --accent: var(--m-blue); }
.mhc-me-stat--following { --accent: var(--m-teal); }
.mhc-me-stat--courses { --accent: var(--m-brown); }
.mhc-me-stat a { display: grid; gap: 6px; justify-items: center; padding: 16px 8px 14px; color: inherit; text-decoration: none; box-shadow: inset 0 -3px 0 var(--accent); }
.mhc-me-stat a:hover { background: var(--m-soft); }
.mhc-me-stat strong { font-size: 24px; font-weight: 700; line-height: 1; color: var(--accent); }
.mhc-me-stat span { font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--m-muted); }

/* Plan and details. */
.mhc-me-card--plan .btn { display: block; text-align: center; }
.mhc-me .mhc-me-plan__name { font-family: var(--thb-primary-font, "Sinkin Sans", system-ui, sans-serif); font-size: 18px; }
.mhc-me-card--details .mhc-me-card__body { padding: 4px 20px; }
.mhc-me-details { margin: 0; padding: 0; list-style: none; }
.mhc-me-detail { display: flex; align-items: flex-start; gap: 14px; margin: 0; padding: 14px 0; border-top: 1px solid var(--m-line); }
.mhc-me-detail:first-child { border-top: 0; }
.mhc-me-detail .mhc-me-ico { margin-top: 1px; color: var(--m-teal); }
.mhc-me-detail > div { min-width: 0; }
.mhc-me-detail__label { display: block; font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--m-brown); }
.mhc-me-detail__value { display: block; margin-top: 3px; font-family: Georgia, "Times New Roman", serif; font-size: 15px; line-height: 1.4; color: var(--m-ink); overflow-wrap: anywhere; }

/* Tabs: the same square buttons as the Explore page's kind tabs (.mhc-hub__tabs): white with a thin border, brown when open. The label is trimmed to its capitals so equal padding centres it in any font. */
.mhc-me-tabs { display: flex; gap: 8px; margin: 0 0 24px; }
.mhc-me__main { container-type: inline-size; }
.mhc-me-tabs .mhc-me-ico, .mhc-me-now { display: none; }
.mhc-me-tabs a {
	display: inline-flex;
	flex: none;
	align-items: center;
	padding: 10px 16px;
	border: 1px solid var(--mhc-border, var(--m-line));
	border-radius: 0;
	background: #fff;
	color: #262220;
	font-size: 13px;
	font-weight: 500;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.mhc-me-tabs__label { display: block; line-height: 1; text-box: trim-both cap alphabetic; }
@supports not (text-box: trim-both cap alphabetic) {
	.mhc-me-tabs a { padding: 10px 16px 8px; }
}
/* Where the words don't fit on one row (phones, and the middle sizes), the same buttons show icons, all seven in one row, with the open one named underneath. */
@container (max-width: 740px) {
	.mhc-me-tabs { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin-bottom: 12px; }
	.mhc-me-tabs a { justify-content: center; height: 44px; padding: 0; }
	.mhc-me-tabs .mhc-me-ico { display: flex; }
	.mhc-me-tabs__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	.mhc-me .mhc-me-now { display: block; margin: 0 0 20px; font-family: var(--thb-primary-font, "Sinkin Sans", system-ui, sans-serif); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--m-brown); }
}
.mhc-me-tabs a:hover { border-color: var(--m-brown); color: var(--m-brown); }
.mhc-me-tabs a.is-active { background: var(--m-brown); border-color: var(--m-brown); color: #fff; }
.mhc-me-tabs a:focus-visible { outline: 2px solid var(--m-brown); outline-offset: 2px; }

/* Overview. */
.mhc-me-welcome { margin: 0 0 28px; padding: 28px 30px; background: #fff; border: 1px solid var(--m-line); border-top: 3px solid var(--m-blue); }
.mhc-me-welcome__eyebrow { display: block; margin: 0 0 8px; font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--m-brown); }
.mhc-me .mhc-me-welcome h2 { margin: 0; font-size: 28px; font-weight: 700; line-height: 1.2; letter-spacing: 0; text-transform: none; color: var(--m-ink); }
.mhc-me .mhc-me-welcome p { margin: 10px 0 0; font-size: 17px; line-height: 1.6; color: #403b35; }
.mhc-me-sec__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 12px; padding: 0 0 10px; border-bottom: 1px solid var(--m-line); }
.mhc-me-sec__all { font-size: 11px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; text-decoration: none; color: var(--m-blue); }
.mhc-me-sec__all:hover { text-decoration: underline; }

/* Lists: each saved, followed or viewed thing is its own bordered row. */
.mhc-lib { display: grid; gap: 10px; margin: 0 0 28px; padding: 0; list-style: none; }
.mhc-lib__item { display: flex; align-items: center; gap: 16px; margin: 0; padding: 14px; background: #fff; border: 1px solid var(--m-line); transition: border-color 0.15s; }
.mhc-lib__item:hover { border-color: var(--m-blue); }
.mhc-lib__thumb { width: 72px; height: 72px; flex: none; object-fit: cover; }
.mhc-lib__tile { display: flex; align-items: center; justify-content: center; background: var(--m-blue); color: #fff; font-size: 26px; font-weight: 700; }
.mhc-lib__tile--course { background: var(--m-teal); }
.mhc-lib__text { flex: 1; min-width: 0; }
.mhc-lib__kind { display: block; margin: 0 0 3px; font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--m-brown); }
.mhc-lib__title { display: block; font-size: 17px; font-weight: 700; line-height: 1.3; color: var(--m-ink); text-decoration: none; }
.mhc-lib__title:hover { color: var(--m-brown); }
.mhc-lib__text .mhc-acct__small { margin-top: 4px; }
.mhc-lib__actions { display: flex; align-items: center; flex: none; gap: 14px; }
.mhc-me .mhc-lib__move { width: auto !important; max-width: 100%; height: 36px !important; margin: 0; padding: 0 28px 0 10px; border: 1px solid #cfcfcf; border-radius: 0; background-color: #fff; font-size: 13px; line-height: 34px; }
.mhc-lib__tools { display: grid; gap: 14px; margin: 0 0 18px; }
.mhc-lib__tools .mhc-acct__inline { width: 100%; max-width: 440px; margin: 0; }
.mhc-lib__tools .mhc-acct__inline input { flex: 1; min-width: 0; max-width: none; padding: 9px 12px; font-size: 15px; text-transform: none; }
.mhc-me-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mhc-me .mhc-me-chips .tag-cloud-link { margin: 0; cursor: pointer; }
.mhc-me .mhc-me-chips .tag-cloud-link:hover { border-color: var(--m-brown); color: var(--m-brown); }
.mhc-me .mhc-me-chips .tag-cloud-link.is-on { background: var(--m-brown); border-color: var(--m-brown); color: #fff; }
.mhc-me-listtools { margin: 0 0 14px; }
.mhc-lib__empty { margin: 0 0 28px; padding: 32px 24px; border: 1px dashed #cfc8ba; background: var(--m-soft); color: var(--m-muted); text-align: center; line-height: 1.6; }

/* Forms inside the cards. */
.mhc-me-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.mhc-me .mhc-acct__field input[readonly] { background: #f8f5e8; color: var(--m-muted); }
.mhc-me .mhc-acct__prefs { border-color: var(--m-line); background: var(--m-soft); }
.mhc-me .mhc-me-save { display: inline-block; margin: 6px 0 0; }
.mhc-me .mhc-acct__saved { margin: 0 0 4px; }

@media (max-width: 1024px) {
	.mhc-me { gap: 32px; }
}
@media (max-width: 860px) {
	.mhc-me { display: flex; flex-direction: column; gap: 24px; margin-top: 24px; }
	.mhc-me__side { display: contents; }
	.mhc-me__side > .mhc-me-card { width: 100%; }
	.mhc-me-profile { order: 1; }
	.mhc-me__main { order: 2; width: 100%; }
	/* Most important first: profile, then the account itself, then learning, organisation, plan, details. */
	.mhc-me-card--learning { order: 3; }
	.mhc-me-card--org { order: 4; }
	.mhc-me-card--plan { order: 5; }
	.mhc-me-card--details { order: 6; }
}
@media (max-width: 640px) {
	.mhc-me-fields { grid-template-columns: 1fr; }
	.mhc-me-welcome { padding: 22px 20px; }
	.mhc-me .mhc-me-welcome h2 { font-size: 24px; }
	.mhc-lib__item { flex-wrap: wrap; }
	.mhc-lib__text { flex-basis: calc(100% - 100px); }
	.mhc-lib__actions { width: 100%; justify-content: flex-end; }
}

/* Reading text in Georgia, like the site's articles. */
.mhc-acct p,
.mhc-me p,
.mhc-acct__perks,
.mhc-acct__help,
.mhc-acct__small,
.mhc-acct__check,
.mhc-acct__error,
.mhc-acct__saved,
.mhc-lib__title,
.mhc-lib__empty { font-family: Georgia, "Times New Roman", serif; }

/* Paywall: after a locked item's preview (templates/parts-paywall.php). */
.mhc-paywall { position: relative; margin: 8px 0 32px; padding: 32px 28px 26px; border: 1px solid #e2e2e2; border-top: 3px solid #126788; background: #fff; text-align: center; }
.mhc-paywall::before { content: ''; position: absolute; left: 0; right: 0; bottom: 100%; height: 90px; margin-bottom: 3px; background: linear-gradient(rgba(255, 255, 255, 0), #fff); pointer-events: none; }
.mhc-paywall__eyebrow { display: block; margin: 0 0 8px; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #A06B3E; }
.mhc-paywall__title { margin: 0 0 12px; font-size: 22px; line-height: 1.3; }
.mhc-paywall > p { max-width: 520px; margin: 0 auto 12px; font-family: Georgia, "Times New Roman", serif; font-size: 16px; color: #3a3a3a; }
.mhc-paywall .mhc-plans { margin: 20px 0 6px; text-align: left; }
.mhc-paywall__actions { margin-top: 18px !important; }
.mhc-paywall__actions .btn { margin: 0; border-radius: 3px; }
.mhc-paywall__soon { font-size: 12px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: #126788; }
.mhc-paywall > p.mhc-paywall__small { font-size: 13px; color: #6b6b6b; }
.mhc-paywall .mhc-acct__link { font-size: 13px; }
@media (max-width: 640px) {
	.mhc-paywall { padding: 26px 18px 20px; }
}

/* "Pro" tags: cards, article top, library, paywall. */
.mhc-access-tag { display: inline-block; margin: 0 0 6px; padding: 3px 7px 2px; background: #126788; color: #fff; font-size: 10px; font-weight: 700; line-height: 1.3; letter-spacing: 0.08em; text-transform: uppercase; vertical-align: middle; align-self: flex-start; width: fit-content; }
.mhc-actions__tag { margin-right: auto; line-height: 0; }
.mhc-actions__tag .mhc-access-tag, .mhc-lib__kind .mhc-access-tag, .mhc-paywall__eyebrow .mhc-access-tag { margin: 0; }
.mhc-lib__kind .mhc-access-tag { margin-left: 8px; padding: 2px 5px 1px; font-size: 9px; }
.mhc-lock { font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #A06B3E; }

/* Plans: the /plans/ page and the paywall (templates/parts-plan-cards.php). */
.mhc-plans-header { max-width: 680px; margin: 0 auto 28px; }
.mhc-plans-header .mhc-eyebrow { color: #A06B3E; }
.mhc-plans-header__intro { margin: 10px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: 18px; line-height: 1.6; color: #3a3a3a; }
.mhc-plans { margin: 0 auto 40px; }
.mhc-plans__billing { display: flex; justify-content: center; margin: 0 0 32px; }
.mhc-plans__billing button { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 13px 22px; border: 1px solid #126788; border-radius: 0; background: #fff; color: #126788; font: inherit; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; }
.mhc-plans__billing button + button { margin-left: -1px; }
/* The label is trimmed to the height of its capitals, so equal padding centres it whatever the font's metrics. */
.mhc-plans__label { display: block; text-box: trim-both cap alphabetic; }
.mhc-plans__billing .mhc-plans__save { display: block; text-box: trim-both cap alphabetic; }
@supports not (text-box: trim-both cap alphabetic) {
	.mhc-plans__billing button { padding: 14px 22px 12px; }
}
.mhc-plans__billing button.is-on { background: #126788; color: #fff; }
.mhc-plans__save { font-family: Georgia, "Times New Roman", serif; font-size: 12px; font-weight: 400; font-style: italic; letter-spacing: 0; text-transform: none; color: #A06B3E; }
.mhc-plans__billing button.is-on .mhc-plans__save { color: #f3e3d3; }
.mhc-plans { --mhc-plans-n: 3; }
.mhc-plans--page .mhc-plans__grid, .mhc-plans--page .mhc-plan--education { max-width: calc(var(--mhc-plans-n) * 400px); margin-left: auto; margin-right: auto; }
.mhc-plans__grid { display: grid; grid-template-columns: repeat(var(--mhc-plans-n), minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.mhc-plans--paywall .mhc-plans__grid { max-width: calc(var(--mhc-plans-n) * 360px); margin-left: auto; margin-right: auto; gap: 16px; }
.mhc-plan { position: relative; display: flex; flex-direction: column; padding: 30px 26px 26px; border: 1px solid #e2e2e2; border-top: 3px solid #cfcfcf; background: #fff; }
.mhc-plan--pro { border-top-color: #126788; }
.mhc-plan--education { grid-column: 1 / -1; flex-direction: row; align-items: flex-start; gap: 40px; margin-top: 24px; border-top-color: #3a3a3a; background: #f7f7f7; }
.mhc-plan--education .mhc-plan__intro { flex: 0 0 34%; }
.mhc-plan--education .mhc-plan__price { min-height: 0; }
.mhc-plan--education .mhc-plan__action .btn { display: inline-block; width: auto; padding-left: 28px; padding-right: 28px; }
.mhc-plan--education .mhc-plan__includes { flex: 1; margin: 0; padding: 0; border-top: 0; }
.mhc-plan--education .mhc-plan__includes li::before { color: #3a3a3a; }
.mhc-plan--education { flex-wrap: wrap; }
.mhc-quote { flex: 0 0 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; padding-top: 24px; margin-top: 4px; border-top: 1px solid #d8d8d8; }
.mhc-quote[hidden] { display: none; }
.mhc-quote__title { grid-column: 1 / -1; margin: 0; font-size: 18px; }
.mhc-quote__field { display: flex; flex-direction: column; gap: 4px; margin: 0; font-size: 14px; }
.mhc-quote__field--wide, .mhc-quote > .mhc-acct__error, .mhc-quote > .btn, .mhc-quote__done { grid-column: 1 / -1; }
.mhc-quote input, .mhc-quote select, .mhc-quote textarea { margin: 0; width: 100%; box-sizing: border-box; border: 1px solid #999; border-radius: 0; padding: 9px 10px; font: inherit; background: #fff; }
.mhc-quote > .btn { justify-self: start; }
.mhc-quote__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.mhc-quote__done { margin: 0; font-size: 16px; }
.mhc-plan--kids { border-top-color: #35a2af; }
.mhc-plan--kids .mhc-plan__name { color: #1f7f8b; }
.mhc-plan--kids .mhc-plan__ribbon { background: #35a2af; }
.mhc-plan--kids .mhc-plan__includes li::before { color: #1f7f8b; }
.mhc-plan__ribbon { position: absolute; top: -3px; right: 22px; transform: translateY(-100%); padding: 4px 9px 3px; background: #A06B3E; color: #fff; font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.mhc-plan__name { margin: 0 0 6px; font-size: 22px; line-height: 1.2; }
.mhc-plan--pro .mhc-plan__name { color: #126788; }
.mhc-plan .mhc-plan__tagline { margin: 0 0 18px; font-family: Georgia, "Times New Roman", serif; font-size: 15px; line-height: 1.5; color: #3a3a3a; }
.mhc-plan__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; min-height: 48px; margin: 0 0 20px; }
.mhc-plan__price > span:not([hidden]) { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 6px; }
.mhc-plan__amount { font-size: 34px; font-weight: 700; line-height: 1; color: #0a0a0a; }
.mhc-plan__amount--tba { font-size: 20px; color: #126788; }
.mhc-plan__per { font-family: Georgia, "Times New Roman", serif; font-size: 14px; color: #6b6b6b; }
.mhc-plan__saving { padding: 2px 6px 1px; background: #A06B3E; color: #fff; font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.mhc-plan__action { margin: 0 0 4px; }
.mhc-plan__action .btn { display: block; width: 100%; margin: 0; border-radius: 0; text-align: center; }
.mhc-plan__action .btn:disabled, .mhc-plan__disabled { opacity: 0.5; cursor: default; }
.mhc-plan__note { display: block; margin-top: 8px; font-family: Georgia, "Times New Roman", serif; font-size: 13px; color: #6b6b6b; text-align: center; }
.mhc-plan__includes { margin: 22px 0 0; padding: 18px 0 0; border-top: 1px solid #ebebeb; list-style: none; font-family: Georgia, "Times New Roman", serif; font-size: 15px; line-height: 1.45; color: #1a1a1a; }
.mhc-plan__includes li { position: relative; margin: 0 0 9px; padding-left: 22px; }
.mhc-plan__includes li::before { content: '✓'; position: absolute; left: 0; top: 0; color: #126788; font-weight: 700; }
.mhc-plan__soon { display: inline-block; margin-left: 6px; padding: 1px 5px 0; border: 1px solid #A06B3E; color: #A06B3E; font-family: "Sinkin Sans", system-ui, sans-serif; font-size: 9px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; vertical-align: 2px; }
.mhc-plan__fit { display: block; margin: 0 0 12px; font-size: 11px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.mhc-plan__fit.is-yes { color: #126788; }
.mhc-plan__fit.is-no { color: #8a8a8a; }
.mhc-plans--paywall .mhc-plan { padding: 22px 20px 18px; }
.mhc-plans--paywall .mhc-plan__price { min-height: 0; margin: 0; }
.mhc-plans--paywall .mhc-plan__amount { font-size: 22px; }
.mhc-plans--paywall .mhc-plan__includes { margin-top: 14px; padding-top: 14px; font-size: 14px; }
.mhc-plans-more { max-width: 760px; margin: 40px auto 0; }
@media (max-width: 900px) {
	.mhc-plans--page .mhc-plans__grid { grid-template-columns: minmax(0, 1fr); max-width: 480px; margin: 0 auto; gap: 32px; }
	.mhc-plans--page .mhc-plan--education { flex-direction: column; gap: 22px; max-width: 480px; margin: 32px auto 0; }
	.mhc-plan--education .mhc-plan__intro { flex: none; }
	.mhc-plan--education .mhc-plan__action .btn { display: block; width: 100%; }
	.mhc-quote { grid-template-columns: 1fr; }
	.mhc-plan--education .mhc-plan__includes { padding-top: 18px; border-top: 1px solid #ebebeb; }
}
@media (max-width: 640px) {
	.mhc-plans--paywall .mhc-plans__grid { grid-template-columns: minmax(0, 1fr); }
	.mhc-plans__billing button { padding: 12px 14px; }
}
/* Inside articles the theme sets Georgia on everything: the paywall's labels,
   names and prices are in the theme's sans (reading text sets Georgia itself). */
.mhc-paywall, .mhc-access-tag, .mhc-plan__fit, .mhc-plan__amount, .mhc-plan__name { font-family: "Sinkin Sans", system-ui, -apple-system, Roboto, sans-serif; }
.mhc-paywall a.btn, .mhc-plan a.btn { text-decoration: none; }
.mhc-access-tag--early { background: #fff; color: #A06B3E; box-shadow: inset 0 0 0 1px #A06B3E; }
.mhc-paywall--early { border-top-color: #A06B3E; }

/* "PDF" download buttons (article top, family tree). */
a.mhc-pdf, a.mhc-tree__full, button.mhc-tree__share { cursor: pointer; display: inline-flex !important; align-items: center; gap: 6px; margin: 0 !important; background: #fff; border: 1px solid #d8d8d8; border-radius: 0; padding: 8px 12px 7px; font-size: 11px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: #0a0a0a; line-height: 1.2; text-decoration: none; }
a.mhc-pdf:hover, a.mhc-tree__full:hover, button.mhc-tree__share:hover { border-color: #126788; color: #126788; }
.mhc-tree__actions { margin: 0 0 14px; }
.mhc-plans__need { max-width: 560px; margin: 0 auto 24px; padding: 10px 14px; border-left: 3px solid #A06B3E; background: #faf6f1; font-family: Georgia, "Times New Roman", serif; font-size: 16px; text-align: center; }
/* Inside articles the theme's Georgia and link underline reach the buttons. */
.mhc-actions .mhc-save, .mhc-actions .mhc-follow, a.mhc-pdf, a.mhc-tree__full, button.mhc-tree__share { font-family: "Sinkin Sans", system-ui, -apple-system, Roboto, sans-serif !important; }
a.mhc-pdf, a.mhc-pdf:hover, a.mhc-tree__full, a.mhc-tree__full:hover { text-decoration: none !important; box-shadow: none; }

/* Ad spots (MHC_Core\Ads): labelled, space kept while loading, gone if unfilled. */
.mhc-ad { clear: both; margin: 28px 0; padding: 6px 0 10px; border-top: 1px solid #ececec; border-bottom: 1px solid #ececec; text-align: center; }
.mhc-ad--in-article { min-height: 280px; }
.mhc-ad--sidebar { margin: 0; border: 0; }
.mhc-ad__label { display: block; margin: 0 0 6px; font-family: "Sinkin Sans", system-ui, -apple-system, Roboto, sans-serif; font-size: 9px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #9a9a9a; }
.mhc-ad:has(ins[data-ad-status="unfilled"]) { display: none; }
.mhc-qualifier { display: block; margin-top: 2px; font-family: Georgia, "Times New Roman", serif; font-size: 13px; font-style: italic; line-height: 1.35; color: #6b6b6b; }

/* Glossary words (MHC_Core\Glossary): dotted teal underline, and the popup. */
.mhc-term { border-bottom: 1.5px dotted #35a2af; cursor: help; text-decoration: none; }
.mhc-term:hover, .mhc-term:focus, .mhc-term[aria-expanded="true"] { border-bottom-style: solid; color: #126788; outline: none; }
.mhc-term:focus-visible { outline: 2px solid #35a2af; outline-offset: 2px; }
.mhc-gloss { position: absolute; z-index: 99990; width: 320px; max-width: calc(100vw - 16px); padding: 16px 18px 14px; border: 1px solid #e2e2e2; border-top: 3px solid #35a2af; background: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14); color: #1a1a1a; text-align: left; }
.mhc-gloss__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.mhc-gloss__word { font-family: "Sinkin Sans", system-ui, -apple-system, Roboto, sans-serif; font-size: 16px; font-weight: 700; color: #0a0a0a; }
.mhc-gloss__arabic { font-size: 20px; line-height: 1.2; color: #126788; }
.mhc-gloss__cat { display: block; margin: 2px 0 0; font-family: "Sinkin Sans", system-ui, sans-serif; font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #A06B3E; }
.mhc-gloss__text { margin: 10px 0 10px !important; font-family: Georgia, "Times New Roman", serif; font-size: 15px !important; line-height: 1.5; color: #1a1a1a; }
.mhc-gloss__loading { margin: 0 !important; color: #8a8a8a; }
.mhc-gloss__more { font-family: "Sinkin Sans", system-ui, sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #35a2af; text-decoration: none !important; }
.mhc-gloss__more:hover { color: #126788; }
.mhc-gloss__actions { display: flex; align-items: center; gap: 14px; }
.mhc-gloss__btn { margin: 0 !important; border-radius: 0; background: #A06B3E !important; border-color: #A06B3E !important; text-decoration: none !important; }

/* Glossary pages: the entry (/glossary/caliph/). Core's fallback is one
   760px column; the theme lays it out like a profile: the meaning and the
   corrections note in the left sidebar, the rest on the right. */
.mhc-term-page__meaning { max-width: 760px; margin: 28px auto 32px; padding: 18px 24px; border-left: 3px solid #35a2af; background: #f3fafb; font-family: Georgia, "Times New Roman", serif; font-size: 19px; line-height: 1.6; }
.mhc-term-page__body { max-width: 760px; margin: 0 auto; }
/* The short meaning above is free: don't fade it into the paywall. */
.mhc-term-page__body .mhc-paywall::before { display: none; }
.mhc-term-page__related { max-width: 760px; margin: 40px auto 0; }
.mhc-layout-main .mhc-term-page__meaning { max-width: none; margin: 0 0 36px; padding: 22px 28px; font-size: 20px; }
/* The theme zeroes the first child's top padding in the main column: not this box's. */
.mhc-layout-main > .mhc-term-page__meaning:first-child { padding-top: 22px !important; }
.mhc-layout-main .mhc-term-page__body { max-width: none; margin-left: 0; margin-right: 0; }
/* Related words, the people and the articles: full width, under both columns. */
.mhc-term-more { margin-top: 16px; }
.mhc-term-more .mhc-term-page__related { max-width: none; margin: 40px 0; }
.mhc-term-more .mhc-term-page__related .mhc-term-page__h { margin-top: 0; }
.mhc-term-page__related p { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.mhc-term-page__related .tag-cloud-link { margin: 0; }

/* The glossary index (/glossary/): the A to Z Index's layout (front.css
   .mhc-az), with each word's own-language spelling and short meaning. */
.mhc-glossary-az__list { gap: 24px 40px; }
.mhc-glossary-az__head { display: flex; align-items: center; gap: 10px; height: 36px; }
.mhc-glossary-az__word { font-family: "Sinkin Sans", system-ui, sans-serif; font-size: 16px; font-weight: 600; line-height: 26px; color: #0a0a0a !important; text-decoration: none; }
.mhc-glossary-az__word:hover { color: #A06B3E !important; }
.mhc-glossary-az__native { height: 26px; font-size: 19px; line-height: 26px; color: #126788; }
.mhc-glossary-az__list .mhc-az__type { margin-top: 4px; text-transform: uppercase; letter-spacing: 0.06em; font-size: 10px; }
.mhc-glossary-az__meaning { display: block; margin-top: 6px; font-size: 15px; line-height: 1.5; color: #3a3a3a; }

/* Glossary: one spelling in its own language (free), the Pro layer, the profile box. */
.mhc-gloss__native { display: inline-flex; flex-direction: column; align-items: flex-end; line-height: 1.15; }
.mhc-gloss__lang { font-family: "Sinkin Sans", system-ui, sans-serif; font-size: 9px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #8a8a8a; }
.mhc-gloss__locked { margin: 0 0 10px !important; padding: 8px 10px; background: #faf6f1; font-family: Georgia, "Times New Roman", serif; font-size: 13px !important; line-height: 1.45; color: #3a3a3a; }
.mhc-gloss__locked a { color: #A06B3E; font-weight: 600; }
.mhc-gloss__locked .mhc-acct__link { font-size: 13px; }
.mhc-term-page__native { display: block; margin: 8px 0 0; font-size: 38px; line-height: 1.7; color: #126788; }
.mhc-term-page__language { display: block; margin-top: 0; font-family: "Sinkin Sans", system-ui, sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #8a8a8a; }
.mhc-term-page__explore { margin: 0 auto 40px; }
.mhc-hero .mhc-term-page__explore { margin: 22px auto 0; }
.mhc-term-page__explore .btn { margin: 0; border-radius: 0; text-decoration: none; }
.mhc-term-page__count { display: block; margin-top: 10px; font-family: Georgia, "Times New Roman", serif; font-size: 14px; font-style: italic; color: #6b6b6b; }
.mhc .mhc-term-page__h { margin: 36px 0 16px; padding-bottom: 8px; border-bottom: 1px solid #e2ddd3; font-size: 16px; font-weight: 700; line-height: 1.2; color: #111; }
.mhc-term-page__body > div > .mhc-term-page__h:first-child { margin-top: 0; }
.mhc-term-page__origin { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 17px; line-height: 1.6; }

/* Spellings by language: three even columns, every cell left-aligned
   (Arabic-script words keep their right-to-left shaping, isolated). */
.mhc .mhc-term-forms { width: 100%; margin: 0; table-layout: fixed; border-collapse: collapse; border: 0; font-size: 15px; }
.mhc .mhc-term-forms th { padding: 12px 16px 10px; border: 0; border-bottom: 2px solid #35a2af; background: #f6f6f6; font-family: "Sinkin Sans", system-ui, sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-align: left; text-transform: uppercase; color: #6b6b6b; }
.mhc .mhc-term-forms td { height: 60px; padding: 8px 16px; border: 0; border-bottom: 1px solid #ececec; background: #fff; font-family: Georgia, "Times New Roman", serif; text-align: left; vertical-align: middle; }
.mhc .mhc-term-forms th:nth-child(1) { width: 34%; }
.mhc .mhc-term-forms th:nth-child(2) { width: 33%; }
.mhc-term-forms__lang { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.mhc .mhc-term-forms__text { font-size: 22px; line-height: 1.5; color: #126788; }
.mhc .mhc-term-forms__text[dir="rtl"] { direction: rtl; text-align: left; unicode-bidi: plaintext; }
.mhc-term-forms__origin { display: inline-block; padding: 4px 6px 3px; background: #35a2af; color: #fff; font-family: "Sinkin Sans", system-ui, sans-serif; font-size: 9px; font-weight: 700; line-height: 1; letter-spacing: 0.06em; text-transform: uppercase; }
.mhc-term-forms__ipa { display: block; font-size: 13px; color: #8a8a8a; }
@media (max-width: 600px) {
	.mhc .mhc-term-forms th, .mhc .mhc-term-forms td { padding-left: 10px; padding-right: 10px; }
	.mhc .mhc-term-forms__text { font-size: 19px; }
}
.mhc-glossary-box { max-width: 720px; margin: 20px auto 8px; padding: 14px 18px; border: 1px solid #e2e2e2; border-left: 3px solid #35a2af; background: #fff; text-align: left; }
.mhc-glossary-box__label { display: block; margin-bottom: 4px; font-family: "Sinkin Sans", system-ui, sans-serif; font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #35a2af; }
.mhc-glossary-box__word { font-family: "Sinkin Sans", system-ui, sans-serif; font-size: 17px; font-weight: 700; color: #0a0a0a; text-decoration: none; }
.mhc-glossary-box__native { margin-left: 8px; font-size: 20px; color: #126788; }
.mhc-glossary-box p { margin: 6px 0 6px !important; font-family: Georgia, "Times New Roman", serif; font-size: 15px; line-height: 1.5; color: #3a3a3a; }
.mhc-glossary-box__people { font-size: 14px !important; }
.mhc-glossary-box__more { font-family: "Sinkin Sans", system-ui, sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: #35a2af; text-decoration: none; }
/* Urdu in Nastaliq (font loaded only where Urdu appears), with room for its tall letters. */
[lang="ur"], .mhc-term-forms td[lang="ur"] { font-family: "Noto Nastaliq Urdu", Georgia, serif !important; line-height: 2.1; }
/* Nastaliq runs large and deep: a size down wherever it sits beside Naskh or Latin. */
.mhc-glossary-az__native[lang="ur"] { height: 36px; font-size: 15px; line-height: 36px !important; }
.mhc .mhc-term-forms__text[lang="ur"] { font-size: 18px; line-height: 2 !important; }
.mhc-term-page__native[lang="ur"] { font-size: 28px; line-height: 2.3 !important; }
.mhc-gloss__arabic[lang="ur"], .mhc-glossary-box__native[lang="ur"] { font-size: 16px; }

/* Corrections disclaimer: end of every profile and glossary entry. */
.mhc-correction { margin: 48px 0 8px; padding: 16px 20px; border-left: 3px solid #126788; background: #f4f8fa; font-family: Georgia, "Times New Roman", serif; font-size: 15px; line-height: 1.55; color: #3a3a3a; }
.mhc-layout-sidebar .mhc-correction { margin: 8px 0 26px; }
.mhc-layout-sidebar .mhc-correction a { display: block; margin: 10px 0 0; }
.mhc-correction--narrow { max-width: 760px; margin-left: auto; margin-right: auto; }
.mhc-correction p { margin: 0; }
.mhc-correction strong { display: block; margin-bottom: 4px; font-size: 16px; font-family: "Sinkin Sans", system-ui, -apple-system, Roboto, sans-serif; color: #0a0a0a; }
.mhc-correction a { display: inline-block; margin-left: 4px; font-family: "Sinkin Sans", system-ui, -apple-system, Roboto, sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #126788; text-decoration: none; }
.mhc-correction a:hover { text-decoration: underline; }

/* Featured profiles: a glossary entry's sidebar (Glossary::featured()). */
.mhc-featured__list { margin: 0; padding: 0; list-style: none; }
.mhc-featured__list li { margin: 0 0 14px; }
.mhc-featured__item { display: flex; align-items: center; gap: 14px; text-decoration: none; color: inherit; }
.mhc-featured__thumb { flex: 0 0 60px; width: 60px; height: 60px; overflow: hidden; background: #f1efe9; }
.mhc-featured__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mhc-featured__initial { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; font-family: "Sinkin Sans", system-ui, sans-serif; font-size: 22px; font-weight: 700; color: #A06B3E; }
.mhc-featured__body { min-width: 0; }
.mhc-featured__name { display: block; font-family: "Sinkin Sans", system-ui, sans-serif; font-size: 15px; font-weight: 700; line-height: 1.25; color: #0a0a0a; }
.mhc-featured__item:hover .mhc-featured__name { color: #A06B3E; }
.mhc-featured__meta { display: block; margin-top: 3px; font-family: Georgia, "Times New Roman", serif; font-size: 13px; line-height: 1.35; color: #6b6b6b; }
.mhc-featured__all { display: inline-block; margin-top: 4px; font-family: "Sinkin Sans", system-ui, sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: #126788; text-decoration: none; }
.mhc-featured__all:hover { text-decoration: underline; }

/* Payments: thank-you note, subscription rows, region switch, Kids places */
.mhc-acct-page__paid { margin: 0 0 20px; padding: 12px 16px; border-left: 3px solid #126788; background: #eef6f9; }
.mhc-acct-page__bill { display: grid; gap: 6px; justify-items: start; padding: 12px 0; border-top: 1px solid #e4e4e4; }
.mhc-acct-page__bill:first-of-type { border-top: 0; }
.mhc-plans__region { margin: -16px 0 28px; text-align: center; font-size: 13px; color: #6b6b6b; }
.mhc-plans__region a { color: #126788; }
.mhc-plans__region strong { color: #2b2b2b; }
.mhc-plan__places { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0 0 10px; font-size: 13px; }
.mhc-plan__places input { width: 4em; padding: 6px 8px; border: 1px solid #c9c9c9; border-radius: 0; font: inherit; text-align: center; }

/* Founding offer and gifts */
.mhc-plans__founding { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 8px; margin: 0 0 24px; padding: 12px 16px; background: #f3e3d3; color: #2b2b2b; text-align: center; }
.mhc-plan__founding { margin: 8px 0 0; font-size: 13px; font-weight: 600; color: #a06b3e; }
.mhc-gifts { margin: 32px 0 0; padding: 24px; border: 1px solid #e4e4e4; text-align: center; }
.mhc-gifts__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin: 16px 0; padding: 0; list-style: none; }
.mhc-gifts__list li { display: grid; gap: 8px; justify-items: center; min-width: 200px; padding: 16px; border: 1px solid #e4e4e4; }
.mhc-gifts__name { font-weight: 700; }
.mhc-gifts__price { color: #126788; font-size: 20px; }
.mhc-gifts__redeem { margin: 0; font-size: 13px; }
.mhc-acct-page__code { font-family: ui-monospace, Menlo, monospace; letter-spacing: 0.04em; user-select: all; }
.mhc-acct-page__redeem { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.mhc-acct-page__redeem input { padding: 10px 12px; border: 1px solid #c9c9c9; border-radius: 0; font: inherit; font-family: ui-monospace, Menlo, monospace; text-transform: uppercase; min-width: 16em; }

.mhc-plans__legal { margin: 24px 0 0; text-align: center; font-size: 13px; color: #6b6b6b; }
.mhc-plans__legal a { color: #126788; }

/* Newsletter box ([mhc_subscribe]) */
.mhc-subscribe { max-width: 28rem; }
.mhc-subscribe__row { display: flex; gap: 8px; }
.mhc-subscribe__row input[type="email"] { flex: 1; min-width: 0; padding: 10px 12px; border: 1px solid #c9c9c9; border-radius: 0; font: inherit; }
.mhc-subscribe__trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.mhc-subscribe__msg { margin: 8px 0 0; padding: 8px 12px; border-left: 3px solid #126788; background: #eef6f9; font-size: 14px; }
.mhc-subscribe__msg.is-error { border-left-color: #b32d2e; background: #fbeaea; }
.mhc-subscribe__small { margin: 8px 0 0; font-size: 12px; color: #6b6b6b; }
.mhc-subscribe__small a { color: #126788; }

/* The plan tag ("Pro"): capitals trimmed to their own height, padding from the line height we keep (equal space above and below the letters in any font). */
@supports (text-box: trim-both cap alphabetic) and (padding: 1cap) {
	.mhc-access-tag { text-box: trim-both cap alphabetic; padding-block: calc(2.5px + (1lh - 1cap) / 2); }
	/* Save / Follow: the icon sets the button's height, so the padding stays as it was and the trimmed label is centred beside the icon. */
	.mhc-save__label,
	.mhc-follow__label { display: block; text-box: trim-both cap alphabetic; }
	button.mhc-save:not(.mhc-save--compact),
	button.mhc-follow { padding-block: 7.5px; }
	.mhc-lib__kind .mhc-access-tag { padding-block: calc(1.5px + (1lh - 1cap) / 2); }
}
@supports not ((text-box: trim-both cap alphabetic) and (padding: 1cap)) {
	button.mhc-save:not(.mhc-save--compact),
	button.mhc-follow { padding: 8.8px 12px 6.2px; }
}

/* My courses: a course's progress. */
.mhc-acct__bar { height: 6px; margin: 10px 0 6px; background: #e2ddd3; }
.mhc-acct__bar i { display: block; height: 100%; background: #126788; }

/* Points, level, streak and badges (My account → "Your learning"). Square, brand colours. */
.mhc-learn__points { margin: 0 0 8px; font-size: 14px; color: #565151; }
.mhc-learn__points strong { font-size: 30px; line-height: 1.1; color: #126788; margin-right: 4px; }
.mhc-learn__bar { height: 8px; background: #e4ecef; margin: 0 0 6px; }
.mhc-learn__bar span { display: block; height: 100%; background: #126788; }
.mhc-learn__streak { margin: 14px 0 6px; }
.mhc-learn__streak strong { color: #a06b3e; font-size: 16px; }
.mhc-learn__week { display: flex; gap: 6px; margin: 0 0 6px; padding: 0; list-style: none; }
.mhc-learn__week li { flex: 1; text-align: center; padding: 6px 0; border: 1px solid #d5dde0; font-size: 11px; font-weight: 700; color: #8a8a8a; }
.mhc-learn__week li.is-on { background: #a06b3e; border-color: #a06b3e; color: #fff; }
.mhc-learn__week li.is-today:not(.is-on) { border-color: #126788; color: #126788; }
.mhc-learn__badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; }
.mhc-learn__badge { padding: 5px 9px; border: 1px solid #d5dde0; color: #9a9a9a; font-size: 11px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.mhc-learn__badge.is-on { background: #126788; border-color: #126788; color: #fff; }
.mhc-learn__recent { margin: 12px 0 0; padding: 10px 0 0; border-top: 1px solid #eee; list-style: none; font-size: 12px; color: #565151; }
.mhc-learn__recent li { display: flex; justify-content: space-between; padding: 2px 0; }
.mhc-learn__recent strong { color: #126788; }

/* Plans page: a coupon code. */
.mhc-plans__coupon { margin: 0 0 18px; }
.mhc-plans__coupon-toggle { padding: 0; border: 0; background: none; color: #126788; font: inherit; font-size: 14px; text-decoration: underline; cursor: pointer; }
.mhc-plans__coupon-form { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; max-width: 380px; }
.mhc-plans__coupon-form[hidden] { display: none; }
.mhc-plans__coupon-form input { flex: 1 1 160px; min-width: 0; padding: 10px 12px; border: 1px solid #c8cfd2; border-radius: 0; font: inherit; text-transform: uppercase; letter-spacing: .06em; }
.mhc-plans__coupon-msg { margin: 8px 0 0; font-size: 14px; color: #00763d; }
.mhc-plans__coupon-msg.is-bad { color: #b32d2e; }
.mhc-plan__coupon { margin: 6px 0 0; font-size: 14px; font-weight: 700; color: #a06b3e; }

/* Kids subscription: change the number of places. */
.mhc-acct-places { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 10px 0 0; }
.mhc-acct-places input { width: 64px; padding: 8px; border: 1px solid #c8cfd2; border-radius: 0; font: inherit; }
.mhc-acct-places .mhc-acct__small { flex: 1 0 100%; margin: 0; }


/* My account: organisation card */
.mhc-org__line { margin: 0 0 8px; font-size: 14px; }
.mhc-org__members { list-style: none; margin: 8px 0 12px; padding: 0; font-size: 14px; }
.mhc-org__members li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-top: 1px solid #e4e4e4; overflow-wrap: anywhere; }
.mhc-org__remove { background: none; border: 0; padding: 0; color: #126788; text-decoration: underline; cursor: pointer; font: inherit; flex: none; }
.mhc-me-card--org textarea { width: 100%; box-sizing: border-box; border: 1px solid #999; border-radius: 0; padding: 8px 10px; font: inherit; margin-bottom: 8px; }

/* Leaderboard (inside "Your learning"). */
.mhc-board { margin: 14px 0 0; padding: 12px 0 0; border-top: 1px solid #eee; }
.mhc-board__title { margin: 0 0 6px; font-size: 14px; }
.mhc-board__join { margin-top: 8px; }
.mhc-board__tabs { display: flex; gap: 0; margin: 0 0 8px; border: 1px solid #126788; }
.mhc-board__tab { flex: 1; padding: 6px 4px; border: 0; border-radius: 0; background: #fff; color: #126788; font-size: 12px; cursor: pointer; }
.mhc-board__tab + .mhc-board__tab { border-left: 1px solid #126788; }
.mhc-board__tab.is-on { background: #126788; color: #fff; }
.mhc-board__list { margin: 0 0 8px; padding: 0; list-style: none; font-size: 13px; }
.mhc-board__list li { display: grid; grid-template-columns: 1.8em minmax(0, 1fr) auto auto; gap: 8px; align-items: baseline; padding: 4px 6px; border-bottom: 1px solid #f3f3f3; }
.mhc-board__list li.is-you { background: #eef5f8; }
.mhc-board__rank { color: #565151; }
.mhc-board__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mhc-board__level { font-size: 11px; color: #565151; }
.mhc-board__points { color: #126788; }
.mhc-board__leave { font-size: 12px; }

/* The Terms and Privacy Policy tick, the cover over Google's button until it is ticked, and the country search box. */
.mhc-acct__terms { display: flex; gap: 8px; align-items: flex-start; margin: 14px 0 10px; font-size: 14px; line-height: 1.4; cursor: pointer; text-transform: none; letter-spacing: normal; font-weight: 400; }
.mhc-acct__terms input { margin-top: 3px; flex: none; }
.mhc-acct__terms a { color: #126788; }
.mhc-acct__gwrap { position: relative; }
.mhc-acct__shield { position: absolute; inset: 0; z-index: 2; cursor: pointer; }
.mhc-acct__shield[hidden] { display: none; }
.mhc-acct__search { position: relative; }
.mhc-acct__results { position: absolute; left: 0; right: 0; top: 100%; z-index: 20; margin: 2px 0 0; padding: 0; list-style: none; max-height: 240px; overflow: auto; background: #fff; border: 1px solid #c8c8c8; box-shadow: 0 4px 12px rgba(0, 0, 0, .12); }
.mhc-acct__results[hidden] { display: none; }
.mhc-acct__results li { padding: 8px 12px; cursor: pointer; font-size: 14px; }
.mhc-acct__results li:hover { background: #f1f6f8; }


/* Sign-in, email verification and the new-reader form share one quiet card. */
.mhc-acct { --acct-ink: #111; --acct-muted: #686459; --acct-line: #ded9ce; --acct-cream: #f8f5e8; --acct-teal: #126788; --acct-brown: #a06b3e; }
.mhc-acct--modal { padding: 24px; background: rgba(15,25,28,.6); }
.mhc-acct .mhc-acct__panel { box-sizing: border-box; max-width: 480px; padding: 38px 32px 30px; border: 1px solid var(--acct-line); border-radius: 3px; max-height: calc(100dvh - 48px); box-shadow: 0 24px 80px rgba(0,0,0,.22); font-family: "Sinkin Sans",sans-serif; }
.mhc-acct--page .mhc-acct__panel { max-height: none; box-shadow: none; }
.mhc-acct .mhc-acct__close { top: 10px; right: 10px; width: 32px; height: 32px; padding: 0; display: flex; align-items: center; justify-content: center; border-radius: 3px; color: var(--acct-muted); font: 400 25px/1 Arial,sans-serif; }
.mhc-acct .mhc-acct__close:hover { background: var(--acct-cream); color: var(--acct-ink); }
.mhc-acct .mhc-acct__title { margin: 0 24px 12px 0; color: var(--acct-ink); font: 600 24px/1.4 "Sinkin Sans",sans-serif; letter-spacing: -.035em; }
.mhc-acct .mhc-acct__eyebrow { margin: 0 24px 12px 0; color: var(--acct-brown); font: 600 9px/1.6 "Sinkin Sans",sans-serif; letter-spacing: .09em; text-transform: uppercase; }
.mhc-acct p, .mhc-acct .mhc-acct__help, .mhc-acct .mhc-acct__check { font-family: "Sinkin Sans",sans-serif; font-size: 12px; line-height: 1.8; }
.mhc-acct .mhc-acct__intro { margin: 0 0 20px; color: var(--acct-muted); overflow-wrap: anywhere; }
.mhc-acct .mhc-acct__perks { margin: 0 0 24px; padding: 14px 16px; list-style: none; border-radius: 3px; background: var(--acct-cream); font: 400 11px/1.7 "Sinkin Sans",sans-serif; color: var(--acct-ink); }
.mhc-acct .mhc-acct__perks li { position: relative; margin: 0; padding-left: 20px; }
.mhc-acct .mhc-acct__perks li + li { margin-top: 6px; }
.mhc-acct .mhc-acct__perks li::before { content: '✓'; position: absolute; left: 0; color: var(--acct-teal); font-weight: 700; }
.mhc-acct .mhc-acct__field { margin: 0 0 18px; }
.mhc-acct .mhc-acct__label { margin-bottom: 8px; color: var(--acct-ink); font-size: 10px; letter-spacing: .04em; }
.mhc-acct .mhc-acct__field input { box-sizing: border-box; min-height: 48px; padding: 12px 14px; border: 1px solid var(--acct-line); border-radius: 3px; background: #fff; color: var(--acct-ink); font: 400 16px/1.4 "Sinkin Sans",sans-serif; }
.mhc-acct .mhc-acct__field input:focus { border-color: var(--acct-teal); box-shadow: 0 0 0 2px rgba(18,103,136,.12); }
.mhc-acct .mhc-acct__field input::placeholder { color: #777267; opacity: 1; }
.mhc-acct .mhc-acct__terms { margin: 0 0 20px; gap: 10px; font: 400 11px/1.8 "Sinkin Sans",sans-serif; color: var(--acct-muted); }
.mhc-acct .mhc-acct__terms input { appearance: auto; width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--acct-teal); }
.mhc-acct .mhc-acct__terms a { text-decoration: underline; text-underline-offset: 3px; }
.mhc-acct .mhc-acct__primary { min-height: 48px; height: auto; padding: 14px 18px; border: 1px solid var(--acct-teal); border-radius: 3px; background: var(--acct-teal); color: #fff; font: 600 12px/1.5 "Sinkin Sans",sans-serif; letter-spacing: .04em; transition: background .15s,border-color .15s; }
.mhc-acct .mhc-acct__primary:hover:not(:disabled) { background: var(--acct-brown); border-color: var(--acct-brown); color: #fff; }
.mhc-acct .mhc-acct__primary:disabled { opacity: .6; cursor: wait; }
.mhc-acct .mhc-acct__small { margin: 12px 0 0; color: var(--acct-muted); font: 400 10px/1.8 "Sinkin Sans",sans-serif; }
.mhc-acct .mhc-acct__body > .mhc-acct__small { text-align: center; }
.mhc-acct .mhc-acct__provider, .mhc-acct .mhc-acct__prefs, .mhc-acct .mhc-acct__error, .mhc-acct .mhc-acct__results { border-radius: 3px; }
.mhc-acct .mhc-acct__provider { min-height: 48px; border-color: var(--acct-line); font: 600 12px/1.5 "Sinkin Sans",sans-serif; }
.mhc-acct .mhc-acct__prefs { background: var(--acct-cream); border-color: var(--acct-line); }
.mhc-acct .mhc-acct__error { font-size: 11px; }
.mhc-acct .mhc-acct__link { min-height: 32px; font-family: "Sinkin Sans",sans-serif; font-size: 11px; text-underline-offset: 3px; }
.mhc-acct button:focus-visible, .mhc-acct a:focus-visible, .mhc-acct input[type="checkbox"]:focus-visible { outline: 2px solid var(--acct-teal); outline-offset: 3px; }
@media (max-width: 640px) {
	.mhc-acct--modal { align-items: center; padding: 12px; }
	.mhc-acct .mhc-acct__panel { padding: 36px 22px 24px; max-height: calc(100dvh - 24px); }
	.mhc-acct .mhc-acct__title { font-size: 21px; }
}
.mhc-acct .mhc-acct__optional { margin: 0 0 24px; border: 1px solid var(--acct-line); border-radius: 3px; }
.mhc-acct .mhc-acct__optional summary { padding: 14px 16px; cursor: pointer; color: var(--acct-teal); font: 600 11px/1.6 "Sinkin Sans",sans-serif; }
.mhc-acct .mhc-acct__optional summary:focus-visible { outline: 2px solid var(--acct-teal); outline-offset: 2px; }
.mhc-acct .mhc-profile-extra { margin: 0; padding: 0 16px 16px; border: 0; min-width: 0; }
.mhc-acct .mhc-acct__optional legend { display: none; }
.mhc-acct .mhc-profile-extra > .mhc-acct__small, .mhc-acct .mhc-acct__prefs .mhc-prefs-intro, .mhc-acct .mhc-acct__prefs .mhc-prefs-note { font: 400 10px/1.8 "Sinkin Sans",sans-serif; }
.mhc-acct .mhc-acct__prefs .mhc-pref-row { font-family: "Sinkin Sans",sans-serif; }
.mhc-acct .mhc-acct__prefs .mhc-pref-row__copy strong { font-size: 11px; }
.mhc-acct .mhc-acct__prefs .mhc-pref-row__copy > span { font: 400 10px/1.7 "Sinkin Sans",sans-serif; }
.mhc-acct .mhc-acct__help { margin-top: 8px; font-size: 10px; color: var(--acct-muted); }

/* A refused save, a full list: a short message at the foot of the screen with a way to the plans. */
.mhc-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 100000; max-width: min(560px, calc(100vw - 32px)); padding: 14px 44px 14px 16px; background: #1b1b1b; color: #fff; border-radius: 3px; font-size: 14px; line-height: 1.45; box-shadow: 0 6px 24px rgba(0, 0, 0, .25); }
.mhc-toast a { color: #fff; font-weight: 600; text-decoration: underline; white-space: nowrap; }
.mhc-toast__close { position: absolute; top: 6px; right: 8px; width: 28px; height: 28px; border: 0; background: transparent; color: #fff; font-size: 20px; line-height: 1; cursor: pointer; }
.mhc-lib__limits { margin: 0 0 14px; }

/* The quiet reminder (a few free pages left): the same bar as a message, with room for a link or two. */
.mhc-toast--note { bottom: calc(var(--mh-mobile-nav-height, 0px) + 16px); padding-right: 44px; font-size: 13.5px; }
.mhc-toast--note > * { margin-right: 4px; }
.mhc-toast__link { display: inline; padding: 0; border: 0; background: transparent; color: #fff; font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; white-space: nowrap; }

/* My account → Overview: free pages used this month. */
.mhc-me-reading { margin: 0 0 28px; padding: 18px 22px; background: #fff; border: 1px solid var(--m-line); }
.mhc-me .mhc-me-reading h3 { margin: 0 0 10px; font-size: 15px; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--m-ink); }
.mhc-me-reading .mhc-acct__small { margin: 8px 0 0; }

/* The free-reading limit box: the Pro button is brown and turns black when pointed at (the account button beside it
   stays black), and is never underlined. The !important is because the theme's own hover rule for .btn is more
   specific and turns every button brown. */
.mhc-paywall.mhc-paywall--meter .mhc-paywall__actions a.btn { background: var(--mh-brown, #a06b3e); border-color: var(--mh-brown, #a06b3e); color: #fff; text-decoration: none !important; transition: background .15s, border-color .15s; }
.mhc-paywall.mhc-paywall--meter .mhc-paywall__actions a.btn:hover,
.mhc-paywall.mhc-paywall--meter .mhc-paywall__actions a.btn:focus { background: var(--mh-ink, #111) !important; border-color: var(--mh-ink, #111); color: #fff; text-decoration: none !important; }

/* The limit box keeps its own top room: the layout takes the top padding and margin off the first thing in the main column. */
.mhc-layout-main > .mhc-paywall:first-child { padding-top: 32px !important; margin-top: 8px !important; }
.mhc-paywall--meter .mhc-paywall__eyebrow { margin-bottom: 12px; }
.mhc-paywall--meter .mhc-paywall__title { margin-bottom: 14px; }

@media (max-width: 640px) {
	/* On a phone the limit box and the notes sit inside the same side space as the header (15px), and read comfortably. */
	.mhc-layout-main > .mhc-paywall:first-child { padding-top: 26px !important; }
	.mhc-paywall--meter { padding-left: 20px; padding-right: 20px; }
	.mhc-paywall--meter .mhc-paywall__actions { display: flex; flex-direction: column; gap: 10px; }
	.mhc-paywall--meter .mhc-paywall__actions .btn { width: 100%; text-align: center; }
	.mhc-toast { left: 15px; right: 15px; width: auto; max-width: none; transform: none; padding: 16px 44px 16px 18px; font-size: 14.5px; line-height: 1.55; }
	.mhc-toast--note > * { margin-right: 0; }
}

.mhc-plan__action.has-zero-offer > :is(a,button):not([data-mhc-zero-offer]){display:none}

/* Offers belong to the price row, so aligned plan-card subgrids reserve their height. */
.mhc-plan__price > .mhc-plan__coupon,.mhc-plan__price > .mhc-plan__founding{position:static;flex:0 0 100%;width:100%;min-width:0;margin:8px 0 0;line-height:1.6;overflow-wrap:anywhere}


/* "Tell me when it opens" (Kids and Family cards while they are not on sale). */
.mhc-interest { display: flex; flex-direction: column; gap: 10px; }
.mhc-interest input[type="email"] { width: 100%; box-sizing: border-box; margin: 0; padding: 11px 12px; border: 1px solid #c8cfd2; border-radius: 3px; background: #fff; font: inherit; font-size: 12px; }
.mhc-interest .btn { display: block; width: 100%; margin: 0; text-align: center; }
.mhc-interest__hint { margin: 0; font-size: 12.5px; line-height: 1.45; color: #6b6b6b; }
.mhc-interest__done { margin: 0; padding: 12px 14px; background: #eef4ef; border-left: 3px solid #5b7a5e; font-size: 14px; line-height: 1.45; color: #2b2b2b; }
