/*
Theme Name: Dress Insight Elegance
Description: Premium editorial theme for modest fashion, wedding attire and cultural dress.
Version: 1.3.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: dress-insight-elegance
*/
:root{--ivory:#fbf8f3;--paper:#fff;--ink:#29231f;--muted:#80756c;--rose:#9c665d;--line:#e9e1d9;--max:1220px}*{box-sizing:border-box}body{margin:0;background:var(--ivory);color:var(--ink);font-family:Arial,sans-serif;line-height:1.7}a{text-decoration:none;color:inherit}img{max-width:100%;height:auto;display:block}.container{width:min(var(--max),calc(100% - 36px));margin:auto}.top-note{text-align:center;background:#332b27;color:#fff;padding:7px;font-size:.68rem;letter-spacing:.13em;text-transform:uppercase}.site-header{background:#fbf8f3;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:50}.nav{min-height:86px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center}.menu ul{display:flex;gap:22px;list-style:none;padding:0}.menu a{font-size:.76rem;text-transform:uppercase;font-weight:800}.brand{font:700 2.1rem Georgia,serif;letter-spacing:-.05em}.brand em{color:var(--rose)}.nav-right{justify-self:end}.pill{border:1px solid var(--ink);border-radius:99px;padding:8px 13px;font-size:.72rem}.hero{padding:68px 0}.hero-grid{display:grid;grid-template-columns:.82fr 1.18fr;gap:54px;align-items:center}.eyebrow{font-size:.68rem;text-transform:uppercase;letter-spacing:.15em;color:var(--rose);font-weight:900}.hero h1,.article-title,.section-head h2,.post-card h3,.feature h2{font-family:Georgia,serif}.hero h1{font-size:clamp(3.4rem,7vw,6.5rem);line-height:.9;letter-spacing:-.065em;margin:14px 0}.hero p{color:var(--muted);font-size:1.05rem}.hero-art{min-height:510px;border-radius:160px 160px 16px 16px;overflow:hidden;background:#e8d6ce;position:relative}.hero-art img,.hero-art .placeholder{height:510px;width:100%;object-fit:cover}.placeholder{background:linear-gradient(145deg,#eee4dc,#d5bdb2);display:grid;place-items:center;font-family:Georgia,serif;color:#896e64}.hero-card{position:absolute;bottom:22px;left:22px;right:22px;background:#fffffff0;padding:18px}.hero-card h3{font:1.4rem Georgia,serif;margin:5px 0}.search-line{display:flex;border-bottom:1px solid var(--ink);margin-top:25px}.search-line input{flex:1;border:0;background:transparent;padding:11px 0;outline:0}.search-line button{border:0;background:none;font-weight:900}.section{padding:65px 0}.section-head{text-align:center;max-width:720px;margin:0 auto 30px}.section-head h2{font-size:clamp(2.3rem,5vw,4rem);line-height:1;margin:8px 0}.section-head p{color:var(--muted)}.featured-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:22px}.feature,.post-card{background:#fff;border:1px solid var(--line)}.feature img,.feature>.placeholder{width:100%;aspect-ratio:4/3;object-fit:cover}.feature .pad{padding:27px}.feature h2{font-size:2.15rem;line-height:1.08;margin:8px 0}.side-list{display:grid;gap:17px}.mini{display:grid;grid-template-columns:145px 1fr;background:#fff;border-bottom:1px solid var(--line)}.mini img,.mini .placeholder{width:145px;height:140px;object-fit:cover}.mini .pad{padding:14px}.mini h3{font:1.13rem/1.15 Georgia,serif;margin:7px 0}.meta{font-size:.67rem;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);font-weight:800}.guide-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.guide{padding:24px;border-top:1px solid var(--ink);background:#fff}.guide span{font:italic 1.4rem Georgia,serif;color:var(--rose)}.guide h3{font:1.4rem Georgia,serif;margin:22px 0 6px}.guide p{font-size:.88rem;color:var(--muted)}.latest{display:grid;grid-template-columns:repeat(3,1fr);gap:21px}.post-card img,.post-card .placeholder{width:100%;aspect-ratio:3/2;object-fit:cover}.post-card .pad{padding:18px}.post-card h3{font-size:1.28rem;line-height:1.15;margin:8px 0}.article-shell{padding:42px 0 70px}.breadcrumbs{font-size:.74rem;color:var(--muted);margin-bottom:22px}.article-layout{display:grid;grid-template-columns:minmax(0,820px) 320px;gap:42px;justify-content:space-between}.article-title{font-size:clamp(3rem,5.5vw,5.15rem);line-height:.98;letter-spacing:-.055em;margin:10px 0 18px}.deck{font:italic 1.15rem/1.55 Georgia,serif;color:var(--muted);margin:22px 0}.article-main>.wp-post-image{margin:24px 0}.article-content{background:#fff;padding:clamp(24px,4vw,48px);font:1.08rem/1.82 Georgia,serif}.article-content>p:first-of-type:first-letter{float:left;font-size:4rem;line-height:.8;padding:8px 9px 0 0;color:var(--rose)}.article-content h2{font-size:2rem;line-height:1.15;margin-top:2em;scroll-margin-top:110px}.article-content h3{font-size:1.45rem;scroll-margin-top:110px}.article-content a{color:var(--rose);text-decoration:underline}.article-content blockquote{border-left:3px solid var(--rose);padding-left:20px;font-style:italic}.side-card,.widget{background:#fff;border:1px solid var(--line);padding:21px;margin-bottom:20px}.sticky{position:sticky;top:110px}.side-card h3,.widget h3{font-family:Georgia,serif;margin-top:0}.toc,.widget ul{list-style:none;padding:0}.toc li,.widget li{padding:7px 0;border-bottom:1px solid var(--line);font-size:.84rem}.related-item{display:grid;grid-template-columns:72px 1fr;gap:10px;margin:13px 0}.related-item img,.related-item .placeholder{width:72px;height:66px;object-fit:cover}.related-item h4{font: .87rem/1.25 Georgia,serif;margin:0}.archive-head{padding:48px 0 22px}.archive-head h1{font:4rem Georgia,serif;letter-spacing:-.05em;margin:5px 0}.archive-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:34px;padding-bottom:70px}.site-footer{background:#332b27;color:#d7cbc3;padding:50px 0 20px}.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:38px}.site-footer .brand,.site-footer h3{color:#fff}.site-footer ul{list-style:none;padding:0}.copyright{border-top:1px solid #544944;margin-top:30px;padding-top:16px;font-size:.77rem}@media(max-width:950px){.hero-grid,.article-layout,.archive-layout,.featured-grid{grid-template-columns:1fr}.guide-grid{grid-template-columns:repeat(2,1fr)}.sticky{position:static}.menu{display:none}.nav{grid-template-columns:1fr auto}.brand{justify-self:start}}@media(max-width:620px){.hero h1{font-size:3.5rem}.latest,.guide-grid,.footer-grid{grid-template-columns:1fr}.mini{grid-template-columns:105px 1fr}.mini img,.mini .placeholder{width:105px}.article-title{font-size:2.8rem}}

/* === Universal Ad Manager === */
.premium-ad-container{width:min(1240px,calc(100% - 36px));margin:0 auto}
.premium-ad-slot{width:100%;clear:both;text-align:center;margin:26px auto}
.premium-ad-inner{margin:0 auto;max-width:100%;overflow:hidden}
.premium-ad-label{display:block;margin:0 0 6px;font-size:10px;line-height:1.2;letter-spacing:.12em;text-transform:uppercase;opacity:.55;font-weight:800}
.premium-ad-slot img,.premium-ad-slot iframe,.premium-ad-slot ins,.premium-ad-slot object,.premium-ad-slot embed{max-width:100%}
.premium-ad-slot iframe{border:0}
.premium-ad-size-responsive .premium-ad-inner{width:100%}
.premium-ad-size-970x250 .premium-ad-inner{width:970px}
.premium-ad-size-970x90 .premium-ad-inner{width:970px}
.premium-ad-size-728x90 .premium-ad-inner{width:728px}
.premium-ad-size-468x60 .premium-ad-inner{width:468px}
.premium-ad-size-336x280 .premium-ad-inner{width:336px}
.premium-ad-size-300x250 .premium-ad-inner{width:300px}
.premium-ad-size-300x600 .premium-ad-inner{width:300px}
.premium-ad-size-320x100 .premium-ad-inner{width:320px}
.premium-ad-size-320x50 .premium-ad-inner{width:320px}
.premium-ad-inner{max-width:100%}
.premium-sidebar-ad-wrap{max-width:100%;margin:0 auto 20px}
.premium-ad-sticky{position:sticky;top:120px}
@media(max-width:760px){
 .premium-ad-sticky{position:static}
 .premium-ad-size-970x250 .premium-ad-inner,
 .premium-ad-size-970x90 .premium-ad-inner,
 .premium-ad-size-728x90 .premium-ad-inner,
 .premium-ad-size-468x60 .premium-ad-inner{width:100%}
}

/* === Balanced Premium Headlines === */
:where(.hero,.hero-section,.site-hero,.masthead,.featured-hero) h1,
:where(.hero,.hero-section,.site-hero,.masthead,.featured-hero) .hero-title{
 font-size:clamp(2.35rem,4.4vw,4.35rem)!important;line-height:1.02!important;letter-spacing:-.045em!important
}
:where(.single,.single-post,.article-shell,.post-single,.article-header,.entry-header) h1,
.single .entry-title,.single-post .entry-title,.article-title,.post-title{
 font-size:clamp(2.25rem,4vw,3.7rem)!important;line-height:1.05!important;letter-spacing:-.04em!important
}
:where(.section-head,.section-header,.archive-head,.page-header) h1,
:where(.section-head,.section-header,.archive-head,.page-header) h2{
 font-size:clamp(1.9rem,3.2vw,3rem)!important;line-height:1.08!important;letter-spacing:-.035em!important
}
:where(.featured-card,.lead-story,.lead-post,.featured-story) h2,
:where(.featured-card,.lead-story,.lead-post,.featured-story) h3{
 font-size:clamp(1.75rem,2.8vw,2.7rem)!important;line-height:1.08!important;letter-spacing:-.03em!important
}
.entry-content h2,.article-content h2,.post-content h2{
 font-size:clamp(1.65rem,2.5vw,2.05rem)!important;line-height:1.18!important;letter-spacing:-.02em!important
}
.entry-content h3,.article-content h3,.post-content h3{
 font-size:clamp(1.3rem,2vw,1.55rem)!important;line-height:1.22!important;letter-spacing:-.015em!important
}
@media(max-width:640px){
 :where(.hero,.hero-section,.site-hero,.masthead,.featured-hero) h1,
 :where(.hero,.hero-section,.site-hero,.masthead,.featured-hero) .hero-title{font-size:2.5rem!important}
 :where(.single,.single-post,.article-shell,.post-single,.article-header,.entry-header) h1,
 .single .entry-title,.single-post .entry-title,.article-title,.post-title{font-size:2.3rem!important}
}

/* Dress Insight Ad Manager v1.3 Fix */
.di-ad-slot{width:100%;clear:both;text-align:center;margin:26px auto}
.di-ad-inner{margin:0 auto;max-width:100%;overflow:hidden}
.di-ad-label{display:block;margin:0 0 6px;font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);font-weight:800}
.di-ad-slot img,.di-ad-slot iframe,.di-ad-slot ins,.di-ad-slot object,.di-ad-slot embed{max-width:100%}
.di-ad-size-responsive .di-ad-inner{width:100%}.di-ad-size-970x250 .di-ad-inner{width:970px}.di-ad-size-970x90 .di-ad-inner{width:970px}.di-ad-size-728x90 .di-ad-inner{width:728px}.di-ad-size-468x60 .di-ad-inner{width:468px}.di-ad-size-336x280 .di-ad-inner{width:336px}.di-ad-size-300x250 .di-ad-inner{width:300px}.di-ad-size-300x600 .di-ad-inner{width:300px}.di-ad-size-320x100 .di-ad-inner{width:320px}.di-ad-size-320x50 .di-ad-inner{width:320px}.di-ad-inner{max-width:100%}.di-ad-sticky{position:sticky;top:110px}
@media(max-width:760px){.di-ad-sticky{position:static}.di-ad-size-970x250 .di-ad-inner,.di-ad-size-970x90 .di-ad-inner,.di-ad-size-728x90 .di-ad-inner,.di-ad-size-468x60 .di-ad-inner{width:100%}}
