.white-papers {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #d8c8b8;
}

.white-papers h2 { margin: .35rem 0; }
.white-papers-intro { color: #675b52; margin-bottom: 1.25rem; }

.white-paper-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.white-paper-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  min-height: 124px;
  padding: 1rem;
  text-align: left;
  color: #34261d;
  background: #fff;
  border: 1px solid #d8c8b8;
  border-radius: .9rem;
  box-shadow: 0 .35rem 1rem rgba(67, 47, 31, .07);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.white-paper-card:hover,
.white-paper-card:focus-visible {
  transform: translateY(-3px);
  border-color: #9b714c;
  box-shadow: 0 .7rem 1.4rem rgba(67, 47, 31, .14);
}

.white-paper-icon {
  display: grid;
  flex: 0 0 52px;
  height: 64px;
  place-items: center;
  border-radius: .55rem;
  color: #fff;
  background: linear-gradient(145deg, #5b3b28, #9b714c);
  font-size: 1.65rem;
}

.white-paper-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  line-height: 1.25;
}

.white-paper-copy small {
  color: #8b5f3e;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 700;
}

.white-paper-copy strong { margin: .25rem 1.2rem .25rem 0; }
.white-paper-copy > span { color: #675b52; font-size: .88rem; }
.white-paper-open { position: absolute; top: .75rem; right: .75rem; color: #9b714c; }

.white-paper-modal .modal-dialog { width: min(96vw, 1400px); max-width: 1400px; }
.white-paper-modal .modal-content { height: min(92vh, 980px); }
.white-paper-modal .modal-body { min-height: 0; background: #40342c; }
.white-paper-viewer { display: block; width: 100%; height: 100%; min-height: 65vh; border: 0; background: #fff; }

@media (max-width: 992px) {
  .white-paper-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .white-paper-grid { grid-template-columns: 1fr; }
  .white-paper-modal .modal-dialog { margin: .5rem; width: calc(100% - 1rem); }
  .white-paper-modal .modal-content { height: calc(100vh - 1rem); }
  .white-paper-viewer { min-height: 0; }
}
