.theme--academy {
  --color-background: #84002e;
  --color-accent: #84002e;
  --color-brand: #84002e;
  --color-control-primary: #84002e;
  --color-brand-muted: rgba(132, 0, 46, 0.7);
  --color-link: #fff;
  --color-focus: #f5c4d5;
  --color-line: rgba(255, 255, 255, 0.45);
  --color-action-icon: #fff;
  --color-heading: #fff;
  --color-catalog-muted: rgba(255, 255, 255, 0.8);
  --color-overlay-hero: rgba(132, 0, 46, 0.1);
  --color-control-hover: #620022;
  --color-surface: rgba(255, 255, 255, 0.05);
  --locations-card-ink: var(--color-brand);
}

.hero--academy {
  --color-heading: #e9f5fc;
}

/* The designer's palette, explicitly retained by the user despite its body-text contrast. */
.theme--international {
  --hero-description-width: 374px;
  --color-background: #3488be;
  --color-accent: #3488be;
  --color-brand: #3488be;
  --color-brand-muted: rgba(52, 136, 190, 0.7);
  --color-muted: rgba(255, 255, 255, 0.8);
  --color-line: #66c7ff;
  --color-action-icon: #a4e6ff;
  --color-overlay-hero: rgba(0, 0, 0, 0.1);
  --color-control-hover: #0067a3;
  --color-control-primary: #006ba9;
}
@media (max-width: 600px) {
  .theme--international {
    --hero-mobile-clip: inset(45% 0 0);
    --hero-mobile-padding: min(50svh, 360px) var(--space-7);
  }
}

.theme--contacts,
.theme--cases {
  --color-background: #006eae;
  --color-accent: #006eae;
  --color-brand: #006eae;
  --color-control-primary: #006ba9;
  --color-brand-muted: rgba(0, 110, 174, 0.7);
  --color-line: #66c7ff;
  --color-heading: #e9f5fc;
  --color-text: #fff;
  --color-surface: rgba(255, 255, 255, 0.05);
}

.theme--case-detail {
  --color-background: #0067a3;
}

.theme--academy {
  --color-course-ink: #580522;
  --color-course-line: rgba(88, 5, 34, 0.3);
  --color-course-glass: rgba(255, 255, 255, 0.1);
  --color-course-shade: linear-gradient(
    to bottom,
    rgba(132, 0, 46, 0.06),
    rgba(56, 0, 19, 0.12) 48%,
    rgba(28, 6, 14, 0.95)
  );
  --fs-course-subtitle: clamp(1.5rem, 2.5vw, 2.25rem);
  --fs-course-title: clamp(2rem, 4.4444vw, 4rem);
}

.theme--management {
  --color-background: #00458e;
  --color-accent: #00458e;
  --color-brand: #00458e;
  --color-control-primary: #00458e;
  --color-brand-muted: rgba(0, 69, 142, 0.7);
  --color-muted: rgba(255, 255, 255, 0.8);
  --color-line: rgba(255, 255, 255, 0.5);
  --color-action-icon: #fff;
  --color-heading: #e9f5fc;
  --color-link: #fff;
  --color-control-hover: #00356e;
  --color-article-heading: #00458e;
  --color-glass: rgba(255, 255, 255, 0.1);
}
