@charset "UTF-8";
/**
 * Theme Name: Nek
 * Theme URI: https://nekgroup.com  
 * Author: Maxim  
 * Description: Сайт компании АО "НЭК" разработанный на wordpress.  
 * Version: 1.0.0  
 * Text Domain: nek   
 */
/* Reset только для не-WordPress элементов */
h3:not(.wp-block-heading),
h4:not(.wp-block-heading),
h5:not(.wp-block-heading),
h6:not(.wp-block-heading) {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style-position: inside;
}

ul {
  list-style-type: none;
}

a:not(.wp-block-button__link):not(.wp-block-file__button) {
  outline: none;
}

table:not(.wp-block-table) {
  border-collapse: collapse;
}

td:not(.wp-block-table td) {
  padding: 0;
}

img:not(.wp-block-image img):not(.wp-block-gallery img):not(.blocks-gallery-grid img) {
  border: 0;
  display: block;
}

input:not(.wp-block-search__input):not(.wp-block-button__input),
textarea:not(.wp-block-search__input),
button:not(.wp-block-button__button):not(.wp-block-search__button) {
  font: inherit;
  margin: 0;
  padding: 0;
  outline: 0;
  border: 1px solid #ccc;
  box-sizing: content-box;
  -moz-box-sizing: content-box;
}

input[type=submit]:not(.wp-block-button__input):not(.wp-block-search__button),
button:not(.wp-block-button__button):not(.wp-block-search__button) {
  cursor: pointer;
}

html {
  height: 100%;
}

body {
  height: 100%;
  margin: 0;
  position: relative;
  min-width: 320px;
  -webkit-font-smoothing: antialiased;
}

i:not(.wp-block),
b:not(.wp-block) {
  display: block;
}

p:not(.wp-block-paragraph):not(.wp-block-group) {
  margin: 15px 0;
}

.clear {
  clear: both;
}

/* Общие SCSS миксины и функции */
::-webkit-textfield-decoration-container {
  display: none;
}

/* Ограничение в 3 строки с многоточием */
/* Общие переменные */
.dred-link, .nli-title, .main-pagination .page-numbers {
  text-decoration: none;
  color: #ed1c24;
}
.dred-link:hover, .nli-title:hover, .main-pagination .page-numbers:hover {
  color: #ce080f;
}

.red-link, .callback {
  text-decoration: none;
  color: #ed1c24;
}
.red-link:hover, .callback:hover {
  color: #f9555b;
}

.contacts-link, .contact-phone a,
.contact-email a,
.contact-fax a, .division-email a,
.division-phone a,
.division-fax a,
.additional-phone a,
.division-emails a {
  text-decoration: none;
  color: #939393;
}
.contacts-link:hover, .contact-phone a:hover,
.contact-email a:hover,
.contact-fax a:hover, .division-email a:hover,
.division-phone a:hover,
.division-fax a:hover,
.additional-phone a:hover,
.division-emails a:hover {
  text-decoration: underline;
  color: #4c4c4c;
}

.contacts-header, .division-name {
  color: #ea0810;
  font-size: 18px;
  margin-bottom: 20px;
  font-weight: 500;
}

.country-header, .country-title {
  color: #7c7c7c;
}
.country-header:hover, .country-title:hover {
  color: #3a3a3a;
}

.red-button, .po-button, .w2us-button {
  background: -moz-linear-gradient(top, #E91B0F 0%, #A81E1A 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #E91B0F), color-stop(100%, #A81E1A));
  background: -webkit-linear-gradient(top, #E91B0F 0%, #A81E1A 100%);
  background: -o-linear-gradient(top, #E91B0F 0%, #A81E1A 100%);
  background: -ms-linear-gradient(top, #E91B0F 0%, #A81E1A 100%);
  background: linear-gradient(to bottom, #E91B0F 0%, #A81E1A 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#E91B0F", endColorstr="#A81E1A",GradientType=0);
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  cursor: pointer;
}
.red-button:hover, .po-button:hover, .w2us-button:hover {
  background: -moz-linear-gradient(top, #f63a2f 0%, #b91611 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #f63a2f), color-stop(100%, #b91611));
  background: -webkit-linear-gradient(top, #f63a2f 0%, #b91611 100%);
  background: -o-linear-gradient(top, #f63a2f 0%, #b91611 100%);
  background: -ms-linear-gradient(top, #f63a2f 0%, #b91611 100%);
  background: linear-gradient(to bottom, #f63a2f 0%, #b91611 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#f63a2f", endColorstr="#b91611",GradientType=0);
}

.check {
  width: 16px;
  height: 16px;
  -webkit-box-shadow: 0px 0px 0px 1px #ccc inset;
  -moz-box-shadow: 0px 0px 0px 1px #ccc inset;
  box-shadow: 0px 0px 0px 1px #ccc inset;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  background: #fff;
  float: left;
}
.check.checked {
  background-color: #fff;
  background-image: url("../images/apply.png");
  background-repeat: no-repeat;
  background-position: center;
}

.back-link {
  font-size: 15px;
  margin-top: 20px;
  display: inline-block;
}

/* Базовые стили */
body {
  font: 13px/1.33 "Roboto", sans-serif;
  color: #000;
}

h1 {
  color: #ea0810;
  font-size: 30px;
  font-weight: normal;
  margin: 8px 0 16px 0;
}

h2 {
  color: #535d63;
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 10px 0;
  display: inline-block;
}

a {
  text-decoration: none;
}

input:focus {
  border: 1px solid #aaa !important;
}

/* Обёртки - контейнеры */
.layout.active {
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9;
}

.bg {
  position: fixed;
  overflow: hidden;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: -1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-wrapper {
  width: 100%;
  position: relative;
  z-index: 1;
}

.page-container {
  width: 991px;
  margin: 0 auto -116px;
  position: relative;
  -webkit-box-shadow: 0px 10px 48px 0px #555;
  -moz-box-shadow: 0px 10px 48px 0px #555;
  box-shadow: 0px 10px 48px 0px #555;
}

.top-page {
  width: 991px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.8);
}

.breadcrumbs {
  margin: 4px;
}

.header {
  height: 80px;
  padding: 20px 30px 0px 20px;
}
.header .red-link:hover .po-button, .header .callback:hover .po-button,
.header .red-link:hover .w2us-button,
.header .callback:hover .w2us-button {
  background: -moz-linear-gradient(top, #f63a2f 0%, #b91611 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #f63a2f), color-stop(100%, #b91611));
  background: -webkit-linear-gradient(top, #f63a2f 0%, #b91611 100%);
  background: -o-linear-gradient(top, #f63a2f 0%, #b91611 100%);
  background: -ms-linear-gradient(top, #f63a2f 0%, #b91611 100%);
  background: linear-gradient(to bottom, #f63a2f 0%, #b91611 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#f63a2f", endColorstr="#b91611",GradientType=0);
}

.logo {
  width: 136px;
  height: 67px;
  display: block;
  float: left;
}

.slogan {
  color: #515151;
  font-style: italic;
  font-size: 18px;
  display: block;
  float: left;
  margin-left: 10px;
  line-height: 60px;
}

.private-office {
  display: inline-block;
  margin-left: 30px;
  margin-top: 15px;
  cursor: pointer;
}

.po-button {
  width: 34px;
  height: 31px;
  float: left;
  margin-right: 10px;
  text-align: center;
  line-height: 34px;
}
.po-button span.po-icon {
  width: 12px;
  height: 13px;
  display: inline-block;
  background: url("assets/images/main/sprite.png") no-repeat -68px 0px;
}

.po-link {
  float: left;
  line-height: 30px;
}

.write2us {
  display: inline-block;
  float: right;
  margin-left: 40px;
  margin-top: 15px;
}

.w2us-button {
  width: 34px;
  height: 31px;
  float: left;
  margin-right: 10px;
  line-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  align-items: center;
}
.w2us-button span.w2us-icon {
  width: 18px;
  height: 13px;
  display: inline-block;
  background: url("assets/images/main/sprite.png") no-repeat -49px 0px;
}

.w2us-link {
  float: left;
  line-height: 30px;
}

.phone {
  display: inline-block;
  float: right;
  margin-top: 9px;
}

.h-language {
  float: right;
  text-decoration: none;
  color: #ed1c24;
  margin: 22px 25px 0 0;
}
.h-language:before {
  content: "";
  display: inline-block;
  margin-top: 2px;
  vertical-align: top;
  width: 23px;
  height: 13px;
  margin-right: 10px;
}

.hl-en:before {
  background: url("assets/images/main/sprite.png") -49px -16px;
}

.hl-ru:before {
  background: url("assets/images/main/sprite.png") -72px -16px;
}

.phone-number {
  color: #535d63;
  font-size: 19px;
  font-family: Roboto;
}

.code-number {
  color: #818d94;
}

.callback {
  float: right;
  line-height: 1em;
  padding-right: 2px;
}

/* Скрытые формы*/
#callback,
#write2us {
  height: auto;
  min-height: 574px;
  position: absolute;
  top: 50%;
  right: 50%;
  transform: translate(50%, -50%);
  height: auto;
  max-height: 90vh;
  overflow-y: auto;
}

.hidden-form {
  width: 394px;
  height: auto;
  border-top: 6px solid #d2141b;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  background: #fff;
  z-index: 10;
  display: none;
  position: relative;
  margin: auto;
  padding-bottom: 20px;
}

.hf-content {
  padding: 22px;
  height: auto;
  overflow: hidden;
}
.hf-content textarea {
  min-height: 100px;
  height: auto;
}

/* Очистка float после блока с короткими полями */
.hf-content:after {
  content: "";
  display: table;
  clear: both;
}

.hf-control {
  height: 60px;
  border-bottom: 1px solid #ccc;
}

.hf-header {
  width: 312px;
  float: left;
  padding-left: 22px;
  line-height: 60px;
  color: #535d63;
  font-size: 18px;
  font-weight: 500;
}

.close-form {
  width: 60px;
  height: 60px;
  float: left;
  cursor: pointer;
  line-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cf-icon {
  width: 11px;
  height: 11px;
  display: inline-block;
  background: url("assets/images/main/sprite.png") no-repeat -37px 0px;
}

.cf-icon.active {
  background: url("assets/images/main/sprite.png") no-repeat -37px -12px;
}

.hf-content {
  padding: 22px;
}
.hf-content input[type=text], .hf-content input[type=tel], .hf-content input[type=email], .hf-content textarea {
  width: 339px;
  height: 34px;
  border: 1px solid #ccc;
  padding-left: 10px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  margin-bottom: 14px;
}
.hf-content input[type=tel], .hf-content input[type=email] {
  width: 148px;
}
.hf-content input[type=tel].full {
  width: 330px;
}
.hf-content textarea {
  overflow: auto;
  width: 329px;
  height: 100px;
  padding: 8px 10px 2px;
  resize: none;
}

.field-container.short {
  width: 160px;
}

.field-label {
  display: block;
  width: 160px;
  margin-bottom: 12px;
  color: #626262;
}

/* Кнопка */
.wpcf7-form-control {
  width: 110px;
  height: 36px;
  line-height: 34px;
  font-size: 14px;
  border: none;
}

.field-container {
  position: relative;
}
.field-container-wrapper {
  display: flex;
  justify-content: space-between;
}

.field-container.submit-container {
  display: flex;
  align-items: center;
}

.field-container.captcha-container {
  margin: 14px 0;
}
.field-container.captcha-container .wpcf7-not-valid-tip {
  top: -15px;
  right: 45px;
}

.wpcf7-response-output {
  margin: 0em 1.5em !important;
}

/* Стили для кастомных ошибок */
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
  border-color: #dc3232;
}

.wpcf7-form-control-wrap {
  position: unset;
}

.wpcf7-not-valid {
  border-color: #dc3232 !important;
  animation: shake 0.5s ease-in-out;
}

.wpcf7-not-valid-tip {
  position: absolute;
  top: 14px;
  font-size: 0.89em;
  right: 0px;
  color: #dc3232;
  margin-top: 2px;
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes shake {
  0%, 100% {
    transform: translateX(0);
  }
  20%, 60% {
    transform: translateX(-5px);
  }
  40%, 80% {
    transform: translateX(5px);
  }
}
.map-bubble {
  background: #fff;
  position: relative;
  z-index: 10;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  padding: 15px 15px 15px 20px;
  float: left;
}

.bubble-header {
  width: 100%;
  height: 26px;
  color: #ea0810;
  font-size: 16px;
  margin-bottom: 6px;
}

.bubble-content {
  color: #535d63;
}

.bubble-arrow {
  width: 4px;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 20;
  background: #ea0810;
}

.barrow {
  width: 0;
  border-color: #ea0810 transparent;
  border-width: 6px 6px 6px 0px;
  border-style: solid;
}

.bubble-close {
  width: 10px;
  height: 10px;
  color: #333;
}
.bubble-close:hover {
  color: #222;
}

.gc-country-line {
  margin-bottom: 5px;
}

.pb-wrapper {
  width: 955px;
  margin: 0 auto;
}

.promo-container {
  position: relative;
  max-height: 365px;
}

.map-container {
  position: relative;
  max-height: 365px;
  overflow: hidden;
}
.map-container .our-geographic {
  position: absolute;
  bottom: 15px;
  right: 20px;
  z-index: 2;
  background: #d11316;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  cursor: pointer;
}
.map-container .our-geographic:hover {
  -webkit-box-shadow: 0px 0px 7px 3px #fff;
  -moz-box-shadow: 0px 0px 7px 3px #fff;
  box-shadow: 0px 0px 7px 3px #fff;
}
.map-container .our-geographic a {
  color: #fff;
  display: inline-block;
  padding: 10px;
}

.promo-block {
  width: 955px;
  height: 365px;
  background: #eee;
  -webkit-box-shadow: 0px -8px 20px -8px #666 inset;
  -moz-box-shadow: 0px -8px 20px -8px #666 inset;
  box-shadow: 0px -8px 20px -8px #666 inset;
  overflow: hidden;
  position: relative;
}
.promo-block:hover .promo-description {
  bottom: 0;
}
.promo-block.promo-type-banner {
  height: 200px;
  width: 955px;
}
.promo-block.promo-type-banner img {
  width: 100%;
  height: 100%;
}

.promo-description {
  position: absolute;
  bottom: -100%;
  -webkit-transition: bottom 200ms;
  -moz-transition: bottom 200ms;
  -ms-transition: bottom 200ms;
  -o-transition: bottom 200ms;
  transition: bottom 200ms;
  z-index: 1;
  background: rgb(106, 115, 120);
  background: rgba(106, 115, 120, 0.7);
  left: 158px;
  right: 161px;
  color: white;
  padding: 0px 20px;
}
.promo-description p {
  margin: 5px 0;
}
.promo-description em {
  font-size: 14px;
  display: block;
  margin-top: 10px;
}

/* ---Main menu--- */
.menu-wrapper {
  height: 52px;
  width: 955px;
  padding-top: 8px;
  margin: 0 auto;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  background: -moz-linear-gradient(top, #f4030c 0%, #d71118 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #f4030c), color-stop(100%, #d71118));
  background: -webkit-linear-gradient(top, #f4030c 0%, #d71118 100%);
  background: -o-linear-gradient(top, #f4030c 0%, #d71118 100%);
  background: -ms-linear-gradient(top, #f4030c 0%, #d71118 100%);
  background: linear-gradient(to bottom, #f4030c 0%, #d71118 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#f4030c", endColorstr="#d71118",GradientType=0);
}

.menu {
  width: 100%;
  height: 52px;
  -webkit-border-radius: 0 0 4px 4px;
  -moz-border-radius: 0 0 4px 4px;
  border-radius: 0 0 4px 4px;
  background: -moz-linear-gradient(top, #9caeb0 0%, #617478 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #9caeb0), color-stop(100%, #617478));
  background: -webkit-linear-gradient(top, #9caeb0 0%, #617478 100%);
  background: -o-linear-gradient(top, #9caeb0 0%, #617478 100%);
  background: -ms-linear-gradient(top, #9caeb0 0%, #617478 100%);
  background: linear-gradient(to bottom, #9caeb0 0%, #617478 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#9caeb0", endColorstr="#617478",GradientType=0);
  -webkit-box-shadow: -2px -6px 9px -6px #eeeeee inset;
  -moz-box-shadow: -2px -6px 9px -6px #eeeeee inset;
  box-shadow: -2px -6px 9px -6px #eeeeee inset;
  line-height: 49px;
}

.sticky-menu {
  display: none;
  position: fixed;
  top: 0;
  z-index: 1;
}
.sticky-menu .menu-wrapper {
  width: 991px;
  margin-left: -26px;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
}
.sticky-menu .menu-wrapper .menu {
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
}
.sticky-menu .menu-wrapper .menu li a {
  padding: 0px 21px;
}

.menu li {
  display: table-cell;
  width: 1000px;
  text-align: center;
}

.menu li a {
  display: block;
  height: 52px;
  border-right: 1px solid #535d63;
  border-left: 1px solid #91a1a3;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  -webkit-box-shadow: -2px -6px 9px -6px #eeeeee inset;
  -moz-box-shadow: -2px -6px 9px -6px #eeeeee inset;
  box-shadow: -2px -6px 9px -6px #eeeeee inset;
  background: -moz-linear-gradient(top, #9caeb0 0%, #617478 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #9caeb0), color-stop(100%, #617478));
  background: -webkit-linear-gradient(top, #9caeb0 0%, #617478 100%);
  background: -o-linear-gradient(top, #9caeb0 0%, #617478 100%);
  background: -ms-linear-gradient(top, #9caeb0 0%, #617478 100%);
  background: linear-gradient(to bottom, #9caeb0 0%, #617478 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#9caeb0", endColorstr="#617478",GradientType=0);
}
.menu li a:hover {
  background: -moz-linear-gradient(top, #acbfc1 0%, #627679 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #acbfc1), color-stop(100%, #627679));
  background: -webkit-linear-gradient(top, #acbfc1 0%, #627679 100%);
  background: -o-linear-gradient(top, #acbfc1 0%, #627679 100%);
  background: -ms-linear-gradient(top, #acbfc1 0%, #627679 100%);
  background: linear-gradient(to bottom, #acbfc1 0%, #627679 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#acbfc1", endColorstr="#627679",GradientType=0);
}

.menu li:first-child a {
  border-left: none;
}

.menu li:last-child a {
  border-right: none;
}

.menu li ul {
  position: absolute;
  z-index: 500;
  display: none;
  border-radius: 5px;
  margin-left: 0px;
  background: url("assets/images/main/submenu.png") no-repeat 0px 0px #e4e8eb;
  padding: 13px 0 5px;
  border-radius: 0 0 5px 5px;
  box-shadow: 0 0 12px 0 #555555;
}

.menu li:hover ul {
  display: block !important;
}

.menu li li {
  display: block;
  width: auto;
}

.menu li li a {
  line-height: 30px;
  height: 30px;
  background: #e4e8eb;
  font-size: 14px;
  color: #3f3f3f;
  font-weight: normal;
  text-align: left;
  padding: 0 20px;
  border: none;
  box-shadow: none;
}

.menu li li a:hover {
  color: #fff;
}

/* --- Info block ---*/
.info-block {
  display: flex;
  justify-content: space-between;
  width: 946px;
  padding: 30px 20px 24px 25px;
  background: #f7f7f7;
}

.news-block {
  width: 285px;
}

.forte {
  width: 350px;
}

.about-company {
  width: 265px;
}

.headline {
  width: 45px;
  height: 3px;
  background: #e61b0f;
  margin-bottom: 20px;
}

/*News block*/
.news-list {
  width: 285px;
}

.news-item {
  padding: 10px 0 8px;
  border-bottom: 1px solid #dfdfdf;
}
.news-item:first-child {
  border-top: 1px solid #dfdfdf;
}

.news-item a {
  display: grid;
  grid-template-columns: 90px 1fr; /* картинка 90px, остальное - текст */
  grid-template-rows: auto auto; /* две строки */
  gap: 5px 15px; /* вертикальный и горизонтальный отступы */
  align-items: start;
}

.news-img {
  width: 100%;
  height: 60px;
  object-fit: cover;
  grid-column: 1; /* первая колонка */
  grid-row: 1/span 2; /* занимает обе строки */
}

.news-date {
  grid-column: 2; /* вторая колонка */
  grid-row: 1; /* первая строка */
}
.news-date span {
  color: #797979;
  font-size: 12px;
}

.news-title {
  grid-column: 2; /* вторая колонка */
  grid-row: 2; /* вторая строка */
  padding-right: 5px;
  color: #000000;
  text-decoration: none;
  line-height: 1.3;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.news-title:hover {
  color: #455051;
}

.all-items {
  height: 26px;
  padding: 0 8px;
  border-right: 1px solid #d7dedf;
  border-left: 1px solid #d7dedf;
  margin-top: 4px;
  float: right;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  background: #e0e7e8;
  color: #535353;
  text-align: center;
  line-height: 26px;
  cursor: pointer;
  -webkit-box-shadow: 0px 2px 4px -1px #c8cecf inset;
  -moz-box-shadow: 0px 2px 4px -1px #c8cecf inset;
  box-shadow: 0px 2px 4px -1px #c8cecf inset;
}
.all-items:hover {
  background: rgb(189, 207, 209);
}

.news-block-in {
  width: 232px;
}

.nb-list {
  margin-top: 5px;
}

.nbl-item {
  padding: 10px 0px 4px;
  border-bottom: 1px solid #dfdfdf;
}
.nbl-item:first-child {
  border-top: 1px solid #dfdfdf;
}

.nbl-item a {
  display: grid;
  grid-template-columns: 70px 1fr;
  grid-template-rows: auto auto;
  gap: 5px 15px; /* вертикальный и горизонтальный отступы */
  align-items: start;
}

.nb-img {
  width: 100%;
  height: 50px;
  object-fit: cover;
  grid-column: 1;
  grid-row: 1;
}

.nb-date {
  grid-column: 1/2; /* вторая колонка */
  grid-row: 2; /* первая строка */
}
.nb-date span {
  color: #797979;
  font-size: 12px;
}

.nb-title {
  grid-column: 2; /* вторая колонка */
  grid-row: 1; /* вторая строка */
  padding-right: 5px;
  color: #000000;
  text-decoration: none;
  line-height: 1.3;
  display: -webkit-box;
  line-clamp: 3;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nb-title:hover {
  color: #455051;
}

/*Forte*/
/* Forte */
.forte-slider-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
}

.forte-slider {
  width: 350px;
  height: 230px;
  position: relative;
}

.swiper-slide {
  height: auto;
}

.fs-slide {
  position: relative;
  height: 230px;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.fs-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.fs-text {
  box-sizing: border-box;
  width: 100%;
  height: 54px;
  padding: 0 10px 15px 10px;
  position: absolute;
  left: 0;
  bottom: 0;
  font-size: 14px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0 0 4px 4px;
  background: rgba(106, 115, 120, 0.7);
  backdrop-filter: blur(5px);
}

.forte-slider {
  /* Пагинация */
}
.forte-slider .swiper-button-next,
.forte-slider .swiper-button-prev {
  width: 30px !important;
  height: 30px !important;
  background: rgba(152, 165, 170, 0.2);
  border-radius: 50%;
  transition: background 0.3s ease;
  top: 91% !important;
  z-index: 11 !important;
  color: #ea0810 !important;
}
.forte-slider .swiper-button-next {
  right: 3px !important;
}
.forte-slider .swiper-button-prev {
  left: 3px !important;
}
.forte-slider .swiper-button-next:hover,
.forte-slider .swiper-button-prev:hover {
  background: rgba(152, 165, 170, 0.5) !important;
}
.forte-slider .swiper-button-next:after,
.forte-slider .swiper-button-prev:after {
  font-size: 20px !important;
  color: #ea0810 !important;
}
.forte-slider .swiper-pagination-bullet-active {
  background-color: #ea0810 !important;
}

/*Company info*/
.ci-num, .ci-desc, .ci-desc2 {
  float: left;
  text-align: center;
  float: left;
}

.ci-num {
  width: 90px;
  height: 40px;
  font-size: 19px;
  color: #393939;
  font-weight: 500;
  padding-top: 16px;
  -webkit-border-radius: 4px 0px 0px 4px;
  -moz-border-radius: 4px 0px 0px 4px;
  border-radius: 4px 0px 0px 4px;
}

.ci-desc {
  width: 170px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  color: #555555;
  -webkit-border-radius: 0px 4px 4px 0px;
  -moz-border-radius: 0px 4px 4px 0px;
  border-radius: 0px 4px 4px 0px;
}

.ci-desc2 {
  width: 170px;
  height: 56px;
  line-height: 28px;
  display: table-cell;
  vertical-align: middle;
  color: #555555;
  background: #cedbdc;
  -webkit-border-radius: 0px 4px 4px 0px;
  -moz-border-radius: 0px 4px 4px 0px;
  border-radius: 0px 4px 4px 0px;
}

.company-info li:nth-child(1) .ci-num {
  background: #e1eaeb;
}

.company-info li:nth-child(1) .ci-desc {
  background: #e9f1f2;
}

.company-info li:nth-child(2) .ci-num {
  background: #d7e2e4;
}

.company-info li:nth-child(2) .ci-desc {
  background: #e1eaeb;
}

.company-info li:nth-child(3) .ci-num {
  background: #cedbdc;
}

.company-info li:nth-child(3) .ci-desc {
  background: #d7e2e4;
}

.company-info li:nth-child(4) .ci-num {
  background: #c4d5d6;
}

.company-info li:nth-child(4) .ci-desc2 {
  background: #cedbdc;
}

/* ---Promo-cards---*/
.promo-cards-container {
  display: flex;
  flex-wrap: wrap;
  padding-top: 10px;
  padding-bottom: 10px;
  margin: 10px auto 0px;
  gap: 15px;
  justify-content: center;
}

.promo-card {
  width: 222px;
  height: 140px;
  padding: 4px;
  display: inline-block;
  background: #fff;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform 0.3s ease;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 8px;
  -webkit-box-shadow: 0px 2px 10px rgba(85, 85, 85, 0.2);
  -moz-box-shadow: 0px 2px 10px rgba(85, 85, 85, 0.2);
  box-shadow: 0px 2px 10px rgba(85, 85, 85, 0.2);
}
.promo-card:hover {
  background: #d11316;
  transform: translateY(-5px);
  -webkit-box-shadow: 0px 6px 15px rgba(183, 0, 6, 0.28);
  -moz-box-shadow: 0px 6px 15px rgba(183, 0, 6, 0.28);
  box-shadow: 0px 6px 15px rgba(183, 0, 6, 0.28);
}
.promo-card img {
  width: 222px;
  height: 140px;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
  transition: transform 0.3s ease;
  object-fit: cover;
}

.promo-card-title {
  padding: 8px 12px;
  position: absolute;
  top: 100px;
  right: 0;
  background: #d11316;
  -webkit-border-radius: 5px 0px 0px 0px;
  -moz-border-radius: 5px 0px 0px 0px;
  border-radius: 5px 0px 0px 0px;
  color: #fff;
}

/* ===== СТИЛИ ПАГИНАЦИИ ===== */
.main-pagination {
  margin-top: 30px;
  text-align: center;
  padding: 20px 0;
}

.main-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 30px;
  margin: 0 4px;
  border: 1px solid #ea0810;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.3s ease;
  background: #fff;
}

.main-pagination .page-numbers.current {
  background: #ea0810;
  border-color: #ea0810;
  color: white;
}

.main-pagination .page-numbers:hover {
  color: white;
  background: #ea0810;
  transform: translateY(-2px);
  -webkit-box-shadow: 0 5px 15px rgba(234, 8, 16, 0.3);
  -moz-box-shadow: 0 5px 15px rgba(234, 8, 16, 0.3);
  box-shadow: 0 5px 15px rgba(234, 8, 16, 0.3);
}

.main-pagination .page-numbers.current:hover {
  background: #ea0810;
  color: white;
  transform: none;
  box-shadow: none;
}

.main-pagination .page-numbers.dots {
  border-color: #ddd;
  color: #95a5a6;
  background: #f8f9fa;
}

.main-pagination .page-numbers.dots:hover {
  background: #f8f9fa;
  color: #95a5a6;
  transform: none;
  box-shadow: none;
  border-color: #ddd;
}

.main-pagination .next.page-numbers,
.main-pagination .prev.page-numbers {
  padding: 0 16px;
}

.main-pagination .next.page-numbers {
  margin-left: 15px;
}

.main-pagination .prev.page-numbers {
  margin-right: 15px;
}

/* Content */
.content {
  background: #fff;
  padding: 25px 20px 25px 26px;
  position: relative;
}

.left-col {
  width: 260px;
  padding-right: 20px;
  margin-right: 20px;
  float: left;
}

.right-col {
  width: 645px;
  float: left;
  margin-top: -8px;
}
.right-col p {
  color: #6b7578;
  width: 630px;
  margin-bottom: 20px;
  line-height: 1.4em;
}
.right-col h1, .right-col h2, .right-col h3 {
  display: block;
}

/* Breadcrumbs */
.breadcrumbs span {
  display: inline-block;
  color: #a2adb4;
  padding-right: 12px;
  background: url("assets/images/main/bc_arrow.png") no-repeat right 6px;
  margin-right: 6px;
}
.breadcrumbs span:last-child {
  background: none;
}
.breadcrumbs span a {
  color: #535d63;
  text-decoration: none;
}
.breadcrumbs span a:hover {
  color: #333;
}

/*=== Страница списка услуг (services)===*/
/*left column*/
.services-list {
  width: 232px;
  margin-bottom: 40px !important;
}

.services-item {
  border-bottom: 1px solid #dddddd;
  padding: 12px 0px;
  position: relative;
}
.services-item:first-child {
  border-top: 1px solid #dddddd;
}
.services-item a {
  display: inline-block;
  font-size: 16px;
  color: #535d63;
  text-decoration: none;
}
.services-item a:hover {
  color: #333;
}
.services-item.drop {
  position: relative;
  padding-right: 25px;
}

.drop-arrow {
  width: 20px;
  height: 45px;
  position: absolute;
  top: 0;
  right: 0;
  cursor: pointer;
  z-index: 2;
}
.drop-arrow:after {
  content: "";
  position: absolute;
  margin: auto;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 6px;
  background: url("assets/images/main/sprite.png") no-repeat -91px -7px;
  transition: transform 0.3s ease;
}

/* Правильное позиционирование стрелок для всех уровней */
.services-item.drop > .drop-arrow:after,
.sb-item.drop > .drop-arrow:after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.services-item.dropped > .drop-arrow:after,
.sb-item.dropped > .drop-arrow:after {
  transform: translate(-50%, -50%) rotate(180deg);
}

.sl-sub {
  display: none;
  padding-left: 10px;
}

.sb-item {
  position: relative;
}
.sb-item.drop {
  padding-right: 25px;
}
.sb-item a {
  margin-bottom: 0px;
  padding: 5px 0px;
  font-size: 13px;
}
.sb-item a.active {
  color: #ea0810;
}
.sb-item:first-child a {
  margin-top: 15px;
}

/* Убедимся, что все подменю правильно скрыты по умолчанию */
.services-list .sl-sub {
  display: none;
}

/*right column*/
.service-header {
  color: #ea0810;
  font-size: 24px;
  margin-bottom: 20px;
}

.service-desc {
  color: #607174;
  font-size: 20px;
  width: 570px;
  margin-bottom: 20px;
  margin-top: 20px;
}

.highlight {
  color: #607174;
  font-size: 16px;
  padding-left: 20px;
  border-left: 3px solid #e61b0f;
  margin-bottom: 30px;
  margin-top: 20px;
  width: 606px;
}

.services-item a.active {
  color: #ea0810;
}

.right-col ul {
  list-style-type: disc;
  list-style-image: url("assets/images/main/list-dot.png");
  margin-bottom: 20px;
  color: #6b7578;
}
.right-col ul li {
  margin: 4px 0;
}
.right-col h3 {
  font-size: 18px;
  margin: 20px 0;
  color: #607174;
  font-weight: normal;
}

.right-col ul ul {
  padding-left: 20px;
  margin-bottom: 5px;
}

/* Стили контента */
.nli-headline {
  color: #ea0810;
  font-size: 28px;
  font-weight: normal;
  margin: 10px 0 10px 0;
}

.license-list {
  float: left;
  width: 100%;
  margin-top: 25px;
  list-style: none !important;
}

.license-item {
  float: left;
  width: 100%;
}

.litem-image {
  width: 300px;
  float: left;
  display: inline-block;
}
.litem-image img {
  max-width: 100%;
}

.litem-info {
  width: 308px;
  padding-top: 10px;
  margin-left: 35px;
  float: right;
  color: #404040;
  font-size: 18px;
  display: inline-block;
  line-height: 1.5em;
}

.license-title {
  line-height: 1.5em;
}

.license-desc {
  color: #777777;
  font-size: 13px;
  margin-top: 15px;
  width: 90%;
  display: inline-block;
  line-height: 1.6em;
}

.division-country {
  margin-bottom: 20px;
}
.division-country:hover .country-title {
  color: #3a3a3a;
}

.country-title {
  font-size: 24px;
  margin: 8px 0 20px 0;
  padding-bottom: 10px;
  width: 100%;
  border-bottom: 1px solid #c5c5c5;
}

.divisions-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.division-item {
  background: white;
  padding: 20px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  border-left: 2px solid rgba(234, 8, 16, 0.3803921569);
  min-width: 0;
}

.division-name {
  font-size: 18px;
  margin-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.division-address,
.division-phone,
.division-additional-phones,
.division-fax,
.division-email,
.division-emails {
  margin-bottom: 6px;
  line-height: 1.5;
  color: #555;
}

.division-additional-phones .additional-phone {
  margin-bottom: 6px;
}

.division-emails {
  display: grid;
  grid-template-columns: 40px auto;
}

.email-address {
  white-space: nowrap;
}

.divisiom-emails-rightcol {
  color: #333;
  font-weight: 600;
  display: block;
  margin-bottom: 5px;
}

.divisions-yamap {
  /* Все balloon элементы, кроме close-button */
}
.divisions-yamap [class^=ymaps-][class*=balloon]:not([class*=close]) {
  box-shadow: unset !important;
  width: 350px !important;
}
.divisions-yamap [class^=ymaps-][class*=balloon__layout] {
  background: unset !important;
  border-radius: 6px !important;
}
.divisions-yamap [class^=ymaps-][class*=balloon__content] {
  padding: unset !important;
}
.divisions-yamap [class^=ymaps-][class*=balloon__content] > ymaps {
  width: 350px !important;
}
.divisions-yamap [class^=ymaps-][class*=balloon__close-button] {
  height: 34px !important;
  /* width не наследуется, так как у close-button свой display */
}

/*=== Страница контактов ===*/
.contacts {
  margin-top: 5px;
  line-height: 1.7em;
  color: #535d63;
  display: flex;
  flex-wrap: wrap;
  gap: 45px;
}

.contact-item {
  flex: 1;
  min-width: 200px;
  max-width: 300px;
  margin-bottom: 30px;
  float: left;
}
.contact-item:last-child {
  margin-right: 0;
}

.header-contacts, .contact-address {
  color: #ea0810;
  font-size: 18px;
  margin-bottom: 20px;
}

.mail {
  color: #939393;
}

.map {
  clear: both;
  height: 500px;
  border: 1px solid #ccc;
  margin-top: 30px;
}
.map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.clear {
  clear: both;
}

/* Стили для контейнера проектов категории - 2 в строке */
.category-projects {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 30px;
}

/* Стили для карточки проекта */
.project-item {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.project-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
}

/* Стили для миниатюры проекта */
.project-thumbnail {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.project-thumbnail-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.project-item:hover .project-thumbnail-img {
  transform: scale(1.05);
}

/* Стили для информации о проекте */
.project-info {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.project-title {
  margin: auto 0 15px 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
}

.project-title a {
  color: #ed1c24;
  text-decoration: none;
  transition: color 0.3s ease;
}

.project-title a:hover {
  color: #ce080f;
}

.project-excerpt {
  margin: 0 0 20px 0;
  color: #777;
  line-height: 1.6;
  font-size: 15px;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.project-excerpt:hover {
  color: #4c4c4c;
}

.project-excerpt p {
  margin: 0;
}

.project-date {
  color: #a5a5a5;
  margin-bottom: 10px;
}
.project-date:hover {
  color: #777;
}

/* Стили для кнопки "Подробнее" */
.project-link {
  display: inline-block;
  padding: 12px 24px;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 14px;
  text-align: center;
  background: #ed1c24;
  border: 2px solid #ed1c24;
}

.project-link:hover {
  background: transparent;
  color: #ed1c24;
}

/* Стили для ссылки "Показать все" */
.view-all-category {
  text-align: center;
  margin: 30px 0 50px 0;
}

.view-all-link {
  display: inline-block;
  padding: 14px 28px;
  background: transparent;
  color: #ed1c24;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s ease;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid #f9555b;
  position: relative;
  overflow: hidden;
}

.view-all-link:hover {
  background: #ed1c24;
  border: 2px solid #ed1c24;
  color: white;
  transform: translateY(-2px);
}

/* Стили для фильтра проектов */
.projects-filter {
  margin-bottom: 10px !important;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.projects-filter li {
  margin: 0;
}

.projects-filter a {
  display: block;
  padding: 12px 20px;
  background: #fff;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  text-decoration: none;
  color: #555;
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 14px;
}

.projects-filter a:hover,
.projects-filter a.active {
  background: #ea0810;
  color: #fff;
  border-color: #ed1c24;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 115, 170, 0.2);
}

.project-header h1 {
  margin-bottom: 0;
}

/* Swiper */
.project-gallery {
  display: flex;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.3);
}
.project-gallery-container {
  position: relative;
  width: 946px;
  height: 466px;
}
.project-gallery-slider {
  width: 818px;
  height: 466px;
  margin: 0 auto;
}
.project-gallery-slider .swiper-slide img {
  width: 818px;
  height: 466px;
  object-fit: cover;
}
.project-gallery .swiper-button-next,
.project-gallery .swiper-button-prev {
  position: absolute;
  width: 60px;
  height: 60px;
  background: rgba(152, 165, 170, 0.2);
  border-radius: 50%;
  transition: background 0.3s ease;
  z-index: 11;
  color: #ea0810;
}
.project-gallery .swiper-button-next:hover,
.project-gallery .swiper-button-prev:hover {
  background: rgba(152, 165, 170, 0.5);
}
.project-gallery .swiper-button-next::after,
.project-gallery .swiper-button-prev::after {
  color: #ea0810;
}
.project-gallery .swiper-button-next {
  right: 2px !important;
}
.project-gallery .swiper-button-prev {
  left: 2px !important;
}
.project-gallery .swiper-pagination-bullet-active {
  background-color: #ea0810;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px 0;
}

.news-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  max-width: 204px;
  margin: 0 auto; /* Центрируем карточку */
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
}

.news-card__image {
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  height: 123px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
}

.news-card__thumbnail {
  width: 204px;
  height: 123px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.news-card:hover .news-card__thumbnail {
  transform: scale(1.03);
}

.news-card__no-image {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 13px;
  font-weight: 500;
}

.news-card__content {
  padding: 16px 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-card__title {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
  margin: 0;
}

.news-card__title a {
  color: #2c3e50;
  text-decoration: none;
  transition: color 0.3s ease;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #ed1c24;
}

.news-card__title a:hover {
  color: #ce080f;
}

.news-card__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}

.news-card__date {
  color: #a5a5a5;
  white-space: nowrap;
  font-size: 0.95em;
  margin-bottom: 4px;
}
.news-card__date:hover {
  color: #777;
}

.news-card__excerpt {
  line-height: 1.4;
  color: #777;
  margin: 0;
  flex: 1;
  display: -webkit-box;
  line-clamp: 3;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 5px 0 10px 0;
}
.news-card__excerpt:hover {
  color: #4c4c4c;
}

.news-card__excerpt p {
  margin: 0 !important;
}

.news-card__actions {
  border-top: 1px solid #f1f3f4;
}

.news-card__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  background: #fff;
  color: #ea0810;
  border: 2px solid #ea0810;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9em;
  transition: all 0.3s ease;
}

.news-card__link:hover {
  background: #ea0810;
  color: #fff;
  transform: translateY(-3px);
  -webkit-box-shadow: 0 5px 15px rgba(234, 8, 16, 0.3);
  -moz-box-shadow: 0 5px 15px rgba(234, 8, 16, 0.3);
  box-shadow: 0 5px 15px rgba(234, 8, 16, 0.3);
}

.news-empty {
  text-align: center;
  color: #95a5a6;
  font-style: italic;
  grid-column: 1/-1;
  padding: 50px 20px;
  font-size: 1.1em;
}

/* ===== СТИЛИ ДЛЯ ГОДОВ ===== */
.page-columns-news {
  display: grid;
  grid-template-columns: 205px 1fr;
  gap: 30px;
  margin: 0 auto;
}

.years-sidebar {
  background: #fff;
  padding: 10px;
  border-radius: 12px;
  -webkit-box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  -moz-box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  height: fit-content;
  position: sticky;
}

.years-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.years-list li {
  margin: 8px 0;
}

.years-list a {
  display: block;
  padding: 10px 15px;
  color: #5a6c7d;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.years-list a:hover {
  background: #f8f9fa;
  color: #ea0810;
  transform: translateX(5px);
}

.years-list a.active {
  background: #ea0810;
  color: white;
  font-weight: 600;
}

.news-content {
  min-width: 0; /* Для правильного отображения grid */
}

/* ===== СТИЛИ ДЛЯ ОТДЕЛЬНОЙ НОВОСТИ (SINGLE) ===== */
.info-rc .nli-info {
  width: 390px;
}

.news-image {
  margin: 0 36px 18px 0;
}
.news-image:hover {
  background: #fff !important;
}

.nli-image {
  width: 204px;
  height: 123px;
  padding: 4px;
  float: left;
  background: #fff;
  -webkit-box-shadow: 0px 4px 12px -2px #555555;
  -moz-box-shadow: 0px 4px 12px -2px #555555;
  box-shadow: 0px 4px 12px -2px #555555;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 8px;
}
.nli-image img {
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 8px;
  height: 100%;
  margin: 0 auto;
}
.nli-image a {
  width: 212px;
  height: 131px;
}
.nli-image:hover {
  background: #ea0810;
}

.nli-title {
  font-size: 18px;
}

a .nli-date {
  margin: 10px 0px 15px;
  color: #a5a5a5;
}
a .nli-date:hover {
  color: #777;
}

.nli-date {
  margin: 10px 0px 15px;
  color: #a5a5a5;
}

/* Кнопка возврата */
.news-link {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  background: #fff;
  color: #ea0810;
  text-decoration: none;
  border: 2px solid #ea0810;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.news-link:hover {
  background: #ea0810;
  color: white;
  transform: translateX(-5px);
  box-shadow: 0 5px 15px rgba(234, 8, 16, 0.3);
}

/* ===== СТИЛИ ДЛЯ АРХИВА НОВОСТЕЙ ===== */
.news-archive__header {
  text-align: center;
  margin-bottom: 20px;
}

/*--- -Footer ---*/
.footer {
  width: 946px;
  height: 86px;
  padding: 30px 15px 0px 30px;
  margin: 0 auto;
  background: -moz-linear-gradient(top, #e7ebee 0%, #c1c6c8 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #e7ebee), color-stop(100%, #c1c6c8));
  background: -webkit-linear-gradient(top, #e7ebee 0%, #c1c6c8 100%);
  background: -o-linear-gradient(top, #e7ebee 0%, #c1c6c8 100%);
  background: -ms-linear-gradient(top, #e7ebee 0%, #c1c6c8 100%);
  background: linear-gradient(to bottom, #e7ebee 0%, #c1c6c8 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#e7ebee", endColorstr="#c1c6c8",GradientType=0);
  color: #5c5c5c;
  position: relative;
  z-index: 2;
}

.copyright {
  display: inline-block;
  margin-right: 150px;
}