.learn-page .site-content {
  background: #0c0e17;
}

.learn-archive,
.learn-single {
  direction: rtl;
  padding: 28px 16px 80px;
  color: #e8eaed;
  font-family: "Vazirmatn", sans-serif;
}

.learn-archive-inner,
.learn-single-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.learn-crumb ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  color: #8b93a7;
  font-size: 13px;
}

.learn-crumb li {
  display: inline-flex;
  align-items: center;
}

.learn-crumb li:not(:last-child)::after {
  content: "/";
  margin: 0 8px;
  color: #3d4458;
}

.learn-crumb a {
  color: #8b93a7;
  text-decoration: none;
}

.learn-crumb a:hover,
.learn-crumb [aria-current="page"] {
  color: #fff;
}

.learn-archive-title,
.learn-title {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  line-height: 1.5;
}

.learn-archive-desc,
.learn-lead {
  max-width: 820px;
  margin: 0 0 24px;
  color: #b0b7bc;
  line-height: 2;
}

.learn-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.learn-levels {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.learn-levels a {
  display: inline-flex;
  padding: 6px 14px;
  color: #b0b7bc;
  border: 1px solid #2a3144;
  border-radius: 999px;
  font-size: 13px;
  text-decoration: none;
}

.learn-levels a.is-on,
.learn-levels a:hover {
  color: #fff;
  background: #1b2233;
  border-color: #F59403;
}

.learn-sort select {
  min-width: 180px;
  padding: 8px 12px;
  color: #e8eaed;
  background: #151826;
  border: 1px solid #2a3144;
  border-radius: 8px;
}

.learn-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px 18px;
}

.learn-card {
  min-width: 0;
  overflow: hidden;
  background: #151826;
  border-radius: 12px;
}

.learn-card-media {
  display: block;
  overflow: hidden;
  aspect-ratio: 340 / 210;
  background: #1b2233;
}

.learn-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.learn-card-body {
  padding: 14px 14px 18px;
}

.learn-card-title {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.7;
}

.learn-card-title a {
  color: #fff;
  text-decoration: none;
}

.learn-card-excerpt {
  margin: 0;
  color: #8b93a7;
  font-size: 13px;
  line-height: 1.9;
}

.learn-empty,
.learn-pager {
  margin-top: 28px;
}

.learn-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  margin: 0 0 22px;
  color: #8b93a7;
  font-size: 13px;
}

.learn-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.learn-meta svg {
  width: 16px;
  height: 16px;
}

.learn-meta a,
.learn-meta strong,
.learn-meta time {
  color: #fff;
}

.learn-player {
  position: relative;
  overflow: hidden;
  margin-bottom: 22px;
  background: #000;
  border-radius: 14px;
}

.learn-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #111;
}

.learn-stage img,
.learn-stage .learn-media {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  background: #000;
}

.learn-stage .learn-media {
  position: absolute;
  inset: 0;
}

.learn-stage.is-playing .learn-now {
  display: none;
}

.learn-play {
  position: absolute;
  top: 50%;
  right: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  padding: 0;
  color: #fff;
  background: rgba(245, 148, 3, 0.92);
  border: 0;
  border-radius: 50%;
  transform: translate(50%, -50%);
  cursor: pointer;
}

.learn-play svg {
  width: 28px;
  height: 28px;
  margin-right: 3px;
}

.learn-now {
  position: absolute;
  right: 16px;
  bottom: 14px;
  left: 340px;
  margin: 0;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.learn-playlist {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 320px;
  overflow: auto;
  background: rgba(8, 10, 16, 0.86);
  backdrop-filter: blur(8px);
}

.learn-folder {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.learn-folder summary {
  padding: 12px 14px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.learn-folder summary::-webkit-details-marker {
  display: none;
}

.learn-folder ol {
  margin: 0;
  padding: 0 8px 10px;
  list-style: none;
}

.learn-lesson {
  display: block;
  width: 100%;
  padding: 8px 10px;
  color: #b0b7bc;
  background: transparent;
  border: 0;
  border-radius: 8px;
  font: inherit;
  text-align: right;
  cursor: pointer;
}

.learn-lesson.is-on,
.learn-lesson:hover {
  color: #fff;
  background: rgba(245, 148, 3, 0.18);
}

.learn-tabs {
  margin-top: 8px;
}

.learn-tablist {
  display: flex;
  gap: 18px;
  margin-bottom: 22px;
  border-bottom: 1px solid #2a3144;
}

.learn-tablist button {
  padding: 10px 0;
  color: #8b93a7;
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.learn-tablist button.is-on {
  color: #fff;
  border-bottom-color: #F59403;
}

.learn-read {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.learn-toc {
  position: sticky;
  top: 20px;
  padding: 14px;
  background: #151826;
  border-radius: 12px;
}

.learn-toc-bar {
  display: flex;
  width: 100%;
  padding: 0;
  color: #fff;
  background: none;
  border: 0;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.learn-toc-bar em {
  margin-right: 8px;
  color: #F59403;
  font-style: normal;
}

.learn-toc-body p {
  margin: 10px 0;
  color: #8b93a7;
  font-size: 12px;
}

.learn-toc-body ol {
  margin: 0;
  padding: 0 16px 0 0;
  color: #b0b7bc;
  line-height: 1.9;
}

.learn-toc-body a {
  color: inherit;
  text-decoration: none;
}

.learn-article {
  color: #c5cad6;
  line-height: 2.1;
}

.learn-article h2 {
  margin: 28px 0 12px;
  color: #fff;
  font-size: 22px;
}

.learn-article p,
.learn-article ol {
  margin: 0 0 14px;
}

.learn-related {
  margin-top: 48px;
}

.learn-related h2 {
  margin: 0 0 20px;
  color: #fff;
  font-size: 22px;
}

.learn-single .review-form-box,
.learn-single .comment-respond,
.learn-single .woocommerce-Reviews {
  color: #c5cad6;
}

.learn-single .review-form-box,
.learn-single .comment-respond {
  background: #151826;
  border-color: #2a3144;
}

@media (max-width: 980px) {
  .learn-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .learn-player {
    display: flex;
    flex-direction: column;
  }

  .learn-playlist {
    position: static;
    width: 100%;
    max-height: 280px;
  }

  .learn-now {
    left: 16px;
  }

  .learn-read {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .learn-grid {
    grid-template-columns: 1fr;
  }
}
