#why-RPA .feature-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  justify-content: center;
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
}

#why-RPA .feature-card {
  position: relative;
  width: 394px;
  height: 394px;
}

#why-RPA .feature-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 25px;
}

#why-RPA .card-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 10;
  pointer-events: none;
  border-radius: 25px;
}

#why-RPA .card-overlay p.title-main {
  margin-bottom: 20px;
  font-weight: bold !important;
  font-size: 28px !important;
  color: #DAA520;
  text-align: center !important;
  padding: 0 16px !important;
  line-height: 1.6;
}

#why-RPA .card-overlay p.title-sub {
  font-size: 18px !important;
  color: #fff;
  text-align: center !important;
  padding: 0 24px !important;
  line-height: 1.6;
  margin-bottom: 0;
}

#why-RPA .card-overlay ul {
  width: 100%;
  max-width: 90%;
  font-size: 18px;
  color: #fff;
  list-style-position: outside;
  text-align: left;
  padding: 10px 40px;
  line-height: 1.6;
  margin-bottom: 0;
}

#why-RPA .custom-card-image {
  width: 394px;
  height: 394px;
  background-color: rgba(20, 55, 91, 0.3);
  box-shadow: 0 0 20px rgba(173, 216, 230, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 300px;
  color: #ffc700;
  font-weight: bold;
  line-height: 1;
  z-index: 3;
  border-radius: 25px;
  padding-bottom: 12px;
}

/* 1000px 이하 */
@media (max-width: 1000px) {
  #why-RPA .feature-card-grid {
    grid-template-columns: 1fr;
  }

  #why-RPA .custom-card-image {
    padding-bottom: 24px;
  }

  #why-RPA .custom-card-image,
  #why-RPA .feature-card {
    width: auto;
    max-width: 100%;
    height: auto;
    aspect-ratio: unset;
  }

  #why-RPA .card-overlay p.title-main {
    margin-bottom: 10px;
    font-size: 24px !important;
  }

  #why-RPA .card-overlay ul {
    padding: 20px 40px;
  }
}

/* 400px 이하 */
@media (max-width: 400px) {
  #why-RPA .card-overlay p.title-main {
    font-size: 22px !important;
  }

  #why-RPA .card-overlay p.title-sub {
    font-size: 18px;
  }

  #why-RPA .card-overlay ul {
    font-size: 16px;
    padding: 10px 40px;
  }
}