/*
Theme Name: No Cooking Clue
Theme URI: https://no-cooking-clue.adam522955.chatgpt.site/
Author: No Cooking Clue
Description: A playful editorial recipe theme for an aunt-and-nephew cooking journal.
Version: 2.6.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: no-cooking-clue
*/
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700;800&family=Fraunces:opsz,wght@9..144,600;9..144,800;9..144,900&family=Rock+Salt&display=swap');
:root{--red:#e7472e;--ink:#17201c;--paper:#f4efe3;--yellow:#f4c845;--sage:#9eaa86;--cream:#fffaf0}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:"DM Sans",sans-serif}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto}button,input{font:inherit}.wrap{width:min(1280px,88vw);margin:auto}.ticker{height:34px;background:var(--ink);color:var(--cream);display:flex;align-items:center;justify-content:space-around;text-transform:uppercase;font-size:10px;font-weight:800;letter-spacing:.14em}.ticker i{color:var(--yellow)}.site-header{height:102px;border-bottom:1.5px solid;display:flex;align-items:center}.header-inner{display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:12px;font:800 20px/.9 "Fraunces"}.brand-mark{width:55px;height:55px;border-radius:50%;background:var(--red);color:white;display:grid;place-items:center;font:800 16px "DM Sans";border:2px solid;transform:rotate(-7deg)}.custom-logo{max-height:58px;width:auto}.menu-list{display:flex;gap:34px;list-style:none;padding:0;margin:0;font-size:14px;font-weight:800}.menu-list a{padding-bottom:6px;border-bottom:2px solid transparent}.menu-list a:hover{border-color:var(--red)}.header-contact,.social-link{width:44px;height:44px;border:1.5px solid;border-radius:50%;display:grid;place-items:center;font-size:19px}.header-contact:hover,.social-link:hover{background:var(--red);color:white}.menu-toggle{display:none;background:none;border:1.5px solid;border-radius:50%;width:44px;height:44px}.hero{min-height:700px;display:grid;grid-template-columns:47% 53%;border-bottom:1.5px solid}.hero-copy{padding:90px max(6vw,calc((100vw - 1280px)/2)) 80px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}.eyebrow{text-transform:uppercase;letter-spacing:.18em;font-size:11px;font-weight:800;display:flex;align-items:center;gap:10px}.eyebrow:before{content:"";width:30px;height:2px;background:var(--red)}h1,h2,h3,p{margin-top:0}.hero h1{font:900 clamp(54px,6.7vw,108px)/.84 "Fraunces";letter-spacing:-.055em;margin:18px 0 32px}.hero h1 em,.story h2 em{color:var(--red);font-weight:600}.hero-copy>p:not(.eyebrow){font-size:17px;line-height:1.7;max-width:590px}.ncc-button{background:var(--ink);color:white;padding:17px 22px;font-weight:800;box-shadow:5px 5px 0 var(--red);margin-top:18px}.hero-visual{background:var(--yellow);padding:50px 7vw 50px 3vw;display:grid;place-items:center;background-image:radial-gradient(#17201c33 1px,transparent 1px);background-size:18px 18px}.hero-photo{width:min(100%,610px);height:570px;border:3px solid;padding:12px;background:var(--paper);transform:rotate(2deg);box-shadow:12px 12px 0 #17201c33}.hero-photo img{width:100%;height:100%;object-fit:cover}.placeholder-art{width:100%;height:100%;display:grid;place-items:center;background:linear-gradient(135deg,var(--red),#9b281a);color:white;font:900 76px "Fraunces"}.recipes{padding:110px 0}.section-title{display:grid;grid-template-columns:1fr 320px;gap:60px;align-items:end;margin-bottom:50px}.section-title h2,.story h2,.newsletter h2,.footer-title,.archive-title{font:800 clamp(42px,5vw,76px)/.95 "Fraunces";letter-spacing:-.045em;margin:18px 0 0}.section-title>p{line-height:1.7}.recipe-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:46px 24px}.recipe-card-image{height:330px;border:1.5px solid;overflow:hidden;position:relative;background:var(--sage)}.recipe-card-image img{width:100%;height:100%;object-fit:cover;transition:.4s}.recipe-card:hover img{transform:scale(1.04)}.recipe-number,.recipe-time{position:absolute;background:var(--paper);border:1.5px solid;padding:10px;font-weight:800}.recipe-number{top:-1px;left:-1px}.recipe-time{right:12px;bottom:12px;background:var(--yellow);transform:rotate(-3deg)}.recipe-copy{padding:20px 5px}.recipe-meta{font-size:10px;text-transform:uppercase;letter-spacing:.1em;font-weight:800;color:#626961}.recipe-copy h3{font:700 27px/1.05 "Fraunces"}.read-more{font-size:12px;font-weight:800;border-bottom:1.5px solid}.story{background:var(--ink);color:var(--paper);padding:100px 0}.story-inner{display:grid;grid-template-columns:1.05fr .95fr;gap:8vw;align-items:center}.story-image{height:580px;border:10px solid var(--paper);transform:rotate(-2deg);box-shadow:14px 14px 0 var(--red)}.story-image img{width:100%;height:100%;object-fit:cover}.story-copy>p:not(.eyebrow){line-height:1.8;color:#d8d6cc}.signatures{color:var(--yellow);font:16px "Rock Salt";margin-top:30px}.newsletter{padding:90px 0;background:var(--yellow)}.newsletter-inner{display:grid;grid-template-columns:1fr 1fr;gap:8vw;align-items:end}.newsletter p{line-height:1.7}.newsletter-form{display:flex}.newsletter-form input{width:100%;padding:17px;border:2px solid;background:var(--paper)}.newsletter-form button{border:2px solid;border-left:0;background:var(--red);color:white;padding:0 22px;font-weight:800}.site-footer{padding:80px 0 30px}.footer-title{font-size:56px}.footer-grid{display:grid;grid-template-columns:1fr 1fr;border-top:1.5px solid;margin-top:60px;padding:35px 0}.footer-grid h3{font-size:11px;text-transform:uppercase;letter-spacing:.14em}.socials{display:flex;gap:10px}.footer-bottom{border-top:1.5px solid;padding-top:22px;display:flex;justify-content:space-between;font-size:10px;text-transform:uppercase;letter-spacing:.1em;font-weight:800}.content-area{padding:80px 0;min-height:55vh}.post-shell{max-width:850px}.post-shell h1,.archive-title{font:800 clamp(46px,6vw,80px)/.95 "Fraunces"}.entry-content{font-size:17px;line-height:1.8}.entry-content img{border:1.5px solid}.post-thumb{margin:35px 0}.pagination{margin-top:45px}.pagination .page-numbers{padding:10px 14px;border:1px solid;margin-right:6px}.screen-reader-text{position:absolute;left:-9999px}.widget-area{margin-top:50px;padding-top:30px;border-top:1px solid}
@media(max-width:900px){.site-header{height:82px}.menu-toggle{display:block}.menu-list{display:none;position:absolute;top:116px;left:0;right:0;background:var(--paper);padding:28px 6vw;border-bottom:1.5px solid;flex-direction:column}.menu-list.open{display:flex}.header-contact{display:none}.hero{grid-template-columns:1fr}.hero-copy{padding:80px 7vw}.hero-visual{padding:55px 9vw}.hero-photo{height:500px}.section-title{grid-template-columns:1fr}.recipe-grid{grid-template-columns:repeat(2,1fr)}.story-inner,.newsletter-inner{grid-template-columns:1fr}.story-image{height:500px}.footer-grid{grid-template-columns:1fr;gap:30px}}
@media(max-width:580px){.ticker span:last-of-type,.ticker i:last-of-type{display:none}.brand span:last-child{display:none}.recipe-grid{grid-template-columns:1fr}.hero-photo{height:380px}.recipes,.story,.newsletter{padding:75px 0}.recipe-card-image{height:350px}.newsletter-form{display:block}.newsletter-form button{width:100%;padding:16px;border-left:2px solid;border-top:0}.footer-bottom{flex-direction:column;gap:12px}}
.newsletter-form{display:flex;flex-wrap:wrap}.newsletter-form input[type=email]{width:calc(100% - 150px)}.newsletter-form button{width:150px}.newsletter-form button:disabled{opacity:.65;cursor:wait}.newsletter-consent{width:100%;display:flex;gap:9px;align-items:flex-start;font-size:12px;line-height:1.45;margin-top:12px}.newsletter-consent input{width:auto;margin-top:3px}.newsletter-status{width:100%;min-height:24px;margin:12px 0 0;font-weight:700}.newsletter-status.error{color:#861b10}.newsletter-status.success{color:#174b2b}.ncc-honeypot{position:absolute!important;left:-9999px!important}
@media(max-width:580px){.newsletter-form input[type=email],.newsletter-form button{width:100%}}
.legal-menu{display:flex;gap:18px;flex-wrap:wrap;list-style:none;margin:24px 0 0;padding:0;font-size:11px;font-weight:800}.legal-menu a{text-decoration:underline;text-underline-offset:3px}
.recipe-filters{display:grid;grid-template-columns:minmax(240px,1.5fr) minmax(180px,1fr) minmax(180px,1fr) auto;gap:16px;align-items:end;margin:38px 0 20px;padding:24px;border:1.5px solid;background:var(--cream);box-shadow:7px 7px 0 var(--yellow)}.recipe-filter-field label{display:block;margin-bottom:8px;font-size:11px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.recipe-filter-field input,.recipe-filter-field select{width:100%;min-height:50px;padding:12px;border:1.5px solid var(--ink);border-radius:0;background:white;color:var(--ink);font:inherit}.recipe-filter-actions{display:flex;flex-direction:column;align-items:center;gap:12px}.recipe-filter-actions .ncc-button{margin:0;border:0;min-height:50px;cursor:pointer}.recipe-filter-clear{font-size:12px;font-weight:800;text-decoration:underline}.recipe-result-count{margin:32px 0 18px;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.recipe-no-results{grid-column:1/-1;padding:35px;border:1.5px dashed;text-align:center}.recipe-facts{display:flex;flex-wrap:wrap;margin:30px 0;border:1.5px solid;background:var(--cream);box-shadow:6px 6px 0 var(--yellow)}.recipe-facts>div{min-width:150px;flex:1;padding:18px 22px;border-right:1.5px solid}.recipe-facts>div:last-child{border-right:0}.recipe-facts dt{font-size:10px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.recipe-facts dd{margin:6px 0 0;font:700 22px "Fraunces"}@media(max-width:900px){.recipe-filters{grid-template-columns:1fr 1fr}.recipe-filter-search{grid-column:1/-1}.recipe-filter-actions{align-items:stretch}}@media(max-width:560px){.recipe-filters{grid-template-columns:1fr}.recipe-filter-search{grid-column:auto}.recipe-facts{display:block}.recipe-facts>div{border-right:0;border-bottom:1.5px solid}.recipe-facts>div:last-child{border-bottom:0}}
.cookie-settings-link{margin-top:20px;padding:0;border:0;border-bottom:1px solid;background:transparent;color:inherit;font:800 11px "DM Sans";cursor:pointer}.cookie-banner[hidden]{display:none}.cookie-banner{position:fixed;z-index:9999;left:24px;right:24px;bottom:24px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:30px;align-items:center;max-width:1000px;margin:auto;padding:25px 28px;border:2px solid var(--ink);background:var(--cream);box-shadow:10px 10px 0 var(--yellow);opacity:0;transform:translateY(18px);transition:opacity .25s ease,transform .25s ease}.cookie-banner.visible{opacity:1;transform:translateY(0)}.cookie-kicker{margin:0 0 6px;color:var(--red);font-size:10px;font-weight:800;letter-spacing:.14em;text-transform:uppercase}.cookie-banner h2{margin:0 0 8px;font:800 27px/1 "Fraunces"}.cookie-banner-copy>div p{margin:0;max-width:680px;font-size:13px;line-height:1.55}.cookie-policy-link{display:inline-block;margin-top:9px;font-size:11px;font-weight:800;text-decoration:underline;text-underline-offset:3px}.cookie-banner-actions{display:flex;flex-direction:column;gap:10px;min-width:220px}.cookie-button{min-height:46px;padding:11px 16px;border:1.5px solid var(--ink);font:800 12px "DM Sans";cursor:pointer}.cookie-accept{background:var(--ink);color:white;box-shadow:4px 4px 0 var(--red)}.cookie-reject{background:transparent;color:var(--ink)}.cookie-button:focus-visible,.cookie-settings-link:focus-visible{outline:3px solid var(--red);outline-offset:3px}@media(max-width:720px){.cookie-banner{left:12px;right:12px;bottom:12px;grid-template-columns:1fr;gap:18px;padding:21px;max-height:calc(100vh - 24px);overflow:auto}.cookie-banner-actions{min-width:0}.cookie-banner h2{font-size:24px}}
.recipe-print-button{display:inline-flex;align-items:center;gap:9px;margin:0 0 30px;padding:13px 17px;border:1.5px solid var(--ink);background:var(--yellow);color:var(--ink);box-shadow:4px 4px 0 var(--red);font:800 12px "DM Sans";cursor:pointer}.recipe-print-button:hover{transform:translate(-1px,-1px);box-shadow:5px 5px 0 var(--red)}.recipe-print-button:focus-visible{outline:3px solid var(--red);outline-offset:4px}.recipe-print-button:disabled{opacity:.7;cursor:wait;transform:none}.brand-home{display:flex;align-items:center;gap:12px}.brand-mark-image{display:block;width:100%;height:100%;border-radius:50%;object-fit:cover}.header-brand-image{display:block;width:auto;height:auto;max-width:min(var(--ncc-header-brand-width,440px),50vw);max-height:var(--ncc-header-brand-height,74px);object-fit:contain}.brand-layout-banner-title .header-brand-image{max-width:min(var(--ncc-header-brand-width,440px),38vw)}.instagram-icon{position:relative;display:block;width:19px;height:19px;border:2px solid currentColor;border-radius:6px}.instagram-icon:before{content:"";position:absolute;left:50%;top:50%;width:7px;height:7px;border:2px solid currentColor;border-radius:50%;transform:translate(-50%,-50%)}.instagram-icon:after{content:"";position:absolute;right:3px;top:3px;width:3px;height:3px;border-radius:50%;background:currentColor}@media(max-width:900px){.header-brand-image{max-width:min(var(--ncc-header-brand-width,440px),58vw);max-height:min(var(--ncc-header-brand-height,74px),58px)}.brand-layout-banner-title .header-brand-image{max-width:min(var(--ncc-header-brand-width,440px),38vw)}}@media print{@page{margin:18mm}.ticker,.site-header,.site-footer,.cookie-banner,.recipe-print-button{display:none!important}html,body{background:#fff!important;color:#000!important}.content-area{padding:0!important;min-height:0}.wrap,.post-shell{width:100%!important;max-width:none!important;margin:0!important}.post-shell h1{font-size:34pt!important;line-height:1.05;margin-bottom:16pt}.eyebrow{font-size:9pt}.eyebrow:before{background:#000}.recipe-facts{margin:16pt 0!important;background:#fff!important;box-shadow:none!important;break-inside:avoid;page-break-inside:avoid}.recipe-facts>div{padding:10pt 12pt}.recipe-facts dd{font-size:15pt}.intro,.entry-content{font-size:11pt!important;line-height:1.5!important}.entry-content h2,.entry-content h3{break-after:avoid;page-break-after:avoid}.entry-content p,.entry-content li{orphans:3;widows:3}.entry-content figure,.entry-content .wp-block-image,.entry-content .wp-caption{display:block!important;float:none!important;width:100%!important;max-width:100%!important;margin:12pt auto!important;break-inside:avoid!important;page-break-inside:avoid!important}.entry-content img{display:block!important;float:none!important;width:auto!important;height:auto!important;max-width:100%!important;max-height:130mm!important;margin:0 auto!important;object-fit:contain!important;break-inside:avoid!important;page-break-inside:avoid!important}.entry-content figcaption,.entry-content .wp-caption-text{margin:5pt auto 0!important;font-size:9pt!important;line-height:1.35!important;text-align:center!important}}
