/* Calm, compact footer directory. Shared links and official brand stay intact. */
html body:not([data-demo-family]) #site-footer.footer-v7{position:relative!important;isolation:isolate;background:linear-gradient(130deg,#0c2533,#091a26)!important;color:#d9edf1!important;padding:48px max(24px,calc((100vw - 1200px)/2)) 24px!important;border-top:1px solid #416575!important;border-radius:24px 24px 0 0!important;margin-top:0!important;overflow:hidden!important}
html body:not([data-demo-family]) #site-footer .footer-v7-directory{display:grid!important;grid-template-columns:minmax(260px,1.6fr) repeat(3,minmax(0,1fr))!important;gap:32px!important;padding:0 0 32px!important;border-bottom:1px solid #345260!important;max-width:1200px!important;margin:auto!important}
html body:not([data-demo-family]) #site-footer .footer-v7-directory>*{min-width:0!important}
html body:not([data-demo-family]) #site-footer .footer-v7-brand .brand-v2{width:max-content!important;display:inline-flex!important;align-items:center!important;gap:12px!important;margin:0 0 18px!important}
html body:not([data-demo-family]) #site-footer .footer-v7-brand .brand-v2 img{width:42px!important;height:34px!important;object-fit:contain!important}
html body:not([data-demo-family]) #site-footer .footer-v7-brand .brand-v2 b{font-size:14px!important;line-height:1.2!important;letter-spacing:.16em!important;color:#edf8fa!important}
html body:not([data-demo-family]) #site-footer .footer-v7-brand p{font-size:14px!important;line-height:1.7!important;color:#bad1da!important;max-width:32ch!important;margin:0 0 18px!important}
html body:not([data-demo-family]) #site-footer .footer-v7-direct{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:4px!important}
html body:not([data-demo-family]) #site-footer .footer-v7-direct a{display:inline-flex!important;align-items:center!important;min-height:44px!important;padding:7px 0!important;color:#d4f4f5!important;font-size:14px!important;line-height:1.4!important;text-transform:none!important;letter-spacing:0!important;overflow-wrap:anywhere!important}
html body:not([data-demo-family]) #site-footer .footer-v7-direct a[href^="mailto"]{font-size:17px!important;font-weight:550!important;border-bottom:1px solid #6ba7b4!important}
html body:not([data-demo-family]) #site-footer .footer-v7-directory nav{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:1px!important;margin:0!important}
html body:not([data-demo-family]) #site-footer .footer-v7-directory nav small{color:#8fb4c2!important;font-size:10px!important;font-weight:650!important;letter-spacing:.14em!important;line-height:1.5!important;margin:0 0 12px!important}
html body:not([data-demo-family]) #site-footer .footer-v7-directory nav a{display:inline-flex!important;align-items:center!important;min-height:44px!important;color:#edf8fa!important;font-size:13px!important;line-height:1.5!important;font-weight:450!important;letter-spacing:0!important;text-transform:none!important;padding:6px 0!important;border:0!important}
html body:not([data-demo-family]) #site-footer a:hover{text-decoration:underline!important;text-underline-offset:5px!important;color:#b2edf0!important}
html body:not([data-demo-family]) #site-footer a:focus-visible{outline:2px solid #b2edf0!important;outline-offset:5px!important;border-radius:3px!important}
html body:not([data-demo-family]) #site-footer .footer-v7-bottom{display:flex!important;justify-content:space-between!important;align-items:center!important;flex-wrap:wrap!important;gap:12px 24px!important;max-width:1200px!important;margin:0 auto!important;padding:20px 0 0!important;border:0!important;font-size:11px!important;line-height:1.6!important;color:#a7c3ce!important}
html body:not([data-demo-family]) #site-footer .footer-v7-bottom>*{margin:0!important;font-size:11px!important;letter-spacing:0!important;line-height:1.6!important;text-transform:none!important;max-width:100%!important}
html body:not([data-demo-family]) #site-footer .footer-v7-bottom a{display:inline-flex!important;min-height:44px!important;align-items:center!important;color:#d4f4f5!important}
@media(max-width:1000px){html body:not([data-demo-family]) #site-footer .footer-v7-directory{grid-template-columns:repeat(3,minmax(0,1fr))!important}html body:not([data-demo-family]) #site-footer .footer-v7-brand{grid-column:1/-1!important}html body:not([data-demo-family]) #site-footer .footer-v7-brand p{max-width:55ch!important}html body:not([data-demo-family]) #site-footer .footer-v7-direct{flex-direction:row!important;flex-wrap:wrap!important;gap:8px 26px!important}}
@media(max-width:560px){html body:not([data-demo-family]) #site-footer.footer-v7{padding:34px 24px 18px!important;border-radius:18px 18px 0 0!important}html body:not([data-demo-family]) #site-footer .footer-v7-directory{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:26px 18px!important;padding-bottom:24px!important}html body:not([data-demo-family]) #site-footer .footer-v7-direct{flex-direction:column!important;gap:0!important}html body:not([data-demo-family]) #site-footer .footer-v7-connect{grid-column:1/-1!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:0 18px!important}html body:not([data-demo-family]) #site-footer .footer-v7-connect small{grid-column:1/-1!important;margin-bottom:6px!important}html body:not([data-demo-family]) #site-footer .footer-v7-bottom{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:8px!important;padding-top:20px!important}}
/* The old media frame ratio excluded the new caption from flow, covering thumbnails. */
html body:not([data-demo-family]) #main-content:not(#type425a):not(#type425b):not(#type425c):not(#type425d):not(#type425e):not(#type425f) .vk-case-media-frame{aspect-ratio:auto!important;height:auto!important;max-height:none!important;min-height:0!important}
