.post-type-archive-lesson .archive-title, .tax-lesson_chapter .archive-title {
  color: #fff;
  background: #00bcd4;
  border-radius: 6px;
  padding: .5em .75em;
  font-size: 24px;
  font-weight: 600;
}

.post-type-archive-lesson .eye-catch, .tax-lesson_chapter .eye-catch {
  margin-left: auto;
  margin-right: auto;
}

.lesson-chapters {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
  display: grid;
}

.lesson-card {
  color: var(--cocoon-text-color);
  background: #fff;
  text-decoration: none;
  transition: all .2s ease-in-out;
  box-shadow: 0 0 6px #00000014;
}

.lesson-card:hover {
  box-shadow: 0 0 6px #0003;
}

.lesson-card__inner {
  padding: 1rem;
}

.lesson-card__figure {
  aspect-ratio: var(--card-ratio);
  overflow: hidden;
}

.lesson-card__figure > img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.lesson-card__title {
  margin-top: 1rem;
  font-size: 1.2rem;
}

.lesson-card__readmore {
  color: var(--cocoon-text-color);
  text-align: center;
  background: #f5f5f5;
  border-radius: 2em;
  margin-top: 1rem;
  padding: .5em;
  font-size: .8em;
  font-weight: 600;
  text-decoration: none;
  display: block;
}

.lesson-card__readmore:hover {
  color: #fff;
  background: #e53900;
}

.lessons {
  flex-direction: column;
  gap: 1rem;
  display: flex;
}

.list-lesson {
  transition: all .2s ease-in-out;
}

.list-lesson:hover {
  --cocoon-text-color: #e53900;
  box-shadow: 0 0 6px #0003;
}

.list-lesson a {
  text-decoration: none;
}

.list-lesson__inner {
  border: 1px solid #ddd;
  gap: 1rem;
  padding: 1rem;
  display: flex;
}

.list-lesson__figure {
  aspect-ratio: 1;
  border-radius: 50%;
  width: min(150px, 20vw);
  overflow: hidden;
}

.list-lesson__figure > img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.list-lesson__body {
  flex: 1;
}

.list-lesson__title {
  color: var(--cocoon-text-color);
  font-size: 1.2rem;
}

.sidebar-lesson-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sidebar-lesson-list > li a {
  color: var(--cocoon-text-color);
  border-bottom: 1px solid #ddd;
  justify-content: space-between;
  padding: .75em 1em;
  text-decoration: none;
  transition: all .2s ease-in-out;
  display: flex;
}

.sidebar-lesson-list > li a:hover {
  background: #f5f5f5;
}

@media (width >= 768px) {
  .main {
    min-height: 62dvh;
  }
}
