/*
  Projekt: zesa.at statische Website
  Umsetzung: Social Webwork
  Stand: 2026-06-30 17 MESZ
*/

@font-face {
  font-family: "Noto Sans";
  src: url("../fonts/noto-sans-v42-latin-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans";
  src: url("../fonts/noto-sans-v42-latin-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans";
  src: url("../fonts/noto-sans-v42-latin-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans";
  src: url("../fonts/noto-sans-v42-latin-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-primary: #850000;
  --color-primary-hover: #ad0600;
  --color-text: #111;
  --color-muted: #5c5c5c;
  --color-bg: #f5f5f5;
  --color-surface: #fff;
  --color-footer: #222;
  --shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.1);
  --shadow-card: 2px 2px 8px rgba(0, 0, 0, 0.18);
  --max-width: 1200px;
  --radius: 2px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 8.5rem; }
body {
  margin: 0;
  font-family: "Noto Sans", Arial, sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 0.08em; text-underline-offset: 0.18em; }
a:hover, a:focus-visible { color: var(--color-primary-hover); }
button, a { font: inherit; }
button:focus-visible, a:focus-visible { outline: 3px solid rgba(133, 0, 0, 0.35); outline-offset: 3px; }
:target { scroll-margin-top: 8.5rem; }
h1, h2, h3 { font-family: "Noto Sans", Arial, sans-serif; font-weight: 600; line-height: 1.3; margin: 0 0 1rem; text-transform: none; letter-spacing: 0; }
h1 { font-size: clamp(1.48rem, 2.65vw, 2rem); font-weight: 600; }
h2 { font-size: clamp(1.24rem, 2.35vw, 1.56rem); border-bottom: 1px solid var(--color-primary); padding-bottom: 0.35rem; }
h3 { font-size: 1.12rem; }
p { margin: 0 0 1.1rem; }
.container { width: min(100% - 2rem, var(--max-width)); margin-inline: auto; }
.skip-link { position: absolute; left: 1rem; top: -10rem; z-index: 1000; background: #fff; padding: 0.75rem 1rem; }
.skip-link:focus { top: 1rem; }

.header-bar { min-height: 34px; background: var(--color-primary); transition: min-height 180ms ease; }
.site-header {
  z-index: 100;
  background: linear-gradient(var(--color-primary) 0 34px, transparent 34px);
  transition: background-size 180ms ease, box-shadow 180ms ease;
}
.js .site-header {
  position: sticky;
  top: 0;
}
.js .site-header.is-compact {
  background: linear-gradient(var(--color-primary) 0 8px, var(--color-surface) 8px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.site-header.is-compact .header-bar { min-height: 8px; }
.header-shell {
  width: min(100% - 2rem, var(--max-width));
  margin: -12px auto 0;
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  position: relative;
  z-index: 10;
  transition: margin-top 180ms ease, padding 180ms ease, box-shadow 180ms ease;
}
.site-header.is-compact .header-shell {
  margin-top: 0;
  box-shadow: 0 1px 0 rgba(133, 0, 0, 0.18);
}
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { width: min(210px, 52vw); display: block; transition: width 180ms ease; }
.site-header.is-compact .brand img { width: min(154px, 42vw); }
.nav-toggle { border: 1px solid #ddd; background: #fff; color: var(--color-text); padding: 0.65rem 0.8rem; display: none; align-items: center; gap: 0.55rem; cursor: pointer; }
.js .nav-toggle { display: inline-flex; }
.nav-toggle__icon, .nav-toggle__icon::before, .nav-toggle__icon::after { display: block; width: 1.35rem; height: 2px; background: var(--color-primary); content: ""; }
.nav-toggle__icon { position: relative; }
.nav-toggle__icon::before, .nav-toggle__icon::after { position: absolute; left: 0; }
.nav-toggle__icon::before { top: -6px; }
.nav-toggle__icon::after { top: 6px; }
.site-nav { display: block; position: absolute; top: calc(100% + 0.25rem); left: 0; right: 0; background: #fff; box-shadow: var(--shadow-soft); padding: 0.5rem 1rem 1rem; }
.nav-list, .submenu, .submenu-sublist, .footer-links { list-style: none; margin: 0; padding: 0; }
.nav-list a, .submenu-toggle { display: flex; width: 100%; align-items: center; justify-content: space-between; min-height: 44px; padding: 0.65rem 0.25rem; border: 0; background: transparent; color: var(--color-text); text-decoration: none; text-transform: uppercase; cursor: pointer; }
.nav-list > li > a.is-active, .submenu a.is-active { color: var(--color-primary); box-shadow: none; }
.nav-list a:hover, .nav-list a:focus-visible, .submenu-toggle:hover, .submenu-toggle:focus-visible { color: var(--color-primary); }
.submenu { display: block; padding-left: 1rem; border-left: 1px solid #e9e5e5; }
.submenu-sublist { display: grid; gap: 0.05rem; padding-left: 1rem; border-left: 1px solid #e9e5e5; }
.submenu-group__link { font-weight: 400; }
.submenu-sublist a { min-height: 40px; font-size: 0.95rem; }
.submenu-title { display: block; padding: 0.7rem 0.25rem 0.45rem; color: var(--color-text); font-family: "Noto Sans", Arial, sans-serif; font-size: 1.04rem; font-weight: 600; line-height: 1.35; text-transform: none; letter-spacing: 0; }
#angebote-menu > li > a, #angebote-menu .submenu-group__link { text-transform: uppercase; }
#angebote-menu .submenu-sublist a { text-transform: none; }
.submenu > li:not(.submenu-title) + li { border-top: 1px solid #e9e5e5; }
.js .submenu { display: none; }
.js .has-submenu.is-open > .submenu { display: block; }
.submenu-toggle::after { content: "▾"; color: var(--color-primary); margin-left: 0.5rem; }
.has-submenu.is-open > .submenu-toggle::after { transform: rotate(180deg); }

.hero { padding: clamp(3rem, 8vw, 5.5rem) 0 2.5rem; background: #fff; }
.hero__content { max-width: var(--max-width); }
.content-page__hero .hero__content { max-width: var(--max-width); }
.eyebrow { color: var(--color-primary); font-size: 0.86rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.5rem; }
.lead { font-size: clamp(1.08rem, 2vw, 1.25rem); }
.section { padding: clamp(2.5rem, 6vw, 4rem) 0; }
.section--compact { padding: 1.8rem 0; }
.card-grid { display: grid; grid-template-columns: 1fr; gap: clamp(1rem, 2vw, 1.35rem); margin-top: clamp(1.25rem, 3vw, 1.7rem); }
.offer-card { display: flex; flex-direction: column; gap: 0.62rem; background: var(--color-surface); border: 1px solid #e9e5e5; border-left: 1px solid rgba(133, 0, 0, 0.5); box-shadow: 0 3px 12px rgba(0, 0, 0, 0.055); padding: clamp(1rem, 2vw, 1.2rem) clamp(1.05rem, 2.2vw, 1.35rem); color: var(--color-text); text-decoration: none; transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease; }
.offer-card:hover { color: var(--color-text); border-left-color: rgba(133, 0, 0, 0.78); box-shadow: 0 5px 16px rgba(0, 0, 0, 0.075); transform: translateY(-1px); }
.offer-card:focus-visible { color: var(--color-text); outline: 3px solid rgba(133, 0, 0, 0.34); outline-offset: 4px; border-left-color: var(--color-primary); box-shadow: 0 5px 16px rgba(0, 0, 0, 0.09); }
.offer-card__title { display: block; border-bottom: 1px solid rgba(133, 0, 0, 0.14); margin: 0; padding-bottom: 0.36rem; font-family: "Noto Sans", Arial, sans-serif; font-size: 1.16rem; line-height: 1.35; font-weight: 600; }
.offer-card__text { display: block; margin: 0; color: var(--color-text); }
.offer-card__list { display: grid; gap: 0.28rem; margin: 0.05rem 0 0; padding: 0; list-style: none; color: var(--color-text); font-size: 0.98rem; line-height: 1.5; }
.offer-card__list li { position: relative; padding-left: 0.9rem; }
.offer-card__list li::before { content: ""; position: absolute; left: 0; top: 0.74em; width: 0.32rem; height: 1px; background: rgba(133, 0, 0, 0.45); }
.offer-card__more { display: inline-flex; width: fit-content; margin-top: auto; padding-top: 0.3rem; color: var(--color-primary); font-size: 0.93rem; font-weight: 600; }
.offer-card:hover .offer-card__more, .offer-card:focus-visible .offer-card__more { color: var(--color-primary-hover); }
.offers-note { max-width: none; margin-top: 0.9rem; color: var(--color-text); font-size: clamp(1rem, 1.8vw, 1.08rem); line-height: 1.7; }
.offers-note p { margin-bottom: 0.65rem; }
.offers-note p:last-child { margin-bottom: 0; }
.section--surface .offers-note { margin-top: 0; margin-bottom: 0; }

.content-page__hero { padding-bottom: clamp(2rem, 5vw, 3rem); }
.content-page__body { max-width: var(--max-width); background: var(--color-surface); box-shadow: 0 3px 14px rgba(0, 0, 0, 0.06); padding: clamp(1.2rem, 3vw, 2.2rem); }
.content-page__body > :where(p, ul, ol) { max-width: none; }
.content-page__body > h2, .content-page__body > h3 { margin-top: clamp(1.5rem, 4vw, 2.2rem); }
.content-page__body h2:first-child { margin-top: 0; }
.content-page__body h4, .info-card h3 { margin: 0 0 0.7rem; color: var(--color-primary); font-family: "Noto Sans", Arial, sans-serif; font-size: 1rem; font-weight: 700; line-height: 1.45; }
.text-primary { color: var(--color-primary); }
.hidden-mail,
a[href^="tel:"] {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
  max-width: 100%;
  color: inherit;
  overflow-wrap: anywhere;
  word-break: normal;
}
.hidden-mail::before,
a[href^="tel:"]::before {
  content: "";
  flex: 0 0 auto;
  width: 1.02em;
  height: 1.02em;
  transform: translateY(0.13em);
  background-color: var(--color-primary);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.hidden-mail::before {
  width: 1.08em;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 28 22' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.2 2C1.98 2 1 2.98 1 4.2v13.6C1 19.02 1.98 20 3.2 20h21.6c1.22 0 2.2-.98 2.2-2.2V4.2C27 2.98 26.02 2 24.8 2H3.2Zm0 2h21.6c.1 0 .2.1.2.2v.9l-10.5 6.75a.92.92 0 0 1-1 0L3 5.1v-.9c0-.1.1-.2.2-.2ZM3 7.48l9.42 6.05a2.95 2.95 0 0 0 3.16 0L25 7.48V17.8c0 .1-.1.2-.2.2H3.2c-.1 0-.2-.1-.2-.2V7.48Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 28 22' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.2 2C1.98 2 1 2.98 1 4.2v13.6C1 19.02 1.98 20 3.2 20h21.6c1.22 0 2.2-.98 2.2-2.2V4.2C27 2.98 26.02 2 24.8 2H3.2Zm0 2h21.6c.1 0 .2.1.2.2v.9l-10.5 6.75a.92.92 0 0 1-1 0L3 5.1v-.9c0-.1.1-.2.2-.2ZM3 7.48l9.42 6.05a2.95 2.95 0 0 0 3.16 0L25 7.48V17.8c0 .1-.1.2-.2.2H3.2c-.1 0-.2-.1-.2-.2V7.48Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
a[href^="tel:"]::before {
  width: 1.28em;
  height: 1.08em;
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 32 26' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23850000' d='M9.7 2.2c.92-.37 1.98-.16 2.68.54l3.1 3.1c.82.82.97 2.08.38 3.07l-1.45 2.42c-.2.33-.15.75.12 1.03l5.1 5.1c.28.27.7.32 1.03.12l2.42-1.45c.99-.59 2.25-.44 3.07.38l3.1 3.1c.7.7.91 1.76.54 2.68l-.66 1.64c-.76 1.9-2.77 3.02-4.79 2.67C14.52 24.9 7.1 17.48 5.39 7.66 5.04 5.64 6.16 3.63 8.06 2.87l1.64-.66Zm1.05 2.42-1.64.66A2.16 2.16 0 0 0 7.8 7.25c1.51 8.67 8.28 15.44 16.95 16.95.89.16 1.75-.42 1.97-1.31l.66-1.64-2.96-2.96-2.43 1.45a3.15 3.15 0 0 1-3.94-.45l-5.34-5.34a3.15 3.15 0 0 1-.45-3.94l1.45-2.43-2.96-2.96Z'/%3E%3C/svg%3E");
  -webkit-mask: none;
  mask: none;
}

.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); gap: 1rem; margin: 1rem 0 1.6rem; }
.info-card { background: #fafafa; border: 1px solid #e9e5e5; border-left: 1px solid rgba(133, 0, 0, 0.5); padding: 1rem; }
.info-card ul { margin: 0; padding-left: 1.1rem; }
.info-card li:last-child { margin-bottom: 0; }
.section--surface { background: #fff; }
.location-grid { display: grid; gap: clamp(1.2rem, 3vw, 1.6rem); margin-top: 1.25rem; }
.location-card { background: transparent; border: 0; box-shadow: none; padding: clamp(0.35rem, 1.6vw, 0.8rem) 0; }
.location-grid--contact > .location-card + .location-card { border-top: 1px solid rgba(133, 0, 0, 0.10); margin-top: 3.5rem; padding-top: 3rem; }
.imprint-entry + .imprint-entry { border-top: 1px solid rgba(133, 0, 0, 0.10); margin-top: 3.5rem; padding-top: 3rem; }
.imprint-entry > h3:first-child { margin-top: 0; }
.imprint-entry > :last-child { margin-bottom: 0; }
.location-card__intro { margin-bottom: 1rem; }
.location-card__intro h3 { margin-bottom: 0.65rem; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15.5rem), 16rem)); justify-content: start; gap: 1.15rem 1.3rem; }
.team-grid--compact { grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 16rem)); gap: 1rem 1.2rem; }
.team-card { width: 100%; max-width: 16rem; background: #fff; border: 1px solid #eee; border-left: 1px solid rgba(133, 0, 0, 0.45); box-shadow: 0 7px 20px rgba(0, 0, 0, 0.08); padding: 0.82rem 0.9rem; }
.team-grid--compact .team-card { padding: 0.78rem 0.85rem; }
.team-card img { display: block; width: min(7.4rem, 100%); aspect-ratio: 3 / 4; object-fit: cover; margin-bottom: 0.62rem; }
.team-card h4 { margin: 0 0 0.3rem; color: var(--color-primary); font-size: 0.96rem; font-weight: 600; line-height: 1.35; }
.team-card p { margin-bottom: 0; color: var(--color-muted); font-size: 0.92rem; line-height: 1.45; }
.team-card p a { color: inherit; }
.team-card p a:hover, .team-card p a:focus-visible { color: var(--color-primary-hover); }


.jobs-list { display: grid; grid-template-columns: 1fr; gap: clamp(1rem, 2vw, 1.35rem); align-items: stretch; margin: 1.15rem 0 1.6rem; }
.job-card { display: flex; flex-direction: column; gap: 0.62rem; min-height: 100%; background: var(--color-surface); border: 1px solid #e9e5e5; border-left: 1px solid rgba(133, 0, 0, 0.5); box-shadow: 0 3px 12px rgba(0, 0, 0, 0.055); padding: clamp(1rem, 2vw, 1.2rem) clamp(1.05rem, 2.2vw, 1.35rem); }
.job-card h3 { margin: 0; padding-bottom: 0.36rem; border-bottom: 1px solid rgba(133, 0, 0, 0.14); color: var(--color-primary); font-family: "Noto Sans", Arial, sans-serif; font-size: clamp(1.02rem, 2vw, 1.16rem); font-weight: 600; line-height: 1.38; }
.job-card__date { order: -1; margin: 0; color: var(--color-muted); font-size: 0.88rem; line-height: 1.45; }
.job-card__facts { display: grid; gap: 0.34rem; }
.job-card__facts p { margin: 0; }
.job-card__facts strong { font-weight: 700; }
.job-card__download { margin: auto 0 0; padding-top: 0.3rem; font-size: 0.94rem; line-height: 1.45; }
.job-card__download a { display: inline-flex; align-items: center; min-height: 2.45rem; color: var(--color-primary); font-weight: 600; text-decoration-thickness: 0.07em; text-underline-offset: 0.2em; }
.job-card__download a:hover, .job-card__download a:focus-visible { color: var(--color-primary-hover); }

.jobs-note { background: #fff; }
.jobs-note__inner { border-left: 1px solid var(--color-primary); background: #fafafa; box-shadow: var(--shadow-card); padding: 1.25rem; display: grid; gap: 1rem; align-items: center; }
.jobs-note h2 { border: 0; padding: 0; margin-bottom: 0.5rem; }
.button { display: inline-flex; justify-content: center; align-items: center; width: fit-content; min-height: 44px; padding: 0.65rem 1rem; background: var(--color-primary); color: #fff; text-decoration: none; }
.button:hover, .button:focus-visible { background: var(--color-primary-hover); color: #fff; }

.button--secondary { background: #fff; color: var(--color-primary); border: 1px solid rgba(133, 0, 0, 0.38); }
.button--secondary:hover, .button--secondary:focus-visible { background: #fafafa; color: var(--color-primary-hover); border-color: rgba(133, 0, 0, 0.62); }

.error-page { min-height: 100vh; display: flex; flex-direction: column; }
.error-page main { flex: 1; }
.error-hero { min-height: clamp(24rem, 54vh, 36rem); display: grid; align-items: center; }
.error-hero__content { max-width: 52rem; background: var(--color-surface); border-left: 2px solid var(--color-primary); box-shadow: var(--shadow-soft); padding: clamp(1.4rem, 4vw, 2.4rem); }
.error-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.4rem; }

.partners { background: #fff; }
.partner-marquee { overflow: hidden; border-top: 1px solid #e6e6e6; border-bottom: 1px solid #e6e6e6; padding: 1rem 0; }
.partner-placeholder { color: var(--color-muted); margin: 0; }
.partner-track { display: flex; gap: 2rem; align-items: center; width: max-content; animation: partner-scroll 88s linear infinite; }
.partner-marquee:hover .partner-track, .partner-marquee:focus-within .partner-track { animation-play-state: paused; }
.partner-list { display: flex; gap: 2rem; align-items: center; }
.partner-list[aria-hidden="true"] { pointer-events: none; }
.partner-list a { display: flex; align-items: center; justify-content: center; min-width: 140px; min-height: 76px; padding: 0.75rem; background: #fff; text-decoration: none; }
.partner-list img { max-height: 58px; max-width: 150px; object-fit: contain; filter: grayscale(10%); }
@keyframes partner-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.site-footer { background: var(--color-footer); color: #f3f3f3; padding: 2.5rem 0; }
.site-footer h2 { border: 0; padding: 0; font-family: "Noto Sans", Arial, sans-serif; font-size: 1.2rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; gap: 1.5rem; }
.footer-nav { align-self: start; }
.footer-links a { display: inline-flex; padding: 0.25rem 0; }
.copyright { color: #c7c7c7; margin: 0; text-align: center; font-size: 0.78rem; line-height: 1.5; }
.copyright a { color: inherit; }
.copyright a:hover, .copyright a:focus-visible { color: #fff; }
.copyright__brand { color: inherit; font-size: inherit; font-weight: inherit; }

.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 520ms ease, transform 520ms ease; }
.js .reveal.is-visible,
.js .content-page__body.reveal { opacity: 1; transform: translateY(0); }

/* Hauptinhaltsflächen dürfen keine leeren Bereiche erzeugen; auf Mobile bleibt Inhalt sofort lesbar. */
@media (max-width: 899.98px) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}


@media (min-width: 760px) {
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}


@media (min-width: 1020px) {
  .card-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 900px) {
  .header-shell { padding: 1.1rem 1.5rem; }
  .site-header.is-compact .header-shell { padding-block: 0.42rem; }
  .site-header.is-compact .brand img { width: 148px; }
  .nav-toggle, .js .nav-toggle { display: none; }
  .site-nav, .js .site-nav { display: block; position: relative; box-shadow: none; padding: 0; }
  .nav-list { display: flex; align-items: center; gap: 0.35rem; }
  .nav-list > li { position: relative; }
  .nav-list > li.has-submenu { position: static; }
  .nav-list a, .submenu-toggle { padding: 0.7rem 0.8rem; width: auto; }
  .submenu, .js .submenu { display: none; position: absolute; top: calc(100% - 0.35rem); left: auto; right: 0; width: max-content; min-width: 18rem; max-width: min(22rem, calc(100vw - 2rem)); padding: 0.55rem 0; border: 0; background: #fff; box-shadow: var(--shadow-soft); z-index: 20; }
  .has-submenu::after { content: ""; display: none; position: absolute; top: calc(100% - 0.35rem); left: 0; right: 0; height: 1.1rem; background: transparent; pointer-events: auto; z-index: 19; }
  .has-submenu:hover::after, .has-submenu:focus-within::after, .has-submenu.is-open::after { display: block; }
  .has-submenu:hover > .submenu, .has-submenu:focus-within > .submenu, .has-submenu.is-open > .submenu { display: block; }
  .submenu-title { padding: 0.75rem 1rem 0.5rem; border-bottom: 1px solid #e9e5e5; font-size: 1.18rem; }
  .submenu a, .submenu .submenu-toggle { width: 100%; justify-content: space-between; padding: 0.62rem 1rem; text-transform: none; white-space: nowrap; }
  .submenu-group { padding: 0.1rem 0 0.35rem; }
  .submenu-group__link { font-weight: 400; }
  .submenu-sublist { display: grid; gap: 0; margin: 0.05rem 1rem 0.2rem; padding-left: 0.9rem; border-left: 1px solid #e9e5e5; }
  .submenu-sublist a { min-height: 38px; padding: 0.48rem 0.6rem; font-size: 0.95rem; }
  .location-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .location-grid--single { grid-template-columns: 1fr; }
  .jobs-note__inner { grid-template-columns: 1fr auto; padding: 1.4rem 1.6rem; }
  .footer-grid { grid-template-columns: 1.4fr 0.8fr; align-items: start; }
  .footer-nav { text-align: right; }
  .footer-links { display: grid; justify-items: end; }
  .copyright { grid-column: 1 / -1; }
}

@media (max-width: 899.98px) {
  html { scroll-padding-top: 7.75rem; }
  :target { scroll-margin-top: 7.75rem; }
  .site-header.is-compact .header-shell { padding-block: 0.62rem; }
  .copyright { text-align: left; }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
  .partner-track { animation: none; width: auto; flex-wrap: wrap; }
  .partner-list[aria-hidden="true"] { display: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

.news-archive { display: grid; gap: 1.25rem; }
.news-list { display: grid; gap: 1rem; margin: 1rem 0 1.5rem; }
.news-card { background: var(--color-surface); border: 1px solid #e9e5e5; border-left: 1px solid rgba(133, 0, 0, 0.5); box-shadow: 0 3px 12px rgba(0, 0, 0, 0.055); padding: clamp(1rem, 2vw, 1.25rem); }
.news-card h3 { margin-bottom: 0.65rem; font-family: "Noto Sans", Arial, sans-serif; font-size: 1.12rem; font-weight: 600; }
.news-card__meta { display: flex; flex-wrap: wrap; gap: 0.45rem 0.6rem; align-items: center; margin-bottom: 0.65rem; color: var(--color-muted); font-size: 0.92rem; }
.news-tag { display: inline-flex; align-items: center; min-height: 1.7rem; padding: 0.16rem 0.55rem; border: 1px solid rgba(133, 0, 0, 0.18); background: #fafafa; color: var(--color-primary); font-size: 0.82rem; line-height: 1.2; }
.year-archive { border-top: 1px solid rgba(133, 0, 0, 0.16); padding-top: 0.85rem; }
.year-archive > summary { display: flex; align-items: center; gap: 0.7rem; cursor: pointer; list-style: none; }
.year-archive > summary::-webkit-details-marker { display: none; }
.year-archive > summary::before { content: "+"; display: inline-grid; place-items: center; width: 1.55rem; height: 1.55rem; flex: 0 0 auto; border: 1px solid rgba(133, 0, 0, 0.28); color: var(--color-primary); font-weight: 700; }
.year-archive[open] > summary::before { content: "–"; }
.year-archive > summary h2 { flex: 1; margin: 0; }
.news-details { margin-top: 0.9rem; border-top: 1px solid #e9e5e5; padding-top: 0.8rem; }
.news-details > summary { width: fit-content; cursor: pointer; color: var(--color-primary); font-weight: 600; }
.news-details > summary:hover, .news-details > summary:focus-visible { color: var(--color-primary-hover); }
.news-details > :not(summary):first-of-type { margin-top: 0.85rem; }
.link-list { margin: 0 0 1.1rem; padding-left: 1.15rem; }
.news-media { margin: 1rem 0; }
.news-media img, .news-gallery img { display: block; width: 100%; border-radius: var(--radius); box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08); }
.news-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: 0.8rem; margin: 1rem 0; }
.news-gallery--two { grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.video-list { display: grid; gap: 0.9rem; margin: 1rem 0; }
.video-list video { width: 100%; max-height: 26rem; background: #111; }
@media (min-width: 760px) { .jobs-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } .news-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } .news-card { display: flex; flex-direction: column; } .news-card p:last-child, .news-card ul:last-child { margin-bottom: 0; } }
