.hero-cards {
  background-color: transparent;
}

.hero-cards__header {
  text-align: center;
  margin-bottom: 48px;
  max-width: var(--main-max-width);
  margin-left: auto;
  margin-right: auto;
  padding: 0;
}

.hero-cards__title {
  font-size: 2.5rem;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 16px;
  color: #000;
}

.hero-cards__title > * {
  margin: 0;
}

.hero-cards__subtitle {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--grey-dark);
  max-width: 800px;
  margin: 0 auto;
}

.hero-cards__subtitle > * {
  margin: 0;
}

.hero-cards__grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 24px;
  max-width: var(--main-max-width);
  margin: 0 auto;
  padding: 0;
}

@media (max-width: 767px) {
  .hero-cards__header    padding: 0 1rem;
  }
}

.hero-cards__card {
  background: #fff;
  border-radius: var(--border-radius-lg);
  padding: 20px 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 400px;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  text-decoration: none;
  color: inherit;
}

a.hero-cards__card--normal {
  cursor: pointer;
}

a.hero-cards__card--normal:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.hero-cards__card--link {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hero-cards__card--link:hover {
  transform: translateY(-4px);
  opacity: 0.9;
}

.hero-cards__icon {
  width: 64px;
  height: 64px;
  margin-bottom: 24px;
  border-radius: 50%;
  overflow: hidden;
  background-color: #e8f4e0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-cards__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.hero-cards__card-title {
  font-size: 26px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 12px;
  color: #000;
}

.hero-cards__card-title > * {
  margin: 0;
}

.hero-cards__description {
  margin-bottom: 20px;
  flex-grow: 1;
  font-size: 18px;
  line-height: 1.6;
  color: var(--grey-dark);
}

.hero-cards__description > p {
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}

.hero-cards__read-more-wrapper {
  margin-top: auto;
}

.hero-cards__read-more {
  display: inline-block;
  font-size: 18px;
  font-weight: 500;
  color: #000;
  text-decoration: none;
  transition: color 0.3s ease;
}

.hero-cards__read-more:hover {
  color: var(--green-dark);
  text-decoration: none;
}

.hero-cards__link-text, .hero-cards__link-text > p {
  font-size: 18px;
  font-weight: 600;
  color: #000;
  text-align: center;
}

.hero-cards__link-text:hover {
  color: #000;
  text-decoration: underline;
  cursor: pointer;
}


@media (max-width: 1024px) {
  .hero-cards__title {
    font-size: 2rem;
  }

  .hero-cards__card-title {
    font-size: 21px;
  }
}

@media (max-width: 640px) {
  .hero-cards__title {
    font-size: 1.75rem;
  }

  .hero-cards__card-title {
    font-size: 18px;
  }

  .hero-cards__icon {
    width: 56px;
    height: 56px;
  }

  .hero-cards__card {
    padding: 24px 20px;
  }
}
