.article-attachments {
  margin-top: 36px;
  padding: 24px;
  border: 1px solid #dce8f5;
  border-radius: 18px;
  background: #f7fbff;
}

.article-attachments h2 {
  margin: 0 0 14px;
  color: #102942;
  font-size: 1.15rem;
}

.article-attachments ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-attachments a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 10px 14px;
  border: 1px solid #d8e5f2;
  border-radius: 12px;
  background: #fff;
  color: #17324d;
  text-decoration: none;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.article-attachments a:hover,
.article-attachments a:focus-visible {
  border-color: #1873c9;
  box-shadow: 0 8px 22px rgba(19, 95, 166, .12);
  transform: translateY(-1px);
}

.attachment-type {
  flex: 0 0 auto;
  min-width: 48px;
  padding: 7px 8px;
  border-radius: 8px;
  background: #e7f3ff;
  color: #0b5fb8;
  font-size: .72rem;
  font-weight: 800;
  text-align: center;
}

.attachment-name {
  min-width: 0;
  flex: 1;
  overflow-wrap: anywhere;
  font-weight: 650;
}

.attachment-download {
  flex: 0 0 auto;
  color: #0b5fb8;
  font-size: .86rem;
  font-weight: 700;
}

@media (max-width: 600px) {
  .article-attachments {
    padding: 18px;
  }

  .article-attachments a {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .attachment-name {
    flex-basis: calc(100% - 64px);
  }

  .attachment-download {
    width: 100%;
    padding-left: 60px;
  }
}
