/*
Theme Name: Lcartefood
Author: Lcartefood
Description: Louise's recipe notebook. Independent classic theme with Gutenberg.
Version: 0.1.9
Requires at least: 6.4
Requires PHP: 8.1
License: GPL-2.0-or-later
Text Domain: lcartefood
*/
@font-face{font-family:Inter;src:url('assets/inter.woff2') format('woff2');font-weight:100 900;font-style:normal;font-display:swap}
@font-face{font-family:'Source Serif 4';src:url('assets/source-serif-4.woff2') format('woff2');font-weight:200 900;font-style:normal;font-display:swap}
:root{--ink:#302c27;--olive:#59613d;--paper:#fbfaf6;--pale:#eef0e7;--line:#dddcd3;--muted:#666256}*{box-sizing:border-box}html{scroll-behavior:auto}body{margin:0;background:var(--paper);color:var(--ink);font:18px/1.75 Inter,Arial,sans-serif}h1,h2,h3,h4{font-family:'Source Serif 4',Georgia,serif;font-weight:500;line-height:1.2;letter-spacing:-.025em}h1{font-size:clamp(36px,4.6vw,62px)}h2{font-size:clamp(29px,3vw,40px)}h3{font-size:26px}a{color:var(--olive);text-underline-offset:4px}a:hover{text-decoration-thickness:2px}img{max-width:100%;height:auto;vertical-align:middle}button,input,textarea,select{font:inherit}button,.button{cursor:pointer}button,.button,input[type=submit]{background:var(--olive);color:#fff;border:0;border-radius:5px;padding:12px 22px;text-decoration:none;display:inline-block;line-height:1.4}input:not([type=checkbox]):not([type=radio]),textarea,select{max-width:100%;padding:12px;border:1px solid #7d816f;border-radius:5px;background:#fff;color:var(--ink)}:focus-visible{outline:3px solid var(--olive);outline-offset:5px}a,button{touch-action:manipulation}.shell{width:min(1200px,calc(100% - 64px));margin-inline:auto}.skip-link{position:absolute;top:-100px;left:10px;background:#fff;padding:12px;z-index:99}.skip-link:focus{top:10px}.site-header{border-bottom:1px solid var(--line)}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:96px;flex-wrap:wrap;padding-block:15px}.wordmark{font-family:'Source Serif 4',Georgia,serif;color:var(--ink);font-size:35px;letter-spacing:-1.4px;text-decoration:none}.wordmark span{color:var(--olive)}.main-menu{display:flex;gap:25px;flex-wrap:wrap;list-style:none;margin:0;padding:0;font-size:15px}.main-menu a{color:var(--ink);text-decoration:none}.main-menu .current-menu-item a{text-decoration:underline}.site-footer{border-top:1px solid var(--line);padding:50px 0;margin-top:60px}.footer-inner{display:flex;gap:30px;justify-content:space-between;flex-wrap:wrap}.footer-inner p{font-size:15px;color:var(--muted)}.quiet-label{font-size:12px;letter-spacing:.13em;text-transform:uppercase;color:var(--olive)}.home-intro{display:grid;grid-template-columns:1fr 1fr;gap:8%;align-items:center;padding-block:60px}.home-intro h1{margin:20px 0}.home-intro p{color:var(--muted)}.search-form{display:flex;gap:10px;flex-wrap:wrap}.search-form input{flex:1;min-width:150px}.feature-recipe{text-decoration:none;color:var(--ink);display:block}.feature-recipe img{height:470px;width:100%;object-fit:cover;border-radius:12px}.feature-caption{padding:24px;background:var(--pale);border-radius:0 0 12px 12px}.feature-caption h2{font-size:29px;margin:10px 0}.category-links{display:flex;gap:10px;flex-wrap:wrap;padding:0;list-style:none;margin:25px 0 35px}.category-links a{border:1px solid #a9ae99;padding:9px 16px;border-radius:30px;text-decoration:none;font-size:15px;display:block}.recipe-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px 26px}.recipe-tile a{text-decoration:none;color:var(--ink)}.recipe-tile img{width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:8px}.recipe-tile h2,.recipe-tile h3{font-size:25px;margin:12px 0}.tile-meta{font-size:13px;color:var(--olive);margin-top:15px}.recipe-tile p{font-size:15px;color:var(--muted)}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap}.page-heading{padding:45px 0 25px}.pagination{margin:40px 0}.page-numbers{padding:8px 13px}.page-numbers.current{background:var(--pale)}.recipe-opening{display:grid;grid-template-columns:1fr 1fr;gap:7%;align-items:center;padding-block:45px}.recipe-opening h1{margin:16px 0 24px}.recipe-opening-photo img{width:100%;height:570px;object-fit:cover;border-radius:10px}.recipe-opening-photo{margin:0}.recipe-actions{display:flex;gap:15px;flex-wrap:wrap;margin-top:25px}.byline{font-size:15px;color:var(--muted)}.breadcrumbs{font-size:13px;margin-top:24px}.article-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:65px;margin-block:50px}.entry-content{min-width:0;font-size:19px;line-height:1.8}.entry-content>*{max-width:100%}.entry-content h2,.entry-content h3{margin-top:38px}.entry-content figure{margin:30px 0}.entry-content img{height:auto}.entry-content a{overflow-wrap:anywhere}.entry-content>p:empty{display:none}.journey-sidebar{width:320px;min-width:300px;align-self:start}.sidebar-note{background:var(--pale);padding:26px;border-radius:8px}.sidebar-note h2{font-size:28px}.sidebar-note a{display:block;margin:15px 0;font-size:16px}.page-content{max-width:780px;margin:40px auto}.page-content h1{margin-bottom:35px}.comment-list{padding-left:25px}.comment-body{padding-block:20px;border-bottom:1px solid var(--line)}.comment-form label{display:block}.comment-form textarea{width:100%}.comments-area{margin-top:45px}.lcf-contact label{display:block;margin-top:20px}.lcf-contact input,.lcf-contact textarea{width:100%}.lcf-contact .lcf-hp{position:absolute;left:-10000px}.notice{padding:16px;border:1px solid var(--olive);background:var(--pale)}.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.not-found{padding-block:80px}.wp-block-image img{max-width:100%!important}.ad-layout-test{width:300px;min-height:250px;border:1px dashed #59613d;padding:10px;margin:30px 0;font-size:14px}
/* Small editorial accents carried over from the approved home-page prototype. */
.header-tools{display:flex;align-items:center;gap:20px;flex-wrap:wrap}
.header-search{display:inline-flex;align-items:center;gap:8px;min-height:44px;font-size:14px;white-space:nowrap}
.header-search svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round}
.social-links{display:flex;align-items:center;flex-wrap:wrap;gap:4px;list-style:none;padding:0;margin:0}
.social-links li{margin:0;padding:0}
.social-links .social-link{display:flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:10px;border-radius:50%;color:var(--olive);text-decoration:none;font-size:14px}
.social-links svg{display:block;fill:currentColor;width:22px;height:22px}
.social-links .social-link:hover{background:var(--pale);color:var(--ink)}
.recipe-actions .button-secondary{background:transparent;color:var(--olive);box-shadow:inset 0 0 0 1px var(--olive)}
.home-intro h1{line-height:1.12;margin-bottom:28px}
.heading-accent,.cook-word{color:var(--olive)}
.cook-word{position:relative;display:inline-block;white-space:nowrap}
.cook-word svg{position:absolute;left:0;bottom:-.17em;width:100%;height:.2em;fill:none;stroke:#bac39f;stroke-width:2.2;stroke-linecap:round;pointer-events:none}
.quiet-label-accent{display:flex;align-items:center;gap:10px}
.quiet-label-accent::before{content:"";display:block;width:24px;height:2px;background:var(--olive);flex-shrink:0}
.home-intro .little-note{border-left:2px solid #d0d5bd;padding-left:16px;margin-top:36px;font-size:14px;line-height:1.7}
.home-editorial>p{margin:0}.home-editorial>p+p{margin-top:12px}
.recipe-tile a:hover h2,.recipe-tile a:hover h3,.feature-recipe:hover h2{color:var(--olive)}
@media(max-width:1000px){.article-layout{gap:30px;grid-template-columns:minmax(0,1fr) 300px}.journey-sidebar{width:300px}.recipe-opening-photo img{height:500px}.home-intro{gap:5%}}
@media(max-width:850px){.article-layout{display:block}.journey-sidebar{margin-top:40px;width:100%;min-width:0}.sidebar-note{max-width:500px}.recipe-grid{gap:30px 20px}.recipe-opening-photo img{height:470px}.main-menu{gap:16px}.home-intro{padding-top:35px}.feature-recipe img{height:370px}}
@media(max-width:620px){.shell{width:calc(100% - 36px)}body{font-size:17px}.header-inner{gap:10px;min-height:80px}.wordmark{font-size:29px}.main-menu{gap:12px;font-size:14px}.header-inner nav{width:100%}.home-intro,.recipe-opening{display:block;padding-block:30px}.feature-recipe{margin-top:30px}.recipe-opening-photo{margin-top:30px}.recipe-opening-photo img{height:auto;max-height:520px;object-fit:cover}.recipe-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 16px}.recipe-tile h2,.recipe-tile h3{font-size:21px}.recipe-tile p{display:none}.entry-content{font-size:18px}.category-links{gap:7px}.category-links a{font-size:14px;padding:8px 12px}.article-layout{margin-top:25px}.footer-inner{display:block}.page-content{margin:30px auto}.lcf-facts{gap:18px}}
/* Compact site navigation: a single mobile header row and a quiet, useful footer. */
.mobile-menu{display:none}
.site-footer{padding:28px 0;margin-top:44px}
.footer-inner{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"brand social" "links legal";gap:8px 24px;align-items:center}
.footer-wordmark{grid-area:brand;font-size:29px}
.footer-inner>.social-nav{grid-area:social;justify-self:end}
.footer-inner>nav[aria-label="Footer navigation"]{grid-area:links}
.footer-inner .main-menu{font-size:13px;gap:16px}
.footer-inner .main-menu a{display:flex;align-items:center;min-height:44px}
.footer-inner .footer-copyright{grid-area:legal;margin:0;font-size:12px;text-align:right}
.privacy-page{max-width:720px}
.privacy-page h1{font-size:clamp(32px,4vw,44px);margin-bottom:16px}
.privacy-page .entry-content{font-size:16px;line-height:1.7}
.privacy-page .entry-content h2{font-size:24px;margin:26px 0 8px}
.privacy-page .entry-content p{margin:0 0 14px}
.privacy-page .policy-updated{font-size:13px;color:var(--muted)}
@media(max-width:1000px){
    .site-header{position:relative}
    .header-inner{display:grid;grid-template-columns:minmax(0,1fr) 44px 44px;gap:8px;min-height:72px;padding-block:10px}
    .header-inner .desktop-navigation,.header-inner .desktop-social{display:none}
    .header-tools{display:block;width:auto}
    .header-search{width:44px;justify-content:center}
    .header-search span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
    .mobile-menu{display:block}
    .mobile-menu summary{display:flex;align-items:center;justify-content:center;list-style:none;width:44px;height:44px;cursor:pointer;color:var(--olive);border-radius:5px}
    .mobile-menu summary::-webkit-details-marker{display:none}
    .mobile-menu summary svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round}
    .mobile-menu[open] summary{background:var(--pale)}
    .mobile-menu-panel{position:absolute;top:100%;left:0;right:0;z-index:10;background:var(--paper);border-bottom:1px solid var(--line);padding:12px 24px 18px;box-shadow:0 8px 16px #302c2710}
    .mobile-menu-panel .main-menu{display:flex;flex-direction:column;gap:0;font-size:16px}
    .mobile-menu-panel .main-menu a{display:flex;align-items:center;min-height:48px}
    .mobile-menu-panel .social-nav{border-top:1px solid var(--line);padding-top:10px;margin-top:8px}
}
@media(max-width:620px){
    .footer-inner{display:grid;grid-template-columns:1fr;grid-template-areas:"social" "links" "legal";justify-items:center;gap:4px}
    .site-footer{padding:20px 0;margin-top:32px}
    .footer-wordmark{display:none}
    .footer-inner>.social-nav{justify-self:center}
    .footer-inner .main-menu{justify-content:center;gap:0 10px;font-size:13px}
    .footer-inner .footer-copyright{text-align:center;margin-top:4px}
}
.back-to-top[hidden]{display:none}
.back-to-top{position:fixed;right:max(18px,env(safe-area-inset-right));bottom:calc(22px + var(--lcf-footer-overlap,0px) + env(safe-area-inset-bottom));z-index:20;display:flex;align-items:center;justify-content:center;width:44px;height:44px;color:var(--olive);background:var(--paper);border:1px solid var(--olive);border-radius:50%;box-shadow:0 2px 10px #302c2714;text-decoration:none}
.back-to-top:hover{color:var(--paper);background:var(--olive)}
.back-to-top svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
#page-top:focus{outline:none}
.comment-form-cookies-consent{display:flex;align-items:center;gap:9px}.comment-form-cookies-consent label{margin:0}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
@media print{.back-to-top{display:none!important}}
@media print{.site-header,.site-footer,.journey-sidebar,.recipe-opening,.breadcrumbs,.comments-area{display:none}.article-layout{display:block}.entry-content>*:not(.lcf-recipe){display:none}.shell{width:100%}}
