/* Галерија фотографија Вики воли споменике Србија — V8.11 */
#main.wlm-gallery-main{background:#fff;color:#2b2730;font-size:17px;line-height:1.67}
.wlm-gallery-main .wlm-gallery-wide{max-width:1290px;margin-inline:auto;padding-left:22px;padding-right:22px}
.wlm-gallery-main p{font-size:17px;line-height:1.72}
.wlm-gallery-intro{padding:135px 0 64px;background:#faf8f8;border-bottom:1px solid #eee7e8}
.wlm-gallery-crumb{display:flex;align-items:center;gap:11px;color:#70666d;margin-bottom:34px;font-size:14px}
.wlm-gallery-crumb a{color:#76656c;text-decoration:none}.wlm-gallery-crumb a:hover{color:#a22742}
.wlm-gallery-kicker{color:#9d2948;font-size:13px!important;font-weight:750!important;letter-spacing:.095em;text-transform:uppercase;margin:0 0 12px}
.wlm-gallery-intro h1{font-size:clamp(34px,4vw,54px);letter-spacing:-.035em;line-height:1.13;color:#25202a;font-weight:750;margin:0 0 23px}
.wlm-gallery-lead{max-width:920px;color:#55505a;font-size:19px!important;line-height:1.72!important;margin-bottom:25px}
.wlm-gallery-intro-actions{display:flex;flex-wrap:wrap;gap:14px}
.wlm-gallery-btn-primary,.wlm-gallery-btn-secondary{display:inline-flex;align-items:center;justify-content:center;gap:12px;padding:13px 19px;border-radius:5px;font-size:16px;font-weight:650;text-decoration:none!important;transition:background-color .15s ease,transform .15s ease}
.wlm-gallery-btn-primary{background:#a22742;color:#fff!important}.wlm-gallery-btn-primary:hover{background:#861f36;transform:translateY(-1px)}
.wlm-gallery-btn-secondary{color:#96233d!important;border:1px solid #ba8995;background:#fff}.wlm-gallery-btn-secondary:hover{background:#f8ebee}
.wlm-gallery-section{padding:65px 0 80px}
.wlm-gallery-head{display:flex;justify-content:space-between;align-items:end;gap:30px;margin-bottom:30px}
.wlm-gallery-head h2{font-size:32px;line-height:1.22;font-weight:720;color:#26212c;margin:0 0 12px}
.wlm-gallery-head p:not(.wlm-gallery-kicker){margin:0;max-width:780px;color:#615960}
.wlm-gallery-count{border:1px solid #ebdfe2;border-radius:50px;background:#faf6f7;color:#91263e;padding:8px 15px;font-size:14px;white-space:nowrap}
.wlm-photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 22px;align-items:stretch}
.wlm-photo-card{min-width:0;border:1px solid #e7e3e4;border-radius:7px;overflow:hidden;background:#fff;transition:box-shadow .15s}
.wlm-photo-card:hover{box-shadow:0 9px 28px rgba(44,20,33,.08)}
.wlm-photo-card figure{margin:0;height:100%;display:flex;flex-direction:column}
.wlm-photo-open{background:#f0eeee;border:0;position:relative;display:block;width:100%;padding:0;text-align:center;cursor:zoom-in}
.wlm-photo-media{height:262px;display:flex;justify-content:center;align-items:center;padding:12px;overflow:hidden}
.wlm-photo-media img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;display:block}
.wlm-photo-zoom{position:absolute;right:13px;bottom:12px;display:inline-flex;padding:8px 10px;color:#fff;background:#752039b8;border-radius:5px;font-size:15px}
.wlm-photo-open:focus-visible{outline:3px solid #a22742;outline-offset:-3px}
.wlm-photo-content{display:flex;flex:1;flex-direction:column;padding:18px 18px 20px}
.wlm-photo-content h3{font-size:19px;line-height:1.32;font-weight:700;color:#292531;margin:0 0 11px}
.wlm-photo-credit{display:block;color:#5b555a;font-size:14px;line-height:1.62;margin-bottom:9px}
.wlm-photo-credit a{color:#8d2540;text-decoration:underline;text-underline-offset:3px}
.wlm-photo-source{display:block;font-size:14px;color:#8f2440;font-weight:600;text-decoration:none;margin-top:auto;line-height:1.45}
.wlm-photo-source:hover{text-decoration:underline;color:#75192f}
.wlm-gallery-note{display:flex;gap:11px;background:#f8f6f6;border-left:3px solid #a22742;padding:17px 20px;margin:31px 0 0;color:#57515a;font-size:15px!important}
.wlm-gallery-note i{color:#a22742;flex:none;margin-top:4px}
.wlm-gallery-cta{background:#f8f4f5;padding:54px 0;border-top:1px solid #eee3e6}
.wlm-gallery-cta>.container{display:flex;align-items:center;justify-content:space-between;gap:45px}
.wlm-gallery-cta h2{font-weight:720;color:#28222c;font-size:30px;margin:0 0 12px;line-height:1.24}
.wlm-gallery-cta p:last-child{color:#57525b;margin-bottom:0}
.wlm-gallery-cta .wlm-gallery-btn-primary{flex:none}
.wlm-gallery-dialog{border:0;border-radius:8px;padding:0;width:min(1100px,94vw);max-height:94vh;box-shadow:0 15px 70px #0009;position:fixed;inset:0;margin:auto;color:#25212b}
.wlm-gallery-dialog::backdrop{background:rgba(20,17,21,.85)}
.wlm-dialog-inner{position:relative;background:#fff;display:flex;flex-direction:column;max-height:94vh}
.wlm-dialog-close{position:absolute;right:12px;top:10px;background:#a22742;color:#fff;border:0;border-radius:4px;width:42px;height:42px;z-index:1;cursor:pointer}
.wlm-dialog-stage{height:min(70vh,730px);background:#201d21;display:flex;align-items:center;justify-content:center;padding:16px}
.wlm-dialog-stage img{max-width:100%;max-height:100%;object-fit:contain;display:block}
.wlm-dialog-footer{padding:14px 24px 18px;display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}
.wlm-dialog-footer p{font-size:17px;margin:0;font-weight:650}
.wlm-dialog-footer a{font-size:14px;color:#a22742;text-decoration:none;font-weight:650}
/* Keep footer copyright on the same burgundy surface; never a contrasting box. */
#footer .copyright{background:transparent!important;box-shadow:none!important;border:0!important;outline:0!important}
#footer>.container{background:transparent!important}
@media(max-width:1100px){.wlm-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.wlm-photo-media{height:260px}}
@media(max-width:700px){.wlm-gallery-intro{padding:104px 0 45px}.wlm-gallery-crumb{margin-bottom:24px}.wlm-gallery-intro h1{font-size:34px}.wlm-gallery-lead{font-size:17px!important}.wlm-gallery-section{padding:43px 0 55px}.wlm-gallery-head{display:block}.wlm-gallery-count{display:inline-block;margin-top:15px}.wlm-gallery-head h2{font-size:27px}.wlm-photo-grid{grid-template-columns:1fr;gap:20px}.wlm-photo-media{height:265px}.wlm-photo-content h3{font-size:19px}.wlm-gallery-cta>.container{display:block}.wlm-gallery-cta h2{font-size:26px}.wlm-gallery-cta .wlm-gallery-btn-primary{margin-top:22px}.wlm-dialog-stage{height:55vh}.wlm-dialog-footer{padding:13px 17px}}
@media(prefers-reduced-motion:reduce){.wlm-photo-card,.wlm-gallery-btn-primary{transition:none}}
