.choice_programs {
  width: 100%;
  padding: 0 15px;
}
.choice_programs .container {
  padding: 80px 0 60px 0;
}
.choice_programs h2 {
  margin-bottom: 40px;
}
.choice_programs_tubs {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}
.choice_programs_tub {
  padding: 10px 20px;
  background: #ecebeb;
  font-size: 16px;
  font-weight: 600;
  color: #243d3a;
  cursor: pointer;
  transition: all linear 0.2s;
}
.choice_programs_tub_posts {
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 20px;
  display: flex;
  opacity: 0;
  visibility: hidden;
  position: absolute;
}

.choice_programs_tub_item {
  width: calc(100% / 4 - 60px / 4);
  background-color: white;
  box-shadow: 0px 5px 80px rgba(161, 189, 225, 0.21);
  transition: 0.5s all;
}
.choice_programs_tub_img {
  width: 100%;
  position: relative;
  overflow: hidden;
}
.choice_programs_tub_img img {
  width: 100%;
  height: 100%;
  cursor: pointer;
}
.choice_programs_tub_item_popular {
  position: absolute;
  top: 13px;
  right: -32px;
  width: 120px;
  background-color: red;
  transform: rotate(45deg);
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5px 10px;
}
.choice_programs_tub_tag {
  position: absolute;
  bottom: 10px;
  left: 15px;
  background: #9c7130;
  opacity: 0.9;
  border-radius: 20px 0px;
  padding: 10px;
  color: white;
  font-weight: 700;
  font-size: 12px;
}

.choice_programs_tub_item_content a {
  font-size: 16px;
  font-weight: 700;
  line-height: 22px;
  color: #2d4744;
  margin-bottom: 8px;
  display: block;
  transition: 0.5s color;
  text-decoration: none;
}
.choice_programs_tub_item_content p {
  font-weight: 500;
  font-size: 14px;
  line-height: 130%;
  color: #6c6c6c;
  margin-bottom: 4px;
}
.choice_programs_tub_item_content p span {
  font-size: 14px;
  font-weight: 600;
  line-height: 18px;
  color: #10181b;
}
.choice_programs_tub_item_content {
  padding: 15px 15px 30px 15px;
}
.choice_programs_tub_active {
  background-color: #3e635f;
  color: #fff;
}
.choice_programs_tub_posts_active {
  opacity: 1;
  visibility: visible;
  position: relative;
}
.choice_programs_mob_btn::after {
  content: "";
  width: 5px;
  height: 5px;
  display: block;
  border-top: 2px solid white;
  border-right: 2px solid white;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: rotate(135deg) translate(-50%, 50%);
}
.choice_programs_mob_btn {
  max-width: 200px;
  width: 100%;
  padding: 10px 15px 10px 25px;
  background-color: #3e635f;
  font-weight: 600;
  font-size: 16px;
  line-height: 17px;
  color: white;
  margin: 0px auto 30px;
  display: none;
  position: relative;
  text-align: center;
}
.choice_programs_tubs_close {
  display: none;
}
.choice_programs_btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-weight: 600;
  font-size: calc(15px + 3 * ((100vw - 370px) / (1920 - 370)));
  line-height: 22px;
  color: #243d3a;
  margin-top: 40px;
  text-decoration: none;
}
@media (hover: hover) {
  .choice_programs_tub_tag {
    backdrop-filter: blur(300px);
  }
  .choice_programs_tub_item_content a:hover {
    color: #967340;
  }
  .choice_programs_btn:hover {
    text-decoration: underline;
  }
  .choice_programs_tub:hover {
    background: #cecece;
  }
  .choice_programs_tub_active:hover {
    background-color: #3e635f;
    color: #fff;
  }
  .choice_programs_tub_item:hover {
    box-shadow: 0px 4px 20px rgba(4, 4, 4, 0.25);
  }
}
@media screen and (max-width: 1100px) {
  .choice_programs_tub_item {
    width: calc(100% / 3 - 40px / 3);
  }
  .choice_programs_tub_posts .choice_programs_tub_item:last-of-type {
    display: none;
  }
}
@media screen and (max-width: 800px) {
  .choice_programs h2 {
    margin-bottom: 30px;
  }
  .choice_programs_btn {
    margin-top: 30px;
  }
  .choice_programs .container {
    padding: 60px 0 40px 0;
  }
  .choice_programs_tub_item {
    width: calc(100% / 2 - 20px / 2);
  }
  .choice_programs_tub_posts .choice_programs_tub_item:last-of-type {
    display: block;
  }
  .choice_programs_mob_btn {
    display: block;
  }
  .choice_programs_tubs_bg {
    background-color: rgb(62 99 95 / 80%);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 3;
    align-items: center;
    justify-content: center;
    display: none;
  }
  .choice_programs_tubs_bg_active {
    display: flex;
  }
  .choice_programs_tubs {
    flex-direction: column;
    background-color: white;
    padding: 40px 30px;
    position: relative;
  }

  .choice_programs_tub {
    width: 100%;
    text-align: center;
  }
  .choice_programs_tubs_close {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 5px;
    top: 5px;
    width: 20px;
    height: 20px;
  }
  .choice_programs_tubs_close svg {
    width: 100%;
    height: 100%;
  }
  .choice_programs_tubs_close path {
    fill: #3e635f;
  }
}
@media screen and (max-width: 600px) {
  .choice_programs .container {
    padding: 40px 0 30px 0;
  }
  .choice_programs_tub_item {
    width: 100%;
  }
}
