.kc-more-section,
.kc-more-section * {
  box-sizing: border-box;
}

.kc-more-section {
  --kc-blue: #1C3F8F;
  --kc-blue-dark: #122a63;
  --kc-accent: #1E73D8;
  --kc-accent-dark: #164EA5;
  --kc-accent-soft: rgba(30, 115, 216, 0.09);
  --kc-white: #ffffff;
  --kc-off-white: #F7F8FC;
  --kc-text: #071129;
  --kc-text-muted: #4c5579;
  --kc-border: #dfe5f1;
  --kc-card-gap: 20px;
  font-family: 'DM Sans', Arial, sans-serif;
  width: 100%;
  background: var(--kc-off-white);
  padding: 0;
}

.kc-more-header {
  text-align: center;
  margin: 0 auto 52px;
  max-width: 760px;
}

.kc-more-header h2 {
  font-family: 'Sora', Arial, sans-serif;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--kc-text);
  margin: 0 0 10px;
}

.kc-more-header h2 em {
  font-style: normal;
  color: var(--kc-accent);
}

.kc-more-header p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--kc-text-muted);
  margin: 0 auto;
  max-width: 560px;
}

.kc-more-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: var(--kc-card-gap);
  width: 100%;
  max-width: 1375px;
  margin: 0 auto;
}

.kc-more-grid.kc-cols-1 .kc-more-card { flex: 0 1 100%; max-width: 100%; }
.kc-more-grid.kc-cols-2 .kc-more-card { flex: 0 1 calc((100% - 20px) / 2); max-width: calc((100% - 20px) / 2); }
.kc-more-grid.kc-cols-3 .kc-more-card { flex: 0 1 calc((100% - 40px) / 3); max-width: calc((100% - 40px) / 3); }
.kc-more-grid.kc-cols-4 .kc-more-card { flex: 0 1 calc((100% - 60px) / 4); max-width: calc((100% - 60px) / 4); }
.kc-more-grid.kc-cols-5 .kc-more-card { flex: 0 1 calc((100% - 80px) / 5); max-width: calc((100% - 80px) / 5); }
.kc-more-grid.kc-cols-6 .kc-more-card { flex: 0 1 calc((100% - 100px) / 6); max-width: calc((100% - 100px) / 6); }

.kc-more-card {
  min-height: 296px;
  background: var(--kc-white);
  border: 1px solid var(--kc-border);
  border-radius: 16px;
  padding: 30px 25px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(28, 63, 143, 0.02);
  cursor: pointer;
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 520ms ease,
    transform 520ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease,
    background-color 220ms ease;
  transition-delay: var(--kc-card-delay, 0ms), var(--kc-card-delay, 0ms), 0ms, 0ms, 0ms;
}

.kc-more-section.kc-is-visible .kc-more-card {
  opacity: 1;
  transform: translateY(0);
}

.kc-more-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 10%, rgba(30, 115, 216, 0.10), transparent 35%);
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
}

.kc-more-card::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--kc-accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 220ms ease;
}

.kc-more-card:hover,
.kc-more-card:focus-within {
  transform: translateY(-6px);
  border-color: rgba(30, 115, 216, 0.32);
  box-shadow: 0 14px 36px rgba(28, 63, 143, 0.14), 0 5px 14px rgba(7, 17, 41, 0.04);
}

.kc-more-section.kc-is-visible .kc-more-card:hover,
.kc-more-section.kc-is-visible .kc-more-card:focus-within {
  transform: translateY(-6px);
}

.kc-more-card:hover::before,
.kc-more-card:focus-within::before {
  opacity: 1;
}

.kc-more-card:hover::after,
.kc-more-card:focus-within::after {
  transform: scaleX(1);
}

.kc-card-icon {
  width: 56px;
  height: 56px;
  background: #f4f7fc;
  border: 1px solid var(--kc-border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 19px;
  font-size: 23px;
  line-height: 1;
  transition: transform 220ms ease, background-color 220ms ease, border-color 220ms ease, color 220ms ease;
}

.kc-more-card:hover .kc-card-icon,
.kc-more-card:focus-within .kc-card-icon {
  transform: translateY(-2px) scale(1.04);
  background: var(--kc-accent-soft);
  border-color: rgba(30, 115, 216, 0.35);
  color: var(--kc-accent-dark);
}

.kc-more-card h3 {
  font-family: 'Sora', Arial, sans-serif;
  color: var(--kc-text);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.16;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}

.kc-more-card p {
  color: var(--kc-text-muted);
  font-size: 16px;
  line-height: 1.48;
  margin: 0 0 20px;
}

.kc-card-arrow {
  display: inline-flex;
  align-items: center;
  color: var(--kc-blue);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: color 180ms ease, transform 180ms ease;
}

.kc-card-arrow:hover,
.kc-card-arrow:focus {
  color: var(--kc-accent);
  text-decoration: none;
  transform: translateX(3px);
  outline: none;
}

@media (max-width: 1200px) {
  .kc-more-grid.kc-cols-4 .kc-more-card,
  .kc-more-grid.kc-cols-5 .kc-more-card,
  .kc-more-grid.kc-cols-6 .kc-more-card {
    flex-basis: calc((100% - 40px) / 3);
    max-width: calc((100% - 40px) / 3);
  }
}

@media (max-width: 782px) {
  .kc-more-grid {
    gap: 16px;
  }

  .kc-more-grid.kc-cols-3 .kc-more-card,
  .kc-more-grid.kc-cols-4 .kc-more-card,
  .kc-more-grid.kc-cols-5 .kc-more-card,
  .kc-more-grid.kc-cols-6 .kc-more-card {
    flex-basis: calc((100% - 16px) / 2);
    max-width: calc((100% - 16px) / 2);
  }

  .kc-more-grid.kc-cols-2 .kc-more-card {
    flex-basis: calc((100% - 16px) / 2);
    max-width: calc((100% - 16px) / 2);
  }

  .kc-more-card {
    min-height: 260px;
    padding: 24px 20px;
  }
}

@media (max-width: 560px) {
  .kc-more-grid.kc-cols-1 .kc-more-card,
  .kc-more-grid.kc-cols-2 .kc-more-card,
  .kc-more-grid.kc-cols-3 .kc-more-card,
  .kc-more-grid.kc-cols-4 .kc-more-card,
  .kc-more-grid.kc-cols-5 .kc-more-card,
  .kc-more-grid.kc-cols-6 .kc-more-card {
    flex-basis: 100%;
    max-width: 100%;
  }

  .kc-more-card {
    min-height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kc-more-card,
  .kc-card-icon,
  .kc-card-arrow,
  .kc-more-card::before,
  .kc-more-card::after {
    transition: none !important;
  }

  .kc-more-card {
    opacity: 1;
    transform: none;
  }
}
