/* Project-scoped article discovery. Existing page body styles remain untouched. */
.articles-nav{position:relative;pointer-events:auto}
.articles-trigger{display:flex;align-items:center;gap:6px;font:inherit;font-size:11px;font-weight:700;line-height:1.5;border:0;background:none;padding:10px 0;color:var(--ink);cursor:pointer}
.articles-trigger[aria-current],.desktop-nav>a[aria-current]{color:var(--bronze,#906541);text-decoration:underline;text-underline-offset:7px}
.articles-chevron{font-size:11px;transition:transform .15s}
.articles-trigger[aria-expanded=true] .articles-chevron{transform:rotate(180deg)}
.articles-panel{position:absolute;right:-100px;top:100%;width:660px;padding:12px 20px 20px;pointer-events:auto}
.articles-panel::before{content:"";position:absolute;inset:8px 0 0;background:#fcf9f3;border:1px solid var(--line);border-radius:20px;box-shadow:0 18px 45px #372d2124;z-index:-1}
.articles-panel[hidden]{display:none}
.articles-panel .articles-all{display:flex;justify-content:space-between;padding:14px 10px;border-bottom:1px solid var(--line);margin-bottom:9px;font-size:12px;color:var(--bronze,#906541)}
.articles-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 20px;grid-auto-flow:column;grid-template-rows:repeat(4,auto)}
.articles-list a{padding:11px 10px;border-radius:10px;font-size:12px;font-weight:500;line-height:1.5}
.articles-list a:hover,.articles-list a:focus-visible,.articles-all:hover{background:#eee4d755}
.articles-trigger:focus-visible,.articles-panel a:focus-visible,.mobile-articles button:focus-visible,.mobile-articles a:focus-visible,.ah-card:focus-visible{outline:2px solid #916844;outline-offset:3px}
.mobile-articles-trigger{width:100%;display:flex;justify-content:space-between;align-items:center;padding:14px 0;min-height:48px;border:0;border-bottom:1px solid var(--line);background:none;font:inherit;font-weight:700;text-align:left;cursor:pointer}
.mobile-articles-trigger[aria-current]{color:#906541}
.mobile-articles-links a{display:block;min-height:44px;padding:12px 14px;font-size:13px;line-height:1.5;border-bottom:1px solid var(--line)}
.mobile-articles-links a:first-child{color:#906541;font-weight:700}
.ah-page{padding-bottom:48px}.ah-hero{padding:30px 0 32px;max-width:880px}.ah-hero .overline{margin-bottom:18px}.ah-hero h1{font-size:clamp(36px,3.5vw,50px);line-height:1.06;max-width:800px;letter-spacing:-.045em}.ah-intro{max-width:760px;font-size:16px;line-height:1.6;margin:18px 0;color:var(--muted)}
.ah-markers{display:flex;flex-wrap:wrap;gap:12px 26px;list-style:none;padding:0;margin:22px 0 0;font-size:12px}.ah-markers li{display:flex;gap:9px;align-items:center}.ah-markers span{color:#906541}
.ah-directory{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.ah-card{display:flex;flex-direction:column;align-items:flex-start;padding:28px 30px;border:1px solid var(--line);border-radius:22px;background:linear-gradient(130deg,#fffdf9,#f5eee3);transition:box-shadow .2s}.ah-card:hover{box-shadow:0 10px 28px #372d2110}.ah-card-category{font-size:10px;letter-spacing:.1em;text-transform:uppercase;color:#906541;line-height:1.6}.ah-card h2{font-size:27px;line-height:1.12;letter-spacing:-.035em;margin:14px 0 12px}.ah-card p{font-size:14px;line-height:1.6;color:var(--muted);margin:0 0 24px;max-width:480px}.ah-card-link{display:flex;justify-content:space-between;width:100%;gap:20px;font-size:12px;font-weight:700;margin-top:auto}.ah-card-link span{color:#906541}.ah-card picture,.ah-hero picture{display:block;width:100%;margin-bottom:18px}.ah-card img,.ah-hero img{width:100%;height:auto;border-radius:16px}
.ah-final{display:flex;align-items:center;justify-content:space-between;gap:32px;background:var(--ink);color:#fffaf3;border-radius:24px;padding:30px;margin-top:28px}.ah-final h2{font-size:28px;line-height:1.15;letter-spacing:-.03em;margin:0 0 10px}.ah-final p{font-size:13px;line-height:1.6;max-width:650px;margin:0;color:#e3dacf}.ah-final .btn{flex:none}
/* Keep the new directory's compact dialog steady when a retry message changes its height. */
body[data-page-type="articles-hub"] .lead-dialog .btn:hover{transform:none}
@media(max-width:1150px){.articles-trigger{font-size:10px}.articles-panel{right:-80px;width:620px}}
@media(max-width:940px){.articles-nav{display:none}}
@media(max-width:700px){.ah-hero{padding:24px 0}.ah-hero h1{font-size:36px}.ah-intro{font-size:14px}.ah-markers{gap:10px 18px;font-size:11px}.ah-directory{grid-template-columns:1fr;gap:12px}.ah-card{padding:23px}.ah-card h2{font-size:26px}.ah-card p{font-size:13px;margin-bottom:18px}.ah-final{display:block;padding:24px;margin-top:20px}.ah-final h2{font-size:27px}.ah-final .btn{margin-top:20px;width:100%}.ah-page{padding-bottom:28px}}

/* v30 — Hub visual presentation and this project's shared Footer only. */
.ah-hero{display:grid;grid-template-columns:minmax(0,1.04fr) minmax(0,1fr);gap:36px;align-items:center;max-width:none;padding:18px 0 30px}
.ah-hero-copy{padding:16px 0}.ah-hero h1{font-size:clamp(36px,3.2vw,48px);margin-bottom:24px;max-width:660px}.ah-intro{font-size:15px;line-height:1.65;margin:0 0 28px;max-width:570px}
.ah-markers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;font-size:11px;line-height:1.5;margin-top:30px}.ah-markers li{gap:10px}.ah-markers li>span{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#e8d8bd;flex:none}.ah-markers svg{width:22px;height:22px}
.ah-hero-visual{aspect-ratio:4/3;overflow:hidden;border-radius:30px;background:#e8dfd2}.ah-hero-visual img{width:100%;height:100%;object-fit:cover;border-radius:inherit}
.ah-card{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);gap:10px;align-items:stretch;padding:12px;min-height:270px;background:#fbf8f2;border-radius:24px}
.ah-card-copy{display:flex;flex-direction:column;min-width:0;padding:12px 12px 12px 14px}.ah-card h2{font-size:26px;line-height:1.13;margin:16px 0 12px}.ah-card p{font-size:14px;line-height:1.55;margin-bottom:24px}.ah-card-category{font-size:9px;letter-spacing:.08em}.ah-card-link{justify-content:flex-start;gap:20px;width:auto}
.ah-card-visual{min-width:0;overflow:hidden;border-radius:18px;min-height:240px}.ah-card-visual img{width:100%;height:100%;object-fit:cover;border-radius:inherit}.ah-card-visual[data-article="gosuslugi"] img{object-position:48% 50%}.ah-card-visual[data-article="school"] img{object-position:42% 50%}.ah-card-visual[data-article="mfc"] img{object-position:100% 50%}
.footer.footer--unified>.wrap{grid-template-columns:minmax(0,1.65fr) minmax(0,1fr) minmax(0,1.25fr) minmax(0,1.05fr) minmax(0,1.1fr);gap:28px 24px}
.footer.footer--unified .footer-address{display:flex;align-items:flex-start;gap:9px;margin-top:20px;font-size:11px;line-height:1.6}.footer-address svg{color:var(--sand);flex:none;width:18px;height:20px}
.footer-messengers{display:flex;flex-wrap:wrap;gap:9px;margin-top:14px}.footer-messenger{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:40px;border:1px solid var(--sand);border-radius:99px;padding:8px 14px;color:var(--sand);font-size:11px;line-height:1.4;transition:background .2s,color .2s}.footer-messenger svg{flex:none}.footer-messenger:hover{background:var(--sand);color:var(--ink)}.footer-messenger:focus-visible{outline:2px solid var(--sand);outline-offset:4px}
.footer-brand-details{display:flex;flex-wrap:wrap;gap:8px 16px;margin-top:14px}.footer.footer--unified .footer-links{gap:5px}.footer.footer--unified .footer-links a{line-height:1.6}.footer.footer--unified .footer-action{grid-column:5;grid-row:1}.footer.footer--unified .public-phone{white-space:nowrap}
@media(max-width:1150px){.ah-hero{gap:26px}.ah-hero h1{font-size:36px}.ah-markers{gap:8px;font-size:10px}.ah-markers li{gap:7px}.ah-markers li>span{width:30px;height:30px}.ah-card{grid-template-columns:1fr;gap:0;min-height:0}.ah-card-visual{grid-row:1;height:190px;min-height:0}.ah-card-copy{grid-row:2;padding:20px 14px 12px}.ah-card h2{font-size:26px}.ah-card-visual img{object-position:center 45%}}
@media(max-width:1100px){.footer.footer--unified>.wrap{grid-template-columns:repeat(3,minmax(0,1fr))}.footer.footer--unified .footer-brand{grid-column:1/3;grid-row:1}.footer.footer--unified .footer-action{grid-column:3;grid-row:1}.footer.footer--unified .footer-column:nth-child(1){grid-column:1;grid-row:2}.footer.footer--unified .footer-column:nth-child(2){grid-column:2;grid-row:2}.footer.footer--unified .footer-column:nth-child(3){grid-column:3;grid-row:2}}
@media(max-width:940px){.ah-hero{grid-template-columns:1fr;gap:20px;padding-top:12px}.ah-hero-copy{padding:0}.ah-hero h1{max-width:720px}.ah-intro{max-width:700px}.ah-markers{max-width:600px;font-size:12px;margin-top:22px}.ah-hero-visual{max-height:540px}.footer.footer--unified>.wrap{grid-template-columns:repeat(2,minmax(0,1fr))}.footer.footer--unified .footer-brand{grid-column:1/-1;grid-row:1}.footer.footer--unified .footer-column:nth-child(1){grid-column:1;grid-row:2}.footer.footer--unified .footer-column:nth-child(2){grid-column:2;grid-row:2}.footer.footer--unified .footer-column:nth-child(3){grid-column:1;grid-row:3}.footer.footer--unified .footer-action{grid-column:2;grid-row:3}}
@media(max-width:700px){.ah-hero{padding:20px 0 22px;gap:24px}.ah-hero h1{font-size:36px;margin-bottom:20px}.ah-intro{font-size:14px;margin-bottom:22px}.ah-markers{gap:9px;font-size:10px;margin-top:20px}.ah-markers li{gap:7px;align-items:flex-start}.ah-markers li>span{width:28px;height:28px}.ah-markers svg{width:18px;height:18px}.ah-hero-visual{border-radius:24px}.ah-directory{gap:14px}.ah-card{padding:10px;border-radius:22px}.ah-card-visual{height:180px;border-radius:16px}.ah-card-copy{padding:18px 12px 14px}.ah-card h2{font-size:26px;margin:12px 0}.ah-card p{font-size:13px}.ah-card-link{margin-top:auto}.footer.footer--unified>.wrap{display:block}.footer.footer--unified .footer-brand{margin-bottom:25px}.footer.footer--unified .footer-action{margin:25px 0 24px}.footer.footer--unified .footer-links{gap:8px;padding-bottom:20px}.footer.footer--unified .footer-address{max-width:340px}.footer.footer--unified .footer-bottom{margin-top:18px}}
