* {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  padding: 0;
  margin: 0;
}
@font-face {
    font-family: 'Montserrat';
    src: url('/static/main/fonts/Montserrat-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: 'Onest';
    src: url('/static/main/fonts/OnestRegular1602-hint.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Onest';
    src: url('/static/main/fonts/OnestBold1602-hint.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}    

@font-face {  
  font-family: 'Onest';
  font-style: normal;
  font-display: fallback;
  src: url("https://fonts.gstatic.com/s/onest/v6/gNMKW3F-SZuj7xmS-HY6EQ.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-display: fallback;
  src: url("https://fonts.gstatic.com/s/onest/v6/gNMKW3F-SZuj7xmb-HY6EQ.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-display: fallback;
  src: url("https://fonts.gstatic.com/s/onest/v6/gNMKW3F-SZuj7xmR-HY6EQ.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-display: fallback;
  src: url("https://fonts.gstatic.com/s/onest/v6/gNMKW3F-SZuj7xmf-HY.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-display: fallback;
  src: url("https://fonts.gstatic.com/s/onest/v6/gNMKW3F-SZuj7xmS-HY6EQ.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-display: fallback;
  src: url("https://fonts.gstatic.com/s/onest/v6/gNMKW3F-SZuj7xmb-HY6EQ.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-display: fallback;
  src: url("https://fonts.gstatic.com/s/onest/v6/gNMKW3F-SZuj7xmR-HY6EQ.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-display: fallback;
  src: url("https://fonts.gstatic.com/s/onest/v6/gNMKW3F-SZuj7xmf-HY.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
body {
  min-height: 100vh;
  overflow-x: hidden;
  padding: 0;
  margin: 0;
  color: #333;
  background-color: #eadbff;
}
body::-webkit-scrollbar {
  width: 0;
}
body::-webkit-scrollbar-thumb {
  width: 0;
}

top {
  background: #340077;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  padding: 0.75rem 0;
  font-size: 14px;
  line-height: 14px;
  font-weight: 600;
}
top inner {
  justify-content: flex-end;
  gap: 1rem;
}
header {
  background: #7000ff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
header inner {
  justify-content: space-between;
  align-items: center;
}
header logo {
  width: 146px;
  height: 67px;
}
header menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
header menu a {
  font-size: 16px;
  line-height: 16px;
  
  text-decoration: none;
  color: #fff;
}
header right {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
header right a {
  font-size: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
header right img {
  width: 16px;
  height: 16px;
}

.poster-description img {
    float: left;           /* Картинка слева, текст обтекает справа и снизу */
    margin-right: 28px;    /* Отступ между картинкой и текстом */
    margin-bottom: 12px;   /* Отступ снизу, чтобы текст не прилипал */
    border-radius: 10px;
    max-width: 380px;
    height: auto;
    box-shadow: 0 4px 18px rgba(116,26,255,0.10);
    display: block;
}
@media (max-width: 700px) {
    .poster-description img {
        float: none;
        display: block;
        margin: 0 auto 12px auto;
        max-width: 95vw;
    }
}

news_events {
  background: #eadbff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border-radius: 0 0 3rem 3rem;
  margin-bottom: -3rem;
}
news_events inner {
  flex-direction: column;
}
news_events ne_title {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 2rem;
  font-size: 57px;
  line-height: 57px;
  font-weight: 800;
  color: #7000ff;
  padding: 5rem 0;
}


highlighted-slider-container {
  /* Пример стилей для выделенного контейнера */
  padding: 20px; /* Отступы вокруг слайдера */
  background-color: #f9f9f9; /* Цвет фона */
  border-radius: 10px; /* Закругленные углы */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Тень для выделения */
  height: 100%;
  width: 100%;
}

news_events news {
  display: flex;
  gap: 2rem;
}
news_events news n_left {
  display: flex;
  flex: 1;
  flex-direction: column;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 .5rem 2rem rgb(0 0 0 / .25);
  overflow: hidden;
  font-weight: 600;
  font-size: 18px;
}
news_events news n_left in {
  flex: 1;
}
news_events news n_left img {
  width: 100%;
  height: 100%;
}
news_events news n_left in:nth-child(2) {
  padding: 1rem;
}

news_events news n_right {
  display: grid;
  flex: 2;
  grid-template-columns: repeat(2, auto);
  grid-template-rows: repeat(2, auto);
  grid-auto-flow: column;
  gap: 2rem;
}
news_events news n_right_in {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
n_right_in in:nth-child(n+2) {
  padding: 0 1rem;
}
n_right_in in:nth-child(3) {
  font-size: 14px;
  font-weight: 800;
}
news_events news n_right_in img {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  border-radius: 1rem;
}
news_events news_b {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 3rem 0;
}
news_events news_b a {
  background: #7000ff;
  padding: 1rem 2rem;
  border-radius: 1rem;
  color: #fff;
  text-decoration: none;
  font-size: 20px;
  line-height: 20px;
  font-weight: 600;
}


events {
  display: flex;
  align-items: stretch;
  align-items: center;
  gap: 2rem;
  margin-bottom: 5rem;
}
events event {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 1rem;
}
events event img {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  border-radius: 1rem;
}


redblock {
  background: #f24b67;
  padding: 5rem 0 8rem 0;
  z-index: -1;
  position: relative;
  align-items: center;
  justify-content: center;
  display: flex;
}

redblock inner {
  flex-direction: column;
  position: relative;
}

redblock layer_l, redblock layer_r {
  display: block;
  position: absolute;
  width: 100%;
  height: auto;
}
redblock red_title {
  color: #ffffff;
  gap: 2rem;
  font-size: 57px;
  line-height: 57px;
  font-weight: 800;
  padding: 2rem 0;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
}

redblock mend_in {
  display: flex;
  align-items: stretch;
  gap: 2rem;
  z-index: 1;
}
redblock mend_img {
  border-radius: 1rem;
  border: .25rem solid #fff;
  flex: 1;
  background-position: center;
}
redblock mend_text {
  flex: 1;
  background: #fff;
  border-radius: 1rem;
  padding: 2rem;
}

inner {
  width: 80%;
}

coop {
  background: #fff;
  border-radius: 3rem 3rem 0 0;
  padding-bottom: 1rem;
  align-items: center;
  justify-content: center;
  display: flex;
  margin-top: -3rem;
}
coop inner {
  flex-direction: column;
}
coop cp_title {
  color: #7000ff;
  align-items: center;
  display: flex;
  gap: 2rem;
  font-size: 57px;
  line-height: 57px;
  font-weight: 800;
  padding: 2rem 25%;
}
coop_in {
  display: flex;
  gap: 3rem;
  align-items: center;
  justify-content: space-between;
}
coop_in img {
  width: 50%;
}


footer {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: #1d282a;
  padding: 5rem 0;
  gap: 5rem;
  color: #fff;
}

footer inner {
  justify-content: space-between;
}

footer img {
  width: 260px;
  height: 120px;
}

footer in {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

footer in:nth-child(2) {
  font-size: 20px;
  font-weight: 600;
}

@media (max-width: 768px) {
  .inner {
    width: 100%; /* или любое другое значение для мобильных */
  }
  
}



@media (max-width: 768px) {
  header menu {
    display: none;
  }

  header .menu-icon {
    display: block;
  }

  redblock layer_l, redblock layer_r {
    display: none;
  }

  .coop_in {
    flex-direction: column;
  }
  
  inner {
    width: 100%;
  }

  redblock red_title {
    font-size: 30px;
  }

  coop cp_title {
    font-size: 30px;
    padding: 2rem 0%;
  }


  grid-template-columns{
    grid-template-columns: repeat(3, 1fr);
  }

.btn {
  -webkit-border-radius: 10em;
  -moz-border-radius: 10em;
  -ms-border-radius: 10em;
  -o-border-radius: 10em;
  border-radius: 10em;
  border: 0;
  color: #000000!important;
  margin: 6px;
  white-space: normal!important;
  word-wrap: break-word;
  display: inline-block;
  line-height: 1.25;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  padding: .5rem 1rem;
  font-size: 1rem;
  font-weight: 400;
  -webkit-box-shadow: 0 2px 5px 0 rgba(0,0,0,.16),0 2px 10px 0 rgba(0,0,0,.12);
  -moz-box-shadow: 0 2px 5px 0 rgba(0,0,0,.16),0 2px 10px 0 rgba(0,0,0,.12);
  box-shadow: 0 2px 5px 0 rgba(0,0,0,.16),0 2px 10px 0 rgba(0,0,0,.12);
}
.btn {
  -webkit-transition: box-shadow .2s ease-out;
  -moz-transition: box-shadow .2s ease-out;
  -ms-transition: box-shadow .2s ease-out;
  transition: box-shadow .2s ease-out;
}



.highlighted-slider-container {
    /* Пример стилей для выделенного контейнера */
    padding: 20px; /* Отступы вокруг слайдера */
    background-color: #f9f9f9; /* Цвет фона */
    border-radius: 10px; /* Закругленные углы */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Тень для выделения */
    height: 100%;
    width: 100%;
}

.container {
    width: 90%; /* Ширина контейнера 90% */
    margin: 20px auto; /* Центрирование контейнера с отступами сверху и снизу */
    padding: 20px; /* Внутренние отступы */
    padding-top: 114px;
    border-radius: 8px; /* Закругленные углы */
    
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Анимация при наведении */
}

.container:hover {
    transform: translateY(-5px); /* Подъем контейнера при наведении */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Увеличение тени при наведении */
}
}

subheader {
    background: #7000FF;
    display: flex;
    height: 99px;
}

.ne_title {
    font-size: 2.5em;
    margin: 2.5rem 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: #7000ff;
    font-weight: 800;
}

.container h1 {
    padding-left: 4.5rem;
}

.news-container {
  padding: 0 !important;
}

.desktop-menu a {
    text-shadow: 0 0 .125rem rgb(0 0 0 / .5);
}

.desktop-menu a:hover {
    text-shadow: none;
}

.desktop-menu .dropdown-content a {
  text-shadow: none;
}

.container {
  width: auto !important;
  max-width: 1000px !important;
  padding: 2rem;
  margin: 0 auto;
}

.login-container {
  min-height: auto !important;
  margin-bottom: 5rem;
}

.news-content {
  padding: 1.5rem;
  border-radius: .5rem;
}
.news-content p, .news-content p:hover {
  background: none !important;
}
.news-title, .news-content h1, .description-block h1 {
  padding: 0 !important;
}
.news-image {
  width: 100% !important;
}

.news-item {
  border: 1px solid rgb(0 0 0 / .1);
}
.news-item .news-content {
  padding: 1rem;
}





@media screen and (max-width: 768px) {
  .container {
  max-width: 100% !important;
  padding: 2rem;
  padding-top: auto !important;
  margin: 0 auto;
  }
  footer {
    padding: 5rem 2.5rem;
  }
  .login-container {
    min-height: 100vh;
    margin-bottom: auto;
  }
}