/**
 * Homepage trial skin — Workbench Alerts tokens (paper / ink / huge Lora).
 * Scoped to body.home.cb-home-alerts-skin. Turn off: wp option update cb_home_alerts_skin 0
 */

body.home.cb-home-alerts-skin {
  --wb-sidebar: #0a1f33;
  --wb-ink: #0f2744;
  --wb-paper: #f9f7f2;
  --wb-surface: #ffffff;
  --wb-desk: #0f2744;
  --wb-desk-mid: #1b3a56;
  --wb-must: #c83733;
  --wb-watch: #d48e28;
  --wb-teal: #0d9488;
  --wb-muted: #6b7c8f;
  --wb-line: rgba(15, 39, 68, 0.1);

  --color-primary: #0f2744;
  --color-primary-700: #0a1f33;
  --color-secondary: #0d9488;
  --color-bg: #f9f7f2;
  --color-surface: #ffffff;
  --color-heading: #0f2744;
  --color-neutral-900: #0f2744;
  --color-neutral-600: #6b7c8f;
  --color-neutral-500: #6b7c8f;
  --color-link: #0d9488;
  --color-link-hover: #0f2744;
  --color-border: rgba(15, 39, 68, 0.1);

  background-color: var(--wb-paper);
  color: var(--wb-ink);
}

body.home.cb-home-alerts-skin .site-content,
body.home.cb-home-alerts-skin #content,
body.home.cb-home-alerts-skin .ast-container,
body.home.cb-home-alerts-skin .elementor {
  background-color: transparent;
}

/* Below-hero sections: warm paper (hero stays full-bleed image). */
body.home.cb-home-alerts-skin .elementor > .e-con.e-parent:not(:first-child) {
  background-color: var(--wb-paper) !important;
}

/* ----- Type: Alerts masthead scale ----- */
body.home.cb-home-alerts-skin .elementor-heading-title {
  font-family: var(--font-title, Lora, Georgia, serif) !important;
  font-weight: 600 !important;
  letter-spacing: -0.02em;
}

body.home.cb-home-alerts-skin .elementor > .e-con.e-parent:first-child h1.elementor-heading-title {
  font-size: clamp(2.1rem, 3.6vw, 3.45rem) !important;
  line-height: 1.08 !important;
  font-weight: 600 !important;
  letter-spacing: -0.02em;
  color: #f9f7f2 !important;
}

body.home.cb-home-alerts-skin .elementor > .e-con.e-parent:not(:first-child) h2.elementor-heading-title {
  font-size: clamp(1.85rem, 3vw, 2.55rem) !important;
  line-height: 1.12 !important;
  color: var(--wb-ink) !important;
}

body.home.cb-home-alerts-skin .elementor > .e-con.e-parent:not(:first-child) h3.elementor-heading-title {
  color: var(--wb-ink) !important;
}

body.home.cb-home-alerts-skin .elementor-widget-text-editor {
  font-family: var(--font-body, Mulish, system-ui, sans-serif) !important;
}

body.home.cb-home-alerts-skin .elementor > .e-con.e-parent:not(:first-child) .elementor-widget-text-editor {
  color: var(--wb-muted) !important;
}

/* Kickers / small uppercase labels */
body.home.cb-home-alerts-skin .elementor > .e-con.e-parent:not(:first-child) h6.elementor-heading-title {
  font-family: var(--font-body, Mulish, system-ui, sans-serif) !important;
  font-size: 0.7rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: var(--wb-muted) !important;
}

/* Buttons — navy fill like Alerts chips; outline stays paper */
body.home.cb-home-alerts-skin .elementor > .e-con.e-parent:not(:first-child) .elementor-button {
  font-family: var(--font-body, Mulish, system-ui, sans-serif) !important;
  font-weight: 700 !important;
  border-radius: 10px !important;
  background-color: var(--wb-ink) !important;
  color: #fff !important;
  border-color: var(--wb-ink) !important;
}

body.home.cb-home-alerts-skin .elementor > .e-con.e-parent:first-child .elementor-button {
  font-family: var(--font-body, Mulish, system-ui, sans-serif) !important;
  font-weight: 700 !important;
}

/* News desk */
body.home.cb-home-alerts-skin .cb-news-desk__lead,
body.home.cb-home-alerts-skin .cb-news-desk__item {
  background: var(--wb-surface);
  border-color: var(--wb-line);
}
body.home.cb-home-alerts-skin .cb-news-desk__lead {
  border-left-color: var(--wb-ink);
}
body.home.cb-home-alerts-skin .cb-news-desk__lead-badge {
  background: var(--wb-ink);
}
body.home.cb-home-alerts-skin .cb-news-desk__lead-title,
body.home.cb-home-alerts-skin .cb-news-desk__item-title,
body.home.cb-home-alerts-skin .cb-news-desk__lead-title a,
body.home.cb-home-alerts-skin .cb-news-desk__item-title a {
  font-family: var(--font-title, Lora, Georgia, serif);
  color: var(--wb-ink) !important;
}
body.home.cb-home-alerts-skin .cb-news-desk__lead-title a:hover,
body.home.cb-home-alerts-skin .cb-news-desk__item-title a:hover,
body.home.cb-home-alerts-skin .cb-news-desk__more,
body.home.cb-home-alerts-skin .cb-news-desk__foot a {
  color: var(--wb-teal) !important;
}
body.home.cb-home-alerts-skin .cb-news-desk__teaser,
body.home.cb-home-alerts-skin .cb-news-desk__item-teaser,
body.home.cb-home-alerts-skin .cb-news-desk__meta {
  color: var(--wb-muted);
}

body.home.cb-home-alerts-skin .cb-home-list__title,
body.home.cb-home-alerts-skin .cb-home-list__title a {
  font-family: var(--font-title, Lora, Georgia, serif);
  color: var(--wb-ink) !important;
}
body.home.cb-home-alerts-skin .cb-home-list__title a:hover {
  color: var(--wb-teal) !important;
}
body.home.cb-home-alerts-skin .cb-home-list__item {
  background: var(--wb-surface);
  border-color: var(--wb-line);
}

/* About card */
body.home.cb-home-alerts-skin #cb-home-about-card {
  background: var(--wb-surface) !important;
  box-shadow: 0 18px 44px -22px rgba(10, 31, 51, 0.22);
}

/* Workbench band — Desk Push navy */
body.home.cb-home-alerts-skin #cb-home-wb {
  background: linear-gradient(145deg, var(--wb-desk) 0%, var(--wb-desk-mid) 100%) !important;
  border-radius: 14px;
}
body.home.cb-home-alerts-skin #cb-home-wb .elementor-heading-title {
  color: #f9f7f2 !important;
}
body.home.cb-home-alerts-skin #cb-home-wb .elementor-widget-text-editor {
  color: rgba(249, 247, 242, 0.82) !important;
}
body.home.cb-home-alerts-skin #cb-home-wb .elementor-button {
  background-color: var(--wb-teal) !important;
  border-color: var(--wb-teal) !important;
  color: #fff !important;
}

/* Services cards */
body.home.cb-home-alerts-skin #cb-home-svc > .e-con {
  background: var(--wb-surface) !important;
  border-color: var(--wb-line) !important;
}

@media (max-width: 768px) {
  body.home.cb-home-alerts-skin .elementor > .e-con.e-parent:first-child h1.elementor-heading-title {
    font-size: clamp(1.85rem, 8vw, 2.4rem) !important;
  }
}
