/*
Theme Name: Supermomix
Theme URI: https://www.supermomix.com
Author: Mi4 / Claude
Description: Thème sur-mesure « magazine joyeux » pour Supermomix — recettes Thermomix. Fidèle à la maquette homepage (palette rose/crème, néo-rétro). Réutilise les données cookingpress/FoodiePress + wp-postratings + WPML.
Version: 0.2.0
Requires at least: 6.0
Requires PHP: 8.0
Text Domain: supermomix
*/

:root {
  --bg:           #FFF4F0;
  --bg-warm:      #FFE8E0;
  --cream:        #FFFAF5;
  --ink:          #2D1424;
  --ink-soft:     #5A3548;

  --pink:         #E0407F;
  --pink-deep:    #A93A6E;
  --pink-soft:    #FFC2D9;
  --pink-light:   #FFE3EF;

  --sun:          #FFD23F;
  --mint:         #5FD9C4;
  --plum:         #6B2D5C;

  --rule:         #F2C8D9;

  --paper-grain:  url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.18  0 0 0 0 0.08  0 0 0 0 0.14  0 0 0 0.04 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed; inset: 0;
  background-image: var(--paper-grain);
  pointer-events: none;
  z-index: 9990;
  opacity: .55;
  mix-blend-mode: multiply;
}

img { max-width: 100%; height: auto; }
a { color: inherit; }

/* Boxed layout: caps the content width on large screens (the ticker stays full-width). */
.site-shell { max-width: 1440px; margin: 0 auto; position: relative; }

/* ============ TICKER ============ */
.ticker {
  background: var(--ink);
  color: var(--bg);
  overflow: hidden;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 600;
}
.ticker-track {
  display: flex; width: max-content;
  padding: 11px 0;
  animation: marquee 45s linear infinite;
}
.ticker-track span {
  padding: 0 26px;
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 14px;
}
.ticker-track span::after { content: "✦"; color: var(--pink); font-size: 12px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============ TOP META ============ */
.top { position: relative; background: var(--bg); z-index: 1; }
.top-meta {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 14px 40px;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
}
.top-meta .right { text-align: right; }
.top-meta a {
  color: var(--ink); text-decoration: none;
  border-bottom: 2px solid var(--pink);
  padding-bottom: 1px;
  transition: color .2s;
}
.top-meta a:hover { color: var(--pink-deep); }

/* ============ MASTHEAD ============ */
.masthead {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  padding: 30px 40px 20px;
  gap: 40px;
  position: relative;
}
.masthead .since {
  font-family: 'Caveat', cursive;
  font-size: 22px;
  color: var(--pink-deep);
  line-height: 1.1;
  transform: rotate(-2deg);
  margin-bottom: 14px;
}
.masthead .since strong {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 4px;
  transform: rotate(2deg);
}
.logo-row { display: flex; align-items: center; gap: 18px; justify-content: center; }
.logo-mark {
  width: 64px; height: 64px;
  border-radius: 18px;
  background: linear-gradient(160deg, #E85FA0 0%, #C2356F 80%);
  display: grid; place-items: center;
  box-shadow: 0 8px 0 rgba(169,58,110,.18), 0 14px 30px rgba(169,58,110,.22);
  transform: rotate(-6deg);
  transition: transform .4s cubic-bezier(.5,1.6,.4,1);
  flex-shrink: 0;
}
.logo-mark:hover { transform: rotate(-12deg) scale(1.05); }
.logo-mark svg { width: 44px; height: 44px; }
.masthead h1 {
  font-family: 'Bagel Fat One', cursive;
  font-size: clamp(32px, 5vw, 72px);
  line-height: .9;
  letter-spacing: -.01em;
  color: var(--ink);
  text-align: center;
  margin: 0;
}
.masthead h1 a { text-decoration: none; color: inherit; }
.masthead h1 .x { color: var(--pink); display: inline-block; transform: rotate(8deg); }
.masthead .issue {
  text-align: right;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  line-height: 1.7;
  font-weight: 600;
}
.masthead .issue strong { color: var(--pink-deep); font-weight: 800; }

.masthead-side { display: flex; justify-content: flex-end; align-items: center; }
.sticker-top {
  display: inline-block;
  background: var(--sun);
  color: var(--ink);
  border-radius: 999px;
  padding: 12px 22px;
  font-family: 'Caveat', cursive;
  font-size: 22px;
  font-weight: 700;
  transform: rotate(6deg);
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  line-height: 1;
  white-space: nowrap;
}

/* ============ NAV ============ */
nav.primary {
  background: var(--ink);
  color: var(--bg);
  border-radius: 999px;
  margin: 0 40px;
  padding: 8px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  box-shadow: 0 6px 0 rgba(45,20,36,.15);
}
nav.primary ul { list-style: none; display: flex; gap: 6px; flex-wrap: wrap; margin: 0; padding: 0; }
nav.primary a {
  color: var(--bg);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: .04em;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 999px;
  transition: background .2s, color .2s;
  display: block;
}
nav.primary a:hover,
nav.primary li.current-menu-item > a { background: var(--pink); color: var(--bg); }
.smx-search { display: flex; align-items: center; gap: 10px; background: var(--bg); color: var(--ink); padding: 8px 16px; border-radius: 999px; min-width: 290px; }
.smx-search input { border: 0; background: none; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 13px; color: var(--ink); width: 100%; outline: none; }
.smx-search input::placeholder { color: var(--ink-soft); }
.smx-search button { background: var(--pink); color: white; border: 0; width: 30px; height: 30px; border-radius: 50%; cursor: pointer; font-size: 14px; transition: background .2s, transform .2s; flex-shrink: 0; }
.smx-search button:hover { background: var(--pink-deep); transform: rotate(15deg); }

/* ============ HERO ============ */
.hero {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  margin: 30px 40px;
  border-radius: 32px;
  overflow: hidden;
  background: var(--cream);
  box-shadow: 0 20px 60px rgba(169,58,110,.12);
  position: relative;
}
.hero-text {
  padding: 50px 50px 44px;
  display: flex; flex-direction: column; justify-content: center; gap: 22px;
  background: radial-gradient(ellipse at 0% 100%, var(--pink-light) 0%, transparent 50%), var(--cream);
  position: relative;
}
.hero-text .kicker {
  display: inline-flex; align-items: center; gap: 10px; align-self: flex-start;
  background: var(--pink); color: white; padding: 7px 16px; border-radius: 999px;
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 700;
}
.hero-text .kicker::before { content: "●"; font-size: 8px; color: var(--sun); animation: blink 2s infinite; }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: .4; } }
.hero-text h2 {
  font-family: 'Fraunces', serif;
  font-variation-settings: "opsz" 144, "SOFT" 100, "wght" 600;
  font-size: clamp(40px, 5vw, 70px);
  line-height: .95; letter-spacing: -.02em; color: var(--ink);
}
.hero-text h2 a { text-decoration: none; }
.hero-text h2 em { font-style: italic; color: var(--pink); position: relative; display: inline-block; }
.hero-text h2 em::after { content: ""; position: absolute; left: 4%; right: 4%; bottom: -2px; height: 6px; background: var(--sun); z-index: -1; border-radius: 4px; transform: rotate(-1deg); }
.hero-text .lede { font-size: 18px; line-height: 1.5; color: var(--ink-soft); max-width: 520px; }
.hero-meta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.chip { display: inline-flex; align-items: center; gap: 8px; background: var(--pink-light); color: var(--pink-deep); padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.chip .ico { font-size: 16px; }
.cta {
  align-self: flex-start; margin-top: 12px;
  display: inline-flex; align-items: center; gap: 14px;
  padding: 16px 30px; background: var(--pink); color: white; text-decoration: none;
  font-size: 14px; letter-spacing: .04em; font-weight: 700; border-radius: 999px;
  border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink);
  transition: transform .2s, box-shadow .2s, background .2s;
}
.cta:hover { background: var(--pink-deep); transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--ink); }
.cta:active { transform: translate(2px,2px); box-shadow: 0 0 0 var(--ink); }
.cta::after { content: "→"; font-size: 18px; }
.hero-image { display: block; text-decoration: none; position: relative; background-color: var(--pink-soft); background-size: cover; background-position: center; overflow: hidden; min-height: 420px; }
.hero-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(169,58,110,0) 50%, rgba(169,58,110,.4) 100%); }
.hero-image .stamp {
  position: absolute; bottom: 36px; left: 36px; width: 130px; height: 130px; border-radius: 50%;
  background: var(--sun); color: var(--ink); display: grid; place-items: center; text-align: center;
  transform: rotate(-12deg); font-family: 'Bagel Fat One', cursive; font-size: 18px; line-height: 1;
  border: 3px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); animation: wobble 6s ease-in-out infinite; z-index: 2;
}
@keyframes wobble { 0%,100% { transform: rotate(-12deg); } 50% { transform: rotate(-6deg); } }
.stamp small { display: block; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 9px; letter-spacing: .18em; text-transform: uppercase; margin-top: 6px; font-weight: 700; }

/* ============ SECTION HEADS ============ */
.section-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 20px; padding: 70px 40px 26px; position: relative; }
.section-head h3 {
  font-family: 'Fraunces', serif;
  font-variation-settings: "opsz" 144, "SOFT" 100, "wght" 500;
  font-size: clamp(36px, 4.6vw, 64px); line-height: .95; letter-spacing: -.02em;
}
.section-head h3 em { font-family: 'Caveat', cursive; font-style: normal; color: var(--pink); font-weight: 700; font-size: 1.15em; line-height: 0; display: inline-block; transform: rotate(-2deg); }
.section-head .label { background: var(--ink); color: var(--bg); padding: 6px 14px; border-radius: 999px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; margin-bottom: 16px; align-self: end; }

/* ============ TOC ============ */
.toc { padding: 0 40px 20px; }
.toc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.toc-card {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px;
  padding: 22px 24px; background: var(--cream); border: 2px solid var(--ink); border-radius: 22px;
  text-decoration: none; color: var(--ink); box-shadow: 4px 4px 0 var(--ink);
  transition: transform .2s, box-shadow .2s, background .2s; position: relative;
}
.toc-card:hover { background: var(--pink-light); transform: translate(-3px,-3px); box-shadow: 7px 7px 0 var(--ink); }
.toc-card .num { width: 44px; height: 44px; border-radius: 50%; background: var(--pink); color: white; display: grid; place-items: center; font-family: 'Bagel Fat One', cursive; font-size: 18px; flex-shrink: 0; }
.toc-card:nth-child(2n) .num { background: var(--sun); color: var(--ink); }
.toc-card:nth-child(3n) .num { background: var(--mint); color: var(--ink); }
.toc-card:nth-child(4n) .num { background: var(--plum); color: white; }
.toc-card .name { font-family: 'Fraunces', serif; font-variation-settings: "opsz" 36, "SOFT" 100, "wght" 600; font-size: 19px; line-height: 1.1; letter-spacing: -.01em; }
.toc-card .name small { display: block; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 500; font-size: 12px; color: var(--ink-soft); margin-top: 2px; letter-spacing: 0; text-transform: none; }
.toc-card .arrow { font-size: 20px; color: var(--ink-soft); transition: transform .25s, color .25s; }
.toc-card:hover .arrow { transform: translateX(4px); color: var(--pink-deep); }

/* ============ FEATURED CARDS ============ */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 0 40px; }
.card {
  background: var(--cream); border: 2px solid var(--ink); border-radius: 24px; padding: 14px 14px 22px;
  text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 10px;
  box-shadow: 5px 5px 0 var(--ink); transition: transform .25s, box-shadow .25s; position: relative;
}
.card:nth-child(odd) { transform: rotate(-1deg); }
.card:nth-child(even) { transform: rotate(1deg); }
.card:hover { transform: translate(-3px,-5px) rotate(0deg); box-shadow: 8px 10px 0 var(--ink); }
.card .photo { aspect-ratio: 4/4; background-color: var(--pink-soft); background-size: cover; background-position: center; border-radius: 16px; border: 2px solid var(--ink); position: relative; overflow: hidden; }
.card .heart { position: absolute; top: 10px; right: 10px; background: white; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--ink); cursor: pointer; font-size: 14px; color: var(--pink); transition: transform .2s, background .2s; }
.card .heart:hover { background: var(--pink); color: white; transform: scale(1.15); }
.card .photo .time { position: absolute; left: 10px; bottom: 10px; background: var(--ink); color: white; padding: 5px 12px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.card .tag { align-self: flex-start; background: var(--pink-light); color: var(--pink-deep); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; padding: 5px 11px; border-radius: 999px; margin-top: 4px; }
.card.c2 .tag { background: #FFF0CC; color: #8A5800; }
.card.c3 .tag { background: #D8F5EE; color: #1B7060; }
.card.c4 .tag { background: #ECDDF0; color: #5D2670; }
.card h4 { font-family: 'Fraunces', serif; font-variation-settings: "opsz" 36, "SOFT" 100, "wght" 600; font-size: 22px; line-height: 1.05; letter-spacing: -.015em; padding: 0 4px; }
.card h4 em { font-style: italic; color: var(--pink); }
.card .meta { display: flex; justify-content: space-between; align-items: center; padding: 10px 4px 0; border-top: 2px dotted var(--rule); margin-top: auto; font-size: 12px; color: var(--ink-soft); font-weight: 600; }
.card .stars { color: var(--sun); letter-spacing: 1.5px; -webkit-text-stroke: .5px var(--ink); }

/* ============ SAISONNIER ============ */
.seasonal { margin: 70px 40px; background: linear-gradient(140deg, var(--pink) 0%, var(--pink-deep) 70%, var(--plum) 100%); color: white; border-radius: 36px; padding: 70px 50px; border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); position: relative; overflow: hidden; }
.seasonal .bgmonth { position: absolute; top: -50px; right: -10px; font-family: 'Bagel Fat One', cursive; font-size: 460px; color: rgba(255,255,255,.08); line-height: .8; pointer-events: none; }
.seasonal::after { content: "✿"; position: absolute; bottom: -40px; left: -30px; font-size: 320px; color: rgba(255,255,255,.06); pointer-events: none; line-height: 1; }
.seasonal-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 36px; position: relative; }
.seasonal-head h3 { font-family: 'Fraunces', serif; font-variation-settings: "opsz" 144, "SOFT" 100, "wght" 500; font-size: clamp(36px, 4.8vw, 70px); letter-spacing: -.02em; line-height: .95; }
.seasonal-head h3 em { font-family: 'Caveat', cursive; color: var(--sun); font-style: normal; font-weight: 700; font-size: 1.15em; line-height: 0; display: inline-block; transform: rotate(-3deg); }
.seasonal-head .label { background: var(--sun); color: var(--ink); padding: 8px 16px; border-radius: 999px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; }
.ingredients { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; }
.ingredient { background: var(--cream); color: var(--ink); padding: 28px 26px; border-radius: 28px; border: 2px solid var(--ink); transition: transform .3s; position: relative; }
.ingredient:hover { transform: translateY(-6px) rotate(-1deg); }
.ingredient .badge-emoji { position: absolute; top: -16px; left: 22px; width: 50px; height: 50px; background: var(--sun); border: 2px solid var(--ink); border-radius: 50%; display: grid; place-items: center; font-size: 26px; box-shadow: 3px 3px 0 var(--ink); }
.ingredient:nth-child(2) .badge-emoji { background: var(--pink-soft); }
.ingredient:nth-child(3) .badge-emoji { background: var(--mint); }
.ingredient .label { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--pink-deep); font-weight: 700; margin-top: 18px; }
.ingredient h5 { font-family: 'Fraunces', serif; font-variation-settings: "opsz" 144, "SOFT" 100, "wght" 600; font-size: 42px; line-height: .95; letter-spacing: -.02em; margin: 6px 0 12px; }
.ingredient p { font-size: 15px; line-height: 1.45; color: var(--ink-soft); margin-bottom: 16px; }
.ingredient .link { font-size: 13px; font-weight: 700; color: var(--pink-deep); text-decoration: none; border-bottom: 2px solid var(--pink); padding-bottom: 1px; }

/* ============ QUOTE ============ */
.quote-wrap { padding: 90px 40px; text-align: center; position: relative; }
.quote-wrap .big-quote { font-family: 'Bagel Fat One', cursive; color: var(--pink); font-size: 180px; line-height: .7; margin-bottom: -30px; opacity: .5; }
.quote-wrap blockquote { font-family: 'Fraunces', serif; font-variation-settings: "opsz" 144, "SOFT" 100, "wght" 400; font-style: italic; font-size: clamp(26px, 3.4vw, 46px); line-height: 1.2; letter-spacing: -.01em; max-width: 950px; margin: 0 auto 30px; color: var(--ink); }
.quote-wrap blockquote em { color: var(--pink); font-style: italic; }
.quote-wrap cite { font-style: normal; display: inline-flex; align-items: center; gap: 10px; background: var(--cream); border: 2px solid var(--ink); border-radius: 999px; padding: 8px 18px 8px 8px; font-size: 13px; color: var(--ink); font-weight: 600; }
.quote-wrap cite .av { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--pink-soft), var(--pink)); display: grid; place-items: center; color: white; font-weight: 700; border: 2px solid var(--ink); }

/* ============ NEWSLETTER ============ */
.newsletter { display: grid; grid-template-columns: 1.1fr 1fr; margin: 0 40px 60px; border-radius: 36px; overflow: hidden; border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); }
.news-text { padding: 60px 50px; background: var(--ink); color: var(--bg); position: relative; overflow: hidden; }
.news-text::before { content: "✶"; position: absolute; bottom: -100px; right: -20px; font-size: 350px; color: var(--pink); line-height: 1; opacity: .9; }
.news-text .label { display: inline-block; background: var(--pink); color: white; padding: 6px 14px; border-radius: 999px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; margin-bottom: 18px; }
.news-text h3 { font-family: 'Fraunces', serif; font-variation-settings: "opsz" 144, "SOFT" 100, "wght" 500; font-size: clamp(32px, 4vw, 56px); line-height: .95; letter-spacing: -.02em; margin-bottom: 22px; position: relative; }
.news-text h3 em { font-family: 'Caveat', cursive; color: var(--sun); font-style: normal; font-weight: 700; font-size: 1.1em; line-height: 0; display: inline-block; transform: rotate(-3deg); }
.news-text p { font-size: 17px; line-height: 1.55; max-width: 480px; opacity: .92; position: relative; }
.news-form { padding: 60px 50px; background: var(--bg-warm); display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.news-form label { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); font-weight: 700; }
.news-form input[type=email] { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 17px; background: white; border: 2px solid var(--ink); border-radius: 999px; padding: 16px 22px; outline: none; color: var(--ink); transition: box-shadow .2s; }
.news-form input[type=email]:focus { box-shadow: 4px 4px 0 var(--pink); }
.news-form input[type=email]::placeholder { color: var(--ink-soft); opacity: .6; }
.news-form .row { margin-top: 4px; }
.news-form button { background: var(--pink); color: white; border: 2px solid var(--ink); padding: 16px 30px; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 14px; letter-spacing: .04em; font-weight: 700; border-radius: 999px; cursor: pointer; box-shadow: 4px 4px 0 var(--ink); transition: transform .15s, box-shadow .15s, background .2s; }
.news-form button:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--ink); background: var(--pink-deep); }
.news-form button:active { transform: translate(2px,2px); box-shadow: 0 0 0 var(--ink); }
.news-form .legal { font-size: 13px; color: var(--ink-soft); line-height: 1.45; font-style: italic; }

/* ============ FOOTER ============ */
footer.site-footer { background: var(--ink); color: var(--bg); padding: 60px 40px 30px; border-radius: 36px 36px 0 0; margin-top: 80px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px dashed rgba(255,244,240,.2); }
.foot-brand { display: flex; flex-direction: column; gap: 16px; }
.foot-brand .row { display: flex; align-items: center; gap: 14px; }
.foot-brand .row .lm { width: 56px; height: 56px; border-radius: 16px; background: linear-gradient(160deg, #E85FA0 0%, #C2356F 80%); display: grid; place-items: center; flex-shrink: 0; }
.foot-brand .row .lm svg { width: 38px; height: 38px; }
.foot-brand h4 { font-family: 'Bagel Fat One', cursive; font-size: 38px; letter-spacing: -.01em; line-height: .9; color: var(--bg); }
.foot-brand h4 .x { color: var(--pink); display: inline-block; transform: rotate(8deg); }
.foot-brand p { font-size: 15px; color: rgba(255,244,240,.75); max-width: 380px; line-height: 1.5; }
.foot-brand .social { display: flex; gap: 10px; margin-top: 6px; }
.foot-brand .social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,244,240,.08); display: grid; place-items: center; color: var(--bg); text-decoration: none; font-size: 13px; font-weight: 700; transition: background .2s, color .2s, transform .2s; }
.foot-brand .social a:hover { background: var(--pink); color: white; transform: rotate(-8deg); }
.foot-col h5 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--pink-soft); font-weight: 700; margin-bottom: 16px; }
.foot-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; margin: 0; padding: 0; }
.foot-col a { color: rgba(255,244,240,.85); text-decoration: none; font-size: 15px; transition: color .2s, padding .2s; }
.foot-col a:hover { color: var(--pink-soft); padding-left: 6px; }
.foot-base { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; font-size: 12px; color: rgba(255,244,240,.6); font-weight: 500; }
.foot-base .heart { color: var(--pink); display: inline-block; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.2); } }

/* ============ ANIMATIONS ============ */
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.hero-text > * { animation: rise .8s cubic-bezier(.5,1.4,.4,1) both; }
.hero-text > *:nth-child(1) { animation-delay: .05s; }
.hero-text > *:nth-child(2) { animation-delay: .15s; }
.hero-text > *:nth-child(3) { animation-delay: .25s; }
.hero-text > *:nth-child(4) { animation-delay: .35s; }
.hero-text > *:nth-child(5) { animation-delay: .45s; }
.toc-card { animation: rise .55s cubic-bezier(.5,1.6,.4,1) both; }
.card { animation: rise .7s cubic-bezier(.5,1.5,.4,1) both; }
.features .card:nth-child(1) { animation-delay: .05s; }
.features .card:nth-child(2) { animation-delay: .15s; }
.features .card:nth-child(3) { animation-delay: .25s; }
.features .card:nth-child(4) { animation-delay: .35s; }

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .top-meta, .masthead, .section-head, .toc, .quote-wrap { padding-left: 22px; padding-right: 22px; }
  .top-meta { grid-template-columns: 1fr; gap: 4px; text-align: center; font-size: 11px; }
  .top-meta .right { text-align: center; }
  .top-meta > div:nth-child(2) { display: none; }
  nav.primary { margin: 0 22px; }
  .features { padding-left: 22px; padding-right: 22px; grid-template-columns: repeat(2, 1fr); }
  .hero, .seasonal, .newsletter { margin-left: 22px; margin-right: 22px; }
  .hero { grid-template-columns: 1fr; }
  .hero-image { min-height: 320px; }
  .toc-grid { grid-template-columns: 1fr; }
  .ingredients { grid-template-columns: 1fr; }
  .newsletter { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .masthead { grid-template-columns: 1fr; text-align: center; gap: 18px; }
  .masthead .since, .masthead .issue { text-align: center; }
  .masthead .since { transform: rotate(0); margin-bottom: 0; }
  .sticker-top { display: none; }
  nav.primary { flex-direction: column; align-items: stretch; border-radius: 28px; padding: 14px; }
  nav.primary ul { justify-content: center; }
  .smx-search { min-width: 0; }
  .seasonal { padding: 50px 28px; }
}
@media (max-width: 580px) {
  .features { grid-template-columns: 1fr; }
  .seasonal .bgmonth { font-size: 240px; }
  .quote-wrap .big-quote { font-size: 120px; }
  footer.site-footer { padding: 40px 22px 24px; }
  .foot-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* =====================================================================
   SINGLE RECIPE
   ===================================================================== */
.recipe { padding: 0; }
.recipe-head { max-width: 920px; margin: 40px auto 0; padding: 0 40px; text-align: center; }
.recipe-crumb { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; margin-bottom: 18px; }
.recipe-crumb a { color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--pink); }
.recipe-crumb a:hover { color: var(--pink-deep); }
.recipe-kicker { display: inline-flex; align-items: center; gap: 10px; background: var(--pink); color: #fff; padding: 7px 16px; border-radius: 999px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; margin-bottom: 18px; }
.recipe-title { font-family: 'Fraunces', serif; font-variation-settings: "opsz" 144, "SOFT" 100, "wght" 600; font-size: clamp(38px, 5.4vw, 76px); line-height: .98; letter-spacing: -.02em; color: var(--ink); margin-bottom: 18px; }
.recipe-title em { font-style: italic; color: var(--pink); }
.recipe-lede { font-size: 18px; line-height: 1.55; color: var(--ink-soft); max-width: 680px; margin: 0 auto 24px; }
.recipe-meta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-bottom: 10px; }
.recipe-meta .chip .ico { font-size: 16px; }
.recipe-rating-inline { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink-soft); font-size: 14px; margin-top: 6px; }
.recipe-rating-inline .stars { color: var(--sun); -webkit-text-stroke: .5px var(--ink); font-size: 18px; letter-spacing: 1px; }

.recipe-figure { position: relative; margin: 34px auto 0; max-width: 1040px; border-radius: 32px; overflow: hidden; border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); aspect-ratio: 3 / 2; }
.recipe-figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.recipe-figure .stamp { position: absolute; bottom: 28px; right: 28px; width: 116px; height: 116px; border-radius: 50%; background: var(--sun); color: var(--ink); display: grid; place-items: center; text-align: center; transform: rotate(-10deg); font-family: 'Bagel Fat One', cursive; font-size: 16px; line-height: 1; border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.recipe-figure .stamp small { display: block; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 9px; letter-spacing: .16em; text-transform: uppercase; margin-top: 5px; font-weight: 700; }

/* Body: ingredients sidebar + steps */
.recipe-body { display: grid; grid-template-columns: 360px 1fr; gap: 30px; align-items: start; margin: 50px 40px; }
.recipe-story { font-size: 17px; line-height: 1.7; color: var(--ink); margin: 40px 40px 0; max-width: 760px; }
.recipe-story p { margin-bottom: 16px; }
.recipe-story h2, .recipe-story h3 { font-family: 'Fraunces', serif; font-variation-settings: "opsz" 72, "wght" 600; margin: 24px 0 10px; letter-spacing: -.01em; }

.ingredients-card { background: var(--cream); border: 2px solid var(--ink); border-radius: 26px; box-shadow: 6px 6px 0 var(--ink); padding: 28px 26px; position: sticky; top: 24px; }
.ingredients-card h3 { font-family: 'Fraunces', serif; font-variation-settings: "opsz" 72, "SOFT" 100, "wght" 600; font-size: 26px; letter-spacing: -.01em; margin-bottom: 4px; }
.ingredients-card .serv { font-size: 13px; color: var(--pink-deep); font-weight: 700; letter-spacing: .04em; margin-bottom: 18px; }
.ing-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.ing-list li { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 2px dotted var(--rule); font-size: 15px; }
.ing-list li:last-child { border-bottom: 0; }
.ing-list .ing-name { font-weight: 600; color: var(--ink); }
.ing-list .ing-note { color: var(--pink-deep); font-weight: 700; white-space: nowrap; }
.print-btn { margin-top: 22px; width: 100%; background: var(--ink); color: var(--bg); border: 2px solid var(--ink); border-radius: 999px; padding: 13px 20px; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; transition: background .2s, transform .15s; }
.print-btn:hover { background: var(--pink); transform: translateY(-2px); }

.steps-head { font-family: 'Fraunces', serif; font-variation-settings: "opsz" 144, "SOFT" 100, "wght" 600; font-size: clamp(28px, 3.4vw, 44px); letter-spacing: -.02em; margin-bottom: 24px; }
.steps-head em { font-family: 'Caveat', cursive; font-style: normal; color: var(--pink); font-size: 1.1em; }
.smx-steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: flex; flex-direction: column; gap: 16px; }
.smx-step { counter-increment: step; display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; background: var(--cream); border: 2px solid var(--ink); border-radius: 22px; padding: 22px 24px; box-shadow: 4px 4px 0 var(--ink); transition: transform .2s, box-shadow .2s; }
.smx-step:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--ink); }
.smx-step-num { width: 46px; height: 46px; border-radius: 50%; background: var(--pink); color: #fff; display: grid; place-items: center; font-family: 'Bagel Fat One', cursive; font-size: 20px; flex-shrink: 0; }
.smx-step-num::before { content: counter(step); }
.smx-step:nth-child(2n) .smx-step-num { background: var(--sun); color: var(--ink); }
.smx-step:nth-child(3n) .smx-step-num { background: var(--mint); color: var(--ink); }
.smx-step:nth-child(4n) .smx-step-num { background: var(--plum); color: #fff; }
.smx-step-body { font-size: 16px; line-height: 1.6; color: var(--ink); padding-top: 8px; }
.smx-step-outro { font-family: 'Caveat', cursive; font-size: 26px; color: var(--pink-deep); margin-top: 20px; transform: rotate(-1deg); }

/* Nutrition strip */
.nutrition { margin: 0 40px; background: var(--bg-warm); border: 2px solid var(--ink); border-radius: 26px; padding: 30px 34px; box-shadow: 5px 5px 0 var(--ink); }
.nutrition h3 { font-family: 'Fraunces', serif; font-variation-settings: "opsz" 72, "wght" 600; font-size: 22px; margin-bottom: 18px; }
.nutrition-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 14px; }
.nut { background: var(--cream); border: 2px solid var(--ink); border-radius: 18px; padding: 16px; text-align: center; }
.nut .v { font-family: 'Bagel Fat One', cursive; font-size: 24px; color: var(--pink-deep); line-height: 1; }
.nut .k { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); font-weight: 700; margin-top: 8px; }

/* Rating block (wp-postratings) */
.recipe-vote { margin: 50px 40px; text-align: center; background: var(--cream); border: 2px solid var(--ink); border-radius: 26px; padding: 34px; box-shadow: 5px 5px 0 var(--ink); }
.recipe-vote h3 { font-family: 'Fraunces', serif; font-variation-settings: "opsz" 72, "wght" 600; font-size: 24px; margin-bottom: 12px; }
.recipe-vote .post-ratings { font-size: 22px; }

.related-cards { margin-top: 10px; }

@media (max-width: 980px) {
  .recipe-head { padding: 0 22px; }
  .recipe-figure, .recipe-body, .nutrition, .recipe-vote { margin-left: 22px; margin-right: 22px; }
  .recipe-story { margin-left: 22px; margin-right: 22px; }
  .recipe-body { grid-template-columns: 1fr; gap: 40px; }
  .ingredients-card { position: static; }
}

/* Print */
/* Print-only elements (hidden on screen, shown when printing). */
.print-only { display: none; }

@media print {
  /* Hide everything that isn't the recipe itself */
  .ticker, .top, nav.primary, .site-footer, .print-btn, .recipe-vote, .recipe-comments,
  .related-cards, .section-head, .recipe-crumb, .recipe-kicker, .recipe-rating-inline,
  .sticker-top, .masthead-side, .smx-search, body::before, #wpadminbar { display: none !important; }

  html, body { background: #fff !important; color: #000 !important; font-size: 12pt; }
  .site-shell { max-width: none; margin: 0; }
  .recipe { padding: 0; }
  a { color: #000 !important; text-decoration: none; }
  @page { margin: 1.4cm; }

  /* Maison print header */
  .print-only.print-header { display: flex !important; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1.5pt solid #000; padding-bottom: 8pt; margin-bottom: 16pt; }
  .print-logo { height: 40px; width: auto; }
  .print-src { font-size: 8.5pt; color: #555; word-break: break-all; text-align: right; }

  .recipe-head { max-width: none; margin: 0; padding: 0; text-align: left; }
  .recipe-title { font-size: 24pt; line-height: 1.05; margin: 0 0 8pt; color: #000; }
  .recipe-meta { justify-content: flex-start; gap: 6pt; margin-bottom: 12pt; }
  .recipe-meta .chip { background: transparent !important; color: #000 !important; border: 1pt solid #000; padding: 3pt 9pt; font-size: 9.5pt; }

  .recipe-figure { max-width: 100%; margin: 0 0 12pt; aspect-ratio: auto; max-height: 7cm; border: 1pt solid #aaa; box-shadow: none; border-radius: 6pt; }
  .recipe-figure .stamp { display: none !important; }
  .recipe-story { max-width: none; margin: 0 0 12pt; font-size: 11pt; line-height: 1.5; }

  .recipe-body { display: block; margin: 0; }
  .ingredients-card { position: static; background: transparent !important; border: 1pt solid #000; box-shadow: none; border-radius: 6pt; padding: 12pt 14pt; margin: 0 0 16pt; break-inside: avoid; }
  .ingredients-card h3 { font-size: 14pt; }
  .ing-list li { padding: 4pt 0; border-bottom: 1pt dotted #999; }
  .ing-name, .ing-note { color: #000 !important; }

  .steps-head { font-size: 16pt; margin-bottom: 8pt; }
  .smx-steps { gap: 7pt; }
  .smx-step { background: transparent !important; border: 1pt solid #bbb; box-shadow: none; border-radius: 6pt; padding: 8pt 10pt; break-inside: avoid; }
  .smx-step-num { background: #000 !important; color: #fff !important; width: 26px; height: 26px; font-size: 12pt; }
  .smx-step-outro { color: #000; font-family: inherit; font-size: 11pt; }

  .nutrition { background: transparent !important; border: 1pt solid #000; box-shadow: none; border-radius: 6pt; margin: 14pt 0 0; padding: 10pt 12pt; break-inside: avoid; }
  .nut { background: transparent !important; border: 1pt solid #999; box-shadow: none; }
  .nut .v { color: #000 !important; }
}

/* =====================================================================
   ARCHIVE / CATEGORY
   ===================================================================== */
.archive-head { max-width: 860px; margin: 50px auto 6px; padding: 0 40px; text-align: center; }
.archive-title { font-family: 'Fraunces', serif; font-variation-settings: "opsz" 144, "SOFT" 100, "wght" 600; font-size: clamp(40px, 5.4vw, 78px); line-height: .98; letter-spacing: -.02em; color: var(--ink); margin: 4px 0 14px; }
.archive-count { display: inline-block; font-family: 'Caveat', cursive; font-size: 26px; color: var(--pink-deep); transform: rotate(-1deg); }
.archive-desc { font-size: 18px; line-height: 1.55; color: var(--ink-soft); max-width: 640px; margin: 12px auto 0; }
.features.archive-grid { padding-top: 30px; }

.archive-pagination { padding: 30px 40px 10px; text-align: center; }
.archive-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; align-items: center; }
.archive-pagination > .page-numbers { margin: 4px; }
.archive-pagination .page-numbers {
  display: inline-grid; place-items: center; min-width: 46px; height: 46px; padding: 0 14px;
  background: var(--cream); border: 2px solid var(--ink); border-radius: 999px;
  font-weight: 700; font-size: 15px; text-decoration: none; color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink); transition: transform .15s, box-shadow .15s, background .2s;
}
.archive-pagination a.page-numbers:hover { background: var(--pink-light); transform: translate(-2px,-2px); box-shadow: 5px 5px 0 var(--ink); }
.archive-pagination .page-numbers.current { background: var(--pink); color: #fff; }
.archive-pagination .page-numbers.dots { border: 0; box-shadow: none; background: transparent; }

@media (max-width: 980px) {
  .archive-head { padding-left: 22px; padding-right: 22px; }
  .archive-pagination { padding-left: 22px; padding-right: 22px; }
}

/* =====================================================================
   SEARCH
   ===================================================================== */
.smx-search--head { margin: 20px auto 0; max-width: 460px; border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.noresults { max-width: 760px; margin: 10px auto 40px; padding: 0 40px; text-align: center; }
.noresults-lead { font-size: 18px; color: var(--ink-soft); margin-bottom: 22px; }
.noresults-cats { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.cat-pill { display: inline-block; background: var(--cream); border: 2px solid var(--ink); border-radius: 999px; padding: 9px 18px; font-weight: 700; font-size: 14px; text-decoration: none; color: var(--ink); box-shadow: 3px 3px 0 var(--ink); transition: transform .15s, box-shadow .15s, background .2s; }
.cat-pill:hover { background: var(--pink-light); transform: translate(-2px,-2px); box-shadow: 5px 5px 0 var(--ink); }

/* =====================================================================
   STANDARD PAGE (prose)
   ===================================================================== */
.page-single { padding-bottom: 10px; }
.page-head { max-width: 860px; margin: 50px auto 0; padding: 0 40px; text-align: center; }
.page-title { font-family: 'Fraunces', serif; font-variation-settings: "opsz" 144, "SOFT" 100, "wght" 600; font-size: clamp(38px, 5vw, 72px); line-height: 1; letter-spacing: -.02em; color: var(--ink); }
.page-figure { max-width: 1040px; margin: 34px auto 0; border-radius: 28px; overflow: hidden; border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); }
.page-figure img { width: 100%; height: auto; display: block; }

.page-prose { max-width: 760px; margin: 36px auto 50px; padding: 0 40px; font-size: 17px; line-height: 1.75; color: var(--ink); }
.page-prose > * { margin-bottom: 20px; }
.page-prose h2 { font-family: 'Fraunces', serif; font-variation-settings: "opsz" 72, "SOFT" 100, "wght" 600; font-size: 32px; line-height: 1.1; letter-spacing: -.01em; margin: 36px 0 6px; }
.page-prose h3 { font-family: 'Fraunces', serif; font-variation-settings: "opsz" 48, "wght" 600; font-size: 24px; margin: 28px 0 4px; }
.page-prose h4 { font-weight: 700; font-size: 19px; margin: 22px 0 4px; }
.page-prose a { color: var(--pink-deep); text-decoration: none; border-bottom: 2px solid var(--pink); }
.page-prose a:hover { color: var(--pink); }
.page-prose ul, .page-prose ol { padding-left: 1.3em; }
.page-prose li { margin-bottom: 8px; }
.page-prose img { border-radius: 18px; border: 2px solid var(--ink); }
.page-prose blockquote { border-left: 4px solid var(--pink); background: var(--cream); border-radius: 0 16px 16px 0; padding: 16px 22px; font-style: italic; color: var(--ink-soft); }
.page-prose hr { border: 0; border-top: 2px dotted var(--rule); margin: 30px 0; }
.page-prose table { width: 100%; border-collapse: collapse; }
.page-prose th, .page-prose td { border: 2px solid var(--ink); padding: 10px 14px; text-align: left; }
.page-prose th { background: var(--pink-light); }
.page-prose code { background: var(--bg-warm); padding: 2px 6px; border-radius: 6px; font-size: .9em; }

@media (max-width: 980px) {
  .page-head, .page-prose, .noresults { padding-left: 22px; padding-right: 22px; }
  .page-figure { margin-left: 22px; margin-right: 22px; }
}

/* =====================================================================
   BRAND LOGO (real assets)
   ===================================================================== */
.logo-row { margin: 0; }
.brand { display: inline-block; line-height: 0; text-decoration: none; }
.brand-logo, .logo-row img.custom-logo { height: 84px; width: auto; display: block; }
.foot-brand .row { gap: 16px; }
.foot-icon { width: 56px; height: 56px; border-radius: 14px; display: block; flex-shrink: 0; }
.foot-logo { height: 34px; width: auto; display: block; }

/* =====================================================================
   COMMENTS
   ===================================================================== */
.recipe-comments { max-width: 880px; margin: 20px auto 0; padding: 0 40px; }
.comments-title { font-family: 'Fraunces', serif; font-variation-settings: "opsz" 72, "SOFT" 100, "wght" 600; font-size: 30px; letter-spacing: -.01em; margin-bottom: 22px; }
.comment-list { list-style: none; margin: 0 0 10px; padding: 0; }
.comment-list ol.children { list-style: none; margin: 14px 0 0 28px; padding: 0; }
.comment-list li.comment { margin-bottom: 16px; }
.comment-body { position: relative; background: var(--cream); border: 2px solid var(--ink); border-radius: 20px; padding: 20px 24px; box-shadow: 4px 4px 0 var(--ink); }
.comment-author { display: flex; align-items: center; gap: 12px; }
.comment-author .avatar { border-radius: 50%; border: 2px solid var(--ink); }
.comment-author .fn { font-style: normal; font-weight: 700; color: var(--ink); }
.comment-author .says { display: none; }
.comment-metadata { position: absolute; top: 18px; right: 22px; font-size: 11px; color: var(--ink-soft); margin: 0; text-align: right; }
.comment-metadata a, .comment-metadata a:hover, .comment-metadata time { color: var(--ink-soft); text-decoration: none !important; border: 0; }
.comment-metadata .edit-link { margin-left: 8px; }
.comment-content { margin-top: 12px; line-height: 1.65; color: var(--ink); }
.comment-content p { margin-bottom: 10px; }
.comment-awaiting-moderation { font-size: 13px; color: var(--pink-deep); font-style: italic; }
.reply { margin-top: 8px; }
.comment-reply-link, .comment-list .comment-reply-link {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .04em;
  background: var(--pink-light); color: var(--pink-deep); padding: 5px 14px; border-radius: 999px; text-decoration: none;
}
.comment-reply-link:hover { background: var(--pink); color: #fff; }

.comment-respond { background: var(--bg-warm); border: 2px solid var(--ink); border-radius: 24px; padding: 32px 34px; box-shadow: 6px 6px 0 var(--ink); margin-top: 26px; }
.comment-reply-title { font-family: 'Fraunces', serif; font-variation-settings: "opsz" 72, "wght" 600; font-size: 24px; margin-bottom: 18px; }
.comment-reply-title small { font-weight: 400; font-size: 14px; margin-left: 10px; }
.comment-form { display: flex; flex-direction: column; gap: 14px; }
.comment-form p { margin: 0; }
.comment-form label { display: block; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); font-weight: 700; margin-bottom: 6px; }
.comment-form input[type=text], .comment-form input[type=email], .comment-form input[type=url], .comment-form textarea {
  width: 100%; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 16px; background: #fff;
  border: 2px solid var(--ink); border-radius: 16px; padding: 12px 16px; outline: none; color: var(--ink); transition: box-shadow .2s;
}
.comment-form input:focus, .comment-form textarea:focus { box-shadow: 4px 4px 0 var(--pink); }
.comment-form textarea { border-radius: 18px; resize: vertical; }
.comment-form .comment-form-cookies-consent { flex-direction: row; align-items: center; display: flex; gap: 8px; font-size: 13px; color: var(--ink-soft); }
.comment-form .comment-form-cookies-consent label { text-transform: none; letter-spacing: 0; font-weight: 500; margin: 0; }
.comment-submit {
  align-self: flex-start; background: var(--pink); color: #fff; border: 2px solid var(--ink); padding: 14px 30px;
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 14px; font-weight: 700; letter-spacing: .04em;
  border-radius: 999px; cursor: pointer; box-shadow: 4px 4px 0 var(--ink); transition: transform .15s, box-shadow .15s, background .2s;
}
.comment-submit:hover { background: var(--pink-deep); transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--ink); }
.comments-closed { text-align: center; color: var(--ink-soft); font-style: italic; margin: 16px 0; }

@media (max-width: 980px) {
  .brand-logo, .logo-row img.custom-logo { height: 58px; }
  .recipe-comments { padding-left: 22px; padding-right: 22px; }
  .comment-respond { padding: 24px 20px; }
  .comment-metadata { position: static; margin-top: 4px; text-align: left; }
}

/* App Store badge (footer) */
.app-badge { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; margin-top: 6px; background: var(--bg); color: var(--ink); border: 2px solid var(--ink); border-radius: 14px; padding: 8px 16px; text-decoration: none; transition: transform .15s, box-shadow .15s, background .2s; box-shadow: 3px 3px 0 rgba(0,0,0,.25); }
.app-badge:hover { transform: translate(-2px,-2px); box-shadow: 5px 5px 0 rgba(0,0,0,.25); background: #fff; }
.app-badge svg { flex-shrink: 0; }
.app-badge span { display: flex; flex-direction: column; line-height: 1.1; }
.app-badge small { font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }
.app-badge strong { font-size: 16px; font-weight: 800; }

/* Newsletter signup (footer band) */
.smx-hp { display: none !important; } /* display:none (not off-screen) so browser autofill / password managers skip the honeypot */
.foot-newsletter { background: var(--rose, #A93A6E); color: #fff; border-radius: 22px; padding: 32px 28px; margin: 0 0 36px; box-shadow: 5px 5px 0 rgba(0,0,0,.18); }
.foot-newsletter .fn-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.foot-newsletter h3 { font-family: var(--display, 'Fraunces', serif); font-size: clamp(26px, 4vw, 38px); margin: 0 0 6px; color: #fff; }
.foot-newsletter h3 em { font-family: var(--script, 'Caveat', cursive); font-style: normal; color: #FFD23F; }
.foot-newsletter p { margin: 0 auto 18px; max-width: 46ch; opacity: .95; }
.smx-nl-form { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.smx-nl-form input[type="text"], .smx-nl-form input[type="email"] { flex: 1 1 200px; min-width: 0; padding: 13px 16px; border: 2px solid #fff; border-radius: 12px; font: inherit; background: #fff; color: var(--ink, #2b1620); }
.smx-nl-form input::placeholder { color: #9a8a90; }
.smx-nl-form button { flex: 0 0 auto; padding: 13px 22px; border: 2px solid var(--ink, #2b1620); border-radius: 12px; background: #FFD23F; color: var(--ink, #2b1620); font-weight: 800; cursor: pointer; box-shadow: 3px 3px 0 rgba(0,0,0,.25); transition: transform .15s, box-shadow .15s; }
.smx-nl-form button:hover { transform: translate(-2px,-2px); box-shadow: 5px 5px 0 rgba(0,0,0,.25); }
.smx-nl-form button:disabled { opacity: .6; cursor: default; }
.smx-nl-msg { flex: 1 1 100%; margin: 6px 0 0; min-height: 1.2em; font-weight: 600; font-size: 14px; }
.smx-nl-msg.ok { color: #C7F9CC; }
.smx-nl-msg.ko { color: #FFE0E0; }
@media (max-width: 560px) { .foot-newsletter { padding: 26px 18px; } .smx-nl-form button { flex: 1 1 100%; } }

/* Recipe quick wins — servings stepper, ingredient checkboxes, Thermomix settings */
.serv-stepper { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 4px 0 16px; font-weight: 600; color: var(--ink, #2b1620); }
.serv-stepper .serv-label { font-size: 14px; color: var(--ink-soft, #6b5560); }
.serv-btn { width: 30px; height: 30px; border: 2px solid var(--rose, #A93A6E); background: #fff; color: var(--rose, #A93A6E); border-radius: 9px; font-size: 18px; line-height: 1; font-weight: 800; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: background .15s, color .15s; }
.serv-btn:hover { background: var(--rose, #A93A6E); color: #fff; }
.serv-n { min-width: 1.6em; text-align: center; font-size: 18px; font-weight: 800; color: var(--rose, #A93A6E); }
.ing-list { list-style: none; padding: 0; margin: 0; }
.ing-item { margin: 0 0 2px; }
.ing-label { display: flex; align-items: baseline; gap: 10px; padding: 8px 6px; border-radius: 10px; cursor: pointer; transition: background .12s; }
.ing-label:hover { background: rgba(169,58,110,.06); }
.ing-check { flex: 0 0 auto; width: 18px; height: 18px; accent-color: var(--rose, #A93A6E); cursor: pointer; align-self: center; }
.ing-name { flex: 1 1 auto; }
.ing-note { flex: 0 0 auto; font-weight: 700; color: var(--rose, #A93A6E); white-space: nowrap; }
.ing-item.checked .ing-name, .ing-item.checked .ing-note { text-decoration: line-through; opacity: .5; }
.smx-set { font-weight: 800; color: var(--rose, #A93A6E); white-space: nowrap; }
@media print { .serv-stepper, .ing-check { display: none !important; } .ing-item.checked .ing-name, .ing-item.checked .ing-note { text-decoration: none; opacity: 1; } .smx-set { color: #000; } }
