/*
Theme Name: The Unseen Weight — Launch Edition
Author: The Unseen Weight
Description: Four-topic editorial theme with the approved floral horseshoe logo, mountain illustration, and automatic journal feed.
Version: 4.0.1
Requires PHP: 7.4
Text Domain: unseen-weight
*/
:root{--cream:#fff9f4;--blush:#f5d8da;--rose:#bd7e8c;--mauve:#865462;--navy:#10273a;--green:#073f43;--gold:#bd8c43;--ink:#26313a}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--cream);color:var(--ink);font-family:Georgia,'Times New Roman',serif;line-height:1.55}a{color:inherit}img{max-width:100%;height:auto}button,input{font:inherit}.container{width:min(1160px,92%);margin:auto}.site-header{background:linear-gradient(105deg,#fffaf6,#f9e5e5 75%,#fff9f4);border-bottom:1px solid #e9d5d0}.brand-row{min-height:240px;display:flex;align-items:center;justify-content:space-between;gap:28px}.brand-logo{display:block;width:min(480px,68vw);max-height:220px;object-fit:contain;object-position:left center}.brand-note{font-family:cursive;font-style:italic;font-size:clamp(21px,3vw,34px);line-height:1.22;color:var(--mauve);text-align:right;transform:rotate(-4deg)}.site-nav{background:var(--green);color:#fff}.nav-inner{display:flex;align-items:center;justify-content:center;flex-wrap:wrap}.site-nav a{display:block;text-decoration:none;padding:15px 17px;font:700 11px/1.4 Arial,sans-serif;letter-spacing:.07em;text-transform:uppercase}.site-nav a:hover,.site-nav a:focus{background:var(--mauve)}.hero{background:linear-gradient(90deg,rgba(255,245,239,.97) 0%,rgba(255,239,235,.91) 38%,rgba(255,239,235,.10) 75%),url('assets/mountain-woman.jpg') right 42%/auto 118% no-repeat,linear-gradient(125deg,#e6acb8,#ead3cf);min-height:460px;display:flex;align-items:center;border-bottom:8px solid #f6dfdf}.hero-inner{padding:60px 0}.hero-copy{max-width:590px;background:rgba(255,249,245,.78);padding:30px 35px;border-radius:6px;box-shadow:0 12px 36px #54322d18}.eyebrow{font:700 11px Arial,sans-serif;letter-spacing:.15em;text-transform:uppercase;color:var(--green)}h1,h2,h3{line-height:1.14;font-weight:400;color:var(--navy)}.hero h1{font-size:clamp(36px,5vw,67px);font-style:italic;color:#713a4b;margin:12px 0}.hero p{font-size:18px}.button{display:inline-block;padding:13px 22px;background:var(--green);border-radius:26px;color:white;text-decoration:none;font:700 12px Arial,sans-serif;letter-spacing:.06em;text-transform:uppercase;border:0;cursor:pointer}.button.rose{background:var(--mauve)}.section{padding:58px 0}.section.tint{background:#f9e8e5}.section-title{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:24px}.section-title h2{font-size:clamp(31px,4vw,49px);font-style:italic;color:var(--mauve);margin:0}.topics{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.topic{padding:28px 16px;text-decoration:none;text-align:center;border:1px solid #e8d2cf;border-radius:10px;background:#fffdfa;box-shadow:0 5px 22px #65372b0b;transition:transform .2s}.topic:hover{transform:translateY(-4px)}.topic-icon{display:grid;place-items:center;width:82px;height:82px;border-radius:50%;background:radial-gradient(circle,#f8d5da,#e9b9c2);color:var(--green);font-size:36px;margin:0 auto 15px;border:2px solid #c6a174}.topic:nth-child(even) .topic-icon{background:radial-gradient(circle,#dce8e5,#a9c8c3)}.topic strong{display:block;font:700 15px Georgia,serif;text-transform:uppercase;color:var(--navy)}.topic small{display:block;margin-top:7px;color:#725963;font-size:13px}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.card{background:white;border:1px solid #eadbd7;border-radius:7px;overflow:hidden;display:flex;flex-direction:column}.card img,.card-placeholder{width:100%;height:160px;object-fit:cover;display:block}.card-placeholder{display:grid;place-items:center;background:linear-gradient(125deg,#d5a6ae,#173d45);font-size:36px;color:white}.card-body{padding:17px;flex:1;display:flex;flex-direction:column}.card h3{font-size:21px;margin:8px 0}.card h3 a{text-decoration:none}.card p{font-size:14px;line-height:1.45;margin:0 0 20px}.card .more{margin-top:auto;color:var(--mauve);font:700 12px Arial,sans-serif;text-decoration:none}.community{display:grid;grid-template-columns:1fr 1fr;gap:0;border-top:5px solid #e5b6b7}.community>div{padding:55px max(7%,35px)}.community-left{background:radial-gradient(circle at 90% 90%,#225a5d,var(--green));color:#fff}.community-left h2{font-size:55px;font-style:italic;color:#f8d3c7;margin:8px 0}.community-right{background:#f8e5e2}.community-right h2{font-size:42px;font-style:italic;color:var(--mauve);margin:0}.community p{max-width:500px}.community ul{padding-left:20px}.footer{background:var(--navy);color:#f8e9e6;padding:36px 0;text-align:center}.footer a{color:#f8e9e6}.footer-links{display:flex;gap:20px;justify-content:center;flex-wrap:wrap;font-size:13px}.footer p{font-size:13px}.page-content{max-width:850px;margin:0 auto;padding:55px 0 80px}.page-content h1{font-size:48px}.post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.screen-reader-text{position:absolute;left:-9999px}.skip-link:focus{position:fixed;left:10px;top:10px;z-index:999;background:white;padding:10px}.wp-block-image img{height:auto}
@media(max-width:850px){.brand-row{min-height:180px}.brand-logo{width:min(350px,70vw);max-height:170px}.brand-note{font-size:20px}.hero{background:linear-gradient(90deg,#fff4f0e8,#fff4f080),url('assets/mountain-woman.jpg') right center/auto 100% no-repeat}.topics,.cards{grid-template-columns:repeat(2,1fr)}.community{grid-template-columns:1fr}.post-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:540px){.brand-row{flex-direction:column;gap:0;padding:12px 0}.brand-logo{width:280px;max-height:210px;object-position:center}.brand-note{text-align:center;font-size:19px;padding-bottom:10px}.site-nav a{font-size:10px;padding:12px 9px}.hero{min-height:390px;background:linear-gradient(90deg,#fff5f0ed,#fff5f0a6),url('assets/mountain-woman.jpg') right center/auto 100% no-repeat}.hero-inner{padding:28px 0}.hero-copy{padding:24px}.hero h1{font-size:39px}.hero p{font-size:16px}.topics,.cards,.post-grid{grid-template-columns:1fr 1fr;gap:10px}.topic{padding:18px 8px}.topic-icon{width:62px;height:62px;font-size:27px}.topic strong{font-size:12px}.topic small{font-size:11px}.card img,.card-placeholder{height:110px}.card-body{padding:11px}.card h3{font-size:16px}.card p{font-size:12px}.section{padding:36px 0}.section-title h2{font-size:32px}.community>div{padding:35px 6%}.community-left h2{font-size:42px}.page-content h1{font-size:36px}}

/* Approved panoramic mountain banner: keep header and all other sections unchanged. */
@media(min-width:701px){.hero{min-height:0;aspect-ratio:1024/343;background:url('assets/approved-mountain-banner.jpg') center center/100% 100% no-repeat;border-bottom:0;position:relative}.hero-inner{padding:0;height:100%}.hero-copy{background:transparent;box-shadow:none;padding:0;max-width:none}.hero-copy>.eyebrow,.hero-copy>h1,.hero-copy>p{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.hero-copy>.button{position:absolute;left:11%;top:76%;width:33%;height:12%;background:transparent;color:transparent;border:0;font-size:0;box-shadow:none}.hero-copy>.button:focus-visible{outline:3px solid #fff;outline-offset:2px}}
@media(max-width:700px){.hero{background:linear-gradient(90deg,#fff4f0e8,#fff4f0b0),url('assets/approved-mountain-banner.jpg') center center/auto 100% no-repeat}.hero-copy{background:rgba(255,249,245,.83)}}


/* v4: full-bleed approved mountain banner. Overrides ALL earlier hero breakpoint rules. */
.hero{display:block!important;position:relative!important;width:100%!important;min-height:0!important;aspect-ratio:1024 / 338!important;background-image:url('assets/approved-mountain-banner.jpg')!important;background-size:100% 100%!important;background-position:center!important;background-repeat:no-repeat!important;border:0!important;}
.hero .hero-inner{padding:0!important;max-width:none!important;width:100%!important;height:100%!important;}
.hero .hero-copy{position:static!important;max-width:none!important;margin:0!important;padding:0!important;background:none!important;box-shadow:none!important;}
.hero .hero-copy>.eyebrow,.hero .hero-copy>h1,.hero .hero-copy>p{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;padding:0!important;margin:-1px!important;border:0!important;}
.hero .hero-copy>.button{position:absolute!important;left:11%!important;top:72%!important;width:34%!important;height:16%!important;display:block!important;background:transparent!important;color:transparent!important;border:0!important;border-radius:0!important;font-size:0!important;padding:0!important;box-shadow:none!important;}
.hero .hero-copy>.button:focus-visible{outline:3px solid #10273a!important;outline-offset:2px!important;}
@media(max-width:700px){.hero{aspect-ratio:1024 / 338!important;min-height:0!important;background-size:100% 100%!important;}.hero .hero-copy{background:transparent!important;}}

/* Version 5: approved unframed woman, panoramic mountain hero. Other sections unchanged. */
.hero{aspect-ratio:1774 / 887!important;background-image:url('assets/exact-requested-mountain-v7.jpg')!important;background-size:100% 100%!important;}
.hero .hero-copy>.button{left:10.6%!important;top:55.7%!important;width:31.4%!important;height:9.1%!important;}
@media(max-width:700px){.hero{aspect-ratio:1774 / 887!important;background-image:url('assets/exact-requested-mountain-v7.jpg')!important;background-size:100% 100%!important;}}

/* V6 exact uploaded banner, 1536x768. Preserve full image, no circle, no cropping. */
.hero{aspect-ratio:2 / 1!important;background-image:url("assets/exact-requested-mountain-v7.jpg")!important;background-size:100% 100%!important;background-position:center!important;}
.hero .hero-copy>.button{left:10.9%!important;top:58.2%!important;width:32%!important;height:8.1%!important;}
@media(max-width:700px){.hero{aspect-ratio:2 / 1!important;background-size:100% 100%!important;}}

/* Version 7: exact user-supplied image; unique filename prevents stale cached banner. */
.hero{background-image:url("assets/exact-requested-mountain-v7.jpg")!important;aspect-ratio:2/1!important;background-size:100% 100%!important;}
@media(max-width:700px){.hero{background-image:url("assets/exact-requested-mountain-v7.jpg")!important;}}

/* V8: show the exact supplied artwork as an image, not a cropped/lightened background. */
.hero.hero-exact{display:block!important;position:relative!important;width:100%!important;min-height:0!important;height:auto!important;aspect-ratio:auto!important;max-height:none!important;background:none!important;background-image:none!important;padding:0!important;margin:0!important;border:0!important;overflow:visible!important;}
.hero.hero-exact .hero-exact-image{display:block!important;width:100%!important;max-width:none!important;height:auto!important;min-height:0!important;max-height:none!important;object-fit:contain!important;filter:none!important;opacity:1!important;mix-blend-mode:normal!important;}
.hero.hero-exact::before,.hero.hero-exact::after{display:none!important;content:none!important;}
.hero-exact-link{position:absolute;left:10.9%;top:58.2%;width:32%;height:8.1%;display:block;z-index:2;background:transparent;text-decoration:none;}
.hero-exact-link:focus-visible{outline:3px solid #073f43;outline-offset:2px;}
@media(max-width:700px){.hero.hero-exact{aspect-ratio:auto!important;min-height:0!important;background:none!important;}.hero.hero-exact .hero-exact-image{width:100%!important;height:auto!important;}}

/* v9 approved four watercolor category icons, single horizontal row */
.topics{grid-template-columns:repeat(4,minmax(0,1fr));gap:0}
.topic{position:relative;background:transparent;border:0;border-radius:0;box-shadow:none;padding:18px 14px 24px}
.topic:not(:last-child)::after{content:"";position:absolute;right:0;top:30px;height:72%;width:1px;background:#b99357}
.topic-icon{width:100px;height:100px;border:none;background:radial-gradient(ellipse at 40% 40%,#fbd9db 0%,#efb5bf 52%,#f9dfdf 72%,transparent 74%);box-shadow:none}
.topic-icon img{width:54px;height:56px;object-fit:contain}
.topic-icon-books{background:radial-gradient(ellipse at 40% 40%,#d7e9e6 0%,#a7cdd0 54%,#e5eeeb 72%,transparent 74%)}
.topic-icon-utensils,.topic-icon-semicolon{background:radial-gradient(ellipse at 40% 40%,#fbd4dc 0%,#e8a6b5 54%,#f6d9dc 72%,transparent 74%)}
.topic strong{font-size:14px}
@media(max-width:650px){.topics{grid-template-columns:repeat(2,minmax(0,1fr))}.topic:nth-child(2)::after{display:none}.topic-icon{width:78px;height:78px}.topic-icon img{width:45px;height:45px}}
/* Preserve approved image colors and aspect ratio, without overlays or cropping */
.hero.hero-exact{background:none!important;min-height:0!important;height:auto!important;aspect-ratio:auto!important;padding:0!important;overflow:visible!important}
.hero-exact-image{display:block!important;width:100%!important;height:auto!important;max-width:none!important;object-fit:contain!important;filter:none!important;opacity:1!important}

/* v10 category layout correction: isolate four-icon strip from inherited card and hero styles */
.hero.hero-exact{display:block!important;position:relative!important;clear:both!important;float:none!important;line-height:0!important;overflow:hidden!important;}
.hero.hero-exact .hero-exact-image{display:block!important;width:100%!important;height:auto!important;position:static!important;transform:none!important;vertical-align:bottom!important;}
.hero.hero-exact+.section{display:block!important;position:relative!important;z-index:3!important;clear:both!important;margin:0!important;padding:24px 0 28px!important;background:#fff9f4!important;overflow:visible!important;}
.hero.hero-exact+.section .container{display:block!important;overflow:visible!important;}
.hero.hero-exact+.section .topics{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;align-items:stretch!important;position:relative!important;margin:0!important;padding:0!important;}
.hero.hero-exact+.section .topics>.topic{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;position:relative!important;float:none!important;transform:none!important;min-width:0!important;height:auto!important;min-height:175px!important;padding:14px 12px 18px!important;margin:0!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;text-align:center!important;overflow:visible!important;text-decoration:none!important;}
.hero.hero-exact+.section .topics>.topic:not(:last-child)::after{content:""!important;display:block!important;position:absolute!important;right:0!important;top:18px!important;bottom:18px!important;height:auto!important;width:1px!important;background:#b99357!important;}
.hero.hero-exact+.section .topic-icon{display:grid!important;place-items:center!important;flex:none!important;position:static!important;margin:0 auto 9px!important;width:96px!important;height:96px!important;border:0!important;border-radius:50%!important;}
.hero.hero-exact+.section .topic-icon img{display:block!important;position:static!important;width:52px!important;height:55px!important;max-width:none!important;object-fit:contain!important;}
.hero.hero-exact+.section .topic strong{display:block!important;font-size:14px!important;line-height:1.25!important;color:#10273a!important;margin:0 0 5px!important;}
.hero.hero-exact+.section .topic small{display:block!important;font-size:12px!important;line-height:1.3!important;margin:0!important;color:#725963!important;}
@media(max-width:650px){.hero.hero-exact+.section .topics{grid-template-columns:repeat(2,minmax(0,1fr))!important}.hero.hero-exact+.section .topics>.topic:nth-child(2)::after{display:none!important}.hero.hero-exact+.section .topic-icon{width:76px!important;height:76px!important}}

/* v11 mobile navigation only; desktop remains unchanged. */
.mobile-menu-toggle{display:none}
@media(max-width:700px){
 .site-nav{position:relative}
 .mobile-menu-toggle{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;padding:15px 18px;background:var(--green);border:0;color:#fff;font:700 13px/1.4 Arial,sans-serif;letter-spacing:.09em;text-transform:uppercase;cursor:pointer}
 .mobile-menu-toggle span:first-child{font-size:22px;line-height:1}
 .mobile-menu-toggle:focus-visible{outline:3px solid var(--gold);outline-offset:-3px}
 .site-nav .nav-inner{display:none;flex-direction:column;align-items:stretch;width:100%;padding:4px 0 12px}
 .site-nav.mobile-menu-open .nav-inner{display:flex}
 .site-nav .nav-inner a{font-size:12px;padding:14px 18px;text-align:center;width:100%}
 .site-nav .nav-inner .menu-item{width:100%;list-style:none}
}
