/* Live / offline homepage section headers inside model grid */
.cbp-rfgrid ul {
  display: grid;
}

li.sl-home-model-section-head {
  grid-column: 1 / -1;
  list-style: none;
  width: 100%;
  margin: 0;
  padding: 0;
}

li.sl-home-model-section-head + li:not(.sl-home-model-section-head) {
  margin-top: 0;
}

.sl-home-model-section-head__inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin: 18px 0 12px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(8, 11, 18, 0.88));
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.sl-home-model-section-head--live .sl-home-model-section-head__inner {
  border-color: rgba(34, 197, 94, 0.22);
  background: linear-gradient(135deg, rgba(6, 36, 22, 0.92), rgba(8, 11, 18, 0.9));
}

.sl-home-model-section-head--offline .sl-home-model-section-head__inner {
  margin-top: 26px;
  border-color: rgba(148, 163, 184, 0.18);
}

.sl-home-model-section-head__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.15;
  color: #f8fafc;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.sl-home-model-section-head--live .sl-home-model-section-head__title i {
  color: #22c55e;
  font-size: 10px;
  filter: drop-shadow(0 0 6px rgba(34, 197, 94, 0.65));
}

.sl-home-model-section-head--offline .sl-home-model-section-head__title i {
  color: #94a3b8;
  font-size: 15px;
}

.sl-home-model-section-head__subtitle {
  margin: 8px 0 0;
  max-width: 760px;
  color: #94a3b8;
  font-size: 13px;
  line-height: 1.55;
}

.sl-home-model-section-head__count {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.sl-home-model-section-head--live .sl-home-model-section-head__count {
  color: #bbf7d0;
  background: rgba(34, 197, 94, 0.12);
}

@media (max-width: 720px) {
  .sl-home-model-section-head__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
  }

  .sl-home-model-section-head__title {
    font-size: 18px;
  }
}

li.sl-home-offline-load-more-wrap {
  grid-column: 1 / -1;
  list-style: none;
  width: 100%;
  margin: 8px 0 18px;
  padding: 0;
  display: flex;
  justify-content: center;
}

.sl-home-offline-load-more {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: min(100%, 320px);
  padding: 14px 20px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.92), rgba(15, 23, 42, 0.92));
  color: #e2e8f0;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.sl-home-offline-load-more:hover:not(:disabled) {
  border-color: rgba(96, 165, 250, 0.45);
  transform: translateY(-1px);
}

.sl-home-offline-load-more:disabled,
.sl-home-offline-load-more.is-loading {
  opacity: 0.72;
  cursor: wait;
}

.sl-home-offline-load-more.has-error {
  border-color: rgba(248, 113, 113, 0.45);
}

.sl-home-offline-load-more__meta {
  color: #94a3b8;
  font-size: 12px;
  font-weight: 600;
}
