/* Новый дизайн «Живого Ангарска» (10.10.2026). Подключается поверх CSS старой темы, только при cookie la_design=2. */
:root {
  --la-bg: #eef3f9;
  --la-card: #ffffff;
  --la-text: #1b2836;
  --la-muted: #4d5d6e;
  --la-line: #dde5ee;
  --la-blue: #17497f;
  --la-blue-soft: #e8f0fa;
  --la-green: #24a33a;
  --la-green-dark: #1b8a2e;
  --la-red: #e3342b;
  --la-orange: #ff9417;
  --la-radius: 16px;
  --la-shadow: 0 2px 10px rgba(23, 50, 90, 0.07);
  --la-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body.la2 {
  margin: 0;
  padding: 0;
  background: var(--la-bg);
  color: var(--la-text);
  font: 14px/1.5 var(--la-font);
  -webkit-text-size-adjust: 100%;
}
body.la2 a { color: var(--la-green-dark); }
body.la2 a:hover { color: var(--la-blue); }
.la2-wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; box-sizing: border-box; }

/* ---------- шапка ---------- */
.la2-top { background: #fff; border-bottom: 1px solid var(--la-line); }
.la2-top-in { display: flex; align-items: center; gap: 20px; min-height: 104px; }
.la2-logo { display: flex; flex-direction: column; text-decoration: none !important; flex: 0 0 auto; }
.la2-logo img { height: 66px; width: auto; display: block; }
.la2-tagline { color: var(--la-text); font-size: 12.5px; font-weight: 600; margin: 4px 0 0 4px; letter-spacing: 0.2px; }
.la2-search { flex: 1 1 260px; max-width: 380px; position: relative; margin: 0 0 0 auto; }
.la2-search input {
  width: 100%; box-sizing: border-box; height: 42px; border: 1px solid #cfdbe8; border-radius: 21px;
  padding: 0 44px 0 18px; font: 14px var(--la-font); background: #fff; color: var(--la-text); outline: none;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.03);
}
.la2-search input:focus { border-color: #8fb4dd; box-shadow: 0 0 0 3px rgba(23, 73, 127, 0.12); }
.la2-search button {
  position: absolute; right: 4px; top: 4px; width: 34px; height: 34px; border: 0; border-radius: 50%;
  background: transparent; color: var(--la-muted); cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.la2-search button:hover { background: var(--la-blue-soft); color: var(--la-blue); }
.la2-weather { position: relative; white-space: nowrap; color: var(--la-text); }
.la2-weather-btn { display: flex; align-items: center; gap: 6px; border: 0; background: none; padding: 6px 10px; border-radius: 12px; cursor: pointer; color: inherit; font: inherit; }
.la2-weather-btn:hover, .la2-weather-btn[aria-expanded="true"] { background: var(--la-blue-soft); }
.la2-weather-pop { position: absolute; top: calc(100% + 6px); right: 0; z-index: 60; width: 320px; background: #fff; border-radius: 16px; box-shadow: 0 14px 40px rgba(16, 38, 64, .2); padding: 16px; white-space: normal; text-align: left; }
.la2-weather-pop[hidden] { display: none; }
.la2-wnow { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--la-line); }
.la2-wnow-ico { font-size: 40px; line-height: 1; }
.la2-wnow b { font-size: 28px; }
.la2-wnow small { display: block; color: var(--la-muted); font-size: 12px; margin-top: 2px; }
.la2-whours { display: grid; grid-template-columns: repeat(6, 1fr); list-style: none; margin: 10px 0; padding: 0 0 10px; border-bottom: 1px solid var(--la-line); text-align: center; }
.la2-whours li { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 12px; color: var(--la-muted); }
.la2-whours i { font-style: normal; font-size: 20px; }
.la2-whours b { color: var(--la-text); font-size: 13px; }
.la2-wdays { list-style: none; margin: 0; padding: 0; }
.la2-wdays li { display: grid; grid-template-columns: 1fr 26px 52px 36px 36px; align-items: center; gap: 4px; padding: 5px 0; font-size: 13px; }
.la2-wdays i { font-style: normal; font-size: 18px; text-align: center; }
.la2-wdays b { text-align: right; }
.la2-wd { color: var(--la-text); }
.la2-wp { font-size: 11px; color: #2f7fd0; text-align: right; }
.la2-wmin { text-align: right; color: var(--la-muted); }
.la2-wsrc { margin-top: 8px; font-size: 11px; color: var(--la-muted); }
@media (max-width: 600px) { .la2-weather-pop { position: fixed; top: 64px; left: 16px; right: 16px; width: auto; } }
.la2-weather-ico { font-size: 24px; line-height: 1; }
.la2-weather b { font-size: 20px; }
.la2-weather-city { font-size: 13px; color: var(--la-muted); }
/* Информер бензина рядом с погодой — та же кнопка с окошком, что у погоды. */
.la2-fuelw { margin-left: -14px; }
.la2-fuel-ico { display: flex; color: var(--la-blue); }
.la2-fuel-lb { font-size: 13px; color: var(--la-muted); }
.la2-fcheap { margin: 10px 2px 0; font-size: 13px; }
.la2-fcheap b { font-size: 13px !important; }
.la2-fcheap ol { margin: 4px 0 0; padding: 0 0 0 18px; }
.la2-fcheap li { padding: 2px 0; }
.la2-fcheap li::marker { color: var(--la-muted); }
.la2-fcheap li span { float: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.la2-fcheap a { color: var(--la-text) !important; text-decoration: none !important; }
.la2-fcheap a:hover { color: var(--la-blue) !important; text-decoration: underline !important; }
a.la2-fall { display: block; margin: 12px 0 4px; font-weight: 600; color: var(--la-blue) !important; text-decoration: none !important; }
a.la2-fall:hover { text-decoration: underline !important; }
/* сводка в окошке информера */
.la2-wfuel { display: flex; align-items: center; gap: 10px; margin: 0 0 4px; padding: 10px 12px; border-radius: 12px; background: var(--la-blue-soft); color: var(--la-text) !important; text-decoration: none !important; }
.la2-wfuel-t { display: flex; flex-direction: column; font-size: 13px; font-weight: 600; line-height: 1.25; }
.la2-wfuel-t small { font-size: 11px; font-weight: 400; color: var(--la-muted); }
.la2-wfuel ul { display: flex; gap: 12px; margin: 0 0 0 auto; padding: 0; list-style: none; }
.la2-wfuel li { display: flex; flex-direction: column; align-items: center; font-size: 11px; color: var(--la-muted); line-height: 1.3; }
.la2-wfuel li strong { font-size: 15px; color: var(--la-text); }
@media (max-width: 1060px) { .la2-fuel-lb { display: none; } }
@media (max-width: 900px) { .la2-fuelw { margin-left: 0; } .la2-fuel-lb { display: none; } }

/* прежний виджет входа/приветствия — компактно справа */
.la2-user { flex: 0 0 auto; max-width: 520px; min-width: 0; font-size: 13px; line-height: 1.5; }
.la2-search { min-width: 160px; }
.la2-user form { margin: 0; }
.la2-user .search-form { display: none !important; }
.la2-user .welcome { padding: 0 !important; margin: 0 !important; background: none !important; float: none !important; width: auto !important; }
.la2-user .welcome > div { white-space: nowrap; }
.la2-user .la2-load, .la2-user .la2-load a { font-size: 11px; font-weight: 600; color: var(--la-muted) !important; text-decoration: none !important; }
.la2-user .la2-load a.red { color: var(--la-red) !important; }
.la2-user .welcome > div a { white-space: nowrap; }
.la2-user .welcome > div:has(> a.dotted) { margin-top: 2px; white-space: nowrap; }
.la2-user .welcome { overflow: hidden; }
.la2-user .welcome img { float: left; margin: 2px 8px 0 0; border-radius: 6px; }
.la2-user .welcome:has(> a:first-child > img) { display: grid; grid-template-columns: auto auto; column-gap: 8px; align-items: center; }
.la2-user .welcome > a:first-child:has(> img) { grid-row: 1 / span 2; }
.la2-user .welcome > a:first-child > img { float: none !important; margin: 0 !important; }
.la2-user .welcome:has(> a:first-child > img) > div { grid-column: 2; }
.la2-user .welcome a { font-weight: 600; }
.la2-user #subcontent3, .la2-user #subcontent4 { border-radius: 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18); }

.la2-burger { display: none; border: 0; background: transparent; width: 44px; height: 44px; padding: 10px; cursor: pointer; border-radius: 10px; }
.la2-burger span { display: block; height: 3px; margin: 4px 0; background: var(--la-text); border-radius: 2px; }
.la2-burger:hover { background: var(--la-blue-soft); }

/* ---------- меню ---------- */
.la2-nav { background: #fff; border-bottom: 1px solid var(--la-line); box-shadow: 0 1px 4px rgba(23, 50, 90, 0.05); position: relative; z-index: 50; }
.la2-menu { list-style: none; margin: 0; padding: 8px 0; display: flex; flex-wrap: wrap; gap: 2px; }
.la2-menu > li { position: relative; display: flex; align-items: center; }
.la2-menu > li > a {
  display: block; padding: 9px 12px; border-radius: 10px; color: var(--la-text) !important; font-weight: 600;
  text-decoration: none !important; font-size: 14px; white-space: nowrap;
}
.la2-menu > li > a:hover, .la2-menu > li:hover > a { background: var(--la-blue-soft); }
.la2-menu > li.la2-active > a { background: var(--la-blue); color: #fff !important; }
.la2-menu > li.la2-m-auto > a { color: #1688d8 !important; }
.la2-menu > li.la2-m-ermak > a { color: #f08a00 !important; }
.la2-menu > li.la2-m-family > a { color: var(--la-red) !important; }
.la2-menu > li.la2-has-sub > a::after { content: "▾"; font-size: 11px; margin-left: 5px; opacity: 0.6; }
.la2-sub-toggle { display: none; }
.la2-sub {
  display: none; position: absolute; top: 100%; left: 0; min-width: 230px; list-style: none; margin: 4px 0 0; padding: 8px;
  background: #fff; border-radius: 12px; box-shadow: 0 12px 32px rgba(23, 50, 90, 0.18); z-index: 60;
}
.la2-menu > li:last-child .la2-sub, .la2-menu > li:nth-last-child(2) .la2-sub { left: auto; right: 0; }
.la2-menu > li:hover > .la2-sub, .la2-menu > li:focus-within > .la2-sub { display: block; }
.la2-sub::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }
.la2-sub a { display: block; padding: 7px 12px; border-radius: 8px; color: var(--la-text) !important; text-decoration: none !important; }
.la2-sub a:hover { background: var(--la-blue-soft); }

.la2-more-sub .la2-sub, .la2-more-sub .la2-sub-toggle { display: none !important; }
.la2-more-sub > li > a { font-weight: 600; }
.la2-more-sub > li.la2-m-auto > a { color: #1688d8 !important; }
.la2-more-sub > li.la2-m-ermak > a { color: #f08a00 !important; }
.la2-more-sub > li.la2-m-family > a { color: var(--la-red) !important; }

/* ---------- каркас страницы (прежнее содержимое) ---------- */
body.la2 #page { width: auto; max-width: 1200px; margin: 18px auto 0; padding: 0 16px; box-sizing: border-box; }
body.la2 #page::after { content: ""; display: table; clear: both; }
body.la2 #content { float: none; width: auto; display: flex; gap: 24px; align-items: flex-start; }
body.la2 #content #main {
  float: none; flex: 1 1 auto; min-width: 0; width: auto; margin: 0 0 20px;
  background: var(--la-card); border-radius: var(--la-radius); box-shadow: var(--la-shadow); padding: 20px 22px; box-sizing: border-box;
}
body.la2 #content #sidebar-right { float: none; flex: 0 0 310px; width: 310px; margin: 0 0 20px; }
body.la2 .breadcrumb { margin: 0 0 12px; font-size: 13px; color: var(--la-muted); }
body.la2 #main h1.title { font-size: 24px; line-height: 1.25; color: var(--la-text); margin: 0 0 14px; }
body.la2 #main .node h2 a, body.la2 #main h2.title a { color: var(--la-text); }
body.la2 #main img { max-width: 100%; height: auto; }

/* правая колонка: прежние блоки карточками */
body.la2 #sidebar-right .block {
  background: var(--la-card); border-radius: var(--la-radius); box-shadow: var(--la-shadow); margin: 0 0 16px !important;
  overflow: hidden; padding: 0 !important; float: none !important; width: auto !important;
}
body.la2 #sidebar-right .block h2.title, body.la2 #sidebar-right .block .block-title h2 {
  background: none !important; color: var(--la-text) !important; font-size: 18px; line-height: 1.3; padding: 16px 18px 4px !important;
  margin: 0 !important; height: auto !important; border: 0 !important; font-weight: 700; text-align: left;
}
body.la2 #sidebar-right .block h2.title::before, body.la2 #sidebar-right .block .block-title h2::before {
  content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; background: var(--la-green); margin: 0 8px 2px 0;
}
body.la2 #sidebar-right .block .content { padding: 8px 18px 16px !important; background: none !important; border: 0 !important; font-size: 14px; }
body.la2 #sidebar-right .block + br { display: none; }
body.la2 #sidebar-right .block h2.title:empty { display: none; }
body.la2 #sidebar-right .block h2.title:empty + .content { padding-top: 16px !important; }
/* кнопка «обновить» блока — в правом верхнем углу карточки (в старой теме висела за краем отрицательными отступами) */
body.la2 #sidebar-right .block { position: relative; }
body.la2 #sidebar-right img[id^="blockrefresh-"] { position: absolute; top: 15px; right: 14px; margin: 0 !important; float: none !important; width: 24px; height: auto; }

/* «Наши партнёры»: баннеры во всю ширину блока */
body.la2 #block-block-2 .editor-right-button { float: none !important; width: auto !important; text-align: center; margin: 0 !important; }
body.la2 #block-block-2 .editor-right-button img { display: block; width: 100% !important; height: auto !important; box-sizing: border-box; margin: 0 0 8px; border-radius: 8px; }
body.la2 #block-block-2 .editor-right-button br { display: none; }

/* блоки без заголовка (баннеры): картинка по центру, без лишних полей */
body.la2 #sidebar-right .block:not(:has(h2)) .content { padding: 12px !important; text-align: center; }
body.la2 #sidebar-right .block:not(:has(h2)) .content br:last-child { display: none; }
body.la2 #sidebar-right .block:not(:has(h2)) img { display: block; margin: 0 auto; border-radius: 10px; }
body.la2 #sidebar-right img { max-width: 100%; height: auto; }
body.la2 #sidebar-right #block-block-113 { background: linear-gradient(135deg, #1f63b4, #2c86e0); }
body.la2 #sidebar-right #block-block-113 h2.title { color: #fff !important; }
body.la2 #sidebar-right #block-block-113 h2.title::before { background: #fff; }
body.la2 #sidebar-right #block-block-113 .content { text-align: center; }
body.la2 #sidebar-right #block-views-history_random-block_1 { background: #fff6e5; }
body.la2 #sidebar-right #block-views-history_random-block_1 h2.title::before { background: var(--la-orange); }
body.la2 #sidebar-right #block-poll-0 .form-submit, body.la2 #main .form-submit {
  background: var(--la-green); color: #fff; border: 0; border-radius: 10px; padding: 9px 18px; font: 600 14px var(--la-font); cursor: pointer;
}
body.la2 #sidebar-right #block-poll-0 .form-submit:hover, body.la2 #main .form-submit:hover { background: var(--la-green-dark); }
body.la2 #sidebar-right #block-poll-0 .bar { background: #e6edf5; border-radius: 6px; overflow: hidden; }
body.la2 #sidebar-right #block-poll-0 .bar .foreground { background: var(--la-green); }

/* ---------- страница материала ---------- */
body.la2 #main h1.title {
  background: none !important; color: var(--la-text) !important; padding: 0 !important; border: 0 !important; height: auto !important;
  font-size: 28px; line-height: 1.25; margin: 2px 0 12px; font-weight: 800; letter-spacing: -0.2px;
}
body.la2 #main .node .itemhead { margin-bottom: 16px; }
body.la2 #main .node .itemhead .tagdata { margin-top: 10px !important; padding-top: 0 !important; line-height: 1; }
body.la2 #main .node .itemhead .tagdata ul.links { margin: 0; padding: 0; }
body.la2 #main .chronodata { font-size: 13px; color: var(--la-muted); }
body.la2 #main .chronodata a { font-weight: 600; }
body.la2 #main .node .itemhead ul.links li { margin: 0 6px 6px 0; padding: 0; display: inline-block; background: none; }
body.la2 #main .node .itemhead ul.links li a[rel="tag"] {
  display: inline-block; background: var(--la-blue-soft); color: var(--la-blue) !important; text-decoration: none !important;
  border-radius: 999px; padding: 3px 11px; font-weight: 600; font-size: 12.5px;
}
body.la2 #main .node .itemhead ul.links li a[rel="tag"]:hover { background: var(--la-blue); color: #fff !important; }
body.la2 #main .node > .content { font-size: 16px; line-height: 1.65; color: var(--la-text); }
body.la2 #main .node > .content p { margin: 0 0 14px; }
body.la2 #main .node > .content img { border-radius: 10px; }
body.la2 #main .commentslink ul.links { margin: 6px 0 0; padding: 0; }
body.la2 #main .commentslink ul.links li { display: inline-block; margin: 0 4px 4px 0; padding: 0; background: none; font-size: 12.5px; color: var(--la-muted); }
body.la2 #main .commentslink ul.links li a {
  display: inline-block; padding: 4px 10px; border-radius: 8px; background: #f2f5f9; color: var(--la-muted) !important;
  text-decoration: none !important; font-weight: 600;
}
body.la2 #main .commentslink ul.links li a:hover { background: var(--la-blue-soft); color: var(--la-blue) !important; }
body.la2 #main .commentslink ul.links li.statistics_counter span { padding: 4px 6px 4px 0; display: inline-block; }

/* комментарии */
body.la2 #main .la2-meta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; clear: both; }
body.la2 #main .la2-meta-row .share-links { margin: 0 !important; float: none; }
body.la2 #main .la2-meta-row .share-links > span { border: 0 !important; background: none !important; padding: 0 !important; font-size: 13px !important; color: var(--la-muted) !important; }
body.la2 #comments { margin-top: 18px; }
body.la2 #main h2.la2-comments-title { margin: 28px 0 14px; padding: 16px 0 0 !important; border-top: 1px solid var(--la-line); font-size: 21px; color: var(--la-text); background: none !important; display: flex; align-items: center; gap: 10px; }
body.la2 #main h2.la2-comments-title span { font-size: 13px; font-weight: 700; color: var(--la-blue); background: var(--la-blue-soft); border-radius: 999px; padding: 2px 10px; }
body.la2 #comments .comment {
  border: 1px solid var(--la-line) !important; border-radius: 14px; padding: 14px 18px 10px !important; margin: 0 0 12px !important;
  box-shadow: none !important; overflow: hidden;
}
body.la2 #comments .comment:not(.comment-unpublished) { background: #fff !important; }
body.la2 #comments .comment.comment-unpublished { background: #fff3f3 !important; border-color: #f2c6c6 !important; }
body.la2 #comments .comment h3.title { margin: 0 0 2px; font-size: 16px; line-height: 1.35; border: 0 !important; }
body.la2 #comments .comment h3.title a { color: var(--la-text) !important; text-decoration: none !important; border: 0 !important; }
body.la2 #comments .comment .itemhead .picture { float: left; margin: 2px 10px 0 0; }
body.la2 #comments .comment .itemhead .picture img { border-radius: 8px; }
body.la2 #comments .comment > .content { font-size: 15px; line-height: 1.55; clear: none; }
body.la2 #comments .comment > .content p { margin: 6px 0 10px; }
body.la2 #comments .comment .metadata .commentslink ul.links li a { padding: 3px 9px; }
body.la2 #main .quote-msg {
  background: #f4f7fb !important; border: 0 !important; border-left: 3px solid var(--la-green) !important; border-radius: 10px;
  padding: 10px 14px !important; margin: 8px 0 12px !important; font-size: 14px; width: auto !important;
}
body.la2 #main .quote-author { font-size: 13px; margin-bottom: 4px; }
body.la2 #main .pager { margin: 16px 0; }
body.la2 #main ul.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 0; }
body.la2 #main ul.pager li { margin: 0 !important; padding: 0 !important; list-style: none; background: none; }
body.la2 #main .pager li a { display: inline-block; border: 1px solid var(--la-line); border-radius: 8px; padding: 4px 11px; background: #fff; color: var(--la-blue) !important; text-decoration: none !important; font-weight: 600; font-size: 13.5px; }
body.la2 #main .pager li a:hover { background: var(--la-blue-soft); }
body.la2 #main .pager li.pager-current { display: inline-block; border-radius: 8px; padding: 5px 11px !important; background: var(--la-blue); color: #fff; font-weight: 700; font-size: 13.5px; }
body.la2 #main .pager li.pager-ellipsis { padding: 4px 2px !important; color: var(--la-muted); }

/* форма комментария */
body.la2 #main h2.title { background: none !important; color: var(--la-text) !important; font-size: 21px; margin: 26px 0 12px; padding: 0 !important; border: 0 !important; height: auto !important; }
body.la2 #main #comment-form .form-item { margin: 0 0 14px; }
body.la2 #main #comment-form label { font-weight: 600; display: block; margin-bottom: 4px; }
body.la2 #main #comment-form label.option { display: inline; font-weight: normal; }
body.la2 #main #comment-form input.form-text, body.la2 #main #comment-form textarea {
  border: 1px solid #cfdbe8; border-radius: 10px; padding: 9px 12px; font: 15px var(--la-font); box-sizing: border-box; max-width: 100%; background: #fff;
}
body.la2 #main #comment-form input.form-text { width: 100%; max-width: 460px; }
body.la2 #main #comment-form textarea { width: 100% !important; min-height: 140px; }
body.la2 #main #comment-form input.form-text:focus, body.la2 #main #comment-form textarea:focus { outline: none; border-color: #8fb4dd; box-shadow: 0 0 0 3px rgba(23, 73, 127, 0.12); }
body.la2 #main #comment-form .description { font-size: 12.5px; color: var(--la-muted); }
body.la2 #main .bue-ui { border-radius: 10px 10px 0 0; }
body.la2 #comment-form #edit-comment-wrapper { float: none !important; width: auto !important; margin-right: 0 !important; }
body.la2 #comment-form .resizable-textarea { width: 100% !important; }
body.la2 #comment-form .tips, body.la2 #comment-form .tips + p { clear: both; }
body.la2 #main .la2-fmt { clear: both; text-align: right; margin: -8px 0 10px; font-size: 12.5px; }
body.la2 #main .la2-fmt a { color: var(--la-muted) !important; text-decoration: none; border-bottom: 1px dashed currentColor; }
body.la2 #main #comment-form .tips { font-size: 12.5px; color: var(--la-muted); }
/* компактная форма: имя / e-mail / тема в одну строку, файлы — одной строкой, кнопка и подписка рядом */
body.la2 #main #comment-form .la2-cf-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0 12px; }
body.la2 #main #comment-form .la2-cf-row input.form-text { max-width: none; }
body.la2 #main #comment-form .la2-cf-row .description { display: none; }
body.la2 #main #comment-form .form-item { margin-bottom: 10px; }
body.la2 #main #comment-form label { font-size: 13.5px; margin-bottom: 3px; }
body.la2 #main #comment-form input.form-text { padding: 7px 11px; }
body.la2 #main #comment-form textarea { min-height: 110px; height: 110px; }
body.la2 #main #comment-form #edit-comment-wrapper { margin-bottom: 4px; }
body.la2 #main .la2-fmt { margin: 0 0 8px; }
body.la2 #main .la2-attach .la-up { margin: 0 0 12px; }
body.la2 #main .la2-attach .la-up-drop { padding: 9px 12px; border-width: 1px; border-radius: 10px; font-size: 13.5px; text-align: left; }
body.la2 #main .la2-attach .la-up-drop::before { content: "\1F4CE  Прикрепить файлы: "; font-weight: 600; color: var(--la-text); }
body.la2 #main .la2-attach .la-up-drop b { padding: 3px 12px; border-radius: 999px; }
body.la2 #main .la2-attach .la-up-hint { margin: 3px 0 0 22px; }
body.la2 #main #comment-form .la2-cf-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
body.la2 #main #comment-form .la2-cf-foot .form-submit { order: -1; margin: 0; }
body.la2 #main #comment-form .la2-cf-foot .clear-block, body.la2 #main #comment-form .la2-cf-foot .form-item { margin: 0; }
body.la2 #main #comment-form .la2-cf-foot label.option { font-size: 13.5px; color: var(--la-muted); }

/* ---------- форум ---------- */
/* список форумов и список тем */
body.la2 #forum table { width: 100% !important; border: 1px solid var(--la-line) !important; border-radius: 14px; border-collapse: separate; border-spacing: 0; overflow: hidden; margin: 6px 0 14px; background: #fff; }
body.la2 #forum th, body.la2 #forum .forum-table th, body.la2 #forum .forum-topics th { background: #f3f6fa !important; color: var(--la-muted) !important; font-size: 12px; font-weight: 600 !important; text-transform: uppercase; letter-spacing: .03em; padding: 9px 10px; border: 0 !important; border-bottom: 1px solid var(--la-line) !important; }
body.la2 #forum .forum-topics th a, body.la2 #forum .forum-topics th a:link, body.la2 #forum .forum-topics th a:visited { background: none !important; color: var(--la-muted) !important; text-decoration: none; border: 0; }
body.la2 #forum .forum-topics th a:hover { color: var(--la-blue) !important; }
body.la2 #forum th.forum-name { padding-left: 16px; }
body.la2 #forum td { background: #fff !important; border: 0 !important; border-bottom: 1px solid var(--la-line) !important; padding: 11px 10px; vertical-align: middle; }
body.la2 #forum tbody tr:last-child td { border-bottom: 0 !important; }
body.la2 #forum tbody tr:hover td { background: #f8fbfe !important; }
body.la2 #forum td.container, body.la2 #forum tbody tr.container:hover td { background: var(--la-blue-soft) !important; padding: 12px 16px 10px !important; }
body.la2 #forum td.container .name a { color: var(--la-blue) !important; font-size: 16px; font-weight: 700; text-decoration: none; }
body.la2 #forum .container .forum-details .description { color: var(--la-muted) !important; font-size: 13px; }
body.la2 #forum td.forum-icon, body.la2 #forum th.forum-icon { display: none; }
body.la2 #forum .forum-details { padding-left: 6px; }
body.la2 #forum .forum-details .name a, body.la2 #forum td.title > a { color: var(--la-text) !important; font-size: 15px; font-weight: 700; text-decoration: none; }
body.la2 #forum .forum-details .name a:hover, body.la2 #forum td.title > a:hover { color: var(--la-green-dark) !important; text-decoration: underline; }
body.la2 #forum .forum-details .description { color: var(--la-muted) !important; font-size: 13px; margin: 2px 0 0; padding: 0; }
body.la2 #forum td.topics, body.la2 #forum td.posts, body.la2 #forum td.replies, body.la2 #forum td.views { text-align: center; color: var(--la-muted); font-size: 14px; width: 64px; }
body.la2 #forum td.last-reply { font-size: 12.5px; color: var(--la-muted); line-height: 1.4; width: 170px; padding-right: 14px; }
body.la2 #forum td.last-reply a { font-weight: 600; }
body.la2 #forum td.icon { width: 24px; padding: 11px 0 11px 12px; }
body.la2 #forum td.icon img { opacity: .85; }
body.la2 #forum td.title .created { font-size: 13px; color: var(--la-muted); margin-top: 2px; }
body.la2 #forum td.title .forum-topic-pager { font-size: 12px; color: var(--la-muted); text-align: left; margin-top: 3px; }
body.la2 #forum tr.sticky-topic td, body.la2 #forum tr.sticky td { background: #fffbea !important; }
body.la2 #forum .description { font-size: 13px; }
body.la2 #forum .forum-top-links, body.la2 #forum > p, body.la2 #main .forum-description { color: var(--la-muted); }
body.la2 #forum .pager, body.la2 #forum-comments .pager { float: none; text-align: right; margin: 10px 0; }
body.la2 #forum .pager a:link, body.la2 #forum .pager a:visited, body.la2 #forum-comments .pager a:link, body.la2 #forum-comments .pager a:visited { background: #fff !important; border: 1px solid var(--la-line) !important; color: var(--la-blue) !important; border-radius: 8px; padding: 4px 10px !important; }
body.la2 #forum .pager a:hover, body.la2 #forum-comments .pager a:hover { background: var(--la-blue-soft) !important; }
body.la2 #forum .pager li.pager-current, body.la2 #forum-comments .pager li.pager-current { background: var(--la-blue) !important; color: #fff !important; border-radius: 8px; padding: 4px 10px !important; }

/* сообщения темы */
body.la2 .forum-comment { background: #fff !important; border: 1px solid var(--la-line) !important; border-radius: 14px; margin: 0 0 12px !important; overflow: hidden; }
body.la2 .forum-comment.top-post { border-left: 4px solid var(--la-green) !important; }
body.la2 .forum-comment .post-info { background: #f6f9fc !important; color: var(--la-muted) !important; height: auto !important; padding: 7px 16px; font-size: 12.5px; border-bottom: 1px solid var(--la-line); display: flex; justify-content: space-between; align-items: center; }
body.la2 .forum-comment .post-info .posted-on { float: none; }
body.la2 .forum-comment .post-info::after { display: none !important; }
body.la2 .forum-comment .post-info .post-num, body.la2 .forum-comment .post-info .post-num a { float: none; color: var(--la-muted) !important; text-decoration: none; font-weight: 600; }
body.la2 .forum-comment .post-info .new { color: var(--la-red) !important; font-weight: 700; }
body.la2 .forum-post-wrapper { border: 0 !important; display: grid; grid-template-columns: 140px auto minmax(0, 1fr); align-items: start; }
body.la2 .forum-post-wrapper > a:empty, body.la2 .forum-post-wrapper > br { display: none; }
body.la2 .forum-comment-left { float: none !important; grid-column: 1; grid-row: 1 / span 3; align-self: stretch; width: 140px !important; box-sizing: border-box; min-height: 0 !important; border-right: 1px solid var(--la-line); background: #fbfcfe; }
body.la2 .forum-comment-left .author-pane { margin: 12px; text-align: center; }
body.la2 .forum-comment-left .author-pane .author-name { font-size: 14px; margin: 0 0 4px; word-break: break-word; }
body.la2 .forum-comment-left .author-pane .author-title { font-size: 11.5px; color: var(--la-muted); }
body.la2 .forum-comment-left .author-pane .picture { margin: 6px 0 0; text-align: center; float: none !important; }
body.la2 .forum-comment-left .author-pane .picture a, body.la2 .forum-comment-left .author-pane .picture img { display: inline-block !important; margin: 0 auto !important; }
body.la2 .forum-comment-left .author-pane .picture img { border: 0 !important; padding: 0 !important; border-radius: 12px; max-width: 80px !important; height: auto !important; background: none !important; }
body.la2 .forum-comment-right { margin: 0 !important; grid-column: 2 / 4; box-sizing: border-box; min-width: 0; background: none !important; padding: 12px 16px 4px; }
body.la2 .forum-comment-right .post-title { padding: 0 !important; font-size: 13px; color: var(--la-muted); margin-bottom: 4px; display: none; }
body.la2 .forum-comment-right .content { padding: 0 !important; font-size: 15px; line-height: 1.55; }
body.la2 .forum-comment-right .content p { margin: 4px 0 10px; }
body.la2 .forum-comment .author-signature { grid-column: 2 / 4; width: auto !important; min-width: 0; margin: 0 16px; padding: 6px 0 2px; border-top: 1px dashed var(--la-line); color: var(--la-muted); font-size: 12.5px; font-style: italic; }
body.la2 .forum-comment .author-signature p { margin: 2px 0; }
body.la2 .forum-comment > .forum-post-wrapper > br { display: none; }
body.la2 .forum-comment .forum-post-wrapper > div[style*="float:left"] { grid-column: 2; grid-row: 3; float: none !important; margin: 0 0 0 16px !important; padding: 10px 0; display: flex; align-items: center; gap: 4px; font-size: 13px; }
body.la2 .forum-comment .links { grid-column: 3; grid-row: 3; margin: 0 !important; text-align: right; background: none !important; padding: 6px 14px 10px !important; }
body.la2 .forum-comment ul.links li { margin: 0 0 0 4px; padding: 0; }
body.la2 .forum-comment ul.links li a { display: inline-block; padding: 3px 10px; border-radius: 999px; background: #f3f6fa; color: var(--la-blue) !important; text-decoration: none; font-size: 12.5px; }
body.la2 .forum-comment ul.links li a:hover { background: var(--la-blue-soft); }
body.la2 .forum-comment ul.links li.statistics_counter span { color: var(--la-muted); font-size: 12.5px; }
/* Модераторская кнопка «Удалить»/«Вернуть» (скрыть/показать сообщение) — заметным цветом, чтобы не сливалась с остальными. */
body.la2 ul.links li.fasttoggle_status a, body.la2 #main ul.links li.fasttoggle_status a { background: #fde8e7 !important; color: #c0261d !important; font-weight: 600; }
body.la2 ul.links li.fasttoggle_status a:hover, body.la2 #main ul.links li.fasttoggle_status a:hover { background: var(--la-red) !important; color: #fff !important; }
@media (max-width: 700px) {
  body.la2 #forum th.forum-posts, body.la2 #forum td.posts, body.la2 #forum th.topic-views, body.la2 #forum td.views, body.la2 #forum th.forum-last-post, body.la2 #forum td.last-reply, body.la2 #forum th.topic-lreply { display: none; }
  body.la2 .forum-post-wrapper { grid-template-columns: auto minmax(0, 1fr); }
  body.la2 .forum-comment-left { grid-column: 1 / 3; grid-row: auto; width: auto !important; border-right: 0; border-bottom: 1px solid var(--la-line); }
  body.la2 .forum-comment .author-signature { grid-column: 1 / 3; }
  body.la2 .forum-comment .forum-post-wrapper > div[style*="float:left"] { grid-column: 1 / 3; grid-row: auto; }
  body.la2 .forum-comment .links { grid-column: 1 / 3; grid-row: auto; text-align: left; }
  body.la2 .forum-comment-left .author-pane { margin: 8px 14px; text-align: left; }
  body.la2 .forum-comment-left .author-pane-name-section { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
  body.la2 .forum-comment-left .author-pane .picture { order: -1; margin: 0; }
  body.la2 .forum-comment-left .author-pane .picture img { max-width: 36px !important; border-radius: 8px; }
  body.la2 .forum-comment-right { grid-column: 1 / 3; }
  body.la2 .forum-comment .links { padding: 4px 10px 10px !important; }
  body.la2 .forum-comment-left .author-pane .author-name { margin: 0; }
  body.la2 .forum-comment .author-signature, body.la2 .forum-comment .forum-post-wrapper > div[style*="float:left"] { margin-left: 14px !important; }
  body.la2 .forum-comment-right { padding: 10px 14px 4px; }
}

/* ---------- списки: лента новостей, блоги, трекер, альбомы ---------- */
body.la2 #main .view-content > .views-row > .node,
body.la2 #main > div.node[style*="margin:0 0 30px"] {
  border: 1px solid var(--la-line); border-radius: 14px; padding: 16px 18px 10px; margin: 0 0 14px !important; background: #fff; overflow: hidden;
}
body.la2 #main .view-content > .views-row > .node:hover, body.la2 #main > div.node[style*="margin:0 0 30px"]:hover { border-color: #c9d7e6; box-shadow: var(--la-shadow); }
body.la2 #main .views-row > .node h2.title, body.la2 #main > div.node h2.title { margin: 0 0 4px; font-size: 20px; line-height: 1.3; border: 0 !important; }
body.la2 #main .views-row > .node h2.title a, body.la2 #main > div.node h2.title a { border: 0 !important; text-decoration: none !important; color: var(--la-text) !important; }
body.la2 #main .views-row > .node h2.title a:hover, body.la2 #main > div.node h2.title a:hover { color: var(--la-green-dark) !important; }
body.la2 #main .views-row > .node .content img[style*="float:left"] { border-radius: 10px; margin: 4px 14px 6px 0 !important; }
body.la2 #main .node .read-more a { text-decoration: none; font-size: 14px; color: var(--la-green-dark) !important; }
body.la2 #main .node .read-more a:hover { color: var(--la-blue) !important; }
body.la2 #main .node .content .metadata { clear: both; margin-top: 8px; }
/* блоги: колонка автора */
body.la2 #main > div.node table.clean { width: 100%; }
body.la2 #main > div.node table.clean > tbody > tr > td:first-child, body.la2 #main > div.node table.clean > tr > td:first-child { width: 120px !important; padding-right: 16px; }
body.la2 #main > div.node table.clean .chronodata { background: none !important; padding-left: 0 !important; font-size: 12.5px; color: var(--la-muted); line-height: 1.4; }
body.la2 #main > div.node table.clean .chronodata a { font-weight: 700; font-size: 13.5px; }
body.la2 #main > div.node table.clean .picture img { border: 0 !important; padding: 0 !important; border-radius: 12px; margin-top: 8px; }
body.la2 #main > div.node .tagdata { font-size: 0; }
body.la2 #main > div.node .tagdata ul { font-size: 14px; }
/* трекер */
body.la2 #tracker table { width: 100%; border: 1px solid var(--la-line) !important; border-radius: 14px; border-collapse: separate; border-spacing: 0; overflow: hidden; background: #fff; }
body.la2 #tracker th { background: #f3f6fa !important; color: var(--la-muted) !important; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; padding: 9px 10px; border: 0 !important; border-bottom: 1px solid var(--la-line) !important; text-align: left; }
body.la2 #tracker td { background: #fff !important; border: 0 !important; border-bottom: 1px solid var(--la-line) !important; padding: 10px; font-size: 13px; color: var(--la-muted); vertical-align: middle; }
body.la2 #tracker tbody tr:last-child td { border-bottom: 0 !important; }
body.la2 #tracker tbody tr:hover td { background: #f8fbfe !important; }
body.la2 #tracker td:nth-child(2) a { font-size: 14.5px; font-weight: 600; color: var(--la-text) !important; text-decoration: none; }
body.la2 #tracker td:nth-child(2) a:hover { color: var(--la-green-dark) !important; text-decoration: underline; }
body.la2 #tracker td:first-child { white-space: nowrap; font-size: 12px; }
body.la2 #tracker td.replies { text-align: center; font-weight: 600; }
body.la2 #tracker td:last-child { width: 130px; font-size: 12.5px; }
/* альбомы */
body.la2 #main ul.galleries { margin: 0; padding: 0; list-style: none; }
body.la2 #main ul.galleries li { background: #fff !important; border: 1px solid var(--la-line) !important; border-radius: 14px; padding: 14px !important; margin: 0 0 12px !important; list-style: none; }
body.la2 #main ul.galleries li:hover { border-color: #c9d7e6 !important; box-shadow: var(--la-shadow); }
body.la2 #main ul.galleries li img { border-radius: 10px; border: 0 !important; margin-right: 14px; }
body.la2 #main ul.galleries li h3 { margin: 2px 0 4px; font-size: 17px; color: var(--la-muted); font-weight: 600; }
body.la2 #main ul.galleries li h3 a { color: var(--la-text) !important; text-decoration: none; font-weight: 700; }
body.la2 #main ul.galleries li h3 a:hover { color: var(--la-green-dark) !important; }
body.la2 #main ul.galleries li .description { color: var(--la-muted); font-size: 14px; }
body.la2 #main ul.images { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 16px 14px; margin: 4px 0 10px; padding: 0; list-style: none; }
body.la2 #main ul.images li { height: auto !important; width: auto !important; float: none !important; margin: 0 !important; padding: 0 !important; list-style: none; background: none !important; }
body.la2 #main ul.images li img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 10px; border: 0 !important; padding: 0 !important; }
body.la2 #main ul.images li h3 { margin: 6px 0 0; font-size: 13px; line-height: 1.3; font-weight: 600; }
body.la2 #main ul.images li h3 a { color: var(--la-text) !important; text-decoration: none; }
body.la2 #main ul.images li a:hover img { opacity: .9; }
@media (max-width: 700px) {
  body.la2 #tracker th:nth-child(1), body.la2 #tracker td:nth-child(1), body.la2 #tracker th:nth-child(3), body.la2 #tracker td:nth-child(3) { display: none; }
  body.la2 #main > div.node table.clean > tbody > tr > td:first-child, body.la2 #main > div.node table.clean > tr > td:first-child { width: 64px !important; padding-right: 10px; }
  body.la2 #main > div.node table.clean .picture img { width: 56px; height: auto; }
  body.la2 #main .editor-justify-button, body.la2 #main .content.blog, body.la2 #main .node .content p[style*="justify"], body.la2 #main .node .content div[style*="justify"] { text-align: left !important; }
}

/* вкладки старых блоков (ddtabcontent: ul.shadetabs + div.tabcontent) */
body.la2 ul.shadetabs { display: flex; flex-wrap: wrap; gap: 4px; margin: 4px 0 10px !important; padding: 3px !important; background: #f0f4f9; border-radius: 999px; font: 600 13px var(--la-font) !important; list-style: none; width: fit-content; max-width: 100%; box-sizing: border-box; }
body.la2 ul.shadetabs li { display: block; margin: 0 !important; padding: 0 !important; background: none !important; list-style: none; }
body.la2 ul.shadetabs li a, body.la2 ul.shadetabs li a:visited { display: block; position: static !important; top: 0 !important; padding: 5px 12px !important; margin: 0 !important; border: 0 !important; border-radius: 999px; background: none !important; color: var(--la-muted) !important; text-decoration: none !important; }
body.la2 ul.shadetabs li a:hover { background: #fff !important; color: var(--la-blue) !important; }
body.la2 ul.shadetabs li a.selected, body.la2 ul.shadetabs li a.selected:hover { background: #fff !important; color: var(--la-blue) !important; box-shadow: 0 1px 3px rgba(23, 50, 90, 0.15); }
body.la2 #sidebar-right img[src*="/imagecache/sidebar235/"] { width: 100% !important; height: auto !important; border-radius: 12px; display: block; }
body.la2 ul.shadetabs { width: 100% !important; }
body.la2 ul.shadetabs li { flex: 1 1 0; text-align: center; }
body.la2 .sidebartabs { border: 0 !important; width: auto !important; padding: 0 !important; margin: 0 0 4px !important; background: none !important; }
body.la2 #main div[style*="border"]:has(> .tabcontent) { border: 0 !important; width: auto !important; padding: 0 !important; margin: 0 0 6px !important; }
body.la2 #main .tabcontent .views-field-title h2 { font-size: 18px; margin: 14px 0 6px; border: 0 !important; }
body.la2 #main .tabcontent .views-field-title h2 a { color: var(--la-text) !important; text-decoration: none !important; border: 0 !important; }
body.la2 #main .tabcontent .views-field-title h2 a:hover { color: var(--la-green-dark) !important; }
body.la2 #main .tabcontent img { border-radius: 10px; }
body.la2 #sidebar-right div[style*="border"]:has(> .tabcontent) { border: 0 !important; width: auto !important; padding: 0 !important; margin: 0 0 4px !important; background: none !important; }
body.la2 #sidebar-right .tabcontent .item-list ul { margin: 0; padding: 0; }
body.la2 #sidebar-right .tabcontent .item-list li { list-style: none; margin: 0 !important; padding: 6px 0 !important; border-bottom: 1px solid var(--la-line); background: none !important; font-size: 12px; color: var(--la-muted); line-height: 1.45; }
body.la2 #sidebar-right .tabcontent .item-list li:last-child { border-bottom: 0; }
body.la2 #sidebar-right .tabcontent .item-list li > a:first-child { color: var(--la-text) !important; text-decoration: none !important; font-size: 14px; }
body.la2 #sidebar-right .tabcontent .item-list li > a:first-child:hover { color: var(--la-green-dark) !important; text-decoration: underline !important; }
body.la2 #sidebar-right .tabcontent .item-list li > a:not(:first-child) { color: var(--la-muted) !important; }
body.la2 #sidebar-right .sidebartabs .views-row { padding: 6px 0; border-bottom: 1px solid var(--la-line); line-height: 1.4; }
body.la2 #sidebar-right .sidebartabs .views-row:last-child { border-bottom: 0; }
body.la2 #sidebar-right .sidebartabs .views-field-created { font-size: 12px; font-weight: 700; color: var(--la-muted); margin-right: 4px; }
body.la2 #sidebar-right .sidebartabs .views-field-title a { color: var(--la-text) !important; text-decoration: none !important; font-size: 14px; }
body.la2 #sidebar-right .sidebartabs .views-field-title a:hover { color: var(--la-green-dark) !important; text-decoration: underline !important; }

/* вкладки страниц (ul.tabs.primary): «Читать / Трекер / Друзья…», правка материала и т. п. */
body.la2 #main ul.tabs.primary { display: flex; gap: 4px; flex-wrap: nowrap; overflow-x: auto; padding: 0 0 2px !important; margin: 0 0 16px !important; border: 0 !important; white-space: nowrap; scrollbar-width: thin; height: auto; }
body.la2 #main ul.tabs.primary li { display: block; margin: 0; padding: 0; background: none; list-style: none; }
body.la2 #main ul.tabs.primary li a { display: block; margin: 0 !important; padding: 6px 14px !important; border: 1px solid var(--la-line) !important; border-radius: 999px; background: #fff !important; color: var(--la-muted) !important; font-weight: 600; font-size: 13.5px; text-decoration: none !important; }
body.la2 #main ul.tabs.primary li a:hover { border-color: #c9d7e6 !important; color: var(--la-blue) !important; }
body.la2 #main ul.tabs.primary li.active a { background: var(--la-blue) !important; border-color: var(--la-blue) !important; color: #fff !important; }
body.la2 #main ul.tabs.secondary { border: 0 !important; padding: 0 !important; margin: 0 0 12px !important; }
body.la2 #main ul.tabs.secondary li a { border: 0 !important; background: none !important; color: var(--la-muted) !important; font-size: 13px; padding: 2px 8px !important; }
body.la2 #main ul.tabs.secondary li.active a { color: var(--la-blue) !important; font-weight: 700; }
body.la2 .la2-pf-visits .profile { margin: 0 !important; }
body.la2 .la2-pf-sec .view-footer { text-align: right; margin-top: 8px; }
body.la2 .la2-pf-sec .extralinks { display: inline; background: none !important; padding: 0 !important; margin: 0 !important; border: 0 !important; float: none !important; }
body.la2 .la2-pf-sec div.extralinks { display: block; height: auto !important; margin: 8px 0 0 !important; text-align: right; }
body.la2 .la2-pf-sec div.extralinks a { float: none !important; margin: 0 !important; display: inline-block; background: var(--la-blue-soft) !important; color: var(--la-blue) !important; border-radius: 999px; padding: 5px 14px; font-weight: 700; font-size: 13px; text-decoration: none !important; }
/* ---------- профиль пользователя ---------- */
body.la2 .la2-pf-head { display: flex; gap: 22px; align-items: flex-start; background: linear-gradient(135deg, #f2f7fd, #e8f0fa); border: 1px solid var(--la-line); border-radius: 16px; padding: 20px; margin-bottom: 14px; }
body.la2 .la2-pf-ava img { display: block; width: 160px !important; height: 160px !important; object-fit: cover; border-radius: 16px; border: 3px solid #fff !important; box-shadow: var(--la-shadow); padding: 0 !important; }
body.la2 .la2-pf-noava { width: 160px; height: 160px; border-radius: 16px; background: #dbe6f2; }
body.la2 .la2-pf-main { flex: 1 1 auto; min-width: 0; }
body.la2 .la2-pf-title { font-size: 14px; font-weight: 700; color: var(--la-blue); display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
body.la2 .la2-pf-title span { font-weight: 600; color: var(--la-muted); font-size: 12.5px; }
body.la2 .la2-pf-stats { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
body.la2 .la2-pf-stats > div { background: #fff; border: 1px solid var(--la-line); border-radius: 12px; padding: 7px 14px; font-size: 12px; color: var(--la-muted); line-height: 1.25; }
body.la2 .la2-pf-stats b { display: block; font-size: 17px; color: var(--la-text); }
body.la2 .la2-pf-xs { margin: 0 0 10px; font-size: 14px; }
body.la2 .la2-pf-xs img { vertical-align: middle; margin-right: 6px; }
body.la2 .la2-pf-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 6px 16px; font-size: 14px; }
body.la2 .la2-pf-fact span { display: block; font-size: 11.5px; color: var(--la-muted); text-transform: uppercase; letter-spacing: .03em; }
body.la2 .la2-pf-about { margin-top: 10px; font-size: 14.5px; line-height: 1.5; background: #fff; border-radius: 12px; padding: 10px 14px; }
body.la2 .la2-pf-ulogin { margin-top: 8px; font-size: 13px; color: var(--la-muted); }
body.la2 .la2-pf-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
body.la2 .la2-pf-btn, body.la2 .la2-pf-btn a { display: inline-block; border-radius: 999px; font-weight: 700; font-size: 13.5px; text-decoration: none !important; }
body.la2 .la2-pf-btn a { background: #fff; border: 1px solid var(--la-line); padding: 7px 16px; color: var(--la-blue) !important; }
body.la2 a.la2-pf-btn-main { background: var(--la-green); color: #fff !important; padding: 8px 18px; }
body.la2 a.la2-pf-btn-main:hover { background: var(--la-green-dark); }
body.la2 .la2-pf-badges { margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 6px; }
body.la2 .la2-pf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
body.la2 .la2-pf-sec { border: 1px solid var(--la-line); border-radius: 14px; padding: 14px 18px; background: #fff; margin: 0 0 14px; font-size: 14px; }
body.la2 .la2-pf-grid .la2-pf-sec { margin: 0; }
body.la2 #main .la2-pf-sec h2 { font-size: 18px; margin: 0 0 10px; padding: 0 !important; background: none !important; color: var(--la-text) !important; border: 0 !important; }
body.la2 #main .la2-pf-sec h3 { font-size: 15px; margin: 0 0 6px; color: var(--la-text); }
body.la2 #main .la2-pf-sec h3 ~ h3 { margin-top: 14px; }
body.la2 .la2-pf-visits .profile { padding: 4px 0; border-bottom: 1px solid var(--la-line); font-size: 13px; color: var(--la-muted); }
body.la2 .la2-pf-visits .profile:last-child { border-bottom: 0; }
body.la2 .la2-pf-sec .view-content .views-row { padding: 6px 0; border-bottom: 1px solid var(--la-line); font-size: 13px; color: var(--la-muted); }
body.la2 .la2-pf-sec .view-content .views-row:last-child { border-bottom: 0; }
body.la2 .la2-pf-sec .views-field-title a { font-size: 14px; color: var(--la-text) !important; text-decoration: none; font-weight: 600; }
body.la2 .la2-pf-sec .views-field-title a:hover { color: var(--la-green-dark) !important; text-decoration: underline; }
body.la2 .la2-pf-sec .views-field-created { font-weight: 700; }
body.la2 .la2-pf-sec .more-link { text-align: right; margin-top: 8px; }
body.la2 .la2-pf-sec .view-empty p { margin: 0; color: var(--la-muted); }
body.la2 .la2-pf-sec .item-list ul { margin: 0; padding: 0; }
body.la2 .la2-pf-sec .la2-pf-photos ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
body.la2 .la2-pf-sec .la2-pf-photos li { border: 0 !important; padding: 0 !important; overflow: hidden; }
body.la2 .la2-pf-sec .la2-pf-photos .node, body.la2 .la2-pf-sec .la2-pf-photos .content, body.la2 .la2-pf-sec .la2-pf-photos .content > div, body.la2 .la2-pf-sec .la2-pf-photos a.hoverlink { display: block; width: auto !important; float: none !important; margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; }
body.la2 .la2-pf-sec .la2-pf-photos img { display: block; width: 100% !important; height: auto !important; aspect-ratio: 1; object-fit: cover; border-radius: 10px; border: 0 !important; padding: 0 !important; }
body.la2 .la2-pf-sec .item-list li { list-style: none; margin: 0 !important; padding: 6px 0; border-bottom: 1px solid var(--la-line); font-size: 13px; color: var(--la-muted); }
body.la2 .la2-pf-sec .item-list li:last-child { border-bottom: 0; }
@media (max-width: 700px) {
  body.la2 .la2-pf-head { flex-direction: column; align-items: center; text-align: center; padding: 16px; }
  body.la2 .la2-pf-ava img, body.la2 .la2-pf-noava { width: 120px !important; height: 120px !important; }
  body.la2 .la2-pf-title, body.la2 .la2-pf-stats, body.la2 .la2-pf-actions { justify-content: center; }
  body.la2 .la2-pf-facts { text-align: left; }
  body.la2 .la2-pf-grid { grid-template-columns: 1fr; }
}

/* «Именинники»: короткий заголовок, строки с аватаркой, остальное под «Показать всех» (v2.js) */
body.la2 #sidebar-right #block-birthdays-by_days h2.title { font-size: 0; }
body.la2 #sidebar-right #block-birthdays-by_days h2.title::after { content: "Дни рождения"; font-size: 18px; }
body.la2 #block-birthdays-by_days table.clean { width: 100%; border-collapse: collapse; }
body.la2 #block-birthdays-by_days td { padding: 6px 0 !important; border-bottom: 1px solid var(--la-line) !important; vertical-align: middle !important; width: auto !important; }
body.la2 #block-birthdays-by_days tr:last-child td { border-bottom: 0 !important; }
body.la2 #block-birthdays-by_days td:first-child { width: 38px !important; }
body.la2 #block-birthdays-by_days td:first-child:empty::before { content: ""; display: block; width: 30px; height: 30px; border-radius: 50%; background: var(--la-blue-soft); }
body.la2 #block-birthdays-by_days .picture { margin: 0 !important; float: none !important; }
body.la2 #block-birthdays-by_days .picture img { border-radius: 50% !important; border: 0 !important; padding: 0 !important; display: block; }
body.la2 #block-birthdays-by_days td:nth-child(2) a { color: var(--la-text) !important; font-weight: 600; text-decoration: none; border: 0 !important; }
body.la2 #block-birthdays-by_days td:nth-child(2) a:hover { color: var(--la-green-dark) !important; }
body.la2 #block-birthdays-by_days td:nth-child(2) small { color: var(--la-muted); }
body.la2 #block-birthdays-by_days td:last-child { text-align: right; font-size: 12.5px; font-weight: 700; color: var(--la-muted); white-space: nowrap; }
body.la2 #block-birthdays-by_days tr.la2-hide { display: none; }
body.la2 .la2-more-btn { display: block; width: 100%; margin-top: 10px; padding: 8px; border: 0; border-radius: 999px; background: var(--la-blue-soft); color: var(--la-blue); font: 700 13px var(--la-font); cursor: pointer; }
body.la2 .la2-more-btn:hover { background: #dbe7f6; }

/* списки пользователя: комментарии карточками, материалы строками, фильтр */
body.la2 #main .view-user-comments .views-row > .comment { border: 1px solid var(--la-line) !important; border-radius: 14px; padding: 14px 18px 10px !important; margin: 0 0 12px !important; background: #fff !important; overflow: hidden; }
body.la2 #main .view-user-comments .comment h3.title { margin: 0 0 2px; font-size: 16px; line-height: 1.35; border: 0 !important; }
body.la2 #main .view-user-comments .comment h3.title a { color: var(--la-text) !important; text-decoration: none !important; border: 0 !important; }
body.la2 #main .view-user-comments .comment h3.title small { color: var(--la-muted) !important; font-weight: 600; font-size: 13px; }
body.la2 #main .view-user-comments .comment .content { font-size: 15px; line-height: 1.55; }
body.la2 #main .view-user-comments .comment .content img { border-radius: 10px; }
body.la2 #main .view-content > .views-row:has(> .views-field-title) { padding: 8px 0; border-bottom: 1px solid var(--la-line); font-size: 13px; color: var(--la-muted); }
body.la2 #main .view-content > .views-row:has(> .views-field-title):last-child { border-bottom: 0; }
body.la2 #main .view-content > .views-row > .views-field-created { font-weight: 700; }
body.la2 #main .view-content > .views-row > .views-field-title a { font-size: 14.5px; font-weight: 600; color: var(--la-text) !important; text-decoration: none; }
body.la2 #main .view-content > .views-row > .views-field-title a:hover { color: var(--la-green-dark) !important; text-decoration: underline; }
body.la2 #main .views-exposed-form { background: #f6f9fc; border: 1px solid var(--la-line); border-radius: 14px; padding: 12px 16px; margin: 0 0 14px; }
body.la2 #main .views-exposed-widgets { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 16px; }
body.la2 #main .views-exposed-widget { float: none !important; padding: 0 !important; }
body.la2 #main .views-exposed-widget label { font-size: 12.5px; color: var(--la-muted); font-weight: 600; }
body.la2 #main .views-exposed-widget .form-item { margin: 0 !important; }
body.la2 #main .views-exposed-widget select, body.la2 #main .views-exposed-widget input.form-text { border: 1px solid #cfdbe8; border-radius: 10px; padding: 7px 10px; font: 14px var(--la-font); background: #fff; }
body.la2 #main .views-exposed-widget .form-submit { margin: 0 !important; }

/* ---------- раздел «Авто»: меню раздела и лента «Продажа авто» под общей шапкой ---------- */
body.la2 .la2-auto-bar { margin: 14px 0 4px; }
body.la2 .la2-auto-bar .block-nice_menus { height: auto !important; margin: 0 0 12px; clear: both; }
body.la2 .la2-auto-bar .block-nice_menus h2.title { display: none; }
body.la2 .la2-auto-bar .block-nice_menus .content { padding: 0 !important; }
body.la2 .la2-auto-bar ul.nice-menu { display: flex !important; flex-wrap: wrap; gap: 6px; float: none !important; margin: 0 !important; padding: 0; border: 0 !important; background: none !important; width: auto !important; }
body.la2 .la2-auto-bar ul.nice-menu > li:nth-child(-n+3) { display: none !important; }
body.la2 .la2-auto-bar ul.nice-menu > li { float: none !important; position: relative; margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; list-style: none; width: auto !important; }
body.la2 .la2-auto-bar ul.nice-menu > li > a { display: block; padding: 7px 14px !important; border-radius: 999px; background: #fff !important; border: 1px solid var(--la-line) !important; color: var(--la-text) !important; font: 700 14px var(--la-font) !important; text-decoration: none !important; }
body.la2 .la2-auto-bar ul.nice-menu > li > a::first-letter { color: var(--la-red); }
body.la2 .la2-auto-bar ul.nice-menu > li > a:hover, body.la2 .la2-auto-bar ul.nice-menu > li:hover > a { border-color: #c9d7e6 !important; color: var(--la-blue) !important; }
body.la2 .la2-auto-bar ul.nice-menu > li.menuparent > a::after { content: " ▾"; color: var(--la-muted); font-size: 11px; }
body.la2 .la2-auto-bar ul.nice-menu li ul { display: none; position: absolute !important; top: 100% !important; left: 0 !important; z-index: 60; min-width: 230px; margin: 4px 0 0 !important; padding: 6px !important; background: #fff !important; border: 1px solid var(--la-line) !important; border-radius: 12px; box-shadow: 0 8px 24px rgba(23, 50, 90, 0.15); visibility: visible !important; }
body.la2 .la2-auto-bar ul.nice-menu li:hover > ul, body.la2 .la2-auto-bar ul.nice-menu li.over > ul { display: block !important; }
body.la2 .la2-auto-bar ul.nice-menu li ul li { float: none !important; width: auto !important; margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; list-style: none; }
body.la2 .la2-auto-bar ul.nice-menu li ul li a { display: block; padding: 7px 10px !important; border-radius: 8px; color: var(--la-text) !important; font: 500 14px var(--la-font) !important; text-decoration: none !important; background: none !important; border: 0 !important; white-space: nowrap; }
body.la2 .la2-auto-bar ul.nice-menu li ul li a:hover { background: var(--la-blue-soft) !important; color: var(--la-blue) !important; }
body.la2 .la2-auto-bar #block-block-15 { height: auto !important; background: #fff !important; border-radius: 16px; box-shadow: var(--la-shadow); padding: 14px 16px 12px !important; margin: 0 0 6px !important; overflow: hidden; }
body.la2 .la2-auto-bar #block-block-15 .content { display: flex; flex-direction: column; }
body.la2 .la2-auto-bar #block-block-15 .view-content { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
body.la2 .la2-auto-bar #block-block-15 .views-row { flex: 0 0 160px; float: none !important; width: 160px !important; margin: 0 !important; padding: 0 !important; position: relative; display: flex; flex-direction: column; }
body.la2 .la2-auto-bar #block-block-15 .views-row img { display: block; width: 160px; height: 120px; object-fit: cover; border-radius: 10px; border: 0 !important; }
body.la2 .la2-auto-bar #block-block-15 .views-field-field-auto-price-value { white-space: nowrap; position: absolute !important; top: 92px !important; left: 8px !important; right: auto !important; bottom: auto !important; background: var(--la-red) !important; color: #fff !important; border-radius: 8px; padding: 2px 8px !important; font-weight: 700; font-size: 12.5px; width: auto !important; height: auto !important; }
body.la2 .la2-auto-bar #block-block-15 .views-field-nothing { text-align: left !important; margin-top: 6px; font-size: 13.5px; line-height: 1.3; }
body.la2 .la2-auto-bar #block-block-15 .views-field-nothing a { color: var(--la-text) !important; text-decoration: none !important; font-weight: 600; }
body.la2 .la2-auto-bar #block-block-15 .views-field-nothing a:hover { color: var(--la-green-dark) !important; }
body.la2 .la2-auto-bar #block-block-15 .content > div[style*="float:right"] { float: none !important; align-self: flex-end; padding: 6px 0 0 !important; }
body.la2 .la2-auto-bar #block-block-15 .content > div[style*="float:right"] strong { font-size: 0; }
body.la2 .la2-auto-bar #block-block-15 .content > div[style*="float:right"] a { font-size: 13px !important; display: inline-block; background: var(--la-red); color: #fff !important; border-radius: 999px; padding: 5px 14px; text-decoration: none; font-size: 13px; }
body.la2.la2-auto #sidebar-right > a { display: block; margin: 0 0 14px; }
body.la2.la2-auto #sidebar-right > a > img { display: block; width: 100% !important; height: auto !important; border-radius: var(--la-radius); margin: 0 !important; box-shadow: var(--la-shadow); }
body.la2 #sidebar-right #block-block-101 { background: none !important; box-shadow: none !important; border: 0 !important; }
body.la2 #sidebar-right #block-block-101 .content { padding: 0 !important; }
body.la2 #sidebar-right #block-block-101 p { margin: 0 0 10px; }
body.la2 #sidebar-right #block-block-101 img { display: block; width: 100% !important; height: auto !important; margin: 0 !important; border-radius: var(--la-radius); box-shadow: var(--la-shadow); }

/* ссылки-кнопки под блоками («Все авто-новости», «Добавить свою новость»…) — вместо голубых плашек */
body.la2 #main div.extralinks { height: auto !important; margin: 12px 0 0 !important; text-align: right; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; clear: both; }
body.la2 #main div.extralinks a { float: none !important; margin: 0 !important; display: inline-block; background: var(--la-blue-soft) !important; color: var(--la-blue) !important; border-radius: 999px; padding: 6px 15px !important; font-weight: 700; font-size: 13.5px; text-decoration: none !important; }
body.la2 #main div.extralinks a:hover { background: #dbe7f6 !important; }
/* ленты фото (бывшие карусели): сетка квадратов */
body.la2 #main .view-autonav-front-images .item-list ul, body.la2 #main .view-ermak-front-images .item-list ul, body.la2 #main .item-list-images ul { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; width: auto !important; margin: 6px 0 0 !important; padding: 0 !important; position: static !important; left: 0 !important; }
body.la2 #main .view-autonav-front-images .item-list, body.la2 #main .view-ermak-front-images .item-list, body.la2 #main .item-list-images { width: auto !important; height: auto !important; overflow: visible !important; }
body.la2 #main .view-autonav-front-images li, body.la2 #main .view-ermak-front-images li, body.la2 #main .item-list-images li { float: none !important; width: auto !important; height: auto !important; margin: 0 !important; padding: 0 !important; border: 0 !important; list-style: none; background: none !important; }
body.la2 #main .view-autonav-front-images li .node, body.la2 #main .view-ermak-front-images li .node, body.la2 #main .item-list-images li .node, body.la2 #main .view-autonav-front-images li .content, body.la2 #main .view-ermak-front-images li .content, body.la2 #main .item-list-images li .content { width: auto !important; margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; float: none !important; }
body.la2 #main .view-autonav-front-images li img, body.la2 #main .view-ermak-front-images li img, body.la2 #main .item-list-images li img { display: block; width: 100% !important; height: auto !important; aspect-ratio: 1; object-fit: cover; border-radius: 10px; border: 0 !important; padding: 0 !important; }
/* таблицы со списками (цены на топливо и т. п.) — светлая шапка */
body.la2 #main #fuelp table { width: 100%; border: 1px solid var(--la-line) !important; border-radius: 14px; border-collapse: separate; border-spacing: 0; overflow: hidden; background: #fff; }
body.la2 #main #fuelp th { background: #f3f6fa !important; background-image: none !important; color: var(--la-muted) !important; font-size: 12px; font-weight: 700; padding: 9px 8px !important; border: 0 !important; border-bottom: 1px solid var(--la-line) !important; text-align: center; }
body.la2 #main #fuelp th:first-child { text-align: left; }
body.la2 #main #fuelp td { background: #fff !important; border: 0 !important; border-bottom: 1px solid var(--la-line) !important; padding: 8px !important; font-size: 13.5px; text-align: center; }
body.la2 #main #fuelp td:first-child { text-align: left; }
body.la2 #main #fuelp td a { color: var(--la-text) !important; text-decoration: none; font-weight: 600; }
body.la2 #main #fuelp tbody tr:hover td { background: #f8fbfe !important; }
body.la2 #main #fuelp tbody tr:last-child td { border-bottom: 0 !important; }

/* кнопки опросов во всех блоках (в т. ч. «Семья», «Авто») */
body.la2 .poll input.form-submit, body.la2 .block-poll input.form-submit, body.la2 .block input.form-submit[value="Голос"] { background: var(--la-green) !important; color: #fff !important; border: 0 !important; border-radius: 999px !important; padding: 8px 22px !important; font: 700 14px var(--la-font) !important; cursor: pointer; background-image: none !important; box-shadow: none !important; }
body.la2 .poll input.form-submit:hover, body.la2 .block input.form-submit[value="Голос"]:hover { background: var(--la-green-dark) !important; }
@media (max-width: 700px) {
  body.la2 ul.shadetabs { flex-wrap: nowrap; overflow-x: auto; border-radius: 14px; }
  body.la2 ul.shadetabs li { flex: 0 0 auto; }
  body.la2 ul.shadetabs li a { white-space: nowrap; }
}

/* окно статуса (xstatus, #subcontent6): по центру экрана, карточкой, вместо оранжевой рамки у левого края */
body.la2 #subcontent6 { position: fixed !important; top: 50% !important; left: 50% !important; transform: translate(-50%, -50%); z-index: 1000 !important; width: 360px !important; max-width: calc(100vw - 32px); max-height: calc(100vh - 32px); overflow: auto; box-sizing: border-box; border: 0 !important; border-radius: 18px; background: #fff !important; padding: 20px 22px 18px !important; box-shadow: 0 20px 60px rgba(15, 35, 65, 0.35), 0 0 0 100vmax rgba(15, 35, 65, 0.35); font: 14px/1.4 var(--la-font); }
body.la2 #subcontent6 > a[style*="float:right"] { position: absolute; top: 14px; right: 14px; float: none !important; width: 30px; height: 30px; border-radius: 50%; background: #f0f4f9; display: flex; align-items: center; justify-content: center; }
body.la2 #subcontent6 > a[style*="float:right"] img { width: 12px; height: 12px; opacity: .6; }
body.la2 #subcontent6 label { font-weight: 700; display: block; margin: 0 0 6px; font-size: 14px; }
body.la2 #subcontent6 .form-item { margin: 0 0 14px; }
body.la2 #subcontent6 input.form-text { width: 100% !important; box-sizing: border-box; border: 1px solid #cfdbe8; border-radius: 10px; padding: 8px 12px; font: 14px var(--la-font); }
body.la2 #subcontent6 .form-radios { margin: 0 !important; padding: 0 !important; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 4px; }
body.la2 #subcontent6 .form-radios label.option { overflow: hidden; padding: 0 !important; font-size: 0; width: auto !important; min-width: 0 !important; float: none !important; }
body.la2 #subcontent6 .form-radios .form-item { width: auto !important; min-width: 0; float: none !important; }
body.la2 #subcontent6 .form-radios .form-item { margin: 0 !important; }
body.la2 #subcontent6 .form-radios label.option { margin: 0; display: flex; align-items: center; justify-content: center; height: 34px; border-radius: 8px; cursor: pointer; }
body.la2 #subcontent6 .form-radios label.option:hover { background: var(--la-blue-soft); }
body.la2 #subcontent6 .form-radios img { border-radius: 6px; }
body.la2 #subcontent6 input.form-submit { background: var(--la-green) !important; color: #fff !important; border: 0 !important; border-radius: 999px; padding: 9px 22px; font: 700 14px var(--la-font); cursor: pointer; }
body.la2 #subcontent6 input.form-submit:hover { background: var(--la-green-dark) !important; }

/* доска объявлений: рубрики плитками, «Добавить объявление» кнопкой */
body.la2 #main .view-doska ul.views-summary { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; margin: 6px 0 16px !important; padding: 0 !important; width: auto !important; }
body.la2 #main .view-doska ul.views-summary li { display: flex !important; align-items: center; justify-content: space-between; gap: 10px; margin: 0 !important; padding: 11px 14px !important; float: none !important; width: auto !important; list-style: none !important; background: #fff !important; border: 1px solid var(--la-line) !important; border-radius: 12px; color: var(--la-muted) !important; font-size: 13px; font-weight: 700; }
body.la2 #main .view-doska ul.views-summary li:hover { border-color: #c9d7e6 !important; box-shadow: var(--la-shadow); }
body.la2 #main .view-doska ul.views-summary li a { background: none !important; color: var(--la-text) !important; text-decoration: none !important; font-size: 15px; font-weight: 700; padding: 0 !important; width: auto !important; display: inline !important; }
body.la2 #main .view-doska ul.views-summary li a:hover { color: var(--la-green-dark) !important; }
body.la2 #main .view-doska .view-content > .views-row { background: #fff !important; border: 1px solid var(--la-line) !important; border-radius: 14px; padding: 12px 16px !important; margin: 0 0 10px !important; font-size: 14.5px; line-height: 1.5; }
body.la2 #main .view-doska .view-content > .views-row:hover { border-color: #c9d7e6 !important; }
body.la2 #main .view-doska .views-field-created small { color: var(--la-muted); font-weight: 700; font-size: 12px; }
body.la2 #main .view-doska .views-field-field-obphoto-fid .field-content { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
body.la2 #main .view-doska .views-field-field-obphoto-fid img { width: 84px !important; height: 84px !important; object-fit: cover; border-radius: 10px; display: block; }
body.la2 #main .view-doska .views-field-field-ob-phone-value { font-weight: 600; }
body.la2 #main .view-doska small strong, body.la2 #main .view-doska small { color: var(--la-muted); }
body.la2 #main .view-doska .view-footer .editor-right-button { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
body.la2 #main .view-doska .view-footer .editor-right-button ul { margin: 0; padding: 0; order: -1; }
body.la2 #main .view-doska .view-footer .editor-right-button li { list-style: none; margin: 0; padding: 0; background: none; }
body.la2 #main .view-doska .view-footer .editor-right-button li a { display: inline-block; background: var(--la-green); color: #fff !important; border-radius: 999px; padding: 8px 18px; text-decoration: none !important; }
body.la2 #main .view-doska .view-footer .editor-right-button li a:hover { background: var(--la-green-dark); }
body.la2 #main .view-doska .view-footer .editor-right-button img { float: none !important; margin: 0 !important; width: 28px; height: 28px; border-radius: 6px; }

/* ---------- формы (добавление материала, объявления, личные сообщения, настройки) ---------- */
body.la2 #main form .form-item { margin: 0 0 14px; }
body.la2 #main form .form-item > label, body.la2 #main form fieldset .form-item > label { font-weight: 700; font-size: 14px; display: block; margin: 0 0 5px; }
body.la2 #main form label.option { font-weight: 400 !important; display: inline !important; font-size: 14.5px; }
body.la2 #main form input.form-text, body.la2 #main form textarea, body.la2 #main form select, body.la2 #main form input[type="password"] {
  border: 1px solid #cfdbe8; border-radius: 10px; padding: 8px 12px; font: 15px var(--la-font); box-sizing: border-box; max-width: 100%; background: #fff; color: var(--la-text);
}
body.la2 #main form input.form-text, body.la2 #main form input[type="password"] { width: 100%; }
body.la2 #main form .form-item > label { float: none !important; width: auto !important; }
body.la2 #main form .form-item > input.form-text { margin-left: 0 !important; float: none !important; }
body.la2 #main form input.form-text[size="20"], body.la2 #main form input.form-text[size="10"], body.la2 #main form input.form-text[size="5"] { width: auto; }
body.la2 #main form select { padding: 7px 10px; width: auto; }
body.la2 #main form textarea { width: 100% !important; }
body.la2 #main form .resizable-textarea { width: 100% !important; }
body.la2 #main form input.form-text:focus, body.la2 #main form textarea:focus, body.la2 #main form select:focus { outline: none; border-color: #8fb4dd; box-shadow: 0 0 0 3px rgba(23, 73, 127, 0.12); }
/* автодополнение: спрайт throbber.gif (два кадра) в высоком поле показывал оба кадра — свой индикатор, только во время запроса */
body.la2 #main form input.form-autocomplete { background-image: none !important; }
/* форма афиши: свой стиль страницы ставил поля автодополнения справа поверх подписи (float, margin-top: -29px) */
html.js body.la2 #main form input.form-autocomplete { float: none !important; width: 100% !important; margin-top: 0 !important; }
body.la2 #main form input.form-autocomplete.throbbing { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='6' fill='none' stroke='%23c9d7e6' stroke-width='2'/%3E%3Cpath d='M8 2a6 6 0 0 1 6 6' fill='none' stroke='%2317497f' stroke-width='2' stroke-linecap='round'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 8 8' to='360 8 8' dur='0.8s' repeatCount='indefinite'/%3E%3C/path%3E%3C/svg%3E") no-repeat right 12px center !important; background-size: 16px 16px !important; }
/* анонс: «Показывать анонс в полной версии» и кнопка «Отделить/Объединить анонс» — отдельными строками слева */
body.la2 #main form .teaser-checkbox, body.la2 #main form .teaser-button-wrapper { float: none !important; display: block !important; text-align: left !important; padding: 0 !important; margin: 0 0 8px !important; width: auto !important; }
body.la2 #main form .teaser-checkbox .form-item { margin: 0 !important; }
body.la2 #main form .description { font-size: 12.5px; color: var(--la-muted); margin-top: 4px; }
body.la2 #main form fieldset { border: 1px solid var(--la-line) !important; border-radius: 14px; padding: 8px 16px 12px !important; margin: 0 0 12px !important; background: #fbfcfe; }
body.la2 #main form fieldset.collapsed { padding: 4px 16px !important; background: #fff; }
body.la2 #main form fieldset legend { padding: 0 6px; font-weight: 700; font-size: 14px; }
body.la2 #main form fieldset legend a { color: var(--la-blue) !important; text-decoration: none !important; }
body.la2 #main form fieldset legend a:hover { color: var(--la-green-dark) !important; }
body.la2 #main form input.form-submit, body.la2 #main form button { border-radius: 999px; }
body.la2 #main form input.form-submit[value="Отделить анонс от основного материала"], body.la2 #main form input.teaser-button, body.la2 #main form input.form-submit[value="Добавить"], body.la2 #main form input.form-submit[value="Предварительный просмотр сообщения"], body.la2 #main form input.form-submit[value="Предпросмотр"] {
  background: #fff !important; color: var(--la-blue) !important; border: 1px solid #cfdbe8 !important; padding: 6px 14px; font: 600 13px var(--la-font); cursor: pointer;
}
body.la2 #main form input.teaser-button:hover, body.la2 #main form input.form-submit[value="Добавить"]:hover { background: var(--la-blue-soft) !important; }
body.la2 #main form input.tag-entry { border: 1px solid #cfdbe8 !important; border-radius: 10px; padding: 8px 12px !important; font: 15px var(--la-font); width: 320px; max-width: 70%; height: auto !important; background-position: right 10px center !important; }
body.la2 #main form input.add-tag { background: #fff !important; color: var(--la-blue) !important; border: 1px solid #cfdbe8 !important; border-radius: 999px; padding: 7px 14px; margin-left: 6px; font: 600 13px var(--la-font); cursor: pointer; }
body.la2 #main form .tag-holder .tag-text, body.la2 #main form .tag-holder > span { display: inline-block; background: var(--la-blue-soft); color: var(--la-blue); border-radius: 999px; padding: 3px 10px; margin: 4px 4px 0 0; font-size: 13px; font-weight: 600; }
body.la2 #main form .img_assist-button { float: right; margin: 4px 0 0 !important; }
body.la2 #main form #edit-body-wrapper, body.la2 #main form .body-field-wrapper { clear: both; }
body.la2 #main form .teaser-checkbox { margin-top: 6px; }
body.la2 #main #privatemsg-new, body.la2 #main form#privatemsg-new > div { border: 0 !important; padding: 0 !important; }
body.la2 #main div[style*="border"]:has(> form#privatemsg-new), body.la2 #main form#privatemsg-new fieldset:not(.collapsible) { border: 0 !important; padding: 0 !important; background: none !important; }
body.la2 #main form table { border-collapse: separate; border-spacing: 0; border: 1px solid var(--la-line) !important; border-radius: 12px; overflow: hidden; width: 100%; }
body.la2 #main form table th { background: #f3f6fa !important; background-image: none !important; color: var(--la-muted) !important; border: 0 !important; border-bottom: 1px solid var(--la-line) !important; padding: 8px 10px; font-size: 12.5px; }
body.la2 #main form table td { background: #fff !important; border: 0 !important; border-bottom: 1px solid var(--la-line) !important; padding: 8px 10px; }
body.la2 #main form table tr:last-child td { border-bottom: 0 !important; }

/* выпадающие окна шапки («Моё меню», «Добавить...»): карточкой вместо оранжевой рамки */
body.la2 div[id^="subcontent"]:not(#subcontent6) { border: 0 !important; border-radius: 14px; background: #fff !important; padding: 12px 16px !important; box-shadow: 0 12px 36px rgba(15, 35, 65, 0.22); z-index: 1000 !important; font: 14px/1.5 var(--la-font); }
body.la2 div[id^="subcontent"]:not(#subcontent6) ul { margin: 0 !important; padding: 0 !important; }
body.la2 div[id^="subcontent"]:not(#subcontent6) li { list-style: none !important; margin: 0 !important; padding: 0 !important; background: none !important; }
body.la2 div[id^="subcontent"]:not(#subcontent6) li a { display: block; padding: 5px 8px; border-radius: 8px; color: var(--la-text) !important; text-decoration: none !important; }
body.la2 div[id^="subcontent"]:not(#subcontent6) li a:hover { background: var(--la-blue-soft); color: var(--la-blue) !important; }
body.la2 div[id^="subcontent"]:not(#subcontent6) > div[style*="text-align:right"] a { color: var(--la-muted) !important; font-size: 12.5px; }

/* личные сообщения: список переписок */
body.la2 #main table.privatemsg-list td { font-size: 14px; vertical-align: middle; }
body.la2 #main table.privatemsg-list td a { color: var(--la-text) !important; text-decoration: none !important; }
body.la2 #main table.privatemsg-list td.privatemsg-list-subject a { font-weight: 600; }
body.la2 #main table.privatemsg-list td a:hover { color: var(--la-green-dark) !important; }
body.la2 #main table.privatemsg-list td.privatemsg-list-participants a { color: var(--la-blue) !important; border: 0 !important; }
body.la2 #main table.privatemsg-list tr.privatemsg-unread td { background: #f4f9ff !important; }
body.la2 #main table.privatemsg-list tr.privatemsg-unread td.privatemsg-list-subject a { font-weight: 800; }
body.la2 #main table.privatemsg-list th a { color: var(--la-muted) !important; text-decoration: none !important; }
body.la2 #main table.privatemsg-list td:nth-last-child(-n+2) { font-size: 12.5px; color: var(--la-muted); }
body.la2 #main table.privatemsg-list tbody tr:hover td { background: #f8fbfe !important; }

/* объявления в правой колонке («Последние авто-объявления», «Доска объявлений» в Семье) */
body.la2 #sidebar-right .views-row:has(.doskadata) { padding: 12px 0 !important; margin: 0 !important; border-bottom: 1px solid var(--la-line); font-size: 14px; line-height: 1.45; height: auto !important; }
body.la2 #sidebar-right .views-row:has(.doskadata):first-child { padding-top: 0 !important; }
body.la2 #sidebar-right .views-row:has(.doskadata):last-child { border-bottom: 0; }
body.la2 #sidebar-right .doskadata { background: none !important; padding: 0 !important; margin: 0 0 6px !important; color: var(--la-muted) !important; }
body.la2 #sidebar-right .doskadata small { font-size: 12px; font-weight: 700; color: var(--la-muted) !important; }
body.la2 #sidebar-right .views-row:has(.doskadata) .views-field-field-obphoto-fid .field-content { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 0 0 8px; }
body.la2 #sidebar-right .views-row:has(.doskadata) .field-item { float: none !important; margin: 0 !important; padding: 0 !important; }
body.la2 #sidebar-right .views-row:has(.doskadata) .field-item img { display: block; width: 100% !important; height: auto !important; aspect-ratio: 1; object-fit: cover; border: 0 !important; padding: 0 !important; border-radius: 8px; }
body.la2 #sidebar-right .views-row:has(.doskadata) br + br, body.la2 #sidebar-right .views-row:has(.doskadata) p:empty { display: none; }

/* настройки профиля: аватар компактно — картинка слева, загрузка и удаление справа */
body.la2 #main fieldset.la2-ava-fs { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 4px 18px; align-items: start; }
body.la2 #main fieldset.la2-ava-fs > legend { grid-column: 1 / -1; }
body.la2 #main fieldset.la2-ava-fs > .picture { grid-column: 1; grid-row: 1 / span 2; float: none !important; margin: 4px 0 0 !important; }
body.la2 #main fieldset.la2-ava-fs > .picture img { display: block; width: 100px; height: 100px; object-fit: cover; border-radius: 14px; border: 0 !important; padding: 0 !important; }
body.la2 #main fieldset.la2-ava-fs > .form-item { grid-column: 2; margin: 4px 0 6px !important; }
body.la2 #main fieldset.la2-ava-fs #edit-picture-delete-wrapper .description { display: none; }
body.la2 #main fieldset.la2-ava-fs details { display: inline; }
body.la2 #main fieldset.la2-ava-fs summary { display: inline; cursor: pointer; color: var(--la-blue); border-bottom: 1px dashed currentColor; }
body.la2 #main fieldset.la2-ava-fs details[open] { display: block; margin-top: 4px; }
/* ссылки-кнопки под блоками правой колонки */
body.la2 #sidebar-right div.extralinks { height: auto !important; margin: 10px 0 0 !important; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
body.la2 #sidebar-right div.extralinks a { float: none !important; margin: 0 !important; display: inline-block; background: var(--la-blue-soft) !important; color: var(--la-blue) !important; border-radius: 999px; padding: 5px 13px !important; font-weight: 700; font-size: 13px; text-decoration: none !important; }

/* окна lightbox2 «lightmodal» (смена аватара и т. п.): карточкой */
body.la2 #lightbox { top: 80px !important; }
body.la2 #lightbox #outerImageContainer { border-radius: 18px 18px 0 0; background: #fff !important; }
body.la2 #lightbox #imageDataContainer { border-radius: 0 0 18px 18px; background: #fff !important; font: 13px var(--la-font) !important; }
body.la2 #lightbox #outerImageContainer, body.la2 #lightbox #modalContainer { height: auto !important; }
body.la2 #lightbox #modalContainer::before { content: "Аватар"; display: block; font: 800 20px var(--la-font); margin: 0 0 14px; }
body.la2 #lightbox #imageDetails { display: none !important; }
body.la2 #lightbox #modalContainer { padding: 22px 26px 6px !important; text-align: left; font: 14px/1.5 var(--la-font); color: var(--la-text); }
body.la2 #lightbox #modalContainer form > div { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 20px; align-items: start; }
body.la2 #lightbox #modalContainer .picture { grid-row: 1 / span 3; float: none !important; margin: 0 !important; }
body.la2 #lightbox #modalContainer .picture img { display: block !important; width: 96px; height: 96px; object-fit: cover; border-radius: 14px; border: 0 !important; padding: 0 !important; }
body.la2 #lightbox #modalContainer .form-item { margin: 0 !important; text-align: left; }
body.la2 #lightbox #modalContainer .form-item .description { display: none; }
body.la2 #lightbox #modalContainer label { font-weight: 700; display: block; margin: 0 0 6px; text-align: left; }
body.la2 #lightbox #modalContainer label.option { font-weight: 400; display: inline; }
body.la2 #lightbox #modalContainer input.form-submit { justify-self: start; background: var(--la-green) !important; color: #fff !important; border: 0 !important; border-radius: 999px; padding: 8px 26px; font: 700 14px var(--la-font); cursor: pointer; margin-top: 6px; }
body.la2 #lightbox #modalContainer input.form-submit:hover { background: var(--la-green-dark) !important; }
body.la2 #lightbox #modalContainer form > div > input.form-submit:only-of-type { grid-column: 2; }
body.la2 #lightbox #imageDetails { padding: 0 26px; }
body.la2 #lightbox #imageDetails .caption, body.la2 #lightbox #imageDetails span { font: 700 15px var(--la-font) !important; color: var(--la-text) !important; }
body.la2 #lightbox #bottomNav { height: 48px !important; }
body.la2 #lightbox #imageDataContainer { margin-top: -1px; }
body.la2 #lightbox #bottomNavClose { margin: 8px 14px 0 0 !important; width: 32px !important; height: 32px !important; padding: 0 !important; border-radius: 50%; background: #f0f4f9 !important; display: flex !important; align-items: center; justify-content: center; text-decoration: none !important; }
body.la2 #lightbox #bottomNavClose::after { content: "✕"; color: var(--la-muted); font: 700 15px var(--la-font); line-height: 1; }

/* поиск Google (sitesearch): результаты в странице, а не всплывающим окном (режим «overlay» задан в настройках CSE) */
body.la2 #main .gsc-results-wrapper-overlay { position: static !important; width: auto !important; height: auto !important; max-height: none !important; top: auto !important; left: auto !important; padding: 0 !important; box-shadow: none !important; border: 0 !important; background: none !important; overflow: visible !important; z-index: auto !important; }
body.la2 #main .gsc-modal-background-image { display: none !important; }
body.la2 #main .gsc-results-close-btn { display: none !important; }
body.la2 #main .gsc-control-cse { padding: 0 !important; border: 0 !important; background: none !important; font-family: var(--la-font) !important; }
body.la2 #main .gsc-above-wrapper-area { border: 0 !important; padding: 0 0 8px !important; }
body.la2 #main .gsc-webResult.gsc-result { border: 0 !important; border-bottom: 1px solid var(--la-line) !important; padding: 12px 0 !important; background: none !important; }
body.la2 #main .gs-title, body.la2 #main .gs-title * { color: var(--la-text) !important; text-decoration: none !important; font-family: var(--la-font) !important; }
body.la2 #main a.gs-title:hover, body.la2 #main a.gs-title:hover * { color: var(--la-green-dark) !important; }
body.la2 #main .gs-visibleUrl { color: var(--la-green-dark) !important; }
body.la2 #main .gs-snippet { color: var(--la-muted) !important; font-family: var(--la-font) !important; }
body.la2 #main .gs-image-box img, body.la2 #main .gs-web-image-box img { border-radius: 10px; }
body.la2 #main .gsc-cursor-page { border-radius: 8px; padding: 4px 10px !important; border: 1px solid var(--la-line); background: #fff !important; color: var(--la-blue) !important; text-decoration: none !important; }
body.la2 #main .gsc-cursor-current-page { background: var(--la-blue) !important; color: #fff !important; border-color: var(--la-blue); }
html.gsc-overflow-hidden, body.gsc-overflow-hidden, body.la2.gsc-overflow-hidden { overflow: auto !important; overflow-y: auto !important; height: auto !important; position: static !important; }

/* окно «Добавить...»: пункты списком, значок слева, длинные подписи переносятся без наложения */
body.la2 #subcontent4 { width: 270px !important; }
body.la2 #subcontent4 > div[style*="text-align: left"] { padding: 0 !important; font-weight: 600 !important; }
body.la2 #subcontent4 div[style*="height: 25px"] { height: auto !important; margin: 0; }
body.la2 #subcontent4 div[style*="height: 25px"] > a:first-child { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 8px; color: var(--la-text) !important; text-decoration: none !important; line-height: 1.3; }
body.la2 #subcontent4 div[style*="height: 25px"] > a:first-child:hover { background: var(--la-blue-soft); color: var(--la-blue) !important; }
body.la2 #subcontent4 div[style*="height: 25px"]:has(> a + a) { display: flex; align-items: center; gap: 4px; padding-right: 8px; }
body.la2 #subcontent4 img.navicon { flex: 0 0 20px; width: 20px; height: 20px; margin: 0 !important; float: none !important; border-radius: 4px; }
body.la2 #subcontent4 div[style*="height: 25px"] > a:first-child:not(:has(img))::before { content: ""; flex: 0 0 20px; height: 20px; }

/* главные страницы разделов (Авто, Семья): заголовок «Авто-ЖА» / «ЖА-Семья» не нужен — раздел виден по шапке */
body.la2-sec-front #main > h1.title { display: none; }
body.la2-sec-front #main > .node > .itemhead { display: none; }
body.la2-sec-front #main > .node > .content > ul.shadetabs:first-child, body.la2-sec-front #main > .frontnode > .content > ul.shadetabs:first-child { margin-top: 0 !important; }

/* раздел «Семья»: цветы — обоями на весь фон (полосы у колонки оставляли белые прямоугольники), карточки поверх */
html:has(body.la2 #content.family) { background: #fff url(/sites/all/themes/liveang/family/fon1.gif) repeat 0 0 !important; }
body.la2:has(#content.family) { background: transparent !important; }

body.la2 #main img.la2-wide { display: block; width: 100%; height: auto; border-radius: 12px; }

/* объявления на главной: одна миниатюра справа от текста — колонка не вытягивается выше «Работы» */
.la2-ad:has(.la2-ad-photos) { display: grid; grid-template-columns: minmax(0, 1fr) 64px; column-gap: 12px; }
.la2-ad:has(.la2-ad-photos) > .la2-ad-top { grid-column: 1 / -1; }
.la2-ad:has(.la2-ad-photos) > p { grid-column: 1; -webkit-line-clamp: 3; }
.la2-ad:has(.la2-ad-photos) > .la2-ad-photos { grid-column: 2; grid-row: 2 / span 2; margin: 2px 0 0; }
.la2-ad:has(.la2-ad-photos) > .la2-ad-contact { grid-column: 1; }
.la2-ad-photos a:not(:first-child) { display: none !important; }
.la2-ad-photos img { width: 64px !important; height: 64px !important; object-fit: cover; }
/* опросы — бежевой карточкой, как «Факты из жизни Ангарска» */
body.la2 #sidebar-right .block-poll, body.la2 #sidebar-right [id$="sidebar_poll-block_1"] { background: #fff6e5 !important; }
body.la2 #sidebar-right [id$="sidebar_poll-block_1"] .content *, body.la2 #sidebar-right .block-poll .content * { background-color: transparent !important; }
body.la2 #sidebar-right [id$="sidebar_poll-block_1"] .bar, body.la2 #sidebar-right .block-poll .bar { background-color: #f3e3c3 !important; }
body.la2 #sidebar-right [id$="sidebar_poll-block_1"] .bar .foreground, body.la2 #sidebar-right .block-poll .bar .foreground { background-color: var(--la-green) !important; }
body.la2 #sidebar-right [id$="sidebar_poll-block_1"] .form-submit, body.la2 #sidebar-right .block-poll .form-submit { background-color: var(--la-green) !important; }
body.la2 #sidebar-right .block-poll h2.title::before, body.la2 #sidebar-right [id$="sidebar_poll-block_1"] h2.title::before { background: var(--la-orange) !important; }
/* «Активные темы» на вкладке «Форум»: каждая тема с маркером и отступом */
.la2-forum-active li { position: relative; padding: 8px 0 8px 16px !important; }
.la2-forum-active li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 6px; height: 6px; border-radius: 50%; background: var(--la-green); }

/* архив «Ермака»: календари, составы, игроки */
body.la2 #main .la2-hk-table { width: 100%; border: 1px solid var(--la-line) !important; border-radius: 14px; border-collapse: separate; border-spacing: 0; overflow: hidden; background: #fff; margin: 0 0 16px; }
body.la2 #main .la2-hk-table th { background: #f3f6fa !important; color: var(--la-muted) !important; font-size: 12px; font-weight: 700; padding: 8px !important; border: 0 !important; border-bottom: 1px solid var(--la-line) !important; text-align: left; }
body.la2 #main .la2-hk-table td { background: #fff !important; border: 0 !important; border-bottom: 1px solid var(--la-line) !important; padding: 7px 8px !important; font-size: 14px; vertical-align: middle; }
body.la2 #main .la2-hk-table tbody tr:last-child td { border-bottom: 0 !important; }
body.la2 #main .la2-hk-table tr.la2-hk-win td:last-child { color: var(--la-green-dark); font-weight: 700; }
body.la2 #main .la2-hk-table tr.la2-hk-loss td:last-child { color: var(--la-red); font-weight: 700; }
body.la2 #main .la2-hk-proto { font-weight: 400; font-size: 12px; color: var(--la-muted) !important; margin-left: 6px; }
body.la2 #main .la2-hk-stage { font-size: 19px; margin: 18px 0 10px; }
body.la2 #main .la2-hk-stage small { font-size: 13px; color: var(--la-muted); font-weight: 600; margin-left: 8px; }
body.la2 #main .la2-hk-pos { font-size: 15px; margin: 12px 0 6px; color: var(--la-muted); }
body.la2 #main .la2-hk-name a { display: inline-flex; align-items: center; gap: 8px; color: var(--la-text) !important; text-decoration: none !important; font-weight: 600; }
body.la2 #main .la2-hk-name a:hover { color: var(--la-green-dark) !important; }
body.la2 #main .la2-hk-name img, body.la2 #main .la2-hk-noava { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; object-position: top; background: var(--la-blue-soft); display: inline-block; flex: 0 0 32px; }
body.la2 #main .la2-hk-num { width: 34px; color: var(--la-muted); font-weight: 700; text-align: center; }
body.la2 #main .la2-hk-player-head { display: flex; gap: 20px; align-items: flex-start; background: linear-gradient(135deg, #f2f7fd, #e8f0fa); border: 1px solid var(--la-line); border-radius: 16px; padding: 18px; }
body.la2 #main .la2-hk-player-head img { width: 150px; border-radius: 14px; }
body.la2 #main .la2-hk-player-head dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; font-size: 15px; }
body.la2 #main .la2-hk-player-head dt { color: var(--la-muted); font-size: 13px; }
body.la2 #main .la2-hk-player-head dd { margin: 0; font-weight: 600; }
body.la2 #main .la2-hk-links { margin-top: 10px; }
@media (max-width: 700px) {
  body.la2 #main .la2-hk-table { display: block; overflow-x: auto; }
  body.la2 #main .la2-hk-player-head { flex-direction: column; }
}

body.la2 .la2-auto-bar > br, body.la2 .la2-auto-bar .block-nice_menus + br { display: none; }
body.la2 .la2-auto-bar .block { background: none !important; box-shadow: none !important; border: 0 !important; padding: 0 !important; height: auto !important; min-height: 0 !important; margin: 0 0 6px !important; }
/* Меню спецраздела вместо главного: длинные подменю (сезоны Ермака) прокручиваются. */
.la2-nav-sec .la2-sub { max-height: 70vh; overflow-y: auto; }

/* ---------- подвал ---------- */
.la2-footer { background: #1d3a5c; color: #d8e3ef; margin-top: 12px; clear: both; }
.la2-footer-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 22px 16px; }
.la2-footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.la2-footer-links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.la2-footer-links a { color: #fff !important; text-decoration: none; }
.la2-footer-links a:hover { text-decoration: underline; }

/* ---------- главная ---------- */
body.la2-front #content #main { background: none; box-shadow: none; padding: 0; border-radius: 0; }
.la2-front-main { display: flex; flex-direction: column; gap: 20px; }
.la2-slider { position: relative; height: 330px; border-radius: 20px; overflow: hidden; background: #1d3a5c; box-shadow: var(--la-shadow); }
.la2-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 0.6s; }
.la2-slide.la2-on { opacity: 1; z-index: 1; }
.la2-slide-link {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 26px 30px 26px;
  background: linear-gradient(90deg, rgba(10, 25, 45, 0.82) 0%, rgba(10, 25, 45, 0.45) 55%, rgba(10, 25, 45, 0.05) 100%);
  color: #fff !important; text-decoration: none !important;
}
.la2-slide-link h2 { font-size: 27px; line-height: 1.2; margin: 10px 0 8px; max-width: 620px; color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); }
.la2-slide-link p { margin: 0 0 12px; max-width: 560px; font-size: 15px; color: #eef3f8; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.la2-chip { align-self: flex-start; background: var(--la-green); color: #fff; font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; padding: 4px 12px; border-radius: 999px; }
.la2-slider-dots { position: absolute; z-index: 3; right: 112px; bottom: 34px; display: flex; gap: 7px; }
.la2-slider-dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.5); cursor: pointer; }
.la2-slider-dots button.la2-on { background: #fff; width: 22px; border-radius: 5px; }
.la2-slider-prev, .la2-slider-next {
  position: absolute; z-index: 3; bottom: 22px; width: 38px; height: 38px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, 0.92); color: var(--la-text); font-size: 24px; line-height: 36px; padding: 0;
}
.la2-slider-prev { right: 64px; }
.la2-slider-next { right: 20px; }

.la2-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; color: var(--la-muted); font-size: 12.5px; margin-top: auto; }
.la2-meta > * { display: inline-flex; align-items: center; gap: 5px; color: inherit !important; text-decoration: none !important; }
.la2-meta-light { color: #e9f0f7; }

.la2-tabs-box { background: none; }
.la2-tabs { display: flex; gap: 4px; overflow-x: auto; background: var(--la-card); border-radius: 14px; padding: 6px; box-shadow: var(--la-shadow); margin-bottom: 16px; scrollbar-width: none; }
.la2-tabs::-webkit-scrollbar { display: none; }
.la2-tabs button {
  flex: 0 0 auto; border: 0; background: none; padding: 9px 16px; border-radius: 10px; font: 600 14px var(--la-font);
  color: var(--la-text); cursor: pointer; white-space: nowrap;
}
.la2-tabs button:hover { background: var(--la-blue-soft); }
.la2-tabs button.la2-on { background: var(--la-blue); color: #fff; }
.la2-tab-panel { display: none; }
.la2-tab-panel.la2-on { display: block; }
.la2-loading { padding: 40px; text-align: center; color: var(--la-muted); }
.la2-empty { padding: 24px; color: var(--la-muted); }

.la2-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.la2-card {
  display: flex; gap: 14px; background: var(--la-card); border-radius: var(--la-radius); box-shadow: var(--la-shadow);
  padding: 14px; min-height: 150px; box-sizing: border-box; transition: box-shadow 0.15s, transform 0.15s;
}
.la2-card:hover { box-shadow: 0 6px 20px rgba(23, 50, 90, 0.13); }
.la2-card-img { flex: 0 0 150px; height: 120px; border-radius: 12px; overflow: hidden; background: #e8eef5; display: block; }
.la2-card-img img, body.la2 #main .la2-card-img img { width: 100%; height: 100%; max-width: none; object-fit: cover; display: block; }
.la2-card-body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.la2-card h3 { font-size: 16px; line-height: 1.3; margin: 0 0 6px; }
.la2-card h3 a { color: var(--la-text) !important; text-decoration: none !important; }
.la2-card h3 a:hover { color: var(--la-blue) !important; }
.la2-card p { margin: 0 0 10px; color: var(--la-muted); font-size: 13.5px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.la2-card-author { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 8px; color: var(--la-muted) !important; font-size: 13px; font-weight: 700; text-decoration: none !important; }
.la2-card-author img, .la2-card-author .la2-noava { width: 24px !important; height: 24px !important; border-radius: 50%; object-fit: cover; display: block; flex: 0 0 24px; }
.la2-card-author .la2-noava { background: var(--la-blue-soft); }
.la2-card-author:hover { color: var(--la-blue) !important; }
.la2-card-more { display: inline-block; margin: 0 0 10px; color: var(--la-green-dark) !important; font-weight: 700; font-size: 13.5px; text-decoration: none !important; }
.la2-card-more:hover { color: var(--la-blue) !important; }
.la2-forum-tab { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; align-items: start; }
.la2-forum-new { background: var(--la-card); border-radius: var(--la-radius); box-shadow: var(--la-shadow); padding: 4px 20px; }
.la2-topics { list-style: none; margin: 0; padding: 0; }
.la2-topic { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--la-line); }
.la2-topic:last-child { border-bottom: 0; }
.la2-topic > img, .la2-topic > .la2-noava { flex: 0 0 32px; width: 32px !important; height: 32px !important; border-radius: 50%; object-fit: cover; background: var(--la-blue-soft); }
.la2-topic-body { min-width: 0; flex: 1 1 auto; }
.la2-topic-who { font-size: 12.5px; color: var(--la-muted); margin-bottom: 2px; }
.la2-topic-who a { color: var(--la-blue) !important; font-weight: 700; text-decoration: none !important; }
.la2-topic h3 { font-size: 16px; line-height: 1.3; margin: 0 0 4px; }
.la2-topic h3 a { color: var(--la-text) !important; text-decoration: none !important; }
.la2-topic h3 a:hover { color: var(--la-green-dark) !important; }
.la2-topic p { margin: 0 0 6px; color: var(--la-muted); font-size: 13.5px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.la2-forum-active { background: var(--la-card); border-radius: var(--la-radius); box-shadow: var(--la-shadow); padding: 14px 18px; font-size: 13.5px; }
.la2-forum-active h3 { margin: 0 0 6px; font-size: 16px; }
.la2-forum-active ul { margin: 0; padding: 0; }
.la2-forum-active li { list-style: none !important; background: none !important; margin: 0 !important; padding-left: 0 !important; padding: 7px 0; border-bottom: 1px solid var(--la-line); color: var(--la-muted); font-size: 11.5px; line-height: 1.45; }
.la2-forum-active li:last-child { border-bottom: 0; }
.la2-forum-active li > a:first-child { color: var(--la-text) !important; font-size: 14px; font-weight: 600; text-decoration: none !important; }
.la2-forum-active li > a:first-child:hover { color: var(--la-green-dark) !important; }
.la2-forum-active li > a:not(:first-child) { color: var(--la-muted) !important; }
@media (max-width: 900px) { .la2-forum-tab { grid-template-columns: 1fr; } }
.la2-more { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px 18px; margin: 14px 2px 0; }
.la2-more a { color: var(--la-blue) !important; text-decoration: none !important; font-weight: 700; font-size: 14px; }
.la2-more a::after { content: " →"; }
.la2-more a:hover { color: var(--la-green-dark) !important; }
.la2-more a.la2-more-add { order: -1; margin-right: auto; color: var(--la-green-dark) !important; border: 1px solid #bfe3c6; background: #f1faf3; border-radius: 999px; padding: 6px 14px; font-size: 13.5px; }
.la2-more a.la2-more-add::after { content: none; }
.la2-more a.la2-more-add::before { content: "+ "; }
.la2-more a.la2-more-add:hover { background: var(--la-green); color: #fff !important; border-color: var(--la-green); }
.la2-popular { background: var(--la-card); border-radius: var(--la-radius); box-shadow: var(--la-shadow); padding: 6px 22px 18px; font-size: 14px; }
.la2-popular h3 { font-size: 17px; margin: 18px 0 8px; color: var(--la-text); }
.la2-popular h3::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 3px; background: var(--la-green); margin: 0 8px 2px 0; }
.la2-popular ul { margin: 0; padding: 0; list-style: none; }
.la2-popular li { padding: 6px 0; border-bottom: 1px solid #eef2f6; line-height: 1.5; }
.la2-popular li:last-child { border-bottom: 0; }
.la2-popular li > span { display: inline; }
.la2-popular .views-field-title a { font-weight: 600; text-decoration: none; }
.la2-popular .views-field-title a:hover { text-decoration: underline; }
.la2-popular label { display: inline; font-weight: normal; color: var(--la-muted); }
.la2-popular .views-field-comment-count, .la2-popular .views-field-last-comment-name { color: var(--la-muted); }
.la2-popular img { vertical-align: middle; }
.la2-popular a.newcomments, .la2-popular .new a, .la2-popular a[href*="#new"] { background: var(--la-blue); color: #fff !important; border-radius: 6px; padding: 1px 7px; font-size: 12px; font-weight: 600; text-decoration: none; }
.la2-box-foot { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; padding-top: 14px; border-top: 1px solid #eef2f6; }
.la2-box-foot a { background: var(--la-blue-soft); color: var(--la-blue) !important; text-decoration: none !important; font-weight: 600; padding: 8px 14px; border-radius: 10px; }
.la2-box-foot a:hover { background: var(--la-blue); color: #fff !important; }
.la2-tribune { background: var(--la-card); border-radius: var(--la-radius); box-shadow: var(--la-shadow); padding: 18px; }

.la2-box { background: var(--la-card); border-radius: var(--la-radius); box-shadow: var(--la-shadow); overflow: hidden; min-width: 0; }
.la2-box-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 20px 6px; }
.la2-box-head h2 { margin: 0; font-size: 19px; color: var(--la-text); }
.la2-box-head h2::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; background: var(--la-green); margin: 0 9px 2px 0; }
.la2-head-link { font-weight: 600; text-decoration: none; font-size: 13.5px; white-space: nowrap; }
.la2-box-body { padding: 10px 20px 18px; }
.la2-row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.la2-row2 > * { display: flex; flex-direction: column; }
.la2-row2 > * > .la2-box-foot, .la2-row2 .la2-box-foot { margin-top: auto !important; }

/* фото: прежние списки миниатюр — сеткой */
.la2-photos ul, .la2-photos .view-content { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.la2-photos li, .la2-photos .views-row { margin: 0 !important; padding: 0 !important; float: none !important; background: none !important; list-style: none; }
.la2-photos img { border-radius: 10px; display: block; border: 0 !important; }
.la2-photos .item-list-images { overflow: visible; width: auto !important; flex: 1 1 100%; min-width: 0; }
body.la2 #main .la2-photos .item-list-images ul { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; }
.la2-photos h3, .la2-photos .views-field-title { display: none; }

/* объявления */
.la2-ad { padding: 12px 0; border-bottom: 1px solid #eef2f6; }
.la2-ad:first-child { padding-top: 4px; }
.la2-ad:last-child { border-bottom: 0; }
.la2-ad-top { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; color: var(--la-muted); margin-bottom: 4px; }
.la2-ad-top a { font-weight: 700; text-decoration: none; }
.la2-ad p { margin: 0 0 6px; font-size: 14px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.la2-ad-photos { display: flex; gap: 6px; margin: 0 0 6px; }
.la2-ad-photos img { border-radius: 8px; display: block; object-fit: cover; }
.la2-ad-contact { font-size: 13.5px; }
.la2-ad-contact span { color: var(--la-muted); }
/* работа */
.la2-job { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 2px; border-bottom: 1px solid #eef2f6; text-decoration: none !important; color: var(--la-text) !important; }
.la2-job:hover .la2-job-t { color: var(--la-blue); }
.la2-job-t { font-weight: 600; min-width: 0; }
.la2-job-t small { display: block; font-weight: normal; color: var(--la-muted); font-size: 12px; margin-top: 2px; }
.la2-job b { white-space: nowrap; color: var(--la-green-dark); }
/* афиша */
.la2-ev { display: flex; gap: 12px; padding: 9px 0; border-bottom: 1px solid #eef2f6; }
.la2-ev img, .la2-ev-noimg { flex: 0 0 52px; align-self: flex-start; width: 52px; height: 52px; border-radius: 10px; object-fit: cover; background: #e8eef5; }
.la2-ev-body { min-width: 0; flex: 1 1 auto; }
.la2-ev-title { font-weight: 700; text-decoration: none; color: var(--la-text) !important; }
.la2-ev-title:hover { color: var(--la-blue) !important; }
.la2-ev-cnt { margin-left: 6px; font-size: 12px; color: var(--la-muted); white-space: nowrap; }
.la2-ev-lines { font-size: 13px; color: var(--la-muted); margin-top: 3px; line-height: 1.45; }
.la2-ev-edit { display: inline-block; font-size: 12px; margin-top: 3px; }
.la2-ev-more summary { cursor: pointer; font-weight: 600; color: var(--la-blue); padding: 10px 0 4px; list-style: none; }
.la2-ev-more summary::-webkit-details-marker { display: none; }
.la2-ev-more[open] summary { display: none; }

/* прежняя разметка блоков — спокойнее */
.la2-legacy { font-size: 13.5px; }
.la2-legacy table { width: 100%; }
.la2-legacy .extralinks a, .la2-legacy a.more { font-weight: 600; }
.la2-subtabs { display: flex; gap: 6px; margin: 0 0 12px; }
.la2-subtabs button { border: 0; background: var(--la-blue-soft); color: var(--la-blue); font: 600 13px var(--la-font); padding: 7px 14px; border-radius: 9px; cursor: pointer; }
.la2-subtabs button.la2-on { background: var(--la-blue); color: #fff; }
.la2-afisha img { border-radius: 6px; }

/* ---------- планшет и телефон ---------- */
@media (max-width: 1060px) {
  .la2-weather-city, .la2-tagline { display: none; }
  body.la2 #content #sidebar-right { flex-basis: 270px; width: 270px; }
}
@media (max-width: 900px) {
  .la2-top-in { flex-wrap: wrap; gap: 10px 14px; min-height: 0; padding-top: 10px; padding-bottom: 10px; }
  .la2-logo img { height: 46px; }
  .la2-search { order: 5; flex: 1 1 100%; max-width: none; margin: 0; }
  .la2-weather { margin-left: auto; }
  .la2-user { order: 4; flex: 1 1 100%; max-width: none; }
  .la2-burger { display: block; }
  .la2-nav { display: none; }
  body.la2-nav-open .la2-nav { display: block; }
  .la2-menu { flex-direction: column; gap: 0; padding: 6px 0 10px; }
  .la2-menu > li { flex-wrap: wrap; }
  .la2-menu > li > a { flex: 1 1 auto; padding: 11px 12px; }
  .la2-menu > li.la2-has-sub > a::after { content: none; }
  .la2-sub-toggle { display: block; border: 0; background: var(--la-blue-soft); color: var(--la-blue); width: 40px; height: 40px; border-radius: 10px; font-size: 16px; cursor: pointer; }
  .la2-menu > li:hover > .la2-sub, .la2-menu > li:focus-within > .la2-sub { display: none; }
  .la2-sub { position: static; box-shadow: none; flex: 1 1 100%; margin: 0 0 6px 12px; padding: 0; background: none; }
  .la2-menu > li.la2-sub-open > .la2-sub { display: block; }
  body.la2 #content { flex-direction: column; gap: 0; }
  body.la2 #content #main, body.la2 #content #sidebar-right { flex: 1 1 auto; width: 100%; }
  body.la2 #page { padding: 0 10px; margin-top: 12px; }
  body.la2 #content #main { padding: 16px 14px; }
  .la2-row2 { grid-template-columns: 1fr; }
  .la2-cards { grid-template-columns: 1fr; }
  .la2-slider { height: 260px; }
  .la2-slide-link { padding: 18px 18px 64px; }
  .la2-slide-link h2 { font-size: 21px; }
  .la2-slide-link p { display: none; }
  .la2-slider-dots { right: auto; left: 18px; bottom: 26px; }
}
@media (max-width: 520px) {
  .la2-card { flex-direction: column; }
  .la2-card-img { flex-basis: auto; height: 180px; width: 100%; }
  .la2-weather-ico { display: none; }
}

/* ---------- Ермак: ближайшая / предыдущая игра (блоки 87, 102) — табло ---------- */
body.la2 .la2-hk-game { text-align: left !important; padding: 2px 18px 16px; }
body.la2 .la2-hk-meta { font-size: 13px !important; color: var(--la-muted) !important; margin-bottom: 8px !important; text-transform: none; }
body.la2 .la2-hk-res { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: 12px; }
body.la2 .la2-hk-res-win { background: #e6f4ea; color: #1e7b34 !important; }
body.la2 .la2-hk-res-loss { background: #fdecea; color: #b3261e !important; }
body.la2 .la2-hk-live { color: var(--la-red) !important; }
body.la2 .la2-hk-board { background: #f4f7fb; border-radius: 10px; padding: 6px 12px; gap: 12px !important; }
body.la2 .la2-hk-row { padding: 5px 0 !important; }
body.la2 .la2-hk-row + .la2-hk-row { border-top: 1px solid #e3e9f1; }
body.la2 .la2-hk-logo { width: 28px; height: 28px; flex: none; border-radius: 50%; background: #fff; object-fit: contain; box-shadow: 0 0 0 1px #e3e9f1; }
body.la2 .la2-hk-logo-none { display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; color: #fff; background: #8a9bb0; box-shadow: none; }
body.la2 .la2-hk-name { font-size: 15px; font-weight: 600 !important; color: #1d2733; }
body.la2 .la2-hk-ours .la2-hk-name { font-weight: 800 !important; }
body.la2 .la2-hk-goals { font-size: 20px !important; font-weight: 800 !important; min-width: 1.2em; text-align: right; }
body.la2 .la2-hk-trail .la2-hk-goals, body.la2 .la2-hk-trail .la2-hk-name { color: #8a96a6; }
body.la2 .la2-hk-aside { border-left: 1px solid #e3e9f1; padding-left: 12px; }
body.la2 .la2-hk-time { font-size: 22px !important; font-weight: 800 !important; line-height: 1.1; }
body.la2 .la2-hk-tz { color: var(--la-muted) !important; }
body.la2 .la2-hk-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px !important; }
body.la2 .la2-hk-sep { display: none; }
body.la2 .la2-hk-links a { display: inline-block; padding: 5px 12px; border-radius: 999px; background: #eaf1f9; color: #1d3a5c !important; font-size: 13px; font-weight: 600; text-decoration: none !important; border: 0 !important; }
body.la2 .la2-hk-links a:hover { background: #d7e5f4; }

/* ---------- Ермак: турнирная таблица (блок 84, страница ermak/standings) ---------- */
body.la2 .la2-hk-st-table { border-collapse: collapse; font-size: 14px !important; }
body.la2 .la2-hk-st-table th { font-size: 12px; font-weight: 600; color: var(--la-muted); padding: 4px 4px; border-bottom: 1px solid #e3e9f1; text-align: right; background: none; }
body.la2 .la2-hk-st-table td { padding: 4px 4px; border-bottom: 1px solid #f0f3f7; text-align: right; }
body.la2 .la2-hk-st-table td.la2-hk-team { text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 170px; }
body.la2 .la2-hk-st-table td.la2-hk-pos { color: var(--la-muted); width: 1.6em; }
body.la2 .la2-hk-st-table .la2-hk-logo { width: 20px; height: 20px; margin-right: 4px; }
body.la2 .la2-hk-st-table tr.la2-hk-ours td { background: #fff6d6 !important; font-weight: 700; }
body.la2 .la2-hk-st .la2-hk-upd { align-self: center; font-size: 12px; color: var(--la-muted); }
body.la2 #main .la2-hk-standings td, body.la2 #main .la2-hk-standings th { text-align: center; }
body.la2 #main .la2-hk-standings td.la2-hk-team, body.la2 #main .la2-hk-standings th:nth-child(2) { text-align: left; }
body.la2 #main .la2-hk-standings .la2-hk-logo { width: 24px; height: 24px; vertical-align: middle; margin-right: 6px; }
body.la2 #main .la2-hk-standings tr.la2-hk-ours td { background: #fff6d6 !important; font-weight: 700; }
body.la2 .la2-hk-st-table, body.la2 .la2-hk-st-table thead, body.la2 .la2-hk-st-table tbody, body.la2 .la2-hk-st-table tr { border: 0 !important; background: none !important; }
body.la2 .la2-hk-st-table th, body.la2 .la2-hk-st-table td { border-left: 0 !important; border-right: 0 !important; border-top: 0 !important; }
body.la2 .la2-hk-st-table th { border-bottom: 1px solid #e3e9f1 !important; }
body.la2 .la2-hk-st-table td { border-bottom: 1px solid #f0f3f7 !important; }

/* ---------- ermak/news: без крошки и заголовка (раздел и так понятен), новости в 2 колонки ---------- */
body.la2-ermak-news .breadcrumb, body.la2-ermak-news #main > h1.title, body.la2-ermak-news h1.title { display: none !important; }
body.la2-ermak-news .view-ermak-front-news .view-content { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; align-items: start; }
body.la2-ermak-news .view-ermak-front-news .views-row { min-width: 0; }
body.la2-ermak-news .view-ermak-front-news .views-row img { max-width: 100%; height: auto; }
@media (max-width: 700px) { body.la2-ermak-news .view-ermak-front-news .view-content { grid-template-columns: 1fr; } }
/* Обложки хоккейных новостей в списках (ermak/news, главная Ермака): одна рамка 4:3, вертикальные фото обрезаются (с упором на верх — счёт на афишах). */
body.la2 .view-ermak-front-news .field-field-ermak-cover a { display: block; }
body.la2 .view-ermak-front-news .field-field-ermak-cover img { display: block; width: 100% !important; height: auto !important; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 30%; border-radius: 10px; margin-bottom: 10px; }

/* ---------- Трибуна (общая и хоккейная): строка ввода — смайлы, поле и «Отправить» в один ряд; курсор-рука над активными элементами ---------- */
body.la2 .tribune-post-form .container-inline { display: flex; align-items: center; gap: 8px; flex-wrap: nowrap; }
body.la2 .tribune-post-form .container-inline > .form-item { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 8px; margin: 0 !important; }
body.la2 .tribune-post-form .container-inline > .form-item > img { flex: none; width: 26px; height: 26px; padding: 3px !important; margin: 0 !important; border: 1px solid #d5deea !important; border-radius: 8px; background: #fff; cursor: pointer; vertical-align: middle !important; }
body.la2 .tribune-post-form .tribune-palmipede { flex: 1 1 auto; width: auto !important; min-width: 0; }
body.la2 .tribune-post-form .tribune-submit { flex: none; margin: 0 !important; }
body.la2 .tribune-post-form .tribune-reload-img { flex: none; }
body.la2 .tribune-post-form .editor-image-button { cursor: pointer; margin: 0 2px 6px 0; }
body.la2 .tribune-first-clock, body.la2 .tribune-login, body.la2 .tribune-info, body.la2 .tribune-clock,
body.la2 .tribune-moderate-post, body.la2 #frontsmiles img, body.la2 .ignore-checkbox { cursor: pointer; }
body.la2 .tribune-first-clock:hover, body.la2 .tribune-login:hover, body.la2 .tribune-clock:hover { text-decoration: underline; }
@media (max-width: 600px) { body.la2 .tribune-post-form .tribune-submit { padding-left: 14px !important; padding-right: 14px !important; } }

/* ---------- Тосты (jGrowl: игнор-лист трибуны и др.) — карточка в стиле сайта в правом нижнем углу ---------- */
body.la2 #jGrowl { position: fixed !important; top: auto !important; right: 16px !important; left: auto !important; bottom: 16px !important; z-index: 10000; width: auto !important; }
body.la2 #jGrowl .jGrowl-notification, body.la2 #jGrowl .jGrowl-closer { position: relative; width: 280px !important; max-width: calc(100vw - 32px); margin: 0 0 8px !important; padding: 12px 36px 12px 16px !important; background: #fff !important; color: #1d2733 !important; border: 0 !important; border-left: 4px solid #2a9d3e !important; border-radius: 12px !important; box-shadow: 0 8px 24px rgba(16, 38, 64, .18) !important; font: 500 14px/1.35 inherit !important; opacity: 1 !important; filter: none !important; text-align: left; min-height: 0 !important; }
body.la2 #jGrowl .jGrowl-close { position: absolute; top: 8px; right: 12px; font-size: 18px; line-height: 1; color: #8a96a6; cursor: pointer; float: none !important; }
body.la2 #jGrowl .jGrowl-close:hover { color: #1d2733; }
body.la2 #jGrowl .jGrowl-header { font-weight: 700; margin-bottom: 2px; }
body.la2 #jGrowl .jGrowl-closer { padding: 8px 16px !important; border-left-color: #8a96a6 !important; cursor: pointer; text-align: center; color: #4d5d6e !important; }
/* Окно смайлов под строкой ввода трибуны. */
body.la2 #frontsmiles { margin: 8px 0 12px !important; border: 1px solid #e3e9f1 !important; border-radius: 12px; padding: 8px !important; max-height: 220px; overflow-y: auto; background: #fff !important; }

/* ---------- Главная Ермака: «Хоккейный форум» (блок 85) — таблица тем как в форуме нового дизайна ---------- */
body.la2 #ermakcountrytabs + div { border: 0 !important; padding: 0 !important; width: auto !important; margin: 0 !important; }
body.la2 .view-ermak-forumfront table.views-table { width: 100% !important; border: 1px solid var(--la-line) !important; border-radius: 14px; border-collapse: separate !important; border-spacing: 0; overflow: hidden; margin: 6px 0 4px; background: #fff; font-size: 14px; }
body.la2 .view-ermak-forumfront th { background: #f3f6fa !important; color: var(--la-muted) !important; font-size: 12px !important; font-weight: 600 !important; text-transform: uppercase; letter-spacing: .03em; padding: 9px 10px !important; border: 0 !important; border-bottom: 1px solid var(--la-line) !important; text-align: left; white-space: nowrap; }
body.la2 .view-ermak-forumfront td { background: #fff !important; border: 0 !important; border-bottom: 1px solid var(--la-line) !important; padding: 10px !important; vertical-align: middle; color: var(--la-muted); }
body.la2 .view-ermak-forumfront tbody tr:last-child td { border-bottom: 0 !important; }
body.la2 .view-ermak-forumfront tbody tr:hover td { background: #f8fbfe !important; }
body.la2 .view-ermak-forumfront td.views-field-title a { color: #1d2733 !important; font-weight: 600; text-decoration: none !important; font-size: 15px; }
body.la2 .view-ermak-forumfront td.views-field-title a:hover { color: var(--la-blue) !important; }
body.la2 .view-ermak-forumfront .views-field-comment-count, body.la2 .view-ermak-forumfront .views-field-totalcount { text-align: center !important; white-space: nowrap; }
body.la2 .view-ermak-forumfront td.views-field-comment-count { font-weight: 700; color: #1d2733 !important; }
body.la2 .view-ermak-forumfront td.views-field-name, body.la2 .view-ermak-forumfront td.views-field-nothing { font-size: 13px; }
body.la2 .view-ermak-forumfront td.views-field-nothing { white-space: nowrap; line-height: 1.4; }
body.la2 .view-ermak-forumfront td.views-field-nothing img { vertical-align: -1px; opacity: .6; }
@media (max-width: 760px) {
  body.la2 .view-ermak-forumfront .views-field-name, body.la2 .view-ermak-forumfront .views-field-totalcount { display: none; }
  body.la2 .view-ermak-forumfront td.views-field-nothing { white-space: normal; }
}

/* ---------- Главная Ермака: «Популярное» (#test2, блок 88 ajax-ом) — пункт в две строки: заголовок и серая подпись ---------- */
body.la2 #test2 .item-list h3 { font-size: 17px; margin: 18px 0 6px; color: var(--la-text); }
body.la2 #test2 .item-list h3::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 3px; background: var(--la-green); margin: 0 8px 2px 0; }
body.la2 #test2 .item-list ul { margin: 0 !important; padding: 0 !important; list-style: none !important; }
/* Стрелки «→» между полями — текст самого li: прячутся нулевым шрифтом, поля — своим. */
body.la2 #test2 .item-list li { font-size: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 12px; padding: 8px 0 !important; margin: 0 !important; border-bottom: 1px solid #eef2f6; list-style: none !important; background: none !important; }
body.la2 #test2 .item-list li:last-child { border-bottom: 0; }
body.la2 #test2 .item-list li > span, body.la2 #test2 .item-list li > a, body.la2 #test2 .item-list li > img { font-size: 13px; color: var(--la-muted); }
body.la2 #test2 .item-list li > .views-field-title { flex: 1 1 100%; font-size: 15px; }
body.la2 #test2 .views-field-title a { color: #1d2733 !important; font-weight: 600; text-decoration: none !important; }
body.la2 #test2 .views-field-title a:hover { color: var(--la-blue) !important; }
body.la2 #test2 label { display: inline; font-weight: normal; color: var(--la-muted); }
body.la2 #test2 .views-field-comment-count .field-content { font-weight: 700; color: #1d2733; }
body.la2 #test2 .views-field-last-comment-timestamp img { opacity: .55; vertical-align: -1px; }
/* Изображения: превью слева (абсолютно), заголовок и подпись справа. */
body.la2 #test2 .item-list li:has(> .views-field-filepath) { position: relative; padding-left: 70px !important; min-height: 46px; }
body.la2 #test2 .item-list li > .views-field-filepath { position: absolute; left: 0; top: 8px; }
body.la2 #test2 .views-field-filepath img { width: 58px; height: 44px; object-fit: cover; border-radius: 8px; display: block; }
body.la2 #refresh2 { width: 26px; height: auto; opacity: .7; margin-top: 4px !important; }
body.la2 #refresh2:hover { opacity: 1; }
body.la2 .la2-hide { display: none !important; }
body.la2 #test2 .item-list li > span:not(.views-field-title) > label, body.la2 #test2 .item-list li > span:not(.views-field-title) > .field-content { margin: 0 !important; padding: 0 !important; }
body.la2 #test2 .item-list li > span:not(.views-field-title) { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
/* Спрятанные «→» остаются пустыми элементами flex: промежуток — отступом полей, не gap. */
body.la2 #test2 .item-list li { column-gap: 0 !important; }
body.la2 #test2 .item-list li > span:not(.views-field-title):not(.views-field-filepath) { margin-right: 14px; }

/* ---------- Фотоальбомы: «Новые фото» (блок 53) — сетка квадратов во всю ширину блока ---------- */
body.la2 #block-block-53 .content { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
body.la2 #block-block-53 .content > a { display: block; min-width: 0; }
body.la2 #block-block-53 .content img { float: none !important; width: 100% !important; height: auto !important; aspect-ratio: 1; object-fit: cover; border-radius: 6px; display: block !important; }
body.la2 #block-block-53 .content > br { display: none; }

/* ---------- Фотоальбомы (/image): общие альбомы и личные — карточками, архивные отдельно, поиск по личным ---------- */
body.la2 .la2-gal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; margin: 10px 0 18px; }
body.la2 .la2-gal-card { display: flex; flex-direction: column; text-decoration: none !important; color: inherit; min-width: 0; }
body.la2 .la2-gal-img { display: block; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: #eef2f6; }
body.la2 .la2-gal-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .2s; }
body.la2 .la2-gal-card:hover .la2-gal-img img { transform: scale(1.04); }
body.la2 .la2-gal-name { margin-top: 6px; font-weight: 700; font-size: 14px; color: #1d2733; line-height: 1.3; }
body.la2 .la2-gal-card:hover .la2-gal-name { color: var(--la-blue); }
body.la2 .la2-gal-meta { font-size: 12px; color: var(--la-muted); margin-top: 2px; }
body.la2 .la2-gal-sub { font-size: 17px; margin: 22px 0 4px; }
body.la2 .la2-gal-sub small { font-size: 12px; font-weight: 400; color: var(--la-muted); margin-left: 6px; }
body.la2 .la2-gal-old { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
body.la2 .la2-gal-old .la2-gal-img { filter: saturate(.6); }
body.la2 .la2-gal-old .la2-gal-name { font-size: 13px; }
body.la2 .la2-pa-search { width: 100%; box-sizing: border-box; padding: 10px 14px; border: 1px solid var(--la-line); border-radius: 999px; font: inherit; margin: 6px 0 4px; }
body.la2 .la2-pa-list { list-style: none; margin: 10px 0 0; padding: 0; columns: 2 300px; column-gap: 28px; font-size: 13px; }
body.la2 .la2-pa-list li { break-inside: avoid; padding: 6px 0; border-bottom: 1px solid #eef2f6; color: var(--la-muted); }
body.la2 .la2-pa-list li[hidden] { display: none; }
body.la2 .la2-pa-user { display: block; font-weight: 700; color: #1d2733 !important; text-decoration: none !important; margin-bottom: 2px; }
body.la2 .la2-pa-none { color: var(--la-muted); }

/* ---------- Главная: «Новые оригинальные фото» и «Новые фото из интернета» — одинаковая сетка квадратных плиток ---------- */
body.la2 #main .la2-photos .view-front-images-shared .view-content,
body.la2 #main .la2-photos .item-list-images ul { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; }
body.la2 #main .la2-photos .views-row { min-width: 0; width: auto !important; }
body.la2 #main .la2-photos .node { border: 0 !important; padding: 0 !important; margin: 0 !important; background: none !important; box-shadow: none !important; border-radius: 0 !important; }
body.la2 #main .la2-photos .node .content, body.la2 #main .la2-photos .node .content > div { padding: 0 !important; margin: 0 !important; border: 0 !important; background: none !important; }
body.la2 #main .la2-photos a.hoverlink { display: block; }
body.la2 #main .la2-photos img.image-frontnew { width: 100% !important; height: auto !important; aspect-ratio: 1; object-fit: cover; border-radius: 10px; padding: 0 !important; border: 0 !important; box-shadow: none !important; }
body.la2 #main .la2-photos img.image-frontnew { display: block !important; } body.la2 #main .la2-photos .views-row, body.la2 #main .la2-photos .node .content > div { line-height: 0; }

/* ---------- Недвижимость (вид realty): компактная таблица объявлений в стиле нового дизайна ---------- */
body.la2 .view-id-realty table.views-table { width: 100% !important; border: 1px solid var(--la-line) !important; border-radius: 14px; border-collapse: separate !important; border-spacing: 0; overflow: hidden; background: #fff; font-size: 13px; margin: 8px 0 12px; }
body.la2 .view-id-realty table.views-table th { background: #f3f6fa !important; color: var(--la-muted) !important; font-size: 11px !important; font-weight: 600 !important; text-transform: uppercase; letter-spacing: .02em; padding: 8px 6px !important; border: 0 !important; border-bottom: 1px solid var(--la-line) !important; text-align: left; line-height: 1.2; vertical-align: bottom; }
body.la2 .view-id-realty table.views-table th a { color: inherit !important; text-decoration: none; }
body.la2 .view-id-realty table.views-table td { background: #fff !important; border: 0 !important; border-bottom: 1px solid #eef2f6 !important; padding: 6px 6px !important; vertical-align: middle; line-height: 1.3; color: #1d2733; }
body.la2 .view-id-realty table.views-table tbody tr:nth-child(even) td { background: #fafbfd !important; }
body.la2 .view-id-realty table.views-table tbody tr:hover td { background: #f0f6fd !important; }
body.la2 .view-id-realty table.views-table tbody tr:last-child td { border-bottom: 0 !important; }
body.la2 .view-id-realty td.views-field-nid a { color: var(--la-muted) !important; font-size: 12px; text-decoration: none; }
body.la2 .view-id-realty td.views-field-field-realty-dealtype-value, body.la2 .view-id-realty td.views-field-field-realty-type-value { color: var(--la-muted); }
body.la2 .view-id-realty td.views-field-field-realty-price-value { white-space: nowrap; }
body.la2 .view-id-realty td.views-field-field-realty-price-value a { color: #1d2733 !important; font-weight: 700; text-decoration: none; }
body.la2 .view-id-realty td.views-field-field-realty-price-value a:hover { color: var(--la-blue) !important; }
body.la2 .view-id-realty td.views-field-created { color: var(--la-muted); white-space: nowrap; font-size: 12px; }
body.la2 .view-id-realty td.views-field-field-realty-totalfloors-value, body.la2 .view-id-realty td.views-field-field-realty-rooms-value, body.la2 .view-id-realty td.views-field-field-realty-areatotal-value { text-align: center; white-space: nowrap; }
body.la2 .view-id-realty td.views-field-field-realty-photo-fid { text-align: center; padding: 3px !important; }
body.la2 .view-id-realty td.views-field-field-realty-photo-fid img { width: 40px !important; height: 30px !important; object-fit: cover; border-radius: 6px; display: inline-block; vertical-align: middle; }
body.la2 .view-id-realty table.views-table .la2-col-empty { display: none !important; }
@media (max-width: 760px) {
  body.la2 .view-id-realty .views-field-nid, body.la2 .view-id-realty .views-field-field-realty-totalfloors-value, body.la2 .view-id-realty .views-field-created { display: none; }
}
body.la2 .view-id-realty table.views-table td { padding: 5px 6px !important; }
body.la2 .view-id-realty td.views-field-field-realty-dealtype-value { white-space: nowrap; }
body.la2 .view-id-realty td.views-field-field-realty-adres-value { min-width: 140px; }
@media (max-width: 760px) {
  body.la2 .view-id-realty .view-content { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 14px; }
  body.la2 .view-id-realty table.views-table { min-width: 560px; margin: 0; }
}
body.la2 .view-id-realty table.views-table { font-size: 12.5px; }
body.la2 .view-id-realty table.views-table td, body.la2 .view-id-realty table.views-table th { padding-left: 4px !important; padding-right: 4px !important; }
body.la2 .view-id-realty table.views-table td:first-child, body.la2 .view-id-realty table.views-table th:first-child { padding-left: 10px !important; }
body.la2 .view-id-realty .view-content { overflow-x: auto; }
/* Доска: кнопки подвала в одну строку — «Все рубрики» светлая, «Добавить объявление» зелёная, RSS маленьким значком. */
body.la2 #main .view-doska .view-footer .editor-right-button { flex-wrap: wrap; margin-top: 12px; }
body.la2 #main .view-doska .view-footer .editor-right-button ul { display: flex; flex-wrap: wrap; gap: 8px; }
body.la2 #main .view-doska .view-footer .editor-right-button li:not(:last-child) a { background: var(--la-blue-soft); color: var(--la-blue) !important; }
body.la2 #main .view-doska .view-footer .editor-right-button li:not(:last-child) a:hover { background: #dbe7f6; }
body.la2 #main .view-doska .view-footer .editor-right-button img { width: 22px !important; height: 22px !important; opacity: .85; }
/* Пояснение в окне входа (гость нажал «Добавить …» или попал на «Доступ запрещен»). */
body.la2 .la2-login-note { background: #fff6d6; border-radius: 10px; padding: 10px 12px; margin: 0 0 10px; font-size: 13px; line-height: 1.4; color: #1d2733; }
body.la2 .la2-login-note a { font-weight: 700; }

/* ---------- Окно входа (#subcontent2): по центру экрана карточкой, а не у ссылки «Войти» с оранжевой рамкой ---------- */
body.la2 #subcontent2 { position: fixed !important; top: 50% !important; left: 50% !important; transform: translate(-50%, -50%); z-index: 1000 !important; width: 340px !important; height: auto !important; max-width: calc(100vw - 32px); max-height: calc(100vh - 32px); overflow: auto; box-sizing: border-box; border: 0 !important; border-radius: 18px; background: #fff !important; padding: 20px 22px 16px !important; box-shadow: 0 20px 60px rgba(15, 35, 65, 0.35), 0 0 0 100vmax rgba(15, 35, 65, 0.35); font: 14px/1.4 var(--la-font); text-align: left; }
body.la2 #subcontent2 .form-item { margin: 0 0 12px; text-align: left; }
body.la2 #subcontent2 label { display: block; font-weight: 700; font-size: 14px; margin: 0 0 6px; }
body.la2 #subcontent2 label.option { display: flex; align-items: center; gap: 8px; font-weight: 400; }
body.la2 #subcontent2 input.form-text { width: 100% !important; box-sizing: border-box; border: 1px solid #cfdbe8; border-radius: 10px; padding: 9px 12px; font: 15px var(--la-font); }
body.la2 #subcontent2 input.form-text:focus { outline: 2px solid var(--la-blue-soft); border-color: var(--la-blue); }
body.la2 #subcontent2 .form-submit { width: 100%; background: var(--la-green) !important; color: #fff !important; border: 0 !important; border-radius: 999px; padding: 10px 18px; font: 700 15px var(--la-font); cursor: pointer; }
body.la2 #subcontent2 .form-submit:hover { background: var(--la-green-dark) !important; }
body.la2 #subcontent2 #edit-jobworkdone-wrapper { display: none !important; }
body.la2 #subcontent2 > div:last-child { text-align: center !important; margin-top: 10px; }
body.la2 #subcontent2 > div:last-child a { color: var(--la-muted) !important; font-size: 13px; }
body.la2 #subcontent2 { box-shadow: 0 20px 60px rgba(15, 35, 65, 0.35), 0 0 0 100vmax rgba(15, 35, 65, 0.45) !important; border-radius: 18px !important; }

/* ---------- Работа: /rabota (главная раздела), списки вакансий и резюме, формы поиска в правой колонке ---------- */
/* Главная раздела: быстрые ссылки — две крупные кнопки, категории — сеткой, справка — мельче. */
body.la2-rabota-front #main .node .content { font-size: 14px; color: var(--la-muted); }
body.la2-rabota-front #main .node .content > h3:first-child { display: none; }
body.la2-rabota-front #main .node .content > ul:first-of-type { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; list-style: none; margin: 0 0 22px; padding: 0; }
body.la2-rabota-front #main .node .content > ul:first-of-type li { margin: 0; padding: 0; background: none; list-style: none; }
body.la2-rabota-front #main .node .content > ul:first-of-type a { display: block; text-align: center; padding: 16px 12px; border-radius: 14px; background: var(--la-green); color: #fff !important; font-size: 17px; text-decoration: none !important; }
body.la2-rabota-front #main .node .content > ul:first-of-type li:first-child a { background: var(--la-blue-soft); color: var(--la-blue) !important; }
body.la2-rabota-front #main .node .content > ul:first-of-type a:hover { filter: brightness(.95); }
body.la2-rabota-front #main .node .content > div[style*="float"] { float: none !important; width: auto !important; margin: 0 0 18px; }
body.la2-rabota-front #main .node .content > div[style*="float"] h3 { font-size: 17px; color: var(--la-text); margin: 0 0 8px; }
body.la2-rabota-front #main .node .content > div[style*="float"] ul { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
body.la2-rabota-front #main .node .content > div[style*="float"] li { margin: 0; padding: 0; background: none; list-style: none; }
body.la2-rabota-front #main .node .content > div[style*="float"] li a { display: inline-block; padding: 5px 12px; border-radius: 999px; background: #f0f4f9; color: #1d2733 !important; font-size: 13px; text-decoration: none !important; }
body.la2-rabota-front #main .node .content > div[style*="float"] li a:hover { background: var(--la-blue-soft); color: var(--la-blue) !important; }
body.la2-rabota-front #main .node .content > br[style*="clear"] + * { margin-top: 0; }

/* Списки вакансий и резюме: поля «подпись: значение» в две колонки, длинные тексты — во всю ширину. */
body.la2 .view-id-rabota .views-row > .node > .content, body.la2 .view-id-resume .views-row > .node > .content { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 20px; font-size: 14px; }
body.la2 .view-id-rabota .content > .field, body.la2 .view-id-resume .content > .field { margin: 0 !important; min-width: 0; }
body.la2 .view-id-rabota .content > .field:has(p), body.la2 .view-id-resume .content > .field:has(p),
body.la2 .view-id-rabota .content > :not(.field), body.la2 .view-id-resume .content > :not(.field) { grid-column: 1 / -1; }
body.la2 .view-id-rabota .content > .field:has(p), body.la2 .view-id-resume .content > .field:has(p) { margin-top: 6px !important; }
body.la2 .view-id-rabota .field-label-inline-first, body.la2 .view-id-resume .field-label-inline-first { display: inline; color: var(--la-muted); font-weight: 400 !important; }
body.la2 .view-id-rabota .field:has(p) .field-label-inline-first, body.la2 .view-id-resume .field:has(p) .field-label-inline-first { display: block; font-weight: 700 !important; color: #1d2733; }
body.la2 .view-id-rabota .field p, body.la2 .view-id-resume .field p { margin: 2px 0 6px; }
body.la2 .view-id-rabota .field-field-zpot .field-item, body.la2 .view-id-resume .field[class*="zp"] .field-item { font-weight: 700; color: #1e7b34; }
body.la2 .view-id-rabota .field[class*="phone"] .field-item, body.la2 .view-id-rabota .field[class*="telefon"] .field-item { font-weight: 700; }
body.la2 .views-row > .node > .content.la2-clamp { max-height: 420px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
body.la2 .la2-clamp-btn { margin: 4px 0 8px; }
@media (max-width: 640px) {
  body.la2 .view-id-rabota .views-row > .node > .content, body.la2 .view-id-resume .views-row > .node > .content { grid-template-columns: 1fr; }
}

/* Формы поиска в правой колонке (поиск вакансий / резюме и т. п.). */
body.la2 #sidebar-right .views-exposed-widgets { display: flex; flex-direction: column; gap: 10px; }
body.la2 #sidebar-right .views-exposed-widget { float: none !important; padding: 0 !important; width: 100%; }
body.la2 #sidebar-right .views-exposed-widget label { display: block; font-size: 12.5px; color: var(--la-muted); font-weight: 600; margin: 0 0 4px; }
body.la2 #sidebar-right .views-exposed-widget .form-item { margin: 0 !important; }
body.la2 #sidebar-right .views-exposed-widget select, body.la2 #sidebar-right .views-exposed-widget input.form-text { width: 100% !important; box-sizing: border-box; border: 1px solid #cfdbe8; border-radius: 10px; padding: 7px 10px; font: 14px var(--la-font); background: #fff; }
body.la2 #sidebar-right .views-exposed-widget .form-submit { width: 100%; margin: 4px 0 0 !important; background: var(--la-green) !important; color: #fff !important; border: 0 !important; border-radius: 999px; padding: 9px 16px; font: 700 14px var(--la-font); cursor: pointer; }
body.la2 #sidebar-right .views-exposed-widget .form-submit:hover { background: var(--la-green-dark) !important; }
/* Карточки новостей на главной: автор отдельной строкой над датой и счётчиками. */
body.la2 .la2-card-byline { margin-top: auto; padding-top: 8px; font-size: 13px; }
body.la2 .la2-card-byline + .la2-meta { margin-top: 4px !important; }
body.la2 .la2-card-by { display: inline-flex; align-items: center; gap: 6px; color: #1d2733 !important; font-weight: 600; text-decoration: none !important; }
body.la2 .la2-card-by img { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; flex: none; }
body.la2 .la2-card-by:hover { color: var(--la-blue) !important; }

/* ---------- Кнопка «на главную» (домик) слева вверху при прокрутке ---------- */
.la2-home-fab { position: fixed; top: 14px; left: 14px; z-index: 900; width: 46px; height: 46px; border-radius: 50%; background: #fff; color: #1d3a5c !important; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(16, 38, 64, .22); opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .2s, transform .2s, background .2s; text-decoration: none !important; }
.la2-home-fab.la2-on { opacity: 1; transform: none; pointer-events: auto; }
.la2-home-fab:hover { background: var(--la-blue-soft); color: var(--la-blue) !important; }
@media (max-width: 600px) { .la2-home-fab { top: auto; bottom: 16px; left: 16px; width: 42px; height: 42px; } }

/* ---------- /scheduled — запланированные публикации ---------- */
body.la2 .la2-sch-table { width: 100%; border: 1px solid var(--la-line) !important; border-radius: 14px; border-collapse: separate !important; border-spacing: 0; overflow: hidden; background: #fff; margin: 10px 0 14px; }
body.la2 .la2-sch-table th { background: #f3f6fa !important; color: var(--la-muted) !important; font-size: 12px !important; text-transform: uppercase; padding: 8px 12px !important; border: 0 !important; text-align: left; }
body.la2 .la2-sch-table td { border: 0 !important; border-top: 1px solid #eef2f6 !important; padding: 10px 12px !important; vertical-align: middle; background: #fff !important; }
body.la2 .la2-sch-when { white-space: nowrap; color: #1e7b34; }
body.la2 .la2-sch-table td a { font-weight: 600; color: #1d2733 !important; text-decoration: none !important; }
body.la2 .la2-sch-meta { font-size: 12px; color: var(--la-muted); margin-top: 2px; }
body.la2 .la2-sch-act { text-align: right; }
body.la2 a.la2-sch-edit { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--la-blue-soft); color: var(--la-blue) !important; font-size: 13px; }
