/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Jul 22 2025 | 10:26:19 */
.erasol-intro-section {
  background-color: #fff;
  padding: 60px 20px;
  text-align: center;
  max-width: 1280px;
  margin: 0 auto;
}

.intro-text .title-erasol {
  color: #8e1537;
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 16px;
}

.intro-text .subtitle-erasol {
  color: #292160;
  font-size: 20px;
  margin-bottom: 12px;
}

.intro-text .desc-erasol {
  color: #333;
  font-size: 16px;
  max-width: 700px;
  margin: 0 auto 40px;
}

.erasol-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  padding: 0 10px;
  position: relative;
  overflow: visible;
}

.erasol-box {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transition: transform 0.4s ease;
  z-index: 1;
}

.erasol-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: block;
  transition: transform 0.4s ease;
  position: relative;
  z-index: 0;
  will-change: transform;
}

/* ✅ Hover zoom ảnh */
.erasol-box:hover .erasol-img {
  transform: scale(1.1);
}

.erasol-img-overlay {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(15, 23, 42, 0.4);
  transition: background-color 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.erasol-box:hover .erasol-img-overlay {
  background-color: rgba(15, 23, 42, 0.7);
}

.erasol-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 12px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent 60%);
  color: #fff;
  text-align: center;
  z-index: 2;
}

.erasol-label {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.erasol-heading {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  text-transform: uppercase;
}

/* Responsive */
@media (max-width: 768px) {
  .erasol-intro-section {
    padding: 40px 16px;
  }

  .intro-text .title-erasol {
    font-size: 26px;
  }

  .intro-text .subtitle-erasol {
    font-size: 18px;
  }

  .intro-text .desc-erasol {
    font-size: 15px;
  }

  .erasol-caption {
    padding: 16px 10px;
  }

  .erasol-heading {
    font-size: 18px;
  }

  .erasol-label {
    font-size: 14px;
  }
}
