/*
 * Maudimi FSE V19
 * Premium source-first refonte layer loaded after the legacy CSS.
 */

:root {
  --mdm-bg: #08090a;
  --mdm-bg-2: #111318;
  --mdm-paper: #f2e6d3;
  --mdm-ivory: #e8dfca;
  --mdm-ink: #131416;
  --mdm-text: #f7f0e4;
  --mdm-muted: #c9b99b;
  --mdm-gold: #b88a4f;
  --mdm-copper: #c78467;
  --mdm-action: #8b382b;
  --mdm-sage: #6f8275;
  --mdm-petrol: #253f46;
  --mdm-focus: #caa96b;
  --mdm-line: rgba(184, 138, 79, .24);
  --mdm-readable-light: #fff7e8;
  --mdm-readable-soft: #ead9bd;
  --mdm-readable-muted: #dac8a9;
  --mdm-readable-panel: #171217;
  --mdm-readable-border: rgba(221, 185, 120, .38);
  --mdm-radius: 8px;
  --mdm-shadow: 0 28px 90px rgba(0,0,0,.32);
  --mdm-content: min(100% - 40px, 760px);
  --mdm-wide: min(100% - 40px, 1360px);
  --mdm-section: clamp(56px, 8vw, 128px);
  --mdm-gap: clamp(18px, 2.4vw, 36px);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--mdm-bg);
  color: var(--mdm-text);
}

body,
button,
input,
textarea,
select {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

h1,
h2,
h3,
.wp-block-site-title {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

a {
  transition: color .22s ease, background-color .22s ease, border-color .22s ease, opacity .22s ease;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
.wp-block-button__link:focus-visible {
  outline: 3px solid var(--mdm-focus);
  outline-offset: 4px;
}

.wp-site-blocks {
  background:
    radial-gradient(circle at 18% 0%, rgba(111,130,117,.16), transparent 26rem),
    linear-gradient(180deg, #08090a 0%, #111318 42%, #08090a 100%);
}

.mdm-section {
  padding: var(--mdm-section) max(20px, 4vw);
}

.mdm-section-tight {
  padding: clamp(42px, 6vw, 88px) max(20px, 4vw);
}

.mdm-wrap {
  width: var(--mdm-wide);
  margin-inline: auto;
}

.mdm-copy {
  width: var(--mdm-content);
  margin-inline: auto;
}

.mdm-dark {
  background: var(--mdm-bg);
  color: var(--mdm-text);
}

.mdm-paper {
  background: var(--mdm-paper);
  color: var(--mdm-ink);
}

.mdm-ivory {
  background: var(--mdm-ivory);
  color: var(--mdm-ink);
}

.mdm-paper,
.mdm-ivory,
.mdm-article-shell,
.mdm-newsletter,
.mdm-note {
  color: var(--mdm-ink);
}

.mdm-paper h1,
.mdm-paper h2,
.mdm-paper h3,
.mdm-paper h4,
.mdm-paper h5,
.mdm-paper h6,
.mdm-paper .wp-block-heading,
.mdm-ivory h1,
.mdm-ivory h2,
.mdm-ivory h3,
.mdm-ivory h4,
.mdm-ivory h5,
.mdm-ivory h6,
.mdm-ivory .wp-block-heading,
.mdm-article-shell h1,
.mdm-article-shell h2,
.mdm-article-shell h3,
.mdm-article-shell h4,
.mdm-article-shell h5,
.mdm-article-shell h6,
.mdm-article-shell .wp-block-heading,
.mdm-newsletter h1,
.mdm-newsletter h2,
.mdm-newsletter h3,
.mdm-newsletter .wp-block-heading,
.mdm-note h1,
.mdm-note h2,
.mdm-note h3,
.mdm-note .wp-block-heading {
  color: var(--mdm-ink) !important;
}

.mdm-paper p,
.mdm-paper li,
.mdm-ivory p,
.mdm-ivory li,
.mdm-article-shell p,
.mdm-article-shell li,
.mdm-newsletter p,
.mdm-newsletter li,
.mdm-note p,
.mdm-note li {
  color: color-mix(in srgb, var(--mdm-ink) 88%, black);
}

.mdm-paper a,
.mdm-ivory a,
.mdm-article-shell a,
.mdm-newsletter a,
.mdm-note a {
  color: var(--mdm-action);
  font-weight: 750;
}

.mdm-panel h1,
.mdm-panel h2,
.mdm-panel h3,
.mdm-panel p,
.mdm-panel li,
.mdm-dark h1,
.mdm-dark h2,
.mdm-dark h3,
.mdm-dark p,
.mdm-dark li {
  color: var(--mdm-text);
}

.mdm-panel {
  background: color-mix(in srgb, var(--mdm-bg-2) 92%, black);
  border: 1px solid var(--mdm-line);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.025), var(--mdm-shadow);
}

.mdm-kicker,
.maudimi-kicker {
  color: var(--mdm-copper);
  font-size: clamp(.72rem, .7rem + .12vw, .82rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.35;
  margin-block: 0 .85rem;
  text-transform: uppercase;
}

.mdm-paper .mdm-kicker,
.mdm-ivory .mdm-kicker {
  color: var(--mdm-action);
}

.mdm-display {
  font-size: clamp(2.7rem, 1.35rem + 6vw, 7.4rem);
  line-height: .96;
  margin: 0;
  max-width: 11ch;
}

.mdm-heading {
  font-size: clamp(2rem, 1.2rem + 3vw, 4.4rem);
  line-height: 1.02;
  margin: 0;
}

.mdm-lead {
  font-size: clamp(1.08rem, 1rem + .48vw, 1.42rem);
  line-height: 1.58;
  max-width: 720px;
}

.mdm-muted {
  color: color-mix(in srgb, currentColor 68%, transparent);
}

.mdm-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-top: 1.6rem;
}

.wp-block-button__link,
.mdm-btn {
  border-radius: var(--mdm-radius) !important;
  min-height: 48px;
  transition: transform .22s ease, box-shadow .22s ease, background-color .22s ease, color .22s ease, border-color .22s ease;
}

.wp-block-button__link:hover,
.mdm-btn:hover {
  transform: translateY(-2px);
}

.mdm-btn-primary,
.mdm-dark .wp-block-button:not(.is-style-maudimi-outline) .wp-block-button__link {
  background: var(--mdm-paper) !important;
  color: var(--mdm-ink) !important;
  box-shadow: 0 16px 40px rgba(241,226,199,.16);
}

.mdm-paper .wp-block-button:not(.is-style-maudimi-outline) .wp-block-button__link,
.mdm-ivory .wp-block-button:not(.is-style-maudimi-outline) .wp-block-button__link,
.mdm-btn-action {
  background: var(--mdm-action) !important;
  color: #fff8ed !important;
}

.is-style-maudimi-outline .wp-block-button__link,
.mdm-btn-secondary {
  background: transparent !important;
  border: 1px solid var(--mdm-gold) !important;
  color: currentColor !important;
}

.mdm-header {
  backdrop-filter: blur(18px);
  background: rgba(8,9,10,.82);
  border-bottom: 1px solid rgba(111,130,117,.24);
  position: sticky;
  top: 0;
  z-index: 50;
}

.mdm-header a {
  color: var(--mdm-text);
  text-decoration: none;
}

.mdm-header a:hover {
  color: var(--mdm-gold);
}

.mdm-brand-row {
  min-width: 0;
}

.mdm-brand-mark {
  align-items: center;
  border: 1px solid var(--mdm-line);
  border-radius: 999px;
  color: var(--mdm-gold);
  display: inline-flex;
  font-size: .88rem;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.mdm-brand-title {
  color: var(--mdm-text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.05rem, .95rem + .35vw, 1.35rem);
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

.mdm-header-cta {
  white-space: nowrap;
}

.mdm-hero {
  align-items: center;
  display: grid;
  min-height: clamp(680px, 92vh, 900px);
  overflow: clip;
  padding: clamp(92px, 12vw, 150px) max(20px, 5vw) clamp(54px, 8vw, 96px);
  position: relative;
}

.mdm-hero::before {
  background:
    linear-gradient(90deg, rgba(7,6,4,.92) 0%, rgba(7,6,4,.72) 42%, rgba(7,6,4,.22) 100%),
    linear-gradient(180deg, rgba(7,6,4,.12), rgba(7,6,4,.88));
  content: "";
  inset: 0;
  position: absolute;
  z-index: 1;
}

.mdm-hero > * {
  position: relative;
  z-index: 2;
}

.mdm-hero-media {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
  z-index: 0;
}

.mdm-hero-media img,
.mdm-image-fill img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.mdm-proof-row {
  display: grid;
  gap: .8rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2rem;
  max-width: 880px;
}

.mdm-proof {
  background: rgba(241,226,199,.08);
  border: 1px solid rgba(241,226,199,.16);
  border-radius: var(--mdm-radius);
  padding: .95rem;
}

.mdm-proof strong {
  display: block;
  color: var(--mdm-paper);
  line-height: 1.25;
}

.mdm-proof span {
  color: rgba(247,240,228,.72);
  display: block;
  font-size: .9rem;
  line-height: 1.45;
  margin-top: .25rem;
}

.mdm-split {
  align-items: stretch;
  display: grid;
  gap: var(--mdm-gap);
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
}

.mdm-split > * {
  min-width: 0;
}

.mdm-card-grid {
  display: grid;
  gap: var(--mdm-gap);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mdm-card-grid-2 {
  display: grid;
  gap: var(--mdm-gap);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mdm-card {
  border-radius: var(--mdm-radius);
  overflow: clip;
  transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}

.mdm-card:hover {
  border-color: rgba(200,156,91,.58);
  box-shadow: 0 24px 72px rgba(0,0,0,.24);
  transform: translateY(-4px);
}

.mdm-card a {
  color: inherit;
  text-decoration: none;
}

.mdm-card.mdm-paper a,
.mdm-card.mdm-ivory a,
.mdm-paper .mdm-card a,
.mdm-ivory .mdm-card a {
  color: var(--mdm-action) !important;
}

.mdm-card.mdm-panel a,
.mdm-panel .mdm-card a,
.mdm-dark .mdm-card a {
  color: var(--mdm-paper) !important;
}

.mdm-card img {
  aspect-ratio: 16 / 10;
  display: block;
  object-fit: cover;
  width: 100%;
}

.mdm-card-body {
  padding: clamp(1.05rem, 2vw, 1.55rem);
}

.mdm-card h3 {
  font-size: clamp(1.35rem, 1.05rem + .9vw, 2.05rem);
  line-height: 1.08;
  margin: .4rem 0 .7rem;
}

.mdm-badge {
  background: color-mix(in srgb, var(--mdm-petrol) 78%, black);
  border-radius: 999px;
  color: #fff8ed;
  display: inline-flex;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  padding: .45rem .62rem;
  text-transform: uppercase;
}

.mdm-badge-muted {
  background: rgba(111,130,117,.14);
  color: var(--mdm-petrol);
}

.mdm-featured {
  border: 1px solid rgba(22,16,11,.12);
  box-shadow: 0 30px 80px rgba(22,16,11,.14);
}

.mdm-featured img {
  min-height: 320px;
}

.mdm-method {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: clip;
}

.mdm-method > div {
  background: rgba(241,226,199,.08);
  border: 1px solid rgba(241,226,199,.1);
  padding: clamp(1rem, 2vw, 1.4rem);
}

.mdm-method span {
  color: var(--mdm-gold);
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1;
  margin-bottom: .6rem;
}

.mdm-newsletter {
  border: 1px solid rgba(22,16,11,.1);
  border-radius: var(--mdm-radius);
  box-shadow: 0 26px 80px rgba(22,16,11,.13);
}

.mdm-form {
  display: flex;
  gap: .7rem;
  margin-top: 1.3rem;
}

.mdm-form input {
  background: #fff8ed;
  border: 1px solid rgba(22,16,11,.18);
  border-radius: var(--mdm-radius);
  color: var(--mdm-ink);
  flex: 1;
  min-height: 52px;
  padding: 0 1rem;
}

.mdm-form button {
  background: var(--mdm-action);
  border: 0;
  border-radius: var(--mdm-radius);
  color: #fff8ed;
  cursor: pointer;
  font-weight: 800;
  min-height: 52px;
  padding: 0 1.1rem;
}

.mdm-article-shell {
  background: var(--mdm-paper);
  color: var(--mdm-ink);
}

.mdm-article-shell .entry-content,
.mdm-article-content {
  font-size: clamp(1.04rem, 1rem + .18vw, 1.18rem);
  line-height: 1.82;
}

.mdm-article-shell a {
  color: var(--mdm-action);
}

.mdm-note {
  background: color-mix(in srgb, var(--mdm-ivory) 74%, white);
  border-left: 4px solid var(--mdm-action);
  border-radius: var(--mdm-radius);
  color: var(--mdm-ink);
  padding: clamp(1rem, 2vw, 1.6rem);
}

.mdm-footer {
  background: #08090a;
  border-top: 1px solid rgba(111,130,117,.24);
  color: var(--mdm-text);
}

.mdm-footer a {
  color: var(--mdm-text);
}

.mdm-footer a:hover {
  color: var(--mdm-gold);
}

/* V19.0.1 readability fix: preserve the immersive mood, raise usable contrast. */
.mdm-dark,
.mdm-panel,
.mdm-footer {
  color: var(--mdm-readable-light);
}

.mdm-dark h1,
.mdm-dark h2,
.mdm-dark h3,
.mdm-dark h4,
.mdm-dark h5,
.mdm-dark h6,
.mdm-dark .wp-block-heading,
.mdm-panel h1,
.mdm-panel h2,
.mdm-panel h3,
.mdm-panel h4,
.mdm-panel h5,
.mdm-panel h6,
.mdm-panel .wp-block-heading,
.mdm-footer h1,
.mdm-footer h2,
.mdm-footer h3,
.mdm-footer .wp-block-heading {
  color: var(--mdm-readable-light) !important;
  text-shadow: 0 2px 22px rgba(0,0,0,.35);
}

.mdm-dark p,
.mdm-dark li,
.mdm-dark .wp-block-post-date,
.mdm-dark .wp-block-post-excerpt,
.mdm-panel p,
.mdm-panel li,
.mdm-footer p,
.mdm-footer li {
  color: var(--mdm-readable-muted) !important;
}

.mdm-dark .mdm-lead,
.mdm-panel .mdm-lead,
.mdm-footer .mdm-lead {
  color: var(--mdm-readable-soft) !important;
}

.mdm-dark .mdm-kicker,
.mdm-panel .mdm-kicker,
.mdm-footer .mdm-kicker,
.mdm-dark .maudimi-kicker,
.mdm-panel .maudimi-kicker {
  color: #e0b673 !important;
}

.mdm-panel {
  background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(196,154,98,.08)), var(--mdm-readable-panel);
  border-color: var(--mdm-readable-border);
}

.mdm-proof,
.mdm-method > div {
  background: rgba(255,247,232,.11);
  border-color: rgba(255,247,232,.24);
}

.mdm-proof span,
.mdm-method p {
  color: var(--mdm-readable-muted) !important;
}

.mdm-card.mdm-panel,
.mdm-entry-card {
  border-color: var(--mdm-readable-border);
}

.mdm-card.mdm-panel p,
.mdm-entry-card p {
  color: var(--mdm-readable-muted) !important;
}

.mdm-card.mdm-panel h3,
.mdm-entry-card h3 {
  color: var(--mdm-readable-light) !important;
}

.mdm-card.mdm-panel a,
.mdm-panel .mdm-card a,
.mdm-dark .mdm-card a {
  color: #f0c986 !important;
}

.mdm-badge {
  background: rgba(37,63,70,.95);
  border: 1px solid rgba(255,247,232,.18);
  color: #fff7e8;
}

.mdm-dark .is-style-maudimi-outline .wp-block-button__link,
.mdm-panel .is-style-maudimi-outline .wp-block-button__link,
.mdm-dark .mdm-btn-secondary,
.mdm-panel .mdm-btn-secondary {
  background: rgba(255,247,232,.08) !important;
  border-color: rgba(221,185,120,.76) !important;
  color: var(--mdm-readable-light) !important;
}

.mdm-dark .is-style-maudimi-outline .wp-block-button__link:hover,
.mdm-panel .is-style-maudimi-outline .wp-block-button__link:hover,
.mdm-dark .mdm-btn-secondary:hover,
.mdm-panel .mdm-btn-secondary:hover {
  background: rgba(221,185,120,.16) !important;
  border-color: #e0b673 !important;
  color: #fffaf0 !important;
}

.wp-block-search__input,
.wp-block-search__button,
.mdm-form input,
.mdm-form button {
  font: inherit;
}

.wp-block-search__input {
  background: #fff8ed;
  border: 1px solid rgba(22,16,11,.22);
  color: var(--mdm-ink);
  min-height: 50px;
}

.wp-block-search__button {
  background: var(--mdm-action);
  border: 1px solid var(--mdm-action);
  color: #fff8ed;
  min-height: 50px;
}

.maudimi-section-panel,
.maudimi-section-dark {
  background:
    radial-gradient(circle at 88% 24%, rgba(196,154,98,.13), transparent 28rem),
    linear-gradient(180deg, #151015 0%, #0d0c0e 100%) !important;
  border-color: rgba(221,185,120,.28) !important;
  color: var(--mdm-readable-light) !important;
}

.maudimi-section-panel h1,
.maudimi-section-panel h2,
.maudimi-section-panel h3,
.maudimi-section-panel .wp-block-heading,
.maudimi-section-dark h1,
.maudimi-section-dark h2,
.maudimi-section-dark h3,
.maudimi-section-dark .wp-block-heading,
.maudimi-page-hero h1,
.maudimi-page-hero .wp-block-heading {
  color: var(--mdm-readable-light) !important;
  text-shadow: 0 2px 24px rgba(0,0,0,.42);
}

.maudimi-section-panel p,
.maudimi-section-panel li,
.maudimi-section-dark p,
.maudimi-section-dark li,
.maudimi-page-hero p {
  color: var(--mdm-readable-muted) !important;
}

.maudimi-page-hero::before {
  background:
    radial-gradient(circle at 68% 36%, rgba(221,185,120,.18), transparent 30%),
    linear-gradient(90deg, rgba(5,4,3,.82) 0%, rgba(5,4,3,.52) 48%, rgba(5,4,3,.68) 100%),
    linear-gradient(0deg, #050403 0%, rgba(5,4,3,.44) 18%, transparent 44%) !important;
}

.maudimi-values {
  border-color: rgba(221,185,120,.42) !important;
  background: rgba(221,185,120,.2) !important;
}

.maudimi-value {
  background: linear-gradient(180deg, rgba(255,247,232,.07), rgba(9,7,6,.96)) !important;
  border: 1px solid rgba(221,185,120,.18);
  color: var(--mdm-readable-light) !important;
}

.maudimi-value strong,
.maudimi-value span,
.maudimi-divider {
  color: #f0c986 !important;
}

.maudimi-value p,
.maudimi-format-card em,
.maudimi-card .wp-block-post-excerpt,
.maudimi-door-mini p,
.maudimi-newsletter p,
.maudimi-form-note,
.maudimi-form-note small {
  color: var(--mdm-readable-muted) !important;
}

.maudimi-card,
.maudimi-door-mini,
.maudimi-format-card,
.maudimi-newsletter,
.maudimi-contact-panel,
.maudimi-editorial-block,
.maudimi-editorial-note {
  background: linear-gradient(180deg, rgba(255,247,232,.055), rgba(9,7,6,.96)) !important;
  border-color: rgba(221,185,120,.32) !important;
  color: var(--mdm-readable-light) !important;
}

.maudimi-card h1,
.maudimi-card h2,
.maudimi-card h3,
.maudimi-card strong,
.maudimi-door-mini h3,
.maudimi-door-mini strong,
.maudimi-format-card strong,
.maudimi-newsletter h1,
.maudimi-newsletter h2,
.maudimi-newsletter h3 {
  color: var(--mdm-readable-light) !important;
}

.maudimi-card a,
.maudimi-door-mini a,
.maudimi-format-card a,
.maudimi-newsletter a {
  color: #f0c986 !important;
}

.maudimi-newsletter-form input[type=email],
.maudimi-newsletter input,
.maudimi-contact-panel input,
.maudimi-contact-panel textarea,
.maudimi-contact-panel select {
  background: #fff8ed !important;
  border-color: rgba(221,185,120,.42) !important;
  color: #17100a !important;
}

.maudimi-newsletter-form input[type=email]::placeholder {
  color: rgba(23,16,10,.58) !important;
}

.mdm-reveal,
.maudimi-reveal {
  opacity: 1;
  transform: none;
}

.maudimi-effects-ready .mdm-reveal,
.maudimi-effects-ready .maudimi-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .62s ease, transform .62s ease;
}

.maudimi-effects-ready .mdm-reveal.is-visible,
.maudimi-effects-ready .maudimi-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.mdm-depth img {
  transition: transform .7s ease, filter .7s ease;
}

.mdm-depth:hover img {
  filter: saturate(1.05) contrast(1.03);
  transform: scale(1.025);
}

@media (max-width: 900px) {
  :root {
    --mdm-content: min(100% - 32px, 720px);
    --mdm-wide: min(100% - 32px, 820px);
    --mdm-section: 48px;
    --mdm-gap: 14px;
  }

  .mdm-hero {
    min-height: 560px;
    padding-top: 84px;
    padding-bottom: 42px;
  }

  .mdm-hero::before {
    background:
      linear-gradient(180deg, rgba(7,6,4,.86) 0%, rgba(7,6,4,.68) 48%, rgba(7,6,4,.94) 100%);
  }

  .mdm-display {
    max-width: 9.5ch;
  }

  .mdm-proof-row,
  .mdm-card-grid,
  .mdm-card-grid-2,
  .mdm-split,
  .mdm-method {
    grid-template-columns: 1fr;
  }

  .mdm-card img,
  .mdm-featured img {
    min-height: 0;
  }

  .mdm-section,
  .mdm-section-tight {
    padding-top: var(--mdm-section);
    padding-bottom: var(--mdm-section);
  }

  .mdm-featured img,
  .mdm-card img {
    max-height: 240px;
  }

  .mdm-footer.mdm-section {
    padding-top: 38px;
    padding-bottom: 30px;
  }

  .mdm-article-shell .wp-block-post-featured-image {
    margin-top: 28px !important;
    margin-bottom: 28px !important;
  }

  .mdm-header .wp-block-navigation__responsive-container-open {
    color: var(--mdm-text);
  }
}

@media (max-width: 520px) {
  :root {
    --mdm-section: 34px;
    --mdm-gap: 12px;
  }

  .mdm-section,
  .mdm-section-tight {
    padding-left: 18px;
    padding-right: 18px;
  }

  .mdm-hero {
    min-height: 460px;
    padding-top: 78px;
    padding-bottom: 32px;
    padding-left: 18px;
    padding-right: 18px;
  }

  .mdm-display {
    font-size: clamp(2rem, 10vw, 3.15rem);
    line-height: 1;
    max-width: 11ch;
  }

  .mdm-lead {
    font-size: .98rem;
    line-height: 1.46;
    margin-bottom: .2rem;
  }

  .mdm-button-row,
  .mdm-form {
    flex-direction: column;
  }

  .mdm-button-row .wp-block-button,
  .mdm-button-row .wp-block-button__link,
  .mdm-form button {
    width: 100%;
  }

  .mdm-proof {
    padding: .85rem;
  }

  .mdm-proof-row {
    display: none;
  }

  .mdm-card-body {
    padding: .86rem;
  }

  .mdm-card h3 {
    font-size: 1.15rem;
    line-height: 1.12;
    margin: .25rem 0 .4rem;
  }

  .mdm-card p {
    font-size: .94rem;
    line-height: 1.42;
    margin-block: .45rem;
  }

  .mdm-featured img,
  .mdm-card img {
    max-height: 180px;
  }

  .mdm-heading {
    font-size: clamp(1.72rem, 8vw, 2.45rem);
  }

  .mdm-button-row {
    margin-top: 1rem;
  }

  .wp-block-button__link,
  .mdm-btn,
  .mdm-form input,
  .mdm-form button {
    min-height: 44px;
  }

  .mdm-footer .wp-block-columns {
    gap: 1rem;
  }

  .mdm-footer h2,
  .mdm-footer .has-h-3-font-size {
    font-size: 1.18rem !important;
    line-height: 1.15;
  }

  .mdm-footer ul {
    margin-block: .25rem;
    padding-left: 1.05rem;
  }

  .mdm-footer li {
    margin-bottom: .18rem;
  }

  .mdm-compact-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }

  .mdm-depth:hover img,
  .mdm-card:hover,
  .wp-block-button__link:hover,
  .mdm-btn:hover {
    transform: none;
  }
}
