/* HerWay theme, Nov 2026: milk chocolate + warm latte */
:root{--bg-color:#f0e6d9;--bg-alt:#e7d9c7;--text-main:#3a2e27;--accent-color:#c3a684;--button-bg:#e0cdb6;--button-hover:#d3bc9f;--choc:#6e5747;--cream:#f4e9da}
body{background-color:var(--bg-color)!important;color:var(--text-main)}
body>header{background:var(--choc)!important;margin:0!important;padding:28px 20px 12px!important;border:none!important}
body>header .logo-img{max-width:180px;box-shadow:0 4px 18px rgba(0,0,0,.18)}
nav.hw-nav{background:var(--choc)!important;position:sticky;top:0;z-index:100;margin:0!important;padding:8px 14px 18px!important;
 display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:6px 30px;
 font-size:.86em;letter-spacing:1.5px;text-transform:uppercase;text-align:center}
nav.hw-nav::after{content:'';position:absolute;left:0;right:0;top:100%;height:30px;pointer-events:none;
 background:linear-gradient(to bottom,rgba(110,87,71,1),rgba(110,87,71,0))}
body:not(.hw-home) nav.hw-nav{margin-bottom:44px!important}
nav.hw-nav a,nav.hw-nav summary{color:var(--cream)!important;font-weight:bold;text-decoration:none;margin:0!important;cursor:pointer;transition:color .3s}
nav.hw-nav a:hover,nav.hw-nav summary:hover{color:#e2c9a4!important}
nav.hw-nav details{position:relative}
nav.hw-nav summary{list-style:none}
nav.hw-nav summary::-webkit-details-marker{display:none}
nav.hw-nav summary::after{content:' \25BE';font-size:.85em}
nav.hw-nav details>div{position:absolute;top:calc(100% + 14px);left:50%;transform:translateX(-50%);background:var(--choc);
 padding:14px 22px;border-radius:4px;box-shadow:0 10px 26px rgba(0,0,0,.22);display:flex;flex-direction:column;gap:10px;min-width:220px;z-index:300}
footer{position:relative;background:var(--choc)!important;color:#e9dccb!important;border-top:none!important;margin-top:60px}
footer::before{content:'';position:absolute;left:0;right:0;bottom:100%;height:40px;pointer-events:none;
 background:linear-gradient(to bottom,rgba(110,87,71,0),rgba(110,87,71,1))}
footer a{color:#e8cfa9!important}
/* homepage: evening room hero, menu and logo sit on the picture (Nov 20, Victoria's cover) */
body.hw-home{padding-top:0!important}
.hw-home>header{position:absolute!important;top:58px;left:0;right:0;z-index:60;background:transparent!important;padding:0!important}
.hw-home>header .logo-img{max-width:150px;box-shadow:0 6px 24px rgba(0,0,0,.35);opacity:.9;filter:sepia(.3) brightness(.92)}
/* tighter homepage rhythm (Victoria, Nov 20) */
.hw-home .container{padding:40px 20px!important}
.hw-home .container>h2:first-child{margin-top:0!important}
.hw-home .about-content .btn{margin-bottom:0!important}
.hw-home .catalog-section h2{margin-bottom:28px!important}
.hw-home .about-content h2{margin-bottom:20px!important}
.hw-home nav.hw-nav{position:fixed!important;top:0;left:0;right:0;background:transparent!important;transition:background .4s;padding-top:14px!important}
.hw-home nav.hw-nav::after{opacity:0;transition:opacity .4s}
.hw-home nav.hw-nav.solid{background:var(--choc)!important}
.hw-home nav.hw-nav.solid::after{opacity:1}
.hw-home nav.hw-nav a,.hw-home nav.hw-nav summary{text-shadow:0 1px 6px rgba(0,0,0,.45)}
.hw-home .cover-banner{height:92vh!important;background-image:url('/hero-evening.jpg')!important;background-position:center 60%!important;margin:0!important}
.hw-home .cover-banner::after{background:linear-gradient(to bottom,rgba(30,22,17,.45) 0%,rgba(30,22,17,0) 26%,rgba(58,45,37,0) 78%,rgba(58,45,37,1) 100%)!important}
/* doors (picture doors, Victoria's choice Nov 20) */
.hw-doors{position:relative;max-width:none!important;margin:0!important;padding:34px 20px 80px!important;text-align:center;
 background:radial-gradient(ellipse at 50% 40%,#6a5240 0%,#47372d 45%,#3a2d25 100%)}
.hw-doors::after{content:'';position:absolute;left:0;right:0;bottom:-120px;height:120px;pointer-events:none;background:linear-gradient(to bottom,#3a2d25 0%,rgba(58,45,37,.55) 35%,rgba(240,230,217,0) 100%)}
.hw-doors h1.tagline{color:#f3e6d3!important;margin:0 auto 6px!important;font-size:1.5em;text-align:center!important;max-width:760px}
.hw-doors .start{margin:0 0 34px} .hw-doors .start a{color:#e2c9a4!important;font-size:.95em}
.hw-doors .sub{font-family:'Playfair Display',serif;font-style:italic;font-size:1.25em;color:#f1e2cc;margin:0 0 26px;text-shadow:0 0 18px rgba(255,190,120,.35)}
.hw-door-grid{max-width:1100px;margin:0 auto}
.hw-door-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.hw-door{position:relative;display:block;height:0;padding-top:192.3%;border-radius:6px;overflow:hidden;background-size:cover;background-position:center;text-decoration:none;box-shadow:0 6px 18px rgba(60,40,30,.18);transition:transform .25s,box-shadow .25s;box-shadow:0 0 0 1px rgba(255,220,180,.08),0 14px 30px rgba(0,0,0,.45)}
.hw-door:hover{transform:translateY(-4px);box-shadow:0 12px 26px rgba(60,40,30,.25)}
/* the words are part of Victoria's door pictures; the text stays for screen readers and search */
.hw-door .t{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
#books,#videos{scroll-margin-top:110px}
.hw-door img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
/* stories */
.hw-read{display:block;text-align:center;font-size:.78em;letter-spacing:2px;text-transform:uppercase;color:#8a7461;margin-top:8px}
@media (min-width:761px){main.journal-post .article-content p{font-size:1.22em!important}}
@media (max-width:760px){
 .hw-home .container{padding:34px 18px!important}
 body>header{padding:18px 14px 6px!important}
 body>header .logo-img{max-width:104px}
 nav.hw-nav{font-size:.76em;gap:6px 16px;padding:6px 10px 14px!important}
 .hw-home>header{top:72px} .hw-home>header .logo-img{max-width:96px}
 .hw-home .cover-banner{height:82vh!important;background-image:url('/hero-evening-mobile.jpg')!important;background-position:center 75%!important}
 .hw-doors h1.tagline{font-size:1.2em}
 .hw-door-grid{grid-template-columns:1fr 1fr;gap:12px}
 .hw-doors .sub{font-size:1.1em}
}

/* transparent logo (Victoria, Nov 22) */
.logo-img{box-shadow:none!important;opacity:1!important;filter:drop-shadow(0 2px 10px rgba(0,0,0,.35))!important;border-radius:0!important;background:none!important}
/* square doors with live words (Victoria's blank pictures, Nov 22) */
.hw-door{padding-top:100%!important}
.hw-door::after{content:'';position:absolute;left:0;right:0;bottom:0;height:60%;background:linear-gradient(to bottom,rgba(30,22,17,0),rgba(30,22,17,.85));pointer-events:none}
.hw-door .t{position:absolute;z-index:2;left:0;right:0;bottom:0;width:auto;height:auto;clip:auto;overflow:visible;white-space:normal;padding:0 16px 15px;text-align:left;font-family:'Playfair Display',serif;font-size:1.1em;line-height:1.25;color:#f6ecdf}
.hw-door .t em{display:block;margin-top:7px;font-style:normal;font-family:'Lato',sans-serif;font-size:.62em;letter-spacing:2px;text-transform:uppercase;color:#e9d9c3}
@media (max-width:760px){.hw-door .t{font-size:.9em;padding:0 10px 10px}.hw-door .t em{font-size:.66em;margin-top:5px}}

/* softer picture-to-brown transitions (Nov 22) */
.hw-home .cover-banner::after{background:linear-gradient(to bottom,rgba(30,22,17,.45) 0%,rgba(30,22,17,0) 26%,rgba(58,45,37,0) 58%,rgba(58,45,37,.35) 72%,rgba(58,45,37,.75) 86%,rgba(58,45,37,1) 100%)!important}
body:not(.hw-home) .cover-banner::after{background:linear-gradient(to bottom,rgba(110,87,71,1) 0%,rgba(110,87,71,.72) 9%,rgba(110,87,71,.35) 20%,rgba(110,87,71,.1) 31%,rgba(110,87,71,0) 40%,rgba(240,230,217,0) 78%,rgba(240,230,217,.5) 90%,rgba(240,230,217,1) 100%)!important}
/* book shelves: cards centred, a short last row sits in the middle (Nov 22) */
.hw-bgrid>div{flex:0 1 210px;max-width:260px}
@media (max-width:600px){.hw-bgrid>div{flex:0 1 100%;max-width:300px}}
/* door words in the same italic as the lines above the doors (Nov 22) */
.hw-door .t{font-style:italic!important;font-weight:400!important}
.hw-door .t em{font-style:normal!important}
/* Read & Listen: a still picture until tapped (Nov 22) */
.hw-yt{position:absolute;inset:0;width:100%;height:100%;border:0;padding:0;margin:0;cursor:pointer;background:#2b221c center/cover no-repeat}
.hw-yt::before{content:'';position:absolute;inset:0;background:linear-gradient(to bottom,rgba(0,0,0,.05),rgba(0,0,0,.35))}
.hw-yt span{position:absolute;left:50%;top:50%;width:68px;height:68px;margin:-34px 0 0 -34px;border-radius:50%;background:rgba(244,233,218,.92);box-shadow:0 6px 20px rgba(0,0,0,.35)}
.hw-yt span::after{content:'';position:absolute;left:27px;top:21px;border-style:solid;border-width:13px 0 13px 21px;border-color:transparent transparent transparent #6e5747}
.hw-yt:hover span{background:#fff}
/* night reading mode (Nov 22) */
.hw-night-btn{position:fixed;right:16px;bottom:16px;z-index:400;width:44px;height:44px;border-radius:50%;border:1px solid rgba(110,87,71,.35);background:#f4e9da;color:#6e5747;font-size:20px;line-height:42px;text-align:center;cursor:pointer;box-shadow:0 4px 14px rgba(0,0,0,.15);padding:0}
html.hw-night body{background:#231c17!important;color:#e9dccb!important}
html.hw-night main, html.hw-night section, html.hw-night .container, html.hw-night article, html.hw-night .article-content{background:transparent!important}
html.hw-night h1,html.hw-night h2,html.hw-night h3,html.hw-night h4,html.hw-night p,html.hw-night li,html.hw-night span,html.hw-night em,html.hw-night .article-meta,html.hw-night .article-category{color:#e9dccb!important}
html.hw-night a{color:#e2c9a4!important}
html.hw-night .product-card,html.hw-night .journal-item,html.hw-night .gift-card,html.hw-night .reply-box,html.hw-night .subscribe-box,html.hw-night .related-box,html.hw-night #books [style*="background:#fff"]{background:#2f2620!important;box-shadow:0 2px 14px rgba(0,0,0,.35)!important}
html.hw-night input,html.hw-night textarea{background:#2f2620!important;color:#e9dccb!important;border-color:#5a4739!important}
html.hw-night .btn,html.hw-night button[type=submit]{background:#6e5747!important;color:#f4e9da!important}
html.hw-night body:not(.hw-home) .cover-banner::after{background:linear-gradient(to bottom,rgba(110,87,71,1) 0%,rgba(110,87,71,0) 40%,rgba(35,28,23,0) 66%,rgba(35,28,23,1) 100%)!important}
html.hw-night .hw-home .hw-doors::after{background:linear-gradient(to bottom,#3a2d25 0%,rgba(35,28,23,1) 100%)!important}
html.hw-night .hw-night-btn{background:#3a2d25;color:#f4e9da;border-color:rgba(244,233,218,.3)}
html.hw-night img{filter:brightness(.88)}
