.cw-elearning-services {
  background: #f3efe7;
  color: #141210;
}

.cw-elearning-services__inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.cw-elearning-services__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}

.cw-elearning-services__title {
  max-width: 700px;
}

.cw-elearning-services__tabs {
  display: flex;
  gap: 4px;
  padding: 5px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 10px 30px -20px rgba(20, 18, 16, 0.4);
  flex-wrap: nowrap;
  overflow-x: auto;
  max-width: 100%;
}

.cw-elearning-services__tab {
  height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #141210;
  font: 600 13px 'Inter', sans-serif;
  cursor: pointer;
  white-space: nowrap;
  flex: none;
  transition: background 0.25s;
}

.cw-elearning-services__tab.is-active {
  background: #d4f53c;
}

.cw-elearning-services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(20, 18, 16, 0.08);
}

.cw-elearning-services__cell {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-right: 1px solid rgba(20, 18, 16, 0.07);
  border-bottom: 1px solid rgba(20, 18, 16, 0.07);
  transition: background 0.25s;
}

.cw-elearning-services__cell:hover {
  background: #fbf8f2;
}

.cw-elearning-services__cell-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
}

.cw-elearning-services__cell-title {
  margin: 0;
  font-family: 'Inter Tight', sans-serif;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.cw-elearning-services__cell-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #3a332d;
}
