/* My Glucose Glow blog. Design values taken from the MailerLite blog: cream #fdf8f3, charcoal #1C1C1C, teal #44a9aa, Playfair Display + Lato */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:#fdf8f3;color:#333;font-family:'Lato',Arial,Helvetica,sans-serif;font-size:16px;line-height:1.65}
img{max-width:100%;height:auto;display:block}
a{color:#44a9aa}
h1,h2,h3{font-family:'Playfair Display',Georgia,serif;color:#000;line-height:1.2;margin:0}
.skip{position:absolute;left:-9999px;top:0;background:#44a9aa;color:#fff;padding:8px 14px;z-index:99}
.skip:focus{left:12px;top:12px}
.wrap{max-width:1140px;margin:0 auto;padding:0 60px}
.narrow{max-width:820px;margin:0 auto;padding:0 24px}

/* header */
.site-head{background:#fdf8f3;border-bottom:1px solid #E5E7EB;padding:12px 0;position:relative;z-index:2}
.site-head .wrap{display:flex;align-items:center;justify-content:space-between;gap:16px}
.site-head .brand img{height:70px;width:auto}
.head-nav{display:flex;align-items:center;gap:28px}
.head-nav a.link{color:#000;text-decoration:none;font-size:14px;border-bottom:2px solid transparent;padding-bottom:2px;transition:all .3s ease-out}
.head-nav a.link:hover{color:#09c269;border-color:#09c269}
.pill{display:inline-block;background:#44a9aa;color:#fff!important;border:1px solid #44a9aa;border-radius:30px;padding:14px 40px;font-weight:700;font-size:14px;text-decoration:none!important;line-height:1.2;cursor:pointer;font-family:'Lato',Arial,sans-serif;transition:background .2s}
.pill:hover{background:#3b9798;border-color:#3b9798}
.head-nav .pill{padding:12px 32px}
.pill.ghost{background:transparent;color:#333!important;border:1px solid #333;border-radius:30px;padding:12px 28px;font-weight:700}
.pill.ghost:hover{background:#eaeced;color:#000!important;border-color:#000}

/* index */
.page-top{padding:54px 0 8px;text-align:center}
.page-top h1{font-size:52px;font-weight:700}
.page-top p.lead{max-width:640px;margin:14px auto 0;font-size:18px;color:#333}
.cats{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 20px;list-style:none;margin:34px 0 44px;padding:0}
.cats a{font-family:'Inter',sans-serif;color:#666;font-size:14px;text-decoration:none;border-bottom:1px solid transparent;transition:all .3s ease-out}
.cats a:hover{border-color:#666}
.cats a.active{color:#000;border-color:#000}
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:44px 32px}
.card{display:flex;flex-direction:column}
.card .thumb{display:block;border-radius:16px;overflow:hidden;background:#efe7dc;aspect-ratio:4/3;margin-bottom:18px}
.card .thumb img{width:100%;height:100%;object-fit:cover;transition:transform .35s}
.card .thumb:hover img{transform:scale(1.03)}
.card .thumb.none{text-decoration:none;display:flex;align-items:center;justify-content:center;background:#44a9aa;color:#fff;font-family:'Playfair Display',serif;font-size:22px;font-weight:700;text-align:center;padding:24px}
.card .tag{font-family:'Inter',sans-serif;font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:#44a9aa;margin-bottom:6px}
.card h3{font-size:20px;font-weight:700;margin-bottom:8px}
.card h3 a{color:#000;text-decoration:none}
.card h3 a:hover{color:#44a9aa}
.card p{margin:0 0 14px;font-size:15px;line-height:1.55}
.card .meta{font-size:13px;color:#666;margin-bottom:16px}
.card .go{margin-top:auto}
.card .go .pill{padding:11px 26px;font-size:14px}
.pager{display:flex;justify-content:center;margin:56px 0 10px;padding:0;list-style:none}
.pager a,.pager span{display:block;padding:8px 16px;border:1px solid #333;color:#333;text-decoration:none;font-size:16px;margin-left:-1px;background:transparent}
.pager li:first-child a,.pager li:first-child span{border-radius:6px 0 0 6px}
.pager li:last-child a,.pager li:last-child span{border-radius:0 6px 6px 0}
.pager a:hover,.pager .cur span{background:#eaeced;color:#000}
.soon{text-align:center;padding:30px 0 60px;font-size:18px}

/* cta band */
.cta{background:#fdf8f3;margin-top:70px;padding:64px 0}
.cta-in{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center;max-width:980px;margin:0 auto;padding:0 24px}
.cta h2{font-size:34px;font-weight:700;margin-bottom:12px}
.cta h2 em{color:#44a9aa}
.cta p{margin:0 0 12px}
.cta-card{background:#fff;border-radius:20px;padding:34px;box-shadow:0 10px 30px rgba(0,0,0,.07)}
.cta-card .small{font-size:13px;color:#666;text-align:center;margin:14px 0 0}
.cta.slim{margin-top:56px}

/* mailerlite embed form */
.sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.ml-form-embedContainer,.ml-form-embedWrapper,.ml-form-embedBody{display:block;width:100%}
.ml-form-embedBody form{margin:0;width:100%}
.ml-form-formContent{display:grid;gap:14px}
.ml-form-fieldRow{margin:0}
.ml-input{width:100%;background:#fdf8f3;border:1px solid #44a9aa;border-radius:30px;padding:14px 20px;font-size:16px;font-family:'Lato',Arial,sans-serif;color:#333}
.ml-input::placeholder{color:#777;opacity:1}
.ml-input:focus{outline:2px solid #1C1C1C;outline-offset:2px}
.ml-form-embedSubmit{margin-top:16px}
.ml-btn{width:100%;border:0;background:#1C1C1C;color:#fff;border-radius:30px;padding:15px 24px;font-size:16px;font-weight:700;font-family:'Lato',Arial,sans-serif;cursor:pointer}
.ml-btn:hover{background:#000}
.ml-btn.loading{background:#444}
.ml-form-embedSubmitLoad{display:inline-block;width:20px;height:20px}
.ml-form-embedSubmitLoad:after{content:" ";display:block;width:11px;height:11px;margin:1px;border-radius:50%;border:4px solid #fff;border-color:#fff #fff #fff transparent;animation:spin 1.2s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
.ml-error .ml-input{border-color:#e5484d}
.ml-form-successContent h4{font-family:'Playfair Display',serif;font-size:22px;margin:0 0 6px;text-align:center}
.ml-form-successContent p{text-align:center;margin:0}

/* recipe */
.crumbs{font-size:13px;color:#666;padding:22px 0 0;text-align:center}
.crumbs a{color:#666;text-decoration:none}
.crumbs a:hover{text-decoration:underline}
.crumbs span{margin:0 6px}
.post-head{text-align:center;padding:22px 0 0}
.post-head h1{font-size:46px;font-weight:700}
.chips{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:22px 0 0;padding:0;list-style:none}
.chips li{background:#fff;border:1px solid #E5E7EB;border-radius:30px;padding:8px 18px;font-size:14px}
.chips b{font-weight:700;color:#000}
.actions{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin:26px 0 30px}
.hero-img{border-radius:20px;overflow:hidden;margin:0 0 34px;box-shadow:0 10px 30px rgba(0,0,0,.08)}
.hero-img img{width:100%;aspect-ratio:4/3;object-fit:cover}
.why{background:#fff;border-radius:16px;padding:26px 30px;margin-bottom:28px;border-left:5px solid #44a9aa}
.why h2{font-size:22px;margin-bottom:10px}
.why p{margin:0 0 10px}
.why p:last-child{margin:0}
.recipe{background:#fff;border-radius:20px;padding:40px;margin-bottom:28px;box-shadow:0 6px 22px rgba(0,0,0,.05)}
.recipe h2{font-size:28px;margin-bottom:6px}
.recipe h3{font-size:18px;margin:22px 0 6px;color:#1C1C1C}
.serves{font-size:14px;color:#666;margin:0 0 14px}
.ings{list-style:none;margin:0 0 6px;padding:0}
.ings li{padding:9px 0 9px 30px;border-bottom:1px solid #f0ebe3;position:relative}
.ings li::before{content:"";position:absolute;left:3px;top:15px;width:11px;height:11px;border-radius:50%;border:2px solid #44a9aa}
.ings li:last-child{border-bottom:0}
.conv{display:inline-block;margin:12px 0 0;font-size:14px}
.steps{list-style:none;counter-reset:s;margin:0;padding:0}
.steps li{counter-increment:s;position:relative;padding:10px 0 14px 54px}
.steps li::before{content:counter(s);position:absolute;left:0;top:8px;width:34px;height:34px;border-radius:50%;background:#44a9aa;color:#fff;font-weight:700;display:flex;align-items:center;justify-content:center;font-size:15px}
.recipe .sep{border:0;border-top:1px solid #efe7dc;margin:34px 0 30px}
.times{display:flex;flex-wrap:wrap;gap:12px 36px;margin:0;padding:0;list-style:none}
.times li{font-size:15px}
.times b{display:block;font-family:'Playfair Display',serif;font-size:20px;color:#000}
.habit{background:#e9f4f4;border-radius:16px;padding:26px 30px;margin-bottom:28px}
.habit h2{font-size:22px;margin-bottom:10px}
.habit p{margin:0 0 10px}
.habit p:last-child{margin:0}
.about-me{text-align:center;max-width:620px;margin:0 auto 6px}
.about-me p{font-size:18px;margin:0 0 8px}
.about-me strong{color:#000}
.more{margin-top:64px}
.more h2{text-align:center;font-size:30px;margin-bottom:30px}
.more-wrap{max-width:1140px;margin:0 auto;padding:0 24px}

/* footer */
.site-foot{background:#1C1C1C;color:#fff;margin-top:80px;padding:70px 20px 34px;text-align:center}
.site-foot .name{font-family:'Playfair Display',serif;font-weight:700;font-size:20px;color:#fff}
.site-foot .name span{color:#44a9aa}
.site-foot .handle{margin:8px 0 22px;font-size:14px}
.site-foot .social,.site-foot .legal{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 22px;margin:0 0 22px;padding:0;list-style:none}
.site-foot a{color:#fff;text-decoration:none;font-size:14px}
.site-foot a:hover{color:#44a9aa}
.site-foot .legal a{color:#9c9c9c;font-size:13px}
.site-foot .disc{font-size:13px;color:#cfcfcf;max-width:560px;margin:0 auto}

@media (max-width:991px){
  .wrap{padding:0 30px}
  .grid{grid-template-columns:repeat(2,1fr)}
  .cta-in{grid-template-columns:1fr}
}
@media (max-width:640px){
  .wrap{padding:0 15px}
  .site-head .brand img{height:54px}
  .head-nav{gap:14px}
  .head-nav .pill{padding:10px 20px;font-size:13px}
  .page-top{padding-top:36px}
  .page-top h1{font-size:36px}
  .grid{grid-template-columns:1fr;gap:38px}
  .post-head h1{font-size:32px}
  .recipe{padding:26px 20px}
  .why,.habit{padding:22px 20px}
  .steps li{padding-left:48px}
  .cta h2{font-size:28px}
  .cta-card{padding:24px 20px}
}
.print-only{display:none}
@page{size:portrait;margin:10mm}
@media print{
  html,body{background:#fff!important;font-size:11pt;color:#000}
  body{padding:8mm}
  .site-head,.site-foot,.cta,.more,.actions,.crumbs,.hero-img,.about-me,.skip,.why,.habit,.conv,.times,.tsep{display:none!important}
  .narrow{max-width:none;padding:0}
  .post-head{padding:0;text-align:left}
  .post-head h1{font-size:22pt}
  .chips{justify-content:flex-start;margin:6pt 0 12pt;gap:0 14pt}
  .chips li{border:0;padding:0;font-size:10pt;background:none}
  .recipe{box-shadow:none;border:0;padding:0;margin:0;background:#fff;border-radius:0}
  .recipe h2{font-size:14pt;margin:0 0 4pt}
  .serves{margin:0 0 6pt;font-size:10pt}
  .recipe h3{font-size:11pt;margin:8pt 0 2pt;break-after:avoid}
  .ings{column-count:2;column-gap:20pt}
  .ings li{padding:1.5pt 0 1.5pt 14pt;break-inside:avoid;font-size:10.5pt;border-bottom:0;line-height:1.35}
  .ings li::before{width:7px;height:7px;top:6px;border-width:1px;border-color:#000}
  .recipe .sep{margin:6pt 0}
  .steps li{padding:2pt 0 3pt 26pt;font-size:10.5pt;line-height:1.4;break-inside:avoid}
  .steps li::before{width:18px;height:18px;font-size:9pt;top:3pt;background:#fff;color:#000;border:1px solid #000}
  .print-only{display:block;margin-top:8pt;font-size:9pt;color:#555}
  a{color:#000;text-decoration:none}
}
