/*
Theme Name: Yuudee Journal
Description: A distinctive Thai architectural field journal for home, condo and living knowledge.
Version: 5.1.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: yuudee-journal
License: GNU General Public License v2 or later
*/
@import url('https://fonts.googleapis.com/css2?family=Bai+Jamjuree:wght@400;500;600;700&family=IBM+Plex+Sans+Thai:wght@400;500;600;700&display=swap');
:root{--ink:#292622;--orange:#a95637;--paper:#f7eee3;--pink:#f0e3d3;--lilac:#f1ebdf;--line:#d4c4b3;--muted:#635b52;--olive:#626b38;--clay:#c48160;--white:#fff;--head:'Bai Jamjuree','IBM Plex Sans Thai','Noto Sans Thai',Tahoma,sans-serif;--body:'IBM Plex Sans Thai','Noto Sans Thai',Tahoma,sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font:400 16px/1.7 var(--body);overflow-wrap:break-word}a{color:inherit;text-decoration:none}a:hover{color:var(--orange)}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid var(--orange);outline-offset:4px}img{max-width:100%;height:auto;display:block}button,input{font:inherit}h1,h2,h3,h4{font-family:var(--head);line-height:1.3;margin:0 0 12px;letter-spacing:-.025em}p{margin:0 0 1em}.wrap{width:min(1440px,100% - 96px);margin:auto}.eyebrow{font:600 11px/1.5 var(--head);letter-spacing:.18em;text-transform:uppercase}.skip{position:absolute;left:-9999px}.skip:focus{left:12px;top:12px;background:white;padding:12px;z-index:100}.topline{border-bottom:1px solid var(--line);padding:10px 0}.topline .wrap,.masthead .wrap{display:flex;justify-content:space-between;align-items:center;gap:24px}.topline .eyebrow{color:var(--muted)}.masthead{border-bottom:1px solid var(--ink);padding:24px 0}.logo{font:700 42px/.9 var(--head);letter-spacing:-.08em;display:inline-flex;align-items:center;gap:13px}.logo-mark{width:34px;height:34px;display:inline-block;background:var(--orange);clip-path:polygon(0 100%,0 42%,50% 0,100% 42%,100% 100%,65% 100%,65% 58%,35% 58%,35% 100%)}.site-tag{font-size:11px;color:var(--muted);letter-spacing:.08em;margin-top:7px}.nav{display:flex;align-items:center;gap:24px;font-size:14px;font-weight:600}.nav ul{list-style:none;margin:0;padding:0;display:flex;gap:24px;align-items:center}.nav li{margin:0}.nav a:hover,.nav .current-menu-item>a{text-decoration:underline;text-underline-offset:6px}.search-open,.menu-toggle{border:1px solid var(--ink);padding:9px 14px;background:none;color:var(--ink);cursor:pointer;display:inline-flex;align-items:center;gap:8px}.menu-toggle{display:none}.search-panel{padding:18px 0;border-bottom:1px solid var(--line)}.search-panel[hidden]{display:none}.search-form{display:flex;gap:8px;max-width:700px}.search-form input{width:100%;padding:10px 14px;border:1px solid var(--line);background:white;min-width:0}.search-form button,.btn{background:var(--orange);color:white;border:0;padding:11px 19px;display:inline-flex;align-items:center;justify-content:center;gap:14px;font-weight:600;cursor:pointer}.btn:hover,.search-form button:hover{background:var(--ink);color:white}.hero{padding:44px 0 0}.hero-grid{display:grid;grid-template-columns:1fr 1.15fr;min-height:440px;border:1px solid var(--ink)}.hero-copy{padding:clamp(28px,5vw,70px);display:flex;flex-direction:column;align-items:flex-start;justify-content:center;background:var(--pink);position:relative}.hero-copy .eyebrow{color:#983921;margin-bottom:23px}.hero-copy h1{font-size:clamp(44px,5.4vw,84px);font-weight:700;line-height:1.12;letter-spacing:-.055em;margin-bottom:24px}.hero-copy h1 span{color:var(--orange);display:block}.hero-copy p{font-size:18px;max-width:420px;color:#54434e;margin-bottom:27px}.hero-art{position:relative;min-height:380px;background:#bca4ae;overflow:hidden}.hero-art>img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}.art-caption{position:absolute;bottom:0;left:0;background:var(--ink);color:white;padding:12px 19px;font-size:12px;letter-spacing:.1em}.hero-strip{display:flex;align-items:center;justify-content:space-between;gap:18px;background:var(--ink);color:var(--white);padding:15px 25px;font-size:13px}.hero-strip .eyebrow{color:#f2b3a3}.hero-strip span:last-child{color:#eddae6}.section{padding:65px 0}.section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:24px}.section-head h2{font-size:clamp(29px,3.5vw,48px);margin:5px 0 0}.section-head .eyebrow{color:var(--orange)}.textlink{display:inline-flex;align-items:center;gap:12px;border-bottom:1px solid var(--ink);font-weight:600;padding-bottom:3px;white-space:nowrap}.topics{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--ink)}.topic{min-height:156px;padding:23px;display:flex;flex-direction:column;justify-content:space-between;border-right:1px solid var(--ink);transition:background .2s}.topic:last-child{border:0}.topic:hover{background:var(--pink);color:var(--ink)}.topic:nth-child(2n){background:#ede9d9}.topic:nth-child(2n):hover{background:var(--pink)}.topic svg{width:39px;height:39px;stroke:var(--orange);fill:none;stroke-width:1.6}.topic-title{font:700 21px/1.35 var(--head);display:flex;align-items:center;justify-content:space-between;gap:10px}.topic small{font-size:12px;color:var(--muted)}.featured{background:var(--lilac);border-block:1px solid var(--ink)}.feature-grid{display:grid;grid-template-columns:1.15fr 1fr;gap:24px}.feature-lead{background:var(--paper);border:1px solid var(--ink)}.feature-lead .thumb{aspect-ratio:16/9}.feature-lead .post-body{padding:25px}.feature-lead h3{font-size:31px}.thumb{position:relative;display:block;background:var(--pink);overflow:hidden;aspect-ratio:4/3}.thumb img{width:100%;height:100%;object-fit:cover;transition:transform .3s}.thumb:hover img{transform:scale(1.03)}.post-body{padding:15px 0}.post-body h3{font-size:22px;margin:7px 0 9px}.post-body p{font-size:15px;color:var(--muted);margin:0}.meta{display:flex;gap:9px;align-items:center;color:var(--muted);font-size:12px;flex-wrap:wrap}.meta .category{color:var(--orange);font-weight:600}.feature-stack{display:grid;gap:16px}.feature-small{display:grid;grid-template-columns:40% 1fr;gap:17px;background:var(--paper);border:1px solid var(--ink);align-items:stretch}.feature-small .thumb{aspect-ratio:auto;min-height:140px}.feature-small .post-body{padding:14px 15px 14px 0;align-self:center}.feature-small h3{font-size:20px}.feature-small p{display:none}.latest-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}.latest-grid .post-card{border-bottom:1px solid var(--line);padding-bottom:12px}.latest-grid .thumb{aspect-ratio:16/10}.manifesto{background:var(--orange);color:white;position:relative;overflow:hidden;padding:36px 0}.manifesto .wrap{display:flex;align-items:center;justify-content:space-between;gap:36px}.manifesto h2{font-size:clamp(24px,3.2vw,42px);margin:0}.manifesto .eyebrow{color:#ffe1da;margin-bottom:8px}.manifesto .shape{width:110px;height:85px;flex:none;border:1px solid #ffd8ca;background:repeating-linear-gradient(135deg,transparent 0,transparent 10px,#ffd8ca 11px,transparent 12px);clip-path:polygon(0 100%,0 50%,50% 0,100% 50%,100% 100%)}.footer{background:var(--ink);color:white;padding:45px 0 22px}.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:32px}.footer .logo{color:white}.footer p,.footer li,.footer small{color:#e8dfcd}.footer h3{font-size:17px;margin-bottom:12px}.footer ul{list-style:none;padding:0;margin:0}.footer li{margin:4px 0}.footer a:hover{color:#edb393}.foot-bottom{border-top:1px solid #807e6a;margin-top:30px;padding-top:17px;display:flex;justify-content:space-between;gap:12px;font-size:12px;color:#e8dfcd}.archive-head{background:var(--pink);border-bottom:1px solid var(--ink);padding:56px 0}.archive-head h1{font-size:clamp(36px,5vw,64px)}.archive-head p{max-width:720px;color:var(--muted)}.archive-head .eyebrow{color:var(--orange)}.pagination,.navigation.pagination{margin:35px 0 0}.page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:40px;padding:7px 10px;border:1px solid var(--line);margin:3px}.page-numbers.current{background:var(--ink);color:white}.article-head{padding:46px 0 26px;max-width:1000px}.article-head h1{font-size:clamp(35px,5vw,64px);margin:14px 0}.article-head .excerpt{font-size:19px;color:var(--muted)}.article-cover{width:100%;max-height:620px;object-fit:cover}.article-layout{display:grid;grid-template-columns:minmax(0,780px) minmax(200px,1fr);gap:72px;max-width:1200px;margin:40px auto 65px}.article-body{font-size:18px;line-height:1.95;min-width:0}.article-body h2{font-size:31px;margin-top:38px}.article-body h3{font-size:24px;margin-top:28px}.article-body a{color:#934a31;text-decoration:underline}.article-body img{margin-block:20px}.article-body blockquote{border-left:4px solid var(--orange);padding:12px 20px;background:var(--pink);margin:24px 0}.article-body table{width:100%;border-collapse:collapse}.article-body td,.article-body th{padding:10px;border:1px solid var(--line)}.article-aside{border-top:2px solid var(--orange);padding-top:14px}.article-aside h2{font-size:21px}.article-aside ul{list-style:none;padding:0;margin:0}.article-aside li{padding:12px 0;border-bottom:1px solid var(--line)}.empty{border:1px solid var(--line);padding:30px;color:var(--muted)}.wp-block-image figcaption{font-size:14px;color:var(--muted)}.alignwide{max-width:100%}.screen-reader-text{position:absolute;clip:rect(1px,1px,1px,1px);height:1px;width:1px;overflow:hidden}.category-list{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 28px}.category-list a{padding:5px 12px;border:1px solid var(--line);font-size:13px}.category-list a:hover{background:var(--pink)}
@media(max-width:1050px){.wrap{width:calc(100% - 48px)}.nav ul{gap:14px}.nav{gap:12px}.hero-copy{padding:35px}.feature-small h3{font-size:18px}.article-layout{gap:35px}}
@media(max-width:780px){.wrap{width:calc(100% - 32px)}.topline{padding:7px 0}.topline .wrap{gap:8px}.topline .eyebrow{font-size:9px}.masthead{padding:17px 0}.masthead .wrap{flex-wrap:wrap;gap:12px}.logo{font-size:35px}.logo-mark{width:27px;height:27px}.menu-toggle{display:inline-flex}.nav{display:none;flex-basis:100%;align-items:stretch;flex-direction:column;padding-top:10px;border-top:1px solid var(--line)}.nav.is-open{display:flex}.nav ul{display:flex;flex-direction:column;align-items:flex-start;gap:11px}.search-open{align-self:flex-start}.hero{padding-top:22px}.hero-grid{grid-template-columns:1fr;min-height:0}.hero-copy{padding:31px 25px}.hero-copy h1{font-size:48px}.hero-copy p{font-size:16px}.hero-art{min-height:0;aspect-ratio:4/3}.hero-strip{padding:12px 13px;flex-wrap:wrap;gap:2px;font-size:11px}.section{padding:42px 0}.section-head{align-items:flex-start}.section-head h2{font-size:29px}.textlink{font-size:12px;margin-top:18px}.topics{grid-template-columns:1fr 1fr}.topic{min-height:135px;padding:16px;border-bottom:1px solid var(--ink)}.topic:nth-child(2n){border-right:0}.topic:nth-child(n+3){border-bottom:0}.topic-title{font-size:18px}.feature-grid{grid-template-columns:1fr;gap:16px}.feature-lead h3{font-size:25px}.feature-lead .post-body{padding:19px}.feature-small{grid-template-columns:37% 1fr}.feature-small .thumb{min-height:110px}.latest-grid{grid-template-columns:1fr 1fr;gap:17px}.latest-grid h3{font-size:18px}.latest-grid p{display:none}.manifesto .wrap{gap:12px}.manifesto .shape{width:63px;height:55px}.footer-grid{grid-template-columns:1fr 1fr;gap:20px}.footer-grid>div:first-child{grid-column:1/-1}.foot-bottom{flex-wrap:wrap}.article-layout{grid-template-columns:1fr;margin:30px 0 45px;gap:32px}.article-body{font-size:17px}.article-body h2{font-size:26px}.article-head{padding-top:28px}.archive-head{padding:35px 0}}
@media(max-width:380px){.hero-copy h1{font-size:40px}.latest-grid{grid-template-columns:1fr}.topic-title{font-size:16px}.section-head{gap:8px}.section-head h2{font-size:26px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}
/* V2: warm editorial architecture */
.site-header{background:linear-gradient(105deg,#f4e9db,#f8eee2);position:relative;border-bottom:1px solid var(--line)}.masthead{border:0;padding:0;position:relative;background:url('assets/arch.svg') right center/auto 100% no-repeat}.masthead .masthead-inner{min-height:145px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:clamp(22px,4vw,70px)}.brand{padding-right:clamp(20px,3vw,55px);border-right:1px solid var(--line);min-width:0}.logo{font-size:clamp(35px,3.2vw,54px);letter-spacing:-.045em;line-height:1.2;gap:15px;white-space:nowrap}.logo-mark{width:48px;height:48px;background:linear-gradient(90deg,var(--olive) 0 49%,var(--clay) 49%);clip-path:polygon(0 100%,0 40%,50% 3%,100% 40%,100% 100%,66% 100%,66% 52%,50% 35%,34% 52%,34% 100%);flex:none}.custom-logo-link{display:block}.custom-logo{max-width:220px;max-height:70px;width:auto;height:auto}.nav{justify-content:center;min-width:0;display:flex;gap:0;font-size:clamp(14px,1.25vw,20px)}.nav ul{gap:clamp(14px,2vw,31px);justify-content:center;flex-wrap:wrap}.nav li{position:relative}.nav li+li:before{content:'/';color:#b7a18d;position:absolute;left:calc(-1 * clamp(10px,1.25vw,19px));font-weight:400}.nav a{display:block;padding:9px 0;white-space:nowrap;position:relative}.nav a:hover,.nav .current-menu-item>a,.nav a[aria-current=page]{color:var(--olive);text-decoration:none}.nav .current-menu-item>a:after,.nav a[aria-current=page]:after{content:'';height:3px;background:var(--olive);position:absolute;bottom:1px;left:0;right:0}.header-tools{display:flex;align-items:center;gap:8px;background:#f7eee3e8;border-radius:5px;padding:4px}.header-tools button{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:8px;border:0;background:transparent;color:var(--ink);cursor:pointer}.header-tools button+button{border-left:1px solid var(--line)}.header-tools svg{width:28px;height:28px;stroke:currentColor;stroke-width:1.8;fill:none;stroke-linecap:round}.menu-panel,.search-panel{background:#fcf6ee;border-top:1px solid var(--line);padding:16px 0}.menu-panel[hidden],.search-panel[hidden]{display:none}.menu-panel ul{list-style:none;display:flex;flex-wrap:wrap;gap:15px 28px;padding:0;margin:0}.menu-panel a{display:block;padding:8px 0}.editorial-hero{padding:28px 0 48px;background:linear-gradient(120deg,#f5e9dc,#f8f0e7)}.editorial-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1fr);gap:16px;align-items:start}.editorial-copy{padding:clamp(16px,3vw,46px) clamp(4px,2vw,24px) 22px 0;position:relative}.editorial-copy:after{content:'';display:block;width:64px;height:8px;background:var(--olive);margin-top:32px}.editorial-label{display:flex;align-items:center;gap:12px;color:var(--olive);font-size:clamp(11px,1vw,14px);margin-bottom:22px}.editorial-label:after{content:'';width:65px;height:1px;background:#978a70}.editorial-copy h1{font-size:clamp(32px,3.25vw,58px);font-weight:700;line-height:1.35;letter-spacing:-.035em;margin:0 0 20px}.editorial-copy p{font-size:clamp(16px,1.35vw,22px);line-height:1.75;max-width:390px;color:var(--muted);margin-bottom:21px}.editorial-card{min-width:0}.editorial-card .thumb{aspect-ratio:1.47; border-radius:21px;background:#e9d9c7}.editorial-card .post-body{padding:15px 2px 0}.editorial-card h2{font-size:clamp(19px,1.8vw,27px);line-height:1.5;margin:8px 0}.editorial-card .post-body p{font-size:15px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-bottom:9px}.editorial-card .eyebrow,.section-head .eyebrow{color:var(--olive)}.editorial-link{display:inline-flex;gap:12px;color:var(--olive);font-weight:600;border-bottom:1px solid currentColor;padding-bottom:2px;font-size:14px}.latest-section{background:#fcf8f2}.topics{gap:14px;border:0}.topic,.topic:nth-child(2n){border:1px solid var(--line);border-radius:14px;background:#f9f2e9}.topic:last-child{border:1px solid var(--line)}.topic svg{stroke:var(--olive)}.latest-grid .thumb{border-radius:14px}.manifesto{background:var(--olive)}.footer{background:#34392a}.footer .logo-mark{background:linear-gradient(90deg,#b5b889 0 50%,#d5a181 50%)}.archive-head{border-bottom:1px solid var(--line)}.article-cover{border-radius:16px}.article-body{overflow-wrap:anywhere}.article-body .wp-block-table{overflow-x:auto}.footer .logo{font-size:38px}.footer .logo-mark{width:36px;height:36px}
@media(max-width:1100px){.masthead .masthead-inner{gap:20px;min-height:114px}.brand{padding-right:20px}.nav ul{gap:17px}.nav li+li:before{left:-11px}.logo-mark{width:38px;height:38px}.masthead{background-size:auto 85%}.editorial-copy h1{font-size:clamp(29px,3.3vw,42px)}}
@media(max-width:900px){.masthead .masthead-inner{grid-template-columns:1fr auto;min-height:90px}.brand{border:0;padding:0}.nav{display:none}.menu-panel ul{flex-direction:column;gap:0}.menu-panel li+li{border-top:1px solid var(--line)}.menu-panel a{padding:12px 0}.editorial-grid{grid-template-columns:1fr 1fr;gap:20px}.editorial-copy{grid-column:1/-1;padding:8px 0 3px}.editorial-copy:after{display:none}.editorial-copy p{max-width:640px}.editorial-label{margin-bottom:12px}.editorial-copy h1{font-size:39px;margin-bottom:9px}.editorial-copy p{margin-bottom:12px}.editorial-hero{padding:24px 0 32px}.topics{gap:10px}.topic:nth-child(2n),.topic:nth-child(n+3){border:1px solid var(--line)}}
@media(max-width:540px){.masthead .masthead-inner{min-height:76px;gap:8px}.masthead{background-size:auto 85%;background-position:right -24px center}.logo{font-size:34px;gap:9px}.logo-mark{width:33px;height:33px}.header-tools{gap:0;padding:0}.header-tools button{min-width:42px;min-height:44px}.header-tools svg{width:23px;height:23px}.editorial-grid{grid-template-columns:1fr;gap:24px}.editorial-copy h1{font-size:34px}.editorial-card .thumb{border-radius:15px;aspect-ratio:1.5}.editorial-card h2{font-size:22px}.editorial-card .post-body{padding:10px 1px 0}.editorial-card .post-body p{display:block}.editorial-label{font-size:12px}.latest-grid{gap:15px}.latest-grid .post-body h3{font-size:17px}.topic{min-height:130px}.custom-logo{max-width:145px;max-height:52px}}
/* V3 - The Living Journal */
:root{--surface:#fffaf3;--dark-olive:#3d452a;--reading:#fffdf9}
.editorial-hero{padding-bottom:32px}.editorial-card .thumb{aspect-ratio:1.3}.editorial-card .post-body{border-bottom:1px solid var(--line);padding-bottom:16px}.editorial-copy:after{margin-top:23px}.yd-discovery{background:var(--dark-olive);color:#fff8ee;padding:22px 0}.yd-discovery-inner{display:grid;grid-template-columns:minmax(190px,.8fr) minmax(250px,1.5fr) auto;gap:32px;align-items:center}.yd-discovery h2{font-size:clamp(21px,2vw,30px);margin:4px 0 0;color:inherit}.yd-discovery .eyebrow{color:#e2d5bc}.yd-discovery .search-form{max-width:none}.yd-discovery .search-form input{background:#fffaf3;border:0;border-radius:6px}.yd-discovery .search-form button{background:#d59a78;color:#27241f;border-radius:6px}.yd-all-link{font-weight:600;white-space:nowrap;border-bottom:1px solid #e2d5bc;padding:6px 0}.yd-all-link:hover{color:#fff}.section{padding:48px 0}.section-head{margin-bottom:22px}.section-head h2{font-size:clamp(28px,3vw,44px)}.yd-section-desc{color:var(--muted);margin:8px 0 0}.topics .topic{min-height:142px;border-radius:8px;position:relative;overflow:hidden}.topics .topic:before{content:'';position:absolute;right:-20px;top:-35px;width:98px;height:98px;border:1px solid var(--line);border-radius:50%;pointer-events:none}.topics .topic:hover{background:#e8e7d7}.yd-guide{background:#eee4d6;border-block:1px solid var(--line)}.yd-guide-grid{display:grid;grid-template-columns:1fr 1.12fr;gap:24px}.yd-guide-photo{position:relative;min-height:360px;overflow:hidden;border-radius:12px;isolation:isolate;display:flex;align-items:flex-end}.yd-guide-photo>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}.yd-guide-photo:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#25251ed9,transparent 85%);z-index:-1}.yd-guide-photo>div{padding:30px;color:white}.yd-guide-photo h3{font-size:clamp(31px,3.5vw,49px);margin:9px 0 16px}.yd-guide-photo a{border-bottom:1px solid currentColor;padding-bottom:4px}.yd-guide-photo a:hover{color:#fff}.yd-guide-steps{display:grid;gap:10px}.yd-guide-step{display:grid;grid-template-columns:56px 1fr 25px;gap:15px;align-items:center;padding:18px 22px;background:var(--surface);border:1px solid var(--line);border-radius:8px}.yd-step-number{font:600 32px/1 var(--head);color:var(--clay);align-self:start;padding-top:4px}.yd-guide-step .eyebrow{color:var(--olive)}.yd-guide-step h3{font-size:clamp(21px,2vw,27px);margin:4px 0}.yd-guide-step p{margin:0;color:var(--muted);font-size:15px}.yd-step-arrow{font-size:24px;color:var(--olive)}.latest-grid .post-card{background:var(--surface);border:1px solid var(--line);border-radius:12px;overflow:hidden;display:flex;flex-direction:column}.latest-grid .thumb{border-radius:0;aspect-ratio:16/10}.latest-grid .post-body{padding:17px 19px 20px}.latest-grid .post-body h3{font-size:clamp(19px,1.8vw,25px);line-height:1.45}.latest-grid .post-body p{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.latest-grid .post-card:hover{border-color:var(--clay)}.yd-reading-main{background:var(--reading);padding-bottom:28px}.yd-reading-main>.wrap{width:min(1280px,100% - 96px)}.yd-reading-head{padding:27px 0 18px}.yd-breadcrumb{display:flex;align-items:center;flex-wrap:wrap;gap:10px;font-size:13px;color:var(--muted);margin-bottom:23px}.yd-breadcrumb a:hover{text-decoration:underline}.yd-reading-meta{display:flex;align-items:flex-end;justify-content:space-between;gap:15px;border-top:1px solid var(--line);padding-top:17px}.yd-reading-meta .eyebrow{color:var(--olive)}.yd-reading-meta .meta{margin-top:8px;font-size:14px}.yd-reading-time{font-size:13px;color:var(--muted);white-space:nowrap}.visible-entry-title{font-size:clamp(32px,4.5vw,56px);margin:18px 0 4px}.yd-reading-cover{margin:0;position:relative}.yd-reading-cover img{width:100%;max-height:540px;object-fit:cover;border-radius:12px;aspect-ratio:2.3}.yd-reading-cover figcaption{font-size:13px;color:var(--muted);margin:7px 0}.yd-reading-grid{display:grid;grid-template-columns:minmax(0,850px);justify-content:center;gap:48px;margin:36px 0 25px;align-items:start}.yd-reading-grid.has-toc{grid-template-columns:minmax(0,245px) minmax(0,850px)}.yd-reading-grid:has(.yd-reading-rail[hidden]){grid-template-columns:minmax(0,850px)}.yd-reading-rail{position:sticky;top:25px;min-width:0}.yd-reading-rail[hidden]{display:none}.yd-toc-card{background:#f2eee3;border:1px solid #e1d7c6;border-radius:8px;padding:23px 18px 18px;border-top:4px solid var(--olive)}.yd-toc-card .eyebrow{color:var(--olive)}.yd-toc-card h2{font-size:23px;margin-top:6px}.yd-toc-card ol{list-style:none;margin:0;padding:0;max-height:60vh;overflow:auto}.yd-toc-card li{border-top:1px solid #ded5c6;padding:9px 0;font-size:14px;line-height:1.55}.yd-toc-card li a{display:block}.yd-toc-card li.yd-toc-sub{padding-left:13px;font-size:13px;color:var(--muted)}.yd-back{display:block;margin-top:18px;font-size:14px;color:var(--olive)}.yd-reading-content{min-width:0}.yd-prose{max-width:none;font-size:18px;line-height:1.95;color:#38342e}.yd-prose>p:first-child{font-size:20px;line-height:1.85;color:#49443b}.yd-prose h1{font-size:clamp(32px,4vw,48px);line-height:1.4;margin:0 0 22px;color:var(--ink)}.yd-prose h2{font-size:clamp(25px,2.5vw,34px);color:var(--ink);line-height:1.45;margin:44px 0 18px;padding-top:17px;border-top:1px solid var(--line);position:relative;scroll-margin-top:25px}.yd-prose h2:before{content:'';position:absolute;top:-2px;left:0;width:44px;height:3px;background:var(--clay)}.yd-prose h3{font-size:24px;color:var(--dark-olive);scroll-margin-top:25px}.yd-prose :is(ul,ol){padding-left:1.5em}.yd-prose li{margin:5px 0}.yd-prose li::marker{color:var(--olive)}.yd-prose img{border-radius:9px}.yd-prose figure{margin:26px 0}.yd-prose figure img{margin:0}.yd-prose figcaption{margin-top:8px;text-align:center}.yd-prose blockquote{background:#f4ecdf;border-left-color:var(--olive);border-radius:0 8px 8px 0}.yd-prose table th{background:#e9e7d8;color:var(--dark-olive)}.yd-prose .wp-block-table{overflow-x:auto}.yd-endnote{padding:25px 28px;background:#efe8dc;border-radius:8px;margin-top:35px;border-left:4px solid var(--olive)}.yd-endnote p{font:600 22px/1.6 var(--head);margin:7px 0 12px}.yd-related{border-top:1px solid var(--line);margin-top:38px}.yd-page-main{padding:38px 0 55px}.yd-page-prose{margin:0 auto;max-width:1100px}.yd-archive-hero{background:#efe3d3;padding:30px 0;border-bottom:1px solid var(--line)}.yd-archive-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:40px;align-items:center}.yd-archive-grid h1{font-size:clamp(34px,4.5vw,62px);margin:13px 0}.yd-archive-grid .eyebrow{color:var(--olive)}.yd-archive-grid p{font-size:18px;color:var(--muted)}.yd-archive-art{position:relative}.yd-archive-art img{width:100%;aspect-ratio:2/1;object-fit:cover;border-radius:12px}.yd-archive-art span{position:absolute;bottom:10px;left:10px;background:var(--dark-olive);color:white!important;padding:8px 12px;border-radius:4px}.yd-filter{padding-bottom:18px;border-bottom:1px solid var(--line);margin-bottom:27px}.yd-filter a{border-radius:30px;padding:8px 17px;background:var(--surface);font-size:14px}.yd-filter a.is-active{background:var(--dark-olive);color:#fff;border-color:var(--dark-olive)}
@media(max-width:900px){.yd-discovery-inner{grid-template-columns:1fr auto;gap:14px}.yd-discovery-inner .search-form{grid-row:2;grid-column:1/-1}.yd-discovery-inner .yd-all-link{grid-column:2;grid-row:1}.yd-guide-grid{grid-template-columns:1fr;gap:14px}.yd-guide-photo{min-height:290px}.yd-reading-main>.wrap{width:calc(100% - 40px)}.yd-reading-grid.has-toc{grid-template-columns:minmax(0,1fr);gap:25px}.yd-reading-rail{position:static}.yd-toc-card ol{max-height:240px}.yd-back{display:none}.yd-archive-grid{gap:20px}.yd-archive-grid h1{font-size:36px}}
@media(max-width:540px){.section{padding:32px 0}.yd-discovery{padding:17px 0}.yd-discovery-inner{gap:10px}.yd-discovery h2{font-size:21px}.yd-discovery .eyebrow{font-size:9px}.yd-all-link{font-size:12px}.yd-guide-photo{min-height:260px}.yd-guide-photo>div{padding:22px}.yd-guide-step{grid-template-columns:36px 1fr 16px;gap:10px;padding:15px 13px}.yd-step-number{font-size:24px}.yd-guide-step p{font-size:14px}.yd-step-arrow{font-size:18px}.latest-grid .post-body{padding:12px}.latest-grid .post-body p{display:none}.yd-reading-main>.wrap{width:calc(100% - 32px)}.yd-reading-head{padding-top:19px}.yd-breadcrumb{font-size:12px;margin-bottom:14px}.yd-reading-meta{align-items:flex-start;flex-wrap:wrap}.yd-reading-meta .meta{font-size:12px}.yd-reading-cover img{aspect-ratio:1.5;max-height:320px}.yd-reading-grid{margin-top:22px}.yd-prose{font-size:17px}.yd-prose>p:first-child{font-size:18px}.yd-prose h2{margin-top:32px}.yd-prose h3{font-size:21px}.yd-endnote{padding:20px}.yd-archive-grid{grid-template-columns:1fr;gap:18px}.yd-archive-hero{padding:24px 0}.yd-archive-art img{aspect-ratio:2.3}.yd-filter{gap:7px}.yd-filter a{font-size:12px;padding:6px 12px}}

/* V4: category navigation; existing V3 visual identity remains. */
.site-header{position:relative;z-index:20}
.nav>ul{flex-wrap:nowrap;gap:clamp(15px,2.2vw,32px)}
.nav>ul>li.menu-item-has-children{display:flex;align-items:center;gap:3px}
.nav .sub-menu{display:none;position:absolute;top:100%;left:-14px;min-width:230px;max-width:320px;flex-direction:column;align-items:stretch;gap:0;padding:8px;background:#fffaf3;border:1px solid var(--line);border-top:3px solid var(--olive);border-radius:0 0 10px 10px;box-shadow:0 14px 30px #2926221c;z-index:40}
.nav .sub-menu li+li:before{content:none}
.nav .sub-menu a{font-size:15px;white-space:normal;padding:10px 12px;border-radius:5px;line-height:1.5}
.nav .sub-menu a:hover,.nav .sub-menu .current-menu-item>a{background:#e9e8d8;color:var(--dark-olive)}
.nav .sub-menu .current-menu-item>a:after{display:none}
.nav .current-menu-ancestor>a,.nav .current-menu-parent>a{color:var(--olive)}
.nav .menu-item-has-children.yd-sub-open>.sub-menu,.nav:not(.yd-enhanced) .menu-item-has-children:hover>.sub-menu,.nav:not(.yd-enhanced) .menu-item-has-children:focus-within>.sub-menu{display:flex}
.yd-sub-toggle{display:inline-flex;align-items:center;justify-content:center;flex:none;width:27px;height:32px;border:0;background:none;color:var(--olive);padding:0;cursor:pointer;border-radius:4px}
.yd-sub-toggle svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;transition:transform .2s}
.yd-sub-toggle[aria-expanded=true] svg{transform:rotate(180deg)}
.menu-panel> .wrap>ul,.menu-panel> .wrap>div>ul{display:block}
.menu-panel .menu-item-has-children{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center}
.menu-panel .menu-item-has-children>.yd-sub-toggle{width:44px;height:44px}
.menu-panel .sub-menu{display:block;grid-column:1/-1;padding:0 0 10px 16px;border-left:2px solid var(--line);margin:0 0 8px 8px}
.menu-panel.yd-enhanced .sub-menu{display:none}
.menu-panel.yd-enhanced .yd-sub-open>.sub-menu{display:block}
.menu-panel .sub-menu li{border:0}
.menu-panel .sub-menu a{font-size:15px;color:var(--muted);padding:7px 12px}
.topics{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:1100px){.nav>ul{gap:17px}.nav>ul>li+li:before{left:-10px}}
@media(max-width:900px){.topics{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:540px){.topics{grid-template-columns:1fr}.topics .topic{min-height:105px}}

/* Category collection: no search-result heading or giant unrelated hero. */
.yd-category-head{background:#efe3d3;border-bottom:1px solid var(--line);padding:42px 0 32px}.yd-category-head .yd-breadcrumb{margin-bottom:18px}.yd-category-head .eyebrow{color:var(--olive)}.yd-category-head h1{font-size:clamp(34px,4vw,58px);margin:8px 0 12px}.yd-category-head .yd-section-desc{max-width:780px;font-size:18px}.yd-category-head .yd-filter{margin:24px 0 0;padding:0;border:0}.yd-category-results{padding-top:32px}.yd-category-results .section-head{align-items:center}.yd-category-count{color:var(--muted);font-size:14px}.yd-category-empty{background:var(--surface);border-radius:10px}.yd-category-empty h2{font-size:24px}.yd-category-empty a{color:var(--olive);font-weight:600;text-decoration:underline}@media(max-width:540px){.yd-category-head{padding:26px 0 22px}.yd-category-head .yd-section-desc{font-size:16px}.yd-category-results{padding-top:24px}}

/* V5 homepage: editorial decoration, independent from the navigation/content system. */
.yd-decor{position:relative;padding:clamp(48px,6vw,100px) 0;overflow:hidden}
.yd-decor-heading{margin-bottom:clamp(25px,3vw,45px);max-width:860px}
.yd-decor-heading .eyebrow{color:var(--olive);margin-bottom:12px}
.yd-decor-heading h2{font-size:clamp(30px,4vw,55px);line-height:1.28;margin:0 0 12px}
.yd-decor-heading p{font-size:clamp(15px,1.3vw,19px);color:var(--muted);margin:0}
.yd-decor-grid{display:grid;gap:clamp(14px,2vw,28px);align-items:start}
.yd-decor-item{min-width:0}
.yd-decor-photo{position:relative;overflow:hidden;background:#e4d4bf;border-radius:14px;isolation:isolate}
.yd-decor-photo .yd-decor-img{width:100%;height:100%;object-fit:cover;display:block}
.yd-decor-index{font:600 12px/1 var(--head);letter-spacing:.12em;color:var(--olive)}
.yd-decor-photo .yd-decor-index{position:absolute;left:13px;top:13px;background:#fffbf3ed;color:var(--ink);padding:11px 12px;border-radius:3px}
.yd-decor-item-copy{padding:17px 0 0}
.yd-decor-item-copy h3{font-size:clamp(19px,2vw,29px);margin:0 0 5px;line-height:1.4}
.yd-decor-item-copy p{color:var(--muted);font-size:14px;margin:0}
.yd-decor-inspiration{background:#fcf7ef;border-top:1px solid var(--line)}
.yd-decor-inspiration .yd-decor-heading{text-align:center;margin-left:auto;margin-right:auto}
.yd-decor-inspiration .yd-decor-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(18px,3vw,44px)}
.yd-decor-inspiration .yd-decor-photo{aspect-ratio:4/4.7}
.yd-decor-inspiration .yd-decor-item:nth-child(2){margin-top:clamp(22px,5vw,75px)}
.yd-decor-inspiration .yd-decor-item-copy{border-bottom:1px solid var(--line);padding-bottom:15px}
.yd-decor-inspiration .yd-decor-item-copy p{font:500 11px/1.6 var(--head);letter-spacing:.13em;color:var(--olive)}
.yd-decor-statement{padding:0;background:var(--dark-olive,#3d452a);color:#fff}
.yd-statement-image{position:relative;aspect-ratio:3.2;overflow:hidden;background:#a4b9ad}
.yd-statement-image .yd-decor-img{width:100%;height:100%;object-fit:cover;display:block}
.yd-statement-stamp{position:absolute;left:clamp(20px,4vw,65px);bottom:clamp(15px,3vw,38px);color:white;background:#3d452a;padding:14px 19px;letter-spacing:.14em;line-height:1.1;font-size:13px;font-weight:600}
.yd-statement-stamp b{color:#e2af94;font-size:18px}
.yd-statement-copy{text-align:center;padding:clamp(36px,5.5vw,75px) 0;background:#3d452a}
.yd-statement-copy .eyebrow{color:#e1e3c9;margin-bottom:15px}
.yd-statement-copy h2{font-size:clamp(31px,4.3vw,60px);color:#fff;margin:0 0 8px}
.yd-statement-sub{font-size:clamp(20px,2.7vw,37px);color:#f0ecde;margin:0;line-height:1.5;font-family:var(--head);font-weight:500}
.yd-decor-rule{display:block;width:56px;height:3px;background:var(--clay);margin:22px auto}
.yd-statement-note{font-size:14px;letter-spacing:.04em;color:#e1e3c9;margin:0}
.yd-decor-details{background:#eee2d1;border-block:1px solid var(--line)}
.yd-decor-details .yd-decor-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.yd-decor-details .yd-decor-photo{aspect-ratio:4/4.5;border-radius:8px}
.yd-decor-details .yd-decor-item-copy h3{font:700 clamp(16px,2vw,25px)/1.4 var(--head);letter-spacing:.08em}
.yd-material-palette{display:flex;height:clamp(17px,2vw,30px);gap:4px;margin-top:28px;border-radius:3px;overflow:hidden}
.yd-material-palette span{flex:1;background:#c4a17e}.yd-material-palette span:nth-child(2){background:#d7c6ae}.yd-material-palette span:nth-child(3){background:#e9dfd1}.yd-material-palette span:nth-child(4){background:#626b38}.yd-material-palette span:nth-child(5){background:#c48160}
.yd-decor-tips{background:#f7eee3}
.yd-decor-tips .yd-decor-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}
.yd-decor-tips .yd-decor-item{background:#fffaf3;border:1px solid var(--line);border-top:3px solid var(--olive);border-radius:8px;padding:clamp(20px,2.7vw,36px);display:flex;flex-direction:column}
.yd-tip-top{display:flex;justify-content:space-between;align-items:flex-start}
.yd-tip-icon{color:var(--olive);background:#eeebdc;width:58px;height:58px;border-radius:50%;display:grid;place-items:center}
.yd-tip-icon svg{width:32px;height:32px;fill:none;stroke:currentColor;stroke-width:1.4}
.yd-decor-tips .yd-decor-item-copy{padding-top:23px}
.yd-decor-tips .yd-decor-item-copy p{font-size:16px;line-height:1.7}
@media(max-width:900px){.yd-decor-inspiration .yd-decor-grid{gap:16px}.yd-decor-details .yd-decor-grid{gap:14px}.yd-statement-image{aspect-ratio:2.5}.yd-decor-tips .yd-decor-grid{gap:12px}}
@media(max-width:600px){.yd-decor{padding:38px 0}.yd-decor-statement{padding:0}.yd-decor-heading{margin-bottom:24px}.yd-decor-inspiration .yd-decor-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 12px}.yd-decor-inspiration .yd-decor-item:nth-child(2){margin-top:0}.yd-decor-inspiration .yd-decor-item:last-child{grid-column:1/-1}.yd-decor-inspiration .yd-decor-item:last-child .yd-decor-photo{aspect-ratio:1.65}.yd-decor-inspiration .yd-decor-item-copy{padding-top:11px}.yd-decor-photo{border-radius:9px}.yd-decor-inspiration .yd-decor-item-copy h3{font-size:19px}.yd-decor-inspiration .yd-decor-item-copy p{font-size:9px}.yd-decor-details .yd-decor-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 12px}.yd-decor-tips .yd-decor-grid{grid-template-columns:1fr;gap:10px}.yd-decor-tips .yd-decor-item{display:grid;grid-template-columns:60px minmax(0,1fr);gap:14px;align-items:center;padding:18px}.yd-tip-top{flex-direction:column;gap:7px}.yd-tip-icon{width:48px;height:48px}.yd-tip-icon svg{width:26px;height:26px}.yd-decor-tips .yd-decor-item-copy{padding:0}.yd-decor-tips .yd-decor-item-copy p{font-size:15px}.yd-statement-image{aspect-ratio:1.9}.yd-statement-stamp{font-size:10px;padding:8px 10px}.yd-material-palette{margin-top:20px}}

/* V5.1: clean editorial cards, no decorative numbering. */
.yd-guide-step{grid-template-columns:minmax(0,1fr) 25px;gap:18px}.yd-tip-top{justify-content:flex-start}.yd-decor-details .yd-decor-item-copy h3{letter-spacing:0}.yd-decor-details .yd-decor-item-copy p{font-size:16px;line-height:1.65}.yd-decor-details .yd-decor-photo{aspect-ratio:4/4.5}.yd-statement-image{aspect-ratio:2.7}.yd-statement-image .yd-decor-img{object-position:center 55%}@media(max-width:900px){.yd-statement-image{aspect-ratio:2.4}}@media(max-width:600px){.yd-guide-step{grid-template-columns:minmax(0,1fr) 20px;gap:12px}.yd-statement-image{aspect-ratio:1.9}.yd-decor-details .yd-decor-item-copy p{font-size:14px}}
