/* Sonata Green Recipes v0.4.1 — V7.3 design tokens. All selectors scoped. */
.sgr-page{--sgr-forest:#263128;--sgr-green:#4E6B41;--sgr-text:#292824;--sgr-muted:#6B6A63;--sgr-cream:#FFFAED;--sgr-paper:#FFFDF8;--sgr-line:#DED4C3;--sgr-green-soft:#EFF3EC;--sgr-teal-soft:#EAF4F0;color:var(--sgr-text);font-family:Manrope,system-ui,sans-serif;font-size:17px;line-height:1.65;padding:34px 0 80px;background:var(--sgr-cream)}
.sgr-page *,.sgr-page *:before,.sgr-page *:after{box-sizing:border-box}.sgr-page a{color:inherit;text-decoration:none}.sgr-page a:hover{color:var(--sgr-green)}.sgr-page button,.sgr-page input,.sgr-page select{font:inherit}.sgr-page :focus-visible{outline:3px solid #C94B36;outline-offset:3px}.sgr-page h1,.sgr-page h2{font-family:Newsreader,Georgia,serif;color:var(--sgr-forest);letter-spacing:-.025em}.sgr-page h1{font-size:clamp(42px,4.5vw,70px);line-height:1.02;margin:12px 0 20px}.sgr-page h2{font-size:clamp(32px,3vw,43px);line-height:1.12;margin:0 0 24px}.sgr-page .sgr-container{max-width:1320px;width:calc(100% - 80px);padding:0;margin:0 auto}.sgr-breadcrumbs{display:flex;align-items:center;gap:12px;font-size:13px;color:var(--sgr-muted);margin-bottom:38px}.sgr-breadcrumbs a{text-decoration:underline;text-underline-offset:3px}.sgr-breadcrumbs span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:50ch}.sgr-eyebrow{display:inline-flex;align-items:center;gap:10px;color:var(--sgr-green);font-size:12px;font-weight:800;letter-spacing:.11em;text-transform:uppercase;margin:0}.sgr-eyebrow>span{width:30px;height:1px;background:var(--sgr-green)}
.sgr-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:clamp(28px,4vw,60px);margin-bottom:32px}.sgr-hero-copy{min-width:0}.sgr-lead{max-width:53ch;font-size:19px;line-height:1.65;color:var(--sgr-text);margin:0 0 25px}.sgr-hero-image{margin:0;min-width:0}.sgr-main-photo{aspect-ratio:1/1;object-fit:cover;width:100%;height:auto;max-height:600px;border-radius:20px;display:block}.sgr-hero-image figcaption{font-size:12px;color:var(--sgr-muted);margin:8px 0 0}.sgr-actions{display:flex;align-items:center;flex-wrap:wrap;gap:14px}.sgr-utility{border:1px solid var(--sgr-line);border-radius:12px;background:var(--sgr-paper);color:var(--sgr-forest);min-height:44px;padding:8px 16px;cursor:pointer;font-size:14px;font-weight:700}.sgr-utility:hover{background:var(--sgr-green-soft)}.sgr-jump{font-size:14px;font-weight:700;text-decoration:underline!important;text-underline-offset:4px}.sgr-share-feedback{font-size:13px;color:var(--sgr-green);margin:10px 0}.sgr-times{display:flex;gap:16px;flex-wrap:wrap;font-size:13px;color:var(--sgr-muted);margin-top:19px}
.sgr-recipe-body{display:grid;grid-template-columns:minmax(0,0.95fr) minmax(0,1.05fr);gap:26px;align-items:start}.sgr-panel{border:1px solid var(--sgr-line);border-radius:18px;background:var(--sgr-paper);padding:clamp(20px,2.6vw,32px)}.sgr-panel-heading{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px;margin-bottom:18px}.sgr-panel-heading h2{margin:0}.sgr-servings{display:flex;gap:6px;align-items:center}.sgr-servings-label{font-size:13px;font-weight:700;margin-right:6px;color:var(--sgr-muted)}.sgr-servings button{display:flex;align-items:center;justify-content:center;min-width:40px;min-height:42px;padding:0;border:1px solid #8C8377;border-radius:10px;color:var(--sgr-forest);background:var(--sgr-paper);cursor:pointer;font-weight:700;font-size:22px}.sgr-servings button:hover:not(:disabled){background:var(--sgr-green-soft)}.sgr-servings button:disabled{opacity:.35;cursor:default}.sgr-serving-count{font-weight:800;min-width:22px;text-align:center;font-size:17px}.sgr-ingredients{padding:0;margin:0;list-style:none}.sgr-ingredient{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:18px 0;border-bottom:1px solid var(--sgr-line)}.sgr-ingredient:last-child{border-bottom:0}.sgr-ingredient-name{min-width:0}.sgr-ingredient-name strong{display:block;font-weight:750;font-size:16px}.sgr-ingredient-form{display:block;font-size:13px;color:var(--sgr-muted);margin-top:2px}.sgr-amount{font-size:17px;white-space:nowrap;font-weight:800;color:var(--sgr-forest);padding-top:1px}
.sgr-score{display:inline-flex;align-items:center;gap:8px;margin-top:8px;font-size:13px;font-weight:800;line-height:1.45;color:var(--sgr-forest);white-space:nowrap}
.sgr-score-dot{width:15px;height:15px;flex:0 0 15px;border-radius:50%;background:#9B9B95;border:1px solid rgba(38,49,40,.13)}
.sgr-score--tamsiai-zalia .sgr-score-dot{background:#17803C}
.sgr-score--sviesiai-zalia .sgr-score-dot{background:#79BA35}
.sgr-score--geltona .sgr-score-dot{background:#E7BD25}
.sgr-score--oranzine .sgr-score-dot{background:#ED9033}
.sgr-score--raudona .sgr-score-dot{background:#CA4936}
.sgr-score--netaikoma .sgr-score-dot{background:#9B9B95}
.sgr-sg-explainer{margin:24px 0 0;padding:18px 20px;border-radius:14px;background:var(--sgr-green-soft);border-left:4px solid var(--sgr-green)}.sgr-sg-explainer h3{font:750 15px/1.5 Manrope,system-ui,sans-serif;color:var(--sgr-forest);margin:0 0 5px}.sgr-sg-explainer p{font-size:13px;line-height:1.6;margin:0;color:var(--sgr-text)}
.sgr-steps{list-style:none;counter-reset:step;padding:0;margin:0}.sgr-steps li{counter-increment:step;position:relative;padding:0 0 25px 54px;margin:0 0 21px;border-bottom:1px solid var(--sgr-line);font-size:17px;line-height:1.65}.sgr-steps li:before{content:counter(step);position:absolute;top:0;left:0;width:35px;height:35px;border-radius:50%;background:var(--sgr-green-soft);color:var(--sgr-forest);display:grid;place-items:center;font:800 14px Manrope,system-ui,sans-serif}.sgr-steps li:last-child{border-bottom:0;margin-bottom:0;padding-bottom:0}
.sgr-nutrition-section{margin-top:64px}
.sgr-nutrition-heading{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px 15px;margin-bottom:22px}
.sgr-nutrition-heading h2{margin:0}
.sgr-nutrition-heading>span{font:600 14px Manrope,system-ui,sans-serif;color:var(--sgr-muted)}
.sgr-nutrition-primary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0}
.sgr-nutrition-primary-card{background:var(--sgr-paper);border:1px solid var(--sgr-line);border-radius:18px;padding:24px;min-width:0;margin:0}
.sgr-nutrition-primary-card--energy{background:var(--sgr-green-soft);border-color:#DCE8D7}
.sgr-nutrition-primary dt{font-size:14px;line-height:1.35;color:var(--sgr-muted);margin:0 0 12px}
.sgr-nutrition-primary dd{font-size:clamp(23px,2.3vw,32px);font-weight:800;line-height:1.25;color:var(--sgr-forest);margin:0;font-variant-numeric:tabular-nums}
.sgr-nutrition-primary dd small{font-size:14px;font-weight:600}
.sgr-nutrition-details{margin-top:16px;background:var(--sgr-paper);border:1px solid var(--sgr-line);border-radius:18px;padding:26px 30px}
.sgr-nutrition-details h3{font:750 17px/1.4 Manrope,system-ui,sans-serif;color:var(--sgr-forest);margin:0 0 14px}
.sgr-nutrition-details dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 36px;margin:0}
.sgr-nutrition-details dl>div{display:flex;align-items:baseline;justify-content:space-between;gap:15px;border-bottom:1px solid var(--sgr-line);padding:12px 0;margin:0;min-width:0}
.sgr-nutrition-details dt{font-size:14px;color:var(--sgr-muted)}
.sgr-nutrition-details dd{font-size:15px;font-weight:800;color:var(--sgr-forest);white-space:nowrap;margin:0;font-variant-numeric:tabular-nums}
.sgr-nutrition-pending{background:var(--sgr-green-soft);border-radius:14px;padding:20px}
.sgr-education{margin:48px 0;padding:26px 32px;background:var(--sgr-teal-soft);border-radius:18px}.sgr-education p{margin:0}.sgr-related{margin-top:52px}.sgr-related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.sgr-related-card{display:block;padding:14px;border:1px solid var(--sgr-line);border-radius:18px;background:var(--sgr-paper)}.sgr-related-card img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:12px;margin-bottom:10px}.sgr-related-card strong{font-size:16px}.sgr-end-cta{display:flex;align-items:center;justify-content:space-between;gap:28px;margin-top:55px;background:var(--sgr-green-soft);padding:30px 36px;border-radius:24px}.sgr-end-cta h2{font-size:clamp(28px,3vw,38px);margin:8px 0}.sgr-end-cta p{margin:0}.sgr-end-cta>a{display:inline-flex;align-items:center;justify-content:center;text-align:center;min-height:52px;padding:12px 22px;border-radius:14px;background:#263128;color:white;font-size:15px;font-weight:800;flex-shrink:0}.sgr-end-cta>a:hover{background:#19231C;color:#fff}.sgr-end-cta--custom{display:block}.sgr-end-cta--custom h2{margin-top:0}.sgr-end-cta--custom p{margin-bottom:12px}.sgr-end-cta--custom a{color:var(--sgr-forest);text-decoration:underline;text-underline-offset:3px}.sgr-end-cta--custom a:hover{color:var(--sgr-green)}
.sgr-archive-heading{max-width:760px;margin-bottom:30px}.sgr-archive-heading h1{margin-bottom:10px}.sgr-archive-heading>p:last-child{font-size:18px}.sgr-filters{display:grid;grid-template-columns:minmax(0,2fr) minmax(160px,1fr) minmax(160px,1fr) auto;align-items:end;gap:14px;background:var(--sgr-paper);padding:20px;border:1px solid var(--sgr-line);border-radius:18px;margin:0 0 30px}.sgr-filters label{display:grid;gap:6px;color:var(--sgr-muted);font-size:13px;font-weight:700}.sgr-filters input,.sgr-filters select{min-width:0;width:100%;height:49px;border:1px solid #8C8377;border-radius:12px;background:#fff;color:var(--sgr-text);padding:0 15px;font-size:15px}.sgr-filters button{height:49px;border:0;border-radius:12px;background:var(--sgr-forest);color:#fff;font-weight:750;cursor:pointer;padding:0 20px}.sgr-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.sgr-card{border:1px solid var(--sgr-line);border-radius:18px;overflow:hidden;background:var(--sgr-paper)}.sgr-card a{display:block;height:100%}.sgr-card img{width:100%;aspect-ratio:1/1;object-fit:cover;display:block}.sgr-card-copy{padding:20px}.sgr-card-copy>span{font-size:12px;color:var(--sgr-green);font-weight:800}.sgr-card h2{font-size:27px;line-height:1.12;margin:9px 0}.sgr-card p{font-size:14px;color:var(--sgr-muted);margin:12px 0 0}.sgr-pagination{display:flex;gap:10px;justify-content:center;margin-top:32px}.sgr-pagination .page-numbers{padding:8px 13px;border-radius:8px;border:1px solid var(--sgr-line)}.sgr-pagination .current{background:var(--sgr-forest);color:#fff}.sgr-empty{padding:45px 20px;text-align:center;background:var(--sgr-paper);border-radius:18px}.sgr-search-status{margin:0;font-size:13px;color:var(--sgr-muted)}.sgr-search-status:empty{display:none}.sgr-archive-results[aria-busy="true"]{opacity:.65}
/* WordPress Astra constrains templates inside its default .ast-container; expand just recipe views. */
body.single-sg_recipe #content>.ast-container,body.post-type-archive-sg_recipe #content>.ast-container{max-width:none;width:100%;padding:0;display:block}body.single-sg_recipe #primary,body.post-type-archive-sg_recipe #primary{margin:0;padding:0;width:100%;float:none;max-width:none}body.single-sg_recipe .site-content,body.post-type-archive-sg_recipe .site-content{display:block}
@media(max-width:1000px){.sgr-page .sgr-container{width:calc(100% - 48px)}.sgr-recipe-body{grid-template-columns:1fr 1fr;gap:16px}.sgr-panel{padding:20px}.sgr-nutrition-primary{grid-template-columns:repeat(2,minmax(0,1fr))}.sgr-filters{grid-template-columns:1fr 1fr}.sgr-search-label{grid-column:span 2}.sgr-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sgr-hero{gap:26px}}
@media(max-width:760px){.sgr-page{padding:22px 0 50px;font-size:16px}.sgr-page .sgr-container{width:calc(100% - 40px)}.sgr-breadcrumbs{margin-bottom:20px}.sgr-hero{display:flex;flex-direction:column;align-items:stretch;gap:22px}.sgr-page h1{font-size:clamp(42px,11vw,56px)}.sgr-lead{font-size:17px}.sgr-hero-image{order:2}.sgr-hero-copy{order:1}.sgr-recipe-body{grid-template-columns:1fr;gap:20px}.sgr-nutrition-details dl{grid-template-columns:1fr}.sgr-nutrition-section{margin-top:42px}.sgr-related-grid{grid-template-columns:1fr 1fr}.sgr-end-cta{flex-direction:column;align-items:flex-start;padding:26px}.sgr-end-cta>a{width:100%}.sgr-grid{grid-template-columns:1fr 1fr;gap:14px}}
@media(max-width:520px){.sgr-page .sgr-container{width:calc(100% - 32px)}.sgr-panel-heading{align-items:flex-start}.sgr-panel-heading h2{width:100%;margin-bottom:0}.sgr-servings{margin-bottom:10px}.sgr-filters{grid-template-columns:1fr}.sgr-search-label{grid-column:auto}.sgr-grid{grid-template-columns:1fr}.sgr-nutrition-primary{gap:10px}.sgr-nutrition-primary-card{padding:16px}.sgr-nutrition-primary dd{font-size:22px}.sgr-nutrition-details{padding:20px}.sgr-nutrition-details dt,.sgr-nutrition-details dd{font-size:13px}.sgr-related-grid{grid-template-columns:1fr}.sgr-score{font-size:11px}.sgr-ingredient-name strong{font-size:15px}}
@media print{body.single-sg_recipe #masthead,body.single-sg_recipe #colophon,body.single-sg_recipe .sgr-actions,body.single-sg_recipe .sgr-end-cta,body.single-sg_recipe .sgr-related,body.single-sg_recipe .sgr-breadcrumbs,body.single-sg_recipe .sgr-servings,body.single-sg_recipe .sgr-hero-image figcaption{display:none!important}.sgr-page{background:#fff!important;color:#000!important;padding:0!important}.sgr-page .sgr-container{width:100%!important;max-width:none!important}.sgr-hero{display:block}.sgr-hero-image{max-width:210px;float:right;margin:0 0 15px 20px}.sgr-main-photo{max-width:210px}.sgr-recipe-body{display:block}.sgr-panel{break-inside:avoid;border:0;padding:15px 0}.sgr-sg-explainer{break-inside:avoid}.sgr-nutrition-primary{grid-template-columns:repeat(4,1fr)}}

/* 0.4.1: An SVG circle (with a real fill attribute) preserves SGB colors in print. */
.sgr-score-dot{display:inline-block;overflow:visible;border:0;background:none!important;width:16px;height:16px;flex:0 0 16px;border-radius:0}
.sgr-print-invite{display:none}
@page{size:auto;margin:15mm 14mm}
@media print {
  /* Keep the hero and its image in one grid: no floated image can enter Ingredients. */
  html,body{background:#fff!important}
  body.single-sg_recipe .sgr-page{font-size:10pt!important;line-height:1.42!important;color:#202820!important}
  body.single-sg_recipe .sgr-hero{display:grid!important;grid-template-columns:minmax(0,1fr) 49mm!important;gap:7mm!important;align-items:start!important;margin:0 0 8mm!important;break-inside:avoid!important;page-break-inside:avoid!important}
  body.single-sg_recipe .sgr-hero-copy{grid-column:1;min-width:0}
  body.single-sg_recipe .sgr-hero-image{grid-column:2;grid-row:1;float:none!important;clear:both!important;width:49mm!important;height:auto!important;max-width:49mm!important;margin:0!important;justify-self:end;align-self:start;position:static!important}
  body.single-sg_recipe .sgr-main-photo{width:49mm!important;height:49mm!important;max-width:49mm!important;max-height:49mm!important;object-fit:cover!important;border-radius:4mm!important}
  body.single-sg_recipe .sgr-page h1{font-size:25pt!important;line-height:1.08!important;margin:3mm 0 4mm!important;overflow-wrap:anywhere}
  body.single-sg_recipe .sgr-lead{font-size:10pt!important;line-height:1.5!important;margin:0!important}
  body.single-sg_recipe .sgr-eyebrow{font-size:8pt!important}
  body.single-sg_recipe .sgr-recipe-body{display:block!important;clear:both!important;break-before:auto!important}
  body.single-sg_recipe .sgr-ingredient-panel{clear:both!important}
  body.single-sg_recipe .sgr-panel{break-inside:auto!important;page-break-inside:auto!important;border:0!important;padding:0!important;margin:0 0 7mm!important;box-shadow:none!important;background:transparent!important}
  body.single-sg_recipe .sgr-panel h2,body.single-sg_recipe .sgr-nutrition-heading h2{font-size:19pt!important;margin:0 0 3mm!important}
  body.single-sg_recipe .sgr-ingredient{padding:2mm 0!important;break-inside:avoid!important;page-break-inside:avoid!important}
  body.single-sg_recipe .sgr-ingredient-name strong{font-size:10pt!important}
  body.single-sg_recipe .sgr-score{font-size:9pt!important;margin-top:1mm!important}
  body.single-sg_recipe .sgr-score-dot{width:4mm!important;height:4mm!important;min-width:4mm!important;flex:0 0 4mm!important;overflow:visible!important;vertical-align:middle!important}
  body.single-sg_recipe .sgr-sg-explainer{background:transparent!important;border-left:2px solid #4E6B41!important;border-radius:0!important;padding:2mm 3mm!important;margin:4mm 0 0!important;break-inside:avoid!important}
  body.single-sg_recipe .sgr-steps li{break-inside:avoid!important}
  body.single-sg_recipe .sgr-nutrition-section{margin:5mm 0!important}
  body.single-sg_recipe .sgr-nutrition-primary{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:2mm!important}
  body.single-sg_recipe .sgr-nutrition-primary-card{padding:3mm!important;border:1px solid #d3d3d3!important;background:transparent!important;break-inside:avoid!important}
  body.single-sg_recipe .sgr-nutrition-primary dd{font-size:15pt!important}
  body.single-sg_recipe .sgr-nutrition-details{background:transparent!important;padding:4mm!important;border:1px solid #d3d3d3!important;break-inside:avoid!important}
  body.single-sg_recipe .sgr-nutrition-details dl>div{padding:1mm 0!important}
  body.single-sg_recipe .sgr-print-invite{display:grid!important;grid-template-columns:minmax(0,1fr) 31mm!important;align-items:center!important;gap:7mm!important;border:1px solid #9ba99a!important;border-radius:4mm!important;padding:5mm!important;margin-top:8mm!important;break-inside:avoid!important;page-break-inside:avoid!important;background:#fff!important;color:#263128!important}
  body.single-sg_recipe .sgr-print-invite h2{font-size:16pt!important;margin:1mm 0 2mm!important;line-height:1.13!important}
  body.single-sg_recipe .sgr-print-invite p{font-size:10pt!important;line-height:1.4!important;margin:0 0 1mm!important}
  body.single-sg_recipe .sgr-print-brand{font-weight:800!important;font-size:12pt!important;color:#263128!important;letter-spacing:.01em}
  body.single-sg_recipe .sgr-print-link{font-weight:800!important;font-size:12pt!important;overflow-wrap:anywhere}
  body.single-sg_recipe .sgr-print-instruction{font-size:8pt!important;color:#454545!important}
  body.single-sg_recipe .sgr-print-qr{width:30mm!important;height:30mm!important}
  body.single-sg_recipe .sgr-print-qr img{display:block!important;width:30mm!important;height:30mm!important;max-width:none!important;object-fit:contain!important}
  body.single-sg_recipe .sgr-print-invite,body.single-sg_recipe .sgr-print-invite *{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}
}

/* v0.5.4 – compact neutral nutrition/advice cards; keep the 7-day plan CTA visually prominent. */
.sgr-recipe-extras{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);align-items:stretch;gap:16px;margin:16px 0 0}
.sgr-recipe-extras>*{min-width:0}
.sgr-recipe-extras .sgr-nutrition-details{margin:0;padding:22px 24px}
.sgr-recipe-extras .sgr-nutrition-details dl{gap:0 22px}
.sgr-recipe-extras .sgr-nutrition-details dl>div{gap:8px;padding:9px 0}
.sgr-recipe-extras .sgr-nutrition-details dt{font-size:13px;line-height:1.4}
.sgr-recipe-extras .sgr-nutrition-details dd{font-size:13px;line-height:1.4}
.sgr-recipe-extras .sgr-education{margin:0;padding:22px 24px;border:1px solid var(--sgr-line);border-radius:18px;background:var(--sgr-paper)}
.sgr-education-header{display:flex;align-items:center;gap:16px;margin-bottom:14px}
.sgr-education-avatar{width:72px;height:72px;flex:0 0 72px;display:block;border-radius:50%;object-fit:cover;object-position:center;background:var(--sgr-green-soft);border:2px solid var(--sgr-line)}
.sgr-recipe-extras .sgr-education h2{font-size:clamp(25px,2.2vw,31px);line-height:1.1;margin:0}
.sgr-recipe-extras .sgr-education p{font-size:15px;line-height:1.7;margin:0}
@media(max-width:1080px) and (min-width:761px){.sgr-recipe-extras .sgr-nutrition-details dl{grid-template-columns:1fr}}
@media(max-width:760px){.sgr-recipe-extras{grid-template-columns:1fr;gap:14px}.sgr-recipe-extras .sgr-nutrition-details dl{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.sgr-recipe-extras .sgr-nutrition-details,.sgr-recipe-extras .sgr-education{padding:20px}.sgr-recipe-extras .sgr-nutrition-details dl{grid-template-columns:1fr}.sgr-education-avatar{width:60px;height:60px;flex-basis:60px}.sgr-recipe-extras .sgr-education h2{font-size:26px}}
@media print{body.single-sg_recipe .sgr-recipe-extras{display:block!important;margin:4mm 0!important}body.single-sg_recipe .sgr-recipe-extras>*{margin:3mm 0!important;padding:3mm!important;border:1px solid #d3d3d3!important;background:#fff!important;break-inside:avoid!important}body.single-sg_recipe .sgr-education-avatar{display:none!important}body.single-sg_recipe .sgr-education-header{margin-bottom:2mm!important}}

/* V0.4.2 – visitor reviews, separate from SGB ingredient evaluation. */
.sgr-recipe-author{font-size:.9rem;color:#6B6A63;margin:0 0 12px}
.sgr-feedback{margin:44px 0;padding:28px;border:1px solid #DED4C3;border-radius:18px;background:#FFFDF8}
.sgr-feedback h2{font-family:Newsreader,Georgia,serif;color:#263128}
.sgr-feedback .sgr-rating-summary{font-size:1.15rem;font-weight:750;color:#263128}
.sgr-review-list{display:grid;gap:16px;margin:20px 0}
.sgr-review{border-bottom:1px solid #DED4C3;padding:8px 0 16px}
.sgr-review p{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.sgr-review span{color:#BA7900;font-size:1.15rem}
.sgr-feedback .comment-respond{max-width:720px}
.sgr-feedback label{display:block;font-weight:700;margin:12px 0 6px}
.sgr-feedback select,.sgr-feedback textarea,.sgr-feedback input[type=text],.sgr-feedback input[type=email]{width:100%;max-width:100%;border:1px solid #8C8377;border-radius:12px;padding:12px;background:#fff}
.sgr-feedback .submit{background:#263128;color:white;border:0;border-radius:14px;padding:13px 20px;cursor:pointer}
@media print{.sgr-feedback{display:none!important}}

/* V0.4.3: recipe rating next to author and comments AFTER promo */
.sgr-hero-reviews{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin:0 0 20px;font-size:14px;color:#263128}
.sgr-hero-stars{font-size:21px;line-height:1;letter-spacing:.055em;color:#C28617}
.sgr-hero-stars--empty{color:#8C8377}
.sgr-hero-reviews a{text-decoration:underline;text-underline-offset:3px;font-weight:700}
.sgr-feedback{margin-top:32px;margin-bottom:28px}
.sgr-star-picker{border:0;margin:20px 0 10px;padding:0}
.sgr-star-picker legend{font-weight:750;padding:0;margin:0 0 10px}
.sgr-star-options{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.sgr-star-options label{position:relative;display:grid;place-items:center;width:47px;height:49px;margin:0!important;cursor:pointer}
.sgr-star-options input{position:absolute;inset:0;width:100%!important;height:100%;opacity:0;cursor:pointer;z-index:1}
.sgr-star-options span{font-size:40px;line-height:1;color:#A8A49C;user-select:none;transition:color .12s ease,transform .12s ease}
.sgr-star-options label.sgr-star-picked span{color:#C28617}
.sgr-star-options label:hover span{color:#BD831D;transform:scale(1.06)}
.sgr-star-options input:focus-visible+span{outline:3px solid #C94B36;outline-offset:3px;border-radius:7px}
.sgr-rating-selection{font-size:13px;color:#6B6A63;margin:4px 0 0}
@media print{.sgr-hero-reviews,.sgr-feedback{display:none!important}}

/* v0.4.4 privacy, optional newsletter opt-in and anti-bot honeypot. */
.sgr-feedback .sgr-human-check{position:absolute!important;left:-10000px!important;top:auto!important;width:1px!important;height:1px!important;overflow:hidden!important;opacity:0!important;pointer-events:none!important}
.sgr-newsletter-choice{margin:18px 0 10px;padding:18px 20px;border:1px solid #DED4C3;border-radius:14px;background:#EFF3EC;color:#263128}
.sgr-newsletter-choice label{display:flex!important;align-items:flex-start;gap:12px;cursor:pointer;font-weight:600!important;line-height:1.48!important;margin:0!important}
.sgr-newsletter-choice input[type=checkbox]{flex:0 0 auto;margin:5px 0 0;width:19px;height:19px;accent-color:#4E6B41}
.sgr-newsletter-choice p,.sgr-private-email{font-size:.82rem;color:#6B6A63;line-height:1.55;margin:10px 0 0}
.sgr-newsletter-choice a{text-decoration:underline;text-underline-offset:3px;color:#263128}
.sgr-review-hint{font-size:.9rem;color:#6B6A63}
@media print {.sgr-newsletter-choice,.sgr-private-email{display:none!important}}

/* Recipe-only visitor fields and optional newsletter agreement. */
.sgr-feedback .comment-form-author, .sgr-feedback .comment-form-email {display:flex;flex-direction:column;gap:8px;flex:1 1 220px}
.sgr-feedback .comment-form-email small {font-size:13px;color:#6B6A63;line-height:1.5}
.sgr-feedback .sgr-newsletter-choice label {display:flex;align-items:flex-start;gap:10px;font-weight:400;font-size:15px;line-height:1.6}
.sgr-feedback .sgr-newsletter-choice label input {margin:4px 0 0;flex-shrink:0;width:18px;height:18px}

/* 0.4.6: align hero image to the same 2-column boundary as ingredient panels. */
@media (min-width:761px){.sgr-recipe-page .sgr-hero{grid-template-columns:minmax(0,0.95fr) minmax(0,1.05fr);gap:26px}}
/* Sonata Green wine-red call to action. */
.sgr-recipe-page .sgr-end-cta:not(.sgr-end-cta--custom)>a,.sgr-archive .sgr-end-cta:not(.sgr-end-cta--custom)>a{background:#8B3341;color:#fff;border-color:#8B3341}
.sgr-recipe-page .sgr-end-cta:not(.sgr-end-cta--custom)>a:hover,.sgr-recipe-page .sgr-end-cta:not(.sgr-end-cta--custom)>a:focus-visible,.sgr-archive .sgr-end-cta:not(.sgr-end-cta--custom)>a:hover,.sgr-archive .sgr-end-cta:not(.sgr-end-cta--custom)>a:focus-visible{background:#712635;color:#fff}
/* Optional newsletter checkbox starts at the beginning of its unbolded label. */
.sgr-feedback .sgr-newsletter-choice>label{display:flex!important;align-items:flex-start;justify-content:flex-start;gap:9px;font-weight:400!important;line-height:1.55}
.sgr-feedback .sgr-newsletter-choice>label>input{flex:0 0 18px;width:18px;height:18px;margin:3px 0 0}
@media(max-width:760px){.sgr-recipe-page .sgr-hero{display:flex}}
@media print{.sgr-recipe-page .sgr-hero{display:grid!important;grid-template-columns:minmax(0,1fr) 49mm!important;gap:7mm!important}}

/* Separate recipe review pages, controlled in Receptai > Komentarai ir Sender. */
.sgr-review-pagination{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:9px;margin:22px 0 28px}
.sgr-review-pagination .page-numbers{display:inline-flex;justify-content:center;align-items:center;min-width:40px;min-height:40px;padding:8px 13px;border:1px solid #DED4C3;border-radius:10px;color:#263128;background:#FFFDF8;text-decoration:none;font-size:14px;font-weight:600}
.sgr-review-pagination .page-numbers.current{background:#263128;border-color:#263128;color:#fff}
.sgr-review-pagination a.page-numbers:hover,.sgr-review-pagination a.page-numbers:focus-visible{border-color:#4E6B41;background:#EFF3EC}
@media print{.sgr-review-pagination{display:none!important}}

/* v0.5.0: photo moderation and gallery */
.sgr-no-image{min-height:280px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:16px;background:#f2eee6;color:#626a5c;border:1px solid #ded4c3;border-radius:18px;}
.sgr-no-image span{font-size:54px;opacity:.45}.sgr-gallery{grid-column:1/-1;display:flex;gap:9px;overflow-x:auto;padding:12px 0;}
.sgr-gallery-item{background:transparent;border:2px solid transparent;border-radius:10px;padding:2px;cursor:pointer;flex:0 0 auto;}
.sgr-gallery-item:focus-visible{outline:3px solid #8b3341}.sgr-gallery-item img{width:72px;height:72px;object-fit:cover;border-radius:8px;display:block}
.sgr-comment-photo{display:inline-block;margin-top:12px}.sgr-comment-photo img{width:100px;height:100px;object-fit:cover;border-radius:8px;}
.sgr-upload-field{display:grid;gap:9px;margin:14px 0;padding:15px;border:1px solid #ded4c3;border-radius:10px}
.sgr-photo-consent{display:flex;gap:10px;font-size:13px;line-height:1.55}.sgr-upload-field small{font-size:12px}
.sgr-comment-success{padding:16px;border:1px solid #8db39d;border-radius:12px;margin:15px 0;background:#f4fcf6}
.sgr-score-info{display:inline-block;position:relative;margin-left:6px;vertical-align:middle}
.sgr-score-info summary{cursor:pointer;display:inline;list-style:none;font-size:16px;color:#50664c}.sgr-score-info summary::-webkit-details-marker{display:none}
.sgr-score-info[open] .sgr-score-info-content{position:absolute;z-index:15;top:22px;left:-72px;width:min(276px,calc(100vw - 54px));padding:15px 34px 15px 14px;background:#fffdf8;border:1px solid #ded4c3;border-radius:9px;box-shadow:0 5px 22px #0002;color:#263128;font-size:13px;line-height:1.5}
.sgr-score-info-content p{margin:0!important;font-size:13px!important;line-height:1.6!important;color:#263128!important}
.sgr-score-info-close{position:absolute;right:4px;top:4px;width:30px;height:30px;border:0;background:transparent;color:#263128;cursor:pointer;font:700 21px/1 Manrope,system-ui,sans-serif;border-radius:6px}
.sgr-score-info-close:hover{background:#eff3ec}
.sgr-score-info-close:focus-visible{outline:2px solid #8B3341;outline-offset:1px}

.sgr-photo-modal{border:0;border-radius:14px;padding:22px;max-width:min(94vw,1060px);max-height:94vh;background:#fffdf8}
.sgr-photo-modal::backdrop{background:rgba(12,21,15,.8)}.sgr-photo-modal img{max-height:80vh;max-width:90vw;object-fit:contain}
.sgr-photo-modal-close{position:absolute;top:5px;right:9px;border:0;background:transparent;font-size:26px;cursor:pointer}

/* v0.5.5: on mobile, hero copy must precede both featured and empty-photo placeholders. */
@media screen and (max-width:760px){
  .sgr-recipe-page .sgr-hero{display:flex;flex-direction:column;align-items:stretch}
  .sgr-recipe-page .sgr-hero > .sgr-hero-copy{order:1}
  .sgr-recipe-page .sgr-hero > .sgr-hero-image,
  .sgr-recipe-page .sgr-hero > .sgr-no-image{order:2}
  .sgr-recipe-page .sgr-hero > .sgr-gallery{order:3}
}

/* v0.5.6: photo invitation for published recipes without a featured image. */
.sgr-no-image--invite{gap:9px;padding:28px 20px;text-align:center}
.sgr-no-image--invite strong{font-family:Newsreader,Georgia,serif;font-size:clamp(25px,2.4vw,34px);line-height:1.15;color:#263128}
.sgr-no-image--invite p{margin:0 0 6px;color:#4E5149}
.sgr-no-image--invite .sgr-no-image-icon{line-height:1;font-size:41px}
.sgr-no-image--invite .sgr-upload-invite{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 20px;background:#8B3341;color:#fff;border-radius:10px;font-size:15px;font-weight:750;text-decoration:none}
.sgr-no-image--invite .sgr-upload-invite:hover,.sgr-no-image--invite .sgr-upload-invite:focus-visible{background:#712635;color:#fff}
.sgr-no-image--invite small{font-size:12px;color:#6B6A63}
#sgr-photo-input{scroll-margin-top:120px}
@media print{.sgr-no-image--invite{display:none!important}}

/* v0.5.7: reviews and comment form side by side on desktop; form first on mobile. */
.sgr-feedback-layout{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:clamp(24px,3vw,44px);align-items:start}
.sgr-feedback-form-column,.sgr-feedback-reviews-column{min-width:0}
.sgr-feedback .sgr-feedback-form-column .comment-respond{max-width:none;margin:0}
.sgr-feedback .sgr-feedback-form-column .comment-reply-title{margin:0 0 18px;font-size:clamp(26px,2.3vw,32px);line-height:1.18;color:var(--sgr-forest)}
.sgr-feedback-reviews-column{border-left:1px solid var(--sgr-line);padding-left:clamp(20px,2.5vw,36px);min-height:100%}
.sgr-feedback-reviews-column h3{font-family:Newsreader,Georgia,serif;font-size:clamp(26px,2.3vw,32px);line-height:1.18;color:var(--sgr-forest);margin:0 0 18px}
.sgr-feedback-reviews-column>p,.sgr-comments-closed{color:var(--sgr-muted);font-size:15px;line-height:1.65;margin:0 0 18px}
.sgr-feedback-reviews-column .sgr-review-list{margin:18px 0 0}
@media(max-width:980px){.sgr-feedback-layout{grid-template-columns:minmax(0,1fr);gap:30px}.sgr-feedback-reviews-column{border-left:0;border-top:1px solid var(--sgr-line);padding:26px 0 0;min-height:0}}
@media(max-width:520px){.sgr-feedback{padding:20px}.sgr-feedback-layout{gap:22px}.sgr-feedback-reviews-column{padding-top:22px}}
@media print{.sgr-feedback-layout{display:none!important}}

/* v0.5.8: contain the SGB close control; prevent WordPress theme hover/CTA styles from expanding it. */
.sgr-page .sgr-score-info-content > button.sgr-score-info-close {
  appearance:none!important;-webkit-appearance:none!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  position:absolute!important;right:5px!important;top:5px!important;
  box-sizing:border-box!important;width:26px!important;height:26px!important;
  min-width:26px!important;max-width:26px!important;
  min-height:26px!important;max-height:26px!important;
  padding:0!important;margin:0!important;border:0!important;
  border-radius:5px!important;background:transparent!important;
  box-shadow:none!important;transform:none!important;
  color:#263128!important;font:600 19px/1 Manrope,system-ui,sans-serif!important;
  cursor:pointer!important;opacity:1!important;
}
.sgr-page .sgr-score-info-content > button.sgr-score-info-close:hover,
.sgr-page .sgr-score-info-content > button.sgr-score-info-close:active {
  width:26px!important;height:26px!important;
  background:#eff3ec!important;box-shadow:none!important;transform:none!important;
  color:#263128!important;
}
.sgr-page .sgr-score-info-content > button.sgr-score-info-close:focus-visible {
  outline:2px solid #8B3341!important;outline-offset:1px!important;
}

/* v0.5.9: scoped catalogue/taxonomy layout; no global overflow clipping. */
body.post-type-archive-sg_recipe #content > .ast-container,
body.tax-sg_meal_type #content > .ast-container,
body.tax-sg_recipe_category #content > .ast-container{display:block!important;max-width:none!important;width:100%!important;min-width:0!important;margin:0!important;padding:0!important}
body.post-type-archive-sg_recipe #primary,
body.tax-sg_meal_type #primary,
body.tax-sg_recipe_category #primary{display:block!important;float:none!important;max-width:none!important;width:100%!important;min-width:0!important;margin:0!important;padding:0!important}
.sgr-archive{max-width:100%;min-width:0;width:100%;}
.sgr-archive .sgr-container{width:min(1320px,calc(100% - 48px));max-width:100%;min-width:0;margin-inline:auto}
.sgr-archive .sgr-container > *{min-width:0;max-width:100%}
.sgr-archive .sgr-archive-heading{max-width:760px}
.sgr-archive .sgr-archive-heading h1{overflow-wrap:break-word}
.sgr-archive .sgr-category-description{font-size:17px;line-height:1.65;max-width:75ch}
.sgr-archive .sgr-category-description p{margin:0 0 12px}
.sgr-archive .sgr-filters{grid-template-columns:minmax(0,2fr) minmax(160px,1fr) auto;max-width:100%;}
.sgr-archive .sgr-filters > label{min-width:0}
.sgr-archive .sgr-filters input,.sgr-archive .sgr-filters select{display:block;max-width:100%;min-width:0}
.sgr-archive .sgr-grid{grid-template-columns:repeat(var(--sgr-archive-cols,4),minmax(0,1fr));gap:clamp(12px,1.5vw,20px)}
.sgr-archive .sgr-card{min-width:0;max-width:100%}
.sgr-archive .sgr-card a{min-width:0}
.sgr-archive .sgr-card img,.sgr-card-no-image{display:block;aspect-ratio:1/1;width:100%;height:auto;object-fit:cover}
.sgr-card-no-image{display:grid;place-items:center;background:#f2eee6;color:#626a5c;font-size:13px}
.sgr-archive .sgr-card-copy{padding:clamp(13px,1.6vw,20px)}
.sgr-archive .sgr-card-copy h2{font-size:clamp(17px,1.65vw,25px);overflow-wrap:anywhere}
.sgr-archive .sgr-card-excerpt{line-height:1.55}
.sgr-archive .sgr-card-meta{font-size:12px;color:#6B6A63}
.sgr-catalogue-tools{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px;margin:0 0 15px;font-size:13px}
.sgr-catalogue-tools .sgr-result-count{color:#6B6A63}
.sgr-tool-actions{display:flex;align-items:center;gap:8px;margin-left:auto;min-width:0}
.sgr-catalogue-tools select,.sgr-view-toggle{height:35px;max-width:100%;border:1px solid #DED4C3;border-radius:8px;background:#FFFDF8;color:#263128;padding:4px 9px;font:600 13px/1.2 Manrope,system-ui,sans-serif;cursor:pointer}
.sgr-view-wrapper{position:relative}
.sgr-view-options[hidden]{display:none!important}
.sgr-view-options{position:absolute;right:0;top:calc(100% + 6px);z-index:20;width:240px;max-width:calc(100vw - 32px);display:grid;gap:12px;padding:14px;border:1px solid #DED4C3;border-radius:12px;background:#FFFDF8;box-shadow:0 9px 30px #26312822}
.sgr-view-options label{display:grid;gap:6px;font-size:12px;font-weight:700;color:#6B6A63}
.sgr-view-options select{width:100%}
.sgr-view-options .sgr-view-apply{height:36px;border:0;border-radius:8px;background:#263128;color:#fff;font:700 13px Manrope,system-ui,sans-serif;cursor:pointer}
.sgr-visually-hidden{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important}
.sgr-archive .sgr-pagination{display:flex;flex-wrap:wrap}
.sgr-archive .sgr-load-more{background:#263128;color:#fff;padding:11px 22px;border-radius:9px;font-weight:700}
.sgr-archive .sgr-load-more:hover{color:#fff;background:#4E6B41}
/* Fixed geometric icon rather than an operating-system-dependent Unicode circled-i glyph. */
.sgr-page .sgr-score-info{vertical-align:middle;line-height:1;margin-left:4px}
.sgr-page .sgr-score-info summary{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;min-width:24px;min-height:24px;padding:0;margin:0;border:0;border-radius:50%;background:transparent;line-height:1;vertical-align:middle;list-style:none;cursor:pointer}
.sgr-page .sgr-score-info summary .sgr-score-info-glyph{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:16px;height:16px;border:1px solid #50664c;border-radius:50%;color:#50664c;font:600 12px/1 Arial,system-ui,sans-serif;text-transform:none;flex:0 0 16px;padding:0 0 1px 0}
.sgr-page .sgr-score-info summary:hover .sgr-score-info-glyph{border-color:#263128;color:#263128}
@media(max-width:1000px){.sgr-archive .sgr-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sgr-archive .sgr-filters{grid-template-columns:minmax(0,2fr) minmax(0,1fr) auto}.sgr-archive .sgr-filters .sgr-search-label{grid-column:auto}}
@media(max-width:700px){.sgr-archive .sgr-container{width:calc(100% - 32px)}.sgr-archive .sgr-filters{grid-template-columns:minmax(0,1fr);padding:16px}.sgr-archive .sgr-filters label,.sgr-archive .sgr-filters .sgr-search-label{grid-column:auto;width:100%;min-width:0}.sgr-archive .sgr-filters button{width:100%}.sgr-archive .sgr-archive-heading{min-width:0}.sgr-archive .sgr-grid{grid-template-columns:minmax(0,1fr)}.sgr-columns-select{display:none!important}}
/* Square feature placeholder, matching real recipe photos on desktop and mobile. */
.sgr-recipe-page .sgr-hero > .sgr-no-image{aspect-ratio:1/1;min-height:0;width:100%;max-width:100%}
@media(max-width:520px){.sgr-archive .sgr-archive-heading h1{font-size:clamp(40px,11vw,54px)}.sgr-catalogue-tools{gap:8px}.sgr-catalogue-tools select,.sgr-view-toggle{font-size:12px;padding:4px 7px}}
