/* Worxogo Roadblock Widget Styles */

.feature-gradient-bg {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  border-radius: 8px;
  padding: 60px 40px 0px 40px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  justify-content: flex-start;
  position: relative;
}

.feature-gradient-content {
  display: flex;
  flex-direction: column;
  gap: 60px;
  align-items: center;
  justify-content: flex-start;
  align-self: stretch;
  flex-shrink: 0;
  position: relative;
}

.feature-gradient-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 40px;
}

.feature-gradient-title h1 {
  color: #290074;
  text-align: center;
  font-family: "Albert Sans", sans-serif;
  font-size: 40px;
  line-height: 120%;
  font-weight: 700;
  margin: 0;
}

.feature-gradient-title h1 span {
  color: #4000a9;
}

.feature-white-card-wrapper {
  display: flex;
  gap: 32px;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
}

.feature-white-card {
  background: #ffffff;
  border: 1px solid #b1b1af;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.3s ease;
  flex: 1;
  min-width: 280px;
  max-width: 33.33%;
  border-radius: 8px;
}

.feature-white-card-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
}

.feature-white-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.feature-white-card-title {
  color: #290074;
  text-align: center;
  font-family: "Albert Sans", sans-serif;
  font-size: 16px;
  line-height: 150%;
  font-weight: 700;
  position: relative;
}

.feature-white-card-text {
  color: #4c4c4c;
  text-align: center;
  font-family: "Albert Sans", sans-serif;
  font-size: 16px;
  line-height: 150%;
  font-weight: 400;
  position: relative;
  align-self: stretch;
}

.feature-white-card:hover {
  background: #290074;
}

.feature-white-card:hover .feature-white-card-title {
  color: #ffffff;
}

.feature-white-card:hover .feature-white-card-text {
  color: rgba(255, 255, 255, 0.5);
}

.feature-white-card:hover .feature-white-card-icon img {
  filter: brightness(0) invert(1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .feature-gradient-bg {
    padding: 40px 20px 0px 20px;
  }

  .feature-gradient-title h1 {
    font-size: 32px;
  }

  .feature-white-card-wrapper {
    flex-direction: column;
    gap: 20px;
  }

  .feature-white-card {
    min-width: 100%;
  }
}

@media (max-width: 576px) {
  .feature-gradient-bg {
    padding: 30px 15px 0px 15px;
  }

  .feature-gradient-title h1 {
    font-size: 28px;
  }

  .feature-white-card {
    padding: 30px 15px;
  }

  .feature-white-card-title {
    font-size: 14px;
  }

  .feature-white-card-text {
    font-size: 14px;
  }
}
