/*
 * QueenKeto layer: Kitchen Notes on top of Foodica.
 * House style chosen 28 Sep 2026, reference = Design/Business-Pages/qk-mock.css.
 *
 * Scope: ONLY pages that carry Kitchen Notes markup. The plugin adds the body
 * class .qk-kn when the post content contains the marker class "qk-kn", so the
 * 400+ recipe posts and WPRM cards are untouched until a sitewide decision.
 *
 * Page sections themselves are styled inline (WP Rocket RUCSS strips inline
 * style blocks on this site); this file only carries what inline styles cannot:
 * the fonts and the theme's own post title.
 *
 * Rules that hold everywhere: no uppercase or condensed type, no label above a
 * heading, green for text is #2c5c3a, #a5de89 is an accent only.
 */

/* Self-hosted, latin subset. Source Serif 4 has optical size pinned at 20 and
   keeps the weight axis 400-700. Licence: SIL OFL 1.1, see fonts/OFL-*.txt */
@font-face{
  font-family:"Source Serif 4";
  font-style:normal;
  font-weight:400 700;
  font-display:swap;
  src:url("fonts/source-serif-4-latin.woff2") format("woff2");
}
@font-face{
  font-family:"Caveat";
  font-style:normal;
  font-weight:500;
  font-display:swap;
  src:url("fonts/caveat-500-latin.woff2") format("woff2");
}

body.qk-kn{
  --qk-ink:#332d26; --qk-body:#463f36; --qk-meta:#7b7266; --qk-cocoa:#736458;
  --qk-paper:#fbf9e7; --qk-card:#fffefa; --qk-cream:#f3eeda;
  --qk-green:#3d7a4e; --qk-green-deep:#2c5c3a; --qk-leaf:#a5de89;
  --qk-line:#ded6bd; --qk-line-strong:#cfc4a5;
  --qk-serif:"Source Serif 4", Georgia, "Times New Roman", serif;
  --qk-sans:Inter, -apple-system, "Segoe UI", sans-serif;
  --qk-hand:Caveat, Georgia, serif;
  /* No page background: the paper colour (var --qk-paper) also recoloured
     the theme header. Switched off 4 Oct 2026 at his request. */
}

/* The theme title: Roboto Condensed in the theme, serif in Kitchen Notes */
body.qk-kn h1.entry-title{
  font-family:var(--qk-serif);
  font-weight:700;
  font-size:clamp(32px,4.6vw,48px);
  line-height:1.15;
  letter-spacing:0;
  text-transform:none;
  color:var(--qk-ink);
}

/* Links inside Kitchen Notes blocks keep their inline colour on hover */
body.qk-kn .entry-content a:hover{opacity:.85}
