@font-face {
  font-family: "Museo Sans";
  src: url("../fonts/MuseoSans_300.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Museo Sans";
  src: url("../fonts/MuseoSans_500.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Museo Sans";
  src: url("../fonts/MuseoSans_700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #fff;
  --paper-2: #f3f5ea;
  --card: #fff;
  --ink: #232740;
  --muted: #717d85;
  --line: #cfd3d7;
  --green: #587d18;
  --green-2: #87a428;
  --brass: #87a428;
  --lime: #afca0b;
  --danger: #9b1006;
  --shadow: 0 18px 40px rgba(35, 39, 64, 0.08);
  --serif: "Museo Sans", "Segoe UI", sans-serif;
  --sans: "Museo Sans", "Segoe UI", sans-serif;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html.mourning { filter: grayscale(1); }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.55;
}
img { max-width: 100%; height: auto; }
a { color: var(--green); text-underline-offset: 0.18em; }
a:hover { color: var(--brass); }
.skip {
  position: absolute; left: 1rem; top: -4rem;
  background: var(--ink); color: white; padding: .4rem .7rem;
}
.skip:focus { top: .5rem; z-index: 20; }
.preview-banner {
  position: sticky; top: 0; z-index: 50; background: #232740; color: #fff;
  padding: .65rem 1rem; text-align: center; font-weight: 700;
}
.preview-banner a { color: var(--lime); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.wrap { width: min(var(--wrap), calc(100% - 2rem)); margin-inline: auto; }
button, input, summary { font: inherit; }

.topbar {
  background: var(--green);
  color: #fff;
  font-size: .92rem;
}
.topbar a { color: inherit; text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar-row { display: flex; gap: 1.1rem; align-items: center; min-height: 2.5rem; flex-wrap: wrap; }
.top-pair { display: inline-flex; align-items: center; gap: 1.1rem; }
.top-end { display: flex; align-items: center; gap: .85rem; margin-left: auto; }
.top-social { display: inline-flex; align-items: center; gap: .15rem; }
.top-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.85rem; height: 1.85rem; border-radius: 4px;
}
.top-social a:hover { background: rgba(255,255,255,.1); color: #fff; }
a[href^="mailto:"]::before,
a[href^="tel:"]::before,
a[href*="facebook.com"]::before,
a[href*="instagram.com"]::before,
a[href*="youtube.com"]::before,
a[href*="youtu.be"]::before,
a[href*="sharepoint.com"]::before,
.ico::before {
  content: "";
  display: inline-block;
  width: 1.05em;
  height: 1.05em;
  margin-right: .35em;
  vertical-align: -0.16em;
  background: currentColor;
  -webkit-mask: var(--ico) center / contain no-repeat;
  mask: var(--ico) center / contain no-repeat;
}
a[href^="mailto:"] { --ico: url("../img/icons/mail.svg"); }
a[href^="tel:"] { --ico: url("../img/icons/phone.svg"); }
a[href*="facebook.com"] { --ico: url("../img/icons/facebook.svg"); }
a[href*="instagram.com"] { --ico: url("../img/icons/instagram.svg"); }
a[href*="youtube.com"],
a[href*="youtu.be"] { --ico: url("../img/icons/youtube.svg"); }
a[href*="sharepoint.com"] { --ico: url("../img/icons/globe.svg"); }
.ico-home { --ico: url("../img/icons/home.svg"); }
.top-social a::before { width: 1.05rem; height: 1.05rem; margin: 0; }
.top-drop { position: relative; }
.top-drop summary { cursor: pointer; list-style: none; }
.top-drop summary::-webkit-details-marker { display: none; }
.top-panel {
  display: none;
  position: absolute; z-index: 30; top: calc(100% - .35rem); left: 0;
  width: min(720px, 80vw); max-height: 70vh; overflow: auto;
  background: var(--card); color: var(--ink);
  border: 1px solid var(--line); box-shadow: var(--shadow); padding: 1.15rem 1rem .8rem;
}
.top-drop:hover > .top-panel,
.top-drop:focus-within > .top-panel,
.top-drop[open] > .top-panel { display: block; }
.top-panel ul { columns: 2; margin: 0; padding: 0; list-style: none; }
.top-panel a { color: var(--ink); display: block; padding: .2rem 0; text-decoration: none; }
.top-panel a:hover { color: var(--brass); }

.mast { background: transparent; border-bottom: 1px solid var(--line); }
.mast-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  column-gap: 1rem;
  padding: 1.1rem 0 .4rem;
}
.brand, .brand-zhp { display: flex; align-items: center; color: inherit; text-decoration: none; min-width: 0; }
.brand { justify-self: start; }
.brand-zhp { justify-self: center; }
.search { justify-self: end; }
.brand img { width: auto; height: 64px; max-width: 100%; object-fit: contain; }
.brand-zhp img { width: auto; height: 52px; object-fit: contain; }
.search { display: flex; border: 1px solid var(--line); background: var(--card); border-radius: 999px; overflow: hidden; }
.search input { border: 0; background: transparent; padding: .55rem .7rem; width: 14rem; }
.search button { border: 0; border-radius: 999px; background: var(--green); color: #fff; padding: .55rem .95rem; cursor: pointer; }
.search button:hover { background: var(--ink); }

.mast { position: sticky; top: 0; z-index: 40; background: #fff; box-shadow: 0 1px 0 var(--line); }
.nav .wrap { position: relative; }
.nav-check { position: absolute; opacity: 0; pointer-events: none; }
.nav-burger {
  display: none; align-items: center; justify-content: center;
  width: 46px; height: 46px; flex: none; cursor: pointer;
  border: 1px solid var(--ink); background: var(--card);
}
.nav-burger .bars { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 20px; }
.nav-burger .bars i { display: block; height: 2px; background: var(--ink); transition: transform .15s ease, opacity .15s ease; }
.nav-check:checked ~ .mast-row .nav-burger .bars i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-check:checked ~ .mast-row .nav-burger .bars i:nth-child(2) { opacity: 0; }
.nav-check:checked ~ .mast-row .nav-burger .bars i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-list { display: flex; flex-wrap: wrap; gap: .15rem 1.1rem; list-style: none; margin: 0; padding: .35rem 0 .8rem; }
.nav-list > li > a, .nav-list > li > details > summary {
  color: var(--ink); text-decoration: none; cursor: pointer; list-style: none;
  font-size: .98rem; position: relative;
}
.nav a[href*="sharepoint.com"]::before { content: none; }
@media (hover: hover) and (pointer: fine) {
  .nav-list > li.has-sub > details > summary::after {
    content: "";
    position: absolute;
    left: -.6rem;
    right: -.6rem;
    top: 100%;
    height: 1.4rem;
  }
}
.nav-list summary::-webkit-details-marker { display: none; }
.nav-list > li > a:hover, .nav-list summary:hover { color: var(--brass); }
.has-sub { position: static; }
.nav-sub {
  display: none;
  position: absolute; z-index: 25; top: calc(100% - .15rem); left: 0;
  width: max-content; max-width: 100%;
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow);
  padding: 1rem 1.15rem 1.15rem; gap: 1.1rem 1.4rem; align-items: flex-start;
  flex-wrap: wrap;
}
.drop-end { position: relative; }
.drop-end > details > .nav-sub { left: auto; right: 0; width: max-content; max-width: 18rem; }
.has-sub:hover > details > .nav-sub,
.has-sub:focus-within > details > .nav-sub,
.has-sub details[open] > .nav-sub { display: flex; }
.top-drop:hover::details-content,
.top-drop:focus-within::details-content,
.top-drop[open]::details-content,
.has-sub:hover > details::details-content,
.has-sub:focus-within > details::details-content,
.has-sub details[open]::details-content {
  content-visibility: visible;
  display: block;
  height: auto;
  overflow: visible;
}
.nav-label { margin: 0 0 .35rem; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--green); font-weight: 700; }
.nav-group { flex: 1 1 9rem; min-width: min(9rem, 100%); max-width: 18rem; }
.nav-list summary a { color: inherit; text-decoration: none; }
.nav-group ul { list-style: none; margin: 0; padding: 0; }
.nav-group a { color: var(--ink); text-decoration: none; display: block; padding: .12rem 0; overflow-wrap: break-word; }
.nav-group a:hover { color: var(--brass); }
.nav-direct { font-weight: 600; }
.nav-nested { margin-top: .4rem; }

.site-intro { padding: .4rem 0 0; }
.intro-row { display: grid; grid-template-columns: minmax(280px, 1.15fr) minmax(240px, .85fr); gap: 1.2rem 2rem; align-items: center; }
.intro-row img { width: 100%; height: auto; display: block; }
.intro-copy h1 { margin: .25rem 0 0; }

.hero-actions { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: .85rem 0; }
.hero-actions .link-row { margin-top: 0; margin-bottom: 0; }
.audience { margin-top: 2.4rem; }
.signup {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(220px, .85fr);
  min-height: 280px; background: var(--green); color: #fff;
  border-radius: 18px; overflow: hidden;
}
.signup-copy { padding: 1.7rem 1.5rem 1.4rem 1.6rem; }
.signup-copy h2 {
  margin: 0 0 .7rem; color: #fff; text-transform: uppercase;
  font-size: clamp(1.45rem, 2.3vw, 2rem); line-height: 1.15; letter-spacing: .01em;
}
.signup-copy p { margin: 0; color: #f4f6ea; max-width: 46rem; }
.signup-links { display: flex; flex-wrap: wrap; gap: .55rem .7rem; margin-top: 1.3rem; }
.signup-links a {
  display: inline-flex; align-items: center; border-radius: 999px;
  padding: .4rem .85rem; background: var(--green); color: #fff;
  text-decoration: none; font-size: .92rem;
}
.signup-links a:hover { background: #afca0b; color: #232740; }
.signup-photo {
  background-image:
    linear-gradient(90deg, rgba(175, 202, 11, .28), rgba(175, 202, 11, 0) 32%),
    url("/uploads/site/2023/09/Agnieszka_Madetko-Kurczab_ZHP.webp");
  background-size: cover; background-position: center 30%;
  border-radius: 48% 0 0 48%; margin-left: -6%;
}
.quick-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: 1.15rem; }
.quick-card {
  display: flex; flex-direction: column; min-width: 0; background: #fff; color: var(--ink);
  border-radius: 16px; overflow: hidden; text-decoration: none;
  box-shadow: 0 2px 8px rgba(35, 39, 64, .12);
}
.quick-card:hover { color: var(--green); }
.quick-card .shot { display: block; height: 250px; background-size: cover; background-position: center; }
.quick-card h3 { margin: .85rem .9rem 1rem; font-size: 1.05rem; line-height: 1.3; }
.quick-note {
  display: flex; flex-direction: column; justify-content: flex-end; gap: .8rem;
  min-height: 100%; padding: 1.3rem 1rem 1.15rem; border-radius: 16px;
  background: var(--green); color: #fff; text-decoration: none;
}
.quick-note:hover { color: #fff; background: #587d18; }
.quick-note p { margin: 0; font-size: 1.05rem; }
.quick-note span { font-weight: 700; }
.btn {
  display: inline-flex; align-items: center; border-radius: 999px;
  padding: .55rem 1rem; background: var(--green); color: #fff; text-decoration: none; font-weight: 700;
}
.btn:hover { background: var(--ink); color: #fff; }
.event-list { list-style: none; margin: .4rem 0 1rem; padding: 0; }
.event-list li { padding: .55rem 0; border-bottom: 1px solid var(--line); }
.event-list time { display: inline-block; min-width: 6.2rem; color: var(--green); font-weight: 700; }
button, .gala-actions a, .gala-actions span { border-radius: 999px; }

.strips { display: grid; gap: .6rem; margin: 0 0 1.4rem; }
.strips img { display: block; width: 100%; height: auto; }
.strips img.strip-fund { width: min(691px, 100%); height: auto; justify-self: center; }
.posters { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; margin: 1.2rem 0 1.6rem; }
.posters a, .posters figure { display: block; margin: 0; }
.posters img { display: block; width: 100%; height: auto; }
.partners { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.1rem; margin: .4rem 0 0; }
.partners a, .partners span { display: flex; align-items: center; justify-content: center; width: 108px; height: 64px; }
.partners img { max-width: 100%; max-height: 56px; width: auto; height: auto; object-fit: contain; }
.scout-logos { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-top: 1rem; }
.scout-logos img { height: 52px; width: auto; background: #111; padding: .35rem .6rem; }

.section { padding: 2.4rem 0; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1rem; }
.kicker { margin: 0; letter-spacing: .16em; text-transform: uppercase; font-size: .75rem; color: var(--green); }
h1, h2, .serif { font-family: var(--serif); font-weight: 700; line-height: 1.15; }
.page h1 { font-size: clamp(1.55rem, 2.4vw, 2.15rem); }
h1 { font-size: clamp(2rem, 4vw, 3.2rem); margin: .2rem 0 1rem; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0; }

.news-board { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: .85rem; }
.news-grid { display: grid; grid-template-columns: 1.4fr .9fr; gap: .85rem; align-items: start; }
.feature { color: inherit; text-decoration: none; display: block; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .75rem; }
.feature:hover { color: inherit; }
.news-media { display: block; background: var(--paper-2) center/42% no-repeat url("../img/logo-sygnet.webp"); aspect-ratio: 16/10; overflow: hidden; }
.feature .news-media { aspect-ratio: 16/9; }
.news-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.feature h2 { margin-top: .7rem; }
.meta { color: #4e5962; font-size: .88rem; letter-spacing: .04em; }
.news-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .65rem; }
.news-list li { background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.news-list a { display: grid; grid-template-columns: 112px 1fr; gap: .85rem; padding: .65rem; color: inherit; text-decoration: none; align-items: center; }
.news-list a:hover h3 { color: var(--brass); }
.news-list h3 { margin: .15rem 0 0; font-size: 1.05rem; font-family: var(--serif); font-weight: 600; }
.news-side { min-width: 0; }
.news-more { margin: .45rem 0 0; text-align: right; }
.news-list .news-media { aspect-ratio: 1; }
.news-list.press-list li { display: grid; grid-template-columns: 112px 1fr; gap: .85rem; padding: .65rem; align-items: center; }
.news-list.press-list a { display: inline; padding: 0; color: var(--brass); }
.news-list.press-list a.news-media { display: block; color: inherit; }
.news-list.press-list p { margin: .35rem 0 0; }

.split { display: grid; grid-template-columns: 1.2fr .8fr; gap: 1.2rem; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 1.3rem 1.4rem 1.4rem; }
.panel h2 { margin-bottom: .6rem; }
.link-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.plain-list { margin: .2rem 0 .8rem; padding-left: 1.1rem; }
.hufce-dir { columns: 2; margin: .4rem 0 0; padding: 0; list-style: none; }
.hufce-dir li { break-inside: avoid; padding: .35rem 0; }
.hufce-dir a { color: inherit; text-decoration: none; }
.hufce-dir a:hover { color: var(--brass); }
.hufce-dir small { display: block; color: var(--muted); }
.link-row a, .text-link { border-bottom: 1px solid var(--brass); text-decoration: none; padding-bottom: .05rem; }
.account { display: inline-block; white-space: nowrap; font-variant-numeric: tabular-nums; letter-spacing: .03em; }
a[href^="tel:"] { white-space: nowrap; }

.events { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line); }
.event { display: grid; grid-template-columns: 92px 1fr; gap: .8rem; padding: 1rem 1rem 1rem 0; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; }
.event:hover h3 { color: var(--brass); }
.event-date { font-family: var(--serif); line-height: 1.05; }
.event-date b { display: block; font-size: 1.6rem; font-weight: 600; }
.event h3 { margin: .15rem 0; font-size: 1.15rem; }
.event p { margin: 0; color: var(--muted); }

.facts { min-height: 7rem; }
.fact { margin: 0; font-family: var(--serif); font-size: 1.35rem; line-height: 1.35; }
.fact[hidden] { display: none; }

.page { padding: 2rem 0 3rem; }
.page-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 1.6rem; align-items: start; }
.page-side { position: sticky; top: 1rem; }
.page-sheet {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.25rem 1.35rem 1.5rem;
  max-width: none;
}
.side-card, .side-links, .side-custom {
  background: #fff;
  border: 0;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, .15);
  padding: 1.15rem 1rem 1rem;
  margin: 0 0 .9rem;
  color: #000;
}
.side-note {
  background: var(--green);
  border: 0;
  border-radius: 8px;
  padding: 1.2rem 1.15rem 1.15rem;
  margin: 0 0 .9rem;
  color: #fff;
}
.side-label { margin: .15rem 0 0; font-size: .78rem; font-weight: 300; color: #232740; letter-spacing: 0; text-transform: none; }
.side-value { margin: .05rem 0 .75rem; color: #000; font-weight: 600; }
.side-card .side-value:last-child { margin-bottom: 0; }
.side-value a { color: #000; text-decoration: none; font-weight: 600; }
.side-note h2, .side-note h3, .side-links h2, .side-links h3 {
  font-size: 1.05rem; margin: 0 0 .55rem; color: #000; font-family: var(--serif);
  font-weight: 800; text-transform: uppercase; letter-spacing: .01em;
}
.side-note h2, .side-note h3 { color: #fff; }
.side-links h2::after, .side-links h3::after {
  content: ""; display: block; width: 30%; height: 1px; margin-top: .7rem; background: #f7f7f7;
}
.side-note p { margin: 0 0 .85rem; color: #fff; font-size: .92rem; }
.side-note a {
  display: inline-flex; align-items: center; gap: .7rem;
  background: #fff; color: var(--green); text-decoration: none; font-weight: 700;
  border-radius: 8px; padding: .7rem 1rem; border: 0;
}
.side-note a::after { content: "→"; font-weight: 500; }
.side-note a:hover { background: #f3f5ea; color: var(--green); }
.side-links ul { list-style: none; margin: 0; padding: 0; }
.side-links a {
  display: block; text-decoration: none; border: 0; border-radius: 8px; color: #000;
}
.side-links li:not(.side-row) a { padding: .7rem .75rem; font-weight: 500; }
.side-links li:not(.side-row) a:hover,
.side-links li:not(.side-row) a.is-current { background: #eff4ce; color: #000; }
.side-links .side-row a { padding: 0; font-weight: 700; background: none; text-decoration: none; }
.side-links .side-row a:hover { background: none; color: #000; }
.side-row a::before { content: none; }
.side-row { display: flex; gap: .75rem; align-items: center; margin: 0 0 .85rem; }
.side-links .side-row { margin: 0; padding: .35rem .15rem; border-radius: 8px; }
.side-links .side-row:hover, .side-links .side-row:has(a.is-current) { background: #eff4ce; }
.side-row:last-child { margin-bottom: 0; }
.side-row .side-label, .side-row .side-value { margin: 0; }
.side-ico {
  width: 44px; height: 44px; flex: none; border-radius: 8px; background: var(--green);
  display: grid; place-items: center;
}
.side-ico::before {
  content: ""; width: 22px; height: 22px; background: #fff;
  -webkit-mask: var(--side-icon) center / contain no-repeat;
  mask: var(--side-icon) center / contain no-repeat;
}
.side-ico-mail { --side-icon: url("../img/icons/mail.svg"); }
.side-ico-fb { --side-icon: url("../img/icons/facebook.svg"); }
.side-ico-web { --side-icon: url("../img/icons/globe.svg"); }
.side-ico-person { --side-icon: url("../img/icons/person.svg"); }
.side-links .side-label { display: block; padding: .55rem .75rem .1rem; }
.side-custom h3 { font-size: 1.05rem; margin: 1rem 0 .45rem; color: #000; font-family: var(--serif); font-weight: 800; text-transform: uppercase; }
.side-custom h3:first-child { margin-top: 0; }
.side-custom ul { list-style: none; margin: .2rem 0 .8rem; padding: 0; }
.side-custom li a { display: block; padding: .7rem .75rem; text-decoration: none; border-radius: 8px; color: #000; }
.side-custom li a:hover { background: #eff4ce; color: #000; }
.side-custom p { margin: 0 0 .45rem; }
.side-custom strong { color: #232740; font-weight: 300; }
.offer + .offer { margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid var(--line); clear: both; }
.prose { max-width: 760px; }
.prose.wide { max-width: 980px; }
.prose .doc { font-size: .95rem; font-weight: 400; line-height: 1.55; }
.prose h2, .prose h3 { margin: 1.4rem 0 .35rem; }
.prose h2 { font-size: 1.28rem; }
.prose h3 { font-size: 1.08rem; }
.prose h5 { font-size: 1rem; font-weight: 500; margin: .4rem 0; }
.prose .inline-logo { float: right; width: 150px; height: auto; margin: .1rem 0 .7rem 1.1rem; }
.prose .pull-quote {
  margin: 1.2rem 0 1.4rem; padding: 1rem 1.15rem 1rem 1.2rem;
  border: 0; border-left: 4px solid var(--lime); border-radius: 0 16px 16px 0;
  background: #e8f4b4; color: #232740;
}
.prose .pull-quote p { margin: 0; font-family: var(--serif); font-size: 1.22rem; line-height: 1.4; }
.prose .pull-quote footer { margin-top: .7rem; font-size: .92rem; color: #587d18; font-style: normal; }
.reports { display: grid; gap: .85rem; margin: .4rem 0 1.2rem; }
.report { border: 1px solid var(--line); border-radius: 16px; padding: .95rem 1rem 1rem; background: #fff; }
.report h2 { margin: 0 0 .7rem; font-size: 1.25rem; }
.report-files { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.report-files a {
  display: flex; flex-direction: column; gap: .15rem; min-height: 4.6rem; justify-content: center;
  padding: .8rem .9rem; border-radius: 12px; background: #e8f4b4; color: #232740; text-decoration: none;
}
.report-files a:hover { background: #afca0b; }
.report-files small { color: #587d18; }
.foot-scouts { display: flex; flex-wrap: wrap; gap: .8rem 1rem; align-items: center; margin-top: .85rem; }
.foot-scouts img { height: 46px; width: auto; max-width: 140px; object-fit: contain; }
.nav-sub, .feature, .news-list li, .logo-grid article, .media-files a { border-radius: 14px; }
.feature, .news-list li { overflow: hidden; }
.map-frame iframe, .prose .gala-banner img { border-radius: 14px; }
.prose p { margin: .55rem 0; }
.prose ul, .prose ol { padding-left: 1.2rem; }
.prose img { margin: .8rem 0; }
.prose .img-emoji { width: 1.1em; height: 1.1em; display: inline; margin: 0 .12em; vertical-align: -0.15em; }
.prose img.img-file { width: 48px; height: 48px; display: inline-block; vertical-align: middle; margin: .15rem .45rem .15rem 0; object-fit: contain; }
.prose .img-logo { height: 84px; width: auto; max-width: 100%; display: block; object-fit: contain; margin: .5rem auto; }
.prose .img-banner { display: block; width: min(100%, 720px); max-height: 150px; height: auto; object-fit: contain; object-position: center center; margin: .7rem auto; }
.prose img.img-poster { height: 340px; width: auto; max-width: 100%; object-fit: contain; margin: .6rem auto; display: block; }
.prose.is-project figure { width: fit-content; max-width: 100%; margin-left: auto; margin-right: auto; }
.prose.is-project .photo-grid figure { width: auto; margin-left: 0; margin-right: 0; }
.prose.is-project .poster-row { justify-content: center; }
.prose.is-project .photo-grid { justify-items: center; }
.poster-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: flex-end; justify-content: center; margin: .8rem 0 1rem; }
.poster-row figure { margin: 0; }
.prose img.img-photo { width: 100%; max-height: 420px; object-fit: contain; object-position: center; }
.prose .blk-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1rem 0; align-items: start; }
.prose .blk-section { background: #f4f6ef; border-radius: 16px; padding: 1rem 1.1rem; margin: 1rem 0; }
.prose a.blk-button { display: inline-block; margin: .4rem 0; padding: .6rem 1rem; background: var(--green); color: #fff; border-radius: 999px; text-decoration: none; font-weight: 700; }
.prose a.blk-button:hover { background: var(--ink); color: #fff; }
.prose a.blk-file { font-weight: 700; }
.prose .blk-spacer { display: block; }
@media (max-width: 700px) {
  .prose .blk-columns { grid-template-columns: 1fr; }
}
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .45rem; margin: .8rem 0 1rem; }
.photo-grid figure { margin: 0; }
.prose .photo-grid img.img-photo { width: 100%; height: 168px; max-height: none; object-fit: cover; margin: 0; display: block; }
.prose table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
.prose td, .prose th { border-bottom: 1px solid var(--line); padding: .4rem .3rem; vertical-align: top; text-align: left; }
.prose .fb-gallery img, .prose .wp-block-gallery img, .prose .wp-block-column img { margin: 0; }
.fb-gallery { margin: 1rem 0; }
.fb-gallery table, .fb-gallery tbody { display: block; width: 100%; margin: 0; }
.fb-gallery tr { display: flex; gap: .45rem; margin: 0 0 .45rem; }
.fb-gallery tr:not(:has(td)) { display: none; }
.prose .fb-gallery td, .fb-gallery td {
  flex: 1 1 0; min-width: 0; display: block; width: auto !important;
  padding: 0 !important; border: 0 !important; text-align: center;
}
.fb-gallery a { display: block; }
.fb-gallery img { width: 100%; height: auto; display: block; object-fit: contain; }
.wp-block-columns { display: flex; flex-wrap: wrap; gap: 1rem; align-items: flex-start; margin: 1rem 0; }
.wp-block-column { flex: 1 1 180px; min-width: 0; }
.wp-block-gallery { display: flex; flex-wrap: wrap; gap: .5rem; margin: .8rem 0; }
.wp-block-gallery > .wp-block-image { flex: 1 1 180px; margin: 0; }
.map-frame { margin: 1rem 0 1.2rem; }
.map-frame iframe { display: block; width: 100%; height: 400px; border: 0; }
.contact-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.6rem 2rem; align-items: start; }
.contact-split .people { grid-template-columns: 1fr; }
.prose .gala-banner { margin: 1rem 0 1.2rem; }
.prose .gala-banner img { display: block; width: 100%; height: 180px; object-fit: cover; object-position: center; margin: 0; }
.gala-actions { display: flex; flex-wrap: wrap; gap: .55rem; margin: .8rem 0 1.2rem; }
.gala-actions a, .gala-actions span { display: inline-flex; align-items: center; justify-content: center; min-height: 2.8rem; padding: .65rem 1.05rem; border-radius: 999px; background: var(--green); color: #f6f3ea; text-decoration: none; font-weight: 700; }
.gala-actions a:hover { background: var(--ink); color: #f6f3ea; }
.gala-actions span { background: #e7e4dc; color: var(--muted); }
.logo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; margin-top: 1rem; }
.logo-grid article { display: flex; flex-direction: column; align-items: flex-start; gap: .35rem; min-width: 0; padding: .85rem .9rem 1rem; border: 1px solid var(--line); background: #fff; }
.logo-grid h3 { margin: 0; }
.prose .logo-grid img { display: block; width: 100%; height: 150px; max-width: 100%; object-fit: contain; object-position: left center; margin: .25rem 0 .15rem; background: #fff; }
.prose .logo-grid img.img-file { width: 64px; height: 64px; }
.media-split { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(220px, .9fr); gap: 1.6rem; align-items: start; }
.media-links { list-style: none; margin: .2rem 0 1.2rem; padding: 0; }
.media-links a { display: block; padding: .8rem 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 700; }
.media-links a:hover { color: var(--brass); }
.media-files { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.media-files a { display: flex; flex-direction: column; justify-content: space-between; gap: .6rem; min-height: 8.5rem; padding: 1rem; background: #f3f3f3; color: var(--ink); text-decoration: none; }
.media-files a:hover { color: var(--brass); }
.media-files span { color: var(--brass); font-size: .85rem; }
.prose .media-person img { display: block; width: auto; max-width: 100%; height: 320px; object-fit: contain; object-position: center top; margin: .35rem 0 .7rem; background: #fff; }
.media-person h3 { margin-top: .2rem; }
.people {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem;
  margin: 1rem 0 1.4rem;
}
.person {
  display: flex; flex-direction: column; align-items: stretch; text-align: left;
  margin: 0; padding: .85rem .9rem 1rem; background: var(--paper); border: 1px solid var(--line);
  border-radius: 16px;
  min-width: 0; overflow: hidden;
}
.person p, .person h3 { overflow-wrap: break-word; text-align: left; }
.person a { overflow-wrap: anywhere; }
.person img { width: 168px; height: 200px; max-width: 100%; object-fit: contain; object-position: center bottom; margin: 0 auto .7rem; background: #fff; flex: none; align-self: center; }
.person img.is-placeholder { object-fit: contain; object-position: center; padding: 1.4rem; background: #e4e2dc; }
.person h3 { margin: 0 0 .25rem; font-size: 1.05rem; }
.person p { margin: .15rem 0; }
.press {
  display: grid; grid-template-columns: 220px 1fr; gap: 1rem; align-items: start;
  padding: 1rem 0; border-bottom: 1px solid var(--line);
}
.press img { width: 220px; height: 140px; object-fit: cover; object-position: top; margin: 0; background: var(--paper-2); }
.press h2 { font-size: 1.2rem; margin: .2rem 0; }
.press h2 a { color: inherit; text-decoration: none; }
.press h2 a:hover { color: var(--brass); }
.press p { margin: .35rem 0 0; }
.post-hero { margin: 0 0 1.2rem; }
.post-hero img { width: 100%; max-height: 520px; object-fit: cover; }
.fb-gallery.is-album a,
.post-hero.is-album,
.photo-grid.is-album img,
.poster-row.is-album img,
.wp-block-gallery.is-album img { cursor: zoom-in; }
.post-lightbox[hidden] { display: none !important; }
.post-lightbox {
  position: fixed; inset: 0; z-index: 90;
  display: flex; align-items: center; justify-content: center;
}
.post-lightbox-backdrop { position: absolute; inset: 0; background: rgba(15, 23, 42, .75); }
.post-lightbox-img {
  position: relative; z-index: 1; display: block;
  max-width: min(92vw, 1100px); max-height: 86vh; object-fit: contain;
  background: #020617; border-radius: 12px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, .45);
}
.post-lightbox-count {
  position: absolute; z-index: 2; left: 50%; bottom: 1.1rem; transform: translateX(-50%);
  margin: 0; padding: .2rem .7rem; border-radius: 999px;
  background: rgba(15, 23, 42, .75); color: #fff; font-weight: 700; font-size: .9rem;
}
.post-lightbox button {
  position: absolute; z-index: 2; top: 50%; transform: translateY(-50%);
  width: 2.5rem; height: 2.5rem; border: 0; border-radius: 999px; padding: 0;
  display: grid; place-items: center;
  background: rgba(15, 23, 42, .75); color: #e5e7eb; cursor: pointer; font-size: 1.4rem; line-height: 1;
}
.post-lightbox button:hover { background: rgba(55, 65, 81, .9); }
.post-lightbox-prev { left: 1rem; }
.post-lightbox-next { right: 1rem; }
.post-lightbox .post-lightbox-close {
  top: 1rem; right: 1rem; transform: none; font-size: 1.3rem;
}
body.has-lightbox { overflow: hidden; }

.pager { display: flex; gap: 1rem; align-items: center; margin-top: 1.5rem; }
.pager a { text-decoration: none; border-bottom: 1px solid var(--brass); }

.site-foot { background: var(--green); color: #fff; margin-top: 2rem; padding: 2rem 0 1.2rem; }
.site-foot a { color: inherit; }

.cookie-banner, .cookie-manage { font-family: var(--sans, inherit); }
.cookie-banner {
  position: fixed; z-index: 80; left: 1rem; bottom: 1rem;
  width: min(526px, calc(100vw - 2rem));
  background: #fff; color: #222; border-radius: 12px;
  box-shadow: rgba(0, 0, 0, .19) 0 10px 20px, rgba(0, 0, 0, .23) 0 6px 6px;
  padding: 15px 20px; font-size: .92rem; line-height: 1.45;
}
.cookie-banner[hidden], .cookie-manage[hidden], .cookie-banner [hidden] { display: none; }
.cookie-title { margin: 0 0 .35rem; font-weight: 700; font-size: 1.05rem; }
.cookie-banner p { margin: .35rem 0; }
.cookie-prefs { margin-top: .6rem; }
.cookie-prefs label { display: flex; gap: .45rem; align-items: center; font-weight: 700; }
.cookie-prefs span { margin-left: auto; font-weight: 400; color: #666; font-size: .82rem; }
.cookie-note { font-weight: 400; color: #444; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .75rem; }
.cookie-actions button {
  border-radius: 999px; padding: 10px 16px; cursor: pointer; font: inherit;
}
.cookie-accept { background: var(--green); color: #fff; border: 1px solid var(--lime); }
.cookie-deny, .cookie-view, .cookie-save { background: #f9f9f9; color: #222; border: 1px solid #f2f2f2; }
.cookie-links { margin: .7rem 0 0; }
.cookie-links a { color: var(--green); }
.foot-legal .cookie-manage {
  display: inline; margin: 0; padding: 0; border: 0; border-radius: 0;
  background: none; box-shadow: none; color: inherit; font: inherit;
  text-decoration: underline; text-underline-offset: .18em; cursor: pointer;
}
.foot-legal .cookie-manage::before { content: " · "; text-decoration: none; }
.cookie-manage[hidden] { display: none; }
@media (max-width: 900px) {
  .cookie-banner { left: .6rem; right: .6rem; bottom: .6rem; width: auto; }
}
.foot-grid { display: grid; grid-template-columns: 1.2fr 1.3fr .8fr; gap: 1.5rem; }
.foot-name { font-family: var(--serif); font-size: 1.2rem; margin: 0 0 .4rem; }
.foot-links { list-style: none; margin: 0; padding: 0; }
.foot-links a { text-decoration: none; }
.foot-legal { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.25); margin-top: 1.4rem; padding-top: .8rem; font-size: .92rem; color: #fff; }

.empty { color: var(--muted); }

@media (max-width: 900px) {
  .nav-burger { display: inline-flex; }
  .mast:has(.nav-check:checked) { position: static; }
  .nav-list { display: none; padding-bottom: 1rem; }
  .nav-list > li > a, .nav-list > li > details > summary {
    display: flex; align-items: center; justify-content: space-between;
    padding: .7rem 0; border-bottom: 1px solid var(--line);
  }
  .nav-list > li.has-sub > details > summary::after {
    content: ""; position: static; left: auto; right: auto; top: auto;
    width: .45rem; height: .45rem; margin-right: .2rem;
    border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
    transform: rotate(45deg); flex: none;
  }
  .nav-list > li.has-sub > details[open] > summary::after { transform: rotate(-135deg); }
  .nav-check:checked ~ .nav .nav-list { display: block; }
  .has-sub:hover > details:not([open]) > .nav-sub,
  .has-sub:focus-within > details:not([open]) > .nav-sub,
  .has-sub details:not([open]) > .nav-sub { display: none; }
  .has-sub:hover > details:not([open])::details-content,
  .has-sub:focus-within > details:not([open])::details-content {
    content-visibility: hidden; display: none; height: 0; overflow: hidden;
  }
  .has-sub details[open] > .nav-sub {
    position: static; display: block; width: auto; max-width: none;
    box-shadow: none; border: 0; padding: .15rem 0 .7rem .85rem; background: transparent;
  }
  .has-sub details[open]::details-content {
    content-visibility: visible; display: block; height: auto; overflow: visible;
  }
  .nav-group { max-width: none; }
  .nav-group a { padding: .45rem 0; }
  .news-grid, .split, .events, .foot-grid, .intro-row, .wp-block-columns { grid-template-columns: 1fr; }
  .wp-block-columns { flex-direction: column; }
  .intro-copy { text-align: center; padding: 0 .5rem 1rem; }
  .posters { grid-template-columns: repeat(2, 1fr); }
  .mast-row { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem .7rem; }
  .brand { flex: 0 1 auto; max-width: calc(100% - 9.5rem); justify-self: auto; }
  .brand img { height: auto; max-height: 46px; max-width: 100%; }
  .brand-zhp { flex: none; margin-right: 0; justify-self: auto; }
  .brand-zhp img { height: 34px; }
  .nav-burger { margin-left: auto; }
  .search { order: 3; flex: 1 1 100%; }
  .search input { width: 100%; }
  .top-panel ul, .hufce-dir { columns: 1; }
  .page-layout, .media-split, .media-files, .contact-split, .logo-grid { grid-template-columns: 1fr; }
  .page-side { position: static; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .prose img.img-poster { height: 240px; }
  .people, .press, .signup, .quick-grid { grid-template-columns: 1fr; }
  .signup-photo { min-height: 220px; margin-left: 0; border-radius: 0; }
  .quick-card .shot { height: 220px; }
  .report-files { grid-template-columns: 1fr; }
  .person img { width: 148px; height: 176px; }
  .press img { width: 100%; height: 180px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
