/* ── Edraak Listing & Detail Page Components ─────────────── */
.asl-listing {
  padding: 48px 0 80px;
}

.asl-listing--flush-top {
  padding-top: 0;
}

.asl-listing__row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.asl-listing__sidebar {
  width: 100%;
}

@media (min-width: 992px) {
  .asl-listing__sidebar {
    width: calc(33.333% - 16px);
  }
  .asl-listing__content {
    width: calc(66.667% - 8px);
  }
}

.asl-listing__content {
  width: 100%;
}

/* ── Toolbar (sort/search/toggle) ────────────────────────── */
.asl-listing__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #1e293b2a;
}

.asl-listing__result {
  font-size: 0.875rem;
  color: #6c757d;
  margin: 0;
}

.asl-listing__result strong {
  color: #1E293B;
}

.asl-listing__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.asl-listing__sort {
  min-width: 180px;
}

.asl-listing__sort .form-select {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #1E293B;
  border: 1px solid #1e293b2a;
  border-radius: 8px;
  padding: 8px 36px 8px 14px;
  background-color: #ffffff;
  background-position: right 14px center;
  cursor: pointer;
  font-family: "Noto Sans Arabic", Tajawal, "Open Sans", sans-serif;
}

.asl-listing__sort .form-select:focus {
  border-color: #56B6C6;
  box-shadow: 0 0 0 2px rgba(86, 182, 198, 0.15);
}

.asl-view-toggle {
  display: flex;
  gap: 4px;
  background: #fafbfe;
  border: 1px solid #1e293b2a;
  border-radius: 8px;
  padding: 3px;
}

.asl-view-toggle__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: none;
  background: none;
  border-radius: 6px;
  color: #6c757d;
  cursor: pointer;
  transition: all 0.2s ease;
}

.asl-view-toggle__btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.asl-view-toggle__btn:hover {
  color: #3A8E96;
  background: #D9F0F2;
}

.asl-view-toggle__btn--active {
  background: #ffffff;
  color: #56B6C6;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.asl-listing__reset {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid #1e293b2a;
  background: #ffffff;
  border-radius: 8px;
  color: #6c757d;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.asl-listing__reset:hover {
  color: #fa5c7c;
  border-color: #fa5c7c;
}

/* ── Sidebar / Filters ───────────────────────────────────── */
.asl-filter {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  padding: 24px;
  position: sticky;
  top: 88px;
}

.asl-filter__search {
  position: relative;
  margin-bottom: 20px;
}

.asl-filter__search input {
  width: 100%;
  padding: 10px 14px 10px 40px;
  border: 1px solid #1e293b2a;
  border-radius: 8px;
  font-size: 0.8125rem;
  font-family: "Noto Sans Arabic", Tajawal, "Open Sans", sans-serif;
  color: #1E293B;
  background: #fafbfe;
  transition: border-color 0.2s ease;
}

.asl-filter__search input:focus {
  outline: none;
  border-color: #56B6C6;
  background: #ffffff;
}

.asl-filter__search input::placeholder {
  color: #6c757d;
}

.asl-filter__search button {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 40px;
  border: none;
  background: none;
  color: #6c757d;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.asl-filter__group {
  border-bottom: 1px solid #1e293b2a;
  padding: 16px 0;
}

.asl-filter__group:first-of-type {
  padding-top: 0;
}

.asl-filter__group:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.asl-filter__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  padding: 4px 0;
}

.asl-filter__title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1E293B;
  margin: 0;
}

.asl-filter__chevron {
  font-size: 0.7rem;
  color: #6c757d;
  transition: transform 0.2s ease;
}

.asl-filter__group--collapsed .asl-filter__chevron {
  transform: rotate(-90deg);
}

.asl-filter__body {
  padding-top: 12px;
}

.asl-filter__group--collapsed .asl-filter__body {
  display: none;
}

.asl-filter__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.15s ease;
}

.asl-filter__option:hover {
  background: #f2f3f5;
}

.asl-filter__option input[type="radio"] {
  display: none;
}

.asl-filter__option-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  color: #6c757d;
  cursor: pointer;
  flex: 1;
}

.asl-filter__option input[type="radio"]:checked + .asl-filter__option-label {
  color: #56B6C6;
  font-weight: 600;
}

.asl-filter__option-badge {
  font-size: 0.75rem;
  color: #94a3b8;
}

.asl-filter__radio-circle {
  width: 18px;
  height: 18px;
  border: 2px solid #1e293b2a;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.asl-filter__option input[type="radio"]:checked ~ .asl-filter__radio-circle {
  border-color: #56B6C6;
}

.asl-filter__option input[type="radio"]:checked ~ .asl-filter__radio-circle::after {
  content: '';
  width: 10px;
  height: 10px;
  background: #56B6C6;
  border-radius: 50%;
}

.asl-filter__stars {
  display: flex;
  align-items: center;
  gap: 2px;
}

.asl-filter__stars i {
  font-size: 0.75rem;
  color: #d1d5db;
}

.asl-filter__stars .filled {
  color: #f59e0b;
}

.asl-filter__show-more {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #56B6C6;
  cursor: pointer;
  margin-top: 8px;
  transition: color 0.2s ease;
}

.asl-filter__show-more:hover {
  color: #3A8E96;
}

.asl-filter__sub-items {
  padding-left: 28px;
}

.asl-filter__sub-items .asl-filter__option {
  padding: 4px 0;
}

.asl-filter__sub-items .asl-filter__option-label {
  font-size: 0.78125rem;
}

/* ── Course Card (Grid) ──────────────────────────────────── */
.asl-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.asl-card:hover {
  box-shadow: 0 10px 30px rgba(164,192,210,0.22);
  transform: translateY(-2px);
}

.asl-card__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.asl-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.asl-card:hover .asl-card__image img {
  transform: scale(1.05);
}

.asl-card__badge {
  position: absolute;
  bottom: 8px;
  left: 0;
  background: #FDE6EC;
  padding: 4px 14px;
  border-radius: 0 6px 6px 0;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #F25C88;
}

.asl-card__wishlist {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  color: #6c757d;
  font-size: 0.8125rem;
}

.asl-card__wishlist:hover {
  background: #ffffff;
  color: #fa5c7c;
}

.asl-card__wishlist--active {
  color: #fa5c7c;
}

.asl-card__body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.asl-card__title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1E293B;
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.asl-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.75rem;
  color: #6c757d;
}

.asl-card__rating {
  display: flex;
  align-items: center;
  gap: 4px;
}

.asl-card__rating i {
  color: #f59e0b;
  font-size: 0.75rem;
}

.asl-card__rating span {
  color: #1E293B;
  font-weight: 600;
}

.asl-card__rating-count {
  color: #94a3b8;
}

.asl-card__duration {
  display: flex;
  align-items: center;
  gap: 4px;
}

.asl-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-top: 1px solid #1e293b2a;
  margin-top: auto;
}

.asl-card__price {
  display: flex;
  align-items: center;
  gap: 8px;
}

.asl-card__price-current {
  font-size: 1rem;
  font-weight: 700;
  color: #1E293B;
}

.asl-card__price-current--free {
  color: #0acf97;
}

.asl-card__price-old {
  font-size: 0.8125rem;
  color: #94a3b8;
  text-decoration: line-through;
}

.asl-card__cta {
  font-size: 0.75rem;
  font-weight: 600;
  color: #56B6C6;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s ease;
}

.asl-card:hover .asl-card__cta {
  color: #3A8E96;
}

/* ── Course Card (List View) ─────────────────────────────── */
.asl-card--list {
  flex-direction: row;
}

.asl-card--list .asl-card__image {
  width: 260px;
  min-height: 100%;
  aspect-ratio: auto;
  flex-shrink: 0;
}

.asl-card--list .asl-card__body {
  padding: 20px;
}

.asl-card--list .asl-card__title {
  font-size: 1rem;
}

.asl-card--list .asl-card__footer {
  padding: 16px 20px;
}

@media (max-width: 767px) {
  .asl-card--list {
    flex-direction: column;
  }
  .asl-card--list .asl-card__image {
    width: 100%;
    aspect-ratio: 16/9;
  }
}

/* ── Bundle Card ─────────────────────────────────────────── */
.asl-bundle-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: all 0.3s ease;
}

.asl-bundle-card:hover {
  box-shadow: 0 10px 30px rgba(164,192,210,0.22);
  transform: translateY(-2px);
}

.asl-bundle-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid #1e293b2a;
  gap: 16px;
  flex-wrap: wrap;
}

.asl-bundle-card__title-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.asl-bundle-card__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1E293B;
  margin: 0;
  text-decoration: none;
  transition: color 0.2s ease;
}

.asl-bundle-card__title:hover {
  color: #56B6C6;
}

.asl-bundle-card__course-count {
  font-size: 0.75rem;
  font-weight: 600;
  color: #56B6C6;
  background: #D9F0F2;
  padding: 4px 10px;
  border-radius: 9999px;
  white-space: nowrap;
}

.asl-bundle-card__price {
  font-size: 1.25rem;
  font-weight: 700;
  color: #002ed6;
  white-space: nowrap;
}

.asl-bundle-card__body {
  padding: 16px 24px;
}

.asl-bundle-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.asl-bundle-card__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background 0.15s ease;
}

.asl-bundle-card__item:hover {
  background: #f2f3f5;
}

.asl-bundle-card__item-content {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
  flex: 1;
}

.asl-bundle-card__item-thumb {
  width: 48px;
  height: 32px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}

.asl-bundle-card__item-title {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #1E293B;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.asl-bundle-card__item-price {
  font-size: 0.75rem;
  color: #6c757d;
  white-space: nowrap;
  font-weight: 600;
}

.asl-bundle-card__footer {
  display: block;
  padding: 14px 24px;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: #ffffff;
  background: #56B6C6;
  text-decoration: none;
  transition: background 0.2s ease;
}

.asl-bundle-card__footer:hover {
  background: #3A8E96;
}

.asl-bundle-card__footer--secondary {
  background: #002ed6;
}

.asl-bundle-card__footer--secondary:hover {
  background: #0020b0;
}

/* ── Blog Card ───────────────────────────────────────────── */
.asl-blog-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.asl-blog-card:hover {
  box-shadow: 0 10px 30px rgba(164,192,210,0.22);
  transform: translateY(-2px);
}

.asl-blog-card__image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.asl-blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.asl-blog-card:hover .asl-blog-card__image img {
  transform: scale(1.05);
}

.asl-blog-card__category {
  position: absolute;
  bottom: 8px;
  left: 12px;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #ffffff;
  background: #56B6C6;
  padding: 4px 12px;
  border-radius: 6px;
}

.asl-blog-card__body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.asl-blog-card__title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1E293B;
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.asl-blog-card__excerpt {
  font-size: 0.8125rem;
  color: #6c757d;
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.asl-blog-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-top: 1px solid #1e293b2a;
  margin-top: auto;
}

.asl-blog-card__author {
  display: flex;
  align-items: center;
  gap: 8px;
}

.asl-blog-card__author img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.asl-blog-card__author-name {
  font-size: 0.75rem;
  font-weight: 600;
  color: #1E293B;
}

.asl-blog-card__date {
  font-size: 0.75rem;
  color: #94a3b8;
}

/* ── Blog Detail ──────────────────────────────────────────── */
.asl-article {
  max-width: 750px;
  margin: 0 auto;
}

.asl-article__body {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: #334155;
}

.asl-article__body p {
  margin-bottom: 16px;
}

.asl-article__banner {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 32px;
}

.asl-article__banner img {
  width: 100%;
  display: block;
}

.asl-article__header {
  margin-bottom: 24px;
}

.asl-article__header h1 {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 700;
  color: #1E293B;
  margin-bottom: 12px;
  line-height: 1.3;
}

.asl-article__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.8125rem;
  color: #6c757d;
}

.asl-article__meta img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.asl-article__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0;
}

.asl-article__tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: #56B6C6;
  background: #D9F0F2;
  padding: 6px 14px;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.asl-article__tag:hover {
  background: #56B6C6;
  color: #ffffff;
}

/* ── Ebook Card ──────────────────────────────────────────── */
.asl-ebook-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.asl-ebook-card:hover {
  box-shadow: 0 10px 30px rgba(164,192,210,0.22);
  transform: translateY(-2px);
}

.asl-ebook-card__image {
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.asl-ebook-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.asl-ebook-card:hover .asl-ebook-card__image img {
  transform: scale(1.05);
}

.asl-ebook-card__body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.asl-ebook-card__title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1E293B;
  line-height: 1.3;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.asl-ebook-card__link {
  font-size: 0.75rem;
  font-weight: 600;
  color: #56B6C6;
  transition: color 0.2s ease;
  margin-top: auto;
}

.asl-ebook-card:hover .asl-ebook-card__link {
  color: #3A8E96;
}

.asl-ebook-card__price {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #ffffff;
  background: #56B6C6;
  padding: 4px 12px;
  border-radius: 0 8px 8px 0;
}

.asl-ebook-card__price--free {
  background: #0acf97;
}

/* ── Pagination ──────────────────────────────────────────── */
.asl-pagination {
  display: flex;
  justify-content: center;
  padding-top: 32px;
}

.asl-pagination .pagination {
  gap: 4px;
}

.asl-pagination .page-link {
  border: 1px solid #1e293b2a;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #6c757d;
  font-family: "Noto Sans Arabic", Tajawal, "Open Sans", sans-serif;
  transition: all 0.2s ease;
}

.asl-pagination .page-link:hover {
  background: #D9F0F2;
  border-color: #56B6C6;
  color: #3A8E96;
}

.asl-pagination .page-item.active .page-link {
  background: #56B6C6;
  border-color: #56B6C6;
  color: #ffffff;
}

/* ── Detail Hero ─────────────────────────────────────────── */
.asl-detail-hero {
  background: #0f172a;
  color: #ffffff;
  padding: 48px 0;
}

.asl-detail-hero__breadcrumb {
  color: #94a3b8;
  font-size: 0.8125rem;
  margin-bottom: 20px;
}

.asl-detail-hero__breadcrumb a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.asl-detail-hero__breadcrumb a:hover {
  color: #56B6C6;
}

.asl-detail-hero__breadcrumb .separator {
  margin: 0 8px;
}

.asl-detail-hero__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 12px;
  text-wrap: balance;
}

.asl-detail-hero__desc {
  font-size: 0.9375rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin: 0 0 24px;
  max-width: 680px;
}

.asl-detail-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}

.asl-detail-hero__meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  color: #94a3b8;
}

.asl-detail-hero__meta-item i {
  font-size: 0.875rem;
  color: #56B6C6;
}

.asl-detail-hero__meta-item a {
  color: #56B6C6;
  text-decoration: none;
  font-weight: 600;
}

.asl-detail-hero__meta-item a:hover {
  text-decoration: underline;
}

.asl-detail-hero__instructor {
  display: flex;
  align-items: center;
  gap: 8px;
}

.asl-detail-hero__instructor img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.asl-detail-hero__rating {
  display: flex;
  align-items: center;
  gap: 4px;
}

.asl-detail-hero__rating i {
  color: #f59e0b;
  font-size: 0.8125rem;
}

.asl-detail-hero__rating span {
  color: #ffffff;
  font-weight: 600;
}

/* ── Detail Content ──────────────────────────────────────── */
.asl-detail-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  padding: 40px 0 80px;
}

.asl-detail-layout--single {
  grid-template-columns: 1fr;
}

@media (max-width: 991px) {
  .asl-detail-layout {
    grid-template-columns: 1fr;
  }
}

/* ── Detail Sidebar ──────────────────────────────────────── */
.asl-detail-sidebar {
  position: sticky;
  top: 88px;
  align-self: start;
}

.asl-detail-sidebar__card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  overflow: hidden;
}

.asl-detail-sidebar__image {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  cursor: pointer;
}

.asl-detail-sidebar__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.asl-detail-sidebar__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.3);
  transition: background 0.3s ease;
}

.asl-detail-sidebar__play:hover {
  background: rgba(0,0,0,0.45);
}

.asl-detail-sidebar__play i {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  color: #56B6C6;
  font-size: 1.25rem;
  transition: transform 0.3s ease;
}

.asl-detail-sidebar__play:hover i {
  transform: scale(1.1);
}

.asl-detail-sidebar__wishlist {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  color: #6c757d;
  transition: all 0.2s ease;
}

.asl-detail-sidebar__wishlist:hover {
  color: #fa5c7c;
}

.asl-detail-sidebar__price {
  padding: 20px 24px 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.asl-detail-sidebar__price-current {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1E293B;
}

.asl-detail-sidebar__price-old {
  font-size: 1rem;
  color: #94a3b8;
  text-decoration: line-through;
}

.asl-detail-sidebar__actions {
  padding: 16px 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.asl-detail-sidebar__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: "Noto Sans Arabic", Tajawal, "Open Sans", sans-serif;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  text-align: center;
}

.asl-detail-sidebar__btn--primary {
  background: #56B6C6;
  color: #ffffff;
}

.asl-detail-sidebar__btn--primary:hover {
  background: #3A8E96;
  transform: scale(1.02);
}

.asl-detail-sidebar__btn--cta {
  background: #002ed6;
  color: #ffffff;
}

.asl-detail-sidebar__btn--cta:hover {
  background: #0020b0;
  transform: scale(1.02);
  box-shadow: 0 6px 28px rgba(0,46,214,0.22);
}

.asl-detail-sidebar__btn--outline {
  background: transparent;
  color: #56B6C6;
  border: 1px solid #56B6C6;
}

.asl-detail-sidebar__btn--outline:hover {
  background: #56B6C6;
  color: #ffffff;
}

.asl-detail-sidebar__btn--ghost {
  background: transparent;
  color: #6c757d;
  border: 1px solid #1e293b2a;
}

.asl-detail-sidebar__btn--ghost:hover {
  border-color: #56B6C6;
  color: #3A8E96;
}

.asl-detail-sidebar__stats {
  padding: 0 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.asl-detail-sidebar__stat {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8125rem;
  color: #6c757d;
}

.asl-detail-sidebar__stat i {
  width: 18px;
  text-align: center;
  color: #56B6C6;
  font-size: 0.9375rem;
}

.asl-detail-sidebar__stat strong {
  color: #1E293B;
  margin-left: auto;
}

/* ── Tabs ────────────────────────────────────────────────── */
.asl-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid #1e293b2a;
  margin-bottom: 24px;
  overflow-x: auto;
}

.asl-tabs__btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #6c757d;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  font-family: "Noto Sans Arabic", Tajawal, "Open Sans", sans-serif;
}

.asl-tabs__btn i {
  font-size: 0.875rem;
}

.asl-tabs__btn:hover {
  color: #3A8E96;
}

.asl-tabs__btn--active {
  color: #56B6C6;
  border-bottom-color: #56B6C6;
}

/* ── Detail Sections ─────────────────────────────────────── */
.asl-section {
  margin-bottom: 32px;
}

.asl-section__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1E293B;
  margin: 0 0 16px;
}

.asl-section__text {
  font-size: 0.875rem;
  color: #6c757d;
  line-height: 1.7;
}

.asl-section--related {
  margin-top: 48px;
}

/* ── Curriculum ──────────────────────────────────────────── */
.asl-curriculum {
  border: 1px solid #1e293b2a;
  border-radius: 12px;
  overflow: hidden;
}

.asl-curriculum__item {
  border-bottom: 1px solid #1e293b2a;
}

.asl-curriculum__item:last-child {
  border-bottom: none;
}

.asl-curriculum__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.asl-curriculum__header:hover {
  background: #f2f3f5;
}

.asl-curriculum__header-left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #1E293B;
}

.asl-curriculum__header-right {
  font-size: 0.75rem;
  color: #94a3b8;
}

.asl-curriculum__body {
  padding: 0 20px 14px;
}

.asl-curriculum__lesson {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0 6px 24px;
  font-size: 0.8125rem;
  color: #6c757d;
}

.asl-curriculum__lesson i {
  width: 16px;
  margin-right: 8px;
  color: #56B6C6;
}

/* ── Instructor Info ─────────────────────────────────────── */
.asl-instructor {
  display: flex;
  gap: 24px;
  padding: 20px;
  background: #fafbfe;
  border-radius: 12px;
}

.asl-instructor__avatar img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

.asl-instructor__info {
  flex: 1;
}

.asl-instructor__name {
  font-size: 1rem;
  font-weight: 600;
  color: #1E293B;
  margin: 0 0 4px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.asl-instructor__name:hover {
  color: #56B6C6;
}

.asl-instructor__title {
  font-size: 0.8125rem;
  color: #6c757d;
  margin: 0 0 12px;
}

.asl-instructor__bio {
  font-size: 0.8125rem;
  color: #6c757d;
  line-height: 1.6;
  margin: 0;
}

.asl-instructor__social {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.asl-instructor__social a {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #f2f3f5;
  color: #6c757d;
  text-decoration: none;
  transition: all 0.2s ease;
}

.asl-instructor__social a:hover {
  background: #56B6C6;
  color: #ffffff;
}

/* ── Reviews ─────────────────────────────────────────────── */
.asl-review {
  border-bottom: 1px solid #1e293b2a;
  padding: 20px 0;
}

.asl-review:last-child {
  border-bottom: none;
}

.asl-review__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.asl-review__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.asl-review__name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1E293B;
  margin: 0;
}

.asl-review__rating {
  display: flex;
  gap: 2px;
  margin-left: auto;
}

.asl-review__rating i {
  font-size: 0.75rem;
  color: #f59e0b;
}

.asl-review__date {
  font-size: 0.75rem;
  color: #94a3b8;
}

.asl-review__text {
  font-size: 0.8125rem;
  color: #6c757d;
  line-height: 1.6;
  margin: 0;
}

/* ── Bundle Detail ───────────────────────────────────────── */
.asl-bundle-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1a2332 100%);
  color: #ffffff;
  padding: 48px 0;
}

.asl-bundle-hero__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin: 0 0 8px;
}

.asl-bundle-hero__meta {
  font-size: 0.875rem;
  color: #94a3b8;
  margin-bottom: 20px;
}

.asl-bundle-hero__price-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.asl-bundle-hero__price {
  font-size: 1.75rem;
  font-weight: 700;
  color: #56B6C6;
}

.asl-bundle-hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 32px;
  background: #56B6C6;
  color: #ffffff;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.asl-bundle-hero__btn:hover {
  background: #3A8E96;
  transform: scale(1.05);
  color: #ffffff;
}

/* ── Bundle Detail ─────────────────────────────────────────── */
.asl-bundle-section {
  max-width: 900px;
}

.asl-bundle-section__description {
  font-size: 0.875rem;
  line-height: 1.8;
  color: #475569;
}

.asl-bundle-section__description img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.asl-bundle-section__description p {
  margin-bottom: 12px;
}

.asl-bundle-detail-cards .asl-card .asl-card__title {
  font-size: 0.875rem;
  -webkit-line-clamp: 2;
}

/* ── Comments ────────────────────────────────────────────── */
.asl-comments {
  margin-top: 32px;
}

.asl-comments__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1E293B;
  margin: 0 0 20px;
}

.asl-comment {
  display: flex;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid #1e293b2a;
}

.asl-comment:last-child {
  border-bottom: none;
}

.asl-comment__avatar img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.asl-comment__body {
  flex: 1;
}

.asl-comment__author {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1E293B;
  margin: 0;
}

.asl-comment__date {
  font-size: 0.75rem;
  color: #94a3b8;
  margin: 0 0 8px;
}

.asl-comment__text {
  font-size: 0.8125rem;
  color: #6c757d;
  line-height: 1.6;
  margin: 0;
}

.asl-comment__actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.asl-comment__action {
  font-size: 0.75rem;
  font-weight: 600;
  color: #56B6C6;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  transition: color 0.2s ease;
}

.asl-comment__action:hover {
  color: #3A8E96;
}

.asl-comment--reply {
  margin-left: 52px;
}

/* ── Comment Form ────────────────────────────────────────── */
.asl-comment-form {
  margin-top: 24px;
}

.asl-comment-form__title {
  font-size: 1rem;
  font-weight: 600;
  color: #1E293B;
  margin: 0 0 16px;
}

.asl-comment-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #1e293b2a;
  border-radius: 8px;
  font-size: 0.8125rem;
  font-family: "Noto Sans Arabic", Tajawal, "Open Sans", sans-serif;
  color: #1E293B;
  resize: vertical;
  min-height: 100px;
  transition: border-color 0.2s ease;
}

.asl-comment-form textarea:focus {
  outline: none;
  border-color: #56B6C6;
}

.asl-comment-form__btn {
  margin-top: 12px;
  padding: 10px 28px;
  background: #56B6C6;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: "Noto Sans Arabic", Tajawal, "Open Sans", sans-serif;
  cursor: pointer;
  transition: background 0.2s ease;
}

.asl-comment-form__btn:hover {
  background: #3A8E96;
}

/* ── Blog Sidebar ────────────────────────────────────────── */
.asl-blog-sidebar {
  position: sticky;
  top: 88px;
}

.asl-blog-sidebar__section {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  padding: 20px;
  margin-bottom: 20px;
}

.asl-blog-sidebar__title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1E293B;
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #1e293b2a;
}

.asl-blog-sidebar__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.asl-blog-sidebar__list a {
  font-size: 0.8125rem;
  color: #6c757d;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 6px;
  display: block;
  transition: all 0.15s ease;
}

.asl-blog-sidebar__list a:hover {
  background: #D9F0F2;
  color: #3A8E96;
}

.asl-blog-sidebar__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.asl-blog-sidebar__tag {
  font-size: 0.75rem;
  color: #6c757d;
  background: #f2f3f5;
  padding: 4px 12px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.15s ease;
}

.asl-blog-sidebar__tag:hover {
  background: #56B6C6;
  color: #ffffff;
}

/* ── Ebook Detail ────────────────────────────────────────── */
.asl-ebook-hero {
  background: #fafbfe;
  padding: 48px 0;
}

.asl-ebook-hero__grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  align-items: start;
}

.asl-ebook-hero__cover {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.asl-ebook-hero__cover img {
  width: 100%;
  display: block;
}

.asl-ebook-hero__info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.asl-ebook-hero__title {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: #1E293B;
  margin: 0;
}

.asl-ebook-hero__details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.asl-ebook-hero__detail {
  font-size: 0.8125rem;
  color: #6c757d;
}

.asl-ebook-hero__detail strong {
  color: #1E293B;
  display: block;
  font-weight: 600;
  margin-bottom: 2px;
}

.asl-ebook-hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.asl-ebook-hero__actions .asl-detail-sidebar__btn {
  min-width: 160px;
}

.asl-ebook-hero__cover {
  position: sticky;
  top: 100px;
}

@media (max-width: 991px) {
  .asl-ebook-hero__grid {
    grid-template-columns: 240px 1fr;
    gap: 32px;
  }
}

@media (max-width: 767px) {
  .asl-ebook-hero__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .asl-ebook-hero__cover {
    max-width: 220px;
    position: static;
  }
  .asl-ebook-hero__details {
    grid-template-columns: 1fr;
  }
}

/* ── Empty State ─────────────────────────────────────────── */
.asl-empty {
  text-align: center;
  padding: 60px 20px;
}

.asl-empty__icon {
  width: 80px;
  opacity: 0.4;
  margin-bottom: 16px;
}

.asl-empty__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1E293B;
  margin: 0 0 8px;
}

.asl-empty__desc {
  font-size: 0.875rem;
  color: #6c757d;
  margin: 0;
}

/* ── Listing Banner (Blog) ────────────────────────────────── */
.asl-banner {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 240px;
  display: flex;
  align-items: center;
}

.asl-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
}

.asl-banner__content {
  position: relative;
  text-align: center;
  padding: 48px 0;
}

.asl-banner__title {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 8px;
  text-wrap: balance;
}

.asl-banner__subtitle {
  font-size: 1rem;
  color: #cbd5e1;
  max-width: 600px;
  margin: 0 auto;
}

/* ── Search Bar (Listings) ───────────────────────────────── */
.asl-search-bar {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid #1e293b2a;
  border-radius: 9999px;
  overflow: hidden;
  max-width: 320px;
  transition: border-color 0.2s ease;
}

.asl-search-bar:focus-within {
  border-color: #56B6C6;
}

.asl-search-bar__input {
  flex: 1;
  border: none;
  outline: none;
  background: none;
  padding: 10px 18px;
  font-size: 0.8125rem;
  color: #1E293B;
  font-family: "Noto Sans Arabic", Tajawal, "Open Sans", sans-serif;
  min-width: 0;
}

.asl-search-bar__input::placeholder {
  color: #94a3b8;
}

.asl-search-bar__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: none;
  color: #6c757d;
  padding: 10px 16px;
  cursor: pointer;
  transition: color 0.2s ease;
}

.asl-search-bar__btn:hover {
  color: #56B6C6;
}

/* ── Ebook Spec Table ────────────────────────────────────── */
.asl-spec-table {
  width: 100%;
  border-collapse: collapse;
}

.asl-spec-table th {
  width: 30%;
  background: #f2f3f5;
  padding: 10px 16px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #1E293B;
  border: 1px solid #1e293b2a;
  text-align: left;
}

.asl-spec-table td {
  padding: 10px 16px;
  font-size: 0.8125rem;
  color: #6c757d;
  border: 1px solid #1e293b2a;
}

/* ── Reduced Motion ──────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .asl-card,
  .asl-bundle-card,
  .asl-blog-card,
  .asl-ebook-card,
  .asl-card__image img,
  .asl-blog-card__image img,
  .asl-ebook-card__image img,
  .asl-detail-sidebar__play i,
  .asl-detail-sidebar__btn {
    transition: none !important;
  }

  .asl-card:hover,
  .asl-bundle-card:hover,
  .asl-blog-card:hover,
  .asl-ebook-card:hover {
    transform: none !important;
  }

  .asl-card:hover .asl-card__image img,
  .asl-blog-card:hover .asl-blog-card__image img,
  .asl-ebook-card:hover .asl-ebook-card__image img {
    transform: none !important;
  }
}

/* ── Dark Mode ───────────────────────────────────────────── */
[data-bs-theme="dark"] .asl-filter,
[data-bs-theme="dark"] .asl-card,
[data-bs-theme="dark"] .asl-bundle-card,
[data-bs-theme="dark"] .asl-blog-card,
[data-bs-theme="dark"] .asl-ebook-card,
[data-bs-theme="dark"] .asl-detail-sidebar__card,
[data-bs-theme="dark"] .asl-blog-sidebar__section {
  background: #1a2332;
}

[data-bs-theme="dark"] .asl-card__title,
[data-bs-theme="dark"] .asl-bundle-card__title,
[data-bs-theme="dark"] .asl-blog-card__title,
[data-bs-theme="dark"] .asl-ebook-card__title,
[data-bs-theme="dark"] .asl-detail-sidebar__price-current,
[data-bs-theme="dark"] .asl-detail-hero__meta-item a {
  color: #e2e8f0;
}

[data-bs-theme="dark"] .asl-card__footer,
[data-bs-theme="dark"] .asl-bundle-card__header,
[data-bs-theme="dark"] .asl-blog-card__footer,
[data-bs-theme="dark"] .asl-filter__group,
[data-bs-theme="dark"] .asl-tabs {
  border-color: rgba(255,255,255,0.08);
}

[data-bs-theme="dark"] .asl-card__meta,
[data-bs-theme="dark"] .asl-filter__option-label,
[data-bs-theme="dark"] .asl-section__text {
  color: #94a3b8;
}

[data-bs-theme="dark"] .asl-bundle-card__item:hover {
  background: rgba(255,255,255,0.05);
}

[data-bs-theme="dark"] .asl-detail-hero {
  background: #0a0f1a;
}

/* ── RTL Support ──────────────────────────────────────────── */
[dir="rtl"] .asl-filter__search button {
  left: auto;
  right: 0;
}

[dir="rtl"] .asl-filter__search input {
  padding: 10px 40px 10px 14px;
}

[dir="rtl"] .asl-filter__sub-items {
  padding-left: 0;
  padding-right: 28px;
}

[dir="rtl"] .asl-card__badge {
  left: auto;
  right: 0;
  border-radius: 6px 0 0 6px;
}

[dir="rtl"] .asl-card__wishlist {
  right: auto;
  left: 10px;
}

[dir="rtl"] .asl-detail-sidebar__wishlist {
  right: auto;
  left: 12px;
}

[dir="rtl"] .asl-ebook-card__price {
  border-radius: 8px 0 0 8px;
}

/* ── Home Page ─────────────────────────────────────────────── */
.asl-home-hero {
  padding: 64px 0 100px;
  background: linear-gradient(135deg, #f8faff 0%, #eef2fd 100%);
  position: relative;
  overflow: hidden;
}

.asl-home-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(86, 182, 198, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.asl-home-hero__title {
  font-size: clamp(1.75rem, 4.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.3;
  color: #1e293b;
  margin-bottom: 16px;
}

.asl-home-hero__highlight {
  color: #56B6C6;
}

.asl-home-hero__sub {
  font-size: 1.05rem;
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 480px;
}

.asl-home-hero__image {
  text-align: center;
}

.asl-home-hero__image img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

/* ── Features ──────────────────────────────────────────────── */
.asl-features {
  margin-top: -48px;
  position: relative;
  z-index: 2;
  padding-bottom: 32px;
}

.asl-features__card {
  background: #fff;
  border-radius: 12px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  border: 1px solid #eef2f6;
  transition: all 0.25s ease;
}

.asl-features__card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
  border-color: #56B6C6;
}

.asl-features__icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: #f0f7f8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.asl-features__icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.asl-features__text h6 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 2px;
}

.asl-features__text p {
  font-size: 0.8rem;
  color: #94a3b8;
  margin: 0;
}

/* ── Home Sections ──────────────────────────────────────────── */
.asl-home-section {
  padding: 56px 0;
}

.asl-home-section--light {
  background: #f8faff;
}

.asl-home-section__header {
  text-align: center;
  margin-bottom: 40px;
}

.asl-home-section__title,
.asl-k12-card h2 {
  font-size: 1.6rem;
  font-weight: 700;
  font-family: "IBM Plex Sans Arabic", cursive, sans-serif;
  color: #1e293b;
  margin-bottom: 8px;
}

.asl-k12-card h2 .h2-highlight {
  color: #56B6C6;
}

.asl-home-section__title .h2-highlight {
  color: #56B6C6;
}

.asl-home-section__desc {
  font-size: 0.95rem;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ── Home Course Card ──────────────────────────────────────── */
.asl-card--home {
  height: 100%;
}

/* ── Category Card ──────────────────────────────────────────── */
.asl-category-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border-radius: 12px;
  padding: 20px 24px;
  border: 1px solid #eef2f6;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  text-decoration: none;
  transition: all 0.25s ease;
  height: 100%;
}

.asl-category-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
  border-color: #56B6C6;
  text-decoration: none;
}

.asl-category-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: #f0f7f8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.3rem;
  color: #56B6C6;
}

.asl-category-card__icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.asl-category-card__info h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 2px;
}

.asl-category-card__info p {
  font-size: 0.8rem;
  color: #94a3b8;
  margin: 0;
}

/* ── Upcoming Card ──────────────────────────────────────────── */
.asl-upcoming-card {
  display: block;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  min-height: 260px;
  background-size: cover;
  background-position: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.asl-upcoming-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.75) 100%);
  transition: all 0.3s ease;
}

.asl-upcoming-card:hover::before {
  background: linear-gradient(180deg, transparent 20%, rgba(0, 0, 0, 0.85) 100%);
}

.asl-upcoming-card:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.asl-upcoming-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  z-index: 1;
}

.asl-upcoming-card__tag {
  display: inline-block;
  background: #56B6C6;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 6px;
  margin-bottom: 8px;
}

.asl-upcoming-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.asl-upcoming-card__date {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 12px;
}

.asl-upcoming-card__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #fff;
  object-fit: cover;
}

/* ── Instructor Card ────────────────────────────────────────── */
.asl-instructor-card {
  background: #fff;
  border-radius: 12px;
  padding: 28px 20px 24px;
  text-align: center;
  border: 1px solid #eef2f6;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: all 0.25s ease;
  height: 100%;
}

.asl-instructor-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
  border-color: #56B6C6;
}

.asl-instructor-card__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 12px;
  border: 3px solid #f0f7f8;
}

.asl-instructor-card__name {
  font-size: 1rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 2px;
}

.asl-instructor-card__title {
  font-size: 0.82rem;
  color: #94a3b8;
  margin-bottom: 14px;
  line-height: 1.4;
}

.asl-instructor-card__socials {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.asl-instructor-card__socials a {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #f0f7f8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-size: 0.85rem;
  transition: all 0.2s ease;
  text-decoration: none;
}

.asl-instructor-card__socials a:hover {
  background: #56B6C6;
  color: #fff;
}

/* ── Motivation Card ────────────────────────────────────────── */
.asl-motivation-card {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 12px;
  padding: 24px 28px;
  border: 1px solid #eef2f6;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: all 0.25s ease;
}

.asl-motivation-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  border-color: #dee4ed;
}

.asl-motivation-card__num {
  font-size: 1.8rem;
  font-weight: 700;
  color: #56B6C6;
}

.asl-motivation-card__title {
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 4px;
}

.asl-motivation-card__desc {
  color: #64748b;
  margin: 0;
  font-size: 0.88rem;
}

.asl-motivation-card__image {
  width: 100%;
  border-radius: 10px;
  max-height: 120px;
  object-fit: cover;
}

/* ── FAQ ────────────────────────────────────────────────────── */
.asl-faq {
  border-radius: 12px;
  overflow: hidden;
}

.asl-faq__item {
  border: 1px solid #eef2f6;
  border-radius: 10px;
  margin-bottom: 8px;
  overflow: hidden;
  background: #fff;
}

.asl-faq__header {
  margin: 0;
}

.asl-faq__btn {
  width: 100%;
  padding: 16px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1e293b;
  background: #fff;
  border: none;
  cursor: pointer;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.2s ease;
}

.asl-faq__btn::after {
  content: '\f077';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.8rem;
  color: #94a3b8;
  transition: transform 0.2s ease;
}

.asl-faq__btn--collapsed::after {
  content: '\f078';
}

.asl-faq__btn:hover {
  background: #f8faff;
}

.asl-faq__body {
  padding: 0 20px 16px;
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ── Partners ───────────────────────────────────────────────── */
.asl-partners {
  overflow: hidden;
}

.asl-partners__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.asl-partners__item {
  width: calc(16.666% - 14px);
  min-width: 110px;
  background: #fff;
  border-radius: 10px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #eef2f6;
  transition: all 0.25s ease;
}

.asl-partners__item:hover {
  border-color: #56B6C6;
  box-shadow: 0 4px 16px rgba(86, 182, 198, 0.1);
}

.asl-partners__item img {
  max-width: 100%;
  height: 40px;
  object-fit: contain;
  filter: grayscale(0.4);
  opacity: 0.7;
  transition: all 0.25s ease;
}

.asl-partners__item:hover img {
  filter: grayscale(0);
  opacity: 1;
}

/* ── CTA ────────────────────────────────────────────────────── */
.asl-cta-card {
  background: linear-gradient(135deg, #56B6C6 0%, #3a9aa8 100%);
  border-radius: 14px;
  padding: 40px 36px;
  color: #fff;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.asl-cta-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  pointer-events: none;
}

.asl-cta-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(86, 182, 198, 0.25);
}

.asl-cta-card--instructor {
  background: linear-gradient(135deg, #002ed6 0%, #001a8a 100%);
}

.asl-cta-card--instructor:hover {
  box-shadow: 0 8px 28px rgba(0, 46, 214, 0.25);
}

.asl-cta-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}

.asl-cta-card p {
  font-size: 0.9rem;
  opacity: 0.85;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.asl-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: #56B6C6 !important;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.25s ease;
  position: relative;
  z-index: 1;
}

.asl-cta-btn:hover {
  transform: translateX(3px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: #3a9aa8 !important;
}

.asl-cta-btn--outline {
  background: rgba(255, 255, 255, 0.15);
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.asl-cta-btn--outline:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #fff !important;
}

/* ── Home Dark Mode ─────────────────────────────────────────── */
[data-bs-theme="dark"] .asl-home-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

[data-bs-theme="dark"] .asl-home-hero__title {
  color: #f1f5f9;
}

[data-bs-theme="dark"] .asl-home-hero__sub {
  color: #94a3b8;
}

[data-bs-theme="dark"] .asl-features__card,
[data-bs-theme="dark"] .asl-category-card,
[data-bs-theme="dark"] .asl-instructor-card,
[data-bs-theme="dark"] .asl-motivation-card,
[data-bs-theme="dark"] .asl-faq__item,
[data-bs-theme="dark"] .asl-faq__btn,
[data-bs-theme="dark"] .asl-partners__item {
  background: #1e293b;
  border-color: #334155;
}

[data-bs-theme="dark"] .asl-home-section--light {
  background: #0f172a;
}

[data-bs-theme="dark"] .asl-home-section__title,
[data-bs-theme="dark"] .asl-category-card__info h5,
[data-bs-theme="dark"] .asl-instructor-card__name,
[data-bs-theme="dark"] .asl-motivation-card__title {
  color: #f1f5f9;
}

[data-bs-theme="dark"] .asl-home-section__desc,
[data-bs-theme="dark"] .asl-category-card__info p,
[data-bs-theme="dark"] .asl-instructor-card__title,
[data-bs-theme="dark"] .asl-motivation-card__desc,
[data-bs-theme="dark"] .asl-faq__body {
  color: #94a3b8;
}

[data-bs-theme="dark"] .asl-faq__btn {
  color: #f1f5f9;
}

[data-bs-theme="dark"] .asl-features__icon,
[data-bs-theme="dark"] .asl-category-card__icon,
[data-bs-theme="dark"] .asl-instructor-card__socials a {
  background: #334155;
}

[data-bs-theme="dark"] .asl-instructor-card__socials a {
  color: #94a3b8;
}

[data-bs-theme="dark"] .asl-partners__item img {
  opacity: 0.5;
}

[data-bs-theme="dark"] .asl-partners__item:hover img {
  opacity: 1;
}

[data-bs-theme="dark"] .asl-instructor-card__avatar {
  border-color: #334155;
}

/* ── Home RTL ───────────────────────────────────────────────── */
[dir="rtl"] .asl-faq__btn {
  text-align: right;
}

[dir="rtl"] .asl-home-hero::before {
  right: auto;
  left: -10%;
}

/* ── Home Responsive ────────────────────────────────────────── */
@media (max-width: 991px) {
  .asl-home-hero {
    padding: 40px 0 80px;
  }
  .asl-home-hero__title {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
  }
  .asl-home-hero__image {
    margin-top: 32px;
  }
  .asl-features {
    margin-top: -30px;
  }
  .asl-cta-card {
    padding: 32px;
  }
  .asl-home-section {
    padding: 40px 0;
  }
}

@media (max-width: 767px) {
  .asl-home-hero {
    padding: 24px 0 60px;
  }
  .asl-home-hero__title {
    font-size: 1.5rem;
  }
  .asl-features {
    margin-top: -20px;
  }
  .asl-features__card {
    padding: 14px 18px;
  }
  .asl-cta-card {
    padding: 28px 20px;
  }
  .asl-cta-card h3 {
    font-size: 1.2rem;
  }
  .asl-home-section {
    padding: 32px 0;
  }
  .asl-home-section__header {
    margin-bottom: 24px;
  }
  .asl-home-section__title {
    font-size: 1.3rem;
  }
  .asl-partners__item {
    min-width: 80px;
    padding: 12px;
  }
}

@media (max-width: 575px) {
  .asl-category-card {
    padding: 14px 16px;
  }
  .asl-upcoming-card__content {
    padding: 16px;
  }
}

/* ── Testimonial Carousel ──────────────────────────────────────── */
.asl-testimonial-carousel {
  margin: 0 -12px;
}

.asl-testimonial-carousel .slick-track {
  display: flex;
  padding: 8px 0;
}

.asl-testimonial-carousel .slick-slide {
  height: auto;
  padding: 0 12px;
}

.asl-testimonial-carousel .slick-slide > div {
  height: 100%;
}

.asl-testimonial-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 32px 28px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.04);
  border: 1px solid #eef2f6;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.asl-testimonial-card:hover {
  box-shadow: 0 8px 28px rgba(164,192,210,0.18);
  transform: translateY(-2px);
}

.asl-testimonial-card__stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.asl-testimonial-card__stars i {
  color: #f59e0b;
  font-size: 0.95rem;
}

.asl-testimonial-card__text {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #475569;
  margin-bottom: 24px;
  flex: 1;
}

.asl-testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid #eef2f6;
}

.asl-testimonial-card__author img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.asl-testimonial-card__author h6 {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0;
}

.asl-testimonial-card__author span {
  font-size: 0.75rem;
  color: #94a3b8;
}

.asl-testimonial-carousel .slick-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
}

.asl-testimonial-carousel .slick-dots li {
  margin: 0;
}

.asl-testimonial-carousel .slick-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d1d5db;
  border: none;
  font-size: 0;
  padding: 0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.asl-testimonial-carousel .slick-dots li.slick-active button {
  background: #56B6C6;
  width: 28px;
  border-radius: 5px;
}

[data-bs-theme="dark"] .asl-testimonial-card {
  background: #1e293b;
  border-color: #334155;
}

[data-bs-theme="dark"] .asl-testimonial-card__text {
  color: #94a3b8;
}

[data-bs-theme="dark"] .asl-testimonial-card__author {
  border-color: #334155;
}

[data-bs-theme="dark"] .asl-testimonial-card__author h6 {
  color: #f1f5f9;
}

[data-bs-theme="dark"] .asl-testimonial-carousel .slick-dots button {
  background: #475569;
}

[data-bs-theme="dark"] .asl-testimonial-carousel .slick-dots li.slick-active button {
  background: #56B6C6;
}


@media (max-width: 767px) {
  .asl-testimonial-card {
    padding: 24px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .asl-home-hero,
  .asl-features__card,
  .asl-category-card,
  .asl-upcoming-card,
  .asl-instructor-card,
  .asl-cta-card,
  .asl-cta-btn,
  .asl-partners__item {
    transition: none;
  }

  .asl-upcoming-card:hover {
    transform: none;
  }
}

[dir="rtl"] .asl-article {
  margin-right: auto;
  margin-left: 0;
}

[dir="rtl"] .asl-article__tags {
  justify-content: flex-end;
}

/* ── Legacy Filter Show/Hide ────────────────────────────── */
.webdesign-category.less,
.webdesign-lan.less {
  height: 160px;
  overflow: hidden;
}
