
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,Arial,sans-serif;color:#153b63;background:#fff}a{text-decoration:none;color:inherit}.container{width:min(1180px,calc(100% - 40px));margin:auto}.top{min-height:105px;display:flex;align-items:center;gap:30px}.brand{display:flex;align-items:center;gap:14px}.logo{width:96px;height:82px;object-fit:contain;display:block}.brand b{font-size:19px;line-height:1.1}.brand small{display:block;color:#718398;font-size:10px;line-height:1.35;margin-top:5px}.contact-head{margin-left:auto;text-align:center}.contact-head strong{display:block;color:#075eaa;font-size:19px}.contact-head small{color:#718398;font-size:11px}.btn{background:#09538f;color:#fff;border:0;border-radius:8px;padding:13px 20px;font-weight:800;cursor:pointer}.btn:hover{background:#073e6c}nav{border-top:1px solid #e5edf4;border-bottom:1px solid #e5edf4}.nav{display:flex;gap:22px;align-items:center;min-height:52px;overflow:auto}.nav a{font-size:12px;font-weight:800;white-space:nowrap}.nav a:hover{color:#087aca}.search{margin-left:auto;border:0;background:none;font-size:24px;cursor:pointer}.searchbar{display:none;background:#f1f7fb;padding:12px}.searchbar.show{display:block}.searchbar .container{display:flex}.searchbar input{flex:1;padding:12px;border:1px solid #ccd9e5;border-radius:7px 0 0 7px}.searchbar button{border:0;background:#09538f;color:white;padding:0 18px;border-radius:0 7px 7px 0}.hero{background:linear-gradient(110deg,#edf8ff,#cfeafb)}.hero-grid{min-height:410px;display:grid;grid-template-columns:1fr 1fr;align-items:center}.kicker{font-size:11px;color:#0b79c8;font-weight:900;letter-spacing:.1em}.hero h1,.page-hero h1{font-size:43px;line-height:1.08;margin:13px 0 18px}.hero p,.page-hero p{font-size:16px;line-height:1.65;color:#506b85;max-width:650px}.hero-art{height:410px;position:relative;overflow:hidden}.sun{position:absolute;width:150px;height:150px;border-radius:50%;background:#fff8;right:18%;top:45px}.tower{position:absolute;bottom:45px;left:25%;width:105px;height:230px;background:#e5f0f7;border:4px solid #9db9cd}.tower:before{content:'';position:absolute;top:-48px;left:-5px;border-left:55px solid transparent;border-right:55px solid transparent;border-bottom:48px solid #e5f0f7}.tower:after{content:'';position:absolute;left:38px;top:-72px;width:5px;height:27px;background:#8ba6b8}.arch{position:absolute;right:3%;bottom:45px;width:210px;height:200px;border:16px solid #9c7040;border-bottom:0;border-radius:110px 110px 0 0;opacity:.75}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-top:-38px;position:relative}.card{background:#fff;padding:25px;border-radius:15px;box-shadow:0 12px 35px #143d5e18;border:1px solid #edf2f6;min-height:190px}.card>span{font-size:28px;color:#087dcc}.card h2{font-size:17px;margin:13px 0 9px}.card p{color:#63778d;font-size:13px;line-height:1.5}.policy{margin-top:38px;padding:28px 32px;background:#eaf6fd;border-radius:14px;display:grid;grid-template-columns:1fr 1.4fr 1fr;gap:28px;align-items:center}.policy h2{margin:8px 0}.policy p{color:#63778d}.form-row{display:grid;grid-template-columns:1fr auto;gap:8px}.form-row input,.filters input,.filters select{padding:14px;border:1px solid #cddae6;border-radius:7px;background:#fff}.form-row small{grid-column:1/-1;color:#087dcc}.section{padding:55px 0}.section-title{display:flex;justify-content:space-between;align-items:center}.section h2{font-size:28px}.section-title a{color:#087dcc;font-weight:800;font-size:13px}.service-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.service-grid a,.tiles a{padding:25px;border:1px solid #e4ecf3;border-radius:13px;font-weight:800;box-shadow:0 5px 18px #12345b09}.news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.news-grid article,.news-list article{border:1px solid #e4ecf3;border-radius:13px;padding:23px}.news-grid small,.news-list small{color:#8292a3}.news-grid h3{min-height:55px}.news-grid a,.news-list a{color:#087dcc;font-weight:800;font-size:13px}.page-hero{background:#eef8fd;padding:58px 0}.page-hero h1{font-size:40px}.content-grid{display:grid;grid-template-columns:2fr 1fr;gap:50px}.main-content h2{margin-top:0;padding-top:10px}.main-content p{color:#536d86;line-height:1.75}.content-grid aside{background:#f5f9fc;border-radius:13px;padding:22px;height:max-content}.content-grid aside h3{margin-top:0}.content-grid aside a{display:block;padding:13px 0;border-bottom:1px solid #dfe8ef;color:#176aa4}.notice{padding:20px;background:#eef8fd;border-left:4px solid #1594df;margin:25px 0}.tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.tiles a{min-height:100px}.filters{display:flex;gap:10px;margin-bottom:20px}.filters input{flex:1}.doc-list{border-top:1px solid #e4ecf3}.doc-list a{display:flex;justify-content:space-between;padding:20px 5px;border-bottom:1px solid #e4ecf3}.doc-list span{color:#087dcc;font-size:12px}.registry-tabs{display:flex;gap:8px;margin-bottom:20px}.registry-tabs button{padding:12px 18px;border:1px solid #d8e3ec;background:#fff;border-radius:8px;cursor:pointer}.registry-tabs .active{background:#09538f;color:#fff}.table{border:1px solid #dfe8ef;border-radius:10px;overflow:hidden}.tr{display:grid;grid-template-columns:2fr 1fr 1fr;padding:16px;border-bottom:1px solid #e4ecf3}.tr:last-child{border:0}.head{font-weight:800;background:#f5f9fc}.ok{color:#16845e;font-weight:800}.news-list{display:grid;gap:15px}.news-list h2{margin-bottom:8px}.news-list p{color:#60758b;line-height:1.6}.contact-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.contact-box{padding:25px;border:1px solid #e2eaf1;border-radius:13px}.contact-box strong{font-size:23px;color:#087dcc}.contact-box p{line-height:1.7;color:#60758b}footer{background:#073f78;color:#dceafa;padding-top:45px}.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:30px}.footer-grid h3{color:#fff;font-size:14px}.footer-grid p{font-size:12px;line-height:1.7;color:#bdd1e2}.copyright{border-top:1px solid #2b6595;padding:18px 0;margin-top:35px;font-size:11px;color:#a9c1d6}.modal{display:none;position:fixed;inset:0;background:#08294599;align-items:center;justify-content:center;z-index:20;padding:20px}.modal.show{display:flex}.modal-box{background:#fff;padding:30px;border-radius:15px;max-width:500px;width:100%;position:relative}.x{position:absolute;right:15px;top:10px;border:0;background:none;font-size:28px;cursor:pointer}.modal label{display:block;font-size:12px;font-weight:800;margin:12px 0}.modal input,.modal textarea{display:block;width:100%;margin-top:5px;padding:11px;border:1px solid #ccd9e5;border-radius:6px}.modal textarea{height:90px}@media(max-width:900px){.contact-head{display:none}.hero-grid{grid-template-columns:1fr}.hero-art{display:none}.cards,.tiles{grid-template-columns:repeat(2,1fr)}.policy{grid-template-columns:1fr}.service-grid{grid-template-columns:repeat(2,1fr)}.content-grid{grid-template-columns:1fr}.contact-grid,.footer-grid{grid-template-columns:1fr 1fr}}@media(max-width:600px){.container{width:calc(100% - 28px)}.top{min-height:85px}.brand small{display:none}.cards,.tiles,.service-grid,.news-grid,.contact-grid,.footer-grid{grid-template-columns:1fr}.hero h1,.page-hero h1{font-size:34px}.form-row,.filters{grid-template-columns:1fr;display:grid}.tr{grid-template-columns:1fr;gap:5px}.doc-list a{display:block}.doc-list span{display:block;margin-top:7px}}

.map-preview{margin:45px 0;padding:26px;background:#f4f9fd;border:1px solid #e1ebf2;border-radius:16px}.map-preview h2{margin:0 0 8px}.map-preview p{color:#62788d}.map-link{display:inline-block;margin-top:8px;color:#075eaa;font-weight:800}

/* V107 — fix home card overlap and spacing */
.home-section .section-head{position:relative;z-index:2;margin-bottom:22px}
.home-section .cards{margin-top:0;position:relative;z-index:1}
.home-section .card{min-height:190px;box-sizing:border-box}
.home-section.latest-news-home{padding-top:34px;padding-bottom:38px}
.home-section.site-directory{padding-top:42px;padding-bottom:42px}
@media(max-width:900px){.home-section .cards{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.home-section .cards{grid-template-columns:1fr}}

.policy-gos-button{display:inline-flex;align-items:center;justify-content:center;border:0;cursor:pointer;font:inherit;text-decoration:none;}

/* Homepage v6: compact services + consultation banner */
.home-services-layout{display:grid;grid-template-columns:minmax(0,1fr) 470px;gap:24px;align-items:end;padding-top:30px}
.home-services-left{min-width:0}
.home-services-title{margin:0 0 16px;font-size:28px;line-height:1.2;color:#123b67}
.home-services-left .service-strip{width:100%;margin:0;display:grid;grid-template-columns:repeat(5,1fr);gap:10px}
.home-services-left .service-strip a{display:flex;align-items:center;justify-content:center;text-align:center;min-height:148px;padding:18px 10px;border-radius:12px;background:#fff;border:1px solid #dce7ef;box-shadow:0 8px 22px rgba(30,75,110,.07)}
.home-services-left .service-strip strong{font-size:14px;line-height:1.4;color:#17334f}
.home-services-layout .policy-banner{padding:0;margin:0;min-width:0}
.home-services-layout .policy-inner{min-height:148px;grid-template-columns:1fr .62fr;border-radius:13px}
.home-services-layout .policy-copy{padding:20px 24px}
.home-services-layout .policy-copy h2{font-size:22px;line-height:1.2;margin:0 0 9px;color:#174a79}
.home-services-layout .policy-copy p{font-size:13px;line-height:1.45;margin:0 0 14px;color:#587087}
.home-services-layout .policy-gos-button{display:inline-flex;align-items:center;gap:10px;padding:10px 17px;border-radius:7px;background:#155ed1;color:#fff;font-size:13px;font-weight:800}
.home-services-layout .policy-art img{object-position:center 28%}
@media(max-width:1100px){.home-services-layout{grid-template-columns:1fr}.home-services-layout .policy-banner{margin-top:2px}.home-services-left .service-strip a{min-height:125px}}
@media(max-width:700px){.home-services-left .service-strip{grid-template-columns:repeat(2,1fr)}.home-services-title{font-size:24px}.home-services-layout .policy-inner{grid-template-columns:1fr}.home-services-layout .policy-art{height:105px}}

/* V7 homepage: compact service grid + moderated question/Gosuslugi trigger */
.top{min-height:104px;display:flex;align-items:center;justify-content:space-between;gap:30px}.brand{display:flex;align-items:center;gap:15px;text-decoration:none}.brand .logo{width:72px;height:72px;object-fit:contain}.brand b{font-size:20px;color:#123b67}.brand small{display:block;max-width:360px;margin-top:5px;color:#63788c;line-height:1.4}.contact-head{display:flex;flex-direction:column;gap:3px}.contact-head .contact-label{font-size:12px;color:#63788c}.contact-head strong{font-size:19px;color:#17334f}.contact-head small{font-size:11px;color:#63788c}.head-actions{display:flex;flex-direction:column;gap:8px;align-items:stretch;min-width:210px}.a11y-head,.search-head{font:inherit;border:1px solid #dce7ef;border-radius:8px;background:#fff;color:#174a79;padding:9px 12px;text-decoration:none;font-size:12px;text-align:center}.search-head{background:#f7fafc;text-align:left}.nav{min-height:54px;display:flex;align-items:stretch;gap:0;background:#06479d}.nav a{color:#fff!important;text-decoration:none;padding:17px 25px;font-size:13px;font-weight:700;border-right:1px solid rgba(255,255,255,.12);display:flex;align-items:center}.nav a:hover,.nav a.active{background:#0756b8}.home-top{display:grid;grid-template-columns:minmax(0,1fr) 470px;gap:24px;padding-top:28px}.home-services h1{font-size:28px;color:#173d72;margin:0 0 16px}.service-strip-icons{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}.service-strip-icons>a,.service-strip-icons>.service-link{min-height:150px;border:1px solid #dce7ef;border-radius:11px;background:#fff;box-shadow:0 6px 18px rgba(30,75,110,.07);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:15px 9px;text-decoration:none;color:#17334f;cursor:pointer}.service-strip-icons>a:hover,.service-strip-icons>.service-link:hover{border-color:#b9d4e7;transform:translateY(-1px)}.service-strip-icons strong{font-size:13px;line-height:1.4}.service-icon{height:55px;display:flex;align-items:center;margin-bottom:10px}.service-icon svg,.mini-icon svg,.audience-round svg{width:48px;height:48px;fill:none;stroke:#0647b8;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.policy-help-card{min-height:188px;border-radius:13px;overflow:hidden;background:#e7f4fb;display:grid;grid-template-columns:1fr .62fr;align-self:end}.policy-help-copy{padding:22px 22px}.policy-help-copy h2{margin:0 0 9px;font-size:23px;line-height:1.2;color:#174a79}.policy-help-copy p{margin:0 0 15px;font-size:13px;line-height:1.5;color:#587087}.policy-help-button{border:0;display:inline-flex;align-items:center;gap:12px;padding:10px 17px;border-radius:7px;background:#155ed1;color:#fff;font-weight:800;font-size:13px;cursor:pointer}.policy-help-art{overflow:hidden}.policy-help-art img{width:100%;height:100%;object-fit:cover;object-position:center 25%}.news-services{padding-top:28px;padding-bottom:20px}.news-services-grid{display:grid;grid-template-columns:minmax(0,1fr) 390px;gap:14px}.news-panel,.useful-panel{border:1px solid #dce7ef;border-radius:11px;background:#fff;padding:20px}.section-head{margin-bottom:16px}.section-head h2,.useful-panel h2{font-size:19px;color:#111;margin:0}.section-head a{font-size:12px;color:#0647b8;font-weight:700;text-decoration:none}.news-four{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.news-four article{padding:0;border:0;background:transparent}.news-four .date{font-size:11px;color:#63788c;margin-bottom:8px}.news-four h3{font-size:13px;line-height:1.45;color:#17334f;margin:0 0 8px}.news-four p{font-size:11px;line-height:1.5;color:#63788c;margin:0}.useful-panel{padding:20px 20px 10px}.useful-panel h2{margin-bottom:12px}.useful-panel>a,.useful-panel>button{width:100%;display:flex;align-items:center;gap:12px;border:0;border-bottom:1px solid #edf2f5;background:transparent;padding:10px 0;text-align:left;color:#17334f;text-decoration:none;font:inherit;font-size:12px;cursor:pointer}.useful-panel>a:last-of-type,.useful-panel>button:last-child{border-bottom:0}.useful-panel b{margin-left:auto;color:#0647b8;font-size:20px;font-weight:400}.mini-icon{width:28px;display:inline-flex;justify-content:center}.mini-icon svg{width:24px;height:24px}.audience-modern{padding:0 0 18px}.audience-grid-modern{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.audience-card-modern{position:relative;border-radius:12px;padding:22px 22px 20px;min-height:188px}.citizens-card{background:#eef9f7}.medical-card{background:#eef5ff}.insurance-card{background:#f6f2ff}.audience-card-modern h2{font-size:18px;margin:0 0 14px;color:#111}.audience-round{position:absolute;right:18px;top:16px;width:50px;height:50px;border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 12px rgba(30,75,110,.08)}.audience-round svg{width:35px;height:35px}.citizens-card .audience-round svg{stroke:#15936f}.audience-cols{display:grid;grid-template-columns:1fr 1fr;gap:18px;padding-right:50px}.audience-cols a{display:block;color:#17334f;text-decoration:none;font-size:11px;line-height:1.5;margin-bottom:7px}.audience-cols a:hover{text-decoration:underline}.section-button{display:inline-block;margin-top:8px;background:#fff;border:1px solid #dce7ef;border-radius:7px;padding:8px 12px;color:#0647b8;text-decoration:none;font-size:11px;font-weight:700}.bottom-links{padding-top:0;padding-bottom:35px}.bottom-links-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.bottom-links-grid>a{border:1px solid #dce7ef;border-radius:11px;padding:17px 20px;background:#fff;text-decoration:none}.bottom-links-grid h3{font-size:15px;color:#0647b8;margin:0 0 7px}.bottom-links-grid h3 span{float:right;font-size:18px}.bottom-links-grid p{font-size:11px;line-height:1.45;color:#63788c;margin:0}.home-widget{display:none}footer{background:#103f70}.footer-grid{padding:30px 0;grid-template-columns:1.4fr 1fr 1fr .8fr}.footer-grid a{display:block;text-decoration:none}.copyright{border-top:1px solid #35668e}
@media(max-width:1100px){.home-top{grid-template-columns:1fr}.policy-help-card{min-height:170px}.news-services-grid{grid-template-columns:1fr}.audience-grid-modern{grid-template-columns:1fr}.bottom-links-grid{grid-template-columns:repeat(2,1fr)}.head-actions{display:none}}
@media(max-width:760px){.top{padding:12px 0;min-height:80px}.contact-head{display:none}.nav{overflow:auto}.nav a{white-space:nowrap;padding:15px 16px}.home-top{padding-top:20px}.service-strip-icons{grid-template-columns:repeat(2,1fr)}.news-four{grid-template-columns:1fr 1fr}.policy-help-card{grid-template-columns:1fr}.policy-help-art{height:120px}.audience-cols{padding-right:0}.bottom-links-grid{grid-template-columns:1fr}}
@media(max-width:480px){.brand small{display:none}.service-strip-icons{grid-template-columns:1fr 1fr}.news-four{grid-template-columns:1fr}.home-services h1{font-size:23px}}

/* V8 — polished state portal homepage */
:root{--gov-blue:#0647a5;--gov-blue-dark:#043a88;--gov-ink:#183b63;--gov-muted:#667b91;--gov-line:#dfe8f0;--gov-bg:#f6f9fc}
body{background:var(--gov-bg);color:var(--gov-ink)}
header{background:#fff}
.top.container{min-height:108px;padding:14px 0}
.brand{min-width:0}.brand .logo{width:72px;height:72px;border-radius:0}.brand b{font-size:22px;letter-spacing:-.02em}.brand small{font-size:11px;max-width:390px;color:#718399}
.contact-head{margin-left:auto;margin-right:22px;min-width:205px}.contact-head strong{font-size:18px;color:#183b63}.contact-head .contact-label{font-size:11px}.head-actions{min-width:210px}.a11y-head,.search-head{border-color:#d9e4ed;background:#fff}.search-head{background:#f7f9fb}
nav{background:var(--gov-blue);border:0;box-shadow:0 2px 7px rgba(13,55,100,.12)}
.nav{min-height:54px;display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:0;overflow:visible;padding:0}
.nav a{justify-content:center;text-align:center;padding:0 12px;height:54px;font-size:13px;border-right:1px solid rgba(255,255,255,.13);transition:background .15s ease}
.nav a:first-child{border-left:1px solid rgba(255,255,255,.13)}
.nav a:hover,.nav a.active{background:#0a58bb}
main{background:var(--gov-bg)}
.home-top{padding-top:30px;grid-template-columns:minmax(0,1fr) 470px;gap:24px;align-items:start}
.home-services h1{font-size:27px;line-height:1.2;margin:0 0 17px;color:#173d72;letter-spacing:-.015em}
.service-strip-icons{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.service-strip-icons>a,.service-strip-icons>.service-link{min-height:152px;padding:16px 9px;border:1px solid #dce6ee;border-radius:12px;box-shadow:0 5px 18px rgba(28,69,105,.055);transition:box-shadow .15s,border-color .15s,transform .15s}
.service-strip-icons>a:hover,.service-strip-icons>.service-link:hover{border-color:#bfd4e5;box-shadow:0 9px 24px rgba(28,69,105,.09);transform:translateY(-2px)}
.service-icon{height:58px;margin-bottom:11px}.service-icon svg{width:45px;height:45px;stroke:#0647b8;stroke-width:1.8}
.service-strip-icons strong{font-size:13px;line-height:1.38;color:#17334f}
.policy-help-card{height:190px;min-height:190px;align-self:stretch;grid-template-columns:minmax(0,1fr) 175px;border:1px solid #d8e9f4;background:#e8f5fb;box-shadow:none}
.policy-help-copy{padding:23px 22px}.policy-help-copy h2{font-size:23px;color:#174a79;margin-bottom:9px}.policy-help-copy p{font-size:13px;line-height:1.5;margin-bottom:15px}.policy-help-button{padding:10px 17px;font-size:13px;box-shadow:0 2px 5px rgba(8,76,164,.18)}
.policy-help-art img{object-position:center 24%}
.news-services{padding:28px 0 18px}.news-services-grid{grid-template-columns:minmax(0,1fr) 390px;gap:14px}
.news-panel,.useful-panel{border:1px solid var(--gov-line);border-radius:12px;padding:21px;background:#fff;box-shadow:0 1px 2px rgba(20,55,85,.025)}
.section-head{margin-bottom:17px}.section-head h2,.useful-panel h2{font-size:19px;letter-spacing:-.01em}.section-head a{font-size:12px}
.news-four{grid-template-columns:repeat(4,minmax(0,1fr));gap:17px}.news-four article{min-width:0;padding:0}.news-four .date{font-size:10px;margin-bottom:8px}.news-four h3{font-size:12px;line-height:1.42;margin-bottom:8px}.news-four p{font-size:10.5px;line-height:1.48}
.useful-panel{padding:19px 20px 9px}.useful-panel h2{margin-bottom:9px}.useful-panel>a,.useful-panel>button{min-height:44px;padding:9px 0;font-size:12px}.mini-icon{width:29px}.mini-icon svg{width:22px;height:22px}
.audience-modern{padding:0 0 17px}.audience-grid-modern{gap:14px}.audience-card-modern{min-height:190px;padding:22px;border:1px solid rgba(210,225,236,.55)}.audience-card-modern h2{font-size:18px}.audience-cols a{font-size:11px}
.bottom-links{padding-bottom:32px}.bottom-links-grid>a{box-shadow:0 1px 2px rgba(20,55,85,.025)}
.section-directory{margin:24px 0}.section-directory-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px;margin:22px 0}.section-directory-card{background:#fff;border:1px solid #dce7ef;border-radius:14px;padding:22px;box-shadow:0 5px 18px rgba(20,55,85,.05)}.section-directory-card h2{margin:0 0 9px;font-size:20px;color:#173d72}.section-directory-card p{margin:0 0 14px;color:#617789;line-height:1.6}.section-directory-card a{color:#075e9f;font-weight:700;text-decoration:none}.content-note{background:#f2f8fb;border-left:4px solid #075e9f;border-radius:8px;padding:18px 20px;margin:20px 0;color:#36566f;line-height:1.6}.directory-list{margin:0;padding-left:20px;color:#36566f;line-height:1.75}
.site-sections-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.site-sections-grid>a{min-width:0;border:1px solid #dce7ef;border-radius:11px;padding:17px 20px;background:#fff;text-decoration:none;box-shadow:0 1px 2px rgba(20,55,85,.025)}.site-sections-grid h3{font-size:15px;color:#0647b8;margin:0 0 7px}.site-sections-grid h3 span{float:right;font-size:18px}.site-sections-grid p{font-size:11px;line-height:1.45;color:#63788c;margin:0}@media(max-width:1100px){.site-sections-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:480px){.site-sections-grid{grid-template-columns:1fr}}
footer{background:#0a417c}
@media(max-width:1100px){.nav{grid-template-columns:repeat(8,max-content);overflow-x:auto}.nav a{padding:0 18px}.home-top{grid-template-columns:1fr}.policy-help-card{height:170px;min-height:170px}.news-services-grid{grid-template-columns:1fr}.head-actions{display:none}.contact-head{margin-left:auto}}
@media(max-width:760px){.top.container{min-height:84px}.contact-head{display:none}.home-top{padding-top:22px}.home-services h1{font-size:24px}.service-strip-icons{grid-template-columns:repeat(2,1fr)}.policy-help-card{grid-template-columns:1fr;height:auto;min-height:0}.policy-help-art{height:115px}.news-four{grid-template-columns:1fr 1fr}}
@media(max-width:480px){.service-strip-icons{grid-template-columns:1fr 1fr}.news-four{grid-template-columns:1fr}.brand b{font-size:18px}}



/* V12 — precise desktop alignment and 16-digit OMS policy mask */
.home-top{display:block!important;padding-top:28px}
.home-services-row{display:grid;grid-template-columns:minmax(0,1fr) 470px;gap:24px;align-items:start;width:100%}
.home-services{min-width:0}
.service-strip-icons{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;width:100%;align-items:stretch}
.service-strip-icons>a,.service-strip-icons>.service-link,.service-strip-icons>.service-policy-check{width:100%;height:180px;min-height:180px;box-sizing:border-box;margin:0;padding:16px 10px 12px;border:1px solid #dce7ef;border-radius:12px;background:#fff;box-shadow:0 6px 18px rgba(30,75,110,.06);display:flex;flex-direction:column;align-items:center;justify-content:flex-start;text-align:center;overflow:hidden}
.service-strip-icons>a:hover,.service-strip-icons>.service-link:hover,.service-strip-icons>.service-policy-check:hover{border-color:#b9d4e7;box-shadow:0 8px 22px rgba(30,75,110,.1);transform:translateY(-1px)}
.service-icon{height:54px;min-height:54px;margin:0 0 10px;display:flex;align-items:center;justify-content:center;flex:0 0 auto}
.service-icon svg{width:45px!important;height:45px!important;stroke:#0647b8;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round}
.service-strip-icons strong{display:block;font-size:13px;line-height:1.38;color:#17334f;flex:0 0 auto}
.service-policy-check .service-icon{height:54px;min-height:54px;margin-bottom:8px}
.service-policy-check strong{font-size:12px;line-height:1.3;margin-bottom:10px}
.policy-check-inline{display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:6px;width:100%;margin-top:0;align-items:center}
.policy-check-inline input{display:block;width:100%;height:32px;min-width:0;box-sizing:border-box;padding:5px 7px;border:1px solid #bfcfdd;border-radius:6px;background:#fff;color:#17334f;font-size:10px;letter-spacing:.02em;text-align:center;outline:none}
.policy-check-inline input:focus{border-color:#0647b8;box-shadow:0 0 0 2px rgba(6,71,184,.10)}
.policy-check-inline button{height:32px;box-sizing:border-box;padding:0 10px;border:0;border-radius:6px;background:#0647b8;color:#fff;font-size:10px;font-weight:800;cursor:pointer;white-space:nowrap}
.policy-check-inline button:disabled{opacity:.45;cursor:not-allowed}
.policy-check-result{width:100%;min-height:12px;margin-top:4px;font-size:9px;line-height:1.25;text-align:left;color:#63788c}
.policy-help-card{width:100%;height:180px;min-height:180px;box-sizing:border-box;margin-top:51px;align-self:start;border:1px solid #d8e9f4;border-radius:13px;overflow:hidden;background:#e8f5fb;display:grid;grid-template-columns:minmax(0,1fr) 175px;box-shadow:none}
.policy-help-copy{padding:22px 22px;box-sizing:border-box}
.policy-help-copy h2{margin:0 0 9px;font-size:23px;line-height:1.2;color:#174a79}
.policy-help-copy p{margin:0 0 15px;font-size:13px;line-height:1.5;color:#587087}
.policy-help-button{display:inline-flex!important;align-items:center;justify-content:center;gap:12px;height:43px;padding:0 18px;border:0;border-radius:7px;background:#155ed1;color:#fff;font-size:13px;font-weight:800;cursor:pointer;box-shadow:0 2px 5px rgba(8,76,164,.18)}
.policy-help-art{height:180px;overflow:hidden}
.policy-help-art img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 24%}
@media(max-width:1100px){
  .home-services-row{grid-template-columns:1fr;gap:18px}
  .policy-help-card{margin-top:0}
  .service-strip-icons{grid-template-columns:repeat(5,minmax(0,1fr))!important}
}

/* V474 — article content created in the CMS. */
.article-editor-content{font-size:16px;line-height:1.7;color:#243f57}
.article-editor-content a{color:#076bc3;text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:3px;font-weight:650}
.article-editor-content img{display:block;max-width:100%;height:auto;margin:22px auto;border-radius:10px}
.article-video{width:100%;margin:26px 0}.article-video video,.article-video iframe{display:block;width:100%;max-width:100%;aspect-ratio:16/9;border:0;border-radius:12px;background:#10202d}.article-video figcaption{margin-top:8px;color:#61788b;font-size:14px;text-align:center}
.article-attachments{margin-top:36px;padding-top:24px;border-top:1px solid #d9e6ef}.article-attachments>h2{margin:0 0 14px;color:#073d76;font-size:22px}.article-attachments-list{display:grid;gap:10px}.article-document{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:15px 17px;border:1px solid #d5e3ee;border-radius:11px;background:#f8fbfd}.article-document-copy{display:grid;gap:4px;min-width:0}.article-document-copy strong{color:#173f61}.article-document-copy span{color:#70879a;font-size:13px;overflow-wrap:anywhere}.article-document-actions{display:flex;align-items:center;gap:9px;flex:none}.article-document-preview{color:#076bc3;font-weight:700;text-decoration:underline;text-underline-offset:3px}
@media(max-width:700px){.article-editor-content{font-size:15px}.article-document{align-items:stretch;flex-direction:column}.article-document-actions{display:grid;grid-template-columns:1fr 1fr}.article-document-actions a{text-align:center}}
@media(max-width:760px){
  .home-top{padding-top:22px}
  .service-strip-icons{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .policy-help-card{grid-template-columns:1fr;height:auto;min-height:0}
  .policy-help-art{height:115px}
}
@media(max-width:480px){
  .service-strip-icons{grid-template-columns:1fr 1fr!important}
  .service-strip-icons>a,.service-strip-icons>.service-link,.service-strip-icons>.service-policy-check{height:180px;min-height:180px}
}


/* V16 — unified public navigation: fixed grid, no text overlap */
nav{width:100%;background:var(--gov-blue,#0647a5);border:0;box-shadow:0 2px 7px rgba(13,55,100,.12)}
.nav{min-height:54px;height:54px;display:grid;grid-template-columns:1fr 1.05fr 1.38fr 1.28fr .82fr .92fr .72fr .82fr .98fr;gap:0;align-items:stretch;overflow:visible;padding:0}
.nav a{min-width:0;height:54px;display:flex;align-items:center;justify-content:center;text-align:center;white-space:normal;line-height:1.15;padding:0 9px;color:#fff!important;text-decoration:none;font-size:12px;font-weight:700;border-right:1px solid rgba(255,255,255,.13);box-sizing:border-box}
.nav a:first-child{border-left:1px solid rgba(255,255,255,.13)}
.nav a:hover,.nav a.active{background:#0a58bb}
@media(max-width:1100px){.nav{display:flex;height:54px;overflow-x:auto;overflow-y:hidden}.nav a{flex:0 0 auto;height:54px;white-space:nowrap;padding:0 18px}}
@media(max-width:760px){.nav{height:52px;min-height:52px}.nav a{height:52px;font-size:11px;padding:0 14px}}


/* Госуслуги: реальный триггер виджета скрыт, но доступен для программного клика */
.home-widget{display:block!important;position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;opacity:0!important;pointer-events:none!important;left:-9999px!important;top:0!important;padding:0!important;margin:0!important;}
.gosuslugi-hidden-trigger{width:1px!important;min-width:1px!important;height:1px!important;overflow:hidden!important;}
.gosuslugi-hidden-trigger .pos-banner-fluid{width:1px!important;min-width:1px!important;height:1px!important;overflow:hidden!important;}
.gosuslugi-hidden-trigger .pos-banner-btn_2{width:1px!important;min-width:1px!important;height:1px!important;padding:0!important;border:0!important;}

.cms-page-content{font-size:17px;line-height:1.7;color:#263f56;background:#fff;border:1px solid #e0e8ef;border-radius:14px;padding:28px;max-width:1000px}.cms-page-content h2{color:#073d76;margin:26px 0 12px}.cms-page-content p{margin:0 0 16px}.cms-page-content a{color:#075e9f}.cms-page-content table{width:100%;border-collapse:collapse;margin:20px 0}.cms-page-content th,.cms-page-content td{border:1px solid #d8e3ea;padding:9px;text-align:left}.page-eyebrow{text-transform:uppercase;letter-spacing:.08em;color:#0870bd;font-weight:700;font-size:12px;margin-bottom:10px}


/* Sticky footer: при короткой странице футер у нижней границы viewport,
   при длинной — остаётся обычным последним блоком и не перекрывает контент. */
html,body{min-height:100%}
body{min-height:100vh;display:flex;flex-direction:column}
body>main, body main, .page-main, .site-main{flex:1 0 auto}
footer{flex:0 0 auto;margin-top:auto}

/* Sticky-to-bottom footer for internal public pages: stays after content, not over content. */
body.site-page{min-height:100vh;display:flex;flex-direction:column}body.site-page>main{flex:1}
/* CMS visual page blocks */
.cms-page-blocks{display:flex;flex-direction:column;gap:18px}.cms-block{margin:0}.cms-block h2{margin:0 0 14px}.cms-text p,.cms-heading p{font-size:17px;line-height:1.75}.cms-image{text-align:center}.cms-image img,.cms-carousel img{max-width:100%;height:auto;border-radius:14px}.cms-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.cms-carousel-track{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.cms-carousel-track .panel img{width:100%;aspect-ratio:16/9;object-fit:cover}.cms-dynamic{margin-top:4px}.cms-button{display:flex;gap:10px}.cms-block .panel{padding:20px}@media(max-width:800px){.cms-card-grid,.cms-carousel-track{grid-template-columns:1fr}}

/* TFOMS map engine */
.tfoms-map{position:relative;overflow:hidden;background:#e9eef1;cursor:grab;user-select:none;touch-action:none}.tfoms-map.dragging{cursor:grabbing}.tfoms-map-layer,.tfoms-map-markers{position:absolute;inset:0}.tfoms-map-layer{overflow:hidden}.tfoms-map-tile{position:absolute;width:256px;height:256px;display:block;max-width:none}.tfoms-map-markers{pointer-events:none}.tfoms-map-marker{position:absolute;width:28px;height:38px;transform:translate(-50%,-100%);border:0;background:transparent;padding:0;cursor:pointer;pointer-events:auto}.tfoms-map-marker span{display:block;width:20px;height:20px;margin:0 auto;border-radius:50% 50% 50% 0;transform:rotate(-45deg);background:#0b63c7;border:3px solid #fff;box-shadow:0 2px 5px rgba(0,0,0,.3)}.tfoms-map-marker span:after{content:'';position:absolute;width:6px;height:6px;left:4px;top:4px;background:#fff;border-radius:50%}.tfoms-map-controls{position:absolute;left:12px;top:12px;display:flex;flex-direction:column;gap:2px;z-index:5}.tfoms-map-controls button{width:34px;height:34px;border:1px solid #c9d5dd;background:#fff;color:#203f53;font-size:22px;line-height:1;border-radius:5px;box-shadow:0 1px 4px rgba(0,0,0,.15);cursor:pointer}.tfoms-map-controls button:hover{background:#f4f8fa}
.tfoms-map{position:relative;overflow:hidden;background:#eef5f1;cursor:grab;user-select:none;touch-action:none}.tfoms-map.dragging{cursor:grabbing}.tfoms-map-svg{position:absolute;inset:0;display:block}.tfoms-map-grid{stroke:#d3e0d8;stroke-width:1}.tfoms-map-region{fill:#f8f7ef;stroke:#8ca99b;stroke-width:2}.tfoms-map-road{fill:none;stroke:#e7b96a;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;opacity:.85}.tfoms-map-road.main{stroke:#e39a3c;stroke-width:4}.tfoms-map-labels{font-family:Arial,sans-serif}.city-dot{fill:#8c9b9f;stroke:#fff;stroke-width:1.5}.city-dot.big{fill:#0b63c7}.city-label{fill:#596c76;font-size:11px}.city-label.big{fill:#173d72;font-size:15px;font-weight:700}.map-region-title{fill:#72868d;font:700 18px Arial,sans-serif;letter-spacing:.5px}.tfoms-map-markers{position:absolute;inset:0;pointer-events:none}.tfoms-map-marker{position:absolute;width:28px;height:38px;transform:translate(-50%,-100%);border:0;background:transparent;padding:0;cursor:pointer;pointer-events:auto}.tfoms-map-marker span{display:block;width:20px;height:20px;margin:0 auto;border-radius:50% 50% 50% 0;transform:rotate(-45deg);background:#0b63c7;border:3px solid #fff;box-shadow:0 2px 5px rgba(0,0,0,.3)}.tfoms-map-marker span:after{content:'';position:absolute;width:6px;height:6px;left:4px;top:4px;background:#fff;border-radius:50%}.tfoms-map-controls{position:absolute;left:12px;top:12px;display:flex;flex-direction:column;gap:2px;z-index:5}.tfoms-map-controls button{width:34px;height:34px;border:1px solid #c9d5dd;background:#fff;color:#203f53;font-size:22px;line-height:1;border-radius:5px;box-shadow:0 1px 4px rgba(0,0,0,.15);cursor:pointer}.tfoms-map-controls button:hover{background:#f4f8fa}

/* V241 — unified CMS article typography and layout. Content edited in the visual editor uses a article-editor readable column. */
.site-page main.section>.panel{width:100%;max-width:1180px;margin:0 auto;padding:32px 42px;border:1px solid #e0e8ef;border-radius:14px;background:#fff;box-shadow:0 6px 22px rgba(25,65,100,.055)}
.site-page main.section>.panel p{max-width:none;margin:0 0 18px;font-size:16px;line-height:1.72;color:#294963;text-align:justify;text-justify:inter-word}
.site-page main.section>.panel p:last-child{margin-bottom:0}
.site-page main.section>.panel h2,.site-page main.section>.panel h3,.site-page main.section>.panel h4{color:#073d76;line-height:1.25;margin:28px 0 13px}
.site-page main.section>.panel h2:first-child,.site-page main.section>.panel h3:first-child{margin-top:0}
.site-page main.section>.panel ul,.site-page main.section>.panel ol{margin:0 0 20px;padding-left:28px;color:#294963;line-height:1.7}
.site-page main.section>.panel li{margin:5px 0}
.site-page main.section>.panel a{color:#075e9f;font-weight:700}
.site-page main.section>.panel table{width:100%;border-collapse:collapse;margin:22px 0;font-size:14px}
.site-page main.section>.panel th,.site-page main.section>.panel td{border:1px solid #d9e4eb;padding:10px 12px;text-align:left;vertical-align:top}
.site-page main.section>.panel th{background:#f3f8fb;color:#173d72;font-weight:800}
@media(max-width:760px){.site-page main.section>.panel{padding:22px 18px}.site-page main.section>.panel p{font-size:15px;line-height:1.65}}


/* V244 — единый стиль кнопок действий на публичных страницах */
.site-page main.section>.panel .page-action,
.site-page main.section>.panel .back-button,
.site-page main.section>.panel .content-button,
.site-page main.section>.panel .source-button{
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:40px;
  padding:9px 16px;
  margin-top:4px;
  border:1px solid #cbddea;
  border-radius:8px;
  background:#fff;
  color:#0758b7!important;
  font-size:13px;
  line-height:1.2;
  font-weight:800!important;
  text-decoration:none!important;
  box-shadow:0 2px 7px rgba(22,72,116,.07);
  transition:background .15s ease,border-color .15s ease,box-shadow .15s ease,transform .15s ease;
}
.site-page main.section>.panel .page-action:hover,
.site-page main.section>.panel .back-button:hover,
.site-page main.section>.panel .content-button:hover,
.site-page main.section>.panel .source-button:hover{
  background:#f3f8fc;
  border-color:#9fc2df;
  box-shadow:0 5px 13px rgba(22,72,116,.11);
  transform:translateY(-1px);
}
.site-page main.section>.panel .back-button{background:#eef6fc;border-color:#c5dced}
.site-page main.section>.panel .primary-action{background:#095ed0;color:#fff!important;border-color:#095ed0;box-shadow:0 3px 9px rgba(9,94,208,.18)}
.site-page main.section>.panel .primary-action:hover{background:#074fae;border-color:#074fae}
.site-page main.section>.panel p.action-row{margin-top:22px;margin-bottom:0}
.site-page main.section>.panel .inline-action{display:inline-flex;align-items:center;gap:7px;margin:2px 0;padding:8px 13px;border:1px solid #d4e2ec;border-radius:7px;background:#fff;color:#0758b7!important;font-weight:800!important;text-decoration:none!important}
.site-page main.section>.panel .inline-action:hover{background:#f4f8fc;border-color:#a9c8df}
.section-title>a,.section-button,.map-link{display:inline-flex!important;align-items:center;justify-content:center;gap:7px;border:1px solid #cbddea;border-radius:7px;padding:9px 13px;background:#fff;color:#0758b7!important;font-weight:800!important;text-decoration:none!important;box-shadow:0 2px 7px rgba(22,72,116,.06)}
.section-title>a:hover,.section-button:hover,.map-link:hover{background:#f3f8fc;border-color:#a9c8df}
.card>a:not(.section-button),.tiles>a:not(.section-button){display:inline-flex;align-items:center;gap:7px;margin-top:8px;padding:8px 13px;border:1px solid #cbddea;border-radius:7px;background:#fff;color:#0758b7!important;font-weight:800!important;text-decoration:none!important}
.card>a:not(.section-button):hover,.tiles>a:not(.section-button):hover{background:#f3f8fc;border-color:#a9c8df}
@media(max-width:600px){.site-page main.section>.panel .page-action,.site-page main.section>.panel .back-button,.site-page main.section>.panel .content-button,.site-page main.section>.panel .source-button{min-height:42px;padding:10px 14px}.section-title>a{padding:8px 11px}}

/* V245 — гармонизация страниц CMS: полный текстовый ряд и компактная кнопка «Назад» сверху */
.cms-page-content{
  width:100%;
  max-width:none;
  padding:30px 34px;
  text-align:left;
}
.cms-page-content p{
  width:100%;
  max-width:none!important;
  margin:0 0 18px;
  line-height:1.72;
  text-align:justify!important;
  text-justify:inter-word;
}
.cms-page-content p:has(.back-button),
.cms-page-content p:has(.page-action){
  order:-1;
  width:auto;
  display:block;
  margin:0 0 24px;
  text-align:left!important;
}
.cms-page-content .back-button,
.cms-page-content .page-action{
  display:inline-flex!important;
  width:auto!important;
  max-width:max-content;
  min-height:38px;
  padding:8px 14px;
  margin:0;
  border:1px solid #c5dced;
  border-radius:8px;
  background:#eef6fc;
  color:#0758b7!important;
  font-size:13px;
  line-height:1.2;
  font-weight:800!important;
  text-decoration:none!important;
  box-shadow:0 2px 7px rgba(22,72,116,.06);
  align-items:center;
  justify-content:center;
}
.cms-page-content .back-button:hover,
.cms-page-content .page-action:hover{
  background:#f3f8fc;
  border-color:#9fc2df;
  box-shadow:0 4px 11px rgba(22,72,116,.09);
}
.cms-page-content > :first-child{margin-top:0}
@media(max-width:760px){
  .cms-page-content{padding:22px 18px}
  .cms-page-content p{font-size:15px;line-height:1.65}
}


/* V246 — единая высота и нижняя линия действий во всех карточках */
.card{display:flex;flex-direction:column}
.card h2{min-height:2.4em}
.card>p{margin-bottom:16px}
.card>a:last-child{display:inline-flex;align-items:center;justify-content:center;align-self:flex-start;margin-top:auto;padding:9px 14px;border:1px solid #cbddea;border-radius:7px;background:#fff;color:#0758b7!important;font-weight:800!important;text-decoration:none!important;line-height:1.2;min-height:38px}
.card>a:last-child:hover{background:#f3f8fc;border-color:#a9c8df}
.cms-card-grid .panel,.cms-carousel-track .panel{display:flex;flex-direction:column}
.cms-card-grid .panel>a:last-child,.cms-carousel-track .panel>a:last-child{margin-top:auto;align-self:flex-start;display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:9px 14px;border:1px solid #cbddea;border-radius:7px;background:#fff;color:#0758b7!important;font-weight:800!important;text-decoration:none!important}
.tiles a{display:flex;flex-direction:column}
.tiles a .tile-action,.tiles a>span:last-child{margin-top:auto}

/* V256 — единый стиль кнопок карточек; FAQ также является кнопкой. */
.card a {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  padding:9px 15px;
  margin-top:12px;
  border:1px solid #bfd7ea;
  border-radius:7px;
  background:#fff;
  color:#075eaa;
  font-weight:800;
  font-size:14px;
  line-height:1.2;
  text-decoration:none;
  transition:background .15s ease,border-color .15s ease,transform .15s ease;
}
.card a:hover {
  background:#f2f8fc;
  border-color:#8fbddd;
  transform:translateY(-1px);
}

/* V261 — MAX uses supplied SVG; same visual box as VK/RSS */
.home-social-icon.max-social-icon,
.home-social-icon.max-social-icon img{
  width:44px;
  height:44px;
  flex:0 0 44px;
}
.home-social-icon.max-social-icon img{
  display:block;
  object-fit:contain;
}

/* V262 — document links inserted from the page editor */
.document-download-button{display:inline-flex;align-items:center;width:max-content;max-width:100%;box-sizing:border-box;padding:9px 14px;border:1px solid #bfd7ea;border-radius:7px;background:#fff;color:#075eaa!important;font-weight:800;line-height:1.25;text-decoration:none!important;transition:background .15s ease,border-color .15s ease,transform .15s ease}
.document-download-button:hover{background:#f2f8fc;border-color:#8fbddd;transform:translateY(-1px)}
.document-inline-card{margin:18px 0;border:1px solid #cedde7;border-radius:10px;background:#fff;overflow:hidden;box-shadow:0 5px 16px rgba(17,61,96,.05)}.document-inline-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 15px;background:#f5f9fc;border-bottom:1px solid #dbe6ed}.document-inline-head strong{min-width:0;color:#163f61;overflow-wrap:anywhere}.document-inline-head span{display:flex;gap:7px;flex:0 0 auto}.document-inline-head a{padding:7px 10px;border:1px solid #a9c8dd;border-radius:6px;background:#fff;color:#075e9f!important;font-size:13px;font-weight:800;text-decoration:none!important}.document-inline-card iframe{display:block;width:100%;height:min(68vh,720px);border:0;background:#f7fafc}.document-inline-note{padding:20px;color:#526d80;line-height:1.55}@media(max-width:600px){.document-inline-head{align-items:flex-start;flex-direction:column}.document-inline-head span{width:100%}.document-inline-head a{flex:1;text-align:center}.document-inline-card iframe{height:56vh}}

/* V370 — mobile layout and unobtrusive swipe navigation */
nav{position:relative}
.nav{-ms-overflow-style:none;scrollbar-width:none;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
.nav::-webkit-scrollbar{display:none;width:0;height:0}
@media(max-width:760px){
  nav:after{content:"";position:absolute;right:0;top:0;bottom:0;width:30px;pointer-events:none;background:linear-gradient(90deg,rgba(255,255,255,0),rgba(255,255,255,.9))}
  html,body{width:100%;max-width:100%;overflow-x:hidden}
  .cms-page-content,.builder-section,.builder-section>*{max-width:100%!important;min-width:0!important}
  .builder-section>div[style*="grid-template-columns"]{grid-template-columns:1fr!important}
  .builder-section .cards,.builder-section .tiles,.builder-section .service-grid,.builder-section .news-grid,.builder-section .contact-grid,.builder-section .news-four,.builder-section .audience-grid-modern,.builder-section .service-strip-icons{grid-template-columns:1fr!important}
  .builder-section .card{width:100%!important;min-width:0!important;margin-left:0!important;margin-right:0!important}
  .builder-section h1,.builder-section h2,.builder-section h3{overflow-wrap:anywhere}
  .builder-section img,.builder-section table{max-width:100%!important}
  .builder-section iframe,.builder-section video{width:100%!important;max-width:100%!important;height:auto}
  .builder-section a,.builder-section p,.builder-section li{overflow-wrap:anywhere;word-break:normal}
  .builder-section table{display:block;width:100%!important;overflow-x:auto;-webkit-overflow-scrolling:touch}
}

/* V373 — stable editor preview for server-populated blocks */
.builder-dynamic-preview{padding:24px;border:1px dashed #9fc2d6;border-radius:12px;background:#f5faff;color:#29495e}
.builder-dynamic-preview h2{margin:0 0 8px;color:#075e9f}.builder-dynamic-preview p{margin:0 0 16px;line-height:1.55}
.builder-dynamic-preview-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.builder-dynamic-preview-row span{padding:12px;border-radius:8px;background:#fff;border:1px solid #d7e6ee;text-align:center;font-size:12px;font-weight:700}
@media(max-width:600px){.builder-dynamic-preview{padding:16px}.builder-dynamic-preview-row{grid-template-columns:1fr}}

/* V382 — unified section catalogue in the public navigation */
.nav .site-map-trigger{min-width:0;height:54px;display:flex;align-items:center;justify-content:center;gap:7px;padding:0 9px;border:0;border-right:1px solid rgba(255,255,255,.13);background:transparent;color:#fff;font:700 12px/1.15 Inter,Arial,sans-serif;text-align:center;cursor:pointer}.nav .site-map-trigger:hover,.nav .site-map-trigger.open{background:#0a58bb}.nav .site-map-trigger b{font-size:16px;font-weight:400;transition:transform .15s ease}.nav .site-map-trigger.open b{transform:rotate(180deg)}
.site-map-panel[hidden]{display:none!important}.site-map-panel{position:fixed;z-index:1200;max-height:calc(100vh - 90px);overflow:auto;border:1px solid #cddde8;border-radius:0 0 14px 14px;background:#fff;box-shadow:0 18px 45px rgba(13,55,100,.22);color:#17334f}.site-map-panel-head{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid #e3ebf1;background:#f7fafc}.site-map-panel-head strong{font-size:18px;color:#073d76}.site-map-panel-head button{width:34px;height:34px;border:1px solid #cadbe6;border-radius:50%;background:#fff;color:#075e9f;font-size:24px;line-height:1;cursor:pointer}.site-map-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;padding:18px}.site-map-grid section{min-width:0;padding:4px 18px 14px;border-right:1px solid #e7edf2}.site-map-grid section:last-child{border-right:0}.site-map-grid h2{margin:0 0 11px;font-size:15px;color:#073d76}.site-map-grid a{display:block;padding:6px 0;color:#31536d;font-size:12px;line-height:1.35;text-decoration:none}.site-map-grid a:hover{color:#075e9f;text-decoration:underline}
@media(max-width:1100px){.nav .site-map-trigger{flex:0 0 auto;padding:0 18px;white-space:nowrap}.site-map-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.site-map-grid section:nth-child(2){border-right:0}.site-map-grid section:nth-child(-n+2){border-bottom:1px solid #e7edf2;padding-bottom:18px;margin-bottom:10px}}
@media(max-width:600px){.site-map-panel{max-height:calc(100vh - 84px);border-radius:12px}.site-map-panel-head{padding:12px 14px}.site-map-grid{grid-template-columns:1fr;padding:10px 14px}.site-map-grid section,.site-map-grid section:nth-child(2){padding:10px 2px 14px;border-right:0;border-bottom:1px solid #e7edf2;margin:0}.site-map-grid section:last-child{border-bottom:0}.site-map-grid a{padding:7px 0;font-size:13px}}

/* V382 — polished structure for the newly added public sections */
.section-page{--section-bg:#eef6fb;--section-accent:#075e9f;--section-soft:#f7fbfe}.section-page .page-hero{padding:38px 0;background:var(--section-bg)}.section-page .page-hero .container{position:relative;min-height:118px;display:flex;flex-direction:column;justify-content:center;padding-right:150px}.section-page .page-hero h1{margin:8px 0 10px;font-size:36px}.section-page .page-hero p{margin:0}.page-hero-icon{position:absolute;right:28px;top:50%;width:88px;height:88px;transform:translateY(-50%);display:flex;align-items:center;justify-content:center;border-radius:50%;background:#fff;color:var(--section-accent);box-shadow:0 9px 25px rgba(24,67,102,.1)}.page-hero-icon svg{width:50px;height:50px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.page-breadcrumbs{background:#fff;border-bottom:1px solid #e5edf3}.page-breadcrumbs .container{display:flex;align-items:center;gap:8px;min-height:40px;font-size:11px;color:#6c8192}.page-breadcrumbs a{color:#075e9f;font-weight:700}.section-page main.section{padding-top:34px}.section-page .content-note{margin-top:0;background:var(--section-soft);border-left-color:var(--section-accent)}.section-page .section-directory-card{position:relative;overflow:hidden;display:flex;flex-direction:column;border-top:4px solid var(--section-accent);transition:transform .15s ease,box-shadow .15s ease}.section-page .section-directory-card:hover{transform:translateY(-2px);box-shadow:0 10px 25px rgba(20,55,85,.09)}.section-page .section-directory-card h2{font-size:19px}.section-page .section-directory-card a{display:inline-flex;margin-top:auto;padding:8px 12px;border:1px solid #cbdde8;border-radius:7px;background:#fff}.theme-peach{--section-bg:#fff1e6;--section-accent:#cf6f18;--section-soft:#fff8f1}.theme-cyan{--section-bg:#e8f8fb;--section-accent:#087f98;--section-soft:#f2fbfc}.theme-yellow{--section-bg:#fff8dc;--section-accent:#a97b00;--section-soft:#fffbeb}.theme-rose{--section-bg:#fceef3;--section-accent:#b44d72;--section-soft:#fff6f9}.theme-mint{--section-bg:#eef9f7;--section-accent:#16856f;--section-soft:#f5fbfa}.theme-blue{--section-bg:#eef5ff;--section-accent:#176ac2;--section-soft:#f5f9ff}.theme-lilac{--section-bg:#f6f2ff;--section-accent:#7654b5;--section-soft:#faf8ff}
@media(max-width:600px){.section-page .page-hero{padding:28px 0}.section-page .page-hero .container{min-height:104px;padding-right:100px}.section-page .page-hero h1{font-size:28px;overflow-wrap:anywhere}.page-hero-icon{right:4px;width:72px;height:72px}.page-hero-icon svg{width:40px;height:40px}.page-breadcrumbs .container{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}}

/* V386 — resilient public-page layout and consistent section styling */
.site-page{overflow-x:hidden}.site-page main,.site-page main>*{min-width:0}.site-page img,.site-page video,.site-page iframe{max-width:100%}.site-page h1,.site-page h2,.site-page h3,.site-page p,.site-page li,.site-page a{overflow-wrap:anywhere}.site-page .card,.site-page .panel,.site-page .contact-card,.site-page .section-directory-card{min-width:0}.site-page table{max-width:100%}.section-page .page-hero .kicker{color:var(--section-accent)}.section-page .page-breadcrumbs a{color:var(--section-accent)}.section-page main.section>.notice,.section-page main.section>.note{border-left-color:var(--section-accent)}
@media(max-width:760px){.site-page .cards,.site-page .tiles,.site-page .service-grid,.site-page .news-grid,.site-page .contact-grid,.site-page .social-grid,.site-page .section-directory-grid{grid-template-columns:1fr!important}.site-page main.section{padding-top:28px;padding-bottom:38px}.site-page .page-hero .container{padding-right:20px}.site-page .page-hero-icon{display:none}.site-page .filters,.site-page .searchbox,.site-page .registry-year-tools,.site-page .registry-sub-actions{display:flex;flex-direction:column;align-items:stretch}.site-page .filters input,.site-page .filters select,.site-page .searchbox input,.site-page .searchbox button,.site-page .registry-search,.site-page .registry-download{width:100%;min-width:0}.site-page .table-wrap,.site-page .registry-scroll{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}}

/* V421 — readable tables restored from the legacy site */
.legacy-restored{margin:0 0 32px}.legacy-restored>h2{margin:0 0 8px;color:#073d76;font-size:28px}.legacy-restored table{width:100%!important;margin:20px 0 8px!important;border:1px solid #d9e5ee!important;border-collapse:separate!important;border-spacing:0!important;border-radius:12px;overflow:hidden;background:#fff;box-shadow:0 7px 22px rgba(17,61,96,.06);font-size:15px;line-height:1.5;table-layout:fixed}.legacy-restored tr:nth-child(even){background:#f7fafc}.legacy-restored tr:hover{background:#eef6fb}.legacy-restored th,.legacy-restored td{height:auto!important;padding:16px 14px!important;border:0!important;border-bottom:1px solid #dfe8ef!important;vertical-align:top!important;text-align:left!important;word-spacing:normal!important;letter-spacing:normal!important;overflow-wrap:normal!important;word-break:normal!important}.legacy-restored tr:last-child>th,.legacy-restored tr:last-child>td{border-bottom:0!important}.legacy-restored th{background:#075e9f!important;color:#fff!important;font-size:13px;font-weight:800}.legacy-restored td:first-child,.legacy-restored th:first-child{width:52px!important;text-align:center!important;color:#557187}.legacy-restored td:nth-child(2),.legacy-restored th:nth-child(2){width:300px!important;color:#073d76;font-weight:700;line-height:1.45;white-space:normal!important}.legacy-restored td:nth-child(n+3){color:#314f67}.legacy-restored p{margin:0 0 7px}.legacy-restored p:last-child{margin-bottom:0}
@media(max-width:700px){.legacy-restored>h2{font-size:23px}.legacy-restored table,.legacy-restored tbody{display:block;width:100%!important;border:0!important;background:transparent;box-shadow:none}.legacy-restored tr{position:relative;display:block;margin:0 0 12px;padding:16px 16px 16px 62px;border:1px solid #d9e5ee;border-radius:10px;background:#fff!important;box-shadow:0 4px 14px rgba(17,61,96,.05)}.legacy-restored th{display:none}.legacy-restored td{display:block;width:auto!important;padding:3px 0!important;border:0!important;text-align:left!important;word-spacing:normal!important}.legacy-restored td:first-child{position:absolute;left:16px;top:16px;display:flex!important;align-items:center;justify-content:center;box-sizing:border-box;width:30px!important;height:30px!important;padding:0!important;border-radius:50%!important;background:#eaf4fb;color:#075e9f;font-weight:800;line-height:1!important;text-align:center!important}.legacy-restored td:nth-child(2){margin-bottom:9px;font-size:15px;line-height:1.4;overflow-wrap:anywhere!important}.legacy-restored td:nth-child(3),.legacy-restored td:nth-child(3) *{text-align:left!important;word-spacing:normal!important;letter-spacing:normal!important}.legacy-restored td:nth-child(3):before{content:"Должность";display:block;margin-bottom:4px;color:#7a8e9e;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.04em!important}}

/* V431 — compact board member cards on phones */
.legacy-restored .legacy-table-title{text-align:left!important;word-spacing:normal!important;letter-spacing:normal!important;overflow-wrap:anywhere}
.legacy-restored table.legacy-person-table td:nth-child(2),.legacy-restored table.legacy-person-table td:nth-child(2) *{text-align:left!important;word-spacing:normal!important;letter-spacing:normal!important}
@media(max-width:700px){
  .legacy-restored{min-width:0;max-width:100%;overflow:visible}
  .legacy-restored .legacy-table-title{margin:0 0 16px!important;font-size:18px!important;line-height:1.45!important}
  .legacy-restored table.legacy-person-table{margin:0!important;overflow:visible!important}
  .legacy-restored table.legacy-person-table tr{display:grid!important;grid-template-columns:34px minmax(0,1fr);column-gap:12px;row-gap:8px;width:100%!important;min-width:0!important;padding:16px!important}
  .legacy-restored table.legacy-person-table td:first-child{position:static!important;grid-column:1;grid-row:1;align-self:start;width:30px!important;min-width:30px!important;max-width:30px!important;margin:0!important}
  .legacy-restored table.legacy-person-table td:nth-child(2),.legacy-restored table.legacy-person-table td:nth-child(3){grid-column:2;width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important;padding:0!important;white-space:normal!important;text-align:left!important;word-spacing:normal!important;letter-spacing:normal!important;overflow-wrap:anywhere!important;word-break:normal!important}
  .legacy-restored table.legacy-person-table td:nth-child(2){grid-row:1;font-size:15px;line-height:1.4}
  .legacy-restored table.legacy-person-table td:nth-child(3){grid-row:2;font-size:15px;line-height:1.55}
}

/* V459 — two-column schedules restored from the old site. These tables contain
   a position and a name, so the first cell must never be rendered as a number. */
.legacy-restored table.legacy-two-column-table{table-layout:auto!important}
.legacy-restored table.legacy-two-column-table td:first-child,
.legacy-restored table.legacy-two-column-table th:first-child{width:32%!important;min-width:220px!important;text-align:left!important;color:#557187}
.legacy-restored table.legacy-two-column-table td:nth-child(2),
.legacy-restored table.legacy-two-column-table th:nth-child(2){width:auto!important;color:#073d76;font-weight:700}
@media(max-width:700px){
  .legacy-restored table.legacy-two-column-table tr{display:grid!important;grid-template-columns:1fr!important;gap:7px!important;padding:15px!important}
  .legacy-restored table.legacy-two-column-table td:first-child,
  .legacy-restored table.legacy-two-column-table td:nth-child(2){position:static!important;display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;height:auto!important;margin:0!important;padding:0!important;border-radius:0!important;background:transparent!important;text-align:left!important;line-height:1.45!important;overflow-wrap:anywhere!important;word-break:normal!important}
  .legacy-restored table.legacy-two-column-table td:first-child{color:#617b90!important;font-size:13px!important;font-weight:600!important}
  .legacy-restored table.legacy-two-column-table td:nth-child(2){color:#073d76!important;font-size:16px!important;font-weight:800!important}
}
