/* Public website: shared masthead and the compact reference homepage. */
body.homepage-reference {
  --red: #b80719;
  --dark: #102b3a;
  --ink: #102b3a;
  --line: #dfe3e7;
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  background: #fff;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  box-shadow: 0 0 32px #102b3a08;
}
.homepage-reference .wrap {
  width: 100%;
  max-width: 1180px;
  padding-inline: 24px;
  margin-inline: auto;
}
.homepage-reference .reference-footer-brand { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.homepage-reference .reference-footer-brand > small { font-size: 10px; font-weight: 400; line-height: 1.5; overflow-wrap: anywhere; }
.homepage-reference .topbar { background: var(--red); }
.homepage-reference .topinner {
  height: 40px;
  min-height: 40px;
  justify-content: space-between;
  gap: 24px;
  font-size: 13px;
}
.homepage-reference .topinner .emergency { font-size: 16px; font-weight: 700; }
.homepage-reference .topinner > span { margin-left: auto; }
.homepage-reference .toplinks:empty { display: none; }
.homepage-reference .header {
  position: relative;
  z-index: 20;
  background: #fff;
  border-bottom: 1px solid #e9ecef;
  box-shadow: none;
}
.homepage-reference .headinner {
  --header-logo-size: 72px;
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr) 72px;
  align-items: center;
  gap: 24px;
  height: 94px;
  min-height: 94px;
}
.homepage-reference .brand {
  grid-column: 1;
  display: flex;
  align-items: center;
  position: relative;
  gap: 11px;
  height: auto;
  padding: 0;
  min-width: 0;
}
.homepage-reference .brand > .coat {
  position: static;
  display: block;
  width: 54px;
  height: 62px;
  max-width: 54px;
  object-fit: contain;
  transform: none;
}
.homepage-reference .brandname { gap: 2px; }
.homepage-reference .brandname small {
  color: var(--ink);
  font-size: 12px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: .05px;
}
.homepage-reference .brandname strong {
  color: var(--red);
  font-size: 30px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -.75px;
}
.homepage-reference .brandname em { display: none; }
.homepage-reference .headinner > .roundcrest {
  grid-column: 3;
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin: 0;
  overflow: visible;
  background: transparent;
}
.homepage-reference .headinner > .roundcrest.custom-image-slot > .custom-slot-image {
  position: static;
  width: 72px;
  height: 72px;
  max-width: 100%;
  border-radius: 0;
  object-fit: contain;
  object-position: center;
  transform: none;
  clip-path: none;
  box-shadow: none;
  filter: none;
}
.homepage-reference .header #nav {
  grid-column: 2;
  display: flex;
  position: static;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin: 0;
  padding: 0;
  min-width: 0;
  color: var(--ink);
  background: transparent;
  font-size: 14px;
  font-weight: 700;
  box-shadow: none;
}
.homepage-reference .header #nav a,
.homepage-reference .reference-nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 44px;
  padding: 10px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: 1.35;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}
.homepage-reference .header #nav a.active,
.homepage-reference .header #nav .reference-nav-toggle.active,
.homepage-reference .header #nav .is-active > .reference-nav-toggle { color: var(--red); }
.homepage-reference .header #nav a:hover,
.homepage-reference .reference-nav-toggle:hover { color: var(--red); }
.homepage-reference .header #nav a:focus-visible,
.homepage-reference .reference-nav-toggle:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 4px;
  border-radius: 3px;
}
.homepage-reference .reference-nav-group { position: relative; }
.homepage-reference .reference-nav-toggle svg { width: 10px; height: 10px; }
.homepage-reference .reference-nav-submenu {
  display: none;
  position: absolute;
  z-index: 50;
  top: calc(100% - 1px);
  left: -16px;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  min-width: 212px;
  margin: 0;
  padding: 8px;
  list-style: none;
  border: 1px solid #e2e6e9;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 10px 28px #102b3a1c;
}
.homepage-reference .is-open > .reference-nav-submenu { display: flex; }
.homepage-reference .header #nav .reference-nav-submenu a {
  display: flex;
  justify-content: flex-start;
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 0;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 500;
  white-space: normal;
}
.homepage-reference .header #nav .reference-nav-submenu a:hover { background: #f5f6f7; }
.homepage-reference .header #nav .reference-nav-emergency { display: none; }
.homepage-reference .menu-btn { display: none; }

/* Keep the photograph and the title as independent, readable panels. */
.reference-home .hero,
.reference-home .hero.has-title-photo {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: none;
  height: auto;
  min-height: 290px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}
.reference-home .hero .hero-title-photo {
  position: absolute;
  top: 0;
  right: 0;
  width: 64%;
  height: 100%;
  max-width: none;
  aspect-ratio: auto;
  border-radius: 0;
  object-fit: cover;
  object-position: center 62%;
  clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%);
}
.reference-home .hero .hero-wash {
  position: relative;
  inset: auto;
  z-index: 1;
  height: auto;
  background: transparent;
  pointer-events: none;
}
.reference-home .hero .hero-content {
  position: relative;
  inset: auto;
  width: 100%;
  max-width: 1180px;
  height: auto;
  min-height: 290px;
  margin-inline: auto;
  padding: 30px 24px 25px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}
.reference-home .hero h1 {
  width: max-content;
  max-width: 44%;
  margin: 0 0 13px;
  color: var(--ink);
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -1.2px;
  line-height: 1.06;
  text-shadow: none;
}
.reference-home .hero h1 span { color: var(--red); font-size: 56px; line-height: 1.08; }
.reference-home .hero h2 { display: block; max-width: 380px; margin: 0 0 8px; color: #566571; font-size: 14px; font-weight: 600; line-height: 1.4; }
.reference-home .hero #intro,
.reference-home .hero #intro p {
  max-width: 380px;
  margin: 0 0 18px;
  color: #566571;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.5;
  text-shadow: none;
}
.reference-home .hero #intro p:last-child { margin-bottom: 0; }
.reference-home .hero .actions { display: flex; gap: 12px; pointer-events: auto; }
.reference-home .hero .actions .btn {
  min-height: 44px;
  padding: 11px 20px;
  border: 1px solid var(--dark);
  border-radius: 5px;
  background: #fff;
  color: var(--dark);
  font-size: 14px;
  font-weight: 700;
  box-shadow: none;
}
.reference-home .hero .actions .btn:hover { color: #fff; background: var(--dark); }
.reference-home .hero .actions .btn:focus-visible { outline: 3px solid #102b3a; outline-offset: 4px; }
.reference-home .quicknav,
.reference-home .quicknav.visibility-adjusted {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  width: calc(100% - 48px);
  max-width: 1132px;
  margin: 16px auto 22px;
  padding: 0;
  border: 1px solid #e4e7e9;
  border-radius: 7px;
  background: #f3f4f5;
  overflow: hidden;
}
.reference-home .quicknav > a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  position: relative;
  min-height: 60px;
  padding: 9px 20px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.reference-home .quicknav > a + a::before {
  content: '';
  position: absolute;
  top: 14px;
  bottom: 14px;
  left: 0;
  width: 1px;
  background: #d7dce0;
}
.reference-home .quicknav > a:nth-child(3n+1)::before { display: none; }
.reference-home .quicknav > a:nth-child(n+4) { border-top: 1px solid #d7dce0; }
.reference-home .quicknav > a:hover { background: #e9edef; }
.reference-home .quicknav i,
.reference-home .reference-quick-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  color: var(--red);
  font-size: 31px;
}
.reference-home .quicknav i svg,
.reference-home .reference-quick-icon > svg { display: block; width: 36px; height: 36px; flex-shrink: 0; }
.reference-home .reference-quick-icon > img { display: block; width: 36px; height: 36px; object-fit: contain; }
.reference-home .quicknav b,
.reference-home .quicknav > a > strong { font-size: 17px; line-height: 1.3; font-weight: 700; }
.reference-home .quicknav small { display: none; }
.reference-home .content-grid,
.reference-home .content-grid.visibility-adjusted {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 34px;
  margin-top: 24px;
  margin-bottom: 28px;
}
.reference-home #social {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  align-items: start;
  gap: 22px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #f3f4f5;
}
.reference-home #social .section-title { align-items: flex-start; flex-direction: column; justify-content: flex-start; gap: 14px; margin: 0; }
.reference-home #social .social-card { min-width: 0; height: 220px; border-radius: 5px; }
.reference-home .lower-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 24px;
  margin-block: 28px;
}
.reference-home .lower-grid .mini-panel { overflow: hidden; border: 1px solid var(--line); border-radius: 7px; background: #fff; box-shadow: none; }
.reference-home .lower-grid .mini-top { padding: 15px 20px; background: #f3f4f5; color: var(--ink); font-size: 18px; line-height: 1.35; }
.reference-home .lower-grid .mini-main { min-width: 0; padding: 20px; }
.reference-home .lower-grid .mini-body { flex-direction: column; gap: 16px; padding: 20px; }
.reference-home .lower-grid .mini-body .mini-main { padding: 0; }
.reference-home .lower-grid .side-menu { flex-direction: row; flex-wrap: wrap; min-width: 0; gap: 9px; font-size: 11px; }
.reference-home .lower-grid .mini-main h3 { font-size: 19px; line-height: 1.35; }
.reference-home .lower-grid .mini-main p { font-size: 14px; line-height: 1.7; }
.reference-home .lower-grid .tile-grid { gap: 16px; }
.reference-home .lower-grid .tile-grid b { font-size: 14px; line-height: 1.4; }
.reference-home .lower-grid .tile-grid small { font-size: 12px; line-height: 1.5; }
.reference-home .lower-grid #kontakt { grid-column: 1 / -1; }
.reference-home #downloads { margin-block: 28px; }
.reference-home #downloads .download { gap: 16px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 6px; }
.reference-home #foerderverein { margin-block: 28px; }
.reference-home #foerderverein .footnote { text-align: left; color: #566571; font-size: 14px; line-height: 1.7; }
.reference-home .section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  min-height: 34px;
  gap: 14px;
  margin: 0 0 15px;
}
.reference-home .section-title h2 {
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--ink);
  font-size: 27px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -.6px;
}
.reference-home .section-title h2::before { display: none; }
.reference-home .section-title > a {
  min-height: 32px;
  padding: 3px 0;
  color: var(--red);
  font-size: 12px;
  line-height: 1.3;
  font-weight: 500;
  white-space: nowrap;
}
.reference-home #posts {
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
  border: 1px solid #dce1e5;
  border-radius: 7px;
  background: #fff;
}
.reference-home .reference-incident {
  display: grid;
  grid-template-columns: 44px 41px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  min-height: 70px;
  margin: 0;
  padding: 10px 14px;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}
.reference-home .reference-incident + .reference-incident { border-top: 1px solid #e4e7e9; }
.reference-home .reference-incident:hover,
.reference-home .reference-news:hover { background: #fafbfc; box-shadow: none; }
.reference-home .reference-incident:focus-visible,
.reference-home .reference-news:focus-visible { outline: 3px solid var(--red); outline-offset: -3px; }
.reference-home .reference-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 0;
  min-height: 48px;
  padding: 5px 3px;
  border: 0;
  border-radius: 5px;
  background: #f2f4f5;
  color: var(--ink);
}
.reference-home .reference-date strong { font-size: 24px; line-height: 1; font-weight: 700; }
.reference-home .reference-date small { font-size: 10px; line-height: 1.3; text-transform: uppercase; color: #6d7781; }
.reference-home .reference-code {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 39px;
  min-height: 29px;
  padding: 4px 5px;
  border: 1px solid var(--red);
  border-radius: 4px;
  background: var(--red);
  color: #fff;
  font-size: 12px;
  line-height: 1.1;
  font-weight: 700;
  text-align: center;
}
.reference-home .reference-incident-copy { min-width: 0; }
.reference-home .reference-incident-copy.has-preview { display: grid; grid-template-columns: 80px minmax(0, 1fr); align-items: center; gap: 12px; }
.reference-home .reference-incident-text { min-width: 0; }
.reference-home .reference-incident-media,
.reference-home .reference-incident-thumbnail,
.reference-home .reference-news-media { display: block; flex-shrink: 0; width: 80px; height: 64px; overflow: hidden; border-radius: 5px; background: #f0f2f4; }
.reference-home .reference-incident-media > img,
.reference-home .reference-incident-thumbnail > img,
.reference-home img.reference-incident-thumbnail,
.reference-home .reference-news-media > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.reference-home .reference-incident-copy h3 {
  margin: 0 0 5px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.reference-home .reference-incident-copy p {
  display: block;
  margin: 0;
  overflow: hidden;
  color: #6d7781;
  font-size: 11px;
  line-height: 1.4;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.reference-home .reference-incident-copy .reference-excerpt,
.reference-home .reference-news-copy .reference-excerpt { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 8px 0 0; color: #566571; font-size: 12px; line-height: 1.5; white-space: normal; text-overflow: clip; }
.reference-home .reference-read {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--red);
  font-size: 11px;
  line-height: 1.4;
  white-space: nowrap;
}
.reference-home .reference-read > svg { display: block; flex: 0 0 13px; width: 13px; height: 13px; }
.reference-home #news { display: flex; flex-direction: column; gap: 13px; }
.reference-home .reference-news {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 15px;
  min-height: 90px;
  margin: 0;
  padding: 14px 18px;
  border: 1px solid #dce1e5;
  border-radius: 7px;
  background: #fff;
  box-shadow: none;
}
.reference-home .reference-news:has(.reference-news-media) { grid-template-columns: 80px minmax(0, 1fr) 18px; }
.reference-home .reference-news-icon { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 7px; background: #fff0f1; color: var(--red); }
.reference-home .reference-news-icon svg { display: block; width: 29px; height: 29px; }
.reference-home .reference-news-copy { min-width: 0; }
.reference-home .reference-news-copy h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.reference-home .reference-news-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; color: #6d7781; font-size: 11px; line-height: 1.4; }
.reference-home .reference-news-meta .report-category,
.reference-home .reference-news-meta .reference-category {
  display: inline;
  margin: 0;
  padding: 0;
  background: transparent;
  color: var(--red);
  font-size: inherit;
  font-weight: 400;
}
.reference-home .reference-news-arrow { color: var(--red); font-size: 22px; line-height: 1; }
.reference-home #posts .empty { border: 0; border-radius: 0; }
.reference-home #news .empty { border: 1px solid #dce1e5; border-radius: 7px; }

.homepage-reference .reference-footer { background: var(--dark); color: #fff; }
.homepage-reference > .legal-links,
.homepage-reference .app-offer { display: none; }
.homepage-reference .reference-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 88px;
  padding-block: 18px;
  font-size: 12px;
  line-height: 1.5;
}
.homepage-reference .reference-footer-links,
.homepage-reference .reference-footer-social,
.homepage-reference .reference-footer-tools { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 18px; }
.homepage-reference .reference-footer-links { margin-left: auto; font-size: 12px; }
.homepage-reference .reference-footer-social { gap: 15px; }
.homepage-reference .reference-footer-social a { display: inline-flex; position: relative; align-items: center; justify-content: center; width: 26px; height: 30px; border-radius: 0; background: transparent; color: inherit; }
.homepage-reference .reference-footer-social a > span { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.homepage-reference .reference-footer-social svg { display: block; width: 20px; height: 20px; }
.homepage-reference .reference-footer-tools { gap: 14px; font-size: 11px; color: #e2e8ed; }
.homepage-reference .reference-footer-tools .app-install-trigger { margin: 0; padding: 5px 0; font: inherit; }
.homepage-reference .reference-app-button { min-height: 30px; margin: 0; padding: 5px 0; border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; }
.homepage-reference .reference-app-button:hover { text-decoration: underline; text-underline-offset: 3px; }
.homepage-reference .reference-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.homepage-reference .reference-footer a:focus-visible,
.homepage-reference .reference-footer button:focus-visible { outline: 2px solid #fff; outline-offset: 4px; border-radius: 2px; }
.homepage-reference .reading-page { padding-top: 30px; }

@media (min-width: 761px) and (max-width: 1100px) {
  .homepage-reference .headinner { height: 84px; min-height: 84px; grid-template-columns: max-content minmax(0, 1fr) 60px; gap: 16px; }
  .homepage-reference .brand > .coat { width: 46px; height: 54px; max-width: 46px; }
  .homepage-reference .brandname small { font-size: 10px; }
  .homepage-reference .brandname strong { font-size: 26px; }
  .homepage-reference .headinner > .roundcrest,
  .homepage-reference .headinner > .roundcrest.custom-image-slot > .custom-slot-image { width: 60px; height: 60px; }
  .homepage-reference .header #nav { font-size: 12px; gap: 16px; }
  .reference-home .hero,
  .reference-home .hero.has-title-photo { height: auto; min-height: 290px; }
  .reference-home .hero h1 { font-size: 36px; max-width: 44%; }
  .reference-home .hero h1 span { font-size: 48px; }
  .reference-home .hero #intro,
  .reference-home .hero #intro p { max-width: 305px; font-size: 15px; }
  .reference-home .content-grid { gap: 24px; }
  .reference-home .section-title h2 { font-size: 23px; }
  .reference-home .section-title > a { font-size: 10px; }
  .reference-home .reference-incident { grid-template-columns: 40px 36px minmax(0, 1fr) 14px; gap: 9px; padding-inline: 12px; }
  .reference-home .reference-incident-copy h3 { font-size: 14px; }
  .reference-home .reference-code { min-width: 34px; }
  .reference-home .reference-read > span { display: none; }
  .reference-home .reference-news { gap: 10px; padding-inline: 14px; }
  .reference-home .reference-news-copy h3 { font-size: 15px; }
  .homepage-reference .reference-footer-inner { flex-wrap: wrap; gap: 12px 24px; }
}
@media (min-width: 761px) and (max-width: 900px) {
  .homepage-reference .headinner { gap: 12px; }
  .homepage-reference .header #nav { gap: 11px; font-size: 11px; }
  .homepage-reference .brandname small { font-size: 9px; }
  .homepage-reference .brandname strong { font-size: 25px; }
}
@media (max-width: 760px) {
  body.homepage-reference { font-size: 14px; line-height: 1.5; box-shadow: none; }
  .homepage-reference .wrap { padding-inline: 20px; }
  .homepage-reference .topbar { display: none; }
  .homepage-reference .headinner {
    display: flex;
    gap: 10px;
    height: 78px;
    min-height: 78px;
    padding-inline: 17px;
  }
  .homepage-reference .brand { gap: 9px; padding: 0; flex: 0 1 auto; }
  .homepage-reference .brand > .coat { width: 42px; height: 49px; max-width: 42px; }
  .homepage-reference .brandname { gap: 2px; }
  .homepage-reference .brandname small { font-size: 9px; line-height: 1.2; letter-spacing: 0; }
  .homepage-reference .brandname strong { font-size: 25px; line-height: 1.1; letter-spacing: -.6px; }
  .homepage-reference .headinner > .roundcrest { order: 2; width: 48px; height: 48px; margin: 0 0 0 auto; flex-shrink: 0; }
  .homepage-reference .headinner > .roundcrest.custom-image-slot > .custom-slot-image { width: 48px; height: 48px; }
  .homepage-reference .menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    order: 3;
    position: relative;
    width: 36px;
    min-width: 36px;
    height: 44px;
    margin: 0;
    padding: 0;
    color: var(--ink);
    font-size: 26px;
    line-height: 1;
  }
  .homepage-reference .header #nav {
    display: none;
    position: fixed;
    z-index: 1000;
    top: var(--mobile-menu-top, 78px);
    left: 0;
    right: 0;
    align-items: stretch;
    justify-content: flex-start;
    flex-direction: column;
    gap: 0;
    max-height: calc(100dvh - var(--mobile-menu-top, 78px));
    margin: 0;
    padding: 8px 20px 18px;
    overflow: auto;
    overscroll-behavior: contain;
    border-top: 1px solid #e2e6e9;
    background: #fff;
    box-shadow: 0 10px 20px #102b3a24;
    font-size: 16px;
  }
  .homepage-reference .header #nav.open { display: flex; }
  .homepage-reference .header #nav.open .reference-nav-emergency { display: flex; justify-content: center; min-height: 44px; margin: 6px 0 8px; padding: 11px 14px; border: 0; border-radius: 4px; background: var(--red); color: #fff; font-size: 16px; font-weight: 700; }
  .homepage-reference .reference-nav-group { width: 100%; border-bottom: 1px solid #e7eaed; }
  .homepage-reference .reference-nav-group:last-child { border-bottom: 0; }
  .homepage-reference .header #nav > a,
  .homepage-reference .header #nav .reference-nav-group > a,
  .homepage-reference .header #nav .reference-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 48px;
    padding: 12px 4px;
    border: 0;
    border-radius: 0;
    background: transparent;
    font-size: 16px;
    line-height: 1.4;
    text-align: left;
  }
  .homepage-reference .reference-nav-submenu {
    position: static;
    width: 100%;
    min-width: 0;
    margin: 0 0 10px;
    padding: 2px 7px 2px 16px;
    border: 0;
    border-radius: 4px;
    background: #f5f6f7;
    box-shadow: none;
  }
  .homepage-reference .header #nav .reference-nav-submenu a { min-height: 44px; padding: 10px 7px; font-size: 14px; }
  .reference-home .hero,
  .reference-home .hero.has-title-photo { display: flex; flex-direction: column; height: auto; min-height: 0; width: 100%; margin: 0; border-radius: 0; }
  .reference-home .hero .hero-title-photo {
    order: -1;
    position: static;
    width: 100%;
    height: 195px;
    min-height: 195px;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center 62%;
    clip-path: none;
    border-radius: 0;
  }
  .reference-home .hero .hero-wash { position: static; width: 100%; height: auto; background: #fff; }
  .reference-home .hero .hero-content { position: static; width: 100%; height: auto; min-height: 0; padding: 19px 20px 20px; background: #fff; }
  .reference-home .hero h1 { max-width: 100%; margin: 0 0 9px; font-size: 29px; line-height: 1.05; letter-spacing: -.7px; }
  .reference-home .hero h1 span { font-size: 38px; line-height: 1.06; }
  .reference-home .hero h2 { max-width: 100%; margin-bottom: 7px; font-size: 12px; line-height: 1.45; }
  .reference-home .hero #intro,
  .reference-home .hero #intro p { max-width: 100%; margin: 0; font-size: 14px; line-height: 1.5; }
  .reference-home .hero .actions { display: none; }
  .reference-home .quicknav,
  .reference-home .quicknav.visibility-adjusted { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: calc(100% - 40px); margin: 4px auto 22px; }
  .reference-home .quicknav > a { justify-content: flex-start; gap: 10px; min-height: 56px; padding: 10px 12px; border-top: 0; }
  .reference-home .quicknav > a:nth-child(n+3) { border-top: 1px solid #d7dce0; }
  .reference-home .quicknav > a::before { display: block; top: 12px; bottom: 12px; }
  .reference-home .quicknav > a:nth-child(2n+1)::before { display: none; }
  .reference-home .reference-quick-icon { flex-basis: 32px; width: 32px; height: 32px; }
  .reference-home .reference-quick-icon > svg,
  .reference-home .reference-quick-icon > img { width: 28px; height: 28px; }
  .reference-home .quicknav > a > strong { min-width: 0; font-size: 14px; line-height: 1.35; overflow-wrap: anywhere; }
  .reference-home .content-grid,
  .reference-home .content-grid.visibility-adjusted { grid-template-columns: 1fr; gap: 24px; margin-top: 4px; margin-bottom: 25px; }
  .reference-home #social { grid-template-columns: 1fr; gap: 16px; padding: 16px; }
  .reference-home #social .section-title { flex-direction: row; align-items: center; justify-content: space-between; }
  .reference-home #social .social-card { height: 210px; }
  .reference-home .lower-grid { grid-template-columns: 1fr; gap: 20px; margin-block: 24px; }
  .reference-home .lower-grid .mini-top { padding: 14px 16px; }
  .reference-home .lower-grid .mini-main,
  .reference-home .lower-grid .mini-body { padding: 16px; }
  .reference-home .lower-grid .mini-body .mini-main { padding: 0; }
  .reference-home .lower-grid .side-menu { display: flex; }
  .reference-home .contact-person-grid { grid-template-columns: 1fr; }
  .reference-home .section-title { min-height: 31px; gap: 10px; margin-bottom: 11px; }
  .reference-home .section-title h2 { font-size: 22px; line-height: 1.2; letter-spacing: -.5px; }
  .reference-home .section-title > a { display: inline-flex; align-items: center; min-height: 32px; margin: 0; font-size: 10px; }
  .reference-home .reference-incident {
    grid-template-columns: 39px 34px minmax(0, 1fr) 14px;
    gap: 9px;
    min-height: 72px;
    padding: 10px 11px;
  }
  .reference-home .reference-date { gap: 3px; min-height: 46px; padding: 5px 3px; }
  .reference-home .reference-date strong { font-size: 23px; }
  .reference-home .reference-date small { font-size: 9px; }
  .reference-home .reference-code { min-width: 32px; min-height: 26px; padding: 4px 3px; font-size: 11px; }
  .reference-home .reference-incident-copy h3 { margin-bottom: 5px; font-size: 13px; line-height: 1.3; }
  .reference-home .reference-incident-copy p { font-size: 11px; line-height: 1.4; }
  .reference-home .reference-incident-copy .reference-excerpt,
  .reference-home .reference-news-copy .reference-excerpt { margin-top: 7px; font-size: 12px; line-height: 1.5; }
  .reference-home .reference-incident-copy.has-preview { grid-template-columns: 64px minmax(0, 1fr); gap: 9px; }
  .reference-home .reference-incident-media,
  .reference-home .reference-incident-thumbnail,
  .reference-home .reference-news-media { width: 64px; height: 56px; }
  .reference-home .reference-read { font-size: 0; gap: 0; }
  .reference-home .reference-read > span,
  .reference-home .reference-read > svg { display: none; }
  .reference-home .reference-read::after { content: '\2192'; font-size: 19px; line-height: 1; }
  .reference-home .reference-news { grid-template-columns: 32px minmax(0, 1fr) 14px; min-height: 88px; padding: 12px 13px; gap: 11px; }
  .reference-home .reference-news:has(.reference-news-media) { grid-template-columns: 64px minmax(0, 1fr) 14px; gap: 10px; }
  .reference-home .reference-news-icon { width: 32px; height: 32px; border-radius: 5px; }
  .reference-home .reference-news-icon svg { width: 24px; height: 24px; }
  .reference-home .reference-news-copy h3 { margin-bottom: 7px; font-size: 15px; line-height: 1.35; }
  .reference-home .reference-news-meta { gap: 5px; font-size: 11px; }
  .reference-home .reference-news-arrow { font-size: 20px; }
  .homepage-reference .reference-footer-inner { flex-wrap: wrap; justify-content: flex-start; gap: 13px 18px; min-height: 110px; padding-block: 20px; font-size: 11px; }
  .homepage-reference .reference-footer-inner > :first-child { flex: 1 1 100%; }
  .homepage-reference .reference-footer-links { margin: 0; justify-content: flex-start; gap: 13px; font-size: 11px; }
  .homepage-reference .reference-footer-social { margin-left: auto; gap: 9px; }
  .homepage-reference .reference-footer-social a { width: 23px; height: 24px; }
  .homepage-reference .reference-footer-social svg { width: 19px; height: 19px; }
  .homepage-reference .reference-footer-tools { justify-content: flex-start; gap: 15px; font-size: 10px; }
  .homepage-reference .reading-page { padding-top: 24px; }
}
@media (max-width: 360px) {
  .homepage-reference .headinner { gap: 7px; padding-inline: 13px; }
  .homepage-reference .brand { gap: 7px; }
  .homepage-reference .brand > .coat { width: 36px; height: 44px; max-width: 36px; }
  .homepage-reference .brandname small { font-size: 8px; }
  .homepage-reference .brandname strong { font-size: 23px; }
  .homepage-reference .headinner > .roundcrest,
  .homepage-reference .headinner > .roundcrest.custom-image-slot > .custom-slot-image { width: 43px; height: 43px; }
  .homepage-reference .wrap { padding-inline: 16px; }
  .reference-home .hero .hero-content { padding-inline: 16px; }
  .reference-home .hero h1 { font-size: 28px; }
  .reference-home .hero h1 span { font-size: 36px; }
  .reference-home .quicknav,
  .reference-home .quicknav.visibility-adjusted { grid-template-columns: 1fr; width: calc(100% - 32px); }
  .reference-home .quicknav > a + a { border-top: 1px solid #d7dce0; }
  .reference-home .quicknav > a::before { display: none; }
  .reference-home .section-title h2 { font-size: 21px; }
  .reference-home .reference-incident { gap: 7px; padding-inline: 9px; }
  .reference-home .reference-incident-copy.has-preview { grid-template-columns: minmax(0, 1fr); gap: 9px; }
  .reference-home .reference-incident-copy.has-preview .reference-incident-text { grid-column: 1; grid-row: 1; }
  .reference-home .reference-incident-copy.has-preview .reference-incident-media,
  .reference-home .reference-incident-copy.has-preview .reference-incident-thumbnail { grid-column: 1; grid-row: 2; }
}
@media (prefers-reduced-motion: reduce) {
  .homepage-reference .reference-nav-toggle,
  .homepage-reference .reference-incident,
  .homepage-reference .reference-news { transition: none; }
}
