/*
Theme Name: BurgerLovers Journal
Author: BurgerLovers
Description: A bilingual, lightweight burger journal. Requires BurgerLovers plugin and Polylang.
Version: 0.1.0
Requires at least: 6.6
Requires PHP: 7.4
Text Domain: burgerlovers
*/
:root{--coal:#171714;--paper:#f5f0e7;--mustard:#eaaa2b;--green:#405b42;--red:#b73f2f;--muted:#68665f;--line:#d4cdbc;--white:#fffcf6;--space:clamp(20px,4vw,64px);--radius:3px;--shadow:0 12px 32px #17171412;--reading:720px;--font-body:Arial,Helvetica,sans-serif;--font-display:Impact,'Arial Narrow',sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--coal);background:var(--paper);font-family:var(--font-body);line-height:1.65;font-size:17px}a{color:inherit;text-underline-offset:4px}button,input,select,textarea{font:inherit}button,.button{cursor:pointer}button,a,input,select,summary{touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid var(--red);outline-offset:4px}img{max-width:100%;height:auto;display:block}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.05}h1,h2,.display{font-family:var(--font-display);font-weight:400;letter-spacing:-.025em}h1{font-size:clamp(48px,7vw,104px)}h2{font-size:clamp(32px,4vw,52px)}h3{font-size:23px;letter-spacing:-.03em}p{margin-bottom:1.25em}.wrap{max-width:1440px;margin:auto;padding-inline:var(--space)}.skip{position:absolute;left:12px;top:-120px;z-index:100;background:var(--mustard);padding:14px}.skip:focus{top:12px}.site-header{background:var(--paper);border-bottom:1px solid var(--line)}.header-main{display:flex;align-items:center;gap:28px;min-height:99px}.brand{text-decoration:none;display:flex;align-items:center;gap:10px;white-space:nowrap}.brand svg{width:42px;height:38px}.brand span{font-family:var(--font-display);font-size:31px;letter-spacing:-1px}.main-nav{display:flex;gap:22px;margin-left:auto;align-items:center;font-size:14px;font-weight:700}.main-nav a{text-decoration:none;white-space:nowrap}.main-nav a:hover{text-decoration:underline}.utilities{display:flex;align-items:center;gap:14px;font-size:13px}.languages{display:flex;gap:6px;list-style:none;padding:0;margin:0}.languages a,.language-unavailable{width:25px;height:20px;display:grid;place-items:center;text-decoration:none;border:1px solid transparent;border-radius:2px}.language-flag{display:block;width:22px;height:14px;box-shadow:0 1px 2px #17171433}.languages .current{border-color:var(--coal);background:var(--white)}.language-unavailable{opacity:.42}.menu-toggle{display:none;background:none;border:1px solid var(--coal);padding:10px 15px;min-height:44px}.strap{background:var(--coal);color:var(--paper);font-size:11px;text-transform:uppercase;letter-spacing:.15em}.strap .wrap{display:flex;justify-content:space-between;gap:10px;padding-block:8px}.eyebrow{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.15em;margin-bottom:20px}.hero{background:var(--coal);color:var(--paper);display:grid;grid-template-columns:1fr 1fr;min-height:600px;overflow:hidden}.hero-copy{padding:60px 40px 64px max(var(--space),calc((100vw - 1312px)/2));align-self:center}.hero h1{margin-bottom:25px}.hero h1 em{font-style:normal;color:var(--mustard)}.hero p{max-width:430px;color:#d9d4c9;font-size:18px}.hero figure{margin:0;position:relative;min-height:100%;background:#494339}.hero img{width:100%;height:100%;object-fit:cover;object-position:52% center;position:absolute}.hero figcaption{position:absolute;bottom:18px;right:18px;background:var(--coal);color:var(--paper);padding:3px 8px;font-size:10px;letter-spacing:.05em}.button{background:var(--mustard);color:var(--coal);padding:14px 23px;display:inline-flex;align-items:center;gap:24px;text-decoration:none;border:1px solid transparent;border-radius:var(--radius);font-size:14px;font-weight:800;min-height:48px}.button.secondary{background:transparent;border-color:currentColor}.actions{display:flex;flex-wrap:wrap;gap:13px;margin-top:28px}.ticker{padding-block:15px;border-bottom:1px solid var(--line);display:flex;justify-content:center;gap:clamp(20px,5vw,80px);font-size:11px;font-weight:800;letter-spacing:.11em;text-transform:uppercase}.ticker span::before{content:'✳';color:var(--red);margin-right:16px}.section{padding-block:64px}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:30px}.section-heading h2{margin:0}.section-heading a{font-size:13px;font-weight:700}.entry-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}.entry-card{border-bottom:1px solid var(--line);padding-bottom:24px}.entry-card .visual{aspect-ratio:4/3;background:#ded6c6;overflow:hidden;position:relative;margin-bottom:22px}.entry-card .visual img{width:100%;height:100%;object-fit:cover;transition:transform .2s}.entry-card a:hover img{transform:scale(1.025)}.entry-card h3 a{text-decoration:none}.entry-card h3 a:hover{text-decoration:underline}.entry-card .meta{font-size:10px;font-weight:800;letter-spacing:.13em;text-transform:uppercase;color:var(--green);margin-bottom:10px}.entry-card p{font-size:14px;color:var(--muted);margin-bottom:0}.entry-card .visual .type-letter{font-family:var(--font-display);font-size:90px;position:absolute;left:20px;bottom:0;color:var(--green)}.portal-grid{display:grid;grid-template-columns:repeat(3,1fr);border-bottom:1px solid var(--line)}.portal{display:flex;align-items:start;gap:20px;padding:32px 26px;text-decoration:none;border-right:1px solid var(--line)}.portal:last-child{border:0}.portal .number{font-family:var(--font-display);font-size:34px;color:var(--red)}.portal h3{margin:2px 0 8px}.portal p{font-size:13px;color:var(--muted);margin:0}.tool-teaser{background:var(--green);color:var(--paper);display:grid;grid-template-columns:1.15fr 1fr;gap:50px;padding:44px;margin-top:24px}.tool-teaser .big-math{border-left:1px solid #8e9e89;padding-left:40px;display:flex;flex-direction:column;justify-content:center}.big-math strong{font-family:var(--font-display);font-size:66px;font-weight:400;line-height:1.1}.big-math small{font-size:13px;color:#e6ecdf}.tag{display:inline-block;border:1px solid currentColor;padding:4px 10px;font-size:11px;letter-spacing:.06em}.article-header{padding-top:40px;max-width:1100px}.breadcrumbs{font-size:12px;color:var(--muted);margin-bottom:32px}.article-header h1{max-width:1000px;font-size:clamp(42px,6vw,78px)}.lede{font-size:21px;max-width:760px;color:var(--muted)}.article-meta{font-size:12px;display:flex;flex-wrap:wrap;gap:15px;margin:24px 0}.article-cover{margin:28px 0 40px}.article-cover img{width:100%;max-height:540px;object-fit:cover}.article-cover figcaption{font-size:11px;margin-top:8px;color:var(--muted)}.reading{max-width:var(--reading);margin-inline:auto}.article-body{padding-bottom:55px}.article-body h2{font-family:var(--font-body);font-weight:800;font-size:29px;letter-spacing:-.03em;margin:40px 0 16px;line-height:1.2}.article-body h3{margin:28px 0 12px}.recipe-card{border:1px solid var(--line);padding:32px;background:var(--white);margin:40px 0;box-shadow:var(--shadow)}.recipe-card h2{margin-top:0}.recipe-controls{display:flex;gap:12px;flex-wrap:wrap;align-items:center;border-block:1px solid var(--line);padding:18px 0;margin:20px 0}.recipe-controls input{width:80px}.recipe-card ul,.recipe-card ol{padding:0;list-style:none}.recipe-card li{padding:10px 0;border-bottom:1px solid var(--line)}.recipe-card label{display:flex;gap:12px;align-items:baseline}.recipe-card input[type=checkbox]{width:20px;height:20px;flex-shrink:0;accent-color:var(--green)}.recipe-card input:checked+span{text-decoration:line-through;color:var(--muted)}.recipe-card input[type=number],input[type=search],select{border:1px solid var(--muted);background:var(--white);border-radius:2px;padding:10px;min-height:44px}.recipe-note{font-size:12px;color:var(--muted)}.kitchen-active .site-header,.kitchen-active .strap,.kitchen-active .site-footer,.kitchen-active .article-header,.kitchen-active .article-prose,.kitchen-active .article-cover,.kitchen-active .related{display:none}.kitchen-active .reading{max-width:1000px}.kitchen-active .recipe-card{font-size:23px;line-height:1.7}.kitchen-active .recipe-card h2{font-size:40px}.lesson-controls{padding:25px;background:#e7eddf;border-left:4px solid var(--green);margin:30px 0}.site-footer{background:var(--coal);color:var(--paper);padding-block:48px}.footer-top{display:flex;gap:50px;justify-content:space-between}.footer-top p{font-size:13px;max-width:400px;color:#c3beb3}.footer-links{display:flex;gap:24px;font-size:13px;flex-wrap:wrap}.footer-bottom{border-top:1px solid #4f4c44;margin-top:30px;padding-top:20px;font-size:11px;color:#c3beb3;display:flex;justify-content:space-between;gap:20px}.empty{padding:45px;border:1px solid var(--line);max-width:760px;background:var(--white)}.search-form{display:flex;flex-wrap:wrap;gap:12px;margin:24px 0}.search-form label{flex:1;min-width:180px}.search-form input{width:100%}.filters{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0}.filters label{font-size:13px}.filters select{display:block;max-width:190px}.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.pagination{padding-top:35px}.pagination a,.pagination span{padding:10px}.notice{padding:12px 16px;border-left:3px solid var(--mustard);font-size:13px;background:#ece5d7}.timer{font-variant-numeric:tabular-nums;padding:5px 0;font-size:16px}.mobile-only{display:none}.progress-note{font-size:13px}.tool-page{max-width:1000px}.tool-page h1{font-size:clamp(42px,6vw,76px)}
@media(max-width:1150px){.main-nav{gap:13px}.header-main{gap:18px}.brand span{font-size:27px}.utilities{gap:8px}.hero-copy{padding:45px 30px}.hero{min-height:530px}.header-main .main-nav{font-size:12px}}
@media(max-width:900px){.menu-toggle{display:block;margin-left:auto}.header-main{flex-wrap:wrap;min-height:84px;padding-block:16px;gap:12px}.main-nav{display:none;order:4;width:100%;margin:0;flex-direction:column;align-items:stretch;gap:0}.main-nav.open{display:flex}.main-nav a{padding:13px 0;border-bottom:1px solid var(--line)}.utilities{margin-left:4px}.hero{min-height:500px}.hero h1{font-size:64px}.hero-copy{padding:35px 25px}.entry-grid{gap:18px}.portal{padding:24px 15px;gap:10px}.tool-teaser{gap:25px;padding:30px}.footer-top{gap:25px}}
@media(max-width:600px){body{font-size:16px}.header-main{gap:9px}.brand span{font-size:28px}.brand svg{width:33px}.utilities{width:100%;justify-content:space-between;border-top:1px solid var(--line);padding-top:11px}.languages a{padding:7px}.strap .wrap{font-size:9px}.strap .desktop{display:none}.hero{display:flex;flex-direction:column}.hero-copy{padding:38px 24px 40px}.hero h1{font-size:64px;line-height:.98;margin-bottom:20px}.hero p{font-size:16px}.hero figure{height:310px;min-height:310px;order:2}.hero img{object-position:50% 55%}.eyebrow{font-size:10px;margin-bottom:18px}.ticker{font-size:9px;gap:15px;padding-inline:15px}.ticker span::before{margin-right:7px}.ticker span:last-child{display:none}.portal-grid{grid-template-columns:1fr}.portal{padding:23px 0;border-right:0;border-bottom:1px solid var(--line);gap:20px}.portal:last-child{border:0}.portal h3{font-size:22px}.section{padding-block:40px}.section-heading{align-items:start}.section-heading h2{font-size:36px}.section-heading a{font-size:11px;max-width:105px}.entry-grid{grid-template-columns:1fr;gap:32px}.entry-card .visual{aspect-ratio:3/2}.tool-teaser{grid-template-columns:1fr;padding:28px;gap:25px;margin-top:5px}.tool-teaser .big-math{border-left:0;border-top:1px solid #8e9e89;padding-left:0;padding-top:25px}.big-math strong{font-size:57px}.article-header{padding-top:25px}.article-header h1{font-size:45px}.lede{font-size:18px}.article-body h2{font-size:26px}.recipe-card{padding:20px;margin-inline:-6px}.recipe-controls{gap:9px}.recipe-controls .button{font-size:12px;padding:11px 14px}.footer-top,.footer-bottom{flex-direction:column;gap:18px}.footer-links{gap:15px}.search-form .button{width:100%}.filters{display:grid;grid-template-columns:1fr 1fr}.filters select{max-width:100%;width:100%}.empty{padding:25px}.kitchen-active .recipe-card{font-size:21px}.mobile-only{display:block}}
h1,h2,h3{overflow-wrap:anywhere}.entry-grid:has(>.entry-card:nth-child(2):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}.entry-grid:has(>.entry-card:nth-child(2):last-child) .visual{aspect-ratio:3/2}.main-nav .menu{display:flex;gap:22px;padding:0;margin:0;list-style:none}.language-suggestion{font-size:12px;background:#e8e0d0;padding:8px 20px;text-align:center}.language-suggestion a{font-weight:700}.home-editable{padding-top:36px}
@media(max-width:600px){.entry-grid:has(>.entry-card:nth-child(2):last-child){grid-template-columns:1fr}.main-nav .menu{display:block}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}
@media print{body{background:white;color:black;font-size:12pt}.site-header,.strap,.site-footer,.hero,.related,.recipe-controls,.article-cover,.lesson-controls,.no-print{display:none!important}.reading{max-width:none}.recipe-card{box-shadow:none;border:0;padding:0}.recipe-card li{break-inside:avoid}.recipe-card input[type=checkbox]{appearance:none;border:1px solid black;width:12pt;height:12pt}.article-header h1{font-size:25pt}.article-body h2{font-size:18pt}a{color:black}.kitchen-active .recipe-card{font-size:14pt}}
.hero .button.secondary{color:var(--paper)}.entry-card.no-image{background:#e6ddcc;padding:32px;display:flex;flex-direction:column;justify-content:center}.entry-card.no-image h3{font-size:clamp(28px,3vw,40px)}.entry-card.no-image::before{content:"+";font-family:var(--font-display);font-size:90px;line-height:1;color:var(--green);margin-bottom:20px}
@media(max-width:900px){.main-nav .menu{display:block}}
