/* T6: company; порядок правил исходного custom.css сохранён. */
#front-showrooms-custom .showrooms .selected .title,
#front-showrooms-custom .showrooms .selected .info-wrap {
color: var(--figma-white-100);
}

#front-team-custom .item .title {
font-size: 28px;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--figma-black-100);
}

#front-team-custom .item .text {
font-size: 18px;
  line-height: 1.1;
  color: var(--figma-grey-100);
}

#front-faq-custom .accordion .question span {
flex-grow: 1;
}

#front-faq-custom .accordion.active .question img {
transform: rotate(180deg);
    transition: transform 0.4s;
}

@media (max-width: 1023px) {

#front-faq-custom .accordion .question {
font-size: 18px;
}

#front-faq-custom .accordion .answer {
font-size: 14px;
}

}

#company-about-page > .co-section:has(#front-faq-custom) {
width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    border-radius: 0 !important;
}

#company-about-page > .co-section:has(#front-faq-custom) #front-faq-custom {
width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    overflow: visible !important;
}

#front-showrooms-custom .showrooms .showroom:not(.selected) .info-wrap,
#front-showrooms-custom .showrooms .showroom:not(.selected) .info-wrap .phone,
#front-showrooms-custom .showrooms .showroom:not(.selected) .info-wrap .phone a,
#front-showrooms-custom .showrooms .showroom:not(.selected) .info-wrap .schedule {
color: var(--figma-grey-100) !important;
}

#front-showrooms-custom .showrooms .selected .info-wrap,
#front-showrooms-custom .showrooms .selected .info-wrap .phone,
#front-showrooms-custom .showrooms .selected .info-wrap .phone a,
#front-showrooms-custom .showrooms .selected .info-wrap .schedule {
color: var(--figma-white-100) !important;
}

@media (max-width: 1023px) {

#front-showrooms-custom .showrooms .info-wrap .phone,
#front-showrooms-custom .showrooms .info-wrap .schedule {
min-height: 24px !important;
        line-height: 1.25 !important;
}

}

#page-reviews #front-seo-custom {
margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

@media (max-width: 1279px) {

#banner-custom .slider-wrap .item {
    height: 722px;
  
}
}

@media (max-width: 1023px) {

#banner-custom .slider-wrap .item {
    height: 622px;
  
}
}



/* VVMD_INNER_PAGES_FROM_STAGING_5412 */
/* =========================================================
   SHARED FAQ
   Один и тот же #front-faq-custom на главной и /company/.
   Никаких company-specific скруглений/overflow вокруг него.
   ========================================================= */
#company-about-page > .co-section:has(#front-faq-custom) {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    border-radius: 0 !important;
}

#company-about-page > .co-section:has(#front-faq-custom) #front-faq-custom {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    overflow: visible !important;
}

body:is(#company-about-page,.vvmd-is-page-about) .top-block-wrapper,
body:is(#company-about-page,.vvmd-is-page-about) .page-top {
  display: none !important;
}

.co-hero__crumbs a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

.co-hero__crumbs a:hover {
  color: #fff;
}

.co-hero__crumbs-sep {
  opacity: 0.7;
}

.co-hero__field input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.co-hero__agree a {
  color: #fff;
  text-decoration: underline;
}

.co-hero-news__card:hover,
.co-hero-news__card:focus {
  color: #1a1a1a !important;
  transform: translateY(-2px);
  text-decoration: none !important;
}

.co-hero-news__dots .owl-dot span {
  display: none !important;
}

.co-hero-news__nav--prev {
  left: -8px !important;
  right: auto !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1a1a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='15 18 9 12 15 6'/%3E%3C/svg%3E") !important;
}

.co-hero-news__nav--next {
  right: -8px !important;
  left: auto !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1a1a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'/%3E%3C/svg%3E") !important;
}

.co-goal__carousel .co-goal__item {
  height: 100%;
  min-height: 148px;
}

.co-enterprise__flag:last-child {
  margin-right: 0;
}

.co-enterprise__tag img {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.co-founder__chip img {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.co-founder__text p {
  margin: 0;
}













/* --- Projects split --- */
















/* --- Gold --- */
















@media (max-width: 1023px){
  .co-founder__inner {
    grid-template-columns: 1fr;
  }

  

  
}

#company-about-page .co-enterprise__media img,
#company-about-page .co-founder__card--photo img {
    position: static !important;
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    min-height: 100% !important;
    margin: 0 !important;
    object-fit: cover !important;
    object-position: center center !important;
    border-radius: 0 !important;
}


/* ---------------------------------------------------------
   5. TABLET
   --------------------------------------------------------- */

@media (max-width: 1279px){
    #company-about-page {
        --co-page-pad: 24px;
    }
}

@media (max-width: 743px){
    #company-about-page {
        --co-page-pad: 20px;
    }

    /* Основатель: title → medals → photo → chip → text */
    #company-about-page .co-founder__lead { order: 1; }
    #company-about-page .co-founder__awards { order: 2; }
    #company-about-page .co-founder__card--photo { order: 3; }
    #company-about-page .co-founder__chip { order: 4; }
    #company-about-page .co-founder__text { order: 5; }

    /* Предприятие: title → countries → photo → tag → text */
    #company-about-page .co-enterprise__title { order: 1; }
    #company-about-page .co-enterprise__countries { order: 2; }
    #company-about-page .co-enterprise__media { order: 3; }
    #company-about-page .co-enterprise__tag { order: 4; }
    #company-about-page .co-enterprise__text { order: 5; }

    #company-about-page .co-enterprise__media img,
    #company-about-page .co-founder__card--photo img {
        width: 100% !important;
        height: 100% !important;
        min-height: 100% !important;
        object-fit: cover !important;
        object-position: center center !important;
    }
}

@media (max-width: 374px){
    #company-about-page {
        --co-page-pad: 16px;
    }
}

#company-about-page .co-enterprise__media img,
#company-about-page .co-founder__card--photo img {
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
}


/* ---------------------------------------------------------
   5. MOBILE
   Здесь фото снова получает заданное нами раньше aspect-ratio,
   чтобы мобильная композиция не поплыла.
   --------------------------------------------------------- */

@media (max-width: 743px){

    #company-about-page .co-enterprise__media img,
    #company-about-page .co-founder__card--photo img {
        width: 100% !important;
        height: 100% !important;
        min-height: 100% !important;
        object-fit: cover !important;
    }
}

#company-about-page .co-goal__nav::before {
    content: "" !important;
    display: block !important;
    width: 16px !important;
    height: 16px !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: 16px 16px !important;
}

#company-about-page .co-goal__nav--prev {
    right: 60px !important;
    left: auto !important;
}

#company-about-page .co-goal__nav--next {
    right: 0 !important;
    left: auto !important;
}

#company-about-page .co-goal__nav--prev::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1a1a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='15 18 9 12 15 6'/%3E%3C/svg%3E") !important;
}

#company-about-page .co-goal__nav--next::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1a1a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'/%3E%3C/svg%3E") !important;
}


/* ---------------------------------------------------------
   3. ПРЕДПРИЯТИЕ / ОСНОВАТЕЛЬ
   Ключевой фикс: изображение исключено из расчёта высоты grid-row.
   Высоту задаёт левая текстовая карточка, фото просто заполняет её.
   --------------------------------------------------------- */

@media (min-width: 744px){

    #company-about-page .co-enterprise__media img,
    #company-about-page .co-founder__card--photo img {
        position: absolute !important;
        inset: 0 !important;

        width: 100% !important;
        height: 100% !important;
        min-height: 0 !important;
        max-height: none !important;

        object-fit: cover !important;
        object-position: center center !important;
    }
}

body:is(#page-contacts,.vvmd-is-page-contacts) #navigation .breadcrumbs {
	display: none !important;
}

body:is(#page-contacts,.vvmd-is-page-contacts) #navigation .breadcrumbs,
body:is(#page-contacts,.vvmd-is-page-contacts) .breadcrumbs {
	display: flex !important;
	visibility: visible !important;
	opacity: 1 !important;
	font-family: var(--figma-font) !important;
	font-size: 14px !important;
	line-height: 17.5px !important;
	font-weight: 400 !important;
	color: #8C8C8C !important;
}

body:is(#page-contacts,.vvmd-is-page-contacts) .topic {
	display: block !important;
	width: calc(100% - 80px) !important;
	max-width: var(--figma-container) !important;
	margin: 0 auto 36px !important;
	padding: 0 !important;
	text-align: center !important;
}

@media (max-width: 1023px) {
	body:is(#page-contacts,.vvmd-is-page-contacts) #navigation,
	body:is(#page-contacts,.vvmd-is-page-contacts) .topic {
		width: calc(100% - 40px) !important;
	}
}

@media (max-width: 743px) {
	body:is(#page-contacts,.vvmd-is-page-contacts) #navigation,
	body:is(#page-contacts,.vvmd-is-page-contacts) .topic {
		width: calc(100% - 32px) !important;
	}
}


/* ---------------------------------------------------------
   4. ШОУРУМЫ — ЦВЕТА КАК НА DESKTOP
   Выбранный (Киров): телефон + время белые.
   Не выбранный (Москва): телефон + время серые.
   Отдельно фиксируем <a>, потому что общий цвет ссылок темы
   на mobile мог перебивать цвет .info-wrap.
   --------------------------------------------------------- */

#front-showrooms-custom .showrooms .showroom:not(.selected) .info-wrap,
#front-showrooms-custom .showrooms .showroom:not(.selected) .info-wrap .phone,
#front-showrooms-custom .showrooms .showroom:not(.selected) .info-wrap .phone a,
#front-showrooms-custom .showrooms .showroom:not(.selected) .info-wrap .schedule {
    color: var(--figma-grey-100) !important;
}

#front-showrooms-custom .showrooms .selected .info-wrap,
#front-showrooms-custom .showrooms .selected .info-wrap .phone,
#front-showrooms-custom .showrooms .selected .info-wrap .phone a,
#front-showrooms-custom .showrooms .selected .info-wrap .schedule {
    color: var(--figma-white-100) !important;
}


/* ---------------------------------------------------------
   3. ШОУРУМЫ — MOBILE/TABLET.
   Адрес отдельно, телефон/время ниже с устойчивым отступом.
   Цвета остаются такими же, как на desktop:
   Киров — белые контакты; Москва — серые.
   --------------------------------------------------------- */

@media (max-width: 1023px) {

    #front-showrooms-custom .showrooms .info-wrap .phone,
    #front-showrooms-custom .showrooms .info-wrap .schedule {
        min-height: 24px !important;
        line-height: 1.25 !important;
    }
}
@media (max-width: 743px) {

    #company-about-page .co-enterprise__media img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: 42% center !important;
    }
}


/* =========================================================
   V13 — ТОЛЬКО 2 ТОЧЕЧНЫЕ MOBILE-ПРАВКИ
   1) Шоурумы: мобильная кнопка «Заказать звонок»
      больше не подрезается и получает нормальную высоту.
   2) Новости первого экрана /company/:
      максимум 3 строки, легче и компактнее.
   Остальные работающие стили НЕ ТРОГАЕМ.
   ========================================================= */

@media (max-width: 743px) {

    #company-about-page .co-hero-news__meta {
        font-size: 12px !important;
        font-weight: 400 !important;
        line-height: 1.2 !important;
    }
}

/* Ширину и внешние отступы задаёт #content выше */
body:is(#page-requisites,.vvmd-is-page-requisites) .wrapper_inner,
body:is(#page-requisites,.vvmd-is-page-requisites) .container_inner,
body:is(#page-requisites,.vvmd-is-page-requisites) .right_block,
body:is(#page-requisites,.vvmd-is-page-requisites) .middle,
body:is(#page-requisites,.vvmd-is-page-requisites) .container {
	max-width: none !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

body:is(#page-requisites,.vvmd-is-page-requisites) .container_inner {
	display: block !important;
}

body:is(#page-requisites,.vvmd-is-page-requisites) .breadcrumbs .breadcrumbs__link:hover .breadcrumbs__item-name,
body:is(#page-requisites,.vvmd-is-page-requisites) .breadcrumbs .breadcrumbs__link:focus-visible .breadcrumbs__item-name {
	color: var(--crumb-color-hover);
}

/* Текущая страница — последний пункт цепочки */
body:is(#page-requisites,.vvmd-is-page-requisites) .breadcrumbs .breadcrumbs__item:last-child .breadcrumbs__item-name,
body:is(#page-requisites,.vvmd-is-page-requisites) .breadcrumbs .breadcrumbs__item.cat_last .breadcrumbs__item-name {
	color: var(--crumb-color-current);
}

body:is(#page-requisites,.vvmd-is-page-requisites) .breadcrumbs .breadcrumbs__separator::before {
	content: "";
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: var(--crumb-color);
}

/* Ширину и внешние отступы задаёт #content выше */
body:is(#page-contacts,.vvmd-is-page-contacts) .wrapper_inner,
body:is(#page-contacts,.vvmd-is-page-contacts) .container_inner,
body:is(#page-contacts,.vvmd-is-page-contacts) .right_block,
body:is(#page-contacts,.vvmd-is-page-contacts) .middle,
body:is(#page-contacts,.vvmd-is-page-contacts) .container {
	max-width: none !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

body:is(#page-contacts,.vvmd-is-page-contacts) .container_inner {
	display: block !important;
}

#page-news .item-views.news2 .item .image,
#page-blog .item-views.news2 .item .image {
	min-height: 180px;
	border-radius: 20px 20px 0 0;
	overflow: hidden;
}


/* =====================================================================
   Контакты: карта не должна раздувать grid (#page-contacts min-width:auto).
   Только APPEND. 06.09.2026.
   ===================================================================== */

#page-contacts {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	overflow-x: clip;
}


/* =====================================================================
   Новости/блог: сетка на .items > .row (Aspro оборачивает карточки в .row).
   Только APPEND. 06.09.2026. Scoped #page-news / #page-blog.
   ===================================================================== */

#page-news .item-views .items,
#page-blog .item-views .items {
	display: block;
	width: 100%;
	max-width: 100%;
}

#page-news .item-views .items > .row > .item-wrapper,
#page-blog .item-views .items > .row > .item-wrapper {
	width: 100%;
	max-width: 100%;
	float: none;
	flex: none;
	padding-left: 0;
	padding-right: 0;
	margin: 0;
}


/* =====================================================================
   Новости: перебить news2 > .items {display:grid 5col} — ребёнок один (.row).
   Только APPEND. Scoped. 06.09.2026.
   ===================================================================== */

#page-news .item-views.news2 > .items,
#page-blog .item-views.news2 > .items {
	display: block;
	width: 100%;
	max-width: 100%;
}

#page-news .item-views.news2 > .items > .row,
#page-blog .item-views.news2 > .items > .row {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 16px;
	width: 100%;
	max-width: 100%;
	margin-left: 0;
	margin-right: 0;
}

@media (max-width: 1279px) {
	#page-news .item-views.news2 > .items > .row,
	#page-blog .item-views.news2 > .items > .row {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 1023px) {
	#page-news .item-views.news2 > .items > .row,
	#page-blog .item-views.news2 > .items > .row {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 743px) {
	#page-news .item-views.news2 > .items > .row,
	#page-blog .item-views.news2 > .items > .row {
		grid-template-columns: 1fr;
	}
}


/* =====================================================================
   Аудит 2026-09-07: родительские сетки новостей/отзывов.
   Только APPEND. Не меняет строки 1–11876.
   Scoped: #page-news #page-blog #page-reviews #page-payment.
   display:grid !important — только чтобы перебить Aspro .row.flexbox.
   ===================================================================== */

#page-news .item-views.news2 > .items,
#page-blog .item-views.news2 > .items {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
}

#page-news .item-views.news2 .item .title,
#page-blog .item-views.news2 .item .title,
#page-news .item-views.news2 .item .title a,
#page-blog .item-views.news2 .item .title a {
	white-space: normal;
	overflow-wrap: anywhere;
}

#page-reviews .item-views.reviews .appear-block > .item-wrapper {
	width: 100% !important;
	max-width: 100%;
	float: none;
	padding: 0;
	min-width: 0;
}

#page-reviews .item-views.reviews .item .image.pull-left {
	float: none;
	margin: 0 0 12px;
}
/* =========================================================
   COMPANY - FOUNDER IMAGE
   Заполняем весь блок без белых полей.
   ========================================================= */

#company-about-page .co-founder__card--photo img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
}
/* =====================================================================
   /contacts/ — Figma 6300:88829 (cache + PNG; live API 429)
   Только APPEND. Scoped #page-contacts.
   gallery = production (IB 40), not showrooms.
   Цели: те же карточки, что на /company/ (#company-about-page), без правки эталона.
   CONTACTS_GOAL_ETALON_20260907
   ===================================================================== */

#page-contacts {
	display: flex;
	flex-direction: column;
	gap: 24px;
	min-width: 0;
	overflow-x: clip;
}

@media (max-width: 743px) {
	#page-contacts {
		gap: 32px;
		overflow-x: clip;
	}
}

/*
 * Figma 1920: контент с отступом 40px от края (как крошки).
 * Без Cover: верх секции = начало списка / H1.
 */
#page-news.page-news--list .pg-news-sec--list {
	box-sizing: border-box;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0 40px 48px;
	min-width: 0;
}

/* Figma H1: 64 / 70 / -0.2 · w500 — тот же токен, что реквизиты/клиенты. */
#page-news.page-news--list .pg-news-list__heading {
	margin: 0 0 32px;
	font-family: var(--figma-font-display, "Inter Tight", sans-serif);
	font-size: var(--figma-fs-h1, 64px);
	font-weight: 500;
	line-height: 70px;
	letter-spacing: -0.2px;
	color: var(--figma-black, #111);
}

#page-news.page-news--list .item-views.news2 > .items,
#page-news.page-news--list .item-views > .items {
	display: block;
	width: 100%;
	max-width: 100%;
	margin: 0;
}

#page-news.page-news--list .item-views.news2 .items > .row,
#page-news.page-news--list .item-views .items > .row {
	display: grid !important;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 16px;
	margin: 0;
	width: 100%;
	float: none;
}

#page-news.page-news--list .item-views.news2 .item-wrapper,
#page-news.page-news--list .item-views .item-wrapper {
	width: auto !important;
	max-width: none !important;
	float: none !important;
	padding: 0 !important;
	margin: 0 !important;
	flex: none !important;
}

#page-news.page-news--list .item-views.news2 .item,
#page-news.page-news--list .item-views .item {
	height: 100%;
	margin: 0;
	border: 0;
	box-shadow: none;
	border-radius: 20px;
	overflow: hidden;
	background: #fff;
}

#page-news.page-news--list .item-views.news2 .item .image,
#page-news.page-news--list .item-views .item .image {
	min-height: 180px;
	border-radius: 20px 20px 0 0;
	overflow: hidden;
}

@media (max-width: 1500px) {
	#page-news.page-news--list .item-views.news2 .items > .row,
	#page-news.page-news--list .item-views .items > .row {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (max-width: 1279px) {
	#page-news.page-news--list .item-views.news2 .items > .row,
	#page-news.page-news--list .item-views .items > .row {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	#page-news.page-news--list .pg-news-list__heading {
		font-size: var(--figma-fs-h1-alt, 52px);
		line-height: 57px;
		letter-spacing: -1.04px;
	}
}

@media (max-width: 1024px) {

	#page-news.page-news--list .pg-news-sec--list {
		padding: 0 16px 32px;
	}

	#page-news.page-news--list .item-views.news2 .items > .row,
	#page-news.page-news--list .item-views .items > .row {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	#page-news.page-news--list .pg-news-list__heading {
		font-size: 32px;
		line-height: 1.15;
		letter-spacing: -0.02em;
		margin-bottom: 20px;
	}
}

@media (max-width: 743px) {
	#page-news.page-news--list .item-views.news2 .items > .row,
	#page-news.page-news--list .item-views .items > .row {
		grid-template-columns: 1fr;
	}

	#page-news.page-news--list .pg-news-list__heading {
		font-size: 28px;
		line-height: 1.15;
		margin-bottom: 16px;
	}
}
/* =====================================================================
   /company/reviews/ — карточки как #front-reviews-custom на главной
   (аватар+имя, ПОКАЗАТЬ ВСЕ, чипы, фото). Только APPEND. Scoped #page-reviews.
   REVIEWS_FIGMA_PASS_20260907
   ===================================================================== */

body:is(#page-reviews,.vvmd-is-page-reviews) .wrapper_inner,
body:is(#page-reviews,.vvmd-is-page-reviews) #content,
body:is(#page-reviews,.vvmd-is-page-reviews) .main,
body:is(#page-reviews,.vvmd-is-page-reviews) .right_block,
body:is(#page-reviews,.vvmd-is-page-reviews) .middle {
	background: var(--figma-grey-super-light-2x, #f6f6f6) !important;
}

body:is(#page-reviews,.vvmd-is-page-reviews) #pagetitle,
body:is(#page-reviews,.vvmd-is-page-reviews) .page-top h1#pagetitle {
	display: none !important;
    /* Интервалы: общий блок VVMD_PAGE_HEADINGS ниже. */
}

#page-reviews .front-reviews--page .avatar-wrap .post {
	color: var(--figma-grey-light, #929292);
	word-break: normal;
	overflow-wrap: anywhere;
}

#page-reviews .front-reviews--page .item.is-expanded .review {
	display: block;
	-webkit-line-clamp: unset;
	overflow: visible;
	text-overflow: unset;
}

#page-reviews .front-reviews--page .image-wrap {
	padding: 0 14px;
	margin-top: 16px;
}

#page-reviews .front-reviews--page .pg-rev-more-wrap {
	display: flex;
	justify-content: center;
	margin: 40px 0 0;
}

#page-reviews .pg-reviews-cta::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	background: rgba(20, 18, 14, 0.55);
}

#page-reviews #front-seo-custom {
	margin-top: 48px;
	max-width: 100%;
}

@media (max-width: 1279px) {

	#page-reviews .front-reviews--page .pg-rev-grid.content {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 1024px) {

	#page-reviews .front-reviews--page .pg-rev-grid.content {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px;
	}
}

@media (max-width: 743px) {
	#page-reviews .front-reviews--page .pg-rev-grid.content {
		grid-template-columns: 1fr;
	}

	#page-reviews .front-reviews--page .item {
		border-radius: 20px;
	}
}



/* Только список /company/news/: крошки, фильтр годов, пагинация. */

/* 2. ГОДЫ: оформление вкладок каталога главной, ссылки сохраняются. */
#page-news.page-news--list .pg-news-sec--list .select_head_wrap {
  min-width: 0;
  margin: 0 0 32px !important;
}
#page-news.page-news--list .pg-news-sec--list .menu_item_selected {
  display: none !important;
}
#page-news.page-news--list .select_head_wrap .head-block.top {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center;
  position: static !important;
width: max-content !important;
max-width: 100% !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 4px !important;
  border: 0 !important;
  border-radius: 24px !important;
  background: #eeeeee !important;
  box-shadow: none !important;
  box-sizing: border-box;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  -webkit-overflow-scrolling: touch;
}
#page-news.page-news--list .select_head_wrap .head-block.top .item-link {
  display: block !important;
  float: none !important;
  flex: 0 0 auto;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 24px !important;
  background: transparent !important;
  box-shadow: none !important;
  font-family: "Inter Tight", sans-serif;
  font-size: 14px !important;
  line-height: 1.25 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
}

/* 3. ПАГИНАЦИЯ: только штатные номера и стрелки, без «Показать ещё». */
#page-news.page-news--list .pg-news-sec--list .bottom_nav .ajax_load_btn {
  display: none !important;
}
#page-news.page-news--list .pg-news-sec--list .bottom_nav_wrapper {
  margin-top: 24px !important;
}
#page-news.page-news--list .pg-news-sec--list .module-pagination {
  display: block !important;
  margin: 0 !important;
  padding: 0 40px;
  text-align: center;
}

/* У стандартной обёртки было ещё по 30px внутри основной сетки. */
body:is(#page-reviews,.vvmd-is-page-reviews) #content > .wrapper_inner {
  max-width: none !important;
  width: 100% !important;
  margin-inline: 0 !important;
  padding-inline: 0 !important;
  box-sizing: border-box !important;
}
#page-reviews .front-reviews--page .pg-rev-page-chip span {
  font: inherit !important;
  color: inherit !important;
}
#page-reviews .front-reviews--page .pg-rev-page-chip img {
  display: block;
  flex: 0 0 24px;
  width: 24px !important;
  height: 24px !important;
  object-fit: contain;
}
/* Отступ заголовка отзывов перенесён в VVMD_PAGE_HEADINGS.
   Заголовок расположен первым, плашка — под ним.
*/
/* END VVMD_REVIEWS_LAYOUT_20260910 */

/* VVMD_REVIEWS_CTA_20260910 — по присланному скриншоту */
#page-reviews #page-reviews-cta .pg-reviews-cta__title { color: #fff; }
#page-reviews #page-reviews-cta .pg-reviews-cta__accent { color: #dfb77a; }
#page-reviews #page-reviews-cta .pg-reviews-cta__btn,
#page-reviews #page-reviews-cta .pg-reviews-cta__btn:hover,
#page-reviews #page-reviews-cta .pg-reviews-cta__btn:focus {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 0;
    height: 56px;
    min-height: 56px;
    padding: 16px 20px;
    border: 0;
    border-radius: 12px;
    background: var(--figma-gradient-1) !important;
    color: var(--figma-white-100, #fff) !important;
    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    letter-spacing: 0.01em !important;
    text-transform: none !important;
    box-sizing: border-box;
    cursor: pointer;
}

/* После SEO-блока расстояние до подвала такое же, как у соседних страниц. */
#page-reviews #front-seo-custom {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Крошки существующих страниц: единый интервал перед заголовком. */
body:is(#page-news.page-news--list,.vvmd-is-page-news-list) #navigation,
body:is(#page-reviews .pg-rev-page-title,.vvmd-is-page-reviews-title) #navigation,
body:is(#page-requisites,.vvmd-is-page-requisites) #navigation {
    height: auto !important;
    min-height: 0 !important;
    margin-top: 0 !important;
    margin-bottom: var(--vvmd-page-crumb-gap) !important;
    padding-block: 0 !important;
}

/* VVMD PERF-95 QA-009: собственный H1 заменяет штатный; пустой topic тоже скрываем. */
body:is(#page-news.page-news--list,.vvmd-is-page-news-list) #content .topic,
body:is(#page-reviews .pg-rev-page-title,.vvmd-is-page-reviews-title) #content .topic {
    display: none !important;
}
body:is(#page-reviews .pg-rev-page-title,.vvmd-is-page-reviews-title) #content > .wrapper_inner {
    grid-row: 2;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Реквизиты: штатный H1 остаётся в своей колонке, без верхнего отступа. */
body:is(#page-requisites,.vvmd-is-page-requisites) #content .topic:has(#pagetitle) {
    height: auto !important;
    min-height: 0 !important;
    margin-top: 0 !important;
    padding-block: 0 !important;
    align-self: start;
}

/* Отзывы: сначала заголовок, затем плашка. */
#page-reviews #front-reviews-custom.front-reviews--page {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
#page-reviews .front-reviews--page .pg-rev-page-head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--vvmd-page-crumb-gap);
    margin: 0 0 var(--vvmd-page-head-space) !important;
    padding: 0 !important;
}
#page-reviews .front-reviews--page .pg-rev-page-title {
    order: -1;
    margin: 0 !important;
}
/* Интервал ПОСЛЕ фильтра задан в .select_head_wrap выше: 32px.
   Начало комментария перед этим правилом исправлено на строке 15701. */

/* =========================================
   SHOWROOMS — скругление большого слайдера
   ========================================= */

#front-showrooms-custom .slider-wrap {
    position: relative !important;
    overflow: hidden !important;
    border-radius: 24px !important;
}

/* На случай оберток Owl */
#front-showrooms-custom .slider-wrap .owl-stage-outer,
#front-showrooms-custom .slider-wrap .gallery {
    overflow: hidden !important;
    border-radius: 24px !important;
}

/* Само изображение */
#front-showrooms-custom .slider-wrap img,
#front-showrooms-custom .gallery img {
    display: block !important;
    width: 100%;
    max-width: 100%;
}

/* =========================================================
   ОСНОВАТЕЛЬ — фото масштабируется СТРОГО ПО ВЫСОТЕ.
   Высота = высоте текстовой карточки.
   Лишняя ширина обрезается симметрично по краям.
   ========================================================= */

@media (min-width: 1024px) {

    #company-about-page .co-founder__inner {
        align-items: stretch !important;
    }

    #company-about-page .co-founder__card--photo {
        position: relative !important;
        align-self: stretch !important;

        height: auto !important;
        min-height: 0 !important;

        overflow: hidden !important;
        border-radius: 32px !important;
        background: #000 !important;
    }

    #company-about-page .co-founder__card--photo img {
        position: absolute !important;

        top: 0 !important;
        left: 50% !important;

        /* КЛЮЧЕВОЕ: масштабируем только от высоты */
        height: 100% !important;
        min-height: 100% !important;

        width: auto !important;
        max-width: none !important;

        transform: translateX(-50%) !important;

        object-fit: initial !important;
        object-position: initial !important;

        margin: 0 !important;
    }

}

/* Главная - Наши шоурумы */

#front-showrooms-custom {
  background-color: var(--figma-white-dark);
}

#front-showrooms-custom .content {
  gap: 20px;
  padding: 0;
}

#front-showrooms-custom .showrooms {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
  background-color: var(--figma-grey-super-light-2x);
  border-radius: 24px;
}

#front-showrooms-custom .showrooms-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

#front-showrooms-custom .showrooms .title {
  font-size: 24px;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--figma-black-100);
}

#front-showrooms-custom .showrooms .info-wrap {
  font-size: 16px;
  line-height: 1.25;
  color: var(--figma-grey-100);
  display: flex;
  gap: 24px;
  justify-content: flex-start;
}

#front-showrooms-custom .showrooms .info-wrap .phone,
#front-showrooms-custom .showrooms .info-wrap .schedule {
  display: flex;
  gap: 4px;
  align-items: center;
}

#front-showrooms-custom .showrooms .info-wrap .phone .icon {
  width: 24px;
  height: 24px;
  background:none;
}
/* VVMD PERF-95 T17-A: фон при приближении; без JS виден сразу. */
#front-showrooms-custom .showrooms .info-wrap .phone .icon:where(.vvmd-bg-ready, html:not(.vvmd-media-js) *){background-image:url("../images/custom/icon_phone.svg");}

#front-showrooms-custom .showrooms .info-wrap .schedule .icon {
  width: 24px;
  height: 24px;
  background:none;
}
/* VVMD PERF-95 T17-A: фон при приближении; без JS виден сразу. */
#front-showrooms-custom .showrooms .info-wrap .schedule .icon:where(.vvmd-bg-ready, html:not(.vvmd-media-js) *){background-image:url("../images/custom/icon_clock.svg");}

#front-showrooms-custom .showrooms .selected {
  background: var(--figma-gradient-1);
}

#front-showrooms-custom .showrooms .selected .title,
#front-showrooms-custom .showrooms .selected .info-wrap {
  color: var(--figma-white-100);
}

#front-showrooms-custom .showrooms .selected .info-wrap .phone .icon {
  width: 24px;
  height: 24px;
  background:none;
}
/* VVMD PERF-95 T17-A: фон при приближении; без JS виден сразу. */
#front-showrooms-custom .showrooms .selected .info-wrap .phone .icon:where(.vvmd-bg-ready, html:not(.vvmd-media-js) *){background-image:url("../images/custom/icon_phone_white.svg");}

#front-showrooms-custom .showrooms .selected .info-wrap .schedule .icon {
  width: 24px;
  height: 24px;
  background:none;
}
/* VVMD PERF-95 T17-A: фон при приближении; без JS виден сразу. */
#front-showrooms-custom .showrooms .selected .info-wrap .schedule .icon:where(.vvmd-bg-ready, html:not(.vvmd-media-js) *){background-image:url("../images/custom/icon_clock_white.svg");}

#front-showrooms-custom .slider-wrap {
  display: flex;
  position: relative;
  overflow: hidden;
  border-radius: 24px;
}

#front-showrooms-custom .gallery {
  display: flex;
  cursor: grab;
}

#showrooms-slider-nav {
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 24px;
  position: absolute;
  top: 50%;
  z-index: 1000;
}

#showrooms-slider-dots {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 24px;
  position: absolute;
  bottom: 0;
  z-index: 1000;
}

#front-showrooms-custom .mobile-version {
  display: none;
}

@media (max-width: 1023px){
  #front-showrooms-custom {
    background: none;
  }

  #front-showrooms-custom .content {
    flex-direction: column;
  }

  #front-showrooms-custom .showrooms {
    padding: 0;
    background: none;
  }

  #front-showrooms-custom .showrooms-wrap {
    flex-direction: row;
  }

  #front-showrooms-custom .showrooms .showroom {
    min-width: 288px;
    flex-basis: 0;
    flex-grow: 1;
  }

  #front-showrooms-custom .showrooms .info-wrap {
    flex-direction: column;
    gap: 8px;
  }

  #front-showrooms-custom .desktop-version {
    display: none;
  }

  #front-showrooms-custom .mobile-version {
    display: flex;
  }

  #showrooms-slider-nav {
    display: none;
  }

  #front-showrooms-custom .gallery img {
    width: 100%;
    object-fit: cover;
    object-position: center center;
  }
}

@media (max-width: 743px){
  #front-showrooms-custom .showrooms-wrap {
    flex-direction: column;
  }
}
