/* Shared C-layout heading rhythm for featured project and talk pages. */
.c-detail-header {
  align-items: center;
  padding-top: 46px;
  padding-bottom: 45px;
}

.c-detail-header--without-preview {
  min-height: 169px;
}

.c-detail-header--with-preview :is(.aas-header-video, .sot-header-video, .hftp-f-video) {
  transform: translateY(-5px);
}

.c-detail-header :is(
  .aas-split-header__copy,
  .sot-split-header__copy,
  .hftp-f-header__copy,
  .upc-split-header__copy
) {
  min-width: 0;
  margin-top: 0;
}

.c-detail-header h1 {
  margin: 0 0 15px;
  font-size: 44px;
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: 0;
}

.c-detail-header p {
  max-width: 48ch;
  margin: 0;
  color: var(--soft);
  font-size: 17.5px;
  line-height: 1.5;
  text-wrap: pretty;
}

@media (max-width: 900px) {
  .c-detail-header,
  .c-detail-header--with-preview,
  .c-detail-header--without-preview {
    grid-template-columns: 1fr;
    gap: 22px;
    min-height: 0;
    padding: 34px 22px;
  }

  .c-detail-header h1 {
    font-size: 40px;
  }

  .c-detail-header p {
    max-width: 44ch;
    font-size: 16px;
  }

  .c-detail-header--with-preview :is(.aas-header-video, .sot-header-video, .hftp-f-video) {
    transform: none;
  }
}
