/**
 * OSMDentis — Global CSS (site-wide)
 * Tokens shared across pages + generic hero treatment.
 */

/* ── Shared components ── */
.osm-hero {
  max-width: 620px;
  position: relative;
  z-index: 1;
}

.osm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #669bbc;
  margin-bottom: 18px;
  background: rgba(102,155,188,0.10);
  border: 0.5px solid rgba(102,155,188,0.25);
  padding: 5px 12px;
  border-radius: 100px;
}

.osm-eyebrow .osm-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #669bbc;
}

.osm-h1 {
  font-size: 40px;
  font-weight: 500;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.osm-h2 {
  font-size: 30px;
  font-weight: 500;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.osm-lead {
  font-size: 16px;
  color: rgba(255,255,255,0.50);
  line-height: 1.6;
  max-width: 480px;
  margin: 0;
}

.osm-lead-sm {
  font-size: 15px;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
  max-width: 440px;
  margin: 0;
}

/* ══════════════════════════════════════
   Hero row — padding + glow + fallback background
   Applies to any WPBakery Row containing .osm-hero.

   Background is set WITHOUT !important — so any per-row WPBakery
   Design Options background (with !important) wins.
   Only pages without an explicit WPBakery bg get this fallback.
   ══════════════════════════════════════ */

.wpb_row:has(.osm-hero),
.vc_row:has(.osm-hero) {
  position: relative !important;
  overflow: hidden !important;
  padding-top: 20px !important;
  padding-bottom: 20px !important;
  min-height: 360px !important;
  display: flex !important;
  align-items: center !important;
  background: linear-gradient(160deg, #1b1b1b 0%, #222228 55%, #1d1d22 100%);
  box-shadow: -100vw 0 0 #1b1b1b !important;
}

.wpb_row:has(.osm-hero)::after,
.vc_row:has(.osm-hero)::after {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(102,155,188,0.14) 0%, rgba(102,155,188,0.05) 35%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.wpb_row:has(.osm-hero) > *,
.vc_row:has(.osm-hero) > * {
  position: relative;
  z-index: 1;
}

/* Zero the default Ohio container padding on pages with an .osm-hero,
   so our row padding controls spacing without doubling up. */
body:has(.osm-hero) .page-container.top-offset {
  padding-top: 0 !important;
}

/* ══════════════════════════════════════
   Mobile
   ══════════════════════════════════════ */
@media (max-width: 768px) {
  .osm-h1 { font-size: 30px; }
  .osm-h2 { font-size: 24px; }
  .wpb_row:has(.osm-hero),
  .vc_row:has(.osm-hero) {
    padding-top: 15px !important;
    padding-bottom: 15px !important;
    min-height: 240px !important;
  }
}
