:root {
  --base-black: #000000;
  --base-white: #ffffff;
  --main-bg-color: #eeeeee;
  --main-bg-color--hover: #dddddd;
  --sub-bg-color: #f9f9f9;
  --nav-bg-color: #003f5c;
  --nav-bg-color--hover: #045377;
  --sub-bg-rgb-color: 10, 56, 73;
  --main-text-color: #2d3950;
  --main-text-color--hover: #1e2533;
  --main-link-color: #1496d2;
  --main-link-color--hover: #0a4e6e;
  --dark-text-color: #252525;
  --icons-color: #3f3f3f;
  --buttons-color: #2ecc71;
  --services-color: #15a4fa;
  --sub-first-text-color: #686868;
  --sub-second-text-color: #bababa;
  --sub-second-text-color--hover: #828282;
  --sub-third-text-color: #d0d0d0;
  --sub-fourth-text-color: #c0c0c0;
  --bg-comment-btn__disabled: #96b9a5;
}
/* @font-face {
  font-family: 'robotoregular';
  src: url('../assets/fonts/roboto-regular-webfont.woff2') format('woff2'),
    url('../assets/fonts/roboto-regular-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'pt_serifregular';
  src: url('../assets/fonts/ptserif-regular-webfont.woff2') format('woff2'),
    url('../assets/fonts/ptserif-regular-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
} */
/* Reset and base styles  */
/*
  Josh's Custom CSS Reset
  https://www.joshwcomeau.com/css/custom-css-reset/
*/
*, *::before, *::after {
  box-sizing: border-box;
}
* {
  margin: 0;
}
body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}
input, button, textarea, select {
  font: inherit;
}
p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}
#root, #__next {
  isolation: isolate;
}
html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  -moz-tab-size: 4;
  tab-size: 4;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-feature-settings: normal;
  font-variation-settings: normal;
  scrollbar-width: thin;
}
html::-webkit-scrollbar {
  width: 15px;
}
html::-webkit-scrollbar-track {
  background-color: var(--base-white, white);
}
html::-webkit-scrollbar-thumb {
  background-color: #d7d7d7;
  border-radius: 8px;
  border: 5px solid #ffffff;
}
body {
  margin: 0;
  font-size: 16px;
  font-family: 'Roboto', Helvetica, Arial, Tahoma;
  color: var(--main-text-color, midnightblue);
}
/* Links */
/* a,
a:link,
a:visited {
  color: var(--main-link-color);
} */
/* a:hover {
  color: var(--main-link-color--hover);
} */
/* Common */
body {
  max-width: 1920px;
  margin: 0 auto;
}
aside,
nav,
footer,
header,
section,
main {
  display: block;
}
/* ul,
ul li {
  list-style: none;
} */
img {
  vertical-align: top;
}
img,
svg {
  max-width: 100%;
  height: auto;
}
/* Form */
input,
textarea,
button,
select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background-color: transparent;
}
input::-ms-clear {
  display: none;
}
button,
input[type="submit"] {
  display: inline-block;
  box-shadow: none;
  background-color: transparent;
  background: none;
  cursor: pointer;
}
input:focus,
input:active,
button:focus,
button:active {
  outline: none;
}
button::-moz-focus-inner {
  padding: 0;
  border: 0;
}
label {
  cursor: pointer;
}
figure {
  border: 1px solid transparent;
  border-left-color: var(--nav-bg-color, dodgerblue);
  padding: 0.5rem;
}
/* General */
.text__title {
  font-size: 14px;
  line-height: 1.2;
}
.text__subtitle {
  font-size: 12px;
  line-height: 1.1;
}
.text__small {
  font-size: 10px;
  line-height: 1.1;
}
.text__default {
  font-size: 13px;
  line-height: 1;
}
.text__medium {
  font-size: 12px;
  line-height: 1;
}
.main-page {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: repeat(4, auto);
  gap: 0px 0px;
  grid-auto-flow: row;
  grid-template-areas:
    "header"
    "special"
    "."
    "footer";
}
.inner-page {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: repeat(3, auto);
  gap: 0px 0px;
  grid-auto-flow: row;
  grid-template-areas:
    "header"
    "content"
    "break-line";
}
.app-container {
  position: relative;
}
.main-page .show {
  display: block;
  opacity: 1 !important;
  visibility: visible !important;
  transition: visibility 0s linear 0s, opacity 300ms !important;
  transform: none !important;
}
.tab-content {
  display: none;
  opacity: 0;
  height: 0;
  visibility: 0;
  transform: scaleY(0);
}
.tab-content.show {
  display: block;
  height: auto;
  opacity: 1;
  visibility: visible;
  transform: none;
}
.break-line {
  grid-area: break-line;
  margin: 0 0 30px 0;
  text-align: center;
  position: relative;
  width: 100%;
  height: 30px;
}
.break-line-text {
  display: flex;
  align-items: center;
  width: 100%;
  /* top: -35%; */
  justify-content: center;
  line-height: 1em;
  position: absolute;
  text-align: center;
  height: 30px;
  /* height: 2em; */
  font-size: 14px;
  border: 3px solid var(--sub-bg-color, ghostwhite);
  border-top-color: transparent;
  border-bottom-color: transparent;
  margin: 0;
}
.break-line-text::before {
  content: "";
  background-color: var(--sub-bg-color, ghostwhite);
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
}
.break-line-text::after {
  content: attr(data-break-content);
  position: relative;
  padding: 0 60px;
  font-size: 10px;
  font-weight: bold;
  line-height: 1.5em;
  letter-spacing: 1px;
  text-transform: uppercase;
  background-color: var(--base-white, white);
  color: var(--sub-second-text-color, silver);
}
/* media queries */
@media (min-width: 1080px) {
  .inner-page {
    display: grid;
    grid-template-columns: minmax(100px, 300px) 1fr;
    grid-template-rows: repeat(3, auto);
    gap: 0px 0px;
    grid-template-areas: "header header"
      "feed content"
      "feed break-line";
  }
}
@media (min-width: 810px) {
  .text__title {
    font-size: 13px;
    line-height: 1.1;
  }

  .text__subtitle {
    font-size: 11px;
    line-height: 1.1;
  }
}
@media (min-width: 1200px) {
  .text__title {
    font-size: 14px;
    line-height: 1.1;
  }

  .text__subtitle {
    font-size: 12px;
    line-height: 1.1;
  }

  .text__default {
    font-size: 16px;
    line-height: 1;
  }

  .text__medium {
    font-size: 13px;
    line-height: 1;
  }

  .text__small {
    font-size: 9px;
  }
}
@media (min-width: 1400px) {
  .inner-page {
    display: grid;
    grid-template-columns: 25% 50% 25%;
    grid-template-rows: repeat(3, auto);
    gap: 0px 0px;
    grid-template-areas: "header header header"
      "feed content advertising"
      "feed break-line advertising";
  }

  .text__title {
    font-size: 14px;
    line-height: 1.1;
  }

  .text__subtitle {
    font-size: 13px;
    line-height: 1;
  }

  .text__medium {
    font-size: 14px;
  }

  .text__default {
    font-size: 14px;
  }
}
@media (min-width: 1800px) {
  .text__title {
    font-size: 17px;
  }

  .text__subtitle {
    font-size: 14px;
    line-height: 1.3;
  }

  .text__default {
    font-size: 18px;
    line-height: 1;
  }

  .text__medium {
    font-size: 16px;
    line-height: 1;
  }

  .text__small {
    font-size: 11px;
  }
}
.header {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: repeat(3, auto);
  gap: 0px 0px;
  grid-template-areas:
    "top-banner"
    "site-header"
    "second-nav";
  grid-area: header;
  box-shadow: 1px 5px 3px rgba(100,100,100,0.15);
}
.header__top-banner {
  grid-area: top-banner;
}
.header__top-banner img {
  width: 100%;
}
.header__search {
  grid-area: search;
  display: none;
}
.header__gmo-menu {
  max-width: 100%;
  overflow: hidden;
  overflow-x: auto;
  grid-area: second-nav;
  background-color: var(--nav-bg-color, dodgerblue);
  color: #e0e8eb;
  text-transform: uppercase;
  padding: 0.7em;
}
.gmo-menu__list {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 0;
  padding: 0;
}
.gmo-menu__list__item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1.1;
}
.gmo-menu__list__item a {
  color: inherit;
  text-decoration: none;
}
.gmo-menu__list__item::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 0.8em;
  background-color: var(--base-white, white);
  margin: 0 20px -1px;
}
.gmo-menu__list__item:first-child:before {
  display: none;
}
.header__site-header {
  display: grid;
  grid-template-columns: repeat(3, auto);
  grid-template-rows: repeat(1, auto);
  gap: 0px 0px;
  grid-template-areas:
    "logo services burger-menu";
  grid-area: site-header;
  align-items: center;
  justify-content: space-between;
  top: -100%;
  /* transition: top 0.5s ease; */
  margin: 10px 0;
}
.ghost-header {
  grid-area: site-header;
  opacity: 0;
  visibility: hidden;
}
.header__site-header--fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--sub-bg-color, ghostwhite);
  width: 100%;
  margin: 0;
  z-index: 9;
  padding: 0;
}
.header__logo {
  grid-area: logo;
  padding: 8px;
}
.header__logo__img {
  max-width: 100px;
  max-height: 60px;
}
.header__region {
  display: none;
  grid-area: region;
}
.header__region,
.sub-header__region {
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
}
.header__region .current__region,
.sub-header__region .current__region {
  padding-bottom: 1px;
  padding-left: 5px;
  padding-right: 5px;
}
.region__selector {
  display: flex;
}
.region__selector__list-dropdown {
  position: absolute;
  z-index: 10;
  display: none;
  list-style: none;
  padding: 10px;
  right: 0;
  margin-left: -10px;
  background-color: #fff;
  width: 100%;
  border: 1px solid #dedede;
  box-shadow: 5px 5px 0 rgb(0 0 0 / 6%);
  border-top: none;
  top: 100%;
  min-width: 200px;
  display: block;
  transform: scaleY(0);
  transition: transform .3s ease;
  transform-origin: top center;
}
.region__selector__list-dropdown li {
  display: block;
  padding: 10px 5px;
}
.region__selector__list-dropdown label {
  cursor: pointer;
  font-size: .9em;
  font-weight: normal;
  text-transform: uppercase;
}
.region__selector__list-dropdown button {
  border: none;
  position: absolute;
  left: -9999px;
}
.header__region:hover .region__selector__list-dropdown,
.sub-header__region:hover .region__selector__list-dropdown {
  transform: scaleY(1);
}
.current__region span {
  border-bottom: 1px solid #15a4fa;
  font-size: .9em;
  letter-spacing: 0.5px;
}
.header__region__point {
  width: 15px;
  height: 15px;
  display: flex;
}
.header__region__arrow {
  width: 15px;
  height: 15px;
  display: flex;
}
.header__services {
  grid-area: services;
  margin-left: auto;
  margin-right: auto;
}
.menu__services {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}
.burger__services .menu__services {
  gap: 10px;
}
.header__services .list__services,
.burger__services .list__services {
  color: var(--base-white, white);
  background-color: var(--services-color, aqua);
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 8px;
}
.header__services .list__services a,
.burger__services .list__services a {
  color: inherit;
  text-decoration: none;
}
.header__services .list__services {
  margin-right: 0.75em;
  text-align: center;
  padding: 3px;
  font-weight: bold;
}
.burger__services .list__services {
  padding: 10px 20px;
}
.header__services .list__services--cta,
.burger__services .list__services--cta {
  background-color: var(--buttons-color, lime);
}
.header__menu {
  grid-area: menu;
  padding: 0.25rem;
  display: none;
  text-transform: uppercase;
}
.header__burger {
  grid-area: burger-menu;
  padding: 0.25rem;
}
/* media queries */
@media (max-width: 1080px) {
  .header__services .menu__services li:not(.list__services--cta) {
    display: none;
  }
}
@media (min-width: 768px) {
  .header__site-header--fixed {
    margin: 0;
  }
}
@media (min-width: 810px) {
  /* .header__gmo-menu */
  .header__top-banner {
    margin: 0 1em;
  }

  .header__region {
    display: block;
  }

  .header__logo {
    padding: 8px 0;
  }

  .header__logo__img {
    max-width: 150px;
  }

  .header__site-header {
    grid-template-columns: repeat(3, auto) 1fr;
    grid-template-areas:
      "logo region services burger-menu";
    justify-content: start;
    gap: 0 20px;
    margin: 10px 1em;
  }

  .header__burger {
    justify-self: end;
  }

  .header__site-header--fixed {
    padding: 0 15px;
    margin: 0;
  }

  .header__services .list__services {
    padding: 5px 10px;
  }

  .header__gmo-menu {
    padding: 0.7em;
  }
}
@media (min-width: 1080px) {
  .header__site-header {
    grid-template-columns: repeat(4, auto);
    justify-content: space-between;
  }

  .header__services .list__services {
    margin-right: 3em;
  }

  .header__gmo-menu {
    margin: 0;
    padding: 0.7em;
  }

  .header__services .list__services {
    padding: 10px 20px;
  }

  .gmo-menu__list__item:first-child {
    text-align: left;
  }
}
@media (min-width: 1400px) {
  /* .header__burger {
    display: none;
  } */

  .header__menu {
    display: flex;
    justify-content: end;
  }

  .header__search {
    display: flex;
    align-items: center;
  }

  .header__search__icon {
    width: 1rem;
    height: 1rem;
    display: flex;
  }

  .header__search span {
    margin-left: 0.5em;
  }

  .header__site-header {
    grid-template-columns: repeat(3, max-content) 1fr max-content;
    grid-template-areas:
      "logo region services menu burger-menu";
    margin: 10px 1.5em;
    gap: 0 20px;
  }

  .header__site-header--fixed {
    margin: 0;
  }

  .header__top-banner {
    margin: 0 1.5em;
  }

  .header__logo__img {
    max-width: 200px;
  }

  .header__services .list__services {
    margin-right: 1em;
  }

  .header__gmo-menu {
    padding: 1em 1.5em;
  }
}
@media (min-width: 1600px) {
  .header__site-header {
    gap: 0 20px;
  }

  .header__site-header--fixed {
    padding: 10px;
  }

  .header__services .list__services {
    margin-right: 2em;
  }
}
/* .special {} */
.special__menu {
  display: flex;
  margin: 0 auto;
  max-width: 100%;
  overflow: hidden;
  overflow-x: auto;
  scrollbar-width: thin;
  list-style: none;
  padding: 0;
}
.special__item {
  flex: 1;
  min-width: 100px;
}
.special__link {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  text-decoration: none;
}
.special__title {
  margin-top: 5px;
  color: var(--main-text-color, midnightblue);
}
.special__img {
  width: 50px;
  height: 50px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: auto 50px;
  overflow: hidden;
  border-radius: 10px;
}
@media (min-width: 1400px) {
  .special {
    display: none;
  }
}
.sidebar-block {
  margin-bottom: 1em;
}
.ghost-sidebar-block {
}
.sidebar-block__sticky {
  position: relative;
  z-index: 6;
}
.sidebar-block__sticky.sidebar-block__sticky--is-active {
  position: fixed;
  z-index: 5;
}
.inner-page .feed {
  display: none;
  grid-area: feed;
}
.feed, .advertising {
  margin-top: 1em;
}
.advertising {
  display: none;
  grid-area: advertising;
}
.feed__header {
  display: none;
  align-items: center;
  margin-bottom: 1.5em;
  font-weight: bold;
  text-transform: uppercase;
}
.company__news {
  padding: 1em;
  /* margin-left: 1em;
  margin-right: 1em; */
  margin-bottom: 1em;
  background-color: var(--sub-bg-color, ghostwhite);
  border-radius: 10px;
  font-size: 10px;
  text-transform: uppercase;
}
.company__news__header {
  padding: .5em 0;
}
.company__news__title {
  font-size: 12px;
}
.company__news__title a {
  text-decoration: none;
}
.company__news .company__news__item {
  display: grid;
  grid-template-columns: 0.3fr 1.7fr;
  grid-template-rows: 1fr;
  gap: 0px 15px;
  grid-template-areas:
    ". .";
  align-items: center;
  margin-bottom: 1em;
  line-height: 1.4;
  text-decoration: none;
  color: inherit;
}
.company__news__item img {
  width: 60px;
  height: 50px;
  max-width: 60px;
  max-height: 50px;
  margin-right: 1em;
  border-radius: 8px;
}
.company__news__header {
  display: flex;
  align-items: center;
  margin-bottom: 1em;
}
.feed__title,
.company__news__title {
  margin-left: 0.25em;
  font-weight: bold;
}
.feed__header__icon,
.company__news__header__icon {
  min-width: 15px;
  min-height: 15px;
}
.feed__container:not(:first-child) {
  margin-top: 2em;
}
.now-news__item {
  margin: .9em 0;
}
.now-news__item .now-news__item__link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--main-text-color, midnightblue);
}
.now-news__item__link__icon {
  min-width: 12px;
  min-height: 12px;
  margin-right: 0.5em;
}
.aside__banner {
  display: flex;
  justify-content: center;
  /* margin-top: 2em; */
  margin-bottom: 1em;
}
.day-header span {
  padding: 0 15px;
  font-size: 11px;
  vertical-align: middle;
  color: var(--base-white, white);
  background-color: var(--nav-bg-color, dodgerblue);
}
.day-header a {
  text-decoration: none;
}
@media (min-width: 810px) {
  .day-header span {
    font-size: 16px;
  }
}
@media (min-width: 1080px) {
  .inner-page .feed {
    display: block;
    margin-left: 1em;
  }

  .feed__header {
    display: flex;
  }

  .day-header span {
    font-size: 10px;
  }
}
@media (min-width: 1400px) {
  .day-header span {
    font-size: 11px;
  }

  .inner-page .feed,
  .advertising {
    padding: 0 1.5em;
    margin-left: 0;
  }

  .advertising {
    display: block;
  }
}
@media (min-width: 1920px) {
  .day-header span {
    font-size: 13px;
  }
}
/* Блок: Эксклюзив мозаики */
.exclusive-news {
  background-color: #262B33;
  color: #fff;
  padding: 1em;
  border-radius: 10px;
}
.exclusive-news .exclusive-news-header {
  display: flex;
  align-items: center;
  margin-bottom: 1em;
  text-decoration: none;
  color: inherit;
}
.exclusive-news-header__icon {
  min-width: 20px;
  min-height: 20px;
}
.exclusive-news-header__icon img {
  max-width: 100%;
}
.exclusive-news-header__title {
  margin-left: 0.5em;
  font-size: .9em;
  text-transform: uppercase;
  font-weight: bold;
}
.exclusive-news .exclusive-news-content__item {
  display: grid;
  grid-template-columns: 0.3fr 1.7fr;
  grid-template-rows: 1fr;
  gap: 0px 15px;
  grid-template-areas:
    ". .";
  align-items: center;
  margin-bottom: 1em;

  font-size: 0.8em;
  font-weight: bold;
  text-transform: uppercase;
  color: inherit;
  text-decoration: none;
}
.exclusive-news-content__item:last-child {
  margin-bottom: 0;
}
.exclusive-news-content__item img {
  width: 80px;
  height: 70px;
  max-width: 80px;
  max-height: 70px;
  border-radius: 8px;
}
.burger-container {
  max-width: 1280px;
  margin: 0 auto;
}
.burger__btn {
  display: flex;
  align-items: center;
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
  padding: 10px 15px;
  border-radius: 10px;
  background-color: var(--sub-bg-color, ghostwhite);
}
.burger__btn__text {
  padding-right: 0.5em;
  display: flex;
}
.burger__logo {
  margin-left: 10px;
  padding: 0.5em;
}
.burger__logo__img {
  max-width: 140px;
}
.menu__icon {
  width: 15px;
}
.burger__body--active .burger__header {
  right: 0;
}
.burger__close {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  cursor: pointer;
}
.burger__close_text {
  text-transform: uppercase;
  font-weight: bold;
  font-size: .8em;
  margin-right: .5em;
}
.burger__close__icon {
  width: 20px;
}
.burger__close__icon::before,
.burger__close__icon::after {
  content: "";
  display: block;
  height: 1px;
  border-radius: 2px;
  margin: 3px 0;
  background-color: var(--icons-color, #999ea0);
}
.burger__close__icon::before {
  transform: translateX(-2px) translateY(2px) rotate(45deg);
}
.burger__close__icon::after {
  transform: translateX(-2px) translateY(-2px) rotate(-45deg);
}
/* Burger header */
.burger__header {
  position: sticky;
  /* position: fixed; */
  /* right: -100%; */
  transition: right 0.5s ease 0s;
  top: 0;
  width: 100%;
  /* height: 40px; */
  background-color: var(--sub-bg-color, ghostwhite);
  z-index: 10;
}
.burger__header__content {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, auto);
  grid-template-rows: 1fr;
  gap: 0px;
  justify-content: space-between;
}
/* Burger second header */
.burger__sub-header {
  background-color: var(--main-bg-color, ghostwhite);
  padding: 15px 0;
}
.burger__sub-header__content {
  display: grid;
  grid-template-columns: repeat(2, auto);
  grid-template-rows: repeat(2, auto);
  gap: 0 40px;
  grid-template-areas:
    "title region"
    "search search";
  justify-items: center;
  max-width: 1280px;
  margin: 0 auto;
}
/* Burger body */
.burger__body {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100%;
  background-color: var(--sub-bg-color, ghostwhite);
  transition: right 0.5s ease 0s;
  overflow: auto;
  z-index: 10;
}
.burger__body.burger__body--active {
  right: 0;
}
.burger__body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  height: 70px;
  background-color: var(--base-white, white);
  z-index: 10;
}
.header__menu__list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  margin-top: 0;
  list-style: none;
}
.header__menu__list .header__menu__link {
  color: var(--sub-second-text-color, silver);
  text-decoration: none;
}
.header__menu__list .header__menu__link:hover {
  color: var(--sub-second-text-color--hover, silver);
}
.header__list__item:not(:last-child) {
  margin-right: 3em;
}
.sub-header__title {
  grid-area: title;
  justify-self: end;
}
.sub-header__region {
  grid-area: region;
  display: flex;
  align-items: center;
  justify-self: start;
}
.sub-header__search {
  grid-area: search;
  margin-top: 10px;
  width: 100%;
  display: flex;
  justify-content: center;
}
.sub-header__search .sub-header__search_form,
.sub-header__search .b-search-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.sub-header__search .search__input {
  background-color: var(--base-white, white);
  /* padding: 2px 5px; */
  width: 70%;
  padding: 8px 20px;
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
  height: 30px;
  margin: 0;
  border: none;
}
.sub-header__search .search__input::placeholder {
  font-style: italic;
}
.sub-header__search .search__btn {
  padding: 8px 30px;
  background-color: var(--buttons-color, lime);
  color: var(--base-white, white);
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
  height: 30px;
  margin: 0;
  border: none;
}
.burger__services {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px auto;
}
.burger__social {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}
.burger__social img {
  max-width: 35px;
  border-radius: 10px;
  margin: 0 10px;
}
.burger__menu {
  margin: 10px;
  text-transform: uppercase;
}
.burger__menu span {
  font-weight: 800;
  color: var(--sub-fourth-text-color, silver);
}
.menu__list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  overflow: hidden;
  margin: 10px 0 0 0;
  padding: 0;
}
.list__item {
  position: relative;
  margin-bottom: 10px;
  color: var(--sub-second-text-color, silver);
}
.list__item:not(:last-child) {
  margin-right: 2em;
}
.list__item a {
  color: inherit;
  text-decoration: none;
}
.list__item a:hover {
  color: var(--sub-second-text-color--hover, silver);
}
.burger__menu .menu__link {
  font-size: 20px;
  padding: 15px 0;
  line-height: 2;
  color: var(--sub-second-text-color, silver);
  text-decoration: none;
}
.burger__menu .menu__link:hover {
  color: var(--sub-second-text-color--hover, silver);
}
/* body modify */
body.body--lock {
  overflow: hidden;
}
body.body--mobile .menu__link {
  flex: 1 1 auto;
}
body.body--mobile .menu__arrow {
  display: block;
  width: 0;
  height: 0;
  margin-left: 5px;
  transition: transform 0.5s ease 0s;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 10px solid var(--icons-color, dimgray);
}
/* media queries */
@media (min-width: 1080px) {
  .menu__icon {
    width: 20px;
  }
}
/* CSS for legacy elements and compatibility issues */
/* Hidden on legacy, shown on new */
.hidden.__non-legacy {
  display: block !important;
}
/* Shown on legacy, hidden on new */
.__legacy-only {
  display: none !important;
}
/* Breadcrumb fixes for alpinejs */
.breadcrumb {
  margin: 0;
}
.breadcrumb a {
  color: var(--sub-second-text-color, silver);
  text-decoration: none;
}
.breadcrumb a:hover {
  color: var(--sub-second-text-color--hover, #828282);
}
.breadcrumb.alpine > template + li::before {
  padding: 0 5px;
  color: var(--sub-second-text-color, silver);
  content: "/\00a0";
}
/* Reset for bootstrap tabs */
.__legacy.tab-content {
  display: block;
  height: auto;
  transform: none;
  opacity: 1;
}
.main-page .app-container {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr;
  gap: 0px 0px;
  grid-template-areas:
    "switch"
    "content";
}
.main-page .feed {
  grid-area: content;
  /* padding: 0 1em;
  opacity: 0;
  transform: scaleY(0);
  visibility: hidden; */
  transition: visibility 0s linear 300ms, opacity 300ms;
}
.feed {
  font-size: 16px;
  line-height: 1.4;
  margin: 1em;
}
.content-switch-ghost {
  grid-area: switch;
  opacity: 0;
  visibility: hidden;
}
.content-switch {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  background-color: var(--main-bg-color, ghostwhite);
  padding: 10px;
  gap: 20px;
  grid-area: switch;
  position: relative;
}
.content-switch.content-switch--fixed {
  position: fixed;
  z-index: 5;
  margin-top: 0;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
.content-switch__item {
  border: none;
  /* 5px to compensate font vertical glitch */
  padding: 6px 12px 5px;
  border-radius: 6px;
  color: var(--dark-text-color, midnightblue);
  text-transform: uppercase;
  font-weight: bold;
  font-size: 1em;
}
.content-switch .selected {
  background-color: var(--nav-bg-color, dodgerblue);
  color: var(--base-white, white);
}
.main-page .main__news {
  /* transform: scaleY(0); */
  margin: 1em;
  /* opacity: 0; */
  /* visibility: hidden; */
  transition: visibility 0s linear 300ms, opacity 300ms;
  grid-area: content;
  position: relative;
  padding-bottom: 60px; /* store place for loader text */
}
.single-banner {
  width: 100%;
  margin-bottom: 10px;
  min-height: 90px;
}
.newspaper__banner img {
  width: 100%;
}
.dark {
  color: var(--base-white, white);
  background-color: var(--nav-bg-color, dodgerblue);
}
.white {
  background-color: var(--main-bg-color, ghostwhite);
}
.dark .meta-info {
  color: var(--sub-fourth-text-color, silver);
}
.white .title,
.white .subtitle__container {
  color: var(--dark-text-color, midnightblue);
}
.white .meta-info {
  color: var(--sub-first-text-color, silver);
}
.double-container,
.single-container,
.main__comments {
  margin-bottom: 10px;
  padding: 18px;
  border-radius: 10px;
  width: 100%;
}
/* Comments flow control classes */
.main__comments.loading {
  visibility: hidden;
}
.main__comments.loading--error {
  display: none;
}
/* Masonry sizer div */
.masonry-grid {
  min-width: 100%;
}
.masonry-grid-sizer {
  width: 49%;
}
@media screen and (min-width: 600px) {
  .double-container,
  .single-container,
  .main__comments {
    width: 49%;
  }
}
.double-container a {
  height: 100%;
  text-decoration: none;
  color: inherit;
}
.double-container .preview {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
  height: 200px;
  /* margin: 7px; */
  border-radius: 5px;
}
.double-container .title {
  font-weight: bold;
  margin: 1rem 0;
  /* padding: 0 7px; */
}
.double-container .meta-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0px 0px;
  grid-template-areas:
    "date comments"
    "date views";
  align-items: center;
  padding: 7px 0;
}
.double-container .meta-info .date {
  grid-area: date;
}
.double-container .meta-info .comments {
  grid-area: comments;
  justify-self: end;
}
.double-container .meta-info .views {
  grid-area: views;
  justify-self: end;
}
.double-banner {
  display: flex;
  justify-content: center;
}
.single-container a {
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  grid-template-rows: 1fr;
  gap: 0px 10px;
  grid-template-areas:
    "description preview";
  height: 100%;
  text-decoration: none;
  color: inherit;
}
.single-container .preview {
  grid-area: preview;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
  height: 100%;
  border-radius: 5px;
}
.single-container .description {
  grid-area: description;
  display: flex;
  flex-direction: column;
  width: 100%;
}
.single-container .title {
  font-weight: bold;
  padding-bottom: 10px;
}
.single-container .subtitle__container {
  flex: 1 1 auto;
}
.single-container .subtitle {
  /* max-height: 20px; */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.single-container .meta-info {
  display: flex;
  flex-direction: column;
}
.single-container .date {
  padding-top: 5px;
  padding-bottom: 10px;
}
.newspaper {
  /* opacity: 0;
  visibility: hidden; */
  padding-top: 1em;
  /* transform: scaleY(0); */
  transition: visibility 0s linear 300ms, opacity 300ms;
  grid-area: content;
  position: relative;
}
.newspaper__container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.newspaper__item {
  display: grid;
  grid-template-columns: .5fr 1fr 1fr;
  grid-template-rows: 1fr .75fr;
  gap: 0px;
  grid-template-areas:
    "preview title title"
    "preview ads scan";
  padding: 1em;
  min-height: 120px;
}
.newspaper__item:not(:last-of-type) {
  margin-bottom: 20px;
}
.newspaper__preview {
  grid-area: preview;
  max-width: 70px;
  border-radius: 10px;
  /* margin-right: 15px; */
}
.newspaper__title {
  grid-area: title;
  text-decoration: none;
  color: var(--main-text-color);
}
.newspaper__ads,
.newspaper__scan {
  padding: 0 30px;
  margin: 0 5px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.newspaper__ads {
  grid-area: ads;
  background-color: var(--nav-bg-color, dodgerblue);
  color: var(--base-white, white) !important;
  font-weight: 500;
}
.newspaper__ads:hover {
  background-color: var(--nav-bg-color--hover, #045377);
}
.newspaper__container .newspaper__scan {
  grid-area: scan;
  background-color: var(--main-bg-color, ghostwhite);
  color: var(--sub-first-text-color, silver);
}
.newspaper__container .newspaper__scan:hover {
  background-color: var(--main-bg-color--hover, #ddd);
}
.newspaper__banner {
  margin: 20px 0;
}
.main__comments {
  /* display: none; */
}
.main__comments .comments__container {
  display: flex;
  flex-direction: column;
  max-width: 70%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 10px;
  overflow: hidden;
}
.comments__title {
  background-color: var(--nav-bg-color, dodgerblue);
  color: var(--base-white, white);
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 10px;
  text-align: center;
  font-weight: 500;
}
.break-line__container {
  width: 100%;
  bottom: 0;
  position: absolute;
}
/* media queries */
@media (min-width: 810px) {
  .double-container .preview {
    height: 220px;
  }

  .main__comments {
    display: block;
  }

  .single-container .date {
    padding-bottom: 5px;
  }

  .feed {
    font-size: 18px;
    line-height: 1.2;
  }
}
@media (min-width: 1080px) {
  .feed__btn {
    display: none;
  }

  .main-page .app-container {
    grid-template-columns: minmax(100px, 300px) 1fr;
    grid-template-rows: minmax(50px, 70px) 1fr;
    gap: 0px 0px;
    grid-template-areas:
      "feed switch"
      "feed content";
  }

  .main-page .main__news {
    margin: 1em 0;
  }

  .main-page .feed {
    grid-area: feed;
    opacity: 1;
    visibility: visible;
    transform: none; /* fix nested bootstrap modals */
  }

  .feed {
    font-size: 12px;
    line-height: 1.1;
  }

  .content-switch {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    justify-content: start;
    margin-top: 1em;
  }

  .main__news__btn {
    margin-left: 20px;
  }
}
@media (min-width: 1200px) {
  .double-container .preview {
    height: 230px;
  }
}
@media (min-width: 1320px) {
  .double-container .preview {
    height: 260px;
  }
}
@media (min-width: 1400px) {
  .main-page .app-container {
    grid-template-columns: 25% 50% 25%;
    grid-template-rows: minmax(50px, 70px) repeat(2, auto);
    gap: 0px 0px;
    grid-template-areas:
      "feed switch advertising"
      "feed content advertising";
  }

  .content-switch {
    border-radius: 10px;
  }

  .main__comments .comments__container {
    max-width: 100%;
  }

  .feed {
    font-size: 13px;
    line-height: 1.1;
  }
}
@media (min-width: 1800px) {
  .double-container .preview {
    height: 300px;
  }

  .feed {
    font-size: 15px;
    line-height: 1.2;
  }
}
.hotnews {
  display: grid;
  grid-template-areas:
    "top"
    "other"
  ;
  gap: 1.2em;
  background-color: var(--main-bg-color, #eee);
  margin-bottom: 1em;
  border-radius: 8px;
  padding: 1.25em 1.5em;
}
.hotnews-top {
  grid-area: top;
}
.hotnews-other {
  display: grid;
  grid-area: other;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  grid-auto-flow: dense;
  gap: 1em;
}
.hotnews-other.hotnews-other__template-1 {
  /* grid-template-columns: 1fr; */
  grid-template-columns: 1fr;
}
/* Hot news items: */
.hotnews .hotnews-item {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  min-height: 180px;
  text-decoration: none;
  color: var(--main-text-color, midnightblue);
}
.hotnews .hotnews-other .hotnews-item {
  flex-direction: column;
}
.hotnews .hotnews-item.hotnews-item--top,
.hotnews-other.hotnews-other__template-1 .hotnews-item {
  flex-direction: row;
}
.hotnews-item .preview {
  width: 100%;
  /* height: 100%; */
  /* background-size: cover; */
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1em;
}
.hotnews-item.hotnews-item--top .preview {
  margin-bottom: 1em;
}
.hotnews-item .description {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
}
.hotnews-item .description .title {
  font-weight: bold;
  font-size: .9em;
  margin-bottom: .5em;
}
.hotnews-item .description .subtitle {
  font-size: .8em;
  line-height: 1.2;
  margin-bottom: 0.5em;
}
.hotnews-item .description .date {
  font-size: .7em;
  color: var(--sub-first-text-color, silver);
}
@media screen and (min-width: 750px) {
  .hotnews-item.hotnews-item--top .preview,
  .hotnews-other.hotnews-other__template-1 .hotnews-item .preview {
    width: 50%;
    margin-right: auto;
  }
  .hotnews-item.hotnews-item--top .description,
  .hotnews-other.hotnews-other__template-1 .hotnews-item .description {
    width: 48%;
  }
}
/* Top */
.hotnews-other.hotnews-other__template-1 .hotnews-item .description,
.hotnews-item--top .description {
  flex-direction: column;
  justify-content: space-around;
}
.hotnews-other.hotnews-other__template-1 .hotnews-item .title,
.hotnews-item--top .description .title {
  font-size: 1.3em;
  margin-bottom: .75em;
}
.hotnews-other.hotnews-other__template-1 .hotnews-item .subtitle,
.hotnews-item--top .description .subtitle {
  font-size: 1.1em;
  margin-bottom: .75em;
}
.layout-article {
  grid-area: content;
  position: relative;
  padding-bottom: 40px; /* fix loader is under viewport for android tablets */
  max-width: 100%;
  overflow: hidden;
}
.article__info {
  color: var(--sub-second-text-color, silver);
  padding-top: 0.75rem;
  font-size: 14px;
  margin: 0 1em;
}
.article__info__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.article__info_date a {
  color: var(--sub-second-text-color, silver);
  text-decoration: none;
}
.article__info_date a:hover {
  color: var(--sub-second-text-color--hover, #828282);
}
.article__info__category {
  display: flex;
  flex-direction: column;
}
.article__info__category__name {
  margin-right: 10px;
}
.article__info__category__name {
  text-transform: uppercase;
}
.article__main {
  margin: 0 1em;
  /* text-align: justify; */
  font-family: 'PT Serif', serif, Georgia, 'Times New Roman';
  color: var(--main-text-color, midnightblue);
  font-size: 19px;
}
.article__main__title {
  font-family: 'Roboto', sans-serif, Helvetica, Arial, Tahoma;
  line-height: 1;
  text-align: left;
  font-size: 1.3em;
  font-weight: bold;
  margin: .75em 0;
}
.article__main__subtitle {
  font-size: 1.1em;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  font-weight: normal;
  margin: .75em 0;
}
.article__main__second-banner img {
  width: 100%;
}
.article__main__preview {
  margin-top: 1.125rem;
  margin-bottom: 1.125rem;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}
.article__main__preview img {
  min-width: 100%;
  z-index: 1;
}
.article__main__preview__sign {
  font-size: 11px;
  position: absolute;
  background-color: rgba(var(--sub-bg-rgb-color), 0.5);
  color: var(--sub-fourth-text-color, silver);
  bottom: 0;
  right: 0;
  padding: 2px 5px;
  border-top-left-radius: 10px;
}
.article__main__container a {
  color: var(--main-link-color);
}
.article__main__container a:hover {
  color: var(--main-link-color--hover);
}
.article__main__container p {
  margin-bottom: 0.5rem;
  font-size: 1em;
}
.article__main__container figure {
  font-size: 1em;
}
.article__main__container img,
.article__main__container iframe {
  max-width: 100%;
}
.article__link {
  width: 100%;
  text-align: center;
}
.article__link > a > img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
}
.bottom-banner {
  /* grid-area: bottom-banner; */
  max-width: 100%;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}
.bottom-banner img {
  width: 100%;
}
.read-more {
  grid-area: read-more;
}
.company-news {
  grid-area: company-news;
}
.article__author {
  margin: 0 1em;
}
.author__info .author {
  grid-area: author;
}
.author__info {
  display: grid;
  grid-auto-flow: column;
  grid-template-columns: max-content 1fr;
  grid-template-rows: 0.5fr 1fr;
  gap: 10px 0px;
  grid-template-areas:
    "caption views"
    "author .";
  padding-top: 1rem;
}
.author__info .author__link {
  display: flex;
  flex-direction: row;
  align-items: center;
  text-decoration: none;
  color: var(--main-text-color, midnightblue);
}
.author__info .author__link:hover {
  color: var(--main-text-color--hover, midnightblue);
}
.author__ava {
  border-radius: 50%;
  max-width: 40px;
}
.author__name {
  padding-left: 0.75rem;
}
.author__info {
  font-size: 16px;
}
.author__info .caption {
  grid-area: caption;
  align-self: center;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-bottom-color: var(--nav-bg-color, dodgerblue);
}
.author__info .views {
  grid-area: views;
  align-self: center;
  justify-self: end;
  color: var(--sub-fourth-text-color, silver);
}
.article__comments {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  grid-template-rows: 1fr;
  gap: 0px 0px;
  grid-template-areas:
    ". .";
  align-items: center;
  justify-content: space-between;
  margin-top: 0.5rem;
  background-color: var(--nav-bg-color, dodgerblue);
  color: var(--base-white, white);
  font-size: 10px;
  letter-spacing: 1px;
}
.article__comments__title {
  text-align: center;
  text-transform: uppercase;
  margin-left: 10px;
}
.open-comment-btn {
  background-color: var(--buttons-color, lime);
  text-align: center;
  text-transform: uppercase;
  font-weight: bold;
  margin: 5px;
  padding: 3px 40px;
  cursor: pointer;
  transition: background-color .3s ease-in-out;
}
.open-comment-btn.loading {
  cursor: progress;
  background-color: var(--bg-comment-btn__disabled, #ddd);
}
.open-comment-btn.loading:after {
  content: "";
  position: absolute;
  margin-top: 4px;
  margin-left: 10px;
  width: 12px;
  height: 12px;
  border: 2px solid #FFF;
  border-bottom-color: transparent;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}
@keyframes rotation {
  0% {
      transform: rotate(0deg);
  }
  100% {
      transform: rotate(360deg);
  }
}
/* media queries */
@media (min-width: 375px) {
  .article__info__category {
    flex-direction: row;
  }
}
@media (min-width: 810px) {
  .article__item {
    max-width: 650px;
    margin: 0 auto;
  }

  .article__main__preview__sign {
    font-size: 13px;
    padding: 5px 10px;
  }

  .layout-article {
    margin: 0 4em;
  }

  .article__comments {
    font-size: 14px;
    padding: 5px 15px;
  }

  .article__main__title {
    font-size: 30px;
  }

  .article__main__subtitle {
    font-size: 25px;
  }

  .article__main__container p {
    font-size: 20px;
  }

  .article__main__container figure {
    font-size: 20px;
  }
}
@media (min-width: 1080px) {
  .article__item {
    max-width: inherit;
  }

  .layout-article::before {
    content: " ";
    height: 100%;
    position: absolute;
    top: 0;
    width: 15px;
  }

  .layout-article::before {
    box-shadow: -15px 0 15px -15px rgba(34, 60, 80, 0.15) inset;
    left: -20px;
  }

  .layout-article {
    margin: 0 1em;
  }

  .article__main__title {
    font-size: 32px;
  }

  .article__main__subtitle {
    font-size: 27px;
  }

  .article__main__container p {
    font-size: 21px;
  }

  .article__main__container figure {
    font-size: 21px;
  }
}
@media (min-width: 1400px) {
  .article__item {
    max-width: 750px;
  }

  .layout-article {
    margin: 0;
  }

  .layout-article:after {
    content: " ";
    height: 100%;
    position: absolute;
    top: 0;
    width: 15px;
  }

  .layout-article::before {
    box-shadow: -15px 0 15px -15px rgba(34, 60, 80, 0.15) inset;
    left: -25px;
  }

  .layout-article:after {
    box-shadow: 15px 0 15px -15px rgba(34, 60, 80, 0.15) inset;
    right: -25px;
  }

  .article__info {
    margin: 2em 0;
  }

  .article__info__category__name {
    margin-right: 3em;
  }

  .article__main__title {
    font-size: 37px;
  }

  .article__main__subtitle {
    font-size: 27px;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }

  .article__main__preview {
    margin-bottom: 1.5rem;
  }

  .article__main__container p {
    margin-bottom: 1rem;
    font-size: 24px;
  }

  .article__main__container figure {
    font-size: 24px;
  }

  .article__comments {
    margin: 2em 0;
    padding: 0 15px;
  }
}