/* Responsive corrections scoped to the applications index. */
.apps-page {
  min-width: 0;
  overflow-x: clip;
}

.apps-page .page-shell {
  min-width: 0;
  overflow: clip;
}

@media (max-width: 820px) {
  .apps-page .site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 8px 24px rgba(16, 32, 29, 0.07);
  }

  .apps-page .apps-hero {
    gap: 18px;
    padding-top: 38px;
    padding-bottom: 30px;
  }

  .apps-page .apps-hero h1 {
    max-width: 100%;
    font-size: clamp(2.55rem, 11.8vw, 3.35rem);
    line-height: 0.96;
    letter-spacing: -0.055em;
  }

  .apps-page .apps-hero p {
    margin-top: 16px;
    font-size: 0.96rem;
    line-height: 1.55;
  }

  .apps-page .apps-list .project-gallery:not(.project-gallery--empty) {
    gap: 18px;
  }

  .apps-page .apps-list .project-card__media,
  .apps-page .apps-list .project-card--flight .project-card__media,
  .apps-page .apps-list .project-card--half .project-card__media,
  .apps-page .apps-list .project-card--wide .project-card__media {
    aspect-ratio: 16 / 9;
  }

  .apps-page .apps-list .project-card__media img {
    object-fit: cover !important;
    object-position: top center !important;
  }

  .apps-page .apps-list .project-card__body,
  .apps-page .apps-list .project-card--flight .project-card__body {
    display: flex;
    min-height: 0;
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
    padding: 18px;
  }

  .apps-page .apps-list .project-card__body > div {
    width: 100%;
    min-width: 0;
  }

  .apps-page .apps-list .project-card__title,
  .apps-page .apps-list .project-card--flight .project-card__title {
    font-size: 1.35rem;
    line-height: 1.12;
  }

  .apps-page .apps-list .project-card__description,
  .apps-page .apps-list .project-card--flight .project-card__description {
    max-width: none;
    margin-top: 7px;
    font-size: 0.87rem;
    line-height: 1.5;
  }

  .apps-page .apps-list .project-card__action,
  .apps-page .apps-list .project-card--flight .project-card__action {
    display: flex;
    width: 100%;
    align-self: stretch;
    align-items: center;
    justify-content: space-between;
    margin-top: 0;
  }
}
