/* Home directory tiles fill the remaining phone viewport. */
@media (max-width: 768px) {
  body.page-home #home-content .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    padding: 0;
    flex: 1 1 auto;
    min-height: 0;
  }
  body.page-home #home-content .card {
    min-height: 0;
    height: 100%;
    padding: 0.7rem 0.55rem;
    border-radius: 1.15rem;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  body.page-home #home-content .card > .topic-icon {
    width: clamp(1.7rem, 8vw, 2.35rem);
    height: clamp(1.7rem, 8vw, 2.35rem);
    margin-bottom: 0.45rem;
  }
  body.page-home #home-content .card h3 {
    font-size: clamp(0.88rem, 3.6vw, 1.05rem);
    margin-bottom: 0;
  }
  body.page-home #home-content .card p,
  body.page-home #home-content .card-eyebrow,
  body.page-home #home-content .card-access { display: none; }
  body.page-home #home-content .card-link {
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(21, 89, 183, 0.12);
  }
  body.page-home #home-content .card .content-wrapper { min-width: 0; width: 100%; }
  body.page-home #home-content .card:active {
    transform: scale(0.97);
  }
}
@media (max-width: 359px) {
  body.page-home #home-content .cards-grid { grid-template-columns: minmax(0, 1fr); }
}
