/* ==========================================================================
   /css/home.css
   Home-page-only layer for The.Jimtionary
   Keeps true one-off home adjustments out of the global files
   ========================================================================== */

body[data-page="home"] .hero {
  margin-bottom: 20px;
}

body[data-page="home"] .hero-grid {
  align-items: stretch;
}

body[data-page="home"] .hero-copy {
  max-width: 64ch;
}

body[data-page="home"] .hero-actions {
  align-items: center;
  gap: 12px;
}

body[data-page="home"] .hero-actions .cta-pill {
  min-width: 184px;
}

body[data-page="home"] .main-grid {
  gap: 18px;
}

body[data-page="home"] .section-card {
  scroll-margin-top: 108px;
}

body[data-page="home"] .section-head {
  margin-bottom: 20px;
}

body[data-page="home"] .section-links {
  gap: 12px;
}

body[data-page="home"] .index-grid,
body[data-page="home"] .entry-grid,
body[data-page="home"] .site-grid {
  align-items: stretch;
}

body[data-page="home"] .entry-card,
body[data-page="home"] .site-card,
body[data-page="home"] .index-card {
  height: 100%;
}

body[data-page="home"] .hero-panel .index-card {
  display: flex;
  flex-direction: column;
}

body[data-page="home"] .hero-panel .index-card .index-label {
  margin-bottom: 18px;
}

body[data-page="home"] .hero-panel .index-card .mini-pills {
  margin-top: 0;
}

body[data-page="home"] .hero h1 > span {
  display: block;
}

body[data-page="home"] .hero h1 > span:last-child {
  font-size: 0.62em;
  line-height: 1.05;
  white-space: nowrap;
}

body[data-page="home"] .hero h1 > span:last-child {
  margin-top: 12px;
}

body[data-page="home"] .site-card p:last-of-type,
body[data-page="home"] .entry-card p:last-of-type,
body[data-page="home"] .index-card p:last-of-type {
  margin-bottom: 0;
}

body[data-page="home"] .footer-card {
  margin-top: 20px;
}

@media (max-width: 1120px) {
  body[data-page="home"] .hero-grid {
    align-items: stretch;
  }

  body[data-page="home"] .index-grid,
  body[data-page="home"] .entry-grid,
  body[data-page="home"] .site-grid {
    align-items: stretch;
  }
}

@media (max-width: 720px) {
  body[data-page="home"] .hero {
    margin-bottom: 18px;
  }

  body[data-page="home"] .hero-actions {
    align-items: stretch;
  }

  body[data-page="home"] .hero-actions .cta-pill {
    width: 100%;
    min-width: 0;
  }

  body[data-page="home"] .section-card {
    scroll-margin-top: 96px;
  }

  body[data-page="home"] .hero h1 > span:last-child {
    white-space: normal;
  }
}