* {
  scroll-behavior: smooth;
}

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

body {
  background: #f0f2f4;
}

.info-wrap {
  display: grid;
  grid-template-columns: 1fr 4fr;
  gap: 20px;
  margin: 30px auto !important;
}

.info-content {
  /* margin: 20px 0; */

  img {
    display: flex;
    justify-content: center;
    width: 100%;
    object-fit: contain;
  }
}

.navigation {
  margin: 20px 0 0 0;
  display: flex;
  gap: 10px;
  font-weight: 600;
  cursor: pointer;
  align-items: center;

  .navigation_main {
    color: #1760a4;
  }
}

.links {
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
  background-color: white;
  color: #758393;
  height: fit-content;
  padding: 30px;
  border-radius: 16px;
}

.title {
  font-weight: 500;
  font-size: 25px;
  padding-bottom: 10px;
  color: #1760a4;
}

.content {
  font-family: Inter;
}

.sub_title {
  font-weight: 400;
  font-size: 25px;
  color: #333;
}
.list-wrap {
  margin: 30px 0px;
}
.main_content {
  font-weight: 400;
  font-size: 20px;
}

.documents {
  display: grid;
  gap: 10px;
  margin-top: 20px;

  a {
    text-decoration: underline;
  }
}

.gools_images_item {
  margin: 30px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-weight: 300;
  text-align: center;
  gap: 20px;
}
.gools_images_item img {
  width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-weight: 300;
  height: auto;
}

.gools_images {
  display: flex;
  gap: 50px;
}

section {
  display: grid;
  gap: 20px;
}

.table {
  display: grid;
  gap: 10px;
  padding: 20px 0;
}

.table_item {
  align-items: center;
  display: flex;
  gap: 10px;
  border: 1px solid black;
  border-radius: 8px;
  padding: 15px;
}

.table_item_number {
  display: flex;
  align-items: center;
  font-size: 20px;
  font-weight: 500;
  color: #1760a4;
}

.gools_part {
  display: grid;
  gap: 10px;
}

.part p,
.part ol {
  font-family: Inter;
}

@media (max-width: 900px) {
  .info-wrap {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 20px auto !important;
  }

  .links {
    flex-direction: row;
  }
}

@media (max-width: 1024px) {
  .gools_images {
    line-height: normal !important;
    display: block !important;
  }

  .gools_images_item {
    display: none !important;
  }

  .title {
    font-size: 28px !important;
  }

  .table {
    width: 100%;
  }

  .table_item {
    width: normal !important;
  }

  .links {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    width: 100%;
    padding: 20px;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;

    .link {
      flex-shrink: 0;
    }
  }
}

@media (max-width: 768px) {
}

.go_up a {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100%;
  border: 2px solid #1760a4;
  background: white;
  color: #1760a4;
  text-decoration: none;
  z-index: 999;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

a {
  color: inherit;
}

.navbar_links {
  color: black;
}

.page__wrapper {
  .news_header {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;

    .news_header_title {
      font-size: 48px;
      font-weight: 500;

      color: #1760a4;
    }

    .news_header_btn {
      color: #1760a4;
      border: 1px solid #1760a4;
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 0 50px;
      border-radius: 8px;
      cursor: pointer;
      transition: all 0.3s ease-in-out;
    }

    .news_header_btn:hover {
      background-color: #1760a4;
      color: #fff;
    }
  }
  .news_items {
    margin-top: 20px;
    display: grid;
    grid-template-columns: 1fr 4fr;
    gap: 20px;
    margin-bottom: 20px;

    .news_right {
      width: 300px;
      .news_date {
        .news_date_time {
          max-width: 270px;
          height: 50px;
          display: flex;
          justify-content: space-between;
          align-items: center;
          padding: 0 15px;
          font-family: Inter;
          font-size: 14px;
          font-weight: 400;
          color: #758393;
          border-radius: 5px;
          cursor: pointer;
          transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out;
        }
        .news_date_time:hover {
          color: #ffffff;
          background-color: #1760a4;
        }
      }
    }
    .news_list {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;

      .news_item {
        border-radius: 12px;
        overflow: hidden;
        width: 100%;
        justify-content: space-between;

        .news_item_img {
          height: 150px;
        }

        .news_item_img img {
          width: 100%;
          height: 150px;
          object-fit: cover;
          object-position: top;
        }
        .news_item_img_succes img {
          object-position: top;
        }

        .news_item_wrapper {
          padding: 10px 20px;
          height: 100px;
          display: flex;
          flex-direction: column;
          justify-content: space-between;
          gap: 10px;
          background-color: #ffffff;

          .news_item_header {
            display: grid;
            gap: 10px;

            .news_item_title {
              font-size: 14px;
              font-weight: 300;
              color: #0b2136;
              display: -webkit-box;
              -webkit-line-clamp: 3;
              -webkit-box-orient: vertical;
              overflow: hidden;
              text-overflow: ellipsis;
            }

            .news_item_date {
              font-size: 12px;
              font-weight: 600;
              color: #1760a4;
            }
          }

          .news_item_content {
            font-size: 14px;
            display: block;
            font-weight: 400;
            justify-content: space-between;
            align-items: end;

            color: #ebc271;
          }
        }
      }
    }
  }
}

.header {
  padding: 30px 0;
  align-items: center;
  justify-content: space-between;

  .header_logo img {
    width: 80px;
  }

  .header_links {
    display: flex;
    gap: 20px;

    .header_link {
      cursor: pointer;
      position: relative;
    }

    .header_link.active:after {
      content: "";
      position: absolute;
      left: 0;
      bottom: 0;
      width: 100%;
      height: 4px;
      background-color: #efcc8e;
      border-radius: 6px;
      transform: translateY(10px); /* немного опускаем ниже текста */
    }
  }

  .header_logo {
    width: 100px;
  }
}

.navigation {
  margin: 20px 0 0 0;
  display: flex;
  gap: 10px;
  font-weight: 600;
  cursor: pointer;
  align-items: center;

  .navigation_main {
    color: #1760a4;
  }
}
.navigation a {
  color: #1760a4;
}

.news_pagination {
  padding: 30px 0 50px 0;
  display: flex;
  width: 100%;
  justify-content: center;

  .news_pagination_prev {
    border: 1px solid #ecf4ff;
    width: 50px;
    height: 50px;
    aspect-ratio: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    color: #1760a4;
    border-radius: 12px 0 0 12px;
  }

  .news_pagination_next {
    border: 1px solid #ecf4ff;
    width: 50px;
    height: 50px;
    aspect-ratio: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    color: #1760a4;
    border-radius: 0 12px 12px 0;
  }

  .news_pagination_item {
    border: 1px solid #ecf4ff;
    width: 50px;
    background-color: #fff;
    height: 50px;
    aspect-ratio: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    color: #1760a4;
    transition: all 0.3s ease-in-out;
  }
  .news_pagination_item:hover {
    background-color: #1760a4;
    color: #fff;
  }

  .news_pagination_item.active {
    background-color: #1760a4;
    color: #fff;
  }
}

.news_detail {
  padding: 32px;
  margin-bottom: 20px;
  gap: 10px;
  background-color: #ffffff;
  border-radius: 15px;

  .news_detail_title {
    color: #1760a4;
    font-weight: 500;
    font-size: 26px;
  }

  .news_detail_img_description_img img {
    width: 350px;
    height: 350px;
    border-radius: 15px;
    object-fit: cover;
    object-position: top;
    float: left;
    margin-right: 25px;
  }

  .news_detail_img_description {
    font-family: Inter;
    gap: 20px;
    padding: 50px 0 10px 0;
    align-items: top;
    font-size: 16px;

    .commission_person_name {
      text-align: justify;
    }
  }

  .news_detail_description {
    color: #1760a4;
    font-size: 24px;
  }
  .news_detail_content {
    flex: 1;
  }
}

.title_on_the_right {
  display: none;
}

.news_detail_content img {
  max-width: 400px;
  max-height: 400px;
  object-fit: cover;
}

.news_detail_content p {
  font-family: Inter;
  line-height: 1.6;
  padding: 0 40px 0 0;
}

.footer_desc {
  color: white;
  .footer_top_bg {
    background: #263e6e;

    .footer_top {
      max-width: 1100px;
      margin: auto;
      padding: 50px 0;
      display: grid;
      grid-template-columns: 1fr 1fr;

      .footer_top_1 {
        height: 70px;
        display: flex;
        gap: 20px;

        .footer_top_1_text {
          width: 220px;
        }
      }

      .footer_top_2 {
        display: flex;
        gap: 20px;
        justify-content: space-around;

        .footer_top_2_text {
          width: 220px;
        }
        .footer_top_2_number {
          display: flex;
          flex-direction: column;
          gap: 10px;
          .footer_top_2_number_phone {
            font-size: 40px;
          }
        }
        .footer_top_2_social {
          display: flex;
          flex-direction: column;
          gap: 10px;

          .footer_top_2_number_phone {
            display: flex;
            align-items: center;
          }
          .footer_top_2_number_phone img {
            cursor: pointer;
          }
        }
      }
    }
  }
  .footer_bottom_bg {
    background: #1f1f1f;
    .footer_bottom {
      max-width: 1100px;
      margin: auto;
      padding: 15px 0;
    }
  }
}

.links {
  margin: 20px 0;
  display: flex;
  gap: 10px;

  .link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    transition: all 0.3s ease-in-out;
    color: #758393;
    font-family: Inter;
    font-size: 14px;
    cursor: pointer;
  }

  .link:hover {
    background-color: #1760a4;
    color: white;
  }

  .link.active {
    background-color: #1760a4;
    color: white;
}

}

.links_mobile {
  display: none;

  .link_mobile {
    display: none;
  }
}

/* Стили для выпадающего меню на мобильных */
.dropdown {
  position: relative;
  display: inline-block;
  width: 100%;
}

.dropdown-button {
  background-color: #fff;
  color: #333;
  padding: 15px 20px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  width: 100%;
  text-align: left;
  gap: 10px;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #ffffff;
  min-width: 200px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);
  z-index: 1;
  border-radius: 5px;
  overflow: hidden;
  top: 100%;
  left: 0;
  animation: fadeIn 0.3s ease-in;
}

.dropdown-content a {
  color: #333;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  transition: background-color 0.3s ease;
}

.dropdown-content a:hover {
  background-color: #e9f0fb;
}

.dropdown.active .dropdown-content {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dropdown-icon {
  float: right;
  transition: transform 0.3s ease;
}

.dropdown.active .dropdown-icon {
  transform: rotate(180deg);
}

.main {
  padding: 0 20px;
}

@media (max-width: 900px) {
  .page__wrapper {
    .news_items {
      display: grid;
      grid-template-columns: 1fr;

      .news_list {
        grid-template-columns: repeat(3, 1fr);
      }
    }
  }

  .news_right {
    width: initial !important;
  }
  .links {
    display: none;

    .link {
      display: none;
    }
  }

  .links_mobile {
    display: block;
    width: 100%;
  }
}

@media (max-width: 1200px) {
  .page__wrapper {
    .news_items {
      .news_list {
        grid-template-columns: repeat(3, 1fr);
      }
    }
  }
}

@media (max-width: 1024px) {
  .page__wrapper {
    .news_items {
      .news_list {
        grid-template-columns: repeat(2, 1fr);
      }
    }
  }

  .news_detail_title {
    font-size: 24px !important;
  }

  .news_detail_img_description {
    display: flex !important;
    flex-direction: column !important;
  }

  .news_detail_description {
    font-size: 20px !important;
  }

  .news_item {
    display: block;

    .news_item_info {
      display: grid;
    }
  }
}

@media (max-width: 768px) {
  .news_detail {
    .news_detail_img_description_img img {
      width: 300px;
    }
  }

  .page__wrapper {
    .news_items {
      .news_list {
        grid-template-columns: repeat(1, 1fr);
      }
    }
  }
}

/* @media (max-width: 1200px) {
.header {
  padding: 30px 50px;
}
}

@media (max-width: 1024px) {
.header {
  padding: 20px 30px;
}
}

@media (max-width: 768px) {
.header {
  padding: 20px;
}
} */

@media (max-width: 1200px) {
  .footer_desc {
    color: white;
    .footer_top_bg {
      background: #263e6e;

      .footer_top {
        max-width: 1100px;
        margin: auto;
        padding: 20px;
        display: grid;
        gap: 50px;
        grid-template-columns: 1fr;

        .footer_top_1 {
          height: 70px;
          display: flex;
          gap: 20px;
          width: fit-content;

          .footer_top_1_text {
            width: 220px;
          }
        }

        .footer_top_2 {
          display: grid;
          gap: 20px;
          justify-content: start;
          width: 100%;

          .footer_top_2_text {
            width: 220px;
          }
          .footer_top_2_number {
            display: flex;
            flex-direction: column;
            gap: 10px;
            .footer_top_2_number_phone {
              font-size: 40px;
            }
          }
          .footer_top_2_number_phone_whatsapp {
            font-size: 20px;
            text-decoration: underline;
          }
          .footer_top_2_social {
            display: flex;
            flex-direction: column;
            justify-content: start;
            gap: 10px;
            align-items: center;

            .footer_top_2_number_phone {
              display: flex;
              gap: 30px;
            }
            .footer_top_2_number_phone img {
              cursor: pointer;
            }
          }
        }
      }
    }
    .footer_bottom_bg {
      background: #1f1f1f;
      .footer_bottom {
        max-width: 1100px;
        margin: auto;
        padding: 50px;
      }
    }
  }
}

/* Стили для секций */
.info-content > section {
  display: none;
  animation: fadeIn 0.3s ease-in;
}
.info-content > section.active {
  display: block;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Стили для ссылок */
.links a {
  text-decoration: none;
  color: #000;
  transition: all 0.3s ease;
  display: inline-block;
  border-radius: 5px;
}

/* Активная ссылка */
.links a.active .link {
  background-color: #1760a4;
  color: white;
}

/* Стили для выпадающего меню на мобильных */
.dropdown {
  position: relative;
  display: inline-block;
  width: 100%;
}

.dropdown-button {
  color: #333;
  padding: 12px 16px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #ffffff;
  min-width: 200px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  border-radius: 5px;
  overflow: hidden;
  top: 100%;
  left: 0;
  animation: fadeIn 0.3s ease-in;
}

.dropdown-content a {
  color: #333;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  transition: background-color 0.3s ease;
}

.dropdown-content a:hover {
  background-color: #e9f0fb;
}

.dropdown.active .dropdown-content {
  display: block;
}

.dropdown-icon {
  transition: transform 0.3s ease;
}

.dropdown.active .dropdown-icon {
  transform: rotate(180deg);
}

/* Стили для контейнера документов */
.title-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.year-box {
  background: #f0f2f4;
  padding: 15px 20px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.year-box a {
  display: block;
  color: #2a5bd7;
  text-decoration: none;
  margin-bottom: 6px;
  font-size: 16px;
  text-decoration: underline;
}

h1 {
  color: #003366;
  font-size: 24px;
}

table {
  width: 100%;
  border-collapse: collapse;
  background-color: white;
}

thead {
  background-color: #ecf4ff;
  color: #1760a4;
  font-weight: 300;
}

th,
td {
  padding: 10px 15px;
  text-align: left;
  border-bottom: 1px solid #d8e1ef;
  font-size: 16px;
  font-weight: 300;
}

tr:nth-child(even) {
  background: #ecf4ff;
}

table a {
  color: #003366 !important;
  text-decoration: underline !important;
}

.vote-button {
  background-color: #17488b;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
}

.vote-button:hover {
  background-color: #1c65c0;
}

/* Vote Cards Styles */
.vote-cards-container {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
}

.vote-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: relative;
}

.company-label {
  color: #8B9DC3;
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 8px;
}

.company-name {
  margin-bottom: 16px;
}

.company-name a {
  color: #1760a4;
  font-size: 18px;
  font-weight: 500;
  text-decoration: underline;
  line-height: 1.4;
}

.company-name a:hover {
  color: #124b7d;
}

.description-label {
  color: #8B9DC3;
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 8px;
}

.company-description {
  color: #333333;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
  text-align: justify;
}

.vote-button-link {
  display: inline-block;
  text-decoration: none;
}

.vote-button {
  background-color: #1760a4;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
}

.vote-button:hover {
  background-color: #124b7d;
  transform: translateY(-1px);
}

.card-separator {
  height: 1px;
  background: linear-gradient(90deg, transparent, #D4AF37, transparent);
  margin: 20px 0;
  position: relative;
}

.card-separator::before {
  content: '';
  position: absolute;
  left: 50%;
  top: -2px;
  width: 4px;
  height: 4px;
  background-color: #D4AF37;
  border-radius: 50%;
  transform: translateX(-50%);
}

/* Title styling */
.title {
  text-align: center;
  font-size: 32px;
  font-weight: 600;
  color: #1760a4;
  margin-bottom: 32px;
  padding: 0 20px;
}

@media (max-width: 900px) {
  .vote-cards-container {
    padding: 0 16px;
  }

  .vote-card {
    padding: 20px;
    margin-bottom: 16px;
  }

  .title {
    font-size: 28px;
    margin-bottom: 24px;
  }

  .company-name a {
    font-size: 16px;
  }

  .company-description {
    font-size: 15px;
  }

  .vote-button {
    width: 100%;
    padding: 14px 24px;
  }

  td {
    padding: 8px 12px;
    text-align: left;
    border: none;
    border-bottom: 1px solid #eee;
    position: relative;
  }

  td:last-child {
    border-bottom: none;
  }

  td::before {
    content: attr(data-label);
    font-weight: bold;
    display: block;
    color: #1760a4;
    margin-bottom: 4px;
  }

  .vote-button {
    margin-top: 10px;
  }
}
