/* ============================================================================
   WDM Canon Pages — shared stylesheet
   ----------------------------------------------------------------------------
   Loaded by every wdm-canon-* page template (about, services, industries,
   contact, thank-you, 404, and CPT singles). The home page (page-wdm-home.php)
   is self-contained for now; this file is the durable shared layer for
   everything else.
   ============================================================================ */

:root {
  --wdm-ink: #1d1d1d; --wdm-ink-deeper: #0d0d0d; --wdm-ink-medium: #2d2d2d;
  --wdm-ink-warm: #2a2318; --wdm-ink-soft: #3a3530; --wdm-ink-mid: #4a443e;
  --wdm-gold: #947f57; --wdm-gold-bronze: #6e5a3a; --wdm-gold-deep: #7d6a48;
  --wdm-gold-soft: #b8a67e; --wdm-gold-amber: #c9b690; --wdm-gold-pale: #e6dcc7;
  --wdm-cream: #f7f5f2; --wdm-cream-warm: #ede5d8; --wdm-cream-deep: #efeae3;
  --wdm-highlight: #fff8e6; --wdm-olive-tint: #807058;
  --wdm-text: #1a1a1a; --wdm-text-muted: #6b6b6b;
  --wdm-border: #e5e5e5; --wdm-border-strong: #c7c7c7; --wdm-border-warm: #d8cfbf;
  --wdm-white: #ffffff;
  --wdm-text-on-ink: #ffffff;
  --wdm-text-on-ink-secondary: rgba(255,255,255,0.82);
  --wdm-text-on-ink-muted: rgba(255,255,255,0.58);
  --font-body: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-mono: Consolas, 'Courier New', monospace;
  --easing: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset on canon-page bodies only — do not bleed into other pages */
.wdm-canon-page, .wdm-canon-page *, .wdm-canon-page *::before, .wdm-canon-page *::after {
  box-sizing: border-box;
}
.wdm-canon-page {
  font-family: var(--font-body);
  color: var(--wdm-text);
  background: var(--wdm-white);
  line-height: 1.65;
  margin: 0; padding: 0;
  overflow-x: hidden;
}
.wdm-canon-page img { max-width: 100%; height: auto; display: block; }

/* Mandatory text-on-surface contracts — no element can render ink-on-ink */
.wdm-section--ink, .wdm-section--ink * { color: var(--wdm-text-on-ink); }
.wdm-section--ink h1, .wdm-section--ink h2, .wdm-section--ink h3, .wdm-section--ink h4 { color: var(--wdm-white); }
.wdm-section--ink p, .wdm-section--ink li { color: var(--wdm-text-on-ink-secondary); }
.wdm-section--ink small, .wdm-section--ink .muted { color: var(--wdm-text-on-ink-muted); }
.wdm-section--ink a { color: var(--wdm-gold-soft); }
.wdm-section--ink a:hover { color: var(--wdm-gold-amber); }
.wdm-section--cream, .wdm-section--cream * { color: var(--wdm-text); }
.wdm-section--cream h1, .wdm-section--cream h2, .wdm-section--cream h3, .wdm-section--cream h4 { color: var(--wdm-ink); }
.wdm-section--white p, .wdm-section--white li { color: var(--wdm-text); }
.wdm-section--white h1, .wdm-section--white h2, .wdm-section--white h3, .wdm-section--white h4 { color: var(--wdm-ink); }

/* Eyebrow */
.wdm-eyebrow {
  font-size: 11px; letter-spacing: 6px; text-transform: uppercase;
  font-weight: 500; color: var(--wdm-gold); display: block; margin: 0 0 16px 0;
}
.wdm-section--ink .wdm-eyebrow { color: var(--wdm-gold-soft); }
.wdm-section--cream .wdm-eyebrow { color: var(--wdm-gold-bronze); }

/* Headings */
.wdm-canon-page h1 { font-size: clamp(40px, 6vw, 76px); font-weight: 700; letter-spacing: -1px; line-height: 1.05; margin: 0 0 24px 0; }
.wdm-canon-page h2 { font-size: clamp(28px, 4vw, 48px); font-weight: 700; letter-spacing: -0.4px; line-height: 1.15; margin: 0 0 20px 0; }
.wdm-canon-page h3 { font-size: clamp(22px, 2.5vw, 32px); font-weight: 700; letter-spacing: -0.2px; line-height: 1.2; margin: 0 0 16px 0; }
.wdm-canon-page h4 { font-size: clamp(18px, 1.5vw, 22px); font-weight: 700; line-height: 1.3; margin: 0 0 12px 0; }
.wdm-canon-page p { font-size: 17px; line-height: 1.65; margin: 0 0 20px 0; }
.wdm-canon-page p.lead { font-size: clamp(18px, 2vw, 22px); line-height: 1.5; }

/* Container */
.wdm-container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.wdm-container--narrow { max-width: 820px; padding: 0 32px; margin: 0 auto; }

/* Sections — generous canon padding */
.wdm-section { padding: clamp(72px, 10vh, 120px) 32px; }
.wdm-section--white { background: var(--wdm-white); }
.wdm-section--cream { background: var(--wdm-cream); border-top: 1px solid var(--wdm-border); border-bottom: 1px solid var(--wdm-border); }
.wdm-section--cream-warm { background: var(--wdm-cream-warm); border-top: 1px solid var(--wdm-border-warm); border-bottom: 1px solid var(--wdm-border-warm); }
.wdm-section--ink { background: var(--wdm-ink); }

/* Page hero — smaller than home hero, used on all interior pages */
.wdm-page-hero {
  position: relative;
  background:
    radial-gradient(circle at 25% 35%, rgba(148,127,87,0.12) 0%, transparent 40%),
    linear-gradient(135deg, #1d1d1d 0%, #2a2318 100%);
  border-bottom: 4px solid var(--wdm-gold);
  padding: clamp(80px, 12vh, 140px) 32px clamp(72px, 9vh, 100px);
}
.wdm-page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .04 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.5;
}
.wdm-page-hero__inner { position: relative; max-width: 1200px; margin: 0 auto; }
.wdm-page-hero__breadcrumb {
  font-size: 13px; color: var(--wdm-gold-soft); margin: 0 0 24px 0;
  letter-spacing: 0.3px; font-family: var(--font-mono);
}
.wdm-page-hero__breadcrumb a { color: var(--wdm-text-on-ink-muted); text-decoration: none; }
.wdm-page-hero__breadcrumb a:hover { color: var(--wdm-gold-soft); }
.wdm-page-hero__breadcrumb .sep { margin: 0 8px; color: var(--wdm-gold); }
.wdm-page-hero h1 {
  color: var(--wdm-white); max-width: 18ch; margin-bottom: 24px;
  font-size: clamp(40px, 6vw, 72px);
}
.wdm-page-hero__subtitle {
  color: var(--wdm-text-on-ink-secondary);
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.5; max-width: 60ch; font-weight: 300;
  margin: 0 0 32px 0;
}
.wdm-page-hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }

/* Buttons */
.wdm-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-size: 16px; font-weight: 500;
  letter-spacing: 0.3px; padding: 14px 28px; border-radius: 4px;
  border: 1px solid transparent; text-decoration: none !important;
  cursor: pointer; min-height: 48px;
  transition: all 200ms var(--easing);
}
.wdm-btn--primary { background: var(--wdm-ink); border-color: var(--wdm-ink); color: var(--wdm-white) !important; }
.wdm-btn--primary:hover { background: var(--wdm-gold); border-color: var(--wdm-gold); color: var(--wdm-white) !important; }
.wdm-btn--secondary { background: transparent; border: 1.5px solid var(--wdm-gold); color: var(--wdm-ink) !important; }
.wdm-btn--secondary:hover { background: var(--wdm-gold); border-color: var(--wdm-gold); color: var(--wdm-white) !important; }
.wdm-btn--inverse-primary { background: var(--wdm-white); border-color: var(--wdm-white); color: var(--wdm-ink) !important; }
.wdm-btn--inverse-primary:hover { background: var(--wdm-gold); border-color: var(--wdm-gold); color: var(--wdm-white) !important; }
.wdm-btn--inverse-secondary { background: transparent; border: 1.5px solid var(--wdm-gold-soft); color: var(--wdm-white) !important; }
.wdm-btn--inverse-secondary:hover { background: var(--wdm-gold); border-color: var(--wdm-gold); color: var(--wdm-white) !important; }
.wdm-btn--ghost { background: transparent; border: none; padding: 10px 4px; min-height: auto; color: var(--wdm-ink) !important; }
.wdm-btn--ghost:hover { color: var(--wdm-gold) !important; text-decoration: underline !important; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.wdm-section--ink .wdm-btn--ghost { color: var(--wdm-gold-soft) !important; }
.wdm-section--ink .wdm-btn--ghost:hover { color: var(--wdm-gold-amber) !important; }

/* Cards — reusable across pages */
.wdm-card {
  background: var(--wdm-white); border: 1px solid var(--wdm-border);
  border-radius: 4px; padding: 28px;
  display: flex; flex-direction: column; gap: 14px;
  text-decoration: none !important; color: inherit;
  transition: border-color 250ms var(--easing), background-color 250ms var(--easing);
}
.wdm-card:hover { border-color: var(--wdm-gold); background: var(--wdm-cream); }
.wdm-card__num { font-family: var(--font-mono); font-size: 12px; color: var(--wdm-text-muted); letter-spacing: 1px; }
.wdm-card__title { font-size: 19px; font-weight: 700; color: var(--wdm-ink); line-height: 1.3; margin: 0; }
.wdm-card__desc { font-size: 14px; color: var(--wdm-text-muted); line-height: 1.6; margin: 0; flex-grow: 1; }
.wdm-card__cta { font-size: 13px; font-weight: 500; color: var(--wdm-gold); letter-spacing: 0.3px; text-transform: uppercase; margin-top: auto; display: inline-flex; align-items: center; gap: 6px; }
.wdm-card__cta::after { content: "\2192"; transition: transform 250ms var(--easing); }
.wdm-card:hover .wdm-card__cta::after { transform: translateX(4px); }

/* On dark surfaces */
.wdm-section--ink .wdm-card {
  background: rgba(255,255,255,0.03); border-color: rgba(255,255,255,0.10);
  color: var(--wdm-white);
}
.wdm-section--ink .wdm-card:hover { background: rgba(148,127,87,0.06); border-color: var(--wdm-gold); }
.wdm-section--ink .wdm-card__title { color: var(--wdm-white); }
.wdm-section--ink .wdm-card__desc { color: var(--wdm-text-on-ink-secondary); }
.wdm-section--ink .wdm-card__num { color: var(--wdm-gold-soft); }
.wdm-section--ink .wdm-card__cta { color: var(--wdm-gold-soft); }

/* Grid utilities */
.wdm-grid { display: grid; gap: 16px; }
.wdm-grid--2 { grid-template-columns: repeat(1, 1fr); }
.wdm-grid--3 { grid-template-columns: repeat(1, 1fr); }
.wdm-grid--4 { grid-template-columns: repeat(1, 1fr); }
@media (min-width: 600px) {
  .wdm-grid--2, .wdm-grid--3, .wdm-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .wdm-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .wdm-grid--4 { grid-template-columns: repeat(4, 1fr); }
}
.wdm-grid--seamless { gap: 1px; background: var(--wdm-border); border: 1px solid var(--wdm-border); border-radius: 4px; overflow: hidden; }
.wdm-grid--seamless .wdm-card { background: var(--wdm-white); border: 0; border-radius: 0; }
.wdm-grid--seamless .wdm-card:hover { background: var(--wdm-cream); }

/* Section head — eyebrow + h2 + meta paragraph in two-col */
.wdm-section-head {
  max-width: 1200px; margin: 0 auto 56px auto;
  display: grid; grid-template-columns: 1fr; gap: 24px;
}
@media (min-width: 900px) { .wdm-section-head { grid-template-columns: 1.1fr 0.9fr; align-items: end; } }
.wdm-section-head h2 { max-width: 18ch; }
.wdm-section-head__meta { font-size: 16px; line-height: 1.6; }
.wdm-section--white .wdm-section-head__meta, .wdm-section--cream .wdm-section-head__meta { color: var(--wdm-text-muted); }
.wdm-section--ink .wdm-section-head__meta { color: var(--wdm-text-on-ink-secondary); }

/* Callout + highlight (canon) */
.wdm-callout {
  background: var(--wdm-cream); border-left: 4px solid var(--wdm-gold);
  padding: 16px 20px; margin: 16px 0; font-size: 16px;
  border-radius: 0 4px 4px 0; color: var(--wdm-text);
}
.wdm-highlight {
  background: var(--wdm-highlight); border: 1px solid var(--wdm-gold);
  padding: 16px 20px; margin: 16px 0; font-size: 16px;
  border-radius: 4px; color: var(--wdm-text-on-highlight);
}

/* Content body — for narrative pages */
.wdm-content { max-width: 820px; margin: 0 auto; }
.wdm-content p { font-size: 17px; line-height: 1.65; }
.wdm-content > * + * { margin-top: 20px; }
.wdm-content h2 { margin: 56px 0 16px 0; }
.wdm-content h3 { margin: 40px 0 12px 0; }
.wdm-content ul, .wdm-content ol { padding-left: 24px; font-size: 17px; line-height: 1.65; }
.wdm-content li { margin-bottom: 8px; }
.wdm-content strong { color: var(--wdm-ink); font-weight: 700; }
.wdm-content em.wdm-key { color: var(--wdm-gold); font-style: normal; font-weight: 700; }

/* Final CTA strip — used across pages */
.wdm-final-cta {
  background:
    radial-gradient(circle at 30% 50%, rgba(148,127,87,0.15) 0%, transparent 50%),
    var(--wdm-ink);
  color: var(--wdm-white);
  padding: clamp(80px, 12vh, 140px) 32px;
  border-top: 4px solid var(--wdm-gold); border-bottom: 4px solid var(--wdm-gold);
  text-align: center;
}
.wdm-final-cta__inner { max-width: 820px; margin: 0 auto; }
.wdm-final-cta h2 {
  color: var(--wdm-white); font-size: clamp(34px, 5vw, 60px);
  letter-spacing: -1.2px; line-height: 1.05; margin: 0 0 20px 0;
}
.wdm-final-cta h2 em { font-style: normal; color: var(--wdm-gold-soft); }
.wdm-final-cta p { color: var(--wdm-text-on-ink-secondary); font-size: 17px; max-width: 56ch; margin: 0 auto 32px auto; }
.wdm-final-cta__ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* Animations + reduced motion */
@media (prefers-reduced-motion: no-preference) {
  .wdm-page-hero h1, .wdm-page-hero__subtitle, .wdm-page-hero__ctas {
    animation: wdmFadeUp 700ms var(--easing) both;
  }
  .wdm-page-hero__subtitle { animation-delay: 100ms; }
  .wdm-page-hero__ctas { animation-delay: 200ms; }
  @keyframes wdmFadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
}

/* WCAG AA — clean cascade. Light surfaces default first (low specificity),
   dark-section overrides come AFTER and have HIGHER specificity (.wdm-card subselector). */

/* Light defaults — apply to every wdm-card in canon-page templates */
.wdm-canon-page .wdm-card__num { color: var(--wdm-gold-bronze) !important; }
.wdm-canon-page .wdm-card__desc { color: var(--wdm-text) !important; }
.wdm-canon-page .wdm-card__cta { color: var(--wdm-gold-bronze) !important; }
.wdm-canon-page .wdm-card:hover .wdm-card__cta { color: var(--wdm-ink) !important; }

/* Dark surface overrides — higher specificity wins (4 classes vs 2) */
.wdm-canon-page .wdm-section--ink .wdm-industries-grid .wdm-card .wdm-card__num,
.wdm-canon-page .wdm-section--dark .wdm-industries-grid .wdm-card .wdm-card__num,
.wdm-canon-page .wdm-section--ink .wdm-card .wdm-card__num,
.wdm-canon-page .wdm-section--dark .wdm-card .wdm-card__num {
  color: var(--wdm-gold-soft) !important;
}
.wdm-canon-page .wdm-section--ink .wdm-industries-grid .wdm-card .wdm-card__desc,
.wdm-canon-page .wdm-section--dark .wdm-industries-grid .wdm-card .wdm-card__desc,
.wdm-canon-page .wdm-section--ink .wdm-card .wdm-card__desc,
.wdm-canon-page .wdm-section--dark .wdm-card .wdm-card__desc {
  color: rgba(255,255,255,0.85) !important;
}
.wdm-canon-page .wdm-section--ink .wdm-industries-grid .wdm-card .wdm-card__cta,
.wdm-canon-page .wdm-section--dark .wdm-industries-grid .wdm-card .wdm-card__cta,
.wdm-canon-page .wdm-section--ink .wdm-card .wdm-card__cta,
.wdm-canon-page .wdm-section--dark .wdm-card .wdm-card__cta {
  color: var(--wdm-gold-soft) !important;
}
.wdm-canon-page .wdm-section--ink .wdm-card .wdm-card__title,
.wdm-canon-page .wdm-section--dark .wdm-card .wdm-card__title {
  color: var(--wdm-white) !important;
}

/* WCAG AA — eyebrow on cream-warm needs gold-bronze (4.5+:1) not gold-deep (4.17:1) */
.wdm-canon-page .wdm-section--cream .wdm-eyebrow,
.wdm-canon-page .wdm-section--cream-warm .wdm-eyebrow,
.wdm-canon-page .wdm-pricing .wdm-eyebrow,
.wdm-canon-page .wdm-section-head .wdm-eyebrow {
  color: var(--wdm-gold-bronze) !important;
}

/* Service Schema description override — drop the £X,XXX placeholder from the
   structured data, replaced inline by hooks. (handled in wdm-meta.php) */

/* ============================================================================
   PROSE TYPOGRAPHY for the_content() — render WP body content beautifully
   when single-services.php / single-industry.php fall into the .wdm-content
   block. (Added 2026-05-07 to prepare for deep pillar/industry body content.)
   ============================================================================ */

.wdm-canon-page .wdm-content {
  max-width: 860px;
  margin: 64px auto 0;
  padding: 0 8px;
  font-size: 18px;
  line-height: 1.75;
  color: var(--wdm-text);
}
.wdm-canon-page .wdm-content > h2 {
  font-size: clamp(22px, 2.4vw, 30px);
  margin: 56px 0 16px;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--wdm-ink);
}
.wdm-canon-page .wdm-content > h2:first-child { margin-top: 0; }
.wdm-canon-page .wdm-content > h2 + p { margin-top: 0; }
.wdm-canon-page .wdm-content > h3 {
  font-size: clamp(18px, 1.8vw, 22px);
  margin: 36px 0 10px;
  color: var(--wdm-ink);
}
.wdm-canon-page .wdm-content > p {
  margin: 0 0 22px;
  font-size: 18px;
  line-height: 1.75;
}
.wdm-canon-page .wdm-content > p:has(+ ul),
.wdm-canon-page .wdm-content > p:has(+ ol) {
  margin-bottom: 14px;
}
.wdm-canon-page .wdm-content > ul,
.wdm-canon-page .wdm-content > ol {
  margin: 16px 0 28px;
  padding-left: 28px;
}
.wdm-canon-page .wdm-content > ul > li,
.wdm-canon-page .wdm-content > ol > li {
  margin: 0 0 10px;
  line-height: 1.65;
  font-size: 17px;
}
.wdm-canon-page .wdm-content > ul > li::marker {
  color: var(--wdm-gold-deep);
}
.wdm-canon-page .wdm-content blockquote {
  margin: 32px 0;
  padding: 22px 26px;
  border-left: 4px solid var(--wdm-gold);
  background: var(--wdm-cream);
  font-style: italic;
  font-size: 19px;
  line-height: 1.55;
  color: var(--wdm-ink);
}
.wdm-canon-page .wdm-content blockquote p { margin: 0; }
.wdm-canon-page .wdm-content blockquote cite {
  display: block;
  margin-top: 12px;
  font-style: normal;
  font-size: 13px;
  color: var(--wdm-text-muted);
  letter-spacing: 0.4px;
}
.wdm-canon-page .wdm-content strong {
  font-weight: 700;
  color: var(--wdm-ink);
}
.wdm-canon-page .wdm-content em {
  font-style: italic;
  color: var(--wdm-ink);
}
.wdm-canon-page .wdm-content > p > a,
.wdm-canon-page .wdm-content > ul a,
.wdm-canon-page .wdm-content > ol a {
  color: var(--wdm-ink);
  text-decoration: none;
  background-image: linear-gradient(var(--wdm-gold-deep), var(--wdm-gold-deep));
  background-size: 100% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  padding-bottom: 1px;
  transition: background-size 220ms var(--easing), color 220ms var(--easing);
}
.wdm-canon-page .wdm-content > p > a:hover,
.wdm-canon-page .wdm-content > ul a:hover {
  color: var(--wdm-gold-deep);
}
.wdm-canon-page .wdm-content > h2 + h3 {
  margin-top: 8px;
}

/* Stop/Start contrast — Hormozi pattern */
.wdm-canon-page .wdm-content .wdm-stop-start {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 32px 0;
  padding: 0;
  list-style: none;
}
.wdm-canon-page .wdm-content .wdm-stop-start li {
  margin: 0;
  padding: 18px 22px;
  font-size: 16px;
  line-height: 1.5;
  border-radius: 4px;
}
.wdm-canon-page .wdm-content .wdm-stop-start li.stop {
  background: var(--wdm-cream);
  border-left: 3px solid #c2655a;
  color: var(--wdm-text);
}
.wdm-canon-page .wdm-content .wdm-stop-start li.start {
  background: var(--wdm-highlight);
  border-left: 3px solid var(--wdm-gold);
  color: var(--wdm-ink);
  font-weight: 500;
}
.wdm-canon-page .wdm-content .wdm-stop-start li::marker { display: none; }
.wdm-canon-page .wdm-content .wdm-stop-start li::before {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--wdm-gold-bronze);
  margin-bottom: 6px;
  font-weight: 600;
}
.wdm-canon-page .wdm-content .wdm-stop-start li.stop::before { content: "Stop"; color: #b04030; }
.wdm-canon-page .wdm-content .wdm-stop-start li.start::before { content: "Start"; color: var(--wdm-gold-deep); }
@media (max-width: 720px) {
  .wdm-canon-page .wdm-content .wdm-stop-start { grid-template-columns: 1fr; }
}

/* Q+A within prose */
.wdm-canon-page .wdm-content .wdm-qa {
  margin: 28px 0;
  padding: 18px 22px 8px;
  background: var(--wdm-cream);
  border-radius: 4px;
  border-left: 3px solid var(--wdm-gold-deep);
}
.wdm-canon-page .wdm-content .wdm-qa h4 {
  font-size: 16px;
  margin: 0 0 8px;
  color: var(--wdm-ink);
  font-weight: 700;
}
.wdm-canon-page .wdm-content .wdm-qa p {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.6;
}

/* Figure + caption (for embedded photos) */
.wdm-canon-page .wdm-figure,
.wdm-canon-page .wdm-content figure {
  margin: 32px 0;
  text-align: center;
}
.wdm-canon-page .wdm-figure img,
.wdm-canon-page .wdm-content figure img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  display: block;
}
.wdm-canon-page .wdm-figure figcaption,
.wdm-canon-page .wdm-content figcaption {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--wdm-gold-bronze);
  margin-top: 8px;
}

/* ============================================================================
   AUTO TABLE OF CONTENTS — auto-generated for long pillar/industry/case bodies
   ============================================================================ */
.wdm-canon-page .wdm-content .wdm-toc {
  background: var(--wdm-cream);
  border-left: 3px solid var(--wdm-gold);
  padding: 22px 26px;
  margin: 0 0 40px;
  border-radius: 4px;
}
.wdm-canon-page .wdm-content .wdm-toc__heading {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--wdm-gold-bronze);
  font-weight: 600;
  margin-bottom: 10px;
}
.wdm-canon-page .wdm-content .wdm-toc__list {
  list-style: decimal;
  padding-left: 22px;
  margin: 0;
  color: var(--wdm-text);
}
.wdm-canon-page .wdm-content .wdm-toc__list li {
  margin: 6px 0;
  font-size: 15px;
  line-height: 1.5;
}
.wdm-canon-page .wdm-content .wdm-toc__list li::marker {
  color: var(--wdm-gold-bronze);
  font-family: var(--font-mono);
  font-size: 12px;
}
.wdm-canon-page .wdm-content .wdm-toc__link {
  color: var(--wdm-ink) !important;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  background: none !important;
  padding-bottom: 1px;
  transition: color 200ms var(--easing), border-color 200ms var(--easing);
}
.wdm-canon-page .wdm-content .wdm-toc__link:hover {
  color: var(--wdm-gold-deep) !important;
  border-bottom-color: var(--wdm-gold-deep);
}
