/* PBM-REVIEW (ревью вёрстки 06.10.2026): desk-lists.css — правки по ревью, подключается из index.php после всех стилей. */
/* Исполнитель LISTS: ленты, главная (ПК-блоки), компании, карточка компании, поиск, футер. Только ПК (≥1086px).
   Тонкие начертания Museo Sans Cyrl 100/300 берутся из семейства MuseoSansCyrlPB (объявлено в mobile.css вне
   медиазапроса, файлы fonts/MuseoSansCyrl-*.woff): у десктопного семейства MuseoSansCyrl есть только 500, поэтому
   font-weight:100/300 на ПК раньше рисовался тем же 500, а 700 — синтетическим жирным. */

/* НВ-ПК-1 (все ширины): пустой блок-слайдер в шаблонах лент (blog*.php) помечается .pbm-empty-block и не показывается
   вместе с заголовком — раньше на его месте выводилось «Записи не найдены.» / «Ешқандай жазба табылмады.» */
.pbm-empty-block{display:none!important;}

/* ПС-ПК-1 / ПС-М-1 (все ширины): подписи формы поиска только для экранного диктора — Bootstrap с классом
   .visually-hidden на сайте не подключён, и «Форма поиска» / «Поиск:» были видны над полем */
.pbm-sr .visually-hidden{
    position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;
    overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important;border:0!important;
}

@media (min-width:1086px){

/* ---------------------------------------------------------------------------------------------------------
   БЛ-ПК-2 — плашка компании в карточке ленты (01-БИЗНЕС-ЛЕНТА-p1-i2-green): по размеру текста.
   Было: template.css .nf-company .nf-company-link{display:flex;width:97%} — в большой карточке «Новое /
   Популярное» плашка тянулась на всю ширину. У карточек .lenta-block это уже было исправлено — теперь везде.
   --------------------------------------------------------------------------------------------------------- */
body.pbm .nf-company .nf-company-link{width:fit-content;max-width:100%;}

/* ---------------------------------------------------------------------------------------------------------
   ГЛ-ПК-1 — главная: серая полоса под рядом закладок «Популярное / Новое / Все» (07-ГЛАВНАЯ-p1-i3-green).
   Та же полоса 6px #E5E7EB, что под закладками /news и /blogs (.container-vkladki.news-page); до карточки
   12px (в макете 20px при масштабе 1,7). Карточка больше не «вырастает» из активной закладки — углы скруглены все.
   --------------------------------------------------------------------------------------------------------- */
body.pbm-home .news-home-page.custom > .container-vkladki:not(.news-page){border-bottom:6px solid #E5E7EB;margin-bottom:12px;}
body.pbm-home .news-home-page.custom > .tabs__content{border-radius:10px;}

/* ---------------------------------------------------------------------------------------------------------
   ГЛ-ПК-2 — нули счётчиков разного размера (07-ГЛАВНАЯ-p2-i1). У вошедшего пользователя лайк и закладка —
   <button>: шрифт кнопки по умолчанию Arial, а template.css (.likes-count,.fav-count{font-size:24px})
   делал числа 24px, тогда как число комментариев — 12px Museo. Выравниваем все счётчики карточек на 12px
   шрифтом страницы. Страницу материала (.article-stats) не трогаем.
   --------------------------------------------------------------------------------------------------------- */
body.pbm :is(.mod-news-grid,.mod-news-slider,.mod-news-list,.home-news-single,.news-home-page,.news-featured,.lenta-card,.mns-card) :is(button.btn-like,button.btn-fav){font-family:inherit;}
body.pbm :is(.mod-news-grid,.mod-news-slider,.mod-news-list,.home-news-single,.news-home-page,.news-featured,.lenta-card,.mns-card) :is(.likes-count,.fav-count){font-size:12px;line-height:inherit;}

/* ---------------------------------------------------------------------------------------------------------
   ГЛ-ПК-3 — блок «О проекте» («Банки, МКО…», «Каталог компаний и банков»…): кегль и интервалы как в
   07-ГЛАВНАЯ-p2-i2-green. Замер по растру (масштаб 1,73): текст тот же 16px/500, но строка 1.2 (было 1.0 —
   строки слипались), абзацы через 19px; подзаголовки 20px настоящим Museo 700 (был синтетический жирный),
   строка 1.2, отступ сверху 20px, снизу 0. Контент модуля (HTML из БД) не меняется.
   --------------------------------------------------------------------------------------------------------- */
body.pbm .block-about-info__body p{line-height:1.2;margin:0 0 19px;}
body.pbm .block-about-info__body p:last-child{margin-bottom:0;}
body.pbm .block-about-info__body h2{
    margin:20px 0 0;line-height:1.2;
    font-family:"MuseoSansCyrlPB","MuseoSansCyrl",sans-serif;font-weight:700;
}

/* ---------------------------------------------------------------------------------------------------------
   ГЛ-ПК-4 — блок «Производишь казахский продукт…»: пункты с галочками тонким начертанием (07-ГЛАВНАЯ-p2-i5-green).
   template.css уже просит font-weight:100, но у семейства MuseoSansCyrl такого начертания нет и браузер рисовал 500.
   Замер макета: 32px Museo Sans Cyrl 100 (ширина строки и плотность штриха совпали). Размер и отступы прежние.
   --------------------------------------------------------------------------------------------------------- */
body.pbm .qazaq-product-list li{font-family:"MuseoSansCyrlPB","MuseoSansCyrl",sans-serif;font-weight:100;}

/* ---------------------------------------------------------------------------------------------------------
   ФТ-1 — футер: подпункты колонок тонким начертанием (37-ФУТТЕР-p1-i2-green). Замер по растру (масштаб 1,55,
   заголовки 16px/700 совпали): пункты 16px Museo Sans Cyrl 100 чёрным (визуально серые), шаг строк 30px
   (было 14px/500, шаг 32). Нижние строки «Свидетельство о регистрации / Все права защищены» в макете тем же
   начертанием. Заголовки колонок остаются жирными (настоящий 700 вместо синтетического).
   --------------------------------------------------------------------------------------------------------- */
body.pbm footer.footer.new .footer-container h3{font-family:"MuseoSansCyrlPB","MuseoSansCyrl",sans-serif;font-weight:700;}
body.pbm footer.footer.new .footer-container ul.mod-menu > li{line-height:20px;}
body.pbm footer.footer.new .footer-container ul.mod-menu > li > a{
    font-family:"MuseoSansCyrlPB","MuseoSansCyrl",sans-serif;font-weight:100;font-size:16px;line-height:20px;color:#000!important;
}
body.pbm footer.footer.new .prava-footer,
body.pbm footer.footer.new .prava-footer-2{font-family:"MuseoSansCyrlPB","MuseoSansCyrl",sans-serif;font-weight:100;font-size:16px;line-height:20px;}

/* =========================================================================================================
   КОМПАНИИ /companies (14-КОМПАНИИ-*-green). Разметка — com_companies/View/Items/tmpl/list.php.
   ========================================================================================================= */

/* КС-ПК-0 — крошки «Главная / Компании» 15px/500 и заголовок «Список компаний и банков» 32px/700 (14-КОМПАНИИ-p1-i4).
   Отступы по растру (масштаб 0,962): кнопки-категории → крошки 44px, крошки → заголовок 40px (по базовым линиям),
   заголовок → фильтр 24px. */
body.pbm.pbm-page-companies .companies-list > .pbm-co-crumbs{
    margin:9px 0 29px;padding:0;font-family:"MuseoSansCyrl",sans-serif;font-weight:500;font-size:15px;line-height:18px;color:#1E1E1E;
}
body.pbm.pbm-page-companies .pbm-co-crumbs a,
body.pbm.pbm-page-companies .pbm-co-crumbs span{color:#1E1E1E;text-decoration:none;font:inherit;}
body.pbm.pbm-page-companies .pbm-co-crumbs a:hover{color:#08A5C5;}
body.pbm.pbm-page-companies .companies-list > .pbm-co-head{margin:0;padding:0;}
body.pbm.pbm-page-companies .companies-list > .pbm-co-head h1{
    margin:0 0 16px;padding:0;font-family:"MuseoSansCyrlPB","MuseoSansCyrl",sans-serif;font-weight:700;font-size:32px;line-height:38px;color:#000;
}
/* сортировка — с предлогом, как в макете («по популярности / по дате регистрации»); kz — без приставки, как на мобиле */
body.pbm-lang-ru.pbm-page-companies .box-companies-sorting label::before{content:"по ";}
body.pbm-lang-en.pbm-page-companies .box-companies-sorting label::before{content:"by ";}

/* КС-ПК-4 — карточка компании (14-КОМПАНИИ-p3-i2-green), замер по растру (масштаб 1,417):
   белая карточка r20 с мягкой тенью вместо рамки; логотип в круге 92px с обводкой #D9D9D9;
   справа сверху «Подробнее» и «Проверка в Egov»; под названием (16/700) телефон | город (12/300 italic, фирменный),
   тип компании (12/300 italic, серый) и описание (12/700, две строки). Разметку не меняли — раскладка сеткой. */
body.pbm.pbm-page-companies .companies-items > .companies-item{
    display:flex;align-items:center;gap:12px;margin:0 0 20px!important;padding:20px;
    border:0;border-radius:20px;background:#fff;box-shadow:0 0 12px rgba(0,0,0,.15);
}
body.pbm.pbm-page-companies .companies-items > .companies-item .companies-item_logo{
    box-sizing:border-box;flex:none;float:none;display:flex;align-items:center;justify-content:center;
    width:92px;height:92px;min-height:0;margin:0;padding:0;
    border:1px solid #D9D9D9;border-radius:50%;overflow:hidden;background:#fff;
}
body.pbm.pbm-page-companies .companies-items > .companies-item .companies-item_logo img{
    display:block;width:100%;height:100%;min-width:0;min-height:0;max-width:none;max-height:none;object-fit:contain;border-radius:50%;
}
body.pbm.pbm-page-companies .companies-items > .companies-item .companies-item_box{
    flex:1;min-width:0;width:auto;display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:12px;align-items:start;
}
body.pbm.pbm-page-companies .companies-items > .companies-item .companies-item_title{
    grid-column:1;grid-row:1;margin:0;padding:0;text-decoration:none;
    font-family:"MuseoSansCyrlPB","MuseoSansCyrl",sans-serif;font-weight:700;font-size:16px;line-height:20px;color:#000;
}
body.pbm.pbm-page-companies .companies-items > .companies-item .companies-item_title a{color:#000;text-decoration:none;font:inherit;}
body.pbm.pbm-page-companies .companies-items > .companies-item .companies-item_title a:hover{color:#08A5C5;}
body.pbm.pbm-page-companies .companies-items > .companies-item .list-item-buttons-custom{
    grid-column:2;grid-row:1;display:flex;align-items:center;gap:12px;margin:0;white-space:nowrap;
}
body.pbm.pbm-page-companies .companies-items > .companies-item .list-item-buttons-custom a{
    display:inline-flex;align-items:center;height:25px;margin:0;padding:0 10px;line-height:1;text-decoration:none;
}
body.pbm.pbm-page-companies .companies-items > .companies-item .companies-item_info{
    grid-column:1 / -1;margin:8px 0 0;padding:0;
    font-family:"MuseoSansCyrlPB","MuseoSansCyrl",sans-serif;font-weight:300;font-style:italic;font-size:12px;line-height:17px;color:#08A5C5;
}
body.pbm.pbm-page-companies .companies-items > .companies-item .companies-item_info b.companies-item_short-desc.custom{
    display:block;max-height:none;margin:3px 0 0;font:inherit;color:#6B7280;
}
body.pbm.pbm-page-companies .companies-items > .companies-item .companies-item_info b.companies-item_short-desc.custom:empty{display:none;}
body.pbm.pbm-page-companies .companies-items > .companies-item .companies-item_box > .companies-item_short-desc{
    grid-column:1 / -1;max-height:30px;margin:3px 0 0;padding:0;
    display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;
    font-family:"MuseoSansCyrlPB","MuseoSansCyrl",sans-serif;font-weight:700;font-size:12px;line-height:15px;color:#000;
}
body.pbm.pbm-page-companies .companies-items > .companies-item .companies-item_box > .companies-item_short-desc *{font:inherit;color:inherit;margin:0;}

/* КС-ПК-5 — пустая выдача (14-КОМПАНИИ-p3-i4-green, масштаб 1,063): карточка с рамкой #E5E7EB r16, иконка 110×105,
   «К сожалению, компании не найдены.» 20/500, «Попробуйте изменить параметры поиска» 16/500, синяя кнопка 267×46 r8 (20/500).
   Ветки с БИН (ссылка на компанию / данные госреестра) — той же карточкой, текст по левому краю. */
body.pbm.pbm-page-companies .companies-items .pbm-co-empty{
    box-sizing:border-box;clear:both;margin:14px 0 0;padding:62px 30px 128px;
    border:1px solid #E5E7EB;border-radius:16px;background:#fff;text-align:center;
    font-family:"MuseoSansCyrl",sans-serif;font-size:16px;line-height:20px;color:#1E1E1E;
}
body.pbm.pbm-page-companies .pbm-co-empty__icon{display:block;width:110px;height:105px;margin:0 auto;}
body.pbm.pbm-page-companies .companies-items .pbm-co-empty p.pbm-co-empty__title{
    margin:32px 0 0;font-family:"MuseoSansCyrl",sans-serif;font-weight:500;font-size:20px;line-height:24px;color:#000;
}
body.pbm.pbm-page-companies .companies-items .pbm-co-empty p.pbm-co-empty__text{margin:15px 0 0;font-weight:500;font-size:16px;line-height:20px;color:#1E1E1E;}
body.pbm.pbm-page-companies .companies-items .pbm-co-empty p.pbm-co-empty__action{margin:35px 0 0;}
body.pbm.pbm-page-companies .pbm-co-empty__btn{
    box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;min-width:267px;height:46px;padding:0 24px;
    border:0;border-radius:8px;background:#08A5C5;color:#fff!important;text-decoration:none!important;text-transform:none;
    font-family:"MuseoSansCyrl",sans-serif;font-weight:500;font-size:20px;line-height:1;transition:background .2s;
}
body.pbm.pbm-page-companies .pbm-co-empty__btn:hover{background:#0794b0;}
body.pbm.pbm-page-companies .companies-items .pbm-co-empty--bin{padding:30px;text-align:left;}
body.pbm.pbm-page-companies .companies-items .pbm-co-empty--bin h3{margin:0 0 15px;font-size:20px;line-height:24px;font-weight:700;color:#000;}
body.pbm.pbm-page-companies .companies-items .pbm-co-empty--bin p{margin:0 0 10px;font-size:16px;line-height:22px;}
body.pbm.pbm-page-companies .companies-items .pbm-co-empty--bin p.pbm-co-empty__action{margin:25px 0 0;}

/* =========================================================================================================
   КАРТОЧКА КОМПАНИИ /component/companies/<id> (16-КОМПАНИЯ-*-green). Разметка — com_companies tmpl/item.php, tabs.php.
   ========================================================================================================= */

/* КЯ-ПК-1 — заголовок страницы «Компания» 32px/700 (16-КОМПАНИЯ-p1-i2): до карточек 42px от базовой линии */
body.pbm.pbm-page-company .pbm-co-pagetitle{
    margin:9px 0 34px;padding:0;font-family:"MuseoSansCyrlPB","MuseoSansCyrl",sans-serif;font-weight:700;font-size:32px;line-height:38px;color:#000;
}

/* КЯ-ПК-3 — карточка представителя (16-КОМПАНИЯ-p1-i4-green): светлая обводка #E5E7EB вместо тени, шапка #D9D9D9,
   фото 94 → имя 17/300 → мессенджеры → разделитель #EEF0F3 (отступ 19px от краёв) → подпись фирменным цветом 12px.
   Порядок меняется через order — разметка общая с мобилой (там своя сетка в mobile-company.css). */
body.pbm.pbm-page-company .container-custom-companies-page article.card-user{max-height:none;border:1px solid #E5E7EB;box-shadow:none;}
body.pbm.pbm-page-company .card-user__title{background-color:#D9D9D9;color:#000;}
body.pbm.pbm-page-company .card-user__content{display:flex;flex-direction:column;align-items:center;padding:20px 19px 14px;}
body.pbm.pbm-page-company .card-user__pic{order:1;margin:0 0 8px;}
body.pbm.pbm-page-company .card-user__subtitle{
    order:2;margin:0;font-family:"MuseoSansCyrlPB","MuseoSansCyrl",sans-serif;font-weight:300;font-size:17px;line-height:21px;color:#000;text-align:center;
}
body.pbm.pbm-page-company .card-user__subtitle a{color:#000;text-decoration:none;font:inherit;}
body.pbm.pbm-page-company ul.card-user__social{order:3;margin:10px 0 0;}
body.pbm.pbm-page-company .card-user__desc{
    order:4;align-self:stretch;margin:15px 0 0;padding:10px 0 0;border-top:1px solid #EEF0F3;
    font-family:"MuseoSansCyrl",sans-serif;font-weight:500;font-size:12px;line-height:16px;color:#08A5C5;text-align:center;
}
body.pbm.pbm-page-company .card-user__desc.pbm-empty{display:none;}
body.pbm.pbm-page-company .card-user__question,
body.pbm.pbm-page-company .card-user__answer{order:5;}

/* =========================================================================================================
   ПОИСК /component/finder/search (27-ПОИСК-p1-i2-green), оверрайд html/com_finder/search/*.
   Замер по растру (масштаб 0,734): «Поиск» 32/700; поле-«пилюля» 37px с лупой (та же /images/Vector.png, что в поиске
   над лентой) и кнопкой «Найти» внутри справа 86×30; «Найдено элементов - N» 24/700; карточки — .home-news-single
   (как «Бизнес-лента» на /news), анонс с интерлиньяжем 1.25; найденные слова — фирменный голубой (#08A5C5 ~50%).
   ========================================================================================================= */
body.pbm.pbm-opt-com_finder .pbm-sr__title{
    margin:9px 0 30px;padding:0;font-family:"MuseoSansCyrlPB","MuseoSansCyrl",sans-serif;font-weight:700;font-size:32px;line-height:38px;color:#000;
}
body.pbm.pbm-opt-com_finder .pbm-sr__fieldset{margin:0;padding:0;border:0;min-width:0;}
body.pbm.pbm-opt-com_finder .pbm-sr__bar{position:relative;}
body.pbm.pbm-opt-com_finder .pbm-sr__field{
    box-sizing:border-box;display:flex;align-items:center;gap:10px;height:37px;margin:0;padding:0 100px 0 16px;
    border:1px solid #E5E7EB;border-radius:19px;background:#fff;
}
body.pbm.pbm-opt-com_finder .pbm-sr__icon{flex:none;width:20px;height:20px;background:url(/images/Vector.png) no-repeat center/contain;}
body.pbm.pbm-opt-com_finder .pbm-sr__field .awesomplete{flex:1;min-width:0;display:block;}
body.pbm.pbm-opt-com_finder .pbm-sr__field input.pbm-sr__input{
    flex:1;min-width:0;width:100%;height:35px;min-height:0;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;outline:0;
    font-family:"MuseoSansCyrl",sans-serif;font-weight:500;font-size:14px;line-height:35px;color:#1E1E1E;
}
body.pbm.pbm-opt-com_finder .pbm-sr__field input.pbm-sr__input::placeholder{color:#6B7280;}
body.pbm.pbm-opt-com_finder .pbm-sr__submit{
    position:absolute;right:3px;top:3px;display:flex;align-items:center;justify-content:center;width:86px;height:31px;margin:0;padding:0;
    border:0;border-radius:16px;background:#08A5C5;color:#fff;cursor:pointer;
    font-family:"MuseoSansCyrl",sans-serif;font-weight:500;font-size:14px;line-height:1;transition:background .2s;
}
body.pbm.pbm-opt-com_finder .pbm-sr__submit:hover{background:#0794b0;}
body.pbm.pbm-opt-com_finder .pbm-sr__count{
    margin:20px 0 10px;font-family:"MuseoSansCyrlPB","MuseoSansCyrl",sans-serif;font-weight:700;font-size:24px;line-height:29px;color:#000;
}
body.pbm.pbm-opt-com_finder .pbm-sr__suggest{margin:0 0 10px;font-size:14px;line-height:18px;}
body.pbm.pbm-opt-com_finder .pbm-sr__suggest a{color:#08A5C5;}
body.pbm.pbm-opt-com_finder .pbm-sr__empty p{margin:10px 0 0;font-size:16px;line-height:20px;color:#1E1E1E;}
body.pbm.pbm-opt-com_finder .pbm-sr__list{margin:0;padding:0;list-style:none;}
body.pbm.pbm-opt-com_finder .pbm-sr__list .pbm-sr-card{margin:20px 0 24px;}
body.pbm.pbm-opt-com_finder .pbm-sr__list .pbm-sr-card .home-news-single__intro{line-height:1.25;}
body.pbm.pbm-opt-com_finder .pbm-sr__pagination{margin:10px 0 0;}
/* подсветка найденного (mark.js ядра: <mark data-markjs>) — фирменный голубой вместо жёлтого */
body.pbm.pbm-opt-com_finder .pbm-sr mark{padding:0 1px;border-radius:2px;background:rgba(8,165,197,.5);color:inherit;}

} /* /media ≥1086 */

/* КЯ-ПК-2 / КЯ-М-3 (все ширины): заглушка поста без картинки (images/lists/post-placeholder.svg, класс ставит tabs.php) —
   лист по центру без обрезки, фон картинки того же серого, что и сама заглушка */
img.pbm-post-ph{object-fit:contain!important;background:#D0CACB;}
