.resources-shell {
  padding-bottom: clamp(70px, 9vw, 118px);
}

.resources-hero {
  min-height: 380px;
}

.resources-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  gap: clamp(42px, 8vw, 104px);
  padding: clamp(58px, 8vw, 96px) 0;
  border-bottom: 1px solid var(--line);
}

.resource-list-heading {
  margin-bottom: 28px;
}

.resource-list-heading p {
  margin: 0 0 12px;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 9px;
  font-weight: 700;
}

.resource-list-heading h2,
.qr-panel h2 {
  margin: 0;
  font: 400 clamp(34px, 4.6vw, 58px)/1 Georgia, "Times New Roman", serif;
  letter-spacing: -.035em;
}

.download-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: clamp(22px, 4vw, 42px);
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .18);
}

.pdf-icon {
  position: relative;
  display: grid;
  width: 76px;
  height: 96px;
  place-items: end center;
  padding-bottom: 14px;
  color: #fff;
  background: var(--red);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  box-shadow: 0 14px 28px rgba(91, 44, 37, .16);
}

.pdf-icon::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 24px;
  height: 24px;
  background: linear-gradient(225deg, var(--paper) 49%, #7f302a 51%);
}

.file-type {
  margin: 0;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: 8px;
  font-weight: 700;
}

.file-name {
  max-width: 700px;
  margin: 13px 0 0;
  overflow-wrap: anywhere;
  font: 400 clamp(23px, 3vw, 35px)/1.12 Georgia, "Times New Roman", serif;
}

.file-description {
  max-width: 650px;
  margin: 17px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 25px;
}

.download-button,
.back-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(36, 51, 47, .25);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 8px;
  transition: color 180ms ease, background-color 180ms ease;
}

.download-button {
  color: #fff;
  border-color: var(--green);
  background: var(--green);
}

.download-button:hover,
.download-button:focus-visible,
.back-button:hover,
.back-button:focus-visible {
  color: #fff;
  background: var(--ink);
  outline: none;
}

.download-instructions {
  margin: 23px 0 0;
  padding: 0;
  color: #5f6561;
  list-style: none;
  counter-reset: download-step;
  font-size: 11px;
  line-height: 1.6;
}

.download-instructions li {
  counter-increment: download-step;
  display: flex;
  gap: 9px;
}

.download-instructions li + li {
  margin-top: 5px;
}

.download-instructions li::before {
  content: counter(download-step, decimal-leading-zero);
  color: var(--red);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .08em;
}

.qr-panel {
  align-self: start;
  padding: clamp(28px, 4vw, 45px);
  color: #f4efe4;
  background: var(--green);
}

.qr-panel .qr-kicker {
  margin: 0 0 12px;
  color: #d8ba7b;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 8px;
}

.qr-panel h2 {
  font-size: clamp(30px, 3.7vw, 46px);
}

.qr-image {
  display: block;
  width: min(100%, 320px);
  height: auto;
  margin: 30px auto 0;
  border: 12px solid #f3eee2;
}

.qr-panel .qr-copy {
  margin: 22px 0 0;
  color: #cbd1cd;
  font: 14px/1.6 Georgia, serif;
}

.resources-footer-actions {
  display: flex;
  justify-content: flex-start;
  padding-top: 34px;
}

@media (max-width: 820px) {
  .resources-layout {
    grid-template-columns: 1fr;
  }

  .download-card {
    grid-template-columns: 1fr;
  }

  .qr-panel {
    width: min(100%, 520px);
  }
}

@media (max-width: 520px) {
  .resources-hero {
    min-height: 0;
  }

  .download-card {
    padding: 25px 21px;
  }

  .file-name {
    font-size: 24px;
  }
}
