/* Foodmonstas recipe overview refinement – same look as shop (shop-refinement.css) and the new homepage.
   Styling only, scoped to body.fm-recipe-page: recipes, filters, search and scripts stay unchanged. */
.fm-recipe-page {
  --shop-paper: #faf7f0;
  --shop-ink: #191916;
  --shop-muted: #68635b;
  --shop-line: #ded8cd;
  --accent: #ea6254;
  --bg-tint: #faf7f0;
  background: var(--shop-paper);
  color: var(--shop-ink);
  font-family: 'Nunito Sans', 'Nunito', sans-serif;
}
body.fm-recipe-page { background-color: var(--shop-paper) !important; }
.fm-recipe-page .container { max-width: 1280px; padding-left: 32px; padding-right: 32px; }

/* Header + Brotkrumen wie im Shop */
.fm-recipe-page .header { background: var(--shop-paper) !important; border-bottom: 1px solid var(--shop-line) !important; }
.fm-recipe-page .navbar { min-height: 80px; padding: 16px 0; }
.fm-recipe-page .nav-link { font-family: 'Nunito', sans-serif; font-size: 15px; font-weight: 800; }
.fm-recipe-page .nav-link::before { background: var(--accent) !important; height: 3px; }
.fm-recipe-page .menu_toggle span { background: var(--shop-ink) !important; }
.fm-recipe-page .breadcrumbs-sec { color: var(--shop-muted); font-weight: 600; }
.fm-recipe-page .breadcrumbs-sec a { color: var(--shop-muted); }

/* Hero: Foto bleibt, abgerundet im Container, Titel in Titan One */
.fm-recipe-page .fm-rezept-hero { max-width: 1216px; margin: 18px auto 44px; border-radius: 28px; overflow: hidden; box-shadow: 0 24px 50px rgba(90, 60, 20, .12); }
.fm-recipe-page .fm-rezept-hero::before { background: linear-gradient(90deg, rgba(250, 247, 240, .82) 0%, rgba(250, 247, 240, .4) 34%, rgba(250, 247, 240, 0) 52%); }
.fm-recipe-page .fm-rezept-hero h1 { font-family: 'Titan One', 'Nunito', sans-serif; font-weight: 400; letter-spacing: .005em; text-transform: uppercase; font-size: clamp(48px, 6.4vw, 96px); line-height: .95; color: var(--shop-ink); }
.fm-recipe-page .fm-rezept-hero p { font-family: 'Nunito Sans', sans-serif; font-size: clamp(17px, 1.4vw, 21px); font-weight: 600; color: #2a2a2a; margin-top: 14px; }

/* Einleitungssatz ruhiger: kein Großbuchstaben-Block */
.fm-recipe-page .separator { padding: 0 0 36px; }
body.fm-recipe-page .separator .title { font-family: 'Nunito Sans', sans-serif; font-size: clamp(18px, 1.6vw, 23px) !important; font-weight: 600 !important; line-height: 1.55; letter-spacing: 0; text-transform: none; color: #2a2a2a !important; max-width: 52em; }

/* Filter + Suche wie im Shop */
.fm-recipe-page .blog-sec { padding: 0 0 72px; }
.fm-recipe-page .blog-panel { flex-direction: row; gap: 20px; align-items: center; margin-bottom: 24px; }
.fm-recipe-page .blog-panel:first-child { border-top: 1px solid var(--shop-line); border-bottom: 1px solid var(--shop-line); padding: 20px 0; }
.fm-recipe-page .blog-panel-filters { gap: 6px; padding: 0; margin: 0; width: auto; }
.fm-recipe-page .blog-panel-filters::after { display: none; }
.fm-recipe-page .filter-button { min-height: 44px; padding: 10px 18px !important; border: 1px solid transparent; border-radius: 999px; background: transparent; color: var(--shop-ink); font: 800 15px/1.4 'Nunito', sans-serif; text-transform: none; box-shadow: none; }
.fm-recipe-page .filter-button::before, .fm-recipe-page .filter-button::after { content: none !important; display: none !important; }
.fm-recipe-page .filter-button:hover { background: #eee8dd; color: var(--shop-ink); }
.fm-recipe-page .filter-button.active { background: var(--shop-ink); border-color: var(--shop-ink); color: #fff; }
.fm-recipe-page .sub-filter .filter-button { padding: 8px 15px !important; min-height: 40px; border-color: var(--shop-line); font-size: 14px; }
.fm-recipe-page .sub-filter { margin: 0 0 24px; }
.fm-recipe-page .blog-panel .search { width: 240px; max-width: 100%; flex: 0 1 240px; }
.fm-recipe-page .search input { height: 46px; border: 1px solid var(--shop-line); border-radius: 999px; background: #fffdf9; padding: 10px 46px 10px 20px; color: var(--shop-ink); font-size: 15px; }
.fm-recipe-page .search input::placeholder { color: var(--shop-muted); opacity: 1; }
.fm-recipe-page .search .search-icon { left: auto; right: 17px; top: 50%; transform: translateY(-50%); margin: 0; width: 18px; height: 18px; display: flex; }
.fm-recipe-page .search .search-icon img { width: 18px; height: 18px; }

/* Rezeptkacheln: Fotos füllen das Quadrat, runde Ecken */
.fm-recipe-page .blog-sec .rp-page.cust-gap { --bs-gutter-x: 28px; --bs-gutter-y: 44px; margin-bottom: 0 !important; }
.fm-recipe-page .ymal-box { height: 100%; }
.fm-recipe-page .ymal-img-box { height: auto; aspect-ratio: 1 / 1 !important; border-radius: 18px; overflow: hidden; background: #efe9df !important; margin-bottom: 16px; }
.fm-recipe-page .ymal-img-box a { display: block; height: 100%; }
.fm-recipe-page .ymal-img-box img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.fm-recipe-page .ymal-img-box a:hover img { transform: scale(1.03); }
.fm-recipe-page .rp-page .main_title.h4 { font-family: 'Nunito', sans-serif; font-size: 19px; font-weight: 900; line-height: 1.3; letter-spacing: -.01em; margin: 0 0 6px; color: var(--shop-ink); }
.fm-recipe-page .main_title a { color: inherit; text-decoration: none; }
.fm-recipe-page .main_title a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 5px; }
.fm-recipe-page .rp-page .tm-box { color: var(--shop-muted); font-weight: 700; }
.fm-recipe-page .no-results { color: var(--shop-muted); padding: 48px 20px; }
.fm-recipe-page :is(a, button, input):focus-visible { outline: 3px solid #a63c30; outline-offset: 4px; }

/* „Sag kurz Hallo“ wie im Shop */
.fm-recipe-page .nwt-sec { padding: 64px 0; background: #eee8dd !important; color: var(--shop-ink); }
.fm-recipe-page .nwt-sec .container, .fm-recipe-page .nwt-sec .about_slogan-text, .fm-recipe-page .nwt-sec .about_slogan-title { color: var(--shop-ink) !important; }
.fm-recipe-page .nwt-sec .about_slogan-title, .fm-recipe-page .nwt-sec .about_slogan-title :is(.title, .big-title) { font-family: 'Titan One', 'Nunito', sans-serif; font-weight: 400; letter-spacing: .005em; }
.fm-recipe-page .nwt-sec .outlined--white { color: var(--shop-ink); -webkit-text-stroke: 0; }

@media (min-width: 1440px) {
  .fm-recipe-page .rp-page > .filter { width: 25%; }
}
@media (max-width: 991px) {
  .fm-recipe-page .container { padding-left: 24px; padding-right: 24px; }
  .fm-recipe-page .blog-panel .search { flex-basis: 100%; width: 100%; }
  .fm-recipe-page .fm-rezept-hero { margin-left: 24px; margin-right: 24px; }
}
@media (max-width: 767px) {
  .fm-recipe-page .fm-rezept-hero { margin: 12px 20px 32px; border-radius: 22px; padding-top: 22px; background-color: #f3ead9; }
  .fm-recipe-page .fm-rezept-hero h1 { font-size: 46px; }
  .fm-recipe-page .fm-rezept-hero p { font-size: 15px; }
}
@media (max-width: 575px) {
  .fm-recipe-page .container { padding-left: 20px; padding-right: 20px; }
  .fm-recipe-page .navbar { min-height: 72px; }
  .fm-recipe-page .blog-panel:first-child { gap: 16px; padding: 16px 0; }
  .fm-recipe-page .filter-button { padding: 9px 14px !important; font-size: 14px; }
  .fm-recipe-page .blog-sec .rp-page.cust-gap { --bs-gutter-x: 14px; --bs-gutter-y: 28px; }
  .fm-recipe-page .rp-page .main_title.h4 { font-size: 16px; }
  .fm-recipe-page .ymal-img-box { border-radius: 14px; margin-bottom: 12px; }
  .fm-recipe-page .nwt-sec { padding: 44px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .fm-recipe-page .ymal-img-box img { transition: none; }
}

/* „Sag kurz Hallo“ wie auf der neuen Startseite (31.10.): dunkle Schrift, HALLO rot, roter Button.
   Das Theme setzt Weiß mit !important, daher body-Präfix + !important. Das Herz-Icon (logo_white.svg) entfällt. */
body.fm-recipe-page .nwt-sec .about_slogan-icon { display: none !important; }
body.fm-recipe-page .nwt-sec .about_slogan-title, body.fm-recipe-page .nwt-sec .about_slogan-title h2 { color: #030504 !important; text-transform: uppercase; }
body.fm-recipe-page .nwt-sec .about_slogan-title .title { font-size: clamp(30px, 3vw, 44px) !important; line-height: 1 !important; }
body.fm-recipe-page .nwt-sec .outlined--white { color: #E8574A !important; -webkit-text-fill-color: #E8574A !important; -webkit-text-stroke: 0 !important; font-size: clamp(56px, 7vw, 104px) !important; line-height: .95 !important; }
body.fm-recipe-page .nwt-sec .about_slogan-text { color: #2a2a2a !important; }
body.fm-recipe-page .nwt-sec .btn--accent { background: #E8574A !important; border-color: #E8574A !important; color: #fff !important; border-radius: 999px; padding: 16px 34px; font-family: 'Nunito', sans-serif; font-weight: 800; }
body.fm-recipe-page .nwt-sec .btn--accent:hover { background: #d4463a !important; border-color: #d4463a !important; }

/* Header-Bild über die volle Breite direkt unter dem Menü (31.10.).
   Brotkrumen liegen oben links im Bild; Titel/Text an der Inhaltskante (.container). */
body.fm-recipe-page .breadcrumbs-sec { position: relative; z-index: 3; margin-top: 113px; }
body.fm-recipe-page .fm-rezept-hero { max-width: none; width: 100%; margin: -34px 0 40px; border-radius: 0; box-shadow: none; aspect-ratio: auto; min-height: clamp(420px, 37vw, 600px); padding: 56px 0 40px; background-position: right center; }
body.fm-recipe-page .fm-rezept-hero::before { background: linear-gradient(90deg, rgba(250, 247, 240, .92) 0%, rgba(250, 247, 240, .7) 26%, rgba(250, 247, 240, 0) 54%); }
body.fm-recipe-page .fm-rezept-hero h1 { font-size: clamp(56px, 7vw, 112px) !important; }
@media (max-width: 991px) {
  body.fm-recipe-page .fm-rezept-hero { margin-left: 0; margin-right: 0; min-height: 380px; }
}
@media (max-width: 767px) {
  body.fm-recipe-page .breadcrumbs-sec { margin-top: 88px; }
  body.fm-recipe-page .fm-rezept-hero { margin: -32px 0 28px; min-height: 0; border-radius: 0; padding: 44px 0 calc(100vw * .62 + 4px); background-color: #f3ead9; background-size: auto calc(100vw * .62); background-position: right bottom; }
  body.fm-recipe-page .fm-rezept-hero::before { display: none; }
  body.fm-recipe-page .fm-rezept-hero h1 { font-size: 48px !important; }
}

/* SEO 02.11.2026: längere H1 („Lustige Rezepte für Kinder“) bleibt links neben dem Foto */
@media (min-width: 768px) {
  body.fm-recipe-page .fm-rezept-hero h1 { max-width: 46%; font-size: clamp(44px, 5vw, 84px) !important; }
}

/* 05.11.2026: längerer Einleitungstext – auf breiten Bildschirmen links im hellen Bereich halten */
@media (min-width: 768px) { body.fm-recipe-page .fm-rezept-hero p { max-width: min(38ch, 40vw); } }

/* 06.11.2026: „KINDERLEICHTE“ passt jetzt auf jede Handybreite */
@media (max-width: 767px) { body.fm-recipe-page .fm-rezept-hero h1 { font-size: min(48px, 10.8vw) !important; } }
/* 06.11.2026: iPad hochkant – Text über dem Bild statt darauf; iPad quer – Text endet vor dem Teller */
@media (min-width: 768px) and (max-width: 991.98px) {
  body.fm-recipe-page .fm-rezept-hero { display: block; aspect-ratio: auto; min-height: 0; height: auto; padding: 44px 0 calc(100vw * .37 + 4px); background-color: #f3ead9; background-size: 100% auto; background-position: center bottom; background-repeat: no-repeat; }
  body.fm-recipe-page .fm-rezept-hero::before { display: none; }
  body.fm-recipe-page .fm-rezept-hero h1 { max-width: none; font-size: 56px !important; }
  body.fm-recipe-page .fm-rezept-hero p { max-width: 60ch; }
}
@media (min-width: 992px) and (max-width: 1199.98px) { body.fm-recipe-page .fm-rezept-hero p { max-width: 33vw; } }
