.sector-challenges {
  padding: clamp(3rem, 6vw, 5.2rem) 0;
  background: #ffffff;
}

.sector-challenges__grid {
  display: grid;
  grid-template-columns: minmax(16rem, 23rem) 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.sector-challenges h2,
.sector-program h2,
.sector-formats h2,
.sector-testimonials h2,
.sector-faq h2 {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.55rem);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.15;
}

.sector-challenges__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

/* Same self-check card as the home page pain points: the corner box ticks on hover */
.sector-challenge-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.95rem;
  min-height: 6.25rem;
  padding: 1.15rem 2.6rem 1.15rem 1.15rem;
  border: 1px solid #eef1f7;
  border-radius: 1.1rem;
  background: #fafbff;
  box-shadow: 0 8px 24px rgba(19, 31, 68, 0.04);
}

.sector-challenge-card::after {
  content: '';
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 1.1rem;
  height: 1.1rem;
  border: 1.5px solid rgba(124, 58, 237, 0.3);
  border-radius: 0.4rem;
  background: transparent center / 0.7rem no-repeat;
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease;
}

.sector-challenge-card:hover::after {
  border-color: #8b5cf6;
  background-color: #8b5cf6;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}

.sector-challenge-card i,
.sector-format-card i {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.85rem;
  background: #f0edff;
  color: #6b57ff;
  font-style: normal;
  font-weight: 950;
}

.sector-format-card i {
  margin: 0 auto;
}

.sector-challenge-card strong {
  min-width: 0;
  font-size: 0.98rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.sector-page.sector-theme-dark .sector-challenge-card:not(:hover)::after {
  border-color: rgba(196, 181, 253, 0.45);
}

/* The intro column takes its full width first: three card columns get too narrow below 1200px */
@media (max-width: 1200px) {
  .sector-challenges__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .sector-challenges__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .sector-challenges__cards {
    grid-template-columns: 1fr;
  }

  .sector-challenge-card {
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sector-challenge-card::after {
    transition: none;
  }
}
