:root {
  --unit-primary: #212551;
  --unit-secondary: #d6d67a;
  --color-text: #242424;
  --color-muted: #686868;
  --color-border: #d9d9d9;
  --color-surface: #f5f5f3;
  --color-white: #fff;
  --font-body: Arial, Helvetica, sans-serif;
  --font-heading: "Abhaya Libre", Georgia, "Times New Roman", serif;
  --shadow-subtle: 0 5px 20px rgba(0, 0, 0, 0.08);
  --wrap: 1180px;
  --reading: 780px;
  --header-height: 92px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 8rem;
}

body {
  margin: 0;
  color: var(--color-text);
  background: var(--color-white);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.kds-menu-open {
  overflow: hidden;
}

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

a {
  color: var(--unit-primary);
  text-underline-offset: 0.2em;
  text-decoration-thickness: 0.08em;
}

a:hover {
  text-decoration-thickness: 0.14em;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid #ffbf47;
  outline-offset: 3px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.55em;
  color: var(--unit-primary);
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.12;
  text-wrap: balance;
}

h1 { font-size: clamp(2.35rem, 5vw, 4.6rem); }
h2 { font-size: clamp(2rem, 3.5vw, 3.15rem); }
h3 { font-size: clamp(1.4rem, 2vw, 1.75rem); }

p,
ul,
ol,
dl,
figure,
blockquote {
  margin-top: 0;
  margin-bottom: 1.25em;
}

.wrap {
  width: min(calc(100% - 2.5rem), var(--wrap));
  margin-inline: auto;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus,
.skip-link:focus {
  z-index: 100000;
  top: 0.75rem;
  left: 0.75rem;
  width: auto;
  height: auto;
  clip: auto;
  padding: 0.8rem 1.1rem;
  overflow: visible;
  color: #fff;
  background: #111;
  white-space: normal;
}

.topbar {
  color: #fff;
  background: #262626;
  font-size: 0.875rem;
}

.topbar__inner,
.topbar__contact,
.topbar__tools {
  display: flex;
  align-items: center;
}

.topbar__inner {
  min-height: 42px;
  justify-content: space-between;
  gap: 1rem;
}

.topbar__contact,
.topbar__tools {
  gap: 1rem;
}

.topbar a,
.topbar button {
  color: inherit;
}

.topbar a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
}

.text-size-control {
  min-width: 36px;
  min-height: 36px;
  padding: 0.2rem 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #fff;
  background: transparent;
  cursor: pointer;
}

.text-size-control:hover {
  background: rgba(255, 255, 255, 0.15);
}

.unit-switcher {
  border-bottom: 1px solid var(--color-border);
  background: #fff;
}

.unit-switcher__inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(100%, var(--wrap));
}

.unit-switcher__item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.65rem 0.8rem;
  border-right: 1px solid var(--color-border);
  color: #2d2d2d;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.035em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.unit-switcher__item:first-child {
  border-left: 1px solid var(--color-border);
}

.unit-switcher__item::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 4px;
  background: transparent;
  content: "";
}

.unit-switcher__item--crnece::after { background: #212551; }
.unit-switcher__item--slovenj-gradec::after { background: #557446; }
.unit-switcher__item--ravne-na-koroskem::after { background: #7a0000; }
.unit-switcher__item--mezica::after { background: #656565; }

.unit-switcher__item:hover,
.unit-switcher__item.is-current {
  color: #fff;
  background: var(--unit-primary);
}

.unit-switcher__item--crnece:hover,
.unit-switcher__item--crnece.is-current { background: #212551; }
.unit-switcher__item--slovenj-gradec:hover,
.unit-switcher__item--slovenj-gradec.is-current { background: #557446; }
.unit-switcher__item--ravne-na-koroskem:hover,
.unit-switcher__item--ravne-na-koroskem.is-current { background: #7a0000; }
.unit-switcher__item--mezica:hover,
.unit-switcher__item--mezica.is-current { background: #555; }

.unit-switcher__item.is-unavailable {
  color: #6b6b6b;
  background: #f4f4f4;
  cursor: not-allowed;
}

.main-header {
  position: relative;
  z-index: 50;
  border-bottom: 1px solid var(--color-border);
  background: #fff;
}

.main-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  gap: 2rem;
}

.site-branding {
  flex: 0 1 260px;
}

.custom-logo {
  width: auto;
  max-width: 250px;
  max-height: 72px;
}

.site-title {
  color: var(--unit-primary);
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.05;
  text-decoration: none;
}

.primary-navigation {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  gap: 1rem;
}

.primary-menu,
.primary-menu ul,
.footer-menu {
  padding: 0;
  margin: 0;
  list-style: none;
}

.primary-menu {
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  gap: 0.2rem;
}

.primary-menu > li {
  position: relative;
}

.primary-menu a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0.65rem 0.85rem;
  color: #292929;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.primary-menu > li > a:hover,
.primary-menu > .current-menu-item > a,
.primary-menu > .current-menu-ancestor > a {
  color: var(--unit-primary);
  box-shadow: inset 0 -3px 0 var(--unit-primary);
}

.primary-menu .sub-menu {
  position: absolute;
  z-index: 100;
  top: calc(100% - 2px);
  left: 0;
  display: none;
  width: 270px;
  padding: 0.5rem;
  border-top: 3px solid var(--unit-primary);
  background: #fff;
  box-shadow: var(--shadow-subtle);
}

.primary-menu .sub-menu .sub-menu {
  top: -0.5rem;
  left: calc(100% + 0.5rem);
}

.primary-menu li:hover > .sub-menu,
.primary-menu li:focus-within > .sub-menu {
  display: block;
}

.primary-menu .sub-menu a {
  min-height: 44px;
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid #ececec;
  font-weight: 600;
}

.primary-menu .sub-menu a:hover {
  color: #fff;
  background: var(--unit-primary);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  min-height: 48px;
  padding: 0.55rem 0.8rem;
  gap: 0.6rem;
  border: 2px solid var(--unit-primary);
  color: var(--unit-primary);
  background: #fff;
  font-weight: 700;
  cursor: pointer;
}

.menu-toggle__icon {
  display: grid;
  width: 22px;
  gap: 4px;
}

.menu-toggle__icon span {
  display: block;
  height: 2px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.search-form {
  display: flex;
  align-items: stretch;
  max-width: 340px;
}

.search-form label {
  display: flex;
  flex: 1;
}

.search-field {
  width: 100%;
  min-height: 44px;
  padding: 0.55rem 0.75rem;
  border: 1px solid #aaa;
  border-right: 0;
}

.search-submit,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.65rem 1rem;
  border: 2px solid var(--unit-primary);
  color: #fff;
  background: var(--unit-primary);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.search-submit:hover,
.button:hover {
  color: var(--unit-primary);
  background: #fff;
}

.unit-hero {
  position: relative;
  display: grid;
  min-height: clamp(470px, 65vh, 680px);
  align-items: end;
  isolation: isolate;
  color: #fff;
  background: var(--unit-primary);
}

.unit-hero.has-image {
  background-image: var(--hero-image);
  background-position: center;
  background-size: cover;
}

.unit-hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.18) 72%, rgba(0, 0, 0, 0.08));
  content: "";
}

.unit-hero__content {
  padding-block: clamp(4rem, 9vw, 7rem);
}

.unit-hero__eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.unit-hero h1 {
  max-width: 880px;
  margin-bottom: 0.25em;
  color: #fff;
  font-size: clamp(3rem, 8vw, 6.5rem);
}

.unit-hero__summary {
  max-width: 760px;
  margin: 1rem 0 0;
  font-size: clamp(1rem, 2vw, 1.3rem);
  line-height: 1.55;
}

.quick-links {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: -2rem;
  background: #fff;
  box-shadow: var(--shadow-subtle);
}

.quick-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding: 1rem 1.25rem;
  gap: 1rem;
  border-right: 1px solid var(--color-border);
  color: var(--color-text);
  font-weight: 700;
  text-decoration: none;
}

.quick-links a:last-child { border-right: 0; }
.quick-links a:hover { color: #fff; background: var(--unit-primary); }
.quick-links a span { font-size: 1.4rem; }

.content-section {
  padding-block: clamp(4rem, 8vw, 7rem);
}

.content-section--muted {
  background: var(--color-surface);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 2rem;
  gap: 1rem;
  border-bottom: 1px solid var(--color-border);
}

.section-heading h2 { margin-bottom: 0.35em; }

.section-heading > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-bottom: 0.7rem;
  font-weight: 700;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

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

.content-card,
.contact-card {
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 2px;
  background: #fff;
}

.content-card__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e8e8e4;
}

.content-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 250ms ease;
}

.content-card:hover .content-card__media img { transform: scale(1.035); }

.content-card__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, color-mix(in srgb, var(--unit-primary) 16%, white), #f1f1ed);
}

.content-card__body {
  padding: 1.25rem;
}

.content-card__body h3 { margin-bottom: 0.55rem; }
.content-card__body h3 a { color: inherit; text-decoration: none; }
.content-card__body h3 a:hover { color: var(--unit-primary); text-decoration: underline; }
.content-card__body p { color: #4d4d4d; font-size: 0.95rem; }
.content-card__meta { margin-bottom: 0.5rem !important; color: var(--color-muted) !important; font-size: 0.82rem !important; font-weight: 700; text-transform: uppercase; }
.read-more { display: inline-flex; min-height: 44px; align-items: center; font-weight: 700; }

.breadcrumbs {
  padding-block: 1rem;
  font-size: 0.86rem;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  gap: 0.45rem;
  list-style: none;
}

.breadcrumbs li:not(:last-child)::after {
  margin-left: 0.45rem;
  color: #888;
  content: "/";
}

.entry,
.archive-main > .wrap,
.error-404 > .wrap {
  padding-block: clamp(2.5rem, 6vw, 5.5rem);
}

.entry--page,
.entry--single {
  max-width: var(--reading);
}

.entry-header,
.archive-header {
  margin-bottom: 2rem;
}

.entry-title {
  overflow-wrap: anywhere;
}

.entry-meta {
  margin-bottom: 0.6rem;
  color: var(--color-muted);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.entry-featured-image {
  margin-inline: 0;
}

.entry-featured-image img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
}

.entry-content {
  overflow-wrap: anywhere;
}

.entry-content > * {
  max-width: 100%;
}

.entry-content table {
  display: block;
  width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  -webkit-overflow-scrolling: touch;
}

.entry-content th,
.entry-content td {
  padding: 0.65rem;
  border: 1px solid var(--color-border);
  text-align: left;
}

.documents {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 3px solid var(--unit-primary);
}

.documents ul {
  padding: 0;
  list-style: none;
}

.documents li + li { margin-top: 0.65rem; }

.documents a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--color-border);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.documents a:hover {
  color: #fff;
  background: var(--unit-primary);
}

.kds-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 3rem;
  gap: 1rem;
}

.kds-gallery__item {
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  background: var(--color-surface);
}

.kds-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 2rem;
  border-block: 1px solid var(--color-border);
}

.event-details > div {
  padding: 1rem;
  border-right: 1px solid var(--color-border);
}

.event-details > div:last-child { border-right: 0; }
.event-details dt { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; }
.event-details dd { margin: 0; }

.contact-card {
  display: grid;
  grid-template-columns: minmax(170px, 0.35fr) 1fr;
}

.contact-card__photo {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.contact-card__body { padding: 1.5rem; }
.contact-card__body p { margin-bottom: 0.5rem; }

.staff-directory { padding-block: clamp(4rem, 7vw, 7rem); }
.staff-directory__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 2vw, 2rem); }
.staff-directory .contact-card { min-height: 100%; }
.staff-directory .contact-card__photo { aspect-ratio: 4 / 4.6; min-height: 0; object-fit: cover; object-position: center top; }
.staff-directory .contact-card__body { display: flex; flex: 1; flex-direction: column; }
.staff-directory .contact-card__body h3 { font-size: 1.55rem; }
.staff-directory .contact-card__body p:first-of-type { color: var(--unit-primary); font-weight: 700; }

.navigation.pagination {
  margin-top: 3rem;
}

ul.page-numbers {
  padding: 0;
  margin: 3rem 0 0;
  list-style: none;
}

ul.page-numbers li {
  display: inline-block;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

a.page-numbers,
span.page-numbers {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.65rem;
  border: 1px solid var(--color-border);
}

span.page-numbers.current { color: #fff; background: var(--unit-primary); }

.error-404,
.empty-state {
  text-align: center;
}

.error-404__code {
  margin-bottom: 0;
  color: var(--unit-primary);
  font-family: var(--font-heading);
  font-size: clamp(5rem, 18vw, 12rem);
  font-weight: 700;
  line-height: 0.9;
}

.error-404 .search-form,
.empty-state .search-form {
  margin: 2rem auto;
}

.site-footer {
  color: #eee;
  background: #282828;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  padding-block: clamp(3rem, 6vw, 5rem);
  gap: clamp(2rem, 5vw, 5rem);
}

.site-footer .custom-logo-link {
  display: inline-flex;
  padding: .65rem .8rem;
  margin-bottom: 1.25rem;
  border-radius: 10px;
  background: #fff;
}
.site-footer .custom-logo { margin: 0; filter: none; }

.site-footer__title {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 700;
}

.site-footer a { color: #fff; }
.site-footer p { margin-bottom: 0.55rem; }
.footer-menu li + li { margin-top: 0.3rem; }
.footer-menu a { display: inline-flex; min-height: 44px; align-items: center; }

.site-footer__bottom {
  padding-block: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.85rem;
}

.site-footer__bottom p { margin: 0; }

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

/* Visual system v2 ------------------------------------------------------- */
:root {
  --color-text: #20222a;
  --color-muted: #656975;
  --color-border: #e4e5e1;
  --color-surface: #f3f4ef;
  --color-warm: #f7f4ed;
  --shadow-subtle: 0 12px 38px rgba(22, 28, 45, 0.09);
  --shadow-card: 0 16px 50px rgba(22, 28, 45, 0.11);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --header-height: 88px;
  --wrap: 1240px;
  --reading: 900px;
}

body {
  background: #fbfbf8;
  font-family: Inter, Aptos, "Segoe UI", Arial, sans-serif;
  letter-spacing: -0.006em;
}

h1, h2, h3, h4, h5, h6 {
  letter-spacing: -0.025em;
}

.site-utility { position: relative; z-index: 80; }

.topbar { background: color-mix(in srgb, var(--unit-primary) 84%, #11131c); }
.topbar__inner { min-height: 40px; }
.topbar__contact a { gap: 0.4rem; text-decoration: none; opacity: 0.9; }
.topbar__contact a:hover { opacity: 1; }
.topbar__contact a:first-child::before { content: "☎"; color: var(--unit-secondary); }
.topbar__contact a:nth-child(2)::before { content: "✉"; color: var(--unit-secondary); }
.topbar__tools { gap: 0.45rem; }
.topbar__tools > a { margin-left: 0.35rem; font-weight: 700; text-decoration: none; }
.text-size-control { border-radius: 7px; border-color: rgba(255,255,255,.28); }

.unit-switcher { border: 0; background: #f3f1eb; }
.unit-switcher__inner { gap: 0; }
.unit-switcher__item {
  min-height: 50px;
  padding: 0.65rem 1rem 0.65rem 2rem;
  border-color: rgba(20,25,40,.08);
  color: #40434c;
  letter-spacing: .065em;
  transition: color 180ms ease, background 180ms ease;
}
.unit-switcher__item::after {
  top: 50%; right: auto; bottom: auto; left: 1rem;
  width: 8px; height: 8px;
  border-radius: 50%;
  transform: translateY(-50%);
}
.unit-switcher__item:hover,
.unit-switcher__item.is-current { box-shadow: inset 0 -3px 0 rgba(255,255,255,.28); }
.unit-switcher__item.is-unavailable { background: #ebeae6; }

.site-header {
  position: sticky;
  z-index: 900;
  top: 0;
  background: rgba(255,255,255,.96);
  box-shadow: 0 1px 0 rgba(20,25,40,.08);
  backdrop-filter: blur(16px);
  transition: box-shadow 200ms ease;
}
.site-header.is-scrolled {
  background: #fff;
  box-shadow: 0 14px 38px rgba(15,21,40,.22),0 2px 0 color-mix(in srgb,var(--unit-primary) 28%,transparent);
}
.admin-bar .site-header { top: 32px; }
.main-header { border: 0; border-bottom: 4px solid var(--unit-primary); background: transparent; }
.main-header__inner { transition: min-height 200ms ease; }
.site-header.is-scrolled .main-header__inner { min-height: 78px; }
.site-branding { display: flex; flex: 0 1 310px; align-items: center; gap: .8rem; }
.custom-logo { max-width: 195px; max-height: 60px; transition: max-height 200ms ease, max-width 200ms ease; }
.site-header.is-scrolled .custom-logo { max-width: 190px; max-height: 52px; }
.site-branding__context {
  display: grid;
  padding-left: 1rem;
  border-left: 1px solid var(--color-border);
  color: var(--color-muted);
  font-size: .68rem;
  line-height: 1.15;
  text-transform: uppercase;
}
.site-branding__context strong { margin-top: .25rem; color: var(--unit-primary); font-size: .82rem; letter-spacing: .04em; }

.primary-navigation { gap: .7rem; }
.primary-menu { gap: .1rem; }
.primary-menu a { padding-inline: .68rem; border-radius: 9px; font-size: .86rem; white-space: nowrap; }
.submenu-toggle { display: none; }
.primary-menu > li > a:hover,
.primary-menu > .current-menu-item > a,
.primary-menu > .current-menu-ancestor > a { background: color-mix(in srgb, var(--unit-primary) 7%, white); box-shadow: none; }
.primary-menu .sub-menu { padding: .75rem; border: 0; border-radius: 0 0 15px 15px; box-shadow: 0 20px 50px rgba(20,25,40,.18); }
.primary-menu .sub-menu a { border: 0; border-radius: 8px; }
.mega-menu { position: fixed; z-index: 120; top: auto; right: 0; left: 0; display: none; padding-top: 1px; }
.primary-menu > .kds-has-mega:hover > .mega-menu,
.primary-menu > .kds-has-mega:focus-within > .mega-menu { display: block; }
.primary-menu > .kds-has-mega > .sub-menu { display: none !important; }
.mega-menu__inner { display: grid; width: min(calc(100% - 3rem), 1240px); max-height: min(68vh,680px); overflow: auto; grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); padding: 2rem; margin: 0 auto; gap: 1px; border-top: 4px solid var(--unit-primary); border-radius: 0 0 22px 22px; background: #e5e6e1; box-shadow: 0 28px 70px rgba(10,15,30,.24); }
.mega-menu__group { padding: 1.25rem 1.4rem; background: #fff; }
.mega-menu__group:first-child { border-radius: 0 0 0 15px; }
.mega-menu__group:last-child { border-radius: 0 0 15px 0; }
.mega-menu__group h3 { padding-bottom: .65rem; margin: 0 0 .55rem; border-bottom: 2px solid color-mix(in srgb,var(--unit-primary) 18%,white); color: var(--unit-primary); font: 800 .78rem/1.35 var(--font-body); letter-spacing: .1em; text-transform: uppercase; }
.mega-menu__list, .mega-menu__list ul { padding: 0; margin: 0; list-style: none; }
.mega-menu__list a { min-height: 38px; padding: .4rem .2rem; color: var(--color-text); font-size: .86rem; font-weight: 650; line-height: 1.35; white-space: normal; }
.mega-menu__list a:hover { color: var(--unit-primary); text-decoration: underline; text-underline-offset: 3px; }
.mega-menu__list .sub-menu { position: static; display: block; width: auto; padding: 0 0 0 .7rem; border: 0; box-shadow: none; }
.mega-menu__list .sub-menu a { min-height: 34px; color: var(--color-muted); font-size: .8rem; }
.search-form { max-width: 235px; overflow: hidden; border: 1px solid #d9dbe1; border-radius: 999px; background: #fff; }
.search-field { min-width: 0; border: 0; background: transparent; }
.search-submit { width: 48px; padding: 0; border: 0; border-radius: 50%; font-size: 0; }
.search-submit::before { content: "⌕"; font-size: 1.35rem; line-height: 1; }

.unit-hero {
  min-height: clamp(570px, 70vh, 760px);
  overflow: hidden;
  align-items: center;
  background-position: center;
}
.unit-hero::before {
  position: absolute; z-index: -1; inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(255,255,255,.18), transparent 34%), linear-gradient(135deg, color-mix(in srgb, var(--unit-primary) 90%, #000), transparent 70%);
  content: "";
}
.unit-hero::after { background: linear-gradient(90deg, rgba(11,15,30,.82) 0%, rgba(11,15,30,.57) 48%, rgba(11,15,30,.12) 100%); }
.unit-hero__content { padding-block: clamp(5rem, 10vw, 9rem); }
.unit-hero__panel { max-width: 790px; padding: 1.2rem 0 1.2rem clamp(1.25rem, 3vw, 2.5rem); border-left: 5px solid var(--unit-secondary); }
.unit-hero__eyebrow { display: flex; align-items: center; gap: .75rem; letter-spacing: .18em; }
.unit-hero__eyebrow span { width: 32px; height: 1px; background: var(--unit-secondary); }
.unit-hero h1 { margin-top: .2rem; font-size: clamp(4rem, 9vw, 7.8rem); text-shadow: 0 5px 30px rgba(0,0,0,.18); }
.unit-hero__summary { max-width: 690px; font-size: clamp(1.06rem, 1.7vw, 1.32rem); }
.hero-scroll-link { display: inline-flex; align-items: center; min-height: 48px; margin-top: 1.2rem; gap: .9rem; color: #fff; font-size: .92rem; font-weight: 800; text-decoration: none; }
.hero-scroll-link span { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; }

.quick-links {
  overflow: hidden;
  margin-top: -3.25rem;
  border: 1px solid rgba(25,30,45,.06);
  border-radius: var(--radius-md);
  box-shadow: 0 22px 60px rgba(22,28,45,.16);
}
.quick-links a { min-height: 105px; padding: 1.2rem 1.5rem; border-color: #ecece8; transition: background 180ms ease, color 180ms ease, transform 180ms ease; }
.quick-links a:hover { transform: translateY(-2px); }
.quick-links__number { color: var(--unit-primary); font-family: var(--font-heading); font-size: 1.05rem !important; opacity: .55; }
.quick-links__label { flex: 1; font-size: 1.05rem; }
.quick-links__arrow { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; background: color-mix(in srgb, var(--unit-primary) 9%, white); font-size: 1rem !important; }
.quick-links a:hover .quick-links__number { color: var(--unit-secondary); opacity: 1; }
.quick-links a:hover .quick-links__arrow { color: var(--unit-primary); background: #fff; }

.content-section { position: relative; overflow: hidden; padding-block: clamp(5rem, 9vw, 8.5rem); }
.content-section--muted { background: var(--color-surface); }
.content-section--muted::before { position: absolute; top: -200px; right: -220px; width: 520px; height: 520px; border: 1px solid color-mix(in srgb, var(--unit-primary) 15%, transparent); border-radius: 50%; content: ""; }
.section-heading { position: relative; align-items: center; margin-bottom: clamp(2rem,4vw,3.2rem); border: 0; }
.section-heading::after { position: absolute; right: 0; bottom: -.75rem; left: 0; height: 1px; background: linear-gradient(90deg, var(--unit-primary) 0 80px, var(--color-border) 80px); content: ""; }
.section-heading__eyebrow, .page-hero__eyebrow, .footer-cta__eyebrow, .content-card__type { margin: 0 0 .45rem; color: var(--unit-primary); font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.section-heading h2 { margin: 0; }
.section-heading > a { padding: .2rem 0; text-decoration: none; }

.content-grid { gap: clamp(1.4rem, 2.4vw, 2.1rem); }
.content-card, .contact-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 28px rgba(22,28,45,.08);
  transition: box-shadow 220ms ease, transform 220ms ease;
}
.content-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-card); }
.content-card__media { aspect-ratio: 16 / 10; background: color-mix(in srgb, var(--unit-primary) 8%, #f2f1eb); }
.content-card__media::after { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(10,15,25,.25)); content: ""; opacity: 0; transition: opacity 220ms ease; }
.content-card:hover .content-card__media::after { opacity: 1; }
.content-card__placeholder { background: radial-gradient(circle at 85% 15%, rgba(255,255,255,.85), transparent 32%), linear-gradient(135deg, color-mix(in srgb, var(--unit-primary) 22%, white), #f4f2eb); }
.content-card__body { display: flex; flex: 1; flex-direction: column; padding: 1.55rem; }
.content-card__type { align-self: flex-start; padding: .3rem .6rem; border-radius: 999px; background: color-mix(in srgb, var(--unit-primary) 8%, white); font-size: .66rem; }
.content-card__body h3 { margin: .25rem 0 .7rem; font-size: clamp(1.4rem, 2vw, 1.75rem); }
.content-card__body p { line-height: 1.55; }
.content-card__meta { order: -1; margin-bottom: .55rem !important; }
.read-more { justify-content: space-between; margin-top: auto; padding-top: .75rem; text-decoration: none; }
.read-more__icon { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 50%; color: #fff; background: var(--unit-primary); transition: transform 180ms ease; }
.content-card:hover .read-more__icon { transform: rotate(45deg); }

.breadcrumbs { background: #f2f2ed; color: var(--color-muted); }
.breadcrumbs a { color: inherit; }
.page-hero { position: relative; overflow: hidden; color: #fff; background: linear-gradient(120deg, color-mix(in srgb, var(--unit-primary) 90%, #080b15), var(--unit-primary)); }
.page-hero::before { position: absolute; inset: 0; background: radial-gradient(circle at 85% 35%, rgba(255,255,255,.17), transparent 24%), repeating-linear-gradient(120deg, transparent 0 60px, rgba(255,255,255,.025) 60px 61px); content: ""; }
.page-hero__inner { position: relative; display: flex; min-height: 320px; align-items: center; justify-content: space-between; padding-block: 4rem 5rem; gap: 3rem; }
.page-hero h1 { max-width: 930px; margin: 0; color: #fff; font-size: clamp(3rem, 6vw, 5.4rem); }
.page-hero__eyebrow { color: var(--unit-secondary); }
.page-hero__mark { flex: 0 0 150px; width: 150px; height: 150px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; box-shadow: inset 0 0 0 28px rgba(255,255,255,.05); }
.archive-description { max-width: 700px; margin-top: 1rem; color: rgba(255,255,255,.85); }
.entry-stage { padding: 0 0 clamp(4rem,8vw,7rem); background: linear-gradient(#f2f2ed 0 100px, #fbfbf8 100px); }
.entry { padding: clamp(2rem,5vw,4.5rem); }
.entry--page { position: relative; width: min(calc(100% - 3rem), 1240px); max-width: none; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-subtle); }
.entry--single { position: relative; max-width: var(--reading); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-subtle); }
.entry-featured-image { overflow: hidden; margin: -1.5rem -1.5rem 2.5rem; border-radius: var(--radius-md); }
.entry-featured-image img { max-height: 600px; }
.entry-content { color: #353842; }
.entry-content > p:first-child { font-size: 1.08em; }
.entry-content h2 { margin-top: 1.5em; }
.entry-content h3 { margin-top: 1.35em; }
.entry-content blockquote { padding: 1.25rem 1.5rem; border-left: 4px solid var(--unit-primary); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: var(--color-warm); font-family: var(--font-heading); font-size: 1.25rem; }
.legacy-content-section { position: relative; padding-block: clamp(2.5rem,5vw,5rem); border-top: 1px solid var(--color-border); }
.legacy-content-section:first-child { padding-top: 0; border-top: 0; }
.legacy-content-section:last-child { padding-bottom: 0; }
.legacy-content-section.has-media { display: grid; grid-template-columns: minmax(280px,.88fr) minmax(0,1.35fr); align-items: start; gap: clamp(2rem,5vw,5.5rem); }
.legacy-content-section.has-media.media-only { display: block; }
.legacy-content-section.media-only .legacy-content-section__media { grid-template-columns: repeat(auto-fit,minmax(min(100%,320px),1fr)); }
.legacy-content-section.media-only .legacy-content-section__media img { width: 100%; max-height: 560px; object-fit: cover; }
.legacy-content-section.has-media:nth-child(even) { grid-template-columns: minmax(0,1.35fr) minmax(280px,.88fr); }
.legacy-content-section.has-media:nth-child(even) .legacy-content-section__media { order: 2; }
.legacy-content-section__media { display: grid; gap: 1rem; }
.legacy-content-section__media p { margin: 0; }
.legacy-content-section__media img { width: 100%; border-radius: 18px; box-shadow: 0 18px 45px rgba(20,25,40,.14); }
.legacy-content-section__media p:has(a + br + a),
.legacy-content-section__media p:has(img + br + a) { grid-template-columns: repeat(2,minmax(0,1fr)); }
.legacy-content-section__body > h2:first-child { margin-top: 0; font-size: clamp(2rem,4vw,3.45rem); }
.legacy-content-section__body > h2:first-child::after { display: block; width: 64px; height: 4px; margin-top: .75rem; border-radius: 4px; background: var(--unit-primary); content: ""; }
.legacy-content-section__body > p { max-width: 78ch; }
.legacy-content-section__body > ul { display: inline-grid; margin: .4rem .6rem .4rem 0; padding: 0; list-style: none; }
.legacy-content-section__body > ul a { display: inline-flex; min-height: 46px; align-items: center; padding: .65rem .9rem; border: 1px solid var(--color-border); border-radius: 10px; background: var(--color-surface); text-decoration: none; }
.legacy-content-section__body > h6 { display: inline-flex; margin: .45rem .6rem .2rem 0; padding: .55rem .8rem; border-radius: 8px; color: var(--unit-primary); background: color-mix(in srgb,var(--unit-primary) 8%,white); font: 800 .82rem/1.3 var(--font-body); }
@media (min-width: 981px) {
  .legacy-content-section:not(.has-media) .legacy-content-section__body { column-count: 2; column-gap: clamp(2.5rem,6vw,6rem); column-rule: 1px solid var(--color-border); }
  .legacy-content-section:not(.has-media) .legacy-content-section__body > h2,
  .legacy-content-section:not(.has-media) .legacy-content-section__body > h3 { column-span: all; }
  .legacy-content-section:not(.has-media) .legacy-content-section__body > p,
  .legacy-content-section:not(.has-media) .legacy-content-section__body > ul { break-inside: avoid; }
}
.archive-content { padding-block: clamp(4rem,7vw,7rem); }
.event-details { overflow: hidden; border: 0; border-radius: var(--radius-sm); background: var(--color-surface); }
.documents { border: 0; }
.documents h2 { padding-bottom: .5rem; border-bottom: 3px solid var(--unit-primary); }
.documents a { border: 0; border-radius: 10px; background: var(--color-surface); text-decoration: none; }
.kds-gallery__item { border-radius: var(--radius-sm); }

.footer-cta { color: #fff; background: var(--unit-primary); }
.footer-partners { padding-block: clamp(4rem, 7vw, 6.5rem); color: var(--color-text); background: #fff; }
.footer-partners__heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 2rem; }
.footer-partners__heading h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.25rem); }
.footer-partners__grid { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: .8rem; }
.footer-partners__grid a { display: grid; min-height: 100px; place-items: center; padding: 1rem; border: 1px solid var(--color-border); border-radius: 14px; background: #fff; transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease; }
.footer-partners__grid a:hover { border-color: color-mix(in srgb, var(--unit-primary) 35%, white); box-shadow: 0 10px 28px rgba(22,28,45,.1); transform: translateY(-3px); }
.footer-partners__grid img { width: 100%; max-width: 120px; max-height: 62px; object-fit: contain; }
.footer-cta__inner { display: flex; min-height: 190px; align-items: center; justify-content: space-between; gap: 2rem; }
.footer-cta__eyebrow { color: var(--unit-secondary); }
.footer-cta h2 { max-width: 650px; margin: 0; color: #fff; font-size: clamp(2rem,4vw,3.5rem); }
.footer-cta__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .75rem; }
.footer-cta__actions a { display: inline-flex; min-height: 52px; align-items: center; padding: .75rem 1.2rem; gap: .65rem; border-radius: 999px; font-weight: 800; text-decoration: none; }
.footer-cta__primary { color: var(--unit-primary) !important; background: #fff; }
.footer-cta__secondary { border: 1px solid rgba(255,255,255,.45); color: #fff !important; }
.site-footer { background: linear-gradient(145deg, color-mix(in srgb, var(--unit-primary) 82%, #11131c), color-mix(in srgb, var(--unit-primary) 48%, #11131c)); }
.site-footer__grid { padding-block: clamp(4rem,7vw,6rem) 3rem; }
.site-footer h3 { margin-bottom: 1rem; color: #fff; font-family: var(--font-body); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; }
.site-footer__identity { max-width: 360px; }
.site-footer__unit { display: inline-flex; padding: .25rem .65rem; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; color: #fff; font-size: .76rem; font-weight: 800; text-transform: uppercase; }
.footer-menu a { position: relative; text-decoration: none; opacity: .82; }
.footer-menu a::before { width: 0; margin-right: 0; color: var(--unit-secondary); content: "→"; opacity: 0; transition: width 180ms ease, margin 180ms ease, opacity 180ms ease; }
.footer-menu a:hover { opacity: 1; }
.footer-menu a:hover::before { width: 1rem; margin-right: .35rem; opacity: 1; }
.footer-units { display: flex; align-items: center; padding-block: 1.25rem; gap: .65rem; border-top: 1px solid rgba(255,255,255,.13); }
.footer-units > span:first-child { margin-right: auto; color: rgba(255,255,255,.58); font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.footer-units a, .footer-units .is-unavailable { padding: .4rem .8rem; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; color: #fff; font-size: .76rem; text-decoration: none; }
.footer-units a:hover { color: #171924; background: #fff; }
.footer-units .is-unavailable { opacity: .35; }
.site-footer__bottom-inner { display: flex; align-items: center; justify-content: space-between; }
.site-footer__bottom a { color: #fff; text-decoration: none; }

/* Visual system v3: wide editorial layouts ----------------------------- */
.page-hero.has-image { min-height: 430px; background-image: linear-gradient(90deg,color-mix(in srgb,var(--unit-primary) 88%,rgba(5,8,18,.9)) 0%,color-mix(in srgb,var(--unit-primary) 70%,rgba(5,8,18,.68)) 42%,rgba(5,8,18,.18) 100%),var(--page-hero-image); background-position: center; background-size: cover; }
.page-hero.has-image::before { background: linear-gradient(0deg,rgba(0,0,0,.2),transparent 50%),repeating-linear-gradient(120deg,transparent 0 75px,rgba(255,255,255,.025) 75px 76px); }
.page-hero.has-image .page-hero__mark { border-color: rgba(255,255,255,.5); backdrop-filter: blur(3px); }
.archive-content { width: min(calc(100% - 3rem),1400px); max-width: none; padding-block: clamp(3.5rem,7vw,7rem); }
.archive-intro { max-width: 940px; padding: 0 0 2.5rem 1.5rem; margin-bottom: 2.5rem; border-left: 5px solid var(--unit-primary); color: var(--color-muted); font-size: clamp(1.08rem,1.8vw,1.32rem); line-height: 1.7; }
.archive-content > .content-grid { align-items: stretch; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(1.25rem,2.2vw,2.25rem); }
.archive-content .content-card { min-height: 100%; }
.archive-content .content-card:first-child { grid-column: span 2; display: grid; grid-template-columns: 1.15fr 1fr; }
.archive-content .content-card:first-child .content-card__media { height: 100%; min-height: 390px; aspect-ratio: auto; }
.archive-content .content-card:first-child .content-card__body { justify-content: center; padding: clamp(2rem,4vw,3.5rem); }
.archive-content .content-card:first-child h3 { font-size: clamp(1.8rem,3vw,2.7rem); }
.content-card__media img { filter: saturate(.93) contrast(1.03); }
.content-card__body { position: relative; }
.content-card__body::before { position: absolute; top: 0; left: 1.55rem; width: 54px; height: 4px; border-radius: 4px; background: var(--unit-primary); content: ""; }
.content-card__type { margin-top: .35rem; }
.contact-card { position: relative; overflow: hidden; min-height: 100%; border: 1px solid color-mix(in srgb,var(--unit-primary) 10%,var(--color-border)); border-radius: 20px; }
.contact-card__photo { width: 100%; aspect-ratio: 4/4.5; object-fit: cover; object-position: center top; }
.contact-card__placeholder { display: grid; place-items: center; color: #fff; background: radial-gradient(circle at 70% 20%,rgba(255,255,255,.22),transparent 28%),linear-gradient(145deg,var(--unit-primary),color-mix(in srgb,var(--unit-primary) 55%,#171924)); }
.contact-card__placeholder span { font-family: var(--font-heading); font-size: clamp(4rem,8vw,7rem); opacity: .8; }
.contact-card__body { padding: 1.6rem; }
.contact-card__body h3 { margin: 0 0 .7rem; font-size: 1.55rem; }
.contact-card__body a { color: var(--unit-primary); font-weight: 700; text-underline-offset: 3px; }
.entry--single { width: min(calc(100% - 3rem),1100px); max-width: none; }
.entry--single .entry-content { font-size: 1.04rem; line-height: 1.8; }
.entry--single .entry-content > p:first-child { color: #30343e; font-size: 1.18rem; line-height: 1.75; }
.event-details { margin-bottom: 2.5rem; box-shadow: inset 0 4px 0 var(--unit-primary); }
.event-details dt { color: var(--unit-primary); letter-spacing: .1em; }
.event-details dd { margin-top: .25rem; font-family: var(--font-heading); font-size: 1.25rem; }
.documents { padding: 2rem; margin-top: 3rem; border-radius: 18px; background: var(--color-surface); }

/* Compact people directory -------------------------------------------- */
.staff-directory { width: min(calc(100% - 3rem), 1320px); }
.staff-directory__grid,
.archive-content > .content-grid--contacts { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.archive-content .content-grid--contacts .contact-card:first-child { grid-column: auto; display: flex; }
.contact-card { border-radius: 16px; box-shadow: 0 7px 22px rgba(22,28,45,.07); }
.contact-card__photo,
.staff-directory .contact-card__photo { width: 100%; height: auto; min-height: 0; aspect-ratio: 1 / 1; object-fit: cover; object-position: center top; }
.contact-card__body { padding: 1.15rem 1.2rem 1.3rem; }
.contact-card__body h3,
.staff-directory .contact-card__body h3 { margin-bottom: .45rem; font-size: 1.25rem; }
.contact-card__body p { margin: .22rem 0; font-size: .88rem; line-height: 1.45; overflow-wrap: anywhere; }
.contact-card__placeholder span { font-size: clamp(3rem, 6vw, 5rem); }

/* Structured legacy facts --------------------------------------------- */
.legacy-content-section__body.has-facts-grid { column-count: 1 !important; column-rule: 0 !important; }
.legacy-facts-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); margin-top: 2rem; gap: 1rem; }
.legacy-fact-card { min-height: 118px; padding: 1.2rem; border: 1px solid var(--color-border); border-radius: 14px; background: var(--color-surface); }
.legacy-fact-card h6 { padding: 0; margin: 0 0 .55rem; color: var(--unit-primary); background: none; font: 800 .74rem/1.35 var(--font-body); letter-spacing: .08em; text-transform: uppercase; }
.legacy-fact-card p { margin: 0; font-size: 1.02rem; line-height: 1.55; }
.legacy-fact-card a { color: inherit; text-underline-offset: 3px; }

/* Unit contact page ---------------------------------------------------- */
.contact-layout { display: grid; width: min(calc(100% - 3rem), 1320px); grid-template-columns: minmax(0, .9fr) minmax(440px, 1.1fr); align-items: start; padding-block: clamp(4rem, 7vw, 7rem); gap: clamp(2rem, 5vw, 5rem); }
.contact-panel { min-width: 0; }
.contact-panel h2 { margin: 0 0 1rem; font-size: clamp(2.25rem, 4vw, 3.5rem); }
.contact-panel__lead { max-width: 600px; color: var(--color-muted); font-size: 1.08rem; line-height: 1.7; }
.contact-details-grid { display: grid; margin-block: 2rem; gap: .75rem; }
.contact-detail { display: grid; grid-template-columns: 48px 1fr; align-items: center; padding: 1rem 1.1rem; gap: 1rem; border: 1px solid var(--color-border); border-radius: 14px; background: #fff; }
.contact-detail__icon { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 50%; color: #fff; background: var(--unit-primary); font-size: 1.1rem; font-weight: 800; }
.contact-detail h3 { margin: 0 0 .2rem; color: var(--color-muted); font: 800 .7rem/1.3 var(--font-body); letter-spacing: .1em; text-transform: uppercase; }
.contact-detail p { margin: 0; font-size: 1.04rem; }
.contact-detail a { color: var(--unit-primary); font-weight: 750; text-decoration: none; }
.contact-map { overflow: hidden; min-height: 280px; border-radius: 18px; box-shadow: var(--shadow-subtle); }
.contact-map iframe { display: block; width: 100%; height: 310px; border: 0; }
.contact-panel--form { padding: clamp(1.6rem, 4vw, 3rem); border-radius: 24px; background: #fff; box-shadow: var(--shadow-card); }
.kds-contact-form { display: grid; margin-top: 1.75rem; gap: 1rem; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; }
.form-field { display: grid; gap: .45rem; }
.form-field label { font-size: .84rem; font-weight: 800; }
.form-field input,
.form-field textarea { width: 100%; padding: .85rem 1rem; border: 1px solid #ccd0d7; border-radius: 10px; color: var(--color-text); background: #fbfbf8; font: inherit; }
.form-field input:focus,
.form-field textarea:focus { outline: 3px solid color-mix(in srgb,var(--unit-primary) 20%,transparent); border-color: var(--unit-primary); }
.form-consent { display: flex; align-items: flex-start; gap: .7rem; color: var(--color-muted); font-size: .86rem; line-height: 1.45; }
.form-consent input { flex: 0 0 auto; margin-top: .18rem; }
.kds-contact-form .button { justify-self: start; border: 0; cursor: pointer; }
.kds-honeypot { position: absolute !important; overflow: hidden; width: 1px; height: 1px; clip: rect(0,0,0,0); }
.form-notice { padding: .9rem 1rem; margin-top: 1rem; border-radius: 10px; font-weight: 700; }
.form-notice--success { color: #155e3b; background: #e7f7ef; }
.form-notice--error { color: #8a1c1c; background: #fdecec; }

/* More compact global footer ------------------------------------------ */
.footer-partners { padding-block: clamp(2.5rem, 4vw, 3.75rem); }
.footer-partners__heading { margin-bottom: 1.25rem; }
.footer-partners__heading h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.footer-partners__grid a { min-height: 78px; padding: .7rem; }
.footer-partners__grid img { max-height: 48px; }
.footer-cta__inner { min-height: 132px; padding-block: 1.6rem; }
.footer-cta h2 { font-size: clamp(1.75rem, 3vw, 2.7rem); }
.site-footer__grid { padding-block: 2.75rem 2rem; gap: 2.5rem; }
.site-footer__identity .custom-logo { max-width: 190px; }
.site-footer__identity p { margin-block: .5rem; }
.footer-menu { display: grid; gap: .38rem; }
.footer-menu a { font-size: .9rem; }
.footer-units { padding-block: .85rem; }
.site-footer__bottom-inner { min-height: 68px; gap: 1.25rem; }
.site-footer__bottom-inner > p { margin: 0; font-size: .78rem; }
.site-footer__legal { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .55rem 1rem; }
.site-footer__legal a { color: rgba(255,255,255,.84); font-size: .76rem; text-underline-offset: 3px; }
.site-footer__legal a:hover { color: #fff; text-decoration: underline; }

/* Compact, scannable CPT and news catalogues -------------------------- */
.archive-content > .content-grid--catalog:not(.content-grid--contacts) {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}
.archive-content .content-grid--catalog:not(.content-grid--contacts) .content-card,
.archive-content .content-grid--catalog:not(.content-grid--contacts) .content-card:first-child {
  display: flex;
  min-height: 0;
  grid-column: auto;
  grid-template-columns: none;
  border-radius: 16px;
}
.archive-content .content-grid--catalog:not(.content-grid--contacts) .content-card__media,
.archive-content .content-grid--catalog:not(.content-grid--contacts) .content-card:first-child .content-card__media {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 10;
}
.archive-content .content-grid--catalog:not(.content-grid--contacts) .content-card__body,
.archive-content .content-grid--catalog:not(.content-grid--contacts) .content-card:first-child .content-card__body {
  min-height: 228px;
  justify-content: flex-start;
  padding: 1.15rem 1.2rem 1.25rem;
}
.archive-content .content-grid--catalog:not(.content-grid--contacts) .content-card__body::before { left: 1.2rem; width: 44px; height: 3px; }
.archive-content .content-grid--catalog:not(.content-grid--contacts) .content-card h3,
.archive-content .content-grid--catalog:not(.content-grid--contacts) .content-card:first-child h3 {
  display: -webkit-box;
  overflow: hidden;
  min-height: 2.65em;
  margin: .2rem 0 .55rem;
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  line-height: 1.3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.archive-content .content-grid--catalog:not(.content-grid--contacts) .content-card__meta { margin-bottom: .35rem !important; font-size: .72rem !important; }
.archive-content .content-grid--catalog:not(.content-grid--contacts) .content-card__type { padding: .22rem .5rem; margin: .15rem 0 .3rem; font-size: .6rem; }
.archive-content .content-grid--catalog:not(.content-grid--contacts) .content-card__excerpt {
  display: -webkit-box;
  overflow: hidden;
  margin: 0 0 .7rem;
  color: var(--color-muted);
  font-size: .86rem;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.archive-content .content-grid--catalog:not(.content-grid--contacts) .read-more { min-height: 38px; padding-top: .45rem; font-size: .84rem; }
.archive-content .content-grid--catalog:not(.content-grid--contacts) .read-more__icon { width: 32px; height: 32px; }

/* Unit home pages: original content, renewed presentation ---------------- */
.unit-hero__institution {
	max-width: 760px;
	margin: .35rem 0 0;
	color: #fff;
	font: 700 clamp(1.2rem, 2.2vw, 1.75rem)/1.2 var(--font-heading);
}
.unit-hero__quote {
	max-width: 700px;
	margin: 1.35rem 0 0;
	padding: 0;
	border: 0;
	color: rgba(255,255,255,.93);
	font-size: clamp(1rem,1.55vw,1.2rem);
}
.unit-hero__quote p { margin: 0; }
.unit-hero__quote cite { display: block; margin-top: .4rem; color: var(--unit-secondary); font-size: .84em; font-style: normal; font-weight: 800; }
.home-welcome { padding-block: clamp(4.5rem,8vw,8rem); background: #fff; }
.home-welcome__layout { display: grid; grid-template-columns: minmax(280px,.82fr) minmax(0,1.18fr); align-items: start; gap: clamp(2.5rem,7vw,7.5rem); }
.home-welcome__heading h2 { max-width: 690px; margin: 0; font-size: clamp(2.4rem,5vw,4.7rem); }
.home-welcome__copy { padding: 1rem 0 1rem clamp(1.5rem,4vw,4rem); border-left: 1px solid var(--color-border); }
.home-welcome__copy p { max-width: 64ch; margin: 0; color: #444844; font-size: clamp(1.06rem,1.5vw,1.25rem); line-height: 1.85; }
.home-services { padding-block: clamp(4.5rem,8vw,8rem); background: var(--color-surface); }
.home-services__heading { margin-bottom: clamp(2rem,4vw,3.5rem); }
.home-feature-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); overflow: hidden; border: 1px solid var(--color-border); border-radius: 24px; background: #fff; box-shadow: 0 22px 60px rgba(24,30,45,.08); }
.home-feature { display: grid; min-height: 170px; grid-template-columns: auto 1fr auto; align-items: end; gap: 1rem; padding: 1.6rem; border-right: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); color: var(--color-text); text-decoration: none; transition: color 180ms ease, background 180ms ease; }
.home-feature:nth-child(3n) { border-right: 0; }
.home-feature:nth-last-child(-n+3) { border-bottom: 0; }
.home-feature__number { align-self: start; color: var(--unit-primary); font-family: var(--font-heading); opacity: .48; }
.home-feature > span:nth-child(2) { font: 700 clamp(1.15rem,1.8vw,1.45rem)/1.25 var(--font-heading); }
.home-feature i { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; background: color-mix(in srgb,var(--unit-primary) 10%,white); font-style: normal; }
.home-feature:hover, .home-feature:focus-visible { color: #fff; background: var(--unit-primary); }
.home-feature:hover .home-feature__number, .home-feature:focus-visible .home-feature__number { color: var(--unit-secondary); opacity: 1; }
.home-feature:hover i, .home-feature:focus-visible i { color: var(--unit-primary); background: #fff; }
.home-trust-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.25rem; margin-top: 1.25rem; }
.home-trust-grid a { position: relative; display: grid; min-height: 180px; align-content: end; padding: 2rem; overflow: hidden; border-radius: 20px; color: #fff; background: var(--unit-primary); text-decoration: none; }
.home-trust-grid a:last-child { background: color-mix(in srgb,var(--unit-primary) 78%,#111); }
.home-trust-grid small { margin-bottom: .35rem; color: var(--unit-secondary); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.home-trust-grid strong { font: 700 clamp(1.65rem,3vw,2.6rem)/1.12 var(--font-heading); }
.home-trust-grid span { position: absolute; right: 2rem; bottom: 2rem; font-size: 1.6rem; transition: transform 180ms ease; }
.home-trust-grid a:hover span { transform: translateX(6px); }
.home-feed__intro { max-width: 70ch; margin: .75rem 0 0; color: var(--color-muted); font-size: 1rem; }
.home-feed .section-heading > div { max-width: 850px; }

/* Legacy CPT editorial content ----------------------------------------- */
.single .entry--single { width: min(calc(100% - 3rem), 1320px); }
.single .entry-content > .legacy-content-section { padding-inline: clamp(.25rem,2vw,1.5rem); }
.single .legacy-content-section { padding-block: clamp(3rem,5.5vw,5.75rem); }
.single .legacy-content-section.has-media {
	grid-template-columns: minmax(300px,.82fr) minmax(0,1.35fr);
	align-items: center;
	gap: clamp(2.25rem,5.5vw,6.5rem);
}
.single .legacy-content-section.has-media:nth-child(even) { grid-template-columns: minmax(0,1.35fr) minmax(300px,.82fr); }
.single .legacy-content-section__media { align-self: stretch; align-content: center; }
.single .legacy-content-media { display: grid; min-height: 280px; margin: 0; place-items: center; overflow: hidden; border-radius: 22px; background: var(--color-surface); box-shadow: 0 22px 55px rgba(20,25,40,.14); }
.single .legacy-content-media a { display: block; width: 100%; }
.single .legacy-content-section__media img { display: block; width: 100%; max-height: 580px; object-fit: contain; border-radius: 0; box-shadow: none; }
.single .legacy-content-section__body { min-width: 0; }
.single .legacy-content-section__body > h2:first-child,
.single .legacy-content-section__body > h3:first-child,
.single .legacy-content-section__body > h4:first-child {
	max-width: 24ch;
	margin: 0 0 1.1rem;
	color: var(--unit-primary) !important;
	font: 700 clamp(2rem,3.5vw,3.25rem)/1.08 var(--font-heading);
	text-wrap: balance;
}
.single .legacy-content-section__body > h2:first-child::after,
.single .legacy-content-section__body > h3:first-child::after,
.single .legacy-content-section__body > h4:first-child::after { display: block; width: 62px; height: 4px; margin-top: .8rem; border-radius: 999px; background: var(--unit-primary); content: ""; }
.single .legacy-content-section__body h5 { max-width: 52ch; margin: 0 0 1.65rem; padding: .9rem 1.1rem; border-left: 4px solid var(--unit-secondary); color: color-mix(in srgb,var(--unit-primary) 88%,#111) !important; background: color-mix(in srgb,var(--unit-primary) 6%,white); font: 700 1.02rem/1.55 var(--font-body); }
.single .legacy-content-section__body > p { max-width: 78ch; font-size: 1.03rem; line-height: 1.82; }
.single .legacy-content-section__body > p + p { margin-top: 1.15rem; }
.single .legacy-content-section__body strong { color: color-mix(in srgb,var(--unit-primary) 88%,#111); }
.single .legacy-content-section__body table { width: 100% !important; height: auto !important; margin: 1.75rem 0; overflow: hidden; border: 0; border-radius: 16px; background: color-mix(in srgb,var(--unit-primary) 6%,white); box-shadow: inset 4px 0 0 var(--unit-primary); }
.single .legacy-content-section__body table td { height: auto !important; padding: 1.35rem 1.5rem; border: 0 !important; text-align: left !important; }
.single .legacy-content-section__body table p { margin: 0; white-space: pre-line; line-height: 1.75; }
.single .legacy-content-section__body ul,
.single .legacy-content-section__body ol { max-width: 76ch; padding-left: 1.35rem; }
.single .legacy-content-section__body li { margin-block: .5rem; padding-left: .35rem; }
.single .legacy-content-section__body p:has(> a:only-child) { display: flex; flex-wrap: wrap; gap: .75rem; max-width: none; }
.single .legacy-content-section__body p > a:only-child,
.single .legacy-content-section__body > a {
	display: inline-flex;
	min-height: 48px;
	align-items: center;
	gap: .6rem;
	padding: .7rem 1rem;
	border: 1px solid color-mix(in srgb,var(--unit-primary) 22%,white);
	border-radius: 10px;
	color: var(--unit-primary);
	background: color-mix(in srgb,var(--unit-primary) 6%,white);
	font-weight: 800;
	text-decoration: none;
}
.single .legacy-content-section__body p > a:only-child::after,
.single .legacy-content-section__body > a::after { content: "→"; }
.single .legacy-content-section__body p > a:only-child:hover,
.single .legacy-content-section__body > a:hover { color: #fff; background: var(--unit-primary); }
.single .legacy-content-section.media-only .legacy-content-section__media { grid-template-columns: repeat(auto-fit,minmax(min(100%,280px),1fr)); }

/* Download buttons ----------------------------------------------------- */
.documents ul { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); margin: 1.4rem 0 0; gap: .8rem; }
.documents li + li { margin-top: 0; }
.documents a {
  display: grid;
  min-height: 82px;
  grid-template-columns: 44px minmax(0,1fr) auto;
  align-items: center;
  padding: .85rem 1rem;
  gap: .85rem;
  border: 1px solid color-mix(in srgb,var(--unit-primary) 16%,var(--color-border));
  border-radius: 13px;
  color: var(--color-text);
  background: #fff;
  box-shadow: 0 4px 14px rgba(22,28,45,.055);
  text-decoration: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}
.documents a:hover { border-color: var(--unit-primary); color: var(--color-text); background: #fff; box-shadow: 0 10px 28px rgba(22,28,45,.12); transform: translateY(-2px); }
.documents__icon { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 11px; color: #fff; background: var(--unit-primary); font-size: 1.15rem; font-weight: 900; }
.documents__label { min-width: 0; color: var(--unit-primary); font-size: .94rem; font-weight: 800; line-height: 1.35; }
.documents__label small { display: block; margin-top: .25rem; color: var(--color-muted); font-size: .65rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.documents__action { display: inline-flex; align-items: center; gap: .45rem; color: var(--unit-primary); font-size: .76rem; font-weight: 850; white-space: nowrap; }
.documents__action > span { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; color: #fff; background: var(--unit-primary); }
.documents a:hover .documents__action > span { transform: translateX(2px); }

/* Unit landing refresh — preserves every existing image and content field. */
.unit-home { overflow: clip; background: #fbfaf7; }
.unit-home .unit-hero { min-height: min(780px,78vh); display: grid; align-content: center; background-position: center; background-size: cover; }
.unit-home .unit-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(90deg,rgba(13,16,22,.86) 0%,rgba(13,16,22,.62) 42%,rgba(13,16,22,.13) 78%),linear-gradient(0deg,rgba(8,10,14,.35),transparent 48%);
}
.unit-home .unit-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0; opacity: .12; pointer-events: none;
  background-image: repeating-linear-gradient(115deg,transparent 0,transparent 108px,rgba(255,255,255,.28) 109px,transparent 110px);
}
.unit-home .unit-hero__content { position: relative; z-index: 1; padding-block: clamp(4rem,7vw,6.5rem); }
.unit-home .unit-hero__panel { max-width: 860px; padding: 0; border-left: 0; }
.unit-home .unit-hero__eyebrow { margin-bottom: 1.35rem; color: #fff; font-size: .76rem; font-weight: 850; letter-spacing: .2em; }
.unit-home .unit-hero__eyebrow span { width: 48px; height: 2px; background: var(--unit-secondary); }
.unit-home .unit-hero__institution { margin: 0 0 .35rem; color: rgba(255,255,255,.78); font-family: var(--font-body); font-size: clamp(1rem,1.6vw,1.3rem); font-weight: 650; }
.unit-home .unit-hero h1 { max-width: 980px; margin: 0; color: #fff; font-size: clamp(4rem,8vw,7.4rem); line-height: .96; letter-spacing: -.045em; text-wrap: balance; text-shadow: 0 6px 30px rgba(0,0,0,.18); }
.unit-home .unit-hero__quote { max-width: 680px; margin-top: 2rem; padding: 1.15rem 1.4rem; border-left: 3px solid var(--unit-secondary); color: rgba(255,255,255,.94); background: rgba(7,10,16,.22); backdrop-filter: blur(7px); font-size: clamp(1rem,1.3vw,1.17rem); }
.unit-home .hero-scroll-link { display: inline-flex; align-items: center; gap: .9rem; margin-top: 1.8rem; padding: .7rem 0; color: #fff; font-weight: 800; text-decoration: none; }
.unit-home .hero-scroll-link span { display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; transition: transform 180ms ease,background 180ms ease; }
.unit-home .hero-scroll-link:hover span { color: var(--unit-primary); background: #fff; transform: translateY(4px); }
.unit-home .home-welcome { position: relative; padding-block: clamp(3.5rem,5vw,5.5rem); background: #fbfaf7; }
.unit-home .home-welcome::after { content: ""; position: absolute; top: 12%; right: -160px; width: 330px; height: 330px; border: 1px solid color-mix(in srgb,var(--unit-primary) 18%,transparent); border-radius: 50%; }
.unit-home .home-welcome__layout { position: relative; z-index: 1; grid-template-columns: minmax(320px,.9fr) minmax(0,1.1fr); gap: clamp(2.5rem,5vw,5rem); }
.unit-home .home-welcome__heading { position: relative; padding-top: 1.3rem; }
.unit-home .home-welcome__heading::before { content: ""; position: absolute; top: 0; left: 0; width: 74px; height: 4px; background: var(--unit-primary); }
.unit-home .home-welcome__heading h2 { font-size: clamp(2.7rem,5vw,5rem); line-height: 1.03; letter-spacing: -.035em; text-wrap: balance; }
.unit-home .home-welcome__copy { padding: .6rem 0 .6rem clamp(2rem,5vw,5rem); border-left-color: color-mix(in srgb,var(--unit-primary) 30%,#ddd); }
.unit-home .home-welcome__copy p { color: #3e413e; font-size: clamp(1.08rem,1.5vw,1.3rem); line-height: 1.86; }
.unit-home .home-services { padding-block: clamp(3.5rem,5vw,5.5rem); background: #fff; }
.unit-home .home-services__heading { margin-bottom: clamp(1.8rem,3vw,2.8rem); padding-bottom: 1.2rem; border-bottom: 1px solid var(--color-border); }
.unit-home .home-services__heading h2 { font-size: clamp(2.8rem,5vw,4.8rem); line-height: 1; letter-spacing: -.035em; }
.unit-home .home-feature-grid { grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 3.5rem; overflow: visible; border: 0; border-top: 1px solid var(--color-border); border-radius: 0; box-shadow: none; }
.unit-home .home-feature { min-height: 126px; grid-template-columns: 32px 1fr 42px; align-items: center; padding: 1.35rem .25rem; border: 0; border-bottom: 1px solid var(--color-border); color: var(--color-text); background: transparent; }
.unit-home .home-feature:nth-child(3n),.unit-home .home-feature:nth-last-child(-n+3) { border-right: 0; border-bottom: 1px solid var(--color-border); }
.unit-home .home-feature__number { align-self: center; color: var(--unit-primary); font-family: var(--font-body); font-size: .7rem; font-weight: 850; opacity: .62; }
.unit-home .home-feature > span:nth-child(2) { font: 700 clamp(1.2rem,1.8vw,1.55rem)/1.23 var(--font-heading); }
.unit-home .home-feature i { width: 42px; height: 42px; border: 1px solid color-mix(in srgb,var(--unit-primary) 25%,#ddd); color: var(--unit-primary); background: transparent; transition: transform 180ms ease,background 180ms ease,color 180ms ease; }
.unit-home .home-feature:hover,.unit-home .home-feature:focus-visible { color: var(--unit-primary); background: color-mix(in srgb,var(--unit-primary) 4%,white); }
.unit-home .home-feature:hover .home-feature__number,.unit-home .home-feature:focus-visible .home-feature__number { color: var(--unit-primary); }
.unit-home .home-feature:hover i,.unit-home .home-feature:focus-visible i { color: #fff; background: var(--unit-primary); transform: translate(3px,-3px); }
.unit-home .home-trust-grid { gap: 1.25rem; margin-top: 2rem; }
.unit-home .home-trust-grid a { min-height: 180px; padding: 2rem; border-radius: 4px; }
.unit-home .home-trust-grid a::before { content: ""; position: absolute; top: -75px; right: -55px; width: 195px; height: 195px; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; }
.unit-home .home-trust-grid a:last-child { color: var(--color-text); background: color-mix(in srgb,var(--unit-secondary) 38%,#f5f2e9); }
.unit-home .home-trust-grid a:last-child small { color: var(--unit-primary); }
.unit-home .home-feed { padding-block: clamp(3.5rem,5vw,5rem); }
.unit-home .home-feed .section-heading { padding-bottom: 1.5rem; border-bottom: 1px solid var(--color-border); }

/* Clearly separate news from events on unit landing pages. */
.unit-home .home-feed--post { background: #fff; }
.unit-home .home-feed--post .content-card { border-top: 4px solid var(--unit-primary); }
.unit-home .home-feed--dogodki { background: color-mix(in srgb,var(--unit-primary) 7%,#f5f3ed); }
.unit-home .home-feed--dogodki::before { width: 440px; height: 440px; border-color: color-mix(in srgb,var(--unit-primary) 22%,transparent); }
.unit-home .home-feed--dogodki .section-heading { border-bottom-color: color-mix(in srgb,var(--unit-primary) 22%,var(--color-border)); }
.unit-home .home-feed--dogodki .section-heading__eyebrow { display: inline-flex; padding: .4rem .65rem; border-radius: 3px; color: #fff; background: var(--unit-primary); }
.unit-home .home-feed--dogodki .content-card { border: 1px solid color-mix(in srgb,var(--unit-primary) 20%,var(--color-border)); border-radius: 4px; box-shadow: 0 8px 22px rgba(20,25,40,.06); }
.unit-home .home-feed--dogodki .content-card__type { color: #fff; background: var(--unit-primary); }
.unit-home .home-feed--dogodki .read-more__icon { border-radius: 3px; }

/* Editorial articles use one reading column; legacy Elementor columns are presentation only. */
.single-post .legacy-content-section:not(.has-media) .legacy-content-section__body { max-width: 82ch; margin-inline: auto; column-count: 1; column-rule: 0; }
.single-post .legacy-content-section__body > p { max-width: 82ch; }

/* Never enlarge a small legacy article image beyond its real dimensions. */
.single-post .legacy-content-section__media img,
.single-post .legacy-content-section.media-only .legacy-content-section__media img { width: auto; max-width: 100%; height: auto; max-height: 620px; margin-inline: auto; object-fit: contain; }
