/*
Theme Name: Turquoise Moon Homes Editorial
Theme URI: https://example.com/
Author: Turquoise Moon Homes
Description: Bespoke, Raleway-led interiors and home editorial theme.
Version: 5.0
Requires PHP: 7.4
Text Domain: turquoise-moon-homes
*/
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');
:root{--a:#3FD4E7;--ink:#171d20;--muted:#737a7a;--paper:#fffefa;--light:#f5f5ef;--line:#dedfda;--max:1370px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:Inter,Arial,sans-serif;-webkit-font-smoothing:antialiased}a{text-decoration:none;color:inherit}img{display:block;max-width:100%}button,input{font:inherit}button{cursor:pointer}.wrap{max-width:var(--max);padding:0 50px;margin:auto}.skip-link{position:absolute;top:-80px;left:20px;background:#fff;padding:12px;z-index:1000}.skip-link:focus{top:10px}.topline{height:5px;background:var(--a)}.utility{height:37px;border-bottom:1px solid var(--line);font-size:10px;font-weight:700;letter-spacing:.17em;text-transform:uppercase;color:#727574}.utility .wrap{height:100%;display:flex;align-items:center;justify-content:space-between}.utility-right{display:flex;gap:28px}.header{background:var(--paper);position:relative;z-index:20}.headmain{min-height:125px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:24px}.head-kicker{display:flex;align-items:center;gap:11px;color:#697071;text-transform:uppercase;font-size:10px;font-weight:700;letter-spacing:.12em}.head-kicker:before{content:'';width:23px;height:1px;background:var(--a)}.brand{display:flex;flex-direction:column;text-align:center;align-items:center}.brand-name{font-size:clamp(25px,3vw,43px);font-weight:800;line-height:1.05;letter-spacing:-.064em}.brand-name span{color:#11a6b9}.brand-sub{font-size:9px;letter-spacing:.5em;text-transform:uppercase;font-weight:700;margin-top:13px;color:#777}.head-actions{justify-self:end;display:flex;align-items:center;gap:12px}.icon-btn{height:39px;width:39px;display:grid;place-items:center;border:1px solid var(--line);background:transparent;border-radius:50%;color:var(--ink)}.icon-btn:hover{background:var(--a);border-color:var(--a)}.nav{border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.nav-in{display:flex;justify-content:center;align-items:center;min-height:56px;gap:clamp(22px,3.3vw,57px)}.nav a{font-size:11px;letter-spacing:.17em;font-weight:800;text-transform:uppercase;transition:color .2s}.nav a:hover,.nav .current-menu-item>a{color:#009eb3}.menu-toggle{display:none}.search-pop{display:none;position:absolute;right:50px;top:97px;padding:15px;background:#fff;box-shadow:0 15px 55px #0002;z-index:50;border:1px solid var(--line)}.search-pop.open{display:block}.search-pop form{display:flex;gap:8px}.search-pop input{border:1px solid var(--line);padding:12px;width:270px;outline-color:var(--a)}.search-pop button{border:0;background:var(--a);padding:0 17px;font-weight:800}.ticker{display:flex;align-items:center;gap:19px;padding-top:24px;padding-bottom:23px}.ticker-mark{display:flex;gap:8px;align-items:center;font-size:10px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;white-space:nowrap}.ticker-mark:before{content:'';width:8px;height:8px;background:var(--a);border-radius:50%}.ticker-text{font-size:12px;font-weight:500;color:#5d6262;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ticker-line{height:1px;background:var(--line);flex:1}.hero{display:grid;grid-template-columns:1.13fr .87fr;min-height:630px}.hero-photo{position:relative;overflow:hidden;background:#d1d7d4}.hero-photo img{height:100%;width:100%;object-fit:cover;transition:transform .8s}.hero-photo:hover img{transform:scale(1.035)}.image-label{position:absolute;bottom:24px;left:28px;color:#fff;text-shadow:0 1px 5px #0005;font-size:10px;letter-spacing:.2em;text-transform:uppercase;font-weight:800}.hero-copy{background:#eaf8f7;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:70px clamp(40px,7vw,116px)}.eyebrow{display:flex;align-items:center;gap:15px;font-weight:800;text-transform:uppercase;letter-spacing:.24em;font-size:10px;color:#318a91}.eyebrow:before{content:'';width:28px;height:2px;background:var(--a)}.hero-copy h1{font-size:clamp(43px,5.1vw,77px);font-weight:600;letter-spacing:-.075em;line-height:1.09;margin:26px 0}.hero-copy h1 em{font-style:normal;color:#159aad}.hero-copy p{max-width:440px;font-size:14px;line-height:2;color:#576869;font-weight:500;margin:0 0 38px}.btn{display:inline-flex;align-items:center;justify-content:space-between;gap:35px;border:1px solid var(--ink);padding:18px 21px;background:var(--ink);color:#fff;letter-spacing:.14em;text-transform:uppercase;font-size:10px;font-weight:800;transition:all .2s}.btn:hover{background:var(--a);border-color:var(--a);color:var(--ink)}.hero-index{margin-top:60px;display:flex;align-items:center;gap:15px;font-size:11px;font-weight:700;letter-spacing:.16em}.hero-index span{width:70px;height:1px;background:#bbc8c7}.introstrip{border-bottom:1px solid var(--line)}.introstrip-in{display:grid;grid-template-columns:1fr 1fr 1fr;padding-top:30px;padding-bottom:30px;gap:25px}.introstrip-in div{display:flex;gap:14px;align-items:center;justify-content:center;font-size:11px;font-weight:700;letter-spacing:.03em;border-right:1px solid var(--line)}.introstrip-in div:last-child{border-right:0}.introstrip strong{font-size:20px;color:#0d9db0;font-weight:500}.section{padding-top:100px;padding-bottom:95px}.section-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:36px;gap:24px}.section-head h2{font-weight:600;font-size:clamp(34px,4vw,55px);line-height:1.1;letter-spacing:-.065em;margin:12px 0 0}.section-head .see{padding-bottom:7px;border-bottom:1px solid #222;text-transform:uppercase;letter-spacing:.16em;font-size:10px;font-weight:800;white-space:nowrap}.section-head .see:hover{color:#0e9dae;border-color:#0e9dae}.stories-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}.story-cover{width:100%;aspect-ratio:1.28;background:#e4e8e5;overflow:hidden}.story-cover img{width:100%;height:100%;object-fit:cover;transition:transform .55s}.story:hover .story-cover img{transform:scale(1.05)}.story-meta{display:flex;align-items:center;gap:11px;margin:23px 0 12px;font-size:9px;text-transform:uppercase;letter-spacing:.2em;font-weight:800;color:#159bb0}.story-meta .sep{width:17px;height:1px;background:#c4c7c6}.story-meta .date{color:#888}.story h3{font-size:clamp(20px,2vw,26px);font-weight:650;line-height:1.42;letter-spacing:-.048em;margin:0 0 12px}.story p{font-size:12px;line-height:1.9;font-weight:500;color:#697474;margin:0}.collection{background:#171f21;color:#fff;overflow:hidden}.collection-in{display:grid;grid-template-columns:1fr 1fr;min-height:570px}.collection-copy{padding:85px 80px 85px 0;align-self:center}.collection .eyebrow{color:var(--a)}.collection-copy h2{font-weight:500;letter-spacing:-.075em;line-height:1.1;font-size:clamp(44px,5vw,72px);margin:24px 0 24px}.collection-copy p{color:#bac3c1;line-height:2;font-size:13px;max-width:440px;margin:0 0 35px}.collection .btn{background:var(--a);border-color:var(--a);color:#152124}.collection .btn:hover{background:white;border-color:white}.collection-photo{min-height:570px;position:relative}.collection-photo img{height:100%;width:100%;object-fit:cover;position:absolute;inset:0}.collection-number{position:absolute;left:27px;bottom:27px;font-size:10px;letter-spacing:.2em;font-weight:800;color:#fff}.topics{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}.topic{position:relative;overflow:hidden;aspect-ratio:.88;background:#e4ebe9}.topic img{height:100%;width:100%;object-fit:cover;transition:transform .6s}.topic:hover img{transform:scale(1.07)}.topic:after{content:'';position:absolute;inset:40% 0 0;background:linear-gradient(transparent,#061416a1)}.topic h3{position:absolute;z-index:1;color:#fff;left:24px;bottom:27px;font-size:23px;letter-spacing:-.05em;font-weight:600;margin:0}.topic h3 small{display:block;font-size:9px;letter-spacing:.18em;font-weight:800;text-transform:uppercase;margin-bottom:9px}.statement{padding:77px 0;background:#d8f7f7;text-align:center}.statement .small{font-weight:800;letter-spacing:.23em;text-transform:uppercase;color:#167a83;font-size:10px}.statement h2{font-size:clamp(26px,3.8vw,49px);font-weight:550;letter-spacing:-.065em;line-height:1.3;max-width:890px;margin:22px auto 0}.lower-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(280px,.75fr);gap:65px}.lower-layout .stories-grid{grid-template-columns:repeat(2,1fr)}.aside{border-left:1px solid var(--line);padding-left:36px}.aside-title{font-size:11px;letter-spacing:.19em;text-transform:uppercase;font-weight:800;padding-bottom:21px;border-bottom:2px solid var(--ink)}.about-box{padding:27px 0}.about-box p{font-size:13px;line-height:2;color:#667170}.aside-box{padding:27px;background:#f1f8f6;margin-top:24px}.aside-box h3{font-size:26px;letter-spacing:-.06em;font-weight:650;margin:0 0 12px}.aside-box p{font-size:12px;line-height:1.9;color:#64706e}.aside-box a{font-size:10px;letter-spacing:.1em;font-weight:800;text-transform:uppercase;border-bottom:1px solid}.footer{background:#171e20;color:#fff}.footer-main{padding-top:76px;padding-bottom:65px;display:grid;grid-template-columns:2fr 1fr 1fr;gap:60px}.footer-brand{font-size:29px;letter-spacing:-.07em;font-weight:800}.footer-brand span{color:var(--a)}.footer p{color:#b7c0c0;line-height:1.85;font-size:12px;max-width:350px;margin-top:18px}.footer h4{font-size:10px;text-transform:uppercase;letter-spacing:.22em;margin:0 0 25px}.footer-links{display:flex;flex-direction:column;gap:16px}.footer-links a{font-size:12px;color:#c2c7c7}.footer-links a:hover{color:var(--a)}.footer-bottom{border-top:1px solid #ffffff22;padding:23px 0;font-size:10px;letter-spacing:.07em;color:#aab7b7;display:flex;justify-content:space-between}.archive-title{padding:75px 0 65px;border-bottom:1px solid var(--line)}.archive-title h1{font-size:clamp(40px,5vw,70px);font-weight:650;letter-spacing:-.07em;margin:12px 0}.archive-title p{color:var(--muted);font-size:13px;line-height:1.8}.archive-content{padding:65px 0 110px}.pagination{margin-top:55px;font-size:13px}.pagination .page-numbers{padding:11px 15px;border:1px solid var(--line);margin:3px}.pagination .current{background:var(--a);border-color:var(--a)}.article-wrap{max-width:830px;margin:0 auto;padding:65px 28px 120px}.article-title{font-size:clamp(41px,5.6vw,76px);line-height:1.11;font-weight:600;letter-spacing:-.075em;margin:15px 0 20px}.article-summary{font-size:17px;color:#687373;line-height:1.8}.article-cover{width:100%;max-height:620px;object-fit:cover;margin:37px 0 45px}.article-body{font-size:17px;line-height:1.95;letter-spacing:-.01em}.article-body p{margin:0 0 24px}.article-body h2,.article-body h3{letter-spacing:-.05em;line-height:1.25}.article-body h2{font-size:35px;margin:48px 0 18px}.article-body a{text-decoration:underline;text-decoration-color:var(--a)}.article-body img{height:auto}.article-body blockquote{border-left:4px solid var(--a);padding:10px 28px;margin:35px 0;color:#455}.entry-footer{margin-top:55px;padding-top:22px;border-top:1px solid var(--line);font-size:12px}.empty-msg{font-size:14px;color:#667;line-height:1.8}.search-form{display:flex;gap:8px}.search-form input{border:1px solid var(--line);padding:14px;flex:1;min-width:0}.search-form button{background:var(--a);border:0;padding:14px 18px;font-weight:800}.sr-only{position:absolute!important;clip:rect(1px,1px,1px,1px);width:1px;height:1px;overflow:hidden}@media(max-width:1000px){.wrap{padding-left:27px;padding-right:27px}.hero{min-height:500px}.hero-copy{padding:40px}.collection-copy{padding-right:35px}.lower-layout{gap:30px}.topics{gap:12px}}@media(max-width:700px){.utility{display:none}.headmain{min-height:95px;grid-template-columns:1fr auto}.head-kicker{display:none}.brand{justify-self:start;text-align:left;align-items:flex-start}.brand-name{font-size:28px}.brand-sub{letter-spacing:.28em;font-size:8px;margin-top:8px}.menu-toggle{display:grid}.nav{display:none}.nav.open{display:block}.nav-in{display:flex;flex-direction:column;align-items:stretch;gap:0;padding:10px 27px}.nav a{padding:13px 0;border-bottom:1px solid var(--line)}.search-pop{top:82px;right:14px;left:14px}.search-pop input{width:100%}.ticker{padding-top:18px;padding-bottom:18px}.ticker-line{display:none}.hero{grid-template-columns:1fr}.hero-photo{height:360px}.hero-copy{padding:42px 27px 35px}.hero-copy h1{font-size:51px}.hero-index{margin-top:35px}.introstrip-in{grid-template-columns:1fr;gap:17px}.introstrip-in div{border:0;justify-content:flex-start}.section{padding-top:65px;padding-bottom:65px}.section-head{align-items:flex-start}.section-head h2{font-size:39px}.stories-grid{grid-template-columns:1fr;gap:36px}.story-cover{aspect-ratio:1.5}.collection-in{grid-template-columns:1fr}.collection-copy{padding:60px 0}.collection-photo{min-height:370px}.topics{grid-template-columns:repeat(2,1fr);gap:13px}.topic h3{font-size:18px;left:14px;bottom:18px}.statement{padding:58px 0}.lower-layout{grid-template-columns:1fr}.lower-layout .stories-grid{grid-template-columns:1fr}.aside{border-left:0;border-top:1px solid var(--line);padding:35px 0 0}.footer-main{grid-template-columns:1fr 1fr;gap:36px}.footer-main>div:first-child{grid-column:1/-1}.footer-bottom{flex-direction:column;gap:10px}.article-wrap{padding-top:40px}.article-body{font-size:16px}}@media(max-width:390px){.brand-name{font-size:24px}.icon-btn{width:34px;height:34px}.head-actions{gap:7px}.section-head{flex-wrap:wrap}.topics{grid-template-columns:1fr 1fr}}

/* Editorial V4.1: robust article flow, zero card overlap */
main, section, article, footer{isolation:auto}
.stories-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;grid-auto-flow:row;row-gap:44px}
.story{display:flex;flex-direction:column;min-width:0;min-height:0;position:relative;overflow:visible}
.story-cover{display:block;position:relative;width:100%;aspect-ratio:1.28/1;min-height:0;overflow:hidden;flex:none;background:#e2ecea}
.story-cover img{display:block;position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover}
.story-meta{flex-wrap:wrap;min-width:0;row-gap:7px;line-height:1.5}
.story h3{overflow-wrap:break-word;hyphens:auto;line-height:1.37;margin:0 0 14px;font-weight:650}
.story p{margin:0;line-height:1.85}
.section{position:relative;clear:both}
.collection{position:relative;clear:both}
.collection-in{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.collection-copy{min-width:0}
.collection-photo{min-width:0;overflow:hidden}
.lower-layout{grid-template-columns:minmax(0,2fr) minmax(260px,.75fr);align-items:start}
.lower-layout>div,.aside{min-width:0}
.lower-layout .stories-grid{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:48px}
.footer{position:relative;clear:both}
.footer-main{grid-template-columns:minmax(0,2fr) minmax(0,1fr) minmax(0,1fr)}
.footer-main>div{min-width:0}
@media(max-width:1000px){.stories-grid{gap:25px;row-gap:39px}.lower-layout{gap:30px}.footer-main{gap:34px}}
@media(max-width:700px){.stories-grid,.lower-layout .stories-grid{grid-template-columns:minmax(0,1fr);row-gap:36px}.story-cover{aspect-ratio:1.4/1}.collection-in,.lower-layout{grid-template-columns:minmax(0,1fr)}.footer-main{grid-template-columns:repeat(2,minmax(0,1fr))}.footer-main>div:first-child{grid-column:1/-1}}
@media(max-width:390px){.story h3{font-size:23px}.story-meta{font-size:9px}.footer-main{gap:25px}}


/* V4.2: corrected footer container + bounded reading-room sticky sidebar */
.footer-bottom{display:block;width:100%;max-width:none;margin:0;padding:0;border-top:1px solid #ffffff24}
.footer-bottom-inner{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-top:25px;padding-bottom:25px;min-height:72px}
.footer-bottom-inner span{min-width:0}
.lower-layout{align-items:stretch}
.lower-layout>.reading-main{min-width:0}
.lower-layout>.aside{position:sticky;top:24px;align-self:start;max-height:calc(100vh - 48px);overflow-y:auto;overscroll-behavior:contain}
@media (max-width:900px){.lower-layout>.aside{position:static;top:auto;max-height:none;overflow:visible}}
@media (max-width:700px){.footer-bottom-inner{flex-direction:column;align-items:flex-start;gap:9px;padding-top:22px;padding-bottom:22px}}

/* V4.3: permanent fixed photo in The Home Perspective section */
.collection-photo img{display:block;object-fit:cover;object-position:center center}

/* V4.4 — no oversized cards, safe responsive grids and visible footer links */
html{overflow-x:clip}body{overflow-x:clip;min-width:320px}
.wrap{width:100%;max-width:1370px;margin-inline:auto}
.stories-grid,.lower-layout,.reading-main,.footer-main{min-width:0}
.story{min-width:0;width:100%}
.story h3{font-size:clamp(22px,2vw,31px);line-height:1.32;letter-spacing:-.045em;overflow-wrap:anywhere;word-break:normal}
.story>p{overflow-wrap:break-word}
.story-cover{width:100%;max-width:100%}
.footer-main{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(170px,.8fr) minmax(190px,.85fr);gap:clamp(25px,4vw,62px);align-items:start}
.footer-main>div{min-width:0}
.footer-info{min-width:0}
.footer-info h4,.footer-info a{overflow-wrap:break-word}
.footer-links{display:flex;flex-direction:column;gap:17px}
.footer-links a{display:block;width:fit-content;max-width:100%;line-height:1.55}
.footer-bottom-inner{max-width:1370px;margin-inline:auto}
.tmhe-sitemap ul{list-style:none;padding:0}.tmhe-sitemap li{margin:12px 0}.tmhe-sitemap a{border-bottom:1px solid var(--a)}
@media(max-width:900px){.footer-main{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px}.footer-main>div:first-child{grid-column:1/-1}.lower-layout{grid-template-columns:minmax(0,1fr)}.lower-layout>.aside{position:static;max-height:none;overflow:visible}}
@media(max-width:600px){.wrap{padding-left:22px;padding-right:22px}.footer-main{grid-template-columns:minmax(0,1fr);gap:32px;padding-top:50px;padding-bottom:50px}.footer-main>div:first-child{grid-column:auto}.footer-bottom-inner{align-items:flex-start}.stories-grid,.lower-layout .stories-grid{grid-template-columns:minmax(0,1fr)}.story h3{font-size:25px}}

/* V4.5 editorial refinements */
.footer-main{grid-template-columns:minmax(0,1.65fr) minmax(0,.75fr) minmax(0,.9fr)}
.footer-brand{display:inline-block;line-height:1.23;overflow-wrap:normal}
.stories-grid{align-items:start}
.story{align-self:start}
.story h3{hyphens:none;overflow-wrap:break-word}
.story-cover{aspect-ratio:1.35}
.story-cover img{object-fit:cover}
.article-body .page-lead{font-size:clamp(18px,2vw,23px);line-height:1.7;color:#506264;margin-bottom:38px}
.article-body h2{font-size:clamp(24px,3vw,35px);margin:46px 0 15px}
.article-body p{overflow-wrap:break-word}
.tmhe-sitemap ul{list-style:none;margin:0 0 34px;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 28px}
.tmhe-sitemap li{border-bottom:1px solid var(--line);padding:9px 0;min-width:0;overflow-wrap:break-word}
.tmhe-contact{margin:30px 0 45px}
.tmhe-contact form{display:grid;gap:22px}
.tmhe-contact label{display:block;font-size:13px;font-weight:700;letter-spacing:.02em}
.tmhe-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.tmhe-contact input,.tmhe-contact textarea{display:block;width:100%;max-width:100%;padding:15px;margin-top:9px;border:1px solid #ccd7d5;border-radius:0;background:white;color:var(--ink);font:inherit;font-size:15px}
.tmhe-contact input:focus,.tmhe-contact textarea:focus{outline:2px solid var(--a);outline-offset:2px}
.tmhe-contact button{justify-self:start;border:0;background:var(--a);color:#102023;padding:16px 25px;font:inherit;font-size:12px;letter-spacing:.1em;font-weight:800;text-transform:uppercase;cursor:pointer}
.tmhe-honeypot{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.tmhe-form-note{font-size:12px!important;margin:0!important;color:#556b6c}
.tmhe-form-alert{padding:15px 18px;border-left:4px solid #c46a40;background:#fff5ed;font-size:14px}
.tmhe-form-alert.success{border-color:#248b7c;background:#eaf7f1}
@media(max-width:900px){.footer-main{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.footer-main,.tmhe-form-grid,.tmhe-sitemap ul{grid-template-columns:minmax(0,1fr)}.story h3{font-size:clamp(21px,6vw,27px)}}

/* V4.6 — accessible reading typography, uncropped mobile imagery and archive grid */
:root{--max:1370px}
body,button,input,textarea,select{font-family:Inter,Arial,sans-serif}
body{font-weight:400;letter-spacing:0;overflow-wrap:break-word}
.brand-name,.footer-brand{letter-spacing:-.05em}
.story h3{font-weight:650;letter-spacing:-.035em;line-height:1.35}
.story p,.article-body p{line-height:1.85}
.article-body{font-size:18px;line-height:1.85;letter-spacing:0}
.article-body h2,.article-body h3{letter-spacing:-.035em}
.story-cover{display:block;position:relative;overflow:hidden;min-width:0;aspect-ratio:1.35}
.story-cover img,.wp-post-image{max-width:100%;height:auto}
.story-cover img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.archive-content{width:100%;max-width:1370px;margin-inline:auto;padding-block:60px 95px}
.archive-content .stories-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:clamp(20px,3vw,48px);row-gap:58px;width:100%;min-width:0;align-items:start}
.archive-content .story{min-width:0;width:100%;max-width:100%;margin:0}
.archive-content .story-cover{aspect-ratio:1.55}
.archive-content .story h3{font-size:clamp(21px,2.15vw,32px);overflow-wrap:break-word}
.archive-content .story p{font-size:14px;line-height:1.8}
.archive-title h1{overflow-wrap:break-word}
.archive-content .pagination{clear:both}
@media(max-width:700px){
 .archive-content{padding-top:36px;padding-bottom:70px}
 .archive-content .stories-grid,.stories-grid,.lower-layout .stories-grid{grid-template-columns:minmax(0,1fr);width:100%;gap:36px}
 .story-cover,.archive-content .story-cover{aspect-ratio:auto;height:auto;overflow:visible}
 .story-cover img,.archive-content .story-cover img{display:block;position:static;width:100%;height:auto;max-height:none;object-fit:contain;object-position:center}
 .article-cover{display:block;width:100%;max-width:100%;height:auto;max-height:none;object-fit:contain}
 .article-body img,.article-body .wp-block-image img{width:auto;max-width:100%;height:auto}
 .story h3,.archive-content .story h3{font-size:clamp(21px,5.5vw,27px);line-height:1.4}
 .story p,.archive-content .story p{font-size:14px;line-height:1.8}
 .article-body{font-size:17px;line-height:1.85}
 .archive-title{padding:45px 0 40px}
}

/* V4.7: archives use independent, spaced editorial cards */
.archive-content .archive-stories-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:112px 48px!important;align-items:start!important;grid-auto-flow:row!important;grid-auto-rows:auto!important;}
.archive-content .archive-stories-grid>.story{display:flex!important;flex-direction:column!important;min-width:0!important;width:auto!important;max-width:100%!important;height:auto!important;float:none!important;position:static!important;clear:none!important;margin:0!important;padding:0 0 26px!important;border-bottom:1px solid var(--line);break-inside:avoid;}
.archive-content .archive-stories-grid>.story .story-cover{display:block;width:100%;height:auto;aspect-ratio:1.55;overflow:hidden;flex:none;margin:0 0 4px;}
.archive-content .archive-stories-grid>.story .story-cover img{display:block;width:100%;height:100%;object-fit:cover;}
.archive-content .archive-stories-grid>.story .story-meta{margin:23px 0 15px;flex-wrap:wrap;}
.archive-content .archive-stories-grid>.story h3{margin:0 0 15px;line-height:1.35;}
.archive-content .archive-stories-grid>.story p{margin:0;line-height:1.85;}
.tmhe-author-box{display:flex;align-items:flex-start;gap:23px;border-top:2px solid var(--ink);border-bottom:1px solid var(--line);padding:32px 0;margin-top:50px}
.tmhe-author-avatar{width:86px;height:86px;flex:0 0 86px;overflow:hidden;border-radius:50%;background:#e7f5f6}
.tmhe-author-avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}
.tmhe-author-info{flex:1;min-width:0}
.tmhe-author-eyebrow{font-size:11px;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:#078ba0;margin:0 0 8px}
.tmhe-author-name{font-size:24px;font-weight:700;line-height:1.25;margin:0 0 12px;letter-spacing:-.035em}
.tmhe-author-bio{font-size:14px;line-height:1.85;color:#566667;margin:0}
.tmhe-author-link{display:inline-block;font-size:12px;margin-top:14px;border-bottom:1px solid #159bb0}
@media(max-width:700px){.archive-content .archive-stories-grid{grid-template-columns:minmax(0,1fr)!important;gap:66px!important}.archive-content .archive-stories-grid>.story{padding-bottom:25px!important}.archive-content .archive-stories-grid>.story .story-cover{aspect-ratio:auto;overflow:visible}.archive-content .archive-stories-grid>.story .story-cover img{width:100%;height:auto;object-fit:contain}.tmhe-author-box{gap:16px}.tmhe-author-avatar{width:64px;height:64px;flex-basis:64px}.tmhe-author-name{font-size:21px}}

/* V4.8 — archive safe gutters. Explicitly set inline padding (not only block padding),
   even if a global .wrap rule is overridden by WordPress plugins. */
body.archive .archive-content,
body.category .archive-content,
body.tag .archive-content,
body.author .archive-content,
body.date .archive-content,
body.search .archive-content,
.archive-content.tmhe-archive-shell {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 1370px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 60px clamp(28px, 4.5vw, 70px) 100px !important;
}
.archive-content.tmhe-archive-shell .archive-stories-grid {
  width:100% !important;
  min-width:0 !important;
  column-gap: clamp(26px,3.5vw,52px) !important;
  row-gap: 90px !important;
}
.archive-content.tmhe-archive-shell .archive-stories-grid > .story {
  box-sizing:border-box !important;
  min-width:0 !important;
  padding-inline: 0 !important;
}
.archive-content.tmhe-archive-shell .archive-stories-grid > .story > * {
  max-width:100%;
}
@media(max-width:700px){
  body.archive .archive-content,
  body.category .archive-content,
  body.tag .archive-content,
  body.author .archive-content,
  body.date .archive-content,
  body.search .archive-content,
  .archive-content.tmhe-archive-shell {
    padding: 38px 22px 80px !important;
  }
  .archive-content.tmhe-archive-shell .archive-stories-grid {
    grid-template-columns:minmax(0,1fr) !important;
    row-gap:60px !important;
  }
}
@media(max-width:390px){
  .archive-content.tmhe-archive-shell {padding-left:18px !important;padding-right:18px !important;}
}

/* V4.9: dedicated archive inner gutter, isolated from .wrap and old CSS selectors */
body .tmhe-archive-shell{display:block!important;width:100%!important;max-width:none!important;padding:0!important;margin:0!important;overflow:visible!important;}
body .tmhe-archive-shell .tmhe-archive-inner{box-sizing:border-box!important;width:100%!important;max-width:1370px!important;margin:0 auto!important;padding:60px clamp(28px,5vw,76px) 100px!important;display:block!important;}
body .tmhe-archive-shell .tmhe-archive-inner .archive-stories-grid{box-sizing:border-box!important;width:100%!important;max-width:100%!important;margin:0!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;column-gap:clamp(28px,4vw,56px)!important;row-gap:76px!important;}
body .tmhe-archive-shell .tmhe-archive-inner .archive-stories-grid>.story{min-width:0!important;margin:0!important;width:100%!important;}
@media(max-width:700px){body .tmhe-archive-shell .tmhe-archive-inner{padding:38px 22px 76px!important}body .tmhe-archive-shell .tmhe-archive-inner .archive-stories-grid{grid-template-columns:minmax(0,1fr)!important;row-gap:56px!important}}
@media(max-width:390px){body .tmhe-archive-shell .tmhe-archive-inner{padding-left:18px!important;padding-right:18px!important}}
