/* ============================================================
   СОТРУДНИКИ
   ============================================================ */

.lab-member-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--lab-border);
  border-radius: var(--lab-radius);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(8, 13, 107, 0.03);
}

.lab-member-image-wrapper {
  position: relative;
  width: 100%;
  height: 350px;
  background-color: #f1f5f9;
}

.lab-member-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
  margin: 0;
  padding: 0;
}

.lab-member-image-wrapper::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--lab-color-primary),
    var(--lab-color-muted)
  );
  pointer-events: none;
}

.lab-member-info {
  padding: 20px;
  flex-grow: 1;
}

.lab-member-name {
  font-size: 17px;
  color: var(--lab-text-dark);
  margin: 0 0 10px 0;
  font-weight: 600;
  padding: 0 10px;
  text-align: center;
}

.lab-member-position {
  font-size: 14px;
  margin: 0;
  font-weight: 400;
  text-align: center;
  position: relative;
  padding: 10px 18px 0;
}

.lab-member-position::before {
  content: " ";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 50px;
  height: 2px;
  margin: 0 auto;
  background-color: var(--lab-color-muted);
}

/* ============================================================
   ДОКУМЕНТЫ
   ============================================================ */

.lab-doc-item {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 13px;
  padding: 20px 20px 20px 34px;
  background: #ffffff;
  border: 1px solid var(--lab-border);
  border-radius: var(--lab-radius);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(8, 13, 107, 0.03);
  text-decoration: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.lab-doc-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(
    180deg,
    var(--lab-color-primary),
    var(--lab-color-muted)
  );
  pointer-events: none;
}

.lab-doc-info {
  width: 100%;
}

.lab-doc-title {
  font-size: 16px;
  color: var(--lab-text-dark);
  margin: 0;
  font-weight: 600;
  line-height: 1.4;
}

.lab-doc-item:hover {
  border-color: var(--lab-color-accent);
  box-shadow: 0 6px 16px rgba(8, 13, 107, 0.06);
}

.lab-doc-arrow {
  color: var(--lab-color-accent);
  transition: transform 0.3s ease;
}

.lab-doc-item:hover .lab-doc-arrow {
  transform: translateX(3px);
}
