/* Release additions: provider form, error page and accessible reusable utilities. */
/* The form can embed a wide iframe; prevent it from forcing horizontal scroll. */
.provider-panel { min-width:0; padding:24px; background:white; border:1px solid #d8cbd2; border-radius:8px; }
.provider-panel iframe { max-width:100%; }
.g5-enquiry { background:#eee7e8; }
/* The error page uses the same cream, plum, coral, serif accents and button treatment. */
.error-main { min-height:65vh; padding:85px 7%; display:grid; grid-template-columns:1.3fr 1fr; align-items:center; gap:50px; }
.error-art { color:#aa4b45; font-size:clamp(90px,18vw,230px); font-weight:700; line-height:1; text-align:center; border-radius:50%; background:#f2c7b8; padding:60px 12px; }
.error-main h1 { font-size:clamp(45px,6vw,76px); }
.error-links { display:flex; gap:18px; flex-wrap:wrap; align-items:center; }
/* Hide content visually while retaining it for screen readers. */
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
/* Reusable native controls inherit the supplied Avenir typeface. */
input,select,textarea { font:inherit; max-width:100%; }
/* Mobile layouts stack the error illustration beneath the message. */
@media(max-width:760px) { .error-main { grid-template-columns:1fr; padding:55px 6%; } .error-art { padding:35px; } }

/* Print a clean guide with the existing G5 masthead and every career path. */
.print-guide { margin-bottom:18px; border:0; }
@media print {
  body, header, main section, .career-grid article {
    background:white !important;
    color:#171717 !important;
  }
  header { position:static; padding:0 0 12pt; backdrop-filter:none; }
  header .brand img { width:170px; height:auto; }
  header nav, #menu, .skip, .print-guide, .filters, .g5-enquiry,
  .hero-art, .ribbon, .closing, footer, .design-note, iframe { display:none !important; }
  .hero, .section { display:block; padding:12pt 0; }
  .hero h1 { font-size:30pt; }
  h2 { font-size:20pt; }
  .career-grid article[hidden] { display:block !important; }
  article, h2, h3 { break-inside:avoid; }
  p, a, em { color:inherit !important; }
}
