/* Horizontal auto-scroll for site blog strips — full-bleed like case studies */
.bl-section .bl-marquee {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;
  padding: 0.4vw 0 0.6vw;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 4%,
    #000 96%,
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 4%,
    #000 96%,
    transparent 100%
  );
}
.bl-section .bl-track {
  display: flex;
  align-items: stretch;
  gap: 2.4vw;
  width: max-content;
  padding: 0.2vw 0;
  animation: blMarquee 55s linear infinite;
  will-change: transform;
}
.bl-section .bl-track:hover {
  animation-play-state: paused;
}
.bl-section .bl-track .bl-card {
  flex: 0 0 auto;
  width: min(28vw, 380px);
  max-width: 86vw;
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='36' viewBox='0 0 36 36'%3E%3Ccircle cx='18' cy='18' r='15' fill='none' stroke='%23EE3D25' stroke-width='2'/%3E%3Ccircle cx='18' cy='18' r='5' fill='%23EE3D25'/%3E%3C/svg%3E")
      18 18,
    pointer;
  transition: opacity 0.35s ease, filter 0.35s ease, transform 0.45s
    cubic-bezier(0.2, 0.9, 0.3, 1.1);
}
.bl-section .bl-track:hover .bl-card:not(:hover) {
  opacity: 0.72;
  filter: brightness(0.97) saturate(0.96);
}
.bl-section .bl-track .bl-card:hover {
  opacity: 1;
  filter: none;
  transform: translateY(-0.4vw);
  z-index: 2;
}
/* grids on blog listing page stay visible; marquees used elsewhere */
@keyframes blMarquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@media (max-width: 767px) {
  .bl-section .bl-track {
    gap: 5vw;
    animation-duration: 42s;
  }
  .bl-section .bl-track .bl-card {
    width: 78vw;
  }
}
@media (prefers-reduced-motion: reduce) {
  .bl-section .bl-track {
    animation: none;
  }
  .bl-section .bl-marquee {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }
}
@media (hover: none) {
  .bl-section .bl-track .bl-card {
    cursor: pointer;
  }
}

/* Our Blogs eyebrow — centered + side lines (match Technologies / Browse) */
.bl-section .bl-eyebrow {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 1.2vw;
  width: 100%;
  text-align: center;
  font-weight: 700 !important;
  font-size: 1.15vw !important;
  letter-spacing: 0.16em;
  border-bottom: none !important;
  padding-bottom: 0 !important;
  margin: 0 0 1.2vw !important;
}
.bl-section .bl-eyebrow:before,
.bl-section .bl-eyebrow:after {
  content: "";
  display: block;
  flex: 1 1 0;
  height: 1px;
  min-width: 2vw;
}
.bl-section .bl-eyebrow:before {
  background: linear-gradient(90deg, rgba(10, 8, 3, 0), rgba(10, 8, 3, 0.18));
}
.bl-section .bl-eyebrow:after {
  background: linear-gradient(90deg, rgba(10, 8, 3, 0.18), rgba(10, 8, 3, 0));
}

/* View All Stories — red default, navy on hover (same as site CTAs) */
.bl-section .bl-all {
  background: #ee3d25 !important;
  border-color: #ee3d25 !important;
  color: #fff !important;
}
.bl-section .bl-all i {
  background: #fff !important;
}
.bl-section .bl-all i svg path {
  stroke: #ee3d25 !important;
}
.bl-section .bl-all:hover {
  background: linear-gradient(135deg, #6e5cbf 0%, #544199 50%, #3e2b7a 100%) !important;
  color: #fff !important;
  border-color: #8b78de !important;
  box-shadow: 0 10px 24px rgba(110, 92, 191, 0.45) !important;
  transform: translateY(-2px) scale(1.02) !important;
}
.bl-section .bl-all:hover i {
  background: rgba(255, 255, 255, 0.25) !important;
}
.bl-section .bl-all:hover i svg path {
  stroke: #fff !important;
}

@media (max-width: 768px) {
  .bl-section .bl-eyebrow {
    font-size: 3.8vw !important;
    gap: 3vw;
    margin-bottom: 4vw !important;
  }
}
