/* Start the first section directly below the site header. */
.bpt-ernaehrung-seite main.content {
  padding-block-start: 0;
}

/* Match the centered theme wrapper before expanding the section backgrounds. */
.bpt-ernaehrung-seite main > article.entry {
  width: 100%;
  max-width: none;
  padding-block-start: 0;
}

.bpt-ernaehrung-seite main article > h1,
.bpt-ernaehrung-seite main article > .entry-title,
.bpt-ernaehrung-seite main article > header.entry-header {
  display: none;
}
.bpt-ernaehrung {
  --bpt-ink: #191c39;
  --bpt-cream: #f5f0e8;
  --bpt-blue: #e3e9f3;
  --bpt-gold: #eba71c;
  color: var(--bpt-ink);
  font-family: inherit;
}
.bpt-ernaehrung-seite main .bpt-ernaehrung {
  width: 100vw;
  width: 100cqw;
  max-width: none;
  margin-inline: calc(50% - 50vw);
  margin-inline: calc(50% - 50cqw);
}
.bpt-ernaehrung-seite {
  container-type: inline-size;
}
.bpt-ernaehrung .bpt-wrap {
  box-sizing: border-box;
  width: min(1160px, 100% - 48px);
  max-width: none;
  margin-inline: auto;
}
.bpt-ernaehrung .bpt-hero {
  background: var(--bpt-cream);
  padding-block: clamp(48px, 6vw, 80px);
}
.bpt-ernaehrung .bpt-hero-grid,
.bpt-ernaehrung .bpt-hero-grid > .wp-block-group__inner-container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(24px, 5vw, 100px);
}
.bpt-ernaehrung .bpt-hero-grid:has(> .wp-block-group__inner-container) {
  display: block;
}
.bpt-ernaehrung .bpt-intro {
  background: #fff;
  padding-block: clamp(48px, 6vw, 80px);
}
.bpt-ernaehrung .bpt-offers {
  background: var(--bpt-blue);
  padding-block: clamp(48px, 6vw, 80px);
}
.bpt-ernaehrung h1,
.bpt-ernaehrung h2,
.bpt-ernaehrung h3 {
  color: inherit;
  margin: 0 0 28px;
}
.bpt-ernaehrung h1 {
  max-width: 15ch;
  margin-bottom: clamp(26px, 2.3vw, 44px);
}
.bpt-ernaehrung h3 { margin-bottom: 16px; }
body.page main .bpt-ernaehrung p,
.bpt-ernaehrung p {
  color: inherit;
  font-size: inherit;
  line-height: inherit;
  max-width: none;
  margin: 0 0 22px;
  text-align: start;
}
.bpt-ernaehrung .bpt-intro p:last-child,
.bpt-ernaehrung .bpt-card p:last-child { margin-bottom: 0; }
.bpt-ernaehrung .bpt-photo {
  width: min(100%, 354px);
  margin: 0;
  justify-self: center;
  transform: translateX(-7%);
}
.bpt-ernaehrung .bpt-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
}
.bpt-ernaehrung .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.bpt-ernaehrung .wp-block-button__link {
  display: inline-block;
  padding: 16px 26px;
  border: 1px solid var(--bpt-ink);
  border-radius: 999px;
  background: transparent;
  color: var(--bpt-ink);
  font-size: inherit;
  font-weight: 700;
  text-decoration: none;
}
.bpt-ernaehrung .bpt-primary .wp-block-button__link {
  background: var(--bpt-gold);
  border-color: var(--bpt-gold);
}
.bpt-ernaehrung .bpt-cards,
.bpt-ernaehrung .bpt-cards > .wp-block-group__inner-container {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.75rem);
}
.bpt-ernaehrung .bpt-cards:has(> .wp-block-group__inner-container) { display: block; }
.bpt-ernaehrung .bpt-card {
  min-width: 0;
  margin: 0;
  padding: 30px 30px 50px;
  border-radius: 18px;
  background: #f9f7f2;
  scroll-margin-top: 100px;
}
.bpt-ernaehrung .bpt-card-link a {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: .2em;
}
.bpt-ernaehrung a:focus-visible {
  outline: 2px solid var(--bpt-ink);
  outline-offset: 4px;
}
@media (max-width: 760px) {
  .bpt-ernaehrung .bpt-hero-grid,
  .bpt-ernaehrung .bpt-hero-grid > .wp-block-group__inner-container,
  .bpt-ernaehrung .bpt-cards,
  .bpt-ernaehrung .bpt-cards > .wp-block-group__inner-container { grid-template-columns: minmax(0, 1fr); }
  .bpt-ernaehrung .bpt-photo { justify-self: start; transform: none; }
  .bpt-ernaehrung .bpt-card { padding: 24px; }
}

.bpt-ernaehrung .bpt-toc {
  margin: 0 0 clamp(32px, 4vw, 60px);
  border-block: 1px solid #e0dacd;
}
.bpt-ernaehrung .bpt-toc summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 16px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: 650;
  list-style: none;
}
.bpt-ernaehrung .bpt-toc summary::-webkit-details-marker {
  display: none;
}
.bpt-ernaehrung .bpt-toc summary::after {
  content: "+";
  color: #946000;
  margin-inline-start: 16px;
}
.bpt-ernaehrung .bpt-toc[open] summary::after {
  content: "−";
}
.bpt-ernaehrung .bpt-toc ul {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
}
.bpt-ernaehrung .bpt-toc li + li {
  border-block-start: 1px solid #e0dacd;
}
.bpt-ernaehrung .bpt-toc a {
  display: flex;
  align-items: baseline;
  gap: .75em;
  padding-block: 11px;
  color: inherit;
  text-underline-offset: .2em;
}
.bpt-ernaehrung .bpt-toc a::before {
  content: "↓" / "";
  color: #946000;
}
.bpt-ernaehrung .bpt-toc summary:focus-visible {
  outline: 2px solid var(--bpt-ink);
  outline-offset: 4px;
}
.bpt-ernaehrung .bpt-toc-target {
  scroll-margin-top: 140px;
}

.bpt-ernaehrung .bpt-nutrition-title h1 {
  max-width: none;
}
.bpt-ernaehrung .bpt-nutrition-reading h2:not(:first-child) {
  margin-top: clamp(32px, 4vw, 56px);
}
.bpt-ernaehrung .bpt-nutrition-reading a,
.bpt-ernaehrung .bpt-source-links a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: .2em;
}

.bpt-ernaehrung .bpt-nutrition-grid,
.bpt-ernaehrung .bpt-nutrition-grid > .wp-block-group__inner-container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(28px, 5vw, 80px);
}
.bpt-ernaehrung .bpt-nutrition-grid:has(> .wp-block-group__inner-container),
.bpt-ernaehrung .bpt-nutrition-photos:has(> .wp-block-group__inner-container) {
  display: block;
}
.bpt-ernaehrung .bpt-nutrition-photos,
.bpt-ernaehrung .bpt-nutrition-photos > .wp-block-group__inner-container {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .8rem;
}
.bpt-ernaehrung .bpt-nutrition-photos {
  max-width: 470px;
}
.bpt-ernaehrung .bpt-nutrition-photo {
  position: relative;
  min-width: 0;
  margin: 0;
}
.bpt-ernaehrung .bpt-nutrition-photo:nth-child(2) {
  margin-block-start: clamp(24px, 4vw, 48px);
}
.bpt-ernaehrung .bpt-nutrition-photo figure {
  margin: 0;
}
.bpt-ernaehrung .bpt-nutrition-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 286 / 512;
  object-fit: cover;
  border-radius: 18px;
}
.bpt-ernaehrung .bpt-nutrition-photo .bpt-nutrition-caption {
  position: absolute;
  inset-block-start: 10px;
  inset-inline-start: 10px;
  max-width: calc(100% - 20px);
  margin: 0;
  padding: 4px 9px;
  border-radius: 999px;
  background: #fffdf8;
  font-size: .8em;
  font-weight: 650;
}
.bpt-ernaehrung .bpt-nutrition-copy h1 {
  max-width: 18ch;
  font-weight: 700;
}
@media (max-width: 760px) {
  .bpt-ernaehrung .bpt-nutrition-grid,
  .bpt-ernaehrung .bpt-nutrition-grid > .wp-block-group__inner-container {
    grid-template-columns: minmax(0, 1fr);
  }
  .bpt-ernaehrung .bpt-nutrition-copy {
    grid-row: 1;
  }
}

.bpt-ernaehrung .bpt-article-photo {
  width: min(100%, 680px);
  margin: clamp(24px, 4vw, 48px) auto clamp(24px, 4vw, 48px) 0;
}
.bpt-ernaehrung .bpt-article-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}
