/*
Theme Name: DoctorDeev
Author: DoctorDeev
Description: Lightweight Gutenberg block theme with independent editorial sections.
Version: 0.7.0
Requires at least: 6.6
Requires PHP: 8.2
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: doctordeev
*/
:root{--dd-accent:#175b52;--dd-soft:#edf2ed;--dd-line:#dbe2db;--dd-ink:#20382e;--dd-muted:#5b685f}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:30px}body{margin:0;background:#fafbf8;color:var(--dd-ink)}
body.dd-outside-canada{--dd-accent:#315e85;--dd-soft:#edf2f7}body.dd-faith{--dd-accent:#70543c;--dd-soft:#f3eee7}body.dd-success{--dd-accent:#5c4d83;--dd-soft:#f1edf6}
a{color:var(--dd-accent);text-underline-offset:.24em}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #bd822f;outline-offset:5px}button,input,select{font:inherit}button{cursor:pointer}.dd-shell{max-width:1216px;padding:0 40px;margin:0 auto}.dd-header{border-bottom:1px solid var(--dd-line);background:#fafbf8}.dd-header-line{display:flex;gap:30px;justify-content:space-between;align-items:center;min-height:100px}.dd-brand{font-size:26px;font-weight:750;letter-spacing:-1px;text-decoration:none;color:var(--dd-ink);white-space:nowrap}.dd-brand span{color:var(--dd-accent)}.dd-nav{display:flex;gap:25px;flex-wrap:wrap;align-items:center;font-size:13px}.dd-nav a{text-decoration:none}.dd-nav a:hover{text-decoration:underline}.dd-language{border-left:1px solid var(--dd-line);padding-left:18px}.dd-section-switch{display:flex;flex-wrap:wrap;gap:25px;font-size:12px;padding:0 0 18px}.dd-section-switch a{text-decoration:none;color:var(--dd-muted)}.dd-section-switch a[aria-current]{font-weight:700;color:var(--dd-accent)}
.dd-page{padding-top:0;padding-bottom:0}.dd-page>.wp-block-post-content{margin-block-start:0}.dd-page .wp-block-group{margin-block-start:0}.dd-page .wp-block-post-content>*{max-width:none}.dd-hero{display:grid;grid-template-columns:1.05fr 1fr;gap:72px;align-items:center;padding:70px 0 80px;min-height:620px}.dd-eyebrow{font-size:11px;font-weight:700;letter-spacing:.19em;text-transform:uppercase;color:var(--dd-accent);margin:0 0 23px}.dd-hero h1,.dd-reading h1{font-family:Georgia,serif;font-size:clamp(40px,4.6vw,66px);font-weight:400;letter-spacing:-2px;line-height:1.08;margin:0 0 25px}.dd-lead{font-size:18px;line-height:1.8;color:var(--dd-muted);margin-bottom:28px}.dd-hero figure{margin:0}.dd-hero-image img{display:block;width:100%;height:480px;object-fit:cover;object-position:center 50%;border-radius:100px 8px 8px 8px}.dd-button{display:inline-flex;gap:12px;align-items:center;background:var(--dd-accent);border:1px solid var(--dd-accent);color:white;text-decoration:none;padding:13px 21px;border-radius:4px;font-size:14px;font-weight:600;line-height:1.5}.dd-button:hover{filter:brightness(.92)}.dd-link{text-decoration:none;font-size:14px;font-weight:600;border-bottom:1px solid #b3c5b9;padding-bottom:6px;display:inline-block}.dd-link span{margin-left:16px}
.dd-section{padding:55px 0;border-top:1px solid var(--dd-line)}.dd-section h2,.dd-row-copy h2{font-family:Georgia,serif;font-size:clamp(30px,3.1vw,42px);font-weight:400;letter-spacing:-.7px;line-height:1.2;margin:0 0 22px}.dd-section>p{max-width:680px;color:var(--dd-muted)}.dd-story{display:grid;grid-template-columns:1fr 1fr;gap:0;margin:0!important;align-items:stretch;background:var(--dd-soft)}.dd-story>.dd-row-copy{padding:65px 68px;display:flex;flex-direction:column;justify-content:center}.dd-story figure{margin:0;min-height:360px}.dd-story img{display:block;width:100%;height:100%;max-height:480px;min-height:360px;object-fit:cover}.dd-story-reverse>.dd-row-copy{order:2}.dd-story-reverse>figure{order:1}.dd-row-copy>p{color:var(--dd-muted);font-size:16px;line-height:1.8}.dd-row-copy .dd-eyebrow{font-size:11px;color:var(--dd-accent);margin-bottom:16px}.dd-stories{padding-bottom:70px}.dd-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}.dd-card{border:1px solid var(--dd-line);border-radius:6px;overflow:hidden;background:white}.dd-card figure{margin:0}.dd-card img{width:100%;height:235px;object-fit:cover;display:block}.dd-card-copy{padding:30px}.dd-card h3{font-family:Georgia,serif;font-size:28px;font-weight:400;line-height:1.25;margin:0 0 15px}.dd-card p{font-size:15px;color:var(--dd-muted);line-height:1.8}.dd-empty{font-size:14px;color:var(--dd-muted);padding:10px 0}.dd-section .dd-shell{padding:0}.dd-feed{list-style:none;display:grid;grid-template-columns:repeat(3,1fr);gap:24px;padding:0}.dd-feed li{border:1px solid var(--dd-line);padding:24px}.dd-feed time{font-size:12px}.dd-footer{margin-top:50px;background:#edf1eb;border-top:1px solid var(--dd-line);padding:45px 0}.dd-footer>.dd-shell{display:flex;justify-content:space-between;align-items:center;gap:30px}.dd-footer p{font-size:13px;color:var(--dd-muted);margin:12px 0 0}.dd-footer nav{display:flex;gap:25px;font-size:13px}.dd-footer nav a{text-decoration:none}
.dd-reading{max-width:800px!important;margin:0 auto!important;padding:65px 0 20px}.dd-reading h1{font-size:clamp(36px,4vw,56px)}.dd-reading>p{line-height:1.85}.dd-reading .dd-section{padding:35px 0}.dd-reading h3{font-size:21px;line-height:1.4}.dd-reading li{margin-bottom:12px;line-height:1.8}.dd-reading .dd-wide-image{margin:35px 0}.dd-wide-image img{width:100%;height:360px;object-fit:cover;border-radius:6px}.dd-note{font-size:13px!important;line-height:1.8;color:var(--dd-muted);border-left:3px solid var(--dd-line);padding:10px 15px}.dd-worksheet{background:white;border:1px solid var(--dd-line);border-radius:5px;padding:35px}.dd-worksheet li{padding-bottom:40px;border-bottom:1px solid var(--dd-line)}.dd-form{display:grid;gap:10px;margin:30px 0}.dd-form label{font-size:14px;font-weight:600;margin-top:12px}.dd-form input,.dd-form select{width:100%;background:white;border:1px solid #aabbaf;border-radius:4px;padding:12px 14px;min-height:48px;color:var(--dd-ink)}.dd-form .dd-button{justify-self:start;margin-top:15px}.dd-form-status{font-size:15px;font-weight:600;color:var(--dd-accent)}.dd-preview{font-size:12px;background:#213b32;color:white;padding:9px 20px;text-align:center}.dd-preview a{color:white}.dd-skip{position:absolute;left:12px;top:-100px;z-index:9999;background:white;padding:12px}.dd-skip:focus{top:12px}#dd-main:focus{outline:none}
@media(max-width:1000px){.dd-header-line{align-items:flex-start;flex-direction:column;padding-top:25px;padding-bottom:23px;gap:18px}.dd-hero{gap:35px;min-height:520px}.dd-hero-image img{height:420px}.dd-story>.dd-row-copy{padding:40px}.dd-nav{gap:18px}}
@media(max-width:700px){.dd-shell{padding:0 22px}.dd-nav{gap:13px 18px;font-size:12px}.dd-language{padding-left:12px}.dd-section-switch{gap:12px 20px}.dd-hero{grid-template-columns:1fr;padding:40px 0 45px;gap:28px}.dd-hero h1{letter-spacing:-1px}.dd-hero-image img{height:350px;border-top-left-radius:65px}.dd-story{grid-template-columns:1fr}.dd-story>.dd-row-copy{order:1;padding:32px 27px}.dd-story>figure{order:2;min-height:240px}.dd-story img{min-height:240px;height:270px}.dd-stories{padding-bottom:35px}.dd-section{padding:35px 0}.dd-card-grid,.dd-feed{grid-template-columns:1fr}.dd-card img{height:210px}.dd-footer>.dd-shell{flex-direction:column;align-items:flex-start}.dd-footer nav{flex-wrap:wrap;gap:18px}.dd-reading{padding-top:40px}.dd-wide-image img{height:260px}.dd-worksheet{padding:25px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
@media print{#wpadminbar,.dd-header,.dd-footer,.dd-preview,.dd-button,.dd-link,.dd-skip{display:none!important}.dd-shell{max-width:none;padding:0}.dd-reading{max-width:none!important;padding:0}.dd-worksheet{border:0;padding:0}.dd-worksheet li{padding-bottom:50px}body{background:white;color:black}.dd-note{border-color:#999}a{color:black}}
.dd-photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:28px 0}.dd-photo-grid img{width:100%;height:220px;object-fit:cover;border-radius:4px}.dd-small-sources{max-width:100%}.dd-small-sources img{height:auto;max-width:380px}.dd-author-image{max-width:380px;margin:28px auto}.dd-author-image img{width:100%;height:auto;border-radius:4px}.dd-form textarea{font:inherit;width:100%;border:1px solid #aabbaf;border-radius:4px;padding:12px;background:white;color:var(--dd-ink)}.dd-consent{display:flex;align-items:flex-start;gap:12px;font-weight:400!important}.dd-form .dd-consent input{width:20px;min-height:20px;flex:none;margin-top:4px}.dd-honeypot{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.dd-received{padding:20px;border-left:3px solid var(--dd-accent);background:var(--dd-soft)}@media(max-width:700px){.dd-photo-grid{grid-template-columns:1fr}.dd-photo-grid img{height:auto}}
.dd-hero-image img{object-position:50% 0%}.dd-story img{object-position:50% 0%}

.dd-english{--dd-accent:#315f78;--dd-soft:#edf3f6;--dd-ink:#243b48;--dd-muted:#596d79}
/* Unpublished compact family contexts; keep the shared light background. */
.dd-jdm{--dd-accent:#3e5260;--dd-soft:#edf1f3}
.dd-exercise{--dd-accent:#526546;--dd-soft:#eef2e9}
.dd-arctech{--dd-accent:#425c72;--dd-soft:#eef2f6}
.dd-nina-recipes{--dd-accent:#826044;--dd-soft:#f5eee6}
.dd-eva-beauty{--dd-accent:#785d70;--dd-soft:#f5eff3}
.dd-search{display:grid;gap:12px;max-width:680px;margin:24px 0}
.dd-search input{width:100%;min-width:0;padding:12px;border:1px solid var(--dd-line);border-radius:4px;background:white;color:var(--dd-ink)}
.dd-search button{justify-self:start}
.dd-feed>article{min-width:0;overflow-wrap:anywhere}
.dd-family-intro h1{font-family:Georgia,serif;font-size:clamp(38px,4.6vw,60px);font-weight:400;line-height:1.12;letter-spacing:-1.5px;max-width:900px;margin:20px 0 24px}
.dd-return{padding-top:12px;padding-bottom:6px;font-size:14px}.dd-return a{color:var(--dd-accent);text-decoration:underline;text-underline-offset:4px}.dd-family-media img{width:100%;height:auto;border-radius:4px}
.dd-family-author{display:grid;grid-template-columns:1.25fr .75fr;gap:48px;align-items:center}.dd-family-author figure{margin:0;justify-self:center;max-width:340px}.dd-family-author img{width:100%;height:auto;border-radius:4px}@media(max-width:700px){.dd-family-author{grid-template-columns:1fr;gap:24px}.dd-family-author figure{max-width:300px}}
.dd-family-intro>p:first-child{font-size:11px;font-weight:700;letter-spacing:.14em;color:var(--dd-accent)}
.dd-family-topics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;padding:0}
.dd-family-topic{min-width:0;padding:24px;background:var(--dd-soft);border-radius:4px}
.dd-family-topic h3{font-family:Georgia,serif;font-size:25px;line-height:1.25;font-weight:400;margin:0 0 16px}
.dd-family-topic p{font-size:15px;line-height:1.7;color:var(--dd-muted)}
@media(max-width:700px){.dd-family-topics{grid-template-columns:1fr;gap:14px}.dd-family-intro h1{letter-spacing:-.8px}.dd-family-topic{padding:24px}}
.dd-english .dd-feed{list-style:none;padding:0;display:grid;gap:24px;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr))}.dd-english .dd-feed li{border-top:1px solid var(--dd-line);padding:24px 0}.dd-english .dd-feed time{color:var(--dd-muted);font-size:.875rem}

/* Generated illustrations keep a quiet editorial caption. */
.dd-generated-illustration{max-width:960px;margin:2rem auto}.dd-generated-illustration img{width:100%;height:auto;max-height:550px;object-fit:contain}.wp-block-image figcaption{font-size:.75rem;color:#64716b}
