/* jasonfarmer.com, the new look (JF Look plugin). Part 1 is the drawn design's design.css unchanged (Nov 16, 2026). The design sheet in words: DESIGN-SHEET.md.
   Everything on every page comes from the values in :root. Nothing else sets a colour, a size or a gap. */

@font-face {
  font-family: "Source Serif 4";
  src: url(fonts/SourceSerif4-600.woff2) format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}

:root {
  /* colour: one ink, one red, one tint */
  --ink: #1a1a1a;          /* all reading text and headings */
  --ink-soft: #5a5a5a;     /* dates, labels, captions only */
  --red: #c43d2e;          /* things you press, and nothing else */
  --red-dark: #a83327;     /* the same things, while pressed or hovered */
  --tint: #f6f4f0;         /* the one pale tint: boxes and bands */
  --line: #e6e2db;         /* hairlines and box edges */
  --white: #fff;
  --night: #1a1a1a;        /* footer */

  /* lettering */
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;   /* headings only */
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; /* everything else */

  /* sizes (phone first; computers override below) */
  --text: 18px;            /* reading text */
  --text-small: 15px;
  --text-tiny: 13px;
  --h1: 34px;              /* a page's one title */
  --h2: 26px;              /* section headings */
  --h3: 21px;              /* steps, questions */
  --display: 38px;         /* home page headline only */
  --tile-name: 16px;

  /* spacing: every gap is one of these */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 72px; --s9: 96px;
  --gutter: 20px;          /* page side margin */
  --wrap: 1160px;          /* widest the page gets */
  --measure: 740px;        /* reading column */
  --side: 320px;           /* right-hand column */

  /* shapes */
  --r-photo: 14px;         /* every photo */
  --r-box: 20px;           /* every box */
  --pill: 999px;           /* every button and field */
  --header-h: 56px;
}

@media (min-width: 900px) {
  :root {
    --text: 20px; --text-small: 16px; --text-tiny: 14px;
    --h1: 46px; --h2: 32px; --h3: 24px; --display: 58px; --tile-name: 18px;
    --gutter: 32px; --header-h: 68px;
  }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font: var(--text)/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--red); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red-dark); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; color: var(--ink); margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: var(--h1); line-height: 1.1; }
h2 { font-size: var(--h2); line-height: 1.18; }
h3 { font-size: var(--h3); line-height: 1.25; }
p { margin: 0 0 var(--s5); }
.wrap { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.soft { color: var(--ink-soft); }
.small { font-size: var(--text-small); }
.tiny { font-size: var(--text-tiny); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
[id] { scroll-margin-top: calc(var(--header-h) + 20px); }

/* ---------- buttons: one shape ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); min-height: 48px; padding: 0 26px;
  border-radius: var(--pill); border: 1.5px solid var(--red); background: var(--red); color: var(--white);
  font: 600 16px/1 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); color: var(--white); }
.btn--quiet { background: var(--white); color: var(--ink); border-color: #c9c4bb; }
.btn--quiet:hover { background: var(--white); color: var(--red-dark); border-color: var(--red-dark); }
.btn--small { min-height: 40px; padding: 0 18px; font-size: 15px; }
.btn svg { width: 18px; height: 18px; flex: none; }
.more { font-weight: 600; font-size: var(--text-small); text-decoration: none; white-space: nowrap; }
.more::after { content: " →"; }

/* ---------- header ---------- */
.header { background: var(--white); border-bottom: 1px solid var(--line); }
.header__in { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: var(--s5); }
.logo { font: 600 24px/1 var(--serif); letter-spacing: -0.015em; color: var(--ink); text-decoration: none; white-space: nowrap; }
.logo:hover { color: var(--ink); }
.nav { display: none; }
.header__tools { display: flex; align-items: center; gap: var(--s1); }
.iconbtn { width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: none; color: var(--ink); border-radius: var(--pill); cursor: pointer; }
.iconbtn svg { width: 22px; height: 22px; }
.menu-panel { display: none; border-top: 1px solid var(--line); padding: var(--s3) 0 var(--s5); }
.menu-panel.open { display: block; }
.menu-panel a { display: block; padding: 11px 0; font-size: 19px; font-weight: 600; color: var(--ink); text-decoration: none; }
.menu-panel .sub { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--s5); padding: 0 0 var(--s3); border-bottom: 1px solid var(--line); margin-bottom: var(--s3); }
.menu-panel .sub a { font-size: 16px; font-weight: 400; padding: 9px 0; }
@media (min-width: 900px) {
  .header { position: sticky; top: 0; z-index: 50; }
  .logo { font-size: 28px; }
  .nav { display: flex; align-items: center; gap: var(--s6); margin-left: auto; margin-right: var(--s4); }
  .nav > a, .nav__drop > a { color: var(--ink); text-decoration: none; font-size: 16px; font-weight: 500; padding: 10px 0; display: block; }
  .nav a:hover { color: var(--red-dark); }
  .nav__drop { position: relative; }
  .nav__list { display: none; position: absolute; top: 100%; left: -20px; min-width: 250px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-photo); padding: var(--s3) 0; box-shadow: 0 12px 32px rgba(0,0,0,.08); }
  .nav__drop:hover .nav__list, .nav__drop:focus-within .nav__list { display: block; }
  .nav__list a { display: block; padding: 9px 20px; color: var(--ink); text-decoration: none; font-size: 16px; }
  .menu-btn, .menu-panel, .menu-panel.open { display: none; }
}

/* ---------- home: the opening ---------- */
.hero { padding: var(--s6) 0 var(--s5); }
.hero__face { width: 68px; height: 68px; border-radius: 50%; object-fit: cover; margin-bottom: var(--s4); }
.hero__photo { display: none; }
.hero h1 { font-size: var(--display); line-height: 1.04; letter-spacing: -0.02em; margin-bottom: var(--s4); }
.hero__say { font-size: 19px; line-height: 1.5; margin-bottom: var(--s4); max-width: 34em; }
.hero__proof { font-size: var(--text-small); color: var(--ink-soft); margin-bottom: var(--s5); }
.hero__proof b { color: var(--ink); font-weight: 600; }
.hero__go { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s4) var(--s5); }
@media (min-width: 900px) {
  .hero { padding: var(--s7) 0 var(--s6); }
  .hero__in { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: var(--s8); align-items: center; }
  .hero__face { display: none; }
  .hero__photo { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-box); }
  .hero__say { font-size: 22px; margin-bottom: var(--s5); }
  .hero__proof { margin-bottom: var(--s6); }
}

/* ---------- sections and rows of recipes ---------- */
.section { padding: var(--s7) 0 0; }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s4); margin-bottom: var(--s5); }
.pagehead .crumbs { padding-top: 0; }
.section__head .count { color: var(--ink-soft); font: 400 var(--text-small)/1 var(--sans); margin-left: var(--s2); letter-spacing: 0; white-space: nowrap; }
@media (min-width: 900px) { .section { padding-top: var(--s8); } .section__head { margin-bottom: var(--s6); } }

.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s6) var(--s4); list-style: none; margin: 0; padding: 0; }
@media (min-width: 900px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s7) var(--s5); } }
.tile { display: block; color: var(--ink); text-decoration: none; }
.tile img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-photo); background: var(--tint); }
.tile__where { display: block; margin-top: var(--s3); font-size: var(--text-tiny); color: var(--ink-soft); line-height: 1.3; }
.tile__name { display: block; margin-top: 2px; font: 600 var(--tile-name)/1.25 var(--sans); }
.tile__where + .tile__name { margin-top: 2px; }
.tile img + .tile__name { margin-top: var(--s3); }
.tile:hover { color: var(--ink); }
.tile:hover .tile__name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* the restaurants: nine small squares */
.places { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5) var(--s3); list-style: none; margin: 0; padding: 0; }
.place { display: block; text-align: center; color: var(--ink); text-decoration: none; }
.place img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-photo); }
.place span { display: block; margin-top: var(--s2); font: 600 14px/1.25 var(--sans); }
.place:hover span { text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 900px) { .places { grid-template-columns: repeat(9, minmax(0, 1fr)); gap: var(--s4); } .place span { font-size: 15px; margin-top: var(--s3); } }

/* ---------- the sign-up family: one look everywhere ---------- */
.signup { background: var(--tint); border-radius: var(--r-box); padding: var(--s6) var(--s5); }
.signup h2, .signup h3 { font-size: 26px; line-height: 1.15; margin-bottom: var(--s3); }
.signup p { font-size: 17px; line-height: 1.5; margin-bottom: var(--s4); }
.signup__form { display: flex; flex-direction: column; gap: var(--s3); max-width: 520px; }
.field { width: 100%; min-height: 48px; padding: 0 20px; border-radius: var(--pill); border: 1.5px solid #c9c4bb; background: var(--white); font: 400 17px/1 var(--sans); color: var(--ink); }
.field::placeholder { color: #8a8a8a; }
.signup__note { font-size: var(--text-tiny); color: var(--ink-soft); margin: var(--s3) 0 0; }
.signup__pic { display: none; }
.check { display: flex; gap: var(--s3); align-items: flex-start; font-size: 15px; line-height: 1.4; color: var(--ink); margin-top: var(--s3); }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--red); flex: none; }
@media (min-width: 620px) {
  .signup__form { flex-direction: row; background: var(--white); border: 1.5px solid #c9c4bb; border-radius: var(--pill); padding: 4px; gap: 0; }
  .signup__form .field { border: 0; min-height: 44px; background: none; }
  .signup__form .btn { min-height: 44px; }
}
@media (min-width: 900px) {
  .signup { padding: var(--s7); }
  .signup--wide { display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: var(--s7); align-items: center; }
  .signup--wide .signup__pic { display: block; width: 100%; border-radius: var(--r-photo); }
  .signup h2 { font-size: 34px; }
  .signup--slim { padding: var(--s6); }
}

/* ---------- ad spots (drawn in so the layout is judged with them) ---------- */
.ad { display: grid; place-items: center; margin: var(--s6) auto; background: repeating-linear-gradient(135deg, #f3f3f3 0 10px, #ededed 10px 20px); color: #7a7a7a; font: 500 12px/1.3 var(--sans); text-align: center; border-radius: 4px; }
.ad--box { width: 300px; height: 250px; }
.ad--wide { width: 300px; height: 250px; }
.ad--tall { width: 300px; height: 600px; }
.ad--foot { position: fixed; left: 0; right: 0; bottom: 0; margin: 0; z-index: 60; height: 58px; width: 100%; border-radius: 0; border-top: 1px solid #ddd; }
body.has-foot-ad { padding-bottom: 58px; }
@media (min-width: 900px) { .ad--wide { width: 728px; height: 90px; } .ad--foot { height: 90px; } body.has-foot-ad { padding-bottom: 90px; } }

/* ---------- footer ---------- */
.footer { background: var(--night); color: #cfcfcf; margin-top: var(--s8); padding: var(--s7) 0 var(--s6); font-size: 16px; }
.footer a { color: #e9e9e9; text-decoration: none; }
.footer a:hover { color: var(--white); text-decoration: underline; }
.footer__top { display: grid; gap: var(--s6); }
.footer .logo { color: var(--white); font-size: 26px; }
.footer__about { max-width: 30em; margin: var(--s3) 0 0; line-height: 1.5; color: #b9b9b9; font-size: 16px; }
.footer h4, .footer .footer__h { margin: 0 0 var(--s3); font: 600 14px/1.2 var(--sans); color: #9a9a9a; } /* .footer__h: plain words, not headings, since Nov 17, 2026 */
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li a { display: inline-block; padding: 7px 0; }
.footer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s6) var(--s5); }
.footer__small { border-top: 1px solid #333; margin-top: var(--s6); padding-top: var(--s5); font-size: 13px; line-height: 1.6; color: #9a9a9a; }
.footer__small p { margin: 0 0 var(--s2); max-width: 70em; }
.footer__small a { color: #cfcfcf; display: inline-block; padding: 6px 0; }
@media (max-width: 899px) { .footer__sep1 { display: block; font-size: 0; line-height: 0; } } /* phone: the links start a new line, no dot left hanging (Nov 17, 2026) */
@media (min-width: 900px) {
  .footer { margin-top: var(--s9); padding-top: var(--s8); }
  .footer__top { grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr); gap: var(--s8); }
  .footer__cols { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- a post ---------- */
.crumbs { font-size: var(--text-tiny); color: var(--ink-soft); padding: var(--s3) 0 var(--s2); }
@media (min-width: 900px) { .crumbs { padding: var(--s5) 0 var(--s3); } }
.crumbs a { color: var(--ink-soft); text-decoration: none; display: inline-block; padding: 6px 0; }
.crumbs a:hover { color: var(--red-dark); text-decoration: underline; }
.posthead { display: flex; flex-direction: column; }
/* phones: title block, the tall photo, then the opening paragraph and buttons (Jason's pick, Nov 16). On computers the grid below places them. */
.posthead__a { order: 1; } .posthead__photo { order: 2; margin-bottom: var(--s5); } .posthead__b { order: 3; }
.photo-last .posthead__photo { order: 4; margin-bottom: 0; }
.posthead h1 { margin-bottom: var(--s4); }
.rating { display: flex; align-items: center; gap: var(--s2); font-size: var(--text-small); color: var(--ink); text-decoration: none; margin-bottom: var(--s4); }
.stars { color: var(--red); letter-spacing: 2px; font-size: 18px; line-height: 1; }
.stars--45 { background: linear-gradient(90deg, var(--red) 90%, #d9d4cb 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.byline { display: flex; align-items: center; gap: var(--s3); margin-bottom: var(--s4); }
.byline img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; }
.byline__text { font-size: var(--text-small); line-height: 1.4; }
.byline__text b { font-weight: 600; }
.byline__text a { color: var(--ink); }
.posthead__say { font-size: var(--text); margin-bottom: var(--s4); }
.posthead__go { display: flex; flex-wrap: wrap; gap: var(--s2); margin-bottom: var(--s3); }
.posthead__go .btn { min-height: 44px; padding: 0 16px; }
@media (min-width: 900px) { .posthead__go { gap: var(--s3); } .posthead__go .btn { min-height: 48px; padding: 0 26px; } }
.gpref { display: inline-flex; align-items: center; gap: var(--s2); min-height: 36px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--pill); font-size: 14px; color: var(--ink); text-decoration: none; margin-bottom: var(--s4); }
.gpref svg { width: 16px; height: 16px; }
.posthead__photo img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: var(--r-photo); }
@media (min-width: 900px) {
  .posthead { display: grid; grid-template-columns: minmax(0, 1fr) 400px; grid-template-areas: 'a p' 'b p'; grid-template-rows: auto auto; align-content: center; column-gap: var(--s8); padding-bottom: var(--s7); border-bottom: 1px solid var(--line); margin-bottom: var(--s7); }
  .posthead__a { grid-area: a; align-self: end; } .posthead__b { grid-area: b; align-self: start; } .posthead__photo { grid-area: p; align-self: center; margin-bottom: 0; }
  .posthead__say { font-size: 21px; line-height: 1.55; }
  .posthead__photo img { border-radius: var(--r-box); }
}

.cols { display: block; }
@media (min-width: 900px) { .cols { display: grid; grid-template-columns: minmax(0, var(--measure)) var(--side); justify-content: space-between; gap: var(--s7); } }
.side { display: none; }
@media (min-width: 900px) {
  .side { display: block; }
  .side__hello { text-align: left; padding-bottom: var(--s6); border-bottom: 1px solid var(--line); margin-bottom: var(--s6); }
  .side__hello img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin-bottom: var(--s4); }
  .side h3 { font-size: 22px; margin-bottom: var(--s3); }
  .side p { font-size: 16px; line-height: 1.5; margin-bottom: var(--s3); }
  .side__list { list-style: none; margin: 0 0 var(--s6); padding: 0 0 var(--s5); border-bottom: 1px solid var(--line); }
  .side__list a { display: grid; grid-template-columns: 72px 1fr; gap: var(--s4); align-items: center; padding: var(--s2) 0; color: var(--ink); text-decoration: none; font: 600 16px/1.25 var(--sans); }
  .side__list img { width: 72px; height: 72px; border-radius: 10px; object-fit: cover; }
  .side__list a:hover span { text-decoration: underline; text-underline-offset: 3px; }
  .side__stick { position: sticky; top: calc(var(--header-h) + 24px); }
  .side .ad { margin: 0; }
}

.prose > p, .prose > ul, .prose > ol { max-width: var(--measure); }
.prose h2 { margin: var(--s7) 0 var(--s4); }
.prose h3 { margin: var(--s6) 0 var(--s3); }
.prose ul, .prose ol { margin: 0 0 var(--s5); padding-left: 1.2em; }
.prose li { margin-bottom: var(--s3); padding-left: 4px; }
.prose li::marker { color: var(--ink-soft); }
.prose img { width: 100%; border-radius: var(--r-photo); margin: 0 0 var(--s5); }
.prose .grid { padding: 0; max-width: none; margin: 0; }
.prose .grid li { margin: 0; padding: 0; }
.prose .tile img { margin: 0; }
.prose img.tall { max-width: 440px; }
.prose .aff { font-size: var(--text-small); color: var(--ink-soft); line-height: 1.5; }
.prose .aff a { color: var(--ink-soft); }
.prose b, .prose strong { font-weight: 600; }
.prose .updated { background: var(--tint); border-radius: var(--r-photo); padding: var(--s4) var(--s5); font-size: var(--text-small); line-height: 1.5; }
@media (min-width: 900px) { .prose h2 { margin-top: var(--s8); } }

.toc { border: 1px solid var(--line); border-radius: var(--r-box); padding: var(--s4) var(--s5); margin: 0 0 var(--s6); }
.toc summary { font: 600 17px/1.3 var(--sans); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; min-height: 32px; }
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after { content: "+"; font-size: 24px; font-weight: 400; color: var(--ink-soft); }
.toc[open] summary::after { content: "–"; }
.toc ol { margin: var(--s3) 0 var(--s2); padding-left: 1.3em; font-size: 17px; }
.toc li { margin: 0; padding: 7px 0; }
.toc li a { display: inline; padding: 7px 0; color: var(--ink); } /* inline, so a long item that folds keeps its number on the first line (Nov 17, 2026) */
@media (min-width: 900px) { .toc ol { columns: 2; column-gap: var(--s7); } .toc li { break-inside: avoid; } }

.moreof { list-style: none !important; padding: 0 !important; border-top: 1px solid var(--line); }
.moreof li { margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.moreof a { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; color: var(--ink); text-decoration: none; font-weight: 600; }
.moreof a::after { content: "→"; color: var(--red); }
.moreof a:hover { color: var(--red-dark); }

/* ---------- the recipe card ---------- */
.card { border: 1.5px solid var(--ink); border-radius: var(--r-box); margin: var(--s7) 0; overflow: hidden; background: var(--white); max-width: var(--measure); }
.card__mail { background: var(--tint); padding: var(--s4) var(--s5) var(--s4); border-bottom: 1px solid var(--line); }
.card__mail h3 { font: 600 19px/1.25 var(--sans); letter-spacing: 0; margin-bottom: var(--s3); }
.card__mail .signup__form { max-width: none; }
.card__body { padding: var(--s5); }
.card__top { display: grid; grid-template-columns: minmax(0, 1fr) 104px; grid-template-areas: 'h i' 'r r' 's s'; column-gap: var(--s4); row-gap: var(--s3); align-items: center; margin-bottom: var(--s4); }
.card__top h2 { grid-area: h; } .card__top .rating { grid-area: r; } .card__top .card__say { grid-area: s; margin: 0; } .card__top img { grid-area: i; }
.card__top h2 { font-size: 28px; margin: 0; }
.card__top img { width: 104px; height: 104px; border-radius: var(--r-photo); object-fit: cover; margin: 0; }
.card__top .rating { margin: 0; flex-wrap: wrap; row-gap: 2px; }
.card p { font-size: 18px; line-height: 1.55; }
.card__do { display: flex; flex-wrap: wrap; gap: var(--s2); margin: var(--s4) 0 var(--s5); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 0 var(--s6); padding: var(--s4) 0; row-gap: var(--s4); }
.facts div { padding: 0 var(--s2) 0 0; }
.facts dt { font-size: var(--text-tiny); color: var(--ink-soft); line-height: 1.2; margin-bottom: 3px; }
.facts dd { margin: 0; font: 600 18px/1.2 var(--sans); }
.card h3 { font-size: 24px; margin: var(--s6) 0 var(--s2); }
.card h4 { font: 600 18px/1.3 var(--sans); margin: var(--s5) 0 var(--s2); }
.card__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s3); margin: var(--s6) 0 var(--s3); }
.card__row h3 { margin: 0; }
.seg { display: inline-flex; border: 1.5px solid #c9c4bb; border-radius: var(--pill); padding: 3px; gap: 2px; }
.seg button { min-width: 44px; min-height: 34px; padding: 0 12px; border: 0; border-radius: var(--pill); background: none; font: 600 15px/1 var(--sans); color: var(--ink); cursor: pointer; }
.seg button.on { background: var(--ink); color: var(--white); }
.card ul, .card ol { margin: 0; padding: 0; list-style: none; font-size: 18px; line-height: 1.45; max-width: none; }
.card li { margin: 0; padding-left: 0; }
.ingr li { padding: 4px 0; }
.ingr__group { break-inside: avoid; padding-bottom: var(--s4); }
.ingr__group h4 { margin-top: 0; }
.ingr li b { font-weight: 600; }
.ingr li i { font-style: normal; color: var(--ink-soft); }
.gear { columns: 1; }
.gear li { padding: 4px 0; break-inside: avoid; }
.gear a { color: var(--ink); }
.steps { counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: var(--s2); padding: var(--s2) 0; }
.steps li::before { content: counter(step); font: 600 22px/1.3 var(--serif); color: var(--red); }
.card .ad { margin: var(--s5) auto; }
.video { position: relative; border-radius: var(--r-photo); overflow: hidden; }
.video img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin: 0; border-radius: 0; }
.video::after { content: ""; position: absolute; inset: 0; margin: auto; width: 72px; height: 72px; border-radius: 50%; background: rgba(26,26,26,.82) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 6.5v11l9-5.500z'/%3E%3C/svg%3E") center / 34px no-repeat; }
.notes p { margin-bottom: var(--s3); }
.card__end { border-top: 1px solid var(--line); margin-top: var(--s6); padding-top: var(--s4); font-size: var(--text-small); color: var(--ink-soft); line-height: 1.5; }
.card__end p { font-size: var(--text-small); margin-bottom: var(--s2); }
.room { border: 1.5px dashed #c9c4bb; border-radius: var(--pill); padding: 10px 18px; font-size: 14px; color: var(--ink-soft); display: inline-block; margin-top: var(--s4); }
@media (min-width: 900px) {
  .card__mail { padding: var(--s5) var(--s6); }
  .card__body { padding: var(--s6); }
  .card__top img { width: 190px; height: 190px; }
  .card__top h2 { font-size: 34px; }
  .facts { grid-template-columns: repeat(6, auto); justify-content: space-between; }
  .gear { columns: 2; column-gap: var(--s7); }
  .ingr__all { columns: 2; column-gap: var(--s7); }
  .card__top { grid-template-columns: minmax(0, 1fr) 190px; grid-template-areas: 'h i' 'r i' 's i'; grid-template-rows: auto auto 1fr; column-gap: var(--s6); align-items: start; }
  .card ul, .card ol, .card p { font-size: 18px; }
}

/* ---------- comments ---------- */
.comment { border-top: 1px solid var(--line); padding: var(--s5) 0; max-width: var(--measure); }
.comment__who { font-weight: 600; font-size: var(--text-small); }
.comment__who span { font-weight: 400; color: var(--ink-soft); margin-left: var(--s2); }
.comment p { margin: var(--s2) 0 0; font-size: 18px; }
.comment--reply { margin-left: var(--s6); border-top: 0; padding-top: 0; }
.comment--reply .comment__who::before { content: "↳ "; color: var(--ink-soft); }

/* ---------- plain pages ---------- */
.pagehead { padding-top: var(--s4); padding-bottom: var(--s6); }
.pagehead h1 { margin-bottom: var(--s4); }
.pagehead p { max-width: var(--measure); margin-bottom: 0; }
/* form.search, not bare .search: WordPress puts "search" on the body of the results page (fixed Nov 17, 2026) */
form.search { position: relative; max-width: 560px; margin-top: var(--s5); }
form.search .field { padding-left: 50px; min-height: 52px; }
form.search svg { position: absolute; left: 18px; top: 15px; width: 22px; height: 22px; color: var(--ink-soft); }
.chips { position: sticky; top: 0; z-index: 40; background: var(--white); border-bottom: 1px solid var(--line); }
.chips__in { display: flex; gap: var(--s2); overflow-x: auto; padding: var(--s3) var(--gutter); margin: 0 calc(-1 * var(--gutter)); scrollbar-width: none; }
.chips__in::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: var(--pill); border: 1.5px solid #c9c4bb; color: var(--ink); text-decoration: none; font: 500 15px/1 var(--sans); white-space: nowrap; }
.chip:hover { border-color: var(--red-dark); color: var(--red-dark); }
@media (min-width: 900px) { .chips { top: var(--header-h); } }
@media (min-width: 1280px) { .chips__in { flex-wrap: wrap; overflow: visible; } } /* under 1280 the row scrolls sideways on one line instead of folding to two (Nov 17, 2026) */

.narrow { max-width: calc(var(--measure) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.narrow.pagehead { padding-top: var(--s6); } /* plain pages: the title no longer touches the header line (Nov 17, 2026) */
@media (min-width: 900px) { .narrow.pagehead { padding-top: var(--s7); } }
.nw { white-space: nowrap; } /* hyphenated words in titles stay whole */
.menu-btn__shut, .menu-btn[aria-expanded="true"] .menu-btn__open { display: none; }
.menu-btn[aria-expanded="true"] .menu-btn__shut { display: block; } /* the open phone menu shows a cross (Nov 17, 2026) */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5) var(--s4); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: var(--s5) 0; margin: var(--s6) 0; }
.stats b { display: block; font: 600 30px/1.1 var(--serif); letter-spacing: -0.01em; }
.stats span { font-size: var(--text-small); color: var(--ink-soft); line-height: 1.35; display: block; margin-top: 4px; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } .stats b { font-size: 38px; } }
.abouthead { padding-top: var(--s5); }
.abouthead img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-box); margin-bottom: var(--s5); }
.abouthead h1 { margin-bottom: var(--s4); }
.abouthead p { font-size: 20px; line-height: 1.55; }
@media (min-width: 900px) {
  .abouthead { display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: var(--s8); align-items: center; padding-top: var(--s7); }
  .abouthead img { margin: 0; }
  .abouthead p { font-size: 22px; }
}

/* ---------- landing and sales pages ---------- */
.land { padding: var(--s6) 0 0; }
.kicker { font: 600 var(--text-small)/1.2 var(--sans); color: var(--red); margin-bottom: var(--s3); display: block; }
.land h1 { font-size: var(--display); line-height: 1.05; letter-spacing: -0.02em; margin-bottom: var(--s4); }
.land__say { font-size: 19px; line-height: 1.55; max-width: 34em; }
.land__pic img { width: 100%; border-radius: var(--r-box); margin-top: var(--s6); }
.land .signup__form { margin-top: var(--s5); }
.packlist { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5) var(--s3); list-style: none; margin: var(--s5) 0 0; padding: 0; }
.places--8 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.block { padding-top: var(--s7); }
.block h2 { margin-bottom: var(--s4); }
.block > p { max-width: var(--measure); }
.duo { display: grid; gap: var(--s5); align-items: center; }
.duo img { border-radius: var(--r-box); width: 100%; }
.who { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: var(--s4); align-items: start; }
.who img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; }
.ticks { list-style: none; padding: 0; margin: 0 0 var(--s5); }
.ticks li { position: relative; padding: 6px 0 6px 34px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 10px; width: 22px; height: 22px; border-radius: 50%; background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M6 12.500l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }
.price { display: flex; align-items: center; flex-wrap: wrap; gap: var(--s4) var(--s5); margin-top: var(--s5); }
.price b { font: 600 34px/1 var(--serif); }
.faq { border-top: 1px solid var(--line); max-width: var(--measure); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { font: 600 var(--text)/1.35 var(--sans); padding: var(--s4) 0; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: var(--s4); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 24px; line-height: 1; color: var(--ink-soft); }
.faq details[open] summary::after { content: "–"; }
.faq p { margin-bottom: var(--s4); }
.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--white); border-top: 1px solid var(--line); padding: 10px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: var(--s4); }
.buybar b { font: 600 24px/1 var(--serif); }
body:has(.buybar) { padding-bottom: 64px; }
.standin { background: #fff8d6; border: 1px dashed #c9b458; border-radius: 10px; padding: 10px 14px; font-size: 14px; line-height: 1.4; color: #5c4d00; margin: var(--s4) 0 0; }
@media (min-width: 900px) {
  .land { padding-top: var(--s8); }
  .land__in { display: grid; grid-template-columns: minmax(0, 1fr) 460px; gap: var(--s8); align-items: center; }
  .land__say { font-size: 21px; }
  .land__pic img { margin-top: 0; }
  .packlist { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .block { padding-top: var(--s9); }
  .duo { grid-template-columns: 1fr 1fr; gap: var(--s8); }
  .duo--flip > :first-child { order: 2; }
  .buybar { display: none; }
  body:has(.buybar) { padding-bottom: 0; }
  .places--8 { grid-template-columns: repeat(8, minmax(0, 1fr)); }
}

/* ---------- the pop-up, in the family look ---------- */
.pop { position: fixed; inset: 0; z-index: 200; background: rgba(26,26,26,.55); display: none; place-items: center; padding: var(--s4); }
.pop.open { display: grid; }
.pop__box { background: var(--white); border-radius: var(--r-box); max-width: 520px; width: 100%; overflow: hidden; position: relative; }
.pop__box img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.pop__in { padding: var(--s5) var(--s5) var(--s6); }
.pop__in h2 { font-size: 28px; margin-bottom: var(--s3); }
.pop__in p { font-size: 17px; line-height: 1.5; margin-bottom: var(--s4); }
.pop__x { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); font-size: 24px; line-height: 1; cursor: pointer; color: var(--ink); }

/* ===================================================================================================
   Part 2: what WordPress's real pages need on top of the drawn design (JF Look plugin, Nov 16, 2026).
   Same values from :root only.
   =================================================================================================== */

/* the stand-in logo is a picture of the name, on one line */
.logo img { height: 32px; width: auto; display: block; }   /* 24 px letters on phones */
@media (min-width: 900px) { .logo img { height: 38px; } }      /* 28 px letters on computers */
.footer .logo img { height: 35px; }
.skip:focus { position: fixed; left: 8px; top: 8px; width: auto; height: auto; clip: auto; z-index: 999; background: var(--white); padding: 8px 14px; border-radius: var(--pill); }
body.admin-bar .header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .header { top: 46px; } }
.menu-panel.open { display: block; }
.section--first { padding-top: var(--s5); }
.pagehead__intro p { max-width: var(--measure); }
.pagehead__intro { margin-top: var(--s2); }

/* stars from the card's own rating */
.stars--part { background: linear-gradient(90deg, var(--red) var(--jf-pct, 100%), #d9d4cb var(--jf-pct, 100%)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stars--none { color: #d9d4cb; }

/* the top of a post */
.posthead--nophoto { display: block; }
@media (min-width: 900px) { .posthead--nophoto { display: block; } }
.posthead__photo picture, .posthead__photo img { display: block; width: 100%; }
.posthead__photo img { aspect-ratio: 2 / 3; object-fit: cover; border-radius: var(--r-photo); height: auto; }
@media (min-width: 900px) { .posthead__photo img { border-radius: var(--r-box); } }
/* WP Recipe Maker's own Jump links, dressed as the two buttons (kept as its links so Mediavine still knows them) */
.posthead__go a.wprm-recipe-jump, .posthead__go a.wprm-recipe-jump-video, .posthead__go a.wprm-recipe-link {
  display: inline-flex !important; align-items: center; justify-content: center; gap: var(--s2); min-height: 44px; padding: 0 16px !important; /* 16, not 18: the two sit side by side at 375 wide (Nov 17, 2026) */
  border-radius: var(--pill) !important; border: 1.5px solid var(--red) !important; background: var(--red) !important; color: var(--white) !important;
  font: 600 16px/1 var(--sans) !important; text-decoration: none !important; white-space: nowrap; margin: 0 !important; box-shadow: none !important; }
.posthead__go a.wprm-recipe-jump-video { background: var(--white) !important; color: var(--ink) !important; border-color: #c9c4bb !important; }
.posthead__go a.wprm-recipe-jump:hover { background: var(--red-dark) !important; border-color: var(--red-dark) !important; }
.posthead__go a.wprm-recipe-jump-video:hover { color: var(--red-dark) !important; border-color: var(--red-dark) !important; background: var(--white) !important; }
.posthead__go a.wprm-recipe-jump-video::before { content: ""; width: 16px; height: 16px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5.5v13l11-6.5z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5.5v13l11-6.5z'/%3E%3C/svg%3E") center / contain no-repeat; }
.posthead__go .wprm-recipe-icon { display: none !important; }
@media (min-width: 900px) { .posthead__go a.wprm-recipe-jump, .posthead__go a.wprm-recipe-jump-video { min-height: 48px; padding: 0 26px !important; } }
.gpref-wrap { margin-bottom: var(--s4); }
.gpref-wrap .wprm-google-preferred-sources-official-wrapper { text-align: left !important; margin: 0 !important; }
button.wprm-google-preferred-sources-trigger, button.wprm-google-preferred-sources-trigger:hover, button.wprm-google-preferred-sources-trigger:focus { background: transparent; box-shadow: none; }

/* the post's words */
.cols__main { min-width: 0; }
.prose { overflow-wrap: anywhere; }
.prose > * { max-width: var(--measure); }
.prose figure { margin: 0 0 var(--s5); }
.prose figure img, .prose picture img { margin: 0; }
.prose figcaption, .prose .wp-element-caption { font-size: var(--text-small); color: var(--ink-soft); margin-top: var(--s2); }
.prose h4 { font: 600 19px/1.3 var(--sans); margin: var(--s5) 0 var(--s2); }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--text-small); margin: 0 0 var(--s5); }
.prose td, .prose th { border-bottom: 1px solid var(--line); padding: var(--s2) var(--s3) var(--s2) 0; text-align: left; vertical-align: top; }
.prose blockquote { margin: 0 0 var(--s5); padding-left: var(--s4); border-left: 3px solid var(--line); }
.prose .wp-block-buttons { display: flex; flex-wrap: wrap; gap: var(--s2); margin-bottom: var(--s5); }
.prose .wp-block-button__link { display: inline-flex; align-items: center; min-height: 48px; padding: 0 26px; border-radius: var(--pill); background: var(--red); color: var(--white); text-decoration: none; font: 600 16px/1 var(--sans); }
.prose .wp-block-embed iframe, .prose iframe { max-width: 100%; }
.prose .wp-block-embed__wrapper { position: relative; }
.prose p > em:only-child { color: inherit; }
.prose p.aff { margin-top: var(--s5); }
.jf-inpost { margin: var(--s6) 0; }
.jf-inpost h3 { font-size: 26px; margin-top: 0; }
.more-row { margin-top: var(--s7); max-width: var(--measure); }
.more-row .section__head h2 { margin: 0; }
@media (min-width: 900px) { .more-row .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s5) var(--s4); } }

/* the right-hand column: Mediavine adds its following ad after the last piece */
@media (min-width: 900px) {
  .cols { align-items: stretch; }
  .side { padding-top: var(--s2); }
  .side h3 { margin-top: 0; }
}

/* comments (the theme's own comment list, in the new look) */
.jf-comments { max-width: var(--measure); margin-top: var(--s7); }
.jf-comments .comments-title, .jf-comments .comment-reply-title { font: 600 var(--h2)/1.18 var(--serif); margin: 0 0 var(--s5); }
.jf-comments ol.comment-list, .jf-comments ol.children { list-style: none; margin: 0; padding: 0; }
.jf-comments ol.children { margin-left: var(--s6); }
.jf-comments .comment-body { border-top: 1px solid var(--line); padding: var(--s5) 0; }
.jf-comments .comment-author { font-weight: 600; font-size: var(--text-small); display: flex; align-items: center; gap: var(--s2); }
.jf-comments .comment-author img { width: 32px; height: 32px; border-radius: 50%; }
.jf-comments .comment-author .says { display: none; }
.jf-comments .comment-metadata, .jf-comments .comment-metadata a { font-size: var(--text-tiny); color: var(--ink-soft); text-decoration: none; }
.jf-comments .comment-content p { margin: var(--s2) 0 0; font-size: 18px; }
.jf-comments .reply a { font-size: var(--text-small); font-weight: 600; text-decoration: none; }
.jf-comments label { display: block; font-size: var(--text-small); font-weight: 600; margin-bottom: var(--s1); color: var(--ink); }
.jf-comments input[type=text], .jf-comments input[type=email], .jf-comments input[type=url], .jf-comments textarea {
  width: 100%; min-height: 48px; padding: 12px 18px; border: 1.5px solid #c9c4bb; border-radius: var(--r-photo); font: 400 17px/1.4 var(--sans); color: var(--ink); background: var(--white); }
.jf-comments textarea { min-height: 140px; }
.jf-comments .comment-form > p { margin-bottom: var(--s4); }
.jf-comments .form-submit input, .jf-comments input[type=submit] { min-height: 48px; padding: 0 26px; border-radius: var(--pill); border: 0; background: var(--red); color: var(--white); font: 600 16px/1 var(--sans); cursor: pointer; }
.jf-comments .comment-form-cookies-consent { display: flex; gap: var(--s2); align-items: flex-start; }
.jf-comments .comment-form-cookies-consent label { font-weight: 400; }
/* the theme prints each box before its label; show the label above its own box (Nov 17, 2026) */
.jf-comments .comment-form-comment, .jf-comments .comment-form-author, .jf-comments .comment-form-email, .jf-comments .comment-form-url { display: flex; flex-direction: column-reverse; }

/* lists and search */
.navigation.pagination { margin-top: var(--s6); }
.nav-links { display: flex; gap: var(--s2); flex-wrap: wrap; }
.nav-links .page-numbers { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; border: 1.5px solid #c9c4bb; border-radius: var(--pill); color: var(--ink); text-decoration: none; padding: 0 14px; }
.nav-links .current { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* plain pages */
.page-content > * { max-width: var(--measure); }
.page-content img { border-radius: var(--r-photo); }

/* nothing scrolls sideways on a phone */
html, body { overflow-x: clip; }

/* About: the opening sits in the wide page, the rest in the 740 column */
.page-about .abouthead p { max-width: none; }
.page-about .abouthead img { height: auto; }
.page-about .abouthead + .stats { margin-top: var(--s6); }

/* The free recipe pack page keeps its own code and Kit wiring; only its look follows the design */
.tnr-optin { font-family: var(--sans) !important; color: var(--ink) !important; }
.tnr-optin h1 { font-family: var(--serif) !important; font-weight: 600 !important; font-size: var(--display) !important; line-height: 1.05 !important; letter-spacing: -0.02em !important; }
.tnr-optin h2, .tnr-optin h3 { font-family: var(--serif) !important; font-weight: 600 !important; letter-spacing: -0.01em !important; color: var(--ink) !important; }
.tnr-optin .tnr-eyebrow { letter-spacing: 0 !important; text-transform: none !important; font-size: var(--text-small) !important; font-weight: 600 !important; }
.tnr-optin .tnr-sub, .tnr-optin p { font-size: 18px !important; }
.tnr-optin .tnr-form input[type=email] { border-radius: var(--pill) !important; border: 1.5px solid #c9c4bb !important; min-height: 48px !important; padding: 0 20px !important; }
.tnr-optin .tnr-form button, .tnr-optin .tnr-form .formkit-submit { border-radius: var(--pill) !important; min-height: 48px !important; padding: 0 26px !important; }
.page-free-recipes .narrow { max-width: calc(var(--measure) + 2 * var(--gutter)); }

/* finger-sized links: a few pixels of tap room around links inside sentences (nothing moves) */
.prose a, .page-content a { padding-block: 3px; }
.jf-comments .comment-metadata a, .jf-comments .reply a, .jf-comments .comment-reply-link { display: inline-block; padding: 6px 0; }
.wprm-recipe-container a.wprm-recipe-ingredient-link, .wprm-recipe-container a.wprm-recipe-equipment-link, .wprm-recipe-container a.wprm-recipe-servings-link { padding-block: 4px; }

/* the photo-position switch: on phones the photo goes after the paragraph and buttons; computers keep it beside */
body.photo-last .posthead__photo { order: 4; margin-bottom: 0; margin-top: var(--s2); }
@media (min-width: 900px) { body.photo-last .posthead__photo { margin-top: 0; } }

/* ---------- the four pieces still in old or default dress, brought into the family (Nov 17, 2026, site review item 15; Jason: "Yes you can fix them to match.") ---------- */

/* 1. the contact form (WPForms): the site's fields and the red pill button, as in the comment form */
.wpforms-container .wpforms-form input[type=text], .wpforms-container .wpforms-form input[type=email], .wpforms-container .wpforms-form input[type=url],
.wpforms-container .wpforms-form input[type=tel], .wpforms-container .wpforms-form textarea, .wpforms-container .wpforms-form select {
  min-height: 48px !important; padding: 12px 18px !important; border: 1.5px solid #c9c4bb !important; border-radius: var(--r-photo) !important;
  font: 400 17px/1.4 var(--sans) !important; color: var(--ink) !important; background: var(--white) !important; box-shadow: none !important; }
.wpforms-container .wpforms-form textarea { min-height: 140px !important; }
.wpforms-container .wpforms-form .wpforms-field-label { font: 600 var(--text-small)/1.3 var(--sans) !important; color: var(--ink) !important; }
.wpforms-container .wpforms-form button[type=submit], .wpforms-container .wpforms-form .wpforms-submit {
  min-height: 48px !important; height: auto !important; padding: 0 26px !important; border-radius: var(--pill) !important; border: 1.5px solid var(--red) !important;
  background: var(--red) !important; color: var(--white) !important; font: 600 16px/1 var(--sans) !important; box-shadow: none !important; cursor: pointer; }
.wpforms-container .wpforms-form button[type=submit]:hover, .wpforms-container .wpforms-form .wpforms-submit:hover { background: var(--red-dark) !important; border-color: var(--red-dark) !important; }

/* 2. the "Start Cooking" view (WP Recipe Maker's cook mode): red for things you press, labels in sentence case, pill buttons */
html body { --wprm-popup-accent: #c43d2e; --wprm-popup-button-background: #c43d2e; --comment-rating-star-color: #c43d2e; }
.wprm-popup-modal .wprm-cook-mode-control-label, .wprm-popup-modal .wprm-cook-mode-ingredient-group-name { text-transform: none !important; letter-spacing: 0 !important; color: var(--ink-soft) !important; font-size: 15px !important; }
.wprm-popup-modal .wprm-cook-mode-ingredient-group-name { color: var(--ink) !important; font-weight: 600 !important; }
.wprm-popup-modal .wprm-cook-mode-unit-button { white-space: nowrap !important; padding-left: 12px !important; padding-right: 12px !important; border-radius: var(--pill) !important; font: 500 15px/1 var(--sans) !important; border: 1.5px solid #c9c4bb !important; background: var(--white) !important; color: var(--ink) !important; }
.wprm-popup-modal .wprm-cook-mode-unit-button.active, .wprm-popup-modal .wprm-cook-mode-unit-button[aria-pressed=true], .wprm-popup-modal .wprm-cook-mode-unit-button.wprm-cook-mode-unit-button-active { background: var(--red) !important; border-color: var(--red) !important; color: var(--white) !important; }
.wprm-popup-modal .wprm-cook-mode-servings-input, .wprm-popup-modal .wprm-cook-mode-servings-decrease, .wprm-popup-modal .wprm-cook-mode-servings-increase { border-radius: var(--pill) !important; border: 1.5px solid #c9c4bb !important; font-family: var(--sans) !important; }
.wprm-popup-modal .wprm-cook-mode-start-button, .wprm-popup-modal .wprm-cook-mode-footer button { border-radius: var(--pill) !important; background: var(--red) !important; color: var(--white) !important; font: 600 16px/1 var(--sans) !important; }
.wprm-popup-modal .wprm-cook-mode-start-button:hover, .wprm-popup-modal .wprm-cook-mode-footer button:hover { background: var(--red-dark) !important; }
.wprm-popup-modal .wprm-cook-mode-step-number { background: var(--red) !important; }
.wprm-popup-modal__container { border-radius: var(--r-box) !important; }

/* 3. the free-pack thank-you page (/takeout-night/, its own styles in the page): the family's type, tint, boxes and button */
.page-takeout-night .tn-page .kicker { text-transform: none; letter-spacing: 0; font-size: 15px; font-weight: 600; color: var(--red); }
.page-takeout-night .tn-page h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.01em; }
.page-takeout-night .tn-page .hero p.lead, .page-takeout-night .tn-page .card-body p, .page-takeout-night .tn-page .recipes .sub { color: var(--ink); }
.page-takeout-night .tn-page .microcopy, .page-takeout-night .tn-page .recipe-tag { color: var(--ink-soft); }
.page-takeout-night .tn-page .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border-radius: var(--pill); font: 600 16px/1 var(--sans); transform: none; }
.page-takeout-night .tn-page .card { background: var(--tint); border-color: var(--line); border-radius: var(--r-box); }
.page-takeout-night .tn-page .yt { background: var(--tint); border-color: var(--line); }
.page-takeout-night .tn-page hr.div, .page-takeout-night .tn-page .recipe-row { border-color: var(--line); }
@media (max-width: 600px) { .page-takeout-night .tn-page .btn { display: flex; } }

/* 4. the comment stars: red like the card's and the title's (the comment's own stars are pictures, so they are tinted with a mask) */
.jf-comments [fill="#343434"], .wprm-popup-modal [fill="#343434"] { fill: var(--red); }
.jf-comments [stroke="#343434"], .wprm-popup-modal [stroke="#343434"] { stroke: var(--red); }
.jf-comments stop[stop-color="#343434"], .wprm-popup-modal stop[stop-color="#343434"] { stop-color: var(--red); }
/* WP Recipe Maker draws its outline and filled stars from shared shapes and gradients (ids "wprm-star…" and "wprm-recipe-user-rating…"), so colour those wherever they are */
[id^="wprm-star"][stroke]:not([stroke="none"]) { stroke: var(--red) !important; }
[id^="wprm-star"][fill]:not([fill="none"]) { fill: var(--red) !important; }
linearGradient[id^="wprm"] stop { stop-color: var(--red) !important; }
.jf-comments .wprm-rating-star-full svg path, .jf-comments .wprm-rating-star-full svg polygon { fill: var(--red) !important; }
.jf-comments .wprm-rating-star svg path, .jf-comments .wprm-rating-star svg polygon { stroke: var(--red) !important; }
.jf-comments img.wprm-comment-rating { object-position: -9999px 0; background: var(--red); -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.jf-comments img.wprm-comment-rating[src$="stars-alt-0.svg"] { -webkit-mask-image: url("/wp-content/plugins/wp-recipe-maker/assets/icons/rating/stars-alt-0.svg"); mask-image: url("/wp-content/plugins/wp-recipe-maker/assets/icons/rating/stars-alt-0.svg"); }
.jf-comments img.wprm-comment-rating[src$="stars-alt-1.svg"] { -webkit-mask-image: url("/wp-content/plugins/wp-recipe-maker/assets/icons/rating/stars-alt-1.svg"); mask-image: url("/wp-content/plugins/wp-recipe-maker/assets/icons/rating/stars-alt-1.svg"); }
.jf-comments img.wprm-comment-rating[src$="stars-alt-2.svg"] { -webkit-mask-image: url("/wp-content/plugins/wp-recipe-maker/assets/icons/rating/stars-alt-2.svg"); mask-image: url("/wp-content/plugins/wp-recipe-maker/assets/icons/rating/stars-alt-2.svg"); }
.jf-comments img.wprm-comment-rating[src$="stars-alt-3.svg"] { -webkit-mask-image: url("/wp-content/plugins/wp-recipe-maker/assets/icons/rating/stars-alt-3.svg"); mask-image: url("/wp-content/plugins/wp-recipe-maker/assets/icons/rating/stars-alt-3.svg"); }
.jf-comments img.wprm-comment-rating[src$="stars-alt-4.svg"] { -webkit-mask-image: url("/wp-content/plugins/wp-recipe-maker/assets/icons/rating/stars-alt-4.svg"); mask-image: url("/wp-content/plugins/wp-recipe-maker/assets/icons/rating/stars-alt-4.svg"); }
.jf-comments img.wprm-comment-rating[src$="stars-alt-5.svg"] { -webkit-mask-image: url("/wp-content/plugins/wp-recipe-maker/assets/icons/rating/stars-alt-5.svg"); mask-image: url("/wp-content/plugins/wp-recipe-maker/assets/icons/rating/stars-alt-5.svg"); }

/* ---------- the wider page (Nov 17, 2026; Jason: "go with number two: raise it at the cap to about 1,500, like RecipeTin Eats").
   Nothing here applies under 1,240 wide, so phones, tablets and smaller laptops are exactly as before.
   The reading text stays 740 at most; the extra room goes to the photo, the right-hand column, the room around the text,
   and a fifth column of tiles on the long tile pages. ---------- */
@media (min-width: 1240px) {
  :root { --wrap: 1500px; }
  /* posts: the text column keeps its 740 cap inside a wider first column, the right-hand column stays at the far right */
  .cols { grid-template-columns: minmax(0, 1fr) var(--side); justify-content: stretch; column-gap: var(--s8); }
}
@media (min-width: 1440px) {
  :root { --side: 400px; }
  /* the tall top photo grows from 400 to 480 wide (its 1024 x 1536 file stays sharp on sharp screens) */
  .posthead { grid-template-columns: minmax(0, 1fr) 480px; }
  .posthead__a, .posthead__b { max-width: 820px; }
  /* long tile pages (restaurant pages, the recipes page, search) gain a fifth column, so each tile stays about the size it is today */
  .grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  /* the home page rows hold 4 or 8 tiles, so they keep 4 columns and the tiles grow */
  .home .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  /* a post's own "More …" row keeps its 4 tiles inside the text column */
  .more-row .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
