/*
Theme Name: Healthy Life
Theme URI: https://example.com/healthy-life
Author: OpenAI
Description: A modern, responsive, lightweight health and lifestyle magazine theme for WordPress.
Version: 1.5.7
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: healthy-life
Tags: blog, news, food-and-drink, grid-layout, custom-logo, custom-menu, featured-images, footer-widgets, translation-ready
*/
:root{--green:#234b3b;--sage:#dce9df;--cream:#f7f7f1;--ink:#1d2923;--muted:#68766e;--line:#e5e9e4;--white:#fff;--accent:#9bbd9f}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--cream);color:var(--ink);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px;line-height:1.7}a{color:var(--green);text-decoration:none}a:hover{color:#477b5c}img{max-width:100%;height:auto;display:block}.site-shell{max-width:1180px;margin:auto;padding:0 24px}.site-header{background:rgba(255,255,255,.96);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20}.header-inner{min-height:78px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;align-items:center;gap:12px;font-weight:800;font-size:1.35rem;letter-spacing:-.04em;color:var(--green)}.custom-logo{max-height:48px;width:auto}.brand-mark{width:38px;height:38px;border-radius:13px;background:var(--green);color:white;display:grid;place-items:center;font-weight:800}.main-nav ul{display:flex;align-items:center;gap:26px;list-style:none;padding:0;margin:0}.main-nav a{font-size:.92rem;font-weight:650;color:#34483c}.main-nav a:hover,.main-nav .current-menu-item>a{color:#719b76}.header-actions{display:flex;align-items:center;gap:12px}.search-link,.menu-toggle{border:1px solid var(--line);background:white;border-radius:50%;width:40px;height:40px;display:grid;place-items:center;color:var(--green);cursor:pointer}.menu-toggle{display:none}.hero{padding:58px 0 36px}.hero-cover{position:relative;width:100%;height:clamp(260px,40vw,470px);overflow:hidden;border-radius:28px;background:#dce9df}.hero-cover-image{display:block;width:100%;height:100%;object-fit:cover}.hero-cover-center .hero-cover-image{object-position:center}.hero-cover-top .hero-cover-image{object-position:top}.hero-cover-bottom .hero-cover-image{object-position:bottom}.hero-cover-left .hero-cover-image{object-position:left}.hero-cover-right .hero-cover-image{object-position:right}.hero-cover-overlay{position:absolute;inset:0;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:clamp(24px,5vw,58px);background:linear-gradient(90deg,rgba(12,34,24,.76),rgba(12,34,24,.12));color:#fff}.hero-cover-overlay .eyebrow,.hero-cover-overlay h1,.hero-cover-overlay p{color:#fff}.hero-cover-overlay h1{font-size:clamp(2.2rem,5vw,4.2rem);line-height:1.04;letter-spacing:-.055em;margin:14px 0 12px}.hero-cover-overlay p{max-width:540px;margin:0}.hero-cover-overlay .button{background:#fff;color:#234b3b}.hero-cover-overlay .button:hover{background:#edf4ed}
.hero-panel{background:var(--sage);border-radius:28px;padding:52px;display:grid;grid-template-columns:1.1fr .9fr;gap:35px;align-items:center;overflow:hidden}.eyebrow{text-transform:uppercase;letter-spacing:.14em;font-size:.72rem;font-weight:800;color:#55745c}.hero h1{font-size:clamp(2.5rem,5vw,4.6rem);line-height:1.04;letter-spacing:-.055em;margin:14px 0 18px;color:var(--green)}.hero p{color:#52665a;max-width:520px}.button{display:inline-flex;align-items:center;justify-content:center;background:var(--green);color:white;padding:12px 20px;border-radius:999px;font-weight:700;margin-top:12px}.button:hover{background:#38664d;color:white}.hero-art{min-height:270px;border-radius:22px;background:linear-gradient(135deg,#a9c9a9,#e7ead8);display:grid;place-items:center;color:var(--green);font-size:5rem}.section{padding:28px 0 44px}.section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:22px}.section-head h2{font-size:1.8rem;letter-spacing:-.04em;margin:0;color:var(--green)}.section-head p{margin:4px 0 0;color:var(--muted)}.post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.post-card{background:white;border:1px solid var(--line);border-radius:18px;overflow:hidden;transition:transform .2s,box-shadow .2s}.post-card:hover{transform:translateY(-3px);box-shadow:0 12px 30px rgba(30,60,40,.08)}.post-thumb{aspect-ratio:16/10;background:#e8eee7;overflow:hidden}.post-thumb img{width:100%;height:100%;object-fit:cover}.post-placeholder{height:100%;display:grid;place-items:center;color:#739078;font-size:2.6rem}.post-content{padding:20px}.post-meta{font-size:.78rem;color:var(--muted);display:flex;gap:10px;flex-wrap:wrap}.post-content h3{font-size:1.18rem;line-height:1.35;letter-spacing:-.025em;margin:10px 0}.post-content p{font-size:.92rem;color:var(--muted);margin:0}.category-pill{display:inline-block;background:#edf4ed;color:#507256;padding:4px 10px;border-radius:999px;font-size:.72rem;font-weight:750}.content-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:42px;padding:44px 0}.article-header{margin-bottom:26px}.article-header h1{font-size:clamp(2.1rem,4vw,3.5rem);line-height:1.12;letter-spacing:-.05em;color:var(--green);margin:12px 0}.article-featured img{width:100%;max-height:520px;object-fit:cover;border-radius:20px}.entry-content{font-size:1.06rem}.entry-content h2,.entry-content h3{color:var(--green);line-height:1.25;margin-top:1.8em}.entry-content p{margin:0 0 1.25em}.entry-content ul,.entry-content ol{padding-left:1.4em}.sidebar-box{background:white;border:1px solid var(--line);padding:22px;border-radius:18px;margin-bottom:20px}.sidebar-box h3{margin-top:0;color:var(--green)}.site-footer{background:#183b2d;color:#eaf1e9;margin-top:45px;padding:52px 0 22px}.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:40px}.site-footer h2,.site-footer h3{color:white}.site-footer p,.site-footer li{color:#c7d5ca}.site-footer a{color:#eaf1e9}.footer-links{list-style:none;padding:0;margin:0}.footer-links li{margin:8px 0}.footer-bottom{border-top:1px solid rgba(255,255,255,.16);margin-top:35px;padding-top:18px;display:flex;justify-content:space-between;gap:20px;color:#c7d5ca;font-size:.85rem}.pagination{margin:32px 0}.pagination .page-numbers{display:inline-block;padding:8px 13px;background:white;border:1px solid var(--line);border-radius:9px;margin-right:5px}.pagination .current{background:var(--green);color:white}.search-form{display:flex;gap:8px}.search-form input{min-width:0;flex:1;padding:12px;border:1px solid var(--line);border-radius:10px}.search-form button{padding:0 15px;border:0;border-radius:10px;background:var(--green);color:white}.mobile-nav{display:none}.ad-slot{border:1px dashed #c8d4c9;border-radius:12px;padding:18px;text-align:center;color:#89978d;font-size:.8rem;margin:25px 0}.screen-reader-text{position:absolute;left:-9999px}.screen-reader-text:focus{left:10px;top:10px;background:white;padding:10px;z-index:99}
@media(max-width:900px){.main-nav{display:none}.menu-toggle{display:grid}.mobile-nav.open{display:block;padding:0 0 18px}.mobile-nav ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.mobile-nav a{display:block;padding:10px 12px;background:#f3f7f2;border-radius:9px}.hero-panel{padding:34px;grid-template-columns:1fr}.hero-art{min-height:180px}.content-layout{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.hero-cover{height:250px;border-radius:18px}.hero-cover-overlay{padding:20px}.hero-cover-overlay h1{font-size:2rem}.hero-cover-overlay p{font-size:.88rem}.site-shell{padding:0 17px}.header-inner{min-height:68px}.hero{padding-top:28px}.hero-panel{padding:26px 22px;border-radius:20px}.post-grid{grid-template-columns:1fr 1fr;gap:13px}.post-content{padding:14px}.post-content h3{font-size:1rem}.post-content p{font-size:.84rem}.section-head h2{font-size:1.45rem}.footer-grid{grid-template-columns:1fr;gap:20px}.footer-bottom{display:block}.content-layout{padding-top:28px}}
@media(max-width:420px){.post-grid{grid-template-columns:1fr}}


/* Responsive refinements */
html{overflow-x:hidden}
body{overflow-x:hidden}
.site-shell{width:100%;margin-left:auto;margin-right:auto}
.hero-panel,.post-card,.sidebar-box{min-width:0}
.post-content h3,.post-content p,.entry-content{overflow-wrap:anywhere}
.post-thumb img{width:100%;height:100%;object-fit:cover}
.article-featured img{height:auto;max-width:100%}
.entry-content img,.entry-content iframe,.entry-content video{max-width:100%}
.entry-content iframe{width:100%}
.main-nav ul{flex-wrap:wrap}
.mobile-nav ul{grid-template-columns:repeat(2,minmax(0,1fr))}
.search-form input{width:100%}
@media (min-width:1200px){.site-shell{max-width:1180px}}
@media (max-width:900px){
  .header-inner{gap:12px}
  .hero-panel{grid-template-columns:minmax(0,1fr) minmax(220px,.85fr);gap:22px}
  .hero h1{font-size:clamp(2.35rem,6vw,3.6rem)}
  .content-layout{gap:26px}
}
@media (max-width:700px){
  .site-shell{padding-left:18px;padding-right:18px}
  .hero-panel{grid-template-columns:1fr;padding:28px 24px}
  .hero-art{min-height:150px}
  .post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .content-layout{grid-template-columns:minmax(0,1fr)}
  .content-layout>aside{order:2}
  .footer-grid{grid-template-columns:1fr 1fr}
  .section{padding-top:22px;padding-bottom:32px}
}
@media (max-width:480px){
  .site-shell{padding-left:15px;padding-right:15px}
  .brand{font-size:1.12rem}
  .hero{padding-top:20px}
  .hero-panel{padding:23px 19px;border-radius:18px}
  .hero h1{font-size:clamp(2.1rem,10vw,2.8rem)}
  .hero p{font-size:.94rem}
  .hero-art{min-height:125px}
  .post-grid{grid-template-columns:1fr;gap:15px}
  .post-thumb{aspect-ratio:16/9}
  .post-content{padding:17px}
  .article-header h1{font-size:clamp(1.9rem,9vw,2.6rem)}
  .entry-content{font-size:1rem}
  .footer-grid{grid-template-columns:1fr}
  .footer-bottom{font-size:.78rem}
  .mobile-nav ul{grid-template-columns:1fr 1fr}
}


/* Article cards: keep the post title clearly visible beneath every thumbnail. */
.post-card{display:flex;flex-direction:column;height:100%;background:#fff}
.post-card .post-thumb{display:block;flex:0 0 auto;width:100%;aspect-ratio:16/10}
.post-card .post-thumb img{display:block;width:100%;height:100%;object-fit:cover}
.post-card .post-content{display:flex;flex:1 1 auto;flex-direction:column;align-items:flex-start;padding:19px 20px 21px}
.post-card .post-card-title{display:block;width:100%;margin:9px 0 10px;font-size:1.2rem;line-height:1.38;font-weight:750;letter-spacing:-.025em;color:var(--green)}
.post-card .post-card-title a{display:inline;color:var(--green);text-decoration:none}
.post-card .post-card-title a:hover{text-decoration:underline;text-underline-offset:3px}
.post-card .post-card-excerpt{display:block;width:100%;margin:0 0 13px;color:var(--muted);font-size:.92rem;line-height:1.6}
.post-card .read-more{display:inline-block;margin-top:auto;padding-top:4px;font-size:.88rem;font-weight:750;color:var(--green)}
.post-card .post-meta{display:flex;align-items:center;gap:8px;width:100%;font-size:.76rem;line-height:1.4}
@media(max-width:700px){
 .post-card .post-content{padding:15px}
 .post-card .post-card-title{font-size:1.08rem;line-height:1.35}
 .post-card .post-card-excerpt{font-size:.87rem}
}
@media(max-width:420px){
 .post-card .post-content{padding:16px}
 .post-card .post-card-title{font-size:1.12rem}
}


/* Version 1.3.4: accessible, consistently left-aligned site branding. */
.site-header{isolation:isolate}
.header-inner{display:flex;justify-content:space-between;align-items:center}
.brand{flex:0 0 auto;min-width:0;margin-right:auto;justify-content:flex-start;text-align:left}
.brand .custom-logo-link{display:inline-flex;align-items:center;justify-content:flex-start;max-width:min(240px,42vw)}
.brand .custom-logo{display:block;width:auto;height:auto;max-width:100%;max-height:54px;object-fit:contain;object-position:left center}
.brand-name{display:inline-block}
.main-nav{margin-left:auto}
.header-actions{flex:0 0 auto}
.site-header a:focus-visible,.site-header button:focus-visible,.site-footer a:focus-visible,.button:focus-visible{outline:3px solid #9bbd9f;outline-offset:3px}
@media(max-width:900px){.header-inner{min-height:72px}.brand .custom-logo{max-height:48px}.main-nav{display:none}}
@media(max-width:480px){.header-inner{min-height:66px}.brand .custom-logo-link{max-width: min(190px,55vw)}.brand .custom-logo{max-height:42px}.brand{font-size:1.05rem}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}

/* Clearer pagination spacing for the compact homepage and search results. */
.pagination{display:flex;flex-wrap:wrap;align-items:center;gap:7px}
.pagination .page-numbers{margin:0}
.pagination a:focus-visible,.pagination .page-numbers:focus-visible{outline:3px solid #9bbd9f;outline-offset:2px}

/* Optional Google AdSense placements; hidden until code is configured in Appearance > Customize. */
.adsense-slot{display:block;min-width:0;margin:18px auto;text-align:center;overflow:hidden}
.adsense-slot ins{display:block;margin-left:auto;margin-right:auto}
.adsense-slot iframe{max-width:100%}
.adsense-slot-header{margin-top:16px;margin-bottom:22px}
.adsense-slot-footer{margin-top:36px;margin-bottom:0}
@media(max-width:600px){.adsense-slot{padding-left:0;padding-right:0;margin-top:14px;margin-bottom:18px}}


/* v1.3.9: keep optional homepage-cover text readable over any photograph. */
.hero-cover-overlay{
  background:linear-gradient(90deg,rgba(5,20,13,.38),rgba(5,20,13,.12));
  padding:clamp(18px,4vw,42px);
}
.hero-cover-copy{
  width:min(100%,620px);
  padding:clamp(22px,3.4vw,38px);
  border:1px solid rgba(255,255,255,.28);
  border-radius:20px;
  background:rgba(8,29,20,.92);
  color:#fff;
  box-shadow:0 14px 38px rgba(0,0,0,.28);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
}
.hero-cover-overlay .eyebrow,.hero-cover-overlay h1,.hero-cover-overlay p{
  color:#fff !important;
  text-shadow:0 1px 2px rgba(0,0,0,.24);
}
.hero-cover-overlay .eyebrow{opacity:1;letter-spacing:.13em}
.hero-cover-overlay h1{margin:12px 0 14px;line-height:1.08}
.hero-cover-overlay p{max-width:540px;line-height:1.65;margin:0}
.hero-cover-overlay .button{background:#fff;color:#173d2c;text-shadow:none;box-shadow:0 2px 8px rgba(0,0,0,.18)}
.hero-cover-overlay .button:hover{background:#edf4ed;color:#102d20}
@media(max-width:600px){
  .hero-cover{height:auto;min-height:330px}
  .hero-cover-overlay{padding:16px;align-items:stretch}
  .hero-cover-copy{width:100%;padding:20px 18px;border-radius:16px}
  .hero-cover-overlay h1{font-size:clamp(1.8rem,8vw,2.35rem)}
  .hero-cover-overlay p{font-size:.9rem}
}


/* v1.4.0: clean, transparent and responsive homepage-cover typography. */
.hero-cover-overlay{
  inset:0;
  justify-content:center;
  align-items:flex-start;
  padding:clamp(20px,4vw,46px);
  background:linear-gradient(90deg,rgba(5,20,13,.24) 0%,rgba(5,20,13,.06) 48%,transparent 72%);
}
.hero-cover-copy{
  width:min(54%,560px);
  max-width:560px;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
}
.hero-cover-overlay .eyebrow,
.hero-cover-overlay h1,
.hero-cover-overlay p{
  color:#fff !important;
  text-shadow:0 2px 5px rgba(0,0,0,.78),0 1px 2px rgba(0,0,0,.55);
}
.hero-cover-overlay .eyebrow{font-size:clamp(.58rem,.85vw,.72rem);letter-spacing:.12em}
.hero-cover-overlay h1{font-size:clamp(1.8rem,3.7vw,3.5rem);line-height:1.06;margin:10px 0 12px}
.hero-cover-overlay p{max-width:440px;font-size:clamp(.82rem,1.15vw,1rem);line-height:1.5}
.hero-cover-overlay .button{margin-top:12px;padding:9px 16px;font-size:.88rem;box-shadow:0 2px 8px rgba(0,0,0,.16)}
@media(max-width:900px){
  .hero-cover{height:clamp(270px,42vw,380px)}
  .hero-cover-overlay{padding:clamp(18px,3.5vw,30px)}
  .hero-cover-copy{width:min(62%,500px)}
  .hero-cover-overlay h1{font-size:clamp(1.65rem,4.4vw,2.7rem)}
}
@media(max-width:600px){
  .hero-cover{height:clamp(230px,62vw,300px);min-height:0;border-radius:18px}
  .hero-cover-overlay{padding:16px;justify-content:center;background:linear-gradient(90deg,rgba(5,20,13,.28),rgba(5,20,13,.04) 78%,transparent)}
  .hero-cover-copy{width:min(72%,360px);padding:0}
  .hero-cover-overlay .eyebrow{font-size:.54rem;letter-spacing:.09em}
  .hero-cover-overlay h1{font-size:clamp(1.35rem,6vw,1.85rem);line-height:1.05;margin:7px 0 8px;letter-spacing:-.04em}
  .hero-cover-overlay p{font-size:clamp(.68rem,2.8vw,.8rem);line-height:1.35;max-width:100%;margin:0}
  .hero-cover-overlay .button{font-size:.72rem;padding:7px 12px;margin-top:8px}
}
@media(max-width:380px){
  .hero-cover{height:220px}
  .hero-cover-overlay{padding:12px}
  .hero-cover-copy{width:74%}
  .hero-cover-overlay .eyebrow{font-size:.49rem}
  .hero-cover-overlay h1{font-size:1.28rem;margin:6px 0}
  .hero-cover-overlay p{font-size:.65rem}
  .hero-cover-overlay .button{font-size:.68rem;padding:6px 10px;margin-top:6px}
}


/* v1.4.1: truly transparent cover caption; below the photo on smaller screens. */
.hero-cover .hero-cover-overlay,
.hero-cover .hero-cover-copy{
  background:transparent !important;background-image:none !important;
  border:0 !important;border-radius:0 !important;box-shadow:none !important;
  -webkit-backdrop-filter:none !important;backdrop-filter:none !important;
}
@media (min-width:901px){
  .hero-cover .hero-cover-overlay{
    inset:0 !important;display:flex !important;justify-content:center !important;
    align-items:flex-start !important;padding:clamp(22px,4vw,46px) !important;
    background:transparent !important;
  }
  .hero-cover .hero-cover-copy{width:min(48%,520px) !important;max-width:520px !important;padding:0 !important}
  .hero-cover .hero-cover-overlay .eyebrow,
  .hero-cover .hero-cover-overlay h1,
  .hero-cover .hero-cover-overlay p{
    color:#fff !important;text-shadow:0 2px 6px rgba(0,0,0,.92),0 1px 2px rgba(0,0,0,.8) !important;
  }
}
@media (max-width:900px){
  .hero-cover{display:flex !important;flex-direction:column !important;height:auto !important;min-height:0 !important;overflow:visible !important}
  .hero-cover .hero-cover-image{display:block !important;width:100% !important;height:auto !important;aspect-ratio:16 / 7 !important;object-fit:cover !important}
  .hero-cover .hero-cover-overlay{
    position:static !important;inset:auto !important;display:block !important;width:100% !important;
    padding:16px 2px 0 !important;color:#183b2d !important;background:transparent !important;background-image:none !important;
  }
  .hero-cover .hero-cover-copy{width:100% !important;max-width:none !important;padding:0 !important}
  .hero-cover .hero-cover-overlay .eyebrow,
  .hero-cover .hero-cover-overlay h1,
  .hero-cover .hero-cover-overlay p{color:#183b2d !important;text-shadow:none !important}
  .hero-cover .hero-cover-overlay h1{font-size:clamp(1.55rem,4.5vw,2.35rem) !important;line-height:1.12 !important;margin:6px 0 8px !important}
  .hero-cover .hero-cover-overlay p{max-width:680px !important;font-size:clamp(.86rem,1.8vw,1rem) !important;line-height:1.55 !important}
  .hero-cover .hero-cover-overlay .button{margin-top:10px !important}
}
@media (max-width:480px){
  .hero-cover .hero-cover-image{aspect-ratio:4 / 3 !important}
  .hero-cover .hero-cover-overlay{padding-top:13px !important}
  .hero-cover .hero-cover-overlay h1{font-size:clamp(1.45rem,7vw,1.9rem) !important}
  .hero-cover .hero-cover-overlay p{font-size:.88rem !important}
}


/* 1.4.3: accessibility, readability, and responsive polish. */
:focus-visible{outline:3px solid #b2762b;outline-offset:3px;border-radius:4px}
a,button,input,textarea,select{ -webkit-tap-highlight-color:transparent }
button,.button,.search-form button{font:inherit;cursor:pointer}
.site-header{box-shadow:0 2px 12px rgba(25,55,38,.035)}
.main-nav a{display:inline-block;padding:10px 0}
.mobile-nav a{min-height:44px;display:flex;align-items:center}
.entry-content{max-width:100%;overflow-wrap:break-word}
.entry-content table{display:block;max-width:100%;overflow-x:auto;border-collapse:collapse}
.entry-content th,.entry-content td{padding:10px 12px;border:1px solid var(--line);text-align:left}
.entry-content blockquote{margin:1.5em 0;padding:12px 20px;border-left:4px solid var(--accent);background:#f0f5ef;color:#42584a}
.entry-content a{text-decoration:underline;text-underline-offset:3px}
.post-card:focus-within{outline:2px solid var(--accent);outline-offset:3px}
.post-thumb{background:#e8eee7}
.site-footer a{text-underline-offset:3px}
.site-footer a:hover{color:#c8e0c8;text-decoration:underline}
.search-form button{min-height:44px}
@media(max-width:600px){
  .header-actions{gap:8px}
  .search-link,.menu-toggle{width:44px;height:44px}
  .hero-cover-overlay{background:linear-gradient(90deg,rgba(12,34,24,.82),rgba(12,34,24,.28))}
  .section-head{align-items:flex-start}
  .post-card .post-card-title{overflow-wrap:anywhere}
}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}


/* HealthyNest-inspired homepage refresh v1.5.0 */
:root{--green:#20583f;--sage:#e8efdf;--cream:#fbfaf6;--ink:#252725;--muted:#68736c;--line:#e6e9e1;--accent:#8eaf63}
body{background:#fff;color:var(--ink)}
.site-shell{max-width:1180px}
.hn-topbar{background:#1d563d;color:#fff;font-size:12px}
.hn-topbar>.site-shell{min-height:31px;display:flex;align-items:center;justify-content:space-between;gap:15px}
.hn-topbar a{color:#fff;text-decoration:none}.hn-topbar a:hover{text-decoration:underline}
.hn-topbar i{font-style:normal;opacity:.65;margin:0 8px}
.site-header{background:#fff;border-bottom:1px solid #edf0e9;box-shadow:none}
.header-inner{min-height:76px}
.brand{display:flex;align-items:center;gap:10px;color:var(--green);text-decoration:none}
.hn-brand-mark{width:44px;height:44px;border:2px solid #2d6748;border-radius:14px 14px 18px 18px;display:grid;place-items:center;font-size:30px;color:#6d9b42}
.hn-brand-text{display:flex;flex-direction:column;line-height:1.1}
.hn-brand-text strong{font-family:Georgia,serif;font-size:27px;letter-spacing:-.8px}
.hn-brand-text small{font-size:10px;color:#45594c;margin-top:5px}
.main-nav ul{gap:25px}.main-nav a{font-size:14px;color:#244a36}
.main-nav .current-menu-item>a{background:#659b37;color:#fff;border-radius:25px;padding:11px 22px}
.search-link,.menu-toggle{border:0;background:transparent;font-size:25px}
.hn-hero{background:linear-gradient(90deg,#faf9f4 0%,#fff 43%,#f3f2e9 100%);overflow:hidden}
.hn-hero-inner{min-height:340px;display:grid;grid-template-columns:.86fr 1.14fr;align-items:stretch}
.hn-hero-copy{padding:36px 20px 38px 16px;align-self:center;position:relative;z-index:1}
.hn-kicker{display:inline-block;background:#e2ecd6;color:#28583b;border-radius:20px;padding:5px 12px;font-weight:750;font-size:13px}
.hn-hero-copy h1{font-family:Georgia,'Times New Roman',serif;color:#20583f;font-size:clamp(2.8rem,5vw,4.15rem);line-height:.99;letter-spacing:-2px;margin:14px 0 15px}
.hn-hero-copy p{font-size:17px;line-height:1.45;max-width:390px;margin:0;color:#262d28}
.hn-hero-copy .button,.hn-mission .button{margin-top:14px;background:#20583f;padding:10px 20px;font-size:14px}
.hn-hero-photo{min-height:340px;position:relative;overflow:hidden}
.hn-hero-photo:before{content:"";position:absolute;z-index:1;inset:0 auto 0 0;width:18%;background:linear-gradient(90deg,#faf9f4,transparent);pointer-events:none}
.hn-hero-photo img{display:block;width:100%;height:100%;min-height:340px;object-fit:cover;object-position:center}
.hn-hero-photo.focus-top img{object-position:top}.hn-hero-photo.focus-bottom img{object-position:bottom}.hn-hero-photo.focus-left img{object-position:left}.hn-hero-photo.focus-right img{object-position:right}
.hn-photo-placeholder{height:100%;min-height:340px;display:grid;place-items:center;background:linear-gradient(135deg,#dcebd7,#f4ead6);font-size:120px}
.hn-categories{padding-top:17px;padding-bottom:22px}
.hn-section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:14px}
.hn-section-heading h2{font-family:Georgia,serif;color:#282b28;font-size:24px;letter-spacing:-.5px;margin:0}
.hn-section-heading>a{color:#4f812f;font-size:13px;font-weight:750;text-decoration:none}
.hn-category-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}
.hn-category{min-height:92px;border-radius:10px;background:#f0f3e9;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:10px;color:#194b34;text-decoration:none;transition:transform .2s,background .2s}
.hn-category:hover{background:#e4eddc;transform:translateY(-2px)}
.hn-category-icon{font-size:30px;line-height:1.1;margin-bottom:5px;color:#20583f}
.hn-category strong{font-size:13px}.hn-category small{font-size:11px;margin-top:2px;color:#4e6454}
.hn-articles{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);gap:28px;padding-top:0;padding-bottom:24px}
.hn-featured{min-width:0}
.hn-featured-image{height:245px;display:block;position:relative;overflow:hidden;border-radius:9px;background:#e8eee7}
.hn-featured-image img{width:100%;height:100%;display:block;object-fit:cover}
.hn-featured-placeholder{height:100%;display:grid;place-items:center;font-size:85px}
.hn-read-time{position:absolute;left:14px;bottom:12px;background:#20583f;color:#fff;border-radius:20px;padding:6px 11px;font-size:12px;font-weight:700}
.hn-featured>.category-pill{margin-top:14px}
.hn-featured h2{font-family:Georgia,serif;font-size:31px;line-height:1.05;letter-spacing:-.8px;margin:10px 0;color:#252725}
.hn-featured h2 a,.hn-latest-item h3 a{color:inherit;text-decoration:none}
.hn-featured h2 a:hover,.hn-latest-item h3 a:hover{color:#4c7c39}
.hn-featured>p{font-size:14px;line-height:1.55;margin:8px 0;color:#343b36}
.hn-read-more{display:inline-block;color:#4c7c32;font-weight:750;font-size:14px;text-decoration:none;margin-top:3px}
.hn-latest{min-width:0}
.hn-latest .hn-section-heading{border-bottom:1px solid #8da96e;padding-bottom:8px;margin-bottom:12px}
.hn-latest-item{display:grid;grid-template-columns:145px minmax(0,1fr);gap:15px;padding:0 0 12px;margin-bottom:6px;border-bottom:1px solid #e9ece6}
.hn-latest-thumb{height:108px;display:block;border-radius:7px;overflow:hidden;background:#e9eee5}
.hn-latest-thumb img{width:100%;height:100%;display:block;object-fit:cover}
.hn-latest-thumb>span{height:100%;display:grid;place-items:center;font-size:35px}
.hn-latest-item .category-pill{font-size:10px;padding:3px 8px}
.hn-latest-item h3{font-family:Georgia,serif;font-size:18px;line-height:1.12;margin:6px 0 3px}
.hn-latest-item small{color:#58705e;font-size:11px}
.hn-latest-item p{font-size:12px;line-height:1.35;color:#606a63;margin:4px 0 0}
.hn-empty{color:var(--muted);font-size:14px}
.hn-mission{margin-top:0;margin-bottom:18px;min-height:165px;border-radius:12px;background:linear-gradient(90deg,#edf3df,#e5edd8 55%,#dce8cf);display:grid;grid-template-columns:1.15fr .85fr;overflow:hidden;position:relative}
.hn-mission-copy{padding:20px 30px;position:relative;z-index:1}
.hn-mission .eyebrow{color:#57823a;font-size:12px;letter-spacing:.04em}
.hn-mission h2{font-family:Georgia,serif;font-size:28px;line-height:1.02;margin:7px 0;color:#292e29}
.hn-mission p{font-size:14px;line-height:1.45;margin:8px 0;max-width:490px}
.hn-mission .button{margin-top:0;padding:9px 16px;font-size:13px}
.hn-mission-art{display:flex;align-items:center;justify-content:center;gap:28px;background:radial-gradient(ellipse at center,#fff9 0%,transparent 68%);font-size:95px}
.hn-mug{font-size:65px}
.site-footer{margin-top:0;padding:0;background:#1b5039;color:#eef5ec}
.hn-newsletter{border-bottom:1px solid rgba(255,255,255,.25);background:#20583f}
.hn-newsletter-inner{min-height:66px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.hn-newsletter-inner>div{display:flex;align-items:center;gap:15px}
.hn-mail-icon{font-size:34px;color:#fff}
.hn-newsletter-inner strong,.hn-newsletter-inner small{display:block;color:#fff}
.hn-newsletter-inner strong{font-size:15px}.hn-newsletter-inner small{font-size:11px;margin-top:3px;opacity:.9}
.hn-newsletter-link{background:#6b9d3e;color:#fff;text-decoration:none;border-radius:22px;padding:9px 17px;font-size:13px;font-weight:750}
.site-footer>.site-shell{padding-top:28px}
.site-footer .footer-grid{grid-template-columns:1.2fr 1fr 1fr;gap:30px}
.site-footer h2{font-family:Georgia,serif;font-size:27px;margin:0 0 5px;color:#fff}
.site-footer h3{font-size:13px;margin:3px 0 10px}
.site-footer p,.site-footer li{font-size:12px}
.footer-bottom{margin-top:20px;padding-top:13px;font-size:11px}
@media(max-width:900px){
 .hn-hero-inner{grid-template-columns:1fr 1fr;min-height:300px}.hn-hero-photo,.hn-hero-photo img{min-height:300px}
 .hn-hero-copy h1{font-size:clamp(2.2rem,5.4vw,3.2rem)}
 .hn-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .hn-articles{grid-template-columns:1fr 1fr;gap:18px}
 .hn-latest-item{grid-template-columns:110px minmax(0,1fr);gap:10px}.hn-latest-thumb{height:95px}
}
@media(max-width:600px){
 .hn-topbar>.site-shell{justify-content:center}.hn-topbar>.site-shell>div{display:none}
 .hn-hero-inner{display:flex;flex-direction:column-reverse;min-height:0}
 .hn-hero-photo,.hn-hero-photo img{min-height:0;height:210px}
 .hn-hero-photo:before{display:none}
 .hn-hero-copy{padding:20px 18px 25px}
 .hn-hero-copy h1{font-size:2.65rem}
 .hn-hero-copy p{font-size:15px}
 .hn-categories{padding-top:20px}
 .hn-section-heading h2{font-size:21px}
 .hn-category-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
 .hn-category{min-height:88px;padding:8px 5px}.hn-category strong{font-size:11px}
 .hn-articles{grid-template-columns:1fr;padding-top:4px}
 .hn-featured-image{height:220px}.hn-featured h2{font-size:27px}
 .hn-latest-item{grid-template-columns:112px minmax(0,1fr)}
 .hn-mission{grid-template-columns:1fr;margin-top:5px}
 .hn-mission-copy{padding:20px}
 .hn-mission h2{font-size:25px}
 .hn-mission-art{min-height:100px;font-size:60px}
 .hn-newsletter-inner{padding-top:12px;padding-bottom:12px;align-items:flex-start}
 .hn-newsletter-inner small{max-width:230px}
 .hn-newsletter-link{white-space:nowrap;margin-top:5px}
 .site-footer .footer-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:420px){
 .hn-hero-copy h1{font-size:2.25rem}
 .hn-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .hn-mission-art{display:none}
 .hn-newsletter-inner{flex-direction:column;gap:10px}
 .site-footer .footer-grid{grid-template-columns:1fr}
}


/* HealthyNest 1.5.2 – fluid layout and spacing refinements */
html, body { max-width:100%; overflow-x:hidden; }
*, *::before, *::after { box-sizing:border-box; }
img, video, iframe { max-width:100%; }
.site-shell { width:min(100% - 40px, 1180px); padding-left:0; padding-right:0; }
.hn-hero-inner, .hn-articles, .hn-mission, .site-footer .footer-grid { min-width:0; }
.hn-category-grid { grid-template-columns:repeat(auto-fit, minmax(135px, 1fr)); }
.hn-category { min-width:0; }
.hn-category strong { overflow-wrap:anywhere; }
.hn-articles { align-items:start; }
.hn-featured, .hn-latest { min-width:0; }
.hn-latest-item { grid-template-columns:minmax(105px, 34%) minmax(0,1fr); }
.hn-latest-item > div { min-width:0; }
.hn-latest-item h3, .hn-featured h2 { overflow-wrap:anywhere; }
.hn-mission { grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr); }
.hn-mission-art { min-width:0; overflow:hidden; }
.hn-newsletter-inner > div { min-width:0; }
.hn-newsletter-inner form { display:flex; flex:1 1 420px; min-width:0; }
.hn-newsletter-inner input[type="email"] { min-width:0; width:100%; }
.site-footer .footer-grid > * { min-width:0; }

@media (max-width: 1100px) {
  .site-shell { width:min(100% - 36px, 100%); }
  .main-nav ul { gap:14px; }
  .main-nav a { font-size:13px; }
  .hn-hero-copy { padding-left:8px; }
  .hn-hero-copy h1 { font-size:clamp(2.35rem, 4.5vw, 3.55rem); }
  .hn-articles { gap:20px; }
  .hn-latest-item { grid-template-columns:minmax(100px, 36%) minmax(0,1fr); }
}
@media (max-width: 760px) {
  .site-shell { width:calc(100% - 32px); }
  .header-inner { min-height:68px; gap:10px; }
  .hn-brand-mark { width:38px; height:38px; font-size:26px; flex:0 0 auto; }
  .hn-brand-text strong { font-size:clamp(19px, 4vw, 24px); }
  .hn-brand-text small { font-size:9px; }
  .main-nav { display:none !important; }
  .menu-toggle { display:grid !important; }
  .hn-hero-inner { display:grid; grid-template-columns:1fr 1fr; min-height:270px; }
  .hn-hero-copy { padding:22px 12px 22px 0; }
  .hn-hero-copy h1 { font-size:clamp(2rem, 5.3vw, 2.8rem); letter-spacing:-1.2px; }
  .hn-hero-copy p { font-size:15px; }
  .hn-hero-photo, .hn-hero-photo img { min-height:270px; }
  .hn-categories { padding-top:16px; padding-bottom:18px; }
  .hn-category-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
  .hn-articles { grid-template-columns:1fr; gap:24px; padding-bottom:18px; }
  .hn-featured-image { height:clamp(190px, 43vw, 300px); }
  .hn-latest { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:14px; align-content:start; }
  .hn-latest > .hn-section-heading { grid-column:1/-1; }
  .hn-latest-item { grid-template-columns: minmax(0, 40%) minmax(0,1fr); gap:9px; }
  .hn-latest-thumb { height:100px; }
  .hn-latest-item h3 { font-size:16px; }
  .hn-mission { grid-template-columns:minmax(0,1fr) minmax(130px,.65fr); min-height:0; }
  .hn-mission-copy { padding:18px 20px; }
  .hn-mission-art { font-size:65px; gap:8px; }
  .hn-mug { font-size:44px; }
  .hn-newsletter-inner { padding:14px 0; flex-wrap:wrap; }
  .hn-newsletter-inner form { flex-basis:100%; }
  .site-footer .footer-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
}
@media (max-width: 520px) {
  .site-shell { width:calc(100% - 28px); }
  .header-inner { min-height:62px; }
  .brand { gap:7px; min-width:0; }
  .hn-brand-text strong { font-size:19px; letter-spacing:-.5px; }
  .hn-brand-text small { max-width:190px; white-space:normal; line-height:1.2; }
  .header-actions { gap:3px; }
  .search-link { font-size:22px; }
  .hn-hero-inner { display:flex; flex-direction:column-reverse; min-height:0; }
  .hn-hero-photo, .hn-hero-photo img { height:clamp(165px, 48vw, 220px); min-height:0; }
  .hn-hero-copy { padding:18px 0 20px; }
  .hn-hero-copy h1 { font-size:clamp(2.05rem, 9vw, 2.65rem); margin:10px 0; }
  .hn-hero-copy p { max-width:none; }
  .hn-category-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
  .hn-category { min-height:82px; }
  .hn-category-icon { font-size:27px; }
  .hn-section-heading { gap:8px; }
  .hn-section-heading h2 { font-size:20px; }
  .hn-articles { gap:20px; }
  .hn-featured-image { height:clamp(175px, 58vw, 240px); }
  .hn-featured h2 { font-size:25px; }
  .hn-latest { display:block; }
  .hn-latest-item { grid-template-columns:112px minmax(0,1fr); gap:11px; }
  .hn-latest-thumb { height:94px; }
  .hn-latest-item h3 { font-size:17px; }
  .hn-mission { grid-template-columns:1fr; }
  .hn-mission-copy { padding:18px; }
  .hn-mission h2 { font-size:24px; }
  .hn-mission-art { display:none; }
  .hn-newsletter-inner { align-items:stretch; }
  .hn-newsletter-inner > div { gap:10px; }
  .hn-newsletter-inner form { display:flex; width:100%; }
  .hn-newsletter-inner input[type="email"] { width:100%; min-width:0; }
  .hn-newsletter-link { align-self:flex-start; }
  .site-footer > .site-shell { padding-top:22px; }
  .site-footer .footer-grid { grid-template-columns:1fr; gap:14px; }
  .footer-bottom { margin-top:12px; }
}
@media (max-width: 360px) {
  .site-shell { width:calc(100% - 22px); }
  .hn-brand-text strong { font-size:17px; }
  .hn-brand-text small { font-size:8px; }
  .hn-latest-item { grid-template-columns:94px minmax(0,1fr); }
  .hn-latest-thumb { height:86px; }
  .hn-latest-item h3 { font-size:15px; }
}


/* HealthyNest 1.5.3 – visible site identity and category navigation */
.brand { min-width:0; flex:0 1 auto; }
.brand .custom-logo {
  display:block;
  width:auto;
  height:auto;
  max-width:54px;
  max-height:54px;
  object-fit:contain;
  flex:0 0 auto;
}
.brand .hn-brand-text { min-width:0; }
.brand .hn-brand-text strong {
  display:block;
  color:var(--green, #20583f);
  overflow-wrap:anywhere;
}
.brand .hn-brand-text small {
  display:block;
  max-width:260px;
  line-height:1.25;
}
.hn-categories .hn-section-heading > a {
  white-space:nowrap;
  display:inline-flex;
  align-items:center;
  gap:5px;
}
#hn-articles { scroll-margin-top:88px; }
@media (max-width:760px) {
  .brand .custom-logo { max-width:44px; max-height:44px; }
  .brand .hn-brand-text strong { font-size:clamp(18px,3.6vw,23px); }
}
@media (max-width:420px) {
  .brand .custom-logo { max-width:38px; max-height:38px; }
  .brand .hn-brand-text small { max-width:190px; }
  .hn-categories .hn-section-heading > a { font-size:11px; }
}


/* HealthyNest 1.5.4 – full-width Life category on narrow screens and linked footer brand */
@media (max-width: 600px) {
  .hn-category-grid .hn-category-life {
    grid-column: 1 / -1;
    width:100%;
  }
}
.hn-footer-brand h2 a {
  color:inherit;
  text-decoration:none;
  display:inline-block;
  transition:color .18s ease, opacity .18s ease;
}
.hn-footer-brand h2 a:hover {
  color:#dcebc9;
  text-decoration:none;
}
.hn-footer-brand h2 a:focus-visible {
  outline:2px solid #dcebc9;
  outline-offset:4px;
  border-radius:3px;
}


/* HealthyNest 1.5.5 – visible author bylines across post layouts */
.post-meta .post-author a,
.hn-post-author a,
.hn-latest-item small a,
.article-header .post-meta a {
  color:inherit;
  font-weight:700;
  text-decoration:none;
}
.post-meta .post-author a:hover,
.hn-post-author a:hover,
.hn-latest-item small a:hover,
.article-header .post-meta a:hover {
  color:#4c7c39;
  text-decoration:underline;
}
.hn-post-author {
  margin:5px 0 8px;
  color:#66756a;
  font-size:12px;
  line-height:1.4;
}
.hn-latest-item small a { white-space:normal; }
.post-card .post-meta { flex-wrap:wrap; }
