@import url("./wk-carousel.css");

/* =========================================================
   Waffelkatze Blog
   ========================================================= */

body.single-post {
  background: #ed8b3b0a;
}

.wk-blog-single {
  --wk-blog-ink: #2d2823;
  --wk-blog-muted: #70665d;
  --wk-blog-soft: #fff7ee;
  --wk-blog-cream: #ed8b3b0a;
  --wk-blog-line: rgba(91, 72, 56, 0.14);
  --wk-blog-green: #587a4e;
  --wk-blog-red: #b9472d;
  color: var(--wk-blog-ink);
  background: var(--wk-blog-cream);
}

.wk-blog-shell {
  width: min(1040px, calc(100% - 40px));
  margin-inline: auto;
}

/* Breadcrumb band, like recipes */
.wk-blog-breadcrumb {
  width: 100%;
  margin: 0;
  padding: 13px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  background: rgba(255, 255, 255, 0.62);
  color: #6f675f;
  font-size: 13px;
  line-height: 1.55;
}

.wk-blog-breadcrumb__inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.wk-blog-breadcrumb a,
.wk-blog-breadcrumb__item {
  color: #6f675f;
  font-weight: 400;
  text-decoration: none;
}

.wk-blog-breadcrumb a:hover,
.wk-blog-breadcrumb a:focus {
  color: #4f4a45;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.wk-blog-breadcrumb__sep {
  margin: 0 8px;
  opacity: 0.45;
}

.wk-blog-breadcrumb__current {
  max-width: min(560px, 100%);
  overflow: hidden;
  color: #4b443e;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Hero */
.wk-blog-hero {
  padding: clamp(42px, 6vw, 78px) 0 clamp(34px, 5vw, 56px);
  background: linear-gradient(180deg, #fff7ee 0%, #fffaf4 68%, #fffdf9 100%);
}

.wk-blog-hero__inner {
  position: relative;
  width: min(1120px, calc(100% - 44px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(330px, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.wk-blog-hero__eyebrow {
  margin: 0 0 12px;
  color: var(--wk-blog-green);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.wk-blog-hero__title {
  max-width: 620px;
  margin: 0;
  color: var(--wk-blog-ink);
  font-size: clamp(2.65rem, 4.65vw, 4.75rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: 0 !important;
  hyphens: none;
  word-break: normal;
  overflow-wrap: normal;
}

.wk-blog-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  color: var(--wk-blog-muted);
  font-size: 0.96rem;
  font-weight: 700;
}

.wk-blog-hero__media {
  position: relative;
  margin: 0;
  aspect-ratio: 1.45 / 1;
  overflow: hidden;
  border-radius: 8px;
  background: #f2e5d8;
  box-shadow: 0 24px 62px rgba(62, 42, 26, 0.16);
}

.wk-blog-hero__image,
.wk-blog-inline-image__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wk-blog-sticker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(72px, 9vw, 116px);
  aspect-ratio: 1;
  pointer-events: none;
}

.wk-blog-sticker__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 18px rgba(57, 38, 25, 0.18));
}

.wk-blog-sticker--hero {
  position: absolute;
  right: 14px;
  bottom: 14px;
}

.wk-blog-sticker--corner {
  position: absolute;
  left: min(47%, 520px);
  bottom: -36px;
  width: clamp(58px, 7vw, 92px);
}

/* Intro + TOC */
.wk-blog-intro {
  padding: 34px 0 18px;
  background: var(--wk-blog-cream);
}

.wk-blog-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 680px) 260px;
  gap: clamp(28px, 5vw, 56px);
  justify-content: center;
  align-items: start;
}

.wk-blog-intro__text {
  color: var(--wk-blog-muted);
  font-size: 1.06rem;
  line-height: 1.75;
}

.wk-blog-intro__text p {
  margin: 0;
}

.wk-blog-toc {
  position: sticky;
  top: 24px;
  border: 1px solid var(--wk-blog-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 36px rgba(62, 42, 26, 0.06);
}

.wk-blog-toc__toggle {
  display: none;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border: 0;
  color: var(--wk-blog-ink);
  font: inherit;
  font-weight: 800;
  background: transparent;
  cursor: pointer;
}

.wk-blog-toc__list {
  margin: 0;
  padding: 18px 20px 18px 34px;
}

.wk-blog-toc__item {
  margin: 0.46rem 0;
  color: var(--wk-blog-muted);
  font-size: 1.03rem;
  line-height: 1.82;
}

.wk-blog-toc a {
  color: inherit;
  text-decoration: none;
}

.wk-blog-toc a:hover,
.wk-blog-toc a:focus {
  color: var(--wk-blog-red);
}

/* Article */
.wk-blog-article {
  padding: 22px 0 58px;
  background: var(--wk-blog-cream);
}

.wk-blog-article__layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 700px) 96px;
  gap: 42px;
  justify-content: center;
}

.wk-blog-article__body {
  max-width: 700px;
  color: #413a34;
  font-size: 1.03rem;
  line-height: 1.82;
}

.wk-blog-article__body > * {
  margin-top: 0;
  margin-bottom: 1.25em;
}

.wk-blog-article__body h2,
.wk-blog-article__body h3 {
  scroll-margin-top: 96px;
  color: var(--wk-blog-ink);
  line-height: 1.18;
  letter-spacing: 0 !important;
  hyphens: none;
}

.wk-blog-article__body h2 {
  margin-top: 2.25em;
  font-size: clamp(1.72rem, 2.7vw, 2.28rem);
}

.wk-blog-article__body h3 {
  margin-top: 1.65em;
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
}

.wk-blog-article__body a {
  color: var(--wk-blog-red);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.wk-blog-article__body ul,
.wk-blog-article__body ol {
  padding-left: 1.35em;
}

.wk-blog-article__body table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 8px;
  font-size: 0.95rem;
  background: #fff;
}

.wk-blog-article__body th,
.wk-blog-article__body td {
  padding: 12px 14px;
  border: 1px solid rgba(91, 72, 56, 0.13);
  vertical-align: top;
}

.wk-blog-article__body th {
  background: #f6eadf;
  color: var(--wk-blog-ink);
  font-weight: 800;
}

.wk-blog-inline-image {
  margin: 2.1rem 0 2.35rem;
  overflow: hidden;
  border-radius: 8px;
  background: #f3e8dc;
  box-shadow: 0 18px 42px rgba(62, 42, 26, 0.1);
}

.wk-blog-inline-image--first {
  margin-top: 2.6rem;
}

.wk-blog-inline-image--middle {
  margin-top: 2.35rem;
}

.wk-blog-inline-image__image {
  aspect-ratio: 16 / 10;
}

.wk-blog-inline-image figcaption {
  padding: 10px 14px 12px;
  color: var(--wk-blog-muted);
  font-size: 0.88rem;
  line-height: 1.45;
  background: #fff;
}

.wk-blog-article__sticker {
  position: sticky;
  top: 120px;
  align-self: start;
}

/* Sections */
.wk-blog-section-heading {
  max-width: 720px;
  margin: 0 auto 24px;
  text-align: center;
}

.wk-blog-section-heading p {
  margin: 0 0 6px;
  color: var(--wk-blog-red);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wk-blog-section-heading h2 {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  line-height: 1.16;
  letter-spacing: 0 !important;
}

.wk-carouselSection--blog,
.wk-blog-related,
.wk-blog-faq,
.wk-blog-sources,
.wk-blog-prefooter {
  padding: 52px 0;
}

.wk-carouselSection--blog,
.wk-blog-faq {
  background: #fff7ee;
}

.wk-carouselSection--blog {
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(rgba(255, 248, 244, 0.24), rgba(255, 248, 244, 0.24)),
    var(--wk-carousel-bg-image, none) center / cover no-repeat,
    #efe8df;
}

.wk-carouselSection--blog::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  pointer-events: none;
}

.wk-blog-faq__items {
  width: min(820px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.wk-blog-faq-inline {
  width: 100%;
  max-width: var(--wk-blog-reading-width, 760px);
  margin: clamp(2.4rem, 5vw, 4rem) auto 2rem;
}

.wk-blog-faq-inline .wk-blog-section-heading {
  margin-bottom: 22px;
}

.wk-blog-faq-inline .wk-blog-faq__items {
  width: 100%;
}

.wk-blog-faq__item {
  border: 1px solid #dedbd7;
  border-radius: 12px;
  background: #fff;
}

.wk-blog-faq__item summary {
  padding: 18px 20px;
  border-radius: 11px;
  font-weight: 800;
  cursor: pointer;
}

.wk-blog-faq__item summary:focus {
  outline: 1px solid #b9b5b0;
  outline-offset: -1px;
}

.wk-blog-faq__item summary:focus-visible {
  outline: 2px solid #918b84;
  outline-offset: -2px;
}

.wk-blog-faq__answer {
  padding: 0 20px 20px;
  border-radius: 0 0 11px 11px;
  background: #fff;
  color: var(--wk-blog-muted);
  line-height: 1.7;
}

.wk-blog-sources {
  background: #f8eee4;
}

.wk-blog-sources .wk-blog-shell {
  width: min(820px, calc(100% - 40px));
}

.wk-blog-sources h2 {
  margin-top: 0;
}

.wk-blog-sources ol {
  margin-bottom: 0;
  padding-left: 1.4em;
}

.wk-blog-sources li {
  margin: 0.45rem 0;
  color: var(--wk-blog-muted);
}

.wk-blog-sources a {
  color: var(--wk-blog-red);
}

.wk-blog-prefooter {
  background: var(--wk-blog-green);
  color: #fff;
}

.wk-blog-prefooter__inner {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}

.wk-blog-prefooter p {
  max-width: 720px;
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.45;
}

.wk-blog-prefooter__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  color: var(--wk-blog-green);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  background: #fff;
}

/* Carousel fit inside blog */
.wk-carouselSection--blog .wk-carouselSection__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  padding: clamp(32px, 4.8vw, 54px) max(20px, calc((100vw - 1248px) / 2));
  border-top: 1px solid rgba(255, 255, 255, 0.42);
  border-right: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.36);
  border-left: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: 0 18px 52px rgba(62, 42, 26, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.wk-carouselSection--blog .wk-carousel {
  width: min(1248px, 100%);
}

.wk-carouselSection--blog-topic .wk-carouselSection__inner {
  width: 100%;
}

.wk-carouselSection--blog-topic {
  margin: 1.6rem 0 1.75rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.wk-carouselSection--blog-topic .wk-carouselSection__inner {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.wk-carouselSection--blog-topic .wk-carouselWrap {
  margin: 0;
}

.wk-carouselSection--blog-topic .wk-carousel {
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.wk-carouselSection--blog .wk-carouselSectionIntro {
  color: #fff;
  text-align: center;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.32);
}

.wk-carouselSection--blog .wk-carouselSectionIntro__eyebrow,
.wk-carouselSection--blog .wk-carouselSectionIntro__title,
.wk-carouselSection--blog .wk-carouselSectionIntro__text,
.wk-carouselSection--blog .wk-carouselPageInfo {
  color: #fff;
}

.wk-carouselSection--blog .wk-carouselSectionIntro__icon img {
  filter: brightness(0) invert(1) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.24));
  opacity: 0.94;
}

.wk-carouselSection--blog-topic .wk-carouselSectionIntro {
  text-align: center;
}

.wk-carouselSection--blog .wk-carouselCard {
  border-radius: 32px;
}

.wk-carouselSection--blog-topic .wk-carouselCard {
  border-radius: 8px;
}

/* Footer */
body.single-post .wk-site-footer .wp-block-columns.alignwide,
body.single-post .wp-block-columns.alignwide.are-vertically-aligned-top.wp-block-columns-is-layout-flex {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  padding-top: 36px !important;
  padding-bottom: 36px !important;
  background: #fff !important;
}

body.single-post footer,
body.single-post .wk-site-footer,
body.single-post .wk-site-footer > *,
body.single-post footer.wp-block-template-part,
body.single-post footer.wp-block-template-part > *,
body.single-post .wp-site-blocks > footer,
body.single-post .wp-block-columns.alignwide.are-vertically-aligned-top.wp-block-columns-is-layout-flex,
body.single-post .wp-block-group.alignfull.is-vertical.is-content-justification-center,
body.single-post .wp-block-group.alignfull.is-vertical.is-content-justification-center.wp-block-group-is-layout-flex {
  background: #fff !important;
}

body.single-post .wk-site-footer .wp-block-columns.alignwide > .wp-block-column:first-child,
body.single-post .wp-block-columns.alignwide > .wp-block-column:first-child {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
}

body.single-post .wk-site-footer .wp-block-columns.alignwide > .wp-block-column:first-child .wp-block-site-logo,
body.single-post .wk-site-footer .wp-block-columns.alignwide > .wp-block-column:first-child .wp-block-site-logo img,
body.single-post .wk-site-footer .wp-block-columns.alignwide > .wp-block-column:first-child .wp-block-site-title,
body.single-post .wk-site-footer .wp-block-columns.alignwide > .wp-block-column:first-child .wp-block-site-title a,
body.single-post footer .wp-block-site-logo,
body.single-post footer .wp-block-site-logo img,
body.single-post footer .wp-block-site-title,
body.single-post footer .wp-block-site-title a {
  display: block !important;
  margin-right: auto !important;
  margin-left: auto !important;
  text-align: center !important;
}

body.single-post .wk-site-footer .wp-block-columns.alignwide > .wp-block-column:first-child .wp-block-site-title,
body.single-post .wk-site-footer .wp-block-columns.alignwide > .wp-block-column:first-child .wp-block-site-title a,
body.single-post footer .wp-block-site-title,
body.single-post footer .wp-block-site-title a {
  width: 100% !important;
  font-family: var(--wk-font-heading, "Cormorant Garamond", serif) !important;
  font-weight: var(--wk-heading-weight, 500) !important;
  letter-spacing: var(--wk-heading-letter-spacing, -0.01em) !important;
}

body.single-post footer .wp-block-navigation__container.is-vertical.wp-block-navigation,
body.single-post .wp-block-columns.alignwide .wp-block-navigation__container.is-vertical.wp-block-navigation {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}

body.single-post footer .wp-block-navigation-item__content,
body.single-post .wp-block-columns.alignwide .wp-block-navigation-item__content {
  line-height: 1.55 !important;
}

body.single-post .wp-block-group.alignfull.is-vertical.is-content-justification-center {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  width: 100% !important;
  margin: 0 !important;
  padding-top: 10px !important;
  padding-bottom: 12px !important;
  text-align: center !important;
}

body.single-post .wp-block-group.alignfull.is-vertical.is-content-justification-center > p {
  width: 100% !important;
  margin: 0 !important;
  text-align: center !important;
}

body.single-post .wk-aiDisclosure {
  margin: 0 !important;
  background: #fff !important;
  border-top: 1px solid rgba(47, 42, 40, 0.12) !important;
  text-align: center !important;
}

@media (max-width: 900px) {
  .wk-blog-hero__inner,
  .wk-blog-intro__grid,
  .wk-blog-article__layout,
  .wk-blog-prefooter__inner {
    grid-template-columns: 1fr;
  }

  .wk-blog-hero__inner {
    width: min(720px, calc(100% - 32px));
  }

  .wk-blog-hero__title {
    font-size: clamp(2.35rem, 10vw, 3.9rem);
  }

  .wk-blog-intro__grid,
  .wk-blog-article__layout {
    width: min(720px, calc(100% - 32px));
    gap: 22px;
  }

  .wk-blog-toc {
    position: static;
  }

  .wk-blog-toc__toggle {
    display: flex;
  }

  .wk-blog-toc .wk-blog-toc__list {
    display: none;
    padding-top: 0;
  }

  .wk-blog-toc.is-open .wk-blog-toc__list {
    display: grid;
  }

  .wk-blog-sticker--corner,
  .wk-blog-article__sticker {
    display: none;
  }

  .wk-blog-prefooter__inner {
    display: grid;
  }

  .wk-blog-prefooter__link {
    justify-self: start;
  }
}

@media (max-width: 560px) {
  .wk-blog-breadcrumb__inner {
    justify-content: center;
    text-align: center;
  }

  .wk-blog-hero {
    padding-top: 34px;
  }

  .wk-blog-hero__media {
    aspect-ratio: 1 / 1;
  }

  .wk-blog-sticker--hero {
    right: 10px;
    bottom: 10px;
  }
}
/* Centered reading flow refinements */
.wk-blog-intro {
  padding-top: clamp(34px, 5vw, 58px);
  padding-bottom: clamp(36px, 5vw, 64px);
}

.wk-blog-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 820px);
  justify-content: center;
  gap: 24px;
  text-align: center;
}

.wk-blog-intro__text {
  max-width: 820px;
  margin-inline: auto;
  color: #625951;
  font-size: clamp(1.05rem, 1.6vw, 1.18rem);
  line-height: 1.85;
  text-align: center;
}

.wk-blog-toc {
  position: static;
  width: min(760px, 100%);
  margin: 8px auto 0;
  text-align: left;
}

.wk-blog-toc__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 22px;
  padding: 20px 24px 20px 42px;
}

.wk-blog-toc__item {
  margin: 0;
  font-size: 1.03rem;
  line-height: 1.82;
}

.wk-blog-article__layout {
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
}

.wk-blog-article__body {
  max-width: 760px;
  margin-inline: auto;
}

.wk-blog-article__body h2,
.wk-blog-article__body h3 {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.wk-blog-article__body > p,
.wk-blog-article__body > ul,
.wk-blog-article__body > ol,
.wk-blog-article__body > table,
.wk-blog-article__body > blockquote {
  max-width: 720px;
  margin-right: auto;
  margin-left: auto;
}

.wk-blog-article__sticker {
  display: none;
}

.wk-blog-inline-image {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
}

@media (max-width: 760px) {
  .wk-blog-intro__grid {
    text-align: left;
  }

  .wk-blog-intro__text {
    text-align: left;
  }

  .wk-blog-toc__list {
    grid-template-columns: 1fr;
    padding: 18px 20px 18px 38px;
  }

  .wk-blog-article__body h2,
  .wk-blog-article__body h3 {
    text-align: left;
  }
}

/* Final blog readability alignment: centered flow, TOC below intro */
.wk-blog-intro__grid,
.wk-blog-intro__text {
  text-align: center;
}

.wk-blog-article__body > p {
  text-align: center;
}

.wk-blog-article__body h2,
.wk-blog-article__body h3 {
  text-align: center;
}

.wk-blog-toc {
  position: static;
  margin-right: auto;
  margin-left: auto;
}

.wk-blog-article__body > ul,
.wk-blog-article__body > ol,
.wk-blog-article__body table,
.wk-blog-toc__list {
  text-align: left;
}

@media (max-width: 760px) {
  .wk-blog-intro__grid,
  .wk-blog-intro__text,
  .wk-blog-article__body > p,
  .wk-blog-article__body h2,
  .wk-blog-article__body h3 {
    text-align: center;
  }

  .wk-blog-toc {
    width: min(100%, 680px);
    margin-right: auto;
    margin-left: auto;
  }
}

/* Waffelkatze typography alignment */
body.single-post,
body.single-post .wp-site-blocks,
.wk-blog-single,
.wk-blog-single p,
.wk-blog-single li,
.wk-blog-single a,
.wk-blog-single button,
.wk-blog-single input,
.wk-blog-single textarea,
.wk-blog-single select,
.wk-blog-breadcrumb,
.wk-blog-hero__eyebrow,
.wk-blog-hero__date,
.wk-blog-intro__text,
.wk-blog-toc,
.wk-blog-article__body,
.wk-blog-article__body table,
.wk-blog-faq,
.wk-blog-sources,
.wk-blog-related {
  font-family: var(--wk-font-body, "Karla", sans-serif);
}

.wk-blog-single h1,
.wk-blog-single h2,
.wk-blog-single h3,
.wk-blog-single h4,
.wk-blog-single h5,
.wk-blog-single h6,
.wk-blog-hero__title,
.wk-blog-article__body h2,
.wk-blog-article__body h3,
.wk-blog-section-heading h2,
.wk-blog-sources h2,
.wk-blog-related h2,
.wk-related-carousel h2,
body.single-post .entry-title,
body.single-post .wp-block-post-title {
  font-family: var(--wk-font-heading, "Cormorant Garamond", serif) !important;
  font-weight: var(--wk-heading-weight, 500) !important;
  letter-spacing: var(--wk-heading-letter-spacing, -0.01em) !important;
}

.wk-blog-hero__title {
  line-height: 1.04;
}

.wk-blog-article__body h2,
.wk-blog-section-heading h2,
.wk-blog-sources h2,
.wk-blog-related h2,
.wk-related-carousel h2 {
  line-height: var(--wk-heading-line-height, 1.3);
}

/* Wider blog hero, aligned with image and title */
.wk-blog-hero__inner {
  width: min(1240px, calc(100% - 64px));
  max-width: 1240px;
  grid-template-columns: minmax(420px, 0.92fr) minmax(520px, 1.08fr);
  gap: clamp(44px, 6vw, 86px);
  align-items: center;
}

.wk-blog-hero__copy {
  max-width: 560px;
}

.wk-blog-hero__media {
  width: 100%;
  max-width: 620px;
  justify-self: end;
}

.wk-blog-hero__image {
  width: 100%;
  min-height: clamp(320px, 31vw, 430px);
  object-fit: cover;
}

@media (max-width: 980px) {
  .wk-blog-hero__inner {
    width: min(760px, calc(100% - 36px));
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .wk-blog-hero__copy,
  .wk-blog-hero__media {
    max-width: 100%;
    justify-self: center;
  }
}

/* Unified blog content width: hero, intro, TOC and article share one frame */
.wk-blog-single {
  --wk-blog-wide-frame: min(1240px, calc(100% - 64px));
}

.wk-blog-hero__inner,
.wk-blog-shell,
.wk-blog-intro__grid,
.wk-blog-article__layout {
  width: var(--wk-blog-wide-frame);
  max-width: 1240px;
  margin-right: auto;
  margin-left: auto;
}

.wk-blog-intro__grid,
.wk-blog-article__layout {
  grid-template-columns: minmax(0, 1fr);
  justify-content: center;
}

.wk-blog-intro__text,
.wk-blog-toc,
.wk-blog-article__body,
.wk-blog-article__body > p,
.wk-blog-article__body > ul,
.wk-blog-article__body > ol,
.wk-blog-article__body > table,
.wk-blog-article__body > blockquote,
.wk-blog-inline-image {
  width: 100%;
  max-width: 100%;
}

.wk-blog-intro__text,
.wk-blog-article__body > p {
  max-width: 1040px;
  margin-right: auto;
  margin-left: auto;
}

.wk-blog-toc {
  max-width: 1040px;
}

.wk-blog-article__body h2,
.wk-blog-article__body h3 {
  max-width: 1040px;
}

@media (max-width: 980px) {
  .wk-blog-single {
    --wk-blog-wide-frame: min(760px, calc(100% - 36px));
  }
}

/* Rollback: hero follows the normal blog text frame */
.wk-blog-single {
  --wk-blog-wide-frame: min(1040px, calc(100% - 44px));
}

.wk-blog-hero__inner {
  width: var(--wk-blog-wide-frame);
  max-width: 1040px;
  grid-template-columns: minmax(0, 0.94fr) minmax(320px, 1fr);
  gap: clamp(28px, 4.6vw, 56px);
}

.wk-blog-hero__copy {
  max-width: 520px;
}

.wk-blog-hero__title {
  max-width: 520px;
}

.wk-blog-hero__media {
  max-width: 520px;
  justify-self: end;
}

.wk-blog-hero__image {
  min-height: 0;
}

.wk-blog-shell,
.wk-blog-intro__grid,
.wk-blog-article__layout {
  width: var(--wk-blog-wide-frame);
  max-width: 1040px;
}

.wk-blog-intro__text {
  max-width: 820px;
}

.wk-blog-toc,
.wk-blog-article__body,
.wk-blog-article__body > p,
.wk-blog-article__body h2,
.wk-blog-article__body h3,
.wk-blog-inline-image {
  max-width: 760px;
}

@media (max-width: 980px) {
  .wk-blog-single {
    --wk-blog-wide-frame: min(760px, calc(100% - 36px));
  }

  .wk-blog-hero__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .wk-blog-hero__copy,
  .wk-blog-hero__title,
  .wk-blog-hero__media {
    max-width: 100%;
    justify-self: center;
  }
}

/* TOC as a calm single-column agenda; headings match article text width */
.wk-blog-toc {
  max-width: 760px;
}

.wk-blog-toc__list {
  grid-template-columns: 1fr !important;
  gap: 10px;
  padding: 22px 30px 22px 48px;
}

.wk-blog-toc__item {
  max-width: 100%;
}

.wk-blog-article__body h2,
.wk-blog-article__body h3,
.wk-blog-section-heading h2,
.wk-blog-sources h2 {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
}

@media (max-width: 760px) {
  .wk-blog-toc__list {
    padding: 18px 20px 18px 38px;
  }
}

/* Softer Waffelkatze image corners */
.wk-blog-hero__media,
.wk-blog-hero__image,
.wk-blog-inline-image,
.wk-blog-inline-image__image,
.wk-blog-related img,
.wk-related-carousel img {
  border-radius: 16px;
}

.wk-blog-hero__media,
.wk-blog-inline-image {
  overflow: hidden;
}

@media (max-width: 760px) {
  .wk-blog-hero__media,
  .wk-blog-hero__image,
  .wk-blog-inline-image,
  .wk-blog-inline-image__image,
  .wk-blog-related img,
  .wk-related-carousel img {
    border-radius: 14px;
  }
}

/* Blog hero as recipe-style cover */
.wk-blog-hero.wk-blog-hero--cover {
  position: relative;
  min-height: clamp(520px, 54vw, 680px);
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #efe8df;
}

.wk-blog-hero__cover-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 0 !important;
  transform: scale(1.01);
}

.wk-blog-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: transparent;
}

.wk-blog-hero__inner.wk-blog-hero__inner--cover {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: none;
  min-height: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  padding: 0;
}

.wk-blog-hero__glass {
  width: 100%;
  margin: 0 auto;
  padding: clamp(44px, 5.4vw, 62px) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.42);
  border-bottom: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(255, 248, 244, 0.26);
  box-shadow: none;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-sizing: border-box;
}

.wk-blog-hero__band-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
  text-align: center;
  box-sizing: border-box;
}

.wk-blog-hero--cover .wk-blog-hero__title {
  color: #fff !important;
  text-align: center !important;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.34);
}

.wk-blog-hero--cover .wk-blog-hero__title.wk-heading-with-icon {
  display: block;
  max-width: min(100%, 920px);
  margin: 0 auto;
  text-align: center;
}

.wk-blog-hero--cover .wk-blog-hero__title .wk-heading-icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  vertical-align: 0.08em;
  background-color: currentColor;
  -webkit-mask: url('https://waffelkatze.de/wp-content/uploads/2026/02/Minipawungerade22_schwarz.svg') center / contain no-repeat;
  mask: url('https://waffelkatze.de/wp-content/uploads/2026/02/Minipawungerade22_schwarz.svg') center / contain no-repeat;
  opacity: .85;
}

.wk-blog-hero--cover .wk-blog-hero__title .wk-heading-text {
  display: inline;
}

.wk-blog-hero--cover .wk-blog-hero__title {
  max-width: 920px;
  font-size: clamp(2.2rem, 4.05vw, 3.85rem);
  line-height: 1.08;
}

.wk-blog-hero__intro {
  max-width: 960px;
  margin: 28px auto 0;
  color: #fff;
  text-align: center;
}

.wk-blog-hero__intro p {
  margin: 0;
  color: inherit;
  font-size: clamp(1rem, 1.35vw, 1.1rem);
  font-weight: 700;
  line-height: 1.75;
  text-align: inherit;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.40);
}

.wk-blog-hero__buttons {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.wk-blog-hero__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 24px;
  border-radius: 999px;
  background: #3d1ca8;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(35, 20, 98, 0.16);
}

.wk-blog-hero__button:hover,
.wk-blog-hero__button:focus {
  background: #2f1684;
  color: #fff;
  text-decoration: none;
}

.wk-blog-hero--cover .wk-blog-sticker--hero {
  position: absolute;
  right: clamp(18px, 4vw, 58px);
  bottom: clamp(8px, 2.2vw, 28px);
  z-index: 3;
  width: clamp(86px, 10vw, 132px);
}

@media (max-width: 780px) {
  .wk-blog-hero.wk-blog-hero--cover {
    min-height: 560px;
  }

  .wk-blog-hero__overlay {
    background: transparent;
  }

  .wk-blog-hero__inner.wk-blog-hero__inner--cover {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .wk-blog-hero__glass {
    padding: 36px 0;
  }

  .wk-blog-hero--cover .wk-blog-hero__title {
    font-size: clamp(2rem, 9.5vw, 3.25rem);
  }

  .wk-blog-hero__intro {
    margin-top: 22px;
  }

  .wk-blog-hero__intro p {
    font-size: 1rem;
    line-height: 1.62;
  }
}

/* Final unified reading width below hero */
.wk-blog-single {
  --wk-blog-reading-width: 760px;
  --wk-blog-reading-gutter: 36px;
}

.wk-blog-intro__grid,
.wk-blog-article__layout,
.wk-carouselSection--blog-topic .wk-carouselSection__inner,
.wk-blog-sources .wk-blog-shell,
.wk-blog-faq .wk-blog-shell {
  width: min(var(--wk-blog-reading-width), calc(100% - var(--wk-blog-reading-gutter)));
  max-width: var(--wk-blog-reading-width);
  margin-right: auto;
  margin-left: auto;
  grid-template-columns: minmax(0, 1fr);
}

.wk-blog-intro__text,
.wk-blog-toc,
.wk-blog-article__body,
.wk-blog-article__body > p,
.wk-blog-article__body > ul,
.wk-blog-article__body > ol,
.wk-blog-article__body > table,
.wk-blog-article__body > blockquote,
.wk-blog-article__body h2,
.wk-blog-article__body h3,
.wk-blog-inline-image,
.wk-blog-section-heading,
.wk-blog-sources h2,
.wk-blog-sources ol {
  width: 100%;
  max-width: var(--wk-blog-reading-width);
  margin-right: auto;
  margin-left: auto;
}

.wk-blog-intro__text {
  text-align: center;
}

.wk-blog-toc {
  box-sizing: border-box;
}

.wk-blog-inline-image__image {
  width: 100%;
}

@media (max-width: 760px) {
  .wk-blog-single {
    --wk-blog-reading-gutter: 32px;
  }
}

/* Shared recipe-style surface from the introduction through the sources. */
.wk-blog-content-frame {
  box-sizing: border-box;
  width: min(1080px, calc(100% - 36px));
  margin: 28px auto 36px;
  padding: 28px 16px 32px;
  border: 1px solid rgba(89, 116, 124, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.55);
}

.wk-blog-content-frame .wk-blog-intro,
.wk-blog-content-frame .wk-blog-article {
  background: transparent;
}

.wk-blog-content-frame .wk-blog-intro {
  padding: 0 0 12px;
}

.wk-blog-content-frame .wk-blog-article {
  padding: 8px 0 0;
}

.wk-blog-content-frame .wk-blog-article__body > :first-child {
  margin-top: 0;
}

.wk-blog-article__body > .wk-blog-section-title {
  position: relative;
  margin: 2.4rem auto 1rem;
}

.wk-blog-section-title h2,
.wk-blog-section-title h3 {
  margin: 0;
}

.wk-blog-section-sticker {
  position: absolute;
  top: 50%;
  right: -166px;
  width: 164px;
  transform: translateY(-50%);
  pointer-events: none;
}

.wk-blog-section-title--left .wk-blog-section-sticker {
  right: auto;
  left: -166px;
}

.wk-blog-section-sticker .wk-blog-sticker__image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.wk-blog-section-sticker--slot-1 {
  width: 164px;
  right: -166px;
}

.wk-blog-table-cards {
  display: none;
}

@media (max-width: 1100px) {
  .wk-blog-section-title {
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .wk-blog-section-title h2,
  .wk-blog-section-title h3 {
    flex: 1;
    min-width: 0;
  }

  .wk-blog-section-title .wk-blog-section-sticker {
    position: static;
    flex: 0 0 120px;
    width: 120px;
    transform: none;
  }

  .wk-blog-section-title--left .wk-blog-section-sticker {
    order: -1;
  }

  .wk-blog-section-title .wk-blog-section-sticker--slot-1 {
    flex-basis: 120px;
    width: 120px;
  }
}

@media (max-width: 600px) {
  .wk-blog-content-frame {
    width: calc(100% - 24px);
    padding: 22px 12px;
  }

  .wk-blog-content-frame .wk-blog-intro__grid,
  .wk-blog-content-frame .wk-blog-article__layout {
    width: 100%;
  }

  .wk-blog-section-title {
    gap: 10px;
  }

  .wk-blog-section-title .wk-blog-section-sticker {
    flex-basis: 112px;
    width: 112px;
  }

  .wk-blog-section-title .wk-blog-section-sticker--slot-1 {
    flex-basis: 112px;
    width: 112px;
  }

  .wk-blog-article__body table.wk-blog-table--mobile-cards {
    display: none;
  }

  .wk-blog-table-cards {
    display: grid;
    gap: 14px;
    text-align: left;
  }

  .wk-blog-table-cards dl {
    margin: 0;
    padding: 16px;
    border: 1px solid rgba(91, 72, 56, 0.13);
    border-radius: 12px;
    background: #fff;
  }

  .wk-blog-table-cards dt {
    margin: 12px 0 2px;
    font-size: 0.85rem;
    font-weight: 800;
    color: #625951;
  }

  .wk-blog-table-cards dt:first-child {
    margin-top: 0;
  }

  .wk-blog-table-cards dd {
    margin: 0;
    line-height: 1.65;
    word-break: normal;
    overflow-wrap: break-word;
  }

  .wk-blog-table-cards dd:nth-child(2) {
    font-weight: 800;
    color: var(--wk-blog-ink);
  }
}
.wk-blog-recipe-row { display: grid; grid-template-columns: minmax(0, 1fr) 210px; gap: 24px; align-items: start; margin-block: 24px 36px; }
.wk-blog-recipe a { display: grid; gap: 10px; color: inherit; text-decoration: none; }
.wk-blog-recipe { overflow: hidden; padding: 12px; border-radius: 16px; background: #fff; box-shadow: 0 5px 20px #253d3210; }
.wk-blog-recipe img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.wk-blog-recipe__label { font-size: 11px; color: #65736c; }
.wk-blog-recipe strong { font-size: 16px; line-height: 1.4; }
.wk-blog-recipe__cta { font-size: 13px; color: #245a49; }
@media (max-width: 600px) {
  .wk-blog-recipe-row { grid-template-columns: 1fr; gap: 14px; }
  .wk-blog-recipe a { grid-template-columns: 100px 1fr; column-gap: 14px; }
  .wk-blog-recipe img { grid-row: 1 / 4; align-self: center; }
}

/* The milky hero band spans the viewport; the photo has no overall tint. */
.wk-blog-hero__glass {
  width: 100vw;
  max-width: none;
  flex-shrink: 0;
}
