:root {
  --mh-bg-canvas: #f6f2ea;
  --mh-bg-surface: #fffdf8;
  --mh-bg-muted: #efe7da;
  --mh-text-primary: #111827;
  --mh-text-secondary: #374151;
  --mh-text-muted: #6b7280;
  --mh-indigo: #2f3c7e;
  --mh-terracotta: #c65d3b;
  --mh-gold: #b08d57;
  --mh-green: #183a35;
  --mh-border: #dbcdbb;
  --mh-focus: #2563eb;
  --mh-content-max: 72ch;
  --mh-wide-max: 1200px;
  --mh-shadow-soft: 0 14px 34px rgba(24, 58, 53, 0.1);
  --mh-shadow-lift: 0 18px 42px rgba(24, 58, 53, 0.16);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  background-color: var(--mh-bg-canvas);
  background-image:
    linear-gradient(rgba(47, 60, 126, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 60, 126, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  color: var(--mh-text-primary);
  overflow-x: hidden;
}

a {
  text-underline-offset: 0.18em;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
.wp-block-navigation-item__content:focus-visible,
.wp-block-button__link:focus-visible {
  outline: 3px solid var(--mh-focus);
  outline-offset: 3px;
}

.mh-skip-link {
  background: var(--mh-indigo);
  border-radius: 0 0 8px 8px;
  color: #ffffff;
  font-weight: 800;
  left: 16px;
  padding: 10px 14px;
  position: absolute;
  text-decoration: none;
  top: 0;
  transform: translateY(-120%);
  transition: transform 160ms ease;
  z-index: 1000;
}

.mh-skip-link:focus {
  transform: translateY(0);
}

.mh-container .wp-block-search__inside-wrapper {
  gap: 10px;
  min-width: 0;
}

.mh-container .wp-block-search__input,
.mh-container .wp-block-search__button {
  margin-left: 0;
  max-width: 100%;
  min-width: 0;
}

.wp-site-blocks > * + * {
  margin-block-start: 0;
}

.mh-site-header {
  background: rgba(255, 253, 248, 0.94);
  border-bottom: 1px solid var(--mh-border);
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.06);
  position: sticky;
  top: 0;
  z-index: 20;
}

body.admin-bar .mh-site-header {
  top: 32px;
}

@supports (backdrop-filter: blur(12px)) {
  .mh-site-header {
    backdrop-filter: blur(12px);
  }
}

.mh-site-header .wp-block-site-title a,
.mh-site-header .wp-block-navigation-item__content {
  text-decoration: none;
}

.mh-site-header .wp-block-navigation-item__content {
  border-radius: 999px;
  font-weight: 700;
  min-height: 38px;
  padding: 6px 8px;
}

.mh-site-header .wp-block-navigation-item__content:hover {
  background: var(--mh-bg-muted);
  color: var(--mh-green);
}

.mh-site-footer {
  background: rgba(255, 253, 248, 0.82);
  border-top: 1px solid var(--mh-border);
}

.mh-site-footer h2 {
  font-size: 1rem;
  margin: 0 0 10px;
}

.mh-footer-layout {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(160px, 1fr));
}

.mh-footer-layout p {
  color: var(--mh-text-secondary);
  margin-block: 0;
}

.mh-footer-layout ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mh-footer-layout li + li {
  margin-top: 8px;
}

.mh-footer-layout a {
  font-weight: 700;
}

.mh-footer-bottom {
  border-top: 1px solid var(--mh-border);
  color: var(--mh-text-muted);
  font-size: 0.9rem;
  margin: 24px 0 0;
  padding-top: 18px;
}

.mh-container {
  margin-inline: auto;
  max-width: var(--mh-wide-max);
  padding-inline: clamp(16px, 4vw, 32px);
  width: 100%;
}

.mh-hero {
  /* Source: Wikimedia Commons, File:Alhambra - Court of the Lions2.jpg, Mervat, CC BY-SA 4.0. */
  background:
    linear-gradient(90deg, rgba(10, 31, 30, 0.88), rgba(24, 58, 53, 0.58) 48%, rgba(47, 60, 126, 0.16)),
    url("../images/home-hero-alhambra-court-lions.jpg");
  background-position: center 43%;
  background-size: cover;
  color: #ffffff;
  isolation: isolate;
  min-height: clamp(420px, 72vh, 680px);
  overflow: hidden;
  position: relative;
}

.mh-hero::after {
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.2) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 72px 72px;
  content: "";
  inset: 0;
  opacity: 0.16;
  pointer-events: none;
  position: absolute;
  z-index: -1;
}

.mh-hero h1 {
  margin-bottom: 14px;
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.42);
}

.mh-hero-kicker {
  align-items: center;
  background: rgba(255, 253, 248, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 14px;
  padding: 7px 11px;
  text-transform: uppercase;
}

.mh-hero p {
  max-width: 58ch;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.34);
}

.mh-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.mh-hero-meta li {
  background: rgba(255, 253, 248, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 800;
  padding: 8px 11px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.28);
}

.mh-hero .wp-block-search__inside-wrapper {
  background: var(--mh-bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(10, 31, 30, 0.32);
  overflow: hidden;
}

.mh-hero .wp-block-search__input {
  border: 0;
  min-height: 54px;
}

.mh-hero .wp-block-search__button {
  background: var(--mh-terracotta);
  border: 0;
  color: #ffffff;
  font-weight: 800;
  min-height: 54px;
}

.mh-hero .wp-block-search__button:hover {
  background: var(--mh-green);
}

.mh-hero-actions {
  gap: 10px;
  margin-block: 22px 20px;
}

.mh-hero-actions .wp-block-button__link,
.mh-button {
  align-items: center;
  border: 1px solid rgba(24, 58, 53, 0.24);
  border-radius: 999px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 42px;
  padding: 9px 14px;
  text-decoration: none;
}

.mh-hero-actions .wp-block-button__link {
  box-shadow: 0 12px 28px rgba(10, 31, 30, 0.24);
}

.mh-hero-actions .is-style-outline .wp-block-button__link {
  background: rgba(255, 253, 248, 0.12);
  border-color: rgba(255, 255, 255, 0.62);
  color: #ffffff;
}

.mh-hero-actions .is-style-outline .wp-block-button__link:hover {
  background: rgba(255, 253, 248, 0.92);
  color: var(--mh-green);
}

.mh-button {
  background: var(--mh-bg-surface);
  color: var(--mh-text-primary);
}

.mh-button:hover {
  border-color: var(--mh-indigo);
  color: var(--mh-indigo);
}

.mh-button--primary {
  background: var(--mh-indigo);
  border-color: var(--mh-indigo);
  color: #ffffff;
}

.mh-button--primary:hover {
  background: var(--mh-green);
  border-color: var(--mh-green);
  color: #ffffff;
}

.mh-hero-routes {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-block-start: 18px;
}

.mh-hero-routes a {
  background: rgba(255, 253, 248, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 800;
  padding: 8px 12px;
  text-decoration: none;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.32);
}

.mh-hero-routes a:hover {
  background: rgba(255, 253, 248, 0.9);
  border-color: rgba(255, 253, 248, 0.98);
  color: var(--mh-green);
  text-shadow: none;
}

.mh-card-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  list-style: none;
  margin-left: 0;
  padding-left: 0;
}

.mh-visual-paths {
  margin-block: 34px 42px;
}

.mh-visual-paths__header {
  align-items: end;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  margin-bottom: 18px;
}

.mh-visual-paths__header h2 {
  margin-block: 2px 0;
}

.mh-visual-paths__header p {
  color: var(--mh-text-secondary);
  margin: 0;
  max-width: 56ch;
}

.mh-visual-paths__grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.mh-visual-path-card {
  background: var(--mh-bg-surface);
  border: 1px solid var(--mh-border);
  border-radius: 8px;
  box-shadow: var(--mh-shadow-soft);
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}

.mh-visual-path-card__image {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, rgba(24, 64, 52, 0.14), rgba(184, 134, 11, 0.12));
  margin: 0;
  overflow: hidden;
}

.mh-visual-path-card__image img {
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease;
  width: 100%;
}

.mh-visual-path-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
}

.mh-visual-path-card__eyebrow {
  color: var(--mh-text-muted);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0;
  text-transform: uppercase;
}

.mh-visual-path-card h3 {
  font-size: clamp(1.05rem, 1rem + 0.2vw, 1.2rem);
  line-height: 1.25;
  margin: 0;
}

.mh-visual-path-card h3 a {
  color: inherit;
}

.mh-visual-path-card p {
  color: var(--mh-text-secondary);
  margin: 0;
}

.mh-visual-path-card ul {
  display: grid;
  gap: 8px;
  list-style: none;
  margin: auto 0 0;
  padding: 0;
}

.mh-visual-path-card li a {
  align-items: center;
  background: var(--mh-bg-muted);
  border: 1px solid var(--mh-border);
  border-radius: 8px;
  color: var(--mh-text-primary);
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 44px;
  padding: 9px 10px;
  text-decoration: none;
}

.mh-visual-path-card li span {
  min-width: 0;
}

.mh-visual-path-card li b {
  color: var(--mh-text-muted);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
}

.mh-visual-path-card li a:hover {
  border-color: var(--mh-indigo);
  color: var(--mh-indigo);
}

.mh-start-steps {
  background: rgba(255, 253, 248, 0.72);
  border-block: 1px solid var(--mh-border);
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  list-style-position: inside;
  margin-block: 18px 28px;
  padding: 18px 0;
}

.mh-start-steps li {
  background: var(--mh-bg-surface);
  border: 1px solid var(--mh-border);
  border-radius: 8px;
  min-width: 0;
  padding: 12px;
}

.mh-start-steps a {
  font-weight: 800;
}

.mh-card {
  background: var(--mh-bg-surface);
  border: 1px solid var(--mh-border);
  border-radius: 8px;
  box-shadow: var(--mh-shadow-soft);
  min-width: 0;
  overflow-wrap: break-word;
  padding: 18px;
  position: relative;
}

.mh-card::before {
  background: var(--mh-gold);
  border-radius: 8px 8px 0 0;
  content: "";
  height: 3px;
  inset: 0 0 auto;
  opacity: 0.88;
  position: absolute;
}

.mh-card .wp-block-post-featured-image {
  aspect-ratio: 16 / 9;
  border-radius: 7px 7px 0 0;
  margin: -18px -18px 14px;
  overflow: hidden;
}

.mh-card .wp-block-post-featured-image img {
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease;
  width: 100%;
}

.mh-card .wp-block-post-excerpt {
  color: var(--mh-text-secondary);
  margin-top: auto;
}

.mh-card .mh-archive-card-summary {
  color: var(--mh-text-secondary);
  margin-top: auto;
}

.mh-card .wp-block-post-excerpt__excerpt {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}

.mh-card .mh-archive-card-summary {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}

.mh-card--source {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mh-card--source .wp-block-post-title {
  margin-bottom: 0;
}

.mh-card h3 a {
  color: inherit;
  text-decoration-thickness: 0.08em;
}

.mh-card .wp-block-post-title a {
  color: inherit;
}

.mh-card h3 a::after {
  content: "";
  inset: 0;
  position: absolute;
}

.mh-archive-card-meta {
  color: var(--mh-text-secondary);
  font-size: 0.875rem;
}

.mh-archive-card-meta p {
  margin-block: 6px 0;
}

.mh-source-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.mh-source-card-actions a {
  background: var(--mh-bg-muted);
  border: 1px solid var(--mh-border);
  border-radius: 999px;
  color: var(--mh-text-primary);
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 7px 10px;
  position: relative;
  text-decoration: none;
  z-index: 2;
}

.mh-source-card-actions a:hover {
  border-color: var(--mh-indigo);
  color: var(--mh-indigo);
}

.mh-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 28px;
}

.mh-pagination .page-numbers {
  align-items: center;
  border: 1px solid var(--mh-border);
  border-radius: 999px;
  color: var(--mh-text-primary);
  display: inline-flex;
  font-weight: 700;
  min-height: 38px;
  padding: 7px 12px;
  text-decoration: none;
}

.mh-pagination .page-numbers.current {
  background: var(--mh-indigo);
  border-color: var(--mh-indigo);
  color: #ffffff;
}

.mh-card--person {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
  overflow: hidden;
}

.mh-card--person .wp-block-post-featured-image {
  aspect-ratio: 4 / 5;
  margin: 0;
}

.mh-card--person .wp-block-post-title,
.mh-card--person .mh-archive-card-meta,
.mh-card--person .wp-block-post-excerpt,
.mh-card--person .mh-archive-card-summary {
  margin-inline: 18px;
}

.mh-card--person .wp-block-post-title {
  margin-top: 18px;
}

.mh-card--person .wp-block-post-excerpt,
.mh-card--person .mh-archive-card-summary {
  margin-bottom: 18px;
}

.mh-featured-image-credit {
  color: var(--mh-text-muted);
  font-size: 0.8125rem;
  line-height: 1.5;
  margin-block: -10px 28px;
}

.mh-featured-image-credit a {
  color: inherit;
  text-decoration-thickness: 0.08em;
}

.mh-evidence-badge {
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1;
  margin-inline-end: 8px;
  padding: 7px 10px;
}

.mh-evidence-badge--verified-history {
  background: #d7efe7;
  color: #0f513f;
}

.mh-evidence-badge--scholarly-debate {
  background: #f8edcf;
  color: #684b0c;
}

.mh-evidence-badge--terminology-warning,
.mh-evidence-badge--unsupported-needs-evidence {
  background: #f8dfd6;
  color: #7c2d12;
}

.mh-evidence-badge--modern-identity-claim,
.mh-evidence-badge--mythic-esoteric-tradition {
  background: #e1e7ff;
  color: #1f2a5c;
}

.mh-evidence-note {
  color: var(--mh-text-secondary);
  display: inline;
  font-size: 0.875rem;
}

.mh-evidence-legend {
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(239, 231, 218, 0.42));
  margin-block: 24px;
}

.mh-evidence-legend h2 {
  margin-bottom: 8px;
}

.mh-evidence-legend p {
  color: var(--mh-text-secondary);
  margin-block: 0 14px;
  max-width: 68ch;
}

.mh-evidence-legend ul {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.mh-evidence-legend li {
  align-content: start;
  background: rgba(255, 253, 248, 0.72);
  border: 1px solid var(--mh-border);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  min-height: 112px;
  padding: 12px;
}

.mh-evidence-legend li > span:last-child {
  color: var(--mh-text-secondary);
  font-size: 0.875rem;
  line-height: 1.45;
}

.mh-article-tools,
.mh-related-content,
.mh-reading-list-items {
  background: var(--mh-bg-surface);
  border: 1px solid var(--mh-border);
  border-radius: 8px;
  box-shadow: var(--mh-shadow-soft);
  margin-block: 24px;
  padding: 18px;
}

.mh-article-tools__header {
  align-items: flex-start;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
}

.mh-article-tools h2,
.mh-source-list h2,
.mh-related-places h2,
.mh-related-people h2,
.mh-related-content h2,
.mh-reading-list-items h2 {
  font-size: 1.15rem;
  line-height: 1.25;
  margin: 0 0 14px;
}

.mh-article-tools__grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  margin: 14px 0 0;
}

.mh-article-tools__item {
  border-top: 1px solid var(--mh-border);
  padding-top: 10px;
}

.mh-article-tools__item dt {
  color: var(--mh-text-muted);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.mh-article-tools__item dd {
  margin: 4px 0 0;
}

.mh-term-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.mh-term-badges--compact {
  gap: 6px;
  margin-top: 10px;
}

.mh-term-badge {
  border: 1px solid var(--mh-border);
  border-radius: 999px;
  color: var(--mh-text-secondary);
  display: inline-flex;
  font-size: 0.8125rem;
  line-height: 1;
  padding: 7px 10px;
  text-decoration: none;
}

.mh-term-badges--compact .mh-term-badge {
  font-size: 0.75rem;
  padding: 6px 8px;
}

.mh-browse-hubs {
  margin-block: 28px 36px;
}

.mh-section-kicker {
  color: var(--mh-text-muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.mh-browse-hubs h2 {
  margin-block: 6px 18px;
}

.mh-browse-hubs__grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.mh-browse-panel {
  background: var(--mh-bg-surface);
  border: 1px solid var(--mh-border);
  border-radius: 8px;
  box-shadow: var(--mh-shadow-soft);
  min-width: 0;
  overflow-wrap: break-word;
  padding: 18px;
  position: relative;
}

.mh-browse-panel::before {
  background: var(--mh-terracotta);
  border-radius: 8px 8px 0 0;
  content: "";
  height: 3px;
  inset: 0 0 auto;
  opacity: 0.76;
  position: absolute;
}

.mh-browse-panel h3 {
  font-size: 1rem;
  margin: 0;
}

.mh-browse-panel p {
  color: var(--mh-text-secondary);
  font-size: 0.92rem;
  margin-block: 8px 14px;
}

.mh-browse-panel__list {
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.mh-browse-panel__list a {
  align-items: center;
  border-top: 1px solid var(--mh-border);
  color: inherit;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding-top: 8px;
  text-decoration: none;
}

.mh-browse-panel__list a:hover {
  color: var(--mh-indigo);
  text-decoration: underline;
}

.mh-browse-panel__list b {
  background: var(--mh-bg-muted);
  border-radius: 999px;
  color: var(--mh-text-secondary);
  font-size: 0.75rem;
  min-width: 28px;
  padding: 4px 8px;
  text-align: center;
}

.mh-browse-panel__all a {
  font-weight: 700;
}

.mh-source-list {
  margin-block: 24px;
}

.mh-source-guide {
  border-block: 1px solid var(--mh-border);
  background: rgba(255, 253, 248, 0.68);
  margin-block: 28px;
  padding-block: 28px;
}

.single-mh_source .mh-source-guide {
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.96), rgba(239, 231, 218, 0.5)),
    var(--mh-bg-surface);
  border: 1px solid var(--mh-border);
  border-radius: 8px;
  box-shadow: var(--mh-shadow-soft);
  padding: 18px;
}

.mh-source-guide > p {
  color: var(--mh-text-secondary);
  max-width: 68ch;
}

.mh-source-guide__grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 18px;
}

.mh-source-guide-card {
  background: var(--mh-bg-surface);
  border: 1px solid var(--mh-border);
  border-radius: 8px;
  box-shadow: var(--mh-shadow-soft);
  padding: 16px;
}

.mh-source-guide-card h3 {
  font-size: 1rem;
  line-height: 1.35;
  margin: 0;
}

.mh-source-guide-card p {
  color: var(--mh-text-secondary);
  font-size: 0.92rem;
  margin-block: 8px 0;
}

.mh-source-guide-card ul {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}

.mh-source-guide-card li + li {
  margin-top: 8px;
}

.mh-source-guide-card a {
  font-weight: 700;
  text-decoration-thickness: 0.08em;
}

.mh-source-list__items {
  display: grid;
  gap: 12px;
}

.mh-source-card {
  background: var(--mh-bg-surface);
  border: 1px solid var(--mh-border);
  border-radius: 8px;
  box-shadow: var(--mh-shadow-soft);
  padding: 16px;
}

.mh-source-card h3 {
  font-size: 1rem;
  line-height: 1.3;
  margin: 0 0 8px;
}

.mh-source-card p {
  margin-block: 8px 0;
}

.mh-source-card__citation,
.mh-source-card__quality {
  color: var(--mh-text-secondary);
  font-size: 0.92rem;
}

.mh-source-card__external {
  font-weight: 700;
}

.mh-related-places {
  margin-block: 28px;
}

.mh-related-places__header,
.mh-related-people__header {
  align-items: end;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  justify-content: space-between;
  margin-bottom: 16px;
}

.mh-related-places__header p,
.mh-related-people__header p {
  color: var(--mh-text-secondary);
  margin: 0;
  max-width: 52ch;
}

.mh-related-places__grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.mh-related-place-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
  overflow: hidden;
}

.mh-related-place-card .wp-block-post-featured-image,
.mh-related-place-card .wp-post-image {
  aspect-ratio: 16 / 9;
  margin: 0;
  width: 100%;
}

.mh-related-place-card .wp-post-image {
  display: block;
  height: auto;
  object-fit: cover;
}

.mh-related-place-card h3,
.mh-related-place-card__meta,
.mh-related-place-card__summary {
  margin-inline: 18px;
}

.mh-related-place-card h3 {
  font-size: 1rem;
  line-height: 1.3;
  margin-bottom: 0;
  margin-top: 4px;
}

.mh-related-place-card__meta {
  color: var(--mh-text-muted);
  font-size: 0.8125rem;
  font-weight: 700;
  margin-block: 0;
  text-transform: uppercase;
}

.mh-related-place-card__summary {
  color: var(--mh-text-secondary);
  margin-block: 0 18px;
}

.mh-related-people {
  margin-block: 28px;
}

.mh-related-people__grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.mh-related-person-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mh-related-person-card .wp-block-post-featured-image,
.mh-related-person-card .wp-post-image {
  aspect-ratio: 16 / 9;
  margin: -18px -18px 0;
  width: calc(100% + 36px);
}

.mh-related-person-card .wp-post-image {
  display: block;
  height: auto;
  object-fit: cover;
}

.mh-related-person-card h3 {
  font-size: 1rem;
  line-height: 1.3;
  margin: 0;
}

.mh-related-person-card__meta {
  color: var(--mh-text-muted);
  font-size: 0.8125rem;
  font-weight: 700;
  margin: 0;
  text-transform: uppercase;
}

.mh-related-person-card__summary {
  color: var(--mh-text-secondary);
  margin: 0;
}

.mh-related-content__group + .mh-related-content__group {
  border-top: 1px solid var(--mh-border);
  margin-top: 16px;
  padding-top: 16px;
}

.mh-related-content__group h3 {
  font-size: 0.95rem;
  margin: 0 0 8px;
}

.mh-related-content__group ul {
  margin-block: 0;
}

.mh-reading-list-items ol {
  counter-reset: mh-reading-item;
  list-style: none;
  margin: 0;
  padding: 0;
}

.mh-reading-list-item {
  counter-increment: mh-reading-item;
  display: grid;
  gap: 4px 12px;
  grid-template-columns: 40px minmax(0, 1fr);
  padding-block: 14px;
}

.mh-reading-list-item + .mh-reading-list-item {
  border-top: 1px solid var(--mh-border);
}

.mh-reading-list-item::before {
  align-items: center;
  background: var(--mh-bg-muted);
  border-radius: 999px;
  color: var(--mh-text-secondary);
  content: counter(mh-reading-item);
  display: inline-flex;
  font-weight: 700;
  grid-row: 1 / 4;
  height: 32px;
  justify-content: center;
  width: 32px;
}

.mh-reading-list-item__type {
  color: var(--mh-text-muted);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.mh-reading-list-item > a,
.mh-reading-list-item > span:not(.mh-reading-list-item__type),
.mh-reading-list-item > p {
  grid-column: 2;
}

.mh-reading-list-item > a,
.mh-reading-list-item > span:not(.mh-reading-list-item__type) {
  font-weight: 700;
}

.mh-reading-list-item > p {
  color: var(--mh-text-secondary);
  margin: 2px 0 0;
}

.mh-related-list,
.mh-claim-card,
.mh-forum-callout,
.mh-partner-band,
.mh-conversion-band,
.mh-donation-cta {
  background: var(--mh-bg-surface);
  border: 1px solid var(--mh-border);
  border-radius: 8px;
  box-shadow: var(--mh-shadow-soft);
  margin-block: 24px;
  padding: 18px;
}

.mh-claim-card {
  background:
    linear-gradient(180deg, rgba(47, 60, 126, 0.08), rgba(255, 253, 248, 0.98)),
    var(--mh-bg-surface);
  border-inline-start: 5px solid var(--mh-indigo);
}

.mh-claim-card__statement {
  color: var(--mh-text-primary);
  font-family: var(--wp--preset--font-family--heading);
  font-size: 1.25rem;
  line-height: 1.35;
  margin-block-start: 0;
}

.mh-claim-card p:last-child {
  margin-block-end: 0;
}

.mh-partner-band,
.mh-conversion-band,
.mh-donation-cta {
  background:
    linear-gradient(135deg, rgba(24, 58, 53, 0.08), rgba(176, 141, 87, 0.12)),
    var(--mh-bg-surface);
  margin-block: 32px;
}

.mh-partner-band__inner,
.mh-conversion-band__inner,
.mh-donation-cta {
  align-items: center;
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1.55fr) minmax(220px, 0.75fr);
}

.mh-partner-band h2,
.mh-conversion-band h2,
.mh-donation-cta h2 {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  margin-block: 4px 10px;
}

.mh-partner-band p,
.mh-conversion-band p,
.mh-donation-cta p {
  color: var(--mh-text-secondary);
  margin-block: 0;
}

.mh-partner-band__actions,
.mh-conversion-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mh-conversion-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mh-conversion-links a,
.mh-conversion-links span {
  background: var(--mh-bg-surface);
  border: 1px solid var(--mh-border);
  border-radius: 999px;
  color: var(--mh-text-primary);
  display: inline-flex;
  font-weight: 800;
  min-height: 40px;
  padding: 8px 12px;
  text-decoration: none;
}

.mh-conversion-links span {
  color: var(--mh-text-secondary);
}

.mh-donation-cta {
  background:
    linear-gradient(135deg, rgba(47, 60, 126, 0.1), rgba(176, 141, 87, 0.14)),
    var(--mh-bg-surface);
}

.mh-donation-cta--compact {
  grid-template-columns: minmax(0, 1fr) auto;
}

.mh-donation-cta__copy {
  min-width: 0;
}

.mh-donation-cta__note {
  font-size: 0.9rem;
  margin-block-start: 10px !important;
}

.mh-donation-cta__actions {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mh-donation-cta__amounts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  list-style: none;
  margin: 0;
  padding: 0;
}

.mh-donation-cta__amounts a,
.mh-donation-cta__amounts span {
  align-items: center;
  background: rgba(255, 253, 248, 0.86);
  border: 1px solid var(--mh-border);
  border-radius: 999px;
  color: var(--mh-text-primary);
  display: inline-flex;
  font-weight: 800;
  min-height: 36px;
  padding: 6px 11px;
  text-decoration: none;
}

.mh-donation-cta__button--disabled {
  cursor: not-allowed;
  opacity: 0.72;
}

.mh-donation-cta__secondary {
  color: var(--mh-text-primary);
  font-weight: 800;
}

.mh-timeline {
  display: grid;
  gap: 14px;
  list-style: none;
  padding-left: 0;
}

.mh-timeline__item {
  background: rgba(255, 253, 248, 0.78);
  border: 1px solid var(--mh-border);
  border-radius: 8px;
  display: grid;
  grid-template-columns: 1fr;
  margin: 0;
  overflow: hidden;
}

.mh-timeline__item--has-image {
  grid-template-columns: minmax(120px, 180px) 1fr;
}

.mh-timeline__image {
  aspect-ratio: 4 / 3;
  background: var(--mh-surface-muted);
  display: block;
  min-height: 100%;
}

.mh-timeline__image img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.mh-timeline__body {
  align-self: center;
  padding: 14px 16px;
}

.mh-timeline__date {
  color: var(--mh-text-muted);
  display: block;
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.875rem;
  margin-bottom: 4px;
}

.mh-timeline__link {
  color: var(--mh-text-primary);
  font-weight: 800;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

@media (max-width: 640px) {
  .mh-timeline__item--has-image {
    grid-template-columns: 1fr;
  }

  .mh-timeline__image {
    aspect-ratio: 16 / 9;
  }
}

.mh-ad-slot {
  background: rgba(255, 253, 248, 0.78);
  border: 1px dashed var(--mh-border);
  border-radius: 8px;
  color: var(--mh-text-muted);
  display: grid;
  margin-block: 24px;
  min-height: 132px;
  padding: 12px;
  place-items: center;
  text-align: center;
}

.mh-ad-slot__label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0;
  margin-block-end: 8px;
  text-transform: uppercase;
}

.mh-ad-slot__unit {
  display: grid;
  min-height: 96px;
  place-items: center;
  width: min(100%, 760px);
}

.mh-ad-slot__unit ins.adsbygoogle {
  display: block;
  min-height: 96px;
  width: 100%;
}

.mh-ad-slot--sidebar {
  min-height: 280px;
}

.mh-ad-slot--sidebar .mh-ad-slot__unit,
.mh-ad-slot--sidebar .mh-ad-slot__unit ins.adsbygoogle {
  min-height: 250px;
}

.mh-ad-slot--placeholder {
  background:
    repeating-linear-gradient(
      135deg,
      rgba(219, 205, 187, 0.22) 0,
      rgba(219, 205, 187, 0.22) 8px,
      transparent 8px,
      transparent 16px
    ),
    rgba(255, 253, 248, 0.78);
}

.mh-ad-slot__placeholder {
  border: 1px solid rgba(107, 114, 128, 0.22);
  border-radius: 999px;
  color: var(--mh-text-muted);
  display: inline-block;
  font-size: 0.86rem;
  font-weight: 700;
  padding: 8px 12px;
}

.mh-disclosure {
  background: rgba(255, 253, 248, 0.92);
  border: 1px solid var(--mh-border);
  border-left: 4px solid var(--mh-accent);
  border-radius: 8px;
  color: var(--mh-text-muted);
  font-size: 0.94rem;
  margin-block: 18px;
  padding: 14px 16px;
}

.mh-disclosure p {
  margin: 0;
}

.mh-disclosure strong {
  color: var(--mh-text);
}

.mh-disclosure a {
  font-weight: 700;
}

@media (max-width: 700px) {
  body.admin-bar .mh-site-header {
    top: 46px;
  }

  .mh-hero {
    min-height: 520px;
  }

  .mh-hero-routes {
    align-items: stretch;
    flex-direction: column;
  }

  .mh-hero-routes a {
    text-align: center;
  }

  .mh-footer-layout,
  .mh-partner-band__inner,
  .mh-conversion-band__inner,
  .mh-donation-cta,
  .mh-donation-cta--compact {
    grid-template-columns: minmax(0, 1fr);
  }

  .mh-partner-band__actions,
  .mh-conversion-links,
  .mh-donation-cta__actions,
  .mh-donation-cta__amounts {
    align-items: stretch;
    flex-direction: column;
  }

  .mh-partner-band__actions a,
  .mh-conversion-links a,
  .mh-conversion-links span,
  .mh-donation-cta__amounts a,
  .mh-donation-cta__amounts span,
  .mh-donation-cta__button,
  .mh-donation-cta__secondary {
    justify-content: center;
    text-align: center;
    width: 100%;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .mh-card,
  .mh-browse-panel,
  .mh-source-guide-card,
  .mh-source-card,
  .mh-related-list,
  .mh-claim-card,
	  .mh-forum-callout,
	  .mh-partner-band,
	  .mh-conversion-band,
	  .mh-donation-cta,
	  .mh-visual-path-card {
	    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
	  }

	  .mh-card:hover,
	  .mh-browse-panel:hover,
	  .mh-source-guide-card:hover,
	  .mh-source-card:hover,
	  .mh-visual-path-card:hover {
	    border-color: rgba(47, 60, 126, 0.28);
	    box-shadow: var(--mh-shadow-lift);
	    transform: translateY(-2px);
	  }

	  .mh-card:hover .wp-block-post-featured-image img,
	  .mh-visual-path-card:hover .mh-visual-path-card__image img {
	    transform: scale(1.025);
	  }
}

@media (max-width: 520px) {
  .mh-container .wp-block-search__inside-wrapper {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .mh-container .wp-block-search__button {
    justify-content: center;
    width: 100%;
  }

  .mh-browse-hubs__grid,
	  .mh-source-guide__grid,
	  .mh-card-grid,
	  .mh-visual-paths__grid,
	  .mh-related-places__grid,
	  .mh-related-people__grid,
	  .mh-feature-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
