/* Admissions: public application form (/Apply). Loaded only on that page. Builds on site.css variables. */
.adm-section { padding-top: 56px; }
.adm-wrap { max-width: 880px; }
.adm-form { display: grid; gap: 22px; }
.adm-note { margin: 0; color: var(--m-muted); font-size: 14px; }
.adm-fs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; margin: 0; padding: 26px 28px 28px; border: 1px solid var(--m-line); border-radius: 18px; background: #fff; box-shadow: var(--m-shadow); min-width: 0; }
.adm-fs legend, .adm-fs summary { display: flex; align-items: center; gap: 12px; float: left; width: 100%; margin: 0 0 4px; padding: 0; color: var(--m-navy); font: 700 21px/1.2 var(--m-serif); grid-column: 1 / -1; }
.adm-fs legend + * { clear: left; }
.adm-step { display: inline-grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--m-tint-2); color: var(--m-teal); font: 800 15px/1 var(--m-sans); }
details.adm-fs { display: block; }
details.adm-fs summary { float: none; cursor: pointer; list-style: none; margin: 0; }
details.adm-fs summary::-webkit-details-marker { display: none; }
details.adm-fs summary::after { content: '+'; margin-left: auto; color: var(--m-teal); font: 700 22px/1 var(--m-sans); }
details.adm-fs[open] summary::after { content: '–'; }
details.adm-fs summary:focus-visible { outline: 3px solid var(--m-teal-soft); outline-offset: 4px; border-radius: 8px; }
.adm-fs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; margin-top: 18px; }
.adm-field { display: grid; gap: 7px; align-content: start; min-width: 0; }
.adm-field label, .adm-label { color: var(--m-navy); font-size: 13.5px; font-weight: 600; }
.adm-wide { grid-column: 1 / -1; }
.adm-req { color: #b42318; text-decoration: none; border: 0; }
.adm-opt { color: var(--m-muted); font-weight: 400; font-size: 13px; font-family: var(--m-sans); }
.adm-field input, .adm-field select, .adm-field textarea { box-sizing: border-box; width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid #c9d7e0; border-radius: 10px; background: #fbfdfe; color: var(--m-ink); font: 400 16px/1.4 var(--m-sans); }
.adm-field textarea { min-height: 120px; resize: vertical; }
.adm-field input:focus, .adm-field select:focus, .adm-field textarea:focus { border-color: var(--m-teal); background: #fff; outline: 3px solid rgba(26,134,150,.18); outline-offset: 0; }
.adm-field.has-error input, .adm-field.has-error select, .adm-field.has-error textarea { border-color: #b42318; background: #fffafa; }
.adm-err { margin: 0; color: #a01c12; font-size: 13.5px; font-weight: 600; }
.adm-static { margin: 0; min-height: 48px; display: flex; align-items: center; color: var(--m-ink); font-weight: 700; }
.adm-pair { display: grid; grid-template-columns: 1fr 1.4fr; gap: 14px; min-width: 0; }
.adm-alert { padding: 16px 20px; border: 1px solid #f3c2bd; border-radius: 14px; background: #fdecec; color: #8a1f1f; }
.adm-alert p { margin: 0; }
.adm-alert ul { margin: 8px 0 0; padding-left: 20px; }
.adm-alert a { color: #8a1f1f; }
.adm-privacy { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--m-muted); font-size: 14px; }
.adm-privacy svg { flex: none; width: 18px; height: 18px; color: var(--m-teal); }
.adm-submit { justify-self: start; border: 0; }
.adm-thanks { display: grid; justify-items: start; gap: 6px; padding: 40px; border: 1px solid var(--m-line); border-radius: 18px; background: #fff; box-shadow: var(--m-shadow); }
.adm-thanks .m-copy { margin: 0 0 6px; }
.adm-thanks a:not(.m-btn) { color: var(--m-teal); font-weight: 700; }
.adm-position { margin: 8px 0; padding: 12px 18px; border-radius: 12px; background: var(--m-tint-2); color: var(--m-navy); font-size: 17px; }
.adm-position strong { font-size: 26px; margin-left: 6px; }
.adm-thanks-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
@media (max-width: 720px) {
  .adm-fs, .adm-fs-grid { grid-template-columns: 1fr; padding: 20px 18px 22px; }
  .adm-fs-grid { padding: 0; }
  .adm-thanks { padding: 28px 22px; }
  .adm-submit, .adm-thanks-actions .m-btn { width: 100%; white-space: normal; }
}
@media (prefers-reduced-motion: reduce) { .adm-submit { transition: none; } }
.adm-lang-btn { margin-top: 22px; }

/* Hero with photo (design 2026) */
.adm-hero { position: relative; padding: 56px 0 120px; overflow: hidden; }
.adm-hero::after { display: none; }
.adm-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: 32px; }
.adm-hero-copy .m-copy { max-width: 560px; }
.adm-lang-btn { margin-top: 26px; padding: .75rem 1.5rem; font-size: 1rem; }
.adm-lang-btn .ic:last-child { width: 16px; height: 16px; }
.adm-hero-art { position: relative; justify-self: end; width: min(100%, 400px); }
.adm-hero-photo { position: relative; aspect-ratio: 1; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 6px rgba(255,255,255,.08), 0 0 0 9px #e9bb4d, 0 30px 60px -20px rgba(0,0,0,.55); }
.adm-hero-photo img, .adm-hero-photo picture { display: block; width: 100%; height: 100%; object-fit: cover; }
.adm-leaves { position: absolute; left: -64px; bottom: 18px; width: 110px; height: auto; z-index: 2; }
.adm-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 90px; z-index: 0; }
.adm-section { position: relative; z-index: 2; margin-top: -86px; padding-top: 0; background: linear-gradient(180deg, transparent 0, transparent 86px, #f4f9fc 86px); }
.adm-wrap { max-width: 960px; }
.adm-note { display: flex; align-items: center; gap: 16px; padding: 18px 22px; border-radius: 22px; background: #fff; box-shadow: 0 20px 50px -28px rgba(13,42,71,.45); color: var(--m-navy); font-size: 15px; font-weight: 600; }
.adm-note-ic { display: grid; place-items: center; flex: 0 0 auto; width: 54px; height: 54px; border-radius: 50%; background: #e3f0fa; color: var(--m-navy); }
.adm-note-ic .ic { width: 26px; height: 26px; }
.adm-form .adm-fs { border-radius: 22px; }
@media (max-width: 860px) {
  .adm-hero { padding: 40px 0 110px; }
  .adm-hero-grid { grid-template-columns: 1fr; }
  .adm-hero-art { justify-self: center; width: min(70%, 260px); order: -1; }
  .adm-leaves { left: -40px; width: 80px; }
}
.adm-hero .m-page-title { font-size: clamp(34px, 4vw, 56px); }
@media (min-width: 861px) { .adm-hero-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); } .adm-hero-art { width: min(100%, 340px); } }
