/* ==========================================================================
   6. DESKTOP MEDIA QUERY (768px and up)
   ========================================================================== */
@media (min-width: 768px) {
  /* Swap out the mobile header pattern for the desktop background pattern */
  header {
    background-image: url("../images/pattern-bg-desktop.png");
    padding: 2.5rem 2rem 9rem 2rem;

    height: 40vh;
  }

  header h1 {
    font-size: 2rem;
  }

  /* Change the info card from stacked column to a clean row layout */
  .info {
    flex-direction: row;
    text-align: left;
    padding: 2.25rem;
    gap: 0; /* Clear mobile gap; we will use individual padding instead */
  }

  /* Give each stat block an equal share of the row's width */
  .info-item {
    flex: 1;
    padding: 0 2rem;
    position: relative; /* Anchor point for our vertical divider line */
  }

  /* Remove outer padding edges so the text lines up nicely with the search bar */
  .info-item:first-child {
    padding-left: 0;
  }

  .info-item:last-child {
    padding-right: 0;
  }

  /* Create the subtle vertical divider lines between the stats */
  .info-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 10%;
    height: 80%;
    width: 1px;
    background-color: rgba(0, 0, 0, 0.15);
  }

  /* Bump up typographic sizing slightly for larger displays */
  .info-item h2 {
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
  }

  .info-item p {
    font-size: 1.5rem;
  }
}
