/*
Theme Name: Rachwal Editorial
Theme URI: https://rachwalphotography.com/
Author: Rachwal Photography
Description: Minimal editorial WordPress photography theme with full wedding stories, separate archive and editable photos.
Version: 3.8.0
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: rachwal-editorial
*/
:root{--paper:#faf9f6;--ink:#252320;--muted:#77736e;--pad:clamp(22px,4.8vw,86px)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font:14px/1.5 Arial,Helvetica,sans-serif;-webkit-font-smoothing:antialiased}body.menu-open{overflow:hidden}a{color:inherit;text-decoration:none}img{display:block;max-width:100%;height:auto}figure{margin:0}button{font:inherit}.sr-only,.skip-link{position:absolute;left:-9999px}.skip-link:focus{left:10px;top:10px;z-index:1000;background:#fff;padding:10px}a:focus-visible,button:focus-visible{outline:2px solid currentColor;outline-offset:4px}
.site-header{height:84px;padding:0 var(--pad);display:flex;justify-content:space-between;align-items:center;gap:25px}.site-name{font:400 11px/1.2 Arial,Helvetica,sans-serif;letter-spacing:.09em;white-space:nowrap}.desktop-nav{display:flex;gap:clamp(35px,7.2vw,135px);align-items:center}.desktop-nav a{font-size:10px;letter-spacing:.065em}.desktop-nav a:hover,.desktop-nav [aria-current=page]{text-decoration:underline;text-underline-offset:4px}.menu-button{display:none}.mobile-nav[hidden]{display:none}.eyebrow{font:400 10px/1.5 Arial,sans-serif;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.photo-opening{padding:clamp(80px,9vw,160px) var(--pad) 0;max-width:1650px;margin:auto;display:grid;grid-template-columns:1fr minmax(280px,420px) 1fr;column-gap:20px}.opening-image{grid-column:2}.opening-image img{max-height:69vh;width:100%;object-fit:contain}.opening-side{grid-column:3;align-self:end;display:flex;justify-content:end;gap:15px;flex-direction:column;padding-bottom:4px;color:var(--muted);font-size:9px;letter-spacing:.1em}.photo-essay{position:relative;max-width:1550px;margin:0 auto;padding:clamp(95px,10vw,175px) var(--pad) 60px;display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:clamp(8px,1.25vw,20px);row-gap:clamp(85px,12vw,205px);align-items:start}.essay-photo img{width:100%;height:auto;object-fit:contain}.essay-photo{min-width:0}.p1{grid-column:2/span 3}.p2{grid-column:8/span 4;margin-top:14vw}.p3{grid-column:6/span 3}.p4{grid-column:1/span 5;margin-top:4vw}.p5{grid-column:8/span 4;margin-top:10vw}.p6{grid-column:3/span 4;margin-top:8vw}.essay-note{grid-column:9/span 4;align-self:center;margin-top:10vw}.essay-note span{font-size:9px;letter-spacing:.1em}.essay-note p{font:400 clamp(18px,2.1vw,29px)/1.35 Georgia,serif;max-width:300px}.p7{grid-column:2/span 3}.p8{grid-column:7/span 5;margin-top:13vw}.p9{grid-column:8/span 3}.p10{grid-column:2/span 5;margin-top:3vw}.p11{grid-column:8/span 4;margin-top:12vw}.p12{grid-column:3/span 3}.p13{grid-column:7/span 4;margin-top:4vw}.p14{grid-column:2/span 4}.p15{grid-column:8/span 4;margin-top:9vw}
.home-featured{max-width:1500px;margin:clamp(120px,15vw,250px) auto 0;padding:0 var(--pad)}.section-top{display:flex;justify-content:space-between;gap:20px;border-top:1px solid #c9c6c0;padding-top:16px;font-size:10px;letter-spacing:.1em}.section-top h2{font-size:10px;font-weight:400;margin:0;letter-spacing:.1em}.featured-intro{padding:90px 0 140px;display:flex;justify-content:space-between;gap:30px;align-items:center}.featured-intro p{font:400 clamp(27px,4vw,52px)/1.1 Georgia,serif;max-width:430px}.featured-intro a{font-size:10px;letter-spacing:.1em}.featured-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(22px,5vw,100px);padding:80px 0 150px;align-items:start}.featured-grid article:nth-child(2){margin-top:110px}.featured-grid article:nth-child(3){margin-top:45px}.featured-grid img{width:100%;height:auto}.featured-grid span{display:block;font-size:11px;letter-spacing:.04em;margin-top:14px}.last-note{border-top:1px solid #cecbc5;max-width:1370px;padding:22px var(--pad) 110px;margin:0 auto;display:flex;justify-content:space-between;gap:24px;font-size:10px;letter-spacing:.1em}
.site-footer{border-top:1px solid #e4e1db;padding:28px var(--pad) 38px;display:flex;justify-content:space-between;gap:20px;font-size:9px;letter-spacing:.1em;color:#625e59}
.archive-page,.simple-page,.wedding-story{max-width:1540px;margin:auto;padding:clamp(80px,10vw,170px) var(--pad) 130px}.archive-heading{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:clamp(90px,12vw,160px)}.archive-heading h1,.simple-page h1,.wedding-story h1{font:400 clamp(43px,6vw,92px)/1.05 Georgia,serif;letter-spacing:-.045em;margin:30px 0 0}.archive-heading>p{max-width:230px;color:var(--muted);font-size:12px}.weddings-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(32px,5vw,90px);align-items:start}.wedding-tile:nth-child(3n+2){margin-top:140px}.wedding-tile:nth-child(3n){margin-top:65px}.wedding-tile img{width:100%;height:auto}.wedding-tile h2{font:400 17px/1.3 Georgia,serif;margin:15px 0 7px}.wedding-tile p{font-size:11px;color:var(--muted);margin:0}.tile-placeholder{aspect-ratio:3/4;background:#ebe9e4;display:grid;place-items:center;font-size:10px;letter-spacing:.1em}.empty-portfolio{padding:90px 0;min-height:220px;max-width:450px}.empty-portfolio p{font:400 20px/1.4 Georgia,serif}.empty-portfolio p+p{font:13px/1.6 Arial,sans-serif;color:var(--muted)}.wedding-story-header{text-align:center;margin:0 auto 90px;max-width:720px}.wedding-story-header h1{margin:35px 0 20px}.wedding-story-header p{color:var(--muted)}.wedding-cover{max-width:850px;margin:auto}.wedding-cover img{width:100%;max-height:85vh;object-fit:contain}.wedding-story-content{max-width:1080px;margin:120px auto 90px}.wedding-story-content>.wp-block-image{margin-bottom:clamp(55px,9vw,130px)}.wedding-story-content>.wp-block-image img{max-height:88vh;width:auto;margin:auto}.wedding-story-content .wp-block-gallery{gap:16px;margin:65px 0}.back-to-portfolio{text-align:center;border-top:1px solid #d7d3cd;padding-top:25px;font-size:11px;letter-spacing:.1em}
.simple-page{min-height:70vh}.simple-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.85fr);align-items:start;gap:clamp(50px,10vw,190px);margin-top:95px}.about-image{max-width:420px}.contact-picture{max-width:480px}.simple-copy{max-width:480px}.intro{font:400 clamp(22px,2.5vw,34px)/1.35 Georgia,serif;margin-top:0}.editor-content{font-size:14px;line-height:1.75;color:#47443e}.editor-content p{margin-bottom:1.5em}.editor-content img{max-width:100%;height:auto}.text-link,.contact-email{display:inline-block;border-bottom:1px solid;padding-bottom:5px;font-size:11px;letter-spacing:.06em;margin-top:28px}.setup-notice{color:#777;font-size:12px}.journal-row{padding:20px 0;border-bottom:1px solid #ddd}
@media(max-width:850px){.desktop-nav{gap:24px}.site-header{height:72px}.photo-opening{grid-template-columns:1fr minmax(260px,55%) 1fr}.opening-side{font-size:8px}.photo-essay{row-gap:80px}.featured-grid{gap:24px}.archive-heading{align-items:start}.weddings-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.wedding-tile:nth-child(n){margin-top:0}.wedding-tile:nth-child(even){margin-top:90px}}
@media(max-width:600px){:root{--pad:20px}.site-header{height:66px}.site-name{font-size:10px}.desktop-nav{display:none}.menu-button{display:flex;gap:10px;align-items:center;border:0;background:none;padding:12px 0;font-size:10px;letter-spacing:.1em}.menu-symbol{font-size:18px;line-height:1}.mobile-nav{position:fixed;z-index:80;inset:66px 0 0;background:var(--paper);padding:38px var(--pad);overflow:auto}.mobile-nav a{display:block;font:400 clamp(45px,13vw,70px)/1.3 Georgia,serif;letter-spacing:-.045em}.photo-opening{display:block;padding-top:72px}.opening-image{width:76%;margin:auto}.opening-image img{max-height:none}.opening-side{width:76%;margin:12px auto 0;display:block;font-size:8px}.opening-side span+span{display:none}.photo-essay{padding-top:100px;display:block}.essay-photo{margin-top:0!important;margin-bottom:85px!important}.p1{width:70%;margin-left:1%}.p2{width:77%;margin-left:auto}.p3{width:62%;margin-left:15%}.p4{width:90%;margin-left:0}.p5{width:69%;margin-left:auto}.p6{width:77%;margin-left:6%}.p7{width:64%;margin-left:auto}.p8{width:92%;margin-left:0}.p9{width:63%;margin-left:17%}.p10{width:83%;margin-left:auto}.p11{width:70%;margin-left:0}.p12{width:67%;margin-left:auto}.p13{width:76%;margin-left:4%}.p14{width:74%;margin-left:auto}.p15{width:78%;margin-left:8%}.essay-note{width:80%;margin:20px auto 115px}.essay-note p{font-size:24px}.home-featured{margin-top:75px}.featured-grid{display:block;padding:65px 0 70px}.featured-grid article{width:82%;margin:0 0 80px!important}.featured-grid article:nth-child(even){margin-left:auto!important}.featured-intro{padding:60px 0 95px;display:block}.featured-intro p{font-size:29px}.last-note{padding-bottom:80px}.archive-page,.simple-page,.wedding-story{padding-top:80px;padding-bottom:95px}.archive-heading{display:block;margin-bottom:85px}.archive-heading h1,.simple-page h1,.wedding-story h1{font-size:52px}.weddings-grid{display:block}.wedding-tile{width:83%;margin:0 0 75px!important}.wedding-tile:nth-child(even){margin-left:auto!important}.simple-columns{display:block;margin-top:65px}.simple-copy{margin-top:55px}.wedding-story-header{margin-bottom:65px}.wedding-story-content{margin-top:75px}.site-footer{flex-wrap:wrap;row-gap:15px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* RACHWAL — CONSISTENT EDITORIAL SYSTEM. Grounded in original v0.7 theme. */
:root{--pad:clamp(22px,4.8vw,86px);--content-max:1540px;--image-space:clamp(70px,9vw,170px)}
/* Page gutters on ALL main content regions and media, never edge-to-edge by accident. */
.site-main,.editor-content,.wedding-story-content{min-width:0}
.simple-page,.wedding-story,.photo-opening,.photo-essay,.home-featured,.last-note{box-sizing:border-box}
.simple-page,.wedding-story{width:100%;max-width:var(--content-max);margin-inline:auto;padding-inline:var(--pad)}
.editor-content,.editorial-blocks,.wedding-story-content,.editable-home{min-width:0}
/* Theme's original header/portfolio/footer remain unchanged. */
.editable-home{width:100%;max-width:none}
.editable-home .photo-opening,.editable-home .photo-essay{width:100%;margin-inline:auto;box-sizing:border-box;padding-inline:var(--pad)}
/* Remove WordPress's intrinsic constrained block margins just within editable groups. */
.editable-home .photo-opening>:where(*),.editable-home .photo-essay>:where(*){min-width:0;max-width:none}
.editable-home .photo-opening>.wp-block-group__inner-container,.editable-home .photo-essay>.wp-block-group__inner-container{display:contents}
/* Opening composition, faithful to original v0.7. */
.editable-home .photo-opening{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,420px) minmax(0,1fr)!important;column-gap:20px;align-items:end;padding-top:clamp(80px,9vw,160px);max-width:1650px}
.editable-home .photo-opening>.opening-image{grid-column:2;width:100%;max-width:none;margin:0;min-width:0}
.editable-home .photo-opening>.opening-image img{display:block;width:100%;height:auto;max-height:69vh;object-fit:contain}
.editable-home .photo-opening>.opening-side{grid-column:3;align-self:end;min-width:0;margin:0}
.editable-home .opening-side p{margin:0;font:400 9px/1.5 Arial,Helvetica,sans-serif;letter-spacing:.1em;color:var(--muted)}
/* THE PAGE EDITORIAL GROUP remains intact. New photos = new children. */
.editable-home .photo-essay{display:grid!important;grid-template-columns:repeat(12,minmax(0,1fr))!important;column-gap:clamp(8px,1.25vw,20px);row-gap:var(--image-space);align-items:start;max-width:1550px;padding-block:clamp(95px,10vw,175px) 60px}
/* Every unstyled direct image or GROUP has a safe size. */
.editable-home .photo-essay> :is(.wp-block-image,.wp-block-gallery,.wp-block-group:not(.essay-note)){grid-column:3/span 4;max-width:100%!important;min-width:0!important;width:100%!important;box-sizing:border-box;margin:0!important;justify-self:stretch}
.editable-home .photo-essay> :is(.wp-block-image,.wp-block-gallery,.wp-block-group):nth-child(4n + 2):not(.essay-note){grid-column:8/span 4}
.editable-home .photo-essay> :is(.wp-block-image,.wp-block-gallery,.wp-block-group):nth-child(4n + 3):not(.essay-note){grid-column:5/span 4}
.editable-home .photo-essay> :is(.wp-block-image,.wp-block-gallery,.wp-block-group):nth-child(4n + 4):not(.essay-note){grid-column:2/span 5}
.editable-home .photo-essay figure.wp-block-image img,.editable-home .photo-essay>.wp-block-image img{display:block;width:100%!important;max-width:100%!important;height:auto!important;object-fit:contain}
.editable-home .photo-essay .wp-block-image{max-width:100%;min-width:0;box-sizing:border-box;margin:0}
/* Groups are genuine image sections: two or three children inside can be managed together. */
.editable-home .photo-essay>.wp-block-group:not(.essay-note){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(8px,1.2vw,20px);align-items:start}
.editable-home .photo-essay>.wp-block-group:not(.essay-note)>.wp-block-group__inner-container{display:contents}
.editable-home .photo-essay>.wp-block-group:not(.essay-note)>.wp-block-image:only-child{grid-column:1/-1}
.editable-home .photo-essay>.wp-block-group.editorial-triptych{grid-template-columns:repeat(3,minmax(0,1fr))}
/* Galleries remain grouped. Never display:contents on gallery; it breaks intrinsic Gallery layout. */
.editable-home .photo-essay>.wp-block-gallery{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(8px,1.2vw,20px);align-items:start}
.editable-home .photo-essay>.wp-block-gallery>.wp-block-image{width:100%!important;max-width:none!important;min-width:0;flex:none!important;margin:0!important}
.editable-home .photo-essay>.wp-block-gallery>.wp-block-image img{width:100%!important;height:auto!important;aspect-ratio:auto!important;object-fit:contain}
.editable-home .photo-essay>.essay-note{grid-column:9/span 4;align-self:center;min-width:0}
.editable-home .essay-note p:first-child{font:400 9px/1.5 Arial,sans-serif;letter-spacing:.1em;margin:0}
.editable-home .essay-note p:nth-child(2){font:400 clamp(18px,2.1vw,29px)/1.35 Georgia,serif;max-width:300px}
.editable-home .last-note p{margin:0}
/* Original fifteen photograph placements and offsets. */
.editable-home .photo-essay>.p1{grid-column:2/span 3}.editable-home .photo-essay>.p2{grid-column:8/span 4;margin-top:14vw!important}
.editable-home .photo-essay>.p3{grid-column:6/span 3}.editable-home .photo-essay>.p4{grid-column:1/span 5;margin-top:4vw!important}
.editable-home .photo-essay>.p5{grid-column:8/span 4;margin-top:10vw!important}.editable-home .photo-essay>.p6{grid-column:3/span 4;margin-top:8vw!important}
.editable-home .photo-essay>.p7{grid-column:2/span 3}.editable-home .photo-essay>.p8{grid-column:7/span 5;margin-top:13vw!important}
.editable-home .photo-essay>.p9{grid-column:8/span 3}.editable-home .photo-essay>.p10{grid-column:2/span 5;margin-top:3vw!important}
.editable-home .photo-essay>.p11{grid-column:8/span 4;margin-top:12vw!important}.editable-home .photo-essay>.p12{grid-column:3/span 3}
.editable-home .photo-essay>.p13{grid-column:7/span 4;margin-top:4vw!important}.editable-home .photo-essay>.p14{grid-column:2/span 4}
.editable-home .photo-essay>.p15{grid-column:8/span 4;margin-top:9vw!important}
/* Choose image OR Group > Styles; applies to entire section. */
@media(min-width:601px){
.editable-home .photo-essay>.is-style-rachwal-small-left{grid-column:2/span 3!important}
.editable-home .photo-essay>.is-style-rachwal-small-center{grid-column:6/span 3!important}
.editable-home .photo-essay>.is-style-rachwal-small-right{grid-column:9/span 3!important}
.editable-home .photo-essay>.is-style-rachwal-medium-left{grid-column:2/span 4!important}
.editable-home .photo-essay>.is-style-rachwal-medium-center{grid-column:5/span 4!important}
.editable-home .photo-essay>.is-style-rachwal-medium-right{grid-column:8/span 4!important}
.editable-home .photo-essay>.is-style-rachwal-large-left{grid-column:1/span 6!important}
.editable-home .photo-essay>.is-style-rachwal-large-center{grid-column:4/span 6!important}
.editable-home .photo-essay>.is-style-rachwal-large-right{grid-column:7/span 6!important}
.editable-home .photo-essay>.is-style-rachwal-wide{grid-column:2/span 10!important}
}
/* When content accidentally lands OUTSIDE the main essay Group, it stays within margins. */
.editable-home> :is(.wp-block-image,.wp-block-gallery,.wp-block-group:not(.photo-opening):not(.photo-essay):not(.last-note),.wp-block-columns){box-sizing:border-box;width:calc(100% - 2 * var(--pad));max-width:1250px;margin:clamp(50px,8vw,130px) auto!important}
.editable-home>.wp-block-image{max-width:min(720px,calc(100% - 2 * var(--pad)))!important}
.editable-home>.wp-block-image img{display:block;width:100%;height:auto}
.editable-home>.wp-block-gallery{gap:clamp(12px,2vw,30px)}
/* Normal content: same horizontal page margins on EVERY page template. */
.editor-content>.wp-block-image,.wedding-story-content>.wp-block-image,.editorial-blocks>.wp-block-image{max-width:100%;margin-inline:auto}
.editor-content>.wp-block-gallery,.wedding-story-content>.wp-block-gallery,.editorial-blocks>.wp-block-gallery{max-width:100%;margin-inline:auto}
.editor-content img,.editorial-blocks img,.wedding-story-content img{max-width:100%;height:auto}
/* About/Contact retain original proportions, including their wider titles. */
.editorial-blocks>.editorial-page-title{font:400 clamp(43px,6vw,92px)/1.05 Georgia,serif;letter-spacing:-.045em;margin:30px 0 0}
.editorial-blocks>.eyebrow{font:400 10px/1.5 Arial,sans-serif;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.editorial-blocks .simple-columns{margin-top:95px;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,.85fr);gap:clamp(50px,10vw,190px)}
.editorial-blocks .simple-columns>.wp-block-group__inner-container{display:contents}
.editorial-blocks .simple-columns .about-image{max-width:420px}
.editorial-blocks .simple-columns .contact-picture{max-width:480px}
.editorial-blocks .simple-columns .simple-copy{max-width:480px}
.editorial-blocks .simple-copy p.intro{font:400 clamp(22px,2.5vw,34px)/1.35 Georgia,serif;margin-top:0}
.editorial-blocks .contact-link-paragraph a{display:inline-block;border-bottom:1px solid;padding-bottom:5px;font-size:11px;letter-spacing:.06em;margin-top:28px}
/* Safe, intentionally generous mobile margins and stacked photographic rhythm. */
@media(max-width:600px){
 .editable-home .photo-opening,.editable-home .photo-essay{display:block!important}
 .editable-home .photo-opening>.opening-image{width:76%;max-width:none;margin:0 auto}
 .editable-home .photo-opening>.opening-side{width:76%;margin:12px auto 0}
 .editable-home .opening-side p+p{display:none}
 .editable-home .photo-essay> :is(.wp-block-image,.wp-block-gallery,.wp-block-group:not(.essay-note)){width:76%!important;max-width:100%!important;margin:0 auto 85px!important}
 .editable-home .photo-essay>.essay-note{width:80%;margin:35px auto 110px}
 .editable-home .photo-essay>.p2,.editable-home .photo-essay>.p4,.editable-home .photo-essay>.p5,.editable-home .photo-essay>.p6,.editable-home .photo-essay>.p8,.editable-home .photo-essay>.p10,.editable-home .photo-essay>.p11,.editable-home .photo-essay>.p13,.editable-home .photo-essay>.p15{margin-top:0!important}
 .editable-home .photo-essay>.p1{width:70%!important;margin-left:0!important}.editable-home .photo-essay>.p2{width:77%!important;margin-left:auto!important}
 .editable-home .photo-essay>.p3{width:62%!important;margin-left:15%!important}.editable-home .photo-essay>.p4{width:90%!important;margin-left:0!important}
 .editable-home .photo-essay>.p5{width:69%!important;margin-left:auto!important}.editable-home .photo-essay>.p6{width:77%!important;margin-left:6%!important}
 .editable-home .photo-essay>.p7{width:64%!important;margin-left:auto!important}.editable-home .photo-essay>.p8{width:92%!important;margin-left:0!important}
 .editable-home .photo-essay>.p9{width:63%!important;margin-left:17%!important}.editable-home .photo-essay>.p10{width:83%!important;margin-left:auto!important}
 .editable-home .photo-essay>.p11{width:70%!important;margin-left:0!important}.editable-home .photo-essay>.p12{width:67%!important;margin-left:auto!important}
 .editable-home .photo-essay>.p13{width:76%!important;margin-left:4%!important}.editable-home .photo-essay>.p14{width:74%!important;margin-left:auto!important}
 .editable-home .photo-essay>.p15{width:78%!important;margin-left:8%!important}
 .editable-home .photo-essay>.is-style-rachwal-small-left,.editable-home .photo-essay>.is-style-rachwal-small-center,.editable-home .photo-essay>.is-style-rachwal-small-right{width:58%!important}
 .editable-home .photo-essay>.is-style-rachwal-medium-left,.editable-home .photo-essay>.is-style-rachwal-medium-center,.editable-home .photo-essay>.is-style-rachwal-medium-right{width:76%!important}
 .editable-home .photo-essay>.is-style-rachwal-large-left,.editable-home .photo-essay>.is-style-rachwal-large-center,.editable-home .photo-essay>.is-style-rachwal-large-right{width:90%!important}
 .editable-home .photo-essay>.is-style-rachwal-wide{width:100%!important}
 .editable-home .photo-essay>.is-style-rachwal-small-left,.editable-home .photo-essay>.is-style-rachwal-medium-left,.editable-home .photo-essay>.is-style-rachwal-large-left{margin-left:0!important;margin-right:auto!important}
 .editable-home .photo-essay>.is-style-rachwal-small-right,.editable-home .photo-essay>.is-style-rachwal-medium-right,.editable-home .photo-essay>.is-style-rachwal-large-right{margin-left:auto!important;margin-right:0!important}
 .editorial-blocks .simple-columns{display:block!important;margin-top:65px}
 .editorial-blocks .simple-copy{margin-top:55px}
 .editorial-blocks>.editorial-page-title{font-size:52px}
}


/* v3.2: Persistent site navigation across all pages. */
.site-header{
  position:sticky;
  top:0;
  z-index:100;
  background:var(--paper);
  isolation:isolate;
}
/* Respect the WordPress admin toolbar when logged in. */
body.admin-bar .site-header{top:32px}
@media(max-width:782px){
  body.admin-bar .site-header{top:46px}
}
/* Keep the mobile menu below the pinned header. */
@media(max-width:600px){
  .mobile-nav{top:66px}
  body.admin-bar .mobile-nav{top:112px}
}
@media(min-width:601px){
  body.admin-bar .mobile-nav{top:104px}
}


/* v3.3: portfolio text filters and story introductions. */
.rachwal-portfolio-page,.wedding-story{box-sizing:border-box}
.rachwal-portfolio-page{max-width:1500px;margin-inline:auto;padding-inline:var(--pad)}
.rachwal-portfolio-intro{display:grid;grid-template-columns:minmax(160px,22%) 1fr;gap:clamp(30px,8vw,150px);padding:clamp(70px,10vw,165px) 0 clamp(60px,7vw,110px)}
.rachwal-portfolio-filters{display:flex;flex-direction:column;align-items:flex-start;gap:3px}
.rachwal-portfolio-filters a{font:400 14px/1.45 Arial,Helvetica,sans-serif;color:#99958f;text-decoration:none}
.rachwal-portfolio-filters a:hover,.rachwal-portfolio-filters a[aria-current="page"]{color:var(--ink);text-decoration:underline;text-underline-offset:3px}
.rachwal-portfolio-intro-copy{max-width:590px}
.rachwal-portfolio-intro-copy h1{font:400 clamp(38px,5vw,72px)/1.1 Georgia,serif;letter-spacing:-.04em;margin:10px 0 25px}
.rachwal-portfolio-intro-copy>p:last-child{font:400 clamp(17px,2vw,25px)/1.4 Georgia,serif}
.rachwal-filtered-grid{margin-inline:auto;max-width:100%;}
.rachwal-story-opening,.rachwal-story-compact,.rachwal-story-editorial,.rachwal-story-closing,.rachwal-story-embed{box-sizing:border-box;max-width:1380px;margin:0 auto clamp(55px,7vw,115px);padding-inline:var(--pad)}
.rachwal-story-opening{display:grid!important;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:clamp(34px,8vw,145px);align-items:start}
.rachwal-story-opening>.wp-block-group{min-width:0}
.rachwal-story-kicker{font:400 10px/1.4 Arial,Helvetica,sans-serif;letter-spacing:.11em;color:#77736e;text-transform:uppercase;margin:0 0 24px}
.rachwal-story-heading{font:400 clamp(25px,3.1vw,45px)/1.16 Arial,Helvetica,sans-serif;letter-spacing:-.018em;margin:0 0 23px}
.rachwal-story-description{font:400 clamp(15px,1.6vw,19px)/1.5 Georgia,serif;max-width:660px;margin:0}
.rachwal-vendor-lines{font:400 12px/1.8 Arial,Helvetica,sans-serif;letter-spacing:.015em;margin:0}
.rachwal-vendor-lines em{font-family:Georgia,serif;color:#77736e}
.rachwal-story-compact{max-width:820px}
.rachwal-story-editorial{max-width:1040px}
.rachwal-story-closing{border-top:1px solid #dedbd5;padding-top:30px}
.rachwal-story-embed-hint{font:400 12px/1.65 Arial,sans-serif;color:#77736e;border:1px dashed #cbc8c3;padding:28px}
@media(max-width:750px){.rachwal-portfolio-intro{grid-template-columns:1fr;gap:40px}.rachwal-story-opening{grid-template-columns:1fr}.rachwal-portfolio-page{padding-inline:var(--pad)}}

/* Instagram-style photographic footer: six squares across within consistent page margins. */
.rachwal-instagram {max-width:1600px; margin:clamp(90px,12vw,190px) auto 0; padding:0 var(--pad) clamp(55px,6vw,100px);}
.rachwal-instagram__handle {display:block;width:max-content;max-width:100%;margin:0 auto 35px;font:400 14px/1.4 Georgia,serif;letter-spacing:.01em;text-decoration:underline;text-underline-offset:3px;text-align:center;overflow-wrap:anywhere;}
.rachwal-instagram__grid {display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:clamp(5px,.7vw,12px);}
.rachwal-instagram__tile {display:block;min-width:0;aspect-ratio:1 / 1;overflow:hidden;background:#ebe8e2;}
.rachwal-instagram__tile img {display:block;width:100%;height:100%;object-fit:cover;transition:transform .4s ease;}
@media (hover:hover) and (prefers-reduced-motion:no-preference){.rachwal-instagram__tile:hover img {transform:scale(1.035)}}
@media (max-width:850px){.rachwal-instagram__grid {grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:480px){.rachwal-instagram__grid {grid-template-columns:repeat(2,minmax(0,1fr))}.rachwal-instagram__handle{margin-bottom:22px}}

/* v3.5 — calm, editorial page ending. Independent of Gutenberg blocks and Pic-Time. */
.rachwal-closing{max-width:1540px;margin:0 auto;padding:clamp(85px,12vw,200px) var(--pad) clamp(80px,10vw,160px)}
.rachwal-closing__invitation{text-align:center;font:400 clamp(13px,1.05vw,16px)/1.7 Arial,Helvetica,sans-serif}
.rachwal-closing__invitation p{margin:0 0 16px}
.rachwal-closing__invitation a,.rachwal-closing__story-nav a,.rachwal-footer a{text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
.rachwal-closing__story-nav{margin-top:clamp(85px,12vw,210px);display:flex;align-items:center;justify-content:space-between;gap:28px;font:400 12px/1.5 Arial,Helvetica,sans-serif}
.rachwal-footer.site-footer{max-width:none;display:grid;grid-template-columns:1fr 1fr 1.5fr 1fr;gap:clamp(20px,3vw,60px);align-items:end;justify-content:initial;border-top:1px solid #e8e5e0;padding:clamp(42px,6vw,95px) var(--pad) clamp(35px,4vw,65px);font:400 11px/1.7 Arial,Helvetica,sans-serif;letter-spacing:0;color:var(--ink)}
.rachwal-footer__column{display:flex;flex-direction:column;align-items:flex-start;min-width:0}
.rachwal-footer__label{margin-bottom:12px;color:var(--muted);font-size:10px;letter-spacing:.04em}
.rachwal-footer__column a{overflow-wrap:anywhere}
.rachwal-footer__credit{align-items:flex-end;text-align:right;color:var(--muted)}
.rachwal-footer a:hover,.rachwal-closing a:hover{opacity:.55}
@media(max-width:760px){.rachwal-footer.site-footer{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;row-gap:48px}.rachwal-footer__credit{align-items:flex-start;text-align:left}.rachwal-closing__story-nav{margin-top:90px}}
@media(max-width:440px){.rachwal-closing__story-nav{font-size:11px;gap:16px}.rachwal-footer.site-footer{column-gap:20px;font-size:10px}}

/* Avoid repeating back-to-portfolio on wedding stories. */
.wedding-story .back-to-portfolio{display:none}

/* v3.6: Contact — generous margins, restrained type and accessible form */
.contact-page {max-width:1380px; min-height:65vh; padding-bottom:clamp(90px,11vw,170px)}
.rachwal-contact-intro {display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,.7fr);gap:clamp(40px,10vw,180px);align-items:center;margin-top:clamp(60px,8vw,110px)}
.rachwal-contact-image{width:100%;max-width:440px}.rachwal-contact-image img{width:100%;height:auto;display:block}
.rachwal-contact-copy{font:400 clamp(19px,2.2vw,30px)/1.4 Georgia,serif;max-width:490px}
.rachwal-contact-copy p{margin:0 0 1em}.rachwal-contact-copy p + p{font:400 13px/1.7 Arial,sans-serif;color:var(--muted)}
.rachwal-contact-editorial{margin-bottom:clamp(50px,7vw,110px)}
.rachwal-contact-form-wrap{max-width:760px;margin:clamp(80px,11vw,170px) auto 0}
.rachwal-contact-form{width:100%}.rachwal-contact-form-heading{margin-bottom:40px}.rachwal-contact-form-heading p{font:400 18px/1.5 Georgia,serif;margin:12px 0 0}
.rachwal-contact-form form{display:flex;flex-direction:column;gap:29px}
.rachwal-form-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(20px,4vw,55px)}
.rachwal-form-field{min-width:0;display:flex;flex-direction:column;gap:9px}
.rachwal-form-field label{font:400 11px/1.5 Arial,sans-serif;letter-spacing:.035em}
.rachwal-form-field input,.rachwal-form-field textarea,.rachwal-form-field select{width:100%;box-sizing:border-box;min-height:42px;border:0;border-bottom:1px solid #aaa59e;border-radius:0;padding:9px 0;background:transparent;color:var(--ink);font:400 14px/1.5 Arial,sans-serif;outline-offset:3px;appearance:auto}
.rachwal-form-field textarea{resize:vertical;min-height:125px}
.rachwal-form-field input:focus,.rachwal-form-field textarea:focus,.rachwal-form-field select:focus{border-bottom-color:var(--ink);outline:1px solid transparent}
.rachwal-form-field input::placeholder,.rachwal-form-field textarea::placeholder{color:#99958f}
.rachwal-form-submit{align-self:flex-start;border:0;border-bottom:1px solid currentColor;padding:11px 0;background:transparent;color:var(--ink);font:400 11px/1.5 Arial,sans-serif;letter-spacing:.08em;cursor:pointer}
.rachwal-form-submit:hover{opacity:.6}.rachwal-form-message{font:400 14px/1.5 Arial,sans-serif;border-top:1px solid #aaa59e;border-bottom:1px solid #aaa59e;padding:14px 0;margin-bottom:32px}
.rachwal-form-honeypot{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
@media(max-width:690px){.rachwal-contact-intro{grid-template-columns:1fr;gap:38px}.rachwal-contact-image{max-width:390px}.rachwal-form-row{grid-template-columns:1fr;gap:28px}.rachwal-contact-form-wrap{margin-top:80px}}


/* v3.7 — improve readability without changing the editorial grid or image placements. */
body{font-size:16px;line-height:1.6}
.site-name{font-size:13px}
.desktop-nav a{font-size:13px}
.menu-button{font-size:13px}
.eyebrow,
.section-top,.section-top h2,
.opening-side,.editable-home .opening-side p,
.essay-note span,
.last-note,
.rachwal-story-kicker,
.rachwal-footer__label {font-size:12px}
.editor-content{font-size:16px}
.featured-grid span,
.wedding-tile p,
.back-to-portfolio,
.editorial-blocks .contact-link-paragraph a,
.rachwal-closing__story-nav,
.rachwal-vendor-lines,
.rachwal-form-field label,
.rachwal-form-submit{font-size:13px}
.rachwal-footer.site-footer{font-size:13px}
.rachwal-footer__label{font-size:12px}
.rachwal-contact-copy p + p,
.rachwal-contact-details{font:400 16px/1.65 Arial,Helvetica,sans-serif;color:var(--muted)}
.rachwal-contact-details{max-width:460px}
.rachwal-form-field input,
.rachwal-form-field textarea,
.rachwal-form-field select{font-size:16px}
.rachwal-form-message{font-size:16px}
.rachwal-story-embed-hint{font-size:13px}
@media(max-width:600px){
  .site-name{font-size:12px}
  .menu-button{font-size:13px}
  .rachwal-footer.site-footer{font-size:13px}
  .opening-side,.editable-home .opening-side p{font-size:12px}
}

/* v3.8: personal About and calm regional information pages. The original photo grids remain untouched. */
.about-page .rachwal-about-paragraph{font:400 16px/1.65 Arial,Helvetica,sans-serif;color:var(--ink);margin:0 0 1.2em}
.about-page .rachwal-about-location{font:400 14px/1.6 Arial,Helvetica,sans-serif;color:var(--muted);margin:24px 0 0}
.about-page .editorial-blocks .simple-columns .simple-copy{max-width:520px}
.rachwal-information-page{max-width:1380px}
.rachwal-information-page .editor-content{color:var(--ink);font:400 16px/1.65 Arial,Helvetica,sans-serif}
.rachwal-information-page .eyebrow{margin:0;color:var(--muted);font-size:12px}
.rachwal-information-page .rachwal-info-page-title{font:400 clamp(45px,6vw,86px)/1.06 Georgia,serif;letter-spacing:-.045em;margin:24px 0 clamp(24px,3vw,48px)}
.rachwal-information-page .rachwal-info-lead{font:400 clamp(20px,2.3vw,31px)/1.42 Georgia,serif;max-width:760px;margin:0 0 clamp(65px,9vw,130px)}
.rachwal-information-page .rachwal-region-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(30px,6vw,95px);margin:0 0 100px}
.rachwal-information-page .rachwal-region-card{border-top:1px solid #c9c6c0;padding:24px 0 28px}
.rachwal-information-page .rachwal-region-card .eyebrow{font:400 12px/1.5 Arial,sans-serif;color:var(--muted);letter-spacing:.08em}
.rachwal-information-page .rachwal-region-heading{font:400 clamp(31px,3.5vw,49px)/1.13 Georgia,serif;letter-spacing:-.035em;margin:28px 0 18px}
.rachwal-information-page .rachwal-region-summary{font:400 16px/1.7 Arial,sans-serif;max-width:390px;margin:0 0 40px}
.rachwal-information-page .rachwal-text-link,.rachwal-information-page .rachwal-info-bottom-link a{font-size:13px;text-decoration:underline;text-underline-offset:4px}
.rachwal-information-page .rachwal-info-bottom-link{margin:30px 0 0;font:400 17px/1.65 Georgia,serif}
.rachwal-information-page .rachwal-prices{max-width:880px;margin:0 0 clamp(75px,10vw,145px);border-top:1px solid #c9c6c0}
.rachwal-information-page .rachwal-price-row{display:flex;align-items:baseline;justify-content:space-between;gap:25px;padding:29px 0;border-bottom:1px solid #c9c6c0}
.rachwal-information-page .rachwal-price-hours{font:400 15px/1.5 Arial,sans-serif;letter-spacing:.07em;margin:0}
.rachwal-information-page .rachwal-price-amount{font:400 clamp(27px,3.5vw,48px)/1.1 Georgia,serif;margin:0;white-space:nowrap}
.rachwal-information-page .rachwal-info-subheading{font:400 clamp(25px,3vw,39px)/1.2 Georgia,serif;letter-spacing:-.025em;margin:70px 0 14px}
.rachwal-information-page .rachwal-info-body{font:400 17px/1.75 Arial,sans-serif;max-width:700px;margin:0 0 24px}
/* Optional edit-in-place homepage pattern, with side margins even outside photo-essay. */
.editable-home>.wp-block-group.rachwal-home-note,.rachwal-home-note{max-width:1380px!important;box-sizing:border-box;margin:clamp(95px,13vw,200px) auto!important;padding-inline:var(--pad)!important;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(28px,4vw,85px);align-items:start}
.rachwal-home-note>.wp-block-group__inner-container{display:contents}
.rachwal-home-note .rachwal-home-note-visual{padding-top:48px}
.rachwal-home-note .rachwal-home-note-visual img{width:100%;height:auto;max-height:750px;object-fit:cover}
.rachwal-home-note .rachwal-home-note-text{max-width:540px}
.rachwal-home-note .rachwal-home-note-image-b{max-width:100%}
.rachwal-home-note .rachwal-home-note-image-b img{width:100%;height:auto;max-height:440px;object-fit:cover}
.rachwal-home-note .rachwal-home-note-copy{font:400 clamp(15px,1.5vw,18px)/1.7 Georgia,serif;margin:42px 0 44px}
.rachwal-home-note .rachwal-home-note-links{font:italic 400 clamp(21px,3vw,39px)/1.13 Georgia,serif;letter-spacing:-.03em;text-transform:uppercase;margin:0}
.rachwal-home-note .rachwal-home-note-links a{text-decoration:none}
.rachwal-home-note .rachwal-home-note-links a:hover{text-decoration:underline;text-underline-offset:4px}
@media(max-width:690px){
 .rachwal-information-page .rachwal-region-choices{grid-template-columns:1fr;gap:35px}
 .rachwal-information-page .rachwal-price-row{padding:20px 0}
 .rachwal-home-note,.editable-home>.wp-block-group.rachwal-home-note{grid-template-columns:1fr;gap:34px}
 .rachwal-home-note .rachwal-home-note-visual{padding-top:0;max-width:72%}
 .rachwal-home-note .rachwal-home-note-text{max-width:100%}
}
