body {
  font-family: "Geologica";
}

.page__bg {
  background-color: #f0f2f4;
}

.contact_main_wrap {
  display: grid;
  grid-template-columns: 1fr 4fr;
  gap: 20px;
  margin: 20px 0;
  min-height: 50vh;
}
.part-link a{
    display: block;
    margin-left: auto;
    margin-top: 20px;   
}
.contest__btn{
  height: 50px;
}
@media (max-width: 1200px) {
  .contact_main_wrap {
    grid-template-columns: 1fr;
  }
  .part-link a{
    margin-left: 0px; 
  }
}
.navbar_mobile_btns_search{
  display: none;
}
.contact_btns {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  height: fit-content;
  display: grid;
  gap: 10px;

  .contact_btn {
    background: #fff;
    padding: 15px 20px;
    border-radius: 8px;
    font-family: Inter;
    font-size: 14px;
    color: #758393;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;

    img {
      width: fit-content;
      height: fit-content;
      object-fit: cover;
    }

    &:hover {
      color: white;
      background-color: #17488b;
    }
  }
}

.page__wrapper {
  min-height: 800px;
  max-width: 1100px;
  margin: 0 auto;
  font-family: "Geologica";
  overflow-x: hidden;
}

@media (max-width: 1200px) {
  .page__wrapper {
    padding: 30px 50px;
  }
}
@media (max-width: 1024px) {
  .page__wrapper {
    padding: 20px 30px;
  }
}
@media (max-width: 768px) {
  .page__wrapper {
    padding: 20px;
  }
}

.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;
    a {
      display: flex;
      width: 100%;
      height: 100%;
      align-items: center;
      justify-content: center;
    }
  }

  .news_pagination_item.active {
    background-color: #1760a4;
    color: #fff;
  }
}
.page-title {
  font-weight: 500;
  font-size: 48px;
  color: #1760a4;
}
.control-menu-wrap ul {
  display: flex;
  flex-wrap: wrap;
  width: 70vw;
  gap: 10px;
  align-items: center;
  margin-bottom: 30px;
  list-style: none;
  padding-left: 0px;
  a {
    border-radius: 15px;
    border: 1px solid #000000;
    padding: 4px 15px;
    gap: 10px;
    font-weight: 300;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0%;
    vertical-align: middle;
    color: #000000;
    transition: background-color 0.3s ease-in-out;
    cursor: pointer;
    background: #fff;
  }
}
.path-user .control-menu-wrap {
  display: none;
}
.more-info {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  height: 40px;
  width: 250px;
  border: 2px solid #ebc271;
  border-radius: 8px;
  color: #ebc271 !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  cursor: pointer;
  padding: 10px 20px;
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out !important;
}
.more-info:hover {
  background-color: #ebc271;
  color: #fff !important;
}
.success__title,
.premia-title {
  display: flex;
  flex-direction: column;
}

@media (max-width: 768px) {
  .more-info {
    width: 100%;
    text-align: center;
  }

  .success__title,
  .premia-title {
    display: block;
  }
}

@media (max-width: 1200px) {
  .more-info {
    width: 100%;
    text-align: center;
  }
}

.success_item {
  max-width: 450px;
  background-color: #fff;
  display: grid;
  gap: 20px;
  border-radius: 16px;
  padding: 40px;
}

.success_item_img {
  img {
    width: 200px;
    height: 150px;
    object-fit: cover;
    object-position: top;
    border-radius: 12px;
  }
}

.success_item_btn {
  color: #1760a4;
  font-family: Inter;
  font-weight: 500;
  font-size: 17px;
  text-decoration: underline;
  margin-top: 10px;
}

.success_item_content {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #484848;
  font-size: 16px;
}

.success_item_main_wrap {
  display: flex;
  gap: 20px;
}

.success_item_title {
  color: #484848;
  font-size: 20px;
}

.success_item_wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.success_stories_grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1fr 4fr;
  gap: 20px;
}

.success_names {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: fit-content;
}

.success_name {
  height: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: Inter;
  font-size: 14px;
  font-weight: 500;
  color: #758393;
  transition: all 0.3s ease-in-out;
  padding: 0 15px;
  border-radius: 5px;
  img {
    width: 8px;
    height: 8px;
    object-fit: cover;
  }
}

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

.suc_detail_container {
  margin-top: 20px;
  gap: 20px;
  grid-template-columns: 1fr 4fr;
}

.success_wrap {
  display: flex;
  gap: 30px;
}

.success_stories_wrap {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 30px;
}
.lang-dropdown {
  position: relative;
  display: inline-block;
}

.lang-toggle {
  height: 41px;

  display: flex;
  align-items: center;
  gap: 6px;
  background-color: #ebc271;
  border: none;
  border-radius: 999px;
  padding: 6px 14px;
  font-family: sans-serif;
  font-weight: bold;
  font-size: 14px;
  color: white;
  cursor: pointer;
  transition: transform 0.3s ease-in-out;
}
.lang-toggle:hover {
  transform: scale(1.02);
}

.lang-icon {
  font-size: 16px;
  display: flex;
  align-items: baseline;
}

.lang-arrow {
  font-size: 10px;
}

.lang-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 4px;
  background-color: #ebc271;
  border-radius: 8px;
  padding: 4px 0;
  min-width: 100%;
  z-index: 100;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.lang-item {
  display: block;
  padding: 8px 16px;
  color: white;
  text-decoration: none;
  font-size: 14px;
  transition: background-color 0.2s;
}

.lang-item:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.lang-item.active {
  font-weight: bold;
  text-decoration: underline;
}

.go_up a {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 40px;
  height: 40px;
  display: none;
  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;
}

.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;
        width: fit-content;

        .footer_top_1_text {
          width: 220px;
        }
      }

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

        .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;
          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: 15px 0;
    }
  }
}

.page-node-type-reviews {
  article.contextual-region {
    padding: 20px;
    background: #fff;
    border-radius: 20px;
    > div {
      div {
        margin-bottom: 15px;
      }
    }
  }
}
.webform-type-fieldset.form-item {
  padding: 5px;
  border: 0px;
  box-sizing: border-box;
  margin-bottom: 0px;
  legend {
    display: none;
  }
  .fieldset-wrapper {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
  }
  .form-item {
    margin-bottom: 0px;
    flex: 1;
  }
  input[type="text"],
  input[type="tel"],
  input[type="number"],
  input[type="date"],
  input[type="email"],
  select,
  textarea {
    font-weight: 600;
    font-size: 14px;
    padding: 10px;
    border: none;
    background-color: #f8fbff;
    border-radius: 4px;
    outline: none;
    color: #252525;
    flex: 1;
    box-sizing: border-box;
    width: 100%;
  }
  .form-item-request input {
    height: 40px;
  }
}
#edit-dannye {
  .form-item {
    min-width: 150px;
  }
}
.form-item-message {
  padding: 5px;
}
#edit-markupwtsp {
  width: 100%;
  max-width: 280px;
  a {
    width: 100%;
    display: block;
    background: #2cb742;
    text-align: center;
    color: #fff;
    padding-top: 10px;
    padding-bottom: 10px;
    border-radius: 4px;
  }
}
.webform-submission-forma-obratnoy-svyazi-form {
  .webform-button--submit {
    text-align: center;
    -webkit-appearance: none;
    display: inline;
    width: 100%;
    max-width: 280px;
    background: #1760a4;
  }
}

@media (max-width: 1200px) {
  .webform-submission-forma-obratnoy-svyazi-form {
    .webform-button--submit {
      max-width: 100%;
    }
  }

  #edit-markupwtsp {
    max-width: 100%;
  }
  .success_stories_wrap {
    margin-top: 20px;
    grid-template-columns: 1fr;
  }
  .success_wrap {
    display: grid;
    gap: 30px;
  }

  .success_item {
    max-width: initial;
  }
  .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;
      }
    }
  }
}

@media (max-width: 768px) {
  .fieldset-wrapper {
    display: flex;
    gap: 10px;
    flex-direction: column;
  }

  input {
    width: 100%;
  }
}
.contest-details {
  background: white;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border-color);
} 
.page-node-type-news .news_detail_content img{
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: 100%;
}