/*
Theme Name: AestheticHomeDecor
Theme URI: https://www.pinterest.com/AestheticHomeDecorUS/
Author: AestheticHomeDecor
Description: Cozy editorial WordPress theme for a home decor blog and curated affiliate recommendations.
Version: 1.8.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: aesthetichomedecorus
*/
:root{--cream:#fff9f3;--paper:#fbf1e9;--ink:#321b15;--muted:#6d5145;--accent:#a95836;--border:#ead7c9}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--cream);color:var(--ink);font-family:Arial,Helvetica,sans-serif;line-height:1.55}a{color:inherit}img{max-width:100%;height:auto}h1,h2,h3,.brand{font-family:Georgia,'Times New Roman',serif;line-height:1.12}h1{font-size:clamp(2.5rem,5vw,4.3rem);font-weight:500}h2{font-size:clamp(2rem,3.5vw,3.2rem);font-weight:500;margin:0 0 24px}h3{font-size:1.4rem;margin:12px 0 7px}p{margin:0 0 15px}.container{max-width:1180px;margin:auto;padding:0 24px}.site-header{background:#fff9f4;position:relative;z-index:5;border-bottom:1px solid var(--border)}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:22px;min-height:82px}.brand{font-size:24px;text-decoration:none;display:flex;align-items:center;gap:12px;white-space:nowrap}.brand-mark{font-family:Arial;font-size:34px;color:var(--accent)}.brand small{display:block;font:9px Arial;letter-spacing:2.4px;margin-top:4px}.menu{display:flex;gap:25px;list-style:none;margin:0;padding:0}.menu a{text-decoration:none;font-size:14px}.menu a:hover,.footer a:hover{color:var(--accent)}.menu-toggle{display:none;background:transparent;border:1px solid var(--border);padding:9px 12px;border-radius:8px;font-size:20px}.hero{position:relative;min-height:460px;display:flex;align-items:center;overflow:hidden;background:#ead6c5}.hero-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 55%}.hero:before{content:'';position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(255,248,241,.96) 0%,rgba(255,248,241,.88) 32%,rgba(255,248,241,.08) 70%)}.hero-content{position:relative;z-index:2;width:100%;padding-top:55px;padding-bottom:55px}.hero-content>div{max-width:470px}.hero p{font-size:18px;max-width:400px}.btn{display:inline-block;border-radius:30px;background:var(--accent);color:white;text-decoration:none;padding:13px 28px;font-weight:600;border:1px solid var(--accent);cursor:pointer}.btn-outline{background:transparent;color:var(--accent)}.btn:hover{filter:brightness(.9)}.categories{background:var(--paper);padding:22px 0}.category-row{display:grid;grid-template-columns:repeat(6,1fr);gap:10px}.category-row .category{text-align:center;text-decoration:none;border-right:1px solid #e6cdbb;padding:5px;font-family:Georgia,serif}.category-row .category:last-child{border:0}.category-row .category span{display:block;font:30px Arial;color:var(--accent);margin-bottom:4px}.section{padding:60px 0}.shop-layout{display:grid;grid-template-columns:240px 1fr;gap:26px;align-items:center}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.card{background:#fffaf6;border:1px solid var(--border);border-radius:15px;overflow:hidden;box-shadow:0 5px 15px #50301a08}.card img{display:block;width:100%;height:205px;object-fit:cover}.card-body{padding:16px}.card a{text-decoration:none}.card a:hover{text-decoration:underline}.card p{color:var(--muted);font-size:14px}.card-link{color:var(--accent);font-weight:bold;font-size:14px}.section-head{display:flex;justify-content:space-between;align-items:baseline;gap:20px}.section-head a{color:var(--accent)}.newsletter{background:#dfb395;border-radius:20px;padding:30px;display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 auto 50px}.newsletter h2{font-size:28px;margin:0 0 8px}.newsletter p{margin:0}.newsletter-note{font-size:13px;color:var(--muted)}.footer{background:#f7e9df;padding:38px 0}.footer-grid{display:grid;grid-template-columns:2fr repeat(3,1fr);gap:30px}.footer h4{margin:0 0 12px}.footer a{display:block;text-decoration:none;margin:6px 0;font-size:14px}.footer-note{border-top:1px solid var(--border);margin-top:26px;padding-top:18px;font-size:12px;color:var(--muted)}.content{max-width:820px;margin:55px auto;padding:0 24px;min-height:45vh}.content h1{font-size:clamp(2.2rem,4vw,3.6rem)}.content img{border-radius:14px}.post-meta{color:var(--muted);font-size:13px}.post-content{font-size:17px}.post-content p{margin:0 0 1.2em}.post-content h2{font-size:2rem;margin-top:1.6em}.affiliate-note{font-size:13px;background:#f8e9dc;border-left:3px solid var(--accent);padding:12px 15px;margin:22px 0}.empty-note{color:var(--muted)}.wp-block-image img{height:auto}.screen-reader-text{position:absolute;left:-9999px}@media(max-width:850px){.menu-toggle{display:block}.nav{display:none;position:absolute;left:0;right:0;top:82px;background:#fff9f4;border-bottom:1px solid var(--border);padding:20px}.nav.open{display:block}.menu{flex-direction:column;gap:15px}.shop-layout{grid-template-columns:1fr}.footer-grid{grid-template-columns:repeat(2,1fr)}.hero:before{background:linear-gradient(90deg,rgba(255,248,241,.95),rgba(255,248,241,.35))}}@media(max-width:600px){.container{padding:0 17px}.brand{font-size:18px}.brand-mark{font-size:26px}.brand small{font-size:7px}.hero{min-height:470px}.hero-content>div{max-width:330px}.hero p{font-size:16px}.hero:before{background:linear-gradient(90deg,rgba(255,248,241,.95),rgba(255,248,241,.63))}.category-row{grid-template-columns:repeat(3,1fr);row-gap:20px}.category-row .category:nth-child(3){border:0}.cards{grid-template-columns:1fr}.card img{height:240px}.section{padding:38px 0}.newsletter{margin:0 17px 30px;display:block}.footer-grid{grid-template-columns:1fr 1fr}.section-head{align-items:start}.section-head h2{font-size:2rem}}

/* v1.2: preserve complete editorial thumbnails and give the hero a panoramic composition */
.hero{min-height:480px}
.hero-photo{object-fit:cover;object-position:center center}
.hero:before{background:linear-gradient(90deg,rgba(255,248,241,.98) 0%,rgba(255,248,241,.93) 26%,rgba(255,248,241,.66) 40%,rgba(255,248,241,.03) 66%)}
#guides .card img{width:100%;height:auto;aspect-ratio:3 / 2;object-fit:contain;object-position:center;background:#f8eee5}
#guides .card h3{font-size:1.22rem;line-height:1.32;overflow-wrap:break-word}
#guides .card-body{padding:18px}
@media(max-width:850px){.hero:before{background:linear-gradient(90deg,rgba(255,248,241,.97),rgba(255,248,241,.40))}}
@media(max-width:600px){.hero{min-height:460px}.hero-photo{object-position:60% center}.hero:before{background:linear-gradient(90deg,rgba(255,248,241,.96),rgba(255,248,241,.58))}}

/* v1.4: product-category-first experience */
.shop-head{align-items:end;margin-bottom:26px}.shop-head p{max-width:620px;color:var(--muted)}.shop-head .btn{flex-shrink:0}.finds-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.find-card{display:block;overflow:hidden;border-radius:16px;border:1px solid var(--border);background:#fffaf6;text-decoration:none;transition:transform .18s,box-shadow .18s}.find-card:hover{transform:translateY(-3px);box-shadow:0 8px 24px #50301a15}.find-card-body{padding:17px}.find-card h3{font-size:1.35rem;margin:0 0 8px}.find-card p{font-size:14px;color:var(--muted);min-height:45px}.find-art{height:205px;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;background:radial-gradient(ellipse at 45% 30%,#fff8ee,#e8d2be)}.find-art:after{content:'';position:absolute;bottom:20px;width:65%;height:12px;border-radius:50%;background:#8b64451a;filter:blur(5px)}.find-object{position:relative;z-index:1;display:block}.find-art-vase .find-object{height:115px;width:75px;background:linear-gradient(100deg,#e2c5a6,#fff6e7 42%,#d2aa86);border-radius:30% 30% 45% 45%;box-shadow:inset -10px 0 15px #b98c6220}.find-art-vase .find-object:before{content:'';position:absolute;width:34px;height:22px;background:#ead4bb;top:-14px;left:20px;border-radius:6px}.find-art-pillow .find-object{height:105px;width:130px;border-radius:26px;background:linear-gradient(125deg,#fffaf1,#d5b99f);transform:rotate(-9deg);box-shadow:12px 12px 0 #e4c5ad}.find-art-lamp .find-object{height:105px;width:125px;background:linear-gradient(110deg,#fff6dc,#d7b894);clip-path:polygon(28% 0,72% 0,100% 73%,0 73%);filter:drop-shadow(0 10px 8px #a47e5622)}.find-art-lamp .find-object:after{content:'';position:absolute}.find-art-basket .find-object{height:100px;width:125px;border-radius:10px 10px 35px 35px;background:repeating-linear-gradient(0deg,#cba67e 0 5px,#b98e67 5px 8px);border:5px solid #b68c67}.pinterest-icon{display:inline-block;vertical-align:middle;margin-right:5px;color:#b35433}.contact-panel{background:#f8eee5;border:1px solid var(--border);border-radius:18px;padding:30px;margin:30px 0}.contact-panel h2{font-size:1.8rem;margin:0 0 12px}.contact-panel h2:not(:first-child){margin-top:25px}.contact-email{color:var(--accent);font-weight:bold;overflow-wrap:anywhere}.shop-page{max-width:1080px}.shop-notice{background:#f8eee5;border-left:3px solid var(--accent);padding:14px 18px;margin:24px 0}.shop-collection{padding:25px 0;border-bottom:1px solid var(--border);scroll-margin-top:30px}.shop-collection h2{font-size:2rem}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.product-placeholder{background:#fffaf6;border:1px solid var(--border);border-radius:15px;padding:14px}.product-placeholder h3{font-size:1.25rem}.product-placeholder p,.shop-editor-note{color:var(--muted);font-size:13px}.product-image-placeholder{height:180px;border:1px dashed #d9bda6;border-radius:12px;background:#f3e6d8;display:flex;align-items:center;justify-content:center;text-align:center;padding:15px;color:#8b6856;font-size:14px}
@media(max-width:900px){.finds-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.shop-head{display:block}.shop-head .btn{margin-top:8px}}
@media(max-width:600px){.finds-grid{gap:12px}.find-art{height:150px}.find-card-body{padding:12px}.find-card h3{font-size:1.16rem}.find-card p{min-height:0}.product-grid{grid-template-columns:1fr}.shop-collection h2{font-size:1.7rem}.footer-grid{grid-template-columns:1fr 1fr}.footer a{overflow-wrap:anywhere}}

/* v1.6 Furniture collection */
.find-art-furniture .find-object{width:165px;height:28px;border-radius:55% 45% 50% 45%;background:linear-gradient(120deg,#c99c75,#e6c5a5,#a87851);box-shadow:0 8px 0 #7d533c}.find-art-furniture .find-object:after{content:"";position:absolute;top:30px;left:45px;width:20px;height:50px;border-radius:4px;background:#704d37;box-shadow:66px 0 0 #704d37}.furniture-grid{display:grid;grid-template-columns:minmax(0,560px);gap:20px}.furniture-card{overflow:hidden;background:#fffaf6;border:1px solid var(--border);border-radius:18px}.furniture-card img{display:block;width:100%;aspect-ratio:4/3;object-fit:contain;background:#f4e8de}.furniture-card-body{padding:24px}.furniture-card h2{font-size:1.8rem;margin-bottom:12px}.eyebrow{color:var(--accent);font-size:13px;letter-spacing:1.2px;text-transform:uppercase}.article-lead{font-size:20px;color:var(--muted);line-height:1.7}.furniture-hero{margin:30px 0}.furniture-hero img{display:block;width:100%;max-height:760px;object-fit:contain;background:#f7eee6}.furniture-hero figcaption{font-size:12px;color:var(--muted);margin-top:8px}.product-cta{background:#f7e9df;padding:26px;border-radius:18px;margin:36px 0}.product-cta h2{font-size:1.8rem;margin:0 0 10px}.product-smallprint{font-size:12px;color:var(--muted);margin-top:18px}.finds-grid{grid-template-columns:repeat(4,minmax(0,1fr))}@media(max-width:900px){.finds-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.finds-grid{grid-template-columns:1fr 1fr}.furniture-card-body{padding:18px}}

/* v1.7: consistent guide card titles */
#guides .card h3,#guides .card h3 a{font-family:Georgia,"Times New Roman",serif;font-weight:700;font-size:1.22rem;line-height:1.32;color:var(--ink);text-decoration:none}

/* v1.8: show complete featured images in post/category archive cards.
   Override the generic .card img fixed-height crop without changing shop tiles. */
.content .cards .card img {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    aspect-ratio: auto;
    object-fit: contain;
    object-position: center;
}

/* About page at /contact/: hide template heading and contact panel */
.contact-page > h1, .contact-page .contact-panel{display:none}

/* ---- v1.9 additions: topics, author box, related posts ---- */
.section-sub{color:var(--muted);margin:6px 0 0}
.card-cat{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--accent);margin:0 0 6px;font-weight:600}
.breadcrumbs{font-size:13px;color:var(--muted);margin-bottom:18px}
.breadcrumbs a{color:var(--muted)}
.post-byline{color:var(--muted);font-size:14px;margin:-6px 0 20px}
.author-box{display:flex;gap:20px;align-items:flex-start;background:var(--paper);border:1px solid var(--border);border-radius:16px;padding:24px;margin:45px 0 10px}
.author-box .author-avatar{width:88px;height:88px;border-radius:50%;object-fit:cover;flex:none}
.author-label{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin:0}
.author-name{margin:2px 0 8px;font-size:20px}
.author-name a{text-decoration:none;color:var(--ink)}
.author-bio{margin:0 0 10px;font-size:15px;color:var(--ink)}
.related{margin-top:50px}
.related h2{margin-bottom:18px}
.related .cards{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}
.archive-intro{color:var(--muted);font-size:17px;max-width:680px;margin:-6px 0 22px}
.topic-chips{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 28px}
.topic-chips a{border:1px solid var(--border);border-radius:999px;padding:7px 14px;font-size:14px;text-decoration:none;color:var(--ink);background:#fffaf6}
.topic-chips a span{color:var(--muted);font-size:12px;margin-left:2px}
.topic-chips a.active,.topic-chips a:hover{background:var(--accent);border-color:var(--accent);color:#fff}
.topic-chips a.active span,.topic-chips a:hover span{color:#fff}
.newsletter-form{min-width:280px;flex:1;max-width:460px}
@media(max-width:600px){.author-box{flex-direction:column}.newsletter-form{min-width:0;width:100%}}

/* ---- v1.9.1: archive & card polish ---- */
.card{display:flex;flex-direction:column}
.card > a{display:block}
.card img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
.card-body{display:flex;flex-direction:column;flex:1}
.card-body .card-link{margin-top:auto;padding-top:6px}
body.archive .content,body.blog .content{max-width:1140px}
body.archive .content .cards,body.blog .content .cards{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:24px}
body.archive .card h3,body.blog .card h3,.related .card h3{font-size:20px;line-height:1.3;margin:0 0 10px}
body.archive .card-body p,body.blog .card-body p{font-size:15px;line-height:1.6;color:var(--muted)}
body.archive .card-body,body.blog .card-body{padding:20px 22px 22px}
@media(max-width:900px){body.archive .content .cards,body.blog .content .cards{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:600px){body.archive .content .cards,body.blog .content .cards{grid-template-columns:1fr!important}}
.content .cards .card img{aspect-ratio:4/3!important;height:auto!important;object-fit:cover}
body.archive .content,body.blog .content{max-width:1080px}

/* ---- v1.9.2: homepage cleanup ---- */
#topics{display:none!important}
#start .section-sub{display:none}
#start{background:var(--paper);border-top:1px solid var(--border);border-bottom:1px solid var(--border);padding:56px 0 64px}
#start .section-head h2{margin-bottom:22px}
#guides{padding-top:64px}
.section .cards .card img{aspect-ratio:4/3!important;height:auto!important;object-fit:cover!important;background:none!important}
body.blog .archive-intro,body.blog .topic-chips{display:none!important}
body.blog .content h1{margin-bottom:32px}

/* ---- v1.9.3: Start Here as an editor's picks feature ---- */
#start{background:linear-gradient(180deg,#3a2219 0%,#2b1811 100%);border:0;padding:76px 0 84px;color:#f6e7dc}
#start .section-head h2{color:#fff7f0;margin-bottom:30px}
#start .section-head h2::before{content:"Editor's picks";display:block;font:600 12px/1 Arial,Helvetica,sans-serif;letter-spacing:.24em;text-transform:uppercase;color:#e2ad8b;margin-bottom:14px}
#start .cards{grid-template-columns:1.35fr 1fr;grid-template-rows:1fr 1fr;gap:22px}
#start .card{border:0;background:#fffaf6;box-shadow:0 18px 44px rgba(0,0,0,.28);transition:transform .25s ease,box-shadow .25s ease}
#start .card:hover{transform:translateY(-4px);box-shadow:0 24px 54px rgba(0,0,0,.36)}
#start .card:first-child{grid-row:1 / span 2}
#start .card:first-child h3{font-size:27px;line-height:1.25}
#start .card:first-child .card-body{padding:24px 28px 28px}
#start .card:not(:first-child){flex-direction:row}
#start .card:not(:first-child) > a{flex:0 0 44%;display:block}
#start .card:not(:first-child) img{aspect-ratio:auto!important;height:100%!important;object-fit:cover!important}
#start .card:not(:first-child) .card-body{padding:20px 22px}
#start .card:not(:first-child) h3{font-size:19px;line-height:1.3}
#start .card:not(:first-child) .card-body > p:not(.card-cat){display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;font-size:14px}
#start .card-link{color:var(--accent)}
@media(max-width:900px){#start .cards{grid-template-columns:1fr;grid-template-rows:auto}#start .card:first-child{grid-row:auto}#start .card:not(:first-child){flex-direction:column}#start .card:not(:first-child) img{aspect-ratio:4/3!important;height:auto!important}}
#start .card h3,#start .card h3 a{color:var(--ink)!important}
#start .card .card-body > p:not(.card-cat){color:var(--muted)}
#start .card .card-cat{color:var(--accent)}
body.archive .archive-intro,body.archive .topic-chips{display:none!important}
body.archive .content h1{margin-bottom:32px}

/* ---- v1.9.4: compact Start Here ---- */
#start{padding:44px 0 50px}
#start .section-head h2{font-size:30px;margin-bottom:20px}
#start .section-head h2::before{margin-bottom:10px}
#start .cards{grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:auto!important;gap:18px}
#start .card:first-child{grid-row:auto!important}
#start .card,#start .card:not(:first-child){flex-direction:column!important}
#start .card:not(:first-child) > a{flex:none!important}
#start .card img,#start .card:not(:first-child) img{aspect-ratio:16/9!important;height:auto!important;object-fit:cover!important}
#start .card .card-body,#start .card:first-child .card-body,#start .card:not(:first-child) .card-body{padding:14px 18px 16px!important}
#start .card h3,#start .card:first-child h3,#start .card:not(:first-child) h3{font-size:17px!important;line-height:1.3;margin:0 0 8px}
#start .card .card-body > p:not(.card-cat){display:none!important}
#start .card .card-cat{font-size:11px;margin-bottom:6px}
@media(max-width:900px){#start .cards{grid-template-columns:1fr!important}}
/* v1.9.5: 3:2 card images to match article images */
.section .cards .card img,.content .cards .card img,.card img{aspect-ratio:3/2!important}
#start .card img,#start .card:not(:first-child) img{aspect-ratio:16/9!important}

/* ---- v1.9.6: 404 & search ---- */
body.error404 .content,body.search .content{max-width:1080px}
.notfound{text-align:center;max-width:640px;margin:20px auto 50px}
.notfound-eyebrow{font:600 12px/1 Arial,Helvetica,sans-serif;letter-spacing:.24em;text-transform:uppercase;color:var(--accent);margin:0 0 14px}
.notfound h1{margin:0 0 14px}
.notfound-text{color:var(--muted);font-size:17px;line-height:1.6;margin:0 0 24px}
.notfound .search-form{margin:0 auto 22px}
.notfound-topics{justify-content:center;margin:0 0 28px}
.notfound-popular h2,.search .content h1{margin-bottom:14px}
.notfound-popular{border-top:1px solid var(--border);padding-top:40px}
.search-form{display:flex;gap:8px;max-width:520px;margin:0 0 30px}
.search-form label{flex:1;margin:0}
.search-form .search-field{width:100%;box-sizing:border-box;border:1px solid var(--border);background:#fffaf6;border-radius:999px;padding:12px 18px;font-size:15px;color:var(--ink)}
.search-form .search-field:focus{outline:none;border-color:var(--accent)}
.search-form .search-submit{border:0;background:var(--accent);color:#fff;border-radius:999px;padding:12px 22px;font-weight:600;cursor:pointer}
.search-form .screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.search-term{color:var(--accent)}
.search-count{color:var(--muted);margin:-4px 0 18px}
body.search .content .cards,.notfound-popular .cards{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:24px}
body.search .card h3,.notfound-popular .card h3{font-size:20px;line-height:1.3;margin:0 0 10px}
@media(max-width:900px){body.search .content .cards,.notfound-popular .cards{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:600px){body.search .content .cards,.notfound-popular .cards{grid-template-columns:1fr!important}}
body.search .notfound-topics{justify-content:flex-start}

/* ---- v1.9.7: logo image instead of the house glyph ---- */
.brand{align-items:center}
.brand-mark{display:inline-block;width:44px;height:44px;flex:none;font-size:0!important;line-height:0;color:transparent;background:url(/wp-content/uploads/2026/11/aesthetichomedecor-icon.png) center/contain no-repeat;border-radius:10px;margin-right:10px;vertical-align:middle}
.footer .brand-mark{width:38px;height:38px}
@media(max-width:600px){.brand-mark{width:36px;height:36px;margin-right:8px}}
