.section-header {
  padding: 16px 0px;
}

.section-header .section-title {
  font-size: 32px;
  font-weight: 700;
  color: #000;
}

.section-header .section-view-more {
  font-size: 16px;
  font-weight: 400;
  color: #1251ee;
  min-width: 70px;
}

.banner-top img {
  width: 100%;
}

.course-sort-type-options {
  display: none;
  opacity: 0;
  transition: all linear 0.3s;
  position: absolute;
  top: 100%;
  right: 0;
  width: 100%;
  background: #fff;
  margin-top: 4px;
  border-radius: 8px;
  box-shadow: 0 16px 32px -8px #0c0c0d66;
  border: 1px solid #d9d9d9;
  z-index: 500;
}

.course-sort-type-options.open {
  display: block;
  opacity: 1;
}

.course-sort-type-options ul {
  list-style: none;
  padding: 8px;
}

.course-sort-type-options ul li {
  padding: 8px;
  cursor: pointer;
}

.course-sort-type-options ul li:hover,
.course-sort-type-options ul li.active {
  background-color: rgb(245, 245, 245);
  color: rgb(18, 81, 238);
  border-radius: 8px;
}

.course-sort-type-choosed {
  max-width: 70px;
}

.report {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0px;
}

.report-total {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
}

.report-detail .report-detail-title {
  font-size: 16px;
  font-weight: 500;
  line-height: 150%;
  color: #00000073;
}

.report-detail span {
  color: #000 !important;
  font-size: 32px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%;
}

.recruitment {
  padding: 24px 16px;
  background-color: #fff;
  border-radius: 16px;
}

.recruitment-information {
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.recruitment .report-detail {
  border: none;
}

.recruitment-information-header {
  color: #003b8e;
  font-family: Inter;
  font-size: 32px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.recruitment-information-body {
  color: #27272a;
  font-family: Inter;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
}

.btn {
  font-size: 16px;
  font-weight: 400;
  line-height: 150%;
  border-color: transparent;
}

.btn-primary {
  padding: 8px 12px;
  color: #1251ee;
  background-color: #fff;
}

.btn-outline-light {
  background-color: rgba(255, 255, 255, 0.2);
}

.homepage-body-v3 {
  background-color: #f5f5f5;
}

.courses {
  margin-bottom: 16px;
}
.bookshelf__header {
  border-bottom: 1px solid #d9d9d9;
}
.courses__header {
  border-bottom: 1px solid #d9d9d9;
}

.courses__title {
  color: #003b8e;
  font-size: 32px;
  font-weight: 700;
}

.courses-sort {
  color: #00000073;
  font-size: 16px;
  font-weight: 500;
  min-width: 205px;
}

.course-sort-type {
  gap: 4px;
  color: #000000e0;
  font-weight: 500;
  background-color: #fff;
  padding: 4px 6px;
  border-radius: 8px;
}

.courses__tags-wrapper {
  padding: 24px 0px;
}

.courses__tags {
  display: flex;
  flex-wrap: wrap;
  column-gap: 9px;
  row-gap: 9px;
  margin-top: 8px;
}

.courses__tag {
  cursor: pointer;
  padding: 8px 16px;
  border-radius: 8px;
  /*
    border: 1px solid rgba(0, 0, 0, 0.15);*/
  transition: all linear 0.2s;
  background-color: #fff;
}

.courses__tag:hover,
.courses__tag:active,
.courses__tag.active {
  color: #fff;
  background-color: #1251ee;
}

.courses__tag-text {
  font-size: 18px;
  font-weight: 600;
  line-height: 150%;
}

.courses__list {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr 1fr;
}

.courses__list.single-course {
  grid-template-columns: 1fr;
  justify-items: center;
}

.courses__list.single-course .course-item-first {
  max-width: 640px;
  width: 100%;
}

.courses__item {
  flex: 1;
  border-radius: 16px;
  border: 1px solid #d9d9d9;
  overflow: hidden;
  transition: all linear 0.2s;
  box-shadow:
    0 1px 2px 0 rgba(0, 0, 0, 0.03),
    0 1px 6px -1px rgba(0, 0, 0, 0.02),
    0 2px 4px 0 rgba(0, 0, 0, 0.02);
  background-color: white;
}

.courses__item:hover {
  transform: translateY(-5px);
}

.courses__thumb {
  width: 100%;
  aspect-ratio: 246/113;
  object-fit: cover;
  object-position: center;
}

.course-item-first .courses__thumb {
  aspect-ratio: 508/249;
}

.course__item_meta {
  position: absolute;
  padding: 16px 24px;
  top: 0px;
  left: 0px;
  width: 100%;
  z-index: 0;
  font-size: 12px;
  font-weight: 500;
}

.course__item_meta .course-category,
.course__item_meta .course-operation-status {
  padding: 1px 8px;
  border-radius: 4px;
}

.course__item_meta .course-category {
  background-color: #fff;
  max-width: 120px;
}

.course__item_meta .ongoing-course {
  background-color: #e6f4ff;
  border: 1px solid #91caff;
  color: #1677ff;
}

.course__item_meta .incoming-course {
  background-color: #fff7e6;
  border: 1px solid #ffd591;
  color: #fa8c16;
}

.course__item_meta .completed-course {
  background-color: #fff1f0;
  border: 1px solid #ffa39e;
  color: #f5222d;
}

.courses__content {
  padding: 12px;
  /*border-bottom: 1px solid #D9D9D9;*/
}

.course-item-first .courses__content {
  padding: 16px;
  border-bottom: none;
}

.courses__tag-list {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.courses__tag-mini {
  font-size: 14px;
  font-weight: 600;
  color: #00000073;
}

.course-rating-score {
  font-size: 14px;
  font-weight: 600;
}

.course-item-first .course-rating-score {
  font-size: 16px;
  font-weight: 600;
}

.courses__name {
  margin-top: 4px;
  font-size: 18px;
  font-weight: 700;
  line-height: 150%;
  overflow: hidden;
  display: -webkit-box;
  /* Required for the legacy implementation to work across browsers */
  -webkit-box-orient: vertical;
  /* Required for vertical orientation */
  -webkit-line-clamp: 2;
  /* The number of lines to show (legacy property) */
  line-clamp: 2;
  /* The number of lines to show (standard property) */
}

.courses__name:hover,
.courses__name:active {
  color: #1251ee;
}

.course-item-first .courses__name {
  margin-top: 12px;
  font-size: 28px;
}

.courses__desc {
  overflow: hidden;
  display: -webkit-box;
  /* Required for the legacy implementation to work across browsers */
  -webkit-box-orient: vertical;
  /* Required for vertical orientation */
  -webkit-line-clamp: 3;
  /* The number of lines to show (legacy property) */
  line-clamp: 3;
  /* The number of lines to show (standard property) */
}

.course-item-first .courses__desc {
  margin-top: 8px;
  color: #00000073;
  font-size: 14px;
  font-weight: 500;
  line-height: 150%;
}

.courses__bottom {
  padding: 12px 14px;
  border-top: 1px solid #d9d9d9;
  margin-top: auto;
}

.course-item-first .courses__bottom {
  padding: 16px;
}

.total-course-student {
  font-size: 14px;
  font-weight: 500;
  color: #00000073;
}

.course-item-first .total-course-student {
  font-size: 16px;
  font-weight: 600;
}

.course-access-btn {
  color: #1251ee;
  font-size: 14px;
  font-weight: 400;
  border-radius: 8px;
  padding: 8px 16px;
}

.course-item-first .course-access-btn {
  font-size: 16px;
}

.course-access-btn:hover,
.course-access-btn:active {
  color: #fff;
  background-color: #1251ee;
}

.courses__list-right {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 1fr;
  align-content: start;
}

.contests__header {
  border-bottom: 1px solid #d9d9d9;
}

.contests__list {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  color: #fff;
}

.contests__list .contests__empty {
  color: #000;
}

.contests__list-left {
  border-radius: 16px;
  overflow: hidden;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: baseline;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0) 60%
  );
  box-shadow:
    0 1px 2px 0 rgba(0, 0, 0, 0.03),
    0 1px 6px -1px rgba(0, 0, 0, 0.02),
    0 2px 4px 0 rgba(0, 0, 0, 0.02);
}

.contests__list.single-contest {
  grid-template-columns: 1fr;
}

.contests__list.single-contest .contests__list-left {
  min-height: 400px;
}

.contests__list-left .contests__thumb {
  position: absolute;
  width: 100%;
  height: 100%;
  object-position: center;
  object-fit: cover;
  z-index: -1;
  inset: 0;
}

.contests__list-left .contests-info {
  color: #fff;
  margin-top: auto;
}

.contests__list-left .contests-status {
  color: #fff;
  border-radius: 4px;
  background-color: #f5222d;
  padding: 4px 8px;
  font-size: 16px;
  font-weight: 600;
  /* display: flex; */
}

.contests__list-left .contests-total-participant,
.contests__list-left .contests-total-prize {
  border: 1px solid #f0f0f0;
  border-radius: 100px;
  padding: 6px 8px;
  background: #ffffff33;
  font-size: 16px;
  font-weight: 600;
}

.contests__list-left .contests-title {
  margin-top: 12px;
  font-size: 28px;
  font-weight: 700;
  line-height: 150%;
  display: -webkit-box;
  overflow: hidden;
  display: -webkit-box;
  /* Required for the legacy implementation to work across browsers */
  -webkit-box-orient: vertical;
  /* Required for vertical orientation */
  -webkit-line-clamp: 2;
  /* The number of lines to show (legacy property) */
  line-clamp: 2;
  /* The number of lines to show (standard property) */
}

.contests__list-left .contests-title:hover,
.contests__list-left .contests-title:active {
  color: #1251ee;
}

.contests__list-left .contests-description {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 500;
  display: -webkit-box;
  overflow: hidden;
  display: -webkit-box;
  /* Required for the legacy implementation to work across browsers */
  -webkit-box-orient: vertical;
  /* Required for vertical orientation */
  -webkit-line-clamp: 2;
  /* The number of lines to show (legacy property) */
  line-clamp: 2;
  /* The number of lines to show (standard property) */
  line-height: 150%;
}

.contests__list-left .contests-actions-group {
  margin-top: 12px;
}

.contests__list-left .contests-actions-group .contests-actions {
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 16px;
}

.contests__list-left .contests-actions-group .contests-actions.contests-access {
  background-color: #1251ee;
}

.contests__list-left
  .contests-actions-group
  .contests-actions.contests-access:hover,
.contests__list-left
  .contests-actions-group
  .contests-actions.contests-access:active {
  color: #fff;
}

.contests__list-left .contests-actions-group .contests-actions.contests-rules {
  background-color: #fff;
  color: #000;
}

.contests__list-right .contests__list-right-first,
.contests__list-right .contests__list-right-second {
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}

.contests__list-right .contests__list-right-info {
  padding: 16px;
}

.contests__list-right .contests__list-right-first {
  background-color: #0636c7;
  box-shadow:
    0 1px 2px 0 rgba(0, 0, 0, 0.03),
    0 1px 6px -1px rgba(0, 0, 0, 0.02),
    0 2px 4px 0 rgba(0, 0, 0, 0.02);
}

.contests__list-right .contests__list-right-second {
  background-color: #fff;
  border: 1px solid #d9d9d9;
  box-shadow:
    0 1px 2px 0 rgba(0, 0, 0, 0.03),
    0 1px 6px -1px rgba(0, 0, 0, 0.02),
    0 2px 4px 0 rgba(0, 0, 0, 0.02);
}

.contests__list-right .contests__list-right-icon {
  border-radius: 8px;
  padding: 8px;
  display: inline-block;
}

.contests__list-right .contests-book {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 0;
  opacity: 0.5;
}

.contests__list-right .contests__list-right-first .contests__list-right-icon {
  border: 1px solid #ffffff;
  background-color: #ffffff33;
}

.contests__list-right .contests__list-right-second .contests__list-right-icon {
  background-color: #e6f1ff;
}

.contests__list-right .contests__list-right-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 150%;
  display: block;
}

.contests__list-right .contests__list-right-title:hover,
.contests__list-right .contests__list-right-title:active {
  color: #fff;
}

.contests__list-right .contests__list-right-participant {
  font-size: 16px;
  font-weight: 500;
  line-height: 150%;
}

.contests__list-right .contests__list-right-week {
  font-size: 16px;
  font-weight: 500;
  color: #00000073;
  line-height: 150%;
}

.contests__list-right .contests__list-right-start-time {
  font-size: 14px;
  font-weight: 600;
}

.contests__list-right .contests__list-right-meta {
  border-top: 1px solid #d9d9d9;
  padding: 16px;
  line-height: 150%;
}

.contests__list-right .contests__list-right-action {
  border-radius: 6px;
  border: 1px solid #d9d9d9;
  background-color: #fff;
  padding: 8px;
}

.contests__list-right .contests__list-right-second .contests__list-right-title,
.contests__list-right
  .contests__list-right-second
  .contests__list-right-participant,
.contests__list-right
  .contests__list-right-second
  .contests__list-right-start-time {
  color: #000;
}

.contests__list-right
  .contests__list-right-second
  .contests__list-right-title:hover,
.contests__list-right
  .contests__list-right-second
  .contests__list-right-title:active {
  color: #1251ee;
}

.contests__list-left.contest-skeleton {
  border: 1px solid #dddde3;
  background: #fff;
  align-items: unset;
}

.contest-skeleton-status {
  width: 110px;
  height: 32px;
  margin-bottom: 12px;
  border-radius: 4px;
}

.contest-skeleton-meta {
  width: 150px;
  height: 24px;
  border-radius: 100px;
}

.contest-skeleton-title {
  width: 80%;
  height: 26px;
}

.contest-skeleton-desc {
  width: 100%;
  height: 16px;
}

.contest-skeleton-desc.short {
  width: 60%;
}

.contest-skeleton-btn {
  width: 110px;
  height: 36px;
}

.contest-skeleton-thumb {
  position: absolute;
  right: 0;
  top: 0;
  width: 220px;
  height: 140px;
}

.contest-small-skeleton {
  padding: 16px;
  border-radius: 16px;
  border: 1px solid #dddde3;
  overflow: hidden;
  background-color: #fff;
}

.contest-skeleton-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.contest-skeleton-small-title {
  width: 70%;
  height: 20px;
}

.contest-skeleton-small-text {
  width: 60%;
  height: 16px;
}

.contest-skeleton-small-date {
  width: 120px;
  height: 14px;
}

.contest-skeleton-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
}

#homepage-incoming-contest {
  border-radius: 16px;
  background: #001d66;
  box-shadow:
    0 1px 2px 0 rgba(0, 0, 0, 0.03),
    0 1px 6px -1px rgba(0, 0, 0, 0.02),
    0 2px 4px 0 rgba(0, 0, 0, 0.02);
  color: #fff;
}

#homepage-incoming-contest .incoming-contest-wrapper {
  padding: 40px;
}

.incoming-contest-wrapper .incoming-contest-countdown-info {
  flex: 1;
  max-width: 70%;
  overflow: hidden;
  min-width: 0;
}

.incoming-contest-wrapper .incoming-contest-icon {
  border-radius: 50%;
  background: rgba(0, 112, 255, 0.2);
  padding: 24px;
}

.incoming-contest-wrapper .incoming-contest-label {
  border-radius: 4px;
  background: #fa8c16;
  padding: 0px 8px;
  font-size: 14px;
  font-weight: 400;
  line-height: 150%;
}

.incoming-contest-wrapper .incoming-contest-scope {
  font-size: 16px;
  font-weight: 400;
  line-height: 150%;
}

.incoming-contest-wrapper .incoming-contest-title {
  font-size: 28px;
  font-weight: 700;
  line-height: 150%;
  width: 100%;
}

.incoming-contest-wrapper .incoming-contest-title:hover,
.incoming-contest-wrapper .incoming-contest-title:active {
  color: #fff;
}

.incoming-contest-wrapper .incoming-contest-description {
  font-size: 16px;
  font-weight: 600;
  line-height: 150%;
  width: 100%;
}

.incoming-contest-countdown .incoming-contest-countdown-label {
  font-size: 16px;
  font-weight: 600;
  line-height: 150%;
}

.incoming-contest-countdown .incoming-contest-countdown-text {
  font-size: 20px;
  font-weight: 700;
  line-height: 150%;
  padding: 10px;
  color: #000;
  border-radius: 8px;
  background: #fff;
  min-width: 50px;
  text-align: center;
}

.incoming-contest-countdown .incoming-contest-countdown-unit {
  font-size: 16px;
  font-weight: 400;
  line-height: 150%;
  text-align: center;
}

#homepage_online_discussion {
  background: #002329;
  margin-top: 40px;
  padding: 16px 0px;
}

#homepage_online_discussion .online_discussion__title {
  color: #fff;
}

#homepage_online_discussion .online-discussion__list {
  display: grid;
  gap: 16px;
  grid-template-columns: 6fr 4fr;
  align-items: center;
}

#homepage_online_discussion .online-discussion-streaming-item {
  border-radius: 16px;
  border: 1px solid #f5222d;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  overflow: hidden;
  padding: 16px 24px 24px;
  color: white;
  flex: 1;
  gap: 24px;
  min-height: 350px;
  height: 100%;
}

.online-discussion-streaming-item .online-discussion-live {
  padding: 4px;
  border-radius: 4px;
  background: #f5222d;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 150%;
  z-index: 1;
}

.online-discussion-streaming-item .online-discussion-total-watching {
  padding: 4px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 150%;
  z-index: 1;
}

.online-discussion-streaming-item .online-discussion-streaming-item-thumb {
  position: absolute;
  width: 100%;
  height: 100%;
  object-position: center;
  object-fit: cover;
  z-index: 0;
  inset: 0;
  aspect-ratio: 597/336;
  border-radius: 16px;
}

.online-discussion-streaming-item .btn-play {
  position: absolute;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  padding: 16px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.online-discussion-streaming-item .online-discussion-info {
  margin-top: auto;
  z-index: 1;
}

.online-discussion-streaming-item .online-discussion-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 150%;
  z-index: 1;
  overflow: hidden;
  display: -webkit-box;
  /* Required for the legacy implementation to work across browsers */
  -webkit-box-orient: vertical;
  /* Required for vertical orientation */
  -webkit-line-clamp: 2;
  /* The number of lines to show (legacy property) */
  line-clamp: 2;
  /* The number of lines to show (standard property) */
}

.online-discussion-streaming-item .online-discussion-title:hover,
.online-discussion-streaming-item .online-discussion-title:active {
  color: #1251ee;
}

.online-discussion-streaming-item .online-discussion-description {
  font-size: 16px;
  font-weight: 500;
  line-height: 150%;
  z-index: 1;
}

.online-discussion-incoming-item {
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  gap: 8px;
}

.online-discussion-incoming-item .online-discussion-incoming-thumb {
  width: 162px;
  height: 124px;
  object-fit: cover;
  aspect-ratio: 597/336;
  border-radius: 8px;
}

.online-discussion-incoming-item .online-discussion-incoming-item-info {
  padding: 12px;
}

.online-discussion-incoming-item .online-discussion-incoming-item-label {
  font-size: 14px;
  font-weight: 600;
  line-height: 150%;
  color: #f5222d;
}

.online-discussion-incoming-item .online-discussion-incoming-item-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 150%;
  color: #fff;
  overflow: hidden;
  display: -webkit-box;
  /* Required for the legacy implementation to work across browsers */
  -webkit-box-orient: vertical;
  /* Required for vertical orientation */
  -webkit-line-clamp: 2;
  /* The number of lines to show (legacy property) */
  line-clamp: 2;
  /* The number of lines to show (standard property) */
}

.online-discussion-incoming-item .online-discussion-incoming-item-title:hover,
.online-discussion-incoming-item .online-discussion-incoming-item-title:active {
  color: #1251ee;
}

.online-discussion-incoming-item .online-discussion-incoming-item-timing {
  font-size: 12px;
  font-weight: 500;
  line-height: 150%;
  color: #8c8c8c;
}

.online-discussion-library .online-discussion-library-title {
  color: #fff;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%;
  /* 36px */
}

.online-discussion-library .online-discussion-library-view-more {
  color: #669cff;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 22px;
  /* 157.143% */
}

.online-discussions__empty,
.online-discussion-library-list__empty {
  color: #fff;
}

.online-discussions__empty img,
.online-discussion-library-list__empty img,
.contests__empty img {
  max-width: 150px;
  height: auto;
  object-fit: cover;
  object-position: center;
}

.online-discussion-library-list {
  padding: 24px 0px;
}

.online-discussion-library-list .online-discussion-library-item {
  border-radius: 16px;
  background-color: #fff;
  overflow: hidden;
  flex: 1;
}

.online-discussion-library-item .online-discussion-library-item-thumb {
  width: 100%;
  aspect-ratio: 66/41;
}

.online-discussion-library-item .online-discussion-library-item-info {
  padding: 12px;
}

.online-discussion-library-item-info .online-discussion-library-item-title {
  color: rgba(0, 0, 0, 0.88);
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 150%;
  /* 24px */
  overflow: hidden;
  display: -webkit-box;
  /* Required for the legacy implementation to work across browsers */
  -webkit-box-orient: vertical;
  /* Required for vertical orientation */
  -webkit-line-clamp: 2;
  /* The number of lines to show (legacy property) */
  line-clamp: 2;
  /* The number of lines to show (standard property) */
}

.online-discussion-library-item-info
  .online-discussion-library-item-title:hover,
.online-discussion-library-item-info
  .online-discussion-library-item-title:active {
  color: #1251ee;
}

.online-discussion-library-item-info .online-discussion-library-item-date,
.online-discussion-library-item-info
  .online-discussion-library-item-total-watching {
  color: rgba(0, 0, 0, 0.45);
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: 150%;
  /* 18px */
}

.online-discussion-library-item .btn-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  padding: 8px;
}

.online-discussion-library-item-skeleton,
.online-discussion-incoming-item-skeleton {
  border: 1px solid #dddde3;
}

.online-discussion-incoming-item-skeleton .online-discussion-library-item-info {
  padding: 8px;
}

.online-discussion-library-thumb-skeleton,
.online-discussion-incoming-item-thumb-skeleton {
  height: 140px;
}

.online-discussion-library-title-skeleton,
.online-discussion-incoming-item-title-skeleton {
  height: 24px;
}

.online-discussion-incoming-item-label-skeleton {
  height: 16px;
  width: 100px;
}

.online-discussion-library-icon-skeleton.skeleton,
.online-discussion-incoming-item-icon-skeleton.skeleton {
  width: 16px;
  height: 16px;
  border-radius: 4px;
}

.online-discussion-library-text-skeleton.skeleton,
.online-discussion-incoming-item-text-skeleton.skeleton {
  width: 50px;
  height: 18px;
  border-radius: 4px;
}

#homepage_online_discussion
  .online-discussion-streaming-item.online-discussion-streaming-item-skeleton {
  background: #fff;
}

.online-discussion-streaming-item-icon-skeleton.skeleton {
  border-radius: 4px;
  width: 90px;
  height: 32px;
}

.online-discussion-streaming-item-total-watching-skeleton.skeleton {
  border-radius: 4px;
  width: 120px;
  height: 32px;
}

.online-discussion-streaming-item-title-skeleton.skeleton {
  height: 24px;
}

.online-discussion-streaming-item-title-skeleton:nth-child(2) {
  width: 70%;
}

.online-discussion-streaming-item-description-skeleton.skeleton {
  height: 16px;
}

.online-discussion-streaming-item-description-skeleton:nth-child(2) {
  width: 30%;
}
.container-bookshelf {
  background-color: #f5f5f5;
}

.bookshelf-wrapper .bookshelf__title {
  color: #000000;
}

.bookshelf-wrapper .bookshelf__list {
  padding: 16px 0px;
}

.bookshelf__list .bookshelf__list-filter {
  border-radius: 16px;
  border: 1px solid #d9d9d9;
  background: #fff;
  box-shadow:
    0 1px 2px 0 rgba(0, 0, 0, 0.03),
    0 1px 6px -1px rgba(0, 0, 0, 0.02),
    0 2px 4px 0 rgba(0, 0, 0, 0.02);
  min-width: 330px;
  min-height: 680px;
}

.bookshelf__list .bookshelf__list-filter-title {
  padding: 16px;
  gap: 11px;
  border-bottom: 1px solid #d9d9d9;
  color: rgba(0, 0, 0, 0.45);
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%;
  /* 27px */
}

.bookshelf__list .bookshelf__list-filter-category {
  padding: 8px;
}

.bookshelf__list-filter-category ul {
  list-style: none;
}

.bookshelf__list-filter-category ul li {
  padding: 16px;
  color: rgba(0, 0, 0, 0.88);
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 150%;
  /* 24px */
  transition: all linear 0.3s;
  margin: 0;
  cursor: pointer;
  margin-top: 1px;
}

.bookshelf__list-filter-category ul li:hover,
.bookshelf__list-filter-category ul li.active {
  border-radius: 16px;
  background: #f5f5f5;
}

.bookshelf__list-filter-category ul li .bookshelf__list-filter-category-name {
  flex: 1;
}

.bookshelf__list-filter-category ul li .total-book-count {
  color: rgba(0, 0, 0, 0.45);
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 150%;
  /* 21px */
  /* padding: 10px;*/
  text-align: center;
  border-radius: 8px;
  background: #f5f5f5;
  width: 24px;
  height: 24px;
}

.bookshelf__list .bookshelf__list-items {
  flex: 1;
}

.bookshelf__list-items .bookshelf__list-items-header {
  padding: 16px 0px;
}

.bookshelf__list-items .bookshelf__list-items-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
}

.bookshelf__list-items .bookshelf__list-items-grid.empty-legal-book {
  grid-template-columns: 1fr;
  align-content: center;
}

.empty-legal-book .bookshelf-empty img {
  max-width: 120px;
  height: auto;
  object-fit: cover;
  object-position: center;
}

.bookshelf__list-items-header .bookshelf__list-items-title {
  color: #000;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%;
  /* 27px */
}

.bookshelf__list-items-header .bookshelf__list-items-view-more {
  color: #1251ee;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 22px;
  /* 157.143% */
}

.bookshelf__list-item .bookshelf__list-item-thumb {
  border-radius: 8px;
  width: 100%;
  aspect-ratio: 148.4/183;
  object-fit: cover;
  object-position: center;
}

.bookshelf__list-item .bookshelf__list-item-label {
  position: absolute;
  top: 16px;
  left: 16px;
  border-radius: 4px;
  background: #1251ee;
  color: #fff;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px;
  /* 166.667% */
  padding: 1px 8px;
}

.bookshelf__list-item .bookshelf__list-item-info {
  padding: 8px;
}

.bookshelf__list-item .bookshelf__list-item-title {
  color: rgba(0, 0, 0, 0.88);
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 150%;
  /* 21px */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  overflow: hidden;
}

.bookshelf__list-item .bookshelf__list-item-title:hover,
.bookshelf__list-item .bookshelf__list-item-title:active {
  color: #1251ee;
}

.bookshelf__list-item .bookshelf__list-item-total-reading {
  color: rgba(0, 0, 0, 0.45);
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 150%;
  /* 21px */
}

.bookshelf__list-filter-category-skeleton {
  gap: 1px;
}

.bookshelf__list-filter-category-skeleton-item {
  width: 100%;
  height: 56px;
}

.bookshelf__list-item-skeleton {
  background: #fff;
  border: 1px solid #dddde3;
  border-radius: 8px;
}

.bookshelf__list-item-thumb-skeleton {
  width: 100%;
  height: 180px;
}

.bookshelf__list-item-title-skeleton {
  width: 100%;
  height: 22px;
}

.bookshelf__list-item-description-skeleton {
  width: 60%;
  height: 22px;
  margin-top: 2px;
}

.bookshelf__list-item-icon-skeleton.skeleton {
  width: 20px;
  height: 20px;
  border-radius: 4px;
}

.bookshelf__list-item-label-skeleton.skeleton {
  width: 30px;
  height: 20px;
  border-radius: 4px;
}

.events {
  background: #002c8c;
  padding-bottom: 16px;
}

.events .events__header {
  border-bottom: 1px solid #8fbaff;
}

.events .events__header .events__title {
  color: #fff;
}

.events .events__list {
  padding: 24px 0px;
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr 1fr 1fr 1fr;
}

.events .events__list.events__list-empty {
  grid-template-columns: 1fr;
  align-content: center;
  color: #fff;
}

.events__list-empty .events__empty {
  text-align: center;
}

.events__empty img {
  max-width: 120px;
  height: auto;
  object-fit: cover;
  object-position: center;
}

.events__list .events__list-item {
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.events__list-item .events__list-item-thumb {
  aspect-ratio: 31/20;
  width: 100%;
  object-fit: cover;
  object-position: center;
}

.events__list-item .events__list-item-label {
  position: absolute;
  top: 16px;
  left: 16px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.65);
  padding: 1px 8px;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px;
  /* 166.667% */
  color: #fff;
  max-width: calc(100% - 32px);
}

.events__list-item .events__list-item-info {
  padding: 12px;
}

.events__list-item-info .events__list-item-timing,
.events__list-item-info .events__list-item-location {
  color: rgba(0, 0, 0, 0.45);
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 150%;
  /* 21px */
}

.events__list-item-info .events__list-item-title {
  margin-top: 4px;
  color: rgba(0, 0, 0, 0.88);
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  /* 27px */
}

.events__list-item-info .events__list-item-title:hover,
.events__list-item-info .events__list-item-title:active {
  color: #1251ee;
}

.events__list-item .events__list-item-action {
  margin-top: 8px;
  color: #0a68ff;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  margin-top: auto;
  padding: 0px 12px 12px;
  /* 18px */
}

.events .events__list-view-more {
  text-align: center;
  padding: 8px 12px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  /* 24px */
}

.events__list-item-skeleton {
  background: #fff;
  border: 1px solid #dddde3;
}

.events__list-item-thumb-skeleton {
  width: 100%;
  height: 156px;
}

.events__list-item-icon-skeleton.skeleton {
  width: 20px;
  height: 20px;
  border-radius: 4px;
}

.events__list-item-timing-skeleton.skeleton {
  width: 70px;
  height: 20px;
  border-radius: 4px;
}

.events__list-item-title-skeleton {
  width: 100%;
  height: 20px;
}

.events__list-item-description-skeleton {
  width: 40%;
  height: 20px;
}

.events__list-item-action-skeleton {
  width: 90px;
  height: 24px;
}

.q-and-a {
  display: flex;
}

.qa-wrapper {
  display: flex;
  width: 100%;
  gap: 24px;
}

.qa-form-wrapper .qa-form {
  border-radius: 16px;
  background: #fff;
}

.qa-form-wrapper .qa-form__header {
  padding: 16px;
  border-bottom: 1px solid #d9d9d9;
}

.qa-form-wrapper .qa-form__control {
  padding: 16px;
}

.qa-form__title {
  overflow: hidden;
  color: rgba(0, 0, 0, 0.88);
  text-overflow: ellipsis;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%;
  /* 36px */
}

.qa-form__description {
  color: rgba(0, 0, 0, 0.45);
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 150%;
  /* 21px */
}

.qa-form__label {
  font-size: 14px;
  font-weight: 600;
  line-height: 150%;
  color: rgba(0, 0, 0, 0.88);
}

.form-group label {
  position: initial;
}

.form-control {
  margin-top: 4px;
  padding: 8px 16px;
}

.input[type="text"]:focus {
  border-color: none;
}

.qa-form-wrapper .qa-form__input,
.qa-form-wrapper .qa-form__textarea {
  width: 100%;
  border-radius: 8px;
  border: 1px solid #d9d9d9;
  background: #fff;
  font-size: 14px;
  font-weight: 400;
  line-height: 150%;
}

.qa-form-wrapper .qa-form__input::placeholder,
.qa-form-wrapper .qa-form__textarea::placeholder {
  color: rgba(0, 0, 0, 0.25);
}

.qa-form-wrapper .qa-form__input {
  padding: 0 12px;
  height: 40px;
  /* 21px */
}

.qa-form-wrapper .qa-form__textarea {
  min-height: 59px;
}

.qa-form-wrapper .recaptcha-notice {
  color: rgba(0, 0, 0, 0.88);
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: 150%;
}

.qa-form-wrapper #btn_submit_qa {
  padding: 8px 16px;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  /* 150% */
  border-radius: 8px;
  background: #1251ee;
  margin: 8px 16px 16px;
  height: 40px;
  border: none;
}
.container--course-statistic {
  background-color: #f5f5f5;
  margin-top: 16px;
  margin-bottom: 16px;
}
.container--contest {
  background-color: white;
}
.qa-form-wrapper #recaptcha-container {
  padding: 16px;
  margin-top: auto;
}

.qa-form-wrapper #recaptcha-container .g-recaptcha-container {
  width: 100%;
}

.qa-form__checkbox:checked {
  background-color: #007bff;
  border-color: #007bff;
}

.form-check {
  padding-left: 0;
}

.qa-form__link {
  color: #1a94ff !important;
  text-decoration: underline;
  font-size: 16px;
  font-weight: 500;
  line-height: 150%;
}

.qa-form__submit-btn {
  color: #fff;
  background-color: #0a68ff;
}

.qa-form__submit-btn:hover {
  opacity: 0.8;
}

.qa-dialog {
  flex: 1;
  padding: 60px 40px;
  background-color: #fff;
}

.qa-dialog__item {
  max-width: 600px;
  padding: 16px;
  border-bottom: 1px solid #e6f2fa;
}

.qa-dialog__avatar-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 6px 7px;
}

img.qa-dialog__avatar-icon {
  width: 28px;
  height: 28px;
  object-fit: cover;
  object-position: center;
  padding: 0;
}

.qa-dialog__author {
  font-size: 12px;
  font-weight: 700;
  line-height: 150%;
}

.qa-dialog__time {
  color: #808089;
  font-size: 12px;
  font-weight: 500;
  line-height: 150%;
}

.qa-dialog__title,
.qa-dialog__excerpt {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  overflow: hidden;
}

.qa-dialog__title {
  -webkit-line-clamp: 1;
  line-clamp: 1;
  font-size: 20px;
  font-weight: 700;
  line-height: 120%;
}

.qa-dialog__excerpt {
  -webkit-line-clamp: 2;
  font-size: 16px;
  font-weight: 400;
  line-height: 150%;
}

.react-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}

.qa-dialog__stats {
  display: flex;
  align-items: center;
  column-gap: 8px;
}

.qa-dialog__stat {
  display: flex;
  align-items: center;
  column-gap: 2px;
  color: #a6a6b0;
  font-size: 12px;
  font-weight: 500;
  line-height: 150%;
}

.qa-dialog__stat img {
  width: 16px;
  height: 16px;
}

.qa-dialog__load-more-btn {
  padding: 12px;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 500;
  line-height: 150%;
  background-color: rgba(0, 0, 0, 0.1);
}

.ellipsis5 {
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 5 !important;
  -webkit-box-orient: vertical !important;
}

#qa_agreement {
  opacity: 1;
  position: relative;
}

.dialog__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  font-size: 16px;
  line-height: 150%;
  border-radius: 4px;
}

.skeleton {
  background: linear-gradient(90deg, #e9ecef 25%, #f1f3f5 50%, #e9ecef 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
  border-radius: 8px;
}

@keyframes skeleton-shimmer {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

.skeleton--tag {
  display: inline-block;
  padding: 8px 16px;
  width: 100px;
  height: 45px;
  border-radius: 8px;
}

.skeleton--tag-small {
  width: 80px;
  height: 24px;
}

.skeleton--tag-large {
  width: 120px;
  height: 32px;
}

.skeleton--card {
  width: 100%;
  height: 200px;
  border-radius: 16px;
}

.skeleton--text {
  height: 16px;
  border-radius: 4px;
}

.skeleton--text-sm {
  height: 14px;
  width: 60%;
}

.skeleton--text-md {
  height: 16px;
  width: 80%;
}

.skeleton--text-lg {
  height: 18px;
  width: 100%;
}

.skeleton--title {
  height: 24px;
  width: 70%;
  border-radius: 4px;
}

.skeleton--avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.skeleton--button {
  height: 40px;
  width: 120px;
  border-radius: 8px;
}

.skeleton-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skeleton-container--tags {
  column-gap: 4px;
  row-gap: 4px;
  margin-top: 8px;
}

.skeleton-container--row {
  display: flex;
  gap: 12px;
}

.skeleton-container--column {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.courses__tags .skeleton {
  border: 1px solid #dddde3;
}

.skeleton--course-card {
  flex: 1;
  border-radius: 16px;
  border: 1px solid #dddde3;
  overflow: hidden;
  background-color: #fff;
}

.skeleton--course-thumb {
  width: 100%;
  height: 200px;
  border-radius: 0;
}

.course-item-first.skeleton--course-card {
  display: flex;
  flex-direction: column;
}

.course-item-first .skeleton--course-thumb {
  min-height: 350px;
}

.skeleton--course-content {
  padding: 12px;
  margin-top: auto;
}

.skeleton--course-tag {
  display: inline-block;
  width: 80px;
  height: 24px;
  border-radius: 12px;
  margin-bottom: 8px;
}

.skeleton--course-title {
  height: 24px;
  width: 90%;
  margin-bottom: 10px;
  border-radius: 4px;
}

.skeleton--course-desc {
  height: 16px;
  width: 100%;
  margin-bottom: 6px;
  border-radius: 4px;
}

.skeleton--course-desc:last-child {
  width: 70%;
}

.skeleton-container--courses {
  display: flex;
  column-gap: 14px;
  margin-top: 24px;
  flex-wrap: nowrap;
}

.skeleton--library-item {
  display: flex;
  gap: 12px;
  border-radius: 16px;
  background-color: #fff;
  overflow: hidden;
  padding: 12px;
}

.skeleton--library-thumb {
  width: 110px;
  height: 80px;
  border-radius: 8px;
  flex-shrink: 0;
}

.skeleton--library-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.skeleton--library-tag {
  display: inline-block;
  width: 100px;
  height: 20px;
  border-radius: 8px;
  margin-bottom: 6px;
}

.skeleton--library-name {
  height: 48px;
  width: 100%;
  border-radius: 4px;
}

.skeleton--library-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 16px;
}

.skeleton--library-rating-icon {
  width: 13.333px;
  height: 13.333px;
  border-radius: 2px;
}

.skeleton--library-rating-text {
  width: 30px;
  height: 13px;
  border-radius: 2px;
}

.skeleton-container--library {
  display: flex;
  flex-direction: column;
  row-gap: 8px;
  margin-top: 8px;
}

.skeleton--qa-post-item {
  max-width: 600px;
  padding: 16px;
  border-bottom: 1px solid #e6f2fa;
}

.skeleton--qa-post-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.skeleton--qa-post-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
}

.skeleton--qa-post-author {
  width: 120px;
  height: 14px;
  border-radius: 4px;
}

.skeleton--qa-post-time {
  width: 100px;
  height: 12px;
  border-radius: 4px;
}

.skeleton--qa-post-title {
  height: 24px;
  width: 90%;
  margin-bottom: 8px;
  border-radius: 4px;
}

.skeleton--qa-post-excerpt {
  height: 16px;
  width: 100%;
  margin-bottom: 4px;
  border-radius: 4px;
}

.skeleton--qa-post-excerpt:last-of-type {
  width: 70%;
  margin-bottom: 8px;
}

.skeleton--qa-post-stats {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.skeleton--qa-post-stat {
  display: flex;
  align-items: center;
  gap: 4px;
}

.skeleton--qa-post-stat-icon {
  width: 16px;
  height: 16px;
  border-radius: 2px;
}

.skeleton--qa-post-stat-text {
  width: 24px;
  height: 12px;
  border-radius: 2px;
}

.skeleton-container--qa-posts {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.qa-dialog__list__empty {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.qa-dialog__empty {
  text-align: center;
  padding: 24px 16px;
}

.qa-dialog__empty-icon {
  max-width: 120px;
  height: auto;
}

.qanda-input-wrapper {
  position: relative;
  width: 100%;
}

.qanda-dropdown-arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: #555;
  pointer-events: none;
  transition: transform 0.2s ease;
}

.qanda-dropdown {
  list-style: none;
  padding: 0;
  margin: 0;
  position: absolute;
  width: 100%;
  background: #fff;
  border: 1px solid #ccc;
  border-top: none;
  max-height: 220px;
  overflow-y: auto;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  display: none;
  z-index: 99;
}

.qanda-dropdown li {
  padding: 12px 16px;
  cursor: pointer;
  transition: background 0.15s;
  font-size: 14px;
}

.qanda-dropdown li.selected {
  background: var(--color-primary) !important;
  color: white;
}

.qanda-dropdown li:hover {
  background: #f2f2f2;
}

/* <1200px */
@media (max-width: 1199.98px) {
  .courses__tags-wrapper {
    flex-direction: column !important;
  }

  .events__info-desc {
    font-size: 28px;
  }

  .courses__list {
    grid-template-columns: 1fr;
  }

  .bookshelf__list-items .bookshelf__list-items-grid {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }

  #homepage_online_discussion .online-discussion__list {
    grid-template-columns: minmax(0, 1fr);
  }

  .events .events__list {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .online-discussion-library-list .online-discussion-library-item {
    flex: 0 0 calc(33.333% - 16px);
    min-width: 220px;
  }
}

/* <992px */
@media (max-width: 991.98px) {
  .report-total {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .contests__list {
    grid-template-columns: minmax(0, 1fr);
  }

  .bookshelf__list {
    flex-direction: column;
  }

  .bookshelf__list-items .bookshelf__list-items-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  #homepage-incoming-contest .incoming-contest-wrapper {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
  }

  .incoming-contest-wrapper .incoming-contest-countdown-info {
    align-items: center !important;
  }

  .events .events__list {
    grid-template-columns: 1fr 1fr;
  }

  .events__upcoming {
    flex-direction: column;
  }

  .events__upcoming-image {
    width: 100%;
  }

  .qa-wrapper {
    flex-direction: column;
    gap: 16px;
  }

  .qa-form-wrapper {
    padding-right: 0;
    justify-content: center;
  }

  .qa-form {
    width: 100%;
    max-width: 540px;
    margin: 0 auto;
  }

  .qa-dialog {
    padding: 40px 24px;
  }

  .qa-dialog__item {
    max-width: unset !important;
  }

  .dialog__timer-wrapper {
    flex-wrap: wrap;
    gap: 8px;
  }

  .skeleton-container--courses {
    flex-wrap: wrap;
    gap: 16px;
  }

  .skeleton--course-card {
    flex: 1 1 calc(50% - 8px);
    /*min-width: 260px;*/
  }

  .online-discussion-library-list .online-discussion-library-item {
    flex: 0 0 calc(50% - 16px);
  }

  .bookshelf__list .bookshelf__list-filter {
    min-height: unset;
  }
}

/* <768px */
@media (max-width: 767.98px) {
  .banner-top img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
  }

  .report-total {
    padding: 5px;
  }

  .recruitment {
    flex-direction: column;
  }

  .recruitment-information-header {
    padding: 10px;
  }

  .recruitment-information-body {
    padding: 10px;
  }

  .dialog__wrapper {
    flex-direction: column;
    padding: 24px;
    row-gap: 24px;
  }

  .dialog__timer {
    padding: 24px;
  }

  .training-option {
    flex-direction: column;
    align-items: flex-start;
    row-gap: 12px;
  }

  .training-options-wrapper {
    flex-direction: column;
    row-gap: 10px;
  }

  .training-option__content {
    flex-direction: column;
    align-items: flex-start;
    row-gap: 8px;
  }

  .courses__list-right {
    grid-template-columns: 1fr 1fr;
  }

  .courses__list-right .course-access-btn {
    padding: 8px;
  }

  .courses__list-right .course-access-btn-label {
    display: none;
  }

  .online-discussion-incoming-list {
    flex-direction: column;
  }

  .online-discussion-incoming-item {
    display: flex;
    flex-direction: row;
    align-items: center;
  }

  .online-discussion-incoming-item .online-discussion-incoming-thumb {
    width: 200px;
    height: 100%;
  }

  .bookshelf__list-items .bookshelf__list-items-grid {
    grid-template-columns: 1fr 1fr;
  }

  .events__title,
  .library__title,
  .courses__title {
    font-size: 26px;
  }

  .qa-wrapper {
    gap: 12px;
  }

  .qa-form {
    padding: 28px;
    max-width: 100%;
  }

  .qa-dialog {
    padding: 32px 16px;
  }

  .qa-dialog__item {
    padding: 12px 0;
  }

  .qa-dialog__title {
    font-size: 18px;
  }

  .qa-dialog__excerpt {
    font-size: 14px;
  }

  .events__item {
    gap: 12px;
  }

  .events__item-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
  }

  .events__item-content {
    flex: 1;
  }

  .library__sections {
    flex-direction: column;
    row-gap: 12px;
  }

  .skeleton--course-card {
    flex: 1 1 100%;
  }

  .online-discussion-library-list .online-discussion-library-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex: 1 1 100%;
  }

  .online-discussion-library-item
    .online-discussion-library-item-thumb-wrapper {
    flex: 0 0 200px;
  }

  .online-discussion-library-item .online-discussion-library-item-thumb {
    width: 200px;
    height: auto;
  }

  .online-discussion-library-thumb-skeleton,
  .online-discussion-incoming-item-thumb-skeleton {
    flex: 0 0 200px;
  }

  .online-discussion-library-item-skeleton .online-discussion-library-item-info,
  .online-discussion-incoming-item-skeleton
    .online-discussion-library-item-info {
    flex: 0 0 calc(100% - 200px);
  }
}

/* <576px */
@media (max-width: 575.98px) {
  .report-total {
    grid-template-columns: 1fr 1fr;
  }

  .dialog__wrapper {
    margin: 0 2px;
  }

  .dialog__wrapper,
  .dialog__timer,
  .qa-form,
  .qa-dialog {
    padding: 16px;
  }

  .qa-form__input,
  .qa-form__textarea {
    min-width: 100%;
  }

  .events__upcoming {
    border-radius: 12px;
  }

  .events__info-desc {
    font-size: 22px;
  }

  .events__timer-item {
    padding: 4px 12px;
  }

  .courses {
    padding: 20px 0;
  }

  .courses__title {
    padding: 5px;
  }

  .bookshelf__list-items .bookshelf__list-items-grid {
    grid-template-columns: 1fr 1fr;
  }

  .events .events__list {
    grid-template-columns: 1fr;
  }

  .library__header {
    padding-left: 5px;
  }

  .library__item {
    flex-direction: row;
  }

  .qa-wrapper {
    gap: 10px;
  }

  .qa-form {
    padding: 22px;
  }

  .qa-dialog__title {
    font-size: 17px;
  }

  .qa-dialog__excerpt {
    -webkit-line-clamp: 3;
  }

  .report-total {
    margin: 0 5px;
  }

  .training-options {
    margin: 0 10px;
  }

  .online-discussion-library-list .online-discussion-library-item {
    flex-direction: column;
    align-items: stretch;
  }

  .online-discussion-library-item .online-discussion-library-item-thumb {
    width: 100%;
  }

  .online-discussion-library-thumb-skeleton {
    width: 100%;
  }
}
/* Helper: reduce gap on very small screens */
@media (max-width: 480px) {
  .dialog__wrapper {
    row-gap: 16px;
  }

  .events {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .events__header {
    margin-bottom: 20px;
  }

  .events__item {
    flex-direction: column;
    padding: 16px;
  }

  .events__item-icon-wrapper {
    width: 100%;
    height: 200px;
    padding: 20px;
    border-radius: 10px;
  }

  .courses__list-right {
    gap: 8px;
  }

  .course__item_meta {
    padding: 16px;
  }

  .courses__content {
    padding: 8px;
  }

  .section-header .section-title {
    font-size: 20px;
  }

  .courses__name {
    font-size: 16px;
  }

  .course-item-first .courses__name {
    font-size: 20px;
  }

  .contests__list-left .contests-title {
    font-size: 24px;
  }

  .contests__list-right .contests__list-right-title {
    font-size: 20px;
  }

  .contests__list-right .contests__list-right-participant {
    font-size: 14px;
  }

  .contests__list-right .contests__list-right-start-time {
    font-size: 12px;
  }

  .contests__list-right .contests__list-right-week {
    font-size: 14px;
  }

  .incoming-contest-wrapper .incoming-contest-title {
    font-size: 20px;
  }

  .incoming-contest-wrapper .incoming-contest-countdown-info {
    max-width: 100%;
  }

  .incoming-contest-wrapper .incoming-contest-description {
    font-size: 14px;
    white-space: unset;
  }
}
