/*
Theme Name: Le Logis — Croustille
Theme URI: https://creperie-lelogis.fr
Author: Le Logis
Description: Thème magazine culinaire « frais & gourmand » pour creperie-lelogis.fr — recettes, crêpes, galettes et desserts. Direction Croustille (vert menthe & corail, interface arrondie).
Version: 1.5.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: lelogis
*/

/* ============================================================
   TOKENS
   ============================================================ */
:root {
  --ll-bg:        #FBF9F4;
  --ll-ink:       #1a2b22;
  --ll-ink-soft:  #3f4d44;
  --ll-muted:     #5c6b60;
  --ll-muted-2:   #8a938b;
  --ll-line:      #efe9dd;
  --ll-line-soft: #eee7db;
  --ll-green:     #2E7D5B;
  --ll-green-dk:  #1e3329;
  --ll-green-dkr: #152318;
  --ll-mint:      #EAF4EE;
  --ll-coral:     #FF6B5A;
  --ll-star:      #F5A623;
  --ll-card:      #ffffff;
  --ll-chip:      #f1eee6;
  --ll-radius:    22px;
  --ll-radius-sm: 14px;
  --ll-shadow:    0 10px 30px -18px rgba(30,50,40,.3);
  --ll-max:       1200px;
  --ll-sans:      'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ll-display:   'Outfit', var(--ll-sans);
}

/* ============================================================
   BASE
   ============================================================ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ll-bg);
  font-family: var(--ll-sans);
  color: var(--ll-ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--ll-green); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--ll-display); letter-spacing: -.01em; }

.ll-container { max-width: var(--ll-max); margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.ll-narrow    { max-width: 760px; }
.ll-mid       { max-width: 920px; }
.ll-reading   { max-width: 720px; }

/* buttons & chips */
.ll-btn {
  display: inline-flex; align-items: center; gap: 8px;
  border: none; cursor: pointer; font-family: var(--ll-display);
  font-weight: 700; border-radius: 999px; transition: transform .15s ease, opacity .15s ease;
}
.ll-btn:hover { transform: translateY(-1px); }
.ll-btn-primary, .ll-btn-primary:hover { background: var(--ll-green); color: #fff; }
.ll-btn-coral, .ll-btn-coral:hover { background: var(--ll-coral); color: #fff; }
.ll-btn-ghost, .ll-btn-ghost:hover { background: var(--ll-chip); color: #4a5a4f; }
.ll-btn-primary { padding: 15px 30px; font-size: 16px; }
.ll-btn-coral   { padding: 12px 22px; font-size: 14px; }
.ll-btn-ghost   { padding: 10px 18px; font-size: 13px; font-weight: 700; }
.ll-pill { display: inline-block; background: var(--ll-mint); color: var(--ll-green); font-weight: 700; font-size: 12.5px; padding: 7px 15px; border-radius: 999px; letter-spacing: .04em; }
.ll-tag  { background: var(--ll-chip); color: var(--ll-muted); font-size: 13px; font-weight: 600; padding: 8px 15px; border-radius: 999px; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.ll-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ll-line-soft);
}
.ll-header-inner { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; padding-bottom: 16px; }
.ll-brand { display: flex; align-items: center; gap: 12px; }
.ll-brand-mark { width: 42px; height: 42px; border-radius: 14px; background: var(--ll-green); display: flex; align-items: center; justify-content: center; color: #fff; font-family: var(--ll-display); font-weight: 800; font-size: 20px; }
.ll-brand-mark-svg { display: block; flex: 0 0 auto; }
.custom-logo-link { display: inline-flex; }
.custom-logo { max-height: 46px; width: auto; }
.ll-brand-name { font-family: var(--ll-display); font-weight: 800; font-size: 20px; color: var(--ll-ink); line-height: 1; }
.ll-brand-url  { font-size: 10.5px; color: #a9b0a4; letter-spacing: .05em; }
.ll-nav { display: flex; align-items: center; gap: 30px; font-size: 15px; font-weight: 600; color: #4a5a4f; list-style: none; margin: 0; padding: 0; }
.ll-nav a { cursor: pointer; }
.ll-nav .current-menu-item > a { color: var(--ll-green); }
.ll-header-actions { display: flex; align-items: center; gap: 12px; }
.ll-search-btn { width: 40px; height: 40px; border-radius: 50%; background: var(--ll-chip); display: flex; align-items: center; justify-content: center; color: #6b7a6e; font-size: 17px; cursor: pointer; border: none; transition: background .15s ease, color .15s ease; }
/* header search : round icon that reveals a field to its LEFT, inline */
.ll-search-toggle { display: flex; align-items: center; gap: 10px; }
.ll-search-toggle > summary { order: 2; list-style: none; }
.ll-search-toggle > summary::-webkit-details-marker { display: none; }
.ll-search-toggle > summary::marker { content: ""; }
.ll-search-toggle[open] .ll-search-btn { background: var(--ll-green); color: #fff; }
.ll-search-inline { order: 1; margin: 0; }
.ll-search-inline-input { border: 1px solid #e3ddce; background: #fff; border-radius: 999px; padding: 10px 18px; font: inherit; font-size: 14px; color: var(--ll-ink); width: 240px; max-width: 42vw; outline: none; transition: border-color .15s ease, box-shadow .15s ease; }
.ll-search-inline-input::placeholder { color: #a9b0a4; }
.ll-search-inline-input:focus { border-color: var(--ll-green); box-shadow: 0 0 0 3px rgba(46,125,91,.12); }
.ll-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* shared search form (body contexts : résultats, 404) */
.ll-searchform { display: flex; align-items: center; gap: 6px; background: #fff; border: 1px solid #e3ddce; border-radius: 999px; padding: 5px 5px 5px 8px; }
.ll-searchform:focus-within { border-color: var(--ll-green); box-shadow: 0 0 0 3px rgba(46,125,91,.12); }
.ll-searchform-input { flex: 1; border: none; outline: none; background: transparent; font: inherit; font-size: 14px; color: var(--ll-ink); padding: 8px 10px; min-width: 0; }
.ll-searchform-input::placeholder { color: #a9b0a4; }
.ll-searchform-go { flex: 0 0 auto; width: 36px; height: 36px; border: none; border-radius: 50%; background: var(--ll-green); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .15s ease; }
.ll-searchform-go:hover { background: #256a4b; }

/* ============================================================
   PLACEHOLDER / MEDIA
   ============================================================ */
.ll-media { position: relative; overflow: hidden; background-size: cover; background-position: center; }
.ll-media--crepes   { background-image: linear-gradient(140deg,#FFC26E,#FF6B3D); }
.ll-media--galettes { background-image: linear-gradient(140deg,#F2D8A7,#CE9E4E); }
.ll-media--desserts { background-image: linear-gradient(140deg,#FFE884,#F4B301); }
.ll-media--astuces  { background-image: linear-gradient(140deg,#BFE3C6,#5FA97E); }
.ll-media--default  { background-image: linear-gradient(140deg,#EAF4EE,#d6ebdd); }

/* ============================================================
   HERO (front page)
   ============================================================ */
.ll-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin: 52px 0 72px; }
.ll-hero h1 { font-weight: 800; font-size: 50px; line-height: 1.06; margin: 22px 0 18px; }
.ll-hero p  { font-size: 17px; line-height: 1.6; color: var(--ll-muted); margin: 0 0 30px; }
.ll-hero-cta { display: flex; align-items: center; gap: 22px; }
.ll-hero-media { position: relative; height: 400px; border-radius: 28px; box-shadow: 0 34px 60px -22px rgba(244,179,1,.5); }
.ll-hero-badge { position: absolute; bottom: 20px; left: 20px; background: rgba(255,255,255,.92); backdrop-filter: blur(6px); padding: 12px 18px; border-radius: 16px; display: flex; align-items: center; gap: 12px; }
.ll-hero-badge-time { width: 38px; height: 38px; border-radius: 11px; background: var(--ll-green); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-family: var(--ll-display); font-size: 14px; }
.ll-hero-badge-txt { font-size: 13px; font-weight: 700; color: var(--ll-ink); line-height: 1.2; }
.ll-hero-badge-txt span { color: var(--ll-muted-2); font-weight: 600; }
.ll-rating { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; color: var(--ll-muted); font-weight: 600; }
.ll-rating .ll-stars { color: var(--ll-star); }

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.ll-section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 26px; }
.ll-section-head h2 { font-weight: 800; font-size: 30px; margin: 0; }
.ll-section-head a { color: var(--ll-green); font-weight: 700; font-size: 15px; }
.ll-section-title { font-weight: 800; font-size: 30px; margin: 64px 0 26px; }

/* ============================================================
   GRIDS + CARDS
   ============================================================ */
.ll-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.ll-grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }

.ll-card { background: var(--ll-card); border-radius: var(--ll-radius); overflow: hidden; border: 1px solid var(--ll-line); box-shadow: var(--ll-shadow); display: block; transition: transform .18s ease, box-shadow .18s ease; }
.ll-card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -22px rgba(30,50,40,.4); color: inherit; }
.ll-card-media { height: 172px; position: relative; }
.ll-card-cat { position: absolute; top: 13px; left: 13px; background: rgba(255,255,255,.92); color: var(--ll-green); font-weight: 700; font-size: 11px; padding: 5px 12px; border-radius: 999px; letter-spacing: .03em; }
.ll-card-body { padding: 18px 20px 20px; }
.ll-card-title { font-weight: 700; font-size: 18px; margin: 0 0 14px; line-height: 1.25; min-height: 46px; color: var(--ll-ink); }
.ll-card-meta { display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--ll-muted-2); font-weight: 600; }
.ll-card-meta .ll-note { color: var(--ll-ink); }
.ll-card-meta .ll-stars { color: var(--ll-star); }

/* category tiles */
.ll-cat-tile { height: 150px; border-radius: var(--ll-radius); position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; color: #fff; }
.ll-cat-tile h3 { font-weight: 800; font-size: 22px; color: #fff; margin: 0; text-shadow: 0 1px 8px rgba(0,0,0,.25); }
.ll-cat-tile span { font-size: 13px; color: rgba(255,255,255,.92); font-weight: 600; }

/* ad slot */
.ll-ad { margin: 60px 0; min-height: 110px; border-radius: 20px; border: 2px dashed #cdd6cf; display: flex; align-items: center; justify-content: center; color: #a3aea6; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-align: center; padding: 12px; }

/* ============================================================
   RECIPE (single-recette)
   ============================================================ */
.ll-breadcrumb { font-size: 13.5px; color: var(--ll-muted-2); font-weight: 600; margin-bottom: 20px; }
.ll-breadcrumb a { color: inherit; }
.ll-breadcrumb a.on { color: var(--ll-green); }
.ll-post-title { font-weight: 800; font-size: 44px; line-height: 1.1; margin: 18px 0 16px; max-width: 820px; }
.ll-byline { display: flex; align-items: center; gap: 22px; margin-bottom: 30px; font-size: 14.5px; color: var(--ll-muted); font-weight: 600; flex-wrap: wrap; }
.ll-byline .sep { color: #d6ddd8; }
.ll-byline strong { color: var(--ll-ink); }
.ll-byline .ll-stars { color: var(--ll-star); }
.ll-byline .avis { color: #9aa4ad; }
.ll-print { margin-left: auto; }
.ll-hero-photo { height: 440px; border-radius: 26px; box-shadow: 0 34px 60px -24px rgba(244,179,1,.45); margin-bottom: 30px; }

.ll-meta-strip { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; margin-bottom: 40px; }
.ll-meta-box { background: var(--ll-card); border: 1px solid var(--ll-line); border-radius: 18px; padding: 18px 20px; }
.ll-meta-box.on { background: var(--ll-green); }
.ll-meta-box .lbl { font-size: 11.5px; color: var(--ll-muted-2); font-weight: 700; letter-spacing: .06em; }
.ll-meta-box.on .lbl { color: #bfe0cd; }
.ll-meta-box .val { font-family: var(--ll-display); font-weight: 800; font-size: 24px; margin-top: 4px; }
.ll-meta-box.on .val { color: #fff; }

.ll-lead { font-size: 17.5px; line-height: 1.7; color: var(--ll-ink-soft); max-width: 800px; margin: 0 0 34px; }

.ll-recipe-cols { display: grid; grid-template-columns: 320px 1fr; gap: 48px; align-items: start; }
.ll-ingredients { background: var(--ll-mint); border-radius: var(--ll-radius); padding: 28px; position: sticky; top: 96px; }
.ll-ingredients h3 { font-weight: 800; font-size: 20px; margin: 0 0 18px; }
.ll-ingredients ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 13px; }
.ll-ingredients li { display: flex; align-items: center; gap: 12px; font-size: 14.5px; color: var(--ll-ink-soft); font-weight: 500; }
.ll-ingredients li::before { content: ""; width: 20px; height: 20px; border-radius: 6px; border: 2px solid var(--ll-green); flex: 0 0 auto; }
.ll-steps h3 { font-weight: 800; font-size: 20px; margin: 0 0 22px; }
.ll-steps ol { list-style: none; margin: 0; padding: 0; counter-reset: step; display: flex; flex-direction: column; gap: 24px; }
.ll-steps li { display: flex; gap: 20px; counter-increment: step; }
.ll-steps li::before { content: counter(step); width: 40px; height: 40px; flex: 0 0 auto; border-radius: 13px; background: var(--ll-green); color: #fff; font-family: var(--ll-display); font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 17px; }
.ll-steps li p { margin: 0; font-size: 16px; line-height: 1.65; color: var(--ll-ink-soft); padding-top: 7px; }

/* rating block */
.ll-review-block { background: var(--ll-card); border: 1px solid var(--ll-line); border-radius: var(--ll-radius); padding: 30px; margin-top: 48px; display: flex; align-items: center; gap: 36px; }
.ll-review-score { text-align: center; padding-right: 36px; border-right: 1px solid var(--ll-line); }
.ll-review-score .big { font-family: var(--ll-display); font-weight: 800; font-size: 46px; line-height: 1; }
.ll-review-score .st { color: var(--ll-star); font-size: 16px; margin-top: 6px; }
.ll-review-score .cnt { font-size: 12.5px; color: var(--ll-muted-2); font-weight: 600; margin-top: 6px; }
.ll-review-cta h3 { font-weight: 800; font-size: 18px; margin: 0 0 6px; }
.ll-review-cta p { font-size: 14px; color: var(--ll-muted); margin: 0 0 14px; }
.ll-stars-input { color: #d6ddd8; font-size: 26px; letter-spacing: 4px; cursor: pointer; }

/* ============================================================
   ARTICLE (single post)
   ============================================================ */
.ll-article-head { max-width: 760px; margin: 0 auto; }
.ll-author-row { display: flex; align-items: center; gap: 14px; margin-bottom: 30px; font-size: 14.5px; color: var(--ll-muted); font-weight: 600; }
.ll-avatar { width: 44px; height: 44px; border-radius: 50%; }
.ll-avatar-lg { width: 64px; height: 64px; flex: 0 0 auto; border-radius: 50%; }
.ll-author-row .name { color: var(--ll-ink); }
.ll-author-row .meta { font-size: 12.5px; color: var(--ll-muted-2); font-weight: 500; }
.ll-share { margin-left: auto; display: flex; gap: 8px; }
.ll-share span { width: 38px; height: 38px; border-radius: 50%; background: var(--ll-chip); display: flex; align-items: center; justify-content: center; color: #6b7a6e; font-size: 15px; cursor: pointer; }
.ll-figure { height: 420px; border-radius: 26px; box-shadow: 0 34px 60px -24px rgba(255,107,61,.4); margin-bottom: 14px; }
.ll-figcaption { font-size: 12.5px; color: #a9b0a4; font-weight: 500; text-align: center; margin-bottom: 38px; }

.ll-article-body { font-size: 17px; line-height: 1.75; color: var(--ll-ink-soft); }
.ll-article-body > p:first-of-type { font-size: 18.5px; font-weight: 500; }
.ll-article-body p { margin: 0 0 20px; }
.ll-article-body h2 { font-weight: 800; font-size: 26px; margin: 40px 0 14px; }
.ll-article-body h3 { font-weight: 700; font-size: 20px; margin: 32px 0 12px; }
.ll-article-body strong { color: var(--ll-ink); }
.ll-article-body a { color: var(--ll-green); text-decoration: underline; text-underline-offset: 3px; }
.ll-article-body img { border-radius: 18px; margin: 24px 0; }
.ll-article-body blockquote { margin: 32px 0; padding: 24px 30px; background: var(--ll-mint); border-radius: 20px; border-left: 4px solid var(--ll-green); }
.ll-article-body blockquote p { margin: 0; font-family: var(--ll-display); font-weight: 700; font-size: 21px; line-height: 1.4; color: var(--ll-ink); }
.ll-callout { background: var(--ll-card); border: 1px solid var(--ll-line); border-radius: 20px; padding: 24px 28px; margin: 32px 0; box-shadow: var(--ll-shadow); }
.ll-callout-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.ll-callout-head strong { font-family: var(--ll-display); font-size: 16px; color: var(--ll-green); }
.ll-callout p { margin: 0; font-size: 15.5px; line-height: 1.65; color: var(--ll-ink-soft); }

.ll-tags { display: flex; gap: 10px; margin: 40px 0; flex-wrap: wrap; }
.ll-bio { background: var(--ll-mint); border-radius: var(--ll-radius); padding: 28px 30px; display: flex; gap: 20px; align-items: center; }
.ll-bio .name { font-family: var(--ll-display); font-weight: 800; font-size: 17px; color: var(--ll-ink); }
.ll-bio p { margin: 6px 0 0; font-size: 14.5px; line-height: 1.55; color: #4a5a4f; }

/* ============================================================
   ARCHIVE (category)
   ============================================================ */
.ll-archive-head { background-image: linear-gradient(140deg,#EAF4EE,#d6ebdd); border-radius: 26px; padding: 44px 46px; margin-bottom: 38px; }
.ll-archive-head h1 { font-weight: 800; font-size: 44px; margin: 0; }
.ll-archive-head p { font-size: 17px; color: #4a5a4f; max-width: 640px; margin: 14px 0 0; line-height: 1.55; }
.ll-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; flex-wrap: wrap; gap: 16px; }
.ll-filters { display: flex; gap: 12px; flex-wrap: wrap; }
.ll-filters .on { background: var(--ll-green); color: #fff; font-weight: 700; font-size: 13.5px; padding: 10px 18px; border-radius: 999px; }
.ll-filters a { background: #fff; border: 1px solid #e3ddce; color: var(--ll-muted); font-weight: 600; font-size: 13.5px; padding: 10px 18px; border-radius: 999px; }
.ll-sort { font-size: 13.5px; color: var(--ll-muted-2); font-weight: 600; }
.ll-sort strong { color: var(--ll-ink); }

/* pagination */
.ll-pagination { display: flex; justify-content: center; gap: 9px; margin: 46px 0 0; }
.ll-pagination .page-numbers { width: 42px; height: 42px; border-radius: 13px; background: #fff; border: 1px solid #e3ddce; color: var(--ll-muted); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.ll-pagination .page-numbers.current { background: var(--ll-green); color: #fff; border-color: var(--ll-green); }

/* related */
.ll-related-title { font-weight: 800; font-size: 28px; margin: 60px 0 24px; }

/* ============================================================
   PAGE (gabarit page.php)
   ============================================================ */
.ll-page-head { padding: 44px 0 8px; }
.ll-page-head.has-thumb { padding-bottom: 20px; }
.ll-page-title { font-weight: 800; font-size: 44px; line-height: 1.1; margin: 16px 0 0; max-width: 900px; }
.ll-page-figure { margin-top: 26px; }
.ll-page-figure img { width: 100%; height: auto; border-radius: 26px; box-shadow: 0 34px 60px -24px rgba(30,50,40,.3); }
.ll-page-body { padding-top: 30px; font-size: 17px; line-height: 1.75; color: var(--ll-ink-soft); }
.ll-page-body > p:first-of-type { font-size: 18.5px; }
.ll-page-body p { margin: 0 0 20px; }
.ll-page-body h2 { font-weight: 800; font-size: 28px; margin: 40px 0 14px; }
.ll-page-body h3 { font-weight: 700; font-size: 21px; margin: 32px 0 12px; }
.ll-page-body h4 { font-weight: 700; font-size: 17px; margin: 26px 0 10px; }
.ll-page-body strong { color: var(--ll-ink); }
.ll-page-body a { color: var(--ll-green); text-decoration: underline; text-underline-offset: 3px; }
.ll-page-body ul, .ll-page-body ol { margin: 0 0 22px; padding-left: 22px; }
.ll-page-body li { margin: 0 0 8px; }
.ll-page-body img { border-radius: 18px; margin: 24px 0; }
.ll-page-body blockquote { margin: 32px 0; padding: 24px 30px; background: var(--ll-mint); border-radius: 20px; border-left: 4px solid var(--ll-green); }
.ll-page-body blockquote p { margin: 0; font-family: var(--ll-display); font-weight: 700; font-size: 21px; line-height: 1.4; color: var(--ll-ink); }
.ll-page-body table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 15.5px; }
.ll-page-body th, .ll-page-body td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--ll-line); }
.ll-page-body th { font-family: var(--ll-display); color: var(--ll-ink); }
.ll-page-links { font-size: 14px; color: var(--ll-muted); margin-top: 24px; }
.ll-page-body .wp-block-buttons, .ll-page-body .wp-block-button__link { border-radius: 999px; }

/* ============================================================
   RECHERCHE & 404
   ============================================================ */
.ll-search-kicker { font-size: 12px; color: var(--ll-green); letter-spacing: .16em; font-weight: 700; margin-bottom: 12px; }
.ll-archive-search, .ll-404-search { margin-top: 22px; max-width: 460px; }

.ll-empty { text-align: center; padding: 60px 20px 40px; }
.ll-empty-mark { margin-bottom: 20px; }
.ll-empty h2 { font-weight: 800; font-size: 28px; margin: 0 0 10px; }
.ll-empty p { font-size: 16px; color: var(--ll-muted); margin: 0 0 22px; }

.ll-404 { display: grid; grid-template-columns: 420px 1fr; gap: 56px; align-items: center; margin: 56px 0 40px; }
.ll-404-media { height: 420px; border-radius: 28px; display: flex; align-items: center; justify-content: center; box-shadow: 0 34px 60px -24px rgba(244,179,1,.45); }
.ll-404-code { font-family: var(--ll-display); font-weight: 800; font-size: 130px; color: #fff; text-shadow: 0 2px 16px rgba(0,0,0,.18); letter-spacing: -.03em; }
.ll-404-body h1 { font-weight: 800; font-size: 42px; line-height: 1.08; margin: 18px 0 14px; }
.ll-404-body p { font-size: 17px; line-height: 1.6; color: var(--ll-muted); margin: 0; max-width: 480px; }
.ll-404-actions { margin-top: 26px; }
.ll-404-cats { margin-top: 30px; }
.ll-404-cats-label { display: block; font-size: 13.5px; color: var(--ll-muted-2); font-weight: 600; margin-bottom: 12px; }

/* ============================================================
   FOOTER
   ============================================================ */
.ll-footer { margin-top: 72px; background: var(--ll-green-dk); color: #c8d6cd; }
.ll-footer-inner { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 32px; padding-top: 48px; padding-bottom: 48px; }
.ll-footer-brand .n { font-family: var(--ll-display); font-weight: 800; font-size: 22px; color: #fff; }
.ll-footer-brand p { font-size: 13.5px; margin-top: 10px; max-width: 300px; line-height: 1.5; color: #95a89c; }
.ll-footer-cols { display: flex; gap: 64px; font-size: 14px; }
.ll-footer-cols .col { display: flex; flex-direction: column; gap: 10px; }
.ll-footer-cols strong { color: #fff; font-family: var(--ll-display); }
.ll-footer-cols a { color: #c8d6cd; }
.ll-copyright { background: var(--ll-green-dkr); color: #6f8477; font-size: 12.5px; padding: 16px 32px; text-align: center; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .ll-hero { grid-template-columns: 1fr; gap: 28px; }
  .ll-hero h1 { font-size: 38px; }
  .ll-hero-media { height: 280px; }
  .ll-grid-3 { grid-template-columns: repeat(2,1fr); }
  .ll-grid-4 { grid-template-columns: repeat(2,1fr); }
  .ll-recipe-cols { grid-template-columns: 1fr; gap: 32px; }
  .ll-ingredients { position: static; }
  .ll-meta-strip { grid-template-columns: repeat(2,1fr); }
  .ll-post-title { font-size: 34px; }
  .ll-page-title { font-size: 32px; }
  .ll-nav { display: none; }
  .ll-review-block { flex-direction: column; align-items: flex-start; gap: 20px; }
  .ll-review-score { border-right: none; border-bottom: 1px solid var(--ll-line); padding-right: 0; padding-bottom: 20px; width: 100%; }
  .ll-404 { grid-template-columns: 1fr; gap: 28px; }
  .ll-404-media { height: 240px; }
  .ll-404-code { font-size: 96px; }
  .ll-404-body h1 { font-size: 32px; }
}
@media (max-width: 560px) {
  .ll-container { padding-left: 20px; padding-right: 20px; }
  .ll-grid-3, .ll-grid-4 { grid-template-columns: 1fr; }
  .ll-hero h1 { font-size: 32px; }
  .ll-post-title { font-size: 28px; }
  .ll-print { margin-left: 0; }
}

/* print (recipe) */
@media print {
  .ll-header, .ll-footer, .ll-ad, .ll-related, .ll-review-block, .ll-print, .ll-share { display: none !important; }
  body { background: #fff; }
  .ll-recipe-cols { grid-template-columns: 300px 1fr; }
}
