/* Portfolio layout with the original approved photographs. */
body.stmr-works-view{background:#080808 var(--stmr-ce-works-background_1,url('../contacts/stone-restored.webp')) center top/1500px auto repeat-y;color:#f8f4e9;font-family:Georgia,'Times New Roman',serif}
body.stmr-works-view .site-header{position:relative;background:transparent;border-bottom:2px solid #d1a74e;box-shadow:none}
body.stmr-works-view .site-header>.wrap{width:calc(100% - 100px);max-width:1280px}
body.stmr-works-view .header-inner{min-height:108px;gap:40px;padding:12px 0}
body.stmr-works-view .brand{gap:0;padding-right:36px;border-right:1px solid #9c7b49;letter-spacing:0}
body.stmr-works-view .brand-monument{display:none}
body.stmr-works-view .brand-name{font:400 66px/1 Georgia,serif;letter-spacing:0;color:#e9c581;background:linear-gradient(#fff0c6,#c08c42);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent}
body.stmr-works-view .brand small{font:400 12px/1.5 Arial,sans-serif;letter-spacing:.035em;margin-top:9px;color:#f5efdf;text-transform:uppercase;white-space:nowrap}
body.stmr-works-view .main-nav>ul{gap:40px}
body.stmr-works-view .main-nav a,body.stmr-works-view .main-nav summary{font:600 21px/1.4 Arial,sans-serif;letter-spacing:0}

body.stmr-works-view .stmr-works-approved{background:none;padding:32px 0 42px;min-height:0}
body.stmr-works-view .stmr-works-wrap{width:calc(100% - 48px);max-width:1280px}
body.stmr-works-view .stmr-works-heading{margin:0 0 32px}
body.stmr-works-view .stmr-works-heading h1{display:flex;align-items:center;justify-content:center;gap:28px;font:700 clamp(38px,5.05vw,68px)/1.13 Georgia,serif;letter-spacing:0;margin:0 0 18px}
body.stmr-works-view .stmr-works-heading h1:before,body.stmr-works-view .stmr-works-heading h1:after{content:'';height:3px;flex:1;max-width:190px;background:linear-gradient(90deg,transparent,#b38739,#fff4b6,#cb9d44,transparent)}
body.stmr-works-view .stmr-works-heading p{font:400 clamp(19px,2.15vw,29px)/1.35 Georgia,serif;margin:0}
body.stmr-works-view .stmr-works-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
body.stmr-works-view .stmr-works-tile{display:block;aspect-ratio:2.12;border:1px solid #d3aa60;border-radius:15px;overflow:hidden;background:#141411}
body.stmr-works-view .stmr-works-tile img{display:block;width:100%;height:100%;object-fit:cover;transform:none;transition:none}
body.stmr-works-view .stmr-works-tile:nth-child(2) img,body.stmr-works-view .stmr-works-tile:nth-child(6) img{object-position:center 30%}
/* The last source pair includes a strip from the preceding row at its top. */
body.stmr-works-view .stmr-works-tile:nth-child(9) img,body.stmr-works-view .stmr-works-tile:nth-child(10) img{object-position:center bottom}
body.stmr-works-view .stmr-works-more{border:0;margin:36px 0 0;padding:0}
body.stmr-works-view .stmr-works-ornament{display:flex;align-items:center;justify-content:center;gap:25px;color:#edc458;max-width:900px;margin:0 auto 20px}
body.stmr-works-view .stmr-works-ornament:before,body.stmr-works-view .stmr-works-ornament:after{content:'';flex:1;height:3px;background:linear-gradient(90deg,transparent,#a77b30,#fff4b6,transparent)}
body.stmr-works-view .stmr-works-ornament svg{display:block;width:70px;height:70px;flex:none}
body.stmr-works-view .stmr-works-more h2{font:700 clamp(32px,4.1vw,57px)/1.2 Georgia,serif;margin:0 0 28px;letter-spacing:0}
body.stmr-works-view .stmr-works-actions{display:flex;justify-content:center;gap:30px;max-width:900px;margin:auto}
body.stmr-works-view .stmr-works-actions a{display:flex;align-items:center;justify-content:center;flex:1;min-width:0;min-height:83px;gap:20px;padding:16px 22px;border:2px solid #e7b44e;border-radius:15px;font:700 28px/1.2 Arial,sans-serif;letter-spacing:0;text-decoration:none}
body.stmr-works-view .stmr-works-actions a svg{display:block;width:46px;height:46px;flex:none}
body.stmr-works-view .stmr-works-max{background:linear-gradient(#ffdf88,#e8ab3b);color:#0b0b08}
body.stmr-works-view .stmr-works-vk{background:#080808;color:#fff}
body.stmr-works-view .stmr-works-lightbox img{max-width:calc(100vw - 120px);max-height:calc(100dvh - 100px);object-fit:contain}
body.stmr-works-view .stmr-works-lightbox button{min-width:44px;min-height:44px}
body.stmr-works-view .stmr-works-tile:focus-visible,body.stmr-works-view .stmr-works-actions a:focus-visible{outline:3px solid #ffe8a2;outline-offset:4px}
@media(min-width:1101px) and (max-width:1250px){body.stmr-works-view .main-nav>ul{gap:28px}body.stmr-works-view .main-nav a,body.stmr-works-view .main-nav summary{font-size:18px}body.stmr-works-view .brand-name{font-size:55px}body.stmr-works-view .brand small{font-size:10px}}
@media(max-width:1100px){body.stmr-works-view .site-header{z-index:1000}body.stmr-works-view .site-header>.wrap{width:calc(100% - 48px)}body.stmr-works-view .header-inner{min-height:98px;padding:15px 0}body.stmr-works-view .brand{border:0;padding:0}body.stmr-works-view .brand-name{font-size:48px}body.stmr-works-view .brand small{font-size:10px}body.stmr-works-view .main-nav a,body.stmr-works-view .main-nav summary{font-size:22px}}
@media(max-width:700px){body.stmr-works-view .stmr-works-gallery{grid-template-columns:1fr;gap:14px}body.stmr-works-view .stmr-works-actions{flex-direction:column;gap:15px}body.stmr-works-view .stmr-works-actions a{width:100%;min-height:64px;padding:12px 15px;font-size:23px;gap:16px;border-radius:12px}body.stmr-works-view .stmr-works-actions a svg{width:38px;height:38px}body.stmr-works-view .stmr-works-lightbox{padding:65px 12px}body.stmr-works-view .stmr-works-lightbox img{max-width:calc(100vw - 24px);max-height:calc(100dvh - 140px)}body.stmr-works-view .stmr-works-lightbox-prev,body.stmr-works-view .stmr-works-lightbox-next{top:auto;bottom:12px}body.stmr-works-view .stmr-works-lightbox-prev{left:calc(50% - 60px)}body.stmr-works-view .stmr-works-lightbox-next{right:calc(50% - 60px)}}
@media(max-width:600px){body.stmr-works-view .site-header>.wrap,body.stmr-works-view .stmr-works-wrap{width:calc(100% - 32px)}body.stmr-works-view .header-inner{min-height:91px;gap:14px}body.stmr-works-view .brand-name{font-size:41px}body.stmr-works-view .brand small{font-size:8px;margin-top:5px}body.stmr-works-view .stmr-works-approved{padding:25px 0 30px}body.stmr-works-view .stmr-works-heading{margin-bottom:25px}body.stmr-works-view .stmr-works-heading h1{font-size:36px;gap:12px;margin-bottom:14px}body.stmr-works-view .stmr-works-heading h1:before,body.stmr-works-view .stmr-works-heading h1:after{height:2px}body.stmr-works-view .stmr-works-heading p{font-size:19px;line-height:1.4}body.stmr-works-view .stmr-works-tile{border-radius:11px}body.stmr-works-view .stmr-works-more{margin-top:28px}body.stmr-works-view .stmr-works-ornament{gap:17px;margin-bottom:18px}body.stmr-works-view .stmr-works-ornament svg{width:56px;height:56px}body.stmr-works-view .stmr-works-more h2{font-size:33px;margin-bottom:24px}}

/* Correct the embedded left strip in the five original right-column previews. */
body.stmr-works-view .stmr-works-tile[data-stmr-original="1"]:nth-child(even) img{position:relative;left:-2%;width:102%;max-width:none}
