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

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

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

.bpt-angebote .bpt-toc {
  margin: 0 0 clamp(32px, 4vw, 60px);
  border-block: 1px solid #e0dacd;
}
.bpt-angebote .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-angebote .bpt-toc summary::-webkit-details-marker {
  display: none;
}
.bpt-angebote .bpt-toc summary::after {
  content: "+";
  color: #946000;
  margin-inline-start: 16px;
}
.bpt-angebote .bpt-toc[open] summary::after {
  content: "−";
}
.bpt-angebote .bpt-toc ul {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
}
.bpt-angebote .bpt-toc li + li {
  border-block-start: 1px solid #e0dacd;
}
.bpt-angebote .bpt-toc a {
  display: flex;
  align-items: baseline;
  gap: .75em;
  padding-block: 11px;
  color: inherit;
  text-underline-offset: .2em;
}
.bpt-angebote .bpt-toc a::before {
  content: "↓" / "";
  color: #946000;
}
.bpt-angebote .bpt-toc summary:focus-visible {
  outline: 2px solid var(--bpt-ink);
  outline-offset: 4px;
}
.bpt-angebote .bpt-toc-target {
  scroll-margin-top: 140px;
}
