.tech-documents {
  margin: 28px 0;
}

.tech-documents-list {
  display: grid;
  gap: 14px;
}

.tech-documents.single-doc .tech-documents-list {
  max-width: 760px;
  margin: 0 auto;
}

.tech-doc {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  border: 1px solid rgba(103, 46, 22, 0.12);
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f8f4ef 100%);
  box-shadow: 0 12px 28px rgba(47, 36, 29, 0.05);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.tech-doc:hover {
  transform: translateY(-2px);
  border-color: rgba(103, 46, 22, 0.18);
  box-shadow: 0 16px 34px rgba(47, 36, 29, 0.08);
}

.doc-left {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  flex: 1 1 auto;
}

.doc-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: #672e16;
  color: #fff;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.doc-info {
  min-width: 0;
}

.doc-title {
  color: #2f241d;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}

.doc-meta {
  margin-top: 4px;
  color: #7a695d;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 14px;
  line-height: 1.45;
}

.doc-actions {
  flex: 0 0 auto;
}

.doc-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(103, 46, 22, 0.14);
  border-radius: 12px;
  background: #672e16;
  color: #fff !important;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.doc-download:hover,
.doc-download:focus-visible {
  background: #9a7764;
  color: #fff !important;
  font-family: "Plus Jakarta Sans", sans-serif !important;
  font-size: 15px;
  font-weight: 500;
  outline: none;
  transform: translateY(-1px);
  box-shadow: 0 0 0 3px rgba(103, 46, 22, 0.18);
}

@media (max-width: 767px) {
  .tech-documents {
    margin: 22px 0;
  }

  .tech-doc {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 16px;
    border-radius: 16px;
  }

  .doc-left {
    align-items: flex-start;
  }

  .doc-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
  }

  .doc-title {
    font-size: 15px;
  }

  .doc-meta {
    font-size: 13px;
  }

  .doc-actions,
  .doc-download {
    width: 100%;
  }
}
