/*
 * Final governing-policy page geometry refinements.
 *
 * Keep these selectors intentionally narrow. They correct two approved layout
 * details without changing the shared typography, color, spacing, or component
 * language defined by the public design system.
 */

/* Use the approved slightly wider Student Code hero-title measure while leaving
 * the description and full-width section navigation untouched. */
body.student-code-page .standard-hero .hero-copy h1 {
  max-width: 24ch;
}

/* Give the supporting-policy PDF panel enough horizontal room for all three
 * official-document actions to sit on one line at wide desktop sizes. */
body.policies-page #privacy .feature-band .feature-band-grid {
  grid-template-columns: minmax(0, 0.72fr) minmax(720px, 1.28fr);
  align-items: center;
}

body.policies-page #privacy .feature-band .feature-quote {
  min-width: 0;
}

body.policies-page #privacy .feature-band .feature-quote .card-actions {
  flex-wrap: nowrap;
  gap: 10px;
}

body.policies-page #privacy .feature-band .feature-quote .card-actions .btn {
  flex: 0 0 auto;
  white-space: nowrap;
}

@media (max-width: 1280px) {
  body.policies-page #privacy .feature-band .feature-band-grid {
    grid-template-columns: 1fr;
  }

  body.policies-page #privacy .feature-band .feature-quote .card-actions {
    flex-wrap: wrap;
  }
}

@media (max-width: 920px) {
  body.student-code-page .standard-hero .hero-copy h1 {
    max-width: 100%;
  }
}