html:has(head link[rel="canonical"][href$="/methodology"]) main {
  --method-card: #fff;
  --method-ink: #1d1d1f;
  --method-link: #075578;
  --method-line: #d0d5da;
  --method-button-line: #718295;
  --method-hover: #e7f2f7;
}
html[data-facet-mode="dark"]:has(head link[rel="canonical"][href$="/methodology"]) main {
  --method-card: #0e1b2a;
  --method-ink: #f5f5f7;
  --method-link: #b6eaff;
  --method-line: #34516a;
  --method-button-line: #86a1b7;
  --method-hover: #20394c;
}
html:has(head link[rel="canonical"][href$="/methodology"]) main > section.r6_section__Msixs.r6_prose__tGEd2 {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin-block: clamp(18px, 3vw, 28px);
  padding: clamp(16px, 3vw, 28px);
  border: 1px solid var(--method-line);
  border-radius: 6px;
  background: var(--method-card);
  color: var(--method-ink);
}
html:has(head link[rel="canonical"][href$="/methodology"]) main :is(a.r6_button__0u4jK, .nextStepPrompt_prompt__C1C0e > a) {
  box-sizing: border-box;
  min-height: 44px;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  color: var(--method-link) !important;
  border: 1px solid var(--method-button-line) !important;
  background: var(--method-card);
  border-radius: 6px;
}
html:has(head link[rel="canonical"][href$="/methodology"]) main :is(a.r6_button__0u4jK, .nextStepPrompt_prompt__C1C0e > a):is(:hover,:focus-visible,:active) {
  background: var(--method-hover);
  color: var(--method-link) !important;
  border-color: var(--method-button-line) !important;
  text-decoration: underline;
}
html:has(head link[rel="canonical"][href$="/methodology"]) main :is(a.r6_button__0u4jK, .nextStepPrompt_prompt__C1C0e > a):focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

main.r6_wrap__LmW5I > article[data-package56-hub^="area-"] {
  min-width: 0;
  overflow-wrap: anywhere;
}

/* Keep the legacy duplicate out of the footer during hydration. */
footer li:has(> a[href$="/newsroom/media-kit"]),
footer a[href$="/newsroom/media-kit"] { display: none !important; }

footer [data-facet-campaign-footer] {
  margin-block: 0 clamp(20px, 3vw, 36px);
  padding-block: 14px;
  border-block-end: 1px solid #d0d5da;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 22px;
}
footer [data-facet-campaign-footer] > div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
}
footer [data-facet-campaign-footer] a[href] {
  color: #075578 !important;
  text-decoration: underline;
  text-underline-offset: .18em;
}
html[data-facet-mode="dark"] footer [data-facet-campaign-footer] a[href] {
  color: #b6eaff !important;
}

/* Match the campaign card to the article text column. */
main.article:has(> article.wrap) > aside[aria-label="Bei der Kampagne mitmachen"] {
  box-sizing: border-box;
  width: calc(min(100%, 736px) - 40px);
  margin-inline: auto;
}

/* The decorative wordmark can extend over the footer links. */
footer .giant[aria-hidden="true"] {
  pointer-events: none;
}


/* Bilingual press and campaign links below the primary navigation. */
body nav[data-facet-campaign-top] {
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: .375rem max(1rem, env(safe-area-inset-right)) .375rem max(1rem, env(safe-area-inset-left));
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 1.15rem;
  background: #eaf2f6;
  border-bottom: 1px solid #c9dbe5;
  color: #233d4b;
  font: 500 .875rem/1.35 system-ui, sans-serif;
}
body nav[data-facet-campaign-top] > div {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0 1rem;
}
body nav[data-facet-campaign-top] a[href] {
  display: inline-flex;
  align-items: center;
  min-height: 1.75rem;
  margin: 0;
  padding: .15rem 0;
  background: transparent;
  color: #075578 !important;
  text-decoration: underline;
  text-underline-offset: .18em;
}
body nav[data-facet-campaign-top] a[href]:hover,
body nav[data-facet-campaign-top] a[href]:focus-visible {
  color: #063b54 !important;
  text-decoration-thickness: .14em;
}
html[data-facet-mode="dark"] body nav[data-facet-campaign-top] {
  background: #112634;
  border-color: #426174;
  color: #e7f2f8;
}
html[data-facet-mode="dark"] body nav[data-facet-campaign-top] a[href] {
  color: #b6eaff !important;
}
html[data-facet-mode="dark"] body nav[data-facet-campaign-top] a[href]:hover,
html[data-facet-mode="dark"] body nav[data-facet-campaign-top] a[href]:focus-visible {
  color: #fff !important;
}
footer > nav[data-facet-campaign-footer] {
  width: 100%;
  grid-column: 1 / -1;
  flex-basis: 100%;
}



/* Use HOME's outer frame for the live page templates and campaign notice. */
:root {
  --eth-home-frame: 1260px;
  --eth-home-gutter: 22px;
}
@media (min-width: 744px) {
  :root { --eth-home-gutter: 36px; }
}
@media (min-width: 1024px) {
  :root { --eth-home-gutter: 64px; }
}

html body main#r6-main,
html body main#main.wrap,
html body main#main.article,
html body footer.wrap,
html body footer.site-foot > .wrap,
html body footer[data-facet-footer] > .facet-footer-inner {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--eth-home-frame);
  margin-inline: auto;
  padding-inline: var(--eth-home-gutter);
}

html body [data-facet-template] > footer[data-facet-footer="v2"] {
  padding-inline: 0;
}

html body main#r6-main > [data-route-trail] {
  width: 100%;
  max-inline-size: none;
  margin-inline: 0;
}
html body main#r6-main > [data-talk-to-sten][data-enquiry-layout],
html body main#r6-main > article[data-publication-figure],
html body main#r6-main > article[class*="Package56Hub_assisted__"],
html body [data-facet-template="T6"] > main#r6-main > article:has(h1) {
  margin-inline: 0 auto;
}
html body main#r6-main > article[data-package56-hub="models"] {
  width: 100%;
  max-width: 100%;
}

html body main#main.article > article.wrap,
html body main#main.article > aside {
  box-sizing: border-box;
  width: 100%;
  max-width: 696px;
  margin-inline: 0 auto;
}
html body main#main.article > article.wrap {
  padding-inline: 0;
}

html body nav[data-facet-campaign-top] {
  justify-content: flex-start;
  padding-inline: max(var(--eth-home-gutter), calc((100% - var(--eth-home-frame)) / 2 + var(--eth-home-gutter)));
}
html body nav[data-facet-campaign-top] > div {
  justify-content: flex-start;
}
@media print {
  html body nav[data-facet-campaign-top] { display: none; }
}

/* Headings wrap at words or hyphenation points before using an emergency break. */
html body main :is(h1, h2, h3) {
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: auto;
}
html body main article[data-package56-hub^="area-"] > header h1 {
  --hub-heading-size: clamp(2rem, 3.8vw, 3.75rem);
  text-wrap: balance;
  overflow-wrap: break-word;
}

/* The interaction underline is the only line on text links in the footer. */
html body footer :is(.facet-footer-directory, .facet-footer-mobile, .facet-footer-legal,
  .facet-footer-network, .foot-links, .fc, .fb, [data-facet-campaign-footer]) a[href]:not(:has(img, svg)) {
  border-block-end: 0 !important;
  text-decoration-style: solid;
}

