/* Case pages below the desktop layout: same quiet meta and hero as desktop, nothing under the fixed header. */
@media (max-width:1023px) {
  /* The hero starts below the fixed header instead of under it. */
  .project-detail .project-detail__hero { margin-top:72px; background:none; }
  .project-detail .project-detail__back { top:16px; left:16px; }
  /* Status dot only, as on desktop. */
  .header-left .status-badge .status-badge__label { display:none !important; }

  /* Category: plain text under the picture, not a pill over it. */
  .project-detail .project-detail__hero-category {
    position:static !important; display:block; margin:20px 0 0;
    height:auto; min-height:0; max-height:none; padding:0; border:0; border-radius:0; background:none;
    font:inherit; font-size:var(--type-control, 15px); color:var(--color-text-secondary, #6e6e73); white-space:normal;
  }

  /* Meta: label + value rows, as on desktop. */
  .project-detail .project-detail__meta-grid { display:grid; grid-template-columns:1fr; gap:9px; border:0; padding:0; }
  .project-detail__meta-cell { display:grid; grid-template-columns:5em minmax(0,1fr); gap:12px; align-items:baseline; font-size:var(--type-control, 15px); line-height:var(--lh-body, 1.5); }
  .project-detail .project-detail__meta-label { font-size:var(--type-caption, 13px); color:var(--color-text-muted, #86868b); text-transform:none; letter-spacing:normal; margin:0; }
  .project-detail__meta .ui-pill { display:inline; height:auto; min-height:0; max-height:none; background:none; border:0; border-radius:0; padding:0; margin:0; color:inherit; white-space:normal; font:inherit; }
  .project-detail__meta-pills { display:block; }
  .project-detail__meta-pills > span:not(:last-child)::after { content:", "; }
  .project-detail__meta a.ui-pill { justify-self:start; text-decoration:underline; text-underline-offset:3px; }
}
