/*
 * MHC Main: the home page's sections (inc/home-render.php).
 * Square corners and no pills, brown #A06B3E and secondary #126788.
 * The story cards in "Latest stories" are TheIssue's own (not restyled here).
 */

.mh-home { background: var(--mh-paper); }
.mh-sec { position: relative; padding: 72px 0; color: var(--mh-ink); }
.mh-sec h1, .mh-sec h2, .mh-sec h3, .mh-sec h4 { text-transform: none; letter-spacing: -.01em; }
.mh-sec a { text-decoration: none; }

.mh-eyebrow { display: inline-block; font-size: 11px; line-height: 1.4; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--mh-brown); }
.mh-dark .mh-eyebrow, .mh-ink .mh-eyebrow, .mh-teal .mh-eyebrow, .mh-side .mh-eyebrow, .mh-lead .mh-eyebrow { color: var(--mh-cream); }
/* Section subheads: one style everywhere. Dark ink on light sections, white on dark ones, with a short dash in front. */
.mh-sec { --mh-sub-ink: var(--mh-ink); --mh-sub-dash: var(--mh-brown); }
.mh-sec.mh-dark, .mh-sec.mh-ink, .mh-sec.mh-teal { --mh-sub-ink: #fff; --mh-sub-dash: var(--mh-cream); }
.mh-sec__head .mh-eyebrow, .mh-otd__top .mh-eyebrow, .mh-atlas__copy .mh-eyebrow, .mh-kids__copy .mh-eyebrow, .mh-profiles__head .mh-eyebrow, .mh-news .mh-eyebrow { display: flex; align-items: center; gap: 12px; font-size: 13px; line-height: 1.4; letter-spacing: .05em; font-weight: 500; color: var(--mh-sub-ink); }
.mh-sec__head .mh-eyebrow::before, .mh-otd__top .mh-eyebrow::before, .mh-atlas__copy .mh-eyebrow::before, .mh-kids__copy .mh-eyebrow::before, .mh-profiles__head .mh-eyebrow::before, .mh-news .mh-eyebrow::before { content: ""; flex: none; width: 26px; height: 3px; background: var(--mh-sub-dash); }
.mh-sec__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
/* One heading style for every section, matching "What would you like to discover?". */
.mh-sec .mh-sec__title, .mh-sec .mh-find__head h2 { font-size: 25px; line-height: 1.3; margin: 7px 0 0; font-weight: 600; letter-spacing: -.025em; color: inherit; }
.mh-sec__intro { font-family: Georgia, "Times New Roman", serif; color: var(--mh-muted); max-width: 540px; margin: 8px 0 0; font-size: 17px; }
.mh-more { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--mh-teal); border-bottom: 2px solid var(--mh-teal); padding-bottom: 3px; white-space: nowrap; }
.mh-more:hover { color: var(--mh-teal-dk); border-color: var(--mh-teal-dk); }
.mh-ink .mh-more, .mh-dark .mh-more { color: var(--mh-cream); border-color: var(--mh-cream); }

/* A patterned block where a story has no picture. */
.mh-ph { position: absolute; inset: 0; display: block; background: #f8f5e8 url("../img/logo-mark.svg") center / min(44%, 140px) auto no-repeat; }
.mh-ph::before { content: none; }
.mh-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ----------------------------------------------------------------- hero */
.mh-sec--hero { padding: 28px 0 0; }
.mh-hero { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; }
.mh-hero--solo { grid-template-columns: 1fr; }
.mh-lead { position: relative; min-height: 560px; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--mh-ink); }
.mh-lead::after, .mh-side::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,14,16,0) 28%, rgba(10,14,16,.88) 100%); }
.mh-lead__body { position: relative; z-index: 2; padding: 40px; max-width: 760px; display: block; }
.mh-tag { display: inline-block; background: var(--mh-brown); color: #fff; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; padding: 6px 10px; }
.mh-lead__title { display: block; font-size: 44px; line-height: 1.12; font-weight: 700; margin: 16px 0 12px; }
.mh-lead__dek { display: block; font-family: Georgia, "Times New Roman", serif; font-size: 18px; line-height: 1.5; color: rgba(255,255,255,.9); max-width: 620px; }
.mh-lead__meta { display: block; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.8); margin: 16px 0 22px; }
.mh-lead:hover .mh-lead__title, .mh-side:hover .mh-side__title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.mh-lead:hover { color: #fff; }
.mh-hero__side { display: flex; flex-direction: column; gap: 20px; }
.mh-side { position: relative; flex: 1; min-height: 170px; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--mh-ink); }
.mh-side:hover { color: #fff; }
.mh-side__body { position: relative; z-index: 2; padding: 20px; display: block; }
.mh-side__title { display: block; font-size: 20px; line-height: 1.22; font-weight: 700; margin-top: 6px; }

.mh-search { margin-top: 20px; background: #fff; border: 1px solid var(--mh-line); display: flex; align-items: center; gap: 14px; padding: 8px 8px 8px 20px; flex-wrap: wrap; }
.mh-search input[type="search"], .mh-news input { text-transform: none !important; letter-spacing: 0; }
.mh-search input[type="search"] { flex: 1; min-width: 220px; border: 0; box-shadow: none; background: transparent; font-size: 17px; padding: 10px 0; margin: 0; height: auto; }
.mh-search input[type="search"]:focus { outline: none; box-shadow: none; }
.mh-search__chips { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 12px; color: var(--mh-muted); }
.mh-chip { border: 1px solid var(--mh-line); padding: 6px 10px; font-size: 12px; background: var(--mh-paper); color: var(--mh-ink); }
.mh-chip:hover { border-color: var(--mh-teal); color: var(--mh-teal); }

/* ------------------------------------------------------------- on this day */
.mh-sec--otd { background: #fff; }
.mh-otd__top { display: flex; align-items: center; margin-bottom: 14px; }
.mh-otd__grid { display: grid; grid-template-columns: 1fr 340px; gap: 56px; align-items: start; }
.mh-otd__grid--solo { grid-template-columns: 1fr; }
.mh-otd__panel[hidden] { display: none; }

/* Calendar switch: as it was, two square buttons in a thin ink frame, the chosen one filled ink. */
.mh-seg { display: inline-flex; border: 1px solid var(--mh-brown); }
.mh-seg button { border: 0; background: transparent; padding: 9px 14px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; cursor: pointer; color: var(--mh-brown); transition: background .2s, color .2s; }
.mh-seg button:hover { background: color-mix(in srgb, var(--mh-brown) 8%, #fff); }
.mh-seg button[aria-pressed="true"] { background: var(--mh-brown); color: #fff; }
.mh-tabs button { border: 0; background: transparent; padding: 9px 14px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; cursor: pointer; color: var(--mh-ink); }

.mh-otd__date { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px 20px; flex-wrap: wrap; margin-bottom: 16px; }
.mh-otd__ctrl { display: flex; align-items: center; gap: 12px; }
.mh-otd__day { display: block; font-size: 25px; font-weight: 600; line-height: 1.3; letter-spacing: -.025em; }
.mh-otd__other { display: block; font-size: 13px; color: var(--mh-muted); margin-top: 3px; }
.mh-arrows { display: flex; gap: 8px; }
.mh-arrows a { width: 33px; height: 33px; border: 1px solid var(--mh-line); display: grid; place-items: center; color: var(--mh-ink); transition: background .2s, border-color .2s, color .2s; }
.mh-arrows a:hover { background: var(--mh-teal); border-color: var(--mh-teal); color: #fff; }

/* The day's events: a plain divided list. No boxes, no shadows: on hover a bar grows at the left and the row takes a faint tint. */
.mh-otd__list { border-top: 1px solid var(--mh-line); }
.mh-ev { position: relative; display: grid; grid-template-columns: 112px 1fr 16px; align-items: center; gap: 0 22px; padding: 18px 18px 18px 22px; border-bottom: 1px solid var(--mh-line); color: var(--mh-ink); transition: background .25s; }
.mh-ev::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--mh-aqua); transform: scaleY(0); transform-origin: top; transition: transform .25s ease; }
.mh-ev:hover { background: color-mix(in srgb, var(--mh-aqua) 7%, #fff); color: var(--mh-ink); }
.mh-ev:hover::before { transform: scaleY(1); }
.mh-ev__year { font-size: 34px; font-weight: 700; color: var(--mh-teal); line-height: 1; letter-spacing: -.01em; }
.mh-ev__year small { font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.mh-ev__body { display: block; min-width: 0; }
.mh-ev__text { display: block; font-family: Georgia, "Times New Roman", serif; font-size: 17px; line-height: 1.5; }
.mh-ev__ago { display: block; margin-top: 6px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--mh-muted); }
.mh-ev__sep { margin: 0 .7em; color: var(--mh-muted); }
.mh-ev__kind { font-weight: 700; color: var(--mh-ink); }
.mh-ev__go { color: var(--mh-teal); opacity: 0; transform: translateX(-6px); transition: opacity .25s, transform .25s; }
.mh-ev:hover .mh-ev__go { opacity: 1; transform: none; }
.mh-otd__none { margin: 0; padding: 18px 20px; border-top: 1px solid var(--mh-line); background: color-mix(in srgb, var(--mh-teal) 5%, #fff); font-size: 15px; line-height: 1.4; color: var(--mh-muted); }
.mh-otd__none a { color: var(--mh-teal); font-weight: 700; }
.mh-otd__none a:hover { color: var(--mh-teal-dk); }
/* Equal space above and below the letters (same method as the buttons). */
@supports (text-box: trim-both cap alphabetic) and (padding: 1cap) {
	.mh-otd__none { text-box: trim-both cap alphabetic; padding-block: calc(18px + (1lh - 1cap) / 2); }
}
.mh-otd__all { margin: 20px 0 0; }

/* Hijri for readers without Pro: what it is, and a way to subscribe. Compact: one row, the actions beside the text on wide screens. */
.mh-otd__locked { display: flex; gap: 16px; align-items: center; padding: 18px 20px; border-top: 2px solid var(--mh-brown); background: color-mix(in srgb, var(--mh-brown) 5%, #fff); }
.mh-otd__lock { flex: none; width: 36px; height: 36px; display: grid; place-items: center; background: var(--mh-brown); color: #fff; }
.mh-otd__lock svg { width: 16px; height: 16px; }
.mh-otd__locked-body { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; }
.mh-otd__locked-text { flex: 1 1 280px; }
.mh-otd__locked-body b { display: block; font-size: 16px; line-height: 1.3; }
.mh-otd__locked-body p { margin: 3px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: 14px; line-height: 1.5; color: var(--mh-grey); }
.mh-otd__locked-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }

/* ------------------------------------------------------------------ eras */
.mh-dark { background: var(--mh-teal); color: #fff; }
.mh-dark .mh-sec__intro { color: rgba(255,255,255,.88); }
/* The era tabs: a tidy grid (two even rows on a wide screen, a sliding row on a small one). Every tab is the same size:
   the name on one line, the dates under it. */
.mh-ribbon { display: grid; grid-template-columns: repeat(var(--cols, 5), minmax(0, 1fr)); gap: 3px; }
.mh-era { text-align: left; border: 0; border-top: 4px solid rgba(255,255,255,.22); background: rgba(255,255,255,.12); color: #fff; padding: 13px 12px 14px; cursor: pointer; transition: background .15s, color .15s; min-width: 0; }
.mh-era b { display: block; font-size: 13px; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mh-era span { display: block; font-size: 12px; line-height: 1.3; color: rgba(255,255,255,.88); margin-top: 3px; }
.mh-era:hover { background: rgba(255,255,255,.22); }
.mh-era[aria-selected="true"] { background: #fff; color: var(--mh-ink); border-top-color: var(--mh-brown); }
.mh-era[aria-selected="true"] span { color: var(--mh-grey); }
@media (max-width: 1250px) {
	.mh-ribbon { display: flex; overflow-x: auto; scroll-snap-type: x proximity; }
	.mh-era { flex: 0 0 240px; scroll-snap-align: start; }
}
/* The panel under the tabs follows the mega menu: dates and story count, the era, a short text, a small Explore button, a rule, and the stories as a divided list with arrows. */
.mh-era-panel { display: grid; grid-template-columns: 220px minmax(240px, 300px) minmax(0, 1fr); gap: 0 36px; margin-top: 3px; background: #fff; color: var(--mh-ink); padding: 28px; }
.mh-era-panel[hidden] { display: none; }
.mh-era-panel__pic { position: relative; min-height: 200px; overflow: hidden; }
.mh-era-panel__main { padding-right: 36px; border-right: 1px solid var(--mh-line); align-self: stretch; }
.mh-era-panel .mh-eyebrow { color: var(--mh-brown); }
.mh-era-panel h3 { font-size: 22px; line-height: 1.2; margin: 6px 0 10px; font-weight: 700; }
.mh-era-panel__main p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; overflow: hidden; font-family: Georgia, "Times New Roman", serif; font-size: 15px; line-height: 1.5; color: var(--mh-grey); margin: 0 0 16px; }
.mh-era-panel .mh-btn, .mh-era-panel .mh-btn:hover, .mh-era-panel .mh-btn:focus { color: #fff; }
.mh-era-panel .mh-btn:hover { background: var(--mh-brown-dk); }
.mh-era-panel__links ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; border-top: 1px solid var(--mh-line); align-self: start; }
.mh-era-panel__links li { margin: 0; padding: 0; border-bottom: 1px solid var(--mh-line); }
.mh-era-panel__links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; color: var(--mh-ink); transition: color .2s, padding .35s cubic-bezier(.22,1,.36,1); }
.mh-era-panel__links a span { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: 14px; line-height: 1.35; font-weight: 600; }
.mh-era-panel__links a:hover { color: var(--mh-brown); padding-left: 6px; }
.mh-era-panel__links a:hover .mh-chev { color: var(--mh-brown); transform: translateX(3px); }
.mh-era-panel__empty { margin: 0; color: var(--mh-muted); font-size: 15px; }

/* ---------------------------------------------------------------- latest */
.mh-sec--latest .row { margin-left: -.9375rem; margin-right: -.9375rem; padding-left: 0; padding-right: 0; } /* TheIssue's .row adds 35px of padding: the cards line up with the heading instead */
.mh-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--mh-line); margin-bottom: 28px; flex-wrap: wrap; }
.mh-tabs button { color: var(--mh-muted); padding: 12px 16px; border-bottom: 3px solid transparent; margin-bottom: -1px; transition: color .2s, border-color .2s; }
.mh-tabs button:first-child { padding-left: 0; }
.mh-tabs button:hover { color: var(--mh-ink); }
.mh-tabs button[aria-pressed="true"] { color: var(--mh-ink); border-color: var(--mh-brown); }
.mh-latest__grid [hidden] { display: none; }

/* ----------------------------------------------------------------- atlas */
.mh-sec--atlas { background: var(--mh-cream); }
.mh-atlas { display: grid; grid-template-columns: 360px minmax(0, 1fr); background: #fff; border: 1px solid var(--mh-line); }
.mh-atlas__copy { padding: 30px; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; align-items: flex-start; }
.mh-atlas__copy p { font-family: Georgia, "Times New Roman", serif; color: var(--mh-grey); font-size: 15px; line-height: 1.55; margin: 12px 0 0; }
.mh-atlas__foot { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.mh-atlas__foot p.mh-atlas__stat { margin: 0; font-family: inherit; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--mh-muted); display: flex; align-items: baseline; gap: 10px; }
.mh-atlas__stat b { font-size: 30px; line-height: 1; color: var(--mh-teal); letter-spacing: 0; }
.mh-atlas .mh-btn, .mh-atlas .mh-btn:hover, .mh-atlas .mh-btn:focus { color: #fff; }
.mh-atlas .mh-btn:hover { background: var(--mh-brown-dk); }
/* The newest map from the Maps category: the picture, and under it (not over it, the maps carry their own lettering) its title and a link to all maps. */
.mh-atlas__map { display: flex; flex-direction: column; border-left: 1px solid var(--mh-line); min-width: 0; }
.mh-atlas__pic { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: color-mix(in srgb, var(--mh-ink) 8%, #fff); }
.mh-atlas__pic .mh-img { transition: transform .6s cubic-bezier(.22,1,.36,1); }
.mh-atlas__pic:hover .mh-img { transform: scale(1.02); }
.mh-atlas__cap { display: flex; justify-content: space-between; align-items: center; gap: 16px 24px; flex-wrap: wrap; padding: 16px 24px; border-top: 1px solid var(--mh-line); }
.mh-atlas__cap > a:first-child { display: block; color: var(--mh-ink); min-width: 0; }
.mh-atlas__cap .mh-eyebrow { display: block; margin-bottom: 4px; color: var(--mh-brown); }
.mh-atlas__title { display: block; font-size: 17px; line-height: 1.3; font-weight: 700; transition: color .2s; }
.mh-atlas__cap > a:first-child:hover .mh-atlas__title { color: var(--mh-brown); }

/* --------------------------------------------------------------- courses */
.mh-sec--courses { background: #fff; }
.mh-courses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
/* ---------------------------------------------------------------- videos */
.mh-ink { background: var(--mh-ink); color: #fff; }
.mh-ink .mh-sec__intro { color: rgba(255,255,255,.75); }
.mh-videos { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); gap: 36px; align-items: stretch; }
/* The newest video: the picture alone (thumbnails carry their own lettering, so nothing is laid over it), its title below. */
.mh-vmain { display: flex; flex-direction: column; color: #fff; }
.mh-vmain:hover { color: #fff; }
.mh-vmain__pic { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.mh-vmain__pic .mh-img { transition: transform .6s cubic-bezier(.22,1,.36,1); }
.mh-vmain:hover .mh-vmain__pic .mh-img { transform: scale(1.02); }
.mh-vmain__cap { display: block; padding-top: 18px; }
.mh-vmain__meta { display: block; font-size: 11px; line-height: 1.3; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: rgba(255,255,255,.7); }
.mh-vmain__meta i { font-style: normal; margin: 0 4px; opacity: .6; }
.mh-vmain__title { display: block; margin-top: 8px; font-size: 17px; line-height: 1.3; font-weight: 700; transition: color .2s; }
.mh-vmain:hover .mh-vmain__title { color: var(--mh-cream); }
.mh-play { position: absolute; left: 50%; top: 50%; z-index: 2; transform: translate(-50%, -50%); width: 56px; height: 56px; background: var(--mh-brown); transition: transform .25s, background .25s; }
.mh-play::after { content: ""; position: absolute; left: 22px; top: 17px; border-left: 15px solid #fff; border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.mh-vmain:hover .mh-play { transform: translate(-50%, -50%) scale(1.08); }
/* The other videos: a divided list, a 16:9 thumbnail, the title and the date. */
.mh-vlist { display: flex; flex-direction: column; border-top: 1px solid rgba(255,255,255,.18); }
.mh-vi { flex: 1; display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 18px; align-items: center; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.18); color: #fff; }
.mh-vi:hover { color: #fff; }
.mh-vi__pic { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.mh-vi__pic .mh-img { transition: transform .5s cubic-bezier(.22,1,.36,1); }
.mh-vi:hover .mh-vi__pic .mh-img { transform: scale(1.05); }
.mh-vi__play { position: absolute; left: 0; bottom: 0; z-index: 2; width: 26px; height: 26px; background: var(--mh-brown); }
.mh-vi__play::after { content: ""; position: absolute; left: 10px; top: 8px; border-left: 8px solid #fff; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.mh-vi__text { display: block; min-width: 0; }
.mh-vi__title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; font-size: 16px; line-height: 1.3; font-weight: 600; transition: color .2s; }
.mh-vi:hover .mh-vi__title { color: var(--mh-cream); }
.mh-vi__date { display: block; margin-top: 8px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.62); }

/* ----------------------------------------------------------------- shelf */
.mh-shelf { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.mh-tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 220px; padding: 28px; color: var(--tile-ink, #fff); background: var(--tile); overflow: hidden; }
.mh-tile:hover { color: var(--tile-ink, #fff); }
/* Hover: the colour deepens a little and the arrow slides in. No lift, no shadow. */
.mh-tile::after { content: ""; position: absolute; inset: 0; background: #000; opacity: 0; transition: opacity .3s ease; pointer-events: none; }
.mh-tile:hover::after { opacity: .1; }
.mh-tile > * { position: relative; z-index: 1; }
.mh-tile b { font-size: 52px; line-height: 1; margin-bottom: auto; padding-bottom: 28px; letter-spacing: -.02em; }
.mh-tile__label { font-size: 20px; line-height: 1.2; font-weight: 700; }
.mh-tile__blurb { margin-top: 6px; font-size: 14px; line-height: 1.4; min-height: 2.8em; opacity: .94; } /* two lines for every tile, so the names line up */
.mh-tile__go { position: absolute; right: 24px; top: 24px; width: 38px; height: 38px; padding: 11px; box-sizing: border-box; border: 1px solid currentColor; opacity: .75; transition: transform .35s cubic-bezier(.22,1,.36,1), opacity .25s, background .25s, color .25s; }
.mh-tile:hover .mh-tile__go { opacity: 1; transform: translateX(4px); background: var(--tile-ink, #fff); color: var(--tile); }

/* --------------------------------------------------------------- regions */
/* Tiles in the brand colours, like the reference shelf; the same look as the Regions page. */
.mh-regions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.mh-region { border-radius: 3px; position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 260px; padding: 28px; overflow: hidden; background: var(--tile); color: var(--tile-ink, #fff); }
.mh-region::after { content: ""; position: absolute; inset: 0; background: #000; opacity: 0; transition: opacity .3s ease; pointer-events: none; }
.mh-region:hover::after { opacity: .1; }
.mh-region.has-image::after { opacity: .5; }
.mh-region.has-image:hover::after { opacity: .6; }
.mh-region__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mh-region > *:not(.mh-region__bg) { position: relative; z-index: 1; }
.mh-region__count { margin: 0 0 auto; padding-bottom: 24px; font-size: 12px; line-height: 1.4; letter-spacing: .06em; text-transform: uppercase; }
.mh-region__count b { display: block; margin-bottom: 6px; font-size: 52px; line-height: 1; letter-spacing: -.02em; }
.mh-sec .mh-region__name { margin: 0; font-size: 22px; line-height: 1.25; font-weight: 700; color: inherit; }
.mh-region__name a, .mh-region__name a:hover { color: inherit; }
/* The whole tile opens the region; the links to the regions inside it sit above that. */
.mh-region__name a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.mh-region__text { margin: 8px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: 15px; line-height: 1.5; opacity: .94; }
.mh-region__inside { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 14px 0 0; padding: 12px 0 0; list-style: none; border-top: 1px solid currentColor; font-size: 14px; line-height: 1.5; }
.mh-region__inside li { margin: 0; }
.mh-sec .mh-region__inside a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.mh-region__inside a:hover { opacity: .8; }
.mh-region > .mh-region__go { position: absolute; right: 24px; top: 24px; box-sizing: border-box; width: 38px; height: 38px; padding: 11px; border: 1px solid currentColor; border-radius: 3px; opacity: .75; transition: transform .35s cubic-bezier(.22,1,.36,1), opacity .25s; }
.mh-region:hover > .mh-region__go { opacity: 1; transform: translateX(4px); }
@media (max-width: 900px) { .mh-regions { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .mh-regions { grid-template-columns: 1fr; gap: 12px; } .mh-region { min-height: 220px; padding: 22px; } }

/* ------------------------------------------------------------------ kids */
.mh-teal { background: var(--mh-teal); color: #fff; padding: 0; }
.mh-kids { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 64px; align-items: center; padding: 64px 0; }
.mh-kids__copy { display: flex; flex-direction: column; align-items: flex-start; }
.mh-kids__copy .mh-sec__title { color: #fff; }
.mh-kids__copy p { font-family: Georgia, "Times New Roman", serif; font-size: 16px; line-height: 1.55; color: rgba(255,255,255,.92); margin: 12px 0 22px; max-width: 520px; }
/* The button is the site's small size, white with teal letters (brown does not sit well on the teal); the label keeps its colour in every state. */
.mh-kids .mh-btn, .mh-kids .mh-btn:hover, .mh-kids .mh-btn:focus { background: #fff; color: var(--mh-teal); transition: background .2s; }
.mh-kids .mh-btn:hover { background: var(--mh-cream); }
/* What is inside, on a white panel: four numbered highlights with rules between them. */
.mh-kids__list { list-style: none; margin: 0; padding: 8px 28px; background: #fff; color: var(--mh-ink); }
.mh-kids__list li { display: flex; gap: 18px; align-items: flex-start; margin: 0; padding: 20px 0; border-bottom: 1px solid var(--mh-line); }
.mh-kids__list li:last-child { border-bottom: 0; }
.mh-kids__n { flex: none; box-sizing: border-box; width: 36px; height: 36px; padding-top: 12px; text-align: center; background: var(--mh-teal); color: #fff; font-size: 12px; line-height: 1.2; font-weight: 700; letter-spacing: .06em; }
/* The digits trimmed to their height and centred, so the space above and below them is equal. */
@supports (text-box: trim-both cap alphabetic) and (padding: 1cap) {
	.mh-kids__n { text-box: trim-both cap alphabetic; padding-top: calc((36px - 1cap) / 2); }
}
@supports not ((text-box: trim-both cap alphabetic) and (padding: 1cap)) {
	.mh-kids__n { padding-top: 11px; }
}
.mh-kids__t { display: block; min-width: 0; }
.mh-kids__t b { display: block; font-size: 16px; line-height: 1.2; font-weight: 600; }
.mh-kids__t span { display: block; margin-top: 0; font-family: Georgia, "Times New Roman", serif; font-size: 14px; line-height: 1.4; color: var(--mh-grey); }

/* --------------------------------------------------------------- pricing */

/* ------------------------------------------------------------ newsletter */
.mh-cream { background: var(--mh-cream); }
.mh-news { text-align: center; }

/* ------------------------------------------------------------ responsive */
@media (max-width: 1050px) {
	.mh-hero, .mh-videos, .mh-atlas, .mh-otd__grid, .mh-kids { grid-template-columns: 1fr; }
	.mh-hero__side { flex-direction: row; }
	.mh-side { min-height: 200px; }
	.mh-era-panel { grid-template-columns: 200px minmax(0, 1fr); gap: 24px 28px; }
	.mh-era-panel__links { grid-column: 1 / -1; }
	.mh-courses { grid-template-columns: 1fr 1fr; }
	.mh-shelf { grid-template-columns: 1fr 1fr; }
	.mh-kids { gap: 28px; padding: 44px 0; }
	.mh-kids__list { padding: 4px 18px; }
	.mh-atlas__map { border-left: 0; border-top: 1px solid var(--mh-line); }
}
@media (max-width: 700px) {
	.mh-sec { padding: 48px 0; }
	.mh-lead { min-height: 460px; }
	.mh-lead__body { padding: 22px; }
	.mh-lead__title { font-size: 29px; }
	.mh-lead__dek { font-size: 16px; }
	.mh-hero__side { flex-direction: column; }
	.mh-courses { grid-template-columns: 1fr; }
	.mh-ev { grid-template-columns: 82px 1fr; padding: 18px 12px 18px 16px; gap: 0 14px; }
	.mh-ev__go { display: none; }
	.mh-ev__year { font-size: 26px; }
	.mh-otd__locked { align-items: flex-start; padding: 16px; }
	.mh-shelf { gap: 12px; }
	.mh-tile { min-height: 170px; padding: 18px; }
	.mh-tile__go { right: 14px; top: 14px; width: 32px; height: 32px; padding: 9px; }
	.mh-tile b { font-size: 32px; }
	.mh-vi { grid-template-columns: 120px 1fr; gap: 14px; }
	.mh-era-panel { padding: 20px; grid-template-columns: 1fr; }
	.mh-era-panel__pic { min-height: 170px; }
	.mh-era-panel__main { padding-right: 0; border-right: 0; }
	.mh-era-panel__links ul { grid-template-columns: 1fr; }
	.mh-otd__day { font-size: 26px; }
}

/* The subscribe form's button and fields in the site's colours. */


/* Sections reached by a link or anchor stop below the sticky header. */
.mh-sec { scroll-margin-top: 120px; }

/* The homepage uses the shared WhatsApp card colors. */
.mh-otd__wa .mhc-wa-channel { margin: 0; }

/* Calendar tabs and arrows: capitals centred optically (same method as the buttons). */
@supports (text-box: trim-both cap alphabetic) and (padding: 1cap) {
	.mh-seg button > span:first-child { text-box: trim-both cap alphabetic; }
	.mh-seg button { padding-block: calc(9px + (1lh - 1cap) / 2); }
}

/* The small date under the big one is trimmed to its letters, so its bottom edge is its baseline and
   the calendar switch, which sits at the bottom of the row, ends on the same line (equal space under both). */
.mh-otd__date { align-items: flex-end; }
@supports (text-box: trim-both cap alphabetic) {
	.mh-otd__other { text-box: trim-both cap alphabetic; margin-top: 10px; }
}
@supports not (text-box: trim-both cap alphabetic) {
	.mh-otd__other { margin-bottom: -.25em; }
}

/* While another day is loading the list dims a little. */
.mh-otd__body { transition: opacity .2s; }
.mh-otd__panel.is-loading .mh-otd__body { opacity: .4; }
.mh-otd__other[hidden] { display: none; }

/* ---------------------------------------------- Journey through time: heading like "On this day" */
.mh-era-panel .mh-chev { flex: none; color: var(--mh-muted); transition: transform .35s cubic-bezier(.22,1,.36,1), color .25s ease; }

/* ---------------------------------------------- Latest stories: heading like "On this day" */
.mh-sec--latest .mh-sec__head { margin-bottom: 20px; }

/* Latest stories: every picture is shown 16:9, cropped from the middle (a little above it for tall portraits), whatever was uploaded. */
.mh-latest__grid .post-gallery { aspect-ratio: 16 / 9; overflow: hidden; background: color-mix(in srgb, var(--mh-ink) 8%, #fff); }
.mh-latest__grid .post-gallery > a { display: block; width: 100%; height: 100%; }
.mh-latest__grid .post-gallery img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }

/* Latest stories: the tabs on the left, the arrows through older stories on the right. */
.mh-latest__bar { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; border-bottom: 1px solid var(--mh-line); margin-bottom: 28px; }
.mh-latest__bar .mh-tabs { border-bottom: 0; margin-bottom: 0; }
.mh-latest__nav { align-self: center; }
.mh-latest__nav[hidden] { display: none; }
.mh-arrows button { width: 33px; height: 33px; padding: 0; margin: 0; border: 1px solid var(--mh-line); background: #fff; display: grid; place-items: center; color: var(--mh-ink); cursor: pointer; transition: background .2s, border-color .2s, color .2s, opacity .2s; }
.mh-arrows button:hover:not(:disabled) { background: var(--mh-teal); border-color: var(--mh-teal); color: #fff; }
.mh-arrows button:disabled { opacity: .35; cursor: default; }
.mh-latest__grid { transition: opacity .2s; }
.mh-latest__grid.is-loading { opacity: .45; }

/* Latest stories: each card is a framed box, the picture flush at the top and the text padded inside, with TheIssue's own
   spacing between the parts. Cards in a row are the same height. (Only here: archive cards are unchanged.) */
.mh-latest__grid .columns { display: flex; flex-direction: column; }
.mh-latest__grid .post { flex: 1; display: flex; flex-direction: column; border: 1px solid var(--mh-line); padding-bottom: 28px; }
.mh-latest__grid .post > :not(.post-gallery) { padding-left: 30px; padding-right: 30px; }
.mh-latest__grid .post > .thb-post-bottom { margin-top: auto; } /* the byline sits at the foot, so the cards in a row end alike */

/* ---------------------------------------------- Section headings, one style everywhere (as "On this day") */
.mh-sec__head { margin-bottom: 24px; }

/* ============================================================ Membership: the plan cards
   Core's own cards (the same as the Plans page), set out like a clean pricing table: name, one line,
   a rule, the price in a light weight, the button, a rule, "includes", then the features each with a small picture.
   No plan is highlighted. */
.mh-sec--pricing .mhc-plans { margin: 0; }
.mh-sec--pricing .mhc-plans__billing { justify-content: flex-start; margin: 0 0 26px; border: 1px solid var(--mh-brown); width: max-content; max-width: 100%; }
.mh-sec--pricing .mhc-plans--page .mhc-plans__billing { justify-content: center; margin-inline: auto; }
.mh-sec--pricing .mhc-plans__billing button { padding: 9px 14px; border: 0; border-radius: 0; background: transparent; color: var(--mh-brown); font-size: 11px; letter-spacing: .1em; font-weight: 700; transition: background .2s, color .2s; }
.mh-sec--pricing .mhc-plans__billing button + button { margin-left: 0; }
.mh-sec--pricing .mhc-plans__billing button:hover { background: color-mix(in srgb, var(--mh-brown) 8%, #fff); }
.mh-sec--pricing .mhc-plans__billing button.is-on { background: var(--mh-brown); color: #fff; }
.mh-sec--pricing .mhc-plans__save { color: var(--mh-brown); font-size: 11px; }
.mh-sec--pricing .mhc-plans__billing button.is-on .mhc-plans__save { color: #fff; opacity: .9; }
.mh-sec--pricing .mhc-plans .mhc-plans__grid { max-width: none; gap: 20px; }
.mh-sec--pricing .mhc-plan { padding: 32px 30px 30px; border: 1px solid var(--mh-line); border-top: 3px solid var(--mh-line); background: #fff; }
.mh-sec--pricing .mhc-plan--pro { background: #f8f5e8; border-top: 3px solid var(--mh-brown); }
.mh-sec--pricing .mhc-plan__ribbon { display: none; }
.mh-sec--pricing .mhc-plan .mhc-plan__name { margin: 0 0 10px; font-size: 20px; line-height: 1.2; font-weight: 600; color: var(--mh-ink); }
.mh-sec--pricing .mhc-plan .mhc-plan__tagline { margin: 0; padding-bottom: 22px; border-bottom: 1px solid var(--mh-line); font-size: 15px; line-height: 1.5; color: var(--mh-grey); }
.mh-sec--pricing .mhc-plan__price { margin: 0; padding: 22px 0 20px; min-height: 0; align-items: baseline; gap: 4px 8px; }
.mh-sec--pricing .mhc-plan__amount { font-size: 48px; font-weight: 400; letter-spacing: -.03em; line-height: 1; color: var(--mh-ink); }
.mh-sec--pricing .mhc-plan__per { font-size: 14px; color: var(--mh-muted); }
.mh-sec--pricing .mhc-plan__saving { padding: 3px 7px 2px; background: var(--mh-sage); color: #fff; }
.mh-sec--pricing .mhc-plan__action { margin: 0; padding-bottom: 22px; border-bottom: 1px solid var(--mh-line); }
/* Buttons: the site's standard one: black, brown on hover; the children stepper sits beside the Kids one. */
.mh-sec--pricing .mhc-plan__action .btn { display: block; width: 100%; margin: 0; text-align: center; text-decoration: none; background: var(--mh-ink); color: #fff; border: 0; border-radius: 3px; transition: background .2s; }
.mh-sec--pricing .mhc-plan__action .btn:hover, .mh-sec--pricing .mhc-plan__action .btn:focus { background: var(--mh-brown); color: #fff; }
.mh-sec--pricing .mhc-plan__action:has(.mhc-plan__places) { display: flex; align-items: stretch; gap: 10px; }
.mh-sec--pricing .mhc-plan__action:has(.mhc-plan__places) .btn { flex: 1; order: 1; min-width: 0; }
.mh-sec--pricing .mhc-plan__action:has(.mhc-plan__places) .mhc-plan__places { order: 2; flex: none; margin: 0; }
.mh-sec--pricing .mhc-plan__includes-label { margin: 22px 0 14px; font-size: 12px; line-height: 1.3; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; color: var(--mh-ink); }
.mh-sec--pricing .mhc-plan__includes { margin: 0; padding: 0; border: 0; font-family: inherit; font-size: 14.5px; line-height: 1.4; color: var(--mh-grey); }
.mh-sec--pricing .mhc-plan__includes li { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 12px; padding: 0; }
.mh-sec--pricing .mhc-plan__includes li.mhc-plan__more { margin-top: 4px; }
.mh-sec--pricing .mhc-plan__includes li.mhc-plan__more a { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; color: var(--mh-brown); border-bottom: 1px solid var(--mh-brown); text-decoration: none; }
.mh-sec--pricing .mhc-plan__includes li.mhc-plan__more::before { display: none; }
.mh-sec--pricing .mhc-plan__includes li::before { content: ""; position: static; flex: none; width: 18px; height: 18px; margin-top: 1px; background: var(--mh-brown); -webkit-mask: none; -webkit-mask-repeat: no-repeat; -webkit-mask-position: center; -webkit-mask-size: contain; mask-repeat: no-repeat; mask-position: center; mask-size: contain; -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E"); }
.mh-sec--pricing .mhc-plan__includes li[data-icon="book"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h13a1 1 0 0 1 1 1v14H7a2 2 0 0 0-2 2V4z'/%3E%3Cpath d='M5 18.500A2 2 0 0 1 7 17h12'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h13a1 1 0 0 1 1 1v14H7a2 2 0 0 0-2 2V4z'/%3E%3Cpath d='M5 18.500A2 2 0 0 1 7 17h12'/%3E%3C/svg%3E"); }
.mh-sec--pricing .mhc-plan__includes li[data-icon="user"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='3.500'/%3E%3Cpath d='M5 20c0-3.500 3-6 7-6s7 2.500 7 6'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='3.500'/%3E%3Cpath d='M5 20c0-3.500 3-6 7-6s7 2.500 7 6'/%3E%3C/svg%3E"); }
.mh-sec--pricing .mhc-plan__includes li[data-icon="file"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3h8l4 4v14H6z'/%3E%3Cpath d='M14 3v4h4M9 12h6M9 16h6'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3h8l4 4v14H6z'/%3E%3Cpath d='M14 3v4h4M9 12h6M9 16h6'/%3E%3C/svg%3E"); }
.mh-sec--pricing .mhc-plan__includes li[data-icon="cap"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9l9-4 9 4-9 4z'/%3E%3Cpath d='M7 11v5c0 1.500 2.200 3 5 3s5-1.500 5-3v-5'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9l9-4 9 4-9 4z'/%3E%3Cpath d='M7 11v5c0 1.500 2.200 3 5 3s5-1.500 5-3v-5'/%3E%3C/svg%3E"); }
.mh-sec--pricing .mhc-plan__includes li[data-icon="save"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 4h10v17l-5-4-5 4z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 4h10v17l-5-4-5 4z'/%3E%3C/svg%3E"); }
.mh-sec--pricing .mhc-plan__includes li[data-icon="unlimited_saves"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 4h10v17l-5-4-5 4z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 4h10v17l-5-4-5 4z'/%3E%3C/svg%3E"); }
.mh-sec--pricing .mhc-plan__includes li[data-icon="unlimited_reading"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 12c-1.500-2.500-3-4-5-4a4 4 0 0 0 0 8c2 0 3.500-1.500 5-4zm0 0c1.500 2.500 3 4 5 4a4 4 0 0 0 0-8c-2 0-3.500 1.500-5 4z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 12c-1.500-2.500-3-4-5-4a4 4 0 0 0 0 8c2 0 3.500-1.500 5-4zm0 0c1.500 2.500 3 4 5 4a4 4 0 0 0 0-8c-2 0-3.500 1.500-5 4z'/%3E%3C/svg%3E"); }
.mh-sec--pricing .mhc-plan__includes li[data-icon="follow"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='10' cy='8' r='3.500'/%3E%3Cpath d='M3 20c0-3.500 3-6 7-6 1.500 0 2.800.4 3.900 1M18 14v6M15 17h6'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='10' cy='8' r='3.500'/%3E%3Cpath d='M3 20c0-3.500 3-6 7-6 1.500 0 2.800.4 3.900 1M18 14v6M15 17h6'/%3E%3C/svg%3E"); }
.mh-sec--pricing .mhc-plan__includes li[data-icon="for_you"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20s-7-4.400-7-10a4 4 0 0 1 7-2.600A4 4 0 0 1 19 10c0 5.600-7 10-7 10z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20s-7-4.400-7-10a4 4 0 0 1 7-2.600A4 4 0 0 1 19 10c0 5.600-7 10-7 10z'/%3E%3C/svg%3E"); }
.mh-sec--pricing .mhc-plan__includes li[data-icon="history"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); }
.mh-sec--pricing .mhc-plan__includes li[data-icon="family_tree"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='5' r='2'/%3E%3Ccircle cx='6' cy='19' r='2'/%3E%3Ccircle cx='18' cy='19' r='2'/%3E%3Cpath d='M12 7v5M12 12H6v5M12 12h6v5'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='5' r='2'/%3E%3Ccircle cx='6' cy='19' r='2'/%3E%3Ccircle cx='18' cy='19' r='2'/%3E%3Cpath d='M12 7v5M12 12H6v5M12 12h6v5'/%3E%3C/svg%3E"); }
.mh-sec--pricing .mhc-plan__includes li[data-icon="hijri_calendar"]::before, .mh-sec--pricing .mhc-plan__includes li[data-icon="otd_calendar"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 14.500A8 8 0 0 1 9.500 4 8 8 0 1 0 20 14.500z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 14.500A8 8 0 0 1 9.500 4 8 8 0 1 0 20 14.500z'/%3E%3C/svg%3E"); }
.mh-sec--pricing .mhc-plan__includes li[data-icon="ad_free"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 3v5c0 5-3 8-7 10-4-2-7-5-7-10V6z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 3v5c0 5-3 8-7 10-4-2-7-5-7-10V6z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E"); }
.mh-sec--pricing .mhc-plan__includes li[data-icon="shield"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 3v5c0 5-3 8-7 10-4-2-7-5-7-10V6z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 3v5c0 5-3 8-7 10-4-2-7-5-7-10V6z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E"); }
.mh-sec--pricing .mhc-plan__includes li[data-icon="downloads"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11M7 11l5 5 5-5M5 20h14'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11M7 11l5 5 5-5M5 20h14'/%3E%3C/svg%3E"); }
.mh-sec--pricing .mhc-plan__includes li[data-icon="timeline_view"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 6h8M5 12h14M5 18h10'/%3E%3Ccircle cx='17' cy='6' r='1.500'/%3E%3Ccircle cx='9' cy='18' r='1.500'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 6h8M5 12h14M5 18h10'/%3E%3Ccircle cx='17' cy='6' r='1.500'/%3E%3Ccircle cx='9' cy='18' r='1.500'/%3E%3C/svg%3E"); }
.mh-sec--pricing .mhc-plan__includes li[data-icon="course_ai"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4l1.800 4.200L18 10l-4.200 1.800L12 16l-1.800-4.200L6 10l4.200-1.800z'/%3E%3Cpath d='M18 16l.8 1.700 1.700.8-1.700.8L18 21l-.8-1.700-1.700-.8 1.700-.8z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4l1.800 4.200L18 10l-4.200 1.800L12 16l-1.800-4.200L6 10l4.200-1.800z'/%3E%3Cpath d='M18 16l.8 1.700 1.700.8-1.700.8L18 21l-.8-1.700-1.700-.8 1.700-.8z'/%3E%3C/svg%3E"); }
.mh-sec--pricing .mhc-plan__includes li[data-icon="glossary"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 8h4v5a3 3 0 0 1-3 3M14 8h4v5a3 3 0 0 1-3 3'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 8h4v5a3 3 0 0 1-3 3M14 8h4v5a3 3 0 0 1-3 3'/%3E%3C/svg%3E"); }
.mh-sec--pricing .mhc-plan__includes li[data-icon="early"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 3L5 13h6l-1 8 8-10h-6z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 3L5 13h6l-1 8 8-10h-6z'/%3E%3C/svg%3E"); }
.mh-sec--pricing .mhc-plan__includes li[data-icon="offline"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='7' y='3' width='10' height='18' rx='2'/%3E%3Cpath d='M11 18h2'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='7' y='3' width='10' height='18' rx='2'/%3E%3Cpath d='M11 18h2'/%3E%3C/svg%3E"); }
.mh-sec--pricing .mhc-plan__includes li[data-icon="audio"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 14v-2a8 8 0 0 1 16 0v2'/%3E%3Crect x='3' y='14' width='4' height='6' rx='1'/%3E%3Crect x='17' y='14' width='4' height='6' rx='1'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 14v-2a8 8 0 0 1 16 0v2'/%3E%3Crect x='3' y='14' width='4' height='6' rx='1'/%3E%3Crect x='17' y='14' width='4' height='6' rx='1'/%3E%3C/svg%3E"); }
.mh-sec--pricing .mhc-plan__includes li[data-icon="quiz"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M9.500 9.500a2.500 2.500 0 1 1 3.500 2.300c-.7.400-1 1-1 1.700M12 17h.01'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M9.500 9.500a2.500 2.500 0 1 1 3.500 2.300c-.7.400-1 1-1 1.700M12 17h.01'/%3E%3C/svg%3E"); }
.mh-sec--pricing .mhc-plan__includes li[data-icon="all"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4l8 4-8 4-8-4z'/%3E%3Cpath d='M4 12l8 4 8-4M4 16l8 4 8-4'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4l8 4-8 4-8-4z'/%3E%3Cpath d='M4 12l8 4 8-4M4 16l8 4 8-4'/%3E%3C/svg%3E"); }
.mh-sec--pricing .mhc-plan__includes li[data-icon="all"] { font-weight: 600; color: var(--mh-ink); }
.mh-plans__foot { margin: 26px 0 0; }
/* The rows of the three cards (name and summary, price, button, list) line up across the cards, whatever each holds. */
@media (min-width: 901px) {
@supports (grid-template-rows: subgrid) {
	.mh-sec--pricing .mhc-plans__grid > .mhc-plan { display: grid; grid-template-rows: subgrid; grid-row: span 5; row-gap: 0; align-content: start; }
	.mh-sec--pricing .mhc-plan > .mhc-plan__name { grid-row: 1; }
	.mh-sec--pricing .mhc-plan > .mhc-plan__tagline { grid-row: 2; }
	.mh-sec--pricing .mhc-plan > .mhc-plan__price { grid-row: 3; }
	.mh-sec--pricing .mhc-plan > .mhc-plan__action { grid-row: 4; }
	.mh-sec--pricing .mhc-plan > .mhc-plan__body { grid-row: 5; align-self: start; }
}
}
/* Four plans (Free, Pro, Kids, Family): tighter cards and a calmer price so they read as a set, two across on tablets, one on phones. */
.mh-sec--pricing .mhc-plans .mhc-plan__amount--tba { font-size: 22px; font-weight: 600; letter-spacing: 0; line-height: 1.3; color: var(--mh-brown); }
.mh-sec--pricing .mhc-plan__note[hidden] { display: none; }
.mh-sec--pricing .mhc-plan__note[data-mhc-period] { margin: 14px 0 0; text-align: left; font-family: inherit; font-size: 13px; line-height: 1.5; color: var(--mh-muted); }
.mh-sec--pricing .mhc-plans[data-plans="4"] .mhc-plans__grid { gap: 16px; }
.mh-sec--pricing .mhc-plans[data-plans="4"] .mhc-plan { padding: 28px 24px 26px; }
.mh-sec--pricing .mhc-plans[data-plans="4"] .mhc-plan .mhc-plan__tagline { padding-bottom: 18px; }
.mh-sec--pricing .mhc-plans[data-plans="4"] .mhc-plan__price { padding: 18px 0 16px; }
.mh-sec--pricing .mhc-plans[data-plans="4"] .mhc-plan__amount:not(.mhc-plan__amount--tba) { font-size: 40px; }
.mh-sec--pricing .mhc-plans[data-plans="4"] .mhc-plan__action { padding-bottom: 18px; }
@media (min-width: 901px) and (max-width: 1179px) {
	.mh-sec--pricing .mhc-plans[data-plans="4"] .mhc-plans__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
	.mh-sec--pricing .mhc-plans[data-plans="4"] .mhc-plan { padding: 30px 28px 28px; }
	.mh-sec--pricing .mhc-plans[data-plans="4"] .mhc-plan__amount:not(.mhc-plan__amount--tba) { font-size: 44px; }
	.mh-sec--pricing .mhc-plans--page[data-plans="4"] .mhc-plans__grid { max-width: 820px; }
}
/* One typeface on the cards: the sans, everywhere (the summary line, "a month", "always", notes), with the lists a notch smaller so the cards read as one set. */
.mh-sec--pricing .mhc-plans .mhc-plan .mhc-plan__tagline,
.mh-sec--pricing .mhc-plans .mhc-plan__per,
.mh-sec--pricing .mhc-plans .mhc-plan__note,
.mh-sec--pricing .mhc-plans .mhc-plan__unavailable { font-family: inherit; }
.mh-sec--pricing .mhc-plans .mhc-plan .mhc-plan__tagline { font-size: 13.5px; line-height: 1.5; }
.mh-sec--pricing .mhc-plans .mhc-plan__per { font-size: 13px; }
.mh-sec--pricing .mhc-plans .mhc-plan__includes-label { margin: 20px 0 12px; font-size: 11px; letter-spacing: .1em; }
.mh-sec--pricing .mhc-plans .mhc-plan__includes { font-size: 13px; line-height: 1.4; }
.mh-sec--pricing .mhc-plans .mhc-plan__includes li { gap: 10px; margin-bottom: 10px; }
.mh-sec--pricing .mhc-plans .mhc-plan__includes li::before { width: 16px; height: 16px; }
.mh-sec--pricing .mhc-plans .mhc-plan__note[data-mhc-period] { font-size: 12.5px; }
.mh-sec--pricing .mhc-plan__body > .mhc-plan__note[data-mhc-period] { margin: 20px 0 0; }
.mh-sec--pricing .mhc-plan__body > .mhc-plan__note + .mhc-plan__includes-label { margin-top: 18px; }
.mh-sec--pricing .mhc-plan__sub { display: inline; margin-left: 4px; font-size: 13px; font-weight: 600; letter-spacing: 0; white-space: nowrap; color: var(--mh-brown); }
/* The yearly saving sits above "a year", beside the price, so the price stays on one line. */
.mh-sec--pricing .mhc-plan__price [data-mhc-period="yearly"]:has(.mhc-plan__saving) { display: inline-grid; grid-template-columns: auto auto; column-gap: 8px; row-gap: 3px; align-items: end; justify-items: start; }
.mh-sec--pricing .mhc-plan__price [data-mhc-period="yearly"]:has(.mhc-plan__saving)[hidden] { display: none; }
.mh-sec--pricing .mhc-plan__price [data-mhc-period="yearly"]:has(.mhc-plan__saving) .mhc-plan__amount { grid-column: 1; grid-row: 1 / 3; align-self: end; }
.mh-sec--pricing .mhc-plan__price [data-mhc-period="yearly"]:has(.mhc-plan__saving) .mhc-plan__saving { grid-column: 2; grid-row: 1; align-self: end; padding: 2px 6px 1px; font-size: 10px; line-height: 1.3; white-space: nowrap; }
.mh-sec--pricing .mhc-plan__price [data-mhc-period="yearly"]:has(.mhc-plan__saving) .mhc-plan__per { grid-column: 2; grid-row: 2; align-self: end; margin-bottom: 3px; line-height: 1; white-space: nowrap; }
.mh-sec--pricing .mhc-plan__body > .mhc-interest { margin-top: 20px; }
.mh-sec--pricing .mhc-interest input[type="email"], .mh-sec--pricing .mhc-interest input[type="email"]::placeholder { font-size: 11px; letter-spacing: .04em; }
.mh-sec--pricing .mhc-interest input[type="email"] { height: 40px; padding-block: 0; }
/* Home cards use the home context, so the plans page's mobile rules do not apply. */
@media (max-width: 900px) {
	.mh-sec--pricing .mhc-plans .mhc-plans__grid { grid-template-columns: minmax(0, 1fr); max-width: 480px; margin-inline: auto; gap: 24px; }
	.mh-sec--pricing .mhc-plan { min-width: 0; padding: 26px 22px; }
	.mh-sec--pricing .mhc-plan__action .btn { min-width: 0; white-space: normal; }
}

/* Education spans the same width as the plans above, with a quieter quote panel. */
.mh-sec--pricing .mhc-plans .mhc-plan--education {
	box-sizing: border-box; width: 100%; max-width: none; margin: 24px 0 0;
	padding: 36px; gap: 36px; background: #f8f5e8; border-top: 3px solid var(--mh-brown);
}
.mh-sec--pricing .mhc-plan--education .mhc-plan__intro { flex: 0 0 36%; min-width: 0; }
.mh-sec--pricing .mhc-plan--education .mhc-plan__name { font-size: 26px; margin-bottom: 12px; }
.mh-sec--pricing .mhc-plan--education .mhc-plan__tagline { border: 0; padding: 0; max-width: 360px; }
.mh-sec--pricing .mhc-plan--education .mhc-plan__price { padding: 20px 0 18px; }
.mh-sec--pricing .mhc-plan--education .mhc-plan__amount { font-size: 20px; font-weight: 600; letter-spacing: 0; line-height: 1.3; color: var(--mh-brown); }
.mh-sec--pricing .mhc-plan--education .mhc-plan__action { padding: 0; border: 0; }
.mh-sec--pricing .mhc-plan--education .mhc-plan__action .btn { display: inline-block; width: auto; padding-inline: 24px; }
.mh-sec--pricing .mhc-plan--education .mhc-plan__includes { min-width: 0; padding: 0 0 0 36px; border: 0; border-left: 1px solid var(--mh-line); line-height: 1.6; }
.mh-sec--pricing .mhc-plan--education .mhc-plan__includes li { margin-bottom: 16px; }
.mh-sec--pricing .mhc-plan--education .mhc-plan__includes li:last-child { margin-bottom: 0; }
@media (max-width: 900px) {
	.mh-sec--pricing .mhc-plans .mhc-plan--education { max-width: 480px; margin: 24px auto 0; padding: 26px 22px; gap: 24px; }
	.mh-sec--pricing .mhc-plan--education .mhc-plan__intro { flex: none; width: 100%; }
	.mh-sec--pricing .mhc-plan--education .mhc-plan__action .btn { display: block; width: 100%; }
	.mh-sec--pricing .mhc-plan--education .mhc-plan__includes { padding: 24px 0 0; border-left: 0; border-top: 1px solid var(--mh-line); }
}

/* ============================================================ Newsletter
   As on the old website: centred, the title in capitals, one line of text, then name, email and the button in a row. */
.mh-news .mh-eyebrow { margin-bottom: 10px; }
.mh-news .mh-sec__title { margin: 0; font-size: 25px; line-height: 1.3; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; }
.mh-news .mh-sec__intro { max-width: 840px; margin: 14px auto 0; font-size: 18px; line-height: 1.5; color: var(--mh-ink); }
.mh-news__form { max-width: 760px; margin: 30px auto 0; }
.mh-news .mhc-subscribe { display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; gap: 12px; width: 100%; max-width: none; margin: 0; }
.mh-news .mhc-subscribe__row { display: contents; }
.mh-news .mhc-subscribe input[type="text"].mhc-subscribe__name, .mh-news .mhc-subscribe input[type="email"] { box-sizing: border-box; flex: 1 1 200px; min-width: 0; width: auto; height: 46px; margin: 0; padding: 0 16px; border: 1px solid #fff; border-radius: 3px; background: #fff; color: var(--mh-ink); font-size: 14px; line-height: 1; text-align: left; box-shadow: none; transition: border-color .2s; }
.mh-news .mhc-subscribe input[type="email"] { flex-grow: 1.3; }
.mh-news .mhc-subscribe input:focus { border-color: var(--mh-brown); outline: none; }
/* The hints are set in the button's own type (size, weight, capitals), so the row reads as one. */
.mh-news .mhc-subscribe input::placeholder { color: var(--mh-muted); opacity: 1; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: normal; }
.mh-news .mhc-subscribe .mhc-subscribe__trap { display: none; }
.mh-news .mhc-subscribe .btn { flex: 0 0 auto; box-sizing: border-box; height: 46px !important; margin: 0; padding: 0 30px; line-height: 1; background: var(--mh-ink); color: #fff; border: 0; border-radius: 3px; transition: background .2s; }
/* The button is as tall as the fields, its capitals centred in it (trimmed to their height, the rest of the 46px split above and below). */
@supports (text-box: trim-both cap alphabetic) and (padding: 1cap) {
	.mh-news .mhc-subscribe .btn { text-box: trim-both cap alphabetic; padding-top: calc((46px - 1cap) / 2) !important; padding-bottom: calc((46px - 1cap) / 2) !important; }
}
.mh-news .mhc-subscribe .btn:hover { background: var(--mh-brown); color: #fff; }
.mh-news .mhc-subscribe__row[hidden], .mh-news .mhc-subscribe .mhc-subscribe__name[hidden] { display: none; } /* after subscribing the fields go and the answer stays */
.mh-news .mhc-subscribe__msg { flex: 0 0 100%; margin: 4px 0 0; font-size: 16px; line-height: 1.5; color: var(--mh-teal); }
.mh-news .mhc-subscribe__msg.is-error { color: #a61b1b; }
.mh-news .mhc-subscribe__small { flex: 0 0 100%; margin: 6px 0 0; font-size: 13px; line-height: 1.5; color: var(--mh-muted); }
.mh-news .mhc-subscribe__small a { color: var(--mh-teal); }
@media (max-width: 700px) {
	.mh-news .mh-sec__title { font-size: 20px; letter-spacing: .06em; }
	.mh-news .mhc-subscribe .btn { flex: 1 1 100%; }
}

/* A compact search band between the story strip and today's history. */
.mh-sec--search { padding: 72px 0; background: var(--mh-cream); border-bottom: 0; position: relative; z-index: 5; }
.mh-find__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.mh-find__head p { margin: 0 0 3px; font-family: Georgia, serif; font-size: 15px; color: var(--mh-grey); }
.mh-find__form { position: relative; margin: 0; }
.mh-find__bar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(140px, 180px) auto; align-items: stretch; gap: 8px; background: transparent; }
.mh-find__field { display: flex; align-items: center; gap: 10px; min-width: 0; box-sizing: border-box; height: 40px; padding: 0 12px; border: 1px solid #cfcfcf; border-radius: 3px; background: #fff; }
.mh-find__field:focus-within { border-color: #0a0a0a; box-shadow: 0 0 0 1px #0a0a0a; }
.mh-find__icon { flex: 0 0 16px; width: 16px; height: 16px; padding: 0; border: 0; background: transparent; fill: none; stroke: var(--mh-teal); stroke-width: 1.5; }
.mh-find .mh-find__bar input[type="search"] { flex: 1 1 auto; box-sizing: border-box; width: 100%; height: 40px; min-height: 40px; min-width: 0; margin: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; background: transparent; color: var(--mh-ink); font: 400 12px/1.5 "Sinkin Sans", Georgia; text-transform: none; letter-spacing: 0; outline: none; }
.mh-find .mh-find__bar input[type="search"]::placeholder { color: #757575; opacity: 1; font: 400 12px/1.5 "Sinkin Sans", Georgia; text-transform: none !important; letter-spacing: 0 !important; }
.mh-find__scope { position: relative; min-width: 0; box-sizing: border-box; height: 40px; margin: 0; border: 1px solid #cfcfcf; border-radius: 3px; background: #fff; }
.mh-find__scope-toggle { box-sizing: border-box; display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; height: 100%; min-height: 0; margin: 0; padding: 0 12px; border: 0; border-radius: 3px; background: #fff; color: #282522; font: 400 12px/1.5 "Sinkin Sans", Georgia; text-transform: none; letter-spacing: 0; cursor: pointer; }
.mh-find__scope-toggle svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.mh-find .mh-find__scope select { box-sizing: border-box; width: 100%; height: 40px; margin: 0; padding: 0 12px; border: 0; border-radius: 3px; background: #fff; color: #282522; font: 400 12px/1.5 "Sinkin Sans", Georgia; }
.mh-find__scope:focus-within { border-color: #0a0a0a; box-shadow: 0 0 0 1px #0a0a0a; }
.mh-find__bar .mh-btn { box-sizing: border-box; display: flex; align-items: center; justify-content: center; gap: 12px; min-width: 0; height: 40px; min-height: 40px; margin: 0; padding: 0 18px; border: 1px solid #0a0a0a; border-radius: 3px; background: #0a0a0a; color: #fff; font: 600 10px/1.5 "Sinkin Sans", Georgia; letter-spacing: 0; text-transform: uppercase; white-space: nowrap; }
.mh-find__bar .mh-btn:hover, .mh-find__bar .mh-btn:focus-visible { border-color: var(--mh-brown); background: var(--mh-brown); color: #fff; }
.mh-find__bar .mh-btn .mh-find__submit-arrow { font-size: 16px; }
.mh-find__submit-icon { display: none; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.mh-find__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 16px; }
.mh-find__examples { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; font-size: 11px; }
.mh-find__examples > span { color: var(--mh-muted); }
.mh-find__examples button { margin: 0; padding: 2px 0; border: 0; background: transparent; color: var(--mh-teal); font-family: inherit; font-size: 11px; line-height: 1.5; cursor: pointer; }
.mh-find__examples button:hover { color: var(--mh-brown); text-decoration: underline; text-underline-offset: 3px; }
.mh-find__status { font-size: 10px; color: var(--mh-grey); }
.mh-find__dropdown { position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 10; overflow: hidden; border: 1px solid #d5c9b8; border-radius: 3px; background: #fff; box-shadow: 0 14px 30px rgba(26,13,5,.12); }
.mh-find__dropdown[hidden] { display: none; }
.mh-find__results { max-height: min(380px, 48vh); overflow-y: auto; overscroll-behavior: contain; }
.mh-find__result { display: flex; align-items: center; gap: 14px; padding: 13px 18px; border-bottom: 1px solid var(--mh-line); color: var(--mh-ink); text-decoration: none; }
.mh-find__result:hover, .mh-find__result[aria-selected="true"] { background: #f4f8f9; color: var(--mh-teal); }
.mh-find__tile { display: grid; place-items: center; flex: 0 0 36px; height: 36px; border-radius: 3px; background: var(--mh-cream); color: var(--mh-brown); font-family: Georgia, serif; font-size: 18px; }
.mh-find__text { flex: 1; min-width: 0; }
.mh-find__title { display: block; font-size: 13px; font-weight: 600; line-height: 1.5; }
.mh-find__meta { display: block; font-size: 10px; color: var(--mh-muted); line-height: 1.5; margin-top: 2px; }
.mh-find__group { flex: 0 0 auto; font-size: 9px; letter-spacing: .04em; color: var(--mh-teal); }
.mh-find__empty { margin: 0; padding: 22px 18px; color: var(--mh-muted); font-size: 13px; }
.mh-find__all { display: flex; justify-content: space-between; gap: 16px; padding: 14px 18px; background: #f8f5e8; color: var(--mh-teal); font-size: 11px; font-weight: 600; text-decoration: none; }
.mh-find__all:hover { color: var(--mh-brown); }
.mh-find button:focus-visible, .mh-find a:focus-visible { outline: 2px solid var(--mh-teal); outline-offset: 3px; }
@media (max-width: 800px) {
	.mh-sec .mh-sec__title, .mh-otd__day, .mh-sec .mh-find__head h2 { font-size: 22px; }
	.mh-find__head { display: block; }
	.mh-find__head p { display: none; }
	.mh-find__bar { grid-template-columns: minmax(0, 1fr) minmax(130px, 155px) auto; }
	.mh-find__status { display: none; }
}
@media (max-width: 600px) {
	.mh-sec .mh-sec__title, .mh-otd__day, .mh-sec .mh-find__head h2 { font-size: 21px; }
	.mh-sec--search { padding: 56px 0; }
	.mh-find__head { margin-bottom: 16px; }
	.mh-find__head h2 { max-width: 300px; }
	.mh-find__head .mh-eyebrow { font-size: 10px; letter-spacing: .12em; }
	.mh-find__bar { grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
	.mh-find__field { grid-column: 1 / -1; grid-row: 1; }
	.mh-find__scope { grid-column: 1; grid-row: 2; }
	.mh-find__bar .mh-btn { grid-column: 2; grid-row: 2; padding: 0 18px; }
	.mh-find__bar .mh-find__submit-label { display: inline; }
	.mh-find__bar .mh-find__submit-arrow, .mh-find__submit-icon { display: none; }
	.mh-find__foot { margin-top: 12px; }
	.mh-find__group { display: none; }
	.mh-find__examples { gap: 6px 12px; }
}

/* Keep the custom scope menu consistent across browsers instead of using the OS menu. */
.mh-find__scope-menu { position: absolute; top: calc(100% + 8px); right: 0; width: 210px; padding: 6px; border: 1px solid #d5c9b8; background: #fff; box-shadow: 0 8px 24px rgba(26,13,5,.12); z-index: 20; }
.mh-find__scope-menu button { display: flex; align-items: center; justify-content: space-between; width: 100%; margin: 0; padding: 11px 12px; border: 0; background: #fff; color: var(--mh-grey); font: inherit; font-size: 12px; text-align: left; text-transform: none; letter-spacing: 0; cursor: pointer; }
.mh-find__scope-menu button[aria-checked="true"] { color: var(--mh-brown); background: var(--mh-cream); }
.mh-find__scope-menu button[aria-checked="true"]::after { content: '✓'; }
.mh-find .mh-find__scope-menu button:hover, .mh-find .mh-find__scope-menu button:focus-visible { background: var(--mh-cream); outline: none; }
.mh-find__scope [hidden] { display: none !important; }
@media (max-width: 600px) {
 .mh-find__scope-menu { left: 0; right: 0; width: 100%; }
}

/* Featured profiles: the menu's visual language, given a full editorial section. */
.mh-sec.mh-sec--profiles { background: var(--mh-cream); overflow: visible; }
.mh-profile-gallery { display: flex; flex-direction: column; gap: clamp(20px, 3vw, 30px); }
.mh-profiles__layout { display: grid; grid-template-columns: minmax(210px, 25%) minmax(0, 1fr); gap: 42px; align-items: start; }
.mh-profiles__rail { display: flex; flex-direction: column; gap: 2px; background: var(--mh-brown); padding: 6px; border-radius: 6px; }
.mh-profiles__rail button { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; min-height: 46px; border: 0; border-radius: 3px; padding: 0 14px 0 16px; margin: 0; background: transparent; color: #fff; font-family: inherit; font-size: 14px; font-weight: 400; line-height: 1.3; text-align: left; cursor: pointer; transition: background .2s, color .2s; }
.mh-profiles__name { flex: 1; min-width: 0; }
.mh-profiles__count { flex-shrink: 0; font-size: 11px; font-weight: 400; letter-spacing: .04em; opacity: .75; font-variant-numeric: tabular-nums; }
.mh-profiles__rail button:hover { background: rgba(255,255,255,.12); }
.mh-profiles__rail button[aria-selected="true"] { background: #fff; color: var(--mh-ink); font-weight: 500; }
.mh-profiles__rail button[aria-selected="true"]::before { content: ""; position: absolute; left: 0; top: 50%; width: 3px; height: 18px; transform: translateY(-50%); border-radius: 0 3px 3px 0; background: var(--mh-brown); }
.mh-profiles__rail button[aria-selected="true"] .mh-profiles__count { color: var(--mh-brown); opacity: 1; font-weight: 500; }
.mh-profiles__rail .mh-chev { flex-shrink: 0; color: currentColor; opacity: .7; }
.mh-profiles__panels { min-width: 0; }
.mh-profiles__mobile { display: none; } /* phones swap the side list for the shared dropdown */
.mh-profiles__panel[hidden] { display: none; }
.mh-profiles__panel .mh-mega__intro { position: relative; border: 0; padding: 0 200px 18px 0; margin-bottom: 18px; border-bottom: 1px solid rgba(26,13,5,.15); }
.mh-profiles__panel .mh-mega__intro h3 { font-size: 26px; line-height: 1.2; margin: 5px 0 9px; font-weight: 600; }
.mh-profiles__panel .mh-mega__intro p { display: block; margin: 0; color: var(--mh-grey); font-family: Georgia, 'Times New Roman', serif; font-size: 17px; line-height: 1.5; }
.mh-profiles__panel .mh-mega__actions { position: absolute; right: 0; top: 30px; }
.mh-profiles__panel .mh-btn { color: #fff; }
.mh-profiles__panel .mh-mega__cards { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.mh-profiles__panel .mh-mcard { display: block; color: var(--mh-ink); }
.mh-profiles__panel .mh-mcard__pic { position: relative; display: block; box-sizing: border-box; aspect-ratio: 1; overflow: hidden; margin-bottom: 12px; border: 1px solid color-mix(in srgb, var(--mh-brown) 28%, #fff); border-radius: 3px; }
.mh-profiles__panel .mh-mcard__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; opacity: 1; transform: none; transition: transform .3s; }
.mh-profiles__panel .mh-mcard:hover img { transform: scale(1.04); }
.mh-profiles__panel .mh-mcard__title { display: block; font-size: 15px; line-height: 1.4; font-weight: 600; }
.mh-profiles__panel .mh-mcard:hover .mh-mcard__title { color: var(--mh-brown); }
.mh-profiles__panel .mh-mcard__meta { display: block; margin-top: 6px; color: var(--mh-grey); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
/* Home profile cards look like the site's square cards: a framed card, the kind above the name in brown. */
.mh-profiles__panel .mhc-bmwrap--profile > .mh-mcard--boxed,
.mh-profiles__panel .mh-mcard--boxed { display: flex; flex-direction: column; height: 100%; box-sizing: border-box; border: 1px solid var(--mh-line); background: var(--mh-paper); transition: border-color .25s; }
.mh-profiles__panel .mh-mcard--boxed:hover { border-color: color-mix(in srgb, var(--mh-brown) 35%, var(--mh-line)); }
.mh-profiles__panel .mh-mcard--boxed .mh-mcard__pic { margin: 0; border: 0; border-radius: 0; }
.mh-profiles__panel .mh-mcard__body { display: flex; flex-direction: column; gap: 5px; padding: 10px 12px 12px; }
.mh-profiles__panel .mh-mcard--boxed .mh-mcard__meta { margin: 0; color: var(--mh-ink); font-size: 9px; font-weight: 700; letter-spacing: .05em; }
.mh-profiles__panel .mh-mcard--boxed .mh-mcard__title { color: var(--mh-brown); font-size: 14px; line-height: 1.32; }
/* Historical Works: book covers (a plain teal cover with a book mark until a picture is added). */
.mh-profiles__panel .mh-mcard--book .mh-mcard__pic { aspect-ratio: 2 / 3; margin: 0; border: 0; border-radius: 0; background: var(--mh-teal); box-shadow: 0 8px 24px rgba(0, 0, 0, .12); }
.mh-book-ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; }
.mh-book-ph svg { width: 32%; max-width: 64px; height: auto; }
.mh-profiles__panel .mh-mcard--book .mh-mcard__body { padding: 12px 0 0; }
.mh-profiles__panel .mh-mcard--book .mh-mcard__meta { margin: 0; color: var(--mh-brown); font-weight: 600; }
.mh-profile-gallery a:focus-visible, .mh-profiles__panel:focus-visible { outline: 2px solid var(--mh-brown); outline-offset: 3px; }
/* Keyboard focus on the category list: a quiet ring inside the row, never a box around it. */
.mh-profile-gallery [role="tab"]:focus { outline: none; }
.mh-profile-gallery [role="tab"]:focus-visible { outline: none; box-shadow: inset 0 0 0 2px rgba(255,255,255,.85); }
.mh-profile-gallery [role="tab"][aria-selected="true"]:focus-visible { box-shadow: inset 0 0 0 2px var(--mh-brown); }
@media (max-width: 1000px) {
	.mh-profiles__layout { gap: 24px; }
	.mh-profiles__panel .mh-mega__intro { padding-right: 0; }
	.mh-profiles__panel .mh-mega__actions { position: static; margin-top: 16px; }
	.mh-profiles__panel .mh-mega__cards { gap: 14px; }
}
@media (max-width: 700px) {
	.mh-profiles__layout { display: flex; flex-direction: column; gap: 22px; }
	.mh-profiles__rail { display: none; }
	.mh-profiles__mobile { display: flex; width: 100%; margin: 0; }
	.mh-profiles__mobile > .mh-select { flex: 1; }
	.mh-profiles__panels { width: 100%; }
	/* On phones the "See all" button comes after the cards, not before them. */
	.mh-profiles__panel:not([hidden]) { display: flex; flex-direction: column; }
	.mh-profiles__panel .mh-mega__intro { display: contents; }
	.mh-profiles__panel .mh-mega__cards { order: 1; margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(26,13,5,.15); }
	.mh-profiles__panel .mh-mega__actions { order: 2; margin-top: 8px; align-self: flex-start; }
	.mh-profiles__panel .mh-mega__intro { margin-bottom: 18px; padding-bottom: 18px; }
	.mh-profiles__panel .mh-mega__intro h3 { font-size: 23px; }
	.mh-profiles__panel .mh-mega__intro p { font-size: 15px; }
	.mh-profiles__panel .mh-mega__cards { display: flex; overflow-x: auto; gap: 16px; padding-bottom: 12px; scroll-snap-type: x mandatory; }
	.mh-profiles__panel .mh-mcard { flex: 0 0 44%; scroll-snap-align: start; }
}
@media (prefers-reduced-motion: reduce) {
	.mh-profile-gallery *, .mh-profile-gallery *::before { transition: none !important; }
}
@media (max-width: 700px) {
	.mh-profile-gallery { gap: 16px; }
	.mh-profiles__layout { gap: 16px; }
	.mh-profiles__panel .mh-mcard__title { font-size: 14px; }
}

/* On this day block: a day with nothing recorded */
.mh-otd__next { margin-top: 16px; border-top: 1px solid var(--mh-line); }
.mh-otd__next-title { display: block; padding: 14px 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mh-brown); }
.mh-otd__next-row { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--mh-line); color: inherit; text-decoration: none; }
.mh-otd__next-row b { font-size: 14px; font-weight: 700; color: var(--mh-teal); }
.mh-otd__next-row span { font-family: Georgia, "Times New Roman", serif; font-size: 16px; line-height: 1.5; }
.mh-otd__next-row:hover span { color: var(--mh-brown); }
@media (max-width: 640px) {
	.mh-otd__next-row { grid-template-columns: 1fr; gap: 4px; }
}
