/*
Theme Name: Mimuškina kuchárka
Description: Svetlá domáca kuchárka s prehľadnými kartami receptov.
Version: 1.2.0
Text Domain: mimuskina-kucharka
*/
:root{--paper:#faf7ef;--ink:#263e31;--green:#476b48;--muted:#71766a;--line:#e6e4d8}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:17px/1.7 system-ui,sans-serif}a{color:inherit;text-decoration:none}a:hover{color:var(--green)}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #a77b30;outline-offset:4px}.wrap{width:min(1180px,calc(100% - 48px));margin:auto}.site-header{border-bottom:1px solid var(--line);background:#fffdf8}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:25px 0}.brand{font:700 27px Georgia,serif}.brand small{display:block;font:11px/2 system-ui,sans-serif;letter-spacing:2px;color:var(--muted);text-transform:uppercase}.home-link{font-size:14px}.hero{text-align:center;padding:65px 20px 42px}.eyebrow{text-transform:uppercase;font-size:11px;letter-spacing:3px;color:var(--green);font-weight:700}h1,h2,h3{font-family:Georgia,serif;line-height:1.18;font-weight:500}h1{font-size:clamp(36px,5vw,62px);margin:18px 0}h2{font-size:29px}.hero p{max-width:560px;margin:0 auto 28px;color:var(--muted)}.searchform{display:flex;max-width:550px;margin:24px auto;gap:8px}.searchform input{min-width:0;flex:1;padding:15px 18px;border:1px solid var(--line);border-radius:7px;background:white;font:inherit}.searchform button{border:0;border-radius:7px;background:var(--green);color:white;padding:12px 24px;font:600 14px system-ui;cursor:pointer}.categories{display:flex;flex-wrap:wrap;justify-content:center;gap:9px;padding:0 0 40px}.categories a{padding:7px 15px;border:1px solid #dce1d1;border-radius:40px;font-size:13px;background:#fffdf8}.section-title{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);padding:25px 0 22px}.section-title h2{margin:0}.section-title span{color:var(--muted);font-size:13px}.recipe-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px}.card{background:#fffdf8;border:1px solid var(--line);border-radius:12px;overflow:hidden;transition:transform .2s}.card:hover{transform:translateY(-3px)}.card-image{display:block;aspect-ratio:4/3;overflow:hidden;background:#e7eadb}.card-image img{width:100%;height:100%;object-fit:cover;display:block}.placeholder{height:100%;display:grid;place-items:center;color:#869776;font:italic 25px Georgia}.card-body{padding:23px}.tag{font-size:10px;text-transform:uppercase;letter-spacing:1.8px;color:var(--green);font-weight:700}.card h2{font-size:25px;margin:12px 0 18px}.read-more{font-size:13px;font-weight:600}.pagination{padding:45px 0;text-align:center}.page-numbers{display:inline-block;margin:4px;padding:8px 15px;border:1px solid var(--line);border-radius:6px}.page-numbers.current{background:var(--green);color:white}.site-footer{margin-top:40px;border-top:1px solid var(--line);padding:32px 0;color:var(--muted);font-size:13px;text-align:center}.single-recipe{max-width:780px;margin:45px auto}.single-recipe h1{font-size:clamp(34px,5vw,52px)}.entry-content{background:#fffdf8;border:1px solid var(--line);border-radius:12px;padding:clamp(22px,5vw,48px);margin-top:30px;color:#384536}.entry-content img{max-width:100%;height:auto;border-radius:6px}.entry-content figure{max-width:100%;margin:25px 0}.entry-content a{text-decoration:underline}.entry-content h2{margin-top:32px}.entry-content iframe,.entry-content video{max-width:100%}.entry-content table{max-width:100%;border-collapse:collapse}.entry-content td{padding:8px;border:1px solid var(--line)}.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.back{font-size:13px;color:var(--green)}@media(max-width:800px){.recipe-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero{padding-top:40px}}@media(max-width:520px){.wrap{width:calc(100% - 32px)}.recipe-grid{grid-template-columns:1fr;gap:22px}.brand{font-size:23px}.home-link{font-size:12px}.hero{padding:35px 0 20px}.searchform button{padding:12px 15px}.categories{justify-content:flex-start;padding-bottom:25px}.section-title span{display:none}}

.recipe-comments{margin:40px 0}.recipe-comments textarea,.recipe-comments input:not([type=checkbox]){max-width:100%;padding:12px;border:1px solid var(--line);border-radius:6px;font:inherit}.recipe-comments label{display:block}.recipe-comments .submit{background:var(--green);color:white;cursor:pointer}.comment-list{padding-left:24px}.comment-body{margin:24px 0}

/* Kompaktní úvod hlavní stránky */
.header-inner{padding:16px 0}.hero{padding:26px 16px 18px}.hero h1{font-size:clamp(30px,4vw,44px);margin:10px 0}.hero p{margin-bottom:14px;font-size:15px}.hero .searchform{margin:16px auto 8px}.categories{padding-bottom:20px}.section-title{padding:20px 0}.eyebrow{font-size:10px;letter-spacing:2px}@media(max-width:520px){.header-inner{gap:12px}.brand{font-size:25px}.brand small{font-size:9px;letter-spacing:1.2px}.hero{padding:20px 0 12px}.hero h1{font-size:32px}.hero p{font-size:14px}.categories{gap:6px}.categories a{padding:5px 11px;font-size:12px}}

/* Minimalistická hlavička: recepty mají přednost. */
.header-inner{padding:12px 0;gap:24px}.brand{font-size:27px;white-space:nowrap}.site-header .searchform{margin:0;width:min(390px,65%);max-width:390px;gap:6px}.site-header .searchform input{padding:9px 12px;font-size:14px}.site-header .searchform button{padding:9px 14px;font-size:12px}.categories{justify-content:flex-start;gap:7px;padding:14px 0;margin:0}.categories a{padding:4px 12px;font-size:12px}.section-title{border-top:0;padding:4px 0 16px}.section-title h2{font-size:25px}.results-heading h1{font-size:28px;margin:20px 0 6px}@media(max-width:520px){.header-inner{gap:14px}.brand{font-size:24px}.site-header .searchform{width:auto;flex:1}.site-header .searchform input{width:0;padding:9px 10px;font-size:12px}.site-header .searchform button{padding:9px 10px;font-size:11px}.categories{flex-wrap:nowrap;overflow-x:auto;padding:12px 0;gap:6px}.categories a{flex:none;white-space:nowrap}.section-title h2{font-size:23px}.section-title{padding-bottom:12px}}

.recipe-ingredients{margin:28px 0 36px}.ingredients-header{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.entry-content .ingredients-header h2{margin:0;font-size:30px}.yield-label{font-size:14px;font-weight:600;color:var(--green)}.yield-note,.scaling-note{font-size:13px;color:var(--muted);line-height:1.6}.portion-controls:not([hidden]){display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:18px 0}.portion-controls label{font-size:14px;font-weight:600}.portion-stepper{display:flex;align-items:center;border:1px solid #cdd6c6;border-radius:8px;overflow:hidden;background:white}.portion-stepper button{width:42px;height:42px;border:0;background:#edf1e7;color:var(--ink);font-size:23px;cursor:pointer}.portion-stepper button:disabled{opacity:.4;cursor:default}.portion-stepper input{width:65px;height:42px;text-align:center;border:0;background:white;font:600 17px system-ui;color:var(--ink)}.portion-reset{font:13px system-ui;color:var(--green);background:none;border:0;text-decoration:underline;cursor:pointer;padding:8px 0}.ingredient-list{list-style:none;padding:0;margin:8px 0 20px}.ingredient-list li{display:grid;grid-template-columns:115px 1fr;gap:12px;border-bottom:1px solid var(--line);padding:10px 0}.ingredient-quantity{font-weight:650;font-variant-numeric:tabular-nums}.scaling-note{border-left:3px solid #cdd6c6;padding-left:12px}@media(max-width:520px){.ingredient-list li{grid-template-columns:95px 1fr}.portion-controls:not([hidden]){gap:10px}.portion-controls label{width:100%}}

/* Kompaktnější suroviny a sladěná sekce postupu u pilotního receptu. */
.recipe-ingredients,.recipe-method{padding:24px;border:1px solid var(--line);border-radius:10px;background:#fafbf5;margin:28px 0}.recipe-ingredients .ingredient-list{font-size:15px;line-height:1.5;margin-bottom:16px}.recipe-ingredients .ingredient-list li{padding:7px 0;grid-template-columns:105px 1fr}.entry-content .recipe-ingredients h2,.entry-content .recipe-method h2{font-size:27px;margin:0}.recipe-ingredients .portion-controls:not([hidden]){padding:10px 0}.recipe-ingredients .yield-note{margin:10px 0}.recipe-ingredients .scaling-note{font-size:12px;margin-bottom:0}.method-label{font-size:12px;color:var(--green);font-weight:600}.method-steps{list-style:none;counter-reset:recipe-step;padding:0;margin:22px 0 0}.method-steps li{counter-increment:recipe-step;position:relative;padding:0 0 20px 43px;margin:0 0 20px;border-bottom:1px solid var(--line);font-size:16px;line-height:1.75}.method-steps li:before{content:counter(recipe-step);position:absolute;left:0;top:1px;width:28px;height:28px;display:grid;place-items:center;border-radius:50%;background:#e4ebdc;color:var(--green);font:600 13px system-ui}.method-steps li:last-child{padding-bottom:0;margin-bottom:0;border:0}@media(max-width:520px){.recipe-ingredients,.recipe-method{padding:17px;margin:22px 0}.recipe-ingredients .ingredient-list li{grid-template-columns:82px 1fr;gap:9px}.method-steps li{padding-left:37px;font-size:15px}.yield-label{font-size:13px}}

.cooking-awake:not([hidden]){margin:18px 0;padding:14px;background:#edf1e7;border-radius:8px}.awake-toggle{border:1px solid #c6d2bd;border-radius:7px;background:#fffdf8;padding:11px 15px;color:var(--ink);font:600 14px system-ui;cursor:pointer;min-height:44px}.awake-toggle[aria-pressed=true]{background:var(--green);border-color:var(--green);color:white}.awake-status{font-size:12px;line-height:1.6;color:var(--muted);margin:8px 0 0}

.recipe-meta{display:flex;flex-wrap:wrap;gap:6px 24px;margin:20px 0 28px;padding:15px 0;border-bottom:1px solid var(--line);color:var(--muted);font-size:13px;line-height:1.6}.recipe-meta strong{font-weight:600;color:var(--ink)}

/* Čitelnější karty a rychlejší cesta k vaření. */
.card{display:flex;flex-direction:column}.card-body{display:flex;flex-direction:column;flex:1}.card h2{font-size:24px;line-height:1.25}.card .read-more{margin-top:auto;padding-top:12px}.card-yield{font-size:13px;color:var(--muted);margin:0 0 8px}.tag{font-size:11px;letter-spacing:1.4px}.single-recipe{margin:28px auto}.single-recipe h1{font-size:clamp(31px,4vw,44px);line-height:1.2;margin:14px 0 18px}.recipe-shortcuts{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}.recipe-shortcuts a{border:1px solid #cdd6c6;border-radius:7px;padding:10px 17px;font-size:14px;font-weight:600;background:#fffdf8}.recipe-shortcuts a:last-child{background:var(--green);color:white;border-color:var(--green)}#ingredients-title,#method-title{scroll-margin-top:65px}.all-categories{position:relative;font-size:13px}.all-categories summary{cursor:pointer;min-height:36px;padding:7px 12px;color:var(--green);font-weight:600}.all-categories[open]>div{position:absolute;z-index:5;right:0;top:100%;width:min(600px,85vw);padding:16px;background:#fffdf8;border:1px solid var(--line);border-radius:10px;box-shadow:0 8px 25px #263e3115;display:flex;flex-wrap:wrap;gap:8px}.categories{overflow:visible}.categories>a{min-height:36px;display:flex;align-items:center}.categories>a[aria-current=page]{background:var(--green);color:white}.entry-content .scaling-note{font-size:13px;line-height:1.6}.scaling-help{margin:16px 0 0;font-size:13px;color:#596151}.scaling-help summary{cursor:pointer;font-weight:600;padding:7px 0}.scaling-help .scaling-note{margin:8px 0 0}.method-step-title{display:block;font-weight:650;margin-bottom:6px}.ingredient-check,.step-check{accent-color:var(--green);width:18px;height:18px;cursor:pointer}.ingredient-toggle{display:flex;gap:10px;align-items:flex-start;cursor:pointer;grid-column:1/-1}.ingredient-toggle .ingredient-quantity{flex:0 0 105px}.ingredient-toggle>span:last-child{flex:1}.ingredient-toggle input{flex:none;margin:3px 0 0}.ingredient-list li.is-done .ingredient-toggle>span{opacity:.5;text-decoration:line-through}.step-check{position:absolute;left:4px;top:38px}.method-steps li.is-done{opacity:.55}.method-steps li.is-done .step-text{text-decoration:line-through}.ingredient-list .ingredient-group{font-size:15px}.categories{align-items:center}
@media(prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}
@media(max-width:520px){.single-recipe{margin:22px auto}.single-recipe h1{font-size:32px}.single-recipe .entry-content{padding:0;border:0;background:transparent;margin-top:22px}.entry-content>figure:first-child{margin:0 0 22px}.recipe-ingredients,.recipe-method{padding:17px 13px!important;margin:24px 0!important}.method-steps li{font-size:16px!important;line-height:1.7!important;padding-left:36px!important}.ingredient-toggle .ingredient-quantity{flex-basis:77px}.ingredient-toggle{gap:8px}.recipe-shortcuts{gap:8px;margin:18px 0}.recipe-shortcuts a{padding:10px 14px;font-size:13px}.categories{flex-wrap:wrap;gap:6px}.categories>a:nth-of-type(n+5){display:none}.all-categories{margin-left:auto}.all-categories summary{font-size:12px}.site-header .header-inner{flex-wrap:wrap;gap:9px}.site-header .searchform{width:100%;max-width:none;flex-basis:100%}.site-header .searchform input{font-size:14px}.site-header .searchform button{font-size:12px}.card-body{padding:20px}.card h2{font-size:23px}.recipe-meta{font-size:13px}}
