/* DopCore Recipes 0.2.6 — RicettaCucina magazine design; scoped to shortcode. */
.dcr-recipe{--dcr-green:#234522;--dcr-olive:#668044;--dcr-red:#b33d2d;--dcr-cream:#faf7f2;--dcr-sand:#e8ddd2;--dcr-ink:#242424;max-width:1080px;margin:0 auto;color:var(--dcr-ink);font-size:clamp(1rem,1.2vw,1.125rem);line-height:1.75}
.dcr-recipe *{box-sizing:border-box}
.dcr-recipe .dcr-heading{margin:1.5rem 0 1.25rem}
.dcr-recipe .dcr-eyebrow,.dcr-recipe .dcr-section-kicker{color:var(--dcr-olive);text-transform:uppercase;letter-spacing:.16em;font-size:.75rem;font-weight:700}
.dcr-recipe .dcr-heading h1{font-family:Georgia,'Times New Roman',serif;font-size:clamp(2.1rem,4.2vw,3.75rem);font-weight:700;line-height:1.13;letter-spacing:-.035em;color:var(--dcr-ink);margin:.5rem 0 1.2rem;max-width:22ch}
.dcr-recipe .dcr-jump{display:flex;flex-wrap:wrap;gap:.65rem;margin:1.2rem 0 1.5rem;align-items:center}
.dcr-recipe .dcr-jump a,.dcr-recipe .dcr-jump button{appearance:none;border:1px solid var(--dcr-sand);border-radius:99px;background:var(--dcr-cream);color:var(--dcr-green);font:inherit;font-size:.85rem;font-weight:700;line-height:1.3;padding:.7rem 1rem;text-decoration:none;cursor:pointer;transition:background .2s,color .2s}
.dcr-recipe .dcr-jump a:hover,.dcr-recipe .dcr-jump button:hover{background:var(--dcr-green);color:#fff}
.dcr-recipe .dcr-hero-wrap{margin:0 0 2rem;overflow:hidden;border-radius:20px}
.dcr-recipe img{max-width:100%;height:auto}
.dcr-recipe .dcr-hero{width:100%;max-height:640px;object-fit:cover;display:block}
.dcr-recipe .dcr-intro{font-size:clamp(1.06rem,1.5vw,1.28rem);line-height:1.7;max-width:780px;margin:1.5rem auto 2rem}
.dcr-recipe .dcr-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:1rem;padding:1.5rem;background:var(--dcr-cream);border:1px solid var(--dcr-sand);border-top:5px solid var(--dcr-olive);border-radius:14px;margin:2rem 0 3rem}
.dcr-recipe .dcr-fact{display:flex;flex-direction:column;gap:.2rem}
.dcr-recipe .dcr-fact span{font-size:.74rem;text-transform:uppercase;letter-spacing:.08em;color:#666}
.dcr-recipe .dcr-fact strong{font-size:1.08rem;color:var(--dcr-green)}
.dcr-recipe section{margin:3rem 0}
.dcr-recipe .dcr-section-head{margin-bottom:1.35rem}
.dcr-recipe section h2{font-family:Georgia,'Times New Roman',serif;font-size:clamp(1.75rem,3vw,2.5rem);line-height:1.2;color:var(--dcr-ink);margin:.2rem 0 1rem}
.dcr-recipe .dcr-ingredients{background:var(--dcr-cream);border:1px solid var(--dcr-sand);padding:clamp(1.2rem,3vw,2.5rem);border-radius:18px}
.dcr-recipe .dcr-ingredients ul{list-style:none;padding:0;margin:0}
.dcr-recipe .dcr-ingredients li{margin:0;border-bottom:1px solid #e5dfd7}
.dcr-recipe .dcr-ingredients li:last-child{border:0}
.dcr-recipe .dcr-ingredient-row{display:flex;gap:.85rem;align-items:baseline;padding:.72rem 0;cursor:pointer;line-height:1.55}
.dcr-recipe .dcr-ingredient-row input{width:19px;height:19px;flex:none;accent-color:var(--dcr-green);transform:translateY(3px)}
.dcr-recipe .dcr-ingredient-row input:checked+span{text-decoration:line-through;opacity:.55}
.dcr-recipe a{color:var(--dcr-green);text-underline-offset:3px}
.dcr-recipe a:hover{color:var(--dcr-red)}
.dcr-recipe .dcr-ratings{padding:clamp(1.2rem,3vw,2rem);border:1px solid var(--dcr-sand);border-radius:16px;background:#fff}
.dcr-recipe .dcr-rating-summary{margin:.5em 0}
.dcr-recipe .dcr-rating-average{font-size:1.5rem;color:var(--dcr-green)}
.dcr-recipe .dcr-rating-help{font-size:.9rem;color:#5b5b5b;margin:.35rem 0 .5rem}
.dcr-recipe .dcr-stars{display:flex;gap:4px}
.dcr-recipe .dcr-stars button{border:0;background:transparent;color:#b9bec5;font-size:2rem;cursor:pointer;padding:0 4px;line-height:1.25;transition:color .12s ease,transform .12s ease}
.dcr-recipe .dcr-stars button.is-highlighted{color:#c88c21}
.dcr-recipe .dcr-stars button:not(:disabled):hover{transform:scale(1.08)}
.dcr-recipe .dcr-stars button:disabled{opacity:1;cursor:default}
.dcr-recipe .dcr-stars button:focus-visible,.dcr-recipe a:focus-visible,.dcr-recipe button:focus-visible{outline:3px solid var(--dcr-red);outline-offset:3px}
.dcr-recipe .dcr-rating-message{min-height:1.5em}
.dcr-recipe .dcr-instructions{list-style:none;counter-reset:dcr-step;padding:0;margin:0}
.dcr-recipe .dcr-instructions>li{counter-increment:dcr-step;position:relative;border-bottom:1px solid var(--dcr-sand);padding:1rem 0 2rem 3.7rem;margin:0 0 1.7rem;scroll-margin-top:110px}
.dcr-recipe .dcr-instructions>li:before{content:counter(dcr-step);position:absolute;left:0;top:1rem;width:2.65rem;height:2.65rem;display:grid;place-items:center;background:var(--dcr-green);color:#fff;border-radius:50%;font-weight:700}
.dcr-recipe .dcr-instructions h3{font-family:Georgia,'Times New Roman',serif;font-size:clamp(1.25rem,2vw,1.65rem);line-height:1.3;margin:.3rem 0 .65rem}
.dcr-recipe .dcr-instructions img{display:block;border-radius:14px;margin:1.25rem 0 0;width:100%;max-height:650px;object-fit:cover}
.dcr-recipe .dcr-video-preview{display:block;position:relative;max-width:840px;overflow:hidden;border-radius:18px;aspect-ratio:16/9;background:#1b1b1b;color:#fff;text-decoration:none}
.dcr-recipe .dcr-video-preview img{display:block;width:100%;height:100%;object-fit:cover;opacity:.86;transition:transform .25s ease}
.dcr-recipe .dcr-video-preview:hover img{transform:scale(1.025)}
.dcr-recipe .dcr-play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:76px;height:76px;border-radius:50%;background:var(--dcr-red);display:grid;place-items:center;color:white;font-size:1.8rem;padding-left:5px;box-shadow:0 8px 30px #0005}
.dcr-recipe .dcr-video-label{position:absolute;left:1.3rem;bottom:1.2rem;color:white;font-size:1rem;font-weight:700;text-shadow:0 2px 5px #0009}
@media(max-width:640px){.dcr-recipe .dcr-heading h1{max-width:none}.dcr-recipe .dcr-instructions>li{padding-left:0;padding-top:3.6rem}.dcr-recipe .dcr-instructions>li:before{top:.4rem}.dcr-recipe .dcr-hero-wrap{border-radius:12px}.dcr-recipe .dcr-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.dcr-recipe .dcr-jump a,.dcr-recipe .dcr-jump button{font-size:.78rem}}
@media print{.dcr-recipe .dcr-jump,.dcr-recipe .dcr-stars,.dcr-recipe .dcr-video-section{display:none!important}.dcr-recipe .dcr-ingredients{background:#fff;border:0;padding:0}.dcr-recipe .dcr-instructions>li{break-inside:avoid}}

/* 0.2.7 — Editorial magazine sections and shopping list; scoped to DopCore shortcode. */
.dcr-recipe .dcr-nutrition{padding:clamp(1.25rem,3vw,2rem);background:#fff;border:1px solid var(--dcr-sand);border-radius:18px;margin:2rem 0}
.dcr-recipe .dcr-nutrition-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.8rem}
.dcr-recipe .dcr-nutrition-item{display:flex;flex-direction:column;gap:.25rem;background:var(--dcr-cream);padding:1.1rem;border-radius:10px}
.dcr-recipe .dcr-nutrition-item span{font-size:.76rem;letter-spacing:.08em;text-transform:uppercase;color:#606060}
.dcr-recipe .dcr-nutrition-item strong{color:var(--dcr-green);font-size:1.18rem}
.dcr-recipe .dcr-nutrition-note{font-size:.82rem;color:#666;margin:1rem 0 0}
.dcr-recipe .dcr-editorial{padding:clamp(1.4rem,3.5vw,2.8rem);border-radius:18px;border:1px solid var(--dcr-sand);background:#fff;overflow-wrap:anywhere}
.dcr-recipe .dcr-editorial-extra{background:#f5f7f1;border-left:5px solid var(--dcr-olive)}
.dcr-recipe .dcr-editorial-tips{background:var(--dcr-cream);border-top:5px solid var(--dcr-green)}
.dcr-recipe .dcr-editorial-variations{background:#fff;border-top:5px solid var(--dcr-red)}
.dcr-recipe .dcr-editorial-storage{background:#f8f6f1;border-left:5px solid var(--dcr-olive)}
.dcr-recipe .dcr-editorial-body{max-width:78ch;line-height:1.8}
.dcr-recipe .dcr-editorial-body h3{font-family:Georgia,'Times New Roman',serif;color:var(--dcr-green);font-size:clamp(1.2rem,2vw,1.5rem);line-height:1.3;margin:1.7em 0 .5em}
.dcr-recipe .dcr-editorial-body h4{color:var(--dcr-green);margin:1.5em 0 .5em}
.dcr-recipe .dcr-editorial-body p{margin:0 0 1em}
.dcr-recipe .dcr-editorial-body p:last-child{margin-bottom:0}
.dcr-recipe .dcr-editorial-body ul,.dcr-recipe .dcr-editorial-body ol{padding-left:1.5em}
.dcr-recipe .dcr-editorial-body li{margin-bottom:.4em}
.dcr-recipe .dcr-ingredient-help{color:#575757;font-size:.92rem;margin:-.25rem 0 1rem}
.dcr-recipe .dcr-ingredient-tools{display:flex;flex-wrap:wrap;gap:.7rem;margin:0 0 1rem}
.dcr-recipe .dcr-ingredient-tools button{font:inherit;font-size:.85rem;font-weight:700;cursor:pointer;border:1px solid var(--dcr-green);background:var(--dcr-green);color:#fff;border-radius:50px;padding:.6rem 1rem}
.dcr-recipe .dcr-ingredient-tools .dcr-ingredient-reset{background:transparent;color:var(--dcr-green)}
.dcr-recipe .dcr-ingredient-tools button:hover{background:var(--dcr-red);border-color:var(--dcr-red);color:#fff}
.dcr-recipe .dcr-shopping-feedback{min-height:1.3em;color:var(--dcr-green);font-size:.84rem;margin:.7rem 0 0}
@media(max-width:640px){.dcr-recipe .dcr-nutrition-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dcr-recipe .dcr-editorial{padding:1.2rem}.dcr-recipe .dcr-ingredient-tools button{width:100%}}
@media print{.dcr-recipe .dcr-ingredient-tools,.dcr-recipe .dcr-ingredient-help,.dcr-recipe .dcr-shopping-feedback{display:none!important}.dcr-recipe .dcr-editorial{break-inside:avoid}}

/* 0.2.8 — Compact reader rating immediately below the main photograph. */
.dcr-recipe .dcr-hero-wrap{margin-bottom:0}
.dcr-recipe .dcr-ratings{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:1.25rem;row-gap:.2rem;margin:.75rem 0 2rem;padding:1rem 1.35rem;border:1px solid var(--dcr-sand);border-radius:13px;background:var(--dcr-cream)}
.dcr-recipe .dcr-rating-title{grid-column:1;grid-row:1;font-size:.73rem;font-weight:700;letter-spacing:.085em;text-transform:uppercase;color:var(--dcr-green)}
.dcr-recipe .dcr-rating-summary{grid-column:1;grid-row:2;margin:0;display:flex;flex-wrap:wrap;align-items:center;gap:.4rem;font-size:.92rem;color:#595959}
.dcr-recipe .dcr-rating-static-stars{font-size:1.2rem;letter-spacing:.06em;color:#c88c21;line-height:1.2}
.dcr-recipe .dcr-rating-average{font-size:1.16rem}
.dcr-recipe .dcr-rating-help{grid-column:2;grid-row:1;margin:0;text-align:right;font-size:.78rem}
.dcr-recipe .dcr-stars{grid-column:2;grid-row:2;justify-content:flex-end}
.dcr-recipe .dcr-stars button{font-size:1.65rem}
.dcr-recipe .dcr-rating-message{grid-column:1/-1;margin:0;min-height:0;font-size:.82rem;color:var(--dcr-green)}
.dcr-recipe .dcr-rating-message:empty{display:none}
@media(max-width:640px){.dcr-recipe .dcr-ratings{grid-template-columns:1fr;gap:.45rem;padding:1rem}.dcr-recipe .dcr-rating-title,.dcr-recipe .dcr-rating-summary,.dcr-recipe .dcr-rating-help,.dcr-recipe .dcr-stars,.dcr-recipe .dcr-rating-message{grid-column:1;grid-row:auto}.dcr-recipe .dcr-rating-help{text-align:left;margin-top:.4rem}.dcr-recipe .dcr-stars{justify-content:flex-start}}

/* 0.2.9 — Optional instruments list, isolated from recipe schema and ingredients. */
.dcr-recipe .dcr-instruments{background:#fdfcf9;border:1px solid var(--dcr-sand);border-radius:20px;padding:clamp(1.25rem,3vw,2rem);margin:2rem 0}
.dcr-recipe .dcr-instruments .dcr-section-head{margin-bottom:.75rem}
.dcr-recipe .dcr-instruments-icon{display:inline-grid;place-items:center;width:2rem;height:2rem;border-radius:50%;background:#e9f0e3;color:var(--dcr-green);font:700 1.4rem/1 Georgia,serif;vertical-align:middle}
.dcr-recipe .dcr-instruments-list{list-style:none;margin:0;padding:0}
.dcr-recipe .dcr-instruments-list li{position:relative;margin:0;padding:.65rem 0 .65rem 1.5rem;border-bottom:1px dashed #e8e1d5;line-height:1.5}
.dcr-recipe .dcr-instruments-list li:last-child{border-bottom:0}
.dcr-recipe .dcr-instruments-list li:before{content:'•';position:absolute;left:.3rem;color:var(--dcr-olive);font-size:1.25rem}
.dcr-recipe .dcr-instruments-list a{color:var(--dcr-green);text-decoration:underline;text-decoration-color:#b6c5a7;text-underline-offset:3px}
.dcr-recipe .dcr-instruments-list a:hover{color:var(--dcr-red)}
@media print{.dcr-recipe .dcr-instruments{break-inside:avoid}}

/* 0.2.11: notes and related recipes */
.dcr-recipe .dcr-inline-note{margin:1rem 0 1.6rem;padding:1rem 1.3rem;background:#f8f6f1;border-left:4px solid var(--dcr-olive);border-radius:8px;line-height:1.65}
.dcr-recipe .dcr-inline-note strong{display:block;color:var(--dcr-green);margin-bottom:.3rem}
.dcr-recipe .dcr-inline-note p,.dcr-recipe .dcr-nutrition-note p{margin:.3rem 0}
.dcr-recipe .dcr-related{margin:3rem 0 1rem;padding-top:2rem;border-top:1px solid var(--dcr-sand)}
.dcr-recipe .dcr-related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.4rem}
.dcr-recipe .dcr-related-card{min-width:0;margin:0}
.dcr-recipe .dcr-related-card a{color:var(--dcr-green);text-decoration:none}
.dcr-recipe .dcr-related-card a:hover{color:var(--dcr-red)}
.dcr-recipe .dcr-related-image,.dcr-recipe .dcr-related-placeholder{display:flex;align-items:center;justify-content:center;width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:12px;background:var(--dcr-cream);color:var(--dcr-green);font-weight:700}
.dcr-recipe .dcr-related-card h3{font:700 clamp(1.05rem,1.6vw,1.3rem)/1.35 Georgia,serif;margin:.8rem 0}
@media(max-width:640px){.dcr-recipe .dcr-related-grid{grid-template-columns:1fr}}
@media print{.dcr-recipe .dcr-related{display:none!important}}

/* 0.2.12 — Reader-adjustable portions; never alters source recipe/schema. */
.dcr-recipe .dcr-servings{display:flex;align-items:center;flex-wrap:wrap;gap:.65rem;margin:0 0 1.3rem;padding:.85rem 1rem;background:#fff;border:1px solid var(--dcr-sand);border-radius:14px;width:fit-content;max-width:100%}
.dcr-recipe .dcr-servings-label{font-size:.92rem;font-weight:700;color:var(--dcr-green);margin-right:.3rem}
.dcr-recipe .dcr-servings button{display:grid;place-items:center;width:2.3rem;height:2.3rem;border:1px solid var(--dcr-green);border-radius:50%;background:var(--dcr-green);color:#fff;cursor:pointer;font-size:1.25rem;font-weight:700;line-height:1}
.dcr-recipe .dcr-servings button:disabled{opacity:.4;cursor:not-allowed}
.dcr-recipe .dcr-servings .dcr-servings-reset{display:inline-flex;width:auto;height:auto;border-radius:20px;padding:.35rem .75rem;font-size:.8rem;background:transparent;color:var(--dcr-green)}
.dcr-recipe .dcr-servings-count{font-weight:800;font-size:1.15rem;min-width:1.8rem;text-align:center;color:var(--dcr-green)}
@media print{.dcr-recipe .dcr-servings{display:none!important}}

/* 0.2.14 — Autore ricetta */
.dcr-recipe .dcr-author-byline{margin:-.4rem 0 1.3rem;color:#65675f;font-size:.93rem;line-height:1.6}
.dcr-recipe .dcr-author-byline strong{color:#234522;font-weight:700}
.dcr-recipe .dcr-author-byline a{color:inherit;text-decoration:underline;text-underline-offset:3px}
.dcr-recipe .dcr-author-role{color:#74766e}
.dcr-recipe .dcr-author-bio{margin:2.5rem 0;padding:1.3rem 1.6rem;border:1px solid #e8ddd2;border-radius:12px;background:#faf7f2}
.dcr-recipe .dcr-author-bio p{margin:.4rem 0 0}
