/* MHC front-end: profile pages, Explore, Search, Today, Maps, learning content.
   Loaded only on MHC-related pages (see functions.php). Deliberately plain and
   readable rather than matching theissue's magazine styling pixel-for-pixel —
   this is reference-work content, not a magazine article. */

.mhc {
	--mhc-border: #e2ddd3;
	--mhc-muted: #767267;
	--mhc-accent: var(--mh-brown,#a06b3e);
	--mhc-bg-soft: #f8f5e8;
	max-width: var(--mh-wrap, 79.375rem);
	margin: 0 auto;
	padding-top: 35px !important;
	padding-bottom: 60px !important;
	color: #262220;
}
div[role="main"] > .mhc {
	margin-top: 25px !important;
}
/* Every reference page shares the header width, including full profile layouts. */
.mhc.mhc-full {
	max-width: var(--mh-wrap, 79.375rem);
}
@media (max-width: 640px) {
	.mhc {
		padding-top: 20px !important;
		padding-bottom: 40px !important;
	}
	div[role="main"] > .mhc {
		margin-top: 15px !important;
	}
}

.mhc h1, .mhc h2, .mhc h3, .mhc h4, .mhc h5, .mhc h6 {
	font-family: var(--thb-primary-font, "Sinkin Sans", "system-ui", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif) !important;
}
.mhc-muted { color: var(--mhc-muted); }
.mhc-eyebrow {
	display: inline-block;
	text-align: center;
	background: var(--mh-brown,#a06b3e);
	color: #ffffff !important;
	font-family: var(--thb-primary-font, "Sinkin Sans", "system-ui", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif) !important;
	font-size: 10px !important;
	font-weight: 600 !important;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	padding: 6px 12px;
	line-height: 1;
	text-box: trim-both cap alphabetic; /* Equal padding = equal space above and below the capitals. */
	border-radius: 0 !important;
	margin: 0 auto 14px auto;
}
@supports not (text-box: trim-both cap alphabetic) {
	.mhc-eyebrow { padding: 6px 12px 3px; }
}

/* -------------------------------------------------------- archive header */
.mhc-archive-header {
	text-align: center;
	margin-bottom: 35px;
}
.mhc-archive-header .mhc-breadcrumb,
.text-center .mhc-breadcrumb {
	justify-content: center;
	text-align: center;
	margin: 0 0 16px 0 !important;
}
.mhc-archive-header h1,
.mhc-archive-title {
	font-family: var(--thb-primary-font, "Sinkin Sans", "system-ui", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif) !important;
	font-size: 40px !important;
	font-weight: 400 !important;
	line-height: 1 !important;
	color: #0a0a0a !important;
	margin: 0 0 20px 0 !important;
	text-align: center !important;
}
.mhc-archive-header .mhc-explore__types {
	justify-content: center;
	margin: 20px 0 0 0;
}
@media (max-width: 640px) {
	.mhc-archive-header h1,
	.mhc-archive-title {
		font-size: 32px !important;
		margin-bottom: 16px !important;
	}
}

/* ---------------------------------------------------------------- Profile Hero (Centered Top) */
.mhc-hero {
	padding: 10px 0 24px;
	border-bottom: 1px solid var(--mhc-border);
	margin-bottom: 28px;
	text-align: center;
}
.mhc-hero__header {
	text-align: center;
	margin-bottom: 0;
}
.mhc-hero h1,
.mhc-hero__header h1 {
	font-family: var(--thb-primary-font, "Sinkin Sans", "system-ui", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif) !important;
	font-size: 38px !important;
	font-weight: 700 !important;
	line-height: 1.18;
	color: #0a0a0a !important;
	text-align: center !important;
	margin: 0 0 10px 0 !important;
}
.mhc-hero__excerpt {
	font-family: Georgia, "Times New Roman", serif !important;
	font-size: 17.5px !important;
	line-height: 1.6;
	color: #403b35;
	text-align: center !important;
	max-width: 680px;
	margin: 0 auto !important;
}

@media (max-width: 640px) {
	.mhc-hero h1,
	.mhc-hero__header h1 {
		font-size: 28px !important;
	}
	.mhc-hero__excerpt {
		font-size: 16px !important;
	}
}

/* ---------------------------------------------------------------- 2-Column Layout (33% Left / 67% Right) */
.mhc-layout-2col {
	display: grid;
	grid-template-columns: 32% 1fr;
	gap: 48px;
	align-items: start;
	margin-top: 8px;
}

/* Mirror image (glossary entries): main column first, the sidebar on the right. */
.mhc-layout-2col.mhc-layout-2col--flip {
	grid-template-columns: 1fr 32%;
}

/* Left Sidebar (33%) */
.mhc-layout-sidebar {
	width: 100%;
}

.mhc-sidebar-photo {
	margin: 0 0 26px 0;
	padding: 0;
	width: 100%;
}
.mhc-sidebar-photo__link {
	position: relative;
	display: block;
	width: 100%;
	border: 1px solid #e2ddd3;
	background: #0a0a0a;
	overflow: hidden;
	cursor: pointer;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
	text-decoration: none;
	border-radius: 2px;
}
.mhc-sidebar-photo__link:hover {
	border-color: var(--mh-brown,#a06b3e);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
	transform: translateY(-2px);
}
.mhc-sidebar-photo__link img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
	object-position: center 20%; /* Square: keep faces and the tops of buildings in frame. */
	aspect-ratio: 1 / 1;
}
.mhc-sidebar-photo__zoom {
	position: absolute;
	bottom: 8px;
	right: 8px;
	width: 24px;
	height: 24px;
	background: rgba(16, 16, 16, 0.75);
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 2px;
	opacity: 0.85;
	transition: background 0.2s ease, opacity 0.2s ease;
}
.mhc-sidebar-photo__link:hover .mhc-sidebar-photo__zoom {
	background: var(--mh-brown,#a06b3e);
	opacity: 1;
}
.mhc-sidebar-photo__caption {
	font-family: Georgia, "Times New Roman", serif;
	font-style: italic;
	font-size: 13.5px;
	line-height: 1.5;
	color: #66625b;
	margin-top: 10px;
	padding: 0;
}
.mhc-sidebar-photo__credit {
	font-family: var(--thb-primary-font, "Sinkin Sans", sans-serif);
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #9f9a90;
	margin-top: 4px;
}

/* -------------------------------------------------- photo placeholder frame */
.mhc-sidebar-photo--placeholder {
	margin: 0 0 26px 0;
	padding: 0;
}
.mhc-photo-placeholder {
	width: 100%;
	aspect-ratio: 1 / 1;
	border: 1px solid #e2ddd3;
	border-radius: 2px;
	background: #f7f5f0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	box-sizing: border-box;
	text-align: center;
}
.mhc-photo-placeholder__text {
	font-family: Georgia, "Times New Roman", serif;
	font-style: italic;
	font-size: 14px;
	color: #928b7e;
	line-height: 1.4;
	letter-spacing: 0.01em;
	user-select: none;
}

.mhc-sidebar-section {
	margin-bottom: 26px;
}
.mhc-sidebar-heading {
	font-family: var(--thb-primary-font, "Sinkin Sans", sans-serif);
	font-size: 16px;
	font-weight: 700;
	color: #111;
	margin: 0 0 8px 0;
	line-height: 1.2;
}
.mhc-sidebar-divider {
	border: none;
	border-top: 1px solid #e2ddd3;
	margin: 0 0 14px 0;
}
.mhc-sidebar-names {
	font-family: Georgia, "Times New Roman", serif;
	font-style: italic;
	font-size: 14.5px;
	line-height: 1.6;
	color: #403b35;
	margin: 0;
}

/* Family list in sidebar */
.mhc-sidebar-family-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.mhc-sidebar-family-list .mhc-rel {
	display: flex;
	flex-direction: column;
	background: transparent !important;
	border: none !important;
	padding: 0 !important;
	margin: 0 !important;
}
.mhc-sidebar-family-list .mhc-rel__label {
	font-family: var(--thb-primary-font, "Sinkin Sans", sans-serif);
	font-size: 10.5px;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--mh-brown,#a06b3e);
	letter-spacing: 0.06em;
	margin-bottom: 2px;
	line-height: 1.2;
}
.mhc-sidebar-family-list .mhc-rel__title {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 17px;
	font-weight: 400;
	color: #1a1a1a;
	text-decoration: none;
	line-height: 1.3;
	transition: color 0.2s;
}
.mhc-sidebar-family-list .mhc-rel__title:hover {
	color: var(--mh-brown,#a06b3e);
}
.mhc-sidebar-family-list .mhc-rel__meta {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 13px;
	color: var(--mhc-muted);
	margin-top: 2px;
}

/* Quick facts in sidebar */
.mhc-sidebar-facts {
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.mhc-sidebar-facts dt {
	font-family: var(--thb-primary-font, "Sinkin Sans", sans-serif);
	font-size: 10.5px;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--mh-brown,#a06b3e);
	letter-spacing: 0.06em;
	margin-bottom: 2px;
}
.mhc-sidebar-facts dd {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 17px;
	color: #1a1a1a;
	margin: 0;
	padding: 0 !important;
	border: none !important;
	border-bottom: none !important;
}

/* Right Main Column (67%) */
.mhc-layout-main {
	min-width: 0;
}
.mhc-layout-main .mhc-section:first-child,
.mhc-layout-main > :first-child {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

@media (max-width: 1024px) {
	.mhc-layout-2col {
		gap: 32px;
	}
	.mhc-layout-main .mhc-dates-list,
	.mhc-layout-main .mhc-rel-list,
	.mhc-layout-main .mhc-metrics-list {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
	}
}

@media (max-width: 860px) {
	.mhc-layout-2col {
		display: flex;
		flex-direction: column;
		gap: 32px;
	}
	.mhc-layout-sidebar {
		display: contents;
	}
	.mhc-sidebar-photo {
		order: 1;
		width: 100%;
		max-width: 260px;
		margin: 0 auto 16px auto;
	}
	.mhc-sidebar-photo__caption {
		text-align: center;
	}
	.mhc-sidebar-names-section {
		order: 2;
		margin-bottom: 0;
	}
	.mhc-layout-main {
		order: 3;
	}
	.mhc-layout-2col--flip .mhc-layout-sidebar {
		display: block;
	}
	.mhc-layout-2col--flip .mhc-layout-main {
		order: 0;
	}
	.mhc-sidebar-images-section {
		order: 4;
		margin-top: 8px;
		margin-bottom: 24px;
	}
	.mhc-sidebar-images-section .mhc-gallery {
		grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
		gap: 12px;
	}
	.mhc-sidebar-images-section .mhc-gallery img {
		height: 120px;
	}
}

@media (max-width: 600px) {
	.mhc-sidebar-family-list {
		grid-template-columns: 1fr;
	}
	.mhc-layout-main .mhc-dates-list,
	.mhc-layout-main .mhc-rel-list,
	.mhc-layout-main .mhc-metrics-list {
		grid-template-columns: 1fr;
		gap: 16px;
	}
}

.mhc-quickfacts {
	list-style: none;
	margin: 18px auto 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 16px 36px;
}
.mhc-quickfacts dt {
	font-family: var(--thb-primary-font, "Sinkin Sans", sans-serif);
	font-size: 10.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: var(--mh-brown,#a06b3e);
	margin-bottom: 2px;
}
.mhc-quickfacts dd {
	margin: 0;
	padding: 0 !important;
	border: none !important;
	border-bottom: none !important;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 16.5px;
	color: #1a1a1a;
}

/* ------------------------------------------------------------------ tags */
.mhc-tag {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	font-family: var(--thb-primary-font, "Sinkin Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
	font-size: 10px;
	font-weight: 600;
	padding: 3.5px 6px 2.5px;
	border-radius: 3px;
	background: #f8f5e8;
	vertical-align: middle;
}
.mhc-tag--disputed, .mhc-tag--uncertain { background: #fbeceb; color: #8a2424; }
.mhc-tag--probable { background: color-mix(in srgb, var(--mh-teal,#126788) 10%, #fff); color: var(--mh-teal,#126788); }
.mhc-tag--viewpoint { background: color-mix(in srgb, var(--mh-sage,#6a7f6d) 14%, #fff); color: color-mix(in srgb, var(--mh-sage,#6a7f6d) 70%, #000); }
.mhc-info { font-size: 12px; color: var(--mhc-muted); margin-left: 6px; cursor: help; }

/* --------------------------------------------------------------- content */
.mhc-content {
	font-family: Georgia, "Times New Roman", serif !important;
	font-size: 17px;
	line-height: 1.7;
	color: #2c2825;
	margin: 0 0 32px 0;
}
.mhc-content p,
.mhc-content li,
.mhc-content blockquote {
	font-family: Georgia, "Times New Roman", serif !important;
	font-size: 17px;
	line-height: 1.7;
	color: #2c2825;
}
.mhc-content p:last-child {
	margin-bottom: 0;
}
.mhc-section { margin: 40px 0; }
.mhc-section h2 {
	font-family: var(--thb-primary-font, "Sinkin Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif) !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	color: #111 !important;
	letter-spacing: 0 !important;
	line-height: 1.2 !important;
	border-bottom: 1px solid var(--mhc-border, #e2ddd3) !important;
	padding-bottom: 8px !important;
	margin: 0 0 16px 0 !important;
}
.mhc-section h3 { font-size: 16px; margin: 20px 0 8px; }

.mhc-rel-list,
.mhc-dates-list,
.mhc-metrics-list {
	list-style: none;
	margin: 16px 0 32px 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px 32px;
}
.mhc-rel-list li,
.mhc-rel,
.mhc-dates-list li,
.mhc-metrics-list li {
	background: transparent !important;
	border: none !important;
	border-radius: 0 !important;
	padding: 0 !important;
	box-shadow: none !important;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}

/* Several people under one heading ("Sons"): a little space between names. */
.mhc-rel__body + .mhc-rel__body { margin-top: 10px; }

.mhc-rel__label,
.mhc-date-label,
.mhc-metrics-list li strong {
	font-family: var(--thb-primary-font, "Sinkin Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif) !important;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--mh-brown,#a06b3e);
	margin-bottom: 6px;
	display: block;
	line-height: 1.2;
}

.mhc-rel__title,
.mhc-date {
	font-family: Georgia, "Times New Roman", serif !important;
	font-size: 20px;
	font-weight: 400;
	color: #1a1a1a;
	line-height: 1.28;
	text-decoration: none;
	transition: color 0.2s ease;
}
a.mhc-rel__title {
	display: inline-block;
}
a.mhc-rel__title:hover {
	color: var(--mh-brown,#a06b3e);
}

.mhc-rel__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 6px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 13.5px;
	color: #767267;
	line-height: 1.4;
	margin-top: 4px;
}
.mhc-rel__details {
	min-width: 0;
}
.mhc-rel__meta .mhc-tag,
.mhc-date .mhc-tag {
	margin-left: 0;
}

/* Date items layout: primary on line 1, equivalent date on dedicated line 2 */
.mhc-date {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}
.mhc-date__primary {
	display: inline-flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 6px;
}
.mhc-date__equiv {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin-top: 5px;
	white-space: nowrap;
}
.mhc-date__equiv-val {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 14.5px;
	color: #767267;
	line-height: 1.3;
	font-weight: 400;
}

/* Info Tooltip Popover */
.mhc-info-wrap {
	position: relative;
	display: inline-flex;
	align-items: center;
	vertical-align: middle;
	margin-left: 0;
}
.mhc-info-btn {
	background: transparent;
	border: none;
	color: #8c857b;
	padding: 2px;
	font-size: 14px;
	line-height: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	border-radius: 50%;
	transition: color 0.12s ease, transform 0.12s ease;
	outline: none;
	box-shadow: none;
	margin: 0;
	-webkit-tap-highlight-color: transparent;
}
.mhc-info-btn:hover,
.mhc-info-btn:focus,
.mhc-info-wrap.is-open .mhc-info-btn {
	color: var(--mh-brown,#a06b3e);
	transform: scale(1.15);
}
/* Tooltip popover box (positioned below so primary date remains visible) */
.mhc-tooltip {
	position: absolute;
	top: calc(100% + 7px);
	left: -4px;
	z-index: 1000;
	width: max-content;
	max-width: 250px;
	padding: 6px 11px;
	background: #23201d;
	color: #fcfbf9;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.4;
	letter-spacing: 0.01em;
	border-radius: 4px;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(-3px);
	transition: opacity 0.12s ease, transform 0.12s ease, visibility 0.12s ease;
	white-space: normal;
	text-align: left;
}
.mhc-tooltip::after {
	content: "";
	position: absolute;
	bottom: 100%;
	left: 8px;
	border-width: 0 5px 5px 5px;
	border-style: solid;
	border-color: transparent transparent #23201d transparent;
}
.mhc-info-wrap:hover .mhc-tooltip,
.mhc-info-wrap:focus-within .mhc-tooltip,
.mhc-info-wrap.is-open .mhc-tooltip {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateY(0);
}

.mhc-sources-list {
	list-style: none;
	margin: 16px 0 32px 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.mhc-sources-list li {
	background: transparent !important;
	border: none !important;
	border-radius: 0 !important;
	padding: 2px 0 !important;
	box-shadow: none !important;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 15px;
	line-height: 1.6;
	color: #1a1a1a;
}
.mhc-sources-list li a,
.mhc-sources-list .mhc-source__title {
	font-family: Georgia, "Times New Roman", serif;
	font-weight: 600;
	color: #1a1a1a;
	text-decoration: none;
	transition: color 0.2s ease;
}
.mhc-sources-list li a:hover {
	color: var(--mh-brown,#a06b3e);
}
.mhc-sources-list .mhc-muted {
	color: #767267;
}

/* -------------------------------------------------------------- cards */
.mhc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px,1fr)); gap: 18px; margin: 16px 0; }
.mhc-section .mhc-grid {
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin: 18px 0 28px 0;
}
/* Compact article cards on profile pages (parts-post-cards, layout "compact").
   Category pages use the theme's own grid instead. */
.mhc-grid .post {
	margin-bottom: 0;
}
.mhc-grid .post.style6 {
	height: 100%;
	display: flex;
	flex-direction: column;
}
.mhc-grid .post.style6 .post-gallery {
	margin: 0;
}
.mhc-grid .post.style6 .post-inner-content {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 16px 16px 18px !important;
}
.mhc-grid .post.style6 .post-category {
	margin-bottom: 8px !important;
}
.mhc-grid .post.style6 .post-title h5,
.mhc-grid .post.style6 .post-title h5 a,
.mhc-grid .post.style6 .post-title a {
	font-size: 16px !important;
	line-height: 1.32 !important;
}
.mhc-grid .post.style6 .thb-post-bottom {
	margin-top: auto;
	padding-top: 14px !important;
}
.mhc-card {
	display: flex;
	flex-direction: column;
	color: inherit;
	text-decoration: none;
	border: 1px solid #e9e9e9;
	border-radius: 0;
	overflow: hidden;
	background: #ffffff;
	transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.mhc-card:hover {
	border-color: #dcd7ce;
}
.mhc-card__media {
	aspect-ratio: 16 / 10;
	background: #f8f5e8;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	position: relative;
	margin: 0;
}
.mhc-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.mhc-card:hover .mhc-card__media img {
	transform: scale(1.04);
}
.mhc-card__initial {
	font-size: 38px;
	font-family: Georgia, "Times New Roman", serif;
	color: #cfc8bd;
	line-height: 1;
	user-select: none;
}
.mhc-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 16px 16px 18px;
	background: #ffffff;
}
.mhc .mhc-card__type,
.mhc-card__type {
	font-family: var(--thb-primary-font, "Sinkin Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif) !important;
	font-size: 9px !important;
	font-weight: 700 !important;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #090909 !important;
	line-height: 1.2;
	margin-bottom: 8px;
	display: block;
}
.mhc .mhc-card__title,
.mhc-card__title {
	font-family: var(--thb-secondary-font, "Sinkin Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif) !important;
	font-size: 16px !important;
	font-weight: 600 !important;
	color: var(--mh-brown,#a06b3e) !important;
	line-height: 1.32 !important;
	margin: 0 0 8px 0;
	letter-spacing: normal !important;
}
.mhc-card__title span {
	border-bottom: 1px solid transparent;
	transition: border-color 0.25s ease;
	display: inline;
}
.mhc-card:hover .mhc-card__title span {
	border-color: var(--mh-brown,#a06b3e);
}
.mhc-card__excerpt {
	font-family: Georgia, "Times New Roman", serif !important;
	font-size: 13.5px;
	line-height: 1.55;
	color: #646059;
	margin: 0;
}
.mhc-card__extra {
	font-size: 9px !important;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: rgba(10, 10, 10, 0.7) !important;
	margin-top: auto;
	padding-top: 14px;
	font-weight: 400 !important;
}
.mhc-card--article .mhc-card__media { aspect-ratio: 16/9; }

/* -------------------------------------------------------------- gallery */
.mhc-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px,1fr)); gap: 10px; }
.mhc-gallery figure { margin: 0; }
.mhc-gallery img { width: 100%; height: 140px; object-fit: cover; border-radius: 2px; }
.mhc-gallery figcaption { font-size: 11px; color: var(--mhc-muted); margin-top: 4px; }

/* Sidebar gallery */
.mhc-sidebar-section .mhc-gallery {
	grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
	gap: 10px;
}
.mhc-sidebar-section .mhc-gallery figure {
	margin: 0;
}
.mhc-sidebar-section .mhc-gallery a {
	display: block;
	border: 1px solid #e2ddd3;
	border-radius: 2px;
	overflow: hidden;
	transition: border-color 0.2s ease, transform 0.2s ease;
}
.mhc-sidebar-section .mhc-gallery a:hover {
	border-color: var(--mh-brown,#a06b3e);
	transform: translateY(-2px);
}
.mhc-sidebar-section .mhc-gallery img {
	width: 100%;
	height: 100px;
	object-fit: cover;
	display: block;
	border-radius: 0;
}

/* ---------------------------------------------------------------- explore */
.mhc-explore__types { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.mhc-explore__types a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 16px 8px;
	line-height: 1;
	border: 1px solid var(--mhc-border);
	border-radius: 0 !important;
	text-decoration: none;
	color: #262220;
	background: #ffffff;
	font-family: var(--thb-primary-font, "Sinkin Sans", "system-ui", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
	font-size: 13px;
	font-weight: 500;
	box-sizing: border-box;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.mhc-explore__types a:hover {
	border-color: var(--mh-brown,#a06b3e);
	color: var(--mh-brown,#a06b3e);
}
.mhc-explore__types a.is-active,
.mhc-explore__types a.is-active:hover {
	background: var(--mh-brown,#a06b3e) !important;
	border-color: var(--mh-brown,#a06b3e) !important;
	color: #ffffff !important;
}
.mhc-alpha { display: flex; flex-wrap: wrap; gap: 4px; margin: 16px 0; position: sticky; top: 32px; background: #fff; z-index: 2; padding: 8px 0; }
.mhc-alpha a { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; border-radius: 50%; text-decoration: none; color: inherit; font-size: 13px; }
.mhc-alpha a:hover { background: var(--mhc-bg-soft); }
.mhc-alpha-group h2 { font-size: 20px; margin: 28px 0 8px; color: var(--mhc-accent); }
.mhc-alpha-group ul { list-style: none; margin: 0; padding: 0; columns: 2; }
.mhc-alpha-group li { padding: 4px 0; }

/* -------------------------------------------------------------- search */
/* Search page: the theme's underlined search field (as in its search
   pop-up), a square theme button, and suggestions as you type. */
.mhc-search-form { position: relative; margin: 24px 0 32px; display: flex; align-items: flex-end; gap: 24px; }
.mhc-search-form__field { position: relative; flex: 1; min-width: 0; }
.mhc-search-form .search-field {
	width: 100%; height: auto; margin: 0; padding: 0 0 14px;
	border: 0; border-bottom: 1px solid #0a0a0a; border-radius: 0;
	background: transparent; box-shadow: none;
	font-size: 22px; line-height: 1.3;
}
.mhc-search-form .search-field:focus { border-bottom-color: var(--mhc-accent); outline: none; }
.mhc-search-form .search-field::-webkit-search-cancel-button { -webkit-appearance: none; }
.mhc-search-form .btn { margin: 0; border-radius: 0; flex-shrink: 0; }

.mhc-suggest {
	position: absolute; z-index: 50; top: calc(100% + 8px); left: 0; right: 0;
	max-height: min(440px, 70vh); overflow: hidden;
	background: #fff; border: 1px solid #d5c9b8; border-radius: 3px;
	box-shadow: 0 14px 30px rgba(26, 13, 5, 0.12);
}
.mhc-suggest[hidden] { display: none; }
.mhc-suggest__results { max-height: min(380px, 48vh); overflow-y: auto; overscroll-behavior: contain; }
.mhc-suggest__item {
	display: flex; align-items: center; gap: 14px; min-width: 0;
	padding: 13px 18px; border-bottom: 1px solid var(--mh-line, #e4e2de);
	color: var(--mh-ink, #282522); text-decoration: none;
}
.mhc-suggest__item:hover, .mhc-suggest__item.is-active { background: #f4f8f9; color: var(--mh-teal, #176c87); }
.mhc-suggest__tile {
	display: grid; place-items: center; flex: 0 0 36px; width: 36px; height: 36px;
	border-radius: 3px; background: var(--mh-cream, #f8f5e8); color: var(--mh-brown, #a06b3e);
	font: 18px/1 Georgia, serif;
}
.mhc-suggest__text { flex: 1; min-width: 0; }
.mhc-suggest__title { display: block; font-size: 13px; font-weight: 600; line-height: 1.5; }
.mhc-suggest__meta { display: block; margin-top: 2px; color: var(--mh-muted, #77736a); font-size: 10px; line-height: 1.5; }
.mhc-suggest__group { flex: 0 0 auto; color: var(--mh-teal, #176c87); font-size: 9px; letter-spacing: .04em; }
.mhc-suggest__all {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	padding: 14px 18px; background: #f8f5e8; color: var(--mh-teal, #176c87);
	font-size: 11px; font-weight: 600; text-decoration: none;
}
.mhc-suggest__all.is-active, .mhc-suggest__all:hover { color: var(--mh-brown, #a06b3e); }
@media (max-width: 600px) {
	.mhc-suggest__group { display: none; }
}
.mhc-search-otd .mhc-otd-list { max-width: none; margin: 0; }
.mhc-search-otd .mhc-otd-entry__ago { text-decoration: none; }
@media (max-width: 640px) {
	.mhc-search-form { gap: 12px; }
	.mhc-search-form .search-field { font-size: 18px; }
}

/* ---------------------------------------------------------------- today */
.mhc-today-nav { display: flex; align-items: center; gap: 16px; margin: 16px 0; }
.mhc-today-entry { padding: 14px 0; border-bottom: 1px solid var(--mhc-border); }
.mhc-lessons { margin: 32px 0 0; padding: 0; list-style: none; }
.mhc-lessons .mhc-today-entry { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 0; }
.mhc-lessons .mhc-today-entry > .mhc-muted { min-width: 1.6em; }
.mhc-today-entry__year { font-family: Georgia, serif; font-size: 20px; color: var(--mhc-accent); min-width: 70px; display: inline-block; }
.mhc-today-cal-toggle a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 16px 8px;
	line-height: 1;
	border: 1px solid var(--mhc-border);
	border-radius: 0 !important;
	text-decoration: none;
	color: #262220;
	background: #ffffff;
	font-family: var(--thb-primary-font, "Sinkin Sans", "system-ui", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
	font-size: 13px;
	font-weight: 500;
	box-sizing: border-box;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.mhc-today-cal-toggle a:hover {
	border-color: var(--mh-brown,#a06b3e);
	color: var(--mh-brown,#a06b3e);
}
.mhc-today-cal-toggle a.is-active,
.mhc-today-cal-toggle a.is-active:hover {
	background: var(--mh-brown,#a06b3e) !important;
	border-color: var(--mh-brown,#a06b3e) !important;
	color: #ffffff !important;
}
.mhc-today-locked { color: var(--mhc-muted); font-style: italic; }

/* ----------------------------------------------------------------- maps */
.mhc-map { height: 520px; border: 1px solid var(--mhc-border); border-radius: 6px; }

/* --------------------------------------------------------------- quiz
   One question per screen: progress bar, a card with the question, answer
   cards with letters, then the verdict. Square corners; var(--mh-teal,#126788) for what's
   chosen, var(--mh-brown,#a06b3e) for small print, like the rest of the site.
   Drawn by assets/js/quiz-runner.js (MHC Core). */
.mhc-quiz { margin-top: 28px; }
.mhc-quiz__progress-text { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 10px; font-size: 13px; color: var(--mhc-muted); }
.mhc-quiz__pct { font-weight: 700; color: #262220; }
.mhc-quiz__bar { height: 6px; background: #e2ddd3; }
.mhc-quiz__bar i { display: block; height: 100%; width: 0; background: var(--mh-teal,#126788); transition: width 0.45s ease; }

/* Layout: progress and question on the left, the stats panel on the right. */
.mhc-quiz__layout { display: grid; grid-template-columns: minmax(0, 68fr) minmax(0, 32fr); column-gap: 48px; align-items: start; }
.mhc-quiz__progress { grid-column: 1; grid-row: 1; }
.mhc-quiz__stage { grid-column: 1; grid-row: 2; }
.mhc-quiz__side { grid-column: 2; grid-row: 1 / span 2; position: sticky; top: 110px; padding: 20px; background: #ffffff; border: 1px solid var(--mhc-border); }
.mhc-quiz .mhc-quiz__side-title { margin: 0 0 16px; padding-bottom: 12px; border-bottom: 1px solid var(--mhc-border); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; line-height: 1.2; text-transform: uppercase; color: #262220; }
.mhc-quiz .mhc-quiz__side-sub { margin: 0 0 10px; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; line-height: 1.2; text-transform: uppercase; color: var(--mhc-muted); }
.mhc-quiz__stats-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.mhc-quiz__stat { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 8px; background: var(--mhc-bg-soft); border: 1px solid var(--mhc-border); text-align: center; }
.mhc-quiz__stat-label { white-space: nowrap; font-size: 10px; font-weight: 700; letter-spacing: 0.08em; line-height: 1.2; text-transform: uppercase; color: var(--mhc-muted); }
.mhc-quiz__stat-value { font-size: 28px; font-weight: 700; line-height: 1.1; color: #262220; }
.mhc-quiz__stat:first-child .mhc-quiz__stat-value { color: var(--mh-teal,#126788); }
.mhc-quiz__stat-sub { white-space: nowrap; font-size: 11px; line-height: 1.2; color: var(--mhc-muted); }
.mhc-quiz__map-wrap { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--mhc-border); }
.mhc-quiz__map { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.mhc-quiz__map li {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	margin: 0;
	background: #ffffff;
	border: 1px solid var(--mhc-border);
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	color: var(--mhc-muted);
}
.mhc-quiz__map li.is-current { border-color: var(--mh-teal,#126788); background: color-mix(in srgb, var(--mh-teal,#126788) 7%, #fff); color: var(--mh-teal,#126788); box-shadow: inset 0 0 0 1px var(--mh-teal,#126788); }
.mhc-quiz__map li.is-right { border-color: var(--mh-sage,#6a7f6d); background: var(--mh-sage,#6a7f6d); color: #ffffff; }
.mhc-quiz__map li.is-close { border-color: var(--mh-brown-dk,#8d5d35); background: color-mix(in srgb, var(--mh-brown,#a06b3e) 12%, #fff); color: var(--mh-brown-dk,#8d5d35); }
.mhc-quiz__map li.is-wrong { border-color: #a83232; background: #a83232; color: #ffffff; }
.mhc-quiz__map li.is-skipped { border-style: dashed; }
@media (max-width: 860px) {
	.mhc-quiz__layout { grid-template-columns: minmax(0, 1fr); }
	.mhc-quiz__progress { grid-column: 1; grid-row: 1; }
	.mhc-quiz__side { grid-column: 1; grid-row: 2; position: static; margin-top: 16px; padding: 10px; }
	.mhc-quiz__stage { grid-column: 1; grid-row: 3; }
	.mhc-quiz .mhc-quiz__side-title, .mhc-quiz__map-wrap { display: none; }
	.mhc-quiz__stats-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
	.mhc-quiz__stat { padding: 8px 4px; }
	.mhc-quiz__stat-value { font-size: 20px; }
	.mhc-quiz__stat-sub { display: none; }
}

.mhc-quiz__stage { animation: mhc-quiz-in 0.28s ease both; }
@keyframes mhc-quiz-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
	.mhc-quiz__stage { animation: none; }
	.mhc-quiz__bar i { transition: none; }
}

.mhc-quiz__card { margin-top: 20px; padding: 32px; background: #ffffff; border: 1px solid var(--mhc-border); }
.mhc-quiz__meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.mhc-quiz__tag {
	display: inline-block;
	padding: 6px 10px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1;
	text-transform: uppercase;
}
.mhc-quiz__tag > span { display: block; text-box: trim-both cap alphabetic; }
.mhc-quiz__tag--points { background: var(--mh-brown,#a06b3e); color: #ffffff; }
.mhc-quiz__tag--level { border: 1px solid var(--mh-teal,#126788); color: var(--mh-teal,#126788); background: #ffffff; padding: 5px 9px; }
.mhc-quiz .mhc-quiz__prompt { margin: 0; font-size: 26px; font-weight: 600; line-height: 1.3; color: #262220; text-transform: none; letter-spacing: 0; }
.mhc-quiz__clue { margin: 14px 0 0; padding: 12px 14px; border-left: 3px solid var(--mh-brown,#a06b3e); background: var(--mhc-bg-soft); color: #262220; }

.mhc-quiz__answers { margin-top: 28px; }
.mhc-quiz__answers.is-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.mhc-quiz__answers.is-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.mhc-quiz .mhc-quiz__option {
	position: relative;
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0;
	padding: 14px 16px;
	min-height: 64px;
	background: #ffffff;
	border: 1px solid var(--mhc-border);
	color: #262220;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.35;
	letter-spacing: 0;
	text-transform: none;
	cursor: pointer;
	transition: border-color 0.15s, background-color 0.15s, opacity 0.15s;
}
.mhc-quiz__option input { position: absolute; opacity: 0; pointer-events: none; }
.mhc-quiz__letter {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	background: var(--mhc-bg-soft);
	border: 1px solid var(--mhc-border);
	font-size: 13px;
	font-weight: 700;
	color: #262220;
	transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.mhc-quiz__option-text { min-width: 0; overflow-wrap: anywhere; }
.mhc-quiz__option:hover { border-color: var(--mh-teal,#126788); background: color-mix(in srgb, var(--mh-teal,#126788) 7%, #fff); }
.mhc-quiz__option:has(input:checked) { border-color: var(--mh-teal,#126788); background: color-mix(in srgb, var(--mh-teal,#126788) 7%, #fff); box-shadow: inset 0 0 0 1px var(--mh-teal,#126788); }
.mhc-quiz__option:has(input:checked) .mhc-quiz__letter { background: var(--mh-teal,#126788); border-color: var(--mh-teal,#126788); color: #ffffff; }
.mhc-quiz__option:has(input:focus-visible) { outline: 2px solid var(--mh-teal,#126788); outline-offset: 2px; }
.mhc-quiz__option:has(input:disabled) { cursor: default; }
.mhc-quiz__option.is-right,
.mhc-quiz__option.is-right:has(input:checked) { border-color: var(--mh-sage,#6a7f6d); background: color-mix(in srgb, var(--mh-sage,#6a7f6d) 14%, #fff); box-shadow: inset 0 0 0 1px var(--mh-sage,#6a7f6d); }
.mhc-quiz__option.is-right .mhc-quiz__letter,
.mhc-quiz__option.is-right:has(input:checked) .mhc-quiz__letter { background: var(--mh-sage,#6a7f6d); border-color: var(--mh-sage,#6a7f6d); color: #ffffff; }
.mhc-quiz__option.is-wrong,
.mhc-quiz__option.is-wrong:has(input:checked) { border-color: #a83232; background: #fbeceb; box-shadow: inset 0 0 0 1px #a83232; }
.mhc-quiz__option.is-wrong .mhc-quiz__letter,
.mhc-quiz__option.is-wrong:has(input:checked) .mhc-quiz__letter { background: #a83232; border-color: #a83232; color: #ffffff; }
.mhc-quiz__option.is-dim { opacity: 0.55; }
.mhc-quiz__option.is-dim:hover { border-color: var(--mhc-border); background: #ffffff; }

.mhc-quiz__year-label { display: block; margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mhc-muted); }
.mhc-quiz .mhc-quiz__year { display: block; width: 100%; max-width: 240px; height: 40px; min-height: 0; margin: 0; padding: 0 14px; line-height: 1; background: #ffffff; border: 1px solid var(--mhc-border); border-radius: 0; box-shadow: none; font-family: Georgia, "Times New Roman", serif; font-size: 18px; font-weight: 400; font-variant-numeric: lining-nums; letter-spacing: 0; text-transform: none; color: #262220; }
.mhc-quiz .mhc-quiz__year::placeholder { font-family: Georgia, "Times New Roman", serif; font-size: 15px; font-style: italic; letter-spacing: 0; text-transform: none; color: #8d887c; opacity: 1; }
.mhc-quiz .mhc-quiz__year-hint { margin: 8px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: 14px; line-height: 1.5; color: var(--mhc-muted); }
.mhc-quiz .mhc-quiz__year:focus { border-color: var(--mh-teal,#126788); outline: 2px solid var(--mh-teal,#126788); outline-offset: 0; }
.mhc-quiz .mhc-quiz__year:disabled { background: var(--mhc-bg-soft); }
.mhc-quiz__note { margin: 0; color: var(--mhc-muted); }

.mhc-quiz__feedback { display: none; margin-top: 24px; padding: 14px 18px; border-left: 4px solid var(--mhc-border); background: var(--mhc-bg-soft); }
.mhc-quiz__feedback.is-shown { display: block; animation: mhc-quiz-in 0.25s ease both; }
.mhc-quiz__feedback.is-right { border-left-color: var(--mh-sage,#6a7f6d); background: color-mix(in srgb, var(--mh-sage,#6a7f6d) 14%, #fff); }
.mhc-quiz__feedback.is-close { border-left-color: var(--mh-brown-dk,#8d5d35); background: color-mix(in srgb, var(--mh-brown,#a06b3e) 12%, #fff); }
.mhc-quiz__feedback.is-wrong { border-left-color: #a83232; background: #fbeceb; }
.mhc-quiz__feedback p { margin: 0; }
.mhc-quiz__verdict { font-size: 15px; }
.mhc-quiz__explain { margin-top: 8px !important; color: #262220; line-height: 1.55; }

/* Reading text (descriptions, clues, explanations) is Georgia, like the rest of the site's prose. */
.mhc-quiz .mhc-quiz__explain, .mhc-quiz .mhc-quiz__clue, .mhc-quiz .mhc-quiz__note { font-family: Georgia, "Times New Roman", serif; font-size: 16px; line-height: 1.6; }
.mhc-quiz .mhc-quiz__explain { color: #403b35; }

.mhc-quiz__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 20px; }
.mhc-quiz__foot-end { display: flex; gap: 12px; margin-left: auto; }
.mhc-quiz .mhc-quiz__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 14px 26px;
	border: 1px solid var(--mh-teal,#126788);
	border-radius: 0;
	background: var(--mh-teal,#126788);
	color: #ffffff;
	font: inherit;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.2;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.mhc-quiz__btn > span { display: block; text-box: trim-both cap alphabetic; }
.mhc-quiz__btn[hidden] { display: none; }
.mhc-quiz__btn--primary:hover:not(:disabled) { background: var(--mh-teal-dk,#0e5169); border-color: var(--mh-teal-dk,#0e5169); color: #ffffff; }
.mhc-quiz__btn:disabled { opacity: 0.4; cursor: not-allowed; }
.mhc-quiz__btn.is-busy { cursor: progress; }
.mhc-quiz .mhc-quiz__btn--ghost { background: transparent; border-color: var(--mhc-border); color: var(--mhc-muted); }
.mhc-quiz .mhc-quiz__btn--ghost:hover { border-color: var(--mh-teal,#126788); color: var(--mh-teal,#126788); background: color-mix(in srgb, var(--mh-teal,#126788) 7%, #fff); }
.mhc-quiz__btn:focus-visible { outline: 2px solid var(--mh-teal,#126788); outline-offset: 2px; }
@supports not (text-box: trim-both cap alphabetic) {
	.mhc-quiz .mhc-quiz__btn { padding: 15px 26px 13px; }
	.mhc-quiz__tag { padding: 7px 10px 5px; }
}

.mhc-quiz__done { text-align: center; padding: 40px 32px; }
.mhc-quiz__done .mhc-quiz__prompt { margin-top: 18px; }
.mhc-quiz__save-note { margin: 18px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: 14px; line-height: 1.5; color: var(--mhc-muted); }
.mhc-quiz__save-note:empty { display: none; }
.mhc-quiz__save-note a { color: var(--mh-teal,#126788); text-decoration: underline; }
.mhc-quiz__score { margin: 10px 0 0; font-size: 64px; font-weight: 700; line-height: 1; color: var(--mh-teal,#126788); }
.mhc-quiz__stats { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 40px; margin: 28px 0 0; padding-top: 24px; border-top: 1px solid var(--mhc-border); }
.mhc-quiz__stats dt { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mhc-muted); }
.mhc-quiz__stats dd { margin: 4px 0 0; padding: 0; border: 0; font-size: 22px; font-weight: 700; color: #262220; }

@media (max-width: 640px) {
	.mhc-quiz__card { padding: 20px 18px; }
	.mhc-quiz .mhc-quiz__prompt { font-size: 21px; }
	.mhc-quiz__answers.is-grid, .mhc-quiz__answers.is-two { grid-template-columns: minmax(0, 1fr); }
	.mhc-quiz__foot { flex-wrap: wrap; }
	.mhc-quiz__foot-end { flex: 1 1 auto; }
	.mhc-quiz__foot-end .mhc-quiz__btn { flex: 1 1 auto; }
	.mhc-quiz__done { padding: 28px 18px; }
}

.mhc-breadcrumb {
	font-family: var(--thb-primary-font, "Sinkin Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif) !important;
	font-size: 11px !important;
	font-weight: 600 !important;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #9f9fa0;
	margin: 15px 0 20px 0 !important;
	line-height: 1.4;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	flex-wrap: wrap;
}
.mhc-breadcrumb a {
	color: #090909 !important;
	text-decoration: none;
	transition: color 0.25s ease;
}
.mhc-breadcrumb a:hover {
	color: var(--mh-brown,#a06b3e) !important;
}
.mhc-breadcrumb .mhc-sep {
	font-style: normal;
	color: #b5b0a6;
	margin: 0 8px;
	font-weight: 400;
}
.mhc-breadcrumb .is-current {
	color: #9f9fa0;
	font-weight: 500;
}

.mhc-empty { color: var(--mhc-muted); padding: 24px 0; }

@media (max-width: 860px) {
	.mhc-dates-list,
	.mhc-rel-list,
	.mhc-metrics-list,
	.mhc-section .mhc-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 16px;
	}
}

@media (max-width: 600px) {
	.mhc-dates-list,
	.mhc-rel-list,
	.mhc-metrics-list,
	.mhc-section .mhc-grid,
	.mhc-grid {
		grid-template-columns: 1fr;
		gap: 14px;
	}
}

/* ------------------------------------------------------------ Family tree */

/* The chart is a tree: ancestors over their child, spouses beside the person, a couple's children below the middle of the couple. */
.mhc-tree {
	margin: 16px 0 40px;
	padding: 28px 16px 20px;
	background: var(--mhc-bg-soft);
	border: 1px solid var(--mhc-border);
	border-radius: 6px;
	text-align: center;
	overflow-x: auto;
	container-type: inline-size;
}
.mhc-ft {
	display: grid;
	/* Each side is at least half the visible width, so the person is in the middle when the page opens. */
	grid-template-columns: minmax(max(var(--anc, 0px), calc(50cqw - 112px)), auto) 0 minmax(max(var(--anc, 0px), calc(50cqw - 112px)), auto);
	justify-items: stretch;
	width: max-content;
	min-width: 100%;
	box-sizing: border-box;
	padding: 0 112px;
}
/* The ancestors stand in the zero-width column over the person, so their lines land on the person whatever the width of each side. */
.mhc-ft-anc { grid-column: 2; grid-row: 1; display: flex; flex-direction: column; align-items: center; width: 0; overflow: visible; }
.mhc-ft-main { display: contents; }
.mhc-ft-others { grid-column: 1 / -1; }
.mhc-ft-row { display: flex; justify-content: center; }
.mhc-ft-row.is-up { align-items: flex-end; }
.mhc-ft-row.is-down { align-items: flex-start; }
.mhc-ft-cell { display: flex; flex-direction: column; align-items: center; }
.mhc-ft-col { display: flex; flex-direction: column; align-items: center; }
.mhc-ft-pad { padding: 0 8px; display: flex; flex-direction: column; align-items: center; }
/* Lines: a short stem, and a rail whose halves join the cells of a row. */
.mhc-ft-stem { display: block; width: 0; height: 16px; border-left: 1px solid var(--mhc-accent); }
.mhc-ft-rail { align-self: stretch; position: relative; height: 16px; }
.mhc-ft-rail::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; border-left: 1px solid var(--mhc-accent); }
.mhc-ft-rail::after { content: ""; position: absolute; left: 0; right: 0; border-top: 1px solid var(--mhc-accent); }
.mhc-ft-rail.is-down::after { top: 0; }
.mhc-ft-rail.is-up::after { bottom: 0; }
.mhc-ft-rail.is-first::after { left: 50%; }
.mhc-ft-rail.is-last::after { right: 50%; }

/* The person, with spouses on both sides: the left and right halves are equal, so the person is always in the middle and the ancestors' line lands on them. */
.mhc-ft-side { display: flex; align-items: flex-start; grid-row: 2; }
.mhc-ft-side.is-left { grid-column: 1; justify-content: flex-end; }
.mhc-ft-side.is-right { grid-column: 3; }
.mhc-ft-selfcol { grid-column: 2; grid-row: 2; position: relative; width: 0; height: 100px; z-index: 2; }
.mhc-ft-selfcol > .mhc-tree__person { position: absolute; left: 0; top: 0; transform: translateX(-50%); width: max-content; }
.mhc-ft-unit { position: relative; display: flex; flex-direction: column; align-items: stretch; min-width: 250px; }
.mhc-ft-top { position: relative; height: 100px; }
.mhc-ft-link { position: absolute; z-index: 0; top: 49px; left: 0; right: 0; border-top: 1px solid var(--mhc-accent); }
.mhc-ft-spouse { position: absolute; z-index: 2; top: 0; }
.mhc-ft-unit.is-right .mhc-ft-spouse { right: 0; transform: translateX(50%); }
.mhc-ft-unit.is-left .mhc-ft-spouse { left: 0; transform: translateX(-50%); }
/* A married couple: a solid red heart on the line between them. */
.mhc-ft-heart { position: absolute; z-index: 1; width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--mhc-bg-soft); border: 1px solid rgba(200, 50, 60, 0.28); }
.mhc-ft-top .mhc-ft-heart { top: 39px; }
.mhc-ft-unit .mhc-ft-heart { left: 50%; transform: translateX(-50%); }
.mhc-ft-heart__icon { display: block; }
/* Two parents (or two grandparents): the line and heart between their cards. */
.mhc-ft-partner { position: relative; }
.mhc-ft-link.is-between { top: 49px; left: 100%; right: auto; width: 36px; }
.mhc-ft-heart.is-between { top: 39px; left: calc(100% + 18px); transform: translateX(-50%); }
/* A couple's cards stand further apart, so a line shows on each side of the heart. */
.mhc-ft-row.is-couple > .mhc-ft-cell > .mhc-ft-pad { padding: 0 18px; }
/* A couple's children come down from the middle of the line between them. */
.mhc-ft-bracket { position: relative; display: block; height: 16px; border: 1px solid var(--mhc-accent); border-top: 0; margin-top: -2px; }
.mhc-ft-bracket::after { content: ""; position: absolute; left: 50%; top: 100%; height: 14px; border-left: 1px solid var(--mhc-accent); }
.mhc-ft-unit > .mhc-ft-bracket + .mhc-ft-row { margin-top: 14px; }
.mhc-ft-others { margin-top: 28px; display: flex; flex-direction: column; align-items: center; gap: 10px; }

.mhc-tree__caption {
	font-family: var(--thb-primary-font, "Sinkin Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
	font-size: 11px;
	color: var(--mhc-muted);
	text-transform: uppercase;
	letter-spacing: 0.08em;
}
.mhc-tree__person {
	display: flex;
	flex-direction: column;
	min-width: 150px;
	max-width: 210px;
	min-height: 98px;
	box-sizing: border-box;
	justify-content: center;
	padding: 10px 14px;
	background: #fff;
	border: 1px solid var(--mhc-border);
	border-radius: 4px;
}
.mhc-tree__person.is-self {
	border-color: var(--mhc-accent);
	box-shadow: 0 0 0 1px var(--mhc-accent);
}
.mhc-tree__person.is-blank { background: transparent; border-style: dashed; color: var(--mhc-muted); }
.mhc-tree__relation {
	font-family: var(--thb-primary-font, "Sinkin Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--mhc-accent);
	margin-bottom: 4px;
}
.mhc-tree__name {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 16px;
	line-height: 1.25;
	color: #1a1a1a;
	text-decoration: none;
}
a.mhc-tree__name:hover { color: var(--mhc-accent); }
.mhc-tree__years {
	font-size: 12px;
	color: var(--mhc-muted);
	margin-top: 2px;
}
.mhc-tree__person.is-small {
	min-width: 130px;
	min-height: 0;
	padding: 6px 10px;
}
.mhc-tree__person.is-small .mhc-tree__name { font-size: 14px; }
.mhc-tree__more { font-size: 12px; color: var(--mhc-muted); }
.mhc-tree__locked { color: var(--mhc-muted); font-style: italic; }
.mhc-ft-legend { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 18px 0 0; font-size: 12px; color: var(--mhc-muted); }

.mhc-tree__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	margin: 0 0 12px;
}
.mhc-tree__actions--page { justify-content: center; margin: 16px 0 0; }
.mhc-tree__short { display: none; }
/* Phones: the page's three buttons stay on one row (short labels, tighter buttons). */
@media (max-width: 480px) {
	.mhc-tree__actions--page { flex-wrap: nowrap; gap: 6px; }
	.mhc-tree__actions--page a.mhc-tree__full,
	.mhc-tree__actions--page a.mhc-pdf,
	.mhc-tree__actions--page button.mhc-tree__share { padding: 8px 9px 7px; font-size: 10px; letter-spacing: 0.02em; white-space: nowrap; gap: 4px; }
	.mhc-tree__actions--page .mhc-tree__long { display: none; }
	.mhc-tree__actions--page .mhc-tree__short { display: inline; }
}
.mhc-tree__actions > * { min-height: 37px; box-sizing: border-box; margin: 0; }
button.mhc-tree__share[hidden] { display: none !important; }
/* "Their tree →" under a relative on the full page: opens that person's own tree. */
.mhc-tree__view {
	margin-top: 8px;
	font-size: 12px;
	font-weight: 600;
	color: var(--mhc-accent);
	text-decoration: none;
}
.mhc-tree__view:hover { text-decoration: underline; }
/* The full page: room for wide families, and the tree starts under the header. */
.mhc-archive-header + .mhc-tree { margin-top: 28px; }

@media (max-width: 600px) {
	.mhc-tree { padding: 20px 12px 16px; }
}
.mhc-tree-accordion .vc_tta-panel-heading a { cursor: pointer; }
/* "Expand" / "Collapse" beside the theme's + / − (the theme toggles .active on the panel). */
.thb-accordion.mhc-tree-accordion .vc_tta-panel-heading h4 a {
	padding: 0 110px 0 0 !important;
	line-height: 1.3;
}
.mhc-tree-accordion__hint {
	position: absolute;
	top: 50%;
	right: 34px;
	transform: translateY(calc(-50% + 1.5px));
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.mhc-tree-accordion__hint .is-open,
.mhc-tree-accordion .vc_tta-panel.active .mhc-tree-accordion__hint .is-closed { display: none; }
.mhc-tree-accordion .vc_tta-panel.active .mhc-tree-accordion__hint .is-open { display: inline; }
/* The plus and minus bars follow the text colour, so they show in dark mode too. */
.thb-accordion.mhc-tree-accordion .vc_tta-panel-heading h4 a:before,
.thb-accordion.mhc-tree-accordion .vc_tta-panel-heading h4 a:after,
.thb-accordion.mhc-tree-accordion .vc_tta-panel.active .vc_tta-panel-heading h4 a:before,
.thb-accordion.mhc-tree-accordion .vc_tta-panel.active .vc_tta-panel-heading h4 a:after { background: currentColor; }

/* Articles section: "Also mentioned in" list under the article cards. */
.mhc-section h3.mhc-mentions__title { font-size: 14px; margin: 24px 0 8px; }
.mhc-mentions { list-style: none; margin: 0 0 32px; padding: 0; }
.mhc-mentions li { padding: 8px 0; border-bottom: 1px solid var(--mhc-border); display: flex; justify-content: space-between; gap: 16px; }
.mhc-mentions a { font-family: Georgia, "Times New Roman", serif; font-size: 16px; color: #1a1a1a; text-decoration: none; }
.mhc-mentions a:hover { color: var(--mhc-accent); }
.mhc-mentions .mhc-muted { font-size: 12px; white-space: nowrap; }

/* ------------------------------------------------------------ Image page */

.mhc-image-page {
	--mhc-secondary: var(--mh-teal,#126788);
	display: grid;
	grid-template-columns: 32% 1fr;
	gap: 48px;
	align-items: start;
	margin: 8px 0 48px;
}
.mhc-image-page__kind,
.mhc-image-page__label,
.mhc-image-facts dt {
	display: block;
	font-family: var(--thb-primary-font, "Sinkin Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	line-height: 1.2;
	color: var(--mhc-secondary);
}
.mhc .mhc-image-page__title {
	font-size: 26px;
	line-height: 1.2;
	margin: 8px 0 14px;
}
.mhc-image-page__caption {
	font-family: Georgia, "Times New Roman", serif;
	font-style: italic;
	font-size: 16px;
	line-height: 1.5;
	color: #403b35;
	margin: 0 0 12px;
}
.mhc-image-page__description {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 15px;
	line-height: 1.6;
	color: #1a1a1a;
}
.mhc-image-page__description p { margin: 0 0 12px; }
.mhc-image-facts {
	margin: 20px 0;
	padding: 16px 0 0;
	border-top: 1px solid #e9e9e9;
}
.mhc-image-facts dt { margin: 0 0 4px; }
.mhc-image-facts dd {
	margin: 0 0 14px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 15px;
	line-height: 1.45;
	color: #1a1a1a;
}
.mhc-image-facts a,
.mhc-image-page__used a { color: #1a1a1a; text-decoration: none; border-bottom: 1px solid #e9e9e9; }
.mhc-image-facts a:hover,
.mhc-image-page__used a:hover { color: var(--mhc-secondary); border-color: var(--mhc-secondary); }
.mhc-image-page__used {
	padding-top: 16px;
	margin-bottom: 20px;
	border-top: 1px solid #e9e9e9;
}
.mhc-image-page__used ul { list-style: none; margin: 8px 0 0; padding: 0; }
.mhc-image-page__used li {
	padding: 6px 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 15px;
	line-height: 1.4;
}
.mhc-image-page__used .mhc-muted { font-family: var(--thb-primary-font, sans-serif); font-size: 11px; margin-left: 4px; }
.mhc-image-page .mhc-image-page__full:hover { border-color: var(--mhc-secondary); color: var(--mhc-secondary); }
.mhc-image-page__image {
	position: sticky;
	top: 90px;
	margin: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	background: #f7f7f7;
	border: 1px solid #e9e9e9;
	padding: 16px;
}
.mhc-image-page__image img {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: calc(100vh - 140px);
	object-fit: contain;
}
@media (max-width: 860px) {
	.mhc-image-page { display: flex; flex-direction: column; gap: 24px; }
	.mhc-image-page__image { order: -1; position: static; padding: 8px; }
	.mhc-image-page__image img { max-height: 70vh; }
}
.mhc .mhc-image-facts dd { margin-left: 0; padding: 0; border: 0; }
.mhc-image-facts .mhc-date { font-size: 15px; }

/* ------------------------------------------------ A to Z index (parts-a-z) */

/* Find box and Cards | A–Z switch share one height; the theme font sits a
   little high, so text gets 2px extra at the top to look centred. */
.mhc-az__tools {
	--mhc-az-h: 44px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: stretch;
	gap: 12px;
	margin: 24px 0 0;
}
.mhc .mhc-az__find { display: flex; margin: 0; float: none; width: auto; }
.mhc .mhc-az__find input[type="search"] {
	width: 320px;
	max-width: 60vw;
	height: var(--mhc-az-h);
	margin: 0;
	padding: 2px 16px 0;
	border: 1px solid var(--mhc-border);
	border-right: 0;
	border-radius: 0;
	font-size: 15px;
	line-height: 1;
	text-transform: none;
	letter-spacing: 0;
	box-shadow: none;
}
.mhc .mhc-az__find input[type="search"]::placeholder { text-transform: none; letter-spacing: 0; }
.mhc .mhc-az__find button {
	height: var(--mhc-az-h);
	margin: 0;
	padding: 3.7px 22px 0; /* Lowers the text so it's centred between the top and bottom edges. */
	border: 1px solid var(--mh-brown,#a06b3e);
	border-radius: 0;
	background: var(--mh-brown,#a06b3e);
	color: #fff;
	font-family: var(--thb-primary-font, "Sinkin Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
	font-size: 14px;
	line-height: 1;
	cursor: pointer;
}
.mhc .mhc-az__find button:hover { background: var(--mh-brown-dk,#8d5d35); border-color: var(--mh-brown-dk,#8d5d35); }
.mhc-az__views { display: flex; }
.mhc-az__views a,
.mhc-az__views span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 84px;
	height: var(--mhc-az-h);
	padding: 2px 20px 0;
	border: 1px solid var(--mhc-border);
	font-family: var(--thb-primary-font, "Sinkin Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
	font-size: 14px;
	line-height: 1;
	color: #262220;
	text-decoration: none;
	box-sizing: border-box;
}
.mhc-az__views > * + * { border-left: 0; }
.mhc-az__views a:hover { color: var(--mh-teal,#126788); border-color: var(--mh-teal,#126788); }
.mhc-az__views .is-active { background: var(--mh-teal,#126788); border-color: var(--mh-teal,#126788); color: #fff; }

/* Letter tabs: every letter always shown; empty ones faded. */
.mhc-az__letters {
	position: sticky;
	top: 0;
	z-index: 3;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
	margin: 0 0 8px;
	padding: 14px 0;
	background: #fff;
	border-bottom: 1px solid var(--mhc-border);
}
.mhc-az__letters a,
.mhc-az__letters span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding-top: 2px;
	box-sizing: border-box;
	line-height: 1;
	border: 1px solid var(--mhc-border);
	font-family: var(--thb-primary-font, "Sinkin Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
	font-size: 13px;
	color: #262220;
	text-decoration: none;
	transition: border-color 0.2s ease, color 0.2s ease;
}
.mhc-az__letters a:hover { border-color: var(--mh-brown,#a06b3e); color: var(--mh-brown,#a06b3e); }
.mhc-az__letters .is-active { background: var(--mh-brown,#a06b3e); border-color: var(--mh-brown,#a06b3e); color: #fff; }
.mhc-az__letters .is-empty { color: #cfc9bd; border-color: #f0ece4; cursor: default; }

.mhc-az { margin: 24px 0 16px; }
.mhc-az__head {
	display: flex;
	align-items: baseline;
	gap: 14px;
	padding-bottom: 10px;
	margin-bottom: 18px;
	border-bottom: 1px solid var(--mhc-border);
}
.mhc .mhc-az__letter {
	margin: 0;
	font-size: 34px;
	line-height: 1;
	color: var(--mh-brown,#a06b3e);
}
.mhc-az__count,
.mhc-az__clear {
	font-family: var(--thb-primary-font, "Sinkin Sans", sans-serif);
	font-size: 12px;
	color: var(--mhc-muted);
	text-transform: uppercase;
	letter-spacing: 0.06em;
}
.mhc-az__clear { margin-left: auto; text-decoration: none; }
.mhc-az__clear:hover { color: var(--mh-brown,#a06b3e); }
.mhc-az__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px 32px;
}
.mhc-az__list li {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 17px;
	line-height: 1.35;
	margin: 0;
	padding: 0;
	background: none;
}
.mhc-az__list a { color: #1a1a1a; text-decoration: none; }
.mhc-az__list a:hover { color: var(--mh-brown,#a06b3e); }
.mhc-az__alias { font-style: italic; color: #6b645a; }
.mhc-az__see { color: #b5ada0; margin: 0 2px; }
.mhc-az__type {
	display: block;
	margin-top: 2px;
	font-family: var(--thb-primary-font, "Sinkin Sans", sans-serif);
	font-size: 11px;
	color: var(--mhc-muted);
}
.mhc-az__pages {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 16px;
	margin: 32px 0 0;
	font-size: 13px;
	color: var(--mhc-muted);
}
.mhc-az__pages .tag-cloud-link { margin: 0; padding: 12px 16px 10px; font-size: 11px; }
.mhc-az__pages .tag-cloud-link:hover { border-color: var(--mh-teal,#126788); color: var(--mh-teal,#126788); }
.mhc-az__other {
	margin: 40px 0 8px;
	text-align: center;
	font-size: 14px;
	color: var(--mhc-muted);
}
.mhc-az__other a { color: var(--mh-brown,#a06b3e); text-decoration: none; }

@media (max-width: 860px) {
	.mhc-az__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
	/* One swipeable row of letters on phones. */
	.mhc-az__letters { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; -webkit-overflow-scrolling: touch; }
	.mhc-az__letters a, .mhc-az__letters span { flex: none; }
	.mhc-az__list { grid-template-columns: 1fr; }
	.mhc .mhc-az__find input[type="search"] { width: 100%; max-width: none; }
	.mhc .mhc-az__find { flex: 1 1 100%; }
	.mhc-az__views { flex: 1 1 100%; }
	.mhc-az__views a, .mhc-az__views span { flex: 1; }
}

/* ------------------------------------------------ Category hub (category.php) */

.mhc-hub__intro {
	max-width: 720px;
	margin: 0 auto 8px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 17px;
	line-height: 1.55;
	color: #403b35;
}
.mhc-hub__intro p { margin: 0 0 8px; }
/* The paired profile: "About this section" box under the title. */
.mhc-hub-about {
	display: grid;
	grid-template-columns: 160px 1fr;
	gap: 24px;
	max-width: 860px;
	margin: 28px auto 0;
	padding: 20px;
	border: 1px solid #e9e9e9;
	background: #fff;
	text-align: left;
}
.mhc-hub-about__media {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1;
	background: #f8f5e8;
	overflow: hidden;
	text-decoration: none;
}
.mhc-hub-about__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mhc-hub-about__media span { font-family: Georgia, "Times New Roman", serif; font-size: 56px; color: #cbbfae; }
.mhc-hub-about__body { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.mhc-hub-about__label {
	font-family: var(--thb-primary-font, "Sinkin Sans", sans-serif);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--mh-teal,#126788);
}
.mhc-hub-about__title {
	margin: 6px 0 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 26px;
	line-height: 1.2;
	color: #0a0a0a;
	text-decoration: none;
}
.mhc-hub-about__title:hover { color: var(--mh-teal,#126788); }
.mhc-hub-about__excerpt {
	margin: 8px 0 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 15px;
	line-height: 1.5;
	color: #403b35;
}
.mhc .mhc-hub-about__facts {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 0;
	margin: 16px 0 0;
	padding: 14px 0 0;
	border-top: 1px solid #e9e9e9;
	width: 100%;
}
.mhc-hub-about__facts > div { padding: 0 20px 0 0; margin: 0 20px 0 0; border-right: 1px solid #e9e9e9; }
.mhc-hub-about__facts > div:last-child { border-right: 0; margin-right: 0; }
.mhc .mhc-hub-about__facts dt {
	margin: 0 0 4px;
	font-family: var(--thb-primary-font, "Sinkin Sans", sans-serif);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--mhc-muted);
}
.mhc .mhc-hub-about__facts dd {
	margin: 0;
	padding: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 15px;
	line-height: 1.35;
	color: #1a1a1a;
}
/* Type on the left, "View full profile →" on the right of the same line. */
.mhc-hub-about__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; width: 100%; }
.mhc-hub-about__go {
	font-family: var(--thb-primary-font, "Sinkin Sans", sans-serif);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #6b6b6b;
	text-decoration: none;
	white-space: nowrap;
}
.mhc-hub-about__go:hover { color: var(--mh-teal,#126788); }
.mhc-hub-about__go--end { display: none; }
/* Names in the facts link to their profiles. */
.mhc-hub-about__facts dd a { color: #1a1a1a; text-decoration: none; border-bottom: 1px solid #d9d4ca; }
.mhc-hub-about__facts dd a:hover { color: var(--mh-teal,#126788); border-color: var(--mh-teal,#126788); }
.mhc-hub-about__facts dd .mhc-hub-about__more {
	margin-left: 4px;
	border: 0;
	font-family: var(--thb-primary-font, "Sinkin Sans", sans-serif);
	font-size: 12px;
	color: var(--mhc-muted);
}
@media (max-width: 600px) {
	/* Phones: a small square beside the type and name (both centred on it),
	   then description, facts and the profile link full width below. */
	.mhc-hub-about { grid-template-columns: 56px 1fr; gap: 0 12px; padding: 14px; margin-top: 20px; }
	.mhc-hub-about__body { display: contents; }
	.mhc-hub-about__media { grid-column: 1; grid-row: 1 / span 2; align-self: center; }
	.mhc-hub-about__media span { font-size: 26px; }
	.mhc-hub-about__top { grid-column: 2; grid-row: 1; align-self: end; }
	.mhc-hub-about__title { grid-column: 2; grid-row: 2; align-self: start; margin: 2px 0 0; font-size: 20px; }
	.mhc-hub-about__top .mhc-hub-about__go { display: none; }
	.mhc-hub-about__excerpt { grid-column: 1 / -1; margin: 12px 0 0; font-size: 14px; }
	.mhc .mhc-hub-about__facts { grid-column: 1 / -1; margin: 12px 0 0; padding-top: 12px; gap: 10px 16px; }
	.mhc-hub-about__facts > div { border-right: 0; margin: 0; padding: 0; flex: 1 1 40%; }
	.mhc .mhc-hub-about__facts dd { font-size: 14px; }
	.mhc-hub-about__go--end { display: block; grid-column: 1 / -1; margin-top: 12px; padding-top: 12px; border-top: 1px solid #e9e9e9; }
}

.mhc-hub__tabs button {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 16px 8px;
	line-height: 1;
	border: 1px solid var(--mhc-border);
	border-radius: 0;
	background: #fff;
	color: #262220;
	font-family: var(--thb-primary-font, "Sinkin Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
	transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.mhc-hub__tabs button > span:not(.mhc-hub__tab-label) { font-size: 11px; opacity: .6; }
.mhc-hub__tabs button:hover { border-color: var(--mh-brown,#a06b3e); color: var(--mh-brown,#a06b3e); }
.mhc-hub__tabs button.is-active { background: var(--mh-brown,#a06b3e); border-color: var(--mh-brown,#a06b3e); color: #fff; }

.mhc-hub__section { margin: 8px 0 40px; }
.mhc .mhc-hub__section-title { margin: 0; font-size: 22px; line-height: 1.2; }
.mhc-hub__section-title a { color: #0a0a0a; text-decoration: none; }
.mhc-hub__section-title a:hover { color: var(--mh-brown,#a06b3e); }
/* Article cards use the theme's grid and card styles untouched (parts-post-cards). */
.mhc-post-grid > .columns[hidden] { display: none; }
.mhc-section-link { margin: 16px 0 0; }
.mhc-section-link .tag-cloud-link { padding: 12px 16px 10px; font-size: 11px; }
.mhc-section-link .tag-cloud-link:hover { border-color: var(--mh-teal,#126788); color: var(--mh-teal,#126788); }
.mhc .mhc-hub-about__facts dd { border: 0; }
/* "Articles: 12 articles →" in the profile hero's quick facts. */
.mhc-quickfacts__link { color: #1a1a1a; text-decoration: none; border-bottom: 1px solid #d9d4ca; transition: color .2s ease, border-color .2s ease; }
.mhc-quickfacts__link:hover { color: var(--mh-teal,#126788); border-color: var(--mh-teal,#126788); }

/* ---------------------------------------------- On This Day (page-today.php) */

.mhc .mhc-otd__note {
	max-width: 760px;
	margin: 8px auto 40px;
	font-family: Georgia, "Times New Roman", serif;
	font-style: italic;
	font-size: 13px;
	line-height: 1.5;
	text-align: center;
	color: var(--mhc-muted);
}
.mhc-otd-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 16px; }
.mhc-otd-nav .tag-cloud-link { margin: 0; padding: 12px 16px 10px; font-size: 11px; }
.mhc-otd-nav .tag-cloud-link:hover,
.mhc-otd-entry__links .tag-cloud-link:hover { border-color: var(--mh-teal,#126788); color: var(--mh-teal,#126788); }

.mhc-otd-list { list-style: none; margin: 0 auto 40px; padding: 0; max-width: 860px; }
.mhc-otd-entry {
	display: grid;
	grid-template-columns: 110px 1fr;
	gap: 24px;
	padding: 24px 0;
	margin: 0;
	border-top: 1px solid #e9e9e9;
}
.mhc-otd-entry:last-child { border-bottom: 1px solid #e9e9e9; }
.mhc-otd-entry__when { display: flex; flex-direction: column; gap: 4px; }
.mhc-otd-entry__ago {
	font-family: var(--thb-primary-font, "Sinkin Sans", sans-serif);
	font-size: 11px;
	letter-spacing: 0.04em;
	color: var(--mhc-muted);
}
.mhc-otd-entry__year {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 30px;
	line-height: 1.1;
	color: var(--mh-brown,#a06b3e);
}
.mhc-otd-entry__kind {
	display: block;
	margin-bottom: 6px;
	font-family: var(--thb-primary-font, "Sinkin Sans", sans-serif);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #6b6b6b;
}
.mhc .mhc-otd-entry__text {
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 17px;
	line-height: 1.6;
	color: #1a1a1a;
}
.mhc-otd-entry__links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 12px; }
.mhc-otd-entry__links .tag-cloud-link { margin: 0; }
.mhc-otd-entry__article {
	font-family: var(--thb-primary-font, "Sinkin Sans", sans-serif);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #6b6b6b;
	text-decoration: none;
}
.mhc-otd-entry__article:hover { color: var(--mh-teal,#126788); }

/* The year at a glance: four months across, two on tablets, one on phones. */
.mhc-otd-cal {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 32px 24px;
	margin: 8px 0 48px;
}
.mhc .mhc-otd-cal__name {
	margin: 0 0 12px;
	padding-bottom: 8px;
	border-bottom: 1px solid #e9e9e9;
	font-size: 16px;
	line-height: 1.2;
}
.mhc-otd-cal__days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.mhc-otd-cal__days a,
.mhc-otd-cal__days span {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1;
	padding-top: 2px;
	border: 1px solid transparent;
	font-family: var(--thb-primary-font, "Sinkin Sans", sans-serif);
	font-size: 12px;
	line-height: 1;
	text-decoration: none;
	box-sizing: border-box;
}
.mhc-otd-cal__days .is-empty { color: #cfc9bd; }
.mhc-otd-cal__days .has-entries { border-color: #e2ddd3; color: #262220; font-weight: 600; }
.mhc-otd-cal__days a:hover { border-color: var(--mh-brown,#a06b3e); color: var(--mh-brown,#a06b3e); }
.mhc-otd-cal__days .is-today { background: var(--mh-teal,#126788); border-color: var(--mh-teal,#126788); color: #fff; }
.mhc-otd-cal__days a.is-today:hover { color: #fff; }

/* Profile page: "On this day". */
.mhc-otd-profile { list-style: none; margin: 16px 0 32px; padding: 0; }
.mhc-otd-profile li { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 12px 0; margin: 0; border-bottom: 1px solid var(--mhc-border); background: none; }
.mhc-otd-profile__day {
	font-family: var(--thb-primary-font, "Sinkin Sans", sans-serif);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--mh-brown,#a06b3e);
	text-decoration: none;
}
.mhc-otd-profile__day span { display: block; margin-top: 4px; font-family: Georgia, "Times New Roman", serif; font-size: 15px; font-weight: 400; letter-spacing: 0; text-transform: none; color: #1a1a1a; }
.mhc-otd-profile__day:hover { color: var(--mh-teal,#126788); }
.mhc .mhc-otd-profile p { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 15px; line-height: 1.55; color: #403b35; }

/* [mhc_today] box. */
.mhc-today-box { padding: 20px 0; border-top: 1px solid #e9e9e9; border-bottom: 1px solid #e9e9e9; }
.mhc-today-box__label {
	display: block;
	margin-bottom: 10px;
	font-family: var(--thb-primary-font, "Sinkin Sans", sans-serif);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--mh-teal,#126788);
}
.mhc-today-box ul { list-style: none; margin: 0 0 12px; padding: 0; }
.mhc-today-box li { margin: 0 0 8px; font-family: Georgia, "Times New Roman", serif; font-size: 15px; line-height: 1.5; }
.mhc-today-box li strong { color: var(--mh-brown,#a06b3e); font-weight: 400; margin-right: 6px; }

@media (max-width: 1024px) { .mhc-otd-cal { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
	.mhc-otd-cal { grid-template-columns: 1fr; }
	.mhc-otd-entry { grid-template-columns: 1fr; gap: 6px; padding: 18px 0; }
	.mhc-otd-entry__year { font-size: 24px; }
	.mhc-otd-entry__when { flex-direction: row; align-items: baseline; gap: 10px; }
	.mhc-otd-profile li { grid-template-columns: 1fr; gap: 4px; }
}

/* On This Day: entries + sidebar (parts-otd-sidebar.php). */
.mhc-otd-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; margin-bottom: 8px; }
.mhc-otd-layout .mhc-otd-list { max-width: none; margin: 0 0 24px; }
/* The channel card sits under the events, in their column. The sidebar spans every row (the last, empty one soaks up its extra height), so it can stay sticky without sliding over the card. */
.mhc-otd-layout { grid-template-rows: auto auto 1fr; row-gap: 0; }
.mhc-otd-layout > .mhc-otd-side { grid-column: 2; grid-row: 1 / -1; }
.mhc-otd-layout__invite { grid-column: 1; grid-row: 2; }
.mhc-otd-layout__invite .mhc-wa-channel { margin: 8px 0 24px; }
.mhc-otd-entry[hidden] { display: none; }
.mhc-otd-side { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 28px; }
.mhc-otd-side__box { padding-bottom: 24px; border-bottom: 1px solid #e9e9e9; }
.mhc-otd-side__box:last-child { border-bottom: 0; padding-bottom: 0; }
.mhc-otd-side__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.mhc-otd-side__label {
	display: block;
	font-family: var(--thb-primary-font, "Sinkin Sans", sans-serif);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--mh-teal,#126788);
}
.mhc-otd-side__box > .mhc-otd-side__label { margin-bottom: 10px; }
.mhc-otd-side__more {
	font-family: var(--thb-primary-font, "Sinkin Sans", sans-serif);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #6b6b6b;
	text-decoration: none;
}
.mhc-otd-side__more:hover { color: var(--mh-teal,#126788); }
.mhc .mhc-otd-side__text { margin: 0 0 10px; font-family: Georgia, "Times New Roman", serif; font-size: 15px; line-height: 1.5; color: #403b35; }
.mhc-otd-side .mhc-otd-cal__days .is-current { background: var(--mh-brown,#a06b3e); border-color: var(--mh-brown,#a06b3e); color: #fff; }
.mhc-otd-side .mhc-otd-cal__days a.is-current:hover { color: #fff; }
.mhc-otd-side__kinds { display: flex; flex-wrap: wrap; gap: 6px; }
.mhc-otd-side__kinds button,
.mhc-otd-side__share button.tag-cloud-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	padding: 9px 12px 7px;
	border: 1px solid var(--mhc-border);
	border-radius: 0;
	background: #fff;
	color: #262220;
	font-family: var(--thb-primary-font, "Sinkin Sans", sans-serif);
	font-size: 12px;
	line-height: 1;
	cursor: pointer;
}
.mhc-otd-side__share button.tag-cloud-link { font-size: 10px; text-transform: uppercase; padding: calc(9px + 0.07em) 12px calc(9px - 0.07em); }
.mhc-otd-side__kinds button span { font-size: 10px; opacity: .6; }
.mhc-otd-side__kinds button:hover { border-color: var(--mh-brown,#a06b3e); color: var(--mh-brown,#a06b3e); }
.mhc-otd-side__kinds button.is-active { background: var(--mh-brown,#a06b3e); border-color: var(--mh-brown,#a06b3e); color: #fff; }
.mhc-otd-side__share { display: flex; flex-wrap: wrap; gap: 6px; }
.mhc-otd-side__share .tag-cloud-link { margin: 0; }
.mhc-otd-side__share .tag-cloud-link:hover { border-color: var(--mh-teal,#126788); color: var(--mh-teal,#126788); }
.mhc-otd-side__cta {
	display: block;
	padding: 14px 16px 12px;
	background: var(--mh-brown,#a06b3e);
	color: #fff !important;
	font-family: var(--thb-primary-font, "Sinkin Sans", sans-serif);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-align: center;
	text-transform: uppercase;
	text-decoration: none;
}
.mhc-otd-side__cta:hover { background: var(--mh-brown-dk,#8d5d35); }
@media (max-width: 1024px) { .mhc-otd-layout { grid-template-columns: minmax(0, 1fr) 260px; gap: 36px; } }
@media (max-width: 860px) {
	.mhc-otd-layout { grid-template-columns: 1fr; }
	.mhc-otd-layout { grid-template-rows: none; row-gap: 28px; }
	.mhc-otd-layout > .mhc-otd-side { grid-column: auto; grid-row: auto; position: static; order: 2; }
	.mhc-otd-layout__invite { grid-column: auto; grid-row: auto; order: 1; }
}
/* Shortcodes ([mhc_today], [tdih]) on other pages. */
.mhc-otd-embed .mhc-otd-list--embed { max-width: none; margin: 0 0 16px; }
.mhc-otd-embed__more { margin: 0; text-align: center; }
.mhc-otd-embed__more .tag-cloud-link { margin: 0; padding: 12px 16px 10px; font-size: 11px; }
.mhc-otd-embed__none, .mhc-today-box__none { font-family: Georgia, "Times New Roman", serif; font-style: italic; color: var(--mhc-muted); }
.mhc-today-box__ago { font-size: 12px; color: var(--mhc-muted); }

/* Profile sidebar: an expert's links. */
.mhc-sidebar-links { list-style: none; margin: 0; padding: 0; }
.mhc-sidebar-links li { margin: 0 0 6px; }
.mhc-sidebar-links a { color: var(--mh-teal,#126788); text-decoration: none; }
.mhc-sidebar-links a:hover { text-decoration: underline; }

/* Book pages (/books/…): cover beside the details; the /books/ list. */
.mhc-book { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; align-items: start; margin: 24px 0 48px; }
.mhc-book__cover { display: block; margin: 0; }
.mhc-book__cover img { display: block; width: 100%; height: auto; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12); }
.mhc-book__cover-blank {
	display: flex; align-items: center; justify-content: center; aspect-ratio: 2 / 3; padding: 20px;
	background: var(--mh-teal,#126788); color: #fff;
	font-family: Georgia, "Times New Roman", serif; font-size: 20px; line-height: 1.25;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.mhc-book__info h1 { margin: 12px 0 6px; }
.mhc-book__full-title { margin: 0 0 8px; }
.mhc-book__by { font-size: 17px; margin: 0 0 16px; }
.mhc-book__by a, .mhc-book__edition a { color: var(--mh-teal,#126788); }
.mhc-book__edition { margin: 0 0 16px; }
.mhc-book__facts { justify-content: flex-start; text-align: left; margin: 0 0 20px; }
.mhc-book__about { margin: 0 0 20px; }
.mhc-book__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.mhc-book__actions .btn { margin: 0; }
.mhc-book__story { max-width: 780px; margin: 0 0 40px; }
/* A book's header in the profile header's type: bold Sinkin title, Georgia for everything you read. */
.mhc-book .mhc-book__info .mhc-eyebrow { margin-bottom: 14px; }
.mhc-book .mhc-book__info h1 { margin: 0 0 10px; font-size: 38px; font-weight: 700; line-height: 1.18; color: #0a0a0a; }
.mhc-book .mhc-book__full-title { margin: 0 0 6px; font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: 15px; line-height: 1.5; color: #403b35; }
.mhc-book .mhc-book__by, .mhc-book .mhc-book__edition { margin: 0 0 18px; font-family: Georgia, "Times New Roman", serif; font-size: 17px; line-height: 1.5; color: #1a1a1a; }
.mhc-book .mhc-book__by + .mhc-book__edition { margin-top: -12px; }
.mhc-book .mhc-book__facts { margin: 0 0 18px; }
.mhc-book .mhc-book__about { max-width: 720px; margin: 0 0 22px; font-family: Georgia, "Times New Roman", serif; font-size: 17.5px; line-height: 1.6; color: #403b35; }
@media (max-width: 640px) {
	.mhc-book .mhc-book__info h1 { font-size: 30px; }
	.mhc-book .mhc-book__about { font-size: 16.5px; }
}
.mhc-books { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 32px 24px; margin: 24px 0 40px; }
.mhc-books__item { display: flex; flex-direction: column; gap: 3px; color: #0a0a0a; text-decoration: none; }
.mhc-books__item .mhc-book__cover-blank { font-size: 15px; padding: 14px; }
.mhc-book__mark { display: block; width: 32%; max-width: 72px; height: auto; }
/* Book card text matches a profile's links: brown label, Georgia name, grey line under it. */
.mhc-books__title { margin-top: 8px; font-family: Georgia, "Times New Roman", serif; font-size: 17px; font-weight: 400; line-height: 1.3; color: #1a1a1a; }
.mhc-books__item:hover .mhc-books__title { color: var(--mh-brown,#a06b3e); }
.mhc-books__by, .mhc-books__year { font-family: Georgia, "Times New Roman", serif; font-size: 13px; line-height: 1.35; }
.mhc-books__wrap { position: relative; min-width: 0; }
.mhc-books__item .mhc-book__cover img { aspect-ratio: 2 / 3; object-fit: cover; }
.mhc-books__label { margin-top: 10px; font-size: 11px; font-weight: 700; line-height: 1.2; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mh-brown,#a06b3e); }
.mhc-books__label + .mhc-books__title { margin-top: 0; }
/* A book among other cards (search, topics) keeps a book's size. */
.mhc-grid > .mhc-books__wrap { max-width: 200px; }
.mhc-section .mhc-books { margin: 18px 0 28px; }
/* A compact grid of square profile cards ("Used as a source for"): 6 a row, 4 on tablets, 2 on phones. */
.mhc-section .mhc-grid.mhc-grid--square { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.mhc-grid--square .mhc-card__media { aspect-ratio: 1 / 1; }
.mhc-grid--square .mhc-card__body { padding: 10px 12px 12px; }
.mhc-grid--square .mhc-card__type { margin-bottom: 5px; }
.mhc-grid--square .mhc-card__title { font-size: 14px !important; margin: 0; }
.mhc-grid--square .mhc-card__excerpt, .mhc-grid--square .mhc-card__extra, .mhc-grid--square .mhc-qualifier { display: none; }
.mhc-grid--square .mhc-bm { top: 6px; right: 6px; }
/* Pages of a long list on a page (parts-used-as-source.php): brand colours, 3px corners. */
.mhc-pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 8px 0 24px; }
.mhc-pager .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 10px; border: 1px solid #e3ddd1; border-radius: 3px; color: #0a0a0a; text-decoration: none; font-size: 14px; }
.mhc-pager a.page-numbers:hover { border-color: var(--mh-brown,#a06b3e); color: var(--mh-brown,#a06b3e); }
.mhc-pager .page-numbers.current { background: var(--mh-brown,#a06b3e); border-color: var(--mh-brown,#a06b3e); color: #fff; }
.mhc-pager .page-numbers.dots { border-color: transparent; min-width: 0; padding: 0 4px; }
.mhc-pager__count { margin: -4px 0 4px; font-size: 13px; }
@media (max-width: 1024px) {
	.mhc-section .mhc-grid.mhc-grid--square { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	.mhc-section .mhc-grid.mhc-grid--square { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}
@media (max-width: 640px) {
	.mhc-book { grid-template-columns: 1fr; gap: 24px; }
	.mhc-book__cover { max-width: 180px; }
}

/* ---------------------------------------------- Writers (byline.php, page-writers.php) */

/* A writer's page: a profile's layout, their photo in the sidebar. */
.mhc-byline__photo img, .mhc-byline__portrait { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 0 !important; }
.mhc-byline__initials { font-family: var(--thb-primary-font, "Sinkin Sans", sans-serif); font-size: 64px; font-weight: 600; letter-spacing: 0.04em; color: var(--mh-brown,#a06b3e); }
.mhc-byline__interests { display: flex; flex-wrap: wrap; gap: 8px; }
.mhc-byline__interests .tag-cloud-link { margin: 0; }

/* The writers directory: round photos, centred, four across. */
.mhc-writers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 8px 0 24px; }
.mhc-writer-card { display: flex; flex-direction: column; align-items: center; padding: 28px 18px 24px; border: 1px solid var(--mhc-border); background: #fff; text-align: center; text-decoration: none !important; color: #1a1a1a; transition: border-color .2s ease; }
.mhc-writer-card:hover { border-color: var(--mh-brown,#a06b3e); }
.mhc-writer-card__photo { display: block; width: 96px !important; height: 96px !important; margin: 0 0 16px; border-radius: 50% !important; object-fit: cover; }
.mhc-writer-card__credit { font-family: var(--thb-primary-font, "Sinkin Sans", sans-serif); font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mh-brown,#a06b3e); }
.mhc .mhc-writer-card__name { margin: 6px 0 4px; font-size: 18px; line-height: 1.3; color: #0a0a0a; }
.mhc-writer-card:hover .mhc-writer-card__name { color: var(--mh-brown,#a06b3e); }
.mhc-writer-card__place { font-family: Georgia, "Times New Roman", serif; font-size: 14px; font-style: italic; color: #6b645a; }
.mhc-writer-card__count { margin-top: 10px; font-family: var(--thb-primary-font, "Sinkin Sans", sans-serif); font-size: 12px; color: var(--mhc-muted); }
@media (max-width: 1024px) { .mhc-writers { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .mhc-writers { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }

/* ---------------------------------------------- Writer dashboard (page-write.php) */

/* Brand: bronze for actions and labels, blue for links and "with the
   editors", teal for progress, reads and notes. Square corners throughout. */
.mhc-write { --w-bronze: var(--mh-brown,#a06b3e); --w-bronze-dark: var(--mh-brown-dk,#8d5d35); --w-blue: var(--mh-teal,#126788); --w-teal: var(--mh-aqua,#35a2af); --w-line: #e6e1d8; --w-soft: #f8f5e8; --w-panel: #faf8f5; --w-muted: #6b645a; --w-ink: #0a0a0a; padding-block: 12px 48px; }
.mhc-write-gate { max-width: 560px; margin: 40px auto 64px; padding: 36px 32px; border: 1px solid #e6e1d8; text-align: center; }
.mhc .mhc-write-gate h1 { margin: 14px 0 10px; font-size: 30px; font-weight: 400; }
.mhc-write-gate p { margin: 0 0 22px; font-family: Georgia, "Times New Roman", serif; font-size: 17px; color: #6b645a; }

/* Buttons: one height, text optically centred (Sinkin Sans sits high). */
.mhc-wbtn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 3px 24px 0; border: 1px solid var(--mh-brown,#a06b3e); border-radius: 0; background: var(--mh-brown,#a06b3e); color: #fff !important; font-family: var(--thb-primary-font, "Sinkin Sans", sans-serif); font-size: 14px; line-height: 1; letter-spacing: .02em; text-decoration: none !important; cursor: pointer; box-sizing: border-box; transition: background .2s ease, border-color .2s ease, color .2s ease; }
.mhc-wbtn:hover, .mhc-wbtn:focus-visible { background: var(--mh-brown-dk,#8d5d35); border-color: var(--mh-brown-dk,#8d5d35); }
.mhc-wbtn--sm { min-height: 38px; padding: 2px 16px 0; font-size: 13px; }
.mhc-wbtn--ghost { background: #fff; border-color: #e6e1d8; color: #262220 !important; }
.mhc-wbtn--ghost:hover, .mhc-wbtn--ghost:focus-visible { background: #fff; border-color: var(--mh-teal,#126788); color: var(--mh-teal,#126788) !important; }
.mhc-wbtn[disabled] { opacity: .6; cursor: default; }
.mhc-linkbtn { padding: 0; border: 0; background: none; font: inherit; color: var(--mh-teal,#126788); cursor: pointer; }
.mhc-linkbtn:hover { color: var(--mh-brown,#a06b3e); }
.mhc-linkbtn--danger { color: #a3392b; }

/* Head */
.mhc-write-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.mhc .mhc-write-head h1 { margin: 14px 0 6px; font-size: 40px; font-weight: 400; line-height: 1.05; color: #0a0a0a; text-wrap: balance; }
.mhc-write-head p { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 17px; font-style: italic; color: #6b645a; }
.mhc-write-head .mhc-eyebrow { margin: 0; }

/* Tabs: Explore's. */
.mhc-write-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; padding-bottom: 22px; border-bottom: 1px solid #e6e1d8; }
.mhc-write-tabs button { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; margin: 0; padding: 3px 18px 0; border: 1px solid #e6e1d8; border-radius: 0; background: #fff; color: #262220; font-family: var(--thb-primary-font, "Sinkin Sans", sans-serif); font-size: 13px; line-height: 1; cursor: pointer; }
.mhc-write-tabs button:hover { border-color: var(--mh-brown,#a06b3e); color: var(--mh-brown,#a06b3e); }
.mhc-write-tabs button[aria-selected="true"], .mhc-write-tabs button[aria-pressed="true"] { background: var(--mh-brown,#a06b3e); border-color: var(--mh-brown,#a06b3e); color: #fff; }
.mhc-write-tabs__n { min-width: 22px; padding: 3px 6px 2px; background: #f8f5e8; color: #6b645a; font-size: 11px; text-align: center; }
.mhc-write-tabs button[aria-selected="true"] .mhc-write-tabs__n, .mhc-write-tabs button[aria-pressed="true"] .mhc-write-tabs__n { background: rgba(255, 255, 255, .22); color: #fff; }
.mhc-write-tabs--inline { margin: 0; padding: 0; border: 0; }

.mhc-write-label { display: block; font-family: var(--thb-primary-font, "Sinkin Sans", sans-serif); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mh-brown,#a06b3e); }
.mhc-write-muted { font-family: Georgia, "Times New Roman", serif; font-size: 15px; color: #6b645a; }

/* Figures: a coloured rule each (bronze, blue, bronze, teal). */
.mhc-write-figures { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0 0 40px; border: 1px solid #e6e1d8; }
.mhc-write-figure { padding: 22px 24px 20px; border-left: 1px solid #e6e1d8; box-shadow: inset 0 3px 0 var(--mh-brown,#a06b3e); }
.mhc-write-figure:first-child { border-left: 0; }
.mhc-write-figure--blue { box-shadow: inset 0 3px 0 var(--mh-teal,#126788); }
.mhc-write-figure--teal { box-shadow: inset 0 3px 0 var(--mh-aqua,#35a2af); }
.mhc-write-figure--blue .mhc-write-label { color: var(--mh-teal,#126788); }
.mhc-write-figure--teal .mhc-write-label { color: color-mix(in srgb, var(--mh-aqua,#35a2af) 82%, #000); }
.mhc-write-figure b { display: block; margin: 12px 0 8px; font-family: var(--thb-primary-font, "Sinkin Sans", sans-serif); font-size: 34px; font-weight: 400; line-height: 1; color: #0a0a0a; font-variant-numeric: tabular-nums; }
.mhc-write-figure > span:last-child { font-family: Georgia, "Times New Roman", serif; font-size: 15px; color: #6b645a; }
.mhc-write-spark { display: block; width: 100%; height: 30px; }
.mhc-write-spark__area { fill: color-mix(in srgb, var(--mh-aqua,#35a2af) 14%, #fff); }
.mhc-write-spark__line { fill: none; stroke: var(--mh-aqua,#35a2af); stroke-width: 2; vector-effect: non-scaling-stroke; }
.mhc-write-spark__dot { fill: var(--mh-aqua,#35a2af); }

/* Sections */
.mhc-write-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 44px; align-items: start; }
.mhc-write-sec { margin: 0 0 40px; }
.mhc-write-sec--gap { margin-top: 40px; }
.mhc .mhc-write-sec > h2 { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 18px; padding-bottom: 12px; border-bottom: 1px solid #e6e1d8; font-size: 20px; line-height: 1.2; color: #0a0a0a; }
.mhc-write-sec > h2 a { font-family: var(--thb-primary-font, "Sinkin Sans", sans-serif); font-size: 13px; font-weight: 400; color: #6b645a; text-decoration: none; }
.mhc-write-sec > h2 a:hover { color: var(--mh-brown,#a06b3e); }
.mhc-write-aside { margin: 14px 0 0; padding: 14px 16px; background: #faf8f5; font-family: Georgia, "Times New Roman", serif; font-size: 15px; line-height: 1.5; color: #6b645a; }
.mhc-write-aside a { color: var(--mh-teal,#126788); }
.mhc-write-empty { padding: 28px 24px; border: 1px dashed #d9d3c7; text-align: center; }
.mhc-write-empty p { margin: 0 0 16px; font-family: Georgia, "Times New Roman", serif; font-size: 16px; color: #6b645a; }
.mhc-write-empty--quiet { margin: 0; padding: 18px 20px; border-style: solid; border-color: #f0ece4; background: #faf8f5; font-family: Georgia, "Times New Roman", serif; font-size: 15px; color: #6b645a; text-align: left; }

/* Continue writing */
.mhc-write-continue { display: grid; grid-template-columns: 200px minmax(0, 1fr); border: 1px solid #e6e1d8; }
.mhc-write-continue__img { position: relative; min-height: 170px; background: linear-gradient(135deg, var(--mh-cream,#f8f5e8), var(--mh-brown,#a06b3e)) center / cover no-repeat; }
.mhc-write-continue__img span { position: absolute; left: 14px; bottom: 12px; font-family: var(--thb-primary-font, "Sinkin Sans", sans-serif); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .92); }
.mhc-write-continue__body { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 22px 26px 24px; }
.mhc .mhc-write-continue__body h3 { margin: 2px 0 0; font-size: 22px; line-height: 1.25; color: #0a0a0a; }
.mhc-write-progress { width: 100%; height: 6px; background: #f8f5e8; }
.mhc-write-progress i { display: block; height: 100%; background: var(--mh-aqua,#35a2af); }
.mhc-write-continue__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }

/* Status chips */
.mhc-chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px 5px; font-family: var(--thb-primary-font, "Sinkin Sans", sans-serif); font-size: 10.5px; font-weight: 700; letter-spacing: .06em; line-height: 1; text-transform: uppercase; white-space: nowrap; }
.mhc-chip::before { content: ""; width: 6px; height: 6px; margin-top: -1px; border-radius: 50%; background: currentColor; }
.mhc-chip--draft { background: #f8f5e8; color: #6b645a; }
.mhc-chip--changes { background: color-mix(in srgb, var(--mh-brown,#a06b3e) 12%, #fff); color: var(--mh-brown-dk,#8d5d35); }
.mhc-chip--review { background: color-mix(in srgb, var(--mh-teal,#126788) 7%, #fff); color: var(--mh-teal,#126788); }
.mhc-chip--scheduled { background: color-mix(in srgb, var(--mh-aqua,#35a2af) 14%, #fff); color: color-mix(in srgb, var(--mh-aqua,#35a2af) 82%, #000); }
.mhc-chip--published { background: color-mix(in srgb, var(--mh-sage,#6a7f6d) 14%, #fff); color: var(--mh-sage,#6a7f6d); }

/* Tables */
.mhc-write-table { overflow-x: auto; border: 1px solid #e6e1d8; }
.mhc .mhc-write-table table { width: 100%; min-width: 680px; margin: 0; border: 0; border-collapse: collapse; }
.mhc .mhc-write-table th { padding: 14px 20px 12px; border: 0; border-bottom: 2px solid var(--mh-aqua,#35a2af); background: #faf8f5; font-family: var(--thb-primary-font, "Sinkin Sans", sans-serif); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #6b645a; text-align: left; }
.mhc .mhc-write-table td { padding: 16px 20px; border: 0; border-bottom: 1px solid #f0ece4; background: #fff; vertical-align: middle; font-family: Georgia, "Times New Roman", serif; font-size: 15px; }
.mhc .mhc-write-table tr:last-child td { border-bottom: 0; }
.mhc .mhc-write-table .num { text-align: right; font-family: var(--thb-primary-font, "Sinkin Sans", sans-serif); font-variant-numeric: tabular-nums; white-space: nowrap; }
.mhc-write-table__title { display: block; font-family: var(--thb-primary-font, "Sinkin Sans", sans-serif); font-size: 15px; line-height: 1.35; color: #0a0a0a !important; text-decoration: none; }
.mhc-write-table__title:hover { color: var(--mh-brown,#a06b3e) !important; }
.mhc-write-table__sub { display: block; margin-top: 4px; font-size: 13px; color: #6b645a; }
.mhc-write-table__chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.mhc-write-table__chips .mhc-tag { margin: 0; }
.mhc-write-table__when { white-space: nowrap; color: #6b645a; }
.mhc-write-table__actions { display: flex; justify-content: flex-end; gap: 16px; font-family: var(--thb-primary-font, "Sinkin Sans", sans-serif); font-size: 13px; white-space: nowrap; }
.mhc-write-table__actions a { color: var(--mh-teal,#126788); text-decoration: none; }
.mhc-write-table__actions a:hover { color: var(--mh-brown,#a06b3e); }
.mhc-write-filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.mhc .mhc-write-find { margin: 0; float: none; width: auto; }
.mhc .mhc-write-find input { width: 280px; max-width: 70vw; height: 42px; margin: 0; padding: 3px 16px 0; border: 1px solid #e6e1d8; border-radius: 0; box-shadow: none; font-family: var(--thb-primary-font, "Sinkin Sans", sans-serif); font-size: 13px; text-transform: none; letter-spacing: 0; }
.mhc .mhc-write-find input::placeholder { text-transform: none; letter-spacing: 0; }
.mhc .mhc-write-table th.num { text-align: right; }
.mhc-write [hidden] { display: none !important; }

/* Notes: teal (a note), amber (changes), green (published). */
.mhc-write-notes { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.mhc-write-note { margin: 0; padding: 18px 20px; border: 1px solid #e6e1d8; border-left: 3px solid var(--mh-aqua,#35a2af); background: #fff; }
.mhc-write-note--changes { border-left-color: var(--mh-brown,#a06b3e); }
.mhc-write-note--published { border-left-color: var(--mh-sage,#6a7f6d); }
.mhc-write-note__head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.mhc-write-note__head img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.mhc-write-note__head b { font-family: var(--thb-primary-font, "Sinkin Sans", sans-serif); font-size: 14px; color: #0a0a0a; }
.mhc-write-note__head time { margin-left: auto; font-family: var(--thb-primary-font, "Sinkin Sans", sans-serif); font-size: 12px; color: #9a9288; white-space: nowrap; }
.mhc-write-note .mhc-chip { margin-bottom: 8px; }
.mhc .mhc-write-note p { margin: 0 0 10px; font-family: Georgia, "Times New Roman", serif; font-size: 15px; line-height: 1.55; }
.mhc-write-note a { font-family: var(--thb-primary-font, "Sinkin Sans", sans-serif); font-size: 13px; color: var(--mh-teal,#126788); text-decoration: none; }
.mhc-write-note a:hover { color: var(--mh-brown,#a06b3e); }
.mhc-write-note > a { display: inline-block; margin-top: 2px; }
.mhc-write-note .mhc-chip + a { display: block; margin-top: 4px; }

/* Writer card (as on /writers/) */
.mhc-write .mhc-writer-card--preview { margin-top: 12px; }

/* My writer page form */
.mhc-write-form { display: grid; gap: 22px; }
.mhc-write-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.mhc-write-field__label { display: block; margin-bottom: 8px; font-family: var(--thb-primary-font, "Sinkin Sans", sans-serif); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #6b645a; }
.mhc .mhc-write-field input:not([type="file"]):not([type="hidden"]), .mhc .mhc-write-field textarea, .mhc .mhc-write-dialog textarea { width: 100%; margin: 0; padding: 12px 14px; border: 1px solid #e6e1d8; border-radius: 0; background: #fff; box-shadow: none; font-family: Georgia, "Times New Roman", serif; font-size: 16px; line-height: 1.5; text-transform: none; letter-spacing: 0; }
.mhc .mhc-write-field input:focus, .mhc .mhc-write-field textarea:focus, .mhc .mhc-write-dialog textarea:focus { border-color: var(--mh-teal,#126788); outline: none; }
.mhc .mhc-write-field--locked input { background: #faf8f5; color: #6b645a; }
.mhc .mhc-write-field input::placeholder, .mhc .mhc-write-field textarea::placeholder, .mhc .mhc-write-dialog textarea::placeholder { text-transform: none; letter-spacing: 0; color: #9a9288; }
.mhc .mhc-write-field textarea, .mhc .mhc-write-dialog textarea { height: auto; min-height: 0; resize: vertical; }
.mhc .mhc-write-field input:not([type="file"]):not([type="hidden"]) { height: 50px; }
.mhc label.mhc-wbtn { margin: 0; text-transform: none; letter-spacing: .02em; font-weight: 400; }
.mhc-write-field__help { margin: 8px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: 13px; color: #6b645a; }
.mhc-write-photo { display: flex; align-items: center; gap: 20px; }
.mhc-write-photo__pic { display: block; width: 96px !important; height: 96px !important; border-radius: 50% !important; object-fit: cover; }
.mhc-write-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.mhc-write-chips:empty { display: none; }
.mhc-write-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 3px 12px 0; border: 1px solid #e6e1d8; border-radius: 0; background: #fff; font-family: var(--thb-primary-font, "Sinkin Sans", sans-serif); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: #262220; cursor: pointer; }
.mhc-write-chip span { color: #9a9288; font-size: 14px; }
.mhc-write-chip:hover { border-color: #a3392b; }
.mhc-write-pick { position: relative; }
.mhc-write-pick__list { position: absolute; z-index: 20; left: 0; right: 0; margin: 2px 0 0; padding: 4px 0; list-style: none; background: #fff; border: 1px solid #e6e1d8; box-shadow: 0 10px 30px rgba(38, 34, 32, .12); }
.mhc-write-pick__list li { margin: 0; padding: 10px 14px; font-family: Georgia, "Times New Roman", serif; font-size: 15px; cursor: pointer; }
.mhc-write-pick__list li:hover { background: #faf8f5; color: var(--mh-brown,#a06b3e); }
.mhc-write-pick__list .is-none { color: #9a9288; cursor: default; }
.mhc-write-form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.mhc-write-status { font-family: Georgia, "Times New Roman", serif; font-size: 15px; color: #6b645a; }
.mhc-write-status.is-ok { color: var(--mh-sage,#6a7f6d); }
.mhc-write-status.is-error { color: #a3392b; }

/* Guidelines */
.mhc-write-guides { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.mhc-write-guide { padding: 24px 24px 22px; border: 1px solid #e6e1d8; box-shadow: inset 0 3px 0 var(--mh-aqua,#35a2af); }
.mhc .mhc-write-guide h3 { margin: 10px 0 10px; font-size: 17px; color: #0a0a0a; }
.mhc .mhc-write-guide p { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 15px; line-height: 1.6; }
.mhc-write-checklist { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.mhc-write-checklist li { position: relative; margin: 0; padding-left: 30px; font-family: Georgia, "Times New Roman", serif; font-size: 16px; }
.mhc-write-checklist li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--mh-aqua,#35a2af); font-family: var(--thb-primary-font, "Sinkin Sans", sans-serif); font-weight: 700; }

/* Suggest an edit */
.mhc-write-dialog { width: min(560px, calc(100vw - 32px)); padding: 28px 28px 24px; border: 1px solid #e6e1d8; border-top: 3px solid var(--mh-teal,#126788); border-radius: 0; }
.mhc-write-dialog::backdrop { background: rgba(10, 10, 10, .45); }
.mhc .mhc-write-dialog h2 { margin: 0 0 4px; font-size: 22px; color: #0a0a0a; }
.mhc-write-dialog #mhc-write-suggest-title { margin: 0 0 18px; }
.mhc-write-dialog .mhc-write-form__foot { margin-top: 16px; }

@media (max-width: 960px) {
	.mhc-write-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
	.mhc-write-figures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mhc-write-figure:nth-child(3) { border-left: 0; }
	.mhc-write-figure:nth-child(n+3) { border-top: 1px solid #e6e1d8; }
	.mhc-write-guides { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
	.mhc .mhc-write-head h1 { font-size: 30px; }
	.mhc-write-head .mhc-wbtn { width: 100%; }
	.mhc-write-figure { padding: 18px 16px 16px; }
	.mhc-write-figure b { font-size: 28px; }
	.mhc-write-continue { grid-template-columns: minmax(0, 1fr); }
	.mhc-write-continue__img { min-height: 120px; }
	.mhc-write-row { grid-template-columns: 1fr; }
	.mhc .mhc-write-find, .mhc .mhc-write-find input { width: 100%; max-width: none; }
	.mhc-write-tabs { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; }
	.mhc-write-tabs button { flex: none; }
	.mhc-write-tabs--inline { flex-wrap: wrap; overflow: visible; }
}

/* ------------------------------------------------- timeline: vertical style
   Cards alternate left and right of a centre line, each with the same date
   column as the list style (day and month, year, Hijri year, divider) on the
   side facing the line, then the heading with its kind beside it and a
   Georgia description. Same scale as the list: year 26, heading 18,
   description 16, small print 11. Brand: var(--mh-teal,#126788) for the markers, years and
   hover, var(--mh-brown,#a06b3e) for the Hijri year, #565151 for text; square corners, the
   theme's font and borders. Chosen per timeline in its editor. */
.mhc-timeline--vertical {
	list-style: none;
	margin: 36px 0 24px;
	padding: 0;
	position: relative;
}
.mhc-timeline--vertical::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 2px;
	margin-left: -1px;
	background: var(--mhc-border, #e2ddd3);
}
.mhc-vt-item {
	position: relative;
	box-sizing: border-box;
	width: 50%;
	margin: 0 0 20px;
	padding: 0 44px 0 0;
}
.mhc-vt-item:nth-child(even) {
	margin-left: 50%;
	padding: 0 0 0 44px;
}
/* The tick from the card to the line, and the square marker on it. */
.mhc-vt-item::before {
	content: "";
	position: absolute;
	top: 28px; /* Level with the heading's first line. */
	right: 0;
	width: 44px;
	height: 1px;
	background: var(--mhc-border, #e2ddd3);
}
.mhc-vt-item:nth-child(even)::before { right: auto; left: 0; }
.mhc-vt-dot {
	position: absolute;
	top: 21px;
	right: -7px;
	width: 14px;
	height: 14px;
	box-sizing: border-box;
	background: var(--mh-teal,#126788);
	border: 3px solid #ffffff;
	box-shadow: 0 0 0 1px var(--mh-teal,#126788);
	z-index: 1;
}
.mhc-vt-item:nth-child(even) .mhc-vt-dot { right: auto; left: -7px; }
.mhc-vt-card {
	display: flex;
	align-items: stretch;
	background: #ffffff;
	border: 1px solid var(--mhc-border, #e2ddd3);
	border-radius: 0;
	transition: border-color 0.15s ease;
}
.mhc-vt-item:hover .mhc-vt-card { border-color: var(--mh-teal,#126788); }
/* Cards on the right: the date column moves to the left, beside the dot. */
.mhc-vt-item:nth-child(even) .mhc-vt-card { flex-direction: row-reverse; }
.mhc-vt-body {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 3px;
	min-width: 0;
	padding: 16px 22px;
}
/* The picture sits beside the heading, so the description below gets the card's full width. */
.mhc-vt-top { display: flex; align-items: center; gap: 12px; min-width: 0; }
.mhc-vt-photo { flex: none; display: block; width: 56px; height: 56px; }
.mhc-vt-photo img { display: block; width: 56px; height: 56px; object-fit: cover; border-radius: 0; }
.mhc-vt-head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.mhc-vt-title {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
}
.mhc-vt-title a { color: #0a0a0a; text-decoration: none; }
.mhc-vt-title a:hover { color: var(--mh-teal,#126788); }
.mhc-vt-desc {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 16px;
	line-height: 1.55;
	color: #565151;
}
.mhc-vt-desc--after-photo { margin-top: 6px; }
.mhc-vt-desc p { margin: 0 0 0.6em; }
.mhc-vt-desc p:last-child { margin-bottom: 0; }
.mhc-vt-date {
	flex: none;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 3px;
	box-sizing: border-box;
	width: 120px;
	padding: 16px 10px;
	text-align: center;
	border-left: 1px solid var(--mhc-border, #e2ddd3);
}
.mhc-vt-item:nth-child(even) .mhc-vt-date { border-left: 0; border-right: 1px solid var(--mhc-border, #e2ddd3); }
.mhc-vt-date__top,
.mhc-vt-date__bottom {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	line-height: 1.2;
}
.mhc-vt-date__top { color: #565151; }
.mhc-vt-date__bottom { color: var(--mh-brown,#a06b3e); }
.mhc-vt-date__year {
	font-size: 26px;
	font-weight: 700;
	line-height: 1.1;
	color: var(--mh-teal,#126788);
	font-variant-numeric: tabular-nums;
}
.mhc-vt-date__year--long { font-size: 17px; line-height: 1.2; }
/* Tablets and phones: one column, the line on the left (two columns need room). The date column stays on the left of each card, as in the list. */
@media (max-width: 1023px) {
	.mhc-timeline--vertical::before { left: 7px; margin-left: 0; }
	.mhc-vt-item,
	.mhc-vt-item:nth-child(even) {
		width: auto;
		margin: 0 0 14px;
		padding: 0 0 0 36px;
	}
	.mhc-vt-item::before,
	.mhc-vt-item:nth-child(even)::before { left: 8px; right: auto; width: 28px; }
	.mhc-vt-dot,
	.mhc-vt-item:nth-child(even) .mhc-vt-dot { left: 0; right: auto; }
	.mhc-vt-card,
	.mhc-vt-item:nth-child(even) .mhc-vt-card { flex-direction: row-reverse; }
	.mhc-vt-date,
	.mhc-vt-item:nth-child(even) .mhc-vt-date {
		width: 88px;
		padding: 14px 6px;
		border-left: 0;
		border-right: 1px solid var(--mhc-border, #e2ddd3);
	}
	.mhc-vt-date__year { font-size: 22px; }
	.mhc-vt-date__year--long { font-size: 15px; }
	.mhc-vt-body { padding: 14px 16px; }
	.mhc-vt-title { font-size: 17px; }
	.mhc-vt-desc { font-size: 15.5px; }
}
/* Small phones: the date becomes a one-line strip above the card, so long text gets the card's full width. */
@media (max-width: 599px) {
	.mhc-vt-card,
	.mhc-vt-item:nth-child(even) .mhc-vt-card { flex-direction: column-reverse; }
	.mhc-vt-date,
	.mhc-vt-item:nth-child(even) .mhc-vt-date {
		flex-direction: row;
		justify-content: flex-start;
		align-items: baseline;
		flex-wrap: wrap;
		gap: 2px 10px;
		width: auto;
		padding: 10px 16px;
		text-align: left;
		border-right: 0;
		border-bottom: 1px solid var(--mhc-border, #e2ddd3);
	}
	.mhc-vt-date__year { font-size: 20px; }
	.mhc-vt-date__year--long { font-size: 15px; }
	.mhc-vt-body { padding: 12px 16px 14px; }
}

/* ------------------------------------------------------ timeline: list style
   One card per item, like an events list: a date column (day and month,
   year, Hijri year) with a divider, then the heading, the kind, and a
   Georgia description. One scale throughout: year 26, heading 18, description
   16, small print 11-12. Brand: var(--mh-teal,#126788) for years and hover, var(--mh-brown,#a06b3e) for the
   Hijri year, #565151 for text; square corners, the theme's font and borders. */
.mhc-timeline--list {
	list-style: none;
	margin: 32px 0 24px;
	padding: 0;
	display: grid;
	gap: 12px;
}
.mhc-tl-item {
	display: grid;
	grid-template-columns: 120px minmax(0, 1fr);
	align-items: stretch;
	background: #ffffff;
	border: 1px solid var(--mhc-border, #e2ddd3);
	border-radius: 0;
	transition: border-color 0.15s ease;
}
.mhc-tl-item:hover { border-color: var(--mh-teal,#126788); }
.mhc-tl-date {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 3px;
	padding: 16px 10px;
	text-align: center;
	border-right: 1px solid var(--mhc-border, #e2ddd3);
}
.mhc-tl-date__top,
.mhc-tl-date__bottom {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	line-height: 1.2;
}
.mhc-tl-date__top { color: #565151; }
.mhc-tl-date__bottom { color: var(--mh-brown,#a06b3e); }
.mhc-tl-date__year {
	font-size: 26px;
	font-weight: 700;
	line-height: 1.1;
	color: var(--mh-teal,#126788);
	font-variant-numeric: tabular-nums;
}
.mhc-tl-date__year--long { font-size: 17px; line-height: 1.2; }
/* An item with no date: a small square in the column instead. */
.mhc-tl-date__dot { width: 10px; height: 10px; background: var(--mh-teal,#126788); }
.mhc-tl-body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	gap: 3px;
	min-width: 0;
	padding: 16px 22px;
}
/* The heading and its kind chip share a line (and wrap together on a narrow card). */
.mhc-tl-head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.mhc-tl-title {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
}
.mhc-tl-title a { color: #0a0a0a; text-decoration: none; }
.mhc-tl-title a:hover { color: var(--mh-teal,#126788); }
.mhc-tl-desc {
	max-width: 46em;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 16px;
	line-height: 1.55;
	color: #565151;
}
.mhc-tl-desc p { margin: 0 0 0.6em; }
.mhc-tl-desc p:last-child { margin-bottom: 0; }
@media (max-width: 767px) {
	.mhc-tl-item { grid-template-columns: 88px minmax(0, 1fr); }
	.mhc-tl-date { padding: 14px 6px; }
	.mhc-tl-date__year { font-size: 22px; }
	.mhc-tl-date__year--long { font-size: 15px; }
	.mhc-tl-body { padding: 14px 16px; gap: 2px; }
	.mhc-tl-title { font-size: 17px; }
	.mhc-tl-desc { font-size: 15.5px; }
}

/* ------------------------------------------------------ timeline: view toggle
   The reader's choice above a timeline: List or Vertical timeline (the
   vertical one is a plan feature, marked with its plan). Same look as the
   plans page's billing switch: square, var(--mh-teal,#126788) outline, filled when on.
   Labels are trimmed to the height of their capital letters (text-box), so
   equal padding gives equal space above and below the letters whatever the
   font's own metrics. Browsers without text-box get the label nudged down by
   a measured amount instead. */
.mhc-tl-toggle { display: flex; justify-content: flex-end; margin: 28px 0 0; }
.mhc-tl-toggle button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin: 0;
	padding: 11px 20px;
	border: 1px solid var(--mh-teal,#126788);
	border-radius: 0;
	background: #ffffff;
	color: var(--mh-teal,#126788);
	font: inherit;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.2;
	text-transform: uppercase;
	white-space: nowrap;
	cursor: pointer;
}
.mhc-tl-toggle button + button { margin-left: -1px; }
.mhc-tl-toggle button:hover { background: color-mix(in srgb, var(--mh-teal,#126788) 7%, #fff); }
.mhc-tl-toggle button.is-on,
.mhc-tl-toggle button.is-on:hover { background: var(--mh-teal,#126788); color: #ffffff; }
.mhc-tl-toggle__label { display: block; text-box: trim-both cap alphabetic; }
.mhc-tl-toggle .mhc-access-tag {
	display: block;
	margin: 0;
	padding: 4px 7px;
	background: var(--mh-brown,#a06b3e);
	color: #ffffff;
	font-size: 10px;
	line-height: 1;
	text-box: trim-both cap alphabetic;
}
.mhc-tl-toggle .mhc-access-tag[hidden] { display: none; }
@supports not (text-box: trim-both cap alphabetic) {
	.mhc-tl-toggle button { padding: 12px 20px; }
	.mhc-tl-toggle__label { position: relative; top: 0.15em; }
	.mhc-tl-toggle .mhc-access-tag { padding: 5px 7px 3px; }
}
.mhc-tl-stage > .mhc-timeline { margin-top: 20px; }
.mhc-tl-stage[aria-busy="true"] { opacity: 0.5; }
/* Phones: the row fills the width. List is as wide as its word needs, Vertical timeline takes the rest, on one line. */
@media (max-width: 599px) {
	.mhc-tl-toggle { justify-content: stretch; }
	.mhc-tl-toggle button { padding: 11px 14px; letter-spacing: 0.04em; }
	.mhc-tl-toggle button[data-mhc-view="list"] { flex: 0 0 auto; }
	.mhc-tl-toggle button[data-mhc-view="vertical"] { flex: 1 1 0; min-width: 0; }
}
@media (max-width: 359px) {
	.mhc-tl-toggle button { padding: 10px 9px; font-size: 11px; gap: 6px; }
}

/* ------------------------------------------- optical centring (see style.css)
   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-tag { display: inline-block; text-box: trim-both cap alphabetic; padding-block: calc(3px + (1lh - 1cap) / 2); }
	.mhc-az__pages a.tag-cloud-link:not(.mhc-save),
	.mhc-section-link a.tag-cloud-link:not(.mhc-save),
	.mhc-otd-nav a.tag-cloud-link:not(.mhc-save),
	.mhc-otd-embed__more a.tag-cloud-link:not(.mhc-save) { padding-block: calc(11px + (1lh - 1cap) / 2); }
	.mhc-otd-side__share button.tag-cloud-link { display: block; text-box: trim-both cap alphabetic; padding-block: calc(9px + (1lh - 1cap) / 2); }
	/* The Gregorian / Hijri switch and the category hub's kind tabs (same box, 13px label). */
	.mhc-explore__types a { display: block; text-align: center; text-box: trim-both cap alphabetic; padding-block: calc(9px + (1lh - 1cap) / 2); }
	.mhc-hub__tabs button { padding-block: calc(9px + (1lh - 1cap) / 2); }
	.mhc-hub__tabs .mhc-hub__tab-label,
	.mhc-hub__tabs button > span { display: block; text-box: trim-both cap alphabetic; }
	.mhc .mhc-az__find button { text-box: trim-both cap alphabetic; padding-block: calc((var(--mhc-az-h) - 2px - 1cap) / 2); } /* The height includes the button's 1px borders. */
}
@supports not ((text-box: trim-both cap alphabetic) and (padding: 1cap)) {
	.mhc-tag { padding: 4.2px 6px 2.8px; }
}

/* Quiz: put-in-order, map and "Who am I?" clue questions (quiz-runner.js). */
.mhc-quiz__clues { margin: 14px 0 0; padding-left: 22px; font-family: Georgia, "Times New Roman", serif; font-size: 17px; line-height: 1.55; color: #403b35; }
.mhc-quiz__clues li { margin: 0 0 6px; }
.mhc-quiz .mhc-quiz__more-clue { margin: 10px 0 0; padding: 0; height: auto; min-height: 0; background: none; border: 0; border-radius: 0; box-shadow: none; font-size: 13px; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--mh-teal,#126788); text-decoration: underline; cursor: pointer; }
.mhc-quiz .mhc-quiz__more-clue:disabled { opacity: 0.5; cursor: default; }
.mhc-quiz__order { list-style: none; margin: 12px 0 0; padding: 0; counter-reset: mhc-order; }
.mhc-quiz__order-item { counter-increment: mhc-order; display: flex; align-items: center; gap: 12px; margin: 0 0 8px; padding: 10px 12px; background: #ffffff; border: 1px solid var(--mhc-border); }
.mhc-quiz__order-item::before { content: counter(mhc-order); flex: 0 0 26px; height: 26px; line-height: 26px; text-align: center; font-size: 12px; font-weight: 700; background: var(--mhc-bg-soft); color: #262220; }
.mhc-quiz__order-item .mhc-quiz__option-text { flex: 1 1 auto; }
.mhc-quiz__moves { display: flex; gap: 4px; flex: 0 0 auto; }
.mhc-quiz .mhc-quiz__move { width: 34px; height: 34px; min-height: 0; padding: 0; line-height: 1; background: #ffffff; border: 1px solid var(--mhc-border); border-radius: 0; box-shadow: none; font-size: 16px; color: var(--mh-teal,#126788); cursor: pointer; }
.mhc-quiz .mhc-quiz__move:hover, .mhc-quiz .mhc-quiz__move:focus { border-color: var(--mh-teal,#126788); background: color-mix(in srgb, var(--mh-teal,#126788) 7%, #fff); }
.mhc-quiz .mhc-quiz__move:disabled { opacity: 0.35; cursor: default; }
.mhc-quiz__order-item.is-right { border-color: var(--mh-sage,#6a7f6d); background: color-mix(in srgb, var(--mh-sage,#6a7f6d) 14%, #fff); }
.mhc-quiz__order-item.is-wrong { border-color: #a83232; background: #fbeceb; }
.mhc-quiz__right-order { margin: 6px 0 0; padding-left: 22px; }
.mhc-quiz__mapbox { height: 360px; margin: 12px 0 0; border: 1px solid var(--mhc-border); background: var(--mhc-bg-soft); cursor: crosshair; }
@media (max-width: 600px) { .mhc-quiz__mapbox { height: 300px; } }

/* WhatsApp channel invitation ([mhc_whatsapp_channel]): icon, heading + line, button.
   No border, no shadow: a flat, soft green-tinted surface.
   The icon stays beside the text on every screen; on phones the button drops
   below, full width. A container query, so it follows the space it's in.
   Corners are square like the rest of the theme; --mhc-wa-radius: 14px rounds them. */
.mhc-wa-channel { --wa-green: #25d366; container-type: inline-size; margin: 24px 0; }
.mhc-wa-channel__card {
	display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 14px 16px;
	padding: 20px 16px;
	background: linear-gradient(110deg, #e6f6ec 0%, #f1faf4 100%);
	border-radius: var(--mhc-wa-radius, 0);
}
.mhc-wa-channel__icon {
	display: flex; align-items: center; justify-content: center; flex: none;
	width: 48px; height: 48px; color: #ffffff; background: var(--wa-green);
	border-radius: var(--mhc-wa-radius, 0);
}
.mhc-wa-channel__icon svg { width: 28px; height: 28px; }
.mhc-wa-channel__body { min-width: 0; }
.mhc-wa-channel .mhc-wa-channel__title {
	display: block; margin: 0;
	font-family: var(--thb-primary-font, "Sinkin Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif);
	font-size: 17px; font-weight: 600; line-height: 1.25; color: #262220; text-wrap: balance;
}
.mhc-wa-channel .mhc-wa-channel__title + .mhc-wa-channel__text { margin-top: 4px; }
.mhc-wa-channel .mhc-wa-channel__text { display: block; margin: 0; font-size: 14px; line-height: 1.5; color: #5f5b52; text-wrap: pretty; }
.mhc-wa-channel a.mhc-wa-channel__btn { grid-column: 1 / -1; width: 100%; margin: 0; text-align: center; text-decoration: none !important; white-space: nowrap; }
@container (min-width: 560px) {
	.mhc-wa-channel__card { grid-template-columns: auto 1fr auto; gap: 20px; padding: 24px 28px; }
	.mhc-wa-channel__icon { width: 56px; height: 56px; }
	.mhc-wa-channel__icon svg { width: 32px; height: 32px; }
	.mhc-wa-channel .mhc-wa-channel__title { font-size: 19px; }
	.mhc-wa-channel a.mhc-wa-channel__btn { grid-column: auto; width: auto; min-width: 190px; }
}

/* The profile's collapsible family tree: room between the heading and its two buttons, and between the buttons and the chart. */
.mhc-tree-accordion .mhc-tree__actions { margin: 20px 0 16px; }

/* Family tree and Quick answers rows: the same font size as their Expand / Collapse word. */
.thb-accordion.mhc-tree-accordion .vc_tta-panel-heading h4 a { font-size: 12px !important; }
.mhc-tree-accordion__hint { font-size: 12px !important; }
details.mhc-tree-accordion > summary { font-size: 12px; }
/* Quick answers: question and answer in the same sans-serif and a small size, the question bold. */
.mhc-quick-answers .vc_tta-panel-body, .mhc-quick-answers__body { padding-top: 4px; }
.mhc-section.mhc-quick-answers h3 {
	font-family: var(--thb-primary-font, "Sinkin Sans", sans-serif);
	font-size: 13.5px;
	font-weight: 700;
	line-height: 1.45;
	margin: 14px 0 1px;
}
.mhc-section.mhc-quick-answers p { margin: 0; font-family: var(--thb-primary-font, "Sinkin Sans", sans-serif); font-size: 13.5px !important; font-weight: 400; line-height: 1.5 !important; }
.mhc-quick-answers p a { color: inherit; text-decoration: none; border-bottom: 1px solid #d9d4ca; }
.mhc-quick-answers p a:hover { color: var(--mh-teal,#126788); border-color: var(--mh-teal,#126788); }
.mhc-quickfacts__doubt { font-size: 13px; opacity: .75; }

/* Questions a writer adds under an article. */
.mhc-article-questions { margin: 40px 0; }
.mhc-article-questions h3 { font-size: 18px; margin: 22px 0 6px; }
.mhc-article-questions p { margin: 0 0 6px; }

/* Numbers and an event's sides. */
.mhc-metric-row { display: block; margin-top: 2px; }
.mhc-metric-row__year { font-weight: 600; margin-right: 4px; }
.mhc-metric-row__asof { opacity: .7; }
.mhc-sides__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px 32px; }
.mhc-side h3 { font-size: 16px; margin: 0 0 8px; }
.mhc-side dl { margin: 0; }
.mhc-side dl > div { margin: 0 0 10px; }
.mhc-side dt { font-family: var(--thb-primary-font, "Sinkin Sans", sans-serif); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--mh-brown,#a06b3e); margin: 0 0 2px; }
.mhc-side dd { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 16.5px; line-height: 1.45; }

/* On This Day: a day with nothing recorded */
.mhc-otd-empty { max-width: 860px; margin: 0 auto 40px; }
.mhc-otd-empty__lead { margin: 0 0 24px; font-family: Georgia, "Times New Roman", serif; font-size: 18px; line-height: 1.5; color: var(--mhc-muted); }
.mhc .mhc-otd-empty__title { margin: 0 0 8px; font-size: 12px; font-weight: 700; line-height: 1.4; letter-spacing: .08em; text-transform: uppercase; color: var(--mhc-accent); }
.mhc-otd-empty section + section { margin-top: 28px; }
.mhc-otd-empty__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--mhc-border); }
.mhc-otd-empty__list li { margin: 0; border-bottom: 1px solid var(--mhc-border); }
.mhc-otd-empty__list a { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 14px 0; color: inherit; text-decoration: none; }
.mhc-otd-empty__list a:hover .mhc-otd-empty__text { color: var(--mhc-accent); }
.mhc-otd-empty__day { font-size: 14px; font-weight: 700; line-height: 1.5; color: #126788; }
.mhc-otd-empty__text { grid-column: 2; font-family: Georgia, "Times New Roman", serif; font-size: 16px; line-height: 1.5; }
.mhc-otd-empty__list a:not(:has(.mhc-otd-empty__day)) { grid-template-columns: 1fr; }
.mhc-otd-empty__list a:not(:has(.mhc-otd-empty__day)) .mhc-otd-empty__text { grid-column: 1; }
@media (max-width: 640px) {
	.mhc-otd-empty__list a { grid-template-columns: 1fr; gap: 4px; }
	.mhc-otd-empty__text { grid-column: 1; }
}

/* On This Day: the same event's date on the other calendar */
.mhc-otd-entry__other { color: #126788; text-decoration: none; white-space: nowrap; }
.mhc-otd-entry__other:hover { color: var(--mhc-accent); text-decoration: underline; }
.mhc-otd-entry__when > .mhc-otd-entry__other { display: block; margin-top: 4px; font-size: 11px; line-height: 1.4; white-space: normal; }

/* On This Day sidebar: links to the free tools */
.mhc-otd-side__box--tools .mhc-otd-side__more { display: block; margin-top: 8px; }
