@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

body {
  font-family: "Open Sans", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  color: #3b3b3b;
  background: #292929;
}

#page,
#main-wrapper,
.region-primary-menu .menu-item a.is-active,
.region-primary-menu .menu-item--active-trail a {
  background: #fff;
}

.tabs ul.primary li a.is-active {
  background-color: #fff;
}

.tabs ul.primary li.is-active a {
  background-color: #fff;
  border-bottom-color: #fff;
}

#navbar-top {
  background-color: #055a8e;
}

#navbar-main {
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid #e4e4e4;
  box-shadow: 0.5px 0.5px 4px rgba(0, 0, 0, 0.3);
}

a,
.link {
  color: #0071b3;
}

a:hover,
a:focus,
.link:hover,
.link:focus {
  color: #232323;
}

.cps .nav-item .dropdown-item a.active {
  color: #000;
}

.cps .navbar-nav .nav-link {
  color: #6a6a6a;
  text-transform: uppercase;
  padding-left: 1rem;
  padding-right: 1rem;
}

.cps .nav-link:hover,
.cps .nav-link:focus {
  color: #232323;
}

.cps a:active,
.cps .link:active {
  color: #232323;
}

.page-item.active .page-link {
  background-color: #0071b3;
  border-color: #0071b3;
}

.page-link,
.page-link:hover {
  color: #0071b3;
}

.sidebar .block {
	padding: 0px 20px;
	margin: 10px 0;
	border-top: 0;
	border-bottom: 0;
	border-right: 0;
	border-left: 2px solid #C53232;
  background-color: #fff;
}

.btn:focus {
	color: #fff;
}

.btn-primary {
  background-color: #007bff;
  border-color: #007bff;
	color: #fff;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #0256b1;
	color: #fff;
}

.site-footer {
  background: #292929;
}

.region-header,
.region-header a,
.region-header li a.is-active,
.region-header .site-branding__text,
.region-header .site-branding,
.region-header .site-branding__text a,
.region-header .site-branding a,
.region-secondary-menu .menu-item a,
.region-secondary-menu .menu-item a.is-active {
  color: #fffeff;
}

blockquote {
  border-left: 4px solid #b4b2a9;
  margin: 0;
  padding: 0.75rem 1.25rem;
  border-radius: 0;
	margin-bottom: 1rem;
}
blockquote p {
  margin: 0;
  font-style: italic;
  color: #444;
  line-height: 1.7;
}

/* ---------- Color Form ----------- */

[dir="rtl"] .color-form .color-palette {
  margin-left: 0;
  margin-right: 20px;
}

[dir="rtl"] .color-form .form-item label {
  float: right;
}

[dir="rtl"] .color-form .color-palette .lock {
  right: -20px;
  left: 0;
}

/* ul li */

ul {
  list-style-type: square;
}

ul li::marker {
  color: #D10019;
}

/* --- Header --- */

.logo-width {
  width: 6em;
}

/* Navigation */

.navbar-nav>.nav-item {
  position: relative;
}

.navbar-nav>.nav-item::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 20px;
  background-color: #43a7dc;
}

.navbar-nav>.nav-item:last-child::after {
  display: none;
}

/* Dropdown menu */

.dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 0;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu {
  padding: 0;
  min-width: 140px;
  border-radius: 6px;
  border: 1px solid #e5e5e5;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
  display: block;
  opacity: 0;
  visibility: hidden;
  transform: translateY(5px);
  transition: opacity .2s ease, transform .2s ease;
}

.dropdown-menu .dropdown-item {
  padding: 0;
  border-top: 1px solid #E1E1E1;
}

.dropdown-menu .dropdown-item:first-child {
  border-top: none;
}

.dropdown-menu .dropdown-item a {
  display: block;
  width: 100%;
  padding: 6px 12px;
  font-size: 14px;
  color: #555;
  text-decoration: none;
  white-space: normal;
  transition: background-color .15s ease, color .15s ease;
}

.dropdown-menu .dropdown-item:hover a {
  color: #000;
  background-color: #e8f5fd;
}

.dropdown-menu .dropdown-item.active a,
.dropdown-menu .dropdown-item:active a {
  background: none;
  color: #8F8B8B;
}

.dropdown-menu .dropdown-item a:hover,
.dropdown-menu .dropdown-item a:focus,
.dropdown-menu .dropdown-item a:active {
  background: #f5f9ff;
  color: #1a1a1a;
  outline: none;
  box-shadow: none;
}

.dropdown-menu .dropdown-item a.is-active,
.dropdown-menu .dropdown-item a.is-active:hover,
.dropdown-menu .dropdown-item a.is-active:focus {
  background: #e8f5fd;
  color: #000;
  font-weight: 500;
}

@media (max-width: 991.98px) {
	.offcanvas-body {
		padding: 0 1rem;
	}
	
  .offcanvas-body .dropdown-menu,
  .navbar-collapse .dropdown-menu {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    position: static !important;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0;
    min-width: unset;
    background: transparent;
  }

  .offcanvas-body .dropdown-toggle::after,
  .navbar-collapse .dropdown-toggle::after {
    display: none;
  }

  .offcanvas-body .nav-item.dropdown > .nav-link,
  .navbar-collapse .nav-item.dropdown > .nav-link {
    font-weight: 600;
    font-size: 16px;
    color: #1a1a1a;
    padding: 10px 16px 4px;
    pointer-events: none;
    cursor: default;
  }

  .offcanvas-body .nav-item.dropdown > .nav-link[href]:not([href=""]),
  .navbar-collapse .nav-item.dropdown > .nav-link[href]:not([href=""]) {
    pointer-events: auto;
    cursor: pointer;
  }

  .offcanvas-body .dropdown-menu,
  .navbar-collapse .dropdown-menu {
    padding-left: 12px;
    margin-bottom: 8px;
  }

  .offcanvas-body .dropdown-menu .dropdown-item,
  .navbar-collapse .dropdown-menu .dropdown-item {
    padding: 0;
    border-top: none;
  }

  .offcanvas-body .dropdown-menu .dropdown-item a,
  .navbar-collapse .dropdown-menu .dropdown-item a {
    display: block;
    padding: 8px 16px;
    font-size: 15px;
    color: #444;
    text-decoration: none;
    transition: background-color .15s ease, color .15s ease;
  }

  .offcanvas-body .dropdown-menu .dropdown-item a:hover,
  .offcanvas-body .dropdown-menu .dropdown-item a:focus,
  .navbar-collapse .dropdown-menu .dropdown-item a:hover,
  .navbar-collapse .dropdown-menu .dropdown-item a:focus {
    background: #e8f5fd;
    color: #1a1a1a;
  }

  .offcanvas-body .dropdown-menu .dropdown-item a.is-active,
  .navbar-collapse .dropdown-menu .dropdown-item a.is-active {
    color: #000;
    font-weight: 500;
    background: #e8f5fd;
  }

  .offcanvas-body .nav-item.dropdown,
  .navbar-collapse .nav-item.dropdown {
    border-bottom: 1px solid #efefef;
    padding-bottom: 6px;
    margin-bottom: 4px;
  }

  .offcanvas-body .nav-item.dropdown:last-child,
  .navbar-collapse .nav-item.dropdown:last-child {
    border-bottom: none;
  }
	
	.navbar-nav > .nav-item::after {
		display: none;
	}
}

.navbar-toggler {
  padding: 6px 8px;
  border: none;
  background: transparent;
  box-shadow: none;
  outline: none;
  cursor: pointer;
  width: 36px;
  height: 36px;
  position: relative;
}

.navbar-toggler:focus {
  box-shadow: none;
  outline: none;
}

.navbar-toggler-icon {
  background-image: none;
  width: 22px;
  height: 2px;
  background: #333;
  border-radius: 2px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: background .2s ease;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
  content: '';
  display: block;
  width: 22px;
  height: 2px;
  background: #333;
  border-radius: 2px;
  position: absolute;
  left: 0;
  transition: transform .25s ease, top .25s ease;
}

.navbar-toggler-icon::before { top: -7px; }
.navbar-toggler-icon::after  { top:  7px; }

.navbar-toggler:not(.collapsed) .navbar-toggler-icon {
  background: transparent;
}

.navbar-toggler:not(.collapsed) .navbar-toggler-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.navbar-toggler:not(.collapsed) .navbar-toggler-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

@media (max-width: 767px) {
  nav.menu--main {
    margin-left: 0;
  }
}

/* Language menu */

.menu-version .nav {
  display: flex;
  gap: 8px;
}

.menu-version .nav-link {
  color: #333;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-version .nav .nav-item:first-child .nav-link {
	background-color: #43a7dc;
	color: #fff !important;
}

.menu-version .nav-item:not(.active) .nav-link {
  color: #555;
}

@media (max-width: 991.98px) {
	.menu-version .nav {
  display: flex;
  gap: 8px;
  justify-content: end;
  margin: 5px 0;
}
}

/* Table */

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem; /* 14px */
  color: #333;
  background-color: transparent;
}

thead {
  background-color: transparent;
}

tbody {
  background-color: transparent;
}

tr {
  background-color: transparent;
}

th,
td {
  padding: 0.5rem; /* 8px */
  text-align: left;
  border: none;
}

th {
  font-weight: 600;
}

caption {
  caption-side: bottom;
  padding-top: 0.5rem;
  font-size: 0.75rem;
  color: #666;
}

/* Slider */

.slider-container img {
	width: 100%;
}

.carousel-control-next-icon, .carousel-control-prev-icon {
	width: 3rem;
	height: 3rem;
}

/* About */

.about-title {
	color: #515151;
	font-weight: 400;
	font-size: 1.38rem;
	margin-bottom: 20px;
}

/* Block */

.block-main-title {
  color: #43A7DC;
  font-weight: 600;
  text-transform: uppercase;
}

.block-main-title::before {
  content: "";
  display: inline-block;
  width: 3px;
  background-color: #c12323;
  margin-right: 20px;
  transform: rotate(20deg);
  transform-origin: bottom left;
}

.page-title-block  {
	width: 100%;
	background: #034d82;
	padding: 5px 0;
	margin-bottom: 20px;
}

h1.title-cps {
	display: inline-block;
	color: #fff;
	font-size: 1rem;
	letter-spacing: 0;
	border-bottom: none;
	margin: 0;
	padding: 0;
}

/* Title */

.block-title-content {
  position: relative;
  color: #004982;
  font-size: 1.6rem;
  padding-left: 25px;
  line-height: 1.3;
}

.block-title-content:before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 26px;
  background-color: #c12323;
  transform: translateY(-50%) rotate(20deg);
  transform-origin: center;
}

/* Node */

.breadcrumb {
  background: none;
  margin-bottom: 0;
  padding: 10px 0;
}

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

.breadcrumb-item+.breadcrumb-item::before {
  color: #777;
}

.breadcrumb-item.active {
  color: rgba(255, 255, 255, 0.7);
}

.field--type-entity-reference {
  margin: 0;
}

.field--type-image img, .field--name-field-user-picture img {
	margin: 0;
}

.node__content {
	font-size: 1rem;
	line-height: 1.622rem;
	margin-top: 10px;
}

.node__content img {
	width: 100%;
	max-width: 100%;
	height: auto;
}

@media (min-width: 560px) {
	.node .field--type-image {
		float: none;
		margin: 0 1em 0 0;
		width: 100%;
	}
}

/* News */

.news-article {
  border-left: 2px solid #D72329;
}

.news-title a {
  color: #23527c;
  text-decoration: none;
}

.news-title a:hover{
  color: #23527c;
  text-decoration: underline;
}

.news-tax {
  font-size: 12px;
}

.news-date {
  font-size: 14px;
}

.hero-image img {
  padding: 0 2%;
  margin: 0;
  display: flex;
  justify-content: start;
  width: 100%;
}

.btn-news {
  display: inline-block;
  margin-top: 15px;
  width: 30%;
  padding: 5px;
  font-size: 0.8rem;
  line-height: 1.2;
  color: #fff;
  background-color: #337ab7;
  border: 1px solid #2e6da4;
  border-radius: 4px;
  text-align: center;
  text-decoration: none;
  transition: background-color .15s ease-in-out,
  border-color .15s ease-in-out,
  box-shadow .15s ease-in-out;
}

.btn-news:hover {
  color: #fff;
  background-color: #286090;
  border-color: #204d74;
}

.btn-news:focus {
  color: #fff!important;
  outline: none;
  box-shadow: 0 0 0 2px rgba(51, 122, 183, 0.4);
}

.btn-news:active {
  color: #fff;
  background-color: #286090;
  border-color: #204d74;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15);
}

.btn-news:active:hover,
.btn-news:active:focus {
  background-color: #204d74;
  border-color: #122b40;
}

.btn-news:disabled,
.btn-news[disabled] {
  color: #fff;
  background-color: #337ab7;
  border-color: #2e6da4;
  opacity: 0.65;
  cursor: not-allowed;
  box-shadow: none;
}

/* Обертка */
.news-filter {
  gap: 12px;
  align-items: center;
}

/* Каждый блок фильтра */
.news-filter .form-type-select {
  position: relative;
}

/* Селекты */
.news-filter .form-select {
  padding: 10px 14px; /* убрали запас под стрелку */
  border-radius: 8px;
  border: 1px solid #d0d5dd;
  background-color: #fff;
  font-size: 14px;
  line-height: 1.2;
  color: #344054;
  cursor: pointer;
  min-width: 150px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Hover */
.news-filter .form-select:hover {
  border-color: #98a2b3;
}

/* Focus */
.news-filter .form-select:focus {
  outline: none;
  border-color: #1570ef;
  box-shadow: 0 0 0 3px rgba(21, 112, 239, 0.15);
}

/* Кнопка */
.news-filter .form-actions .btn {
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  background: rgb(51, 122, 183);
  border: none;
  transition: all 0.2s ease;
}

.news-filter .form-actions .btn:hover {
  background: #286090;
  transform: translateY(-1px);
}

.hero-image::after {
  content: attr(data-title);
  display: block;
  text-align: center;
  font-weight: bold;
  font-style: italic;
  margin-top: 8px;
}

/* Отступ кнопки */
.news-filter .form-actions {
  margin-left: 4px;
}

/* Мобилка */
@media (max-width: 576px) {
  .news-filter {
    gap: 8px;
  }

  .news-filter .form-select {
    min-width: 120px;
    font-size: 13px;
    padding: 8px 12px;
  }

  .news-filter .form-actions .btn {
    padding: 8px 14px;
    font-size: 13px;
  }
}

/* Pager */

ul.js-pager__items.pagination {
  justify-content: center;
  margin: 30px 0;
}

ul.js-pager__items.pagination li {
  margin: 0px 1px;
}

span.page-link {
  display: none;
}

.page-item:last-child .page-link {
  font-size: 0.9rem;
  border: 0;
  background: #ECF7FF;
  border-radius: 0;
  text-transform: uppercase;
}

.page-item:first-child .page-link {
  font-size: 0.9rem;
  border: 0;
  background: #ECF7FF;
  border-radius: 0;
  text-transform: uppercase;
}

/* Products */

.list-text-title {
  position: relative;
  color: #004982;
  font-size: 1.6rem;
  padding-left: 25px;
  line-height: 1.3;
}

.paragraph .list-text-title {
	margin-bottom: 30px;
}

.list-text-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 26px;
  background-color: #c12323;
  transform: translateY(-50%) rotate(20deg);
  transform-origin: center;
}

.tezisy-list ul {
  columns: 2;
  column-gap: 40px;
	column-width: 50%;
  list-style: none;
  padding: 0;
  margin: 0;
}

.tezisy-list li {
  break-inside: avoid;
  margin-bottom: 12px;
  position: relative;
  padding-left: 18px;
}

.tezisy-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  background-color: #D10019;
  position: absolute;
  left: 0;
  top: 6px;
}

/* Price 1c */

.price-title h2 {
	border-top: 1px solid #004982;
	border-bottom: 1px solid #004982;
	color: #004982;
	font-size: 1.4rem;
}

.price-title h2 {
  position: relative;
  border-top: 1px solid #004982;
  border-bottom: 1px solid #004982;
  color: #004982;
  font-size: 1.4rem;
  padding-left: 25px;
  line-height: 1.3;
}

.price-title h2:before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 26px;
  background-color: #c12323;
  transform: translateY(-50%) rotate(20deg);
  transform-origin: center;
}

.table-price table {
  width: 100%;
  border-collapse: collapse;
}

.table-price td:last-child {
  text-align: right;
  white-space: nowrap;
  padding-left: 10px;
}

.table-price td:first-child {
  width: 100%;
}

/* Solution */

.solutions-block .solution-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.solution-label {
  font-size: 14px;
  font-weight: 500;
  color: #6c757d;
  margin-bottom: 4px;
  min-height: 20px;
}

.solution-heading {
  font-size: 1.49rem;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 6px;
}

.solution-heading a,
.solution-heading a:hover {
  color: inherit;
  text-decoration: none;
}

.solution-desc {
  font-size: 16px;
  color: #555;
  line-height: 1.5;
}

.icon-circle {
  --icon-color: #999;
  min-width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 5px solid var(--icon-color);
  color: var(--icon-color);
  background: #fff;
  font-size: 1.5rem;
  font-weight: 600;
  transition: all .2s ease;
}

.solution-item:hover .icon-circle {
  transform: scale(1.05);
}

.icon-blue {
  --icon-color: #16bdcd;
}

.text-blue {
  color: #16bdcd;
}

.icon-green {
  --icon-color: #1c974e;
}

.text-green {
  color: #1c974e;
}

.icon-yellow {
  --icon-color: #f2b705;
}

.text-yellow {
  color: #f2b705;
}

.icon-purple {
  --icon-color: #3f4d70;
}

.text-purple {
  color: #3f4d70;
}

.icon-orange {
  --icon-color: #ffa500;
}

.text-orange {
  color: #ffa500;
}

.text-soft {
  opacity: .7;
}

@media (max-width: 576px) {
  .icon-circle {
    min-width: 72px;
    height: 72px;
    font-size: 20px;
	}
  
  .solution-heading {
    font-size: 20px;
	}
  
  .solution-desc {
    font-size: 15px;
	}
}

/* Pre footer */

.featured-bottom {
  font-family: "Open Sans", sans-serif;
  background: #034d82;
  border-bottom: 1px solid #555;
  border-color: rgba(255, 255, 255, 0.15);
}


/* Footer */

.site-footer {
  font-family: "Open Sans", sans-serif;
  background: #034d82;
  padding: 35px 0 0px;
}

.site-footer .block {
  border: 0;
  margin: 0;
  padding: 0;
}

.site-footer__top .block-menu, .site-footer__bottom .block {
  margin: 0;
  padding: 0;
  border: none;
}

.footer-about-copyright {
  font-style: normal;
  font-weight: 400;
  font-size: 13px;
  color: #fff;
  margin-top: 36px;
}

.footer-contact-item {
  margin-bottom: 38px;
}

.footer-contact-badge {
  color: #E41B18;
  font-style: normal;
  font-weight: 700;
  font-size: 13px;
  line-height: 130%;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.footer-contact-email {
  color: #fff;
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  line-height: 130%;
}

.menu--footer-menu .nav {
  display: block;
}

.site-footer__top .nav-link {
  font-family: "Open Sans", sans-serif;
  color: #fff;
  padding: 4px 0;
  font-weight: 400;
  font-size: 0.94rem;
	text-transform: initial;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(255, 255, 255, 0.4);
  transition: text-decoration-color 0.2s ease;
}

.site-footer__top .nav-link:hover, 
.site-footer__top .nav-link:focus {
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, 0);
}

.site-footer__top h2 {
  border-bottom: 0;
  border-color: rgba(255, 255, 255, 0.15);
  font-size: 1em;
  margin-bottom: 5px;
  padding-bottom: 5px;
  text-transform: uppercase;
}

.menu--footer-menu ul li a {
	color: #fff!important;
}

.menu--footer-menu ul li a:hover {
	color: #E41B18!important;
}

.menu--footer-menu ul li a.is-active {
	color: #E41B18!important;
}

.site-footer .content {
  color: #c0c0c0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.847em;
}

.site-footer .content ol:not(.menu), .site-footer .content ul:not(.menu) {
  padding-left: 0;
}

.footer-btn {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	padding: 10px;
	gap: 10px;
	font-family: "Open Sans", sans-serif;
	color: #fff;
	font-style: normal;
	font-weight: 700;
	font-size: 14px;
	line-height: 130%;
	letter-spacing: 0.03em;
	text-transform: uppercase;	
	border: 1px solid #666666;
	border-radius: 8px;
	margin-bottom: 20px;
}

.footer-copyright {
  font-family: "Open Sans", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 130%;
  color: #ccc;	
  padding-bottom: 20px;
}

.social-icons {
	padding: 0;
	margin-bottom: 0;
}

.social-icons img {
	width: 24px;
	height: 24px;
	top: 2px;
	left: 0;
}

.social-icons li {
	position: relative;
  display: flex;
  padding: 0;
  padding-left: 2.3em;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  opacity: .98;
  transition: all .3s;
}

.social-icons li a {
	font-size: 12px;
	color: #fff;
	text-decoration: none;
  transition: all .3s;
}

.social-icons li a:hover {
	color: #fff;
	text-decoration: none;
	opacity: .8;
}

/* Search footer */

#block-cps-search {
  width: 100%;
}

#block-cps-search .search-form {
  display: flex;
  width: 100%;
  align-items: center;
}

#block-cps-search .form-item-keys {
  flex: 1;
  margin: 0;
}

#block-cps-search input#edit-keys {
  width: 100%;
  height: 44px;
  padding: 0 16px;
  border: 1px solid #d1d5db;
  border-right: none;
  border-radius: 6px 0 0 6px;
  background: #fff;
  font-size: 14px;
  transition: all 0.2s ease;
}

#block-cps-search input#edit-keys::placeholder {
  color: #9ca3af; /* gray-400 */
}

#block-cps-search input#edit-keys:focus {
  outline: none;
  border-color: #286090;
  box-shadow: 0 0 0 2px rgba(40, 96, 144, 0.15);
  position: relative;
  z-index: 1;
}

#block-cps-search button#edit-submit {
  height: 44px;
  padding: 0 18px;
  border: 1px solid #286090;
  border-radius: 0 6px 6px 0;
  background: #286090;
  color: #fff;
  font-weight: 500;
  transition: all 0.2s ease;
}

#block-cps-search .btn,
#block-cps-search .btn-primary {
  background: #286090;
  border-color: #286090;
  color: #fff;
  box-shadow: none;
}

#block-cps-search button#edit-submit:hover {
  background: #1f4c73;
  border-color: #1f4c73;
}

#block-cps-search button#edit-submit:active {
  transform: scale(0.98);
}

#block-cps-search .mb-3 {
  margin-bottom: 0 !important;
}

/* Timeline */

.about-timeline {
	position: relative;
	padding-left: 30px;
	margin-left: 10px;
}

/* Вертикальная линия */
.about-timeline::before {
	content: "";
	position: absolute;
	left: 0;
	top: 10px;
	bottom: 0;
	width: 2px;
	background-color: #c12323;
}

.timeline-item {
	position: relative;
	margin-bottom: 2.5rem;
}

.timeline-marker {
	position: absolute;
	left: -37px;
	top: 6px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background-color: #fff;
	border: 4px solid #c12323;
	z-index: 2;
}

.timeline-item:last-child {
	margin-bottom: 0;
}

.timeline-content {
	color: #4b4b4b;
	font-size: 0.95rem;
}

/* Collapsise */ 

.card-text-container {
  max-height: 4.5em;
  opacity: 0.7;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease-out;
  will-change: max-height, opacity;
}

.card-text-container.expanded {
  opacity: 1;
}

.my-read-more-link {
  color: #3b82f6;
  cursor: pointer;
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s, transform 0.1s;
}

.my-read-more-link:hover {
  color: #2563eb;
  text-decoration: underline;
}

.my-read-more-link:active {
  transform: scale(0.98);
}

.is-hidden {
  display: none !important;
}

/* =============================================
   Clients carousel — уникальные стили блока
   ============================================= */

/* Обёртка всего блока */
.clients-carousel {
  position: relative;
  padding: 15px 0;
}

/* ── Обёртка слайдов + стрелок ── */
.clients-carousel__stage {
  position: relative;
}

/* ── Сетка карточек ── */
.clients-carousel__row {
  display: flex;
  gap: 16px;
  padding: 8px 0 0;
}

/* ── Карточка клиента ── */
.clients-carousel__card {
  flex: 1;
  min-width: 0;
  position: relative;
  background: #f5f4f0;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 3/2;
  cursor: default;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.clients-carousel__card:hover {
  background: #edecea;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* ── Обёртка логотипа ── */
.clients-carousel__logo-wrap {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.clients-carousel__logo-wrap img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  filter: grayscale(20%);
  transition: filter 0.25s ease, transform 0.25s ease;
}

.clients-carousel__card:hover .clients-carousel__logo-wrap img {
  filter: grayscale(0%);
  transform: scale(1.04);
}

/*
/* ── Название — выезжает снизу при наведении ── */
.clients-carousel__name {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(30, 30, 28, 0.72);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  text-align: center;
  padding: 7px 10px;
  transform: translateY(100%);
  transition: transform 0.22s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.clients-carousel__card:hover .clients-carousel__name {
  transform: translateY(0);
}

/* ── Кнопка i на карточке ── */
.clients-carousel__info-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.15);
  background: rgba(255, 255, 255, 0.9);
  color: #555;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s ease, background 0.2s ease;
  z-index: 2;
}

.clients-carousel__card:hover .clients-carousel__info-btn {
  opacity: 1;
}

.clients-carousel__info-btn:hover {
  background: #fff;
  color: #111;
}

/* ── Скрытый источник описания ── */
.clients-carousel__desc-source {
  display: none;
}

/* ── Кнопки навигации — относительно stage ── */
.clients-carousel__prev,
.clients-carousel__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #ddd;
  background: #fff;
  color: #444;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.clients-carousel__prev { left: 5px; }
.clients-carousel__next { right: 5px; }

.clients-carousel__prev:hover,
.clients-carousel__next:hover {
  background: #f0f0ee;
  border-color: #bbb;
  color: #111;
}

/* ── Bootstrap — сброс на carousel-item ── */
.clients-carousel .carousel-item {
  transition: transform 0.4s ease;
  width: 100%;
}

/* ── Точки-индикаторы ── */
.clients-carousel.carousel .carousel-indicators {
  position: static;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 30px 0 0;
  padding: 0;
}

.clients-carousel .carousel-indicators .clients-carousel__dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  border-top: none;
  border-bottom: none;
  background: #ccc;
  opacity: 1;
  padding: 0;
  cursor: pointer;
  box-sizing: content-box;
  transition: background 0.2s ease,
              width 0.2s ease,
              border-radius 0.2s ease,
              opacity 0.25s ease;
}

.clients-carousel .carousel-indicators .clients-carousel__dot.active {
  background: #555;
  width: 18px;
  border-radius: 3px;
}

.clients-carousel .carousel-indicators .clients-carousel__dot--hidden {
  width: 0;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
}

/* ── Панель описания ── */
/* ── Панель описания ── */
.clients-carousel__desc-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease, opacity 0.3s ease;
  opacity: 0;
}

.clients-carousel__desc-panel.is-open {
  grid-template-rows: 1fr;
  opacity: 1;
}

/* Обязательно — внутренний div должен иметь overflow: hidden */
.clients-carousel__desc-inner {
  overflow: hidden;
  position: relative;
  background: #f5f4f0;
  border-radius: 10px;
  padding: 20px 48px 20px 20px;
  margin-top: 16px;
}

.clients-carousel__desc-title {
  font-size: 14px;
  font-weight: 500;
  color: #222;
  margin-bottom: 8px;
}

.clients-carousel__desc-text {
  font-size: 13px;
  line-height: 1.7;
  color: #555;
}

.clients-carousel__desc-text p {
  margin: 0 0 10px;
}

.clients-carousel__desc-text p:last-child {
  margin-bottom: 0;
}

.clients-carousel__desc-text a {
  color: #555;
  text-decoration: underline;
}

.clients-carousel__desc-text a:hover {
  color: #111;
}

.clients-carousel__desc-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: #888;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}

.clients-carousel__desc-close:hover {
  color: #111;
  background: rgba(0, 0, 0, 0.06);
}

/* =============================================
   Адаптив
   ============================================= */

/* Планшет (768px–1023px) */
@media (max-width: 1023px) {
  .clients-carousel__row {
    gap: 12px;
  }

  .clients-carousel__prev,
  .clients-carousel__next {
    width: 30px;
    height: 30px;
  }

  .clients-carousel.carousel .carousel-indicators {
    display: none;
  }
}

/* Мобильный (до 767px) */
@media (max-width: 767px) {
  .clients-carousel {
    padding: 10px 0;
  }

  .clients-carousel__prev,
  .clients-carousel__next {
    width: 28px;
    height: 28px;
  }

  .clients-carousel.carousel .carousel-indicators {
    display: none;
  }

  .clients-carousel__desc-inner {
    padding: 16px 40px 16px 16px;
  }

  .clients-carousel__desc-text {
    font-size: 12px;
  }
}


/* CPS solutions icons */
.icon-circle--image {
  border: none;
  background: transparent;
  border-radius: 0;
  color: inherit;
  min-width: 96px;
  width: 96px;
  height: 96px;
  padding: 0;
  overflow: visible;
}

.icon-circle--image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
}

.solution-item:hover .icon-circle--image {
  transform: scale(1.04);
}

/* Единый цвет заголовков на /solutions */
.path-solutions .solution-heading,
.path-solutions .solution-heading a,
.path-solutions .solution-heading a:hover {
  color: #034d82;
}

.path-solutions .solution-text .small.text-soft {
  color: #5a6b7a;
  opacity: 1;
}

@media (max-width: 576px) {
  .icon-circle--image {
    min-width: 76px;
    width: 76px;
    height: 76px;
  }
}
