
:root {
  --primary: #0f5b45;
  --primary-dark: #0a3d30;
  --primary-soft: #edf8f2;
  --accent: #c79a4d;
  --accent-soft: #f8f1e2;
  --ink: #17231f;
  --muted: #5f706a;
  --surface: #ffffff;
  --surface-alt: #f5f8f5;
  --border: #dfe8e1;
  --danger: #9b2c2c;
  --shadow-sm: 0 10px 24px rgba(15, 91, 69, 0.08);
  --shadow-md: 0 18px 46px rgba(15, 91, 69, 0.12);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 30px;
  --max-width: 1180px;
  --header-height: 78px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
}

body.menu-open,
body.search-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 9999;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--primary-dark);
  color: white;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: min(calc(100% - 32px), var(--max-width));
  margin-inline: auto;
}

.section {
  padding: 88px 0;
}

.section--compact {
  padding: 60px 0;
}

.section--alt {
  background: var(--surface-alt);
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.1;
  color: var(--primary-dark);
}

.section-copy {
  max-width: 760px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.05rem;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px;
  color: rgba(255,255,255,0.9);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.topbar {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.82);
  font-size: 0.86rem;
}

.topbar__inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

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

.topbar a:hover,
.topbar a:focus-visible {
  color: white;
}

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

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 250px;
  flex-wrap: wrap;
}

.brand__seal,
.brand__logo {
  width: 52px;
  height: 52px;
  display: block;
  object-fit: contain;
  padding: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,255,255,0.96), rgba(238,245,240,0.76));
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(15, 91, 69, 0.12);
}

.brand__seal {
  background: linear-gradient(135deg, rgba(15,91,69,0.08), rgba(199,154,77,0.12));
}

.brand__mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  font-weight: 800;
  box-shadow: var(--shadow-sm);
}

.brand__text {
  display: grid;
  line-height: 1.12;
  flex: 1 1 190px;
  min-width: 0;
}

.brand__university {
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.brand__faculty {
  max-width: 260px;
  margin-top: 4px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.main-nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link,
.nav-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #28332e;
  font-size: 0.92rem;
  font-weight: 700;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.active,
.nav-button:hover,
.nav-button:focus-visible {
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.nav-item {
  position: relative;
}

.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 280px;
  display: none;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: white;
  box-shadow: var(--shadow-md);
}

.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown,
.nav-item.dropdown-open .dropdown {
  display: block;
}

.dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  color: #35413b;
  font-size: 0.9rem;
  font-weight: 600;
}

.dropdown a:hover,
.dropdown a:focus-visible {
  background: var(--surface-alt);
  color: var(--primary);
}

.search-trigger,
.menu-trigger {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: white;
  color: var(--primary-dark);
  font-size: 1.15rem;
}

.search-trigger:hover,
.search-trigger:focus-visible,
.menu-trigger:hover,
.menu-trigger:focus-visible {
  background: var(--primary-soft);
}

.menu-trigger {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 75% 28%, rgba(198,161,91,0.28), transparent 28%),
    linear-gradient(125deg, rgba(8,55,43,0.98), rgba(13,79,60,0.92));
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -120px -160px auto;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
}

.hero__inner {
  min-height: 650px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  align-items: center;
  gap: 64px;
  padding: 90px 0;
}

.hero__title {
  max-width: 820px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.7rem, 5.5vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.hero__copy {
  max-width: 700px;
  margin: 25px 0 0;
  color: rgba(255,255,255,0.82);
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.hero__actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-weight: 800;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

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

.button--primary {
  background: var(--accent);
  color: #1d241f;
  box-shadow: 0 10px 25px rgba(0,0,0,0.16);
}

.button--primary:hover,
.button--primary:focus-visible {
  background: #d6b36f;
}

.button--light {
  border-color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.08);
  color: white;
}

.button--outline {
  border-color: var(--primary);
  color: var(--primary);
  background: transparent;
}

.button--outline:hover,
.button--outline:focus-visible {
  background: var(--primary-soft);
}

.button--small {
  min-height: 40px;
  padding: 8px 13px;
  font-size: 0.9rem;
}

.hero-visual {
  position: relative;
}

.hero-card {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 28px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 28px;
  background:
    linear-gradient(to top, rgba(3,31,23,0.88), rgba(3,31,23,0.08)),
    linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0.03));
  box-shadow: 0 30px 70px rgba(0,0,0,0.24);
}

.hero-card__label {
  width: fit-content;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-card__title {
  margin: 16px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1.2;
}

.hero-card__copy {
  margin: 12px 0 0;
  color: rgba(255,255,255,0.76);
}

.placeholder-image {
  position: relative;
  overflow: hidden;
  min-height: 230px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(15,91,69,0.92), rgba(199,154,77,0.72)),
    linear-gradient(45deg, #d9e6df, #f1e7d1);
  color: white;
  text-align: center;
}

.department-branding {
  display: grid;
  gap: 18px;
  align-content: center;
  justify-items: center;
}

.department-logo-slot {
  width: min(100%, 220px);
  height: 220px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(15, 91, 69, 0.18);
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(15,91,69,0.08), rgba(199,154,77,0.18));
  color: var(--primary-dark);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
  padding: 20px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.department-logo-slot img {
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.besa-logo-slot {
  border-radius: 8px;
}

.department-logo-slot span {
  display: block;
  max-width: 140px;
  line-height: 1.5;
}

.computer-logo-slot {
  border-color: rgba(17, 94, 185, 0.25);
  background: linear-gradient(135deg, rgba(17, 94, 185, 0.15), rgba(255, 255, 255, 0.96));
  color: #0d4f99;
}

.computer-placeholder {
  background: linear-gradient(135deg, rgba(15, 90, 182, 0.96), rgba(255, 255, 255, 0.72));
}

.department-website-link {
  color: #0d4f99;
  font-weight: 800;
}

.department-website-link:hover,
.department-website-link:focus-visible {
  color: #083a72;
  text-decoration: underline;
}

.placeholder-image::before,
.placeholder-image::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
}

.placeholder-image::before {
  width: 220px;
  height: 220px;
  left: -80px;
  bottom: -120px;
}

.placeholder-image::after {
  width: 160px;
  height: 160px;
  right: -60px;
  top: -80px;
}

.placeholder-image span {
  position: relative;
  z-index: 1;
  max-width: 220px;
  padding: 20px;
  font-weight: 800;
}

.grid {
  display: grid;
  gap: 24px;
}

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

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

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

.card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: white;
  box-shadow: var(--shadow-sm);
}

.card--padded {
  padding: 28px;
}

.card__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 900;
}

.card__title {
  margin: 18px 0 8px;
  color: var(--primary-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

.card__copy {
  margin: 0;
  color: var(--muted);
}

.card__link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-top: 18px;
  color: var(--primary);
  font-weight: 800;
}

.card__link:hover,
.card__link:focus-visible {
  color: var(--primary-dark);
  text-decoration: underline;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 56px;
  align-items: center;
}

.dean-card {
  display: grid;
  grid-template-columns: 230px 1fr;
  overflow: hidden;
}

.dean-card__image {
  min-height: 360px;
  border-radius: 0;
}

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

.dean-card__body {
  padding: 38px;
}

.dean-card__quote {
  margin: 0;
  color: #35413b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
}

.dean-card__meta {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.dean-card__name {
  margin: 0;
  font-weight: 900;
  color: var(--primary-dark);
}

.dean-card__role {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.profile-card {
  overflow: hidden;
}

.profile-card .placeholder-image {
  min-height: 270px;
  border-radius: 0;
}

.profile-card__body {
  padding: 24px;
}

.profile-card__name {
  margin: 0;
  color: var(--primary-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

.profile-card__role {
  margin: 5px 0 0;
  color: var(--primary);
  font-weight: 800;
}

.profile-card__bio {
  margin: 14px 0 0;
  color: var(--muted);
}

.department-card {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  display: flex;
  align-items: end;
  padding: 26px;
  border-radius: var(--radius-md);
  color: white;
  background:
    linear-gradient(to top, rgba(5,44,33,0.95), rgba(5,44,33,0.12)),
    linear-gradient(135deg, #2d6b57, #b99856);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.department-card:nth-child(2n) {
  background:
    linear-gradient(to top, rgba(23,43,58,0.93), rgba(23,43,58,0.15)),
    linear-gradient(135deg, #31576d, #8fa9b7);
}

.department-card:nth-child(3n) {
  background:
    linear-gradient(to top, rgba(69,48,22,0.94), rgba(69,48,22,0.12)),
    linear-gradient(135deg, #9b7b45, #ded0a8);
}

.department-card:hover,
.department-card:focus-within {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.department-card__number {
  position: absolute;
  top: 18px;
  right: 20px;
  color: rgba(255,255,255,0.22);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4rem;
  font-weight: 700;
}

.department-card__title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  line-height: 1.2;
}

.department-card__copy {
  margin: 11px 0 0;
  color: rgba(255,255,255,0.76);
}

.department-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: white;
  font-weight: 800;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: white;
  box-shadow: var(--shadow-sm);
}

.stat {
  padding: 30px;
  text-align: center;
}

.stat + .stat {
  border-left: 1px solid var(--border);
}

.stat__number {
  color: var(--primary-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.7rem;
  font-weight: 800;
}

.stat__label {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.92rem;
}

.news-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: white;
  color: var(--primary);
}

.icon-button:hover,
.icon-button:focus-visible {
  background: var(--primary-soft);
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.filter-button {
  padding: 9px 13px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: white;
  color: #3b4741;
  font-weight: 700;
}

.filter-button.active,
.filter-button:hover,
.filter-button:focus-visible {
  border-color: var(--primary);
  background: var(--primary);
  color: white;
}

.news-viewport {
  overflow: hidden;
}

.news-track {
  display: flex;
  transition: transform 0.42s ease;
}

.news-slide {
  min-width: 100%;
}

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

.news-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.news-card__image {
  min-height: 180px;
  border-radius: 0;
}

.news-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 22px;
}

.news-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.82rem;
}

.news-card__category {
  color: var(--primary);
  font-weight: 800;
}

.news-card__title {
  margin: 13px 0 9px;
  color: var(--primary-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  line-height: 1.3;
}

.news-card__copy {
  margin: 0;
  color: var(--muted);
}

.news-card__footer {
  margin-top: auto;
}

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

.quick-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: white;
  box-shadow: var(--shadow-sm);
}

.quick-link:hover,
.quick-link:focus-visible {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.quick-link__icon {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 900;
}

.quick-link__title {
  margin: 0;
  color: var(--primary-dark);
  font-weight: 900;
}

.quick-link__copy {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-panel {
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  border-radius: var(--radius-lg);
  background: var(--primary-dark);
  color: white;
}

.contact-panel__details {
  padding: 50px;
  background:
    radial-gradient(circle at 20% 20%, rgba(198,161,91,0.25), transparent 28%),
    var(--primary-dark);
}

.contact-panel__details h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.5rem;
}

.contact-panel__details p {
  color: rgba(255,255,255,0.74);
}

.contact-list {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}

.contact-item {
  display: flex;
  gap: 14px;
  align-items: start;
}

.contact-item__icon {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(255,255,255,0.1);
}

.contact-panel__form {
  padding: 50px;
  background: white;
  color: var(--ink);
}

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

.form-group {
  display: grid;
  gap: 7px;
}

.form-group--full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 800;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: white;
  color: var(--ink);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 3px solid rgba(13,79,60,0.14);
  border-color: var(--primary);
}

.form-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.form-status {
  margin-top: 14px;
  color: var(--primary);
  font-weight: 800;
}

.page-hero {
  color: white;
  background:
    radial-gradient(circle at 82% 22%, rgba(198,161,91,0.25), transparent 25%),
    linear-gradient(125deg, var(--primary-dark), var(--primary));
}

.page-hero__inner {
  min-height: 360px;
  display: grid;
  align-content: center;
  padding: 76px 0;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: rgba(255,255,255,0.72);
  font-size: 0.88rem;
}

.breadcrumbs a:hover,
.breadcrumbs a:focus-visible {
  color: white;
  text-decoration: underline;
}

.page-title {
  max-width: 850px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.7rem, 6vw, 5.3rem);
  line-height: 1;
}

.page-intro {
  max-width: 780px;
  margin: 22px 0 0;
  color: rgba(255,255,255,0.78);
  font-size: 1.08rem;
}

.prose {
  max-width: 830px;
}

.prose h2,
.prose h3 {
  color: var(--primary-dark);
  font-family: Georgia, "Times New Roman", serif;
}

.prose h2 {
  margin-top: 0;
  font-size: 2rem;
}

.prose p,
.prose li {
  color: #4f5c55;
}

.prose ul,
.prose ol {
  padding-left: 22px;
}

.value-card {
  padding: 28px;
  border-left: 4px solid var(--accent);
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline-item {
  position: relative;
  padding: 24px 24px 24px 64px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: white;
}

.timeline-item__number {
  position: absolute;
  left: 20px;
  top: 22px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  font-weight: 900;
}

.programme-list {
  display: grid;
  gap: 14px;
}

.programme-item {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: white;
}

.programme-item h3 {
  margin: 0;
  color: var(--primary-dark);
  font-size: 1rem;
}

.programme-item p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.tab-button {
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: white;
  font-weight: 800;
}

.tab-button.active {
  border-color: var(--primary);
  background: var(--primary);
  color: white;
}

.tab-panel[hidden] {
  display: none;
}

.notice {
  padding: 18px 20px;
  border: 1px solid #e8d7aa;
  border-radius: 12px;
  background: #fff9e8;
  color: #6d5a2d;
}

.notice strong {
  color: #5a471d;
}

.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: none;
  padding: 24px;
  background: rgba(6,28,22,0.78);
  backdrop-filter: blur(10px);
}

.search-overlay.open {
  display: grid;
  place-items: start center;
}

.search-panel {
  width: min(860px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  margin-top: 30px;
  padding: 28px;
  border-radius: 22px;
  background: white;
  box-shadow: 0 28px 80px rgba(0,0,0,0.34);
}

.search-panel__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.search-panel h2 {
  margin: 0;
  color: var(--primary-dark);
  font-family: Georgia, "Times New Roman", serif;
}

.search-close {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 10px;
  background: var(--surface-alt);
  color: var(--primary-dark);
  font-size: 1.2rem;
}

.search-input-wrap {
  margin-top: 20px;
}

.search-input {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 1rem;
}

.search-input:focus {
  outline: 3px solid rgba(13,79,60,0.14);
  border-color: var(--primary);
}

.search-results {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.search-result {
  display: block;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
}

.search-result:hover,
.search-result:focus-visible {
  border-color: var(--primary);
  background: var(--primary-soft);
}

.search-result__type {
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.search-result__title {
  margin: 4px 0 0;
  color: var(--primary-dark);
  font-weight: 900;
}

.search-result__copy {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.no-results {
  padding: 26px;
  border-radius: 12px;
  background: var(--surface-alt);
  color: var(--muted);
  text-align: center;
}

.site-footer {
  padding: 64px 0 28px;
  background: #082b22;
  color: rgba(255,255,255,0.75);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 38px;
}

.footer-title {
  margin: 0 0 14px;
  color: white;
  font-weight: 900;
}

.footer-copy {
  max-width: 430px;
}

.footer-links {
  display: grid;
  gap: 9px;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: white;
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.86rem;
}

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 900;
  width: 46px;
  height: 46px;
  display: none;
  place-items: center;
  border: 0;
  border-radius: 12px;
  background: var(--primary);
  color: white;
  box-shadow: var(--shadow-md);
}

.back-to-top.visible {
  display: grid;
}

.demo-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #6d5625;
  font-size: 0.78rem;
  font-weight: 900;
}

.hidden {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}
