/* ============================================================
   Site redesign layer — unifies legacy Webflow pages with the
   modern indigo-gradient look used on Home / Services / Contact.
   Loaded AFTER the Webflow css so these rules win.
   Covers: (1) the legacy .banner page header -> gradient hero
           (2) the dated purple .blog-card.bg -> clean white card
   Brand: #4245c7 | headings Montserrat | body Nunito/Open Sans
   ============================================================ */

/* ---------------------------------------------------------------
   1. UNIFIED PAGE HEADER  (overrides legacy .banner)
   --------------------------------------------------------------- */
.banner {
  background-color: #0e1330 !important;
  background-image: linear-gradient(135deg, #0e1330 0%, #2d2f8f 58%, #4245c7 100%) !important;
  background-position: 0 0 !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  margin-bottom: 0 !important;
  padding: 122px 0 96px !important;
  position: relative;
  overflow: hidden;
}

/* subtle dotted texture */
.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 26px 26px;
  pointer-events: none;
}

/* soft corner glow */
.banner::after {
  content: "";
  position: absolute;
  right: -130px;
  top: -130px;
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 70%);
  pointer-events: none;
}

.banner .breadcrumb-container {
  position: relative;
  z-index: 1;
  grid-row-gap: 22px;
}

.page-title {
  font-family: "Montserrat", sans-serif !important;
  font-weight: 800 !important;
  font-size: clamp(36px, 5vw, 56px) !important;
  line-height: 1.06 !important;
  letter-spacing: -0.02em !important;
  color: #ffffff !important;
}

.banner .breadcrumb {
  grid-column-gap: 8px;
  font-family: "Montserrat", sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
  color: rgba(255, 255, 255, 0.82) !important;
}
.banner .breadcrumb a {
  color: rgba(255, 255, 255, 0.82) !important;
  text-decoration: none;
  transition: color 0.2s ease;
}
.banner .breadcrumb a:hover {
  color: #ffffff !important;
}
.banner .breadcrumb-icon {
  font-size: 16px;
  opacity: 0.7;
}
.banner .breadcrumb-divider {
  background-color: rgba(255, 255, 255, 0.28) !important;
  width: 90px !important;
}

@media (max-width: 767px) {
  .banner {
    padding: 92px 0 64px !important;
  }
}

/* ---------------------------------------------------------------
   2. BLOG CARDS  (overrides dated .blog-card.bg purple cards)
   --------------------------------------------------------------- */

/* tighten + stretch the listing grid */
.w-dyn-list ._3-column-grid {
  grid-column-gap: 32px;
  grid-row-gap: 32px;
  justify-items: stretch;
  align-items: stretch;
}

.blog-card.bg {
  background-color: #ffffff !important;
  border: 1px solid #e7e9f5;
  border-radius: 18px !important;
  padding: 0 !important;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(16, 19, 48, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.blog-card.bg:hover {
  transform: translateY(-4px);
  border-color: #d7daf0;
  box-shadow: 0 26px 52px -26px rgba(16, 19, 48, 0.3);
}

/* image area */
.blog-card.bg .mask,
.blog-card.bg a.mask {
  display: block;
  overflow: hidden;
  border-radius: 0;
}
.blog-card.bg .blog-thumbnail {
  aspect-ratio: auto !important;
  width: 100%;
  height: 210px !important;
  object-fit: cover;
  border-radius: 0 !important;
}

/* body */
.blog-card.bg .blog-body {
  grid-row-gap: 12px;
  padding: 22px 24px 26px !important;
}

.blog-card.bg .blog-card-title.white {
  font-family: "Montserrat", sans-serif !important;
  color: #0e1330 !important;
  font-size: 19px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
}
.blog-card.bg .blog-card-title.white a {
  transition: color 0.2s ease;
}
.blog-card.bg .blog-card-title.white a:hover {
  color: #4245c7 !important;
}

.blog-card.bg ._14px-bold-text.white {
  color: #5b6177 !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* hide leftover divider artifacts */
.blog-card.bg .blog-divider,
.blog-card.bg .divider {
  display: none !important;
}

/* category pill — floats top-left over the image */
.blog-card.bg .blog-category.white {
  position: absolute;
  inset: 14px auto auto 14px;
  background-color: rgba(255, 255, 255, 0.95) !important;
  color: #4245c7 !important;
  border-radius: 999px !important;
  padding: 7px 14px !important;
  margin: 0 !important;
  font-family: "Montserrat", sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em;
  line-height: 1 !important;
  text-transform: uppercase;
  box-shadow: 0 8px 18px -8px rgba(16, 19, 48, 0.35);
  backdrop-filter: blur(4px);
}
.blog-card.bg .blog-category.white:hover {
  color: #2d2f8f !important;
}

@media (max-width: 991px) {
  .blog-card.bg .blog-thumbnail {
    height: 200px !important;
  }
}
