@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500;600;700&family=Raleway:wght@400;500;600;700;800;900&display=swap');
:root{--teal:#004e50;--teal-dark:#003f41;--teal-soft:#c4f6df;--mint:#b6f5d9;--orange:#e95400;--orange-dark:#cb4900;--ink:#101522;--border:#d6dcdf;--muted:#455462;--sidebar:248px;--top:64px}*{box-sizing:border-box}html,body{min-height:100%;margin:0}body{font-family:'Raleway',system-ui,-apple-system,sans-serif;color:var(--ink);background:#fff;font-size:15.5px}a{color:inherit}button,input{font:inherit}.bi{line-height:1}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #f78a41;outline-offset:2px}.portal-topbar{position:fixed;z-index:1031;top:0;left:0;right:0;height:var(--top);display:flex;align-items:center;justify-content:space-between;padding:0 26px;background:#fff;border-bottom:1px solid var(--border)}.brand{display:inline-flex;align-items:center;gap:10px;white-space:nowrap;text-decoration:none;color:var(--teal);font-weight:900}.brand-mark{height:39px;width:39px;background:linear-gradient(135deg,#12caa5,#00a788);display:inline-flex;align-items:center;justify-content:center;color:white;border-radius:50%;font-size:24px}.brand-word{font-weight:900;font-size:25px;letter-spacing:-1.25px}.brand-label{border-radius:9px;background:var(--teal-soft);color:var(--teal-dark);padding:6px 12px;font-weight:800;font-size:14px;margin-left:7px}.top-actions{display:flex;align-items:center;gap:24px}.help-link{display:flex;align-items:center;gap:8px;color:var(--ink);text-decoration:none;font-size:15px}.help-link .bi{font-size:24px}.top-divider{height:29px;border-left:1px solid var(--border)}.account-trigger{display:flex;align-items:center;gap:14px;background:transparent;border:0;padding:0}.avatar{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:var(--teal-soft);color:var(--teal);font-size:20px;font-weight:900}.account-trigger .bi{font-size:17px}.mobile-menu-btn{display:none;background:transparent;border:0;padding:5px;font-size:28px;color:var(--teal)}.desktop-sidebar{position:fixed;top:var(--top);bottom:0;left:0;width:var(--sidebar);padding:21px 0 30px;background:#fff;border-right:1px solid #dde2e5;overflow-y:auto}.nav-section{margin:0 0 24px}.section-label{padding:10px 19px 14px;font-size:13px;font-weight:900;letter-spacing:.2px;color:#555}.sidebar-link{display:flex;align-items:center;gap:14px;min-height:46px;padding:10px 18px;text-decoration:none;font-weight:700;color:var(--ink);position:relative;line-height:1.2;border-radius:0 9px 9px 0;margin-right:7px}.sidebar-link .bi{font-size:22px;width:24px;font-weight:400;color:#161a1d}.sidebar-link:hover{background:#f4f6f5;color:var(--teal)}.sidebar-link.is-active{background:#f0f0ef}.sidebar-link.is-active:before{content:"";position:absolute;background:#f26a00;width:6px;left:0;top:0;bottom:0;border-radius:0 4px 4px 0}.portal-main{padding-top:var(--top);margin-left:var(--sidebar);min-height:100vh}.content-wrap{max-width:1230px;padding:38px 29px 90px;margin:0 auto}.page-heading{font-size:clamp(31px,3.6vw,43px);font-weight:900;line-height:1.15;color:var(--teal);letter-spacing:-1px;margin:0 0 27px}.section-heading{font-size:29px;font-weight:900;color:var(--teal);line-height:1.12;margin:37px 0 22px}.hero-panel{display:flex;min-height:306px;border:1px solid var(--border);border-radius:16px;overflow:hidden;background:#fff}.hero-content{padding:30px;flex:1;min-width:0;z-index:1;align-self:center}.hero-content h2{font-size:36px;font-weight:900;color:var(--teal);margin:0 0 2px;letter-spacing:-.7px}.hero-subline{font-size:19px;font-weight:800;color:#36414d;margin:0 0 23px}.progress-info{font-size:15px;color:#222f37;margin-bottom:10px}.dot-progress{display:flex;align-items:center;gap:7px;flex-wrap:nowrap;margin-bottom:27px}.progress-dot{width:24px;height:24px;border:2px solid #c4cbd0;border-radius:50%;background:white;display:inline-flex;align-items:center;justify-content:center;color:#005654;font-size:12px;font-weight:900;text-decoration:none;flex-shrink:1}.progress-dot.done{border-color:var(--teal);background:var(--teal);color:white}.progress-dot.current{border:5px solid #00b887;box-shadow:inset 0 0 0 2px #fff;background:#fff}.progress-dot .bi{font-size:14px}.hero-photo{width:42%;min-width:320px;min-height:306px;background-image:url('../img/hero.webp');background-size:cover;background-position:center}.btn{font-weight:900}.btn-portal-orange{background:var(--orange);border:1px solid var(--orange);color:#fff;border-radius:9px;padding:12px 24px;font-weight:900;font-size:17px}.btn-portal-orange:hover,.btn-portal-orange:focus{background:var(--orange-dark);border-color:var(--orange-dark);color:#fff}.btn-portal-orange:disabled{opacity:.65;background:var(--teal);border-color:var(--teal)}.btn-portal-dark{background:var(--teal);color:#fff;border-radius:9px;padding:12px 19px}.btn-portal-dark:hover{background:var(--teal-dark);color:#fff}.btn-outline-portal{border:1px solid var(--teal);color:var(--teal);border-radius:9px;padding:11px 17px}.btn-outline-portal:hover{background:#e8fff2;color:var(--teal)}.shortcut-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.shortcut{display:flex;align-items:center;gap:21px;border:1px solid var(--border);border-radius:14px;padding:20px 23px;min-height:101px;text-decoration:none;background:white}.shortcut>i:first-child{font-size:43px;color:var(--teal);width:48px}.shortcut span{display:flex;flex-direction:column;gap:3px;flex:1}.shortcut strong{font-size:21px;font-weight:900;color:var(--teal)}.shortcut small{font-size:14px;color:#2d3b45;line-height:1.3}.shortcut-arrow{color:var(--ink);font-size:19px}.shortcut:hover,.extra-shortcut:hover,.day-card:hover,.knowledge-card:hover{border-color:#8fdaba;box-shadow:0 5px 23px #062b2420}.extra-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:36px}.extra-shortcut{min-height:79px;display:flex;align-items:center;gap:16px;text-decoration:none;border:1px solid var(--border);padding:18px;border-radius:13px;color:var(--teal)}.extra-shortcut .bi:first-child{font-size:34px}.extra-shortcut strong{font-size:18px;font-weight:900;flex:1}.bottom-nav{display:none}.program-intro{border:1px solid var(--border);border-radius:15px;display:flex;align-items:center;justify-content:space-between;min-height:215px;overflow:hidden}.program-intro>div{padding:22px 28px}.program-intro h2{font-size:25px;color:var(--teal);font-weight:900}.program-intro p{margin:7px 0 19px}.program-intro>img{object-fit:cover;width:35%;height:230px}.eyebrow{font-size:12px;letter-spacing:1px;font-weight:900;color:#047960}.dot-progress.compact{margin-bottom:0;gap:6px}.compact .progress-dot{font-size:10px;width:23px;height:23px}.days-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.day-card{border:1px solid var(--border);border-radius:13px;padding:19px 21px;display:flex;flex-direction:column;gap:11px;min-height:146px;text-decoration:none}.day-number{font-size:13px;font-weight:900;color:#00826c}.day-card strong{font-size:19px;font-weight:900;color:var(--teal);line-height:1.25}.day-link{margin-top:auto;color:#067b64;font-weight:800}.back-link{display:inline-flex;gap:9px;text-decoration:none;color:var(--teal);font-weight:800;margin:5px 0 18px}.lesson-card{border:1px solid var(--border);border-radius:18px;overflow:hidden}.lesson-head{display:flex;align-items:center;justify-content:space-between;background:#eefaf4}.lesson-head>div{padding:34px}.lesson-head h1{color:var(--teal);font-size:36px;font-weight:900;margin:5px 0}.lesson-head p{margin:0}.lesson-head img{width:30%;height:210px;object-fit:cover}.lesson-body{padding:27px}.lesson-actions{display:flex;gap:16px;align-items:center;margin:25px 0 0;flex-wrap:wrap}.plain-card{padding:26px;border:1px solid var(--border);border-radius:16px}.lead-copy{font-size:18px;color:#45535c;margin:-10px 0 26px}.plan-card{min-height:184px}.plan-title{display:flex;align-items:center;gap:12px;margin-bottom:20px}.plan-title i{font-size:28px;color:var(--teal)}.plan-title h2{font-size:22px;font-weight:900;color:var(--teal);margin:0}.document-link{display:flex;align-items:center;gap:9px;padding:13px;text-decoration:none;border:1px solid var(--border);border-radius:9px;margin-top:9px;color:var(--teal);font-weight:800}.muted{color:#65717c}.filters-panel{border:1px solid var(--border);border-radius:16px;padding:21px;margin-bottom:35px}.segmented{display:flex;border:1px solid var(--border);border-radius:11px;overflow:hidden;width:max-content;max-width:100%;background:#fff}.segmented.width-400{width:min(100%,430px);margin-bottom:14px}.segmented a{flex:1;padding:11px 23px;border-radius:9px;text-align:center;text-decoration:none;white-space:nowrap;font-weight:800}.segmented a.selected{background:var(--mint);color:var(--teal);font-weight:900}.segmented a:hover{background:#e4f9ee}.day-selector{display:grid;grid-template-columns:repeat(7,1fr);gap:8px;margin-top:17px}.day-selector a{border:1px solid var(--border);border-radius:11px;text-align:center;padding:11px 5px;text-decoration:none;font-weight:800}.day-selector a.selected{background:var(--teal);color:white;border-color:var(--teal)}.day-heading{font-size:34px;margin-top:25px}.meal-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.meal-card{display:flex;flex-direction:column;border:1px solid var(--border);border-radius:17px;padding:7px;overflow:hidden;min-height:430px}.meal-card>img{width:100%;aspect-ratio:1.5;object-fit:cover;border-radius:11px}.meal-body{display:flex;flex-direction:column;flex:1;padding:12px 9px 9px}.meal-label{font-weight:900;color:var(--teal);font-size:20px}.meal-label:before{content:'◉';margin-right:9px;font-size:20px}.meal-body h3{font-size:20px;line-height:1.22;color:#0f1730;font-weight:900;margin:7px 0}.meal-body p{color:#354658;line-height:1.28;margin:0 0 16px}.recipe-link{display:inline-flex;align-items:center;gap:8px;color:#007d61;font-size:16px;font-weight:900;text-decoration:none;margin-top:auto;margin-bottom:11px;background:none;border:0;padding:0;text-align:left}.recipe-link:hover{color:var(--teal)}.meal-card .btn{width:100%;padding:8px 10px;margin-top:2px;font-size:15px}.meal-card .btn .bi{font-size:20px;margin-right:7px}.ingredients-list{margin:0;padding-left:20px}.ingredients-list li{margin:9px 0}.knowledge-search{display:flex;gap:16px;align-items:center;border:1px solid var(--border);border-radius:12px;padding:11px 20px;margin-bottom:21px}.knowledge-search i{font-size:23px}.knowledge-search input{flex:1;border:0;outline:none;font-size:18px;min-width:0}.filter-row{margin-bottom:18px}.filter-types{width:min(100%,560px)}.filter-types a{padding-left:14px;padding-right:14px}.tag-row{display:flex;flex-wrap:wrap;gap:11px;margin:15px 0 28px}.tag{border:1px solid var(--border);border-radius:13px;padding:9px 17px;text-decoration:none;color:var(--ink)}.tag.selected{background:var(--mint);border-color:var(--mint);color:var(--teal);font-weight:900}.knowledge-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.knowledge-card{border:1px solid var(--border);border-radius:17px;padding:8px;overflow:hidden}.knowledge-card img{width:100%;height:215px;object-fit:cover;border-radius:10px}.knowledge-body{padding:12px}.knowledge-body h2{font-size:22px;font-weight:900;color:#0e1b30;margin:9px 0 15px}.article-type{color:#00866b;font-size:17px;font-weight:900}.article-type i{margin-right:7px}.modal-article{margin:30px 0;padding:25px;border:1px solid var(--border);border-radius:14px}.modal-article h2{font-weight:900;color:var(--teal)}.community-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.community-card{border:1px solid var(--border);border-radius:17px;padding:19px;min-height:341px;display:flex;flex-direction:column}.community-icon{display:flex;align-items:center;justify-content:center;width:85px;height:85px;background:#d2fae9;border-radius:15px;color:var(--teal);font-size:43px;margin:4px 0 21px}.community-card h2{font-size:23px;font-weight:900;color:var(--teal);margin-bottom:15px;overflow-wrap:anywhere}.community-card p{font-size:17px;line-height:1.4}.community-card .btn{margin-top:auto;white-space:nowrap}.community-card .btn .bi{margin-left:3px}.empty-panel{border:1px dashed #c7d5d2;border-radius:14px;text-align:center;padding:40px 25px;margin:18px auto;max-width:750px}.empty-panel>.bi{display:block;font-size:44px;color:var(--teal)}.empty-panel h2{font-size:22px;color:var(--teal);font-weight:900;margin:14px 0}.empty-panel p{color:#586574;margin:0}.desktop-app-frame{border:1px solid var(--border);width:100%;height:75vh;border-radius:13px;background:white}.mobile-app-open{display:none}.account-card{display:flex;align-items:center;gap:25px;max-width:690px}.account-card h2{font-size:25px;color:var(--teal);font-weight:900}.profile-icon{height:96px;width:96px;background:var(--mint);border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:53px;color:var(--teal)}.rich-content{font-size:16px;line-height:1.7}.rich-content img{max-width:100%;height:auto}.rich-content a{color:#007866}.rich-content h2,.rich-content h3{font-weight:900;color:var(--teal)}.offcanvas .brand{font-size:21px;color:var(--teal)}.offcanvas-body{padding:0}.offcanvas-body .nav-section{margin-bottom:15px}
/* Login */
.login-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(350px,.85fr);min-height:100svh}.login-left{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:35px 28px 60px;overflow:hidden}.login-brand{display:flex;align-items:center;gap:17px;font-size:37px;font-weight:900;color:var(--teal);letter-spacing:-1px;white-space:nowrap}.login-brand img{width:85px}.login-showcase{display:block;max-width:min(100%,760px);width:100%;height:min(70vh,650px);object-fit:contain;margin-top:8px}.login-right{display:flex;align-items:center;justify-content:center;padding:35px 40px}.login-box{border:1px solid var(--border);box-shadow:0 5px 9px #1228331f,0 2px 2px #1228330a;border-radius:16px;padding:25px 28px;width:min(100%,390px);background:#fff}.login-logo{width:76px;display:block;margin:0 auto 8px}.login-box h1{color:var(--teal);font-weight:900;text-align:center;font-size:36px;margin:0 0 22px}.login-box .form-label{font-size:17px;margin-bottom:8px}.login-box .form-control{border:1px solid #cad3db;border-radius:9px;height:43px}.password-input{position:relative}.password-input input{padding-right:45px}.password-input button{position:absolute;right:12px;top:8px;border:0;background:transparent;font-size:23px}.forgot-links{display:flex;flex-direction:column;gap:5px;margin:19px 0;color:#007a67;font-size:17px;font-weight:800}.login-box hr{color:#bec7d0;opacity:.7;margin:25px 0 20px}.store-login{display:flex;align-items:center;gap:10px;color:#007a67;text-decoration:none;font-size:16px;font-weight:900}.check-page,.recovery-card{max-width:620px;margin:9vh auto;padding:35px 30px;text-align:center;border:1px solid var(--border);border-radius:17px}.check-page img{width:85px}.check-page h1,.recovery-card h1{color:var(--teal);font-weight:900;margin:15px 0}.check-page p,.recovery-card p{font-size:17px;line-height:1.5}.check-page .btn{margin-top:12px}.recovery-card a{color:#007a67}
@media(min-width:1400px){:root{--sidebar:258px}.content-wrap{padding-left:43px;padding-right:43px}}
@media(max-width:1100px){:root{--sidebar:228px}.content-wrap{padding-left:23px;padding-right:23px}.hero-photo{min-width:250px}.hero-content h2{font-size:29px}.meal-grid{gap:9px}.meal-body h3{font-size:17px}.brand-word{font-size:21px}.shortcut strong{font-size:18px}.shortcut{padding:15px}.community-card{padding:15px}.community-card h2{font-size:20px}.community-card .btn{font-size:13px}}
@media(max-width:767px){:root{--top:57px}.portal-topbar{padding:0 16px}.brand-mark{width:31px;height:31px;font-size:21px}.brand-word{font-size:19px;letter-spacing:-.7px}.brand-label{font-size:11px;padding:5px 9px;margin-left:2px}.top-actions{gap:10px}.help-link,.top-divider,.account-trigger-title,.account-trigger>.bi{display:none}.avatar{width:36px;height:36px;font-size:18px}.mobile-menu-btn{display:block}.desktop-sidebar{display:none}.portal-main{margin-left:0}.content-wrap{padding:16px 13px 95px}.page-heading{font-size:31px;letter-spacing:-.8px;margin:0 0 18px}.section-heading{font-size:25px;margin:20px 0 13px}.hero-panel{display:block;min-height:0}.hero-photo{width:100%;height:157px;min-height:0;min-width:0;display:block;background-position:center 42%}.hero-content{padding:15px}.hero-content h2{font-size:27px}.hero-subline{font-size:16px;margin-bottom:13px}.progress-info{margin-bottom:10px;font-size:13px}.dot-progress{gap:6px;margin-bottom:17px}.progress-dot{width:19px;height:19px;border-width:2px}.progress-dot.current{border-width:4px}.hero-panel .btn{width:100%;padding:10px}.shortcut-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.shortcut{min-height:75px;gap:10px;padding:11px 8px;border-radius:11px}.shortcut>i:first-child{font-size:25px;width:30px}.shortcut strong{font-size:13px;line-height:1.15}.shortcut small{font-size:10px;line-height:1.25}.shortcut-arrow{font-size:12px}.extra-grid{grid-template-columns:1fr;gap:9px;margin-top:16px}.extra-shortcut{min-height:55px;padding:10px 15px}.extra-shortcut .bi:first-child{font-size:25px}.extra-shortcut strong{font-size:16px}.bottom-nav{position:fixed;display:flex;bottom:0;left:0;right:0;z-index:1030;background:#fff;border-top:1px solid var(--border);padding:5px 5px calc(6px + env(safe-area-inset-bottom));min-height:71px;justify-content:space-around}.bottom-link{flex:1;min-width:0;background:transparent;border:0;text-decoration:none;color:#10162a;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border-radius:10px;padding:5px 0;font-size:10px}.bottom-link .bi{font-size:24px}.bottom-link.active{background:#d9f9e8;color:var(--teal);font-weight:900}.mode-embed .bottom-nav{display:none}.mode-embed .content-wrap{padding-bottom:28px}.mode-embed .topbar{position:sticky}.mode-embed .portal-topbar .brand-label{display:none}.program-intro{display:block}.program-intro>div{padding:15px}.program-intro h2{font-size:21px}.program-intro>img{display:none}.dot-progress.compact{gap:5px}.compact .progress-dot{width:20px;height:20px;font-size:9px}.days-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.day-card{min-height:120px;padding:14px}.day-card strong{font-size:16px}.lesson-head>div{padding:17px}.lesson-head h1{font-size:27px}.lesson-head img{width:37%;height:160px}.lesson-body{padding:13px}.lesson-actions{gap:11px}.filters-panel{border:0;padding:0;margin-bottom:25px}.segmented.width-400{width:100%;margin-bottom:13px}.segmented a{padding:8px 9px;font-size:14px}.day-selector{gap:5px;margin-top:14px}.day-selector a{padding:9px 0;font-size:13px}.day-heading{font-size:28px;margin:19px 0 10px}.meal-grid{display:flex;flex-direction:column;gap:9px}.meal-card{min-height:0;display:flex;flex-direction:row;gap:10px;padding:8px;border-radius:13px}.meal-card>img{width:39%;height:auto;max-height:180px;aspect-ratio:1;object-fit:cover}.meal-body{padding:1px 0;min-width:0}.meal-label{font-size:12px;border-radius:9px;background:#c5f6e2;align-self:flex-start;padding:3px 9px}.meal-label:before{display:none}.meal-body h3{font-size:16px;margin:5px 0 1px}.meal-body p{font-size:12px;line-height:1.2;margin:0 0 5px}.recipe-link{font-size:13px;margin-top:auto;margin-bottom:5px}.meal-card .btn{font-size:12px;padding:5px 7px}.meal-card .btn .bi{font-size:14px;margin-right:4px}.knowledge-search{margin-bottom:12px;padding:8px 13px}.knowledge-search input{font-size:15px}.filter-types{width:100%;}.filter-types a{font-size:12px;padding:9px 5px}.tag-row{gap:6px;margin:10px 0 18px;flex-wrap:nowrap;overflow-x:auto}.tag{flex-shrink:0;padding:6px 10px;border-radius:10px;font-size:12px}.knowledge-grid{grid-template-columns:1fr;gap:8px}.knowledge-card{display:flex;gap:11px;min-height:128px}.knowledge-card img{width:42%;height:auto;min-height:120px;object-fit:cover}.knowledge-body{padding:6px 2px;display:flex;flex-direction:column}.article-type{font-size:13px}.knowledge-body h2{font-size:17px;line-height:1.15;margin:5px 0}.community-grid{grid-template-columns:1fr;gap:13px}.community-card{min-height:0;display:grid;grid-template-columns:70px 1fr;gap:6px 12px;padding:16px}.community-icon{width:70px;height:70px;grid-row:span 2;font-size:37px;margin:0}.community-card h2{font-size:21px;align-self:end;margin:0}.community-card p{font-size:15px;grid-column:2;margin:0 0 10px}.community-card .btn{grid-column:1/-1;margin-top:3px}.desktop-app-frame{display:none}.mobile-app-open{display:block}.account-card{align-items:flex-start}.profile-icon{height:65px;width:65px;font-size:35px}.account-card h2{font-size:20px}.login-layout{display:flex;min-height:100svh}.login-left{display:none}.login-right{width:100%;padding:36px 16px;align-items:center}.login-box{width:100%;max-width:400px;padding:24px 20px;box-shadow:0 3px 10px #172b2318}.login-box h1{font-size:34px}.login-logo{width:76px}}
@media(min-width:768px) and (max-width:960px){.meal-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.community-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.knowledge-grid{grid-template-columns:1fr}.brand-label{display:none}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;scroll-behavior:auto!important}}

/* Embedded WebView: hamburger in plaats van ondernavigatie, ook op tablets. */
.mode-embed .desktop-sidebar{display:none}.mode-embed .portal-main{margin-left:0}.mode-embed .bottom-nav{display:none}.mode-embed .mobile-menu-btn{display:block}
@media(max-width:767px){.mode-browser .mobile-menu-btn{display:none}.mode-embed .mobile-menu-btn{display:block}}
/* v1.1: alleen de bestaande app weergeven; geen dubbele dagenmodule */
.program-placeholder p {max-width:530px;line-height:1.6}
.frame-section{border:1px solid var(--border);border-radius:15px;overflow:hidden;background:#fff}
.frame-toolbar{padding:13px 17px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--teal);font-weight:900}
.program-app-frame{display:block;width:100%;height:min(80vh,950px);min-height:550px;border:0;background:white}
.frame-section>p{padding:0 16px}
.empty-menu-day{border:1px dashed #c4d8d4;border-radius:13px;padding:24px;color:#637478;display:flex;align-items:center;gap:12px}
.empty-menu-day>.bi{font-size:23px;color:var(--teal)}
.empty-menu-day p{margin:0}
.meal-unresolved{padding:17px;min-height:175px;border-style:dashed}
.meal-unresolved .meal-body{padding:0}
@media(max-width:767px){.program-app-frame{min-height:500px;height:calc(100svh - 160px)}.frame-toolbar{padding:10px}.empty-menu-day{padding:16px}}

/* v1.3: Quicksand is het koppenlettertype; alle doorlopende tekst Raleway. */
:root{--font-heading:'Quicksand',Arial,sans-serif;--font-body:'Raleway',Arial,sans-serif}
body,input,button,select,textarea,.btn,.sidebar-link,.bottom-link,.section-label,.form-control{font-family:var(--font-body)}
h1,h2,h3,h4,h5,h6,.page-heading,.section-heading,.brand-word,.login-brand strong,.login-box h1,.login-box h2,.hero-content h2,.shortcut strong,.extra-shortcut strong,.program-intro h2,.plan-title h2,.meal-body h3,.knowledge-body h2,.community-card h2,.account-card h2,.empty-panel h2,.recovery-card h1,.check-page h1,.brand-label{font-family:var(--font-heading);font-weight:700}


/* =======================================================================
   v1.4 — Pro Dashboard-geïnspireerde verfijning (zonder functionele veranderingen)
   Quicksand: koppen en merknaam. Raleway: lopende tekst en navigatie.
   Geen gradients, grote schaduwen of onnatuurlijk zware typografie.
   ======================================================================= */
:root {
  --teal: #086968;
  --teal-dark: #075455;
  --teal-soft: #e7f5f1;
  --mint: #e2f3ed;
  --orange: #ed631b;
  --orange-dark: #d95511;
  --ink: #24313c;
  --border: #e2e8eb;
  --muted: #64717a;
  --portal-bg: #f3f5f6;
  --top: 66px;
}
body {font-size: 15px; color: var(--ink); font-weight: 400;}
body.mode-browser, body.mode-embed {background: var(--portal-bg);}
.portal-topbar {background: #fff; border-bottom: 1px solid #e8ecee; padding-inline: 22px;}
.brand {gap: 9px; font-weight: 600; min-width: 0;}
.brand-logo {width: 43px; height: 43px; object-fit: contain; flex: none;}
.brand-word {font-size: 23px; line-height: 1.1; letter-spacing: -.6px; font-weight: 700; color: #075858;}
.brand-label {padding: 5px 9px; margin-left: 7px; background: #e7f5f0; border-radius: 7px; font-size: 12px; font-weight: 700;}
.top-actions {gap: 13px;}
.account-trigger {gap: 10px; padding: 5px 12px 5px 6px; border-radius: 28px; background: #f7f9f9; color: var(--ink); font-size: 14px; font-weight: 500; max-width: min(325px, 40vw);}
.account-trigger:hover, .account-trigger:focus-visible {background: #eef4f3;}
.account-trigger-title {overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 230px; font-weight: 500;}
.account-trigger .bi {color: #5b6970; font-size: 13px;}
.avatar {width: 34px; height: 34px; flex: none; background: #e0f1ed; color: #086c68; font-size: 15px; font-weight: 700;}
.dropdown-menu {border: 1px solid #e5eaec; box-shadow: 0 8px 24px #18364213; border-radius: 10px;}
.dropdown-item {font-size: 14px; padding: 8px 16px;}
.desktop-sidebar {background: #f7f8f9; border-right: 1px solid #eaedef; padding-top: 15px;}
.nav-section {margin-bottom: 17px;}
.section-label {font-weight: 600; color: #7d8a91; font-size: 11px; padding: 11px 18px 10px; letter-spacing: .4px;}
.sidebar-link {font-weight: 500; font-size: 14.5px; min-height: 45px; padding: 9px 18px; gap: 12px; border-radius: 0; margin-right: 0; color: #31414a;}
.sidebar-link .bi {font-size: 18px; width: 21px; color: #53646b;}
.sidebar-link.is-active {background: #e8edef; color: #113f41; font-weight: 600;}
.sidebar-link.is-active:before {width: 3px; background: #f17b45; border-radius: 0;}
.sidebar-link:hover {background: #eef2f3; color: var(--teal);}
.portal-main {background: var(--portal-bg);}
.content-wrap {max-width: 1460px; padding: 31px 35px 75px;}
.page-heading {font-family: var(--font-heading); font-weight: 700; font-size: clamp(27px, 2.5vw, 32px); letter-spacing: -.35px; color: var(--teal); margin: 0 0 22px;}
.section-heading {font-family: var(--font-heading); font-weight: 700; font-size: 24px; letter-spacing: -.25px; line-height: 1.25; color: var(--teal); margin: 28px 0 15px;}
.hero-panel {min-height: 232px; border: 1px solid #e4eeed; border-radius: 18px; background: #f5fbfa; box-shadow: 0 2px 5px #123b3510; align-items: stretch;}
.hero-content {padding: 29px 31px; align-self: center;}
.hero-content h2 {font-size: 29px; font-family: var(--font-heading); font-weight: 700; letter-spacing: -.4px; margin-bottom: 6px;}
.hero-subline {font-size: 16px; font-weight: 600; color: #475960; margin-bottom: 11px;}
.hero-content .lead-copy {font-size: 14.5px; line-height: 1.55; color: #5d6a72; margin: 0 0 17px;}
.hero-photo {width: 29%; min-width: 220px; min-height: 190px; height: 190px; align-self: center; margin: 18px 20px 18px 0; border-radius: 12px; background-position: center center;}
.btn {font-weight: 600;}
.btn-portal-orange, .btn-portal-dark {font-size: 14px; font-weight: 700; border-radius: 7px; padding: 10px 17px;}
.btn-outline-portal {font-size: 14px; font-weight: 600; border-color: #bfcfd0; border-radius: 7px; padding: 9px 15px;}
.shortcut-grid, .extra-grid {gap: 14px;}
.shortcut {min-height: 89px; padding: 17px 19px; gap: 14px; border: 1px solid #e7edef; border-radius: 16px; background: #fff;}
.shortcut>i:first-child {width: 34px; font-size: 29px; color: var(--teal);}
.shortcut strong {font-size: 17px; font-family: var(--font-heading); font-weight: 700; color: var(--teal);}
.shortcut small {font-size: 12.5px; line-height: 1.35; color: #68767d;}
.shortcut-arrow {font-size: 14px; color: #75818a;}
.shortcut:hover, .extra-shortcut:hover, .day-card:hover, .knowledge-card:hover {box-shadow: 0 3px 12px #183b3910; border-color: #c3d9d7;}
.extra-grid {margin-top: 14px;}
.extra-shortcut {min-height: 68px; padding: 14px 17px; border: 1px solid #e7edef; border-radius: 14px; background: #fff; gap: 12px;}
.extra-shortcut .bi:first-child {font-size: 26px;}
.extra-shortcut strong {font-size: 15px; font-family: var(--font-heading); font-weight: 700;}
.plain-card, .frame-section, .filters-panel, .knowledge-card, .community-card {background: #fff; border-color: #e4eaec; border-radius: 15px;}
.lead-copy {font-size: 15px; line-height: 1.55; color: #607179;}
.plan-title h2, .account-card h2 {font-size: 20px; font-weight: 700;}
.document-link {font-weight: 600;}
.filters-panel {padding: 18px; margin-bottom: 27px;}
.segmented a {font-weight: 500; font-size: 14px;}
.segmented a.selected {background: #daf3e9; font-weight: 700;}
.day-selector a {font-weight: 600; font-size: 14px;}
.day-heading {font-size: 25px;}
.knowledge-search {background: #fff;}
.knowledge-search input {font-size: 15px;}
.tag {font-size: 13px; border-radius: 9px; padding: 7px 12px; background: white;}
.tag.selected {font-weight: 600; background: #e0f4ec; border-color: #c4e9da;}
.knowledge-body h2 {font-size: 19px; font-weight: 700;}
.article-type, .recipe-link {font-size: 14px; font-weight: 700;}
.meal-body h3, .meal-label {font-weight: 700;}
.community-card {padding: 18px; min-height: 290px;}
.community-icon {width: 60px; height: 60px; background: #ecf8f4; color: var(--teal); font-size: 30px; border-radius: 12px; margin-bottom: 13px;}
.community-card h2 {font-size: 18px; font-weight: 700; margin-bottom: 10px;}
.community-card p {font-size: 14px; color: #5c6971;}
.program-intro {background: #fff;}
.program-intro h2, .modal-article h2, .empty-panel h2, .check-page h1, .recovery-card h1 {font-weight: 700;}
.empty-panel {background: #fff;}
.offcanvas {background: #f7f8f9;}
.offcanvas-header {border-bottom: 1px solid #e5ebed;}
.offcanvas-header .brand {gap: 8px; font-size: 17px;}
.offcanvas-header .brand-logo {width: 36px; height: 36px;}
/* Login is intentionally calmer: no oversized type or heavy drop shadow. */
body.login-page {background: #f8faf9;}
.login-layout {background: #f8faf9;}
.login-brand {font-family: var(--font-heading); color: var(--teal); font-size: clamp(22px, 2.4vw, 29px); font-weight: 700; letter-spacing: -.4px; gap: 11px;}
.login-brand img {width: 70px; height: 70px; object-fit: contain;}
.login-brand-badge {background: #e5f4ee; font-size: 13px; padding: 5px 9px; border-radius: 7px; font-weight: 700; letter-spacing: 0;}
.login-right {background: #fff;}
.login-box {border-radius: 16px; box-shadow: 0 4px 18px #23403b12; border-color: #e0e7e8; padding: 27px 30px; max-width: 415px;}
.login-card-brand {display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; margin-bottom: 15px; color: var(--teal); font-family: var(--font-heading); font-weight: 700; font-size: 18px;}
.login-card-brand .login-logo {display: block; width: 65px; height: 65px; object-fit: contain; margin: 0;}
.login-box h1 {font-size: 29px; margin-bottom: 22px;}
.login-box .form-label {font-size: 14px; font-weight: 500;}
.login-box .form-control {border-color: #dce4e6; font-size: 15px;}
.forgot-links {font-size: 13px; font-weight: 600; gap: 7px;}
.store-login {font-size: 13px; font-weight: 600;}
.login-box hr {margin: 21px 0 17px;}
@media (max-width: 1100px) {
  .content-wrap {padding-inline: 24px;}
  .brand-word {font-size: 20px;}
  .hero-content h2 {font-size: 25px;}
  .hero-photo {min-width: 205px;}
  .shortcut strong {font-size: 16px;}
}
@media (max-width: 767px) {
  :root {--top: 58px;}
  .portal-topbar {padding-inline: 14px;}
  .brand-logo {width: 34px; height: 34px;}
  .brand-word {font-size: 17px; letter-spacing: -.3px;}
  .brand-label {font-size: 10px; margin-left: 0; padding: 4px 6px;}
  .account-trigger {max-width: 43vw; padding: 3px; gap: 5px;}
  .account-trigger-title {display: none;}
  .avatar {width: 33px; height: 33px;}
  .content-wrap {padding: 21px 15px 92px;}
  .page-heading {font-size: 26px; margin-bottom: 17px;}
  .section-heading {font-size: 21px; margin: 22px 0 13px;}
  .hero-panel {display: flex; flex-direction: column-reverse; min-height: 0;}
  .hero-content {width: 100%; align-self: auto; padding: 19px;}
  .hero-content h2 {font-size: 23px;}
  .hero-subline {font-size: 14px; margin-bottom: 8px;}
  .hero-content .lead-copy {font-size: 13px;}
  .hero-photo {width: auto; min-width: 0; height: 155px; min-height: 0; margin: 12px 12px 0; border-radius: 10px; background-position: center 50%;}
  .hero-panel .btn {font-size: 13px; padding: 10px 12px;}
  .shortcut-grid {gap: 9px;}
  .shortcut {min-height: 74px; padding: 11px 10px; gap: 8px; border-radius: 12px;}
  .shortcut>i:first-child {width: 25px; font-size: 22px;}
  .shortcut strong {font-size: 13px;}
  .shortcut small {font-size: 11px;}
  .extra-grid {gap: 9px; margin-top: 10px;}
  .extra-shortcut {min-height: 50px; padding: 11px 13px;}
  .extra-shortcut strong {font-size: 14px;}
  .bottom-nav {background: #fff; border-top-color: #e5e9eb;}
  .bottom-link.active {background: #e7f4ef; font-weight: 700;}
  .community-card {min-height: 0;}
  .login-right {background: #f8faf9; padding: 28px 16px;}
  .login-box {padding: 26px 23px;}
  .login-box h1 {font-size: 28px;}
}

/* v1.5 — originele programmaboeken + rustigere login */
.login-showcase {object-fit:contain; width:100%; max-width:790px; height:min(71vh,690px); margin-top:4px}
.login-card-brand {margin-bottom:27px}
.login-card-brand .login-logo {width:70px;height:70px}
.login-box {padding-top:34px;padding-bottom:30px}
.login-box .password-input button {display:flex;align-items:center;justify-content:center}
.book-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.book-card {display:flex;flex-direction:column;background:#fff;border:1px solid var(--border);border-radius:13px;overflow:hidden;text-decoration:none;color:var(--teal);transition:border-color .15s ease,box-shadow .15s ease}
.book-card:hover {border-color:#bdd2cf;box-shadow:0 4px 14px #22484414;color:var(--teal-dark)}
.book-card img {width:100%;aspect-ratio:5/3;object-fit:contain;background:#f9fbfa}
.book-card-footer {min-height:66px;padding:15px 17px;display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:15px}
.book-card-footer strong {font-family:var(--font-heading);font-weight:700}
.book-no-image {height:180px;background:#eef6f4;display:grid;place-items:center;font-size:35px}
.chapter-heading {margin-top:15px}
.legacy-rich-content {background:#fff;border:1px solid var(--border);border-radius:14px;padding:clamp(18px,3vw,34px);line-height:1.7;overflow-wrap:anywhere}
.legacy-rich-content img,.legacy-rich-content video {display:block;max-width:100%;height:auto}
.legacy-rich-content iframe {width:100%;max-width:900px;min-height:360px;border:0;display:block;margin:1rem auto}
.legacy-rich-content h2,.legacy-rich-content h3,.legacy-rich-content h4 {color:var(--teal);margin-top:1.25em}
.legacy-rich-content table {max-width:100%;display:block;overflow-x:auto}
.chapter-nav {display:flex;justify-content:space-between;gap:15px;margin-top:22px}
.personal-plan-frame {display:block;width:100%;height:calc(100vh - 190px);min-height:600px;border:0;background:white}
.personal-plan-section {background:#fff}
.frame-footer-help {margin:13px 3px;color:#66767c;font-size:13px}
.frame-footer-help a {color:var(--teal)}
@media(max-width:1000px){.book-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){.book-grid{grid-template-columns:1fr;gap:12px}.book-card img{aspect-ratio:16/9}.book-card-footer{min-height:56px;padding:12px 14px}.personal-plan-frame{height:calc(100svh - 165px);min-height:520px}.legacy-rich-content{padding:17px}.legacy-rich-content iframe{min-height:230px}.chapter-nav .btn{padding:9px 11px;font-size:12px}.login-card-brand{margin-bottom:21px}}

/* v1.6 — Programmaboek: originele twee kolommen en hoofdstukcontent */
.book-title-band{background:#eaf5f3;border:1px solid #d8e9e6;border-radius:13px;padding:22px 27px;margin-bottom:27px}
.book-title-band h1{font-family:var(--font-heading);font-size:clamp(24px,3vw,30px);font-weight:700;color:#075657;letter-spacing:0;margin:5px 0 0}
.book-title-eyebrow{font:700 11px var(--font-body);letter-spacing:.9px;color:#5b7778}
.book-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 26px;max-width:1020px;margin:0 auto}
.book-card{border:0;border-radius:0;background:transparent;overflow:visible;box-shadow:none;gap:10px}
.book-card:hover{border:0;box-shadow:none;background:transparent}
.book-preview{display:block;background:#fff;border:1px solid #e1e8e8;border-radius:12px;overflow:hidden;transition:border-color .2s,box-shadow .2s}
.book-preview:hover{border-color:#bfd5d1;box-shadow:0 4px 16px #164b4314}
.book-preview img{display:block;width:100%;height:auto;aspect-ratio:auto;object-fit:contain;max-height:500px;background:white}
.book-card-footer{padding:0;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:49px;font-size:14px;color:#174b4c}
.book-card-footer strong{font-size:15px;font-weight:700;flex:1}
.btn-book-open{background:#087374;color:white;font:700 13px var(--font-body);padding:10px 14px;border:0;border-radius:8px;white-space:nowrap}
.btn-book-open:hover{background:#005657;color:#fff}
.chapter-title-band{margin-top:16px}
.legacy-rich-content{line-height:1.7;font-size:15px;color:#26363a}
.legacy-rich-content :is(h2,h3,h4){font-family:var(--font-heading);font-weight:700}
.legacy-rich-content p{margin-bottom:1rem}.legacy-rich-content img{margin:0 auto;object-fit:contain}
.legacy-rich-content .row{display:flex;flex-wrap:wrap}.legacy-rich-content .container{max-width:100%}
.legacy-rich-content .wp-block-columns{display:flex;align-items:flex-start;flex-wrap:wrap;gap:22px}
.legacy-rich-content .wp-block-column{flex:1 1 260px;min-width:0}
.legacy-rich-content .wp-block-image img{max-width:100%;height:auto}
.legacy-rich-content .wp-block-image figcaption{text-align:center;font-size:12px;color:#6d7d83}
.legacy-rich-content .has-text-align-center{text-align:center}
.legacy-rich-content .aligncenter{margin-left:auto;margin-right:auto;text-align:center}
.legacy-rich-content :is(.d-flex,.row,.wp-block-group){min-width:0}
.legacy-rich-content :is(iframe,video){max-width:100%}
.legacy-rich-content table{width:100%;border-collapse:collapse}
.legacy-rich-content :is(td,th){border:1px solid #dee7e6;padding:9px}
.legacy-rich-content blockquote{padding:14px 20px;border-left:3px solid #85c2b9;background:#f3f8f7}
@media(max-width:767px){.book-title-band{padding:17px 19px}.book-grid{grid-template-columns:1fr;gap:18px}.book-card-footer{flex-wrap:wrap}.btn-book-open{font-size:12px}.legacy-rich-content .wp-block-columns{flex-direction:column;gap:14px}}
/* v1.7: recipe and shopping catalogue adapted from actual h2bh_app cards and category rows */
.h2bh-catalog{max-width:1240px}.h2bh-catalog .catalog-subtitle{color:#67767b;margin:0 0 21px;font-size:14px}.h2bh-catalog .catalog-header{margin-bottom:12px}.catalog-back{font-size:13px;color:#6d797e;margin:12px 0 23px}.catalog-back a{color:#086b67;text-decoration:none;font-weight:600}.catalog-search{display:flex;align-items:center;gap:11px;padding:6px 7px 6px 15px;border-radius:35px;background:#fff;border:1px solid #dde6e5;margin:0 0 23px}.catalog-search>.bi{color:#0e6b65;font-size:20px}.catalog-search input{flex:1;min-width:0;border:0;background:transparent;padding:8px 4px;outline:none;font-size:14px}.catalog-search button,.btn-catalog{background:#0c716b;color:#fff;border:1px solid #0c716b;border-radius:9px;padding:9px 16px;font-weight:600;font-size:13px;white-space:nowrap}.catalog-search button:hover,.btn-catalog:hover{background:#075852;color:#fff;border-color:#075852}.btn-catalog-outline{color:#0c716b;border:1px solid #bdd8d4;background:white;border-radius:9px;padding:9px 13px;font-size:13px;font-weight:600;white-space:nowrap}.btn-catalog-outline:hover{background:#ecf8f5;color:#064e4a}.catalog-section-title{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:20px 0 14px}.catalog-section-title h2{font-family:var(--font-heading);color:var(--teal);font-weight:700;font-size:21px;margin:0}.catalog-section-title span{font-size:12px;color:#7c898d}.catalog-category-list{max-width:890px;display:grid;gap:9px}.catalog-category-row{display:flex;align-items:center;text-decoration:none;color:#22323a;border:1px solid #e2e9e8;background:#fff;border-radius:14px;padding:8px 15px 8px 9px;gap:16px;min-height:82px}.catalog-category-row:hover{border-color:#a9cbc5;color:#056a62}.catalog-category-row .bi-chevron-right{margin-left:auto;font-size:18px;color:#748489}.catalog-category-photo{width:64px;height:64px;flex-shrink:0;border-radius:12px;background:#edf8f4;display:flex;align-items:center;justify-content:center;overflow:hidden;color:#0c7770;font-size:26px}.catalog-category-photo img{width:100%;height:100%;object-fit:cover}.catalog-category-name{font-weight:700;font-size:16px;font-family:var(--font-heading)}.catalog-premium{font-size:11px;color:#bf5a2c;background:#fff0e8;padding:4px 7px;border-radius:6px}.catalog-filter-panel{border:1px solid #e0e7e8;background:white;border-radius:15px;padding:18px;margin:0 0 24px}.catalog-filter-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px}.catalog-filter-label{font-size:13px;font-weight:700;color:#174a48;margin-bottom:7px;display:block}.catalog-filter-panel .form-select{font-size:13px;border-color:#dce5e5;border-radius:8px}.catalog-filter-footer{display:flex;justify-content:space-between;gap:14px;align-items:flex-end;flex-wrap:wrap;margin-top:13px}.catalog-filter-footer fieldset{margin:0;border:0}.catalog-filter-footer legend{width:auto;margin:0 0 5px;font-size:13px}.catalog-pref{font-size:13px;white-space:nowrap;margin-right:17px}.catalog-pref input{accent-color:#0b746b}.catalog-filter-actions{display:flex;align-items:center;gap:15px}.catalog-filter-actions>a{font-size:13px;color:#08756a}.catalog-all-stores{font-size:12px;margin-top:6px;display:block}.catalog-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.catalog-card{border:1px solid #e2e9eb;border-radius:17px;padding:9px;background:white;overflow:hidden;display:flex;flex-direction:column;min-width:0}.catalog-card-photo{height:195px;background:#eff7f3;border-radius:11px;color:#a2c6bf;display:flex;align-items:center;justify-content:center;font-size:50px;overflow:hidden}.catalog-card-photo img{width:100%;height:100%;object-fit:cover}.catalog-card-content{padding:12px 8px 8px;display:flex;flex:1;flex-direction:column}.catalog-card-content h3{font-size:16px;line-height:1.3;font-weight:700;color:#0b5350;margin-bottom:7px}.catalog-meta{font-size:12px;color:#69787b}.catalog-description{font-size:13px;color:#65757a;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden;line-height:1.5}.catalog-card-buttons{display:flex;gap:7px;flex-wrap:wrap;margin-top:auto}.catalog-card-buttons .btn,.catalog-card-buttons .dropdown{flex:1;min-width:0}.catalog-card-buttons .btn{display:inline-flex;justify-content:center;align-items:center;gap:6px}.catalog-recipe-detail{border-top:1px solid #e6eeea;margin-top:13px;padding-top:11px;font-size:13px;line-height:1.6}.catalog-recipe-detail h4{font-size:14px;color:#085e5a}.catalog-recipe-detail p{white-space:normal;overflow-wrap:anywhere}.catalog-card .dropdown-menu{font-size:13px}
@media(max-width:1000px){.catalog-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.catalog-card-grid{grid-template-columns:1fr}.catalog-card{display:grid;grid-template-columns:37% 1fr;gap:10px}.catalog-card-photo{height:100%;min-height:158px}.catalog-card-content{padding:5px 0}.catalog-filter-panel{padding:12px}.catalog-category-row{min-height:70px}.catalog-category-photo{width:50px;height:50px}.catalog-category-name{font-size:14px}.catalog-search button{padding:8px 11px}}

.catalog-pagination{display:flex;align-items:center;justify-content:center;gap:18px;margin:25px 0}.catalog-pagination a{border:1px solid #c7dcd7;border-radius:9px;padding:8px 15px;background:#fff;color:#0a6c67;text-decoration:none;font-size:13px;font-weight:600}.catalog-pagination span{color:#76858a;font-size:12px}

/* v2.3: Healthy Reset-module in een geïsoleerd, scrollbaar same-origin iframe. */
.frame-section.hr-program-frame{padding:0;background:transparent;border:0;box-shadow:none;overflow:visible}
.hr-program-frame .program-app-frame{display:block;width:100%;min-height:1050px;height:calc(100vh - 160px);border:0;border-radius:12px;background:#f7faf8}
@media(max-width:767px){.hr-program-frame .program-app-frame{min-height:850px;height:calc(100dvh - 155px);border-radius:0}}

/* v2.4: dashboardkaartindeling en naadloos ingeladen Healthy Reset-programma. */
@media (min-width: 1250px) {
  .shortcut-grid-three { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (min-width: 768px) and (max-width: 1249px) {
  .shortcut-grid-three { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .shortcut-grid-three > .shortcut:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 768px) {
  .shortcut-grid-three .shortcut, .shortcut-grid-four .shortcut {min-width:0;}
  .shortcut-grid .shortcut span {min-width:0;}
  .shortcut-grid .shortcut strong, .shortcut-grid .shortcut small {overflow-wrap:break-word;}
  .shortcut-grid .shortcut-arrow {margin-left:auto;flex-shrink:0;}
}
/* Behoud 2x2 voor VIP met persoonlijk plan en de bestaande compacte mobiele layout. */
.shortcut-grid-four {grid-template-columns:repeat(2,minmax(0,1fr));}
@media(max-width:767px) {
  .shortcut-grid-three, .shortcut-grid-four {grid-template-columns:repeat(2,minmax(0,1fr));}
  .shortcut-grid-three > .shortcut:last-child:nth-child(odd){grid-column:1 / -1;}
}
/* Geen zichtbare iframekaart, rand of tweede scrollbalk. Hoogte komt uit de module. */
.frame-section.hr-program-frame{padding:0!important;margin:0;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:visible!important;}
.hr-program-frame .program-app-frame {display:block;width:100%;height:360px;min-height:0!important;max-height:none!important;border:0!important;border-radius:0!important;background:transparent!important;overflow:hidden!important;}
@media(max-width:767px){.hr-program-frame .program-app-frame{height:360px;min-height:0!important;border-radius:0!important;}}
/* v2.7 Kenniskaarten en geïntegreerde WordPress/YouTube-kennisweergave */
.knowledge-card-image{display:block;position:relative;overflow:hidden}.knowledge-card-image img{width:100%;height:205px;object-fit:cover}.knowledge-card-play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);border-radius:50%;width:52px;height:52px;display:grid;place-items:center;background:#ffffffee;color:#08625f;font-size:28px;box-shadow:0 2px 14px #0003}
.knowledge-card-excerpt{color:#61747a;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.5;font-size:13px;margin:8px 0 13px}.knowledge-card .knowledge-body{display:flex;flex-direction:column;flex:1}.knowledge-card .recipe-link{margin-top:auto}
.knowledge-detail{max-width:980px}.knowledge-detail-meta{display:flex;align-items:center;gap:16px;color:#577d79;font-size:13px;margin-bottom:12px}.knowledge-detail-cover{width:100%;max-height:440px;object-fit:cover;border-radius:14px;margin:14px 0 24px}
.knowledge-rich-content{font-size:15px;line-height:1.85;color:#253f42}.knowledge-rich-content img{max-width:100%;height:auto;border-radius:9px}.knowledge-rich-content h2,.knowledge-rich-content h3{margin:25px 0 12px}
.knowledge-source-link{display:inline-flex;gap:8px;align-items:center;margin:24px 0;color:#08726b;font-size:13px}.knowledge-video-frame{position:relative;background:#062b2c;aspect-ratio:16/9;border-radius:14px;overflow:hidden;margin:20px 0}.knowledge-video-frame iframe{width:100%;height:100%;border:0}.knowledge-video-play{border:0;background:#062b2c;color:white;display:block;width:100%;height:100%;padding:0;position:relative}.knowledge-video-play img{display:block;width:100%;height:100%;object-fit:cover;opacity:.92}.knowledge-play-button{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);padding:11px 19px;border-radius:50px;background:#006765;color:white;white-space:nowrap;font-size:15px;font-weight:700}.knowledge-consent-note{font-size:12px;color:#728080}

@media(max-width:767px){.knowledge-card-image{flex:0 0 42%;width:42%;min-width:0}.knowledge-card-image img{width:100%;height:100%;min-height:125px;object-fit:cover}.knowledge-card .knowledge-body{min-width:0}.knowledge-card-excerpt{display:none}}

/* v2.8 — Inleidende hoofdstukken voor ID 4, vóór het bestaande Healthy Reset-iframe. */
.book-intro-section{margin:0 0 30px}
.book-intro-heading{font-family:var(--font-heading);font-size:clamp(19px,2vw,23px);font-weight:700;color:var(--teal);margin:0 0 17px}
@media(max-width:767px){.book-intro-section{margin-bottom:22px}.book-intro-heading{font-size:19px}}

/* v2.9 — Programmaboeken: drie gelijk uitgelijnde hoofdstukkaarten op desktop. */
.book-grid {width:100%;max-width:none;margin:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:23px 20px;align-items:stretch}
.book-card {height:100%;min-width:0}
.book-preview {display:block;width:100%;aspect-ratio:1 / 1;min-width:0}
.book-preview img {width:100%;height:100%;max-height:none;aspect-ratio:auto;object-fit:contain}
.book-card-footer {margin-top:auto;min-width:0}
.book-card-footer strong {min-width:0;overflow-wrap:anywhere}
@media(max-width:1199px){.book-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}}
@media(max-width:767px){.book-grid{grid-template-columns:1fr;gap:18px}.book-preview{aspect-ratio:1 / 1}}

/* Legacy chapter compatibility: sandbox isolates DB-defined CSS/scripts from shell. */
.legacy-chapter-embed{width:100% !important;max-width:100% !important;box-sizing:border-box !important;border:1px solid var(--border);border-radius:14px;background:#fff;overflow:hidden;}
.legacy-chapter-frame{display:block;width:100% !important;max-width:100% !important;box-sizing:border-box !important;height:680px;min-height:160px;border:0;overflow:hidden;background:#fff;}

/* v2.11 — Kennis & inspiratie: 3 overzichtelijke kaarten per rij op brede desktops.
   De CTA is altijd de onderste kaartactie, ongeacht interne of externe link. */
.knowledge-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; align-items:stretch; }
.knowledge-grid .knowledge-card { display:flex; flex-direction:column; min-width:0; height:100%; padding:8px; }
.knowledge-grid .knowledge-card-image { display:block; width:100%; flex:0 0 auto; border-radius:10px; }
.knowledge-grid .knowledge-card-image img { display:block; width:100%; height:190px; min-height:0; object-fit:cover; border-radius:10px; }
.knowledge-grid .knowledge-body { display:flex; flex:1 1 auto; flex-direction:column; min-width:0; padding:13px 12px 12px; }
.knowledge-grid .knowledge-body h2 { font-size:18px; line-height:1.3; margin:8px 0 10px; overflow-wrap:anywhere; }
.knowledge-grid .knowledge-card-excerpt { margin:0 0 16px; }
.knowledge-card-cta { display:flex; align-items:center; justify-content:center; gap:9px; min-height:43px; width:100%; margin-top:auto; padding:10px 15px; border:1px solid #075858; border-radius:9px; background:#075858; color:#fff; text-align:center; text-decoration:none; font-family:var(--font-body); font-size:14px; line-height:1.25; font-weight:700; transition:background-color .15s ease, border-color .15s ease; }
.knowledge-card-cta:hover, .knowledge-card-cta:focus-visible { background:#064544; border-color:#064544; color:#fff; }
.knowledge-card-cta .bi { font-size:15px; flex:none; }
@media(min-width:1240px) { .knowledge-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media(min-width:768px) and (max-width:1239px) { .knowledge-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:767px) {
  .knowledge-grid { grid-template-columns:1fr; gap:12px; }
  .knowledge-grid .knowledge-card { flex-direction:row; min-height:154px; gap:10px; padding:8px; }
  .knowledge-grid .knowledge-card-image { flex:0 0 38%; width:38%; align-self:stretch; overflow:hidden; }
  .knowledge-grid .knowledge-card-image img { width:100%; height:100%; min-height:138px; object-fit:cover; }
  .knowledge-grid .knowledge-body { padding:5px 3px 3px 0; }
  .knowledge-grid .knowledge-body h2 { font-size:15px; margin:5px 0 9px; }
  .knowledge-card-cta { min-height:38px; padding:8px 10px; font-size:12px; }
}

/* v2.12: public WordPress events use the existing knowledge card grid. */
.knowledge-section-heading{font-family:var(--font-heading);color:var(--teal);font-size:24px;font-weight:700;margin:22px 0 20px}
.knowledge-event-facts{display:flex;flex-wrap:wrap;gap:5px 15px;margin:3px 0 11px;font-size:12px;color:#57716f;line-height:1.5}
.knowledge-event-facts span{display:inline-flex;align-items:center;gap:5px}
.knowledge-event-facts i{color:#08736e}
.knowledge-event-past{display:inline-block;align-self:flex-start;font-size:11px;border-radius:20px;padding:3px 9px;background:#f3f4f4;color:#67797e;margin-bottom:9px}
.knowledge-events-footer{text-align:center;margin:26px 0;color:#08625f;font-size:14px}
.knowledge-events-footer a{color:inherit;text-decoration:underline;text-underline-offset:3px}

/* v2.13 — WordPress events: distinct upcoming/past groups, with visible event dates. */
.knowledge-event-section-head{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:8px 16px;margin:25px 0 14px}
.knowledge-event-section-head h3{font-family:var(--font-heading);font-size:21px;line-height:1.35;font-weight:700;color:var(--teal);margin:0}
.knowledge-event-section-head>span{font-size:12px;color:#647b7a;white-space:nowrap}
.knowledge-event-section-past{border-top:1px solid #dce6e4;padding-top:26px;margin-top:38px}
.knowledge-event-section-past h3{color:#537071}
.knowledge-event-grid{margin-bottom:16px}
.knowledge-event-card .knowledge-body{gap:0}
.knowledge-event-date{display:inline-flex;gap:7px;align-items:center;color:#075858;font-weight:700;background:#eaf7f2;border-radius:8px;padding:5px 9px}
.knowledge-event-facts{margin:7px 0 12px;align-items:center}
.knowledge-event-grid-past .knowledge-event-date{background:#f0f3f3;color:#5c7071}
.knowledge-event-grid-past .knowledge-event-card{border-color:#e3e8e8}
@media(max-width:767px){.knowledge-event-section-head h3{font-size:19px}.knowledge-event-section-past{margin-top:27px;padding-top:21px}.knowledge-event-date{padding:4px 7px}}

/* v2.14: echte <img> voorkomt lege achtergrond op sommige mobiele WebViews. */
.hero-photo{overflow:hidden;position:relative;background-image:none!important;flex-shrink:0}
.hero-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:center center}
@media(max-width:767px){.hero-photo{display:block!important;flex:0 0 160px;min-height:160px!important;height:160px!important;align-self:stretch;margin:12px 12px 0;width:auto!important}.hero-photo img{height:160px!important;width:100%;object-position:center 55%}}

/* v2.14: herhalingsdata op evenementenkaart */
.knowledge-event-other{display:block;font-size:12px;color:#52656b;line-height:1.45;margin-top:3px}
.knowledge-event-repeat{display:inline-flex;gap:6px;align-items:center;background:#e9f5f2;color:#00645e;border-radius:5px;padding:3px 7px;font-size:11px;font-weight:700}

/* v2.15: Account recovery follows the established portal login design. */
.recovery-page{background:#f4f6f7;min-height:100svh;display:flex;align-items:center;justify-content:center;padding:25px 16px;margin:0}
.recovery-page .recovery-card{background:#fff;width:min(100%,470px);margin:0 auto;padding:32px 34px;box-shadow:0 8px 25px #0a41430e;text-align:center}
.recovery-page .recovery-card img{object-fit:contain}
.recovery-page .recovery-form{margin-top:22px}
.recovery-page .form-control{min-height:45px;border-radius:9px}
.recovery-page .btn{border-radius:9px;min-height:45px;display:inline-flex;justify-content:center;align-items:center}
.recovery-page .alert{text-align:left;font-size:.95rem}

/* v2.18: Oude portaalweergave bij header=none; app heeft zijn eigen navigatie. */
body.mode-embed .portal-topbar,
body.mode-embed .desktop-sidebar,
body.mode-embed .bottom-nav,
body.mode-embed .offcanvas {display:none !important;}
body.mode-embed .portal-main {padding-top:0 !important; margin-left:0 !important; min-height:0 !important;}
body.mode-embed .content-wrap {max-width:none; padding:12px 12px 22px !important;}
body.mode-embed {overflow-x:hidden;}
@media (max-width: 600px) {
  body.mode-embed .content-wrap {padding:4px 4px 16px !important;}
  .legacy-chapter-embed {border:none !important; border-radius:0 !important;}
  img, video, iframe {max-width:100% !important; height:auto;}
}
