/*
Theme Name: DailyDiscovery V2.5
Theme URI: https://dailydiscovery.online/
Author: DailyDiscovery
Description: Lightweight editorial wellness WordPress theme with a premium home page.
Version: 2.5.1
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: dailydiscovery
*/
:root{--ink:#14324a;--ink2:#0f2a3e;--muted:#65788a;--accent:#2a9a83;--accent2:#e8f5f1;--cream:#fbfaf6;--line:#e3ebe8;--white:#fff;--max:1180px;--shadow:0 14px 40px rgba(15,42,62,.08)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:#fff;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.6}a{text-decoration:none;color:inherit}img{max-width:100%;display:block}.container{width:min(var(--max),calc(100% - 40px));margin:auto}
.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);border-bottom:1px solid rgba(227,235,232,.9)}.header-inner{height:76px;display:flex;align-items:center;gap:28px}.brand{display:flex;align-items:center;gap:10px;font-family:Georgia,serif;font-weight:700;font-size:1.28rem;white-space:nowrap}.brand-mark{display:grid;place-items:center;width:35px;height:35px;border-radius:9px;color:#fff;background:linear-gradient(135deg,#1f8f78,#67bba8);font-family:Inter,sans-serif;font-size:.9rem}.nav{display:flex;align-items:center;gap:24px;margin-left:auto;font-size:.84rem;color:#3a5668}.nav a:hover{color:var(--accent)}.nav-cta{background:#0c5a61;color:#fff!important;padding:10px 17px;border-radius:999px}.menu-toggle{display:none;margin-left:auto;border:0;background:none;font-size:1.45rem;color:var(--ink)}
.hero{position:relative;overflow:hidden;background:#f7fbfa}.hero .container{width:100%;max-width:none}.hero-grid{min-height:520px;display:grid;grid-template-columns:48% 52%;align-items:stretch}.hero-copy{padding:74px 52px 70px max(20px,calc((100vw - var(--max))/2));display:flex;flex-direction:column;justify-content:center;position:relative;z-index:2;background:linear-gradient(90deg,#f7fbfa 0%,#f7fbfa 82%,rgba(247,251,250,.95) 100%)}.eyebrow{font-size:.74rem;letter-spacing:.16em;text-transform:uppercase;font-weight:800;color:#187f6d;display:flex;align-items:center;gap:9px}.eyebrow:before{content:"";width:24px;height:2px;background:var(--accent)}h1,h2,h3{font-family:Georgia,"Times New Roman",serif;font-weight:500;letter-spacing:-.045em}.hero h1{font-size:clamp(3.2rem,5.5vw,5.35rem);line-height:.96;margin:18px 0 22px;max-width:620px}.hero p{max-width:600px;color:var(--muted);font-size:1.03rem;margin:0 0 28px}.hero-actions{display:flex;gap:12px;flex-wrap:wrap}.btn{display:inline-flex;align-items:center;justify-content:center;padding:12px 19px;border-radius:999px;font-weight:750;font-size:.86rem;transition:transform .18s ease,box-shadow .18s ease,background .18s ease,border-color .18s ease}.btn:hover{transform:translateY(-2px)}.btn-primary{background:var(--accent);color:#fff;box-shadow:0 10px 24px rgba(42,154,131,.2)}.btn-primary:hover{background:#218a75;box-shadow:0 14px 30px rgba(42,154,131,.26)}.btn-secondary{background:#fff;border:1px solid var(--line)}.btn-secondary:hover{border-color:#bed7d1;box-shadow:0 8px 20px rgba(15,42,62,.06)}.hero-media{min-height:520px;background-position:48% center;background-size:cover;background-repeat:no-repeat;position:relative}.hero-media:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(247,251,250,.98) 0%,rgba(247,251,250,.27) 19%,rgba(20,50,74,.03) 55%,rgba(20,50,74,.08) 100%)}
.section{padding:72px 0}.section-soft{background:#f3faf8}.section-head{display:flex;justify-content:space-between;align-items:end;gap:30px;margin-bottom:28px}.section-head h2{font-size:2.25rem;line-height:1.08;margin:6px 0 0}.section-head p{max-width:460px;margin:0;color:var(--muted);font-size:.9rem}.cards-3{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.story-card{background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden;box-shadow:0 5px 18px rgba(15,42,62,.03);transition:.2s}.story-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}.story-card img{width:100%;height:200px;object-fit:cover}.story-content{padding:18px}.tag{display:inline-flex;padding:6px 11px;border-radius:999px;background:#e9f6f2;color:#1b826f;font-size:.68rem;font-weight:800}.story-card h3{font-size:1.42rem;line-height:1.1;margin:12px 0 8px}.story-card p{font-size:.85rem;color:var(--muted);margin:0 0 15px}.meta{display:flex;justify-content:space-between;align-items:center;color:#82909b;font-size:.72rem}.arrow{display:grid;place-items:center;width:31px;height:31px;border-radius:50%;background:#0b6f6c;color:#fff;font-weight:800}
.category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.category-card{position:relative;min-height:210px;border-radius:14px;overflow:hidden;border:1px solid var(--line);background:#fff}.category-card img{width:100%;height:92px;object-fit:cover}.category-body{padding:17px}.category-icon{width:38px;height:38px;border-radius:50%;border:1px solid #b9d8d0;background:#fff;display:grid;place-items:center;margin-top:-36px;position:relative;font-size:1rem}.category-card h3{font-size:1.18rem;margin:10px 0 5px}.category-card p{font-size:.78rem;color:#468c7e;margin:0 25px 0 0}.category-arrow{position:absolute;right:18px;bottom:17px;color:#16826f;font-weight:900}
.latest-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.latest-card{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden}.latest-card img{height:120px;width:100%;object-fit:cover}.latest-body{padding:14px}.latest-card h3{font-size:1.02rem;line-height:1.18;margin:8px 0 8px}.latest-card p{font-size:.76rem;color:var(--muted);margin:0 0 12px}
.newsletter-wrap{position:relative;background-position:center;background-size:cover;background-repeat:no-repeat}.newsletter-wrap:before{content:"";position:absolute;inset:0;background:rgba(255,255,255,.76)}.newsletter{position:relative;display:grid;grid-template-columns:1fr 1.25fr;gap:35px;align-items:center;padding:28px 0}.newsletter-title{display:flex;align-items:center;gap:15px}.mail-icon{width:50px;height:50px;border-radius:50%;display:grid;place-items:center;background:#188d76;color:#fff;font-size:1.25rem}.newsletter h2{font-size:1.75rem;margin:0}.newsletter p{margin:2px 0 0;font-size:.8rem;color:#455f70}.newsletter-form{display:flex;gap:8px}.newsletter-form input{flex:1;border:1px solid #d8e3e0;background:#fff;border-radius:999px;padding:12px 16px;font:inherit;min-width:0}.newsletter-form button{border:0;border-radius:999px;background:#188d76;color:#fff;padding:12px 21px;font-weight:750;cursor:pointer}.mini-note{font-size:.67rem;color:#6e7e89;margin-top:6px}
.site-footer{background:#0f2d44;color:#dbe7ed;padding:44px 0 18px}.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:35px}.footer-brand .brand{color:#fff}.footer-copy{color:#aabdc9;font-size:.8rem;max-width:280px}.footer-title{font-size:.82rem;font-weight:800;color:#fff;margin-bottom:11px}.footer-links{display:grid;gap:7px;color:#b7c8d1;font-size:.75rem}.footer-motto{font-family:Georgia,serif;font-style:italic;font-size:1.02rem}.footer-bottom{margin-top:30px;padding-top:16px;border-top:1px solid rgba(255,255,255,.1);display:flex;justify-content:space-between;gap:20px;color:#8fa6b4;font-size:.67rem}
@media(max-width:980px){.nav{display:none;position:absolute;top:68px;right:20px;left:20px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:16px;box-shadow:var(--shadow);flex-direction:column;align-items:stretch}.nav.open{display:flex}.menu-toggle{display:block}.hero-grid{grid-template-columns:1fr}.hero-copy{padding:55px max(20px,calc((100vw - var(--max))/2)) 38px;background:#f7fbfa}.hero-media{min-height:390px;background-position:center 34%}.hero-media:before{background:linear-gradient(180deg,rgba(247,251,250,.25),rgba(20,50,74,.06))}.cards-3,.latest-grid{grid-template-columns:repeat(2,1fr)}.category-grid{grid-template-columns:repeat(2,1fr)}.newsletter{grid-template-columns:1fr}.footer-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:620px){.container{width:min(var(--max),calc(100% - 28px))}.header-inner{height:66px}.hero h1{font-size:clamp(2.8rem,13vw,3.15rem)}.hero-copy{padding:46px 20px 34px}.hero-media{min-height:300px;background-position:55% 32%}.hero-actions .btn{flex:1;min-width:145px}.section{padding:56px 0}.section-head{display:block}.section-head p{margin-top:10px}.cards-3,.latest-grid,.category-grid{grid-template-columns:1fr}.story-card img{height:190px}.newsletter-form{display:grid}.footer-grid{grid-template-columns:1fr}.footer-bottom{display:block}.footer-bottom span{display:block;margin-top:5px}}

/* DailyDiscovery V2.1 refinements */
body.admin-bar .site-header{top:32px}
.story-card,.latest-card,.category-card{transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.latest-card:hover,.category-card:hover{transform:translateY(-3px);box-shadow:var(--shadow);border-color:#d4e3df}
.nav a,.footer-links a{transition:color .18s ease}
.footer-links a:hover{color:#fff}
a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid rgba(42,154,131,.34);outline-offset:3px}
.newsletter-form input:focus{border-color:#86c9ba;box-shadow:0 0 0 3px rgba(42,154,131,.10);outline:0}
.story-card img,.latest-card img,.category-card img{transition:transform .35s ease}
.story-card:hover img,.latest-card:hover img,.category-card:hover img{transform:scale(1.025)}
@media(max-width:782px){body.admin-bar .site-header{top:46px}}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*:before,*:after{transition:none!important;animation:none!important}
}

/* V2.3 Trust & Legal */
.dd-page-hero{padding:72px 0 52px;background:linear-gradient(180deg,#f5faf8,#fff);border-bottom:1px solid var(--line)}
.dd-page-hero h1{margin:14px 0;font-family:Georgia,"Times New Roman",serif;font-size:clamp(2.7rem,5vw,4.6rem);line-height:1;letter-spacing:-.05em;font-weight:500}
.dd-page-hero p{max-width:760px;margin:0;color:var(--muted);font-size:1.04rem}
.dd-content-wrap{padding:58px 0 80px}.dd-content-grid{display:grid;grid-template-columns:minmax(0,760px) 260px;gap:70px;align-items:start}
.dd-article{color:#334b60}.dd-article h2,.dd-article h3{color:var(--ink);font-family:Georgia,"Times New Roman",serif;font-weight:500}
.dd-article h2{font-size:1.8rem;margin:38px 0 12px}.dd-article h3{font-size:1.3rem;margin:28px 0 8px}.dd-article p,.dd-article ul{margin:0 0 17px}.dd-article ul{padding-left:22px}
.dd-article a{color:var(--accent-dark);text-decoration:underline;text-underline-offset:3px}
.dd-note,.dd-disclosure{margin:24px 0;padding:20px 22px;background:#f1f8f6;border:1px solid #d7ebe6;border-left:4px solid var(--accent);border-radius:12px}
.dd-sidebox{position:sticky;top:110px;padding:22px;border:1px solid var(--line);border-radius:16px;background:#fbfdfc}
.dd-sidebox strong{display:block;margin-bottom:10px}.dd-sidebox a{display:block;padding:7px 0;font-size:.88rem;color:var(--muted)}.dd-sidebox a:hover{color:var(--accent-dark)}
.dd-contact-card{padding:26px;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:0 12px 35px rgba(15,42,62,.05);margin-top:28px}
@media(max-width:850px){.dd-content-grid{grid-template-columns:1fr;gap:35px}.dd-sidebox{position:static}}
@media(max-width:620px){.dd-page-hero{padding:52px 0 38px}.dd-content-wrap{padding:42px 0 60px}}

/* V2.4 Editorial Engine */
.dd-post-hero{padding:62px 0 34px;background:#f7fbfa;border-bottom:1px solid var(--line)}
.dd-post-hero h1{font-family:Georgia,"Times New Roman",serif;font-weight:500;font-size:clamp(2.5rem,5vw,4.5rem);line-height:1.02;letter-spacing:-.045em;max-width:900px;margin:12px 0 16px}
.dd-post-meta{color:var(--muted);font-size:.84rem}.dd-post-content{padding:52px 0 80px}.dd-post-content article{max-width:780px;margin:auto;color:#334b60;font-size:1.02rem}
.dd-post-content article h2,.dd-post-content article h3{font-family:Georgia,"Times New Roman",serif;color:var(--ink);font-weight:500}
.dd-post-content article h2{font-size:1.9rem;margin:38px 0 12px}.dd-post-content article h3{font-size:1.35rem;margin:28px 0 10px}
.dd-post-content article p,.dd-post-content article ul{margin:0 0 18px}.dd-post-content article a{color:var(--accent-dark);text-decoration:underline;text-underline-offset:3px}
.dd-affiliate-note{max-width:780px;margin:0 auto 24px;padding:14px 17px;background:#f2f8f6;border:1px solid #d8e9e5;border-radius:12px;color:#526878;font-size:.84rem}
.dd-archive-hero{padding:62px 0 38px;background:#f7fbfa;border-bottom:1px solid var(--line)}.dd-archive-hero h1{font-family:Georgia,serif;font-size:3.3rem;font-weight:500;margin:10px 0}
.dd-archive-grid{padding:52px 0 80px;display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.dd-archive-card{border:1px solid var(--line);border-radius:18px;overflow:hidden;background:#fff}
.dd-archive-card img{width:100%;height:190px;object-fit:cover}.dd-archive-card-body{padding:20px}.dd-archive-card h2{font-family:Georgia,serif;font-size:1.35rem;line-height:1.15;margin:7px 0 10px;font-weight:500}
.dd-empty{padding:50px 0;color:var(--muted)}
@media(max-width:850px){.dd-archive-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:620px){.dd-archive-grid{grid-template-columns:1fr}}

/* DailyDiscovery V2.5 — audit refinements */
.brand{gap:4px;font-size:1.28rem}.brand-word{display:inline-flex;align-items:baseline;letter-spacing:-.035em}.brand-daily{color:var(--ink)}.brand-discovery{color:#6d8c45}.brand-leaf{width:23px;height:23px;color:#8db82d;transform:rotate(-8deg);flex:0 0 auto}.brand-footer .brand-daily{color:#fff}.brand-footer .brand-discovery{color:#c3d79f}.brand-footer .brand-leaf{color:#a9d43c}
.category-card{min-height:0;display:block}.category-card img{height:112px}.category-card .category-body{padding:15px 16px 17px;display:flex;flex-direction:column;align-items:flex-start;gap:3px}.category-card .category-body strong{display:block;font-size:.94rem;line-height:1.25;color:var(--ink)}.category-card .category-body span{display:block;color:var(--muted);font-size:.78rem;line-height:1.45}.category-card .category-body b{display:inline-block;margin-top:7px;color:#16826f;font-size:.78rem}.category-card:hover .category-body b{transform:translateX(2px)}
.newsletter-disabled input,.newsletter-disabled button{cursor:not-allowed;opacity:.72}.newsletter-disabled button{background:#6f928a}
.dd-featured-image{margin:0 auto 34px;max-width:680px}.dd-featured-image img{width:100%;height:auto;border-radius:14px;object-fit:contain}.dd-health-disclaimer{margin:34px 0 0;padding:18px 20px;background:#f5f9f8;border:1px solid #d9e8e4;border-left:4px solid var(--accent);border-radius:12px;color:#526878;font-size:.9rem}.dd-health-disclaimer strong{color:var(--ink)}
.dd-related{max-width:980px;margin:62px auto 0;padding-top:34px;border-top:1px solid var(--line)}.dd-related-head h2{font-family:Georgia,"Times New Roman",serif;font-weight:500;font-size:2rem;line-height:1.1;margin:7px 0 22px;color:var(--ink)}.dd-related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.dd-related-card{border:1px solid var(--line);border-radius:14px;overflow:hidden;background:#fff;transition:.2s}.dd-related-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.dd-related-card img{width:100%;height:145px;object-fit:cover}.dd-related-body{padding:15px}.dd-related-body span{font-size:.68rem;text-transform:uppercase;letter-spacing:.08em;font-weight:800;color:#18836f}.dd-related-body h3{font-family:Georgia,"Times New Roman",serif;font-size:1.12rem;line-height:1.15;font-weight:500;margin:7px 0 11px;color:var(--ink)}.dd-related-body b{font-size:.77rem;color:#16826f}
@media(max-width:850px){.dd-related-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:620px){.header-inner{height:72px}.brand{font-size:1.25rem}.brand-leaf{width:21px;height:21px}.hero-copy{padding-top:32px}.hero h1{font-size:clamp(2.55rem,11.4vw,2.95rem);line-height:.98;margin-top:15px}.hero .eyebrow{font-size:.68rem}.dd-post-hero{padding:46px 0 27px}.dd-post-hero h1{font-size:clamp(2.35rem,10.7vw,3.05rem);line-height:1.02;margin-top:12px}.dd-post-content{padding:36px 0 62px}.dd-affiliate-note{margin-left:14px;margin-right:14px}.dd-featured-image{margin-bottom:28px}.dd-featured-image img{border-radius:10px}.category-card img{height:150px}.category-card .category-body{padding:15px 17px 18px}.category-card .category-body strong{font-size:1.08rem}.category-card .category-body span{font-size:.9rem}.category-card .category-body b{font-size:.86rem}.dd-related{margin-top:48px}.dd-related-grid{grid-template-columns:1fr}.dd-related-card img{height:190px}}
