.normdocs { margin: 24px 0; }
.normdocs__block { margin-bottom: 28px; }

.normdocs__block-title{
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 14px;
}

.normdocs__list{
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.08);
  background: #fff;
}

.normdocs__item{
  display: flex;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border-top: 1px solid rgba(0,0,0,.06);
}
.normdocs__item:first-child{ border-top: 0; }

.normdocs__name{
  font-size: 15px;
  line-height: 1.35;
  font-weight: 500;
  flex: 1;
  min-width: 220px;
}
.chertezhi-page .normdocs .dwg-name {

  font-weight: 400;
}

.normdocs__actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.normdocs__btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: .15s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}

.normdocs__btn--primary{
  background: #409095;
  color: #fff;
}
.normdocs__btn--primary:hover{ filter: brightness(.95); }

.normdocs__btn--ghost{
  background: transparent;
  border-color: rgba(64,144,149,.35);
  color: #409095;
}
.normdocs__btn--ghost:hover{
  background: rgba(64,144,149,.08);
}

@media (max-width: 768px){
  .normdocs__item{ flex-direction: column; align-items: flex-start; }
  .normdocs__actions{ width: 100%; justify-content: flex-start; }
  .normdocs__btn{ width: 100%; }
}


/* Нормативные документы — доп. стили поверх dwg-стилей */

.chertezhi-page .normdocs__block {
  margin-bottom: 26px;
}

.chertezhi-page .normdocs__block-title {
  font-weight: 600;
  margin: 0 0 12px;
}

/* Правая зона с 2 ссылками */
.chertezhi-page .normdocs-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  flex: 0 0 auto;
}

/* Ссылки (как “скачать” в чертежах, но две штуки) */
.chertezhi-page .normdocs-link {
  color: #3F51B5;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.chertezhi-page .normdocs-link:hover {
  text-decoration: underline;
}

/* Чтобы длинные названия красиво переносились и не ломали правую часть */
.chertezhi-page .normdocs-name {
  min-width: 0;
}

/* Мобилка: ссылки уходят на следующую строку */
@media (max-width: 767px) {
  .chertezhi-page .normdocs-actions {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px 14px;
  }
}
