/* Image-led solutions cards, scoped to this section only. */
.re-page #solutions .re-solutions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 16px;
}

.re-page #solutions .re-solution-card {
  min-width: 0;
  min-height: 100%;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #dfe6ec;
  border-radius: 12px;
  box-shadow: 0 3px 12px rgba(19, 34, 56, .035);
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}

.re-page #solutions .re-solution-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #edf2f6;
}

.re-page #solutions .re-solution-media::after {
  position: absolute;
  inset: 45% 0 0;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(12, 26, 43, .48));
  pointer-events: none;
}

.re-page #solutions .re-solution-media img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  transition: transform .45s cubic-bezier(.2, .7, .25, 1);
}

.re-page #solutions .re-solution-media span {
  position: absolute;
  z-index: 1;
  left: 12px;
  bottom: 11px;
  padding: 6px 8px;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 5px;
  background: rgba(16, 32, 52, .74);
  color: #fff;
  font-size: 8px;
  font-weight: 750;
  letter-spacing: .09em;
  line-height: 1;
}

.re-page #solutions .re-solution-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 16px 16px 15px;
}

.re-page #solutions .re-solution-content small {
  color: #1769e0;
  font-size: 8px;
  line-height: 1.3;
}

.re-page #solutions .re-solution-content h3 {
  min-height: 36px;
  margin: 9px 0 6px;
  color: #132238;
  font-size: 14px;
  line-height: 1.32;
  letter-spacing: -.015em;
}

.re-page #solutions .re-solution-content p {
  flex: 1;
  min-height: 46px;
  margin: 0 0 12px;
  color: #66778a;
  font-size: 10px;
  line-height: 1.65;
}

.re-page #solutions .re-solution-content a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: auto;
  color: #1769e0;
  font-size: 10px;
  line-height: 1.4;
  text-decoration: none;
}

.re-page #solutions .re-solution-content a b {
  transition: transform .2s ease;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .re-page #solutions .re-solution-card:hover {
    transform: translateY(-4px);
    border-color: #b8cee9;
    box-shadow: 0 12px 28px rgba(19, 52, 86, .11);
  }

  .re-page #solutions .re-solution-card:hover .re-solution-media img {
    transform: scale(1.045);
  }

  .re-page #solutions .re-solution-card:hover .re-solution-content a b {
    transform: translate(2px, -2px);
  }
}

@media (max-width: 1000px) {
  .re-page #solutions .re-solutions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (max-width: 620px) {
  .re-page #solutions .re-solutions {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .re-page #solutions .re-solution-media {
    aspect-ratio: 16 / 8.5;
  }

  .re-page #solutions .re-solution-content {
    padding: 15px 16px 16px;
  }

  .re-page #solutions .re-solution-content h3 {
    min-height: 0;
  }

  .re-page #solutions .re-solution-content p {
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .re-page #solutions .re-solution-card,
  .re-page #solutions .re-solution-media img,
  .re-page #solutions .re-solution-content a b {
    transition: none;
  }
}
