/* khorosh.co — перенос с Webflow пиксель-в-пиксель.
   Значения скопированы из khorosh.webflow.shared.506ea9106.css без изменений
   (эталон лежит в reference/html/khorosh.webflow.css).
   Переименование классов: .body→.dark  .svgformula→.logo  .image→.logo-desktop
   .image-2→.logo-mobile  .divtitle→.title-row  .back→.contacts
   .w-layout-hflex ._2-column→.row  .full-width-image→.img-full
   .half-image→.img-half  .w-embed→.embed */

/* --- база (используемая часть webflow-normalize) --- */

html {
  -webkit-text-size-adjust: 100%;
  font-family: sans-serif;
  height: 100%;
}

* {
  box-sizing: border-box;
}

body {
  color: #333;
  background-color: #fff;
  min-height: 100%;
  margin: 0;
  font-family: Arial, sans-serif;
  font-size: 14px;
  line-height: 20px;
}

a {
  background-color: #0000;
}

a:active, a:hover {
  outline: 0;
}

img {
  border: 0;
  vertical-align: middle;
  max-width: 100%;
  display: inline-block;
}

/* --- стили сайта --- */

.dark {
  background-color: #000;
}

.logo {
  width: 100%;
}

.logo-desktop {
  width: 100%;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  padding: 10px;
  position: static;
  inset: 0% 0% auto;
}

.logo-mobile {
  opacity: 0;
  display: none;
}

.text {
  color: #fff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
}

.text.sub {
  padding-left: 20px;
}

.about {
  grid-column-gap: 10px;
  grid-row-gap: 10px;
  flex-direction: column;
  max-width: 33%;
  padding-bottom: 10px;
  padding-left: 10px;
  padding-right: 10px;
  display: flex;
  position: fixed;
  inset: auto auto 0% 0%;
}

.link {
  color: #fff9;
  font-weight: 400;
  text-decoration: none;
}

.link:hover {
  color: #ffffffe0;
}

.contacts {
  grid-column-gap: 16px;
  grid-row-gap: 16px;
  justify-content: flex-start;
  align-items: center;
  padding-top: 24px;
  padding-bottom: 24px;
  display: flex;
}

.title-row {
  grid-column-gap: 6px;
  grid-row-gap: 6px;
  display: flex;
}

.og-image {
  margin: auto;
  display: block;
}

/* кейс: ряды картинок */

.row {
  flex-direction: row;
  align-items: flex-start;
  display: flex;
}

.img-half {
  max-width: 50%;
}

.embed:before, .embed:after {
  content: " ";
  grid-area: 1 / 1 / 2 / 2;
  display: table;
}

.embed:after {
  clear: both;
}

/* --- брейкпоинты (как в Webflow: 991 / 767 / 479) --- */

@media screen and (max-width: 991px) {
  .logo-desktop {
    opacity: 1;
    display: none;
  }

  .logo-mobile {
    opacity: 1;
    width: 100%;
    padding: 10px;
    display: block;
    position: relative;
  }

  .about {
    max-width: none;
    position: static;
  }

  .contacts {
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
  }
}

@media screen and (max-width: 767px) {
  .contacts, .title-row {
    justify-content: space-between;
  }

  .row {
    flex-flow: column;
  }

  .img-half {
    max-width: 100%;
  }
}

@media screen and (max-width: 479px) {
  .dark {
    height: 100%;
  }

  .logo-desktop {
    opacity: 0;
    direction: ltr;
    max-width: none;
    position: fixed;
    inset: 0% 0% auto;
  }

  .logo-mobile {
    width: 100%;
    max-width: none;
  }

  .logo {
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    overflow: hidden;
  }

  .about {
    grid-column-gap: 10px;
    grid-row-gap: 10px;
    flex-direction: column;
    padding: 10px;
    display: flex;
    position: static;
    inset: 0%;
  }

  .contacts {
    padding-bottom: 24px;
  }

  .title-row {
    justify-content: space-between;
  }
}

/* инлайн-стиль из хвоста оригинальных страниц */

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
