:root{--ink: #1e1e1c;--muted: #6c6c66;--paper: #f6f3ec;--card: #fffefb;--accent: #cf442e;--green: #5f744f;--line: #ded8cc;--max: 1180px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:var(--paper);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;line-height:1.55}a{color:inherit}img{max-width:100%;display:block}.site-header{border-bottom:1px solid var(--line);background:#f6f3ecf5;position:sticky;top:0;z-index:10;backdrop-filter:blur(10px)}.header-inner{max-width:var(--max);margin:0 auto;padding:17px 24px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{font-family:Georgia,serif;font-size:clamp(20px,2.4vw,31px);font-weight:700;text-decoration:none;letter-spacing:-.02em}.brand span{color:var(--accent)}.header-actions{display:flex;align-items:center;gap:24px}.nav{display:flex;gap:20px;font-size:14px;font-weight:700}.nav a{text-decoration:none}.lang-switch{display:flex;align-items:center;padding:4px;border:1px solid var(--line);border-radius:999px;background:#ffffff8c}.lang-switch a{min-width:38px;padding:7px 9px;border-radius:999px;text-align:center;text-decoration:none;font-size:12px;font-weight:850;letter-spacing:.06em;color:var(--muted)}.lang-switch a.is-active{background:var(--green);color:#fff}main{min-height:70vh}.shell{max-width:var(--max);margin:0 auto;padding:54px 24px 80px}.eyebrow{text-transform:uppercase;letter-spacing:.13em;font-weight:800;color:var(--accent);font-size:12px}h1,h2,h3{font-family:Georgia,serif;line-height:1.06;letter-spacing:-.025em}h1{font-size:clamp(42px,7vw,88px);margin:10px 0 20px}h2{font-size:clamp(28px,4vw,46px)}.site-footer{border-top:1px solid var(--line);background:#ffffff61}.footer-main{max-width:var(--max);margin:0 auto;padding:44px 24px 36px;display:grid;grid-template-columns:1.3fr 1fr;gap:54px;align-items:start}.footer-brand strong{display:block;font:700 clamp(23px,3vw,34px) Georgia,serif;letter-spacing:-.025em;margin-bottom:12px}.footer-brand p{margin:0;max-width:390px;color:var(--muted);font-size:14px}.footer-nav{display:grid;gap:8px;font-size:13px;font-weight:750;text-transform:uppercase;letter-spacing:.04em}.footer-nav a,.social-links a{text-decoration:none}.footer-kicker{font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.12em;margin-bottom:14px}.social-links{display:flex;flex-wrap:wrap;gap:12px}.social-links a{display:inline-flex;align-items:center;gap:8px;font-size:13px}.social-links svg{width:34px;height:34px;padding:8px;border:1px solid var(--line);border-radius:50%;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;background:var(--card)}.social-links a:first-child svg{fill:currentColor;stroke:none}.footer-bottom{background:#536745;color:#fff;padding:16px max(24px,calc((100vw - var(--max))/2 + 24px));display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;font-size:12px}.footer-bottom a{color:#fff}.legal-links{display:flex;gap:18px;flex-wrap:wrap;align-items:center}@media(max-width:800px){.footer-main{grid-template-columns:1fr 1fr}.footer-social{grid-column:1/-1}}@media(max-width:700px){.nav{display:none}.header-actions{gap:10px}.shell{padding-top:34px}}@media(max-width:560px){.footer-main{grid-template-columns:1fr;gap:30px}.footer-social{grid-column:auto}.social-links,.footer-bottom{display:grid}}@media(max-width:430px){html,body{max-width:100%;overflow-x:hidden}.header-inner{padding:13px 16px;gap:12px}.brand{font-size:18px;max-width:calc(100vw - 112px);line-height:1.05}.header-actions{gap:8px;flex:0 0 auto}.lang-switch{flex:0 0 auto}.lang-switch a{min-width:32px;padding:5px 7px;font-size:11px}.shell{padding:32px 16px 56px}.footer-main{grid-template-columns:1fr;gap:28px;padding:36px 16px 30px}.footer-social{grid-column:auto}.social-links{display:grid;grid-template-columns:1fr 1fr;gap:12px}.footer-bottom{padding:14px 16px;display:grid;gap:8px;font-size:11px}.legal-links{display:grid;gap:6px}}@media(max-width:360px){.brand{font-size:16px;max-width:calc(100vw - 100px)}.lang-switch a{min-width:29px;padding:5px}.social-links{grid-template-columns:1fr}}@media screen and (max-width:767px){html,body{width:100%!important;max-width:100%!important;min-width:0!important;overflow-x:clip!important}body{margin:0!important}.site-header,main,.site-footer,.header-inner,.shell,.footer-main,.footer-bottom{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}.header-inner,.shell,.footer-main,.footer-bottom{margin-left:auto!important;margin-right:auto!important;padding-left:16px!important;padding-right:16px!important}.header-inner{gap:10px!important}.brand{min-width:0!important;max-width:calc(100vw - 112px)!important;font-size:18px!important;line-height:1.05!important}.header-actions,.lang-switch{flex:0 0 auto!important}.lang-switch a{min-width:31px!important;padding:5px 6px!important;font-size:11px!important}img,video,iframe,svg{max-width:100%!important}.footer-main{grid-template-columns:1fr!important;gap:28px!important}.footer-social{grid-column:auto!important}.social-links{display:grid!important;grid-template-columns:1fr 1fr!important}.footer-bottom,.legal-links{display:grid!important}}@media screen and (max-width:360px){.brand{font-size:16px!important;max-width:calc(100vw - 102px)!important}.social-links{grid-template-columns:1fr!important}}@media print{.site-header,.site-footer,.no-print{display:none!important}body{background:#fff}.shell{max-width:none;padding:0}}

/* Fix serif descenders on recipe card titles */

/* Mobile descender safety */


/* WIKIJEFF: uniformisation photo principale recette */
.recipe-hero img,
.recipe-image img,
.recipe-detail img.recipe-featured-image {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Wikijeff.Co project credit */
.footer-bottom{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto auto;
  align-items:center;
  column-gap:24px;
}
.footer-bottom .legal-links{
  justify-self:end;
}
.wikijeff-credit{
  justify-self:end;
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:#fff;
  text-decoration:none;
  line-height:1.05;
  opacity:.78;
  transition:opacity .2s ease;
  white-space:nowrap;
}
.wikijeff-credit:hover{opacity:1}
.wikijeff-credit-logo{
  display:block;
  width:28px;
  height:28px;
  object-fit:contain;
  flex:0 0 28px;
}
.wikijeff-credit-text{
  display:grid;
  gap:2px;
  min-width:max-content;
}
.wikijeff-credit-label{
  display:block;
  font-size:8px;
  font-weight:500;
  letter-spacing:.02em;
  opacity:.62;
}
.wikijeff-credit-text strong{
  display:block;
  font-size:11px;
  font-weight:700;
  letter-spacing:0;
}
@media(max-width:900px){
  .footer-bottom{
    grid-template-columns:1fr auto;
  }
  .wikijeff-credit{
    grid-column:2;
    grid-row:1 / span 2;
  }
  .footer-bottom .legal-links{
    justify-self:start;
  }
}
@media(max-width:560px){
  .footer-bottom{
    display:grid;
    grid-template-columns:1fr;
    gap:10px;
  }
  .footer-bottom .legal-links{
    justify-self:start;
  }
  .wikijeff-credit{
    grid-column:1;
    grid-row:auto;
    justify-self:start;
    margin-top:4px;
  }
  .wikijeff-credit-logo{
    width:24px;
    height:24px;
    flex-basis:24px;
  }
  .wikijeff-credit-label{font-size:8px}
  .wikijeff-credit-text strong{font-size:10px}
}
/* Wikijeff credit alignment adjustment */
.wikijeff-credit-text{
  align-self:center;
}






/* Footer validated layout — mobile fallback only */
@media(max-width:900px){
  .footer-bottom[style]{
    display:block!important;
  }
  .footer-bottom-inner[style]{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:10px!important;
  }
  .footer-bottom-inner .legal-links[style]{
    grid-column:1!important;
    grid-row:auto!important;
    flex-wrap:wrap!important;
    white-space:normal!important;
  }
  .footer-bottom > .wikijeff-credit[style]{
    position:static!important;
    transform:none!important;
    margin:10px 24px 16px!important;
  }
}
