/* Shared layouts for preserved festival pages and submissions. */
.legacy{padding-block:clamp(3rem,7vw,7rem);max-width:1160px;min-height:65vh;overflow-wrap:anywhere}
.legacy h1{font-size:clamp(2.5rem,6vw,5rem);line-height:1.05;max-width:24ch;margin:0 0 1.5rem}
.legacy h2{font-size:clamp(1.6rem,3vw,2.5rem);line-height:1.15;margin:1.5rem 0 1rem}
.legacy h3{font-size:1.3rem;margin:1.3rem 0 .6rem}
.legacy p,.legacy li{font-size:1rem;line-height:1.75;max-width:78ch}
.legacy p{margin:0 0 1.3rem}.legacy li{margin-block:.45rem}.legacy ul,.legacy ol{padding-inline-start:1.5rem}
.legacy section{padding-block:2rem;border-bottom:1px solid #d4d4d0;scroll-margin-top:110px}
.legacy section:first-child{padding-top:0}.legacy section:last-child{border-bottom:0}
.legacy a{color:var(--blue,#466caf);text-underline-offset:4px}.legacy .primary{color:#fff;display:inline-flex}.legacy .outline{display:inline-flex}
.legacy img{max-width:100%;height:auto;max-height:650px;object-fit:contain;margin:1.5rem 0}.legacy [hidden]{display:none!important}
.legacy-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5rem;margin-block:2rem}
.legacy-card{padding:clamp(1.3rem,3vw,2.2rem);border:1px solid #d4d4d0;background:#fff;min-width:0}
.legacy-card h2{font-size:1.6rem;max-width:30ch}.legacy-card img{width:100%;max-height:380px;margin-top:0}.legacy-read{font-weight:700}
.legacy-filters{display:flex;flex-wrap:wrap;gap:.6rem;margin-block:2rem}
.legacy-filters button{padding:.7rem 1rem;border:1px solid #aaa;background:transparent;min-height:44px;font:inherit;cursor:pointer}
.legacy-filters button[aria-pressed=true]{background:#1e3152;color:white;border-color:#1e3152}
.submission-form{margin-top:2rem}.submission-form fieldset{border:0;padding:0;margin:0 0 2rem;min-width:0}
.submission-form legend{font-weight:700;font-size:1.4rem;margin-bottom:1rem}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.1rem}
.form-field{display:flex;flex-direction:column;gap:.5rem;min-width:0}.form-field.wide{grid-column:1/-1}.form-field label{font-size:1rem;font-weight:600}
.submission-form input,.submission-form select,.submission-form textarea{width:100%;font:inherit;font-size:1rem;padding:.8rem;border:1px solid #999;background:#fff;border-radius:2px;box-sizing:border-box;min-height:48px}
.submission-form textarea{resize:vertical;min-height:120px}.submission-form input:focus,.submission-form textarea:focus,.submission-form select:focus{outline:3px solid #c7d6ef;outline-offset:2px}
.form-consent{display:flex;align-items:flex-start;gap:.8rem;margin:1.3rem 0;line-height:1.65;font-size:1rem}.form-consent input{width:22px;min-height:22px;flex-shrink:0;margin-top:.2rem}
.form-trap{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden}.submission-form button{font:inherit;min-height:48px;cursor:pointer}
.form-message{padding:1rem;border:1px solid #466caf;background:#eef3fa;margin-block:1rem}.form-message:empty{display:none}
@media(max-width:650px){.legacy-grid,.form-grid{grid-template-columns:1fr}.legacy{padding-block:2rem}.legacy h1{font-size:2.5rem}.legacy-card{padding:1.2rem}.legacy img{max-height:450px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
