
/* v1.4.0 — editorial redesign now applies to every standard blog post. */
html body.ssg-active.ssg-article-post .ssg-hero {
    min-height:clamp(360px,48vw,680px);
}
html body.ssg-active.ssg-article-post .ssg-hero h1 {
    max-width:1200px;
    font-size:clamp(46px,6vw,92px);
    line-height:.96;
}

/* Keep informational copy comfortable to read, without shrinking the page itself. */
html body.ssg-active.ssg-article-post .ssg-content > p,
html body.ssg-active.ssg-article-post .ssg-content > ul,
html body.ssg-active.ssg-article-post .ssg-content > ol,
html body.ssg-active.ssg-article-post .ssg-content > blockquote,
html body.ssg-active.ssg-article-post .ssg-content > h2,
html body.ssg-active.ssg-article-post .ssg-content > h3,
html body.ssg-active.ssg-article-post .ssg-content > h4 {
    max-width:980px;
    margin-left:auto;
    margin-right:auto;
}
html body.ssg-active.ssg-article-post .ssg-content > h2 { margin-top:72px; }
html body.ssg-active.ssg-article-post .ssg-content > h3 { margin-top:46px; }

/* Media can still use the large editorial canvas. */
html body.ssg-active .ssg-content > .gallery:not(.spmg-gallery),
html body.ssg-active .ssg-content > .wp-block-gallery,
html body.ssg-active .ssg-content > figure,
html body.ssg-active .ssg-content > .avia-video,
html body.ssg-active .ssg-content > .avia-image-container,
html body.ssg-active .ssg-content iframe {
    max-width:1500px;
    margin-left:auto;
    margin-right:auto;
}

/* Shoot posts remain the more cinematic variation. */
html body.ssg-active.ssg-shoot-post .ssg-hero {
    min-height:clamp(520px,68vw,900px);
}

html body.ssg-active .ssg-content {
    font-size:18px;
    line-height:1.82;
}
html body.ssg-active .ssg-content h2 {
    font-family:Georgia,"Times New Roman",serif;
    font-size:clamp(34px,4vw,58px);
    line-height:1.06;
    letter-spacing:-.025em;
    font-weight:400;
}
html body.ssg-active .ssg-content h3 {
    font-family:Georgia,"Times New Roman",serif;
    font-size:clamp(26px,3vw,38px);
    line-height:1.12;
    font-weight:400;
}
html body.ssg-active .ssg-content blockquote {
    border-left:1px solid rgba(31,31,29,.22);
    padding:10px 0 10px 28px;
    font-family:Georgia,"Times New Roman",serif;
    font-size:clamp(23px,2.5vw,34px);
    line-height:1.35;
    font-style:italic;
}
@media (max-width:900px) {
    html body.ssg-active.ssg-article-post .ssg-hero,
    html body.ssg-active.ssg-shoot-post .ssg-hero {
        min-height:auto;
    }
    html body.ssg-active .ssg-content {font-size:17px;line-height:1.72}
    html body.ssg-active.ssg-article-post .ssg-content > p,
    html body.ssg-active.ssg-article-post .ssg-content > ul,
    html body.ssg-active.ssg-article-post .ssg-content > ol,
    html body.ssg-active.ssg-article-post .ssg-content > blockquote,
    html body.ssg-active.ssg-article-post .ssg-content > h2,
    html body.ssg-active.ssg-article-post .ssg-content > h3,
    html body.ssg-active.ssg-article-post .ssg-content > h4 {max-width:none}
}


/* v1.3.0 — full-width Enfold breakout + reliable desktop width */
html body.ssg-active #wrap_all,
html body.ssg-active #main,
html body.ssg-active #main > .container_wrap,
html body.ssg-active #main > .container_wrap > .container,
html body.ssg-active .ssg-story,
html body.ssg-active .ssg-article {
    width:100%!important;
    max-width:none!important;
}

html body.ssg-active #main,
html body.ssg-active #main > .container_wrap,
html body.ssg-active #main > .container_wrap > .container {
    padding-left:0!important;
    padding-right:0!important;
    margin-left:0!important;
    margin-right:0!important;
}

html body.ssg-active .ssg-hero {
    width:100vw!important;
    max-width:none!important;
    margin-left:calc(50% - 50vw)!important;
    margin-right:calc(50% - 50vw)!important;
}

html body.ssg-active .ssg-hero__inner {
    width:min(1840px,calc(100vw - 48px))!important;
    max-width:none!important;
}

html body.ssg-active .ssg-content,
html body.ssg-active .ssg-signoff,
html body.ssg-active .ssg-related {
    width:min(1720px,calc(100vw - 48px))!important;
    max-width:none!important;
}

html body.ssg-active .ssg-content > .av_two_third:first-child {
    width:64%!important;
    max-width:none!important;
    margin-left:0!important;
}

html body.ssg-active .ssg-content > .av_two_third:first-child + .av_one_third {
    width:32%!important;
    margin-left:4%!important;
    max-width:none!important;
}

@media (min-width:1500px) {
    html body.ssg-active .ssg-content > p,
    html body.ssg-active .ssg-content > .avia_textblock > p {
        max-width:920px;
    }
}

@media (max-width:900px) {
    html body.ssg-active .ssg-hero__inner,
    html body.ssg-active .ssg-content,
    html body.ssg-active .ssg-signoff,
    html body.ssg-active .ssg-related {
        width:calc(100vw - 32px)!important;
    }
}

body.ssg-active #main{padding-top:0!important}
body.ssg-active .container_wrap_first .container{max-width:none!important;padding:0!important}
.ssg-story{--ink:#24211d;--paper:#fbfaf7;--warm:#f2eee7;--line:rgba(36,33,29,.13);--accent:#ad9575;color:var(--ink);background:var(--paper)}
.ssg-story *{box-sizing:border-box}
.ssg-hero{position:relative;min-height:clamp(500px,72vh,820px);display:flex;align-items:flex-end;overflow:hidden;background:#2d2a26}
.ssg-hero.has-image{background-image:var(--ssg-hero);background-size:cover;background-position:center}
.ssg-hero__overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(12,11,10,.68) 0%,rgba(12,11,10,.38) 50%,rgba(12,11,10,.08) 100%),linear-gradient(0deg,rgba(0,0,0,.35),transparent 55%)}
.ssg-hero__inner{position:relative;z-index:2;width:min(1680px,calc(100% - 72px));margin:0 auto;padding:130px 0 64px;color:#fff}
.ssg-kicker{display:flex;align-items:center;gap:12px;font-size:11px;letter-spacing:.18em;font-weight:700;text-transform:uppercase;margin-bottom:18px}.ssg-kicker span{width:38px;height:1px;background:rgba(255,255,255,.62)}
.ssg-hero h1{max-width:1180px;margin:0!important;color:#fff!important;font-family:Georgia,'Times New Roman',serif!important;font-size:clamp(48px,7vw,92px)!important;line-height:.98!important;font-weight:400!important;letter-spacing:-.045em!important;text-shadow:0 3px 22px rgba(0,0,0,.2)}
.ssg-meta{display:flex;gap:24px;flex-wrap:wrap;margin-top:24px;font-size:11px;letter-spacing:.14em;text-transform:uppercase}.ssg-meta span+span,.ssg-meta time+span{position:relative}.ssg-meta time+span:before{content:'';position:absolute;width:3px;height:3px;border-radius:50%;background:#fff;left:-14px;top:7px;opacity:.65}
.ssg-scroll{display:inline-flex;align-items:center;gap:10px;color:#fff!important;text-decoration:none!important;margin-top:34px;font-size:12px;text-transform:uppercase;letter-spacing:.12em}.ssg-scroll span{font-size:18px}
.ssg-article{overflow:hidden}.ssg-content{width:min(1540px,calc(100% - 72px));margin:0 auto;padding:70px 0 10px;font-size:17px;line-height:1.8}.ssg-content>p,.ssg-content>.avia_textblock>p{max-width:800px;margin-left:auto;margin-right:auto}.ssg-content>p:first-of-type{font-size:clamp(20px,2vw,25px);line-height:1.65}.ssg-content a{color:inherit;text-decoration-color:rgba(36,33,29,.28);text-underline-offset:3px}
.ssg-content h2,.ssg-content h3.ssg-section-title{max-width:900px;margin:95px auto 30px!important;font-family:Georgia,'Times New Roman',serif!important;font-size:clamp(36px,5vw,60px)!important;line-height:1.05!important;font-weight:400!important;letter-spacing:-.035em!important;color:var(--ink)!important;position:relative;padding-top:28px}.ssg-content h2:before,.ssg-content h3.ssg-section-title:before{content:attr(data-ssg-number);position:absolute;left:0;top:0;font-family:Arial,sans-serif;font-size:10px;letter-spacing:.18em;color:#8d8273}.ssg-content h2:after,.ssg-content h3.ssg-section-title:after{content:'';position:absolute;width:44px;height:1px;background:#958875;left:36px;top:6px}
.ssg-content .gallery:not(.spmg-gallery),.ssg-content .tiled-gallery,.ssg-content .wp-block-gallery{width:100%;max-width:1540px!important;margin:34px auto 72px!important;display:grid!important;grid-template-columns:repeat(12,1fr)!important;gap:8px!important}.ssg-content .gallery:not(.spmg-gallery) .gallery-item,.ssg-content .tiled-gallery .tiled-gallery-item,.ssg-content .wp-block-image{float:none!important;width:auto!important;margin:0!important;grid-column:span 4;overflow:hidden;border-radius:2px}.ssg-content .gallery:not(.spmg-gallery) .gallery-item:nth-child(1){grid-column:span 8;grid-row:span 2}.ssg-content .gallery:not(.spmg-gallery) .gallery-item:nth-child(4n+4){grid-column:span 6}.ssg-content .gallery:not(.spmg-gallery) .gallery-item:nth-child(4n+5){grid-column:span 6}.ssg-content .gallery:not(.spmg-gallery) img,.ssg-content .tiled-gallery img,.ssg-content .wp-block-gallery img{width:100%!important;height:100%!important;min-height:260px;object-fit:cover;display:block;transition:transform .45s ease}.ssg-content .gallery:not(.spmg-gallery) a:hover img,.ssg-content .tiled-gallery a:hover img{transform:scale(1.018)}
.ssg-content iframe,.ssg-content .avia-video,.ssg-content .wp-block-embed{max-width:100%;margin:32px auto 70px!important;border-radius:4px;overflow:hidden}.ssg-content .av_two_third,.ssg-content .av_one_third{margin-top:0}.ssg-content>.av_two_third:first-child{width:62%!important;margin-left:0!important}.ssg-content>.av_two_third:first-child+.av_one_third{width:34%!important;margin-left:4%!important}.ssg-content .av_two_third p{font-size:18px;line-height:1.8;max-width:none}.ssg-content>.av_two_third:first-child>p{max-width:900px;margin-left:0;margin-right:0}.ssg-content>.av_one_third iframe,.ssg-content>.av_one_third .avia-video{width:100%!important;max-width:none!important}.ssg-content .hr{opacity:.15;margin:60px 0!important}
.ssg-signoff{width:min(1540px,calc(100% - 72px));margin:70px auto 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:34px 0;display:grid;grid-template-columns:.8fr 1.4fr auto;gap:30px;align-items:center}.ssg-signoff__script{font-family:'Brush Script MT',cursive;font-size:35px;transform:rotate(-4deg);display:inline-block}.ssg-signoff p{margin:0 0 4px;font-size:12px;letter-spacing:.12em;text-transform:uppercase;opacity:.6}.ssg-signoff strong{font-family:Georgia,'Times New Roman',serif;font-size:26px;font-weight:400}.ssg-button{display:inline-flex;align-items:center;gap:12px;border:1px solid var(--ink);border-radius:999px;padding:14px 22px;color:var(--ink)!important;text-decoration:none!important;font-size:12px;text-transform:uppercase;letter-spacing:.08em}.ssg-button:hover{background:var(--ink);color:#fff!important}
.ssg-related{width:min(1540px,calc(100% - 72px));margin:70px auto 100px}.ssg-related__head{display:flex;justify-content:space-between;gap:30px;align-items:end;margin-bottom:24px}.ssg-smallcap{font-size:10px;letter-spacing:.16em}.ssg-related h2{font-family:Georgia,'Times New Roman',serif;font-weight:400;font-size:clamp(32px,4vw,48px);margin:8px 0 0}.ssg-related__head>a{color:inherit!important;text-decoration:none!important;font-size:12px;text-transform:uppercase;letter-spacing:.1em}.ssg-related__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.ssg-related__card{color:inherit!important;text-decoration:none!important}.ssg-related__image{aspect-ratio:16/10;overflow:hidden;background:#eee;margin-bottom:14px}.ssg-related__image img{width:100%;height:100%;object-fit:cover;transition:transform .4s ease}.ssg-related__card:hover img{transform:scale(1.025)}.ssg-related__card time{font-size:10px;letter-spacing:.12em;text-transform:uppercase;opacity:.58}.ssg-related__card h3{font-family:Georgia,'Times New Roman',serif!important;font-size:23px!important;font-weight:400!important;line-height:1.15!important;margin:7px 0 0!important;color:var(--ink)!important}
body.ssg-active .sidebar,body.ssg-active .blog-meta,body.ssg-active .post-meta-infos,body.ssg-active .av-share-box,body.ssg-active .related_posts,body.ssg-active .single-small{display:none!important}
body.ssg-active .content{border:none!important;width:100%!important;padding:0!important}
@media(max-width:900px){.ssg-content>.av_two_third:first-child,.ssg-content>.av_two_third:first-child+.av_one_third{width:100%!important;margin-left:0!important}.ssg-signoff{grid-template-columns:1fr 1fr}.ssg-signoff .ssg-button{grid-column:1/-1;justify-self:start}.ssg-related__grid{grid-template-columns:repeat(2,1fr)}.ssg-related__card:last-child:nth-child(odd){display:none}.ssg-content .gallery:not(.spmg-gallery) .gallery-item{grid-column:span 6!important}.ssg-content .gallery:not(.spmg-gallery) .gallery-item:first-child{grid-column:span 12!important}}
@media(max-width:640px){.ssg-hero{min-height:620px}.ssg-hero__inner{width:calc(100% - 32px);padding-bottom:42px}.ssg-hero h1{font-size:48px!important}.ssg-content{width:calc(100% - 32px);padding-top:45px;font-size:16px}.ssg-content h2,.ssg-content h3.ssg-section-title{margin-top:68px!important;font-size:38px!important}.ssg-content .gallery:not(.spmg-gallery){gap:5px!important}.ssg-content .gallery:not(.spmg-gallery) .gallery-item{grid-column:span 12!important}.ssg-content .gallery:not(.spmg-gallery) .gallery-item:nth-child(n+6){display:none}.ssg-content .gallery:not(.spmg-gallery) img{min-height:220px}.ssg-signoff{width:calc(100% - 32px);grid-template-columns:1fr;gap:16px}.ssg-related{width:calc(100% - 32px);margin-bottom:70px}.ssg-related__head{display:block}.ssg-related__head>a{display:inline-block;margin-top:14px}.ssg-related__grid{grid-template-columns:1fr}.ssg-related__card:last-child:nth-child(odd){display:block}}
