/* RezepteChef Child — reprise de « ALL POST » (Simple Custom CSS and JS n°549).
*/

/* ==================================================
   REZEPTECHEF — SINGLE POST + WPRM PREMIUM STYLE
   Article, hero, sidebar alignment and recipe card
================================================== */


/* ==================================================
   GLOBAL SINGLE POST
================================================== */

body.single-post {
  background: #fffaf6;
}

/* Remove top spacing */
body.single-post .site-main,
body.single-post #main,
body.single-post .content-area,
body.single-post #primary,
body.single-post .content-container,
body.single-post .site-container,
body.single-post .entry,
body.single-post .entry-content-wrap {
  padding-top: 0 !important;
}

body.single-post .entry-hero,
body.single-post .entry-hero-container,
body.single-post .entry-hero-container-inner,
body.single-post .hero-container {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}


/* ==================================================
   DESKTOP POSITION
================================================== */

@media (min-width: 1025px) {
  body.single-post .site-main {
    margin-top: -16px !important;
  }

  body.single-post .content-container,
  body.single-post .site-container,
  body.single-post .grid-cols,
  body.single-post .content-wrap {
    align-items: flex-start !important;
  }

  /* Start article hero and "Über uns" at exactly the same height. */
  body.single-post #primary,
  body.single-post .content-area,
  body.single-post #secondary,
  body.single-post .widget-area,
  body.single-post aside {
    top: auto !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  body.single-post #primary,
  body.single-post .content-area {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  body.single-post #secondary,
  body.single-post .widget-area,
  body.single-post aside {
    position: relative !important;
    top: 0 !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
}


/* ==================================================
   WPRM CLEAN META — NO BOXES
   Gericht, Küche, Portionen and Keyword only
================================================== */

body.single-post .wprm-recipe-container .wprm-recipe-course-container,
body.single-post .wprm-recipe-container .wprm-recipe-cuisine-container,
body.single-post .wprm-recipe-container .wprm-recipe-servings-container,
body.single-post .wprm-recipe-container .wprm-recipe-keyword-container,
body.single-post .wprm-recipe-container .wprm-recipe-keywords-container {
  height: auto !important;
  min-height: 0 !important;
  padding: 8px 12px !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}

body.single-post .wprm-recipe-container .wprm-recipe-course-container
.wprm-recipe-details-label,
body.single-post .wprm-recipe-container .wprm-recipe-cuisine-container
.wprm-recipe-details-label,
body.single-post .wprm-recipe-container .wprm-recipe-servings-container
.wprm-recipe-details-label,
body.single-post .wprm-recipe-container .wprm-recipe-keyword-container
.wprm-recipe-details-label,
body.single-post .wprm-recipe-container .wprm-recipe-keywords-container
.wprm-recipe-details-label {
  margin-bottom: 5px !important;
}

body.single-post .wprm-recipe-container .wprm-recipe-keyword-container,
body.single-post .wprm-recipe-container .wprm-recipe-keywords-container {
  width: 100% !important;
  max-width: 100% !important;
  margin: 10px auto 18px !important;
}


/* ==================================================
   WPRM META — 3 CLEAN ITEMS ON ONE LINE
   Gericht | Küche | Portionen
================================================== */

body.single-post .wprm-recipe-container
.wprm-recipe-details-container:has(.wprm-recipe-course-container):has(.wprm-recipe-cuisine-container):has(.wprm-recipe-servings-container) {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  min-height: 118px !important;
  margin: 12px 0 18px !important;
  padding: 0 !important;
}

/* Neutralize only intermediary columns; keep icons and separators visible. */
body.single-post .wprm-recipe-container
.wprm-recipe-details-container:has(.wprm-recipe-course-container):has(.wprm-recipe-cuisine-container):has(.wprm-recipe-servings-container)
div:has(> .wprm-recipe-course-container),
body.single-post .wprm-recipe-container
.wprm-recipe-details-container:has(.wprm-recipe-course-container):has(.wprm-recipe-cuisine-container):has(.wprm-recipe-servings-container)
div:has(> .wprm-recipe-cuisine-container),
body.single-post .wprm-recipe-container
.wprm-recipe-details-container:has(.wprm-recipe-course-container):has(.wprm-recipe-cuisine-container):has(.wprm-recipe-servings-container)
div:has(> .wprm-recipe-servings-container) {
  position: static !important;
  width: auto !important;
  max-width: none !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.single-post .wprm-recipe-container
.wprm-recipe-details-container:has(.wprm-recipe-course-container):has(.wprm-recipe-cuisine-container):has(.wprm-recipe-servings-container)
.wprm-recipe-course-container,
body.single-post .wprm-recipe-container
.wprm-recipe-details-container:has(.wprm-recipe-course-container):has(.wprm-recipe-cuisine-container):has(.wprm-recipe-servings-container)
.wprm-recipe-cuisine-container,
body.single-post .wprm-recipe-container
.wprm-recipe-details-container:has(.wprm-recipe-course-container):has(.wprm-recipe-cuisine-container):has(.wprm-recipe-servings-container)
.wprm-recipe-servings-container {
  position: absolute !important;
  top: 54px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: 33.333% !important;
  max-width: 33.333% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 8px !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
  overflow: visible !important;
}

body.single-post .wprm-recipe-container
.wprm-recipe-details-container:has(.wprm-recipe-course-container):has(.wprm-recipe-cuisine-container):has(.wprm-recipe-servings-container)
.wprm-recipe-course-container {
  left: 0 !important;
}

body.single-post .wprm-recipe-container
.wprm-recipe-details-container:has(.wprm-recipe-course-container):has(.wprm-recipe-cuisine-container):has(.wprm-recipe-servings-container)
.wprm-recipe-cuisine-container {
  left: 33.333% !important;
}

body.single-post .wprm-recipe-container
.wprm-recipe-details-container:has(.wprm-recipe-course-container):has(.wprm-recipe-cuisine-container):has(.wprm-recipe-servings-container)
.wprm-recipe-servings-container {
  left: 66.666% !important;
}

body.single-post .wprm-recipe-container
.wprm-recipe-details-container:has(.wprm-recipe-course-container):has(.wprm-recipe-cuisine-container):has(.wprm-recipe-servings-container)
.wprm-recipe-details-label {
  display: block !important;
  width: 100% !important;
  margin: 0 0 5px !important;
  padding: 0 !important;
  color: #9a918c !important;
  font-size: 8.5px !important;
  line-height: 1.15 !important;
  font-weight: 850 !important;
  letter-spacing: 0.08em !important;
  text-align: center !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
}

body.single-post .wprm-recipe-container
.wprm-recipe-details-container:has(.wprm-recipe-course-container):has(.wprm-recipe-cuisine-container):has(.wprm-recipe-servings-container)
.wprm-recipe-details,
body.single-post .wprm-recipe-container
.wprm-recipe-details-container:has(.wprm-recipe-course-container):has(.wprm-recipe-cuisine-container):has(.wprm-recipe-servings-container)
.wprm-recipe-servings,
body.single-post .wprm-recipe-container
.wprm-recipe-details-container:has(.wprm-recipe-course-container):has(.wprm-recipe-cuisine-container):has(.wprm-recipe-servings-container)
.wprm-recipe-servings-unit {
  display: inline !important;
  width: auto !important;
  max-width: 100% !important;
  margin: 0 !important;
  color: var(--rc-text) !important;
  font-size: 12px !important;
  line-height: 1.3 !important;
  font-weight: 600 !important;
  text-align: center !important;
  white-space: normal !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

body.single-post .wprm-recipe-container
.wprm-recipe-details-container:has(.wprm-recipe-course-container):has(.wprm-recipe-cuisine-container):has(.wprm-recipe-servings-container)
.wprm-recipe-servings {
  font-weight: 850 !important;
}

body.single-post .wprm-recipe-container
.wprm-recipe-details-container:has(.wprm-recipe-course-container):has(.wprm-recipe-cuisine-container):has(.wprm-recipe-servings-container)
.wprm-recipe-servings-unit {
  margin-left: 3px !important;
}

@media (max-width: 600px) {
  body.single-post .wprm-recipe-container
  .wprm-recipe-details-container:has(.wprm-recipe-course-container):has(.wprm-recipe-cuisine-container):has(.wprm-recipe-servings-container) {
    min-height: 110px !important;
  }

  body.single-post .wprm-recipe-container
  .wprm-recipe-details-container:has(.wprm-recipe-course-container):has(.wprm-recipe-cuisine-container):has(.wprm-recipe-servings-container)
  .wprm-recipe-course-container,
  body.single-post .wprm-recipe-container
  .wprm-recipe-details-container:has(.wprm-recipe-course-container):has(.wprm-recipe-cuisine-container):has(.wprm-recipe-servings-container)
  .wprm-recipe-cuisine-container,
  body.single-post .wprm-recipe-container
  .wprm-recipe-details-container:has(.wprm-recipe-course-container):has(.wprm-recipe-cuisine-container):has(.wprm-recipe-servings-container)
  .wprm-recipe-servings-container {
    top: 50px !important;
    padding: 0 4px !important;
  }

  body.single-post .wprm-recipe-container
  .wprm-recipe-details-container:has(.wprm-recipe-course-container):has(.wprm-recipe-cuisine-container):has(.wprm-recipe-servings-container)
  .wprm-recipe-details-label {
    font-size: 7.5px !important;
  }

  body.single-post .wprm-recipe-container
  .wprm-recipe-details-container:has(.wprm-recipe-course-container):has(.wprm-recipe-cuisine-container):has(.wprm-recipe-servings-container)
  .wprm-recipe-details,
  body.single-post .wprm-recipe-container
  .wprm-recipe-details-container:has(.wprm-recipe-course-container):has(.wprm-recipe-cuisine-container):has(.wprm-recipe-servings-container)
  .wprm-recipe-servings,
  body.single-post .wprm-recipe-container
  .wprm-recipe-details-container:has(.wprm-recipe-course-container):has(.wprm-recipe-cuisine-container):has(.wprm-recipe-servings-container)
  .wprm-recipe-servings-unit {
    font-size: 10px !important;
  }
}

/* ==================================================
   LAST OVERRIDE — KEEP THE 3 META VALUES ON ONE ROW
================================================== */
body.single-post .wprm-recipe-container
div:has(> div > .wprm-recipe-course-container):has(> div > .wprm-recipe-cuisine-container):has(> div > .wprm-recipe-servings-container) {
  position: relative !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 12px !important;
  width: 100% !important;
  min-height: 0 !important;
  margin: 14px 0 20px !important;
  padding: 0 !important;
}

body.single-post .wprm-recipe-container
div:has(> div > .wprm-recipe-course-container):has(> div > .wprm-recipe-cuisine-container):has(> div > .wprm-recipe-servings-container)
> div:has(> .wprm-recipe-course-container),
body.single-post .wprm-recipe-container
div:has(> div > .wprm-recipe-course-container):has(> div > .wprm-recipe-cuisine-container):has(> div > .wprm-recipe-servings-container)
> div:has(> .wprm-recipe-servings-container) {
  display: contents !important;
}

body.single-post .wprm-recipe-container
div:has(> div > .wprm-recipe-course-container):has(> div > .wprm-recipe-cuisine-container):has(> div > .wprm-recipe-servings-container)
> div:has(> .wprm-recipe-course-container)
> :not(.wprm-recipe-course-container):not(.wprm-recipe-cuisine-container),
body.single-post .wprm-recipe-container
div:has(> div > .wprm-recipe-course-container):has(> div > .wprm-recipe-cuisine-container):has(> div > .wprm-recipe-servings-container)
> div:has(> .wprm-recipe-servings-container)
> :not(.wprm-recipe-servings-container) {
  display: none !important;
}

body.single-post .wprm-recipe-container
div:has(> div > .wprm-recipe-course-container):has(> div > .wprm-recipe-cuisine-container):has(> div > .wprm-recipe-servings-container)
:is(.wprm-recipe-course-container, .wprm-recipe-cuisine-container, .wprm-recipe-servings-container) {
  position: static !important;
  inset: auto !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 4px 6px !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}

body.single-post .wprm-recipe-container
div:has(> div > .wprm-recipe-course-container):has(> div > .wprm-recipe-cuisine-container):has(> div > .wprm-recipe-servings-container)
.wprm-recipe-details-label {
  margin: 0 0 5px !important;
  font-size: 8.5px !important;
  line-height: 1.15 !important;
  text-align: center !important;
  white-space: nowrap !important;
}

body.single-post .wprm-recipe-container
div:has(> div > .wprm-recipe-course-container):has(> div > .wprm-recipe-cuisine-container):has(> div > .wprm-recipe-servings-container)
:is(.wprm-recipe-details, .wprm-recipe-servings, .wprm-recipe-servings-unit) {
  position: static !important;
  display: inline !important;
  width: auto !important;
  max-width: 100% !important;
  margin: 0 !important;
  font-size: 11.5px !important;
  line-height: 1.3 !important;
  text-align: center !important;
  white-space: normal !important;
  writing-mode: horizontal-tb !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
}


/* ==================================================
   WPRM META ROW — RELIABLE JS LAYOUT
================================================== */

body.single-post .wprm-recipe-container .rc-wprm-meta-row {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  align-items: start !important;
  gap: 12px !important;
  width: 100% !important;
  margin: 14px auto 20px !important;
  padding: 0 !important;
}

body.single-post .wprm-recipe-container .rc-wprm-meta-row >
:is(.wprm-recipe-course-container, .wprm-recipe-cuisine-container, .wprm-recipe-servings-container) {
  position: static !important;
  inset: auto !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 4px 6px !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
  text-align: center !important;
}

body.single-post .wprm-recipe-container .rc-wprm-meta-row
.wprm-recipe-details-label {
  position: static !important;
  display: block !important;
  width: 100% !important;
  margin: 0 0 5px !important;
  padding: 0 !important;
  color: #9a918c !important;
  font-size: 8.5px !important;
  line-height: 1.15 !important;
  font-weight: 850 !important;
  letter-spacing: 0.08em !important;
  text-align: center !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
}

body.single-post .wprm-recipe-container .rc-wprm-meta-row
:is(.wprm-recipe-details, .wprm-recipe-servings, .wprm-recipe-servings-unit) {
  position: static !important;
  display: inline !important;
  width: auto !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--rc-text) !important;
  font-size: 11.5px !important;
  line-height: 1.3 !important;
  font-weight: 600 !important;
  text-align: center !important;
  white-space: normal !important;
  writing-mode: horizontal-tb !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
}

body.single-post .wprm-recipe-container .rc-wprm-meta-row
.wprm-recipe-servings {
  font-weight: 850 !important;
}

body.single-post .wprm-recipe-container .rc-wprm-meta-row
.wprm-recipe-servings-unit {
  margin-left: 3px !important;
}

body.single-post .wprm-recipe-container .rc-wprm-meta-row {
  max-width: 575px !important;
  gap: 10px !important;
  margin-top: 8px !important;
}

body.single-post .wprm-recipe-container .rc-wprm-meta-row >
:is(.wprm-recipe-course-container, .wprm-recipe-cuisine-container, .wprm-recipe-servings-container) {
  min-height: 78px !important;
  padding: 12px 10px !important;
  background: #fffdfb !important;
  border: 1px solid var(--rc-border) !important;
  border-radius: 13px !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

@media (max-width: 600px) {
  body.single-post .wprm-recipe-container .rc-wprm-meta-row {
    gap: 5px !important;
  }

  body.single-post .wprm-recipe-container .rc-wprm-meta-row >
  :is(.wprm-recipe-course-container, .wprm-recipe-cuisine-container, .wprm-recipe-servings-container) {
    min-height: 72px !important;
    padding: 10px 5px !important;
  }

  body.single-post .wprm-recipe-container .rc-wprm-meta-row
  .wprm-recipe-details-label {
    font-size: 7.5px !important;
  }

  body.single-post .wprm-recipe-container .rc-wprm-meta-row
  :is(.wprm-recipe-details, .wprm-recipe-servings, .wprm-recipe-servings-unit) {
    font-size: 9.5px !important;
  }
}

body.single-post .wprm-recipe-container
div:has(> div > .wprm-recipe-course-container):has(> div > .wprm-recipe-cuisine-container):has(> div > .wprm-recipe-servings-container)
.wprm-recipe-servings {
  font-weight: 850 !important;
}

body.single-post .wprm-recipe-container
div:has(> div > .wprm-recipe-course-container):has(> div > .wprm-recipe-cuisine-container):has(> div > .wprm-recipe-servings-container)
.wprm-recipe-servings-unit {
  margin-left: 3px !important;
}


/* ==================================================
   ABSOLUTE FINAL WPRM META ROW
   Handles the template's two-column HTML structure
================================================== */

body.single-post .wprm-recipe-container
div:has(> div > .wprm-recipe-course-container):has(> div > .wprm-recipe-cuisine-container):has(> div > .wprm-recipe-servings-container) {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 12px !important;
  align-items: start !important;
  width: 100% !important;
  margin: 14px 0 20px !important;
  padding: 0 !important;
}

/* Flatten only the left and right template columns. */
body.single-post .wprm-recipe-container
div:has(> div > .wprm-recipe-course-container):has(> div > .wprm-recipe-cuisine-container):has(> div > .wprm-recipe-servings-container)
> div:has(> .wprm-recipe-course-container),
body.single-post .wprm-recipe-container
div:has(> div > .wprm-recipe-course-container):has(> div > .wprm-recipe-cuisine-container):has(> div > .wprm-recipe-servings-container)
> div:has(> .wprm-recipe-servings-container) {
  display: contents !important;
}

/* Hide only decorative siblings inside those two columns. */
body.single-post .wprm-recipe-container
div:has(> div > .wprm-recipe-course-container):has(> div > .wprm-recipe-cuisine-container):has(> div > .wprm-recipe-servings-container)
> div:has(> .wprm-recipe-course-container)
> :not(.wprm-recipe-course-container):not(.wprm-recipe-cuisine-container),
body.single-post .wprm-recipe-container
div:has(> div > .wprm-recipe-course-container):has(> div > .wprm-recipe-cuisine-container):has(> div > .wprm-recipe-servings-container)
> div:has(> .wprm-recipe-servings-container)
> :not(.wprm-recipe-servings-container) {
  display: none !important;
}

body.single-post .wprm-recipe-container
div:has(> div > .wprm-recipe-course-container):has(> div > .wprm-recipe-cuisine-container):has(> div > .wprm-recipe-servings-container)
.wprm-recipe-course-container,
body.single-post .wprm-recipe-container
div:has(> div > .wprm-recipe-course-container):has(> div > .wprm-recipe-cuisine-container):has(> div > .wprm-recipe-servings-container)
.wprm-recipe-cuisine-container,
body.single-post .wprm-recipe-container
div:has(> div > .wprm-recipe-course-container):has(> div > .wprm-recipe-cuisine-container):has(> div > .wprm-recipe-servings-container)
.wprm-recipe-servings-container {
  position: static !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 4px 6px !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}

body.single-post .wprm-recipe-container
div:has(> div > .wprm-recipe-course-container):has(> div > .wprm-recipe-cuisine-container):has(> div > .wprm-recipe-servings-container)
.wprm-recipe-details-label {
  margin: 0 0 5px !important;
  font-size: 8.5px !important;
  line-height: 1.15 !important;
  letter-spacing: 0.08em !important;
  text-align: center !important;
  white-space: nowrap !important;
}

body.single-post .wprm-recipe-container
div:has(> div > .wprm-recipe-course-container):has(> div > .wprm-recipe-cuisine-container):has(> div > .wprm-recipe-servings-container)
.wprm-recipe-details,
body.single-post .wprm-recipe-container
div:has(> div > .wprm-recipe-course-container):has(> div > .wprm-recipe-cuisine-container):has(> div > .wprm-recipe-servings-container)
.wprm-recipe-servings,
body.single-post .wprm-recipe-container
div:has(> div > .wprm-recipe-course-container):has(> div > .wprm-recipe-cuisine-container):has(> div > .wprm-recipe-servings-container)
.wprm-recipe-servings-unit {
  position: static !important;
  display: inline !important;
  width: auto !important;
  max-width: 100% !important;
  margin: 0 !important;
  font-size: 11.5px !important;
  line-height: 1.3 !important;
  text-align: center !important;
  white-space: normal !important;
  writing-mode: horizontal-tb !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
}

body.single-post .wprm-recipe-container
div:has(> div > .wprm-recipe-course-container):has(> div > .wprm-recipe-cuisine-container):has(> div > .wprm-recipe-servings-container)
.wprm-recipe-servings {
  font-weight: 850 !important;
}

body.single-post .wprm-recipe-container
div:has(> div > .wprm-recipe-course-container):has(> div > .wprm-recipe-cuisine-container):has(> div > .wprm-recipe-servings-container)
.wprm-recipe-servings-unit {
  margin-left: 3px !important;
}

@media (max-width: 600px) {
  body.single-post .wprm-recipe-container
  div:has(> div > .wprm-recipe-course-container):has(> div > .wprm-recipe-cuisine-container):has(> div > .wprm-recipe-servings-container) {
    gap: 5px !important;
  }

  body.single-post .wprm-recipe-container
  div:has(> div > .wprm-recipe-course-container):has(> div > .wprm-recipe-cuisine-container):has(> div > .wprm-recipe-servings-container)
  .wprm-recipe-details-label {
    font-size: 7.5px !important;
  }

  body.single-post .wprm-recipe-container
  div:has(> div > .wprm-recipe-course-container):has(> div > .wprm-recipe-cuisine-container):has(> div > .wprm-recipe-servings-container)
  .wprm-recipe-details,
  body.single-post .wprm-recipe-container
  div:has(> div > .wprm-recipe-course-container):has(> div > .wprm-recipe-cuisine-container):has(> div > .wprm-recipe-servings-container)
  .wprm-recipe-servings,
  body.single-post .wprm-recipe-container
  div:has(> div > .wprm-recipe-course-container):has(> div > .wprm-recipe-cuisine-container):has(> div > .wprm-recipe-servings-container)
  .wprm-recipe-servings-unit {
    font-size: 9.5px !important;
  }
}

/* TRUE EOF OVERRIDE — Gericht / Küche / Portionen */
body.single-post .wprm-recipe-container
div:has(> div > .wprm-recipe-course-container):has(> div > .wprm-recipe-cuisine-container):has(> div > .wprm-recipe-servings-container) {
  position: relative !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 12px !important;
  width: 100% !important;
  min-height: 0 !important;
  margin: 14px 0 20px !important;
  padding: 0 !important;
}

body.single-post .wprm-recipe-container
div:has(> div > .wprm-recipe-course-container):has(> div > .wprm-recipe-cuisine-container):has(> div > .wprm-recipe-servings-container)
> div:has(> .wprm-recipe-course-container),
body.single-post .wprm-recipe-container
div:has(> div > .wprm-recipe-course-container):has(> div > .wprm-recipe-cuisine-container):has(> div > .wprm-recipe-servings-container)
> div:has(> .wprm-recipe-servings-container) {
  display: contents !important;
}

body.single-post .wprm-recipe-container
div:has(> div > .wprm-recipe-course-container):has(> div > .wprm-recipe-cuisine-container):has(> div > .wprm-recipe-servings-container)
> div:has(> .wprm-recipe-course-container)
> :not(.wprm-recipe-course-container):not(.wprm-recipe-cuisine-container),
body.single-post .wprm-recipe-container
div:has(> div > .wprm-recipe-course-container):has(> div > .wprm-recipe-cuisine-container):has(> div > .wprm-recipe-servings-container)
> div:has(> .wprm-recipe-servings-container)
> :not(.wprm-recipe-servings-container) {
  display: none !important;
}

body.single-post .wprm-recipe-container
div:has(> div > .wprm-recipe-course-container):has(> div > .wprm-recipe-cuisine-container):has(> div > .wprm-recipe-servings-container)
:is(.wprm-recipe-course-container, .wprm-recipe-cuisine-container, .wprm-recipe-servings-container) {
  position: static !important;
  inset: auto !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 4px 6px !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}

body.single-post .wprm-recipe-container
div:has(> div > .wprm-recipe-course-container):has(> div > .wprm-recipe-cuisine-container):has(> div > .wprm-recipe-servings-container)
.wprm-recipe-details-label {
  margin: 0 0 5px !important;
  font-size: 8.5px !important;
  line-height: 1.15 !important;
  text-align: center !important;
  white-space: nowrap !important;
}

body.single-post .wprm-recipe-container
div:has(> div > .wprm-recipe-course-container):has(> div > .wprm-recipe-cuisine-container):has(> div > .wprm-recipe-servings-container)
:is(.wprm-recipe-details, .wprm-recipe-servings, .wprm-recipe-servings-unit) {
  position: static !important;
  display: inline !important;
  width: auto !important;
  max-width: 100% !important;
  margin: 0 !important;
  font-size: 11.5px !important;
  line-height: 1.3 !important;
  text-align: center !important;
  white-space: normal !important;
  writing-mode: horizontal-tb !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
}


/* ==================================================
   FINAL TABLET RESPONSIVE
   Desktop rules above remain untouched
================================================== */

@media (min-width: 769px) and (max-width: 1024px) {
  body.single-post .site-main,
  body.single-post #main {
    margin-top: 18px !important;
  }

  body.single-post #primary,
  body.single-post .content-area {
    top: 0 !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  body.single-post .post-thumbnail,
  body.single-post .entry-hero,
  body.single-post .kadence-post-image {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    border-radius: 22px !important;
    clip-path: inset(0 round 22px);
  }

  body.single-post .post-thumbnail img,
  body.single-post .entry-hero img,
  body.single-post .kadence-post-header img,
  body.single-post .kadence-post-image img {
    width: 100% !important;
    height: auto !important;
    border-radius: 22px !important;
  }

  body.single-post .entry-content {
    padding-right: 22px !important;
    padding-left: 22px !important;
  }

  body.single-post #secondary,
  body.single-post .widget-area,
  body.single-post aside {
    top: 0 !important;
    padding-top: 0 !important;
  }
}

/* Tablet portrait: sidebar usually moves below the article. */
@media (min-width: 769px) and (max-width: 900px) {
  body.single-post #secondary,
  body.single-post .widget-area,
  body.single-post aside {
    margin-top: 30px !important;
  }
}

/* Tablet landscape: keep sidebar level with the hero when two columns remain. */
@media (min-width: 901px) and (max-width: 1024px) {
  body.single-post #secondary,
  body.single-post .widget-area,
  body.single-post aside {
    margin-top: 0 !important;
  }
}


/* ==================================================
   FINAL MOBILE RESPONSIVE
================================================== */

@media (max-width: 768px) {
  html,
  body.single-post {
    overflow-x: hidden !important;
  overflow-x: clip !important;
  }

  body.single-post .site-main,
  body.single-post #main {
    margin-top: 14px !important;
  }

  body.single-post #primary,
  body.single-post .content-area,
  body.single-post article {
    width: 100% !important;
    max-width: 100% !important;
    top: 0 !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    box-sizing: border-box !important;
  }

  body.single-post .post-thumbnail,
  body.single-post .entry-hero,
  body.single-post .kadence-post-image {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    overflow: hidden !important;
    border-radius: 18px !important;
    clip-path: inset(0 round 18px);
  }

  body.single-post .post-thumbnail img,
  body.single-post .entry-hero img,
  body.single-post .kadence-post-header img,
  body.single-post .kadence-post-image img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    border-radius: 18px !important;
  }

  body.single-post .entry-content {
    width: 100% !important;
    margin-top: 8px !important;
    padding: 18px 13px 28px !important;
    box-sizing: border-box !important;
  }

  body.single-post .entry-title {
    max-width: 100% !important;
    margin-right: auto !important;
    margin-left: auto !important;
    font-size: clamp(21px, 6vw, 25px) !important;
    line-height: 1.22 !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: auto !important;
  }

  body.single-post .entry-content > p {
    font-size: 15px !important;
    line-height: 1.66 !important;
    text-align: left !important;
    overflow-wrap: break-word !important;
  }

  body.single-post #secondary,
  body.single-post .widget-area,
  body.single-post aside {
    width: 100% !important;
    max-width: 100% !important;
    top: 0 !important;
    margin-top: 30px !important;
    padding-top: 0 !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 480px) {
  body.single-post .site-main,
  body.single-post #main {
    margin-top: 12px !important;
  }

  body.single-post .post-thumbnail,
  body.single-post .entry-hero,
  body.single-post .kadence-post-image,
  body.single-post .post-thumbnail img,
  body.single-post .entry-hero img,
  body.single-post .kadence-post-header img,
  body.single-post .kadence-post-image img {
    border-radius: 16px !important;
  }

  body.single-post .entry-title {
    font-size: clamp(20px, 6.2vw, 23px) !important;
  }
}


/* ==================================================
   ARTICLE CARD
================================================== */

body.single-post article {
  background: #ffffff;
  border-radius: 26px;
  overflow: visible;
  border: none !important;
  box-shadow: 0 14px 42px rgba(60, 35, 20, 0.07);
  margin-top: 0 !important;
}

body.single-post .entry-content {
  padding: 26px 30px 38px;
  color: #34231b;
}


/* ==================================================
   HERO / FEATURED IMAGE
   Fade-in on full image only
================================================== */

body.single-post .post-thumbnail,
body.single-post .entry-content > figure:first-child {
  margin-top: 0 !important;
}

body.single-post .post-thumbnail {
  overflow: hidden !important;
  border-radius: 24px !important;
  margin: 0 !important;
  isolation: isolate;
  box-shadow: 0 14px 34px rgba(60, 35, 20, 0.12);
}

body.single-post .post-thumbnail img,
body.single-post .entry-hero img,
body.single-post .kadence-post-header img {
  width: 100%;
  display: block;
  border-radius: 24px !important;
  box-shadow: none !important;
  animation: rcHeroFadeIn 0.9s ease-out both;
}

@keyframes rcHeroFadeIn {
  from {
    opacity: 0;
    filter: brightness(0.92);
    transform: scale(1.015);
  }

  to {
    opacity: 1;
    filter: brightness(1);
    transform: scale(1);
  }
}


/* ==================================================
   CONTENT IMAGES
   Direct article images only - WPRM safe
================================================== */

body.single-post .entry-content > figure {
  margin: 28px 0;
}

body.single-post .entry-content > figure img,
body.single-post .entry-content > p > img {
  max-width: 100%;
  height: auto;
  border-radius: 15px !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.07);
}

body.single-post .entry-content > figure figcaption {
  font-size: 12px;
  line-height: 1.5;
  color: #7a665d;
  text-align: center;
  margin-top: 8px;
}


/* ==================================================
   MAIN POST TITLE
================================================== */

body.single-post .entry-title {
  font-size: clamp(24px, 2.7vw, 33px) !important;
  line-height: 1.18;
  font-weight: 850;
  color: #1d120d;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
  position: relative;
}

body.single-post .entry-title::after {
  content: "";
  display: block;
  width: 68px;
  height: 4px;
  margin: 13px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff5a2a, #ffb184);
}


/* ==================================================
   HERO CATEGORY — ELEGANT RECIPE LABEL
================================================== */

body.single-post .entry-hero .entry-taxonomies,
body.single-post .entry-hero .kt-post-categories,
body.single-post .entry-hero .post-categories,
body.single-post .entry-hero .cat-links {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 7px !important;
  width: fit-content !important;
  max-width: calc(100% - 30px) !important;
  margin: 0 auto 14px !important;
  padding: 7px 13px !important;
  color: #8f3a1c !important;
  background: rgba(255, 248, 244, 0.94) !important;
  border: 1px solid rgba(255, 95, 46, 0.24) !important;
  border-radius: 999px !important;
  box-shadow: 0 8px 24px rgba(53, 20, 7, 0.10) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

body.single-post .entry-hero .entry-taxonomies::before,
body.single-post .entry-hero .kt-post-categories::before,
body.single-post .entry-hero .post-categories::before,
body.single-post .entry-hero .cat-links::before {
  content: "" !important;
  flex: 0 0 auto !important;
  width: 7px !important;
  height: 7px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #ff5f2e, #ff9868) !important;
  box-shadow: 0 0 0 4px rgba(255, 95, 46, 0.12) !important;
}

body.single-post .entry-hero .entry-taxonomies a,
body.single-post .entry-hero .kt-post-categories a,
body.single-post .entry-hero .post-categories a,
body.single-post .entry-hero .cat-links a,
body.single-post .entry-hero a[rel="category tag"] {
  display: inline-flex !important;
  align-items: center !important;
  padding: 0 !important;
  color: #8f3a1c !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-size: 11px !important;
  line-height: 1.25 !important;
  font-weight: 850 !important;
  letter-spacing: 0.075em !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
  transition: color 0.2s ease !important;
}

body.single-post .entry-hero .entry-taxonomies:hover,
body.single-post .entry-hero .kt-post-categories:hover,
body.single-post .entry-hero .post-categories:hover,
body.single-post .entry-hero .cat-links:hover {
  border-color: rgba(255, 95, 46, 0.42) !important;
  box-shadow: 0 10px 27px rgba(53, 20, 7, 0.13) !important;
}

body.single-post .entry-hero .entry-taxonomies a:hover,
body.single-post .entry-hero .kt-post-categories a:hover,
body.single-post .entry-hero .post-categories a:hover,
body.single-post .entry-hero .cat-links a:hover,
body.single-post .entry-hero a[rel="category tag"]:hover {
  color: #e94e1f !important;
}


/* ==================================================
   ARTICLE TEXT
   Direct content only - WPRM safe
================================================== */

body.single-post .entry-content > p {
  font-size: 15.5px;
  line-height: 1.74;
  color: #3f2c23;
  margin-bottom: 17px;
  text-align: justify;
}

body.single-post .entry-content > p strong,
body.single-post .entry-content > ul strong,
body.single-post .entry-content > ol strong {
  color: #21140f;
  font-weight: 750;
}

body.single-post .entry-content > p a,
body.single-post .entry-content > ul a,
body.single-post .entry-content > ol a {
  color: #e95522;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(233, 85, 34, 0.30);
}

body.single-post .entry-content > p a:hover,
body.single-post .entry-content > ul a:hover,
body.single-post .entry-content > ol a:hover {
  color: #c94317;
  border-bottom-color: #c94317;
}


/* ==================================================
   ARTICLE HEADINGS
   Direct content only - WPRM safe
================================================== */

body.single-post .entry-content > h1,
body.single-post .entry-content > h2,
body.single-post .entry-content > h3,
body.single-post .entry-content > h4 {
  color: #21140f;
}

body.single-post .entry-content > h1 {
  font-size: clamp(23px, 2.4vw, 30px);
  line-height: 1.22;
  font-weight: 850;
  margin: 40px 0 15px;
  letter-spacing: -0.02em;
}

body.single-post .entry-content > h2 {
  font-size: clamp(21px, 2.1vw, 26px);
  line-height: 1.25;
  font-weight: 850;
  margin: 40px 0 15px;
  letter-spacing: -0.02em;
  position: relative;
  padding-left: 15px;
}

body.single-post .entry-content > h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  width: 5px;
  height: 1em;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff5a2a, #ffb184);
}

body.single-post .entry-content > h2::after {
  display: none !important;
}

body.single-post .entry-content > h3 {
  font-size: 18px;
  line-height: 1.35;
  font-weight: 800;
  margin: 28px 0 12px;
  padding: 11px 15px;
  border-radius: 12px;
  background: #fff5ef;
  border-left: 4px solid #ff6b2c;
}

body.single-post .entry-content > h4 {
  font-size: 16px;
  line-height: 1.4;
  font-weight: 750;
  margin: 24px 0 10px;
  color: #3a241c;
}


/* ==================================================
   BULLET LISTS
   Direct content only - WPRM safe
================================================== */

body.single-post .entry-content > ul {
  margin: 18px 0 24px;
  padding-left: 0;
}

body.single-post .entry-content > ul > li {
  position: relative;
  list-style: none;
  font-size: 15.5px;
  line-height: 1.7;
  color: #3f2c23;
  margin-bottom: 10px;
  padding-left: 29px;
  text-align: justify;
}

body.single-post .entry-content > ul > li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff6b2c;
  box-shadow: 0 0 0 4px rgba(255, 107, 44, 0.13);
}


/* ==================================================
   PREMIUM NUMBERED LIST STYLE
   Direct content only - WPRM safe
================================================== */

body.single-post .entry-content > ol {
  counter-reset: rc-number;
  margin: 22px 0 28px;
  padding-left: 0;
}

body.single-post .entry-content > ol > li {
  counter-increment: rc-number;
  position: relative;
  list-style: none;
  font-size: 15.5px;
  line-height: 1.72;
  color: #3f2c23;
  margin-bottom: 14px;
  padding: 14px 16px 14px 48px;
  background: #fff8f3;
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(60, 35, 20, 0.045);
  text-align: justify;
}

body.single-post .entry-content > ol > li::before {
  content: counter(rc-number);
  position: absolute;
  left: 14px;
  top: 14px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff5a2a, #ff9a66);
  color: #ffffff;
  font-size: 12px;
  font-weight: 850;
  line-height: 24px;
  text-align: center;
  box-shadow: 0 6px 14px rgba(255, 90, 42, 0.28);
}

body.single-post .entry-content > ol > li strong {
  color: #21140f;
  font-weight: 800;
}


/* ==================================================
   TABLE STYLE - EDITORIAL PREMIUM
   Article tables only - WP Recipe Maker excluded
================================================== */

body.single-post .entry-content table:not(.wprm-recipe-table):not(.wprm-recipe-container table):not(.wprm-recipe table) {
  width: 100% !important;
  table-layout: auto !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  margin: 30px 0 !important;
  overflow: hidden !important;
  background: #ffffff !important;
  border: 1px solid rgba(60, 35, 20, 0.10) !important;
  border-radius: 20px !important;
  box-shadow: 0 16px 36px rgba(60, 35, 20, 0.07) !important;
}

/* Table header */
body.single-post .entry-content table:not(.wprm-recipe-table):not(.wprm-recipe-container table):not(.wprm-recipe table) thead th,
body.single-post .entry-content table:not(.wprm-recipe-table):not(.wprm-recipe-container table):not(.wprm-recipe table) tr:first-child th {
  background: #2b1a13 !important;
  color: #ffffff !important;
  font-size: 13.5px !important;
  line-height: 1.45 !important;
  font-weight: 850 !important;
  letter-spacing: 0.2px !important;
  text-align: left !important;
  padding: 15px 17px !important;
  border: none !important;
  border-bottom: 3px solid #ff6b2c !important;
}

/* Table cells */
body.single-post .entry-content table:not(.wprm-recipe-table):not(.wprm-recipe-container table):not(.wprm-recipe table) td {
  background: #ffffff !important;
  color: #3b2a22 !important;
  font-size: 13px !important;
  line-height: 1.58 !important;
  font-weight: 500 !important;
  text-align: left !important;
  vertical-align: middle !important;
  padding: 15px 17px !important;
  border: none !important;
  border-bottom: 1px solid rgba(60, 35, 20, 0.075) !important;
}

/* Soft vertical lines */
body.single-post .entry-content table:not(.wprm-recipe-table):not(.wprm-recipe-container table):not(.wprm-recipe table) th:not(:last-child),
body.single-post .entry-content table:not(.wprm-recipe-table):not(.wprm-recipe-container table):not(.wprm-recipe table) td:not(:last-child) {
  border-right: 1px solid rgba(60, 35, 20, 0.06) !important;
}

/* Zebra rows */
body.single-post .entry-content table:not(.wprm-recipe-table):not(.wprm-recipe-container table):not(.wprm-recipe table) tbody tr:nth-child(even) td {
  background: #fff8f3 !important;
}

/* First column as label column */
body.single-post .entry-content table:not(.wprm-recipe-table):not(.wprm-recipe-container table):not(.wprm-recipe table) tbody tr td:first-child {
  font-weight: 800 !important;
  color: #21140f !important;
  background: linear-gradient(90deg, #fff2e9, #ffffff) !important;
}

/* Hover */
body.single-post .entry-content table:not(.wprm-recipe-table):not(.wprm-recipe-container table):not(.wprm-recipe table) tbody tr:hover td {
  background: #fff0e7 !important;
}

body.single-post .entry-content table:not(.wprm-recipe-table):not(.wprm-recipe-container table):not(.wprm-recipe table) tbody tr:hover td:first-child {
  background: #ffe9dc !important;
}

/* Last row clean */
body.single-post .entry-content table:not(.wprm-recipe-table):not(.wprm-recipe-container table):not(.wprm-recipe table) tr:last-child td {
  border-bottom: none !important;
}


/* ==================================================
   BLOCKQUOTE
   Direct article blockquotes only - WPRM safe
================================================== */

body.single-post .entry-content > blockquote {
  margin: 28px 0;
  padding: 20px 24px;
  border-radius: 17px;
  background: #fff5ef;
  border: none !important;
  box-shadow: 0 10px 26px rgba(60, 35, 20, 0.05);
}

body.single-post .entry-content > blockquote p {
  margin-bottom: 0;
  font-size: 15.8px;
  line-height: 1.7;
  font-weight: 650;
  color: #2f1d15;
}


/* ==================================================
   TABLET
================================================== */

@media (min-width: 769px) and (max-width: 1024px) {
  body.single-post .site-main {
    margin-top: -30px !important;
  }

  body.single-post article {
    border-radius: 26px 26px 20px 20px;
  }

  body.single-post .entry-content {
    padding: 24px 22px 32px;
  }

  body.single-post .entry-title {
    font-size: clamp(24px, 3.4vw, 31px) !important;
  }

  body.single-post .post-thumbnail {
    border-radius: 22px !important;
  }

  body.single-post .post-thumbnail img,
  body.single-post .entry-hero img,
  body.single-post .kadence-post-header img {
    border-radius: 22px !important;
  }

  body.single-post #secondary,
  body.single-post .widget-area,
  body.single-post aside {
    top: 0 !important;
    margin-top: 26px !important;
    padding-top: 0 !important;
  }
}


/* ==================================================
   MOBILE
================================================== */

@media (max-width: 768px) {
  body.single-post {
    background: #ffffff;
  }

  body.single-post .site-main {
    margin-top: -18px !important;
  }

  body.single-post .entry-hero-container-inner,
  body.single-post .hero-container,
  body.single-post .entry-hero-container {
    display: flex !important;
    align-items: flex-end !important;
    min-height: 350px !important;
    padding-top: 95px !important;
    padding-bottom: 18px !important;
    margin-bottom: 0 !important;
  }

  body.single-post .entry-header,
  body.single-post .entry-hero .entry-header {
    transform: translateY(0) !important;
  }

  body.single-post article {
    border-radius: 20px 20px 15px 15px;
    border: none !important;
    box-shadow: 0 10px 28px rgba(60, 35, 20, 0.06);
  }

  body.single-post .entry-content {
    padding: 21px 15px 30px;
    margin-top: 12px !important;
  }

  body.single-post .entry-title {
    font-size: clamp(23px, 6vw, 27px) !important;
    line-height: 1.2;
    margin-bottom: 10px;
  }

  body.single-post .entry-title::after {
    width: 56px;
    height: 3px;
    margin-top: 10px;
  }

  body.single-post .post-thumbnail {
    border-radius: 18px !important;
  }

  body.single-post .post-thumbnail img,
  body.single-post .entry-hero img,
  body.single-post .kadence-post-header img {
    border-radius: 18px !important;
  }

  body.single-post .entry-content > figure img,
  body.single-post .entry-content > p > img {
    border-radius: 13px !important;
  }

  body.single-post .entry-content > p,
  body.single-post .entry-content > ul > li {
    font-size: 15px;
    line-height: 1.68;
  }

  body.single-post .entry-content > ol > li {
    font-size: 15px;
    line-height: 1.68;
    padding: 13px 14px 13px 45px;
    border-radius: 13px;
  }

  body.single-post .entry-content > ol > li::before {
    left: 13px;
    top: 13px;
    width: 22px;
    height: 22px;
    font-size: 11.5px;
    line-height: 22px;
  }

  body.single-post .entry-content > h1 {
    font-size: 23px;
    margin-top: 34px;
  }

  body.single-post .entry-content > h2 {
    font-size: 21px;
    margin-top: 36px;
    padding-left: 14px;
  }

  body.single-post .entry-content > h3 {
    font-size: 17.5px;
    margin-top: 26px;
    padding: 11px 13px;
  }

  body.single-post .entry-content > h4 {
    font-size: 15.8px;
  }

  /* Mobile table */
  body.single-post .entry-content table:not(.wprm-recipe-table):not(.wprm-recipe-container table):not(.wprm-recipe table) {
    display: block !important;
    width: 100% !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    border-radius: 16px !important;
    margin: 24px 0 !important;
  }

  body.single-post .entry-content table:not(.wprm-recipe-table):not(.wprm-recipe-container table):not(.wprm-recipe table) th,
  body.single-post .entry-content table:not(.wprm-recipe-table):not(.wprm-recipe-container table):not(.wprm-recipe table) td {
    font-size: 12.2px !important;
    line-height: 1.45 !important;
    padding: 11px 12px !important;
  }

  body.single-post #secondary,
  body.single-post .widget-area,
  body.single-post aside {
    top: 0 !important;
    margin-top: 26px !important;
    padding-top: 0 !important;
  }
}


/* ==================================================
   SMALL MOBILE
================================================== */

@media (max-width: 480px) {
  body.single-post .site-main {
    margin-top: -12px !important;
  }

  body.single-post .entry-hero-container-inner,
  body.single-post .hero-container,
  body.single-post .entry-hero-container {
    min-height: 330px !important;
    padding-top: 90px !important;
    padding-bottom: 18px !important;
  }

  body.single-post .entry-content {
    padding: 20px 14px 28px;
  }

  body.single-post .entry-title {
    font-size: 23px !important;
  }

  body.single-post .entry-content > h2 {
    font-size: 20.5px;
  }

  body.single-post .entry-content > ol > li {
    padding: 12px 13px 12px 43px;
  }

  body.single-post .entry-content table:not(.wprm-recipe-table):not(.wprm-recipe-container table):not(.wprm-recipe table) th,
  body.single-post .entry-content table:not(.wprm-recipe-table):not(.wprm-recipe-container table):not(.wprm-recipe table) td {
    font-size: 12px !important;
    padding: 10px 11px !important;
  }
}


/* ==================================================
   MOBILE CATEGORY FIX
================================================== */

@media (max-width: 768px) {
  body.single-post .entry-hero .entry-taxonomies,
  body.single-post .entry-hero .kt-post-categories,
  body.single-post .entry-hero .post-categories,
  body.single-post .entry-hero .cat-links,
  body.single-post .entry-hero a[rel="category tag"] {
    position: relative !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
    margin-top: 14px !important;
    margin-right: auto !important;
    margin-bottom: 12px !important;
    margin-left: auto !important;
    z-index: 1 !important;
  }

  body.single-post .entry-hero .entry-taxonomies a,
  body.single-post .entry-hero .kt-post-categories a,
  body.single-post .entry-hero .post-categories a,
  body.single-post .entry-hero .cat-links a,
  body.single-post .entry-hero a[rel="category tag"] {
    font-size: 10px !important;
  }
}


/* ==================================================
   WP RECIPE MAKER — REZEPTECHEF PREMIUM STYLE
================================================== */

body.single-post {
  --rc-orange: #ff5f2e;
  --rc-orange-dark: #e94e1f;
  --rc-orange-soft: #fff1ea;
  --rc-brown: #351407;
  --rc-text: #241f1c;
  --rc-muted: #746760;
  --rc-border: #f1ddd3;
  --rc-cream: #fff8f4;
}

/* Main recipe card */
body.single-post .entry-content .wprm-recipe-container,
body.single-post .entry-content .wprm-recipe,
body.single-post .entry-content .wprm-recipe-template-rezept-pin {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  margin: 34px 0 !important;
  padding: 25px !important;
  color: var(--rc-text) !important;
  background: linear-gradient(180deg, #ffffff 0%, var(--rc-cream) 100%) !important;
  border: 1px solid var(--rc-border) !important;
  border-radius: 22px !important;
  box-shadow: 0 16px 38px rgba(60, 35, 20, 0.08) !important;
  overflow: hidden !important;
  font-family: inherit !important;
}

/* Recipe header: text and image stay balanced */
body.single-post .wprm-recipe-header-container,
body.single-post .wprm-recipe-template-rezept-pin .wprm-recipe-header-container {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 34%) !important;
  gap: 22px !important;
  align-items: center !important;
  margin-bottom: 22px !important;
}

body.single-post .wprm-recipe-name {
  margin: 0 0 10px !important;
  color: var(--rc-brown) !important;
  font-size: clamp(23px, 2.3vw, 30px) !important;
  line-height: 1.18 !important;
  font-weight: 850 !important;
  letter-spacing: -0.025em !important;
}

body.single-post .wprm-recipe-summary {
  color: #49352c !important;
  font-size: 14.5px !important;
  line-height: 1.68 !important;
}

body.single-post .wprm-recipe-image,
body.single-post .wprm-recipe-image img {
  width: 100% !important;
  height: auto !important;
  border-radius: 16px !important;
}

body.single-post .wprm-recipe-image {
  overflow: hidden !important;
  box-shadow: 0 10px 25px rgba(60, 35, 20, 0.13) !important;
}

body.single-post .wprm-recipe-image img {
  display: block !important;
  object-fit: cover !important;
  aspect-ratio: 4 / 3 !important;
}

/* Print and pin buttons */
body.single-post .wprm-recipe-container .wprm-recipe-jump,
body.single-post .wprm-recipe-container .wprm-recipe-print,
body.single-post .wprm-recipe-container .wprm-recipe-pin,
body.single-post .wprm-recipe-container .wprm-recipe-link,
body.single-post .wprm-recipe-container a.wprm-recipe-print,
body.single-post .wprm-recipe-container a.wprm-recipe-pin {
  min-height: 42px !important;
  padding: 11px 18px !important;
  color: #ffffff !important;
  background: linear-gradient(135deg, var(--rc-orange), #ff8756) !important;
  border: 0 !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 18px rgba(255, 95, 46, 0.24) !important;
  font-size: 13px !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease !important;
}

body.single-post .wprm-recipe-container .wprm-recipe-jump:hover,
body.single-post .wprm-recipe-container .wprm-recipe-print:hover,
body.single-post .wprm-recipe-container .wprm-recipe-pin:hover,
body.single-post .wprm-recipe-container .wprm-recipe-link:hover {
  color: #ffffff !important;
  filter: brightness(0.98) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 11px 24px rgba(255, 95, 46, 0.31) !important;
}

body.single-post .wprm-recipe-container .wprm-recipe-jump:active,
body.single-post .wprm-recipe-container .wprm-recipe-print:active,
body.single-post .wprm-recipe-container .wprm-recipe-pin:active,
body.single-post .wprm-recipe-container .wprm-recipe-link:active {
  transform: translateY(0) scale(0.98) !important;
}

/* Time, course, cuisine and servings */
body.single-post .wprm-recipe-times-container,
body.single-post .wprm-recipe-meta-container {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 10px !important;
  width: 100% !important;
  justify-content: center !important;
  justify-items: stretch !important;
  align-items: stretch !important;
  margin: 20px 0 24px !important;
  padding: 0 !important;
  border: 0 !important;
}

body.single-post .wprm-recipe-time-container,
body.single-post .wprm-recipe-meta-container > div,
body.single-post .wprm-recipe-servings-container,
body.single-post .wprm-recipe-course-container,
body.single-post .wprm-recipe-cuisine-container {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 112px !important;
  box-sizing: border-box !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 13px 10px !important;
  text-align: center !important;
  background: #ffffff !important;
  border: 1px solid var(--rc-border) !important;
  border-radius: 13px !important;
}

body.single-post .wprm-recipe-meta-container .wprm-recipe-details-label,
body.single-post .wprm-recipe-times-container .wprm-recipe-details-label {
  display: block !important;
  margin-bottom: 4px !important;
  color: var(--rc-muted) !important;
  font-size: 10.5px !important;
  line-height: 1.25 !important;
  font-weight: 800 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
}

body.single-post .wprm-recipe-meta-container .wprm-recipe-details,
body.single-post .wprm-recipe-times-container .wprm-recipe-details {
  display: block !important;
  width: 100% !important;
  color: var(--rc-brown) !important;
  font-size: 13px !important;
  font-weight: 750 !important;
  line-height: 1.4 !important;
  text-align: center !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
}

/* Keyword card: centered and consistent with the other metadata cards */
body.single-post .wprm-recipe-keyword-container,
body.single-post .wprm-recipe-keywords-container {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: min(100%, 430px) !important;
  min-height: 112px !important;
  box-sizing: border-box !important;
  margin: 18px auto 24px !important;
  padding: 15px 20px !important;
  text-align: center !important;
  background: #ffffff !important;
  border: 1px solid var(--rc-border) !important;
  border-radius: 16px !important;
}

body.single-post .wprm-recipe-keyword-container .wprm-recipe-details-label,
body.single-post .wprm-recipe-keywords-container .wprm-recipe-details-label {
  display: block !important;
  width: 100% !important;
  margin-bottom: 7px !important;
  color: var(--rc-muted) !important;
  font-size: 10.5px !important;
  line-height: 1.25 !important;
  font-weight: 800 !important;
  letter-spacing: 0.06em !important;
  text-align: center !important;
  text-transform: uppercase !important;
}

body.single-post .wprm-recipe-keyword-container .wprm-recipe-details,
body.single-post .wprm-recipe-keywords-container .wprm-recipe-details {
  display: block !important;
  width: 100% !important;
  color: var(--rc-brown) !important;
  font-size: 16px !important;
  line-height: 1.4 !important;
  font-weight: 700 !important;
  text-align: center !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
}

/* All WPRM section titles: same visual language as article H2 */
body.single-post .wprm-recipe-container .wprm-recipe-header,
body.single-post .wprm-recipe-container .wprm-recipe-ingredient-group-name,
body.single-post .wprm-recipe-container .wprm-recipe-instruction-group-name,
body.single-post .wprm-recipe-container .wprm-recipe-equipment-header,
body.single-post .wprm-recipe-container .wprm-recipe-ingredients-header,
body.single-post .wprm-recipe-container .wprm-recipe-instructions-header,
body.single-post .wprm-recipe-container .wprm-recipe-notes-header,
body.single-post .wprm-recipe-container .wprm-recipe-nutrition-header {
  position: relative !important;
  margin: 28px 0 15px !important;
  padding: 0 0 10px 14px !important;
  color: var(--rc-brown) !important;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid var(--rc-border) !important;
  font-size: 17px !important;
  line-height: 1.3 !important;
  font-weight: 850 !important;
  letter-spacing: -0.01em !important;
  text-transform: none !important;
}

body.single-post .wprm-recipe-container .wprm-recipe-header::before,
body.single-post .wprm-recipe-container .wprm-recipe-ingredient-group-name::before,
body.single-post .wprm-recipe-container .wprm-recipe-instruction-group-name::before,
body.single-post .wprm-recipe-container .wprm-recipe-equipment-header::before,
body.single-post .wprm-recipe-container .wprm-recipe-ingredients-header::before,
body.single-post .wprm-recipe-container .wprm-recipe-instructions-header::before,
body.single-post .wprm-recipe-container .wprm-recipe-notes-header::before,
body.single-post .wprm-recipe-container .wprm-recipe-nutrition-header::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 0.12em !important;
  width: 4px !important;
  height: 1.05em !important;
  border-radius: 999px !important;
  background: linear-gradient(180deg, var(--rc-orange), #ffab7e) !important;
}

/* Ingredients and equipment */
body.single-post .wprm-recipe-ingredients,
body.single-post .wprm-recipe-equipment,
body.single-post .wprm-recipe-instructions {
  margin: 0 !important;
  padding: 0 !important;
}

body.single-post .wprm-recipe-ingredient,
body.single-post .wprm-recipe-equipment-item {
  position: relative !important;
  margin: 0 0 8px !important;
  padding: 2px 0 2px 24px !important;
  color: #3f2c23 !important;
  font-size: 14.5px !important;
  line-height: 1.6 !important;
  list-style: none !important;
}

body.single-post .wprm-recipe-ingredient::before,
body.single-post .wprm-recipe-equipment-item::before {
  content: "" !important;
  position: absolute !important;
  left: 4px !important;
  top: 0.72em !important;
  width: 7px !important;
  height: 7px !important;
  border-radius: 50% !important;
  background: var(--rc-orange) !important;
  box-shadow: 0 0 0 4px rgba(255, 95, 46, 0.12) !important;
}

body.single-post .wprm-recipe-ingredient-amount,
body.single-post .wprm-recipe-ingredient-unit {
  color: var(--rc-brown) !important;
  font-weight: 800 !important;
}

/* Instructions: clean cards with orange number circles */
body.single-post .wprm-recipe-instructions {
  counter-reset: rc-wprm-step !important;
}

body.single-post .wprm-recipe-instruction {
  counter-increment: rc-wprm-step !important;
  position: relative !important;
  min-height: 44px !important;
  margin: 0 0 12px !important;
  padding: 14px 15px 14px 51px !important;
  color: #3f2c23 !important;
  background: #ffffff !important;
  border: 1px solid var(--rc-border) !important;
  border-radius: 14px !important;
  box-shadow: 0 7px 18px rgba(60, 35, 20, 0.045) !important;
  list-style: none !important;
}

body.single-post .wprm-recipe-instruction::before {
  content: counter(rc-wprm-step) !important;
  position: absolute !important;
  left: 14px !important;
  top: 14px !important;
  width: 25px !important;
  height: 25px !important;
  color: #ffffff !important;
  background: linear-gradient(135deg, var(--rc-orange), #ff9868) !important;
  border-radius: 50% !important;
  box-shadow: 0 6px 14px rgba(255, 95, 46, 0.25) !important;
  font-size: 12px !important;
  line-height: 25px !important;
  font-weight: 850 !important;
  text-align: center !important;
}

body.single-post .wprm-recipe-instruction-text {
  color: #3f2c23 !important;
  font-size: 14.5px !important;
  line-height: 1.65 !important;
}

body.single-post .wprm-recipe-instruction-media {
  margin-top: 12px !important;
}

body.single-post .wprm-recipe-instruction-media img {
  border-radius: 12px !important;
}

/* Notes and nutrition */
body.single-post .wprm-recipe-notes,
body.single-post .wprm-nutrition-label-container {
  padding: 16px 18px !important;
  color: #4b382f !important;
  background: var(--rc-orange-soft) !important;
  border: 1px solid var(--rc-border) !important;
  border-radius: 14px !important;
  font-size: 14px !important;
  line-height: 1.65 !important;
}

/* Remove template lines and inherited square corners */
body.single-post .wprm-recipe-container hr,
body.single-post .wprm-recipe-container .wprm-recipe-divider {
  height: 1px !important;
  margin: 22px 0 !important;
  background: var(--rc-border) !important;
  border: 0 !important;
}


/* ==================================================
   WPRM RESPONSIVE
================================================== */

@media (max-width: 768px) {
  body.single-post .entry-content .wprm-recipe-container,
  body.single-post .entry-content .wprm-recipe,
  body.single-post .entry-content .wprm-recipe-template-rezept-pin {
    margin: 28px 0 !important;
    padding: 18px 15px !important;
    border-radius: 18px !important;
  }

  body.single-post .wprm-recipe-header-container,
  body.single-post .wprm-recipe-template-rezept-pin .wprm-recipe-header-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    align-items: stretch !important;
  }

  body.single-post .wprm-recipe-name {
    font-size: 23px !important;
  }

  body.single-post .wprm-recipe-image {
    max-width: 100% !important;
  }

  body.single-post .wprm-recipe-times-container,
  body.single-post .wprm-recipe-meta-container {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  body.single-post .wprm-recipe-time-container,
  body.single-post .wprm-recipe-meta-container > div,
  body.single-post .wprm-recipe-servings-container,
  body.single-post .wprm-recipe-course-container,
  body.single-post .wprm-recipe-cuisine-container {
    min-height: 100px !important;
  }

  body.single-post .wprm-recipe-container .wprm-recipe-jump,
  body.single-post .wprm-recipe-container .wprm-recipe-print,
  body.single-post .wprm-recipe-container .wprm-recipe-pin,
  body.single-post .wprm-recipe-container .wprm-recipe-link {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 8px !important;
  }

  body.single-post .wprm-recipe-instruction {
    padding: 13px 12px 13px 47px !important;
  }

  body.single-post .wprm-recipe-instruction::before {
    left: 12px !important;
    top: 13px !important;
    width: 23px !important;
    height: 23px !important;
    line-height: 23px !important;
  }
}

@media (max-width: 480px) {
  body.single-post .wprm-recipe-times-container,
  body.single-post .wprm-recipe-meta-container {
    grid-template-columns: 1fr !important;
  }

  body.single-post .wprm-recipe-keyword-container,
  body.single-post .wprm-recipe-keywords-container {
    width: 100% !important;
    min-height: 96px !important;
  }
}


/* ==================================================
   WPRM META — FORCE TRUE CENTERING
   Overrides template columns, floats and inline widths
================================================== */

body.single-post .wprm-recipe-container .wprm-recipe-meta-container {
  display: flex !important;
  flex-flow: row wrap !important;
  align-items: stretch !important;
  justify-content: center !important;
  gap: 14px !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-right: auto !important;
  margin-left: auto !important;
  text-align: center !important;
}

body.single-post .wprm-recipe-container .wprm-recipe-meta-container >
.wprm-recipe-block-container,
body.single-post .wprm-recipe-container .wprm-recipe-meta-container >
div {
  float: none !important;
  flex: 1 1 180px !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: 220px !important;
  margin: 0 !important;
}

/* Some WPRM templates place these fields in separate column wrappers. */
body.single-post .wprm-recipe-container div:has(>
.wprm-recipe-course-container),
body.single-post .wprm-recipe-container div:has(>
.wprm-recipe-cuisine-container),
body.single-post .wprm-recipe-container div:has(>
.wprm-recipe-servings-container) {
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

body.single-post .wprm-recipe-container div:has(>
.wprm-recipe-course-container):has(>
.wprm-recipe-cuisine-container),
body.single-post .wprm-recipe-container div:has(>
.wprm-recipe-course-container):has(>
.wprm-recipe-servings-container),
body.single-post .wprm-recipe-container div:has(>
.wprm-recipe-cuisine-container):has(>
.wprm-recipe-servings-container) {
  display: flex !important;
  flex-flow: row wrap !important;
  align-items: stretch !important;
  justify-content: center !important;
  gap: 14px !important;
}

body.single-post .wprm-recipe-container .wprm-recipe-course-container,
body.single-post .wprm-recipe-container .wprm-recipe-cuisine-container,
body.single-post .wprm-recipe-container .wprm-recipe-servings-container {
  float: none !important;
  flex: 1 1 180px !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 220px !important;
  margin: 0 !important;
  text-align: center !important;
}

/* Keyword may live inside a narrow template column: center the column too. */
body.single-post .wprm-recipe-container div:has(>
.wprm-recipe-keyword-container),
body.single-post .wprm-recipe-container div:has(>
.wprm-recipe-keywords-container) {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  float: none !important;
  clear: both !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

body.single-post .wprm-recipe-container .wprm-recipe-keyword-container,
body.single-post .wprm-recipe-container .wprm-recipe-keywords-container {
  float: none !important;
  clear: both !important;
  width: min(100%, 430px) !important;
  max-width: 430px !important;
  margin-right: auto !important;
  margin-left: auto !important;
  align-self: center !important;
}

@media (max-width: 768px) {
  body.single-post .wprm-recipe-container .wprm-recipe-meta-container >
  .wprm-recipe-block-container,
  body.single-post .wprm-recipe-container .wprm-recipe-meta-container >
  div,
  body.single-post .wprm-recipe-container .wprm-recipe-course-container,
  body.single-post .wprm-recipe-container .wprm-recipe-cuisine-container,
  body.single-post .wprm-recipe-container .wprm-recipe-servings-container {
    flex-basis: calc(50% - 7px) !important;
    max-width: calc(50% - 7px) !important;
  }
}

@media (max-width: 480px) {
  body.single-post .wprm-recipe-container .wprm-recipe-meta-container >
  .wprm-recipe-block-container,
  body.single-post .wprm-recipe-container .wprm-recipe-meta-container >
  div,
  body.single-post .wprm-recipe-container .wprm-recipe-course-container,
  body.single-post .wprm-recipe-container .wprm-recipe-cuisine-container,
  body.single-post .wprm-recipe-container .wprm-recipe-servings-container {
    flex-basis: 100% !important;
    max-width: 100% !important;
  }
}


/* ==================================================
   WPRM COMPACT INFO CARDS
   Smaller cards, tighter spacing and fewer line breaks
================================================== */

body.single-post .wprm-recipe-container .wprm-recipe-times-container,
body.single-post .wprm-recipe-container .wprm-recipe-meta-container {
  display: flex !important;
  flex-flow: row wrap !important;
  justify-content: center !important;
  align-items: stretch !important;
  gap: 10px !important;
  width: 100% !important;
  margin: 16px auto 20px !important;
}

body.single-post .wprm-recipe-container .wprm-recipe-time-container,
body.single-post .wprm-recipe-container .wprm-recipe-meta-container >
.wprm-recipe-block-container,
body.single-post .wprm-recipe-container .wprm-recipe-meta-container >
div,
body.single-post .wprm-recipe-container .wprm-recipe-servings-container,
body.single-post .wprm-recipe-container .wprm-recipe-course-container,
body.single-post .wprm-recipe-container .wprm-recipe-cuisine-container {
  flex: 0 1 185px !important;
  width: 185px !important;
  max-width: 185px !important;
  min-width: 145px !important;
  min-height: 76px !important;
  padding: 10px 12px !important;
  border-radius: 12px !important;
}

body.single-post .wprm-recipe-container .wprm-recipe-times-container
.wprm-recipe-details-label,
body.single-post .wprm-recipe-container .wprm-recipe-meta-container
.wprm-recipe-details-label {
  margin: 0 0 5px !important;
  font-size: 9.5px !important;
  line-height: 1.2 !important;
  letter-spacing: 0.045em !important;
  white-space: nowrap !important;
}

/* Keep amount and unit on one line: 5 Min. */
body.single-post .wprm-recipe-container .wprm-recipe-time-container >
span:not(.wprm-recipe-details-label),
body.single-post .wprm-recipe-container .wprm-recipe-time-container
.wprm-recipe-details,
body.single-post .wprm-recipe-container .wprm-recipe-time-container
.wprm-recipe-details-unit {
  display: inline !important;
  width: auto !important;
  margin: 0 2px !important;
  font-size: 14px !important;
  line-height: 1.3 !important;
  white-space: nowrap !important;
}

body.single-post .wprm-recipe-container .wprm-recipe-meta-container
.wprm-recipe-details {
  font-size: 13px !important;
  line-height: 1.3 !important;
}

body.single-post .wprm-recipe-container .wprm-recipe-keyword-container,
body.single-post .wprm-recipe-container .wprm-recipe-keywords-container {
  width: min(100%, 330px) !important;
  max-width: 330px !important;
  min-height: 76px !important;
  margin: 14px auto 20px !important;
  padding: 10px 14px !important;
  border-radius: 12px !important;
}

body.single-post .wprm-recipe-container .wprm-recipe-keyword-container
.wprm-recipe-details-label,
body.single-post .wprm-recipe-container .wprm-recipe-keywords-container
.wprm-recipe-details-label {
  margin-bottom: 5px !important;
  font-size: 9.5px !important;
}

body.single-post .wprm-recipe-container .wprm-recipe-keyword-container
.wprm-recipe-details,
body.single-post .wprm-recipe-container .wprm-recipe-keywords-container
.wprm-recipe-details {
  font-size: 14px !important;
  line-height: 1.3 !important;
}

@media (max-width: 768px) {
  body.single-post .wprm-recipe-container .wprm-recipe-time-container,
  body.single-post .wprm-recipe-container .wprm-recipe-meta-container >
  .wprm-recipe-block-container,
  body.single-post .wprm-recipe-container .wprm-recipe-meta-container >
  div,
  body.single-post .wprm-recipe-container .wprm-recipe-servings-container,
  body.single-post .wprm-recipe-container .wprm-recipe-course-container,
  body.single-post .wprm-recipe-container .wprm-recipe-cuisine-container {
    flex: 1 1 calc(50% - 5px) !important;
    width: calc(50% - 5px) !important;
    max-width: calc(50% - 5px) !important;
    min-width: 0 !important;
    min-height: 72px !important;
  }
}

@media (max-width: 480px) {
  body.single-post .wprm-recipe-container .wprm-recipe-time-container,
  body.single-post .wprm-recipe-container .wprm-recipe-meta-container >
  .wprm-recipe-block-container,
  body.single-post .wprm-recipe-container .wprm-recipe-meta-container >
  div,
  body.single-post .wprm-recipe-container .wprm-recipe-servings-container,
  body.single-post .wprm-recipe-container .wprm-recipe-course-container,
  body.single-post .wprm-recipe-container .wprm-recipe-cuisine-container {
    flex-basis: calc(50% - 5px) !important;
    width: calc(50% - 5px) !important;
    max-width: calc(50% - 5px) !important;
    padding: 9px 7px !important;
  }

  body.single-post .wprm-recipe-container .wprm-recipe-times-container
  .wprm-recipe-details-label,
  body.single-post .wprm-recipe-container .wprm-recipe-meta-container
  .wprm-recipe-details-label {
    font-size: 8.5px !important;
    white-space: normal !important;
  }
}


/* ==================================================
   WPRM COMPACT COURSE / CUISINE / SERVINGS / KEYWORD
================================================== */

body.single-post .wprm-recipe-container .wprm-recipe-course-container,
body.single-post .wprm-recipe-container .wprm-recipe-cuisine-container,
body.single-post .wprm-recipe-container .wprm-recipe-servings-container,
body.single-post .wprm-recipe-container .wprm-recipe-keyword-container,
body.single-post .wprm-recipe-container .wprm-recipe-keywords-container {
  display: flex !important;
  flex-flow: row wrap !important;
  align-content: center !important;
  align-items: center !important;
  justify-content: center !important;
  column-gap: 5px !important;
  row-gap: 4px !important;
  flex: 0 1 185px !important;
  width: 185px !important;
  max-width: 185px !important;
  min-width: 145px !important;
  height: auto !important;
  min-height: 76px !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 10px 12px !important;
  box-sizing: border-box !important;
  border-radius: 12px !important;
}

/* Remove the large empty height added by template columns. */
body.single-post .wprm-recipe-container div:has(>
.wprm-recipe-course-container),
body.single-post .wprm-recipe-container div:has(>
.wprm-recipe-cuisine-container),
body.single-post .wprm-recipe-container div:has(>
.wprm-recipe-servings-container),
body.single-post .wprm-recipe-container div:has(>
.wprm-recipe-keyword-container),
body.single-post .wprm-recipe-container div:has(>
.wprm-recipe-keywords-container) {
  min-height: 0 !important;
  height: auto !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

body.single-post .wprm-recipe-container .wprm-recipe-course-container
.wprm-recipe-details-label,
body.single-post .wprm-recipe-container .wprm-recipe-cuisine-container
.wprm-recipe-details-label,
body.single-post .wprm-recipe-container .wprm-recipe-servings-container
.wprm-recipe-details-label,
body.single-post .wprm-recipe-container .wprm-recipe-keyword-container
.wprm-recipe-details-label,
body.single-post .wprm-recipe-container .wprm-recipe-keywords-container
.wprm-recipe-details-label {
  flex: 0 0 100% !important;
  width: 100% !important;
  margin: 0 0 5px !important;
  font-size: 9.5px !important;
  line-height: 1.2 !important;
  text-align: center !important;
  white-space: nowrap !important;
}

body.single-post .wprm-recipe-container .wprm-recipe-course-container
.wprm-recipe-details,
body.single-post .wprm-recipe-container .wprm-recipe-cuisine-container
.wprm-recipe-details,
body.single-post .wprm-recipe-container .wprm-recipe-servings-container
.wprm-recipe-details,
body.single-post .wprm-recipe-container .wprm-recipe-servings-container
.wprm-recipe-servings,
body.single-post .wprm-recipe-container .wprm-recipe-servings-container
.wprm-recipe-servings-unit,
body.single-post .wprm-recipe-container .wprm-recipe-keyword-container
.wprm-recipe-details,
body.single-post .wprm-recipe-container .wprm-recipe-keywords-container
.wprm-recipe-details {
  display: inline !important;
  flex: 0 0 auto !important;
  width: auto !important;
  margin: 0 !important;
  font-size: 14px !important;
  line-height: 1.3 !important;
  text-align: center !important;
  white-space: nowrap !important;
}

/* Center all four compact cards as one balanced group. */
body.single-post .wprm-recipe-container div:has(>
.wprm-recipe-course-container):has(>
.wprm-recipe-cuisine-container),
body.single-post .wprm-recipe-container div:has(>
.wprm-recipe-course-container):has(>
.wprm-recipe-servings-container),
body.single-post .wprm-recipe-container div:has(>
.wprm-recipe-cuisine-container):has(>
.wprm-recipe-servings-container) {
  display: flex !important;
  flex-flow: row wrap !important;
  align-items: stretch !important;
  justify-content: center !important;
  gap: 10px !important;
}

body.single-post .wprm-recipe-container .wprm-recipe-keyword-container,
body.single-post .wprm-recipe-container .wprm-recipe-keywords-container {
  margin: 10px auto 18px !important;
}

@media (max-width: 768px) {
  body.single-post .wprm-recipe-container .wprm-recipe-course-container,
  body.single-post .wprm-recipe-container .wprm-recipe-cuisine-container,
  body.single-post .wprm-recipe-container .wprm-recipe-servings-container,
  body.single-post .wprm-recipe-container .wprm-recipe-keyword-container,
  body.single-post .wprm-recipe-container .wprm-recipe-keywords-container {
    flex: 1 1 calc(50% - 5px) !important;
    width: calc(50% - 5px) !important;
    max-width: calc(50% - 5px) !important;
    min-width: 0 !important;
    min-height: 72px !important;
  }
}


/* ==================================================
   WPRM INSTRUCTIONS — CLEAN ORANGE NUMBERS
   No cards, no boxes
================================================== */

body.single-post .wprm-recipe-container ol.wprm-recipe-instructions,
body.single-post .wprm-recipe-container ul.wprm-recipe-instructions,
body.single-post .wprm-recipe-container .wprm-recipe-instructions {
  counter-reset: rc-clean-step !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

body.single-post .wprm-recipe-container .wprm-recipe-instruction {
  counter-increment: rc-clean-step !important;
  position: relative !important;
  display: block !important;
  min-height: 34px !important;
  margin: 0 !important;
  padding: 12px 0 14px 38px !important;
  color: var(--rc-text) !important;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid var(--rc-border) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  list-style: none !important;
}

body.single-post .wprm-recipe-container .wprm-recipe-instruction:last-child {
  border-bottom: 0 !important;
}

body.single-post .wprm-recipe-container .wprm-recipe-instruction::before {
  content: counter(rc-clean-step) !important;
  position: absolute !important;
  top: 12px !important;
  left: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 26px !important;
  height: 26px !important;
  color: #ffffff !important;
  background: var(--rc-orange) !important;
  border: 0 !important;
  border-radius: 50% !important;
  box-shadow: none !important;
  font-size: 12px !important;
  line-height: 1 !important;
  font-weight: 850 !important;
  text-align: center !important;
}

body.single-post .wprm-recipe-container .wprm-recipe-instruction-text {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #3f2c23 !important;
  background: transparent !important;
  border: 0 !important;
  font-size: 14.5px !important;
  line-height: 1.65 !important;
}

body.single-post .wprm-recipe-container .wprm-recipe-instruction-text p {
  margin: 0 !important;
}

@media (max-width: 480px) {
  body.single-post .wprm-recipe-container .wprm-recipe-instruction {
    padding: 11px 0 13px 34px !important;
  }

  body.single-post .wprm-recipe-container .wprm-recipe-instruction::before {
    top: 11px !important;
    width: 23px !important;
    height: 23px !important;
    font-size: 11px !important;
  }
}


/* ==================================================
   WPRM SINGLE OUTER FRAME
   Keep one recipe border and remove nested frames
================================================== */

body.single-post .entry-content .wprm-recipe-container {
  border: 1px solid var(--rc-border) !important;
  border-radius: 22px !important;
  box-shadow: 0 16px 38px rgba(60, 35, 20, 0.08) !important;
  overflow: hidden !important;
}

body.single-post .entry-content .wprm-recipe-container >
.wprm-recipe,
body.single-post .entry-content .wprm-recipe-container >
.wprm-recipe-template-rezept-pin,
body.single-post .entry-content .wprm-recipe-container
.wprm-recipe-template-rezept-pin,
body.single-post .entry-content .wprm-recipe-container
.wprm-recipe {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}

@media (max-width: 768px) {
  body.single-post .entry-content .wprm-recipe-container {
    border-radius: 18px !important;
  }
}


/* ==================================================
   WPRM SECTION TITLES — ONE LINE BESIDE TEXT
================================================== */

body.single-post .wprm-recipe-container .wprm-recipe-ingredient-group-name,
body.single-post .wprm-recipe-container .wprm-recipe-instruction-group-name,
body.single-post .wprm-recipe-container .wprm-recipe-equipment-header,
body.single-post .wprm-recipe-container .wprm-recipe-ingredients-header,
body.single-post .wprm-recipe-container .wprm-recipe-instructions-header,
body.single-post .wprm-recipe-container .wprm-recipe-notes-header,
body.single-post .wprm-recipe-container .wprm-recipe-nutrition-header {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  padding: 0 !important;
  border: 0 !important;
  border-bottom: 0 !important;
}

/* Remove the orange vertical mark. */
body.single-post .wprm-recipe-container .wprm-recipe-ingredient-group-name::before,
body.single-post .wprm-recipe-container .wprm-recipe-instruction-group-name::before,
body.single-post .wprm-recipe-container .wprm-recipe-equipment-header::before,
body.single-post .wprm-recipe-container .wprm-recipe-ingredients-header::before,
body.single-post .wprm-recipe-container .wprm-recipe-instructions-header::before,
body.single-post .wprm-recipe-container .wprm-recipe-notes-header::before,
body.single-post .wprm-recipe-container .wprm-recipe-nutrition-header::before {
  content: none !important;
  display: none !important;
}

/* Keep only one soft-orange line next to the title. */
body.single-post .wprm-recipe-container .wprm-recipe-ingredient-group-name::after,
body.single-post .wprm-recipe-container .wprm-recipe-instruction-group-name::after,
body.single-post .wprm-recipe-container .wprm-recipe-equipment-header::after,
body.single-post .wprm-recipe-container .wprm-recipe-ingredients-header::after,
body.single-post .wprm-recipe-container .wprm-recipe-instructions-header::after,
body.single-post .wprm-recipe-container .wprm-recipe-notes-header::after,
body.single-post .wprm-recipe-container .wprm-recipe-nutrition-header::after {
  content: "" !important;
  display: block !important;
  flex: 1 1 auto !important;
  width: auto !important;
  height: 1px !important;
  margin: 0 !important;
  background: var(--rc-border) !important;
  border: 0 !important;
}


/* ==================================================
   WPRM META TEXT SAFETY
   Prevent vertical letter wrapping in every template
================================================== */

body.single-post .wprm-recipe-container .wprm-recipe-course-container,
body.single-post .wprm-recipe-container .wprm-recipe-cuisine-container,
body.single-post .wprm-recipe-container .wprm-recipe-servings-container {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-width: 160px !important;
  max-width: 220px !important;
  min-height: 76px !important;
  margin: 0 auto 10px !important;
  padding: 10px 12px !important;
  box-sizing: border-box !important;
}

body.single-post .wprm-recipe-container .wprm-recipe-course-container *,
body.single-post .wprm-recipe-container .wprm-recipe-cuisine-container *,
body.single-post .wprm-recipe-container .wprm-recipe-servings-container * {
  width: auto !important;
  max-width: 100% !important;
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
}

body.single-post .wprm-recipe-container .wprm-recipe-course-container
.wprm-recipe-details,
body.single-post .wprm-recipe-container .wprm-recipe-cuisine-container
.wprm-recipe-details,
body.single-post .wprm-recipe-container .wprm-recipe-servings-container
.wprm-recipe-details {
  font-size: 13px !important;
  line-height: 1.35 !important;
  text-align: center !important;
}


/* ==================================================
   FINAL DESKTOP HERO POSITION + SIDEBAR ALIGNMENT
================================================== */

@media (min-width: 1025px) {
  /* Lower the complete article/sidebar row below the header. */
  body.single-post .site-main,
  body.single-post #main {
    margin-top: 22px !important;
  }

  body.single-post .content-container,
  body.single-post .site-container,
  body.single-post .grid-cols,
  body.single-post .content-wrap {
    align-items: flex-start !important;
  }

  /* Hero and sidebar start on exactly the same horizontal line. */
  body.single-post #primary,
  body.single-post .content-area {
    position: relative !important;
    top: 0 !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    align-self: flex-start !important;
  }

  body.single-post #secondary,
  body.single-post .widget-area,
  body.single-post aside {
    position: relative !important;
    top: 22px !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    align-self: flex-start !important;
  }

  /* Make the upper hero corners clearly visible. */
  body.single-post .post-thumbnail,
  body.single-post .entry-hero,
  body.single-post .entry-hero-container,
  body.single-post .kadence-post-image {
    overflow: hidden !important;
    border-radius: 24px 24px 18px 18px !important;
    clip-path: inset(0 round 24px 24px 18px 18px);
  }

  body.single-post .post-thumbnail img,
  body.single-post .entry-hero img,
  body.single-post .kadence-post-header img,
  body.single-post .kadence-post-image img {
    border-radius: 24px 24px 18px 18px !important;
  }
}


/* FINAL OVERRIDE — Gericht, Küche und Portionen in einer Zeile */
body.single-post .wprm-recipe-container
div:has(> div > .wprm-recipe-course-container):has(> div > .wprm-recipe-cuisine-container):has(> div > .wprm-recipe-servings-container) {
  position: relative !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 12px !important;
  width: 100% !important;
  min-height: 0 !important;
  margin: 14px 0 20px !important;
  padding: 0 !important;
}

body.single-post .wprm-recipe-container
div:has(> div > .wprm-recipe-course-container):has(> div > .wprm-recipe-cuisine-container):has(> div > .wprm-recipe-servings-container)
> div:has(> .wprm-recipe-course-container),
body.single-post .wprm-recipe-container
div:has(> div > .wprm-recipe-course-container):has(> div > .wprm-recipe-cuisine-container):has(> div > .wprm-recipe-servings-container)
> div:has(> .wprm-recipe-servings-container) {
  display: contents !important;
}

body.single-post .wprm-recipe-container
div:has(> div > .wprm-recipe-course-container):has(> div > .wprm-recipe-cuisine-container):has(> div > .wprm-recipe-servings-container)
> div:has(> .wprm-recipe-course-container)
> :not(.wprm-recipe-course-container):not(.wprm-recipe-cuisine-container),
body.single-post .wprm-recipe-container
div:has(> div > .wprm-recipe-course-container):has(> div > .wprm-recipe-cuisine-container):has(> div > .wprm-recipe-servings-container)
> div:has(> .wprm-recipe-servings-container)
> :not(.wprm-recipe-servings-container) {
  display: none !important;
}

body.single-post .wprm-recipe-container
div:has(> div > .wprm-recipe-course-container):has(> div > .wprm-recipe-cuisine-container):has(> div > .wprm-recipe-servings-container)
:is(.wprm-recipe-course-container, .wprm-recipe-cuisine-container, .wprm-recipe-servings-container) {
  position: static !important;
  inset: auto !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 4px 6px !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}

body.single-post .wprm-recipe-container
div:has(> div > .wprm-recipe-course-container):has(> div > .wprm-recipe-cuisine-container):has(> div > .wprm-recipe-servings-container)
.wprm-recipe-details-label {
  margin: 0 0 5px !important;
  font-size: 8.5px !important;
  line-height: 1.15 !important;
  text-align: center !important;
  white-space: nowrap !important;
}

body.single-post .wprm-recipe-container
div:has(> div > .wprm-recipe-course-container):has(> div > .wprm-recipe-cuisine-container):has(> div > .wprm-recipe-servings-container)
:is(.wprm-recipe-details, .wprm-recipe-servings, .wprm-recipe-servings-unit) {
  position: static !important;
  display: inline !important;
  width: auto !important;
  max-width: 100% !important;
  margin: 0 !important;
  font-size: 11.5px !important;
  line-height: 1.3 !important;
  text-align: center !important;
  white-space: normal !important;
  writing-mode: horizontal-tb !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
}
