@media (min-width: 1024px) {
  .hub-page__module:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc((100% - 1.25rem) / 2);
    max-width: 100%;
  }
}

@media (min-width: 1024px) and (max-width: 1366px) and (orientation: landscape) {
  .hub-page {
    padding-bottom: 5.2rem;
  }

  .hub-page::after {
    height: 5.2rem;
  }
}

@media (max-width: 1023px) {
  .hub-page {
    padding: 2rem 1.2rem 2.4rem;
  }

  .hub-page__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hub-page__title {
    font-size: 1.8rem;
  }

  .hub-page__subtitle {
    font-size: 1.02rem;
  }

  .hub-page__module {
    border-radius: 10px;
    padding: 1.15rem 1rem;
  }

  .hub-page__module-title {
    font-size: 1.35rem;
  }
}

@media (min-width: 641px) and (max-width: 1023px) and (orientation: portrait) {
  .hub-page__grid {
    justify-items: center;
  }

  .hub-page__module {
    width: min(100%, 31rem);
  }
}

@media (max-width: 932px) and (orientation: landscape) {
  .hub-page__grid {
    justify-items: center;
  }

  .hub-page__module {
    width: min(100%, 27rem);
  }
}
