.kw-edu-downloads {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.95fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  width: 100%;
  max-width: 1176px;
  margin: 0 auto;
  padding: clamp(1.6rem, 4vw, 3rem);
  color: #fff;
  background: linear-gradient(120deg, #102a56 0%, #174785 68%, #1d5fd0 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  box-shadow: 0 26px 60px -42px rgba(16, 42, 86, 0.9);
}

.kw-edu-downloads::after {
  position: absolute;
  top: -7rem;
  right: -5rem;
  width: 18rem;
  height: 18rem;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.kw-edu-downloads__copy,
.kw-edu-downloads__files {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.kw-edu-downloads__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 0.75rem;
  color: #cfe1ff;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.16em;
}

.kw-edu-downloads__eyebrow span {
  width: 1.35rem;
  height: 2px;
  background: #e0b86f;
}

.kw-edu-downloads h2 {
  margin: 0 0 0.8rem;
  color: #fff;
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  font-weight: 850;
  line-height: 1.35;
  letter-spacing: -0.035em;
}

.kw-edu-downloads__summary {
  display: -webkit-box;
  overflow: hidden;
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  line-height: 1.75;
  white-space: pre-line;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.kw-edu-downloads__detail {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
}

.kw-edu-downloads__detail:hover {
  color: #fff;
  text-decoration: underline;
}

.kw-edu-downloads__files {
  display: grid;
  gap: 0.7rem;
}

.kw-edu-file {
  display: grid;
  grid-template-columns: 2.8rem minmax(0, 1fr) 2.2rem;
  gap: 0.85rem;
  align-items: center;
  padding: 0.9rem 0.95rem;
  color: #162b4a;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 12px;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.kw-edu-file:hover {
  color: #162b4a;
  box-shadow: 0 14px 30px -20px rgba(0, 0, 0, 0.55);
  transform: translateY(-2px);
}

.kw-edu-file__icon {
  display: grid;
  width: 2.8rem;
  height: 2.8rem;
  place-items: center;
  color: #c43b3b;
  background: #fff0f0;
  border-radius: 9px;
  font-size: 1.15rem;
}

.kw-edu-file--accent .kw-edu-file__icon {
  color: #1d5fd0;
  background: #eaf2ff;
}

.kw-edu-file__text {
  min-width: 0;
}

.kw-edu-file__text strong,
.kw-edu-file__text small {
  display: block;
}

.kw-edu-file__text strong {
  margin-bottom: 0.2rem;
  font-size: 0.9rem;
  font-weight: 850;
}

.kw-edu-file__text small {
  overflow: hidden;
  color: #687a92;
  font-size: 0.72rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kw-edu-file__action {
  display: grid;
  width: 2.2rem;
  height: 2.2rem;
  place-items: center;
  color: #1d5fd0;
  background: #eef4ff;
  border-radius: 8px;
}

@media (max-width: 760px) {
  .kw-edu-downloads {
    grid-template-columns: 1fr;
    gap: 1.3rem;
    width: calc(100% - 1.8rem);
    margin: 0.9rem auto;
    padding: 1.5rem 1.15rem;
    border-radius: 18px;
  }

  .kw-edu-file {
    grid-template-columns: 2.55rem minmax(0, 1fr) 2rem;
    gap: 0.65rem;
    padding: 0.8rem;
  }

  .kw-edu-file__icon {
    width: 2.55rem;
    height: 2.55rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kw-edu-file {
    transition: none;
  }
}
