/* Academic section + Cronogramas page
   Loaded after styles.css so these rules only extend the existing design. */

.academic-page-intro {
  padding: 32px 0 48px;
}

.academic-title {
  margin-top: 24px;
  margin-bottom: 0;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--body);
  transition: color .18s ease;
}

.back-link:hover {
  color: var(--accent);
}

.academic-documents {
  padding-top: 64px;
}

.document-group + .document-group {
  margin-top: 56px;
}

.document-group-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.document-group-head h2,
.document-group-head p {
  margin-bottom: 0;
}

.document-group-head p {
  margin-top: 2px;
}

.document-list {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.document-row {
  min-height: 58px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--white);
  transition: background-color .18s ease;
}

.document-row + .document-row {
  border-top: 1px solid var(--border);
}

.document-row:hover {
  background: var(--surface);
}

.document-name {
  color: var(--title);
  font-weight: 600;
}

.document-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-weight: 600;
  white-space: nowrap;
}

.document-action .ph-file-pdf {
  font-size: 17px;
}

.document-action .ph-arrow-up-right {
  transition: transform .18s ease;
}

.document-row:hover .document-action .ph-arrow-up-right {
  transform: translate(2px, -2px);
}

@media (max-width: 720px) {
  .academic-page-intro {
    padding: 52px 0 36px;
  }

  .academic-documents {
    padding-top: 48px;
  }

  .document-group + .document-group {
    margin-top: 40px;
  }

  .document-row {
    min-height: 62px;
    padding: 0 14px;
    gap: 12px;
  }

  .document-action {
    font-size: 0;
    gap: 4px;
  }

  .document-action .ph {
    font-size: 17px;
  }

  .document-action .ph-file-pdf {
    display: none;
  }
}
