.resource-page {
  width: min(1240px, calc(100% - 34px));
  margin: 0 auto;
  padding: 26px 0 54px;
}

.resource-page__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.resource-page__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green-dark);
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
}

.resource-page__download {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 9px 22px;
  border-radius: 999px;
  color: white;
  background: var(--green);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.08rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(49,84,58,.16);
  transition: transform .2s ease, background .2s ease;
}

.resource-page__download:hover {
  transform: translateY(-2px);
  background: var(--green-dark);
}

.resource-page__download:focus-visible {
  outline: 3px solid rgba(76,112,65,.34);
  outline-offset: 3px;
}

.resource-page__heading {
  margin: 0 auto 26px;
  text-align: center;
}

.resource-page__heading p {
  margin: 0 0 5px;
  color: var(--green-dark);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.resource-page__heading h1 {
  margin: 0;
  color: var(--green);
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  font-weight: 600;
  line-height: 1;
}

.resource-sheet {
  margin: 0;
  padding: clamp(8px, 1.8vw, 18px);
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255,255,255,.76);
  box-shadow: 0 18px 55px rgba(57,76,50,.12);
}

.resource-sheet img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
}

.resource-sheet--portrait {
  width: min(850px, 100%);
  margin-inline: auto;
}

.resource-page__bottom {
  display: flex;
  justify-content: center;
  margin-top: 26px;
}

@media (max-width: 680px) {
  .resource-page {
    width: min(100% - 20px, 1240px);
    padding-top: 16px;
  }

  .resource-page__top {
    align-items: stretch;
    flex-direction: column;
  }

  .resource-page__download {
    width: 100%;
  }

  .resource-page__heading {
    margin-bottom: 18px;
  }

  .resource-sheet {
    padding: 5px;
    border-radius: 16px;
  }

  .resource-sheet img {
    border-radius: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .resource-page__download { transition: none; }
}
