a {
  text-decoration: none;
  /* color: black; */
}

img {
  max-height: 100%;
  /* display: block; */
  max-width: 100%;
}

.any_step_cat {
  /* background-color: var(--green); */
  color: #335B4C;
  margin-top: 10px;
  border-radius: 6px;
  /* padding: 0 10px; */
  width: 55%;
  opacity: 0.4;
  text-align: left;
}

.any_step a {
  display: flex;
  flex-direction: column;
  height: 100%;

}

.news-box {
  display: flex;
  justify-content: space-between;

}

.publication__info-nav-bar {
  padding-left: 5px;
  padding-bottom: 15px;
}

.nav-bar {
  width: 28%;
  margin-top: 30px;
  margin-bottom: 30px;
  background: var(--grey);
  padding: 10px;
}

.nav-bar__img {
  object-fit: cover;
  height: 160px;
  width: 100%;
}

.nav-bar__title {
  font-size: 18px;
  padding: 15px;
}

.nav-bar__title a {
  color: inherit;
}

.nav-bar__item {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
}

.nav-bar__wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 0;
}

.news__wallet {
  display: grid;
  grid-template-columns: 40% 30% 30%;
  width: 100%;
  position: relative;
  font-size: 18px;
  padding-bottom: 20px;
  border-bottom: 1px solid grey;
  padding-top: 40px;
}

.publication__category-nav-bar .category-title {
  color: var(--green);
}

.news__wallet .button {
  position: absolute;
  bottom: -20px;
  left: 43%;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  width: 240px;
  max-width: 100%;
  height: 30px;
  margin: 0 auto;
  padding: 0 20px;
  background: #ffda50;
  box-shadow: inset 0 -1px 0 0 rgba(0, 0, 0, 0);
  color: #333;
  font-size: 13px;
  font-family: "Open Sans Condensed", franklingothicmedicondcRg, Arial,
    Helvetica, sans-serif;
  line-height: 30px;
  border: 0;
  border-radius: 2px;
  display: block;
  box-sizing: border-box;
  outline: 0;
  /* position: relative; */
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  text-shadow: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  font-weight: 700;
}

.main_news .steps_row {
  flex-wrap: inherit;
  justify-content: space-between;
}

.main_news .any_step_wrap {
  width: 100%;
  padding: 0 10px;
}

.main_news .any_step {
  width: 100%;
}

.any_step_txt {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.main_news .any_step_txt {
  background: var(--grey);
  padding: 24px 10px;
}

.main_news a.sign_btn {
  margin-left: 0;
}

.news_btn {
  margin: 0 auto;
  width: 205px;
  text-align: center;
  margin-bottom: 20px;
}

.main_news .any_step_img {
  height: 250px;
}

.all_news .steps_row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 -10px;
  max-height: 0;
  overflow: hidden;
  transition: all .5s;
}

.all_news .active {
  max-height: 10000px;
}

.open--all_news {
  cursor: pointer;
  margin-bottom: 10px;
}

.category_news .any_step_wrap {
  margin-bottom: 25px;
}

.category_news .any_step_title {
  margin: 12px 0px 23px 0px;
}

.category_news .any_step_txt {
  padding: 10px 10px;
  background: var(--grey);
  justify-content: normal;
}

.category_news .any_step {
  width: 100%;
}

.category_news .any_step a {
  height: 100%;
}

.category_news .any_step_img img {
  object-fit: cover;
}



/*------------------------ first block -------------------------*/
.news__wallet-main {
  border-right: 1px solid grey;
}

.wallet-main--img {
  padding-bottom: 20px;
}

.news__wallet img {
  height: auto;
}

.wallet-main--contentctn {
  display: flex;
  gap: 15px;
  width: 100%;
}

.wallet-main--title {
  width: 50%;
}

.wallet-main--title .title__type {
  font-weight: 700;
  color: gray;
  text-transform: uppercase;
  padding-bottom: 30px;
}

.wallet-main--title .title__main {
  color: #004d99;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  padding-bottom: 30px;
}

.wallet-main--title .title__additional {
  display: flex;
  font-size: 15px;
}

.wallet-main--title .title__additional--saw {
  margin-right: 10px;
}

.wallet-main--description {
  width: 50%;
}

/*------------- second block--------------- */
.news__wallet-submain {
  padding: 0 20px 5px;
  border-right: 1px solid grey;
}

.wallet-submain--img {
  padding-bottom: 20px;
}

.wallet-submain--contentctn {
  width: 100%;
}

.wallet-submain--title {
  width: 100%;
  margin-bottom: 10px;
}

.wallet-submain--title .title__type {
  color: gray;
  text-transform: uppercase;
  font-weight: 700;
  padding-bottom: 10px;
}

.wallet-submain--title .title__main {
  color: #004d99;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  padding-bottom: 10px;
}

.wallet-submain--title .title__additional {
  display: flex;
  font-size: 15px;
}

.wallet-submain--title .title__additional--saw {
  margin-right: 10px;
}

.wallet-submain--description {
  width: 100%;
}

/* ---------------- third block ----------------------- */

.news__wallet-old {
  padding-left: 20px;
  display: flex;
  height: 100%;
  flex-direction: column;
  /* justify-content: space-between; */
  align-items: center;
}

.wallet-old--item {
  height: 100%;
  display: flex;
  padding-top: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid grey;
}

.wallet-old--item:first-child {
  border-top: none;
  padding-top: 0;
}

.wallet-old--item:last-child {
  border-bottom: none;
}

.old__item-img {
  margin-right: 10px
}

.old__item-content {}

.old__item-content--title {
  color: #004d99;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  padding-bottom: 10px;
}

.old__item-content--additional {
  display: flex;
  font-size: 12px;
}

.old__additional--saw {
  margin-right: 10px;
}

@media (max-width: 1000px) {

  .wallet-main--description,
  .wallet-submain--description {
    display: none;
  }

  .wallet-main--title {
    width: 100%;
  }

  .news__wallet {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .news__wallet-main,
  .news__wallet-submain,
  .news__wallet-old {
    border: none;
    padding: 0 5px;
  }

  .news__wallet-main {
    margin-bottom: 20px;
  }

  .news__wallet-submain {
    display: flex;
    gap: 5px;
    margin-bottom: 15px;

  }

  .wallet-submain--img,
  .old__item-img {
    min-width: 150px;
    max-width: 30%;
    /* height: 52px; */
    padding: 0;
  }

  .wallet-submain--img img,
  .old__item-img img {
    width: 100%;
  }

  .wallet-submain--title {
    width: auto;
    margin: 0;
  }

  .wallet-main--img {
    padding-bottom: 10px;
  }

  .wallet-main--title .title__type {
    padding-bottom: 10px;
  }

  .wallet-main--title .title__main {
    padding-bottom: 10px;
  }

  .wallet-submain--title .title__type {
    display: none;
  }

  .wallet-old--item {
    width: 100%;
    border: none;
    padding: 0;
    margin-bottom: 15px;
  }

  .news__wallet .button {
    position: static;
    width: 100%;
  }
}

.grid {
  display: grid;
  grid-template-rows: auto;
  grid-gap: 16px;
}

.grid a {
  color: inherit;
}

.grid__item {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.grid__body {
  border-radius: 0 16px 16px 0;
  word-break: break-word;
  padding: 24px 16px 0px 24px;
  background: var(--grey);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.grid__link {
  text-decoration: none;
}

.grid__h2 {
  font-weight: 700;
  font-size: 18px;
  line-height: 24px;
  margin-bottom: 16px;
}

.grid__post {
  font-size: 14px;
  line-height: 24px;
  font-weight: 400;
  margin-bottom: 16px;
}

.grid__footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.grid__head img {
  height: 100%;
  width: 100%;
}

.container_news .steps_row {
  flex-wrap: inherit;
}

.container_news .news__wallet {
  padding-top: 0;
}

.title__additional {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.economic_news {
  margin-top: 30px;
}

.top_news {
  padding-top: 54px;
}

.main_news .any_step_img img {
  object-fit: cover;
}

.top_news h2 {
  font-weight: 500;
  font-size: 32px;
  line-height: 44px;
}

.top_news .steps_row {
  margin: 0 -10px;
}

.top_news .any_step_txt {
  background: var(--grey);
  padding: 0 10px 24px 10px;
  border-bottom-left-radius: 26px;
  border-bottom-right-radius: 26px;
}

.all_news .any_step_txt {
  border-bottom-left-radius: 26px;
  border-bottom-right-radius: 26px;
  padding: 5px 10px 24px 10px;
}


.top_news .any_step_wrap {
  padding: 0 10px;
  width: 100%;
  margin-bottom: 20px;
}

.pagination_news {
  display: flex;
  margin: 0 auto;
  margin-top: 20px;
  margin-bottom: 20px;
  align-items: center;
  justify-content: space-between;
  width: 200px;
}

.pagination_news a {
  color: var(--bl);
}

.publication__info {
  display: flex;
  justify-content: space-between;
  width: 100px;
  flex-direction: column-reverse;
}

.pagination_news .current {
  text-decoration: underline;
}

.category_title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  margin: 50px 0px 30px 0px;
}

.publication__content {
  width: 70%;
  margin-top: 30px;
  margin-bottom: 30px;
  background: var(--grey);
  padding: 2% 6%;
}

.publication__content img {
  height: fit-content;
}

.publication__content h1 {
  font-size: 2.3rem;
}

.publication__title {
  color: var(--bl);
}

.wrapper__img img {
  border-radius: 8px;
}

.publication__content p {
  font-size: 18px;
  line-height: 140%;
  margin-bottom: 20px;
}

.our-news_btn {
  color: var(--green);
  font-size: 18px;
}

@media (max-width: 600px) {
  .grid .grid__item {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto;
  }

  .publication__content h1 {
    font-size: 1.5rem;
    line-height: 25px;
  }

  .publication__top a {
    font-size: 1.1rem;
    line-height: 20px;
    text-align: center;
  }
}

@media (max-width: 992px) {
  .top_news .steps_row {
    flex-wrap: wrap;
  }

  .nav-bar {
    display: none;
  }

  .all_news .steps_row {
    grid-template-columns: 1fr;
  }

  .publication__content {
    width: 100%;
  }
}

@media (min-width: 600px) {
  .category_news .any_step_wrap {
    width: 100%;
  }

  .category_news .any_step {
    flex-direction: row;
  }

  .category_news .any_step a {
    width: 100%;
  }

  .category_news .any_step_img {
    height: 100%;
  }

}

@media (min-width: 992px) {
  .category_news .any_step {
    height: 300px;
  }
}

.uvedm {
  font-size: 20px;
  color: red !important;
  background-color: transparent !important;
  font-weight: 700;
  padding: 20px 0;
}

.economic_news .any_step {
  color: black;
}

.news-cat__wrap {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 15px;
}


.button__block-solid {
  position: relative;
  margin: 15px 0px;
}

.button__block-solid hr {
  position: absolute;
  top: 15px;
  width: 100%;
  z-index: -10;
}

.economic_news .any_step_img {
  height: 180px;
}

.economic_news .any_step_title {
  font-size: 20px;
  line-height: 26px;
}

.economic_news .any_step_img img {
  object-fit: cover;
}

.economic_news .any_step_desc {
  font-size: 15px;
  line-height: 22px;
}

.top_news .any_step_img img {
  object-fit: cover;
}

.economic_news .button {

  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  width: 240px;
  max-width: 100%;
  height: 30px;
  margin: 0 auto;
  padding: 0 20px;
  background: #ffda50;
  box-shadow: inset 0 -1px 0 0 rgba(0, 0, 0, 0);
  color: #333;
  font-size: 13px;
  font-family: "Open Sans Condensed", franklingothicmedicondcRg, Arial, Helvetica, sans-serif;
  line-height: 30px;
  border: 0;
  border-radius: 2px;
  display: block;
  box-sizing: border-box;
  outline: 0;
  /* position: relative; */
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  text-shadow: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  font-weight: 700;
}

.economic_news .any_step_txt {
  background: var(--grey);
  padding: 0px 5px 10px 10px;
  border-bottom-left-radius: 26px;
  border-bottom-right-radius: 26px;
}

@media (max-width:1000px) {
  .news-cat__wrap {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
  }

  .top_news .steps_row {
    display: grid;
    grid-template-columns: 1fr 1fr;

  }
}

@media (max-width:768px) {
  .news-cat__wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }

  .economic_news .any_step_cat {
    width: 100%;
  }

  .top_news .steps_row {
    display: grid;
    grid-template-columns: 1fr;

  }
}

@media (max-width:500px) {
  .news-cat__wrap {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .economic_news .any_step_title {
    font-size: 24px;
    line-height: 26px;
  }

  .economic_news .any_step_desc {
    font-size: 16px;
    line-height: 22px;
  }

  .economic_news .any_step_txt {
    background: var(--grey);
    padding: 0 10px 24px 10px;
    border-bottom-left-radius: 26px;
    border-bottom-right-radius: 26px;
  }

}