@import url('/assets/montserrat.css');
.portal-foot .foot-brand{font-size:24px;font-weight:700;color:white}
.portal-foot p{font-size:14px;line-height:1.55;color:#d9d5ce}
.portal-foot a{color:#eeeae2;text-decoration:none}
.foot-actions,.foot-legal nav{display:flex;gap:12px 20px;flex-wrap:wrap}
.portal-foot .foot-actions a{background:#393938;padding:9px 14px;border-radius:8px}
.portal-foot #gorod{margin:24px 0 12px;padding:16px 0 0;border-top:1px solid #565452;background:transparent;color:inherit}
.portal-foot #gorod summary{cursor:pointer}
.portal-foot #gorod nav{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:12px;padding:18px 0}
.portal-foot .foot-legal p,.portal-foot .foot-legal a{font-size:13px}
@media screen {
body header.portal-header{line-height:1.49;position:sticky;inset:0 0 auto;z-index:20;display:block;height:auto;padding:0;background:#fff;color:#252728;border:0;border-bottom:1px solid #dfdfdf}
.portal-header>div{width:min(1280px,94%);margin:auto;min-height:70px;display:flex;align-items:center;gap:24px;padding:8px 0;box-sizing:border-box}
.portal-header a,.portal-header summary{font-family:Montserrat,Arial,sans-serif;color:inherit;text-decoration:none}
.portal-header .brand{margin-right:auto;line-height:1.15;font-size:20px;font-weight:700}
.portal-header .brand small{display:block;font-size:11px;font-weight:450;margin-top:3px}
.portal-header nav{display:flex;gap:20px;font-size:14px}
.portal-header .contact{border-radius:8px;background:#2b2b2b;color:white;padding:11px 16px;font-weight:600;white-space:nowrap}
.portal-header .site-menu{position:relative}
.portal-header summary{cursor:pointer}
.portal-header .site-menu>nav{display:none}
.portal-header .site-menu[open]>nav{display:grid;position:absolute;top:calc(100% + 15px);right:0;width:min(240px,80vw);padding:10px;background:#2d2d2d;color:white;gap:0;border-radius:10px;box-shadow:0 10px 24px #0002}
.portal-header .site-menu nav a{padding:8px;border-radius:6px}
.portal-header .site-menu nav a:hover{background:#454545}
body footer.portal-foot{display:block;text-align:left;width:100%;margin:0;box-sizing:border-box}
footer.portal-foot .foot-wrap{width:100%;max-width:1280px;margin:auto}
@media(max-width:850px){.portal-header>div>nav{display:none}.portal-header>div{gap:12px}.portal-header .site-menu[open]>nav{position:fixed;top:68px;right:3vw}}
@media(max-width:470px){.portal-header .brand{font-size:15px}.portal-header .brand small{font-size:9px}.portal-header .contact{font-size:12px;padding:10px}.portal-header summary{font-size:13px}}
}
@media print{.portal-header{display:none}}

@media screen {
  main .hero .page-column .hero-copy{width:100%;max-width:none}
  main .hero .page-column .hero-copy h1{width:70%;max-width:none}
}
@media screen and (max-width:800px){
  main .hero .page-column .hero-copy h1{width:100%}
}

@media screen{
body header.portal-header{box-shadow:0 3px 15px #26252108}
.portal-header>div{gap:16px}
.portal-header .brand{position:relative;padding-left:49px;letter-spacing:.015em}
.portal-header .brand::before{content:"А";position:absolute;inset:50% auto auto 0;transform:translateY(-50%);display:grid;place-items:center;width:37px;height:40px;border-radius:10px 10px 10px 2px;background:#282c2e;color:#f8ecd5;font:28px/1 Georgia,serif}
.portal-header .brand small{letter-spacing:.015em;color:#5d5d5d}
.portal-header>div>nav{gap:2px;color:inherit;font-weight:400}.portal-header nav a{font-weight:400;color:inherit}
.portal-header>div>nav a,.portal-header summary{padding:9px 10px;border-radius:8px;border:0;box-shadow:none}
.portal-header>div>nav a:hover,.portal-header summary:hover,.portal-header .site-menu[open] summary{background:#f1efeb}
.portal-header summary{display:flex;align-items:center;gap:8px;list-style:none}
.portal-header summary::-webkit-details-marker{display:none}
.portal-header summary::before{content:"";width:14px;height:7px;border-block:1.5px solid currentColor}
.portal-header a.contact{border-radius:10px;padding:12px 18px;font-size:14px}
.portal-header a.contact:hover{background:#484848}
.portal-header :is(summary,a):focus-visible{outline:2px solid #876d4e;outline-offset:2px}
@media(max-width:470px){.portal-header>div{gap:5px}.portal-header .brand{padding-left:0}.portal-header .brand::before{display:none}.portal-header a.contact{padding:10px;font-size:12px}.portal-header summary{padding:8px 4px}}
}
.portal-header .site-menu summary::before{display:none}
.portal-header .menu-glyph{display:inline-grid;place-items:center;position:relative;width:18px;height:18px;color:inherit}
.portal-header .menu-glyph::before,.portal-header .menu-glyph::after,.portal-header .menu-glyph i{content:"";position:absolute;width:18px;height:2px;background:currentColor;border-radius:4px;transition:transform .18s ease,opacity .18s ease}
.portal-header .menu-glyph::before{transform:translateY(-5px)}
.portal-header .menu-glyph::after{transform:translateY(5px) scaleX(.72);transform-origin:left}
.portal-header .site-menu[open] .menu-glyph i{opacity:0}
.portal-header .site-menu[open] .menu-glyph::before{transform:rotate(45deg)}
.portal-header .site-menu[open] .menu-glyph::after{transform-origin:center;transform:rotate(-45deg)}
@media(prefers-reduced-motion:reduce){.portal-header .menu-glyph::before,.portal-header .menu-glyph::after,.portal-header .menu-glyph i{transition:none}}
footer.portal-foot #gorod nav{display:block}
.city-directory{display:inline-block;margin-bottom:18px;font-weight:600}
.city-alphabet{columns:4 180px;column-gap:32px}
.city-letter{break-inside:avoid;display:grid;grid-template-columns:22px 1fr;gap:8px;margin-bottom:14px}
.city-letter>b{color:#dabf92;font-weight:600}
.city-letter ul{margin:0;padding:0;list-style:none}
.city-letter li{margin:0;padding:0}
.city-letter a{display:inline-block;padding:2px 0}
.city-picker [hidden]{display:none!important}
.city-picker input{display:block;width:min(100%,360px);padding:11px 14px;border:1px solid #959595;border-radius:8px;margin:12px 0 18px;font:inherit}
.city-picker .city-directory{margin:12px 0 0}
.header-cities{position:relative}
.portal-header .header-cities summary::before{display:none}
.header-cities .city-picker {
  position:absolute;right:0;top:calc(100% + 10px);width:min(590px,90vw);
  display:flex;flex-direction:column;max-height:min(540px,calc(100dvh - 90px));
  padding:14px;gap:12px;background:#fff;color:#292d2f;border:1px solid #e3e3e3;
  border-radius:16px;box-shadow:0 10px 32px #2e2e2e20;
}
.header-cities .city-picker input {flex:none;width:100%;margin:0;padding:11px 14px;font-size:15px;color:#333333;border:1px solid #c6c6c6;background:#f7f7f7}
.header-cities .city-picker input:focus {outline:2px solid #7b7b7b;outline-offset:0}
.header-cities .city-results {overflow:auto;min-height:0;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#c6c6c6 transparent}
.header-cities .city-alphabet {columns:2;column-gap:20px;padding:2px}
.header-cities .city-letter {grid-template-columns:24px minmax(0,1fr);gap:5px;margin:0 0 9px}
.header-cities .city-letter>b {display:grid;place-items:center;align-self:start;margin-top:3px;height:24px;border-radius:7px;background:#ededed;color:#595959;font-size:13px}
.header-cities .city-letter a {display:block;padding:5px 7px;border-radius:6px;font-size:14px;line-height:1.35}
.header-cities .city-letter a:hover {background:#f3f3f3}
.header-cities .city-picker .city-directory {margin:0;padding:10px 5px 0;border-top:1px solid #e5e5e5;color:#4d4d4d;font-size:14px;font-weight:600}
@media(max-width:480px){.header-cities .city-alphabet{columns:1}.header-cities .city-letter a{padding-block:7px}}
.portal-foot #gorod .city-picker input{color:white;background:#343434;border-color:#666666}
.portal-foot #gorod input::placeholder{color:#d1d1cd}
footer.portal-foot .foot-legal{display:block}
footer.portal-foot .foot-legal h3{margin:20px 0 10px}
footer.portal-foot .foot-legal nav{display:flex;flex-wrap:wrap;gap:8px}
footer.portal-foot .foot-legal nav a{background:#353535;border:1px solid #555555;color:#f5f3ed;padding:9px 13px;border-radius:8px;text-decoration:none}
footer.portal-foot .foot-legal nav a:hover{background:#4a4a4a}
@media(max-width:850px){.header-cities .city-picker{position:fixed;top:68px;right:3vw;width:94vw;box-sizing:border-box}}
@media(max-width:480px){.portal-header .header-cities summary{font-size:12px;padding:6px 2px}.portal-header .brand small{display:none}.portal-header .site-menu summary{font-size:0;gap:0;padding:7px}.portal-header .contact{white-space:normal}}
footer.portal-foot #gorod{border:0;padding:0;margin:24px 0}
footer.portal-foot #gorod>summary{display:flex;align-items:center;gap:12px;width:100%;box-sizing:border-box;list-style:none;padding:16px 18px;border:1px solid #625949;border-radius:12px;background:#363631;color:#fff4dc;font-weight:600;cursor:pointer}
footer.portal-foot #gorod>summary::-webkit-details-marker{display:none}
footer.portal-foot #gorod>summary::before{content:"";width:12px;height:12px;border:2px solid #d5bd90;border-radius:50% 50% 50% 0;transform:rotate(-45deg)}
footer.portal-foot #gorod>summary::after{content:"";width:8px;height:8px;margin-left:auto;border:solid #e0cba6;border-width:0 2px 2px 0;transform:rotate(45deg)}
footer.portal-foot #gorod[open]>summary::after{transform:rotate(225deg)}
footer.portal-foot #gorod>summary:hover{background:#414038}
footer.portal-foot #gorod>summary:focus-visible{outline:2px solid #e0cba6;outline-offset:3px}
/* Footer links share a graphite highlight and a warm text accent. */
footer.portal-foot :is(.foot-topic,.city-alphabet) a,
footer.portal-foot a.city-directory{border-radius:5px}
@media (hover:hover) and (pointer:fine){
  footer.portal-foot :is(.foot-topic,.city-alphabet) a:hover,
  footer.portal-foot a.city-directory:hover{
    color:#ffe2af;background:#3c3934;box-shadow:5px 0 #3c3934,-5px 0 #3c3934;text-decoration:none;
  }
  footer.portal-foot .foot-actions a:hover,
  footer.portal-foot .foot-legal nav a:hover{color:#ffe2af;background:#46413a;border-color:#857457;text-decoration:none}
  footer.portal-foot a.foot-brand:hover{color:#ffe2af;text-decoration:none}
}
footer.portal-foot :is(a,summary):focus-visible{outline:2px solid #e6c691;outline-offset:3px}

/* Center single- and multi-line button labels within their existing boxes. */
body button:not([hidden]),body a:is(.button,.t-btn,.contact),
body :is(.foot-actions,.foot-legal nav,.zero-button,.collection-end,.city-reviews) a{
  display:inline-flex;align-items:center;line-height:1.25;box-sizing:border-box;
}
footer.portal-foot .foot-actions a{min-height:44px;padding-block:10px}

html, body, body *, body ::before, body ::after {
  font-family: Montserrat, Arial, sans-serif !important;
}

#related > .eyebrow { display: none; }
#related .related-grid { gap: 18px; }
#related .related-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: clamp(18px, 2vw, 28px);
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  color: #2b2b2b;
  text-decoration: none;
  transition: box-shadow .18s ease, transform .18s ease;
}
#related .related-card::after { content: none; }
#related .related-card h3 {
  margin: 12px 0 18px;
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.32;
}
#related .related-card > span:last-child {
  margin: auto 0 0;
  font-size: 13px;
  font-weight: 650;
  color: #555555;
}
#related .related-card > span:last-child::after { content: ' →'; }
#related .related-card:first-child { padding-top: 0; background: white; color: #2b2b2b; }
#related .related-card:first-child::before {
  content: '';
  position: static;
  align-self: stretch;
  flex: 1 0 160px;
  margin: 0 calc(-1 * clamp(18px, 2vw, 28px)) 22px;
  background: url('/assets/dossier.jpg') center 40% / cover;
}
#related .related-card:first-child h3 {
  color: inherit;
  font-size: clamp(21px, 1.9vw, 28px);
}
#related .related-card:first-child .eyebrow { color: #5f5f5f; }
#related .related-card:nth-child(4) { background: #eeeeee; }
@media (hover: hover) {
  
}
@media (prefers-reduced-motion: reduce) {
  #related .related-card { transition: none; transform: none; }
}
/* Add a little weight while retaining each heading's existing Montserrat weight. */
:where(h1, h2, h3, h4, h5) {
  -webkit-text-stroke: 0.018em currentColor;
}

footer.portal-foot .foot-actions a { font-size: 14px; font-weight: 600; }
main section.topics > div a { font-weight: 600; }

#related .related-card { box-shadow: var(--panel-shadow) !important; }
#related .related-card:nth-child(4) { background: #e5e5e5; }
#related .related-meta { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 12px; }
#related .related-icon {
  display: block; flex: none; width: 42px; height: 42px;
  padding: 10px; box-sizing: border-box; border-radius: 12px;
  color: #80602d; background: #f3e7d0;
}
#related .related-card:is(:first-child,:nth-child(4)) .related-icon { color: #555555; background: #f6f6f6; }
@media (hover: hover) {
  
}

body .lawyer-caption, #team .team-person > .lawyer-caption {
  display: flex; flex-direction: column; align-items: flex-start; gap: 5px;
}
body .lawyer-caption > strong, #team .lawyer-caption > strong {
  margin: 0; font-size: 17px; line-height: 1.25; font-weight: 650;
}
body .lawyer-caption > span, #team .team-person .lawyer-caption > span {
  order: 0; margin: 0; font-size: 12px; line-height: 1.35; font-weight: 500; color: #5d5d5d;
}
body .lawyer-caption .lawyer-rating { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; margin-top: 3px; }
.lawyer-rating b { padding: 3px 6px; border-radius: 6px; background: #f6ead3; color: #694918; font: 650 12px/1.3 Montserrat,sans-serif; }
body .lawyer-caption .lawyer-rating small, #team .team-person .lawyer-rating small {
  margin: 0; padding: 0; background: transparent; font-size: 12px; line-height: 1.35; color: #5d5d5d;
}

:is(body, #team) :is(li, .team-person, .guide-lawyer):has(> .lawyer-caption) {
  display: flex; align-items: center; gap: 16px; padding: 16px 18px;
  background: white; border: 0; border-radius: 18px; box-shadow: var(--panel-shadow);
}
:is(body, #team) :is(li, .team-person, .guide-lawyer):has(> .lawyer-caption) > img {
  flex: none; width: 70px; height: 70px; object-fit: cover; object-position: center 35%; border-radius: 12px;
}
/* Shared editorial components on article and city pages. */
body .t514__row { display:grid; grid-template-columns: minmax(60px,auto) minmax(0,1fr); gap:clamp(10px,2vw,22px); padding:18px 0; border-top:1px solid #e1e1e1; }
.t514__row .t514__time_mobile,.t514__row .t514__timelinewrapper { display:none; }
.t514__row .t514__leftcol,.t514__row .t514__rightcol { width:auto; margin:0; padding:0; }
.t514__leftcol .t514__time { background:#ebebeb; color:#545454; border-radius:8px; padding:5px 9px; font-size:13px; font-weight:650; }
.t514__row .t514__title { font-size:20px; font-weight:650; line-height:1.35; margin-bottom:8px; }
.t514__row .t514__text ul { padding-left:20px; margin-block:10px; }
#chapters .record .guide-points { list-style:none; counter-reset:point; margin:0; padding:0; }
#chapters .record .guide-points > li { position:relative; counter-increment:point; margin:0; padding:14px 0 14px 46px; border-bottom:1px solid #e1e1e1; }
#chapters .record .guide-points > li:last-child { border-bottom:0; }
.guide-points > li::before { content:counter(point); position:absolute; left:0; top:14px; display:grid; place-items:center; width:30px; height:30px; border-radius:9px; background:#ebebeb; color:#4f4f4f; font-size:14px; font-weight:650; }
#chapters .record .guide-points li > p { margin:5px 0 0; font-size:16px; line-height:1.45; }
body .lawyer-comment .t558__col { display:grid; grid-template-columns:52px minmax(0,1fr); gap:14px; padding:clamp(16px,2vw,24px); background:#f7f7f7; border:1px solid #d5d5d5; border-inline-start:3px solid #747474; border-radius:12px; }
body .lawyer-comment .expert-label { display:block; font-size:12px; font-weight:650; color:#5a5a5a; }
body .lawyer-comment .t558__name { margin-block:3px; font-size:17px; font-weight:650; }
body .lawyer-comment .t528__descr { font-size:13px; line-height:1.45; color:#606060; }
body .lawyer-comment .t558__text { margin-top:12px; padding-top:14px; border-top:1px solid #d8d8d8; line-height:1.5; }
body .lawyer-comment .t558__bgimg img { width:52px; height:52px; object-fit:cover; border-radius:10px; }
body .record.type-664 .t664__wrapper { background:white; border:1px solid #d9d4c9; border-radius:12px; overflow:hidden; }
body .record.type-664 .t664__question,body .record.type-664 .t664__answer { padding:clamp(14px,2vw,22px); border-radius:0; }
body .record.type-664 .t664__question { background:#f3efe6; }
body .record.type-664 .t664__answer { margin:0; border:0; border-top:1px solid #ddd7ca; }
@media(max-width:600px){ body .t514__row { grid-template-columns:1fr; } .t514__leftcol .t514__time { display:inline-block; } }

body .t558__col:has([data-expert-comment]) {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  grid-template-areas: "portrait name rating" "portrait role rating" "answer answer answer";
  align-items: center;
  gap: 3px 14px;
  padding: clamp(30px, 3vw, 36px);
  border: 1px solid #dddddd;
  border-radius: 16px;
  background: #fff;
}
.t558__col:has([data-expert-comment]) > .t-cell:first-child { grid-area: portrait; }
.t558__col:has([data-expert-comment]) .t558__bgimg img {
  display: block; width: 52px; height: 52px; object-fit: cover; border-radius: 12px;
}
body .t558__cell:has([data-expert-comment]), body [data-expert-comment] { display: contents; }
body [data-expert-comment] > .expert-label { display:none; }
body .chapter [data-expert-comment] > .t558__name {
  grid-area: name; align-self: end; margin: 0; color: #2f2f2f; font-size: 18px; font-weight: 700; line-height: 1.25;
}
body .chapter .record [data-expert-comment] > .t528__descr {
  grid-area: role; align-self: start; margin: 2px 0 0; font-size: 15px; font-weight: 550; line-height: 1.4; color: #434343;
}
body [data-expert-comment] > .comment-score {
  grid-area: rating; display: grid; justify-items: center; gap: 2px; justify-self: start; padding: 7px 14px; background: #f3e5c9; border-radius: 10px;
}
[data-expert-comment] .comment-score strong { font-size: 19px; font-weight: 750; line-height: 1.2; color: #68460c; }
[data-expert-comment] .comment-score small { font-size: 13px; font-weight: 600; line-height: 1.3; color: #523e20; }
body .chapter .record [data-expert-comment] > .t558__text {
  grid-area: answer; padding: 0; margin: 14px 0 0; border: 0; color: #313131; line-height: 1.55;
}
@media (max-width: 600px) {
  body .t558__col:has([data-expert-comment]) {
    grid-template-columns: 52px minmax(0,1fr);
    grid-template-areas: "portrait name" "portrait role" "portrait rating" "answer answer";
    column-gap: 12px;
  }
}@media (max-width: 600px) { body [data-expert-comment] > .comment-score { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 5px; padding: 5px 9px; } }
[data-review-cards] .t664__question-name::before,.reader-account .account-author::before,.debt-testimony > p:first-child::before {content:"";display:inline-block;width:25px;height:25px;margin-inline-end:8px;vertical-align:middle;border-radius:7px;background:#e9e9e9 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234d705b' stroke-width='1.7' stroke-linejoin='round'%3E%3Cpath d='M4 4h16v12H9l-5 4z'/%3E%3Cpath d='M8 8h8M8 12h5'/%3E%3C/svg%3E") center/16px no-repeat}

#consultation-dialog {
  box-sizing:border-box; width:min(540px,calc(100% - 24px)); max-height:calc(100dvh - 32px);
  overflow:auto; margin:auto; padding:clamp(20px,4vw,32px); border:1px solid #e4e3df;
  border-radius:20px; background:#fff; color:#272829; font:inherit;
  box-shadow:0 20px 70px #17191c30;
}
#consultation-dialog::backdrop { background:rgb(24 26 28 / 48%); }
#consultation-dialog .consult-head { display:flex; align-items:center; justify-content:space-between; gap:12px; padding-bottom:16px; border-bottom:1px solid #e9e9e7; margin-bottom:18px; }
#consultation-dialog h2 { margin:0; font-size:clamp(21px,4vw,26px); line-height:1.2; }
#consultation-dialog form,#consultation-dialog label { display:grid; gap:7px; }
#consultation-dialog form { gap:15px; }
#consultation-dialog label { min-width:0; font-size:14px; font-weight:600; }
#consultation-dialog .consult-contacts { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
#consultation-dialog textarea,#consultation-dialog input:not([type=checkbox]) { box-sizing:border-box; width:100%; min-width:0; border:1px solid #c8c9c7; border-radius:9px; background:#fff; color:#242525; padding:11px 12px; font:400 16px/1.4 Montserrat,sans-serif; }
#consultation-dialog textarea { resize:vertical; min-height:90px; }
#consultation-dialog :is(input,textarea):focus-visible { outline:2px solid #4d5358; outline-offset:0; }
#consultation-dialog .consult-consent { display:flex; align-items:flex-start; gap:9px; font-size:13px; font-weight:400; line-height:1.5; }
#consultation-dialog .consult-consent input { flex:0 0 16px; width:16px; height:16px; margin:2px 0 0; accent-color:#292929; }
#consultation-dialog .consult-consent a { text-decoration:underline; }
#consultation-dialog button { cursor:pointer; }
#consultation-dialog button.consult-close { position:relative; flex:0 0 44px; width:44px; height:44px; padding:0; margin:0; border:0; border-radius:50%; background:#f3f3f1; font-size:0; color:#333; }
#consultation-dialog .consult-close::before,#consultation-dialog .consult-close::after { content:""; position:absolute; left:50%; top:50%; width:16px; height:2px; border-radius:2px; background:currentColor; transform:translate(-50%,-50%) rotate(45deg); }
#consultation-dialog .consult-close::after { transform:translate(-50%,-50%) rotate(-45deg); }
#consultation-dialog .consult-close:hover { background:#e6e6e3; }
#consultation-dialog button[type=submit] { width:100%; min-height:44px; background:#292929; color:white; padding:11px 18px; border:0; border-radius:9px; font:600 14px/1.4 Montserrat,sans-serif; }
#consultation-dialog button[type=submit]:hover { background:#424446; }
#consultation-dialog button:disabled { opacity:.65; }
#consultation-dialog output:empty { display:none; }
@media(max-width:480px){#consultation-dialog .consult-contacts { grid-template-columns:1fr; }}