/* Блог: /blog/, рубрики и статьи. Подключается только на этих страницах (inc/blog.php). */

.bzb-blog { color: #000; }
/* отступ под шапку (точное значение ставит скрипт из inc/blog.php по высоте шапки) */
main.bzb-blog { padding-top: 125px; }
@media only screen and (max-width: 1199px) { main.bzb-blog { padding-top: 220px; } }
@media only screen and (max-width: 767px) { main.bzb-blog { padding-top: 110px; } }
.bzb-blog .container { box-sizing: border-box; }

/* Хлебные крошки */
.bzb-crumbs { margin: 30px 0 22px; font-size: 15px; line-height: 1.4; font-weight: 500; }
.bzb-crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.bzb-crumbs li { display: inline-flex; align-items: center; color: #7a7a7a; }
.bzb-crumbs li + li::before { content: "/"; margin: 0 10px; color: #c4c4c4; }
.bzb-crumbs a { color: #000; text-decoration: none; border-bottom: 1px solid #febd11; }
.bzb-crumbs a:hover { color: #000; border-bottom-color: #000; }
.bzb-crumbs [aria-current] { display: inline-block; max-width: 420px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; vertical-align: bottom; }

/* Шапка списка */
.bzb-blog__head { padding-bottom: 10px; }
.bzb-blog .title_main { line-height: 1.1; margin-bottom: 20px; text-align: left; font-weight: 900; }
.bzb-blog__lead { max-width: 760px; margin: 0 0 40px; font-size: 19px; line-height: 1.5; font-weight: 400; color: #333; }
.bzb-blog__empty { font-size: 18px; margin: 0 0 60px; }

/* Карточки */
.bzb-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; margin-bottom: 60px; }
.bzb-card { display: flex; }
.bzb-card__link {
  display: flex; flex-direction: column; width: 100%; box-sizing: border-box;
  padding: 28px 28px 24px; background: #f8f8f8; border-top: 4px solid #febd11;
  color: #000; text-decoration: none;
  transition: box-shadow .2s ease, transform .2s ease, background .2s ease;
}
.bzb-card__link:hover { color: #000; background: #fff; box-shadow: 0 12px 30px rgba(0, 0, 0, .1); transform: translateY(-3px); }
.bzb-card__topic {
  align-self: flex-start; margin-bottom: 16px; padding: 5px 10px;
  background: #fff; font-size: 13px; line-height: 1.2; font-weight: 700; text-transform: uppercase; letter-spacing: .03em;
}
.bzb-card__link:hover .bzb-card__topic { background: #febd11; }
.bzb-card__title { margin: 0 0 14px; font-size: 22px; line-height: 1.25; font-weight: 700; }
.bzb-card__excerpt { flex: 1 0 auto; margin-bottom: 22px; font-size: 16px; line-height: 1.5; font-weight: 400; color: #444; }
.bzb-card__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; line-height: 1.3; }
.bzb-card__meta { color: #7a7a7a; font-weight: 500; }
.bzb-card__more { font-weight: 700; white-space: nowrap; border-bottom: 2px solid #febd11; }

/* Пагинация */
.bzb-pager { margin: -20px 0 60px; }
.bzb-pager .nav-links, .bzb-pager { display: flex; flex-wrap: wrap; gap: 8px; }
.bzb-pager .page-numbers {
  display: inline-block; min-width: 44px; padding: 11px 10px; box-sizing: border-box; text-align: center;
  background: #f8f8f8; color: #000; font-weight: 700; text-decoration: none;
}
.bzb-pager .page-numbers.current, .bzb-pager a.page-numbers:hover { background: #febd11; color: #000; }
.bzb-pager .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Статья */
.bzb-article__wrap { max-width: 800px; }
.bzb-article__title { font-size: 44px; }
.bzb-article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin: -4px 0 34px; font-size: 15px; line-height: 1.3; font-weight: 500; color: #7a7a7a; }
.bzb-article__topic { padding: 5px 10px; background: #febd11; color: #000; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; text-decoration: none; }
.bzb-article__topic:hover { background: #000; color: #fff; }

.bzb-article__body { font-size: 18px; line-height: 1.65; font-weight: 400; color: #1a1a1a; padding-bottom: 50px; }
.bzb-article__body > :first-child { margin-top: 0; }
.bzb-article__body p { margin: 0 0 18px; }
.bzb-article__body > p:first-child { font-size: 20px; line-height: 1.55; font-weight: 500; color: #000; }
/* «Короткий ответ» в начале статьи (для поиска и ИИ-помощников); первый абзац статьи под ним остаётся вводным */
.bzb-article__body .bzb-answer { margin: 0 0 26px; padding: 16px 20px; background: #fff8e1; border-left: 4px solid #febd11; }
.bzb-article__body .bzb-answer p { margin: 0; font-size: 18px; line-height: 1.55; font-weight: 400; color: #000; }
.bzb-article__body > .bzb-answer + p { font-size: 20px; line-height: 1.55; font-weight: 500; color: #000; }
.bzb-article__body h2 { margin: 46px 0 18px; font-size: 30px; line-height: 1.2; font-weight: 700; color: #000; }
.bzb-article__body h3 { margin: 32px 0 12px; font-size: 22px; line-height: 1.3; font-weight: 700; color: #000; }
.bzb-article__body ul, .bzb-article__body ol { margin: 0 0 22px; padding: 0; list-style: none; }
.bzb-article__body li { position: relative; margin: 0 0 10px; padding-left: 30px; }
.bzb-article__body ul > li::before { content: ""; position: absolute; left: 6px; top: .62em; width: 9px; height: 9px; background: #febd11; }
.bzb-article__body ol { counter-reset: bzb-ol; }
.bzb-article__body ol > li { counter-increment: bzb-ol; }
.bzb-article__body ol > li::before { content: counter(bzb-ol) "."; position: absolute; left: 0; top: 0; font-weight: 700; }
.bzb-article__body a { color: #000; text-decoration: none; border-bottom: 2px solid #febd11; font-weight: 500; }
.bzb-article__body a:hover { border-bottom-color: #000; }
.bzb-article__body strong, .bzb-article__body b { font-weight: 700; }
.bzb-article__body img { max-width: 100%; height: auto; }
.bzb-article__body blockquote { margin: 26px 0; padding: 18px 24px; background: #f8f8f8; border-left: 4px solid #febd11; }

/* Призыв к заказу */
.bzb-cta { margin-bottom: 60px; }
.bzb-cta__box { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 36px 40px; background: #febd11; }
.bzb-cta__title { margin: 0 0 10px; font-size: 26px; line-height: 1.2; font-weight: 700; }
.bzb-cta__lead { margin: 0; max-width: 620px; font-size: 17px; line-height: 1.5; font-weight: 400; }
.bzb-cta__btn.btn { flex: 0 0 auto; background: #000; color: #fff; white-space: nowrap; }
.bzb-cta__btn.btn:hover { background: #fff; color: #000; }

/* Плашка «Закажите у нас» в середине статьи (inc/blog.php, фильтр the_content) */
.bzb-inline-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 40px 0 10px; padding: 24px 28px; background: #fff7dc; border-left: 6px solid #febd11; }
.bzb-inline-cta__text { flex: 1 1 auto; min-width: 0; }
.bzb-article__body .bzb-inline-cta__title { margin: 0 0 6px; font-size: 21px; line-height: 1.25; font-weight: 700; color: #000; }
.bzb-inline-cta__price { display: inline-block; margin-left: 6px; padding: 2px 8px; background: #febd11; font-size: 15px; font-weight: 700; white-space: nowrap; vertical-align: 2px; }
.bzb-article__body .bzb-inline-cta__lead { margin: 0; font-size: 16px; line-height: 1.45; color: #333; }
.bzb-article__body a.bzb-inline-cta__btn.btn { flex: 0 0 auto; border-bottom: 0; background: #000; color: #fff; white-space: nowrap; }
.bzb-article__body a.bzb-inline-cta__btn.btn:hover { background: #febd11; color: #000; }

/* Читайте также */
.bzb-related__head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: 26px; }
.bzb-related__title { margin: 0; font-size: 32px; line-height: 1.2; font-weight: 700; }
.bzb-related__all { color: #000; font-weight: 700; text-decoration: none; border-bottom: 2px solid #febd11; white-space: nowrap; }
.bzb-related__all:hover { color: #000; border-bottom-color: #000; }
.bzb-related .bzb-card__title { font-size: 20px; }

@media only screen and (max-width: 1024px) {
  .bzb-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .bzb-cta__box { flex-direction: column; align-items: flex-start; }
  .bzb-inline-cta { flex-direction: column; align-items: flex-start; gap: 16px; }
}

@media only screen and (max-width: 767px) {
  .bzb-crumbs { margin: 18px 0 16px; font-size: 14px; }
  .bzb-crumbs [aria-current] { max-width: 200px; }
  .bzb-blog .title_main, .bzb-article__title { font-size: 30px; margin-bottom: 14px; }
  .bzb-blog__lead { font-size: 17px; margin-bottom: 28px; }
  .bzb-cards { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-bottom: 40px; }
  .bzb-card__link { padding: 22px 20px 20px; }
  .bzb-card__title { font-size: 20px; }
  .bzb-article__meta { margin-bottom: 24px; font-size: 14px; }
  .bzb-article__body { font-size: 17px; padding-bottom: 36px; }
  .bzb-article__body > p:first-child { font-size: 18px; }
  .bzb-article__body h2 { margin-top: 34px; font-size: 24px; }
  .bzb-article__body h3 { margin-top: 24px; font-size: 19px; }
  .bzb-cta { margin-bottom: 40px; }
  .bzb-cta .container { padding: 0; }
  .bzb-cta__box { padding: 28px 20px; gap: 20px; }
  .bzb-cta__title { font-size: 22px; }
  .bzb-cta__btn.btn { width: 100%; white-space: normal; box-sizing: border-box; }
  .bzb-inline-cta { margin: 30px 0 6px; padding: 20px 18px; }
  .bzb-article__body .bzb-inline-cta__title { font-size: 19px; }
  .bzb-article__body a.bzb-inline-cta__btn.btn { width: 100%; white-space: normal; box-sizing: border-box; text-align: center; }
  .bzb-related__head { flex-direction: column; gap: 8px; }
  .bzb-related__title { font-size: 26px; }
}

/* Гео-страницы «Клининг в городе» и «Где мы работаем» */
.bzb-geo__wrap { max-width: 860px; }
.bzb-geo-svc { margin: 34px 0 40px; padding: 30px 30px 24px; background: #f8f8f8; }
.bzb-article__body .bzb-geo-svc__title { margin: 0 0 18px; font-size: 26px; }
.bzb-article__body .bzb-geo-svc__note { margin: -8px 0 16px; font-size: 16px; color: #333; }
.bzb-geo-svc__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.bzb-article__body a.bzb-geo-svc__card { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; background: #fff; border: 0; border-left: 4px solid #febd11; color: #000; text-decoration: none; transition: box-shadow .2s; }
.bzb-article__body a.bzb-geo-svc__card:hover { box-shadow: 0 8px 22px rgba(0, 0, 0, .1); border-left-color: #000; }
.bzb-geo-svc__name { font-size: 18px; line-height: 1.25; font-weight: 700; }
.bzb-geo-svc__sub { font-size: 14px; line-height: 1.4; font-weight: 400; color: #555; }
.bzb-geo-svc__price { margin-top: 4px; font-size: 17px; font-weight: 700; }
.bzb-article__body .bzb-geo-svc__foot { margin: 16px 0 0; font-size: 15px; line-height: 1.45; color: #555; }
.bzb-geo-near { margin-bottom: 60px; }
.bzb-geo-near__title { margin: 0 0 20px; font-size: 28px; line-height: 1.2; font-weight: 700; }
.bzb-geo-near__list { display: flex; flex-wrap: wrap; gap: 10px; }
.bzb-geo-near__link { padding: 10px 16px; background: #f8f8f8; color: #000; font-weight: 700; text-decoration: none; }
.bzb-geo-near__link:hover, .bzb-geo-near__link_all { background: #febd11; color: #000; }
.bzb-geo-hub { padding-bottom: 50px; }
.bzb-geo-hub__title { margin: 0 0 22px; font-size: 30px; line-height: 1.2; font-weight: 700; }
.bzb-geo-hub__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 24px; margin: 0; padding: 0; list-style: none; }
.bzb-geo-hub__item { font-size: 17px; line-height: 1.4; }
.bzb-geo-hub__okrug { margin: 28px 0 12px; font-size: 20px; line-height: 1.3; font-weight: 700; }
.bzb-geo-hub__okrug:first-of-type { margin-top: 0; }
/* заголовок округа / города — начало раздела: бледно-жёлтая подложка, крупнее пунктов; город — ссылка с жёлтым подчёркиванием, как пункты */
.bzb-geo-hub__okrug { margin: 34px 0 14px; padding: 8px 16px; background: #fff7dc; border-radius: 6px; font-size: 22px; }
/* все плашки раздела одной ширины — по самому длинному названию: заголовки в первой колонке (max-content), остальное во всю ширину */
.bzb-geo-hub { display: grid; grid-template-columns: max-content minmax(0, 1fr); }
.bzb-geo-hub > * { grid-column: 1 / -1; }
.bzb-geo-hub > .bzb-geo-hub__okrug { grid-column: 1; }
/* Карта (OpenStreetMap) на странице /klining-moskovskaya-oblast/karta/ */
.bzb-geo-map-wrap { padding-bottom: 40px; }
.bzb-geo-map { height: 540px; border-radius: 12px; overflow: hidden; background: #f2f2f2; }
.bzb-geo-map__legend { margin: 12px 0 0; font-size: 14px; line-height: 1.5; color: #555; }
.bzb-geo-map__sq { display: inline-block; width: 14px; height: 14px; margin: 0 6px 0 0; border: 1px solid #333; background: rgba(255, 217, 90, .45); vertical-align: -2px; }
.bzb-geo-map__sq_msk { background: rgba(254, 189, 17, .6); border-width: 2px; }
.bzb-geo-map__sq + .bzb-geo-map__sq, .bzb-geo-map__legend .bzb-geo-map__sq:not(.bzb-geo-map__sq_msk) { margin-left: 14px; }
.bzb-geo-pop { min-width: 170px; font-size: 14px; line-height: 1.4; }
.bzb-geo-pop b { display: block; font-size: 16px; }
.bzb-geo-pop small { display: block; color: #7a7a7a; }
.bzb-geo-pop a { display: inline-block; margin-top: 6px; color: #000; font-weight: 700; text-decoration: none; border-bottom: 2px solid #febd11; }
.bzb-geo-map_full { height: 72vh; min-height: 520px; }
/* подписи округов на карте; налезающие друг на друга скрываются скриптом, при приближении появляются */
.bzb-geo-lbl { pointer-events: none; }
.bzb-geo-lbl span { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); white-space: nowrap; font-size: 12px; font-weight: 700; line-height: 1.2; color: #1a1a1a; text-shadow: 0 0 2px #fff, 0 0 3px #fff, 0 0 4px #fff; }
.bzb-geo-lbl_msk span { font-size: 16px; letter-spacing: .02em; }
@media only screen and (max-width: 767px) { .bzb-geo-lbl span { font-size: 11px; } .bzb-geo-lbl_msk span { font-size: 14px; } }
.bzb-geo-map-link { margin: 0 0 40px; }
.bzb-geo-map-link a { display: inline-block; color: #000; font-size: 17px; font-weight: 700; text-decoration: none; border-bottom: 2px solid #febd11; }
.bzb-geo-map-link a:hover { border-bottom-color: #000; }
.bzb-geo-map-link_top { margin: -10px 0 36px; }
.bzb-geo-map-link_top a { padding: 12px 22px 12px 48px; border: 0; border-radius: 8px; background: #fff7dc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 6v16l7-4 8 4 7-4V2l-7 4-8-4-7 4z'/%3E%3Cpath d='M8 2v16M16 6v16'/%3E%3C/svg%3E") no-repeat 16px center; }
.bzb-geo-map-link_top a:hover { background-color: #febd11; }
@media only screen and (max-width: 767px) { .bzb-geo-map { height: 400px; } .bzb-geo-map_full { height: 65vh; min-height: 400px; } }
/* Московская область: карточки городов в колонках — город на бледно-жёлтой плашке, под ним его посёлки */
.bzb-geo-mo { column-count: 4; column-gap: 24px; }
.bzb-geo-mo__city { break-inside: avoid; margin: 0 0 22px; }
.bzb-geo-mo__name { margin: 0; padding: 7px 12px; background: #fff7dc; border-radius: 6px; font-size: 19px; line-height: 1.3; font-weight: 700; }
.bzb-geo-mo__name a { color: #000; text-decoration: none; border-bottom: 2px solid #febd11; }
.bzb-geo-mo__name a:hover { border-bottom-color: #000; }
.bzb-geo-mo__name small, .bzb-geo-mo__item small { margin-left: 6px; font-size: 13px; font-weight: 400; color: #7a7a7a; }
.bzb-geo-mo__name small { display: block; margin: 2px 0 0; font-size: 12px; line-height: 1.2; }
.bzb-geo-mo__list { margin: 8px 0 0; padding: 0 0 0 12px; list-style: none; }
.bzb-geo-mo__item { margin: 0 0 6px; font-size: 16px; line-height: 1.4; }
.bzb-geo-mo__item a { color: #000; font-weight: 700; text-decoration: none; border-bottom: 2px solid #febd11; }
.bzb-geo-mo__item a:hover { border-bottom-color: #000; }
@media only screen and (max-width: 1024px) { .bzb-geo-mo { column-count: 3; } }
@media only screen and (max-width: 767px) { .bzb-geo-mo { column-count: 2; column-gap: 16px; } .bzb-geo-mo__name { font-size: 17px; padding: 6px 10px; } .bzb-geo-mo__item { font-size: 15px; } }
.bzb-geo-hub__okrug a { color: #000; text-decoration: none; border-bottom: 2px solid #febd11; }
.bzb-geo-hub__okrug a:hover { border-bottom-color: #000; }
.bzb-geo-hub__okrug small { margin-left: 8px; font-size: 13px; font-weight: 400; color: #7a7a7a; }
.bzb-geo-hub__item a { color: #000; font-weight: 700; text-decoration: none; border-bottom: 2px solid #febd11; }
.bzb-geo-hub__item a:hover { border-bottom-color: #000; }
.bzb-geo-hub__item small { margin-left: 6px; font-size: 13px; color: #7a7a7a; }
.bzb-geo-star { margin-left: 1px; font-size: .7em; font-weight: 700; color: #000; top: -.5em; position: relative; vertical-align: baseline; }
.bzb-geo-hub__foot { margin: 22px 0 0; font-size: 15px; line-height: 1.45; color: #555; }
.bzb-article__body .bzb-geo-travel { margin-top: 24px; font-size: 15px; line-height: 1.45; color: #555; }
@media only screen and (max-width: 1024px) {
  .bzb-geo-hub__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media only screen and (max-width: 767px) {
  .bzb-geo-svc { margin: 26px -4px 30px; padding: 22px 16px 18px; }
  .bzb-article__body .bzb-geo-svc__title { font-size: 22px; }
  .bzb-geo-svc__grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .bzb-geo-near { margin-bottom: 40px; }
  .bzb-geo-near__title, .bzb-geo-hub__title { font-size: 24px; }
  .bzb-geo-hub__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; }
  .bzb-geo-hub { display: block; }
  .bzb-geo-hub__okrug { font-size: 19px; }
}
/* Посадочные страницы услуг: таблица цен */
.bzb-svc-price { margin: 34px 0 40px; padding: 30px 30px 22px; background: #f8f8f8; }
.bzb-article__body .bzb-svc-price__title { margin: 0 0 18px; font-size: 26px; }
.bzb-svc-price__table { display: grid; gap: 8px; }
.bzb-svc-price__row { display: grid; grid-template-columns: minmax(0, 1fr) 150px 90px; gap: 12px; align-items: center; padding: 14px 18px; background: #fff; border-left: 4px solid #febd11; }
.bzb-article__body a.bzb-svc-price__row { color: #000; text-decoration: none; border-bottom: 0; font-weight: 400; transition: box-shadow .2s; }
.bzb-article__body a.bzb-svc-price__row:hover { box-shadow: 0 8px 22px rgba(0, 0, 0, .1); border-left-color: #000; }
.bzb-svc-price__row_head { padding-top: 0; padding-bottom: 4px; background: none; border-left-color: transparent; font-size: 14px; font-weight: 500; color: #7a7a7a; }
.bzb-svc-price__name { font-size: 17px; font-weight: 700; }
.bzb-svc-price__sum { font-size: 17px; font-weight: 700; white-space: nowrap; }
.bzb-svc-price__time { font-size: 15px; color: #555; white-space: nowrap; }
.bzb-article__body .bzb-svc-price__note { margin: 12px 0 0; font-size: 15px; line-height: 1.45; color: #555; }
.bzb-svc-price__row_wide { grid-template-columns: minmax(0, 1fr) auto; }
.bzb-svc-price__sub { display: block; margin-top: 3px; font-size: 14px; font-weight: 400; color: #666; }
div.bzb-svc-price__row { color: #000; }

@media only screen and (max-width: 767px) {
  .bzb-svc-price { margin: 26px -4px 30px; padding: 22px 16px 16px; }
  .bzb-article__body .bzb-svc-price__title { font-size: 22px; }
  .bzb-svc-price__row { grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 12px 14px; }
  .bzb-svc-price__row_head { display: none; }
  .bzb-svc-price__name { grid-column: 1 / -1; font-size: 16px; }
  .bzb-svc-price__row_head.bzb-svc-price__row_wide { display: none; }
  .bzb-svc-price__sum { font-size: 16px; }
}