@media (max-width: 1400px) {
  /* .social_header a {
    margin: 0 12px;
  } */
  .search_header {
    width: 70px;
  }
  .secret_header {
    width: 80px;
  }
  .logo {
    max-width: 120px;
    padding-right: 18px;
  }
  .menu_secret {
    margin-bottom: 0;
  }
}
@media (max-width: 1200px) {
  .container_header_content {
    height: 64px;
  }
  .logo {
    max-width: 90px;
    padding-right: 15px;
  }
  /* .social_header a {
    margin: 0 8px;
  } */
  .social_header {
    gap: 0.833vw;
    padding: 0 10px;
  }
  .search_header {
    width: 56px;
  }
  .secret_header {
    width: 68px;
  }
  .nav_header .menu a {
    padding: 5px;
  }
  .search_header .search__button {
    padding: 5px;
  }
  .popup_secret .image-text .text p,
  .popup_secret .image-text .text h2,
  .slide__content .text h3,
  .slide__content .text p,
  .card__content h3,
  .card__content p,
  .banner__content h3,
  .banner__content p {
    font-size: 19px;
    line-height: 26px;
  }
  .banner_fluid {
    height: auto;
    padding: 40px 15px;
  }
  .subscribe__image {
    padding-right: 10px;
  }
  .subscribe__content {
    padding-left: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    row-gap: 20px;
  }
  .button_subscribe {
    padding: 12px 20px;
  }
  .popup .subscribe__title,
  .subscribe__title {
    font-size: 21px;
    line-height: 26px;
  }
  .subscribe__description {
    font-size: 14px;
    line-height: 21px;
  }
  .footer__site_description {
    max-width: 90%;
  }
  .secret .column {
    padding-left: 20px;
    padding-right: 20px;
  }
  .nav_secret li {
    margin-bottom: 12px;
  }
  .nav_secret li:last-child {
    margin-bottom: 0;
  }
  .nav_secret a {
    font-size: 21px;
    line-height: 21px;
  }
  .secret__menu {
    margin-bottom: 40px;
  }
  .section_secret .image {
    margin-bottom: 30px;
  }
  .popup__close {
    top: 24px;
    left: 20px;
  }
  .popup {
    padding: 70px 0 50px;
  }
  .section_secret .title {
    margin-bottom: 24px;
  }
  .popup_secret .subscribe__form {
    margin-top: 0;
  }
}
@media (max-width: 992px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
  .container_header_content {
    flex-wrap: wrap;
  }
  .nav_header {
    padding: 0;
    width: 100%;
    order: 3;
    margin: 32px 0 5px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    scrollbar-color: #e0e0e0 #fafafa;
  }
  .container_header_content > .item {
    border-right: none;
  }
  .header__content {
    border-top: none;
    border-left: none;
    border-right: none;
    padding-top: 28px;
  }
  .nav_header .menu {
    justify-content: flex-start;
  }
  .nav_header .menu a {
    padding: 10px 0;
    font-size: 17px;
    font-weight: 500;
    line-height: 17px;
  }
  .nav_header .menu li:first-child {
    margin-left: 0 !important;
  }
  .nav_header .menu li:last-child {
    margin-right: 0 !important;
  }
  .nav_header .menu li {
    margin: 0 11px;
  }
  .container_header_content {
    height: auto;
  }
  .logo.logo_header {
    max-width: 143px;
    padding-right: 0;
  }
  .secret_header {
    width: auto;
  }
  .secret__button_mobile {
    width: 27px;
    height: 23px;
    flex-direction: column;
    justify-content: space-between;
  }
  .secret__button_mobile .line {
    height: 5px;
    width: 100%;
    background-color: #000;
  }
  .popup__close {
    top: 24px;
    left: 30px;
  }
  .slide__content {
    top: 18px;
    left: 24px;
    width: 60%;
  }
  .slide__content .text .text__top {
    margin-bottom: 8px;
  }
  .slick-dots {
    bottom: 18px;
    left: 24px;
  }
  .card__content h3,
  .card__content p {
    font-size: 16px;
    line-height: 20px;
  }
  .card_post {
    padding: 18px;
  }
  .footer__site_description {
    max-width: 100%;
  }
  .widget__list_posts .image {
    display: none;
  }
  .widget_leight .widget__list_posts li {
    padding: 8px 0 15px;
  }
  .widget__content {
    padding: 0 24px;
  }
  .widget_footer {
    padding: 12px;
  }
  .widget_dark .text__top {
    margin-bottom: 10px;
  }
  .widget_dark .widget__list_posts li {
    padding: 10px 0 15px;
  }
}
@media (max-width: 768px) {
  /* .container {
    min-width: 380px;
  } */
  /* Возвращает в мобилке футер, но его нужно править */
  /* .d-md-block {
    display: block !important;
  } */
  .popup__close {
    top: 20px;
    left: auto;
    right: 20px;
  }
  .section_secret .title h5 {
    font-size: 11px;
    line-height: 11px;
  }
  .secret__menu {
    margin-bottom: 30px;
  }
  .section_secret .image {
    margin-bottom: 34px;
  }
  .popup .subscribe__description {
    font-size: 11px;
    font-weight: 300;
    line-height: 15px;
  }
  .input_subscribe {
    font-size: 10px;
    font-weight: 300;
  }
  .button_subscribe {
    padding: 6px 36px;
    font-size: 10px;
    font-weight: 500;
    line-height: 10px;
  }
  .form__content_subscribe {
    padding: 7px;
  }
  .popup_dark .contact {
    opacity: 0.5;
  }
  .contact__title {
    font-size: 11px;
    color: #fff;
  }
  .contact__text a {
    color: #fff;
    font-size: 11px;
  }
  .secret .column {
    padding-left: 10px;
    padding-right: 10px;
  }
  .subscribe__content {
    row-gap: 30px;
  }
  .popup_secret .subscribe {
    margin-bottom: 45px;
  }
  .content {
    flex-grow: 1;
    padding: 0;
  }
  .widget {
    margin-bottom: 0;
    overflow-x: auto;
    width: auto;
    scrollbar-width: thin;
  }
  .widget.widget_leight {
    scrollbar-color: #e0e0e0 #fafafa;
  }
  .widget.widget_dark {
    scrollbar-color: #5f5f5f #a1a1a1;
  }
  .widget__title {
    display: none;
  }
  .widget_leight {
    border-right: none;
    border-left: none;
  }
  .widget__content {
    padding: 0 10px;
  }
  ul.widget__list_posts {
    display: flex;
    flex-wrap: wrap;
    min-width: 600px;
  }
  ul.widget__list_posts li {
    width: 50%;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  .widget_footer {
    padding: 20px;
    text-align: left;
  }
  .widget_dark .widget__list_posts h5,
  .widget_leight .widget__list_posts h5 {
    font-size: 16px;
    font-weight: 400;
    line-height: 21px;
  }
  .widget_footer a {
    font-size: 11px;
    font-weight: 400;
    line-height: 11px;
  }
  .widget_dark .text__top,
  .widget_leight .text__top {
    margin-bottom: 12px;
  }
  .widget_leight .widget__list_posts li,
  .widget_dark .widget__list_posts li {
    padding: 15px 0 10px;
    border-bottom: none;
  }
  .slide_mobile .slide__image {
    display: none;
  }
  .slide_mobile .slide__content {
    top: auto;
    left: 20px;
    right: 20px;
    bottom: 36px;
    width: auto;
  }
  .slide.slide_mobile::after {
    width: 100%;
    height: 70%;
    top: auto;
    bottom: 0;
    background-image: linear-gradient(to top, #000, transparent);
    opacity: 0.6;
  }
  .slick-dots {
    bottom: 18px;
    left: 20px;
  }
  .slide__content .text h3,
  .slide__content .text p {
    font-size: 22px;
    line-height: 26px;
  }
  .slide__content .text .text__top {
    margin-bottom: 12px;
  }
  .image-text {
    padding: 22px 0 26px;
    margin: 26px 0;
    border-top: 1px solid #f6f6f6;
    border-bottom: 1px solid #f6f6f6;
  }
  .image-text .text {
    padding-top: 0;
  }
  .image-text .text .text__top {
    margin-bottom: 14px;
  }
  .image-text h2 {
    font-size: 18px;
    font-weight: 500;
    line-height: 24px;
  }
  .image-text p {
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
    margin-bottom: 8px;
  }
  a.link_category {
    font-size: 9px;
    font-weight: 400;
    line-height: 9px;
    padding: 4px 7px 3px;
  }
  .card_post.card_line {
    width: 255px;
    height: calc(255px * 1.33);
    min-height: auto;
  }
  .cards-line {
    margin-left: -10px;
    margin-right: -10px;
  }
  .cards-line .card {
    margin: 0 10px;
  }
  .card_post {
    border-radius: 8px;
    padding: 24px 24px 18px;
    box-shadow: none;
  }
  .card__content h3,
  .card__content p {
    font-size: 20px;
    line-height: 20px;
  }
  .container_cards_line {
    margin-left: 20px;
    padding-bottom: 0;
    margin-bottom: 0;
  }
  .article_spec {
    display: flex;
    flex-wrap: wrap;
  }
  .article_spec .image {
    width: 40%;
    padding-right: 15px;
  }
  .article_spec .text {
    width: 60%;
  }
  .article_spec .link_more {
    width: 100%;
    padding: 70px 0 0;
  }
  .article_spec .link_more a {
    font-family: var(--font-link);
    font-size: 12px;
    font-weight: 400;
    line-height: 12px;
    letter-spacing: 0.11em;
    color: #927cc1;
    text-transform: uppercase;
    text-decoration: underline;
  }
  a.link_category.link_category_special {
    font-size: 9px;
    font-weight: 400;
    line-height: 9px;
    border: none;
  }
  .text__top .link_category {
    margin-right: 2px;
  }
  .cards_categories .row {
    row-gap: 20px;
    margin-left: -10px;
    margin-right: -10px;
  }
  .cards_categories .col-6 {
    padding: 0 10px;
  }
  .card_category {
    padding: 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .card_category .image {
    height: 70%;
    margin-left: auto;
  }
  .card_category .image img {
    height: 100%;
    width: auto;
  }
  .card_category .link {
    font-family: var(--font-link);
    font-size: 11px;
    font-weight: 500;
    line-height: 11px;
    letter-spacing: -0.01em;
    color: #00000099;
    text-transform: uppercase;
  }
  .slider_news .slick-dots {
    left: auto;
    right: 20px;
  }
  .slider_news .slick-dots button {
    margin-right: 0;
    margin-left: 8px;
  }
  .slider_news .slide__content {
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 44px;
  }
  .slider_news .slide__content .text {
    display: flex;
    height: 100%;
    flex-direction: column;
    justify-content: space-between;
  }
  .slider_news .slide__content .text h3 {
    font-size: 23px;
    font-weight: 600;
    line-height: 26px;
  }
  .slider_news .slide.slide_mobile::after {
    width: 100%;
    height: 100%;
    top: 0;
    bottom: 0;
    background-image: linear-gradient(to top, #cd7979, #cd7979);
    opacity: 0.4;
  }
  .image-text.article_dark {
    position: relative;
    padding: 0;
    margin: 0;
    border: none;
  }
  .image-text.article_dark::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 40%;
    background-image: linear-gradient(to top, transparent, #000);
    opacity: 0.6;
    z-index: 5;
  }
  .image-text.article_dark .text {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    z-index: 9;
  }
  .image-text.article_dark .link_category {
    font-size: 9px;
    font-weight: 400;
    line-height: 9px;
    letter-spacing: 0.1em;
    color: #fff;
  }
  .image-text.article_dark h2 {
    font-size: 23px;
    font-weight: 500;
    line-height: 26px;
    color: #fff !important;
  }
  .image-text.article_dark p {
    font-size: 23px;
    font-weight: 400;
    line-height: 26px;
    color: #fff !important;
  }
  .banner_fluid {
    height: auto;
    padding: 20px 0 54px;
  }
  .banner_fluid .row {
    margin-left: -10px;
    margin-right: -10px;
  }
  .banner_fluid .col-12 {
    padding-left: 10px;
    padding-right: 10px;
  }
  .banner_fluid .banner__content {
    display: block;
    height: auto;
    margin-bottom: 54px;
  }
  .banner_fluid .banner__links {
    margin-bottom: 12px;
  }
  .banner__content h3,
  .banner__content p {
    font-size: 23px;
    line-height: 26px;
  }
  .banner__content a.link_category {
    font-size: 9px;
    font-weight: 400;
    line-height: 9px;
    color: #fff;
  }
  .banner_fluid .image img {
    width: 100%;
    height: auto;
  }
  .download-more {
    padding: 36px 0;
  }
  .download-more__button .button_download_more {
    font-size: 11px;
    font-weight: 500;
    line-height: 11px;
  }
}
@media (max-width: 576px) {
}
