
@media (max-width: 768px) {
  .footer__main {
    flex-direction: column;
  }
  .footer__inner {
    flex-direction: column;
    gap: 50px;
  }
  .footer__inner .footer-logo-wrapper {
    width: 315px;
  }
  .footer__inner .footer-nav {
    justify-content: space-between;
  }
  .footer__inner .footer-nav__list:last-child {
    gap: 35px;
  }
  .footer__bottom {
    flex-direction: column-reverse;
    justify-content: unset;
    gap: 40px;
  }
  .footer__links {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .footer__links a:last-child {
    margin-left: 0;
  }
  .notfound__inner {
    padding: 150px 0;
  }
  .notfound__row {
    margin-top: 20px;
    gap: 60px;
    flex-direction: column;
    justify-content: unset;
    align-items: flex-start;
  }
  .notfound .container p {
    font-size: 14px;
    text-align: left;
  }
  .notfound .container .button {
    max-width: unset;
  }
  .detail-page__top {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .detail-page .title {
    font-size: 24px;
  }
  .detail-page__type {
    margin-right: 20px;
  }
  .detail-page__line {
    margin-left: 20px;
  }
  .detail-page__main:has(.detail-page__block:only-child) .detail-page__gallery {
    gap: 16px;
  }
  .detail-page__main:has(.detail-page__block:only-child) .detail-page__gallery-item {
    width: 100%;
    height: 300px;
  }
  .detail-page__main {
    margin-top: 30px;
  }
  .detail-page__title {
    font-size: 20px;
  }
  .detail-page__block {
    gap: 16px;
    margin-bottom: 30px;
  }
  .detail-page__block:has(.person) {
    gap: 20px;
  }
  .detail-page__block.horizontal .detail-page__image {
    height: clamp(180px, 50vw, 350px);
  }
  .detail-page__img-label {
    font-size: 14px;
  }
  .detail-page__subtitle {
    font-size: 24px;
  }
  .detail-page__text {
    font-size: 15px;
    line-height: 150%;
  }
  .detail-page__gallery {
    gap: 12px;
  }
  .detail-page__gallery-item {
    height: 110px;
    width: calc(50% - 6px);
  }
  .detail-page__bottom {
    flex-wrap: wrap;
  }
  .detail-page__bottom .link-arrow {
    min-width: unset;
    width: calc(50% - 10px);
  }
  .detail-page__bottom .link-default {
    order: 3;
  }
  .detail-page__slider {
    margin: 0 calc(clamp(20px, 3vw, 24px) * -1);
    width: calc(100% + clamp(20px, 3vw, 24px) + clamp(20px, 3vw, 24px));
  }
  .detail-page__slider .swiper-pagination {
    margin-top: 12px;
  }
  .detail-page__slider .swiper-wrapper {
    height: clamp(280px, 50vw, 350px);
  }
  .form {
    gap: 16px;
    flex-direction: column;
  }
  .form__input-wrapper {
    width: 100%;
  }
  .form__input {
    width: 100%;
    padding: 20px;
  }
  .header-nav-mobile__list {
    padding-top: 155px;
  }
  .header-nav-mobile__list li {
    font-size: 20px;
    margin-bottom: 30px;
  }
  .header-nav-mobile__bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
    margin-top: 80px;
  }
  .header {
    height: 60px;
  }
  .header__logo {
    max-width: 184px;
  }
  .header__burger {
    width: 50px;
    height: 28px;
  }
  .header__burger span {
    width: 50px;
  }
  .header__burger span:nth-child(3) {
    top: 27px;
  }
  .analytics .flex-row {
    margin-top: 24px;
  }
  .articles .flex-row {
    margin-top: 24px;
  }
  .articles .pagination {
    margin-top: 40px;
  }
  .articles .cornet-top {
    position: relative;
    width: 100%;
  }
  .articles .cornet-top:before, .articles .cornet-top:after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    background: var(--black);
    opacity: 0.3;
  }
  .articles .cornet-top:before {
    height: 30px;
    width: 1px;
  }
  .articles .cornet-top:after {
    width: 30px;
    height: 1px;
  }
  .articles__top {
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
  }
  .articles__top:before, .articles__top:after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    background: var(--black);
    opacity: 0.3;
  }
  .articles__top:before {
    height: 30px;
    width: 1px;
  }
  .articles__top:after {
    width: 30px;
    height: 1px;
  }
  .articles__top .articles__title {
    margin-bottom: 23px;
  }
  .articles__top .articles__title:last-child {
    margin-bottom: 0;
  }
  .articles__title {
    font-size: 30px;
  }
  .articles__title {
    font-size: 16px;
  }
  .banner.container {
    margin-top: 0;
  }
  .banner__slider {
    margin: 0 calc(clamp(20px, 3vw, 24px) * -1);
    width: calc(100% + clamp(20px, 3vw, 24px) + clamp(20px, 3vw, 24px));
  }
  .banner__tags {
    gap: 4px;
    flex-wrap: wrap;
    left: 20px;
    bottom: 20px;
    right: 122px;
  }
  .banner__title {
    left: 20px;
    right: 20px;
    bottom: 102px;
    font-size: 24px;
  }
  .banner__side {
    gap: 30px;
    margin-top: 30px;
  }
  .banner__side .item {
    gap: 12px;
  }
  .banner__side .item__title {
    font-size: 20px;
  }
  .banner .js-swiper-controls {
    right: 20px;
    bottom: 20px;
  }
  .events .flex-row {
    margin-top: 24px;
  }
  .events .pagination {
    margin-top: 40px;
  }
  .interview .flex-row {
    margin-top: 24px;
  }
  .popup-excurs .container .button {
    max-width: unset;
  }
  .popup-excurs .container {
    background-image: none;
  }
  .popup-excurs .container .form {
    margin-top: 20px;
  }
  .popup-excurs__subtitle {
    margin-top: 16px;
  }
  .popup-journal__title.title {
    font-size: 24px;
  }
  .popup-journal__subtitle {
    margin-top: 16px;
  }
  .popup-success .container {
    padding: 40px 24px;
  }
  .breadcrumbs {
    margin-bottom: 50px;
  }
  .card__title {
    font-size: 20px;
  }
  .card__title {
    min-height: 40px;
    margin-bottom: 12px;
  }
  .flex-row {
    gap: 30px;
  }
  .text-wrapper_accent {
    font-size: 16px;
    line-height: 24px;
  }
  .title, h1 {
    font-size: 30px;
  }
  .block-mt {
    margin-top: 60px;
  }
  .block-mb {
    margin-bottom: 60px;
  }
  .block-pt {
    padding-top: 50px;
  }
  .block-pb {
    padding-bottom: 60px;
  }
  main {
    padding-bottom: 40px;
  }
  .fancy-gallery .fancybox-navigation .fancybox-button[disabled] {
    opacity: 0.4;
  }
  .fancy-gallery .button-next, .fancy-gallery .button-prev {
    top: calc(50% - 16px);
  }
  .fancy-gallery .button-next[disabled], .fancy-gallery .button-prev[disabled] {
    opacity: 0.4;
  }
  .fancy-gallery .button-next {
    right: 20px;
  }
  .fancy-gallery .button-prev {
    left: 20px;
  }
  .link-telegram {
    display: none;
  }
  .tag {
    font-size: 14px;
  }
}