@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@500;600&display=swap');

.news-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 600px;
  margin: 0 auto;
}
.carousel-img {
  border-radius: 32px;
}
.hide_on_desk{
    display:none;
}
.news-item {
  display: flex; 
  border-radius: 10px;
  overflow: hidden;
}

.news-image {
  width: 200px;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.news-content {
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.news-date {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 19.12px;
  letter-spacing: 0.02em;
  text-align: left;
  color: #888;
}

.news-text {
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 21.86px;
  letter-spacing: 0.02em;
  text-align: left;
}

.news-text-red {
  color: #FE0000;
}

.slider-container {
  width: 100%;
  display: flex;
  justify-content: center;
}

.swiper-container {
  width: 50%;
  overflow: visible;
}

.swiper-slide {
  width: 100%;  /* Изменен с фиксированной ширины */
  height: 300px;
  background-position: center;
  background-size: cover;
}

.carousel-caption {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: #fff;
  text-align: left;
}

.carousel-caption h5 {
  color: white;
  display: inline-block;
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 10px;
  text-shadow: #000000 1px 0 10px; 
  background: rgba(0, 0, 0, 0.7);
  padding: 10px;
  border-radius: 6px;
}
.carousel-caption a{
  text-decoration: none;
}
.carousel-caption p {
  text-shadow: #000000 1px 0 10px;
  font-family: 'Manrope', sans-serif;
  font-size: 36px;
  font-weight: 400;
  line-height: 49.18px;
  letter-spacing: 0.02em;
  -webkit-line-clamp: 3;
  position: relative;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;

}
.card-body{ 
  padding: 32px;
  gap: 24px;
  border-radius: 24px;
  opacity: 0px; 
  
  background: var(--stroke, #F6F7F8);
  padding-right: 90px;
}
.card-text{
  font-family: Manrope;
  font-size: 20px;
  font-weight: 500;
  line-height: 27.32px;
  letter-spacing: 0.02em;
  text-align: left;
  color: #171A1C; 
}
.card-date, .card-category{
  display: inline-block;
  font-family: Manrope;
  font-size: 16px;
  font-weight: 500;
  line-height: 21.86px;
  letter-spacing: 0.02em;
  text-align: left;
  color: #171A1C80;
}
.card-date::after {
  content: '•';
  display: inline-block;
  margin: 0;
  color: #C4C5C6;
  width: 15px;
  height: 22px;
  text-align: right;
}
.circular-button {
  position: absolute;
  right: 25px;
  bottom: 25px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 1px solid #0000001A;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  outline: none;
  transition: background-color 0.3s ease;
}

.circular-button:hover {
  background-color: #D80000;

} 
.circular-button:hover img {
  filter: brightness(0) invert(1);
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center; 
  margin-bottom: 20px;
}

.section-title {
  font-family: Manrope;
  font-size: 36px;
  font-weight: 600;
  line-height: 49.18px;
  letter-spacing: 0.02em;
  text-align: left;
  color: #171A1C;
  margin-bottom: 30px;
}

.view-all { 
    padding: 4px 20px;
    gap: 8px;
    border-radius: 12px;
    border: 1px 0px 0px 0px;
    opacity: 0px;
    text-decoration: none;
    border: 1px solid #E2E3E4;
    color: #171A1C;
    font-family: Manrope;
    font-size: 16px;
    font-weight: 600;
}

.view-all::after {
  content: '›';
  margin-left: 5px;
  font-size: 20px;
}

.view-all:hover {
  text-decoration: underline;
}
.info-blocks { 
  display: flex;
  gap: 0px; 
  margin: 40px 0;
    justify-content: space-between;
}

.info-card {
  background: #fff;
  border-radius: 32px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
}

.problem-card {
  flex: 0 0 59%; /* Занимает 60% пространства */
}

.voting-card {
  flex: 0 0 39%; /* Занимает 40% пространства */
}
.info-card.problem-card{ 
  background: url('/assets/img/image_for_problem.png');
  background-size: contain; 
  background-repeat: no-repeat;
  background-position-x: right;
  min-height: 360px;
  background-color: white;
}
.info-card h2 {
  font-family: Manrope;
  font-size: 24px;
  font-weight: 700;
  line-height: 32.78px;
  letter-spacing: 0.02em;
  text-align: left;
  
}

.info-card p {
  font-family: Manrope;
  font-size: 18px;
  font-weight: 500;
  line-height: 24.59px;
  letter-spacing: 0.02em;
  text-align: left; 
opacity: 0.6px;

}

.info-button {
  background-color: #2196F3;
  color: white;
  padding: 10px 20px;
  border-radius: 20px;
  text-decoration: none;
  text-align: center;
  margin-top: auto;
  align-self: flex-start;
}
section{
  padding: 32px;
}
.icons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

/* Стили для иконок (добавьте по необходимости) */
.icons > div {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid #ccc;
}

/* Медиа-запрос для адаптивности */
@media (max-width: 768px) {
  .info-blocks {
    flex-direction: column;
  }
  
  .problem-card,
  .voting-card {
    flex: 0 0 100%; /* На мобильных устройствах блоки занимают всю ширину */
  }
}
.voting-card, .problem-card{
  position: relative;
}
.voting-card .info-button, .problem-card .info-button {
  position: absolute;
  bottom: 30px;
  font-family: Manrope;
  font-size: 15px;
  font-weight: 400;
  line-height: 21.86px;
  letter-spacing: 0.02em;
  text-align: left;

}
.voting-card .info-button img, .problem-card .info-button img{
  filter: brightness(0) invert(1);
}
.info-card.voting-card{  
  background: url(/assets/img/icon_for_voiting.png);
  background-size: revert-layer;
  background-repeat: no-repeat;
  background-position-x: right;
  background-position-y: 109%;
  min-height: 360px;
  background-color: white;
  background-size: 381px;
}

.useful-links-section {
    margin: 40px 0;
}

.useful-links-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}
section.useful-links-section {
  background: white;
  border-radius: 56px;

}
.useful-link-card {
  width: 34%;
  background: #F6F7F8;
  border-radius: 24px;
  display: flex;
  justify-content: space-between;
  padding: 32px 20px;
  min-height: 215px;
}
.useful-link-card:last-child{ 
  width: calc(32% - 40px);
}
.main_content_useful_link {
    display: flex;
    flex-wrap: wrap;
    align-items: center; 
    border-radius: 12px; 
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.3s ease;   
    width: 83%;
}
.main_content_useful_link_arrow{ 
  min-width: 60px;
  padding-top: 16px;
}
.main_content_useful_link_arrow button{ 
  position: relative;
  right: inherit;
  bottom: inherit;
}
.useful-link-content-text{
  font-family: Manrope;
  font-size: 20px;
  font-weight: 600;
  line-height: 27.32px;
  letter-spacing: 0.02em;
  text-align: left; 
  margin-top: 15px;
}
.useful-link-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.useful-link-image {
  width: inherit;
  max-width: 100%;
  height: inherit;
  border-radius: 50px;
  object-fit: cover;
  margin-right: 16px;
  flex-shrink: 0;
}

.useful-link-content {
    flex-grow: 1;
    min-width: 0;  
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
}
.useful-link-content h3{ 
  display: inline-block;
}
.useful-link-title {
  font-family: Manrope;
  font-size: 16px;
  font-weight: 500;
  line-height: 21.86px;
  letter-spacing: 0.02em;
  text-align: left;
  
}

.useful-link-description {
    font-size: 14px;
    color: #666;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.useful-link-arrow {
    color: #ff0000;
    font-size: 20px;
    margin-left: 16px;
    flex-shrink: 0;
}
.owl-dot span{
  display: none!important;
}
@media (max-width: 768px) {
    .useful-links-container {
        flex-direction: column;
    }

    .useful-link-card {
        width: 100%;
    }
}

.site-footer {
  background-color: #f5f5f5;
  padding: 40px 0;
  font-family: Arial, sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}

.footer-logo {
  flex: 1 0 25%;
}

.footer-logo img {
  max-width: 209px;
  margin-bottom: 27px;
}

.footer-logo p {
  font-family: Manrope;
  font-size: 14px;
  font-weight: 600;
  line-height: 19.12px;
  letter-spacing: 0.02em;
  text-align: left;
  
}

.footer-links {
  flex: 0 0 67%;
  display: flex;
  justify-content: space-between;
}

.footer-column {
  flex: 0 0 50%;
}

.footer-column h3 {
  font-family: Manrope;
  font-size: 24px;
  font-weight: 600;
  line-height: 32.78px;
  letter-spacing: 0.02em;
  text-align: left;
  
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column a {
  font-family: Manrope;
  text-decoration: none; 
  font-size: 16px;
  font-weight: 600;
  line-height: 21.86px;
  letter-spacing: 0.02em;
  text-align: left;
  color:#171A1C;

}
.footer-column a img{
  margin-top: -2px;
}
.footer-column li a:hover {
  color: #FE0000; 
}
.footer-column a:hover img {
  filter: invert(15%) sepia(95%) saturate(6932%) hue-rotate(359deg) brightness(94%) contrast(112%);
}

.social-icons {
  margin-top: 15px;
}

.social-icons a { 
  display: inline-block;
  margin-right: inherit;
  width: 34px;
  height: 34px;
  background-color: inherit;
  color: white;
  text-align: center;
  line-height: 30px;
  border-radius: inherit;
  font-size: 12px;
}

.footer-column p{ 
  font-family: Manrope;
  font-size: 16px;
  font-weight: 600;
  line-height: 21.86px;
  letter-spacing: 0.02em;
  text-align: left;
  
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
  }
  
  .footer-logo, .footer-links {
    flex: 0 0 100%;
  }
  
  .footer-links {
    flex-direction: column;
    margin-top: 20px;
  }
  
  .footer-column {
    margin-bottom: 20px;
  }
}



.useful-links-container {
  padding: 0 10px; /* Отступы для видимости предыдущего и следующего слайдов */
}

.useful-link-card {
  background-color: #F6F7F8;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: box-shadow 0.3s ease;
}

.useful-link-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.useful-link-header {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.useful-link-image {
  width: inherit;
  height: 60px; 
  object-fit: cover;
  margin-right: 16px;
}

.useful-link-title {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
}

.useful-link-description {
  font-size: 14px;
  color: #666;
  margin: 0 0 12px 0;
}

.useful-link-arrow {
  text-align: right;
  color: #ff0000;
  font-size: 20px;
}

/* Стили для кнопок навигации Owl Carousel */
.owl-nav button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.7) !important;
  color: #000 !important;
  font-size: 24px !important;
  padding: 10px !important;
  border-radius: 50% !important;
}

.owl-prev {
  left: 10px;
}

.owl-next {
  right: 10px;
}
  .carousel-container {
        position: relative;
        width: 95%;
        margin-left: 0;
        overflow: hidden;
    }

    .custom-carousel {
        position: relative;
    }

    .custom-carousel .owl-stage-outer {
        overflow: visible;
    }

    .custom-carousel .item {
        position: relative;
    }

    .custom-carousel .item img {
        width: 100%;
        height: auto;
    }

    .custom-carousel .carousel-caption {
        position: absolute;
        bottom: 20px;
        left: 20px;
        right: 20px;
        color: white;
        text-align: left;
    }

    .custom-next-button {
        position: absolute;
        top: 7%;
        right: 4%;
        transform: translateY(-50%);
        background: none;
        border: none;
        color: white;
        font-size: 24px;
        cursor: pointer;
        border: 1px solid #FFFFFF1A
    }

    /* Стили для точек навигации */
    .custom-carousel .owl-dots {
      position: absolute;
      bottom: 10px;
      left: 80px;
      display: flex;
      gap:0;
    } 
    .custom-carousel .owl-dot {
        width: 6px!important;
        height: 6px!important; 
    }
      .custom-carousel .owl-dot.active {
        height: inherit!important;
        width: 35px!important;
    }
    .custom-carousel .owl-dot {
        width: 10px;
        height: 10px;
        background-color: rgba(255, 255, 255, 0.5);
        border-radius: 50%;
        margin: 0 5px;
    }

    .custom-carousel .owl-dot.active {
        background-color: white;
    }
#newsCarousel .owl-stage-outer, #newsCarousel .owl-stage, #newsCarousel .owl-item, #newsCarousel .item { 
    height: 100%;
}
#newsCarousel img {
    object-fit: cover;
    height: 100%; 
}
.owl-item {
  left: 20px;
} 
.custom-carousel .owl-item {
  opacity: 1;
}
.custom-carousel .owl-item:not(.center) {
  transform: scale(1);
}
.navbar{
  box-shadow: none;
}
header{
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}  
.bvi-body[data-bvi-images="false"] .news-item{
  height: auto;
}
.bvi-body[data-bvi-images="false"] .news-row .col-lg-7{
  display: none;
}
.bvi-body[data-bvi-images="false"] .news-row .col-lg-5{
  width: 100%;
}
.bvi-body[data-bvi-images="false"] .news-row .col-lg-5 .news-container{
  max-width: inherit;
}
.bvi-body[data-bvi-theme="white"] .circular-button img{
  -webkit-filter: invert(1)!important;
   filter: invert(1)!important;
}
.bvi-body[data-bvi-theme="white"][data-bvi-images="false"] .circular-button img{
  display: block!important;
  border: none!important;
} 
.bvi-body[data-bvi-theme="black"] .carousel-control-next-icon{
  -webkit-filter: invert(1)!important;
  filter: invert(1)!important;
}
.bvi-body[data-bvi-theme="black"] .circular-button img{
  background-color: transparent !important;
}
.bvi-body[data-bvi-theme="black"][data-bvi-images="false"] .circular-button img{
  display: block!important;
} 
.bvi-body[data-bvi-theme="blue"] .circular-button img{
  background-color: transparent !important;
  -webkit-filter: invert(1)!important;
  filter: invert(1)!important;
}
.bvi-body[data-bvi-theme="blue"][data-bvi-images="false"] .circular-button img{
  display: block!important;
  -webkit-filter: invert(1)!important;
  filter: invert(1)!important;
  border: none!important;
}

.bvi-body[data-bvi-theme="brown"] .circular-button img{
  background-color: transparent !important;
  -webkit-filter: invert(1)!important;
  filter: invert(1)!important;
}
.bvi-body[data-bvi-theme="brown"][data-bvi-images="false"] .circular-button img{
  display: block!important;
  -webkit-filter: invert(1)!important;
  filter: invert(1)!important;
  border: none!important;
}
.bvi-body[data-bvi-theme="green"] .circular-button img{
  background-color: transparent !important; 
}
.bvi-body[data-bvi-theme="green"][data-bvi-images="false"] .circular-button img{
  display: block!important;  
  border: none!important;
}
.bvi-body[data-bvi-theme="green"] .carousel-control-next-icon{
  -webkit-filter: invert(1)!important;
  filter: invert(1)!important;
}
  @media (max-width: 991.98px) {
  .navbar-nav {
      padding-top: 1rem;
  }
  .navbar-nav .nav-item {
      margin-right: 0;
  }
  .navbar-nav .nav-link {
      padding: 0.5rem 0;
  }
  .dropdown-menu {
      border: none;
      padding-left: 1rem;
  }
  .navbar-collapse {
      max-height: 80vh;
      overflow-y: auto;
  }
  .custom-button {
      display: block;
      width: 100%;
      margin-top: 1rem;
  }
  .d-flex.align-items-center {
      flex-wrap: wrap;
      justify-content: space-between;
  }
  .btn-link {
      padding: 0.5rem;
  }
}

@media (min-width: 992px) {
  .navbar-expand-lg .navbar-nav .nav-link {
      padding-right: 1rem;
      padding-left: 1rem;
  }
}
 
.owl-dot.active:before{
  left: inherit;
}
.owl-dot{ 
  position: relative;
  overflow: hidden;   
  background-color: rgba(255, 255, 255, 0.5);
}
.owl-dot:before{
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%,rgba(255, 255, 255, 1) 50%,rgba(0,0,0,0) 50%,rgba(0,0,0,0) 100%);
  transition: left 3s;
}
.owl-dot.active:before{
  left: 0;
}


.navbar-toggler {
  border: none;
  padding: 0.25rem 0.75rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.view-all-mobile{
  display: none;
}
@media (min-width: 1600px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1520px;
    }
}
@media (max-width: 1440px) {
  .container{
    max-width: inherit;
  }
  .footer-container{ 
    max-width: inherit;
    padding: 0 50px ;
  }
}
@media (max-width: 1200px) {
  .useful-link-card{
    width: 100%!important;
  } 
  .useful-link-card:last-child .main_content_useful_link img {
    height: 29px!important;
  }
} 
@media (max-width: 992px) {
  .view-all-mobile{
    display: block; 
    margin-top: 20px;
  }
  .info-blocks { 
      flex-wrap: wrap; 
  }
   .info-blocks >div{
    width: 100%;
    flex: inherit;
   } 
   .info-card.problem-card{
       margin-bottom:20px;
   }
   .problem-card{
       background-position-y: -35px;
   }
   .news-item {
      margin-top: 20px; 
  }
   .news-container{
    max-width: inherit;
   }
   .orders-decrees-section .section-header a{ 
    display: none;
   }
   .custom-next-button { 
      top: 11%;
      right: 5%;
  }
  .news-container { 
    height: inherit;
  }
  .news-item{
    display: none;
  }
  .news-item:nth-child(-n+3){
    display: flex;
  }
  .orders-decrees-cards>div{
    display: none;
  }
  .orders-decrees-cards>div:nth-child(-n+3){
    display: block;
  }
  .news-container::after{
    content: none;
  }
  .view-all-mobile{
    text-decoration: none;
    display: block;
    width: 100%;
    height: 40px;
    padding: 12px 20px 12px 20px;
    gap: 4px;
    border-radius: 12px 0px 0px 0px;
    border: 1px solid #E2E3E4;
    opacity: 0px;
    font-family: Manrope;
    font-size: 16px;
    font-weight: 600;
    line-height: 16.39px;
    letter-spacing: 0.02em;
    text-align: center;
    color: #171A1C;
    border-radius: 12px;
  }
  .view-all-mobile img{  
    position: relative;
    top: -1px;
  }
} 
@media (max-width: 768px) {
  .section-title{ 
    font-family: Manrope;
    font-size: 20px;
    font-weight: 600;
    line-height: 27.32px;
    letter-spacing: 0.02em;
    text-align: left;
    padding-top: 20px;
  }
  .section-header { 
      margin-bottom: inherit;
  }
  img.news-image { 
      width:100px;
      height: 80px;
  } 
  .news-date{
    font-size: 10px;
  }
  section {
    margin-top: 25px !important;
      padding: 16px;
  } 
  .useful-links-section{
    padding-bottom: 32px;
  }
  .news-text { 
      font-size: 12px;
      display: -webkit-box;
      -webkit-line-clamp: 3;
      -webkit-box-orient: vertical;
      overflow: hidden;
  } 
  .card-text { 
      font-size: 14px; 
  }
  .card-date, .card-category { 
    font-size: 14px; 
}
  .news-content {
    padding-top: 0;
  }
  .custom-next-button { 
      width: 28px;
      height: 28px;
      top: 11%;
      right: 5%;
  }
} 
@media (max-width: 576px) {
  .info-card.problem-card {
    background: url('/assets/img/image_for_problem.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position-x: 200px;
    background-position-y: -35px;
    min-height: 360px;
    background-color: white;
}
}
@media (min-width: 992px) {
    .news-scroll {
    padding-bottom: 20px;
    }
}
.news-content .itemIntroText,.news-content .itemFullText,.news-content .itemFullText p{
  background-color: inherit!important;
}
.itemIntroText, .itemFullText p {
  font-family: 'Manrope', sans-serif!important;
}
@media (max-width: 767px) {
    .hide_on_desk{
        display:block;
    }/* Для мобильных устройств */
    .filter_form{ 
        max-height: 0;
        overflow: hidden;
        transition: all 2s;
        transition: max-height 1s, padding 2s;
    }
    .filter_form.show{ 
        max-height: 1000px; 
        display:block;
    }
     .filter_form .filter_button{
         display:flex;
         justify-content:space-between;
     }
}

@media(max-width:576px){
  .related-posts p:first-of-type{
      overflow: hidden;
      display: -webkit-box;
      -webkit-line-clamp: 3;
      -webkit-box-orient: vertical;
  }
}
@media (max-width: 576px) { /* Для мобильных устройств */
    .pagination .page-item {
        display: none; /* Скрыть все элементы пагинации */
    }
    .pagination .page-item.active,
    .pagination .page-item:first-child,
    .pagination .page-item:last-child {
        display: inline-block!important; /* Показать активный элемент и первую/последнюю ссылку */
    }
}