

/* =====================================================
   GLOBAL TYPE RENDERING (Allowed by Webflow Templates)
   ===================================================== */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegability;
  font-smoothing: antialiased;
}

/* =====================================================
   ACCESSIBILITY — FOCUS STYLES
   ===================================================== */
*[tabindex]:focus-visible,
input[type="file"]:focus-visible {
  outline: 0.125rem solid #4d65ff;
  outline-offset: 0.125rem;
}

/* =====================================================
   INHERIT COLOR UTILITY
   ===================================================== */
.inherit-color * {
  color: inherit;
}

/* =====================================================
   RICH TEXT CLEANUP
   (Prevents awkward top/bottom spacing)
   ===================================================== */
.w-richtext > :not(div):first-child,
.w-richtext > div:first-child > :first-child {
  margin-top: 0 !important;
}

.w-richtext > :last-child,
.w-richtext ol li:last-child,
.w-richtext ul li:last-child {
  margin-bottom: 0 !important;
}

/* =====================================================
   CONTAINERS — KEEP CENTERED (Client-First default)
   ===================================================== */
.container-medium,
.container-small,
.container-large {
  margin-left: auto !important;
  margin-right: auto !important;
}

/* =====================================================
   UTILITY — TEXT TRUNCATION (safe)
   ===================================================== */
.text-style-3lines {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.text-style-2lines {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* =====================================================
   VISIBILITY UTILITIES (Client-First standard)
   ===================================================== */
.hide {
  display: none !important;
}

@media (max-width: 991px) {
  .hide,
  .hide-tablet {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .hide-mobile-landscape {
    display: none !important;
  }
}

@media (max-width: 479px) {
  .hide-mobile {
    display: none !important;
  }
}

