:root {
  --page-max: 1600px;
  --page-gutter: clamp(20px, 2.5vw, 32px);
  --page-inset: max(var(--page-gutter), calc((100vw - var(--page-max)) / 2));
  --space-2xs: 8px;
  --space-xs: 12px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 32px;
  --space-xl: 48px;
  --space-2xl: 64px;
  --section-y: var(--space-xl);
  --logo-width: 260px;
  --logo-col: calc(var(--logo-width) + 20px);
  --header-bg: #80c8d1;
  --header-deep: #6fb8c3;
  --text-main: #ffffff;
  --text-soft: rgba(255, 255, 255, 0.96);
  --overlay-dark: rgba(9, 32, 39, 0.84);
  --overlay-soft: rgba(9, 32, 39, 0.8);
  --overlay-hover: rgba(9, 32, 39, 0.7);
  --border-tone: rgba(8, 44, 51, 0.55);
  --focus: #0f6f81;
  --btn-brand-bg: #5faec7;
  --btn-brand-bg-hover: #4d9db6;
  --btn-brand-text: #ffffff;
  --card-elderly: #2a6b4a;
  --card-elderly-hover: #235c3f;
  --card-family: #007ea9;
  --card-family-hover: #006d92;
  --card-youth: #7f55a2;
  --card-youth-hover: #6e4890;
}

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

html,
body {
  margin: 0;
  padding: 0;
  font-family: "IBM Plex Sans", sans-serif;
  color: #102126;
  background: #e8f3f5;
  overflow-x: clip;
}

html.font-scale-small {
  font-size: 15px;
}

html.font-scale-large {
  font-size: 18px;
}

html.high-contrast {
  filter: contrast(1.32) saturate(0.85);
}

html.high-contrast body {
  background: #ffffff;
  color: #0b1a20;
}

html.high-contrast .topbar {
  background: #2c6f7b;
}

html.high-contrast .info-page {
  background: #f4fbfd;
}

html.high-contrast .info-page__box,
html.high-contrast .news-card,
html.high-contrast .contact-panel,
html.high-contrast .meist-sidebar,
html.high-contrast .eakad-sidebar,
html.high-contrast .news-sidebar {
  background: #ffffff;
  border-color: #1d5f6d !important;
}

html.high-contrast .main-nav a,
html.high-contrast .news-card h2,
html.high-contrast .info-page__box h1,
html.high-contrast .info-page__box h2 {
  color: #0b2b33;
}

html.high-contrast .site-footer {
  background: #08131a;
  color: #f2fbff;
}

html.high-contrast .site-footer .footer-block h2,
html.high-contrast .site-footer .footer-list li,
html.high-contrast .site-footer .footer-list a {
  color: #f2fbff;
}

html.high-contrast .site-footer .footer-list a:hover,
html.high-contrast .site-footer .footer-list a:focus-visible {
  color: #ffffff;
  border-bottom-color: rgba(255, 255, 255, 0.95);
}

html.high-contrast .search,
html.high-contrast .search input,
html.high-contrast .contact-form input,
html.high-contrast .contact-form textarea {
  border-color: #1d5f6d !important;
  color: #0b1a20;
  background: #ffffff;
}

html.high-contrast .btn--brand {
  background: #2b7280;
  color: #ffffff;
}

a {
  color: inherit;
}

.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;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #3b97a5;
  border-bottom: 0;
  backdrop-filter: blur(8px);
  box-shadow: none;
}

.topbar__inner {
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 10px var(--page-gutter);
  min-height: 100px;
  display: grid;
  grid-template-columns: var(--logo-col) 1fr;
  align-items: center;
  gap: var(--space-sm);
}

.brand img {
  width: var(--logo-width);
  height: auto;
  display: block;
}

.topbar__right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-sm);
}

.main-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: clamp(14px, 2vw, 26px);
  padding: 0;
}

.main-nav a {
  color: var(--text-main);
  text-decoration: none;
  font-size: clamp(1rem, 1.08vw, 1.16rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
  padding: 4px 6px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
  position: relative;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  border-bottom-color: rgba(255, 255, 255, 0.88);
  color: #ffffff;
}

.main-nav a[aria-current="page"] {
  border-bottom-color: rgba(255, 255, 255, 0.96);
  color: #ffffff;
  font-weight: 800;
}

.main-nav a:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -10px;
  top: 50%;
  width: 1px;
  height: 12px;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.4);
}

.topbar__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
}

.font-switcher {
  display: flex;
  gap: 4px;
}

.font-switcher button,
.search button {
  border: 1px solid var(--border-tone);
  background: rgba(238, 251, 252, 0.74);
  color: #0f3a44;
  min-width: 30px;
  height: 28px;
  font-weight: 800;
  cursor: pointer;
  font-size: 0.75rem;
}

.search {
  display: grid;
  grid-template-columns: 1fr 34px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(248, 254, 255, 0.32);
  backdrop-filter: blur(6px);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.search:hover {
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(248, 254, 255, 0.42);
}

.search:focus-within {
  border-color: rgba(255, 255, 255, 0.78);
  background: rgba(248, 254, 255, 0.5);
}

.search input {
  width: 128px;
  height: 34px;
  border: 0;
  padding: 0 12px;
  outline: none;
  background: transparent;
  font-size: 0.96rem;
  color: #123f49;
  transition: width 0.24s ease;
}

.search input::placeholder {
  color: rgba(40, 90, 101, 0.7);
}

.search:focus-within input {
  width: 210px;
}

.search button {
  min-width: 34px;
  height: 34px;
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.2);
  position: relative;
  color: transparent;
  font-size: 0;
}

.search button::before {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border: 1.8px solid #2a6774;
  border-radius: 50%;
  top: 9px;
  left: 10px;
}

.search button::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 1.8px;
  background: #2a6774;
  border-radius: 2px;
  transform: rotate(45deg);
  top: 18px;
  left: 18px;
}

button:focus-visible,
input:focus-visible,
a:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.home-banner {
  background: #102126;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  border-bottom: 3px solid #123f49;
}

.home-banner__carousel {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
}

.home-banner__carousel:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: -2px;
}

.home-banner__viewport {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  width: 100%;
  min-height: clamp(420px, 44vw, 560px);
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.home-banner__viewport::-webkit-scrollbar {
  display: none;
}

.home-banner__slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  min-height: clamp(420px, 44vw, 560px);
  overflow: hidden;
}

.home-banner__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.home-banner__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(8, 32, 38, 0.88) 0%,
    rgba(8, 32, 38, 0.62) 38%,
    rgba(8, 32, 38, 0.28) 62%,
    rgba(8, 32, 38, 0.08) 100%
  );
  pointer-events: none;
}

.home-banner__content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: inherit;
  padding:
    var(--space-xl)
    var(--page-inset)
    calc(var(--space-xl) + 52px);
}

.home-banner__copy {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  max-width: 36rem;
  color: #ffffff;
}

.home-banner__eyebrow {
  margin: 0;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.home-banner__title {
  margin: 0;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 16ch;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}

.home-banner__text {
  margin: 0;
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.94);
  max-width: 42ch;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}

.home-banner__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-top: var(--space-xs);
  padding: 12px 22px;
  background: #3b97a5;
  border: 2px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.home-banner__cta:hover,
.home-banner__cta:focus-visible {
  background: #2f8794;
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-1px);
}

.home-banner__controls {
  position: absolute;
  right: var(--page-inset);
  bottom: var(--space-md);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.home-banner__counter {
  margin: 0;
  min-width: 3.4rem;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #123f49;
  background: rgba(242, 246, 245, 0.94);
  padding: var(--space-xs) var(--space-sm);
  border: 1px solid rgba(18, 63, 73, 0.22);
}

.home-banner__arrow {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(18, 63, 73, 0.28);
  border-radius: 0;
  background: rgba(242, 246, 245, 0.94);
  color: #123f49;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.home-banner__arrow svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-banner__arrow:hover,
.home-banner__arrow:focus-visible {
  background: #123f49;
  border-color: #123f49;
  color: #ffffff;
}

@media (max-width: 900px) {
  .home-banner__viewport,
  .home-banner__slide {
    min-height: clamp(380px, 62vw, 480px);
  }

  .home-banner__content {
    align-items: flex-end;
    padding:
      var(--space-lg)
      var(--page-gutter)
      calc(var(--space-lg) + 52px);
  }

  .home-banner__copy {
    max-width: none;
  }

  .home-banner__title {
    max-width: none;
  }

  .home-banner__controls {
    right: var(--page-gutter);
  }
}

@media (max-width: 520px) {
  .home-banner__viewport,
  .home-banner__slide {
    min-height: 420px;
  }

  .home-banner__shade {
    background: linear-gradient(
      180deg,
      rgba(8, 32, 38, 0.35) 0%,
      rgba(8, 32, 38, 0.78) 55%,
      rgba(8, 32, 38, 0.92) 100%
    );
  }
}

.home-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  background: #e8f3f5;
}

.card {
  position: relative;
  display: flex;
  align-items: stretch;
  min-height: 220px;
  padding: var(--space-lg);
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  transition: background-color 0.25s ease;
}

.card:last-child {
  border-right: 0;
}

.card--elderly {
  background: var(--card-elderly);
}

.card--family {
  background: var(--card-family);
}

.card--youth {
  background: var(--card-youth);
}

.card--elderly:hover,
.card--elderly:focus-visible {
  background: var(--card-elderly-hover);
}

.card--family:hover,
.card--family:focus-visible {
  background: var(--card-family-hover);
}

.card--youth:hover,
.card--youth:focus-visible {
  background: var(--card-youth-hover);
}

.card__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  color: var(--text-main);
}

.eyebrow {
  margin: 0 0 var(--space-xs);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.9);
}

.card h2 {
  margin: 0 0 var(--space-xs);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
}

.card p {
  margin: 0 0 var(--space-sm);
  color: var(--text-soft);
  font-size: clamp(0.98rem, 1.05vw, 1.08rem);
  line-height: 1.45;
  max-width: 30ch;
  flex-grow: 1;
}

.card a {
  display: inline-block;
  margin-top: var(--space-2xs);
  font-size: clamp(1rem, 1.1vw, 1.35rem);
  font-weight: 700;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.card--link {
  text-decoration: none;
  color: inherit;
}

.home-events {
  background: linear-gradient(180deg, #edf5f7 0%, #f5fbfc 100%);
  border-top: 1px solid rgba(20, 79, 94, 0.14);
  border-bottom: 1px solid rgba(20, 79, 94, 0.08);
}

.home-events__inner {
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: var(--section-y) var(--page-gutter);
}

.home-events__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.home-events__header h2 {
  margin: 0;
  font-size: clamp(1.55rem, 2.6vw, 2rem);
  color: #124b58;
  letter-spacing: -0.01em;
  line-height: 1.15;
  position: relative;
  padding-bottom: var(--space-2xs);
}

.home-events__header h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 42px;
  height: 2px;
  border-radius: 999px;
  background: rgba(18, 75, 88, 0.55);
}

.home-events__all {
  font-weight: 700;
  color: #14556a;
  text-decoration: none;
  border-bottom: 1px solid rgba(20, 85, 106, 0.35);
}

.home-events__all:hover,
.home-events__all:focus-visible {
  border-bottom-color: rgba(20, 85, 106, 0.75);
}

.home-events__list {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-md);
}

.home-event {
  display: block;
  background: linear-gradient(180deg, #ffffff 0%, #fbfeff 100%);
  border: 1px solid rgba(20, 79, 94, 0.14);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  grid-column: span 4;
  min-height: 100%;
  transition: border-color 0.25s ease, background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.home-event:hover,
.home-event:focus-visible {
  border-color: rgba(15, 111, 129, 0.38);
  background: #f9fdfe;
}

.home-event--featured {
  grid-column: span 4;
}

.home-event__poster {
  position: relative;
}

.home-event__poster::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 34%;
  background: linear-gradient(180deg, rgba(12, 45, 54, 0) 0%, rgba(12, 45, 54, 0.28) 100%);
}

.home-event img {
  width: 100%;
  height: 218px;
  object-fit: cover;
  display: block;
}

.home-event__date-badge {
  position: absolute;
  top: var(--space-xs);
  left: var(--space-xs);
  z-index: 2;
  min-width: 56px;
  padding: var(--space-2xs) var(--space-2xs) var(--space-xs);
  border-radius: 12px;
  background: rgba(8, 41, 50, 0.92);
  color: #ffffff;
  text-align: center;
  line-height: 1;
}

.home-event__date-badge strong {
  display: block;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.home-event__date-badge span {
  display: block;
  margin-top: 3px;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.home-event__content {
  padding: var(--space-sm);
}

.home-event__meta {
  margin: 0 0 var(--space-2xs);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  color: #1f5f6f;
  font-weight: 700;
  background: rgba(197, 231, 238, 0.55);
  border: 1px solid rgba(31, 95, 111, 0.18);
}

.home-event__meta::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #1f5f6f;
}

.home-event h3 {
  margin: 0 0 var(--space-2xs);
  font-size: 1.08rem;
  color: #103f4b;
  line-height: 1.34;
  letter-spacing: -0.01em;
}

.home-event__excerpt {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #275c69;
}

.home-event__cta {
  display: inline-block;
  margin-top: var(--space-xs);
  font-size: 0.94rem;
  font-weight: 700;
  color: #125a6d;
  text-decoration: none;
}

.home-event__cta::after {
  content: "";
  display: block;
  margin-top: 4px;
  width: 0;
  height: 1px;
  background: rgba(18, 90, 109, 0.6);
  transition: width 0.2s ease;
}

.home-event:hover .home-event__cta::after,
.home-event:focus-visible .home-event__cta::after {
  width: 100%;
}

.card__cta {
  display: inline-block;
  margin-top: 6px;
  font-size: clamp(1.05rem, 1.06vw, 1.24rem);
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.25s ease;
}

.card:hover .card__cta,
.card:focus-visible .card__cta {
  transform: translateX(4px);
}

.site-footer {
  background: #3b97a5;
  color: rgba(245, 251, 252, 0.94);
}

.site-footer__grid {
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: var(--space-md);
  padding: var(--section-y) var(--page-gutter);
}

.footer-block h2 {
  margin: 0 0 var(--space-xs);
  color: #ffffff;
  font-size: 1.1rem;
  letter-spacing: 0.01em;
}

.footer-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-list li {
  margin: 0 0 var(--space-2xs);
  line-height: 1.45;
  font-size: 0.96rem;
  color: rgba(240, 248, 249, 0.9);
}

.footer-list a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
  color: rgba(250, 254, 255, 0.96);
}

.footer-list a:hover,
.footer-list a:focus-visible {
  border-bottom-color: rgba(255, 255, 255, 0.78);
}

.site-footer__legal {
  display: none;
}

.site-footer__legal p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(240, 248, 249, 0.68);
}

.a11y-fab {
  position: fixed;
  right: 18px;
  top: 10px;
  bottom: auto;
  transform: none;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.a11y-fab button {
  border: 0;
  background: rgba(248, 254, 255, 0.5);
  color: #1d4f5d;
  width: 34px;
  min-width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-weight: 800;
  font-size: 0.68rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.a11y-fab button:hover,
.a11y-fab button:focus-visible {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.76);
}

.a11y-fab button.is-active {
  background: rgba(255, 255, 255, 0.92);
}

.info-page {
  min-height: auto;
  background:
    radial-gradient(1200px 520px at 8% -8%, rgba(129, 215, 196, 0.2), rgba(129, 215, 196, 0)),
    linear-gradient(180deg, #eef6f7 0%, #f6fbfc 52%, #edf5f6 100%);
  padding: 56px 18px 72px;
}

.info-page__box {
  max-width: 920px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid rgba(16, 37, 43, 0.1);
  padding: 40px 34px;
}

.info-page__box h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 3.6vw, 3rem);
  letter-spacing: -0.02em;
}

.info-page__box p {
  margin: 0 0 14px;
  line-height: 1.6;
}

.info-page__back {
  display: inline-block;
  margin-top: 10px;
  font-weight: 700;
}

.eakad-page {
  padding-top: 24px;
}


.eakad-layout {
  max-width: 1600px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.meist-page {
  padding-top: 24px;
}

.meist-layout {
  max-width: 1600px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.meist-sidebar {
  position: sticky;
  top: 122px;
  align-self: start;
  background: #f7fcfb;
  border: 1px solid rgba(56, 124, 140, 0.22);
  border-radius: 14px;
  padding: 24px 20px;
}

.meist-sidebar h2 {
  margin: 0 0 18px;
  font-size: 1.45rem;
  letter-spacing: -0.01em;
  color: #123f4b;
}

.meist-submenu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.meist-submenu li + li {
  margin-top: 6px;
}

.meist-submenu a {
  display: block;
  padding: 13px 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.03rem;
  line-height: 1.35;
  color: #1c4f5c;
  border-radius: 8px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.meist-submenu a:hover,
.meist-submenu a:focus-visible {
  background: rgba(129, 215, 196, 0.14);
  color: #0f6f81;
}

.meist-submenu a[aria-current="page"] {
  background: rgba(129, 215, 196, 0.34);
  font-weight: 800;
  color: #124b58;
}

.meist-submenu li:has(> a[href="noortele-linnalaagrid.html"]) {
  display: none;
}

.news-layout {
  max-width: 1600px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

.news-sidebar {
  position: sticky;
  top: 122px;
  align-self: start;
  background: #f7fcfb;
  border: 1px solid rgba(56, 124, 140, 0.22);
  border-radius: 14px;
  padding: 20px 18px;
}

.news-sidebar h2 {
  margin: 0 0 12px;
  font-size: 1.2rem;
  color: #123f4b;
}

.news-sidebar__section-title {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(56, 124, 140, 0.24);
}

.news-sidebar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.news-sidebar li + li {
  margin-top: 0;
}

.news-sidebar a {
  display: block;
  padding: 10px 12px;
  color: #1c4f5c;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid rgba(56, 124, 140, 0.2);
  border-radius: 8px;
}

.news-sidebar a:hover,
.news-sidebar a:focus-visible {
  border-color: rgba(34, 108, 126, 0.4);
  color: #0f6f81;
}

.news-content h1 {
  margin: 0 0 8px;
}

.news-intro {
  margin: 0 0 22px;
  max-width: 62ch;
  color: #275c69;
  font-size: 1.02rem;
}

.events-page {
  max-width: 1240px;
}

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

@media (max-width: 1100px) {
  .events-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .events-board {
    grid-template-columns: 1fr;
  }
}

.event-card {
  background: linear-gradient(180deg, #ffffff 0%, #fbfeff 100%);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(20, 79, 94, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.event-card:hover,
.event-card:focus-within {
  border-color: rgba(15, 111, 129, 0.45);
  background: #f7fcfd;
}

.event-card:hover .event-card__poster-wrap img,
.event-card:focus-within .event-card__poster-wrap img {
  filter: saturate(1.05);
}

.event-card:hover .news-card__cta,
.event-card:focus-within .news-card__cta {
  color: #0f6f81;
  text-decoration: none;
}

.event-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
  height: 100%;
}

.event-card__poster-wrap {
  position: relative;
  background: #d9ecef;
}

.event-card__poster-wrap::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 28%;
  background: linear-gradient(180deg, rgba(9, 32, 39, 0) 0%, rgba(9, 32, 39, 0.24) 100%);
}

.event-card__poster-wrap img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.event-card__time-badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #ffffff;
  background: rgba(10, 54, 64, 0.86);
}

.event-card__body {
  padding: 18px 20px 20px;
  display: grid;
  gap: 9px;
  align-content: start;
}

.event-card__audience {
  display: inline-block;
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  margin: 0;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
  color: #0f6f81;
  background: rgba(232, 249, 246, 0.9);
  border: 1px solid rgba(15, 111, 129, 0.26);
  backdrop-filter: blur(3px);
}

.event-card__audience--elderly {
  color: #5b3f92;
  background: rgba(241, 235, 252, 0.9);
  border-color: rgba(91, 63, 146, 0.3);
}

.event-card h2 {
  margin: 0;
  font-size: 1.12rem;
  letter-spacing: -0.01em;
  line-height: 1.35;
  color: #103f4b;
}

.event-card p {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.58;
  color: #275c69;
}

.events-page .news-card__cta {
  margin-top: 2px;
  justify-self: start;
  text-decoration: none;
}

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

.news-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 0;
  border: 0;
  outline: 2px solid rgba(20, 79, 94, 0.22);
  outline-offset: -2px;
  overflow: hidden;
  grid-column: span 6;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.news-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
  height: 100%;
}

.news-card:hover,
.news-card:focus-within {
  outline-color: rgba(17, 92, 109, 0.42);
}

.news-card--featured {
  grid-column: span 12;
  display: grid;
  grid-template-columns: minmax(320px, 1.2fr) minmax(0, 1fr);
  align-items: stretch;
}

.news-card--featured .news-card__link {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(320px, 1.2fr) minmax(0, 1fr);
  align-items: stretch;
}

.news-card--featured img {
  height: 100%;
  min-height: 290px;
}

.news-card img {
  width: 100%;
  margin: 0;
  height: 170px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.news-card__placeholder {
  width: 100%;
  height: 170px;
  background: linear-gradient(135deg, #b7dce2, #8fc6d0);
}

.news-card__placeholder--teal {
  background: linear-gradient(135deg, #9fd6d1, #6dbab2);
}

.news-card__placeholder--violet {
  background: linear-gradient(135deg, #c7c0ea, #9b91d4);
}

.news-card__body {
  padding: 14px 14px 16px;
}

.news-card__meta {
  margin: 0 0 8px;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4a7c89;
  font-weight: 700;
}

.news-card h2 {
  margin: 0 0 10px;
  font-size: 1.08rem;
  line-height: 1.35;
  color: #103f4b;
}

.news-card p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.6;
}

.news-card__cta {
  display: inline-block;
  margin-top: 12px;
  font-weight: 700;
  color: #14556a;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.news-article {
  max-width: 980px;
  margin: 0 auto;
}

.news-article__hero {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  margin: 0 0 20px;
  background: #d9ecef;
}

.news-article__hero img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  display: block;
}

.news-article__meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 14px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: #1d5d6d;
  font-weight: 800;
  background: linear-gradient(180deg, rgba(201, 234, 240, 0.7), rgba(175, 223, 233, 0.45));
  border: 1px solid rgba(29, 93, 109, 0.18);
}

.news-article__lead {
  margin: 0 0 18px;
  font-size: 1.08rem;
  line-height: 1.7;
  color: #1d4f5d;
}

.news-article__section-title {
  margin: 24px 0 10px;
  font-size: 1.25rem;
  color: #164f5c;
}

.news-article__back {
  display: inline-block;
  margin-top: 22px;
  font-weight: 700;
  color: #14556a;
}

.contact-page {
  max-width: 920px;
  margin: 0 auto;
}

.personal-page {
  max-width: 920px;
  margin: 0 auto;
}

.personal-page__intro {
  margin-bottom: 20px;
  color: #2b6674;
}

.personal-directory {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.personal-group {
  background: linear-gradient(180deg, #ffffff, #f8fcfd);
  border: 0;
  border-radius: 0;
  padding: 12px 0 8px;
}

.personal-group h2 {
  margin: 0 0 14px;
  font-size: clamp(1.32rem, 1.45vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #124b58;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(18, 75, 88, 0.22);
}

.personal-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 18px;
  gap: 0;
}

.personal-list li {
  margin: 0;
  padding: 11px 0;
  border-bottom: 1px solid rgba(20, 79, 94, 0.16);
  display: flex;
  flex-direction: column;
  line-height: 1.45;
  font-size: 0.96rem;
}

.personal-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

@media (max-width: 1120px) {
  .personal-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.personal-list li strong {
  order: 2;
  display: block;
  color: #0f4451;
}

.personal-list li span {
  display: block;
  margin-top: 2px;
  color: #356776;
  font-size: 0.9rem;
}

.personal-list li a {
  display: inline-block;
  margin-top: 4px;
}

.personal-role {
  order: 1;
  display: block;
  color: #2b7284;
  font-weight: 700;
  font-size: 0.84rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 6px;
}

.personal-list li a.personal-phone {
  order: 4;
  display: block;
  margin-top: 4px;
  font-weight: 500;
  color: #14556a;
  text-decoration: none;
}

.personal-phone:hover,
.personal-phone:focus-visible {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.personal-list li a.personal-email {
  order: 3;
  display: block;
  margin-top: 4px;
  color: #1f5f6f;
  text-decoration: none;
}

.personal-email:hover,
.personal-email:focus-visible {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.personal-note {
  margin: 10px 0 0;
  color: #285f6d;
  font-weight: 600;
}

.contact-page h1 {
  margin: 0 0 20px;
}

.contact-hero {
  padding: 22px 22px 20px;
  border: 1px solid rgba(38, 109, 128, 0.2);
  border-radius: 16px;
  background:
    radial-gradient(520px 220px at 5% -20%, rgba(140, 211, 201, 0.24), transparent),
    linear-gradient(180deg, #ffffff, #f8fcfd);
  margin-bottom: 18px;
}

.contact-kicker {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.78rem;
  font-weight: 700;
  color: #3b7685;
}

.contact-top-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 28px;
  align-items: stretch;
  margin-bottom: 30px;
}

.contact-intro {
  max-width: 74ch;
  margin-bottom: 14px;
}

.contact-panel {
  background: linear-gradient(180deg, #ffffff 0%, #fbfeff 100%);
  border: 1px solid rgba(20, 79, 94, 0.18);
  border-radius: 16px;
  padding: 28px 24px;
  height: 100%;
}

.contact-panel--primary {
  border-color: rgba(20, 79, 94, 0.22);
}

.contact-panel h2 {
  margin: 0 0 16px;
  color: #124b58;
}

.contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.contact-list li {
  padding: 12px 13px;
  border: 1px solid rgba(20, 79, 94, 0.2);
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fcfd 100%);
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  text-align: left;
}

.contact-list strong {
  color: #124b58;
}

.contact-item__label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #4f7f8c;
  font-weight: 700;
  text-align: left;
}

.contact-item__value {
  display: block;
  color: #114754;
  font-weight: 600;
  text-align: left;
}

.contact-item__content {
  display: block;
}

.contact-item__icon {
  color: #b363b0;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translateY(1px);
}

.contact-item__icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-item__value a {
  color: #114754;
  text-decoration: none;
}

.contact-item__value a:hover,
.contact-item__value a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.contact-form label {
  font-weight: 600;
  color: #1d4f5d;
  font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(20, 79, 94, 0.24);
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  color: #103f4b;
  background: #ffffff;
}

.contact-form textarea {
  min-height: 170px;
  resize: vertical;
}

.contact-form .btn {
  align-self: start;
  width: 200px;
  padding: 12px 20px;
  border-radius: 12px;
  justify-content: center;
  text-align: center;
  font-size: 1.14rem;
}

.contact-map {
  margin-top: 18px;
  border: 1px solid rgba(20, 79, 94, 0.16);
  border-radius: 12px;
  padding: 22px;
  background: #f5fbfc;
}

.contact-map h3 {
  margin: 0 0 12px;
  color: #124b58;
}

.contact-map p {
  margin: 0 0 14px;
  line-height: 1.7;
}

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

.contact-locations-wrap {
  margin-top: 34px;
}

.contact-locations-wrap h2 {
  margin: 0 0 16px;
  color: #124b58;
}

.contact-map iframe {
  width: 100%;
  height: 210px;
  border: 0;
  border-radius: 10px;
  margin-top: 14px;
}

.eakad-sidebar {
  position: sticky;
  top: 108px;
  align-self: start;
  max-height: none;
  overflow: visible;
  background: #f7fcfb;
  border: 1px solid rgba(56, 124, 140, 0.22);
  border-radius: 14px;
  padding: 24px 20px;
}

.eakad-sidebar h2 {
  margin: 0 0 18px;
  font-size: 1.45rem;
  letter-spacing: -0.01em;
  color: #123f4b;
}

.eakad-submenu__title {
  margin: 22px 0 10px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #2b7b8c;
}

.eakad-submenu {
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
}

.eakad-submenu li + li {
  margin-top: 6px;
}

.eakad-submenu li:has(> a[href="eakatele-uritused.html"]) {
  display: none;
}

.eakad-submenu a {
  display: block;
  padding: 13px 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.03rem;
  line-height: 1.35;
  color: #1c4f5c;
  border-radius: 8px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.eakad-submenu a:hover,
.eakad-submenu a:focus-visible,
.eakad-submenu a[aria-current="page"] {
  color: #0f6f81;
}

.eakad-submenu a:hover,
.eakad-submenu a:focus-visible {
  background: rgba(129, 215, 196, 0.14);
}

.eakad-submenu a[aria-current="page"] {
  background: rgba(129, 215, 196, 0.34);
  font-weight: 800;
  color: #124b58;
}

.info-page__box {
  width: 100%;
  max-width: 1080px;
  background: linear-gradient(180deg, #ffffff, #fcfefe);
  border: 1px solid rgba(16, 37, 43, 0.1);
  border-radius: 16px;
  padding: 46px 44px;
}

.info-page > .info-page__box:not(.info-page__box--wide) {
  max-width: 920px;
}

.info-page__box--wide {
  max-width: 1600px;
}

.eakad-layout .info-page__box {
  max-width: none;
}

.meist-layout .info-page__box {
  max-width: none;
  background: #ffffff;
  border: 0;
  border-radius: 16px;
}

.info-page__box h1 {
  margin: 0 0 16px;
  line-height: 1.15;
  font-size: clamp(2rem, 2.7vw, 2.55rem);
  color: #103f4b;
}

.info-page__box h2 {
  margin: 28px 0 10px;
  font-size: 1.34rem;
  color: #164f5c;
}

.info-page__box p,
.info-page__box li {
  font-size: 1.04rem;
  line-height: 1.78;
}

.info-page__box ul {
  margin: 0 0 12px;
  padding-left: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 0;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn--brand {
  color: var(--btn-brand-text);
  background: var(--btn-brand-bg);
}

.btn--brand:hover,
.btn--brand:focus-visible {
  transform: translateY(-1px);
  background: var(--btn-brand-bg-hover);
}

.info-page__box ul.eakad-quicklinks {
  list-style: none;
  padding-left: 0;
  margin: 14px 0 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
  justify-content: flex-start;
  align-items: center;
  margin-left: 0;
  text-align: left;
}

.eakad-quicklinks li {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin: 0;
  text-align: left;
}

.eakad-quicklinks a {
  justify-content: flex-start;
  text-align: left;
  color: var(--btn-brand-text);
  background: var(--btn-brand-bg);
}

.eakad-quicklinks a:hover,
.eakad-quicklinks a:focus-visible {
  background: var(--btn-brand-bg-hover);
}

.eakad-content-section {
  scroll-margin-top: 112px;
}

.eakad-content-section + .eakad-content-section {
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid rgba(21, 89, 105, 0.18);
}

.eakad-content-section h3 {
  margin: 16px 0 8px;
  font-size: 1.16rem;
  color: #1e5d6d;
}

.timetable-wrap {
  width: 100%;
  overflow-x: visible;
  margin: 14px 0 18px;
}

.timetable {
  width: 100%;
  min-width: 0;
  border-collapse: collapse;
  background: #ffffff;
  table-layout: fixed;
}

.timetable th,
.timetable td {
  border: 1px solid rgba(27, 84, 98, 0.16);
  padding: 8px 8px;
  vertical-align: top;
  text-align: left;
  font-size: 0.9rem;
  line-height: 1.35;
  word-break: break-word;
}

.timetable th:last-child,
.timetable td:last-child {
  border-right: 1px solid rgba(27, 84, 98, 0.22);
}

.timetable th {
  background: rgba(95, 174, 199, 0.14);
  color: #1a5261;
  font-weight: 700;
}

.video-embed {
  position: relative;
  width: 100%;
  margin: 16px 0 6px;
  border-radius: 12px;
  overflow: hidden;
}

.video-embed::before {
  content: "";
  display: block;
  padding-top: 56.25%;
}

.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

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

.album-card {
  border: 1px solid rgba(24, 92, 108, 0.18);
  border-radius: 12px;
  background: #ffffff;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  text-align: left;
}

.album-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}

.album-card span {
  display: block;
  padding: 10px 12px;
  font-weight: 700;
  color: #174f5c;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(9, 21, 27, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 120;
  padding: 20px;
}

.lightbox.is-open {
  display: flex;
}

.lightbox__img {
  max-width: min(94vw, 1100px);
  max-height: 86vh;
  border-radius: 10px;
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  border: 0;
  background: rgba(255, 255, 255, 0.9);
  color: #133f4b;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  font-size: 1.7rem;
  cursor: pointer;
}

.lightbox__close {
  top: 18px;
  right: 18px;
}

.lightbox__nav--prev {
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__nav--next {
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

@media (max-width: 1120px) {
  .topbar__inner {
    max-width: 980px;
    min-height: 0;
    grid-template-columns: calc(var(--logo-width) + 16px) minmax(0, 1fr);
    justify-items: stretch;
    gap: 12px;
    padding: 8px 16px 10px;
  }

  .topbar__right {
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    width: auto;
  }

  .topbar__actions {
    justify-content: flex-end;
  }

  .main-nav {
    gap: 14px;
    flex-wrap: wrap;
    justify-content: flex-end;
    width: auto;
  }

  .main-nav a { font-size: 0.96rem; }

  .main-nav a:not(:last-child)::after { display: none; }

  .search input { width: 190px; }

  .a11y-fab {
    top: auto !important;
    right: 12px !important;
    bottom: 12px !important;
  }

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

  .card {
    min-height: 180px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .card:last-child {
    border-bottom: 0;
  }

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

  .home-event,
  .home-event--featured {
    grid-column: span 1;
  }

  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(200px, 1fr));
  }

  .info-page__box { padding: 32px 26px; }
}

@media (max-width: 980px) {
  .topbar__inner {
    max-width: 760px;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 10px;
    padding: 10px 14px;
  }

  .topbar__right {
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    width: 100%;
  }

  .topbar__actions {
    justify-content: center;
    width: 100%;
  }

  .main-nav {
    gap: 16px;
    justify-content: center;
    width: 100%;
  }

  .search input {
    width: min(250px, 70vw);
  }

  .eakad-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .meist-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .news-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .home-events__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-events__list {
    grid-template-columns: 1fr;
  }

  .personal-directory {
    grid-template-columns: 1fr;
  }

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

  .eakad-sidebar {
    position: sticky;
    top: 108px;
    max-height: none;
    overflow: visible;
  }

  .meist-sidebar {
    position: sticky;
    top: 122px;
  }

  .news-sidebar {
    position: sticky;
    top: 122px;
  }

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

  .contact-top-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .contact-hero {
    padding: 18px 16px 16px;
  }

  .contact-locations {
    grid-template-columns: 1fr;
  }

  .news-card {
    grid-column: span 1;
  }

  .news-card--featured {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
  }

  .news-card--featured .news-card__link {
    grid-template-columns: 1fr;
  }

  .news-card--featured img {
    min-height: 220px;
  }

  .a11y-fab {
    right: 12px !important;
    top: auto !important;
    bottom: 12px !important;
  }
}

@media (max-width: 640px) {
  .album-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .eakad-sidebar {
    position: static;
    max-height: none;
    overflow: visible;
  }

  .meist-sidebar {
    position: static;
  }

  .news-sidebar {
    position: static;
  }
}

@media (max-width: 640px) {
  :root {
    --logo-width: 210px;
  }

  .brand img {
    width: var(--logo-width);
  }

  .main-nav {
    gap: 16px;
  }

  .main-nav a {
    font-size: 1.12rem;
  }

  .card {
    padding: 26px 22px;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 40px 22px 30px;
  }

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

  .news-card {
    grid-column: span 1;
  }

  .site-footer__legal {
    padding: 10px 22px 14px;
  }

  .info-page {
    padding: 34px 18px;
  }

  .info-page__box {
    padding: 26px 20px;
  }

  .a11y-fab {
    right: 10px !important;
    top: auto !important;
    bottom: 10px !important;
    transform: none;
    grid-auto-flow: column;
    gap: 5px;
    border-radius: 999px;
    padding: 7px;
  }

  .search input {
    width: 210px;
  }
}
