/* سکشن: گنجینهٔ صوتی صفحهٔ اصلی */
.jj-home-audio {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-3xl, 1.5rem);
  background: rgb(var(--glass-bg, 255 255 255) / var(--glass-alpha, 0.7));
  backdrop-filter: blur(var(--glass-blur, 16px));
  -webkit-backdrop-filter: blur(var(--glass-blur, 16px));
  border: 1px solid rgb(var(--glass-border, 226 232 240) / var(--glass-border-alpha, 0.8));
  box-shadow: 0 18px 40px -15px rgba(15, 23, 42, 0.07);
  padding: 1.5rem;
}
@media (min-width: 768px) {
  .jj-home-audio {
    padding: 2.5rem;
  }
}

.jj-home-audio__head {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgb(var(--c-line, 226 232 240) / 0.7);
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
}
@media (min-width: 768px) {
  .jj-home-audio__head {
    flex-direction: row;
    align-items: flex-end;
  }
}

.jj-home-audio__title-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.jj-home-audio__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.875rem;
  border-radius: 9999px;
  background: rgb(var(--c-primary, 15 43 92) / 0.1);
  color: rgb(var(--c-primary, 15 43 92));
  font-size: 0.75rem;
  font-weight: 700;
  width: fit-content;
  border: 1px solid rgb(var(--c-primary, 15 43 92) / 0.2);
}

.jj-home-audio__title {
  font-size: 1.5rem;
  font-weight: 800;
  color: rgb(var(--c-ink, 15 23 42));
  line-height: 1.2;
}
@media (min-width: 768px) {
  .jj-home-audio__title {
    font-size: 1.75rem;
  }
}

.jj-home-audio__desc {
  font-size: 0.875rem;
  color: rgb(var(--c-ink-2, 71 85 105));
  line-height: 1.6;
}

.jj-home-audio__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: 9999px;
  background: rgb(var(--c-primary, 15 43 92));
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
  white-space: nowrap;
  transition: opacity 0.2s, transform 0.2s;
  box-shadow: 0 4px 12px rgba(15, 43, 92, 0.2);
  align-self: flex-start;
}
@media (min-width: 768px) {
  .jj-home-audio__btn {
    align-self: auto;
  }
}
.jj-home-audio__btn:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.jj-home-audio__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .jj-home-audio__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.jj-home-audio__card {
  border-radius: var(--r-2xl, 1rem);
  background: rgb(var(--c-surface, 255 255 255) / 0.6);
  border: 1px solid rgb(var(--c-line, 226 232 240) / 0.8);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  transition: border-color 0.2s, transform 0.2s;
}
.jj-home-audio__card:hover {
  border-color: rgb(var(--c-primary, 15 43 92) / 0.4);
  transform: translateY(-2px);
}

.jj-home-audio__item-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.jj-home-audio__item-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: rgb(var(--c-ink, 15 23 42));
  line-height: 1.4;
}
.jj-home-audio__item-title a {
  color: inherit;
  transition: color 0.2s;
}
.jj-home-audio__item-title a:hover {
  color: rgb(var(--c-primary, 15 43 92));
}

.jj-home-audio__duration {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem 0.5rem;
  border-radius: 9999px;
  background: rgb(var(--c-surface-tint, 241 245 249) / 0.8);
  border: 1px solid rgb(var(--c-line, 226 232 240) / 0.6);
  font-size: 0.6875rem;
  font-weight: 600;
  color: rgb(var(--c-ink-3, 100 116 139));
  white-space: nowrap;
  flex-shrink: 0;
}
