:root {
  --blue: #17335f;
  --blue-dark: #071b36;
  --red: #a92032;
  --gold: #f0b323;
  --gold-dark: #c89012;
  --green: #2e7259;
  --ink: #14213d;
  --muted: #617086;
  --line: #d6dfeb;
  --paper: #ffffff;
  --soft: #f4f7fb;
  --cream: #fff7df;
  --shadow: 0 22px 52px rgba(7, 27, 54, 0.16);
  --shadow-soft: 0 12px 30px rgba(7, 27, 54, 0.09);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #ffffff 0, #f8fafc 240px, var(--soft) 620px);
  font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
.button {
  border: 1px solid var(--gold);
  background: #fff;
  color: var(--blue-dark);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 18px;
  font: inherit;
  font-weight: 800;
  border-radius: var(--radius);
  box-shadow: 0 8px 20px rgba(7, 27, 54, 0.1);
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

button:hover,
.button:hover {
  background: var(--cream);
  box-shadow: 0 12px 28px rgba(7, 27, 54, 0.16);
  transform: translateY(-1px);
}

button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.button--primary {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--blue-dark);
}

.button--primary:hover {
  background: #ffd36a;
}

.shell {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  background: var(--blue-dark);
  color: #e8f1ff;
  font-size: 13px;
}

.topbar__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
}

.topbar__links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.topbar__links a {
  color: #fff;
  font-weight: 800;
}

.topbar__links a:hover {
  color: var(--gold);
}

.live-clock {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  font-style: normal;
  font-variant-numeric: tabular-nums;
}

.live-clock span,
.live-clock em {
  color: #cde1f5;
  font-style: normal;
  font-weight: 700;
}

.live-clock span {
  text-transform: uppercase;
}

.live-clock strong {
  color: var(--gold);
  font-size: 15px;
}

.site-header {
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 4px solid var(--gold);
  box-shadow: 0 14px 34px rgba(7, 27, 54, 0.12);
  position: relative;
  z-index: 100;
  overflow: visible;
}

.masthead {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.masthead__brand {
  display: flex;
  gap: 18px;
  align-items: center;
  min-width: 0;
}

.crest {
  width: 102px;
  height: 102px;
  object-fit: cover;
  border: 4px solid var(--gold);
  border-radius: 50%;
  background: #fff;
  display: block;
  flex: 0 0 auto;
  box-shadow: 0 16px 32px rgba(7, 27, 54, 0.16);
}

.masthead h1,
.hero h2,
.notice-layout h2,
.admission-layout h2,
.calendar-copy h2,
.faq-layout h2,
.feature h2,
.headmaster-message h2,
.inside h2,
.facilities h2,
.gallery h2,
.staff h2,
.contact-band h2,
.footer h2 {
  margin: 0;
  line-height: 1.15;
}

.masthead h1 {
  color: var(--blue-dark);
  font-size: clamp(26px, 4vw, 40px);
  text-transform: uppercase;
}

.masthead p {
  margin: 4px 0 0;
  color: #46566d;
}

.masthead__address {
  max-width: 760px;
  overflow-wrap: anywhere;
  font-size: 18px;
}

.language-tools {
  flex: 0 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.language-switcher,
.translator {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 10px 12px;
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(7, 27, 54, 0.08);
}

.language-switcher span,
.translator span {
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.language-switcher__buttons {
  display: inline-flex;
  gap: 4px;
  padding: 3px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.language-switcher__buttons button {
  min-height: 34px;
  padding: 7px 10px;
  border: 0;
  background: transparent;
  box-shadow: none;
  font-size: 13px;
}

.language-switcher__buttons button:hover,
.language-switcher__buttons button.is-active {
  background: var(--gold);
  color: var(--blue-dark);
  transform: none;
  box-shadow: none;
}

.translator .goog-te-gadget {
  color: transparent;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0;
}

.translator .goog-te-gadget-simple {
  border: 1px solid var(--blue);
  background: #fff;
  padding: 8px 10px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
}

.translator .goog-te-gadget-simple span {
  color: var(--blue);
  font-size: 13px;
}

.translator img {
  display: none;
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.nav {
  background: var(--blue-dark);
  color: #fff;
  position: relative;
  z-index: 20;
}

.nav__inner {
  display: flex;
  overflow-x: auto;
}

.nav a {
  flex: 0 0 auto;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  border-bottom: 3px solid transparent;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.nav a:hover {
  background: rgba(240, 179, 35, 0.16);
  border-color: var(--gold);
}

.hero {
  min-height: 660px;
  display: flex;
  align-items: center;
  padding: 74px 0 58px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 16%, rgba(240, 179, 35, 0.18), transparent 32%),
    linear-gradient(135deg, #071b36 0%, #122b55 58%, #1c3d70 100%);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(7, 27, 54, 0.7), rgba(18, 43, 85, 0.22), rgba(7, 27, 54, 0.42));
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 8px;
  background: linear-gradient(90deg, var(--gold), #fff1b5, var(--gold));
  z-index: 3;
}

.hero__slider {
  position: relative;
  height: 100%;
  background: #06162b;
}

.hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(0.99);
  transition: opacity 0.8s ease, transform 5s ease;
}

.hero__slide.is-active {
  opacity: 1;
  transform: scale(1.01);
}

.hero__photo {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 460px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 4px solid rgba(240, 179, 35, 0.82);
  border-radius: var(--radius);
  background: #06162b;
  box-shadow: var(--shadow);
}

.hero__control {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 40px;
  min-height: 40px;
  padding: 0;
  border-color: rgba(240, 179, 35, 0.7);
  background: rgba(7, 27, 54, 0.68);
  color: #fff;
  box-shadow: var(--shadow-soft);
  transform: translateY(-50%);
}

.hero__control:hover {
  background: rgba(7, 27, 54, 0.9);
  box-shadow: var(--shadow);
  transform: translateY(-50%);
}

.hero__control span {
  font-size: 28px;
  line-height: 1;
}

.hero__control--prev {
  left: 10px;
}

.hero__control--next {
  right: 10px;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 22px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero__story {
  grid-column: 1 / -1;
  max-width: none;
  display: grid;
  grid-template-columns: 220px minmax(340px, 1fr) 330px;
  gap: 22px;
  align-items: center;
  transform: translateY(-12px);
}

.hero__story > .eyebrow {
  grid-column: 1;
  margin: 0;
  color: var(--gold);
  font-size: 14px;
}

.hero__story > p:not(.eyebrow) {
  grid-column: 3;
  margin: 0;
}

.hero__stats,
.hero__actions {
  grid-column: 2 / -1;
}

.hero__photo {
  grid-column: 1;
}

.hero__news {
  grid-column: 2;
}

.hero h2 {
  grid-column: 2;
  max-width: 760px;
  font-size: clamp(36px, 5vw, 60px);
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.28);
}

.hero p {
  max-width: 620px;
  font-size: 18px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.stat-pill {
  min-width: 130px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(240, 179, 35, 0.45);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
}

.stat-pill strong,
.stat-pill span {
  display: block;
}

.stat-pill strong {
  font-size: 24px;
  line-height: 1;
}

.stat-pill span {
  margin-top: 4px;
  color: #e7eef9;
  font-size: 13px;
  font-weight: 700;
}

.hero__news {
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  border-top: 6px solid var(--gold);
  padding: 22px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero__news h3 {
  margin: 0 0 12px;
  color: var(--blue-dark);
}

.hero__news p {
  margin: 0;
  padding: 12px 0;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 15px;
}

.notice-band,
.admission-band,
.faq-band,
.facilities,
.contact-band,
.inside {
  padding: 54px 0;
  background: #fff;
}

.notice-layout,
.admission-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 28px;
}

.section-copy {
  color: var(--muted);
}

.notices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.notice,
.quick-card,
.inside-card,
.facility-card,
.staff-card,
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 18px;
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(7, 27, 54, 0.07);
}

.notice span {
  display: inline-block;
  background: var(--cream);
  color: var(--blue-dark);
  padding: 3px 8px;
  font-size: 12px;
  font-weight: 800;
}

.notice h3 {
  margin: 12px 0 8px;
  font-size: 17px;
}

.notice p,
.quick-card p,
.feature p,
.inside-card p,
.footer p {
  color: var(--muted);
}

.notice__download {
  margin-top: 10px;
}

.quick-strip {
  background: linear-gradient(90deg, var(--blue-dark), #122b55);
  padding: 24px 0;
  border-top: 1px solid rgba(240, 179, 35, 0.35);
  border-bottom: 1px solid rgba(240, 179, 35, 0.35);
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.quick-card {
  display: flex;
  gap: 14px;
  align-items: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  min-height: 96px;
}

.quick-card:hover {
  background: #fffdf6;
  box-shadow: 0 10px 22px rgba(8, 55, 103, 0.16);
  transform: translateY(-2px);
}

.quick-card h3 {
  margin: 0;
  color: var(--blue-dark);
  font-size: 18px;
}

.quick-card p {
  margin: 3px 0 0;
  font-size: 14px;
}

.quick-card__icon {
  width: 46px;
  height: 46px;
  background: var(--gold);
  color: var(--blue-dark);
  display: grid;
  place-items: center;
  font-weight: 900;
  border-radius: var(--radius);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  padding: 54px 0;
}

.headmaster-band {
  padding: 54px 0;
  background:
    linear-gradient(135deg, rgba(7, 27, 54, 0.08), rgba(240, 179, 35, 0.18)),
    #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.headmaster-layout {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 34px;
  align-items: center;
}

.headmaster-photo {
  margin: 0;
  background: #fff;
  border: 1px solid rgba(240, 179, 35, 0.5);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.headmaster-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.headmaster-photo__fallback {
  padding: 48px;
  background: var(--cream);
  object-fit: contain;
}

.headmaster-photo figcaption {
  display: grid;
  gap: 3px;
  padding: 14px 16px;
  background: var(--blue-dark);
}

.headmaster-photo strong {
  color: #fff;
  font-size: 18px;
}

.headmaster-photo span {
  color: #dbe7f7;
  font-size: 13px;
  font-weight: 700;
}

.headmaster-message {
  max-width: 720px;
}

.headmaster-message h2 {
  color: var(--blue-dark);
  font-size: 44px;
}

.headmaster-message p {
  color: var(--muted);
  font-size: 17px;
}

.headmaster-message .button {
  margin-top: 10px;
}

.headmaster-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.headmaster-actions .button {
  margin-top: 0;
}

.speech-status {
  margin: 10px 0 0;
  color: var(--red);
  font-weight: 800;
}

.admission-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(240, 179, 35, 0.16), transparent 34%),
    var(--cream);
}

.admission-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.admission-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: admission;
  display: grid;
  gap: 12px;
}

.admission-steps li {
  counter-increment: admission;
  background: #fff;
  border-left: 5px solid var(--gold);
  padding: 16px 18px 16px 58px;
  position: relative;
  border-radius: var(--radius);
}

.admission-steps li::before {
  content: counter(admission);
  position: absolute;
  left: 16px;
  top: 15px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  background: var(--blue-dark);
  color: #fff;
  font-weight: 800;
}

.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(7, 27, 54, 0.07);
}

.feature img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  filter: saturate(1.05) contrast(1.02);
}

.feature__image--portrait {
  object-position: center top;
}

.feature div {
  padding: 22px;
}

.feature a,
.section-heading a {
  color: var(--blue-dark);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.feature--warm {
  border-top: 5px solid var(--gold);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin-bottom: 22px;
}

.inside-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.facilities {
  background: #f7f9fd;
}

.facilities-grid,
.staff-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.facility-card {
  border-top: 4px solid var(--gold);
}

.facility-card h3,
.staff-card h3,
.contact-card h3 {
  margin: 0 0 8px;
  color: var(--blue-dark);
}

.facility-card p,
.staff-card p,
.contact-card p {
  margin: 0;
  color: var(--muted);
}

.inside-card {
  border-top: 4px solid var(--gold);
}

.inside-card,
.facility-card,
.staff-card,
.notice,
.gallery-item {
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.inside-card:hover,
.facility-card:hover,
.staff-card:hover,
.notice:hover,
.gallery-item:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.inside-card h3 {
  margin: 0 0 10px;
  color: var(--blue-dark);
}

.gallery {
  padding: 54px 0;
}

.staff {
  padding: 54px 0;
}

.staff-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.staff-card__avatar {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: var(--blue-dark);
  font-weight: 900;
}

.contact-band {
  border-top: 1px solid var(--line);
  background: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 18px;
  align-items: stretch;
}

.contact-card .button {
  margin-top: 14px;
}

.contact-action-grid {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.contact-action {
  display: grid;
  gap: 2px;
  min-height: 70px;
  padding: 13px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(7, 27, 54, 0.07);
}

.contact-action:hover {
  background: var(--cream);
}

.contact-action span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-action strong {
  overflow-wrap: anywhere;
  color: var(--blue-dark);
  line-height: 1.2;
}

.contact-action--call {
  border-left-color: var(--gold);
}

.contact-action--whatsapp {
  border-left-color: var(--green);
}

.contact-action--map {
  border-left-color: var(--blue);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.contact-card .contact-actions .button {
  margin-top: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.gallery-item {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(7, 27, 54, 0.07);
}

.gallery-item:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  filter: saturate(1.08) contrast(1.02);
  transition: transform 0.22s ease;
}

.gallery-item:hover img {
  transform: scale(1.035);
}

.gallery-item figcaption {
  padding: 10px 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.gallery-item a {
  color: var(--blue-dark);
}

.footer {
  background: linear-gradient(135deg, #06162b, var(--blue-dark) 58%, #122b55);
  color: #fff;
  padding: 42px 0 16px;
  border-top: 6px solid var(--gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 28px;
}

.footer h3 {
  margin-top: 0;
}

.footer a {
  display: block;
  color: #d9e8fb;
  margin: 8px 0;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  margin: 28px auto 0;
  padding-top: 16px;
  width: min(1160px, calc(100% - 32px));
  color: #b7c7d8;
  font-size: 14px;
}

.nav__inner--groups {
  align-items: stretch;
  overflow: visible;
}

.nav-group {
  position: relative;
  flex: 1 1 auto;
}

.nav-group__button {
  width: 100%;
  height: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  color: #fff;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.nav-group__button:hover,
.nav-group:focus-within .nav-group__button {
  background: rgba(240, 179, 35, 0.16);
  transform: none;
}

.nav-group__menu {
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 5px solid var(--gold);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 30;
}

.nav-group:hover .nav-group__menu,
.nav-group:focus-within .nav-group__menu,
.nav-group.is-open .nav-group__menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-group__menu a {
  display: block;
  color: var(--ink);
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-transform: none;
}

.nav-group__menu a:hover {
  color: var(--blue-dark);
  background: var(--cream);
}

.search-band {
  border-top: 1px solid rgba(7, 27, 54, 0.08);
  background: #ffffff;
  position: relative;
  z-index: 80;
}

.site-search {
  display: grid;
  grid-template-columns: auto minmax(220px, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  padding: 12px 0;
  position: relative;
  z-index: 90;
}

.site-search label {
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.site-search input,
.enquiry-form input,
.enquiry-form textarea {
  width: 100%;
  border: 1px solid #cbd7e6;
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 11px 12px;
}

.site-search__field {
  position: relative;
  min-width: 0;
  z-index: 120;
}

.site-search input:focus,
.enquiry-form input:focus,
.enquiry-form textarea:focus {
  outline: 3px solid rgba(217, 167, 43, 0.25);
  border-color: var(--gold);
}

.search-message {
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 800;
}

.search-results {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 500;
  max-height: min(430px, 70vh);
  overflow: auto;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 5px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.search-results__summary {
  display: flex;
  gap: 5px;
  align-items: center;
  padding: 8px 10px 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.search-results__summary strong {
  color: var(--blue-dark);
}

.search-result {
  width: 100%;
  min-height: 0;
  display: grid;
  gap: 3px;
  justify-items: start;
  padding: 12px;
  border: 0;
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  box-shadow: none;
  text-align: left;
}

.search-result:hover,
.search-result:focus,
.search-result.is-active {
  background: #fff7df;
  box-shadow: none;
  transform: none;
}

.search-result.is-active {
  box-shadow: inset 4px 0 0 var(--gold);
}

.search-result span {
  color: var(--gold-dark);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.search-result strong {
  color: var(--blue-dark);
  font-size: 15px;
}

.search-result em {
  max-width: 100%;
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-result mark {
  background: rgba(240, 179, 35, 0.42);
  color: inherit;
  padding: 0 2px;
  border-radius: 3px;
}

.search-results__empty {
  margin: 0;
  padding: 14px;
  color: var(--muted);
  font-weight: 800;
}

.search-target-highlight {
  outline: 3px solid rgba(240, 179, 35, 0.5);
  outline-offset: 6px;
  transition: outline-color 0.25s ease;
}

.ticker {
  background: linear-gradient(90deg, var(--gold), #ffd469);
  color: var(--blue-dark);
  overflow: hidden;
}

.ticker__inner {
  display: grid;
  grid-template-columns: auto minmax(240px, 0.75fr) minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 54px;
}

.ticker__label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ticker__label strong {
  text-transform: uppercase;
}

.ticker__label span,
.ticker__highlight span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 8px;
  background: var(--blue-dark);
  color: #fff;
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.ticker__highlight {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-width: 0;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(7, 27, 54, 0.16);
  border-radius: var(--radius);
  box-shadow: 0 8px 18px rgba(7, 27, 54, 0.08);
}

.ticker__highlight strong {
  overflow: hidden;
  color: var(--blue-dark);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ticker__highlight em {
  color: var(--blue);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.ticker__track {
  overflow: hidden;
  white-space: nowrap;
}

.ticker__track span {
  display: inline-block;
  min-width: 100%;
  animation: ticker-scroll 34s linear infinite;
}

@keyframes ticker-scroll {
  from {
    transform: translateX(100%);
  }

  to {
    transform: translateX(-100%);
  }
}

.downloads-band,
.achievements-band,
.testimonials-band,
.timing-band,
.video-band {
  padding: 54px 0;
}

.downloads-band,
.achievements-band,
.timing-band {
  background: #fff;
}

.downloads-grid,
.achievement-grid,
.testimonial-grid,
.timing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.download-card,
.achievement-card,
.testimonial-card,
.timing-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(7, 27, 54, 0.07);
  padding: 18px;
}

.download-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.download-card > span {
  flex: 0 0 auto;
  background: var(--blue-dark);
  color: var(--gold);
  padding: 6px 8px;
  font-size: 12px;
  font-weight: 900;
}

.download-card h3,
.achievement-card h3 {
  margin: 0 0 6px;
  color: var(--blue-dark);
}

.download-card p,
.achievement-card p,
.testimonial-card p {
  margin: 0;
  color: var(--muted);
}

.enquiry-panel {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 24px;
  margin-top: 34px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(7, 27, 54, 0.1);
}

.enquiry-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.enquiry-form textarea,
.enquiry-form button,
.enquiry-form__whatsapp,
.form-status {
  grid-column: 1 / -1;
}

.form-status {
  margin: 0;
  color: var(--green);
  font-weight: 800;
}

.calendar-band {
  padding: 54px 0;
  background: #fff;
  border-top: 1px solid var(--line);
}

.calendar-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 26px;
  align-items: start;
}

.calendar-copy {
  position: sticky;
  top: 190px;
}

.calendar-event-panel {
  margin-top: 22px;
  padding: 20px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-left: 5px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.calendar-event-panel span {
  display: inline-block;
  background: var(--cream);
  color: var(--blue-dark);
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.calendar-event-panel h3 {
  margin: 12px 0 8px;
  color: var(--blue-dark);
}

.calendar-event-panel p {
  color: var(--muted);
}

.calendar-event-panel strong {
  color: var(--blue-dark);
}

.calendar-board {
  padding: 18px;
  background: #fffdf5;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.calendar-board__header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}

.calendar-board__header h3 {
  margin: 0;
  color: var(--blue-dark);
  font-size: 24px;
}

.calendar-board__tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  align-items: center;
}

.calendar-board__tools button {
  min-height: 34px;
  padding: 7px 12px;
  border-color: rgba(240, 179, 35, 0.72);
  box-shadow: none;
}

.calendar-live-date {
  flex-basis: 100%;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-align: right;
}

.calendar-weekdays,
.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.calendar-weekdays span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.calendar-day {
  min-height: 78px;
  padding: 8px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4px;
  border-color: var(--line);
  background: #fff;
  color: var(--muted);
  box-shadow: none;
}

.calendar-day:disabled {
  cursor: default;
  opacity: 0.54;
}

.calendar-day:disabled:hover {
  background: #fff;
  box-shadow: none;
  transform: none;
}

.calendar-day strong {
  color: var(--ink);
  font-size: 18px;
}

.calendar-day span {
  color: var(--gold-dark);
  font-size: 11px;
  font-weight: 900;
}

.calendar-day.has-event {
  border-color: rgba(240, 179, 35, 0.58);
  background: #fff7df;
}

.calendar-day.has-event:hover,
.calendar-day.is-selected {
  background: var(--blue-dark);
  color: #fff;
  transform: translateY(-2px);
}

.calendar-day.is-today {
  border-color: var(--blue-dark);
  background: #fffdf5;
  box-shadow: inset 0 0 0 2px var(--gold);
  opacity: 1;
}

.calendar-day.is-today::after {
  content: "Today";
  color: var(--blue-dark);
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.calendar-day.is-today strong {
  color: var(--blue-dark);
}

.calendar-day.is-today:disabled:hover {
  background: #fffdf5;
  box-shadow: inset 0 0 0 2px var(--gold);
  transform: none;
}

.calendar-day.has-event:hover strong,
.calendar-day.has-event:hover span,
.calendar-day.has-event:hover::after,
.calendar-day.is-selected strong,
.calendar-day.is-selected span,
.calendar-day.is-selected::after {
  color: #fff;
}

.faq-band {
  background: #f7f9fd;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.faq-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 26px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(7, 27, 54, 0.07);
  overflow: hidden;
}

.faq-item button {
  width: 100%;
  justify-content: space-between;
  gap: 14px;
  min-height: 58px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: var(--blue-dark);
  text-align: left;
}

.faq-item button:hover {
  background: #fffdf5;
  box-shadow: none;
  transform: none;
}

.faq-item button span {
  font-weight: 900;
}

.faq-item button strong {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: var(--blue-dark);
}

.faq-item p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
}

.achievement-card {
  border-top: 4px solid var(--gold);
}

.achievement-card strong {
  display: block;
  margin-bottom: 10px;
  color: var(--blue-dark);
  font-size: 34px;
  line-height: 1;
}

.video-band {
  background: linear-gradient(135deg, var(--blue-dark), #122b55 72%, #17335f);
  color: #fff;
  border-top: 6px solid var(--gold);
  border-bottom: 6px solid var(--gold);
}

.video-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 26px;
  align-items: center;
}

.video-layout .section-copy {
  color: #dce8f5;
}

.video-frame {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(240, 179, 35, 0.42);
  border-radius: var(--radius);
  padding: 14px;
}

.video-frame video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  background: #000;
  border-radius: var(--radius);
}

.video-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.video-note {
  margin: 10px 0 0;
  color: #dce8f5;
  font-size: 13px;
}

.album-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.album-card {
  min-height: 0;
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  align-items: start;
  padding: 0;
  overflow: hidden;
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
  text-align: left;
  box-shadow: var(--shadow-soft);
}

.album-card:hover,
.album-card.is-active {
  background: #fffdf5;
  border-color: var(--gold);
  box-shadow: var(--shadow);
}

.album-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.album-card span {
  margin: 12px 12px 0;
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.album-card h3 {
  margin: 4px 12px 0;
  color: var(--blue-dark);
}

.album-card p {
  margin: 6px 12px 14px;
  color: var(--muted);
  font-size: 13px;
}

.gallery-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.gallery-tabs button {
  min-height: 36px;
  padding: 8px 14px;
  border-color: var(--line);
  box-shadow: none;
}

.gallery-tabs button.is-active {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  color: #fff;
}

.gallery-item__button {
  display: block;
  width: 100%;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.gallery-item__button:hover {
  background: transparent;
  box-shadow: none;
  transform: none;
}

.lightbox,
.admission-popup {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(7, 27, 54, 0.76);
}

.lightbox__panel,
.admission-popup__card {
  width: min(720px, 100%);
  max-height: calc(100vh - 36px);
  overflow: auto;
  position: relative;
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
}

.lightbox__panel img {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  display: block;
  background: var(--soft);
}

.lightbox__panel p {
  margin: 12px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.lightbox__close,
.admission-popup__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 38px;
  min-height: 38px;
  padding: 0;
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  color: #fff;
}

.admission-popup__card {
  width: min(500px, 100%);
  padding: 28px;
}

.admission-popup__card h2 {
  margin: 0 0 10px;
  color: var(--blue-dark);
  font-size: 34px;
}

.admission-popup__card p {
  color: var(--muted);
}

.admission-popup__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.map-panel {
  margin-top: 28px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(7, 27, 54, 0.07);
}

.map-identity {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
  padding: 16px;
  background: #fffdf5;
  border: 1px solid rgba(240, 179, 35, 0.5);
  border-radius: var(--radius);
}

.map-identity figure {
  margin: 0;
  display: grid;
  place-items: center;
}

.map-identity img {
  width: 104px;
  height: 104px;
  object-fit: contain;
  display: block;
  background: #fff;
  border: 3px solid var(--gold);
  border-radius: 50%;
}

.map-identity h3 {
  margin: 0 0 6px;
  color: var(--blue-dark);
  font-size: 22px;
}

.map-identity p {
  margin: 4px 0;
  color: var(--muted);
  font-weight: 700;
}

.map-identity a {
  color: var(--blue-dark);
}

.map-panel iframe {
  width: 100%;
  min-height: 360px;
  border: 0;
  display: block;
  border-radius: var(--radius);
}

.testimonials-band {
  background: #f7f9fd;
}

.testimonial-card {
  border-left: 4px solid var(--gold);
}

.testimonial-card strong {
  display: block;
  margin-top: 12px;
  color: var(--blue-dark);
}

.timing-card {
  text-align: center;
  border-top: 4px solid var(--gold);
}

.timing-card span,
.timing-card strong {
  display: block;
}

.timing-card span {
  color: var(--muted);
  font-weight: 800;
}

.timing-card strong {
  margin-top: 8px;
  color: var(--blue-dark);
  font-size: 22px;
}

.chatbot {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 120;
  display: grid;
  gap: 10px;
  justify-items: start;
}

.chatbot-panel {
  width: min(380px, calc(100vw - 36px));
  max-height: min(650px, calc(100vh - 112px));
  display: grid;
  grid-template-rows: auto minmax(180px, 1fr) auto auto;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 6px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.chatbot-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  background: #fffdf5;
  border-bottom: 1px solid var(--line);
}

.chatbot-brand {
  display: flex;
  gap: 12px;
  align-items: center;
  min-width: 0;
}

.chatbot-brand > div {
  min-width: 0;
}

.chatbot-brand img {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  object-fit: contain;
  background: #fff;
  border: 2px solid var(--gold);
  border-radius: 50%;
}

.chatbot-language {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.chatbot-language select {
  min-height: 30px;
  max-width: 150px;
  padding: 5px 8px;
  border: 1px solid #cbd7e6;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.chatbot-language select:focus {
  outline: 3px solid rgba(217, 167, 43, 0.25);
  border-color: var(--gold);
}

.chatbot-header h2 {
  margin: 0;
  color: var(--blue-dark);
  font-size: 22px;
}

.chatbot-close {
  width: 38px;
  min-height: 38px;
  padding: 0;
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  color: #fff;
}

.chatbot-messages {
  min-height: 0;
  overflow: auto;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 14px;
  background: #f7f9fd;
}

.chatbot-message {
  max-width: 92%;
  padding: 12px;
  border-radius: var(--radius);
  box-shadow: 0 8px 18px rgba(7, 27, 54, 0.07);
  overflow-wrap: anywhere;
}

.chatbot-message p {
  margin: 0;
  white-space: pre-line;
}

.chatbot-message--bot {
  justify-self: start;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
}

.chatbot-message--user {
  justify-self: end;
  background: var(--blue-dark);
  color: #fff;
}

.chatbot-links,
.chatbot-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chatbot-links {
  margin-top: 10px;
}

.chatbot-links button,
.chatbot-links a,
.chatbot-prompts button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 7px 10px;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  background: var(--blue-dark);
  color: #fff;
  box-shadow: none;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.chatbot-prompts {
  padding: 12px 14px;
  background: #fff;
  border-top: 1px solid var(--line);
}

.chatbot-prompts button {
  background: #fffdf5;
  color: var(--blue-dark);
}

.chatbot-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  padding: 14px;
  background: #fff;
  border-top: 1px solid var(--line);
}

.chatbot-form input {
  width: 100%;
  border: 1px solid #cbd7e6;
  border-radius: var(--radius);
  color: var(--ink);
  font: inherit;
  padding: 10px 11px;
}

.chatbot-form input:focus {
  outline: 3px solid rgba(217, 167, 43, 0.25);
  border-color: var(--gold);
}

.chatbot-toggle {
  gap: 10px;
  min-height: 54px;
  padding: 8px 14px 8px 8px;
  background: var(--blue-dark);
  border-color: var(--gold);
  color: #fff;
  box-shadow: var(--shadow);
}

.chatbot-toggle img {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  object-fit: contain;
  background: #fff;
  border: 2px solid var(--gold);
  border-radius: 50%;
}

.chatbot-toggle span {
  white-space: nowrap;
}

.floating-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 220;
  display: grid;
  gap: 10px;
  pointer-events: auto;
}

.floating-action {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 108px;
  min-height: 58px;
  padding: 11px 14px;
  border-radius: var(--radius);
  color: #fff;
  cursor: pointer;
  font-weight: 900;
  text-align: center;
  box-shadow: var(--shadow);
}

.floating-action span,
.floating-action small {
  display: block;
  line-height: 1.1;
}

.floating-action small {
  margin-top: 4px;
  font-size: 11px;
  font-weight: 900;
}

.floating-action--whatsapp {
  background: var(--green);
}

.floating-action--enquiry {
  background: var(--blue-dark);
}

.floating-action--call {
  background: var(--gold);
  color: var(--blue-dark);
}

@media (max-width: 900px) {
  .ticker__inner {
    grid-template-columns: 1fr;
    padding: 10px 0;
  }

  .ticker__highlight {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .ticker__highlight em {
    grid-column: 2;
  }

  .hero__grid,
  .notice-layout,
  .info-grid,
  .headmaster-layout,
  .admission-layout,
  .enquiry-panel,
  .calendar-layout,
  .faq-layout,
  .video-layout,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .calendar-copy {
    position: static;
  }

  .notices,
  .inside-grid,
  .quick-grid,
  .facilities-grid,
  .staff-grid,
  .album-grid,
  .gallery-grid,
  .downloads-grid,
  .achievement-grid,
  .testimonial-grid,
  .timing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav__inner--groups {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
    width: 100%;
  }

  .nav-group {
    flex: initial;
    min-width: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .nav-group:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.14);
  }

  .nav-group__button {
    min-height: 44px;
    padding: 10px 8px;
    font-size: 12px;
    white-space: normal;
    text-align: center;
  }

  .nav-group__menu {
    position: static;
    display: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    min-width: 0;
    border: 0;
    border-top: 3px solid var(--gold);
    box-shadow: none;
  }

  .nav-group:hover .nav-group__menu,
  .nav-group:focus-within .nav-group__menu,
  .nav-group.is-open .nav-group__menu {
    display: block;
  }

  .nav-group__menu a {
    padding: 10px 12px;
    font-size: 13px;
  }

  .gallery-item:first-child {
    grid-column: span 2;
    grid-row: span 1;
  }

  .hero__news {
    grid-column: auto;
    max-width: none;
  }

  .hero__story {
    grid-column: auto;
    display: block;
    transform: none;
  }

  .hero__photo {
    grid-column: auto;
    max-width: 760px;
    min-height: 420px;
  }
}

@media (max-width: 620px) {
  .shell {
    width: min(100% - 24px, 1160px);
  }

  .masthead {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0 12px;
  }

  .masthead__brand {
    align-items: flex-start;
  }

  .translator {
    width: 100%;
    justify-content: space-between;
  }

  .language-tools,
  .language-switcher {
    width: 100%;
  }

  .language-tools {
    justify-content: stretch;
  }

  .language-switcher {
    justify-content: space-between;
  }

  .language-switcher__buttons {
    flex: 1;
    justify-content: flex-end;
  }

  .crest {
    width: 78px;
    height: 78px;
  }

  .masthead h1 {
    font-size: 28px;
  }

  .masthead__address {
    font-size: 15px;
  }

  .nav__inner--groups {
    grid-template-columns: 1fr;
  }

  .nav-group:nth-child(odd) {
    border-right: 0;
  }

  .hero {
    min-height: 620px;
    padding: 36px 0;
  }

  .hero__photo {
    min-height: 330px;
  }

  .notices,
  .inside-grid,
  .quick-grid,
  .facilities-grid,
  .staff-grid,
  .album-grid,
  .gallery-grid,
  .downloads-grid,
  .achievement-grid,
  .testimonial-grid,
  .timing-grid,
  .enquiry-form,
  .site-search {
    grid-template-columns: 1fr;
  }

  .site-search button {
    width: 100%;
  }

  .hero h2 {
    font-size: 34px;
  }

  .headmaster-message h2 {
    font-size: 30px;
  }

  .map-identity {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .chatbot {
    left: 10px;
    right: 10px;
    bottom: 72px;
    justify-items: stretch;
  }

  .chatbot.is-open {
    top: 10px;
    align-content: end;
  }

  .chatbot-panel {
    width: 100%;
    max-height: calc(100dvh - 96px);
    grid-template-rows: auto minmax(0, 1fr) auto auto;
  }

  .chatbot-toggle {
    justify-self: start;
    max-width: max-content;
  }

  .chatbot-header {
    padding: 12px;
  }

  .chatbot-brand {
    gap: 10px;
  }

  .chatbot-brand img {
    width: 42px;
    height: 42px;
  }

  .chatbot-header h2 {
    font-size: 18px;
  }

  .chatbot-close {
    width: 34px;
    min-height: 34px;
  }

  .chatbot-messages {
    padding: 10px;
  }

  .chatbot-message {
    max-width: 100%;
    padding: 10px;
    font-size: 14px;
  }

  .chatbot-prompts {
    max-height: 96px;
    overflow: auto;
    padding: 10px;
  }

  .chatbot-prompts button,
  .chatbot-links button,
  .chatbot-links a {
    min-height: 34px;
    padding: 7px 9px;
    font-size: 12px;
  }

  .chatbot-form {
    grid-template-columns: minmax(0, 1fr);
    padding: 10px;
  }

  .chatbot-form button {
    width: 100%;
  }

  .floating-actions {
    left: 16px;
    right: 16px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .floating-action {
    min-width: 0;
    padding: 10px 8px;
  }

  .calendar-board {
    padding: 12px;
  }

  .calendar-board__header {
    align-items: flex-start;
    flex-direction: column;
  }

  .calendar-board__tools {
    justify-content: flex-start;
  }

  .calendar-live-date {
    text-align: left;
  }

  .calendar-weekdays,
  .calendar-days {
    gap: 5px;
  }

  .calendar-day {
    min-height: 54px;
    padding: 5px;
  }

  .calendar-day strong {
    font-size: 15px;
  }

  .calendar-day span {
    font-size: 9px;
  }

  .gallery-item:first-child {
    grid-column: span 1;
    grid-row: span 1;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .topbar__inner,
  .topbar__links {
    justify-content: center;
  }
}
