*,
*::before,
*::after {
  box-sizing: border-box;
}

ul li {
  list-style: none outside none;
}

html {
  height: 100%;
  -webkit-text-size-adjust: none;
  font: normal 400 16px/1.2 var(--main-font);
  scroll-behavior: smooth;
}

a {
  color: inherit;
  text-decoration: none;
}

body {
  position: relative;
  width: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  color: var(--accent-color);
  transition: color var(--trans), background-color var(--trans);
  overflow-x: hidden;
  scroll-behavior: smooth;
  font-family: var(--main-font);
  background-color: var(--main-color);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
video {
  display: block;
  max-width: 100%;
  height: auto;
  overflow: hidden;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

a,
button,
p,
h1,
h2,
h3,
h4,
b,
strong,
i,
em,
small,
address,
span {
  transition: color var(--trans), background-color var(--trans);
}

.section {
  margin-bottom: 50px;
}

main {
  position: relative;
  flex: 1 0 auto;
}

button {
  background: none;
  padding: 0;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

input[type='search']::-webkit-search-decoration,
input[type='search']::-webkit-search-cancel-button,
input[type='search']::-webkit-search-results-button,
input[type='search']::-webkit-search-results-decoration {
  display: none;
}

.chevron {
  transition: d var(--trans);
}

.block {
  margin-bottom: 25px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  white-space: nowrap;
  -webkit-clip-path: inset(100%);
  clip-path: inset(100%);
  clip: rect(0 0 0 0);
  overflow: hidden;
}

.hidden {
  opacity: 0;
  pointer-events: none;
}

.scroll-lock-ios {
  position: fixed;
  overflow: hidden;
}

.scroll-lock {
  overflow: hidden;
}

.social-links {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 30px;
  border-right: 0;
  border: 1px solid #cccccc;
}

.social-links li {
  width: 100%;
  height: 75px;
}

.social-links a {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border-right: 1px solid #cccccc;
  color: #cccccc;
  transition: border-color var(--trans-md), color var(--trans), background-color var(--trans);
}

.social-links a::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: transparent;
  border: 1px solid transparent;
  transition: border-color var(--trans-md);
}

.social-links a:hover {
  color: var(--accent-color);
}

.social-links a:hover::before {
  border-color: var(--accent-color);
}

.dark-theme .social-links a:hover {
  background-color: var(--accent-color);
}

.dark-theme .social-links a:hover {
  color: var(--main-color);
}

.title {
  font-weight: 900;
  text-transform: uppercase;
  color: var(--accent-color);
}

.title--h4 {
  color: var(--accent-color);
  font-family: Montserrat;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-transform: uppercase;
}

@media (max-width: 767px) {
  .title {
    font-weight: 800;
  }

  .title--h2 {
    font-size: 24px;
  }
}

.marquee {
  width: 100vw;
  height: 200px;
  background-image: url('./img/marqee_layer.svg');
  background-repeat: no-repeat;
  background-size: cover;
}

@media (max-width: 768px) {
  .bottom-banner span {
    width: 200px;
    text-align: center;
    font-size: 50px;
  }
}

@media (min-width: 768px) and (max-width: 1280px) {
  .wrapper {
    width: 100%;
    max-width: 1290px;
    min-width: 768px;
    padding-left: 25px;
    padding-right: 25px;
  }

  .block {
    margin-bottom: 35px;
  }

  .events__item {
    min-height: 260px;
    grid-template-columns: 60% 40%;
  }

  .events__item h3 a {
    font-size: 26px;
    grid-template-columns: 1fr 1fr;
  }

  .events__info {
    padding-left: 30px;
  }


  .events__col {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .wrapper {
    width: 100%;
    max-width: 768px;
    padding-right: 15px;
    padding-left: 15px;
  }
}

.col-wrapper {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 30px;
  align-items: start;
}

@media (min-width: 768px) and (max-width: 1280px) {
  .col-wrapper {
    display: flex;
    flex-direction: column;
    gap: 25px;
    align-items: center;
  }
}

@media (max-width: 767px) {
  .col-wrapper {
    display: flex;
    flex-direction: column;
    gap: 25px;
    align-items: center;
  }
}

.mag-announce {
  padding: 30px;
  border: 1px solid;
  border-color: var(--gray2);
  display: flex;
  align-items: center;
  flex-direction: column;
}

@media (max-width: 767px) {
  .mag-announce {
    display: none;
    padding: 20px;
  }
}

.mag-announce .title {
  font-weight: 800;
  font-size: 20px;
  line-height: 24px;
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: var(--accent-color);
}

@media (max-width: 767px) {
  .mag-announce .title {
    margin-bottom: 15px;
  }
}

.mag-announce .button {
  border: 0;
  width: 100%;
}

.mag-announce__image {
  display: block;
  width: 236px;
  height: 330px;
  margin-bottom: 20px;
  overflow: hidden;
}

@media (max-width: 767px) {
  .mag-announce__image {
    margin-bottom: 15px;
  }
}

.mag-announce__image img {
  width: 100%;
  height: 100%;
  transition: -webkit-transform var(--trans-md);
  transition: transform var(--trans-md);
  transition: transform var(--trans-md), -webkit-transform var(--trans-md);
}

.mag-announce__image:hover img {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

.mag-announce__number {
  display: block;
  margin-bottom: 5px;
  font-weight: 700;
  font-size: 20px;
  line-height: 24px;
  color: var(--accent-color);
}

.mag-announce__number:hover {
  color: var(--violet);
}

.mag-announce__number small {
  color: var(--gray3);
  font-size: 14px;
}

.mag-announce__from {
  font-weight: 500;
  font-size: 12px;
  line-height: 15px;
  color: var(--gray3);
  margin-bottom: 18px;
}

@media (min-width: 1280px) {
  .mag-announce__from {
    margin-bottom: 15px;
  }
}



.menu__section-name:hover {
  color: var(--main-color) !important;
}

section.events {
  margin-bottom: 60px;
}

.events__wrapper {
  padding-left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 25px;
}

.events__item-button {
  width: 100%;
  margin: 0;
}

.events__inner {
  display: grid;
  gap: 20px;
  margin-bottom: 20px;
}

.events__item-preview {
  width: 85%;
  display: -webkit-box;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
  margin: 0;
  line-height: 1.7;
}

.events__item {
  display: flex;
  transition: box-shadow var(--trans);
}

.event-image {
  width: 550px !important;
}

.events__item:hover {
  box-shadow: 4px 4px 10px var(--shadow);
}

.events__item h3 {
  margin: 0;
  width: 85%;
  margin-bottom: 12px;
}

.events__item h3 a {
  display: block;
  font-size: 30px;
  line-height: 1;
  font-family: var(--main-font);
  font-weight: 900;
  color: var(--accent-color);
}

.events__item h3 a:hover {
  color: var(--violet);
}

.events__item h3 a:focus-visible {
  color: var(--violet);
  outline: 0;
}

.events__info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 60px;
  padding-right: 60px;
  text-align: left;
  gap: 23px;
  border: 1px solid;
  border-left: 0;
  border-color: var(--accent-color);
  width: 100%;
}

.events__image {
  background-color: var(--gray);
}

.events__image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.events__button {
  width: 100%;
}

.events__col {
  width: 960px;
}

.events--wide .events__col {
  width: 100%;
}

.events--wide .events__item {
  display: grid;
}

.events__item-preview {
  line-clamp: 4;
  -webkit-line-clamp: 4;
}

.events__inner {
  gap: 30px;
}

.events__details-link {
  text-transform: uppercase;
  font-family: var(--second-font);
  font-size: 11px;
  font-weight: 500;
  color: var(--accent-color);
  margin-bottom: 25px;
}

.events__details-link:hover {
  color: var(--violet);
}

.events__details-link svg {
  transform-origin: left;
  transition: transform var(--trans);
}

.events__details-link:hover svg {
  transform: scaleX(1.5);
}

@media (min-width: 768px) and (max-width: 1439px) {
  section.events .wrapper {
    padding-left: 25px;
  }
}

@media (max-width: 1439px) {
  .events__item-preview,
  .events-archive__item-preview {
    font-size: 14px;
    width: 90%;
  }

  .events__item {
    grid-template-columns: 450px 1fr;
  }

  .events--wide .events__item {
    grid-template-columns: 450px 1fr;
  }

  .events__col {
    width: 100%;
  }

  @media (max-width: 767px) {
    section.events {
      margin-bottom: 25px;
    }

    .events__item-preview,
    .events-archive__item-preview {
      font-size: 14px;
      text-align: left;
      width: 100%;
    }

    .events-archive__wrapper {
      /*padding-right: 0;*/
      padding-left: 15px;
      padding-right: 15px;
    }

    .events__item {
      display: block;
    }

    .events--wide .events__item {
      display: block;
    }

    .events__item h3 {
      width: 100%;
      text-align: left;
    }

    .events__item h3 a {
      font-size: 24px;
      grid-template-columns: unset;
    }

    .events__info {
      border-top: 0;
      border-left: 1px solid;
      padding: 15px;
      gap: 15px;
      align-items: flex-start;
    }

    .events__col {
      width: 100%;
    }
  }
}

.fotorama__nav--thumbs {
  width: 100% !important;
}

.fotorama__wrap {
  width: 100% !important;
}

.marquee {
  width: 100vw;
  height: 200px;
  background-image: url('./img/marqee_layer.svg');
  background-repeat: no-repeat;
  background-size: cover;
}

.logo-block {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.logo-block::before {
  content: '';
  position: absolute;
  left: -50vw;
  top: 0;
  bottom: 0;
  width: 50vw;
  background: var(--main-color);
  z-index: 20;
}

@media (min-width: 768px) and (max-width: 1280px) {
  .logo-block {
    margin-left: -40px;
    margin-right: -40px;
    padding-right: 30px;
    padding-left: 30px;
    width: calc(100% + 100px);
  }

  .logo-block .slider__item:last-of-type {
    padding-right: 40px;
  }
}

.logo-block__item {
  position: relative;
}

.logo-block__item span {
  position: absolute;
  display: block;
  top: 28px;
  left: 20px;
  z-index: 20;
  font-family: var(--second-font);
  padding: 0;
  text-transform: uppercase;
  font-size: 90px;
  width: -webkit-max-content;
  width: max-content;
  letter-spacing: 0.04em;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  background-image: url('./img/marquee_backdrop.png');
}

@media (min-width: 768px) and (max-width: 1280px) {
  .logo-block__item span {
    font-size: 70px;
  }
}

@media (max-width: 767px) {
  .logo-block__item span {
    top: 21px;
    font-size: 50px;
  }

  .marquee {
    height: 120px;
  }

  .events__info {
    align-items: flex-start !important;
  }

  .events__item h3 {
    text-align: start !important;
  }
}

.columns__line {
  flex-shrink: 0;
  width: 100%;
}

.logo-block__wrap {
  -webkit-animation: infiniteAnimation 6s linear infinite;
  animation: infiniteAnimation 6s linear infinite;
  left: calc(1 * var(--slidePX));
  right: 0;
  position: relative;
  display: flex;
  width: 100%;
}

@-webkit-keyframes infiniteAnimation {
  0% {
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
  }

  100% {
    -webkit-transform: translateX(0%);
    transform: translateX(0%);
  }
}

@keyframes infiniteAnimation {
  0% {
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
  }

  100% {
    -webkit-transform: translateX(0%);
    transform: translateX(0%);
  }
}

.newslistblock img {
  transition: transform 0.5s ease-in-out;
}

.newslistblock a:hover img {
  transform: scale(1.2);
}

/* 57 - новые стили */

#toTopBtn {
  display: none;
  align-items: center;
  justify-content: center;
  position: fixed;
  bottom: 26px;
  right: 100px;
  z-index: 99;
  background-color: transparent;
  color: white;
  border: 1px solid #c4c4c4;
  cursor: pointer;
  transition: background-color 0.3s;
  bottom: 75px;
  right: 45px;
  width: 60px;
  height: 60px;
  background-color: #fff;
}

#toTopBtn:hover {
  background-color: #555;
}

@media (max-width: 768px) {
  #toTopBtn {
    width: 40px;
    height: 40px;
    bottom: 82px;
    right: 25px;
  }

  #toTopBtn svg {
    width: 20px;
  }
}

/* 27 */

/* новый стиль */
.news-time {
  padding-left: 15px;
  font-size: 16px;
  font-weight: 400;
}

.news-subtitle h2 {
  font-family: 'Oswald', sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 20px;
  line-height: 30px;
  text-transform: uppercase;
  color: var(--accent-color);
  margin: 13px 0 45px;
  margin-bottom: 8px;
}

/* новый */
.news-link-wrap {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* новый */
.news-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* новый */
.event-time {
  font-size: 12px;
  font-weight: 400;
  color: #c0c0c0;
}

.news-time {
  margin-bottom: 25px;
  font-size: 12px !important;
  font-weight: 400;
  color: #c0c0c0;
  padding-left: 0px;
}

.bx-breadcrumb .bx-breadcrumb-item span {
  color: #c6c6c6;
  font-size: 12px;
}

.main-title-subtitle h1 {
  font-family: 'Oswald', sans-serif;
  font-style: normal;
  font-weight: 900;
  font-size: 55px;
  line-height: 130%;
  text-transform: uppercase;
  color: var(--accent-color);
  letter-spacing: normal;
  margin-bottom: 15px;
}

/* new */
.time-mb {
  margin-bottom: 20px;
}

/* new */
.news-main-img {
  position: relative;
  max-width: 960px;
  padding-left: 15px;
  padding-bottom: 45px;
}

/* new */
.news-main-img img {
  width: 100%;
  height: 100%;
  object-fit: fill;
}

/* new */
.news-main-img span {
  position: absolute;
  left: 15px;
  bottom: 45px;
}

/* new */
.banner-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 20px;
}

.news-prev-content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: flex-start;
}

.banner-area {
  position: sticky;
  margin-right: 0;
  width: 300px;
  top: 25px;
  max-height: 800px;
  visibility: hidden;
}

.banner-area.swiper-initialized {
  visibility: visible;
}

.banner_adv img:hover {
  transform: none !important;
}

.news-subtitle {
  /* display: flex; */
  max-width: 780px;
  gap: 37px;
  font-size: 23px;
  font-weight: 700;
}

.news-subtitle span {
  width: 3px;
  background-color: #2be6ff;
}

.fotorama__img {
  width: 100% !important;
  left: 0 !important;
}

.paragraph.paragraph-gallery {
  margin: 20px 95.5px 45px 111.5px;
  margin-left: 15px;
  position: relative;
}

.photoCount {
  position: absolute;
  right: 20px;
  bottom: 25px;
  font-size: 40px;
  font-weight: 500;
  color: #ffffff;
  z-index: 100 !important;
  background-color: transparent !important;
  cursor: pointer;
  transition: 0.3s ease-in-out;
  padding: 0 !important;
}

.photoCount:hover {
  color: #42BBFF !important;
}

.fotorama__nav-wrap {
  display: block !important;
}

.fotorama__nav-wrap.active-full {
  width: 88% !important;
  margin: 0 auto !important;
  transform: translateY(-60px) !important;
}

.banner-slide-wrapper {
  position: relative;
  width: 300px;
  height: 600px;
}

.ad-label {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 70px;
  height: 20px;
  background: rgba(230, 230, 230, 0.9);
  color: #666666;
  font-size: 10px;
  font-weight: 500;
  border-radius: 12px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  cursor: pointer;
}

.ad-tooltip {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  position: absolute;
  top: 35px;
  left: 10px;
  width: 220px;
  background: #fff;
  color: #666666;
  border: 1px solid #ccc;
  border-radius: 12px;
  padding: 10px;
  font-size: 12px;
  z-index: 10;
  transition: all 0.3s ease-in-out;
}

.ad-wrap:hover .ad-tooltip {
  opacity: 1;
  pointer-events: visible;
  visibility: visible;
}

.paragraph {
  max-width: 753px;
  margin-left: 15px !important;
  /* добавить */
  /* margin: auto; */
  /* удалить; */
}

paragraph.paragraph-right {
  /* margin: 45px 95.5px 0 111.5px; */
  /* удалить; */
}

.header__menu-button {
  border-right: 1px solid #000;
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
}

@media (max-width: 1024px) {
  .events__info {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 768px) {
  .header__menu-button {
    border: none;
  }
}

.main {
  margin-top: 0;
}

.header-banner.static + .header > div {
  padding-bottom: 0;
}

.first-slider {
  margin-top: 23.6px;
  /* height: 600px; */
  margin-bottom: 50px;
}

.title--h2 {
  padding-bottom: 23px;
}

.kit picture {
  width: 70%;
}

.kit picture img {
  width: 100%;
  max-height: 130px;
}

.banner-mobile-area-wrapper {
  display: none;
  position: relative;
  width: 100%;
  margin: 30px 0;
}

.banner-mobile-area {
  width: 100%;
  /* height: 150px; */
}

.ad-label-vertical {
  position: absolute;
  z-index: 10;
  left: 0;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  text-orientation: mixed;
  background: rgba(255, 255, 255, 0.5);
  color: #666666;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2px;
  width: 20px;
  min-width: 20px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
}

.newslistblock .sec-nb {
  display: block;
  width: 100%;
  @media (min-width: 769px) {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

.newslistblock {
  gap: 30px;
}

.nb-c {
  width: 100%;
}

@media (max-width: 768px) {
  .banner-mobile-area-wrapper {
    /* height: 150px; */
    display: block;
  }

  .ad-label-vertical {
    font-size: 11px;
  }

  .banner-mobile-area {
    min-width: 0;
    max-width: 100vw;
    overflow-x: hidden;
  }

  .swiper-wrapper {
    display: flex;
    flex-wrap: nowrap;
    width: 100vw;
    min-width: 0;
    max-width: 100vw;
  }

  .swiper-slide {
    width: 100vw !important;
    min-width: 0;
    max-width: 100vw;
    box-sizing: border-box;
  }
}

@media (max-width: 600px) {
  .banner-mobile-area-wrapper {
    /* height: 120px; */
  }

  .first-slider {
    margin-bottom: 20px;
  }

  .banner-mobile-area {
    /* height: 120px; */
  }

  .ad-label-vertical {
    font-size: 9px;
    width: 20px;
  }

  .wrapper {
    padding-left: 10px;
    padding-right: 10px;
  }
}

@media (max-width: 600px) {

  .sec-nb {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .news-prev-content .row {
    margin: 0 !important;
  }
}

.banner-mobile-area-wrapper .ad-tooltip {
  left: 50px;
}

@media (max-width: 767px) {
  .news-prev-content .news-prev,
  .news-prev-content .news-subtitle {
    margin: 0 !important;
  }

  .news-prev-content .news-prev {
    max-width: none !important;
    margin: 0 !important;
  }

  .section {
    margin-bottom: 30px;
  }

  .news-inner {
    margin: 0 !important;
    max-width: 450px;
  }

  /* .newslistblock .sec-nb {
    display: block;
    max-width: 100%;
  } */
}

.header-banner__links .button {
  background: transparent;
  color: #111;
}

@media (max-width: 420px) {
  .logo-block__item span {
    font-size: 40px;
  }
}

