/* PDF attachment cards. */
.pdf-card {
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  margin: 30px 0 38px;
  padding: 24px 26px;
  border: 1px solid #c9d6d4;
  border-left: 5px solid var(--teal);
  border-radius: 18px;
  background: linear-gradient(115deg, #fff8e7, var(--paper));
  box-shadow: 0 5px 0 #e6dcc6;
}
.pdf-card::after {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: -1px;
  height: 4px;
  border-radius: 4px;
  background: repeating-linear-gradient(125deg, var(--amber) 0 10px, var(--teal) 10px 20px);
}
.pdf-card__icon { width: 56px; height: 68px; flex: 0 0 56px; }
.pdf-card__copy { flex: 1; min-width: 0; }
.pdf-card .pdf-card__title { margin: 0 0 7px; font-family: var(--heading); font-weight: 800; font-size: 16px; line-height: 1.5; color: var(--teal); }
.pdf-card .pdf-card__meta { margin: 0; font-size: 13px; line-height: 1.6; color: var(--muted); }
.pdf-card__meta span { margin: 0 4px; }
.pdf-card__actions { display: flex; flex-direction: column; align-items: center; gap: 9px; flex-shrink: 0; }
.pdf-card a.pdf-card__download { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 46px; padding: 10px 17px; border: 2px solid var(--teal); border-radius: 10px; background: var(--amber); color: #102e35; font-size: 14px; font-weight: 800; line-height: 1.4; text-decoration: none; box-shadow: 0 3px 0 var(--teal); }
.pdf-card a.pdf-card__download:hover { background: #ffca40; }
.pdf-card a:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
@media (max-width: 620px) {
  .pdf-card { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding: 20px 16px 23px; margin: 26px 0 32px; }
  .pdf-card__icon { width: 44px; height: 56px; }
  .pdf-card .pdf-card__title { font-size: 14px; }
  .pdf-card .pdf-card__meta { font-size: 12px; }
  .pdf-card__actions { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; gap: 12px; }
  .pdf-card a.pdf-card__download { padding: 10px 12px; font-size: 13px; }
}


.pdf-card a.pdf-card__open { color: var(--teal); font-size: 13px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.pdf-card a.pdf-card__open:hover { color: var(--blue); }
