:root {
  --ink: #171717;
  --muted: #5f625f;
  --paper: #fbfaf7;
  --white: #ffffff;
  --forest: #123f34;
  --forest-2: #1f5c48;
  --gold: #c49a3b;
  --clay: #a64f3c;
  --eu-blue: #1b4f8f;
  --sky: #dcebf6;
  --mist: #ecf1ed;
  --line: rgba(23, 23, 23, 0.14);
  --shadow: 0 24px 70px rgba(18, 63, 52, 0.18);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(210px, 1fr) auto minmax(210px, 1fr);
  align-items: center;
  gap: 18px;
  min-height: 78px;
  padding: 12px clamp(18px, 4vw, 54px);
  background: rgba(251, 250, 247, 0.92);
  border-bottom: 1px solid rgba(23, 23, 23, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
  text-decoration: none;
  font-weight: 760;
  line-height: 1.1;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.site-nav {
  position: absolute;
  top: calc(100% + 10px);
  right: clamp(18px, 4vw, 54px);
  display: none;
  grid-template-columns: repeat(auto-fit, minmax(136px, 1fr));
  gap: 10px;
  width: min(760px, calc(100vw - 36px));
  padding: 14px;
  border: 1px solid rgba(23, 23, 23, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 18px 48px rgba(18, 63, 52, 0.16);
  backdrop-filter: blur(14px);
}

.site-header.nav-open .site-nav {
  display: grid;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: #303331;
  background: var(--paper);
  font-size: 0.91rem;
  font-weight: 680;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.site-nav a::after {
  display: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--white);
  border-color: var(--forest);
  background: var(--forest);
  transform: translateY(-1px);
}

.erasmus-page .site-nav a:hover,
.erasmus-page .site-nav a:focus-visible {
  border-color: var(--clay);
  background: var(--clay);
}

.site-tools {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  justify-self: end;
  gap: 10px;
  align-self: center;
}

.mode-switch {
  display: inline-flex;
  grid-column: 2;
  align-items: center;
  justify-self: center;
  overflow: hidden;
  gap: 0;
  padding: 0;
  border: 1px solid rgba(18, 63, 52, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 22px rgba(18, 63, 52, 0.12);
}

.mode-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  min-height: 40px;
  padding: 0 16px;
  color: var(--forest);
  border-radius: 0;
  font-size: 0.84rem;
  font-weight: 820;
  line-height: 1;
  text-decoration: none !important;
  white-space: nowrap;
  transition: color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.mode-switch a.active {
  color: var(--white);
  background: var(--forest);
  box-shadow: none;
}

.erasmus-page .mode-switch a.active {
  background: var(--clay);
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(18, 63, 52, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
}

.language-switch button {
  min-width: 31px;
  min-height: 28px;
  border: 0;
  border-radius: 999px;
  color: var(--forest);
  background: transparent;
  font-size: 0.72rem;
  font-weight: 780;
  line-height: 1;
  cursor: pointer;
}

.language-switch button.active {
  color: var(--white);
  background: var(--forest);
}

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 8px 20px rgba(18, 63, 52, 0.09);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 3px 0;
  background: var(--ink);
  transition: transform 160ms ease, opacity 160ms ease;
}

.site-header.nav-open .menu-toggle span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.site-header.nav-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.nav-open .menu-toggle span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(760px, 82svh);
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.erasmus-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(720px, 80svh);
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(15, 28, 24, 0.72) 0%, rgba(15, 28, 24, 0.42) 42%, rgba(15, 28, 24, 0.08) 100%),
    linear-gradient(0deg, rgba(15, 28, 24, 0.34), rgba(15, 28, 24, 0.06));
  z-index: -1;
}

.hero-content {
  width: min(980px, 100%);
  padding: 0 clamp(20px, 6vw, 82px) clamp(38px, 6vw, 72px);
}

.erasmus-hero-content {
  width: min(980px, 100%);
  padding: 0 clamp(20px, 7vw, 92px) clamp(42px, 7vw, 82px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 840;
  text-transform: uppercase;
}

.hero h1 {
  max-width: min(820px, 100%);
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: clamp(2.7rem, 4.4vw, 4.55rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: 0;
  overflow-wrap: break-word;
  text-wrap: balance;
  text-shadow: 0 3px 24px rgba(0, 0, 0, 0.28);
}

.erasmus-hero h1 {
  max-width: min(980px, 100%);
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.1rem, 7vw, 6.9rem);
  line-height: 0.94;
  letter-spacing: 0;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.hero p:not(.eyebrow) {
  max-width: 650px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.6;
}

.erasmus-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-microbar {
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 1fr));
  gap: 1px;
  width: min(760px, 100%);
  margin-top: 34px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
}

.hero-microbar span {
  display: grid;
  gap: 4px;
  padding: 16px;
  background: rgba(9, 28, 44, 0.34);
}

.hero-microbar strong {
  color: var(--white);
  font-size: 1rem;
}

.hero-microbar small {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 720;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 820;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  color: var(--white);
  background: var(--forest);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.08);
}

.light-strip .button.primary {
  white-space: nowrap;
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.quick-facts div {
  min-height: 132px;
  padding: 26px clamp(18px, 3vw, 40px);
  background: var(--paper);
}

.quick-facts strong {
  display: block;
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1;
}

.quick-facts span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 720;
}

.erasmus-page {
  background: #f7f9f6;
}

.erasmus-page .site-header {
  background: rgba(247, 248, 244, 0.93);
}

.erasmus-page .hero-shade {
  background:
    linear-gradient(90deg, rgba(9, 28, 44, 0.88) 0%, rgba(18, 63, 52, 0.7) 48%, rgba(166, 79, 60, 0.2) 100%),
    linear-gradient(0deg, rgba(9, 28, 44, 0.46), rgba(9, 28, 44, 0.08));
}

.erasmus-facts div {
  background: #f7f8f4;
}

.erasmus-facts strong {
  font-size: clamp(2rem, 3vw, 2.8rem);
  overflow-wrap: normal;
  word-break: normal;
}

.erasmus-facts div:nth-child(1) {
  border-top: 4px solid var(--eu-blue);
}

.erasmus-facts div:nth-child(2) {
  border-top: 4px solid var(--clay);
}

.erasmus-facts div:nth-child(3) {
  border-top: 4px solid var(--gold);
}

.erasmus-facts div:nth-child(4) {
  border-top: 4px solid var(--forest);
}

.section {
  padding: clamp(68px, 9vw, 124px) clamp(20px, 6vw, 86px);
}

.section h2 {
  margin: 0;
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4.7vw, 4.9rem);
  line-height: 1;
  letter-spacing: 0;
}

.section h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: clamp(1.1rem, 1.4vw, 1.35rem);
}

.section p {
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.76;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: clamp(34px, 7vw, 90px);
  align-items: center;
}

.section-copy {
  max-width: 760px;
}

.image-panel {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.image-panel img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.about-details {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: 18px;
  align-items: stretch;
}

.timeline,
.values-grid {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

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

.values-grid {
  grid-template-columns: 1fr;
}

.timeline article,
.values-grid article {
  padding: 22px;
  background: var(--white);
}

.timeline span {
  display: block;
  margin-bottom: 24px;
  color: var(--clay);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 760;
  line-height: 1;
}

.heritage-band {
  background: var(--forest);
  color: var(--white);
}

.heritage-band h2,
.heritage-band h3 {
  color: var(--white);
}

.heritage-band p {
  color: rgba(255, 255, 255, 0.78);
}

.section-heading {
  width: min(920px, 100%);
  margin: 0 auto clamp(30px, 5vw, 56px);
  text-align: center;
}

.section-heading.align-left {
  margin-right: 0;
  margin-left: 0;
  text-align: left;
}

.feature-grid,
.project-intro,
.event-board,
.department-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-grid article,
.project-intro article,
.event-board article,
.department-cards a,
.support-grid article {
  min-height: 210px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
}

.feature-grid article {
  background: rgba(255, 255, 255, 0.06);
}

.feature-grid span {
  display: block;
  margin-bottom: 42px;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.9rem;
}

.project-section {
  background: var(--mist);
}

.project-intro article,
.event-board article,
.support-grid article {
  border-color: var(--line);
  background: var(--white);
  box-shadow: 0 14px 34px rgba(18, 63, 52, 0.08);
}

.department-hub {
  background: #f5f1e8;
}

.department-cards a {
  display: grid;
  align-content: space-between;
  min-height: 260px;
  color: var(--ink);
  border-color: var(--line);
  background: var(--white);
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(18, 63, 52, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.department-cards a:hover,
.department-cards a:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 22px 50px rgba(18, 63, 52, 0.14);
}

.department-cards span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 840;
  text-transform: uppercase;
}

.hub-audience-grid,
.project-board-large,
.notice-board,
.partner-grid {
  display: grid;
  gap: 18px;
}

.hub-audience-grid,
.partner-grid {
  grid-template-columns: repeat(3, 1fr);
}

.project-board-large {
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.65fr) minmax(280px, 0.65fr);
}

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

.hub-audience-grid article,
.project-card,
.notice-board article,
.partner-grid article {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 34px rgba(18, 63, 52, 0.08);
}

.hub-audience-grid span {
  display: inline-flex;
  margin-bottom: 40px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 840;
  text-transform: uppercase;
}

.project-card.featured {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.62fr);
  gap: 24px;
}

.project-card dl {
  display: grid;
  gap: 1px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.project-card dl div {
  padding: 16px;
  background: var(--paper);
}

.project-card dt {
  margin-bottom: 5px;
  color: var(--forest);
  font-weight: 840;
}

.project-card dd {
  margin: 0;
  color: var(--muted);
}

.open-call-section,
.partners-section {
  background: #f5f1e8;
}

.notice-board time {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--clay);
  font-weight: 820;
}

.results-section {
  background: var(--forest);
  color: var(--white);
}

.results-section h2,
.results-section h3,
.results-section p {
  color: var(--white);
}

.results-section .section-heading p {
  color: rgba(255, 255, 255, 0.76);
}

.light-strip {
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.light-strip p {
  color: rgba(255, 255, 255, 0.76);
}

.erasmus-gallery-section {
  background: var(--paper);
}

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

.compact-gallery figure:first-child {
  grid-row: auto;
}

.erasmus-pathway {
  background:
    linear-gradient(180deg, rgba(220, 235, 246, 0.58), rgba(247, 249, 246, 0.94)),
    var(--paper);
}

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

.pathway-card {
  display: grid;
  align-content: space-between;
  min-height: 260px;
  padding: 28px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(18, 63, 52, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.pathway-card:hover,
.pathway-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 22px 50px rgba(18, 63, 52, 0.14);
}

.pathway-card span,
.project-tags span,
.partner-highlights span {
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 840;
  text-transform: uppercase;
}

.pathway-card p {
  color: var(--muted);
}

.open-call-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.68fr);
  gap: 22px;
  align-items: start;
}

.open-call-layout .section-heading {
  grid-row: span 2;
}

.call-card,
.call-note,
.resources-grid article,
.partner-highlights article {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 34px rgba(18, 63, 52, 0.08);
}

.primary-call {
  border-top: 5px solid var(--clay);
}

.call-status {
  display: inline-flex;
  margin: 0 0 22px;
  padding: 8px 12px;
  color: var(--white);
  border-radius: 999px;
  background: var(--clay);
  font-size: 0.76rem;
  font-weight: 840;
  text-transform: uppercase;
}

.call-meta,
.project-showcase dl {
  display: grid;
  gap: 1px;
  margin: 22px 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

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

.call-meta div,
.project-showcase dl div {
  padding: 15px;
  background: var(--paper);
}

.call-meta dt,
.project-showcase dt {
  margin-bottom: 5px;
  color: var(--forest);
  font-weight: 840;
}

.call-meta dd,
.project-showcase dd {
  margin: 0;
  color: var(--muted);
}

.call-note {
  background: #fff8e7;
}

.call-note ul {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.call-note li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
}

.call-note li::before {
  position: absolute;
  top: 0.42em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  content: "";
  background: var(--gold);
}

.project-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.7fr);
  gap: 18px;
}

.project-showcase .project-card.featured {
  display: grid;
  grid-template-columns: minmax(220px, 0.52fr) minmax(0, 1fr);
  gap: 24px;
  padding: 0;
  overflow: hidden;
}

.project-thumb {
  min-height: 100%;
  background: var(--forest);
}

.project-thumb img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

.project-showcase .project-card.featured > div:last-child {
  padding: 30px 30px 30px 0;
}

.project-stack {
  display: grid;
  gap: 18px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.project-tags span {
  padding: 7px 10px;
  color: var(--forest);
  border: 1px solid rgba(18, 63, 52, 0.16);
  border-radius: 999px;
  background: var(--mist);
}

.archive-dashboard {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}

.archive-dashboard article {
  min-height: 168px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 34px rgba(18, 63, 52, 0.08);
}

.archive-dashboard span {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--eu-blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
  font-weight: 760;
}

.archive-dashboard h3,
.archive-dashboard p,
.project-record-card h5,
.project-record-card p,
.pipeline-panel h3,
.pipeline-panel p,
.pipeline-card h4,
.pipeline-card p {
  margin: 0;
}

.archive-dashboard p {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.45;
}

.erasmus-archive-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.42fr);
  gap: 22px;
  align-items: start;
}

.archive-main {
  display: grid;
  gap: 22px;
}

.archive-group-heading {
  padding: 4px 0 2px;
}

.archive-group-heading h3 {
  max-width: 760px;
  margin: 0;
  color: var(--forest);
  font-size: clamp(1.35rem, 2vw, 2rem);
}

.year-group {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.year-group h4 {
  position: sticky;
  top: 96px;
  margin: 0;
  padding: 10px 12px;
  color: var(--white);
  border-radius: var(--radius);
  background: var(--forest);
  font-size: 1rem;
  text-align: center;
}

.project-record-card {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 34px rgba(18, 63, 52, 0.08);
}

.year-group .project-record-card + .project-record-card {
  grid-column: 2;
}

.project-record-head {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 760;
  overflow-wrap: anywhere;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--forest);
  background: var(--mist);
  font-size: 0.74rem;
  font-weight: 860;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.status-badge.completed {
  color: var(--white);
  background: var(--forest);
}

.status-badge.approved {
  color: var(--white);
  background: var(--eu-blue);
}

.status-badge.neutral {
  color: var(--ink);
  background: #fff2cf;
}

.project-record-card h5 {
  color: var(--ink);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.14;
}

.project-record-card p,
.pipeline-card p,
.pipeline-panel > p {
  color: var(--muted);
  line-height: 1.58;
}

.project-meta-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.project-meta-row div {
  padding: 14px;
  background: var(--paper);
}

.project-meta-row dt {
  margin-bottom: 5px;
  color: var(--forest);
  font-weight: 840;
}

.project-meta-row dd {
  margin: 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.archive-sidebar {
  display: grid;
  gap: 18px;
}

.pipeline-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 34px rgba(18, 63, 52, 0.08);
}

.priority-panel {
  border-top: 5px solid var(--eu-blue);
}

.quiet-panel {
  border-top: 5px solid var(--gold);
  background: #fff8e7;
}

.pipeline-panel h3 {
  margin-bottom: 18px;
  color: var(--forest);
}

.pipeline-card {
  display: grid;
  gap: 10px;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
}

.pipeline-card + .pipeline-card {
  margin-top: 18px;
}

.pipeline-card h4 {
  color: var(--ink);
  font-size: 1.1rem;
  line-height: 1.2;
}

.pipeline-card small {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 760;
  overflow-wrap: anywhere;
}

.project-method {
  background: #edf4f7;
}

.process-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.process-strip article {
  padding: 26px;
  background: var(--white);
}

.process-strip span {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--eu-blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.1rem;
  font-weight: 760;
}

.partner-profile {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.partner-profile .button {
  width: fit-content;
  margin-top: 10px;
}

.partner-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.partner-highlights article {
  min-height: 260px;
}

.partner-highlights article:nth-child(1) {
  border-top: 5px solid var(--gold);
}

.partner-highlights article:nth-child(2) {
  border-top: 5px solid var(--eu-blue);
}

.partner-highlights article:nth-child(3) {
  border-top: 5px solid var(--forest);
}

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

.resources-grid article {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.resources-grid p {
  color: rgba(255, 255, 255, 0.76);
}

.project-archive {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.65fr);
  gap: 18px;
  margin-top: 18px;
}

.project-record,
.project-checklist {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 34px rgba(18, 63, 52, 0.08);
}

.project-record {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.64fr);
  gap: 26px;
}

.record-label {
  margin-top: 0;
  color: var(--clay);
  font-weight: 840;
  text-transform: uppercase;
}

.project-record dl {
  display: grid;
  gap: 1px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.project-record dl div {
  padding: 16px;
  background: var(--paper);
}

.project-record dt {
  margin-bottom: 5px;
  color: var(--forest);
  font-weight: 840;
}

.project-record dd {
  margin: 0;
  color: var(--muted);
}

.project-checklist ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.project-checklist li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
  line-height: 1.5;
}

.project-checklist li::before {
  position: absolute;
  left: 0;
  color: var(--gold);
  content: "◆";
}

.departments {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.theatre-section {
  padding-top: 0;
}

.department-media {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.department-media img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: #313633;
  font-weight: 720;
  line-height: 1.5;
}

.check-list li::before {
  position: absolute;
  top: 0.15em;
  left: 0;
  color: var(--gold);
  content: "◆";
}

.department-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.department-facts span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--forest);
  background: var(--white);
  font-size: 0.9rem;
  font-weight: 760;
}

.dance-social-panel {
  display: grid;
  grid-column: 1 / -1;
  gap: 24px;
  margin-top: clamp(8px, 2vw, 24px);
}

.dance-social-panel .section-heading {
  max-width: 780px;
  margin-bottom: 0;
}

.dance-social-panel h3 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.65rem);
  line-height: 1.05;
}

.dance-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 16px;
}

.dance-photo-card {
  position: relative;
  display: grid;
  min-height: 292px;
  align-content: end;
  margin: 0;
  overflow: hidden;
  padding: 16px;
  border-radius: var(--radius);
  color: var(--white);
  isolation: isolate;
  background: var(--forest);
  box-shadow: 0 16px 34px rgba(18, 63, 52, 0.13);
  text-decoration: none;
}

.dance-photo-card.featured {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 600px;
}

.dance-photo-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.dance-photo-card::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(0deg, rgba(12, 18, 16, 0.78) 0%, rgba(12, 18, 16, 0.18) 58%, rgba(12, 18, 16, 0.04) 100%),
    linear-gradient(90deg, rgba(18, 63, 52, 0.18), rgba(181, 134, 52, 0.12));
}

.dance-photo-card:hover img,
.dance-photo-card:focus-visible img {
  transform: scale(1.035);
}

.dance-photo-card figcaption,
.dance-photo-card strong {
  width: fit-content;
  max-width: min(100%, 360px);
  padding: 9px 11px;
  border-radius: var(--radius);
  color: var(--white);
  background: rgba(18, 24, 20, 0.72);
  font-size: clamp(1rem, 1.45vw, 1.35rem);
  font-weight: 820;
  line-height: 1.18;
}

.dance-photo-card span {
  width: fit-content;
  margin-bottom: 10px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.72rem;
  font-weight: 860;
  line-height: 1;
  text-transform: uppercase;
}

.dance-social-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.social-section {
  background:
    linear-gradient(180deg, rgba(250, 249, 244, 0.96), rgba(236, 240, 231, 0.82)),
    var(--paper);
}

.social-section-stack {
  display: grid;
  gap: clamp(44px, 6vw, 84px);
}

.social-section .dance-social-panel {
  grid-column: auto;
  margin-top: 0;
}

.social-section .facebook-section {
  background: transparent;
}

.social-section .dance-social-actions .button.secondary {
  color: var(--forest);
  border-color: rgba(18, 63, 52, 0.22);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 26px rgba(18, 63, 52, 0.08);
}

.social-section .dance-social-actions .button.secondary:hover,
.social-section .dance-social-actions .button.secondary:focus-visible {
  color: var(--white);
  border-color: var(--forest);
  background: var(--forest);
}

.events-section {
  background: #f5f1e8;
}

.event-board time {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--clay);
  font-weight: 820;
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: -28px 0 28px;
}

.gallery-filters button {
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--forest);
  background: var(--white);
  font-weight: 780;
  cursor: pointer;
}

.gallery-filters button.active {
  color: var(--white);
  border-color: var(--forest);
  background: var(--forest);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
}

.gallery-grid figure {
  position: relative;
  min-height: 280px;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--forest);
}

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

.gallery-grid img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform 400ms ease;
}

.gallery-grid figure:hover img {
  transform: scale(1.025);
}

.gallery-grid figcaption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  padding: 10px 12px;
  border-radius: var(--radius);
  color: var(--white);
  background: rgba(18, 24, 20, 0.72);
  font-weight: 720;
  line-height: 1.35;
}

.facebook-section {
  background:
    linear-gradient(180deg, rgba(247, 249, 246, 0.96), rgba(229, 235, 223, 0.74)),
    var(--paper);
}

.facebook-highlight-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 16px;
}

.facebook-highlight-card {
  position: relative;
  display: grid;
  min-height: 310px;
  align-content: end;
  overflow: hidden;
  padding: 18px;
  border-radius: var(--radius);
  color: var(--white);
  isolation: isolate;
  text-decoration: none;
  box-shadow: 0 18px 42px rgba(18, 63, 52, 0.14);
}

.facebook-highlight-card.large {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 636px;
}

.facebook-highlight-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms ease;
}

.facebook-highlight-card::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(0deg, rgba(12, 18, 16, 0.82) 0%, rgba(12, 18, 16, 0.24) 58%, rgba(12, 18, 16, 0.06) 100%),
    linear-gradient(90deg, rgba(24, 119, 242, 0.22), rgba(181, 134, 52, 0.14));
}

.facebook-highlight-card:hover img,
.facebook-highlight-card:focus-visible img {
  transform: scale(1.035);
}

.facebook-highlight-card span {
  width: fit-content;
  margin-bottom: 10px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.74rem;
  font-weight: 860;
  line-height: 1;
  text-transform: uppercase;
}

.facebook-highlight-card strong {
  max-width: 360px;
  color: var(--white);
  font-size: clamp(1.15rem, 2vw, 1.85rem);
  line-height: 1.08;
}

.facebook-highlight-card small {
  width: fit-content;
  margin-top: 14px;
  color: var(--white);
  border-bottom: 2px solid var(--gold);
  font-size: 0.88rem;
  font-weight: 860;
}

.social-media-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 16px;
}

.social-media-card {
  position: relative;
  display: grid;
  min-height: 310px;
  align-content: end;
  overflow: hidden;
  padding: 18px;
  border-radius: var(--radius);
  color: var(--white);
  isolation: isolate;
  text-decoration: none;
  box-shadow: 0 18px 42px rgba(18, 63, 52, 0.14);
}

.social-media-card.large {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 636px;
}

.social-media-card.tall {
  grid-row: span 2;
  min-height: 636px;
}

.social-media-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms ease;
}

.social-media-card::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(0deg, rgba(12, 18, 16, 0.82) 0%, rgba(12, 18, 16, 0.24) 58%, rgba(12, 18, 16, 0.06) 100%),
    linear-gradient(90deg, rgba(18, 63, 52, 0.26), rgba(27, 79, 143, 0.14));
}

.social-media-card:hover img,
.social-media-card:focus-visible img {
  transform: scale(1.035);
}

.social-media-card span {
  width: fit-content;
  margin-bottom: 10px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.74rem;
  font-weight: 860;
  line-height: 1;
  text-transform: uppercase;
}

.social-media-card strong {
  max-width: 420px;
  color: var(--white);
  font-size: clamp(1.15rem, 2vw, 1.85rem);
  line-height: 1.08;
}

.social-media-card small {
  width: fit-content;
  margin-top: 14px;
  color: var(--white);
  border-bottom: 2px solid var(--gold);
  font-size: 0.88rem;
  font-weight: 860;
}

.social-follow-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-top: 22px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 34px rgba(18, 63, 52, 0.08);
}

.social-follow-strip h3,
.social-follow-strip p {
  margin: 0;
}

.social-follow-strip p {
  margin-top: 8px;
  color: var(--muted);
}

.social-follow-strip > div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.gallery-empty {
  margin: 22px 0 0;
  padding: 18px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  text-align: center;
}

.is-hidden {
  display: none !important;
}

.support-section {
  background: var(--forest);
  color: var(--white);
}

.support-section h2,
.support-section h3,
.support-section p {
  color: var(--white);
}

.support-section .section-heading p,
.support-section .interest-form p {
  color: rgba(255, 255, 255, 0.76);
}

.support-grid h3 {
  color: var(--ink);
}

.support-grid p {
  color: var(--muted);
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.download-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-top: 28px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
}

.download-strip h3,
.download-strip p {
  margin: 0;
}

.download-strip p {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.76);
}

.download-strip > div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.text-link {
  display: inline-flex;
  margin-top: 8px;
  color: var(--gold);
  font-weight: 840;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.interest-form,
.contact-form {
  display: grid;
  gap: 16px;
}

.interest-form {
  grid-template-columns: 1fr 1fr 1fr auto;
  align-items: end;
  margin-top: 28px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
}

label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  font-weight: 820;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid rgba(23, 23, 23, 0.16);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--white);
}

textarea {
  resize: vertical;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.65fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-list p {
  margin: 0;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--forest);
  background: var(--white);
  font-weight: 820;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(18, 63, 52, 0.1);
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  color: var(--white);
  border-color: var(--forest);
  background: var(--forest);
  transform: translateY(-2px);
}

.social-links svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
}

.social-links a:last-child svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-panel {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 44px rgba(18, 63, 52, 0.1);
}

.map-section iframe {
  display: block;
  width: 100%;
  min-height: 380px;
  border: 0;
  filter: saturate(0.84);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(20px, 6vw, 86px);
  color: var(--white);
  background: #111614;
}

.site-footer div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-footer img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--white);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: minmax(170px, 1fr) auto minmax(170px, 1fr);
  }

  .brand {
    min-width: 0;
  }

  .brand span {
    max-width: 210px;
  }

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

@media (max-width: 860px) {
  .brand {
    min-width: 0;
  }

  .brand span {
    max-width: 156px;
  }

  .hero {
    min-height: 74svh;
  }

  .erasmus-hero {
    min-height: 74svh;
  }

  .hero-shade {
    background: linear-gradient(0deg, rgba(15, 28, 24, 0.82), rgba(15, 28, 24, 0.18));
  }

  .quick-facts,
  .feature-grid,
  .hub-audience-grid,
  .pathway-grid,
	  .project-intro,
	  .project-board-large,
	  .project-showcase,
	  .archive-dashboard,
	  .erasmus-archive-layout,
	  .event-board,
	  .open-call-layout,
	  .notice-board,
  .partner-grid,
  .partner-profile,
	  .partner-highlights,
	  .department-cards,
	  .dance-photo-grid,
	  .support-grid,
	  .facebook-highlight-grid,
	  .social-media-grid,
	  .split,
	  .about-details,
	  .timeline,
	  .process-strip,
	  .project-archive,
	  .project-record,
	  .year-group,
	  .project-meta-row,
	  .project-card.featured,
	  .departments,
	  .compact-gallery,
	  .contact-section,
	  .interest-form,
	  .resources-grid,
	  .social-follow-strip,
	  .download-strip {
	    grid-template-columns: 1fr;
	  }

  .open-call-layout .section-heading {
    grid-row: auto;
  }

  .project-showcase .project-card.featured {
    grid-template-columns: 1fr;
  }

	  .project-showcase .project-card.featured > div:last-child {
	    padding: 0 28px 28px;
	  }

	  .year-group h4 {
	    position: static;
	    width: fit-content;
	    min-width: 88px;
	  }

	  .year-group .project-record-card + .project-record-card {
	    grid-column: auto;
	  }

	  .project-thumb img {
	    min-height: 320px;
	  }

	  .social-media-card,
	  .social-media-card.large,
	  .social-media-card.tall,
	  .facebook-highlight-card,
	  .facebook-highlight-card.large,
	  .dance-photo-card,
	  .dance-photo-card.featured {
	    grid-column: auto;
	    grid-row: auto;
	    min-height: 360px;
	  }

	  .quick-facts div {
	    min-height: 104px;
  }

  .theatre-section .department-copy {
    order: 2;
  }

  .theatre-section .department-media {
    order: 1;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid figure:first-child {
    grid-row: auto;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 70px;
    gap: 10px;
    padding: 10px 14px;
  }

  .site-tools {
    grid-column: 2;
    grid-row: 1;
    width: auto;
    justify-content: flex-end;
    gap: 7px;
  }

  .mode-switch {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: stretch;
    width: 100%;
    max-width: none;
  }

  .mode-switch a {
    flex: 1;
    min-width: 0;
    min-height: 38px;
    padding: 0 9px;
    font-size: 0.76rem;
  }

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

  .brand span {
    max-width: 128px;
    font-size: 0.92rem;
  }

  .language-switch button {
    min-width: 29px;
    min-height: 26px;
    font-size: 0.72rem;
  }

  .site-nav {
    right: 14px;
    left: 14px;
    width: auto;
    grid-template-columns: 1fr;
    max-height: min(520px, calc(100svh - 150px));
    overflow-y: auto;
  }

  .hero-content {
    padding: 0 20px 36px;
  }

  .erasmus-hero-content {
    padding: 0 20px 36px;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 10vw, 3.35rem);
    line-height: 1.05;
  }

  .erasmus-hero h1 {
    font-size: clamp(2.7rem, 14vw, 4.3rem);
  }

	  .hero-actions,
	  .hero-microbar,
	  .social-links,
	  .social-follow-strip > div:last-child,
	  .download-strip > div:last-child {
	    align-items: stretch;
	    flex-direction: column;
  }

  .hero-microbar {
    display: flex;
  }

  .button,
  .social-links a {
    width: 100%;
  }

  .social-links {
    align-items: center;
    flex-direction: row;
  }

  .social-links a {
    width: 52px;
  }

  .section {
    padding-right: 18px;
    padding-left: 18px;
  }

  .feature-grid article,
  .project-intro article,
  .event-board article,
  .department-cards a,
  .hub-audience-grid article,
  .pathway-card,
  .project-card,
  .call-card,
  .call-note,
  .notice-board article,
  .partner-grid article,
  .partner-highlights article,
  .resources-grid article,
  .support-grid article,
  .project-record,
  .project-checklist,
  .contact-panel {
    padding: 22px;
  }

  .call-meta {
    grid-template-columns: 1fr;
  }

  .project-showcase .project-card.featured > div:last-child {
    padding: 0 22px 22px;
  }

  .partner-profile .button {
    width: 100%;
  }
}
