/*
Theme Name: The Healing Era
Theme URI: https://thehealingera.site
Author: The Healing Era
Description: Custom black-and-gold educational wellness WordPress theme.
Version: 1.5.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: the-healing-era
*/
:root{--bg:#090806;--panel:#151109;--gold:#d6aa49;--bright:#f5cf70;--muted:#d3c7b0;--line:#4d3b20;--max:1180px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:#f3eee4;font-family:Georgia,'Times New Roman',serif;line-height:1.7;font-size:18px}
a{color:var(--bright)}a:hover{color:#fff}img{max-width:100%;height:auto}h1,h2,h3{line-height:1.18;font-weight:400;color:var(--bright)}h1{font-size:clamp(2.5rem,5.8vw,5.3rem)}h2{font-size:clamp(2rem,4vw,3.3rem)}h3{font-size:1.55rem}p{max-width:72ch}
.container{width:min(calc(100% - 40px),var(--max));margin-inline:auto}.skip-link{position:absolute;left:-999px;top:8px;z-index:99;background:#fff;color:#000;padding:10px}.skip-link:focus{left:8px}
.site-header{position:relative;z-index:20;background:#080705f5;border-bottom:1px solid var(--line)}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:94px}.brand{display:flex;align-items:center;gap:14px;text-decoration:none;color:var(--bright);letter-spacing:.15em;font-size:1rem;text-transform:uppercase}.brand img{width:48px;height:67px;object-fit:contain}.nav-list{display:flex;gap:24px;align-items:center;list-style:none;padding:0;margin:0}.nav-list a{text-decoration:none;color:#eee4d1;font:600 .83rem Arial,sans-serif;letter-spacing:.09em;text-transform:uppercase}.nav-list a:hover,.nav-list .current-menu-item>a{color:var(--bright)}.menu-toggle{display:none;background:none;color:var(--bright);border:1px solid var(--line);padding:9px 13px;cursor:pointer}
.hero{min-height:clamp(420px,50vw,760px);display:flex;align-items:center;position:relative;background-color:#050403;background-image:linear-gradient(90deg,rgba(0,0,0,.18),rgba(0,0,0,.03) 50%,rgba(0,0,0,.15)),url('assets/images/hero.png');background-position:center;background-size:100% 100%;background-repeat:no-repeat;border-bottom:1px solid var(--line);box-shadow:inset 0 0 110px 24px rgba(0,0,0,.60)}
.hero-inner{padding-block:130px 110px}.hero h1,.hero .hero-copy{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.hero .hero-actions{margin-top:clamp(240px,30vw,440px)}.button{display:inline-block;background:var(--gold);color:#171006;text-decoration:none;font:700 .82rem Arial,sans-serif;letter-spacing:.12em;text-transform:uppercase;padding:17px 25px;border:1px solid var(--gold);border-radius:2px}.button:hover{background:var(--bright);color:#171006}.button-outline{background:#0a0809cf;color:var(--bright);margin-left:12px}.button-outline:hover{background:var(--gold);color:#171006}
.section{padding:95px 0}.section-kicker{font:700 .8rem Arial,sans-serif;letter-spacing:.25em;text-transform:uppercase;color:var(--gold)}.intro{text-align:center}.intro p{margin:20px auto;color:var(--muted);font-size:1.17rem}.gold-rule{width:72px;height:1px;background:var(--gold);margin:25px auto}
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:40px}.card{border:1px solid var(--line);background:linear-gradient(145deg,#211808,#0e0b08);padding:35px 28px;min-height:250px}.card p{color:var(--muted)}.card a{font:700 .8rem Arial,sans-serif;letter-spacing:.08em;text-transform:uppercase}.card .number{font:400 2rem Georgia,serif;color:var(--gold)}
.quote-band{background:#1c1408;border-block:1px solid var(--line);text-align:center;padding:70px 0}.quote-band blockquote{margin:0 auto;max-width:930px;font-size:clamp(1.6rem,3vw,2.9rem);line-height:1.45;color:var(--bright)}
.split{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:65px}.split img{width:100%;max-height:540px;object-fit:contain}.split p{color:var(--muted)}
.posts{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.post-card{border-top:1px solid var(--gold);padding:22px 0}.post-card h3 a{text-decoration:none}.post-card p{color:var(--muted)}.post-date{font:700 .75rem Arial,sans-serif;letter-spacing:.12em;text-transform:uppercase;color:var(--gold)}
.site-footer{border-top:1px solid var(--line);background:#080705;padding:55px 0 25px}.footer-grid{display:flex;justify-content:space-between;gap:40px}.footer-grid p{color:var(--muted)}.footer-bottom{border-top:1px solid var(--line);margin-top:35px;padding-top:20px;color:#a99b7e;font: .82rem Arial,sans-serif}
.page-content{padding:70px 0 100px;min-height:55vh}.entry-content{max-width:800px}.entry-content p,.entry-content li{color:#e2d9c8}.entry-content a{text-decoration:underline}.entry-content img{height:auto}.archive-list article{padding:26px 0;border-bottom:1px solid var(--line)}.pagination{margin-top:35px}.screen-reader-text{position:absolute;clip:rect(1px,1px,1px,1px);width:1px;height:1px;overflow:hidden}
@media(max-width:900px){.cards,.posts{grid-template-columns:1fr 1fr}.split{gap:25px}.brand{font-size:.85rem}.nav-list{gap:12px}}
@media(max-width:700px){body{font-size:17px}.header-inner{min-height:75px}.brand img{width:38px;height:55px}.menu-toggle{display:block}.primary-nav{display:none;position:absolute;top:100%;left:0;right:0;background:#100d08;border-bottom:1px solid var(--line);padding:18px 24px}.primary-nav.open{display:block}.nav-list{flex-direction:column;align-items:flex-start;gap:18px}.hero{min-height:340px;background-size:100% 100%;background-position:center;box-shadow:inset 0 0 40px 8px rgba(0,0,0,.52)}.hero-inner{padding-block:70px 50px}.hero .hero-actions{margin-top:215px}.button{padding:13px 15px;font-size:.72rem}.button-outline{margin-left:5px}.section{padding:65px 0}.cards,.posts,.split{grid-template-columns:1fr}.footer-grid{display:block}}

/* Version 1.2: approved site navigation and footer */
.site-header{position:sticky;top:0;z-index:100}.header-inner{gap:14px}.brand{flex-shrink:0}.nav-list{gap:clamp(10px,1.6vw,24px)}.nav-list a{font-size:clamp(.67rem,.85vw,.83rem);white-space:nowrap}.nav-list>li:last-child>a{border:1px solid var(--gold);padding:11px 14px;color:var(--bright)}.nav-list>li:last-child>a:hover{background:var(--gold);color:#090806}
.search-toggle{background:transparent;color:var(--bright);border:1px solid var(--line);font-size:1.5rem;line-height:1;padding:7px 12px;cursor:pointer;order:2}.site-search{display:none;border-top:1px solid var(--line);padding:14px 0;background:#100d08}.site-search.open{display:block}.he-search{display:flex;gap:8px;max-width:700px;margin:auto}.he-search input{flex:1;min-width:0;padding:12px;background:#17120b;color:white;border:1px solid var(--gold);font-size:1rem}.he-search button{background:var(--gold);border:0;padding:12px 20px;font-weight:700;cursor:pointer}
section[id]{scroll-margin-top:110px}
.footer-brand{text-align:center;border-bottom:1px solid var(--line);padding-bottom:30px}.footer-brand img{height:135px;width:90px;object-fit:contain}.footer-brand h2{font-size:1.9rem;margin:6px 0}.footer-brand p{margin:0 auto;color:var(--gold);letter-spacing:.09em}.footer-columns{display:grid;grid-template-columns:1fr 1fr 1.2fr;gap:50px;padding:42px 0}.footer-columns h3{color:var(--bright);font-size:1.1rem;text-transform:uppercase;letter-spacing:.08em}.footer-columns ul{list-style:none;padding:0;margin:0}.footer-columns li{margin:8px 0}.footer-columns a{text-decoration:none;color:#e7dbc3}.footer-columns a:hover{color:var(--bright);text-decoration:underline}.footer-columns p{color:var(--muted)}.footer-quote{border-block:1px solid var(--line);padding:30px 0;text-align:center;color:var(--bright);font-size:clamp(1.2rem,2vw,1.8rem);font-style:italic;margin:0}.footer-bottom{display:flex;justify-content:space-between;gap:20px;line-height:1.6}.social-link{display:inline-block;margin:0 12px 10px 0}.social-note{font-size:.8rem;opacity:.75}
@media(max-width:950px){.header-inner{flex-wrap:wrap}.primary-nav{order:3;flex-basis:100%;padding-bottom:12px}.nav-list{justify-content:space-between}.footer-columns{gap:24px}}
@media(max-width:700px){.header-inner{flex-wrap:nowrap}.primary-nav{order:unset;flex-basis:auto;padding:18px 24px}.nav-list{align-items:flex-start}.menu-toggle{order:3}.search-toggle{margin-left:auto}.footer-columns{grid-template-columns:1fr 1fr;gap:22px}.footer-columns>div:last-child{grid-column:1/-1}.footer-bottom{flex-direction:column;text-align:center}.footer-brand img{height:105px;width:70px}}

#our-story .split img{max-width:180px;max-height:270px;display:block;margin:auto;image-rendering:auto}

/* v1.3: readable high-resolution featured goddess artwork */
#our-story .split{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:clamp(28px,5vw,80px)}
#our-story .split img{width:100%;max-width:490px;max-height:none;height:auto;object-fit:contain;display:block;margin-inline:auto;image-rendering:auto;filter:none}
@media(max-width:700px){#our-story .split{grid-template-columns:1fr}#our-story .split img{width:min(100%,440px);max-width:440px}}

/* v1.4 — Our Story editorial layout; no changes to other pages */
.our-story-page{max-width:1000px;margin-inline:auto;padding-top:88px}
.our-story-page article>h1{text-align:center;margin:0 auto 28px;font-size:clamp(2.6rem,5vw,4.3rem);color:var(--bright)}
.our-story-page article>h1::after{content:"";display:block;width:90px;height:1px;background:var(--gold);margin:28px auto 0}
.our-story-page .entry-content{max-width:790px;margin-inline:auto}
.our-story-page .entry-content>h2{text-align:center;font-size:clamp(2rem,3.8vw,3rem);line-height:1.3;margin:50px auto 24px;max-width:780px;color:var(--bright)}
.our-story-page .entry-content>h2:first-child{margin-top:0}
.our-story-page .entry-content>h2:first-child::after{content:"";display:block;width:68px;height:1px;background:var(--gold);margin:24px auto 0}
.our-story-page .entry-content>p{text-align:left;margin:0 0 1.45em;line-height:1.85}
.our-story-page .entry-content>p:has(>em:only-child){text-align:center;margin:26px auto 42px;color:var(--bright)}
.our-story-page .entry-content>p:has(>em:only-child) em{color:var(--bright)}
@media(max-width:700px){.our-story-page{padding-top:55px}.our-story-page .entry-content>h2{margin-top:35px}.our-story-page .entry-content>p{line-height:1.7}}

/* V1.5: Our Story layout also works in unpublished WordPress draft previews. */
body .page-content.our-story-page {width:min(100% - 40px, 1040px);max-width:1040px;margin-left:auto;margin-right:auto;padding:52px 0 90px;}
body .our-story-page .he-page-article {width:100%;margin:0 auto;}
body .our-story-page .he-page-title {text-align:center!important;margin:0 auto 20px!important;font-size:clamp(2.7rem,5vw,4.2rem);line-height:1.2;}
body .our-story-page .he-page-title:after {content:"";display:block;width:85px;height:2px;background:var(--gold);margin:22px auto 0;}
body .our-story-page .entry-content {width:min(100%,800px);max-width:800px;margin:0 auto;}
body .our-story-page .entry-content h2 {text-align:center!important;font-size:clamp(1.8rem,3.2vw,2.8rem);line-height:1.3;margin:38px auto 26px;max-width:800px;}
body .our-story-page .entry-content h2:first-child {margin-top:20px;}
body .our-story-page .entry-content h2:first-child:after {content:"";display:block;width:65px;height:1px;background:var(--gold);margin:22px auto 0;}
body .our-story-page .entry-content p {text-align:left;line-height:1.8;margin:0 0 1.35em;}
body .our-story-page .entry-content p:has(> em:only-child),body .our-story-page .entry-content p:has(> i:only-child) {text-align:center!important;color:var(--bright);margin:24px auto 40px;}
/* Search stays out of the header until the visitor opens it. */
body .site-header .site-search {display:none!important;width:100%;clear:both;background:#100d08;border-top:1px solid var(--line);padding:16px 0;}
body .site-header .site-search.open {display:block!important;}
body .site-header .site-search form {display:flex;gap:10px;max-width:620px;margin:0 auto;}
body .site-header .site-search input[type=search] {min-width:0;flex:1;padding:12px;color:#f3eee4;background:#151109;border:1px solid var(--gold);font-size:1rem;}
body .site-header .site-search input[type=submit],body .site-header .site-search button {padding:12px 20px;color:#140d05;background:var(--gold);border:0;cursor:pointer;}
body .site-header .header-inner {align-items:center;}
@media(max-width:700px){body .page-content.our-story-page{padding-top:38px}body .our-story-page .entry-content h2{margin-top:28px}body .site-header .site-search form{flex-wrap:wrap}}
