.docs-index .mainSection {
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.docs-index-hero {
  background: linear-gradient(135deg, #111827 0%, #0b1220 100%);
  color: #fff;
  padding: 2.5rem 0 3rem;
}

.docs-index-hero .breadcrumb {
  background: transparent;
  margin-bottom: 1rem;
  padding: 0;
}

.docs-index-hero .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.docs-index-hero .breadcrumb-item a:hover {
  color: #fff;
  text-decoration: underline;
}

.docs-index-hero .breadcrumb-item.active {
  color: #fff;
}

.docs-index-hero .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.55);
  content: "/";
}

.docs-index-hero__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.docs-index-hero__lead {
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.86);
  max-width: 46rem;
  margin: 0;
}

.docs-index-body {
  background: #f7f8fa;
  padding: 2.5rem 0 4rem;
}

.docs-index-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.docs-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid #ececed;
  border-radius: 12px;
  padding: 1.35rem 1.4rem 1.25rem;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

a.docs-card:hover {
  border-color: #f0dede;
  box-shadow: 0 8px 24px rgba(203, 0, 0, 0.08);
  transform: translateY(-2px);
  color: inherit;
}

.docs-card--static {
  cursor: default;
}

.docs-card--static:hover {
  transform: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  border-color: #ececed;
}

.docs-card__eyebrow {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #cb0000;
  margin-bottom: 0.45rem;
}

.docs-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 0.5rem;
  line-height: 1.3;
}

.docs-card__desc {
  font-size: 0.95rem;
  line-height: 1.55;
  color: #6b7280;
  margin: 0;
  flex: 1;
}

.docs-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid #f0f0f0;
}

.docs-card__link-text {
  font-size: 0.88rem;
  font-weight: 600;
  color: #cb0000;
}

.docs-card__badge {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6b7280;
  background: #f3f4f6;
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  white-space: nowrap;
}

.docs-card__badge--soon {
  color: #8a6d00;
  background: #fef9e8;
}

.docs-card__badge--external {
  color: #0056b3;
  background: #eff4fb;
}

.docs-index-empty {
  background: #fff;
  border: 1px dashed #d1d5db;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  color: #6b7280;
}

.docs-index-empty strong {
  display: block;
  color: #374151;
  margin-bottom: 0.35rem;
}

.docs-index-section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9ca3af;
  margin: 0 0 1rem;
}
