@font-face {
  font-family: 'Architects Daughter';
  src: url('fonts/ArchitectsDaughter-Regular.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
:root {
  --orange: #f76321;
  --blue: #dae3fe;
  --ink: #252d38;
  --muted: #526071;
  --line: #dce1e8;
}
* { box-sizing: border-box; }
body {
  max-width: 1150px;
  margin: auto;
  padding: 24px;
  background: #fafafa;
  color: var(--ink);
  font: 17px/1.6 Arial, Helvetica, sans-serif;
  overflow-wrap: anywhere;
}
a { color: #244e89; text-underline-offset: .2em; }
a:hover { color: #9c350b; }
:focus-visible { outline: 3px solid #244e89; outline-offset: 4px; }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .7em; }
h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); letter-spacing: -.035em; }
h2 { font-size: 1.65rem; letter-spacing: -.02em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1.1em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }
button, select, input, textarea { font: inherit; }
button, select { min-height: 44px; }
select { max-width: 100%; padding: 8px; border: 1px solid var(--line); border-radius: 6px; background: white; }
.site-header { padding: 24px 28px; background: var(--orange); border-radius: 10px 10px 0 0; }
.site-brand { color: var(--ink); text-decoration: none; font-family: 'Architects Daughter', cursive; font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 400; line-height: 1.25; letter-spacing: normal; display: block; }
.site-brand:hover { color: var(--ink); }
.site-tagline { margin: 8px 0 0; font-size: .9rem; }
.menubar { padding: 10px 0; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.menubar nav, .footer nav { display: flex; flex-wrap: wrap; gap: 4px; }
.menubar a, .clsSmallMenu a { display: block; padding: 10px 12px; min-height: 44px; color: var(--ink); text-decoration: none; border-radius: 6px; }
.menubar a:hover, .clsSmallMenu a:hover { background: var(--blue); }
.menubar a[aria-current="page"], #current { background: var(--blue); box-shadow: inset 0 -3px var(--orange); font-weight: 700; }
.menu-toggle { display: none; padding: 8px 16px; border: 1px solid var(--line); background: white; border-radius: 6px; color: var(--ink); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 20px; border: 1px solid var(--line); border-radius: 6px; background: white; color: var(--ink); text-decoration: none; font-weight: 700; }
.button-primary { background: var(--orange); border-color: var(--orange); }
.button:hover { background: var(--blue); color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0; }
.hero { margin: 0 0 32px; }
.hero-photo { position: relative; overflow: hidden; border-radius: 8px; }
.hero-photo .clsSlide { display: block; width: 100%; aspect-ratio: 3 / 1; object-fit: cover; }
.hero-photo #slide1 { position: absolute; inset: 0; }
.clsSlide { width: 100%; height: auto; transition: opacity 3s; }
.clsSlideCaption2 { padding-top: 10px; font-size: .85rem; color: var(--muted); }
.home-intro { max-width: 760px; margin-bottom: 36px; }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.home-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 32px; align-items: start; margin-bottom: 40px; }
.notice, #splash { background: var(--blue); border-left: 4px solid var(--orange); border-radius: 6px; padding: 24px; }
.notice p:last-child { margin-bottom: 0; }
.notice hr { border-color: #b8c7e7; }
.events-section { padding: 28px 0; border-top: 1px solid var(--line); }
.help-section { padding: 24px; margin: 24px 0; background: white; border: 1px solid var(--line); border-radius: 8px; }
/* Shared classes retained for the existing PHP pages and archive content. */
.clear { clear: both; }
.wide img, .mid img { width: 100%; }
.mid { width: 100%; max-width: 800px; margin: 0 auto 28px; }
#banner5 { display: none; }
.clsContent { width: 100%; display: flex; flex-wrap: wrap; }
.clsContent > *, .home-grid > * { min-width: 0; }
.colmain { width: 100%; padding: 12px 0 24px; }
.clsColMid { width: 100%; max-width: 1000px; margin: auto; }
.clsColLeft { width: 25%; }
.clsColCentre { width: 50%; }
.clsColInner, .clsColInnerMain, .clsGrey { padding: 20px; margin: 12px 0; border-radius: 6px; }
.clsColInner { background: var(--blue); }
.clsColInnerMain { background: white; }
.clsGrey { background: #f0f2f5; }
.clsColInnerPic { padding: 12px; background: white; }
.clsSmallMenu2 { display: flex; flex-wrap: wrap; }
.clsSmallMenu2 a { flex: 1 1 45%; }
.colmask { width: 100%; }
.threecol .colleft { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 24px; }
.col1, .col2, .col3 { min-width: 0; padding: 16px; }
.threecol .col1 { grid-column: 2; grid-row: 1; background: white; }
.threecol .col2 { grid-column: 1; grid-row: 1; background: #f0f2f5; }
.threecol .col3 { grid-column: 3; grid-row: 1; background: #f0f2f5; }
.clsRow, .clsComRow { width: 100%; padding: 16px 12px; border-bottom: 1px solid var(--line); }
.clsRow { display: flex; flex-wrap: wrap; gap: 12px; }
.clsRow > div { flex: 1 1 180px; min-width: 0; }
.clsRow:nth-child(even), .clsComRow:nth-child(odd), .tRow:nth-child(odd) { background: #f0f3f8; }
table { max-width: 100%; border-collapse: collapse; }
.clsTable, .itab { width: 100%; }
th, td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; }
th, .itab th { background: var(--blue); font-weight: 700; }
.clsCompact td { padding: 8px; }
.sevents, .sresults { max-width: 100%; overflow-x: auto; }
.sevents table, .sresults table { min-width: 640px; }
.sevents a, .sresults a { display: inline-block; padding: 8px 0; min-height: 44px; }
.blogiframe { width: 100%; height: 700px; border: 0; }
.footer { width: 100%; margin-top: 36px; padding: 24px; color: var(--ink); background: var(--orange); border-radius: 8px; }
.footer nav { margin-bottom: 16px; }
.footer a { display: inline-block; min-height: 44px; padding: 10px; color: var(--ink); }
.footer .footer-shortcuts { gap: 0 4px; margin-bottom: 12px; }
.footer-shortcuts a { font-size: 14px; line-height: 1.3; min-height: 36px; padding: 9px 7px; white-space: nowrap; }
.footer a:hover { background: #ffb18e; border-radius: 4px; }
.footer small { display: block; padding: 0 10px; }
#hhdr { font-size: 1.8rem; font-weight: 700; }
@media (max-width: 760px) {
  body { padding: 16px; font-size: 16px; }
  .site-header { padding: 22px 20px; }
  .menu-toggle:not([hidden]) { display: inline-block; }
  .menubar.is-collapsible nav { display: none; }
  .menubar.is-collapsible.is-open nav { display: grid; grid-template-columns: 1fr 1fr; margin-top: 12px; }
  .hero-photo .clsSlide { aspect-ratio: 3 / 2; }
  .home-grid { grid-template-columns: 1fr; gap: 24px; }
  .notice, #splash, .help-section { padding: 20px; }
  .clsColLeft, .clsColCentre { width: 100%; }
  .threecol .colleft { display: block; }
  .clsRow { display: block; }
  .clsRow > div { margin-bottom: 8px; }
  th, td { padding: 8px; }
  .footer { padding: 16px; }
  #banner4 { display: none; }
  #banner5 { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  .clsSlide { transition: none; }
}
