:root {
  --base-color: #00174b;
  --light-base-color: #838993;
  --accent: #7c00c4;
  --dark-grey: #666b6e;
  --midle-grey: #c6c7cb;
  --light-grey: #f7f8f8;
  --white: #fff;
  --black: #000;
  --border: #eee;
  --error: tomato;
  --placeholder: #999;
  --blue: #00345b;
  --purple: #1b005a;
}

@font-face {
  font-display: swap;
  font-family: 'Cera Pro';
  font-weight: 400;
  font-style: normal;
  src: url('/public/user/fonts/CeraPro-Regular.woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Cera Pro';
  font-weight: 700;
  font-style: normal;
  src: url('/public/user/fonts/CeraPro-Bold.woff2');
}

html {
  box-sizing: border-box;
  min-height: 100vh;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
}
* {
  padding: 0px;
  margin: 0px;
  border: none;
}

body {
  min-width: 320px;
  min-height: 100vh;
  background-color: var(--white);
  font-family: 'Cera Pro', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  color: var(--base-color);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-tap-highlight-color: transparent;
  -ms-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}
body > * {
  flex-shrink: 0;
}
img, svg {
  display: block;
  max-width: 100%;
  max-height: 100%;
  height: auto;
}
aside, nav, footer, header, section, main {
  display: block;
}
a, a:visited, a:hover {
  color: inherit;
  text-decoration: none;
  outline: none;
}
ul, ol {
  list-style: none;
}
h1, h2, h3, h4, h5, h6, p {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
}
fieldset {
  margin: 0;
  padding: 0;
  border: none;
}
legend {
  display: block;
}
input, textarea, button, select, label, a {
  background-color: transparent;
  border: none;
  font: inherit;
  color: inherit;
  transition: .36s;
  cursor: pointer;
  outline: none;
}
input::-ms-clear {
  display: none;
}
button, input[type="submit"] {
  display: inline-block;
  box-shadow: none;
}
button::-moz-focus-inner {
  padding: 0;
  border: 0;
}
footer {
  margin-top: auto;
}
address {
  font-style: normal;
}
::placeholder {
  color: var(--placeholder);
}
/* Для WebKit браузеров (Chrome/Safari/Opera) */
input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
  color: var(--placeholder);
}
/* Для Mozilla Firefox */
input:-moz-placeholder,
textarea:-moz-placeholder {
  color: var(--placeholder);
}
input::-moz-placeholder,
textarea::-moz-placeholder {
  color: var(--placeholder);
}
/* Для IE10+ */
input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
  color: var(--placeholder);
}

/* Common */
.container {
  --container-width: 1340px;
  --container-padding: 30px;
  max-width: calc(var(--container-width) + var(--container-padding) * 2);
  padding: 0 var(--container-padding);
  margin: 0 auto;
}
.container_fluid {
  max-width: unset;
}
.visually-hidden {
  position: fixed;
  transform: scale(0);
}
.none {
  display: none !important;
}

.body-wrapper {
  max-width: 1920px;
  margin: 0 auto;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.logo {
  max-width: 100px;
}
.link:hover,
.link:focus-visible {
  color: var(--accent);
}
.input {
  border-bottom: 1px solid var(--midle-grey);
  padding: 5px 0px 4px;
  width: 100%;
  height: 26px;
}
.textarea {
  resize: vertical;
}
.checkbox {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  position: absolute;
  inset: 0;
  border-radius: 2px;
  border: 1px solid var(--dark-grey);
  background-color: transparent;
  transition: .36s;
}
.checkbox::after {
  content: '';
  position: absolute;
  inset: 0;
  display: block;
  background: url('/public/user/img/approval-pd-check.svg') no-repeat center;
  opacity: 0;
  transition: .36s;
}
.checkbox:checked::after {
  opacity: 1;
}
.btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  min-height: 38px;
  padding: 6px 24px;
  border: 1px solid var(--base-color);
  border-radius:100px;
  background-color: var(--white);
  box-shadow: 0 2px 4px 0 rgba(0, 93, 143, 0.25);
  font-size: 14px;
}
.btn_fill {
  background-color: var(--base-color);
  color: var(--white);
}
.btn_accent {
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}
.approval-pd {
  position: relative;
  display: block;
  line-height: 16px;
  padding-left: 22px;
  cursor: pointer;
  font-size: 10px;
  color: var(--gray-100);
}
.approval-pd span {
  text-align: left;
}
a.approval-pd__link, .approval-pd__link {
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
}
a.approval-pd__link:hover,
.approval-pd__link:hover,
a.approval-pd__link:focus-visible,
.approval-pd__link:focus-visible  {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
h1, .h1,
h2, .h2,
h3, .h3,
h4, .h4,
h5, .h5,
h6, .h6 {
  hyphens: auto;
  word-break: break-word;
  overflow-wrap: break-word;
}
h1, .h1 {
  font-size: 32px;
}
h2, .h2 {
  font-size: 30px;
}
h3, .h3 {
  font-size: 24px;
}
h4, .h4 {
  font-size: 22px;
}
h5, .h5 {
  font-size: 20px;
}
h6, .h6 {
  font-size: 18px;
}
.text-uppercase {
  text-transform: uppercase;
}
.text-center {
  text-align: center;
}
.text-accent {
  color: var(--accent);
}
.section-offset {
  padding: 60px 0;
}
.section-offset.section-offset_first {
  padding-top: 120px;
}
.section-offset.section-offset_last {
  padding-bottom: 120px;
}
.section-title {
  margin-bottom: 40px;
}
.section-description {
  margin-bottom: 50px;
}
.section-description *:not(:last-child) {
  margin-bottom: 12px;
}
.section-short-description {
}
/* End Common */

/* Cookie */
.cookie-banner {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  z-index: 9999;
  max-width: 570px;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  background-color: var(--base-color);
  border-radius: 8px;
}
.cookie-banner__text {
  color: var(--white);
  font-size: 12px;
}
.cookie-banner__link {
  border-bottom: 1px solid var(--white);
}
.cookie-banner__btn {
  display: inline-block;
  cursor: pointer;
  background-color: var(--white);
  transition: .36s;
}
.cookie-banner__btn:hover {
  background-color: var(--light-base-color);
}
/* End Cookie */

/* Forms */
.form-error-message {
  color: var(--error);
}
.section-form {
}
.section-form__container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: min-content;
  align-items: center;
  background-color: var(--light-grey);
  overflow: hidden;
  position: relative;
}
.section-form__img {
  grid-area: 1 / 1 / span 1 / span 1;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.section-form__wrapper {
  padding: 40px 60px;
}
.form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form__title {
  max-width: 350px;
  font-size: 24px;
  line-height: 1.3;
}
.form__group:not(:last-child) {
  /* margin-bottom: 16px; */
}
.form__input {
}
.form__select {
  height: auto;
}
.form__textarea {
  min-height: 100px;
}
.form-error-message {
}
.footer__form-btn {
}
/* End Forms */

/* Breadcrumbs */
.breadcrumbs {
  padding: 24px;
  background-color: var(--light-grey);
}
.breadcrumbs__container {
  margin: 0 auto;
  width: fit-content;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--dark-grey);
  text-transform: uppercase;
}
.breadcrumbs__link {
  display: flex;
  gap: 6px;
}
.breadcrumbs__link:hover,
.breadcrumbs__link:focus-visible {
  color: var(--accent);
}
/* End Breadcrumbs */

/* Burger */
.burger {
  display: none;
  position: relative;
  z-index: 30;
  margin-right: auto;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  outline: none;
  cursor: pointer;
}
.burger__line {
  top: 50%;
  transform: translateY(-50%);
  transition: opacity .1s ease;
}
.burger__line,
.burger::after,
.burger::before {
  position: absolute;
  width: 100%;
  height: 2px;
  border-radius: 4px;
  background-color: var(--base-color);
}
.burger::after,
.burger::before {
  content: "";
  transition: transform 0.3s ease-out, top 0.3s ease-out;
}
.burger::before {
  top: 4px;
}
.burger::after {
  bottom: 4px;
}
/* End Burger */

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  padding: 16px 50px;
  box-shadow: 0 2px 14px 0 rgba(0, 93, 143, 0.2);
  background-color: var(--white);
}
.header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.header__logo {
  flex-shrink: 0;
}
.header__nav {
  margin-right: auto;
}
.header__nav-list {
  display: flex;
  gap: 20px;
}
.header__nav-item {
  position: relative;
}
.header__nav-link {
  padding: 10px 12px;
  display: flex;
}
.header__contacts {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.header__contacts-link {
  display: flex;
  align-items: center;
  gap: 8px;
}
.header__contacts-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}
/* End Header */

/* Search */
.search-btn {
  flex-shrink: 0;
  color: var(--dark-grey);
}
.search-btn-icon {
  width: 24px;
  height: 24px;
}
.search-form {
  position: absolute;
  z-index: 30;
  inset: 0;
  width: 100%;
  padding: 20px;
  background-color: var(--light-grey);
  display: flex;
  align-items: center;
  gap: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .36s ease-in-out;
}
.search-form.search-form_open {
  opacity: 1;
  pointer-events: visible;
  transition: opacity .36s ease-in-out;
}
.search-form-input {
  flex-grow: 1;
  width: 100%;
}
.search-form-close {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
}
.search-results {
  list-style-type: none;
  margin: 0;
  padding: 0;
  max-height: 300px;
  overflow-y: auto;
  background-color: #fff;
  box-shadow: 0 10px 14px 0 rgba(0, 93, 143, 0.2);
  position: absolute;
  left: 0;
  right: 0;
  bottom: -100%;
  transform: translateY(-100%);
  transition: all 0.3s ease-in-out;
  opacity: 0;
  pointer-events: none;
}
.search-form_open .search-results {
  bottom: 0;
  transform: translateY(100%);
  opacity: 1;
  pointer-events: visible;
}
.search-results li {
  cursor: pointer;
  padding: 6px 20px;
  font-size: 16px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  transition: .36s;
}
.search-results li:hover {
  background-color: #f0f0f0;
}
.search-results.no-results {
  padding: 30px 20px;
  min-height: 50px;
  font-weight: 700;
  color: tomato;
}
.search-results.no-results::before {
  content: 'Поиск не дал результатов, попробуйте изменить запрос';
}
/* Search */

/* Submenu */
.has-submenu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.has-submenu__btn {
  padding: 10px;
}
.has-submenu__icon {
  flex-shrink: 0;
  width: 8px;
  height: 5px;
  max-height: unset;
}
.submenu__link .has-submenu__icon {
  transform: rotate(-90deg);
}
.js-nav-submenu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1;
  background-color: var(--white);
  border: 1px solid var(--border);
  min-width: max-content;
  opacity: 0;
  visibility: hidden;
  transition: opacity .36s, visibility .36s;
}
.header__nav-link.has-submenu:hover + .js-nav-submenu,
.js-nav-submenu:hover {
  opacity: 1;
  visibility: visible;
}
.submenu__item {
  position: relative;
  display: flex;
  width: 100%;
  margin: 0;
  padding: 0;
}
.submenu__link {
  padding: 10px 24px;
  width: 100%;
  border: 1px solid transparent;
  font-size: 16px;
  white-space: nowrap;
}
.submenu__link:hover,
.submenu__link:focus-visible {
  background-color: var(--light-grey);
}
.js-nav-submenu .js-nav-submenu {
  top: -1px;
  left: 100%;
  max-width: max-content;
}
.submenu__link.has-submenu:hover + .js-nav-submenu,
.js-nav-submenu:hover > .js-nav-submenu {
  opacity: 1;
  visibility: visible;
}
/* End Submenu */

/* Footer */
.footer {
  padding: 50px 0 30px;
  background-color: var(--light-grey);
  font-size: 14px;
}
.footer__container {
  display: grid;
  /* grid-template-columns: 210px 210px 1fr minmax(300px, 1fr); */
  grid-template-columns: 210px 210px 1fr max-content;
  justify-content: space-between;
  gap: 60px;
  padding-bottom: 100px;
}
.footer__logo {
  margin-bottom: 24px;
}
.footer__company {
  font-weight: 700;
}
.footer__address {
  margin-bottom: 24px;
}
.footer__phone {
  font-weight: 700;
  font-size: 16px;
}
.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer__nav-title {
  font-weight: 700;
}
.footer__form {
  justify-self: end;
  /* max-width: 380px; */
  padding: 0 40px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
}
.footer__form-title {
  font-weight: 700;
  font-size: 14px;
}
.footer__form-group {
  display: flex;
  flex-direction: column;
}
.footer__form-textarea {
  min-height: 100px;
}
.footer__form-error-message {
  color: var(--error);
}
.footer__copyright {
  border-top: 1px solid var(--border);
  padding: 20px 0px;
}
.copyright__container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 20px;
  color: var(--base-color);
}
/* End Footer */

/* Hero */
.hero_inner {
  position: relative;
  width: 100%;
  /* max-height: 900px; */
  max-height: 500px;
  min-height: 320px;
  height: calc(100vh - 288px);
}
.hero-img-wrapper {
  width: 100%;
  height: 100%;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-slider {
  height: calc(100vh - 84px);
  max-height: 920px;
  min-height: 500px;
  position: relative;
  overflow: hidden;
}
.hero-slider * {
  box-sizing: border-box!important;
}
.hero-slider__slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.4) 100%);
  z-index: 1;
}
.hero-slider__slide-img-wrap,
.hero-slider__slide-img {
  width: 100%;
  height: 100%;
}
.hero-slider__slide-img {
  object-fit: cover;
}
.hero-slider__slide-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: end;
  position: absolute;
  inset: 0;
  bottom: 120px;
  z-index: 5;
}
.hero-slider__slide-title {
  margin-bottom: 20px;
  max-width: 1000px;
  width: 100%;
  padding: 0 50px;
  font-weight: 700;
  font-size: 30px;
  line-height: 1.3;
  color: var(--white);
  text-transform: uppercase;
  text-align: center;
  text-shadow: 1px 1px 5px var(--base-color);
}
.hero-slider__slide-btn {
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 4px 0 rgba(0, 93, 143, 0.25);
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
  font-size: 16px;
  color: var(--white);
}
.hero-slider__slide-btn:hover,
.hero-slider__slide-btn:focus-visible {
  color: var(--white);
}
.hero-slider__slide-btn::after {
  content: "";
  position: absolute;
  inset: 0;
}
.hero-slider__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 140px;
  width: 40px;
  background-color: rgba(255, 255, 255, 0.3);
  color: var(--white);
}
.hero-slider__btn:hover,
.hero-slider__btn:focus-visible {
  background-color: rgba(255, 255, 255, 0.7);
}
.hero-slider__btn_next {
  right: 0;
}
.hero-slider__btn_prev {
  left: 0;
}
.hero-slider__arrow {
  width: 10px;
  height: 14px;
}
/* End Hero */

/* Services */
.section-services__title {
  margin-bottom: 24px;
}
.section-services__desc {
  margin: 0 auto 50px;
  max-width: 910px;
}
.services__wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  justify-content: space-between;
  gap: 20px;
}
.services__card {
  position: relative;
  padding: 30px;
  min-height: 340px;
}
.services__card-overlay::after {
  content: '';
  display: block;
  position: absolute;
  inset: 0;
  opacity: 0.7;
  transition: .36s;
}
.services__card_dark::after {
  background-color: var(--black);
}
.services__card_blue::after {
  background-color: var(--blue);
}
.services__card_purple::after {
  background-color: var(--purple);
}
.services__card:hover,
.services__card:focus-visible {
  box-shadow: 0 4px 14px rgba(0, 93, 143, .3);
}
.services__card:hover::after,
.services__card:focus-visible::after {
    opacity: 0.8;
}
.services__card-content {
  position: relative;
  z-index: 5;
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  height: 100%;
}
.services__card-icon {
  background-color: var(--white);
  border-radius: 50%;
  width: 32px;
  height: 32px;
}
.services__card-icon circle {
  fill: var(--white);
  stroke: #bbb;
  stroke-width: 2;
}
.services__card-icon path {
  stroke-width: 2;
  stroke: var(--dark-grey);
  fill: none;
}
.services__card-img {
  position: absolute;
  inset: 0;
  object-fit: cover;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-position: top center;
}
/* End Services */

/* Posts in index */
.section-posts__container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.posts-cards {
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
}
.posts-cards__card {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  background-color: var(--light-grey);
}
.posts-cards__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.posts-cards__content {
  padding: 24px 56px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 30px;
}
.posts-cards__card:nth-child(even) .posts-cards__img {
  grid-column: 2;
  grid-row: 1;
}
.posts-cards__card:nth-child(even) .posts-cards__content {
  grid-column: 1;
}
/* End Posts in index */

/* Clients */
.section-clients .container {
  padding-left: 44px;
  padding-right: 44px;
}
.clients {
  position: relative;
}
.clients-slider {
  width: 100%;
  overflow: hidden;
}
.clients-slider__wrapper {
  box-sizing: border-box;
  width: 100%;
}
.clients-slider__slide {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  min-height: 220px;
  padding: 20px 30px;
  background-color: #FBFBFB;
}
.clients-slider__slide:nth-child(even) {
  background-color: #F2F2F2;
}
.clients-slider__img-wrap {
  width: 100%;
  height: 80px;
  flex-shrink: 0;
}
.clients-slider__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.clients-slider__text {
  display: block;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  overflow-wrap: break-word;
}
.clients-slider__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  width: 40px;
  height: 140px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 4px 0 rgba(0, 93, 143, 0.25);
  background-color: var(--white);
}
.clients-slider__btn_prev {
  left: -40px;
}
.clients-slider__btn_next {
  right: -40px;
}
.clients-slider__arrow {
  width: 10px;
  height: 14px;
  color: var(--base-color);
}
.clients-slider__btn:hover,
.clients-slider__btn:focus-visible {
  background-color: var(--light-grey);
}
/* End Clients */

/* Stages */
.section-stages__title {
  margin-bottom: 24px;
}

.stages {
  position: relative;
  margin-bottom: 50px;
}
.section-stages__desc:last-child {
  margin-bottom: 0;
}
.stages-slider__wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
  box-sizing: border-box;
}
.stages-slider__slide {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: min-content;
  align-items: center;
  background-color: var(--light-grey);
  overflow: hidden;
  position: relative; 
}
.stages-slider__img {
  grid-area: 1 / 2 / span 1 / span 1;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.stages-slider__content {
  padding: 48px 56px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
 .stages-slider__slide:nth-child(even) .stages-slider__img {
  grid-area: 1 / 1 / span 1 / span 1;
}
.stages-slider__slide:nth-child(even) .stages-slider__content {
  grid-area: 1 / 2 / span 1 / span 1;
}

.stages-slider__title {
  margin-bottom: 16px;
}
.stages-slider__text > *:not(:last-child) {
  margin-bottom: 12px;
}
.stages-slider__text ul {
  list-style: disc;
  padding-left: 24px;
}
.stages-slider__text a {
  border-bottom: 1px solid var(--base-color);
}
.stages-slider__text a:hover,
.stages-slider__text a:focus-visible {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.stages-slider__link {
  margin-top: 36px;
  text-align: center;
  line-height: 1.1;
}
.stages-slider__btn {
  display: none;
  position: absolute;
  top: 0;
  z-index: 1;
  width: 40px;
  height: 40px;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 4px 0 rgba(0, 93, 143, 0.25);
  background-color: var(--white);
}
.stages-slider__btn_prev {
  left: 0;
}
.stages-slider__btn_next {
  right: 0;
}
.stages-slider__arrow {
  width: 10px;
  height: 14px;
  color: var(--base-color);
}
.stages-slider__btn:hover,
.stages-slider__btn:focus-visible {
  background-color: var(--light-grey);
}
/* End Stages */

/* Posts */
.section-single-post {
}
.single-post {
}
.single-post h2,
.single-post h3,
.single-post h4,
.single-post h5,
.single-post h6 {
  margin: 40px 0 20px;
  font-weight: 400;
}
.single-post h2 {
  font-size: 30px;
}
.single-post h3 {
  font-size: 24px;
}
.single-post h4 {
  font-size: 22px;
}
.single-post h5 {
  font-size: 20px;
}
.single-post h6 {
  font-size: 18px;
}
.single-post p + p {
  margin-top: 12px;
}
.single-post table p + p {
  margin-top: 0;
}
.single-post img {
  margin: 10px;
}
.single-post ul, 
.single-post ol {
  margin: 12px 0;
  padding-left: 36px;
}
.single-post ul {
  list-style: disc;
}
.single-post ol {
  list-style: decimal;
}
.single-post ul li:not(:last-child),
.single-post ol li:not(:last-child) {
  margin-bottom: 10px;
}
.single-post a {
  color: var(--accent);
}

/* End Posts */

/* Category */
.category__list {
  position: relative;
  margin-bottom: 50px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.category-article {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: min-content;
  align-items: center;
  background-color: var(--light-grey);
  overflow: hidden;
  position: relative; 
}
.category-article__img {
  grid-area: 1 / 2 / span 1 / span 1;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.category-article__content {
  padding: 48px 56px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
 .category__item:nth-child(even) .category-article__img {
  grid-area: 1 / 1 / span 1 / span 1;
}
.category__item:nth-child(even) .category-article__content {
  grid-area: 1 / 2 / span 1 / span 1;
}

.category-article__title {
  margin-bottom: 16px;
}
.category-article__short-desc {
  margin-bottom: 36px;
}
.category-article__text > *:not(:last-child) {
  margin-bottom: 12px;
}
/* End Category */

/* Contacts */
.hero_no-banner {
  padding: 40px;
  background-color: var(--light-grey);
}
.contacts {
  font-size: 18px;
}
.contacts__container {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 2rem;
}
/* .contacts-map {
  grid-column: 2;
  grid-row: 1 / span 2;
} */
.contacts__block {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
/* .contacts__block:not(:last-child) {
  margin-bottom: 50px;
} */
.contacts__company {
  font-size: 24px;
  font-weight: 700;
}
.contacts__address {
}
.contacts__info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contacts__info-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.contacts__info-key {
  font-weight: 700;
}
.contacts__info-value {

}
.contacts__time {
  display: flex;
  flex-direction: column;
}
.contacts__time-title {
  margin-bottom: 8px;
  font-weight: 700;
}
.contacts__time-text:not(:last-child) {
  margin-bottom: 4px;
}
.contacts a {
  border-bottom: 1px solid transparent;
  color: var(--accent);
}
.contacts a:hover,
.contacts a:focus-visible {
  border-bottom-color: 1px solid var(--accent);
  color: var(--accent);
}
.company-details {
  font-size: 18px;
}
.company-details__list {
  border: 1px solid var(--midle-grey);
}
.company-details__item {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 3fr;
}
.company-details__item:not(:last-child) {
  border-bottom: 1px solid var(--midle-grey);
}
.company-details__key {
  padding: 8px 16px 8px 12px;
  border-right: 1px solid var(--midle-grey);
  font-weight: 700;
  overflow-wrap: anywhere;
  hyphens: auto;
}
.company-details__value {
  padding: 8px 12px 8px 16px;
}
/* End Contacts */

/* Стили со старого сайта для удобоваримого отображения старого контента на страницах */
.single-post .size-auto,
.single-post .size-full,
.single-post .size-large,
.single-post .size-medium,
.single-post .size-thumbnail {
  max-width: 100%;
  height: auto;
}
.single-post a img {
  margin: 16px 0;
}
.single-post .aligncenter {
  clear: both;
  display: block;
  margin: 0 auto;
}
.single-post table .alignright,
.single-post table .alignleft,
.single-post table .aligncenter,
.single-post table .imgleft,
.single-post table .imgright {
  margin: 0 auto;
  float: unset;
}
.single-post blockquote {
  border-left: 4px solid var(--midle-grey);
  padding: 8px 16px;
  font-style: italic;
  font-size: 18px;
  margin: 24px 0;
  position: relative;
}
.single-post blockquote::after, blockquote::before, q::after, q::before {
  content: "";
}
.single-post blockquote p:last-child {
  margin: 0;
}
.single-post table,
.single-post tbody,
.single-post thead,
.single-post tfoot,
.single-post tr,
.single-post th,
.single-post td {
  border: 0;
  margin: 0;
  padding: 0;
}
.single-post table {
  margin: 16px 0;
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-width: 1px 0 0 1px;
}
.single-post td,
.single-post th {
  font-weight: 400;
  text-align: left;
  padding: 8px;
  background-color: var(--light-grey);
}
.single-post table,
.single-post td,
.single-post th {
  border: 1px solid var(--midle-grey);
}
.single-post p,
.single-post td {
  position: relative;
  overflow: hidden;
}
.single-post p a img,
.single-post td a img {
  max-width: 100%;
  height: auto;
}
.single-post .fb-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  grid-auto-rows: 250px;
  gap: 32px;
  justify-content: center;
}
.single-post p.fb-gallery + p.fb-gallery {
  margin-top: 32px;
}
.single-post p.fb-gallery.fb-gallery_first {
  margin-top: 32px;
}
.single-post .fb-gallery .fb-link {
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  object-position: center;
}
.single-post .fb-gallery .fb-link {
  width: 100%;
  height: 100%;
}
.gl_sslk:not(:last-child) {
  margin-bottom: 12px;
}
.gl_sslk_foto a {
  display: block;
  width: fit-content;
}
.gl_sslk_sslk {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
}
.gl_sslk_sslk a {
  border-bottom: 1px solid var(--base-color);
}
.gl_sslk_sslk a:hover,
.gl_sslk_sslk a:focus-visible {
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
}

.single-post a:hover,
.single-post a:focus-visible {
  color: var(--accent);
}
center.fb-gallery {
  margin: 16px 0;
}
.single-post a[data-fancybox] {
  /*border: 1px solid #e1e1e1;*/
  width: fit-content;
  display: block;
}
.single-post .fb-gallery a[data-fancybox] {
  width: 100%;
}
.single-post p.flex-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.single-post p.flex-links > a:not(:last-child)::after {
  content: "|";
  padding-left: 10px;
  opacity: 0.3;
}
/* End Стили со старого сайта */

/* Certificates & Presentation */
.custom-page-section .section-description:last-child {
  margin-bottom: 0;
}

.licenses .fb-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 32px;
  grid-auto-rows: unset;
}
.licenses .fb-gallery a {
  display: block;
  width: 100%;
  overflow: hidden;
  background-color: var(--light-grey);
  padding: 10px;
  box-shadow: 0 0 12px 0 rgba(0, 93, 143, 0.3);
}
.licenses .fb-gallery a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.licenses .fb-gallery a:hover,
.licenses .fb-gallery a:focus-visible {
  box-shadow: 0 4px 12px 0 rgba(0, 93, 143, 0.5);
}

.single-post ul.presentation-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 32px;
  margin: 48px 0;
  list-style: none;
  padding: 0;
}
.single-post ul.presentation-list li:not(:last-child) {
  margin-bottom: 0;
}
.single-post ul.presentation-list li {
  overflow: hidden;
  background-color: var(--light-grey);
  padding: 10px;
  margin: 0;
  box-shadow: 0 0 12px 0 rgba(0, 93, 143, 0.3);
}
.single-post .presentation-list li h2,
.single-post .presentation-list li h3,
.single-post .presentation-list li h4,
.single-post .presentation-list li h5,
.single-post .presentation-list li h6 {
  min-height: 64px;
  margin: 0 10px 16px;
  font-size: 24px;
  text-align: center;
}
.presentation-video {
  overflow: hidden;
}
.presentation-list iframe {
  width: 100%;
}
/* End Certificates */

/* Documents */
.docs {
  max-width: fit-content;
  margin: 0 auto;
  border: 1px solid var(--midle-grey);
}
.docs__row {
  padding: 16px 60px;
  display: grid;
  grid-template-columns: 5fr 1fr auto;
  justify-content: space-between;
  align-items: center;
  gap: 80px;
  font-size: 14px;
}
.docs__row:nth-child(2n) {
  background-color: var(--light-grey);
}
.docs__left {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
}
.docs__row-title {
  display: flex;
  align-items: center;
  gap: 10px;
}
.docs__row-title_icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.docs__row-size {
  white-space: nowrap;
}
.docs__btn {
  display: flex;
  align-items: center;
}
.docs__btn-icon {
  flex-shrink: 0;
  width: 16px;
  height: 1rem;
  filter: grayscale(1);
  margin-right: 6px;
  opacity: .6;
}
/* End Documents */

a.page-404-link, .page-404-link {
  color: var(--accent);
  border-bottom: 1px solid transparent;
}
a.page-404-link:hover,
.page-404-link:hover,
a.page-404-link:focus-visible,
.page-404-link:focus-visible  {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.page-404-info {
  font-size: 18px;
}