.my-learning-history {
  background: linear-gradient(180deg, #ebf8fe 0%, #f8f8f8 100%);
  padding: 78px 20px 120px;
}

.my-learning-history-title {
  font-size: var(--font-b2);
  font-weight: var(--font-weight-bold);
}

/*== Mypage Header ==*/
.my-learning-history-header {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
}

.my-learning-history-header span {
  font-size: var(--font-h3);
  font-weight: var(--font-weight-bold);
  line-height: 1.45;
}

/*== learning-history ==*/
.learning-history-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.learning-history-header {
  width: 100%;
  height: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 4px;
}

.learning-show-btn {
  font-weight: var(--font-weight-bold);
  font-size: var(--font-b4);
  line-height: 1.4;
}

.learning-show-btn:hover {
  transform: translateY(-1px);
  color: #474747;
}

.learning-history-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 298px;
}

.learning-history-main-thumbnail {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
}

.learning-history-video-card {
  background-color: white;
  width: 100%;
  border-radius: 16px;
  padding: 16px;
}

.thumbnail-wrapper {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 10px;
  border: none;
  margin-bottom: 8px;
}

.thumbnail-wrapper img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-description {
  display: flex;
  flex-direction: column;
}

.video-description .author {
  margin: 10px 0;
  font-size: var(--font-b15);
  height: 21px;
  display: flex;
  align-items: center;
  color: #7e7e7e;
}

.video-description .title {
  font-size: var(--font-b2);
  font-weight: var(--font-weight-bold);
  line-height: 1.54;
  display: flex;
  align-items: center;
  color: #0e0e0e;
}

.go-gptalk-btn {
  background-color: white;
  color: var(--brand-secondary);
  width: 250px;
  height: 65px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 100px;
  font-size: var(--font-b2);
  font-weight: var(--font-weight-bold);
}

.go-gptalk-btn:hover {
  transform: translateY(-1px);
}

@media (min-width: 800px) {
  .my-learning-history {
    padding: 88px 40px 120px;
  }

  .my-learning-history-header {
    padding: 66px 0;
  }

  .my-learning-history-header span {
    font-size: var(--font-h2);
    line-height: 1.34;
  }

  .learning-history-video-card {
    width: calc(50% - 10px);
    flex-shrink: 0;
  }
}

/* 데스크탑 (1280px 이상) - 가로 레이아웃 */
@media (min-width: 1280px) {
  .my-learning-history {
    display: flex;
    justify-content: center;
    width: 100%;
  }
  .my-learning-history-inner {
    width: 100%;
    max-width: 1200px;
  }
  .learning-history-video-card {
    width: calc(25% - 15px);
  }
}
