/* Shared standalone behavior; original page styling is kept in adjacent files. */
html { overflow-x: clip; }
body { overflow-x: clip; }
.site-header { position: fixed; top: 0; width: 100%; z-index: 1000; }
.btn-menu { border: 0; background: transparent; padding: 0; }
.go-top { border: 0; padding: 0; cursor: pointer; }
[hidden] { display: none !important; }
.form-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-feedback:not(:empty) { margin: 24px 0; padding: 16px; background: #f1f8f4; border: 1px solid #198653; color: #234737; }
.form-confirmation { padding: 24px; border: 1px solid #89bdde; border-radius: 5px; margin: 24px 0; }
.form-confirmation h3 { text-align: center; }
.form-confirmation dd { white-space: pre-wrap; overflow-wrap: anywhere; margin-bottom: 20px; }
.form-actions { text-align: center; }
.form-actions button { background: white; border: 1px solid #89bdde; border-radius: 5px; color: #3683bc; padding: .5em 3em; margin: 5px; }
.form-actions button:hover { background: #4c9ed9; color: white; }
.form-actions button:disabled { opacity: .6; cursor: wait; }
/* Contact Form 7's original inline confirmation and completion layout. */
[data-school-form="contact"] .contact-agreement { text-align: center; margin: 28px 0 0; }
[data-school-form="contact"] .form-actions { display: flex; justify-content: center; gap: 32px; margin: 30px 0 0; }
[data-school-form="contact"] .form-actions button {
  margin: 0; padding: 12px 34px; border: 1px solid #d65050; border-radius: 3px;
  background: #d65050; color: #fff; font-size: 13px; font-weight: 700; line-height: 24px;
}
[data-school-form="contact"] .form-actions button:hover { background: transparent; color: #d65050; }
[data-school-form="contact"].is-confirming input[readonly] { color: #767676; cursor: default; }
[data-school-form="contact"].is-confirming textarea[readonly] { background: #999; border-color: #333; color: #000; cursor: default; }
[data-school-form="contact"] .form-feedback:empty { display: none; }
[data-school-form="contact"] .form-feedback:not(:empty) {
  margin: 32px 8px 0; padding: 3px 15px; background: #fff; border: 2px solid #398f14;
  color: #47425d; line-height: 27px;
}
[data-school-form="contact"] .form-feedback[data-state="error"] { border-color: #d65050; }
[data-school-form="contact"] .form-feedback[data-state="pending"] { border-color: #89bdde; }
[data-school-form="contact"] .form-feedback:not(:empty) ~ .form-actions { margin-top: 42px; }
[data-school-form="contact"] .form-feedback:focus { outline: none; }
:focus-visible { outline: 3px solid #2857b8; outline-offset: 4px; }
@media (max-width: 1024px) {
  .site-header { position: relative; }
  #mainnav { display: none; clear: both; width: 100%; }
  #mainnav.is-open { display: block; }
  #mainnav ul { margin: 0; padding: 10px 0; }
  #mainnav ul li { float: none; display: block; padding: 0; text-align: left; }
  #mainnav ul li a { display: block; padding: 10px 14px; }
  .site-header .col-sm-4:has(#mainnav.is-open) { width: 100%; }
}
@media (max-width: 767px) {
  .form-actions button { padding: .7em 1.5em; }
  .form-confirmation { padding: 16px; }
  .apply th, .apply td { display: block; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
