.past-paper-detail {
  position: relative;
  top: 7.375rem;
  flex-direction: column;
}

.past-paper-detail .bg-yellow-shade {
  display: flex;
  height: 12.5rem;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  align-self: stretch;
  width: 100%;
  background: linear-gradient(
    to top,
    rgba(255, 184, 28, 0) 3.2%,
    rgba(255, 231, 11, 0.1) 95.2%
  );
}

.past-paper-detail .section-position {
  position: relative;
  top: -6rem;
  padding: 0 5rem 4rem;
}

.past-paper-detail-hero_section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  align-self: stretch;
  width: 100%;
}

.past-paper-detail-hero_section .paper-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
  align-self: stretch;
}

.past-paper-detail-hero_section .paper-info .paper-title {
  color: #7a7a7a;
  font-family: Inter;
  font-size: 2.5rem;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: -0.025rem;
}

.past-paper-detail-hero_section .paper-info .paper-title span {
  color: #1a1a1a;
}

.paper-info .paper-stats {
  display: flex;
  height: 3rem;
  justify-content: space-between;
  align-items: center;
  align-self: stretch;
  border-top: 1px solid var(--Neutral-Stroke, #e9ebec);
  border-bottom: 1px solid var(--Neutral-Stroke, #e9ebec);
}

.paper-info .paper-stats .downloads {
  display: flex;
  padding: 0.75rem;
  align-items: center;
  gap: 0.375rem;
}

.action-buttons {
  display: flex;
  align-items: center;
}

.downloads .download-count,
.btn-download-all span,
.btn-share span {
  color: var(--Neutral-Dark-Grey, #4f4f4f);
  font-family: Inter;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.125rem;
  letter-spacing: -0.00875rem;
}

.btn-download-all {
  display: flex;
  padding: 0.75rem;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.btn-share {
  display: flex;
  padding: 0.75rem;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.paper-documents {
  display: flex;
  max-width: 50rem;
  align-items: flex-start;
  gap: 1.5rem;
  align-self: stretch;
}

.paper-documents .document-card {
  display: flex;
  padding: 1.25rem;
  align-items: flex-start;
  gap: 1rem;
  flex: 1 0 0;
  border-radius: 1rem;
  border: 0.5px solid var(--Neutral-Stroke, #e9ebec);
  background: #fff;
  box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.06);
}

.document-card .document-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  flex: 1 0 0;
  align-self: stretch;
}

.document-card .document-info h3 {
  color: var(--Neutral-Black, #1a1a1a);
  font-family: Inter;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.25rem;
  letter-spacing: -0.01rem;
}

.document-card .document-info p {
  color: #7a7a7a;
  font-family: Inter;
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1rem;
  letter-spacing: -0.0075rem;
}

.download-btn-text {
  color: var(--Neutral-Black, #1a1a1a);
  text-align: center;
  font-family: Inter;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.125rem;
  letter-spacing: -0.00438rem;
  flex-shrink: 0;
}

/* Mobile Responsive */

@media screen and (max-width: 768px) {
  .mobile-btn {
    padding: 0.6875rem 1.5rem 0.6875rem 1rem;
  }
  .past-paper-detail .section-position {
    top: -9.5rem;
    padding: 0;
  }

  .past-paper-detail-hero_section {
    gap: 2.5rem;
    padding: 0 1rem 2.5rem;
  }

  .past-paper-detail-hero_section .paper-info {
    gap: 1rem;
  }

  .past-paper-detail-hero_section .paper-info .paper-title {
    font-size: 1.75rem;
    letter-spacing: -0.0175rem;
  }

  .btn-download-all {
    gap: 0.25rem;
  }

  .btn-share span {
    display: none;
  }

  .paper-documents {
    flex-direction: column;
  }

  .document-card {
    padding: 1rem;
  }

  .paper-documents .document-card {
    padding: 0.75rem;
  }
}
