.sg-designs{background:#f6f6f4;scroll-margin-top:6rem;color:var(--ink,#142546)}
.sg-designs .sg-top{display:flex;align-items:end;justify-content:space-between;gap:1.5rem;flex-wrap:wrap;margin-bottom:1.5rem}
.sg-designs h2{margin:.25rem 0 .5rem;font:600 clamp(1.8rem,3.2vw,3rem)/1.12 var(--font-display,system-ui);letter-spacing:-.035em}
.sg-designs .sg-intro{max-width:64ch;margin:0;color:#425068;line-height:1.55}
.sg-controls{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap}.sg-controls label{font-weight:600}
.sg-controls select,.sg-more,.sg-close,.sg-arrow{font:inherit;color:#1c3154;border:1px solid #abb7c5;background:white;border-radius:.45rem;min-height:44px;padding:.48rem .9rem;cursor:pointer}
.sg-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(.75rem,1.7vw,1.6rem)}
.sg-cards figure{margin:0;min-width:0;background:white;border:1px solid #dce0e4;border-radius:.6rem;overflow:hidden}
.sg-cards figure>a{display:block;cursor:zoom-in}
.sg-cards img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:contain;background:#e9e7e4}
.sg-cards figcaption{padding:.72rem .85rem .85rem;line-height:1.32}
.sg-cards h3{font:600 clamp(.94rem,1.12vw,1.11rem)/1.3 var(--font-display,system-ui);margin:0 0 .25rem;color:#192b47}
.sg-cards .sg-detail{display:block;color:#516078;font-size:.89rem}.sg-cards a:focus-visible,.sg-controls select:focus-visible,.sg-more:focus-visible,.sg-dialog button:focus-visible{outline:3px solid #7355bd;outline-offset:-3px}
.sg-foot{display:flex;align-items:center;justify-content:center;gap:1rem;margin-top:1.35rem}
.sg-count{font-size:.94rem;color:#43516a}.sg-more{font-weight:650;background:#1c3154;color:white;border-color:#1c3154}
.sg-designs [hidden],.sg-dialog[hidden]{display:none!important}
.sg-dialog{box-sizing:border-box;border:0;background:white;border-radius:.8rem;color:#192b47;padding:0;width:min(900px,94vw);max-height:92vh;max-height:92dvh;overflow:auto}
.sg-dialog::backdrop{background:#101c2acf}.sg-dialog .sg-frame{position:relative;background:#e6e4e1}
.sg-dialog img{display:block;width:100%;height:auto;max-height:64vh;object-fit:contain}
.sg-close{position:absolute;right:.75rem;top:.75rem;font-weight:650}.sg-dialog-body{padding:.9rem 1.2rem 1.1rem}.sg-dialog-body h3{margin:0;font-size:1.3rem}.sg-dialog-body p{margin:.28rem 0 .75rem}
.sg-dialog-nav{display:flex;gap:.45rem;align-items:center;flex-wrap:wrap}.sg-dialog-nav a{margin-left:auto;font-weight:650;color:#263d76;text-decoration:underline;text-underline-offset:.18em}.sg-arrow{font-size:1.1rem;min-width:44px}
@media(max-width:1050px){.sg-cards{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:720px){.sg-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.sg-designs .sg-top{gap:.8rem}.sg-cards figcaption{padding:.55rem .55rem .68rem}.sg-dialog-body{padding:.8rem}.sg-dialog-nav a{font-size:.94rem}}
@media(max-width:350px){.sg-cards{grid-template-columns:1fr}}
