/*
Theme Name: SPSKNM Modern
Theme URI: https://spsknm.sk
Author: SPSKNM
Description: Modern WordPress theme for a secondary school of information technologies.
Version: 1.0.0
Text Domain: spsknm-modern
*/

:root {
  --ink: #102033;
  --ink-2: #18324a;
  --surface: #f3f8f7;
  --surface-2: #ffffff;
  --accent: #0b7f75;
  --accent-2: #1669b2;
  --accent-3: #82c341;
  --muted: #5f7184;
  --line: #dce8ec;
  --radius: 8px;
  --shadow: 0 18px 44px rgba(16, 45, 76, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #eef7fb 0%, #f6faf7 420px, #f3f8f7 100%),
    var(--surface);
  line-height: 1.6;
}

.quick-sidebar {
  position: fixed;
  right: 18px;
  top: 140px;
  z-index: 120;
  width: max-content;
}

.quick-toggle {
  border: none;
  background: var(--ink-2);
  color: #fff;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.25);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.quick-panel {
  position: absolute;
  top: 100%;
  right: 0;
  width: 260px;
  padding: 18px 12px 12px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
  opacity: 0;
  pointer-events: none;
  transform: translateX(12px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.quick-panel::before {
  content: "";
  position: absolute;
  top: -10px;
  right: 0;
  width: 100%;
  height: 10px;
}

.quick-panel a {
  display: block;
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--ink-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.quick-panel a:hover {
  background: #edf7f4;
  color: var(--accent);
}

.quick-sidebar:hover .quick-panel,
.quick-toggle:focus-visible + .quick-panel,
.quick-panel:hover,
.quick-sidebar.open .quick-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.zsk-link {
  display: flex;
  justify-content: center;
  padding: 10px;
}

.zsk-link img {
  height: 40px;
  width: auto;
}

img {
  max-width: 100%;
  height: auto;
}

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

.container {
  width: min(1180px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.topbar {
  background: linear-gradient(90deg, var(--ink-2), #0b5d7c);
  color: #e9f7fb;
  font-size: 0.84rem;
}

.topbar-inner {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  flex-wrap: wrap;
}

.topbar a {
  color: #fff;
  font-weight: 700;
}

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

.brand {
  display: flex;
  align-items: center;
  font-weight: 700;
  letter-spacing: 0;
  min-width: 300px;
  max-width: 520px;
}

.brand-mark {
  width: min(460px, 34vw);
  height: 50px;
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.nav-links {
  font-weight: 500;
  min-width: 0;
}

.nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
  margin: 0;
  padding: 0;
  font-size: 0.95rem;
}

.nav-menu li {
  position: relative;
}

.nav-links a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  position: relative;
  color: var(--ink-2);
  white-space: nowrap;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 5px;
  width: 0;
  height: 2px;
  background: var(--accent-3);
  transition: width 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a:focus::after,
.nav-menu > .current-menu-item > a::after,
.nav-menu > .current-menu-ancestor > a::after {
  width: 100%;
}

.nav-menu > li.menu-item-has-children > a {
  padding-right: 28px;
}

.nav-menu > li.menu-item-has-children > a::before {
  content: "";
  position: absolute;
  right: 11px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-65%) rotate(45deg);
  opacity: 0.58;
}

.nav-menu .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  list-style: none;
  margin: 0;
  padding: 16px 10px 10px;
  min-width: 240px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(16, 45, 76, 0.14);
  opacity: 0;
  pointer-events: none;
  transform: translateY(0);
  transition: all 0.2s ease;
}

.nav-menu > li.mega-menu > .sub-menu {
  left: 50%;
  width: min(1040px, calc(100vw - 32px));
  display: none;
  grid-template-columns: repeat(5, minmax(150px, 1fr));
  gap: 18px;
  padding: 18px;
  transform: translateX(-50%);
}

.nav-menu > li.mega-menu:hover > .sub-menu,
.nav-menu > li.mega-menu:focus-within > .sub-menu,
.nav-menu > li.mega-menu.submenu-open > .sub-menu {
  display: grid;
  transform: translateX(-50%);
}

.nav-menu > li.mega-menu > .sub-menu li {
  padding: 0;
}

.nav-menu > li.mega-menu > .sub-menu > li > a {
  display: block;
  padding: 0 0 8px;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  color: var(--accent);
  font-weight: 800;
  white-space: normal;
}

.nav-menu > li.mega-menu > .sub-menu > li > a::after {
  display: none;
}

.nav-menu > li.mega-menu > .sub-menu > li > .sub-menu {
  position: static;
  display: grid;
  gap: 2px;
  min-width: 0;
  margin-top: 8px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.nav-menu > li.mega-menu > .sub-menu > li > .sub-menu a {
  padding: 7px 8px;
  font-size: 0.9rem;
}

.nav-menu .sub-menu li {
  padding: 0;
}

.nav-menu .sub-menu a {
  padding: 9px 10px;
  white-space: normal;
  line-height: 1.35;
}

.nav-menu .sub-menu a:hover,
.nav-menu .sub-menu a:focus {
  background: #edf7f4;
  color: var(--accent);
}

.nav-menu > li.mega-menu .sub-menu .current-menu-item > a,
.nav-menu > li.mega-menu .sub-menu .menu-item-click-current > a {
  background: #edf7f4;
  color: var(--accent);
  font-weight: 800;
}

.nav-menu > li.mega-menu .sub-menu .current-menu-item > a::after,
.nav-menu > li.mega-menu .sub-menu .current-menu-ancestor > a::after,
.nav-menu > li.mega-menu .sub-menu .menu-item-click-current > a::after {
  display: none;
}

.nav-menu li:hover > .sub-menu,
.nav-menu li:focus-within > .sub-menu,
.nav-menu li.submenu-open > .sub-menu {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

.nav-menu > li.mega-menu:hover > .sub-menu,
.nav-menu > li.mega-menu:focus-within > .sub-menu,
.nav-menu > li.mega-menu.submenu-open > .sub-menu {
  display: grid;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  padding: 8px 16px;
  font-weight: 600;
  color: var(--ink-2);
}

.lang-switch {
  display: inline-flex;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--muted);
}

.lang-switch a.active {
  color: var(--ink);
  font-weight: 600;
}

.lang-switch .disabled {
  opacity: 0.48;
  cursor: default;
}

.hero {
  padding: 28px 0 34px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.82fr);
  gap: 34px;
  align-items: center;
}

.hero-copy {
  max-width: 610px;
}

.hero-title {
  font-family: "IBM Plex Serif", "Georgia", serif;
  font-size: clamp(2.15rem, 4.4vw, 3.85rem);
  line-height: 1.05;
  margin: 0 0 14px;
  letter-spacing: 0;
  color: var(--ink-2);
}

.hero-lead {
  font-size: 1.04rem;
  color: var(--muted);
  margin: 0 0 20px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 8px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: var(--shadow);
}

.button.secondary {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink-2);
}

.button:hover {
  transform: translateY(-2px);
}

.hero-media {
  background: var(--surface-2);
  border-radius: 8px;
  padding: 12px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
}

.hero-news {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 18px;
}

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

.hero-news-head span {
  color: var(--accent);
  font-weight: 800;
}

.hero-news-head a {
  color: var(--accent-2);
  font-weight: 700;
  font-size: 0.92rem;
}

.hero-news-item {
  padding: 13px 0;
  border-top: 1px solid var(--line);
}

.hero-news-item:first-of-type {
  border-top: none;
}

.hero-news-item time {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
  margin-bottom: 4px;
}

.hero-news-item h2 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.28;
}

.hero-news-item h2 a:hover,
.hero-news-item h2 a:focus {
  color: var(--accent);
}

.hero-news-item p {
  margin: 4px 0 0;
  color: var(--muted);
}

.photo-strip {
  padding: 8px 0 22px;
}

.photo-strip-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 1fr);
  gap: 12px;
}

.photo-tile {
  margin: 0;
  min-height: 126px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 16px 34px rgba(16, 45, 76, 0.1);
  background: #fff;
}

.photo-tile.large {
  min-height: 156px;
}

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

.photo-tile.large img {
  aspect-ratio: 16 / 7;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 16 / 8.6;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.stat {
  padding: 14px;
  border-radius: 8px;
  background: #f4fbf9;
  border: 1px solid var(--line);
}

.stat strong {
  display: block;
  font-size: 1.3rem;
  color: var(--accent-2);
}

.stat span {
  color: var(--muted);
  line-height: 1.35;
}

.section {
  padding: 70px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 32px;
}

.section-title {
  font-size: 2rem;
  margin: 0;
}

.section-sub {
  color: var(--muted);
  max-width: 520px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.frame {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 30px rgba(16, 45, 76, 0.08);
}

.cards.compact {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.card {
  padding: 22px;
  border-radius: var(--radius);
  background: var(--surface-2);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(16, 45, 76, 0.08);
}

.card h3 {
  margin-top: 0;
}

.program-home-card {
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.program-home-card:hover,
.program-home-card:focus-within {
  transform: translateY(-2px);
  border-color: rgba(11, 127, 117, 0.38);
  box-shadow: 0 20px 42px rgba(16, 45, 76, 0.12);
}

.program-home-card a {
  display: block;
}

.programs-hero {
  padding-bottom: 24px;
}

.programs-intro {
  max-width: 780px;
}

.programs-section {
  padding-top: 22px;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
}

.program-card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(16, 45, 76, 0.08);
}

.program-card-head {
  display: grid;
  gap: 10px;
}

.program-code {
  width: fit-content;
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(22, 105, 178, 0.1);
  color: var(--accent-2);
  font-weight: 800;
  font-size: 0.86rem;
}

.program-card h2 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.22;
}

.program-card p {
  margin: 0;
  color: var(--muted);
}

.program-focus {
  display: grid;
  gap: 4px;
  padding: 14px;
  border-radius: 8px;
  background: #f4fbf9;
  border: 1px solid var(--line);
}

.program-focus strong {
  color: var(--accent);
}

.program-focus span {
  color: var(--ink-2);
}

.program-card .button {
  width: fit-content;
  margin-top: auto;
}

.program-note {
  margin-top: 24px;
  padding: 24px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--ink-2), #0b7f75);
  color: #fff;
}

.program-note p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.82);
}

.program-note .button.primary {
  background: #fff;
  color: var(--ink-2);
  box-shadow: none;
}

.page-content {
  margin-top: 22px;
}

.page-content h2 {
  margin: 0 0 14px;
  color: var(--ink-2);
}

.page-content ul,
.page-content ol {
  padding-left: 1.25rem;
}

.official-page {
  display: grid;
  gap: 24px;
}

.official-lead {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.official-note {
  padding: 22px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(237, 247, 244, 0.94));
  border: 1px solid var(--line);
  box-shadow: 0 16px 36px rgba(16, 45, 76, 0.08);
}

.official-note p {
  margin: 0;
  color: var(--muted);
}

.official-doc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.official-doc-card {
  display: grid;
  gap: 10px;
  min-height: 180px;
  padding: 22px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(16, 45, 76, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.official-doc-card:hover,
.official-doc-card:focus {
  transform: translateY(-3px);
  border-color: rgba(11, 127, 117, 0.38);
  box-shadow: 0 24px 48px rgba(16, 45, 76, 0.12);
}

.official-doc-type {
  justify-self: start;
  padding: 4px 9px;
  border-radius: 8px;
  color: var(--accent-2);
  background: #eef7fb;
  font-size: 0.8rem;
  font-weight: 800;
}

.official-doc-card strong {
  color: var(--ink-2);
  font-size: 1.18rem;
  line-height: 1.3;
}

.official-doc-card p {
  margin: 0;
  color: var(--muted);
}

.official-doc-desc {
  margin: 0;
  color: var(--muted);
}

.official-image-panel {
  padding: 22px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(16, 45, 76, 0.08);
}

.official-image-panel img {
  display: block;
  width: min(100%, 680px);
  margin: 0 auto;
  border-radius: 8px;
}

.admissions-page {
  display: grid;
  gap: 26px;
}

.admissions-hero {
  padding: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(237, 247, 244, 0.94));
  border: 1px solid var(--line);
  box-shadow: 0 18px 44px rgba(16, 45, 76, 0.1);
}

.admissions-hero p:last-child {
  margin-bottom: 0;
}

.admissions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.admissions-card {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 178px;
  padding: 22px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(16, 45, 76, 0.08);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.admissions-card:hover,
.admissions-card:focus-within {
  transform: translateY(-2px);
  border-color: rgba(11, 127, 117, 0.38);
  box-shadow: 0 20px 42px rgba(16, 45, 76, 0.12);
}

.admissions-type {
  justify-self: start;
  padding: 4px 9px;
  border-radius: 8px;
  color: var(--accent-2);
  background: #eef7fb;
  font-size: 0.8rem;
  font-weight: 800;
}

.admissions-card.external .admissions-type {
  color: var(--accent);
  background: #edf7f4;
}

.admissions-title {
  display: block;
  margin: 0;
  color: var(--ink-2);
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.3;
}

.admissions-desc {
  display: block;
  margin: 0;
  color: var(--muted);
}

.why-school-page {
  display: grid;
  gap: 26px;
}

.why-school-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 5px 10px;
  border-radius: 8px;
  background: #edf7f4;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
}

.why-school-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.why-school-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
  gap: 16px;
}

.why-school-gallery-card {
  position: relative;
  min-height: 240px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(16, 45, 76, 0.12);
}

.why-school-gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.why-school-gallery-stack {
  display: grid;
  gap: 16px;
}

.why-school-gallery-card figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(10, 27, 44, 0.72);
  color: #fff;
  font-size: 0.92rem;
  line-height: 1.45;
}

.why-school-metric {
  padding: 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
}

.why-school-metric strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink-2);
  font-size: 1.55rem;
  line-height: 1.1;
}

.why-school-metric span {
  color: var(--muted);
  font-size: 0.95rem;
}

.why-school-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.why-school-card {
  padding: 22px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(16, 45, 76, 0.08);
}

.why-school-card h3 {
  margin: 0 0 10px;
  color: var(--ink-2);
  font-size: 1.08rem;
}

.why-school-card p {
  margin: 0;
  color: var(--muted);
}

.why-school-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.why-school-panel {
  padding: 24px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(16, 45, 76, 0.08);
}

.why-school-panel h3 {
  margin: 0 0 12px;
  color: var(--ink-2);
}

.why-school-panel p {
  margin: 0 0 14px;
  color: var(--muted);
}

.why-school-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.why-school-list li + li {
  margin-top: 8px;
}

.why-school-cta {
  display: grid;
  gap: 16px;
}

.cov-overview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.cov-panel {
  padding: 24px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(16, 45, 76, 0.08);
}

.cov-panel h3 {
  margin: 0 0 12px;
  color: var(--ink-2);
}

.cov-panel p,
.cov-panel li {
  color: var(--muted);
}

.cov-panel ul {
  margin: 0;
  padding-left: 18px;
}

.cov-panel li + li {
  margin-top: 8px;
}

.dual-page {
  display: grid;
  gap: 26px;
}

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

.dual-panel {
  padding: 24px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(16, 45, 76, 0.08);
}

.dual-panel h3 {
  margin: 0 0 12px;
  color: var(--ink-2);
}

.dual-panel p {
  margin: 0 0 14px;
  color: var(--muted);
}

.dual-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.dual-list li + li {
  margin-top: 8px;
}

.dual-partners {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.dual-partner-card {
  padding: 22px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(16, 45, 76, 0.08);
}

.dual-partner-card h3 {
  margin: 0 0 8px;
  color: var(--ink-2);
}

.dual-partner-card p {
  margin: 0;
  color: var(--muted);
}

.history-page {
  display: grid;
  gap: 30px;
}

.history-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.58fr);
  gap: 26px;
  align-items: stretch;
}

.history-intro-copy {
  padding: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(237, 247, 244, 0.94));
  border: 1px solid var(--line);
  box-shadow: 0 18px 44px rgba(16, 45, 76, 0.1);
}

.history-lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.history-fact {
  display: grid;
  align-content: end;
  min-height: 230px;
  padding: 26px;
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(24, 50, 74, 0.96), rgba(11, 127, 117, 0.9)),
    var(--ink-2);
  box-shadow: 0 18px 44px rgba(16, 45, 76, 0.18);
}

.history-fact span {
  color: #bde9e1;
  font-weight: 800;
}

.history-fact strong {
  margin-top: 8px;
  font-size: 2.6rem;
  line-height: 1;
}

.history-fact p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.84);
}

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

.history-gallery figure {
  margin: 0;
  min-height: 180px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 16px 34px rgba(16, 45, 76, 0.1);
}

.history-gallery figure:first-child {
  grid-row: span 2;
}

.history-gallery img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.history-timeline {
  display: grid;
  gap: 14px;
}

.history-item {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 20px;
  padding: 22px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(16, 45, 76, 0.08);
}

.history-item-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
  gap: 18px;
  align-items: start;
}

.history-item-body.reverse {
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
}

.history-item-copy h2,
.history-item-copy p {
  margin-top: 0;
}

.history-inline-photo {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 16px 32px rgba(16, 45, 76, 0.1);
}

.history-inline-photo img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
}

.history-inline-photo figcaption {
  padding: 10px 12px 12px;
  color: var(--muted);
  font-size: 0.92rem;
  background: #fff;
}

.history-year {
  color: var(--accent);
  font-weight: 800;
  font-size: 1.25rem;
  line-height: 1.2;
}

.history-item h2,
.history-item h3 {
  margin: 0 0 8px;
  color: var(--ink-2);
}

.history-item p {
  margin: 0;
  color: var(--muted);
}

.page-hero {
  max-width: 760px;
  margin-bottom: 28px;
}

.contact-hero {
  padding: 46px 0 34px;
}

.contact-section,
.contact-map-section {
  padding-top: 34px;
}

.contact-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: stretch;
}

.contact-hero-copy {
  padding: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(237, 247, 244, 0.94));
  border: 1px solid var(--line);
  box-shadow: 0 18px 44px rgba(16, 45, 76, 0.1);
}

.contact-lead {
  max-width: 700px;
  margin: 0;
  color: var(--muted);
  font-size: 1.12rem;
}

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

.contact-address-card {
  display: grid;
  align-content: end;
  min-height: 250px;
  padding: 26px;
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(24, 50, 74, 0.96), rgba(11, 127, 117, 0.9)),
    var(--ink-2);
  box-shadow: 0 18px 44px rgba(16, 45, 76, 0.18);
}

.contact-address-card span {
  color: #bde9e1;
  font-weight: 800;
}

.contact-address-card strong {
  margin-top: 10px;
  font-size: 1.45rem;
  line-height: 1.2;
}

.contact-address-card p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.84);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 18px;
  align-items: start;
}

.contact-card {
  padding: 24px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(16, 45, 76, 0.08);
}

.contact-card h2 {
  margin: 0 0 14px;
  color: var(--ink-2);
  font-size: 1.35rem;
}

.contact-card a {
  color: var(--accent-2);
  font-weight: 800;
}

.contact-card a:hover,
.contact-card a:focus {
  color: var(--accent);
}

.contact-phone-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.contact-phone-list a {
  display: grid;
  gap: 4px;
  min-height: 88px;
  padding: 14px;
  border-radius: 8px;
  background: #f8fbfb;
  border: 1px solid var(--line);
  color: var(--ink-2);
}

.contact-phone-list a:hover,
.contact-phone-list a:focus {
  background: #edf7f4;
  border-color: rgba(11, 127, 117, 0.34);
}

.contact-phone-list span {
  color: var(--muted);
  font-size: 0.88rem;
}

.contact-phone-list strong {
  font-size: 1rem;
  line-height: 1.35;
}

.contact-side {
  display: grid;
  gap: 14px;
}

.contact-map {
  height: min(520px, 58vh);
  min-height: 360px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 18px 40px rgba(16, 45, 76, 0.08);
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.psych-hero {
  padding: 46px 0 34px;
}

.psych-section {
  padding-top: 34px;
}

.psych-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: stretch;
}

.psych-hero-copy {
  padding: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(237, 247, 244, 0.94));
  border: 1px solid var(--line);
  box-shadow: 0 18px 44px rgba(16, 45, 76, 0.1);
}

.psych-lead {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  font-size: 1.12rem;
}

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

.psych-profile {
  display: grid;
  align-content: end;
  min-height: 260px;
  padding: 26px;
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(24, 50, 74, 0.96), rgba(11, 127, 117, 0.9)),
    var(--ink-2);
  box-shadow: 0 18px 44px rgba(16, 45, 76, 0.18);
}

.psych-profile span {
  color: #bde9e1;
  font-weight: 800;
}

.psych-profile strong {
  margin-top: 10px;
  font-size: 1.45rem;
  line-height: 1.2;
}

.psych-profile p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.84);
}

.psych-info-grid,
.psych-detail-grid,
.psych-help-grid {
  display: grid;
  gap: 16px;
}

.psych-info-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.psych-detail-grid,
.psych-help-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.psych-card,
.psych-crisis,
.psych-links {
  padding: 24px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(16, 45, 76, 0.08);
}

.psych-card h2,
.psych-crisis h2,
.psych-links h2 {
  margin: 0 0 12px;
  color: var(--ink-2);
  font-size: 1.35rem;
}

.psych-card p {
  margin: 0;
  color: var(--muted);
}

.psych-crisis-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.psych-crisis-list article {
  display: grid;
  gap: 3px;
  padding: 14px;
  border-radius: 8px;
  background: #f8fbfb;
  border: 1px solid var(--line);
}

.psych-crisis-list span {
  color: var(--muted);
  font-size: 0.88rem;
}

.psych-crisis-list strong {
  color: var(--ink-2);
  font-size: 1.05rem;
}

.psych-crisis-list small {
  color: var(--accent);
  font-weight: 800;
}

.psych-link-list {
  display: grid;
  gap: 8px;
}

.psych-link-list a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  background: #f8fbfb;
  border: 1px solid var(--line);
  color: var(--accent-2);
  font-weight: 800;
}

.psych-link-list a:hover,
.psych-link-list a:focus {
  background: #edf7f4;
  color: var(--accent);
}

.dining-hero {
  padding: 46px 0 34px;
}

.dining-section {
  padding-top: 34px;
}

.dining-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: stretch;
}

.dining-hero-copy {
  padding: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(237, 247, 244, 0.94));
  border: 1px solid var(--line);
  box-shadow: 0 18px 44px rgba(16, 45, 76, 0.1);
}

.dining-lead {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 1.12rem;
}

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

.dining-contact {
  display: grid;
  align-content: end;
  min-height: 250px;
  padding: 26px;
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(24, 50, 74, 0.96), rgba(11, 127, 117, 0.9)),
    var(--ink-2);
  box-shadow: 0 18px 44px rgba(16, 45, 76, 0.18);
}

.dining-contact span {
  color: #bde9e1;
  font-weight: 800;
}

.dining-contact strong {
  margin-top: 10px;
  font-size: 1.45rem;
  line-height: 1.2;
}

.dining-contact p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.84);
}

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

.dining-doc-card {
  display: grid;
  gap: 10px;
  min-height: 190px;
  padding: 22px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(16, 45, 76, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.dining-doc-card:hover,
.dining-doc-card:focus {
  transform: translateY(-3px);
  border-color: rgba(11, 127, 117, 0.38);
  box-shadow: 0 24px 48px rgba(16, 45, 76, 0.12);
}

.dining-doc-card span {
  justify-self: start;
  padding: 4px 9px;
  border-radius: 8px;
  color: var(--accent-2);
  background: #eef7fb;
  font-size: 0.8rem;
  font-weight: 800;
}

.dining-doc-card strong {
  color: var(--ink-2);
  font-size: 1.18rem;
  line-height: 1.3;
}

.dining-doc-card p {
  margin: 0;
  color: var(--muted);
}

.disclosure-hero {
  padding: 46px 0 34px;
}

.disclosure-section {
  padding-top: 34px;
}

.disclosure-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: stretch;
}

.disclosure-hero-copy {
  padding: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(237, 247, 244, 0.94));
  border: 1px solid var(--line);
  box-shadow: 0 18px 44px rgba(16, 45, 76, 0.1);
}

.disclosure-lead {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.disclosure-admin-note {
  display: grid;
  align-content: end;
  min-height: 250px;
  padding: 26px;
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(24, 50, 74, 0.96), rgba(11, 127, 117, 0.9)),
    var(--ink-2);
  box-shadow: 0 18px 44px rgba(16, 45, 76, 0.18);
}

.disclosure-admin-note span {
  color: #bde9e1;
  font-weight: 800;
}

.disclosure-admin-note strong {
  margin-top: 10px;
  font-size: 1.35rem;
  line-height: 1.25;
}

.disclosure-admin-note p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.84);
}

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

.disclosure-external-card,
.disclosure-year {
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(16, 45, 76, 0.08);
}

.disclosure-external-card {
  display: grid;
  gap: 8px;
  padding: 22px;
}

.disclosure-external-card span {
  color: var(--accent);
  font-weight: 800;
  font-size: 0.88rem;
}

.disclosure-external-card strong {
  color: var(--ink-2);
  font-size: 1.16rem;
}

.disclosure-years {
  display: grid;
  gap: 12px;
}

.disclosure-year {
  overflow: hidden;
}

.disclosure-year summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  cursor: pointer;
  color: var(--ink-2);
  font-weight: 800;
}

.disclosure-year summary::marker {
  color: var(--accent);
}

.disclosure-year summary small {
  color: var(--muted);
  font-size: 0.88rem;
}

.disclosure-section-list {
  display: grid;
  gap: 16px;
  padding: 0 20px 20px;
}

.disclosure-group {
  display: grid;
  gap: 10px;
}

.disclosure-group h3 {
  margin: 0;
  color: var(--accent);
  font-size: 1rem;
}

.disclosure-doc-list {
  display: grid;
  gap: 10px;
}

.disclosure-doc {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px;
  border-radius: 8px;
  background: #f8fbfb;
  border: 1px solid var(--line);
}

.disclosure-doc h4 {
  margin: 0 0 4px;
  color: var(--ink-2);
  font-size: 1rem;
}

.disclosure-doc p {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.disclosure-doc-text {
  margin-top: 8px;
  color: var(--muted);
}

.disclosure-doc .button {
  align-self: center;
  flex: 0 0 auto;
}

.disclosure-empty {
  margin: 0;
  padding: 14px;
  border-radius: 8px;
  background: #f8fbfb;
  color: var(--muted);
}

.leadership-grid {
  display: grid;
  gap: 14px;
  max-width: 900px;
}

.leader-card {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 18px 20px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(16, 45, 76, 0.08);
}

.leader-photo {
  width: 132px;
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(11, 127, 117, 0.12), rgba(22, 105, 178, 0.12));
  color: var(--accent-2);
  font-size: 2.2rem;
  font-weight: 800;
}

.leader-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.leader-info h2 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.25;
  color: var(--ink-2);
}

.leader-info p {
  margin: 7px 0 12px;
  color: var(--muted);
}

.leader-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.leader-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 10px;
  border-radius: 8px;
  background: #f4fbf9;
  border: 1px solid var(--line);
  color: var(--accent-2);
  font-weight: 700;
  font-size: 0.9rem;
}

.leader-actions a:hover,
.leader-actions a:focus {
  background: #edf7f4;
  color: var(--accent);
}

.staff-table-wrap {
  margin-top: 24px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(16, 45, 76, 0.08);
}

.staff-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 760px;
}

.staff-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  text-align: left;
  padding: 14px 16px;
  background: linear-gradient(135deg, var(--ink-2), #0b7f75);
  color: #fff;
  font-size: 0.9rem;
}

.staff-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.staff-table tbody tr:nth-child(even) {
  background: #f8fbfb;
}

.staff-table tbody tr:hover {
  background: #edf7f4;
}

.staff-table td:first-child {
  width: 92px;
  color: var(--muted);
  font-weight: 700;
}

.staff-table td:nth-child(2),
.staff-table td:nth-child(3) {
  width: 160px;
  color: var(--ink-2);
}

.staff-table td:last-child {
  color: var(--muted);
}

.soc-hero {
  padding: 46px 0 34px;
}

.soc-documents,
.soc-guide {
  padding-top: 34px;
}

.soc-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: stretch;
}

.soc-hero-copy {
  padding: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(237, 247, 244, 0.92));
  border: 1px solid var(--line);
  box-shadow: 0 18px 44px rgba(16, 45, 76, 0.1);
}

.soc-lead {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  font-size: 1.12rem;
}

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

.soc-panel {
  display: grid;
  align-content: end;
  min-height: 260px;
  padding: 26px;
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(24, 50, 74, 0.95), rgba(11, 127, 117, 0.9)),
    var(--ink-2);
  box-shadow: 0 18px 44px rgba(16, 45, 76, 0.18);
}

.soc-panel strong {
  font-size: 1.35rem;
}

.soc-panel span {
  margin: 8px 0 14px;
  color: #bde9e1;
  font-weight: 800;
  letter-spacing: 0;
}

.soc-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
}

.soc-panel a {
  color: #fff;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.soc-doc-card {
  display: grid;
  gap: 10px;
  min-height: 210px;
  padding: 22px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(16, 45, 76, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.soc-doc-card:hover,
.soc-doc-card:focus {
  transform: translateY(-3px);
  border-color: rgba(11, 127, 117, 0.38);
  box-shadow: 0 24px 48px rgba(16, 45, 76, 0.12);
}

.soc-doc-card span {
  justify-self: start;
  padding: 4px 9px;
  border-radius: 8px;
  color: var(--accent-2);
  background: #eef7fb;
  font-size: 0.8rem;
  font-weight: 800;
}

.soc-doc-card strong {
  color: var(--ink-2);
  font-size: 1.18rem;
  line-height: 1.3;
}

.soc-doc-card p {
  margin: 0;
  color: var(--muted);
}

.soc-guide-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: start;
}

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

.soc-steps li {
  position: relative;
  min-height: 58px;
  padding: 14px 16px 14px 58px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink-2);
  box-shadow: 0 12px 28px rgba(16, 45, 76, 0.06);
}

.soc-steps li::before {
  counter-increment: soc-step;
  content: counter(soc-step);
  position: absolute;
  left: 14px;
  top: 14px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
}

.soc-info-grid {
  display: grid;
  gap: 14px;
}

.soc-info-grid article {
  padding: 22px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(16, 45, 76, 0.06);
}

.soc-info-grid h3 {
  margin: 0 0 8px;
  color: var(--ink-2);
}

.soc-info-grid p {
  margin: 0;
  color: var(--muted);
}

.program-detail {
  display: grid;
  gap: 24px;
}

.program-detail .ribbon {
  justify-self: start;
}

.program-lead {
  max-width: 820px;
  font-size: 1.12rem;
  color: var(--muted);
}

.program-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.program-detail-grid section {
  padding: 24px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 18px 40px rgba(16, 45, 76, 0.08);
}

.program-detail-grid li + li {
  margin-top: 8px;
}

.ribbon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: 8px;
  background: rgba(11, 127, 117, 0.12);
  color: var(--accent);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.news-list {
  display: grid;
  gap: 18px;
}

.news-item {
  padding: 18px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.news-item span {
  color: var(--muted);
  font-size: 0.9rem;
}

.callout {
  background: linear-gradient(135deg, var(--ink-2) 0%, #0b7f75 100%);
  color: #fff;
  border-radius: 8px;
  padding: 40px;
  display: grid;
  gap: 18px;
}

.footer {
  padding: 42px 0 60px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.3fr) repeat(3, minmax(190px, 1fr));
  gap: 24px;
  align-items: start;
}

.footer strong {
  display: block;
  margin-bottom: 10px;
  color: var(--ink-2);
}

.footer p,
.footer address {
  margin: 0;
  font-style: normal;
}

.footer-brand p {
  max-width: 360px;
}

.footer-contact,
.footer-links {
  display: grid;
  gap: 7px;
}

.footer-contact a,
.footer-menu a {
  color: var(--accent-2);
  font-weight: 700;
}

.footer-contact a:hover,
.footer-contact a:focus {
  color: var(--accent);
}

.footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.footer-menu a:hover,
.footer-menu a:focus {
  color: var(--accent);
}

.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .navbar {
    flex-wrap: wrap;
  }
  .brand {
    max-width: 52vw;
  }
  .nav-links {
    order: 3;
    width: 100%;
  }
  .nav-menu {
    justify-content: flex-end;
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .photo-strip-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .photo-tile.large {
    grid-column: 1 / -1;
  }
  .history-intro {
    grid-template-columns: 1fr;
  }
  .history-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .history-gallery figure:first-child {
    grid-row: auto;
    grid-column: 1 / -1;
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .topbar-inner {
    justify-content: center;
    gap: 10px 16px;
    padding: 7px 0;
    text-align: center;
  }
  .navbar {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .brand {
    min-width: 0;
    max-width: calc(100% - 104px);
  }
  .brand-mark {
    width: min(276px, 70vw);
    height: 30px;
  }
  .quick-sidebar {
    right: 10px;
    top: auto;
    bottom: 16px;
  }
  .quick-panel {
    top: auto;
    bottom: 100%;
    right: 0;
    width: min(84vw, 320px);
    padding: 12px 12px 18px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
  }
  .quick-sidebar.open .quick-panel {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 4vw;
    left: 4vw;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 16px;
    max-height: min(72vh, 620px);
    overflow-y: auto;
    box-shadow: 0 20px 48px rgba(16, 45, 76, 0.16);
  }
  .nav-links.open {
    display: block;
  }
  .nav-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
  }
  .nav-menu li,
  .nav-menu a {
    width: 100%;
  }
  .nav-menu .sub-menu {
    display: block;
    position: static;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0 0 0 14px;
    width: 100%;
  }
  .lang-switch {
    margin-left: auto;
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding-top: 30px;
  }
  .photo-strip-grid {
    grid-template-columns: 1fr;
  }
  .photo-tile,
  .photo-tile.large {
    min-height: 150px;
  }
  .history-intro-copy,
  .admissions-hero,
  .history-fact,
  .history-item {
    padding: 22px;
  }
  .history-gallery {
    grid-template-columns: 1fr;
  }
  .why-school-columns,
  .cov-overview,
  .why-school-gallery,
  .dual-columns {
    grid-template-columns: 1fr;
  }
  .history-gallery figure:first-child {
    grid-column: auto;
  }
  .history-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .leader-card {
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 14px;
    padding: 14px;
  }
  .leader-photo {
    width: 86px;
  }
  .staff-table-wrap {
    overflow: visible;
    border: none;
    background: transparent;
    box-shadow: none;
  }
  .staff-table {
    min-width: 0;
    display: grid;
    gap: 12px;
  }
  .staff-table thead {
    display: none;
  }
  .staff-table tbody,
  .staff-table tr,
  .staff-table td {
    display: block;
    width: 100%;
  }
  .staff-table tr {
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 26px rgba(16, 45, 76, 0.08);
  }
  .staff-table td {
    padding: 7px 0;
    border-bottom: none;
  }
  .staff-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 2px;
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
  }
  .staff-table td:first-child,
  .staff-table td:nth-child(2),
  .staff-table td:nth-child(3) {
    width: 100%;
  }
  .contact-hero-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-hero-copy,
  .contact-card {
    padding: 22px;
  }
  .contact-address-card {
    min-height: 180px;
  }
  .contact-phone-list {
    grid-template-columns: 1fr;
  }
  .contact-map {
    min-height: 300px;
  }
  .psych-hero-grid,
  .psych-info-grid,
  .psych-detail-grid,
  .psych-help-grid {
    grid-template-columns: 1fr;
  }
  .psych-hero-copy,
  .psych-card,
  .psych-crisis,
  .psych-links {
    padding: 22px;
  }
  .psych-profile {
    min-height: 190px;
  }
  .psych-crisis-list {
    grid-template-columns: 1fr;
  }
  .dining-hero-grid,
  .dining-doc-grid {
    grid-template-columns: 1fr;
  }
  .dining-hero-copy {
    padding: 22px;
  }
  .dining-contact {
    min-height: 180px;
  }
  .disclosure-hero-grid,
  .disclosure-external-grid {
    grid-template-columns: 1fr;
  }
  .disclosure-hero-copy {
    padding: 22px;
  }
  .disclosure-admin-note {
    min-height: 180px;
  }
  .disclosure-doc {
    flex-direction: column;
  }
  .disclosure-doc .button {
    align-self: flex-start;
  }
  .soc-hero-grid,
  .soc-guide-grid {
    grid-template-columns: 1fr;
  }
  .soc-hero-copy {
    padding: 24px;
  }
  .soc-panel {
    min-height: 190px;
  }
  .soc-doc-grid {
    grid-template-columns: 1fr;
  }
  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .stat-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
