/* Native Gravity Forms handles controls and responsive field layout. */
.gform_wrapper { max-width: 880px; margin-inline: auto; }
.gform_wrapper textarea { max-width: 100%; }
.testpro-poc-notice { padding: 1rem; border-left: 4px solid #8a5d13; background: #fff8e8; }

/* Grant pages use a native saved WordPress block template. Apple pencil Aqua. */
body.testpro-grant-page {
  background: #0080ff;
  color: #172a3a;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.testpro-grant-page .wp-site-blocks { padding: 0; }
.testpro-grant-shell { min-height: 100vh; padding: 0 24px 64px; box-sizing: border-box; }
.testpro-grant-header { padding: 24px 0; }
.testpro-grant-brand { display: inline-flex; align-items: center; gap: 16px; color: #082744; text-decoration: none; font-size: 26px; font-weight: 750; line-height: 1.15; }
.testpro-grant-brand img { display: block; width: 72px; height: 72px; object-fit: contain; border-radius: 0; background: transparent; }
.testpro-grant-brand-subtitle { display: block; margin-top: 5px; font-size: 17px; font-weight: 550; }
.testpro-grant-content { max-width: 1000px; margin: 0 auto !important; padding: 40px 48px; background: #fff; border-radius: 16px; box-sizing: border-box; }
.testpro-grant-content .wp-block-post-title { margin: 0 0 24px; font-size: clamp(28px, 4vw, 40px); line-height: 1.18; font-weight: 650; }
.testpro-grant-content .wp-block-post-content { margin-top: 0; }
.testpro-grant-content h2 { margin-top: 32px; font-size: 25px; line-height: 1.25; }
.testpro-grant-content p, .testpro-grant-content li { font-size: 17px; line-height: 1.65; }
.testpro-grant-content li + li { margin-top: 8px; }
.testpro-grant-content a { color: #004c99; text-underline-offset: 3px; }
.testpro-grant-content a:focus-visible { outline: 3px solid #0080ff; outline-offset: 4px; }
.testpro-grant-content .gform_wrapper { margin: 0; max-width: 100%; }
.testpro-grant-content .testpro-poc-notice { font-size: 15px; line-height: 1.5; border-radius: 4px; }
.testpro-grant-content .grant-application-link { display: inline-block; padding: 12px 20px; border-radius: 7px; background: #004c99; color: white; text-decoration: none; font-weight: 600; }
@media (max-width: 600px) {
  .testpro-grant-shell { padding: 0 12px 28px; }
  .testpro-grant-header { padding: 16px 4px; }
  .testpro-grant-brand { font-size: 22px; gap: 12px; }
  .testpro-grant-brand img { width: 56px; height: 56px; border-radius: 0; }
  .testpro-grant-brand-subtitle { font-size: 15px; }
  .testpro-grant-content { padding: 26px 20px; border-radius: 12px; }
  .testpro-grant-content p, .testpro-grant-content li { font-size: 16px; }
  .testpro-grant-content h2 { font-size: 22px; }
}
