:root {
  --cm-primary: #2F7E8E;
  --cm-primary-deep: #1f5c69;
  --cm-accent: #D2A544;
  --cm-accent-soft: #e5d8b8;
  --cm-text: #24343A;
  --cm-muted: #647279;
  --cm-bg: #F5EFE1;
  --cm-surface: #fffdf8;
  --cm-surface-strong: #f3ecde;
  --cm-line: #D9CDAF;
  --cm-shadow: 0 24px 60px rgba(36, 52, 58, 0.12);
  --cm-radius: 1.25rem;
  --cm-section-space: 72px;
  --cm-section-space-mobile: 32px;
}

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

html {
  scroll-behavior: smooth;
}

body.cm-body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(47, 126, 142, 0.13), transparent 28%),
    radial-gradient(circle at top right, rgba(210, 165, 68, 0.18), transparent 32%),
    linear-gradient(180deg, #F5EFE1 0%, #fcf9f2 44%, #F5EFE1 100%);
  color: var(--cm-text);
  font-family: "Source Sans 3", Arial, sans-serif;
  line-height: 1.72;
}

a {
  color: var(--cm-primary);
  text-decoration: none;
  transition: color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

a:hover,
a:focus {
  color: var(--cm-primary-deep);
}

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

.container-xl {
  max-width: 74rem;
}

.cm-main {
  position: relative;
}

.cm-header__utility {
  padding: 0.65rem 0;
  background: linear-gradient(90deg, rgba(36, 52, 58, 0.94), rgba(47, 126, 142, 0.88));
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cm-header__utility a {
  color: #fff7e1;
  font-weight: 600;
}

.cm-navbar {
  padding: 0.9rem 0;
  background: rgba(245, 239, 225, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(217, 205, 175, 0.8);
  box-shadow: 0 12px 24px rgba(36, 52, 58, 0.08);
}

.cm-brand {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.cm-brand__name,
.cm-display,
.cm-page-title,
.cm-heading,
.cm-category-card__title,
.cm-footer__title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.cm-brand__name {
  color: var(--cm-text);
  font-size: clamp(1.7rem, 2.5vw, 2.4rem);
  line-height: 0.95;
}

.cm-brand__line {
  color: var(--cm-primary);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.cm-navbar .nav-link {
  position: relative;
  color: var(--cm-text);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  padding: 0.8rem 0.9rem !important;
}

.cm-navbar .nav-link::after {
  content: "";
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.45rem;
  height: 2px;
  background: var(--cm-accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.cm-navbar .nav-link:hover::after,
.cm-navbar .nav-link:focus::after,
.cm-navbar .nav-link.active::after,
.cm-navbar .show > .nav-link::after {
  transform: scaleX(1);
}

.cm-navbar .nav-link:hover,
.cm-navbar .nav-link:focus,
.cm-navbar .nav-link.active,
.cm-navbar .show > .nav-link {
  color: var(--cm-primary);
}

.cm-dropdown-menu {
  border: 1px solid rgba(217, 205, 175, 0.95);
  border-radius: 1rem;
  box-shadow: var(--cm-shadow);
  padding: 0.6rem;
}

.cm-dropdown-menu .dropdown-item {
  border-radius: 0.75rem;
  color: var(--cm-text);
  font-size: 0.9rem;
  padding: 0.65rem 0.85rem;
}

.cm-dropdown-menu .dropdown-item:hover,
.cm-dropdown-menu .dropdown-item:focus {
  background: rgba(47, 126, 142, 0.08);
  color: var(--cm-primary);
}

.cm-navbar-toggler {
  border-color: rgba(47, 126, 142, 0.28);
}

.cm-btn {
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 0.9rem 1.45rem;
  text-transform: uppercase;
}

.cm-btn--primary {
  background: linear-gradient(135deg, var(--cm-accent), #e7bf65);
  border: 1px solid rgba(210, 165, 68, 0.8);
  color: #1f2426;
  box-shadow: 0 16px 30px rgba(210, 165, 68, 0.28);
}

.cm-btn--primary:hover,
.cm-btn--primary:focus {
  color: #1f2426;
  transform: translateY(-1px);
}

.cm-btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #fff;
  backdrop-filter: blur(10px);
}

.cm-btn--ghost:hover,
.cm-btn--ghost:focus {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.95);
}

.cm-hero,
.cm-page-banner {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(36, 52, 58, 0.34), rgba(36, 52, 58, 0.72)),
    linear-gradient(135deg, rgba(47, 126, 142, 0.3), rgba(210, 165, 68, 0.16)),
    var(--cm-hero-image) center/cover no-repeat;
}

.cm-hero::after,
.cm-page-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.12), transparent 45%);
  pointer-events: none;
}

.cm-hero__inner,
.cm-page-banner__inner {
  position: relative;
  z-index: 1;
}

.cm-hero {
  min-height: clamp(32rem, 82vh, 46rem);
}

.cm-hero__inner {
  padding: 8.5rem 0 6.5rem;
}

.cm-page-banner__inner {
  padding: 6rem 0 4.25rem;
}

.cm-display {
  margin: 0 0 1rem;
  color: #fffdf7;
  font-size: clamp(3.3rem, 7vw, 5.8rem);
  line-height: 0.94;
}

.cm-page-title {
  margin: 0;
  font-size: clamp(2.45rem, 5vw, 4.25rem);
  line-height: 0.98;
}

.cm-page-title--article {
  margin-bottom: 1rem;
  color: var(--cm-text);
  font-size: clamp(2.25rem, 4vw, 3.35rem);
}

.cm-heading {
  margin: 0 0 1rem;
  color: var(--cm-text);
}

.cm-heading.level-1 {
  font-size: clamp(2.2rem, 4vw, 3rem);
}

.cm-heading.level-2 {
  font-size: clamp(1.85rem, 3vw, 2.45rem);
}

.cm-heading.level-3 {
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
}

.cm-kicker,
.cm-footer__eyebrow,
.cm-sidebar-card__eyebrow,
.cm-highlight-card__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  color: #fff1cf;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.cm-kicker::before,
.cm-kicker::after {
  content: "";
  width: 2rem;
  height: 1px;
  background: rgba(255, 241, 207, 0.6);
}

.cm-lead {
  max-width: 38rem;
  margin: 0 0 2rem;
  color: rgba(255, 253, 247, 0.9);
  font-size: 1.12rem;
}

.cm-highlight-card,
.cm-sidebar-card,
.cm-story-card,
.cm-content-card,
.cm-footer__panel,
.cm-toc,
.cm-category-card,
.cm-mini-card {
  border: 1px solid rgba(217, 205, 175, 0.7);
  border-radius: var(--cm-radius);
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(248, 243, 233, 0.98));
  box-shadow: var(--cm-shadow);
}

.cm-highlight-card,
.cm-sidebar-card,
.cm-content-card,
.cm-footer__panel,
.cm-toc {
  padding: 1.6rem;
}

.cm-highlight-card__links,
.cm-footer__links {
  display: grid;
  gap: 0.8rem;
}

.cm-highlight-card__links a,
.cm-footer__links a,
.cm-sidebar-card__link {
  display: block;
  color: var(--cm-text);
  font-weight: 600;
}

.cm-highlight-card__links a:hover,
.cm-footer__links a:hover,
.cm-sidebar-card__link:hover {
  color: var(--cm-primary);
  transform: translateX(2px);
}

.cm-section {
  padding: var(--cm-section-space) 0;
}

.cm-section--lift {
  margin-top: -72px;
  position: relative;
  z-index: 2;
}

.cm-sidebar-stack {
  display: grid;
  gap: 1.5rem;
}

.cm-sidebar-card--image {
  padding: 0;
  overflow: hidden;
}

.cm-sidebar-card--image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.cm-story-card,
.cm-content-card--article {
  padding: 2rem;
}

.cm-content-card--narrow {
  max-width: 46rem;
}

.cm-copy,
.cm-rich-text {
  margin: 0 0 1.15rem;
  color: var(--cm-text);
  font-size: 1.04rem;
}

.cm-copy--lead {
  padding-left: 1rem;
  border-left: 3px solid var(--cm-accent);
  color: var(--cm-muted);
  font-size: 1.08rem;
}

.cm-copy--compact {
  font-size: 0.96rem;
}

.cm-figure {
  margin: 0 0 1.4rem;
}

.cm-figure img,
.cm-main-image img,
.cm-category-card img {
  width: 100%;
  border-radius: 1rem;
  object-fit: cover;
  box-shadow: 0 18px 30px rgba(36, 52, 58, 0.14);
}

.cm-main-image {
  max-width: min(21rem, 100%);
}

.cm-figure figcaption {
  margin-top: 0.5rem;
  color: var(--cm-muted);
  font-size: 0.88rem;
}

.cm-list {
  margin: 0 0 1.5rem;
  padding-left: 1.2rem;
}

.cm-list li {
  margin-bottom: 0.55rem;
}

.cm-table-shell {
  margin: 0 0 1.5rem;
  border: 1px solid rgba(217, 205, 175, 0.8);
  border-radius: 1rem;
  overflow: hidden;
  background: #fff;
}

.cm-table-shell .table {
  --bs-table-bg: transparent;
  margin-bottom: 0;
}

.cm-table-shell thead th {
  background: linear-gradient(135deg, rgba(47, 126, 142, 0.94), rgba(31, 92, 105, 0.94));
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.cm-table-shell td,
.cm-table-shell th {
  padding: 0.85rem 0.95rem;
  border-color: rgba(217, 205, 175, 0.72);
}

.cm-table-shell tbody tr:nth-child(odd) td {
  background: rgba(245, 239, 225, 0.56);
}

.cm-quote {
  margin: 0 0 1.5rem;
  padding: 1.35rem 1.4rem;
  border-left: 3px solid var(--cm-accent);
  background: rgba(210, 165, 68, 0.08);
  border-radius: 0 1rem 1rem 0;
  color: var(--cm-text);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.3rem;
}

.cm-code {
  margin: 0 0 1.5rem;
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  background: #233137;
  color: #f7f2e5;
}

.cm-separator {
  margin: 2rem 0;
  border: 0;
  border-top: 1px solid rgba(217, 205, 175, 0.85);
}

.cm-breadcrumbs {
  margin-bottom: 1.5rem;
}

.cm-breadcrumbs .breadcrumb-item,
.cm-breadcrumbs .breadcrumb-item a {
  color: var(--cm-muted);
  font-size: 0.9rem;
}

.cm-breadcrumbs .breadcrumb-item.active {
  color: var(--cm-text);
}

.cm-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.1rem;
  color: var(--cm-muted);
  font-size: 0.92rem;
}

.cm-toc {
  top: 96px;
}

.cm-toc__title {
  margin: 0 0 1rem;
  color: var(--cm-primary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.cm-toc ul {
  margin: 0;
  padding-left: 1rem;
}

.cm-toc li + li {
  margin-top: 0.5rem;
}

.cm-category-card {
  overflow: hidden;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cm-category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 44px rgba(36, 52, 58, 0.16);
}

.cm-category-card img {
  aspect-ratio: 16 / 11;
}

.cm-category-card__body {
  padding: 1.35rem;
}

.cm-category-card__title {
  color: var(--cm-text);
  font-size: 1.65rem;
  line-height: 1;
}

.cm-read-more {
  display: inline-flex;
  margin-top: 0.6rem;
  color: var(--cm-primary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.cm-category-card--horizontal {
  display: grid;
  grid-template-columns: 40% 1fr;
}

.cm-category-card--horizontal img {
  height: 100%;
  min-height: 100%;
}

.cm-category-card--minimal {
  border-left: 4px solid var(--cm-accent);
}

.cm-footer {
  padding: 4.5rem 0;
  background:
    linear-gradient(180deg, rgba(36, 52, 58, 0.94), rgba(31, 45, 49, 0.96)),
    url('/assets/images/img_8b16d9dbc70f.png') center/cover no-repeat;
  color: #f8f2e3;
}

.cm-footer__eyebrow {
  color: rgba(248, 242, 227, 0.7);
}

.cm-footer__eyebrow::before,
.cm-footer__eyebrow::after {
  display: none;
}

.cm-footer__title {
  font-size: 2.2rem;
  line-height: 0.98;
}

.cm-footer__copy,
.cm-footer__links a {
  color: rgba(248, 242, 227, 0.92);
}

.cm-footer__links a:hover {
  color: #fff7dc;
}

@media (max-width: 991.98px) {
  .cm-hero__inner,
  .cm-page-banner__inner {
    padding-top: 7rem;
  }

  .cm-section {
    padding: var(--cm-section-space-mobile) 0;
  }

  .cm-section--lift {
    margin-top: -32px;
  }

  .cm-story-card,
  .cm-content-card--article {
    padding: 1.5rem;
  }
}

@media (max-width: 767.98px) {
  .cm-display {
    font-size: 2.8rem;
  }

  .cm-page-title {
    font-size: 2.3rem;
  }

  .cm-category-card--horizontal {
    grid-template-columns: 1fr;
  }
}
