/* ==========================================================================
   DVMReady Content Modern — Unified design system for blog, guides,
   international pathway, and all content pages.
   ========================================================================== */

/* ─── Design Tokens ─── */
:root {
  --cm-cream: #F7F5F0;
  --cream-dark: #EDE9E0;
  --cream-light: #F0F7F6;
  --cm-white: #FFFFFF;
  --white-soft: #FAFAF8;
  --cm-teal: #0D7377;
  --teal-light: #149C9A;
  --teal-muted: rgba(13, 115, 119, 0.08);
  --teal-text: #0f766e;
  --cm-ink: #1A1A1A;
  --ink-soft: #58676B;
  --ink-muted: #9CA3AF;
  --divider: #E2E0DA;
  --divider-strong: #D5D3CD;
  --success: #16A34A;
  --success-muted: rgba(22, 163, 74, 0.08);
  --warning: #E8A838;
  --warning-muted: rgba(232, 168, 56, 0.08);
  --danger: #DC2626;
  --danger-muted: rgba(220, 38, 38, 0.08);
  --info: #3B82F6;
  --info-muted: rgba(59, 130, 246, 0.08);

  --radius-xl: 22px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 10px;
  --radius-xs: 8px;

  --shadow-sm: 0 2px 8px rgba(28, 39, 41, 0.06);
  --shadow-md: 0 4px 16px rgba(28, 39, 41, 0.08);
  --shadow-lg: 0 12px 32px rgba(28, 39, 41, 0.10);
  --shadow-hover: 0 8px 28px rgba(28, 39, 41, 0.12);

  --container-max: 1200px;
  --container-narrow: 800px;
  --font-body: 'Manrope', system-ui, sans-serif;
  --font-mono: 'DM Mono', monospace;
}

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

html { scroll-behavior: smooth; }

body.cm-page {
  margin: 0;
  color: var(--cm-ink);
  font-family: var(--font-body);
  line-height: 1.6;
  background: var(--cm-cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--cm-teal); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(13, 115, 119, 0.35);
  outline-offset: 3px;
}

/* ─── Container ─── */
.cm-container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.cm-container--narrow {
  max-width: var(--container-narrow);
}

/* ─── Glass Header ─── */
.cm-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 14px 16px 0;
}

.cm-header__bar {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 16px;
  border: 1px solid rgba(20,33,47,0.10);
  background: rgba(255,252,248,0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 18px rgba(20,33,47,0.04);
  border-radius: var(--radius-xl);
}

.cm-header__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
  color: inherit;
}

.cm-header__brand img {
  height: 40px;
  width: auto;
}

.cm-header__nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.cm-header__nav a {
  border-radius: 14px;
  padding: 10px 14px;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  transition: background .15s ease, color .15s ease;
}

.cm-header__nav a:hover {
  background: rgba(13,115,119,0.06);
  color: var(--cm-ink);
  text-decoration: none;
}

.cm-header__cta {
  margin-left: 6px;
  padding: 10px 18px;
  min-height: 40px;
  border-radius: 14px;
  font-size: 0.9rem;
  font-weight: 700;
  background: var(--cm-ink);
  color: #fffdf9;
  text-decoration: none;
  transition: background .15s ease, transform .15s ease;
}

.cm-header__cta:hover {
  background: #2a3a3c;
  text-decoration: none;
  transform: translateY(-1px);
}

.cm-header__menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 44px; height: 44px;
  border: 1px solid rgba(28,39,41,0.10);
  border-radius: 14px;
  background: rgba(255,255,255,0.88);
  padding: 0 12px;
  cursor: pointer;
}

.cm-header__menu-btn span {
  display: block; width: 100%; height: 2px;
  border-radius: 999px; background: var(--cm-ink);
}

/* ─── Hero ─── */
.cm-hero {
  padding: 140px 0 64px;
  background: linear-gradient(135deg, #F0F7F6 0%, #F7F5F0 50%, #EDE9E0 100%);
}

.cm-hero--compact {
  padding: 120px 0 48px;
}

.cm-hero__inner {
  display: grid;
  gap: 40px;
  align-items: start;
}

.cm-hero__copy {
  min-width: 0;
}

@media (min-width: 1024px) {
  .cm-hero__inner {
    grid-template-columns: 1fr 380px;
  }
}

.cm-hero__eyebrow {
  display: inline-block;
  margin: 0 0 12px;
  color: var(--cm-teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cm-hero__title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.1;
  font-weight: 800;
  color: var(--cm-ink);
  margin: 0 0 18px;
  letter-spacing: -0.02em;
}

.cm-hero__lede {
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0 0 16px;
  max-width: 640px;
}

.cm-hero__support {
  font-size: 0.92rem;
  color: var(--ink-muted);
  margin: 0 0 24px;
}

.cm-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.cm-btn:hover { text-decoration: none; transform: translateY(-2px); }

.cm-btn--primary {
  background: var(--cm-ink);
  color: var(--cm-white);
  box-shadow: var(--shadow-sm);
}

.cm-btn--primary:hover {
  background: #2a3a3c;
  box-shadow: var(--shadow-md);
}

.cm-btn--secondary {
  background: var(--cm-white);
  color: var(--cm-ink);
  border: 1px solid var(--divider);
  box-shadow: var(--shadow-sm);
}

.cm-btn--secondary:hover {
  border-color: var(--divider-strong);
  box-shadow: var(--shadow-md);
}

.cm-btn--teal {
  background: var(--cm-teal);
  color: var(--cm-white);
  box-shadow: var(--shadow-sm);
}

.cm-btn--teal:hover {
  background: var(--teal-light);
  box-shadow: var(--shadow-md);
}

.cm-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.cm-button:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

.cm-button--primary {
  background: var(--cm-ink);
  color: var(--cm-white);
  box-shadow: var(--shadow-sm);
}

.cm-button--primary:hover {
  background: #2a3a3c;
  box-shadow: var(--shadow-md);
}

/* ─── Summary Card (hero sidebar) ─── */
.cm-summary-card {
  background: var(--cm-white);
  border: 1px solid var(--divider);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
}

.cm-summary-card__kicker {
  margin: 0 0 16px;
  color: var(--cm-teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cm-summary-list {
  display: grid;
  gap: 16px;
}

.cm-summary-item {
  border-top: 1px solid var(--divider);
  padding-top: 16px;
}

.cm-summary-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.cm-summary-item__label {
  display: block;
  margin-bottom: 6px;
  color: var(--ink-muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cm-summary-item__title {
  display: block;
  margin-bottom: 6px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--cm-ink);
}

.cm-summary-item__desc {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ─── Section ─── */
.cm-section {
  padding: 64px 0;
}

.cm-section--alt {
  background: var(--white-soft);
}

.cm-section__header {
  margin-bottom: 40px;
}

.cm-section__kicker {
  margin: 0 0 10px;
  color: var(--cm-teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cm-eyebrow,
.cm-kicker {
  margin: 0 0 10px;
  color: var(--cm-teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cm-section__title {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  line-height: 1.15;
  font-weight: 800;
  color: var(--cm-ink);
  margin: 0 0 14px;
}

.cm-section__desc {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 720px;
  margin: 0;
  line-height: 1.6;
}

/* ─── Card Grid ─── */
.cm-grid {
  display: grid;
  gap: 20px;
}

.cm-grid--2 { grid-template-columns: repeat(2, 1fr); }
.cm-grid--3 { grid-template-columns: repeat(3, 1fr); }
.cm-grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1023px) {
  .cm-grid--3, .cm-grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 639px) {
  .cm-grid--2, .cm-grid--3, .cm-grid--4 { grid-template-columns: 1fr; }
}

.cm-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  background: var(--cm-white);
  border: 1px solid var(--divider);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .25s ease, border-color .25s ease, transform .2s ease;
  text-decoration: none;
  color: inherit;
}

.cm-card:hover {
  border-color: var(--divider-strong);
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
  text-decoration: none;
}

.cm-card__icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: var(--teal-muted);
  color: var(--cm-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
}

.cm-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--cm-ink);
  margin: 0;
  line-height: 1.3;
}

.cm-card__text {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* ─── Article / Blog ─── */
.cm-article {
  padding: 140px 0 80px;
}

.cm-article__header {
  max-width: 760px;
  margin: 0 auto 48px;
}

.cm-article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
  color: var(--ink-muted);
  font-size: 0.88rem;
}

.cm-article__meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cm-article__title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.12;
  font-weight: 800;
  color: var(--cm-ink);
  margin: 0 0 18px;
}

.cm-article__lede {
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0;
}

.cm-article__labels {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.cm-article__body {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--cm-ink);
}

.cm-article__body h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--cm-ink);
  margin: 48px 0 16px;
  line-height: 1.25;
}

.cm-article__body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--cm-ink);
  margin: 32px 0 12px;
}

.cm-article__body p {
  margin: 0 0 18px;
}

.cm-article__body ul,
.cm-article__body ol {
  margin: 0 0 20px;
  padding-left: 24px;
}

.cm-article__body li {
  margin-bottom: 8px;
}

.cm-article__body a {
  color: var(--cm-teal);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cm-article__body a:hover {
  color: var(--teal-light);
}

.cm-article__body img {
  border-radius: var(--radius-md);
  margin: 24px 0;
  box-shadow: var(--shadow-md);
}

.cm-article__body blockquote {
  margin: 24px 0;
  padding: 20px 24px;
  border-left: 4px solid var(--cm-teal);
  background: var(--teal-muted);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--ink-soft);
}

.cm-article__body code {
  font-family: var(--font-mono);
  background: var(--cream-dark);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
}

/* ─── Callout Boxes ─── */
.cm-callout {
  margin: 24px 0;
  padding: 20px 24px;
  border-radius: var(--radius-md);
  border: 1px solid;
  font-size: 0.98rem;
  line-height: 1.6;
}

.cm-callout--tip {
  background: var(--success-muted);
  border-color: rgba(22, 163, 74, 0.2);
  color: #14532d;
}

.cm-callout--warning {
  background: var(--warning-muted);
  border-color: rgba(232, 168, 56, 0.2);
  color: #713f12;
}

.cm-callout--danger {
  background: var(--danger-muted);
  border-color: rgba(220, 38, 38, 0.2);
  color: #7f1d1d;
}

.cm-callout--info {
  background: var(--info-muted);
  border-color: rgba(59, 130, 246, 0.2);
  color: #1e3a8a;
}

.cm-callout__label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.cm-callout p:last-child { margin-bottom: 0; }

/* ─── Step Cards (guides) ─── */
.cm-step {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: var(--cm-white);
  border: 1px solid var(--divider);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  margin-bottom: 16px;
}

.cm-step__num {
  flex-shrink: 0;
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--cm-teal);
  color: var(--cm-white);
  font-weight: 800;
  font-size: 1rem;
}

.cm-step__content h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  font-weight: 700;
}

.cm-step__content p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* ─── Tables ─── */
.cm-table-wrap {
  overflow-x: auto;
  margin: 24px 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--divider);
}

.cm-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--cm-white);
  font-size: 0.95rem;
}

.cm-table th {
  background: var(--cm-ink);
  color: var(--cm-white);
  padding: 14px 16px;
  text-align: left;
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cm-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--divider);
  color: var(--ink-soft);
}

.cm-table tr:last-child td { border-bottom: none; }

.cm-table tr:hover td { background: var(--cream-light); }

/* ─── Breadcrumbs ─── */
.cm-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.cm-breadcrumbs a {
  color: var(--cm-teal);
  text-decoration: none;
}

.cm-breadcrumbs a:hover { text-decoration: underline; }

.cm-breadcrumbs [aria-current="page"] {
  color: var(--cm-ink);
  font-weight: 700;
}

/* ─── Topic Nav ─── */
.cm-topic-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.cm-topic-nav a {
  display: inline-block;
  padding: 8px 16px;
  background: var(--cm-white);
  border: 1px solid var(--divider);
  border-radius: var(--radius-xs);
  color: var(--cm-teal);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  transition: background .15s ease;
}

.cm-topic-nav a:hover {
  background: var(--cream-light);
  text-decoration: none;
}

/* ─── Blog Listing ─── */
.cm-blog-section {
  margin-bottom: 48px;
}

.cm-blog-section__title {
  font-size: 1.35rem;
  color: var(--cm-ink);
  margin: 0 0 18px;
  font-weight: 700;
}

.cm-blog-list {
  display: grid;
  gap: 24px;
}

.cm-blog-card {
  display: flex;
  flex-direction: column;
  background: var(--cm-white);
  border: 1px solid var(--divider);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .25s ease, transform .2s ease;
  text-decoration: none;
  color: inherit;
}

.cm-blog-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
  text-decoration: none;
}

.cm-blog-card__thumb {
  height: 180px;
  background: linear-gradient(135deg, var(--cream-light) 0%, var(--cream-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-muted);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.cm-blog-card__body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.cm-blog-card__tag {
  display: inline-block;
  width: fit-content;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--teal-muted);
  color: var(--cm-teal);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.cm-blog-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--cm-ink);
  margin: 0;
  line-height: 1.3;
}

.cm-blog-card__excerpt {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.5;
  flex: 1;
}

.cm-blog-card__meta {
  display: flex;
  gap: 12px;
  color: var(--ink-muted);
  font-size: 0.82rem;
}

.cm-blog-card__labels {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cm-blog-card__desc {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.5;
}

.cm-label {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--teal-muted);
  color: var(--cm-teal);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ─── Author Card ─── */
.cm-author {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 24px;
  background: var(--cm-white);
  border: 1px solid var(--divider);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin-top: 48px;
}

.cm-author__avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--teal-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cm-teal);
  font-weight: 800;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.cm-author__name {
  font-weight: 700;
  color: var(--cm-ink);
  margin: 0 0 4px;
}

.cm-author__role {
  color: var(--ink-muted);
  font-size: 0.88rem;
  margin: 0;
}

.cm-author__info {
  display: grid;
  gap: 4px;
}

/* ─── Table of Contents ─── */
.cm-toc {
  margin: 24px 0 32px;
  padding: 20px 24px;
  background: var(--cm-white);
  border: 1px solid var(--divider);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.cm-toc h2 {
  font-size: 1.1rem;
  margin: 0 0 14px;
  color: var(--cm-ink);
}

.cm-toc ul {
  margin: 0;
  padding: 0 0 0 18px;
  color: var(--ink-soft);
}

.cm-toc li {
  margin-bottom: 6px;
  line-height: 1.5;
}

.cm-toc a {
  color: var(--cm-teal);
  text-decoration: none;
  font-size: 0.95rem;
}

.cm-toc a:hover { text-decoration: underline; }

/* ─── FAQ ─── */
.cm-faq {
  margin: 32px 0;
}

.cm-faq h2 {
  font-size: 1.35rem;
  margin-bottom: 16px;
}

.cm-faq__item {
  margin-bottom: 12px;
  border: 1px solid var(--divider);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--cm-white);
}

.cm-faq__item summary {
  padding: 14px 18px;
  font-weight: 600;
  color: var(--cm-ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cm-faq__item summary::-webkit-details-marker { display: none; }

.cm-faq__item summary::after {
  content: '+';
  font-size: 1.2rem;
  color: var(--cm-teal);
  font-weight: 400;
}

.cm-faq__item details[open] summary::after { content: '\2212'; }

.cm-faq__answer {
  padding: 0 18px 14px;
  color: var(--ink-soft);
  line-height: 1.65;
}

.cm-faq__answer p { margin: 0; }

/* ─── Related Posts / Tools ─── */
.cm-related {
  margin: 40px 0 24px;
  padding-top: 24px;
  border-top: 1px solid var(--divider);
}

.cm-related h2 {
  font-size: 1.25rem;
  margin: 0 0 16px;
  color: var(--cm-ink);
}

.cm-related__grid {
  display: grid;
  gap: 16px;
}

.cm-related__grid a {
  display: block;
  padding: 16px 18px;
  background: var(--cm-white);
  border: 1px solid var(--divider);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: inherit;
  transition: box-shadow .2s ease;
}

.cm-related__grid a:hover {
  box-shadow: var(--shadow-md);
}

.cm-related__grid a strong {
  display: block;
  color: var(--cm-ink);
  font-size: 0.98rem;
  margin-bottom: 4px;
}

.cm-related__grid a span {
  color: var(--ink-soft);
  font-size: 0.85rem;
}

/* ─── CTA Box ─── */
.cm-cta-box {
  margin: 32px 0;
  padding: 22px 24px;
  background: linear-gradient(135deg, var(--cream-light) 0%, var(--teal-muted) 100%);
  border: 1px solid rgba(13, 115, 119, 0.12);
  border-radius: var(--radius-md);
}

.cm-cta-box p {
  margin: 0 0 14px;
  color: var(--cm-ink);
}

.cm-cta-box a {
  display: inline-block;
  background: var(--cm-teal);
  color: var(--cm-white);
  text-decoration: none;
  padding: 10px 20px;
  border-radius: var(--radius-xs);
  font-weight: 600;
  font-size: 0.95rem;
}

.cm-cta-box a:hover {
  background: var(--teal-light);
  text-decoration: none;
}

/* ─── Next Step Box ─── */
.cm-next-step {
  margin: 32px 0;
  padding: 22px 24px;
  background: var(--cm-ink);
  border-radius: var(--radius-md);
  color: var(--cm-white);
}

.cm-next-step h3 {
  font-size: 1.15rem;
  margin: 0 0 8px;
  color: var(--cm-white);
}

.cm-next-step p {
  margin: 0 0 14px;
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
}

.cm-next-step a {
  display: inline-block;
  background: var(--cm-teal);
  color: var(--cm-white);
  text-decoration: none;
  padding: 10px 20px;
  border-radius: var(--radius-xs);
  font-weight: 600;
  font-size: 0.95rem;
}

.cm-next-step a:hover {
  background: var(--teal-light);
  text-decoration: none;
}

/* ─── Disclaimer Box ─── */
.cm-disclaimer {
  margin: 24px 0;
  padding: 16px 18px;
  background: var(--warning-muted);
  border: 1px solid rgba(232, 168, 56, 0.2);
  border-radius: var(--radius-sm);
  color: #713f12;
  font-size: 0.9rem;
  line-height: 1.6;
}

.cm-disclaimer strong { color: #3d2f0f; }

.disclaimer-box {
  margin: 24px 0;
  padding: 16px 18px;
  background: var(--warning-muted);
  border: 1px solid rgba(232, 168, 56, 0.2);
  border-radius: var(--radius-sm);
  color: #713f12;
  font-size: 0.9rem;
  line-height: 1.6;
}

.disclaimer-box strong {
  color: #3d2f0f;
}

/* ─── Official Sources ─── */
.cm-official {
  margin: 24px 0;
  padding: 16px 18px;
  background: var(--cm-white);
  border: 1px solid var(--divider);
  border-radius: var(--radius-sm);
}

.cm-official h3 {
  font-size: 1.05rem;
  margin: 0 0 10px;
  color: var(--cm-ink);
}

.cm-official ul {
  margin: 0;
  padding: 0 0 0 20px;
  color: var(--ink-soft);
}

.cm-official li {
  margin-bottom: 6px;
  line-height: 1.5;
}

.cm-official a {
  color: var(--cm-teal);
  text-decoration: none;
}

.cm-official a:hover { text-decoration: underline; }

/* ─── Newsletter Box ─── */
.cm-newsletter {
  margin: 32px 0;
  padding: 22px 24px;
  background: var(--cm-white);
  border: 1px solid var(--divider);
  border-radius: var(--radius-md);
  text-align: center;
}

.cm-newsletter h3 {
  font-size: 1.15rem;
  margin: 0 0 8px;
  color: var(--cm-ink);
}

.cm-newsletter p {
  margin: 0 0 16px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.cm-newsletter__cta {
  display: inline-block;
  background: var(--cm-teal);
  color: var(--cm-white);
  text-decoration: none;
  padding: 10px 20px;
  border-radius: var(--radius-xs);
  font-weight: 600;
  font-size: 0.95rem;
}

.cm-newsletter__cta:hover {
  background: var(--teal-light);
  text-decoration: none;
}

.cm-newsletter__note {
  margin-top: 10px;
  font-size: 0.78rem;
  color: var(--ink-muted);
}

.newsletter-cta {
  display: inline-block;
  background: var(--cm-teal);
  color: var(--cm-white);
  text-decoration: none;
  padding: 10px 20px;
  border-radius: var(--radius-xs);
  font-weight: 600;
  font-size: 0.95rem;
}

.newsletter-cta:hover {
  background: var(--teal-light);
  text-decoration: none;
}

.privacy-note {
  margin-top: 10px;
  font-size: 0.78rem;
  color: var(--ink-muted);
}

.updated {
  color: var(--ink-soft);
}

/* ─── Resource / Week / Timeline / Pro-Con Blocks ─── */
.cm-block {
  margin: 24px 0;
  padding: 20px 22px;
  background: var(--cm-white);
  border: 1px solid var(--divider);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.cm-block h3 {
  margin-top: 0;
  margin-bottom: 10px;
  color: var(--cm-teal);
  font-size: 1.1rem;
}

.cm-block p {
  margin-bottom: 10px;
}

.cm-block ul, .cm-block ol {
  margin-bottom: 0;
}

/* ─── Trust Note ─── */
.cm-trust {
  padding: 20px 24px;
  background: var(--white-soft);
  border: 1px solid var(--divider);
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

.cm-trust a {
  color: var(--cm-teal);
  font-weight: 600;
}

/* ─── Footer ─── */
.cm-footer {
  padding: 40px 0;
  border-top: 1px solid var(--divider);
  background: var(--cm-white);
  margin-top: 40px;
}

.cm-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
  color: var(--ink-muted);
  font-size: 0.85rem;
}

.cm-footer__inner p { margin: 0; }

/* ─── Skip Link ─── */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--cm-ink);
  color: var(--cm-white);
  padding: 8px 16px;
  z-index: 100;
  text-decoration: none;
  font-weight: 700;
}

.skip-link:focus { top: 0; }

/* ─── Print ─── */
@media print {
  .cm-header, .cm-footer, .cm-hero__actions, .cm-breadcrumbs,
  .cm-topic-nav, .cm-next-step, .cm-cta-box, .cm-newsletter {
    display: none !important;
  }
  .cm-hero, .cm-article { padding-top: 24px; }
  .cm-page { background: #fff; }
  .cm-card, .cm-step, .cm-callout, .cm-block, .cm-faq__item {
    box-shadow: none;
    border: 1px solid #ddd;
    break-inside: avoid;
  }
}

/* ─── Mobile Header ─── */
@media (max-width: 1023px) {
  .cm-header__nav { display: none !important; }
  .cm-header__menu-btn { display: flex !important; }
  .cm-header__nav.is-open {
    display: flex !important;
    position: absolute;
    top: 64px; left: 16px; right: 16px;
    flex-direction: column;
    background: rgba(255,252,248,0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 16px;
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(28,39,41,0.12);
    border: 1px solid rgba(20,33,47,0.10);
    z-index: 100;
  }
  .cm-header__nav.is-open a { width: 100%; text-align: center; }
  .cm-header__nav.is-open .cm-header__cta { margin-left: 0; margin-top: 8px; }
}

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