.home-pdf-practice-card {
  --practice-gold: #f6cd9b;
  --practice-gold-hover: #ffd9a8;
  display: flex;
  box-sizing: border-box;
  min-width: 0;
  flex-direction: column;
  padding: clamp(16px, 1.5vw, 22px);
  border: 1px solid #d9a96a;
  border-radius: 16px;
  background: #171a21;
  color: #fff;
  text-decoration: none;
  transition: border-color .18s ease, background-color .18s ease;
}

.home-pdf-practice-card h3 {
  margin: 0;
  color: inherit;
  font-size: clamp(1.28rem, 1.8vw, 1.6rem);
  font-weight: 800;
  line-height: 1.3;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.home-pdf-practice-card .home-pdf-practice-description {
  margin: 6px 0 14px;
  color: #e4e4e6;
  font-size: .875rem;
  line-height: 1.6;
}

.home-pdf-practice-preview {
  overflow: hidden;
  margin-bottom: 16px;
  border-radius: 8px;
  background: #fcfaf4;
  color: #3e3327;
}

.home-pdf-practice-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2px 8px;
  padding: 7px 11px 0;
  font-size: .75rem;
  font-weight: 700;
  line-height: 1.4;
}

.home-pdf-practice-legend span:last-child {
  color: #784a22;
  font-variant-numeric: tabular-nums;
}

.home-pdf-practice-preview img {
  display: block;
  width: 100%;
  height: auto;
}

.home-pdf-practice-cta {
  display: inline-flex;
  align-self: flex-end;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-sizing: border-box;
  min-height: 44px;
  max-width: 100%;
  margin-top: auto;
  padding: 8px 16px;
  border-radius: 24px;
  background: var(--practice-gold);
  color: #0f1115;
  font-size: .875rem;
  font-weight: 800;
  line-height: 1.35;
}

.home-pdf-practice-card:focus-visible {
  outline: 3px solid var(--practice-gold-hover);
  outline-offset: 4px;
}

@media (hover: hover) and (pointer: fine) {
  .home-pdf-practice-card:hover {
    border-color: var(--practice-gold-hover);
    background: #1d212b;
    color: #fff;
  }

  .home-pdf-practice-card:hover .home-pdf-practice-cta {
    background: var(--practice-gold-hover);
  }
}

.home-gongo-status {
  grid-column: span 2;
}

.is-home-ipad-header .home-gongo-status {
  grid-column: auto;
}

@media (max-width: 620px) {
  .home-gongo-status {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-pdf-practice-card {
    transition: none;
  }
}
