.app-page .app-section-header {
  border-bottom: none;
  margin-bottom: 18px;
  padding-bottom: 0;
}

.app-page .app-section-header .section-title h2 {
  font-size: 2.2rem;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #22324d;
}

.app-page .container {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 24px 20px 28px;
}

.app-page #my-courses-list {
  grid-template-columns: 1fr;
  gap: 18px;
  justify-items: start;
}

.app-page .app-course-card {
  width: min(100%, 860px);
  display: grid;
  grid-template-columns: 224px minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
  padding: 20px 26px;
  border-radius: 22px;
  background: linear-gradient(180deg, #f8fbfe 0%, #eef4f9 100%);
  border: 1px solid #c8d6e4;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.app-page .app-course-media {
  position: relative;
  min-height: 224px;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(145deg, #dbe6f1 0%, #cddae7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(34, 50, 77, 0.18);
  font-size: 4rem;
}

.app-page .app-course-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(255, 216, 92, 0.34) 0%, rgba(255, 216, 92, 0.16) 100%);
  pointer-events: none;
}

.app-page .app-course-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.app-page .app-course-content {
  min-width: 0;
  min-height: 224px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 2px 0;
}

.app-page .app-course-tag {
  width: fit-content;
  max-width: 100%;
  margin-bottom: 12px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid #bfcedd;
  background: rgba(255, 255, 255, 0.55);
  color: #60738d;
  font-size: 0.72rem;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-page .app-course-title {
  margin: 0;
  color: #22324d;
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  line-height: 1.14;
  letter-spacing: -0.02em;
}

.app-page .app-course-footer {
  width: 100%;
  margin-top: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 18px;
}

.app-page .app-course-progress {
  width: min(100%, 360px);
}

.app-page .app-course-progress-text {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: #6d7f98;
  font-size: 0.9rem;
}

.app-page .app-course-progress-text strong {
  color: #4f74de;
  font-weight: 800;
}

.app-page .app-course-progress-track {
  height: 24px;
  background: #d7dee8;
  border-radius: 999px;
  overflow: hidden;
}

.app-page .app-course-progress-bar {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #5f83ef 0%, #7ca4ff 100%);
  transition: width 0.35s ease;
}

.app-page .app-course-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #22324d;
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1;
  white-space: nowrap;
}

.app-page .app-course-cta-icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #678cf5;
  color: #22324d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
}

.app-page .app-course-cta:hover .app-course-cta-icon {
  background: #7da0ff;
}

@media (max-width: 980px) {
  .app-page .app-course-card {
    width: 100%;
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 18px;
    padding: 18px;
  }

  .app-page .app-course-media {
    min-height: 170px;
  }

  .app-page .app-course-content {
    min-height: 170px;
  }

  .app-page .app-course-footer {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 14px;
  }

  .app-page .app-course-progress {
    width: 100%;
  }

  .app-page .app-course-cta {
    justify-self: start;
  }
}

@media (max-width: 620px) {
  .app-page .container {
    padding: 18px 16px 22px;
    border-radius: 16px;
  }

  .app-page .app-section-header .section-title h2 {
    font-size: 1.8rem;
  }

  .app-page .app-course-card {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px;
  }

  .app-page .app-course-media {
    min-height: 180px;
  }

  .app-page .app-course-content {
    min-height: 0;
  }

  .app-page .app-course-title {
    font-size: 1.3rem;
  }

  .app-page .app-course-progress-text {
    font-size: 0.84rem;
  }

  .app-page .app-course-progress-track {
    height: 18px;
  }
}