.pdf-viewers {
  display: grid;
  gap: 18px;
  margin: 38px 0;
}

.pdf-viewers .section-head {
  margin-bottom: 0;
}

.pdf-viewers .section-head h2 {
  margin: 0;
}

.pdf-viewer {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.pdf-viewer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}

.pdf-viewer-head > div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.pdf-viewer-head strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pdf-frame {
  display: block;
  width: 100%;
  height: min(76vh, 850px);
  min-height: 520px;
  border: 0;
  background: #e7e6df;
}

.pdf-fallback {
  display: grid;
  place-items: center;
  min-height: 300px;
  padding: 40px;
  text-align: center;
}

@media (max-width: 700px) {
  .pdf-frame {
    height: 65vh;
    min-height: 420px;
  }

  .pdf-viewer-head {
    align-items: flex-start;
    flex-direction: column;
  }
}
