﻿.stl{box-sizing:border-box;color:#42234f;text-align:center;padding:32px 18px;max-width:640px;margin:auto;font-family:Montserrat,sans-serif}.stl h2{font-family:Cinzel,serif!important;font-size:clamp(22px,4vw,30px)!important;font-weight:500;line-height:1.3;margin:0 0 14px;color:#42234f!important}.stl p{font-family:Montserrat,sans-serif!important;font-size:14px!important;line-height:1.8;margin:0 auto 22px;max-width:490px;color:#42234f!important}.stl .stl-camera{display:inline-flex;align-items:center;justify-content:center;width:60px;height:60px;border:1px solid #42234f;border-radius:50%;color:#42234f;text-decoration:none}.stl-camera svg{width:28px;height:28px}.stl .stl-camera:hover,.stl button:hover{background:#42234f;color:white}.stl a:focus-visible,.stl button:focus-visible,.stl input:focus-visible{outline:3px solid #42234f;outline-offset:4px}.stl-gallery{max-width:1000px}.stl form{max-width:510px;margin:24px auto}.stl label{display:block;font-size:14px}.stl input[type=file]{display:block;max-width:100%;margin:14px auto;color:#42234f;font-size:13px}.stl button{background:transparent;border:1px solid #42234f;border-radius:24px;color:#42234f;padding:12px 24px;font:500 14px Montserrat,sans-serif;cursor:pointer}.stl .stl-help{font-size:12px!important}.stl-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:24px 0}.stl-grid img{width:100%;height:230px;object-fit:cover;display:block;border-radius:4px}.stl nav a,.stl nav span{display:inline-block;padding:10px;color:#42234f}@media(max-width:480px){.stl{padding:26px 16px}.stl h2{font-size:22px!important}.stl p{font-size:13px!important;line-height:1.75}.stl-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.stl-grid img{height:160px}}
body.wmg-gallery-page,body.wmg-gallery-page .site,body.wmg-gallery-page .site-content,body.wmg-gallery-page main,body.wmg-gallery-page article,body.wmg-gallery-page .entry-content{background-color:#E6D9ED!important}
.stl-gallery{background:#E6D9ED;max-width:100%;min-height:60vh;padding:48px 22px}.stl-gallery h2{max-width:760px;margin:0 auto 28px;font-size:clamp(20px,3.2vw,28px)!important;line-height:1.5}.stl-gallery form{margin:0 auto 30px}.stl-gallery .wmg-upload-button{position:relative;display:inline-flex;align-items:center;justify-content:center;overflow:hidden;min-height:46px;padding:10px 26px;background:#42234f;color:white;border:1px solid #42234f;border-radius:26px;cursor:pointer;font:500 14px Montserrat,sans-serif}.stl-gallery .wmg-upload-button:hover{background:#593268}.stl-gallery .wmg-upload-button:focus-within{outline:3px solid #42234f;outline-offset:4px}.stl-gallery input.wmg-file{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer;font-size:16px}.stl-gallery .wmg-upload-status:empty{display:none}.stl-gallery .wmg-upload-status{margin-top:16px}.stl-gallery .stl-grid{max-width:1100px;margin:28px auto;grid-template-columns:repeat(3,minmax(0,1fr))}@media(max-width:480px){.stl-gallery{padding:32px 16px}.stl-gallery h2{font-size:20px!important}.stl-gallery .stl-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Refined ivory gallery */
body.wmg-gallery-page,body.wmg-gallery-page .site,body.wmg-gallery-page .site-content,body.wmg-gallery-page main,body.wmg-gallery-page article,body.wmg-gallery-page .entry-content{background-color:#FAF8F4!important}
.stl.stl-gallery{background:#FAF8F4;padding:72px 28px 80px;color:#42234F;min-height:65vh}
.stl-gallery h2{max-width:680px;margin:0 auto 26px;font-size:clamp(20px,2.5vw,29px)!important;line-height:1.65;font-weight:500;letter-spacing:.035em;text-wrap:balance}
.stl-gallery h2:before{content:'';display:block;width:48px;height:1px;background:#B5A58C;margin:0 auto 28px}
.stl-gallery form{margin:0 auto 48px}
.stl-gallery .wmg-upload-button{background:transparent;color:#42234F;border:1px solid #A99BAF;border-radius:2px;min-height:46px;padding:12px 30px;font-size:12px;letter-spacing:.13em;text-transform:uppercase;transition:background .2s,border-color .2s}
.stl-gallery .wmg-upload-button:hover{background:#EEE9EF;border-color:#42234F}
.stl-gallery .stl-grid{max-width:1120px;gap:20px;margin:36px auto}
.stl-gallery .stl-grid a{display:block;padding:7px;background:#FFF;border:1px solid #E8E2D9;box-shadow:0 3px 12px #30203508}
.stl-gallery .stl-grid img{border-radius:0;height:auto;aspect-ratio:4/5;object-fit:cover}
.stl-gallery nav{margin-top:30px;font-size:13px}
@media(max-width:480px){.stl.stl-gallery{padding:42px 18px 50px}.stl-gallery h2{font-size:20px!important;line-height:1.6;letter-spacing:.015em}.stl-gallery h2:before{margin-bottom:22px;width:36px}.stl-gallery form{margin-bottom:30px}.stl-gallery .stl-grid{gap:12px}.stl-gallery .stl-grid a{padding:4px}.stl-gallery .wmg-upload-button{font-size:11px;padding:12px 24px}}
/* 1.3: isolated heading treatment, protected from theme typography */
.stl.stl-gallery.wmg-elegant{padding:42px 22px 60px;background:#FAF8F4;color:#392344}
.wmg-elegant .wmg-heading-panel{position:relative;box-sizing:border-box;max-width:850px;margin:0 auto 38px;padding:44px 36px 36px;border:1px solid #D6CCBD;outline:1px solid #E5DED3;outline-offset:-8px;background:linear-gradient(135deg,#FFFFFF70,transparent 55%)}
.wmg-elegant .wmg-ornament{display:flex;align-items:center;justify-content:center;gap:17px;color:#9C8968;margin:0 auto 20px}
.wmg-elegant .wmg-ornament span{display:block;width:62px;height:1px;background:#C7B89E}
.wmg-elegant .wmg-ornament svg{width:48px;height:36px}
.stl.stl-gallery.wmg-elegant h2.wmg-title{font-family:'Cinzel',Georgia,serif!important;color:#392344!important;font-size:clamp(22px,3vw,34px)!important;line-height:1.55!important;letter-spacing:.025em!important;text-transform:none!important;margin:0 auto 26px!important;font-weight:500!important;max-width:700px;text-shadow:none!important}
.wmg-elegant h2.wmg-title:before,.wmg-elegant h2.wmg-title:after{display:none!important}
.wmg-elegant .wmg-title span{display:block;font-family:'Cinzel',Georgia,serif!important;color:#392344!important;font-weight:500!important}
.wmg-elegant .wmg-title-second{font-size:.8em;letter-spacing:.045em}
.wmg-elegant form{margin:0 auto!important}
.stl.wmg-elegant .wmg-upload-button{gap:12px;border:1px solid #392344;border-radius:2px;padding:14px 28px;min-height:48px;font-size:11px;letter-spacing:.14em;box-shadow:0 4px 12px #39234416}
.wmg-elegant .wmg-upload-button svg{width:21px;height:21px;flex-shrink:0}
.wmg-elegant .wmg-upload-button:hover{filter:brightness(1.2)}
.wmg-elegant>p{font-size:12px!important;color:#66586B!important;max-width:400px;margin:22px auto}
.wmg-elegant .stl-grid:empty{display:none}
@media(max-width:480px){.stl.stl-gallery.wmg-elegant{padding:24px 14px 38px}.wmg-elegant .wmg-heading-panel{padding:30px 18px 28px;margin-bottom:26px}.stl.stl-gallery.wmg-elegant h2.wmg-title{font-size:22px!important;line-height:1.6!important}.wmg-elegant .wmg-title-second{font-size:.78em}.wmg-elegant .wmg-ornament{margin-bottom:16px}.wmg-elegant .wmg-ornament span{width:38px}.stl.wmg-elegant .wmg-upload-button{padding:12px 22px}}
/* Explicit text-fill protection for themes that paint text separately from color. */
.stl.wmg-elegant .wmg-heading-panel h2.wmg-title,.stl.wmg-elegant .wmg-heading-panel h2.wmg-title span{color:#392344!important;-webkit-text-fill-color:#392344!important;font-family:'Cinzel',Georgia,serif!important;font-style:normal!important}
.stl.wmg-elegant .wmg-upload-button,.stl.wmg-elegant .wmg-upload-button svg{color:#fff!important;-webkit-text-fill-color:#fff!important}
.wmg-elegant .wmg-heading-panel{padding-top:40px}
