.pdf-content {
  width: min(1200px, 92%);
  margin: 56px auto 64px;
}

.pdf-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 24px;
}

.pdf-heading h2 {
  color: var(--navy);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1.15;
}

.pdf-heading p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.6;
}

.pdf-action {
  display: inline-flex;
  min-height: 48px;
  padding: 12px 22px;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  background: var(--yellow);
  color: var(--navy-deep);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.pdf-action:hover,
.pdf-action:focus-visible {
  background: var(--yellow-dark);
  transform: translateY(-1px);
}

.pdf-shell {
  overflow: hidden;
  min-height: 720px;
  border: 1px solid rgba(28, 42, 74, 0.12);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(28, 42, 74, 0.1);
}

.pdf-frame {
  display: block;
  width: 100%;
  height: min(78vh, 1000px);
  min-height: 720px;
  border: 0;
}

.pdf-fallback {
  min-height: 420px;
  padding: 48px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  color: var(--text);
  text-align: center;
}

@media (max-width: 700px) {
  .pdf-content {
    width: 94%;
    margin: 36px auto 42px;
  }

  .pdf-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .pdf-shell,
  .pdf-frame {
    min-height: 600px;
  }

  .pdf-frame {
    height: 72vh;
  }
}
