/* Free learning experience — spec/v2/learning.md. Photo at the full 549x368 XD size (QA issue #2 item 3; supersedes the earlier ~75% note). */
.learning {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  padding: 112px 88px;
  background: var(--color-bg);
}

.learning__heading {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.learning__feature {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 26px;
  width: 100%;
  max-width: 1264px;
  min-height: 403px;
}

.learning__photo {
  display: flex;
  flex: none;
  justify-content: center;
  width: 549px;
}

.learning__photo img {
  width: 549px;
  height: auto;
}

.learning__cards {
  display: grid;
  flex: 1 1 689px;
  grid-template-columns: repeat(2, 301px);
  align-content: start;
  gap: 12px;
}

.curr-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 172px;
  padding: 19px; /* 20 - 1px border */
  border: 1px solid var(--color-line);
  border-radius: 16px;
  background: var(--color-white);
}

.curr-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.curr-card__en {
  font-family: var(--font-latin);
  font-weight: 800;
  font-size: 9px;
  line-height: var(--lh-text);
  letter-spacing: 0.04em;
  color: var(--color-orange);
}

.curr-card__title {
  font-weight: 400;
  font-size: 15px;
  line-height: var(--lh-text);
  color: var(--color-navy);
}

.curr-card__desc {
  font-size: 10px;
  line-height: 1.65;
  color: var(--color-slate);
}

@media (max-width: 1100px) {
  .learning {
    padding: 80px 40px;
  }

  .learning__feature {
    flex-direction: column;
  }
}

@media (max-width: 767px) {
  .learning {
    gap: 28px;
    padding: 56px 20px;
  }

  .learning .sec-desc br {
    display: none;
  }

  .learning__photo {
    width: 100%;
  }

  .learning__photo img {
    width: 100%;
  }

  .learning__cards {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .curr-card {
    height: auto;
  }

  .curr-card__title {
    font-size: 16px;
  }

  .curr-card__desc {
    font-size: 12px;
  }
}
