/* Shared structure for every school website theme. Themes add their own look on top. */
* { box-sizing: border-box; }
body { margin: 0; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--p); }
.wrap { width: min(1180px, 92vw); margin: 0 auto; }
.muted { color: var(--soft, #5f6b7a); }
.preview-bar { position: sticky; top: 0; z-index: 60; background: #1f2b3c; color: #fff; text-align: center; font-size: 13px; padding: 8px 12px; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 14px; }
.btn { display: inline-block; background: var(--p); color: #fff; text-decoration: none; padding: 13px 26px; font-weight: 700; border: 0; cursor: pointer; font: inherit; font-weight: 700; transition: transform .2s, box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-2px); }
.dd { position: relative; }
.dd > div { display: none; position: absolute; top: 100%; left: 0; z-index: 40; background: #fff; border: 1px solid #e6eaf0; border-radius: 12px; padding: 6px; min-width: 210px; box-shadow: 0 18px 40px -12px rgba(15, 23, 42, .25); }
.dd:hover > div, .dd:focus-within > div { display: block; }
.dd > div a { display: block; }
.burger { display: none; background: none; border: 1px solid currentColor; border-radius: 10px; padding: 8px 11px; font-size: 18px; line-height: 1; cursor: pointer; color: inherit; }
section.block { padding: 64px 0; }
.hero { position: relative; overflow: hidden; }
.hero.has-img { background-size: cover; background-position: center; }
.hero .wrap { position: relative; }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { display: block; text-decoration: none; color: inherit; }
.card img { margin-bottom: 14px; aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.card h3 { margin: 6px 0 8px; }
.card .date { font-size: 13px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; text-align: center; }
.stats b { display: block; font-size: 38px; color: var(--p); letter-spacing: -.03em; }
.gallery { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.gallery a { text-decoration: none; color: inherit; }
.gallery img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.gallery-cap { display: block; margin-top: 6px; font-weight: 600; }
details { border: 1px solid #e6eaf0; padding: 14px 18px; background: #fff; margin-bottom: 10px; }
summary { font-weight: 600; cursor: pointer; }
form.enquiry { display: grid; gap: 12px; max-width: 560px; }
form.enquiry input, form.enquiry textarea { width: 100%; padding: 12px 14px; border: 1px solid #d9dee6; font: inherit; background: #fff; }
.contact-grid { display: grid; gap: 30px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.prose { max-width: 760px; }
.prose .lead { font-size: 18px; }
.entry-img { margin-bottom: 22px; }
.page-head .back { font-size: 14px; text-decoration: none; }
.page-head h1 { margin-top: 10px; }
.foot { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.powered { margin-top: 26px; padding-top: 16px; font-size: 12px; opacity: .7; }
@media (max-width: 860px) {
  [data-menu] { display: none !important; width: 100%; }
  [data-menu].open { display: flex !important; flex-direction: column; }
  .burger { display: block; }
  .dd > div { position: static; box-shadow: none; border: 0; padding-left: 14px; display: block; }
}

/* ---- Header styles (Website → Settings → Header style). Own classes, so they look the same in every design. ---- */
.hdr { position: relative; z-index: 50; background: #fff; color: #333; font-size: 14px; }
.hdr a { text-decoration: none; }
.hdr svg { width: 15px; height: 15px; flex: none; }
.hdr .wrap.hdr-row { display: flex; align-items: center; gap: 18px; min-height: 84px; }
.hbrand { display: flex; align-items: center; gap: 12px; color: #1f2b3c; font-weight: 800; font-size: 20px; line-height: 1.2; text-decoration: none; }
.hbrand img { max-height: 64px; max-width: 240px; width: auto; height: auto; object-fit: contain; }
.hbrand small { display: block; font-size: 12.5px; font-weight: 500; opacity: .7; }
nav.hmenu { display: flex; flex-wrap: wrap; align-items: center; }
nav.hmenu > a, nav.hmenu > .dd > a { display: flex; align-items: center; gap: 4px; padding: 10px 13px; color: #333; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .01em; border-radius: 0; background: none; }
nav.hmenu > a:hover, nav.hmenu > a.on, nav.hmenu > .dd:hover > a { color: var(--p); background: none; }
nav.hmenu .caret { font-size: 10px; opacity: .7; }
.hdr .dd > div { background: #fff; border: 0; border-top: 3px solid var(--p); border-radius: 0 0 6px 6px; padding: 6px 0; min-width: 220px; }
.hdr .dd > div a { padding: 9px 18px; color: #555; font-size: 13px; border-bottom: 1px solid #f2f2f2; text-transform: none; font-weight: 500; }
.hdr .dd > div a:last-child { border-bottom: 0; }
.hdr .dd > div a:hover { background: #f7f7f7; color: var(--p); }
.hdr .burger { color: inherit; border-color: currentColor; font-size: 14px; }
.hsocials { display: inline-flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.hsocials a { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #f1f3f6; color: #444; }
.hsocials a:hover { background: var(--p); color: #fff; }
.hsocials svg { width: 14px; height: 14px; }

.hdr-classic { box-shadow: 0 2px 8px rgba(0, 0, 0, .06); }
.hdr-classic .hbrand { padding: 10px 0; }
.hdr-right { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.hdr-contact { display: flex; gap: 22px; margin: 0; padding: 8px 0 0; list-style: none; font-size: 13px; }
.hdr-contact a { display: inline-flex; align-items: center; gap: 6px; color: #555; }
.hdr-contact svg { color: var(--p); }
.hdr-navline { display: flex; align-items: center; gap: 10px; }
.hdr-navline nav.hmenu > a, .hdr-navline nav.hmenu > .dd > a { padding: 12px 11px 14px; }

.hdr-inline { box-shadow: 0 1px 0 #eceff3; }
.hdr-inline nav.hmenu { margin-left: auto; }
.hdr-inline nav.hmenu > a.on, .hdr-inline nav.hmenu > a:hover { box-shadow: inset 0 -3px 0 var(--p); }

.hdr-strip { background: var(--p); color: #fff; font-size: 13px; }
.hdr-strip .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 40px; flex-wrap: wrap; }
.hdr-strip a { color: #fff; display: inline-flex; align-items: center; gap: 6px; margin-right: 18px; text-decoration: none; opacity: .92; }
.hdr-strip svg { width: 14px; height: 14px; }
.hdr-strip .hsocials a { background: rgba(255, 255, 255, .16); color: #fff; margin: 0; width: 26px; height: 26px; opacity: 1; }
.hdr-topbar { box-shadow: 0 2px 8px rgba(0, 0, 0, .06); }
.hdr-topbar nav.hmenu { margin-left: auto; }

.hdr-dark { background: #1d2127; color: #fff; }
.hdr-dark .hbrand { color: #fff; }
.hdr-dark nav.hmenu { margin: 0 auto; }
.hdr-dark nav.hmenu > a, .hdr-dark nav.hmenu > .dd > a { color: rgba(255, 255, 255, .85); }
.hdr-dark nav.hmenu > a:hover, .hdr-dark nav.hmenu > a.on, .hdr-dark nav.hmenu > .dd:hover > a { color: #fff; box-shadow: inset 0 -3px 0 var(--p); }

.hdr-centered { text-align: center; }
.hdr-center { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 22px 0 16px; }
.hdr-centered .hbrand { flex-direction: column; font-size: 26px; text-align: center; }
.hdr-centered .hbrand img { max-height: 90px; }
.hdr-contact-line { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; font-size: 13px; }
.hdr-contact-line a { display: inline-flex; align-items: center; gap: 6px; color: #555; }
.hdr-contact-line svg { color: var(--p); }
.hdr-bar { background: var(--p); }
.hdr-bar .wrap { display: flex; justify-content: center; }
.hdr-bar nav.hmenu > a, .hdr-bar nav.hmenu > .dd > a { color: #fff; padding: 14px 15px; }
.hdr-bar nav.hmenu > a:hover, .hdr-bar nav.hmenu > a.on, .hdr-bar nav.hmenu > .dd:hover > a { background: rgba(0, 0, 0, .14); color: #fff; }
.hdr-bar .burger { color: #fff; margin: 8px 0; }

/* ---- Footer styles ---- */
.ftr { background: #1d2127; color: rgba(255, 255, 255, .72); font-size: 14px; margin-top: 0; }
.ftr a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.ftr a:hover { color: #fff; }
.ftr h5 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .04em; margin: 0 0 14px; }
.ftr svg { width: 15px; height: 15px; flex: none; }
.ftr .hbrand { color: #fff; }
.ftr .hbrand img { max-height: 56px; background: #fff; padding: 6px; border-radius: 6px; }
.ftr .hsocials a { background: rgba(255, 255, 255, .1); color: #fff; }
.ftr .hsocials a:hover { background: var(--p); }
.ftr-cols { display: grid; gap: 30px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); padding: 46px 0 34px; }
.ftr-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ftr-list li { display: flex; gap: 10px; align-items: flex-start; }
.ftr-list svg { margin-top: 4px; color: var(--p); }
.ftr-map { width: 100%; height: 200px; border: 0; border-radius: 6px; }
.ftr-ribbon { position: relative; top: -1px; }
.ftr-ribbon span { display: inline-block; background: var(--p); color: #fff; font-weight: 700; font-size: 15px; padding: 12px 26px; }
.ftr-map-style .ftr-wide { grid-column: span 2; }
.ftr-links-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ftr-links-list a::before { content: "› "; color: var(--p); }
.ftr-soft { margin: 12px 0; }
.ftr-columns { background: var(--p); background: linear-gradient(0deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, .55)), var(--p); }
.ftr-top { display: flex; justify-content: center; padding: 34px 0 0; }
.ftr-three { text-align: center; }
.ftr-three > div > svg { width: 30px; height: 30px; color: #fff; margin: 0 auto 10px; display: block; }
.ftr-three .hsocials { justify-content: center; }
.ftr-three p { margin: 4px 0; }
.ftr-line { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; padding: 22px 0; }
.ftr-line a { display: inline-flex; align-items: center; gap: 6px; }
.ftr-line strong { color: #fff; }
.ftr-copy { background: rgba(0, 0, 0, .25); font-size: 12.5px; }
.ftr-copy .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; padding: 14px 0; }
@media (max-width: 860px) {
  .hdr .wrap.hdr-row { flex-wrap: wrap; min-height: 70px; gap: 10px; }
  .hdr .burger { margin-left: auto; }
  .hdr-right { margin-left: 0; width: 100%; align-items: stretch; }
  .hdr-contact { display: none; }
  .hdr-navline { flex-wrap: wrap; }
  .hdr-navline .burger { margin-left: auto; }
  nav.hmenu > a, nav.hmenu > .dd > a { padding: 10px 4px; border-top: 1px solid rgba(127, 127, 127, .15); }
  .hdr-bar .wrap { flex-direction: column; }
  .ftr-map-style .ftr-wide { grid-column: auto; }
  .hide-sm { display: none !important; }
}

/* ---- Page types (sites/types/*) ---- */
.t-group { margin: 34px 0 16px; font-size: 22px; }
.t-group:first-child { margin-top: 0; }
.t-date { flex: none; width: 62px; text-align: center; background: var(--p); color: #fff; border-radius: 8px; padding: 6px 4px; font-size: 11px; line-height: 1.25; text-transform: uppercase; }
.t-date b { display: block; font-size: 22px; line-height: 1.1; }
.t-notices { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.t-notices li { display: flex; gap: 14px; align-items: center; padding: 12px; border: 1px solid #e6eaf0; border-radius: 10px; background: #fff; }
.t-notices li.important { border-color: var(--p); box-shadow: inset 4px 0 0 var(--p); }
.t-title { font-weight: 700; color: inherit; text-decoration: none; }
.t-tag { display: inline-block; margin-left: 8px; font-size: 11px; font-weight: 700; color: #b42318; background: #fde8e7; border-radius: 99px; padding: 2px 8px; vertical-align: 2px; }
.t-file { display: inline-flex; align-items: center; gap: 4px; margin-left: 10px; font-size: 13px; }
.t-file svg, .btn svg { width: 15px; height: 15px; vertical-align: -2px; }
.t-events { display: grid; gap: 14px; }
.t-event { display: grid; grid-template-columns: 62px 1fr auto; gap: 16px; align-items: start; padding: 14px; border: 1px solid #e6eaf0; border-radius: 12px; text-decoration: none; color: inherit; background: #fff; }
.t-event h3 { margin: 0 0 4px; font-size: 18px; }
.t-event p { margin: 8px 0 0; }
.t-event img { width: 150px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
.t-people { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.t-person { text-align: center; padding: 22px 16px; border: 1px solid #e6eaf0; border-radius: 14px; background: #fff; }
.t-person img, .t-avatar { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin: 0 auto 14px; }
.t-avatar { display: grid; place-items: center; background: color-mix(in srgb, var(--p) 14%, white); color: var(--p); font-size: 42px; font-weight: 800; }
.t-person h3 { margin: 0 0 4px; font-size: 17px; }
.t-role { color: var(--p); font-weight: 700; font-size: 13.5px; }
.t-person p { font-size: 13.5px; margin: 10px 0 0; }
.t-contact { display: grid; gap: 4px; margin-top: 10px; font-size: 13px; }
.t-contact a { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.t-contact svg, .t-branch svg { width: 15px; height: 15px; flex: none; }
.t-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.t-chips span { font-size: 12px; font-weight: 600; background: color-mix(in srgb, var(--p) 10%, white); color: var(--p); border-radius: 99px; padding: 3px 10px; }
.t-videos { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.t-videos figure { margin: 0; }
.t-videos iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 10px; }
.t-videos figcaption { margin-top: 8px; }
.t-branches { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.t-branch { border: 1px solid #e6eaf0; border-radius: 14px; padding: 18px; background: #fff; }
.t-branch img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; margin-bottom: 12px; }
.t-branch h3 { font-size: 18px; margin: 0 0 10px; }
.t-branch ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: 14px; }
.t-branch li { display: flex; gap: 8px; align-items: flex-start; }
.t-branch li svg { margin-top: 4px; color: var(--p); }
.t-map { display: inline-block; margin-top: 12px; font-weight: 700; font-size: 14px; }
.t-downloads { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 10px; }
.t-downloads li { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid #e6eaf0; border-radius: 10px; background: #fff; }
.t-downloads li > div { flex: 1; min-width: 0; }
.t-downloads .btn { padding: 9px 16px; font-size: 13px; }
.t-ext { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 8px; background: color-mix(in srgb, var(--p) 12%, white); color: var(--p); font-size: 11px; font-weight: 800; }
.t-reviews { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.t-review { margin: 0; padding: 22px; border: 1px solid #e6eaf0; border-radius: 14px; background: #fff; }
.t-review blockquote { margin: 0 0 16px; font-size: 15px; }
.t-review figcaption { display: flex; align-items: center; gap: 12px; }
.t-review img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.t-stars { color: #f5a623; letter-spacing: 2px; margin-bottom: 8px; }
.t-facts { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); margin: 0 0 22px; padding: 16px; background: #f7f8fa; border-radius: 12px; }
.t-facts dt { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; opacity: .65; }
.t-facts dd { margin: 2px 0 0; font-weight: 700; }
.branch-list { margin-top: 30px; }
@media (max-width: 640px) {
  .t-event { grid-template-columns: 56px 1fr; }
  .t-event img { display: none; }
  .t-downloads li { flex-wrap: wrap; }
}
