.docs-section {
  padding: 2rem 0 3rem;
}

.docs-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  text-align: center;
  margin-bottom: 1.25rem;
}

.docs-header__intro {
  width: 100%;
  display: flex;
  justify-content: center;
}

.docs-title-row {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  justify-content: center;
}

.docs-title {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.1;
  font-weight: 800;
  color: #0b2348;
}

.docs-subtitle {
  display: none;
}

.docs-manage-btn {
  width: auto;
  text-decoration: none;
  padding: 0.65rem 1.1rem;
  white-space: nowrap;
}

.docs-searchbar {
  width: min(100%, 560px);
}

.docs-searchbar__input {
  width: 100%;
  padding: 0.72rem 0.95rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.65rem;
  background: #ffffff;
  color: #0b1c3a;
  font-size: 0.98rem;
}

.docs-searchbar__input:focus {
  outline: 2px solid rgba(59, 130, 246, 0.35);
  outline-offset: 1px;
  border-color: #60a5fa;
}

.docs-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.docs-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.docs-card {
  width: min(100%, 1040px);
  background: #ffffff;
  border: 1px solid #f4e5d3;
  border-radius: 1.15rem;
  padding: 0.65rem;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08), 0 0 0 3px rgba(255, 138, 76, 0.06);
}

.docs-card__image {
  width: 100%;
  height: clamp(150px, 20vw, 230px);
  border-radius: 0.85rem;
  border: 1px solid #e2e8f0;
  object-fit: cover;
  display: block;
  background: linear-gradient(135deg, #eef2f6, #f8fafc);
}

.docs-card div.docs-card__image {
  display: grid;
  place-items: center;
}

.docs-card div.docs-card__image::before {
  content: "DOC";
  font-size: clamp(1rem, 1.2vw, 1.25rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #94a3b8;
}

.docs-card__body {
  padding: 1rem 0.15rem 0.1rem;
}

.docs-card__title {
  margin: 0;
  font-size: clamp(1.2rem, 1.6vw, 1.75rem);
  line-height: 1.25;
  color: #0b1c3a;
  font-weight: 800;
}

.docs-card__desc {
  margin: 0.7rem 0 0;
  color: #46608b;
  line-height: 1.55;
  font-size: 1.02rem;
}

.docs-card__meta {
  display: none;
}

.docs-card__actions {
  margin-top: 0.75rem;
}

.docs-card__actions .btn-outline {
  width: 100%;
  display: block;
  text-align: left;
  padding: 0.8rem 1.35rem;
  border-radius: 0.55rem;
  border: 2px solid #ff8a4c;
  color: #ff8a4c;
  background: #ffffff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: none;
}

.docs-card__actions .btn-outline:hover {
  background: #ff8a4c;
  color: #0b1526;
  box-shadow: none;
}

.docs-card__actions .btn-outline:focus-visible {
  outline: 2px solid #ff8a4c;
  outline-offset: 1px;
}

.docs-empty {
  width: min(100%, 1040px);
  border: 1px dashed #cbd5e1;
  border-radius: 1rem;
  background: #f8fafc;
  padding: 1.5rem;
  color: #475569;
}

.docs-empty--search {
  text-align: center;
  margin: 1rem auto 0;
}

@media (max-width: 768px) {
  .docs-section {
    padding-top: 1.4rem;
  }

  .docs-title-row {
    gap: 0.5rem;
  }

  .docs-manage-btn {
    padding: 0.58rem 0.9rem;
  }

  .docs-card {
    padding: 0.55rem;
    border-radius: 1rem;
  }

  .docs-card__image {
    height: 145px;
    border-radius: 0.7rem;
  }

  .docs-card__body {
    padding: 0.85rem 0.05rem 0.05rem;
  }

  .docs-card__desc {
    font-size: 0.96rem;
  }
}
