/*
Theme Name: LTDP Air
Theme URI: https://www.latuadietapersonalizzata.it/
Author: OpenAI
Description: Tema editoriale ultra-leggero, mobile-first e SEO-first per LaTuaDietaPersonalizzata.it. Preserva identità verde/arancio, funzioni editoriali legacy e redirect AMP senza disattivare AMP automaticamente.
Version: 2.5.2
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: ltdp-air
*/
:root{
  --green:#5f884c;--green-dark:#30482d;--green-soft:#eef4ea;--lime:#7da35f;
  --orange:#d28a2b;--orange-dark:#9a5b12;--orange-soft:#fff3e3;
  --ink:#171914;--muted:#6f746a;--line:#e7e9e1;--paper:#fff;--wash:#f8f9f4;
  --serif:Georgia,'Times New Roman',serif;--sans:Arial,Helvetica,sans-serif;
  --radius:22px;--shadow:0 18px 50px rgba(25,50,18,.10);--wrap:1220px;
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);font-size:16px;line-height:1.62;-webkit-font-smoothing:antialiased}img{display:block;max-width:100%;height:auto}a{color:inherit;text-decoration:none}button,input{font:inherit}.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.wrap{width:min(var(--wrap),calc(100% - 40px));margin-inline:auto}
.topline{background:linear-gradient(90deg,var(--green-dark),#49663e);color:#fff;font-size:12px}.topline-inner{min-height:34px;display:flex;align-items:center;justify-content:space-between;gap:16px}.topline a{opacity:.9}.site-header{position:relative;background:#fff;border-bottom:1px solid var(--line);z-index:40}.brand-row{min-height:106px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:24px}.site-brand{justify-self:start;display:inline-flex;align-items:center;min-width:210px;min-height:64px}.site-brand img{width:auto;max-width:300px;max-height:78px;object-fit:contain}.site-brand .ltdp-original-logo{width:205px;max-width:100%;height:auto;max-height:none}.brand-text{font:700 clamp(25px,3vw,42px)/.95 var(--serif);color:var(--green-dark)}.brand-text small{display:block;font:600 11px/1.2 var(--sans);letter-spacing:.12em;text-transform:uppercase;color:var(--muted);margin-top:7px}.brand-tagline{justify-self:center;text-align:center;color:var(--muted);font-size:12px;max-width:310px}.head-actions{justify-self:end;display:flex;gap:8px}.icon-btn{width:42px;height:42px;border:1px solid var(--line);border-radius:999px;background:#fff;display:grid;place-items:center;cursor:pointer}.icon-btn svg{width:19px;height:19px}.menu-toggle{display:none}.nav-wrap{border-top:1px solid var(--line)}.main-nav>ul{list-style:none;padding:0;margin:0;display:flex;align-items:center;gap:26px;min-height:52px}.main-nav li{position:relative}.main-nav a{display:block;font-size:13px;font-weight:800;letter-spacing:.02em;text-transform:uppercase}.main-nav .sub-menu{display:none;position:absolute;top:100%;left:-16px;min-width:230px;background:#fff;padding:10px 0;margin:0;list-style:none;border:1px solid var(--line);box-shadow:var(--shadow);border-radius:12px}.main-nav li:hover>.sub-menu,.main-nav li:focus-within>.sub-menu{display:block}.main-nav .sub-menu a{padding:9px 16px;text-transform:none;font-weight:700}.main-nav .sub-menu .sub-menu{top:-10px;left:100%}.mobile-strip{display:none}
.search-panel{display:none;border-top:1px solid var(--line);padding:16px 0;background:var(--wash)}.search-panel.is-open{display:block}.search-form{display:flex;gap:8px}.search-field{flex:1;border:1px solid var(--line);border-radius:999px;padding:12px 18px;background:#fff}.search-submit{border:0;border-radius:999px;padding:12px 20px;background:var(--green-dark);color:#fff;font-weight:800}
.adv-slot{width:100%;min-height:1px;overflow:visible}.adv-home-top{margin:14px auto}.adv-before-content,.adv-after-content{margin:22px 0}.adv-sidebar{margin:22px 0}.hero-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,.75fr);gap:24px;padding:34px 0 16px}.hero-card{position:relative;min-height:520px;border-radius:var(--radius);overflow:hidden;background:#222;color:#fff}.hero-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.hero-card:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.06) 20%,rgba(0,0,0,.78) 100%)}.hero-copy{position:absolute;z-index:2;left:34px;right:34px;bottom:32px}.eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:11px;font-weight:900;letter-spacing:.11em;text-transform:uppercase;color:var(--orange-dark)}.hero-card .eyebrow{color:#ffe2b6}.hero-title{font:700 clamp(34px,4.4vw,66px)/.98 var(--serif);letter-spacing:-.035em;margin:12px 0 12px}.hero-meta{font-size:13px;opacity:.88}.latest-stack{border-top:4px solid var(--orange);padding-top:14px}.section-kicker{font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.1em;color:var(--orange-dark)}.latest-stack h2,.section-head h2{font:700 clamp(24px,3vw,36px)/1.05 var(--serif);margin:6px 0 18px}.mini-story{display:grid;grid-template-columns:110px 1fr;gap:14px;padding:13px 0;border-top:1px solid var(--line)}.mini-story:first-of-type{border-top:0}.mini-story img{width:110px;aspect-ratio:4/3;object-fit:cover;border-radius:10px}.mini-story h3{font:700 16px/1.18 var(--serif);margin:3px 0 5px}.mini-meta{font-size:11px;color:var(--muted)}
.desktop-unisa{display:block}.unisa-sidecard{position:relative;margin-top:22px;min-height:210px;border-radius:18px;overflow:hidden;background:var(--green-dark);color:#fff;box-shadow:0 12px 32px rgba(48,72,45,.14)}.unisa-sidecard>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.unisa-sidecard:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(18,28,15,.08),rgba(18,28,15,.86))}.unisa-sidecopy{position:absolute;z-index:2;left:18px;right:18px;bottom:17px;display:grid;gap:3px}.unisa-sidecopy small{font-size:10px;font-weight:900;letter-spacing:.1em;text-transform:uppercase;color:#ffd8a0}.unisa-sidecopy strong{font:700 24px/1.05 var(--serif)}.unisa-sidecopy em{font-style:normal;font-size:12px;color:#eef4e8}
.unisa-lower{margin:18px 0 58px;border:1px solid var(--line);border-radius:24px;overflow:hidden;display:grid;grid-template-columns:minmax(300px,.72fr) minmax(0,1.28fr);background:linear-gradient(120deg,#f9fbf6,#fff8ee);box-shadow:0 12px 34px rgba(48,72,45,.08)}.unisa-lower-image{min-height:275px}.unisa-lower-image img{width:100%;height:100%;object-fit:cover}.unisa-lower-copy{padding:34px 38px;align-self:center}.unisa-badge{display:inline-flex;padding:6px 10px;border-radius:999px;background:var(--orange-soft);color:var(--orange-dark);font-weight:900;font-size:10px;text-transform:uppercase;letter-spacing:.08em}.unisa-lower h2{font:700 clamp(30px,3.2vw,45px)/1.02 var(--serif);margin:12px 0 12px;letter-spacing:-.025em}.unisa-lower p{color:var(--muted);margin:0 0 18px;max-width:720px}.button{display:inline-flex;align-items:center;gap:9px;background:var(--orange);color:#fff;padding:11px 17px;border-radius:999px;font-weight:900;font-size:13px}.button:hover{background:var(--orange-dark)}
.unisa-mobile-banner{display:none}
.section{padding:18px 0 34px}.section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:10px}.section-head a{font-size:13px;font-weight:800;color:var(--green-dark);text-decoration-color:var(--orange);text-underline-offset:4px}.section-head a:hover{text-decoration:underline}.rail{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(250px,29%);gap:16px;overflow-x:auto;overflow-y:hidden;overscroll-behavior-inline:contain;scroll-snap-type:x proximity;padding:3px 0 12px;scrollbar-width:thin}.story-card{scroll-snap-align:start}.story-card figure{margin:0;overflow:hidden;border-radius:16px;background:var(--wash);aspect-ratio:4/3}.story-card img{width:100%;height:100%;object-fit:cover;transition:transform .25s ease}.story-card:hover img{transform:scale(1.02)}.story-card h3{font:700 19px/1.16 var(--serif);margin:10px 0 6px}.story-card p{font-size:13px;color:var(--muted);margin:0}.cat-chips{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.cat-chip{display:inline-flex;padding:6px 10px;border-radius:999px;background:var(--green-soft);color:var(--green-dark);font-size:11px;font-weight:800;border:1px solid #dbe8d4}.all-news{padding:18px 0 54px}.news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.news-card{border-top:1px solid var(--line);padding-top:16px}.news-card img{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:14px;margin-bottom:12px}.news-card h2,.news-card h3{font:700 22px/1.15 var(--serif);margin:6px 0 8px}.news-card .excerpt{color:var(--muted);font-size:14px}.pagination{display:flex;gap:8px;flex-wrap:wrap;margin-top:34px}.page-numbers{min-width:38px;height:38px;display:grid;place-items:center;border:1px solid var(--line);border-radius:999px;font-weight:800}.page-numbers.current{background:var(--orange);color:#fff;border-color:var(--orange)}
.content-wrap{width:min(1120px,calc(100% - 40px));margin:0 auto}.article-shell{display:grid;grid-template-columns:minmax(0,760px) minmax(240px,1fr);gap:48px;align-items:start;padding:40px 0 64px}.article-main{min-width:0}.breadcrumbs{font-size:12px;color:var(--muted);margin-bottom:15px}.entry-title{font:700 clamp(38px,5.3vw,72px)/.98 var(--serif);letter-spacing:-.045em;margin:0 0 17px}.entry-meta{display:flex;gap:10px;flex-wrap:wrap;color:var(--muted);font-size:13px;margin-bottom:22px}.entry-meta a{color:var(--green-dark);font-weight:800}.featured-media{margin:0 0 28px;border-radius:20px;overflow:hidden;background:var(--wash)}.featured-media img{width:100%;height:auto}.entry-content{font:400 18px/1.78 var(--serif)}.entry-content>*:first-child{margin-top:0}.entry-content h2{font:700 34px/1.1 var(--serif);margin:42px 0 14px}.entry-content h3{font:700 26px/1.15 var(--serif);margin:32px 0 12px}.entry-content a{color:var(--green-dark);text-decoration:underline;text-underline-offset:3px}.entry-content img{border-radius:14px}.entry-content table{width:100%;border-collapse:collapse;font-family:var(--sans);font-size:14px;display:block;overflow-x:auto}.entry-content td,.entry-content th{padding:10px;border:1px solid var(--line)}.article-side{position:sticky;top:20px}.side-box{border-top:4px solid var(--orange);padding-top:14px}.side-box h2{font:700 25px/1.1 var(--serif);margin:0 0 10px}.author-box{margin-top:42px;border-radius:18px;padding:24px;background:var(--wash);display:grid;grid-template-columns:72px 1fr;gap:16px}.author-box img{width:72px;height:72px;border-radius:50%;object-fit:cover}.author-box h3{margin:0 0 5px;font:700 22px/1.1 var(--serif)}.author-box p{margin:0;color:var(--muted);font-size:14px}.related{margin-top:44px;border-top:1px solid var(--line);padding-top:26px}.related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.related h2{font:700 30px/1.05 var(--serif);margin:0 0 18px}.related h3{font:700 17px/1.15 var(--serif);margin:8px 0}.related img{aspect-ratio:4/3;object-fit:cover;border-radius:12px}
.page-shell{padding:46px 0 72px;max-width:900px}.page-shell h1,.archive-title{font:700 clamp(38px,5vw,64px)/1 var(--serif);letter-spacing:-.035em}.archive-head{padding:40px 0 18px}.archive-description{color:var(--muted);max-width:760px}.site-footer{background:#243823;color:#fff;margin-top:10px}.footer-main{display:grid;grid-template-columns:1.4fr .8fr .8fr;gap:42px;padding:48px 0}.footer-brand{font:700 30px/1 var(--serif);margin-bottom:12px}.footer-copy{color:#cdd8cd;max-width:480px;font-size:14px}.footer-col h3{font-size:12px;text-transform:uppercase;letter-spacing:.1em;margin:0 0 12px;color:#b9d5b2}.footer-col ul{list-style:none;margin:0;padding:0}.footer-col li{margin:7px 0}.footer-col a{color:#fff;font-size:14px}.footer-bottom{border-top:1px solid rgba(255,255,255,.12);padding:16px 0 22px;color:#afbfaf;font-size:12px;display:flex;justify-content:space-between;gap:18px;flex-wrap:wrap}
.footer-logo{min-height:44px;display:flex;align-items:center}.footer-logo img{max-width:180px;max-height:72px;width:auto;height:auto;filter:none}.verified-review-box{background:#edf7ed;border-left:4px solid var(--green);padding:14px 18px;margin-top:38px;font:600 14px/1.5 var(--sans);color:#244126;border-radius:8px}.verified-review-box a{color:var(--green-dark);font-weight:900}.verified-icon{display:inline-grid;place-items:center;width:20px;height:20px;border-radius:50%;background:var(--green);color:#fff;margin-right:6px}.adv-home-sidebar{margin:18px 0}.article-side .unisa-sidecard{margin-bottom:24px}
@media(max-width:900px){.desktop-unisa{display:none!important}.unisa-mobile-banner{display:grid;position:relative;width:min(300px,calc(100% - 28px));aspect-ratio:3/1;margin:22px auto 16px;border-radius:16px;overflow:hidden;background:var(--green-dark);color:#fff}.unisa-mobile-banner>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.unisa-mobile-banner:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(30,49,26,.92),rgba(30,49,26,.25))}.unisa-mobile-banner>span{position:relative;z-index:2;align-self:center;padding:12px 14px;display:grid;gap:1px;max-width:75%}.unisa-mobile-banner small{font-size:8px;font-weight:900;letter-spacing:.09em;text-transform:uppercase;color:#ffd49a}.unisa-mobile-banner strong{font:700 16px/1.05 var(--serif)}.unisa-mobile-banner em{font-style:normal;font-size:10px;margin-top:3px}.wrap,.content-wrap{width:min(100% - 28px,var(--wrap))}.topline{display:none}.brand-row{height:82px;min-height:82px;grid-template-columns:minmax(0,1fr) auto;gap:12px}.brand-tagline{display:none}.site-brand{min-width:0;min-height:60px;height:60px;overflow:hidden}.site-brand img,.site-brand .ltdp-original-logo{width:auto!important;height:60px!important;max-width:195px!important;max-height:60px!important;object-fit:contain!important;object-position:left center}.head-actions{gap:7px}.menu-toggle{display:grid}.nav-wrap{display:none}.nav-wrap.is-open{display:block}.main-nav>ul{display:block;padding:10px 0 16px;min-height:0}.main-nav li{border-bottom:1px solid var(--line)}.main-nav a{display:flex;align-items:center;min-height:48px;padding:10px 0}.main-nav .sub-menu,.main-nav .sub-menu .sub-menu{position:static;display:block;border:0;box-shadow:none;padding:0 0 5px 14px;border-radius:0}.main-nav .sub-menu a{padding:8px 0;text-transform:none;font-weight:700}.mobile-strip{display:flex;align-items:center;min-height:64px;overflow-x:auto;overflow-y:hidden;white-space:nowrap;border-top:1px solid var(--line);padding:7px 14px;gap:10px;scrollbar-width:none}.mobile-strip::-webkit-scrollbar{display:none}.mobile-strip a{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 14px;border-radius:999px;background:var(--green-soft);color:var(--green-dark);font-size:11px;font-weight:900;border:1px solid #dce8d5}.mobile-strip a:last-child{background:var(--orange-soft);border-color:#f2d5aa;color:var(--orange-dark)}.hero-grid{grid-template-columns:1fr;padding-top:18px}.hero-card{min-height:440px}.hero-copy{left:22px;right:22px;bottom:22px}.hero-title{font-size:42px}.latest-stack{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.latest-stack>h2,.latest-stack>.section-kicker{grid-column:1/-1}.mini-story{grid-template-columns:88px 1fr}.mini-story img{width:88px}.rail{grid-auto-columns:72%}.news-grid{grid-template-columns:1fr 1fr}.article-shell{grid-template-columns:1fr;gap:26px;padding-top:26px}.article-side{position:static}.entry-title{font-size:47px}.entry-content{font-size:18px}.footer-main{grid-template-columns:1fr 1fr}.footer-main>div:first-child{grid-column:1/-1}}
@media(max-width:600px){.icon-btn{width:48px;height:48px;min-width:48px;min-height:48px}.site-brand img,.site-brand .ltdp-original-logo{max-width:195px!important}.hero-card{min-height:390px}.hero-title{font-size:36px}.latest-stack{grid-template-columns:1fr}.mini-story{grid-template-columns:96px 1fr}.rail{grid-auto-columns:84%}.news-grid{grid-template-columns:1fr}.section-head{align-items:center}.article-shell{padding-bottom:42px}.entry-title{font-size:40px}.entry-content{font-size:17px;line-height:1.75}.entry-content h2{font-size:29px}.related-grid{grid-template-columns:1fr}.author-box{grid-template-columns:58px 1fr;padding:18px}.author-box img{width:58px;height:58px}.footer-main{grid-template-columns:1fr;gap:24px}.footer-main>div:first-child{grid-column:auto}}

/* Recipe UI — LTDP Cook Mode 2.0. Premium, compact and ad-injector friendly. */
.ltdp-recipe{
  --rc-green:#5f9148;--rc-green-deep:#264c2b;--rc-green-soft:#edf6e9;
  --rc-orange:#ed9b35;--rc-orange-deep:#a96012;--rc-orange-soft:#fff1df;
  --rc-ink:#172018;--rc-muted:#6d746c;--rc-line:#e4e9e0;--rc-card:#fff;
  display:grid;gap:20px;min-width:0;margin:34px 0 42px;font-family:var(--sans)
}
.ltdp-recipe *{box-sizing:border-box}

/* Quick facts — same visual language as a premium cooking app. */
.recipe-glance{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;min-width:0}
.recipe-stat{position:relative;min-width:0;min-height:128px;display:flex;align-items:center;gap:18px;padding:22px 24px;border:1px solid #e2e9df;border-radius:24px;background:linear-gradient(145deg,#fff 0%,#fbfdf9 100%);box-shadow:0 10px 30px rgba(41,64,35,.055);overflow:hidden}
.recipe-stat:after{content:"";position:absolute;width:105px;height:105px;border-radius:50%;right:-52px;top:-55px;background:radial-gradient(circle,rgba(95,145,72,.10),rgba(95,145,72,0) 68%);pointer-events:none}
.recipe-stat--orange{border-color:#f1dfc7;background:linear-gradient(145deg,#fff 0%,#fffaf4 100%)}
.recipe-stat--orange:after{background:radial-gradient(circle,rgba(237,155,53,.13),rgba(237,155,53,0) 68%)}
.recipe-stat--soft{background:linear-gradient(145deg,#fcfefb,#fff)}
.recipe-stat-icon,.recipe-panel-icon{display:grid;place-items:center;flex:0 0 auto;width:58px;height:58px;border-radius:50%;background:linear-gradient(145deg,#f4faef,#e6f2df);color:var(--rc-green-deep);box-shadow:inset 0 0 0 1px rgba(74,122,58,.08)}
.recipe-stat--orange .recipe-stat-icon,.recipe-panel-icon--orange{background:linear-gradient(145deg,#fff7eb,#ffe8ca);color:var(--rc-orange-deep);box-shadow:inset 0 0 0 1px rgba(201,124,31,.08)}
.recipe-stat-icon svg,.recipe-panel-icon svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
.recipe-stat>div{min-width:0}
.recipe-stat strong{display:block;margin:0;color:var(--rc-ink);font:850 clamp(28px,4.2vw,39px)/.96 var(--sans);letter-spacing:-.045em;overflow-wrap:anywhere}
.recipe-stat span:not(.recipe-stat-icon){display:block;margin-top:9px;color:var(--rc-muted);font:650 12px/1.2 var(--sans);letter-spacing:.01em}

/* Shared panels */
.recipe-panel{position:relative;min-width:0;margin:0!important;padding:25px;border:1px solid var(--rc-line);border-radius:27px;background:var(--rc-card);box-shadow:0 12px 34px rgba(37,61,32,.055);overflow:hidden;font-family:var(--sans)}
.recipe-panel-head{display:flex;align-items:center;gap:12px;margin:0 0 20px;min-width:0}
.recipe-panel-head h2,.recipe-nutrition-heading h2{margin:0!important;color:var(--rc-ink)!important;font:850 22px/1.08 var(--sans)!important;letter-spacing:-.025em!important;text-transform:none!important}
.recipe-panel-head small,.recipe-nutrition-heading small{display:block;margin-top:5px;color:var(--rc-muted);font:600 11px/1.3 var(--sans)}
.recipe-panel-icon{width:42px;height:42px;border-radius:14px}.recipe-panel-icon svg{width:20px;height:20px}
.recipe-panel-count{margin-left:auto;display:grid;place-items:center;min-width:32px;height:32px;padding:0 10px;border-radius:999px;background:#f2f5ef;color:var(--rc-muted);font:800 11px/1 var(--sans)}

/* Ingredients */
.recipe-ingredients-panel{background:linear-gradient(150deg,#fff 0%,#fcfefb 72%,#f2f8ee 100%);border-color:#dce8d7}
.recipe-ingredient-list{list-style:none!important;padding:0!important;margin:0!important;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 12px}
.recipe-ingredient-list li{list-style:none!important;min-width:0;display:grid;grid-template-columns:9px auto minmax(0,1fr);align-items:center;gap:10px;margin:0!important;padding:12px 13px!important;border:1px solid #e7ece3;border-radius:15px;background:rgba(255,255,255,.94);color:#30362f;font:620 14px/1.38 var(--sans)!important;box-shadow:0 4px 14px rgba(38,58,33,.025)}
.recipe-ingredient-list li:before{display:none!important}
.recipe-ingredient-dot{width:7px;height:7px;border-radius:999px;background:var(--rc-green);box-shadow:0 0 0 4px var(--rc-green-soft)}
.recipe-ingredient-qty{display:inline-flex;align-items:center;justify-content:center;min-width:50px;max-width:112px;padding:6px 10px;border-radius:999px;background:#f0f6ec;color:var(--rc-green-deep);font:800 11px/1 var(--sans);white-space:nowrap}
.recipe-ingredient-name{min-width:0;overflow-wrap:break-word}

/* Procedure timeline */
.recipe-procedure-panel{overflow:visible;background:linear-gradient(155deg,#fff 0%,#fffdf9 100%);border-color:#ece3d8}
.recipe-panel-head--procedure{justify-content:space-between;gap:16px;margin-bottom:23px}
.recipe-panel-title{display:flex;align-items:center;gap:12px;min-width:0}
.recipe-steps-reset{border:0!important;background:transparent!important;color:var(--rc-orange-deep)!important;font:800 11px/1 var(--sans)!important;padding:9px 11px!important;border-radius:999px!important;cursor:pointer;white-space:nowrap;text-decoration:none!important}
.recipe-steps-reset:before{content:"↺";margin-right:6px;font-size:14px}.recipe-steps-reset:hover,.recipe-steps-reset:focus-visible{background:var(--rc-orange-soft)!important;outline:none}
.recipe-step-list{display:grid;gap:0;min-width:0}
.recipe-step{display:grid!important;grid-template-columns:50px minmax(0,1fr)!important;gap:13px!important;align-items:stretch!important;width:100%!important;max-width:none!important;min-width:0!important;margin:0!important;padding:0!important;float:none!important;clear:both!important;position:relative!important}
.recipe-step-rail{display:flex;flex-direction:column;align-items:center;min-width:0}
.recipe-step-check{position:relative!important;z-index:2!important;display:grid!important;place-items:center!important;flex:0 0 auto!important;width:42px!important;height:42px!important;min-width:42px!important;margin:4px 0 0!important;padding:0!important;border:1.5px solid #ccd4c8!important;border-radius:999px!important;background:#fff!important;color:transparent!important;box-shadow:0 4px 14px rgba(39,61,34,.07)!important;cursor:pointer!important;font:900 18px/1 var(--sans)!important;transition:transform .15s ease,background .15s ease,border-color .15s ease,box-shadow .15s ease!important}
.recipe-step-check:hover,.recipe-step-check:focus-visible{border-color:var(--rc-green)!important;box-shadow:0 0 0 4px var(--rc-green-soft)!important;outline:none!important;transform:scale(1.035)}
.recipe-step-check span{display:block;transform:translateY(-.5px)}
.recipe-step-line{flex:1;width:1px;min-height:18px;background:repeating-linear-gradient(to bottom,#d6ddd3 0 4px,transparent 4px 9px);margin:5px 0 0}.recipe-step:last-child .recipe-step-line{display:none}
.recipe-step-card{min-width:0!important;width:100%!important;max-width:none!important;margin:0 0 14px!important;padding:17px 19px 18px!important;border:1px solid #e6e8e2!important;border-radius:19px!important;background:#fff!important;box-shadow:0 7px 20px rgba(47,52,44,.045)!important;float:none!important;clear:none!important;display:block!important;overflow:visible!important;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease,background .16s ease!important}
.recipe-step-card:hover{transform:translateY(-1px);border-color:#d8ded5!important;box-shadow:0 11px 28px rgba(47,52,44,.07)!important}
.recipe-step-heading{display:flex!important;align-items:center!important;gap:10px!important;min-width:0!important;width:100%!important;margin:0 0 7px!important;padding:0!important;float:none!important}
.recipe-step-number{display:inline-grid;place-items:center;flex:0 0 auto;min-width:36px;height:28px;padding:0 8px;border-radius:999px;background:var(--rc-green-soft);color:var(--rc-green-deep);font:900 10px/1 var(--sans);letter-spacing:.04em}
.recipe-step-heading h3,.recipe-step-card h3{min-width:0!important;width:auto!important;max-width:none!important;margin:0!important;padding:0!important;float:none!important;clear:none!important;color:var(--rc-ink)!important;font:820 17px/1.22 var(--sans)!important;letter-spacing:-.015em!important;text-transform:none!important;word-break:normal!important;overflow-wrap:break-word!important;white-space:normal!important}
.recipe-step-copy,.recipe-step-copy *{max-width:100%!important;word-break:normal!important;overflow-wrap:break-word!important;white-space:normal!important}
.recipe-step-copy{display:block!important;min-width:0!important;width:100%!important;float:none!important;clear:none!important;color:#515850!important;font:500 14.5px/1.6 var(--sans)!important;columns:auto!important;column-count:auto!important}
.recipe-step-copy p{display:block!important;width:100%!important;min-width:0!important;max-width:none!important;margin:5px 0!important;padding:0!important;float:none!important;clear:none!important;color:inherit!important;font:inherit!important;text-indent:0!important;columns:auto!important;column-count:auto!important}.recipe-step-copy p:first-child{margin-top:0!important}.recipe-step-copy p:last-child{margin-bottom:0!important}
.recipe-step.is-done .recipe-step-check{background:var(--rc-green)!important;border-color:var(--rc-green)!important;color:#fff!important;box-shadow:0 5px 15px rgba(57,119,47,.22)!important}
.recipe-step.is-done .recipe-step-card{background:#f7faf5!important;border-color:#d9e6d4!important;box-shadow:none!important}.recipe-step.is-done .recipe-step-heading h3,.recipe-step.is-done .recipe-step-copy{text-decoration:line-through;text-decoration-thickness:1.35px;text-decoration-color:#8b9587;opacity:.48}.recipe-step.is-done .recipe-step-number{opacity:.55}

/* Nutrition — hero strip inspired by the concept mockup. */
.recipe-nutrition-panel{padding:24px 26px 22px;background:linear-gradient(135deg,#fff 0%,#fffaf4 100%);border-color:#efdcc4}
.recipe-nutrition-heading{display:flex;align-items:center;gap:12px;margin-bottom:21px}.recipe-nutrition-heading>div{min-width:0}
.recipe-macro-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;border-top:1px solid #f0e2d0;border-bottom:1px solid #f0e2d0;padding:17px 0}
.recipe-macro{min-width:0;display:grid;grid-template-columns:48px minmax(0,1fr);align-items:center;gap:11px;padding:1px 18px;border-left:1px solid #eadbc7;background:transparent}
.recipe-macro:first-child{border-left:0;padding-left:0}.recipe-macro:last-child{padding-right:0}
.recipe-macro-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:linear-gradient(145deg,#eff8e9,#e3f1da);color:var(--rc-green-deep)}
.recipe-macro--orange .recipe-macro-icon{background:linear-gradient(145deg,#fff7e9,#ffe9cc);color:var(--rc-orange-deep)}
.recipe-macro-icon svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
.recipe-macro-copy{min-width:0}.recipe-macro-copy span{display:block;color:var(--rc-ink);font:780 11px/1.2 var(--sans)}.recipe-macro-copy strong{display:block;margin-top:4px;color:var(--rc-ink);font:850 20px/1.05 var(--sans);letter-spacing:-.025em;overflow-wrap:anywhere}
.recipe-nutrition-more{margin-top:12px;border:0}.recipe-nutrition-more summary{display:flex;align-items:center;justify-content:space-between;gap:10px;cursor:pointer;list-style:none;padding:7px 2px;color:var(--rc-green-deep);font:800 11px/1.2 var(--sans)}.recipe-nutrition-more summary::-webkit-details-marker{display:none}.recipe-nutrition-more summary span{font-size:16px;color:var(--rc-orange-deep);transition:transform .15s ease}.recipe-nutrition-more[open] summary span{transform:rotate(45deg)}
.recipe-nutrition-secondary{display:grid;gap:8px;padding-top:7px}.recipe-nutrition-secondary-group{padding:12px 14px;border-radius:14px;background:rgba(255,255,255,.76);border:1px solid #f0e4d5}.recipe-nutrition-secondary-group>strong{display:block;margin-bottom:7px;color:var(--rc-orange-deep);font:850 10px/1.2 var(--sans);text-transform:uppercase;letter-spacing:.07em}.recipe-nutrition-secondary-group>div{display:flex;flex-wrap:wrap;gap:7px 13px}.recipe-nutrition-mini{color:var(--rc-muted);font:600 10.5px/1.35 var(--sans)}.recipe-nutrition-mini b{color:var(--rc-ink);font-weight:800}
.recipe-nutrition-note{margin:12px 2px 0!important;color:var(--rc-muted)!important;font:500 11.5px/1.5 var(--sans)!important}

@media(max-width:900px){.recipe-ingredient-list{grid-template-columns:1fr}}
@media(max-width:600px){
  .ltdp-recipe{margin:25px 0 36px;gap:16px}
  .recipe-glance{gap:10px}
  .recipe-stat{min-height:104px;gap:11px;padding:15px 13px;border-radius:19px;box-shadow:0 6px 20px rgba(37,61,32,.045)}
  .recipe-stat-icon{width:43px;height:43px}.recipe-stat-icon svg{width:21px;height:21px}.recipe-stat strong{font-size:23px;line-height:1}.recipe-stat span:not(.recipe-stat-icon){font-size:10px;margin-top:6px}
  .recipe-panel{padding:18px 15px;border-radius:21px;box-shadow:0 8px 24px rgba(37,61,32,.045)}.recipe-panel-head{margin-bottom:15px}.recipe-panel-head h2,.recipe-nutrition-heading h2{font-size:18px!important}.recipe-panel-icon{width:36px;height:36px;border-radius:12px}.recipe-panel-icon svg{width:18px;height:18px}
  .recipe-ingredient-list{gap:7px}.recipe-ingredient-list li{grid-template-columns:8px auto minmax(0,1fr);gap:8px;padding:10px 11px!important;border-radius:13px;font-size:13px!important}.recipe-ingredient-qty{min-width:43px;padding:5px 8px;font-size:10px}
  .recipe-panel-head--procedure{align-items:center;margin-bottom:17px}.recipe-steps-reset{font-size:9.5px!important;padding:7px 5px!important}.recipe-step{grid-template-columns:39px minmax(0,1fr)!important;gap:9px!important}.recipe-step-check{width:35px!important;height:35px!important;min-width:35px!important;font-size:15px!important;margin-top:3px!important}.recipe-step-card{padding:14px 14px 15px!important;margin-bottom:10px!important;border-radius:16px!important}.recipe-step-heading{gap:8px!important;margin-bottom:6px!important}.recipe-step-number{min-width:31px;height:24px;padding:0 7px;font-size:9px}.recipe-step-heading h3,.recipe-step-card h3{font-size:15.5px!important;line-height:1.25!important}.recipe-step-copy{font-size:13.5px!important;line-height:1.56!important}
  .recipe-nutrition-panel{padding:18px 15px 16px}.recipe-nutrition-heading{margin-bottom:14px}.recipe-macro-strip{grid-template-columns:repeat(3,minmax(0,1fr));padding:13px 0}.recipe-macro{grid-template-columns:1fr;justify-items:center;text-align:center;gap:7px;padding:0 8px}.recipe-macro:first-child{padding-left:0}.recipe-macro:last-child{padding-right:0}.recipe-macro-icon{width:38px;height:38px}.recipe-macro-icon svg{width:19px;height:19px}.recipe-macro-copy span{font-size:9px}.recipe-macro-copy strong{font-size:14px;margin-top:3px}.recipe-nutrition-secondary-group>div{gap:6px 10px}
}
@media(max-width:380px){.recipe-stat{padding:13px 11px}.recipe-stat-icon{width:39px;height:39px}.recipe-stat strong{font-size:20px}.recipe-macro{padding-inline:5px}.recipe-macro-copy strong{font-size:13px}}

.reader-rating{margin:34px 0 10px;padding:22px 24px;border:1px solid #e4e8dc;border-radius:20px;background:linear-gradient(135deg,#f6faf2,#fff8ee);display:grid;grid-template-columns:1fr auto;gap:16px 24px;align-items:center}.reader-rating h2{font:700 25px/1.08 var(--serif);margin:4px 0 6px}.reader-rating p{margin:0;color:var(--muted);font-size:14px}.reader-rating small{display:block;margin-top:7px;color:#82867c;font-size:11px;max-width:560px}.reader-stars{display:flex;gap:4px}.reader-star{border:0;background:transparent;color:#d4d7cf;font-size:31px;line-height:1;padding:3px;cursor:pointer;transition:transform .12s ease,color .12s ease}.reader-star:hover,.reader-star:focus-visible,.reader-star.is-selected{color:var(--orange);transform:translateY(-1px);outline:none}.reader-star:disabled{cursor:default}.rating-feedback{grid-column:1/-1;min-height:1.2em;font-size:12px;font-weight:800;color:var(--green-dark)}
@media(max-width:760px){.reader-rating{grid-template-columns:1fr;padding:19px}.reader-stars{justify-content:flex-start}.reader-star{font-size:34px}}

/* v2.0 compatibility: reproduce the structural contract HealthFlex exposed to
   Evolution Content Revolution without reintroducing Bootstrap. */
body.single .article-shell>.main_col{min-width:0;width:auto;max-width:none}
body.single #sidebar.article-side{min-width:0;width:auto;max-width:none}
.infinite-item-end{display:block;clear:both;width:100%;grid-column:1/-1}
/* Better Ads blocks extracted by Cook Mode live only between complete recipe panels. */
.ltdp-recipe>.recipe-ad-break{position:relative;display:block;width:100%;max-width:100%;margin:28px 0;clear:both;overflow:visible}
.ltdp-recipe>.recipe-ad-break:empty{display:none}
.ltdp-recipe .recipe-step .recipe-ad-break,.ltdp-recipe .recipe-panel .recipe-ad-break{display:contents}
/* Cook Mode parser tail: video/editorial content after the final step stays outside step cards. */
.recipe-procedure-tail{min-width:0;margin:-5px 0 2px;color:inherit}
.recipe-procedure-tail>*{max-width:100%}
.recipe-procedure-tail iframe,.recipe-procedure-tail video,.recipe-procedure-tail figure,.recipe-procedure-tail .wp-block-embed{max-width:100%!important}
.recipe-procedure-tail iframe,.recipe-procedure-tail video{width:100%!important}


/* v2.4.4 — intrinsic overflow containment.
   Solve the wide element itself instead of clipping the whole document.
   This keeps the home rails naturally swipeable while containing article media. */
html,body{max-width:100%}
.rail{width:100%;max-width:100%;min-width:0;overflow-x:auto!important;overflow-y:hidden!important;-webkit-overflow-scrolling:touch;overscroll-behavior-inline:contain}
.article-shell,.main_col,.article-main,.entry-content,.ltdp-recipe,.recipe-procedure-tail,.adv-slot,.recipe-ad-break{min-width:0;max-width:100%}
.entry-content p,.entry-content li,.entry-content a,.recipe-procedure-tail{overflow-wrap:anywhere;word-break:normal}
.entry-content figure,.entry-content iframe,.entry-content video,.entry-content embed,.entry-content object,.recipe-procedure-tail figure,.recipe-procedure-tail iframe,.recipe-procedure-tail video{max-width:100%!important}
.entry-content pre,.entry-content code{max-width:100%}.entry-content pre{overflow-x:auto}

/* Responsive video cage — Gutenberg, classic editor and lazy/video wrappers. */
.entry-content :where(.wp-block-embed,.wp-block-embed__wrapper,.wp-block-video,.embed-responsive,.fluid-width-video-wrapper,.video-container,.youtube-player,.youtube-embed),
.recipe-procedure-tail :where(.wp-block-embed,.wp-block-embed__wrapper,.wp-block-video,.embed-responsive,.fluid-width-video-wrapper,.video-container,.youtube-player,.youtube-embed){width:100%!important;max-width:100%!important;min-width:0!important;margin-left:0!important;margin-right:0!important;overflow:hidden!important}
.entry-content :where(figure,div,p):has(iframe[src*="youtube.com"],iframe[src*="youtube-nocookie.com"],iframe[src*="youtu.be"]),
.recipe-procedure-tail :where(figure,div,p):has(iframe[src*="youtube.com"],iframe[src*="youtube-nocookie.com"],iframe[src*="youtu.be"]){width:100%!important;max-width:100%!important;min-width:0!important;margin-left:0!important;margin-right:0!important;overflow:hidden!important}
.entry-content iframe[src*="youtube.com"],.entry-content iframe[src*="youtube-nocookie.com"],.entry-content iframe[src*="youtu.be"],
.recipe-procedure-tail iframe[src*="youtube.com"],.recipe-procedure-tail iframe[src*="youtube-nocookie.com"],.recipe-procedure-tail iframe[src*="youtu.be"],
.entry-content lite-youtube,.recipe-procedure-tail lite-youtube{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;height:auto!important;aspect-ratio:16/9!important;margin-left:0!important;margin-right:0!important;border:0!important}
/* Some embed plugins set fixed dimensions on an inner wrapper rather than the iframe. */
.entry-content :where([class*="youtube"],[class*="youtu-"]),.recipe-procedure-tail :where([class*="youtube"],[class*="youtu-"]){max-width:100%!important}

/* v2.4.5 — Home mobile viewport rail + full-width UNISA claim.
   Rails keep the editorial 14px left alignment, but their scrolling viewport
   reaches the REAL right edge of the device. This prevents the teaser card
   from being clipped by .wrap before it reaches the browser viewport. */
@media(max-width:900px){
  main#main>.wrap .section .rail{
    width:calc(100% + 14px);
    max-width:none;
    margin-right:-14px;
    padding-right:14px;
    scroll-padding-inline-start:0;
  }

  /* Mobile research claim: true edge-to-edge horizontal band, deliberately
     taller than the previous 300px / 3:1 card so it reads as a feature strip. */
  .unisa-mobile-banner{
    width:100%;
    max-width:none;
    min-height:136px;
    aspect-ratio:auto;
    margin:28px 0 18px;
    border-radius:0;
  }
  .unisa-mobile-banner>img{object-position:center 48%}
  .unisa-mobile-banner:after{
    background:linear-gradient(90deg,rgba(26,45,23,.94) 0%,rgba(26,45,23,.78) 46%,rgba(26,45,23,.18) 100%);
  }
  .unisa-mobile-banner>span{
    width:min(72%,520px);
    max-width:none;
    padding:18px 20px;
    gap:3px;
  }
  .unisa-mobile-banner small{font-size:9px}
  .unisa-mobile-banner strong{font-size:21px;line-height:1.02}
  .unisa-mobile-banner em{font-size:11px;margin-top:5px}
}
@media(max-width:420px){
  .unisa-mobile-banner{min-height:144px}
  .unisa-mobile-banner>span{width:78%;padding-left:16px;padding-right:12px}
  .unisa-mobile-banner strong{font-size:20px}
}


/* ==========================================================
   LTDP Air 2.4.9 — Ad-free subscription conversion + account UX
   ========================================================== */
.ltdp-article-adfree{
  display:flex;align-items:center;gap:5px;flex-wrap:wrap;margin:-3px 0 9px;
  color:var(--muted);font:700 12px/1.35 var(--sans);letter-spacing:.01em
}
.ltdp-article-adfree a{color:var(--orange-dark);font-weight:900;text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:3px}
.ltdp-article-adfree a:hover{color:var(--green-dark)}

/* EDD purchase-link on the no-ads product. Intentionally scoped to this product page. */
.ltdp-adfree-product .edd_download_purchase_form{margin:26px 0 28px!important}
.ltdp-adfree-product .edd_download_purchase_form .edd_price,
.ltdp-adfree-product .edd_download_purchase_form .edd_price_options{font-family:var(--sans)}
.ltdp-adfree-product .edd_download_purchase_form .edd_price{display:block;margin:0 0 9px;color:var(--green-dark);font-weight:900;font-size:18px}
.ltdp-adfree-product .edd_purchase_submit_wrapper{display:flex!important;align-items:center;gap:10px;flex-wrap:wrap;position:relative}
.ltdp-adfree-product .edd-submit,
.ltdp-adfree-product a.edd-add-to-cart,
.ltdp-adfree-product a.edd_go_to_checkout{
  appearance:none!important;align-items:center!important;justify-content:center!important;
  min-height:56px!important;padding:14px 25px!important;border:0!important;border-radius:999px!important;
  background:linear-gradient(135deg,var(--orange),#e99b38)!important;color:#fff!important;
  box-shadow:0 12px 28px rgba(210,138,43,.25)!important;font:900 14px/1 var(--sans)!important;
  letter-spacing:.025em!important;text-transform:none!important;text-decoration:none!important;cursor:pointer!important;
  transition:transform .16s ease,box-shadow .16s ease,filter .16s ease!important
}
.ltdp-adfree-product .edd-submit:hover,
.ltdp-adfree-product a.edd-add-to-cart:hover,
.ltdp-adfree-product a.edd_go_to_checkout:hover{transform:translateY(-1px);filter:saturate(1.05);box-shadow:0 15px 32px rgba(210,138,43,.32)!important}
.ltdp-adfree-product .edd-cart-added-alert{color:var(--green-dark)!important;font:800 12px/1.35 var(--sans)!important}
.ltdp-adfree-product .edd-loading{margin-left:10px!important}

/* Checkout: visual treatment only; EDD keeps ownership of fields, gateways and validation. */
.ltdp-edd-checkout .article-shell{grid-template-columns:minmax(0,860px)!important;justify-content:center;gap:0}
.ltdp-edd-checkout .article-side{display:none!important}
.ltdp-edd-checkout .article-main{width:100%;max-width:860px;margin-inline:auto}
.ltdp-edd-checkout .entry-title{font-size:clamp(38px,5vw,58px);margin-bottom:26px;text-align:center}
.ltdp-edd-checkout .post_figure_and_info,.ltdp-edd-checkout .breadcrumbs{display:none}
.ltdp-edd-checkout .entry-content{font-family:var(--sans);font-size:16px;line-height:1.55}
.ltdp-edd-checkout #edd_checkout_wrap,
.ltdp-edd-checkout .wp-block-edd-checkout{max-width:780px;margin:0 auto}
.ltdp-edd-checkout #edd_checkout_cart_wrap,
.ltdp-edd-checkout #edd_checkout_form_wrap,
.ltdp-edd-checkout .edd-blocks-form__cart,
.ltdp-edd-checkout .edd-blocks-form__purchase{
  background:#fff;border:1px solid var(--line);border-radius:22px;padding:24px;
  box-shadow:0 16px 45px rgba(48,72,45,.08);margin:0 0 20px
}
.ltdp-edd-checkout #edd_checkout_cart{width:100%!important;border-collapse:collapse!important;margin:0!important;font-size:14px!important}
.ltdp-edd-checkout #edd_checkout_cart th,
.ltdp-edd-checkout #edd_checkout_cart td{padding:13px 10px!important;border:0!important;border-bottom:1px solid var(--line)!important;text-align:left}
.ltdp-edd-checkout #edd_checkout_cart th:last-child,
.ltdp-edd-checkout #edd_checkout_cart td:last-child{text-align:right}
.ltdp-edd-checkout #edd_checkout_cart thead th{color:var(--muted);font-size:11px;text-transform:uppercase;letter-spacing:.08em}
.ltdp-edd-checkout #edd_checkout_cart .edd_cart_total,
.ltdp-edd-checkout #edd_checkout_cart .edd_cart_subtotal{font-size:17px!important;color:var(--green-dark);font-weight:900!important}
.ltdp-edd-checkout #edd_checkout_cart .edd_cart_amount{font-weight:900}
.ltdp-edd-checkout #edd_checkout_cart .edd_cart_remove_item_btn{color:#9b4f45;font-size:12px;text-decoration:underline}
.ltdp-edd-checkout #edd_purchase_form fieldset,
.ltdp-edd-checkout .edd-blocks-form fieldset{border:0!important;padding:0!important;margin:0 0 22px!important;min-width:0}
.ltdp-edd-checkout #edd_purchase_form legend,
.ltdp-edd-checkout .edd-blocks-form legend{width:100%;margin:0 0 14px;color:var(--ink);font:800 21px/1.15 var(--serif)}
.ltdp-edd-checkout #edd_purchase_form p,
.ltdp-edd-checkout .edd-blocks-form p{margin:0 0 15px}
.ltdp-edd-checkout #edd_purchase_form label,
.ltdp-edd-checkout .edd-blocks-form label{display:block;margin:0 0 6px;color:#3f443d;font:800 13px/1.3 var(--sans)}
.ltdp-edd-checkout #edd_purchase_form input[type="text"],
.ltdp-edd-checkout #edd_purchase_form input[type="email"],
.ltdp-edd-checkout #edd_purchase_form input[type="password"],
.ltdp-edd-checkout #edd_purchase_form input[type="tel"],
.ltdp-edd-checkout #edd_purchase_form select,
.ltdp-edd-checkout .edd-blocks-form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]),
.ltdp-edd-checkout .edd-blocks-form select{
  width:100%!important;min-height:50px!important;border:1px solid #d9ddd5!important;border-radius:12px!important;
  background:#fff!important;padding:10px 13px!important;color:var(--ink)!important;box-shadow:none!important;font:500 15px/1.2 var(--sans)!important
}
.ltdp-edd-checkout #edd_purchase_form input:focus,
.ltdp-edd-checkout #edd_purchase_form select:focus,
.ltdp-edd-checkout .edd-blocks-form input:focus,
.ltdp-edd-checkout .edd-blocks-form select:focus{outline:none!important;border-color:var(--green)!important;box-shadow:0 0 0 3px rgba(95,136,76,.13)!important}
.ltdp-edd-checkout #edd-payment-mode-wrap,
.ltdp-edd-checkout #edd-gateway-option-wrap{display:grid;gap:9px}
.ltdp-edd-checkout .edd-gateway-option{padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:var(--wash)}
.ltdp-edd-checkout #edd_final_total_wrap{padding:17px 18px!important;margin:20px 0!important;border-radius:14px;background:var(--green-soft)!important;color:var(--green-dark)!important;font-weight:900!important}
.ltdp-edd-checkout #edd-purchase-button,
.ltdp-edd-checkout .edd-submit,
.ltdp-edd-checkout button[type="submit"]{
  width:100%!important;min-height:58px!important;border:0!important;border-radius:999px!important;padding:15px 22px!important;
  background:linear-gradient(135deg,var(--orange),#e99b38)!important;color:#fff!important;box-shadow:0 12px 30px rgba(210,138,43,.25)!important;
  font:900 15px/1 var(--sans)!important;cursor:pointer!important;text-decoration:none!important
}
.ltdp-edd-checkout .edd-alert{border:0!important;border-radius:12px!important;padding:13px 15px!important}
.ltdp-edd-checkout .edd-alert-error{background:#fff0ee!important;color:#7e342c!important}
.ltdp-edd-checkout .edd-alert-success{background:var(--green-soft)!important;color:var(--green-dark)!important}

/* Frontend subscription account. */
.ltdp-subscription-page .article-shell{grid-template-columns:minmax(0,900px)!important;justify-content:center;gap:0}
.ltdp-subscription-page .article-side{display:none!important}
.ltdp-subscription-page .post_figure_and_info,.ltdp-subscription-page .breadcrumbs{display:none}
.ltdp-subscription-page .entry-title{font-size:clamp(38px,5vw,58px);text-align:center;margin-bottom:26px}
.ltdp-sub-account{font-family:var(--sans);max-width:900px;margin:0 auto}
.ltdp-sub-account-head{padding:26px 28px;border-radius:22px;background:linear-gradient(135deg,var(--green-soft),#f9fbf6);border:1px solid #dfe9d9;margin-bottom:18px}
.ltdp-sub-kicker{display:block;margin-bottom:7px;color:var(--orange-dark);font-size:11px;font-weight:900;letter-spacing:.11em;text-transform:uppercase}
.ltdp-sub-account-head h2{margin:0 0 8px!important;font:800 32px/1.05 var(--serif)!important}
.ltdp-sub-account-head p{margin:0!important;color:var(--muted);font-size:14px;max-width:720px}
.ltdp-sub-primary{display:inline-flex;padding:12px 20px;border-radius:999px;background:var(--orange);color:#fff!important;font-weight:900;text-decoration:none!important}
.ltdp-subscriptions-wrap{border:1px solid var(--line);border-radius:20px;padding:20px;background:#fff;box-shadow:0 12px 36px rgba(48,72,45,.07)}
.ltdp-subscriptions-wrap #edd_user_history{width:100%;border-collapse:collapse;font-family:var(--sans);font-size:13px}
.ltdp-subscriptions-wrap #edd_user_history th,.ltdp-subscriptions-wrap #edd_user_history td{padding:12px 10px;border:0;border-bottom:1px solid var(--line);vertical-align:top}
.ltdp-subscriptions-wrap #edd_user_history th{color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:.07em}
.ltdp-subscriptions-wrap .edd_subscription_status{display:inline-flex;padding:5px 9px;border-radius:999px;background:var(--green-soft);color:var(--green-dark);font-weight:900}
.ltdp-subscriptions-wrap .edd_subscription_cancel{display:inline-flex;margin-top:6px;padding:7px 10px;border-radius:999px;background:#fff0ee;color:#923c32!important;font-weight:900;text-decoration:none!important}
.ltdp-subscriptions-wrap .edd_subscription_renew,.ltdp-subscriptions-wrap .edd-subscription-reactivate{font-weight:900;color:var(--green-dark)!important}
.ltdp-subscription-menu-item>a{color:var(--orange-dark)!important}

@media(max-width:700px){
  .ltdp-article-adfree{margin-bottom:8px;font-size:11.5px}
  .ltdp-adfree-product .edd_purchase_submit_wrapper{display:grid!important;grid-template-columns:1fr}
  .ltdp-adfree-product .edd-submit,.ltdp-adfree-product a.edd-add-to-cart,.ltdp-adfree-product a.edd_go_to_checkout{width:100%!important}
  .ltdp-edd-checkout #edd_checkout_cart_wrap,.ltdp-edd-checkout #edd_checkout_form_wrap,.ltdp-edd-checkout .edd-blocks-form__cart,.ltdp-edd-checkout .edd-blocks-form__purchase{padding:16px;border-radius:17px}
  .ltdp-sub-account-head{padding:21px 18px;border-radius:18px}.ltdp-sub-account-head h2{font-size:27px!important}
  .ltdp-subscriptions-wrap{padding:12px;overflow:hidden}
  .ltdp-subscriptions-wrap #edd_user_history,.ltdp-subscriptions-wrap #edd_user_history tbody,.ltdp-subscriptions-wrap #edd_user_history tr,.ltdp-subscriptions-wrap #edd_user_history td{display:block;width:100%}
  .ltdp-subscriptions-wrap #edd_user_history thead{display:none}
  .ltdp-subscriptions-wrap #edd_user_history tr{padding:10px 0 14px;border-bottom:1px solid var(--line)}
  .ltdp-subscriptions-wrap #edd_user_history td{padding:5px 3px;border:0}
}

/* page.php uses .page-shell (checkout and subscription account are WordPress Pages). */
.ltdp-edd-checkout .page-shell,.ltdp-subscription-page .page-shell{max-width:900px;padding-top:38px}
.ltdp-edd-checkout .page-shell>article>h1,.ltdp-subscription-page .page-shell>article>h1{
  font:800 clamp(38px,5vw,58px)/1 var(--serif);letter-spacing:-.035em;text-align:center;margin:0 0 28px
}
.ltdp-edd-checkout .page-shell>.entry-content,.ltdp-subscription-page .page-shell>.entry-content{width:100%}
@media(max-width:600px){
  .ltdp-edd-checkout .page-shell,.ltdp-subscription-page .page-shell{padding-top:26px}
  .ltdp-edd-checkout .page-shell>article>h1,.ltdp-subscription-page .page-shell>article>h1{font-size:38px;margin-bottom:20px}
}


/* ==========================================================
   LTDP Air 2.5.0 — paid-through entitlement + CTA polish
   ========================================================== */
/* Conversion prompt: intentionally small, but visually separated from the H1. */
.ltdp-article-adfree{
  display:flex;align-items:center;gap:5px;flex-wrap:wrap;
  margin:2px 0 18px!important;
  color:var(--green-dark)!important;
  font:800 12px/1.35 var(--sans)!important;
  letter-spacing:.012em
}
.ltdp-article-adfree span{color:var(--green-dark)!important;opacity:.82}
.ltdp-article-adfree a{
  color:var(--green-dark)!important;font-weight:950!important;
  text-decoration:none!important;border-bottom:1.5px solid currentColor;
  padding-bottom:1px
}
.ltdp-article-adfree a:hover{opacity:.72}

/* EDD adds its own .button/.blue rules. Use the exact product body class as a
 * second scope and beat plugin declarations without relying on load order. */
body.ltdp-adfree-product .edd_download_purchase_form .edd_purchase_submit_wrapper .edd-submit,
body.ltdp-adfree-product .edd_download_purchase_form .edd_purchase_submit_wrapper .button,
body.ltdp-adfree-product .edd_download_purchase_form a.edd-add-to-cart,
body.ltdp-adfree-product .edd_download_purchase_form a.edd_go_to_checkout,
body.single-download.postid-90966 .edd_download_purchase_form .edd_purchase_submit_wrapper .edd-submit,
body.single-download.postid-90966 .edd_download_purchase_form .edd_purchase_submit_wrapper .button,
body.single-download.postid-90966 .edd_download_purchase_form a.edd-add-to-cart,
body.single-download.postid-90966 .edd_download_purchase_form a.edd_go_to_checkout{
  -webkit-appearance:none!important;appearance:none!important;
  align-items:center!important;justify-content:center!important;
  width:auto!important;min-width:240px!important;min-height:58px!important;
  margin:0!important;padding:16px 28px!important;
  border:0!important;border-radius:16px!important;
  background:linear-gradient(135deg,var(--green-dark),var(--green))!important;
  background-color:var(--green-dark)!important;
  color:#fff!important;text-shadow:none!important;
  box-shadow:0 12px 28px rgba(48,72,45,.22)!important;
  font:900 15px/1 var(--sans)!important;letter-spacing:.01em!important;
  text-transform:none!important;text-decoration:none!important;
  cursor:pointer!important;transition:transform .16s ease,box-shadow .16s ease,filter .16s ease!important
}
body.ltdp-adfree-product .edd_download_purchase_form .edd_purchase_submit_wrapper .edd-submit:hover,
body.ltdp-adfree-product .edd_download_purchase_form .edd_purchase_submit_wrapper .button:hover,
body.ltdp-adfree-product .edd_download_purchase_form a.edd-add-to-cart:hover,
body.ltdp-adfree-product .edd_download_purchase_form a.edd_go_to_checkout:hover,
body.single-download.postid-90966 .edd_download_purchase_form .edd_purchase_submit_wrapper .edd-submit:hover,
body.single-download.postid-90966 .edd_download_purchase_form .edd_purchase_submit_wrapper .button:hover,
body.single-download.postid-90966 .edd_download_purchase_form a.edd-add-to-cart:hover,
body.single-download.postid-90966 .edd_download_purchase_form a.edd_go_to_checkout:hover{
  transform:translateY(-2px)!important;filter:brightness(1.04)!important;
  box-shadow:0 16px 34px rgba(48,72,45,.28)!important
}
@media(max-width:640px){
  .ltdp-article-adfree{margin-bottom:16px!important;font-size:11.5px!important}
  body.ltdp-adfree-product .edd_download_purchase_form .edd_purchase_submit_wrapper .edd-submit,
  body.ltdp-adfree-product .edd_download_purchase_form .edd_purchase_submit_wrapper .button,
  body.ltdp-adfree-product .edd_download_purchase_form a.edd-add-to-cart,
  body.ltdp-adfree-product .edd_download_purchase_form a.edd_go_to_checkout,
  body.single-download.postid-90966 .edd_download_purchase_form .edd_purchase_submit_wrapper .edd-submit,
  body.single-download.postid-90966 .edd_download_purchase_form .edd_purchase_submit_wrapper .button,
  body.single-download.postid-90966 .edd_download_purchase_form a.edd-add-to-cart,
  body.single-download.postid-90966 .edd_download_purchase_form a.edd_go_to_checkout{
    width:100%!important;min-width:0!important
  }
}


/* v2.5.1 — preserve EDD's own visibility state: it renders AJAX, no-JS and checkout
 * controls in the same form and hides two of them. Never force display on all three. */
.js body.ltdp-adfree-product .edd_download_purchase_form .edd-no-js,
.js body.single-download.postid-90966 .edd_download_purchase_form .edd-no-js{display:none!important}
body.ltdp-adfree-product .edd_download_purchase_form button.edd-add-to-cart:not([style*="display:none"]),
body.single-download.postid-90966 .edd_download_purchase_form button.edd-add-to-cart:not([style*="display:none"]){display:inline-flex;align-items:center;justify-content:center}


/* v2.5.2 — EDD renders three purchase controls but only one is meant to be visible.
 * Never let theme button styling override EDD's inline visibility state. */
.js body.ltdp-adfree-product .edd_download_purchase_form input.edd-no-js,
.js body.single-download.postid-90966 .edd_download_purchase_form input.edd-no-js{display:none!important}
body.ltdp-adfree-product .edd_download_purchase_form .edd_purchase_submit_wrapper > [style*="display:none"],
body.single-download.postid-90966 .edd_download_purchase_form .edd_purchase_submit_wrapper > [style*="display:none"]{display:none!important}
body.ltdp-adfree-product .edd_download_purchase_form .edd_purchase_submit_wrapper > button.edd-add-to-cart:not([style*="display:none"]),
body.ltdp-adfree-product .edd_download_purchase_form .edd_purchase_submit_wrapper > a.edd_go_to_checkout:not([style*="display:none"]),
body.single-download.postid-90966 .edd_download_purchase_form .edd_purchase_submit_wrapper > button.edd-add-to-cart:not([style*="display:none"]),
body.single-download.postid-90966 .edd_download_purchase_form .edd_purchase_submit_wrapper > a.edd_go_to_checkout:not([style*="display:none"]){display:inline-flex!important}
