.home-category-showcase {
  position: relative;
  z-index: 12;
  padding: 1.5rem 2.5rem 4rem;
}

.home-category-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.5rem;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.home-category-header {
  max-width: 48rem;
  margin: 0 auto 1.75rem;
  text-align: center;
}

.home-category-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(41, 173, 228, 0.3);
  background: rgba(255, 255, 255, 0.72);
  color: #166381;
  padding: 0.35rem 0.9rem;
  font-size: 0.8rem;
  margin-bottom: 1rem;
}

.home-category-header h2 {
  color: #00b14c;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.home-category-header p {
  color: #4f5b74;
  font-size: 1rem;
  line-height: 1.8;
  margin-top: 0.95rem;
}

.home-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.home-category-card {
  appearance: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  min-height: 100%;
  width: 100%;
  padding: 0.85rem;
  border-radius: 1.7rem;
  text-decoration: none;
  text-align: left;
  font: inherit;
  color: inherit;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(239, 247, 255, 0.82));
  border: 1px solid rgba(41, 173, 228, 0.12);
  box-shadow: 0 18px 48px rgba(0, 39, 77, 0.06);
  cursor: pointer;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.home-category-card:hover,
.home-category-card:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 26px 60px rgba(41, 173, 228, 0.14);
  border-color: rgba(41, 173, 228, 0.24);
  outline: none;
}

.home-category-card-image {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 0.82;
  min-height: 0;
  padding: 0.8rem;
  border-radius: 1.35rem;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.86), transparent 45%),
    linear-gradient(135deg, rgba(232, 250, 255, 0.92), rgba(245, 247, 255, 0.92));
  overflow: hidden;
}

.home-category-card-image img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  display: block;
}

.home-category-card-copy {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1 1 auto;
}

.home-category-card-copy h3 {
  color: #00274d;
  font-size: 1.15rem;
  line-height: 1.25;
  min-height: 0;
}

.home-category-card-summary {
  color: #5b687f;
  font-size: 0.88rem;
  line-height: 1.55;
  min-height: 2.6rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-category-card-action {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: #00b14c;
  font-size: 0.94rem;
}

.home-category-card-action span:last-child {
  font-size: 1.1rem;
}

@media (max-width: 899px) {
  .home-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 639px) {
  .home-category-showcase {
    padding: 1rem 1rem 3rem;
  }

  .home-category-shell {
    padding: 1rem;
    border-radius: 1.6rem;
  }

  .home-category-grid {
    grid-template-columns: 1fr;
  }

  .home-category-card-image {
    aspect-ratio: 4 / 3;
  }
}
