@media (max-width: 1400px) {
  .container {
    padding: 0 20px;
  }
  .hero-follow-us .row {
    gap: 120px;
    padding: 110px 100px;
  }
}
@media screen and (max-width: 1200px) {
  .size-main {
    padding: 0 20px;
  }
  .header__menu {
    gap: 15px;
  }
  .grid-three-column__blocks,
  .page-id-788 .big-image-block__image {
    width: 100%;
  }
  .programs-content {
    gap: 80px;
    gap: 30px;
  }
  .programs-recent-posts__post {
    gap: 40px;
  }

  .programs-recent-posts__post-info {
    min-width: 280px;
  }
  .hero-follow-us .row {
    gap: 70px;
    padding: 110px 80px;
  }
}
@media screen and (max-width: 1025px) {
  .section-hero-text {
    padding: 80px 0 240px;
  }
  .hero__text {
    font-size: 28px;
    line-height: 150%;
  }
  .hero__title {
    font-size: 40px;
  }
  .big-image-block {
    margin-bottom: 60px;
  }
  .description-with-buttons__text {
    width: 100%;
    font-weight: 500;
    font-size: 16px;
    text-align: center;
  }
  .description-with-buttons__person,
  .single-event__info {
    margin-bottom: 30px;
  }
  .description-with-buttons .row {
    flex-direction: column;
    align-items: center;
  }
  .event-recent-posts__other .event-recent-posts__post:last-child,
  .events-list__item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  .popup-container {
    width: 90%;
  }
  .events-list__item-link.desktop,
  .reports__table-link.desktop,
  .single-event__slider-navigation,
  .single-event__subscribe {
    display: none;
  }
  .posts-list-item__img {
    min-width: 350px;
  }
  .instagram-gallery__info {
    width: 350px;
  }
  .instagram-gallery__items {
    width: 430px;
    gap: 10px;
  }
  .reports__table-year {
    font-size: 14px;
  }
  .footer__wrapper {
    flex-wrap: wrap;
  }
  .news-slider {
    margin-bottom: 90px;
  }
  .news-slider__item-img,
  .single-event__slider-slide {
    height: 360px;
  }
  .big-image-block__title {
    font-size: 24px;
    margin-bottom: 24px;
  }
  .recent-event__text {
    font-size: 16px;
    margin-bottom: 32px;
  }

  .programs-recent-posts__post a {
    width: 100%;
  }
  .events-list__item-image,
  .programs-recent-posts__post-img {
    width: 100%;
    max-width: 100%;
    height: 330px;
    margin-bottom: 24px;
  }
  .events-list__link {
    margin-bottom: 32px;
  }
  .events-list__item-title {
    font-size: 19px;
    margin-bottom: 0;
  }
  .events-list__item {
    flex-direction: column;
    align-items: flex-start;
    padding: 0 0 45px;
    gap: 0;
    border-bottom: none;
  }
  .events-list__item-info {
    max-width: 100%;
    margin-bottom: 16px;
  }
  .events-list__item-text {
    max-width: 100%;
    margin-bottom: 20px;
    font-size: 14px;
  }
  .events-list {
    max-width: 800px;
    margin: 0 auto 60px;
  }
  .events-list__item-link.mobile {
    display: flex;
    align-self: flex-start;
  }
  .big-image-block__image {
    height: 470px;
    margin-bottom: 24px;
  }
  .big-image-block__content {
    flex-direction: column;
    gap: 24px;
  }
  .big-image-block__text {
    max-width: 100%;
    font-size: 16px;
  }
  .big-image-block__links {
    justify-content: center;
  }
  .recent-event__event,
  .single-event__wrapper {
    flex-direction: column;
  }
  .recent-event {
    padding: 50px 0 60px;
  }

  .recent-event__event {
    align-items: flex-start;
    gap: 32px;
  }

  .recent-event__event-title {
    font-size: 20px;
    margin-bottom: 20px;
  }
  .events-panel {
    padding-left: 0;
    max-width: 800px;
    margin: 0 auto;
  }
  .events__title {
    font-size: 24px;
  }

  .reports,
  .single-event__content {
    padding: 60px 0;
  }
  .event-recent-posts__other .event-recent-posts__post,
  .event-recent-posts__posts,
  .single-event__content-wrapper {
    flex-direction: column;
    gap: 0;
  }
  .single-event__content-content {
    flex: 1 0 100%;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
  }
  .event-recent-posts__wrapper {
    max-width: 800px;
    margin: 0 auto;
  }
  .event-recent-posts__title {
    font-size: 24px;
    margin-bottom: 35px;
    text-align: center;
  }
  .event-recent-posts__last {
    max-width: 100%;
    border-bottom: 1px solid #e1e1e1;
  }
  .event-recent-posts__last-img {
    width: 100%;
    height: 330px;
  }
  .event-recent-posts__post-img {
    width: 100%;
    height: 330px;
    margin-bottom: 25px;
  }
  .event-recent-posts__other .event-recent-posts__post:first-child {
    padding-top: 40px;
  }
  .event-recent-posts__post-text {
    display: block;
    margin-bottom: 15px;
  }
  .event-recent-posts__last-text,
  .reports__table-name,
  .single-event__content p,
  .single-event__content ul li {
    font-size: 14px;
  }
  .event-recent-posts {
    margin-bottom: 60px;
  }
  .reports__title {
    font-size: 24px;
    margin: 0 auto 32px;
  }
  .reports__table-row {
    padding: 20px 25px;
  }
  .reports__table-head {
    padding: 15px 25px;
  }
  .reports__table-row:nth-child(odd) {
    background-color: #f1f5ff;
  }
  .reports__table-row:nth-child(odd) .reports__table-year {
    background-color: white;
    color: var(--color-blue);
  }
  .reports__table-link.mobile {
    display: flex;
  }
  .events-list__item:first-child {
    border-top: none;
    padding-top: 45px;
  }
  .pagination {
    margin-bottom: -60px;
  }
}
@media screen and (max-width: 992px) {
  body.overflow,
  html.overflow {
    position: relative;
    height: 100%;
    overflow: hidden;
  }
  .programs-recent-posts__post-info {
    width: 100%;
  }
  .programs-recent-posts__post {
    flex-direction: column;
    max-width: 800px;
    margin: 0 auto;
    align-items: center;
    padding: 42px 0;
    gap: 0;
  }
  .programs-recent-posts__post-text {
    min-width: 100%;
  }
  .popup-container {
    padding: 70px;
    max-height: 500px;
    overflow: scroll;
  }
  .posts-list-item {
    padding: 35px 20px;
    gap: 45px;
  }
  .programs-odometer {
    flex-direction: column;
    align-items: center;
  }
  .programs-odometer__list {
    flex-wrap: wrap;
  }
  .programs-odometer__item:nth-child(2),
  .programs-odometer__item:nth-child(3) {
    margin-left: 0;
  }
  .programs-content {
    gap: 20px;
  }
  .programs-content__disc {
    width: 70%;
  }

  .programs-recent-posts__post-info {
    min-width: 210px;
  }
  .programs-recent-posts__post-title {
    font-size: 19px;
    line-height: 150%;
  }
  .news-list .row {
    gap: 40px;
    flex-direction: column;
    align-items: center;
  }
  .hero-follow-us .row {
    flex-direction: column;
    text-align: center;
  }
  .instagram-gallery__info {
    width: 300px;
    margin-right: 20px;
  }
  .instagram-gallery__title {
    font-size: 24px;
    line-height: 130%;
    text-align: center;
  }
  .instagram-gallery__items {
    width: 460px;
  }
  .hero__video {
    height: auto;
  }
  .cards__card {
    width: 100%;
    flex: 1 0 100%;
    min-height: 380px;
  }
  .cards__wrapper {
    gap: 16px;
  }
  .cards__card-icon {
    margin-bottom: 34px;
  }
  .cards__card-title {
    font-size: 20px;
  }
  .cards__card-text {
    font-size: 14px;
  }
  .cards__card-link {
    font-size: 12px;
  }
}
@media screen and (max-width: 768px) {
  #burger-menu .menu-item a {
    font-size: 18px;
  }
  .events-filter-date,
  .events-search .events-search__input,
  .footer-top__button a,
  .programs-recent-posts__post a {
    width: 100%;
  }
  .grid-three-column__btn {
    display: none;
  }
  .grid-three-column,
  .news-list {
    margin: 60px 0;
  }
  .grid-three-column__subtitle {
    display: block;
    margin-bottom: 20px;
  }
  .grid-three-column__blocks {
    grid-template-columns: repeat(1, auto);
  }
  .additional-menu,
  .programs-content__slider__btns,
  .programs-recent-posts__post-link.desktop {
    display: none;
  }
  .events-panel,
  .posts-list-item,
  .programs-content,
  .programs-odometer {
    flex-direction: column;
  }
  .page-id-788 .description-only-text::before {
    height: 650px;
  }
  .programs-odometer {
    gap: 40px;
  }
  .instagram-gallery__btn,
  .programs-odometer-btn {
    margin: 0 auto;
  }
  .programs-content__disc,
  .programs-content__title {
    min-width: 100%;
  }
  .programs-recent-posts__title {
    font-size: 24px;
    line-height: 135%;
  }
  .news-list__title {
    line-height: 130%;
    font-size: 24px;
  }
  .programs-recent-posts__post-link.mobile {
    display: inline-flex;
  }
  .description-with-buttons {
    margin: 50px 0 60px;
  }
  .description-with-buttons__btns {
    justify-content: center;
    width: 100%;
  }
  .news-list__title {
    text-align: center;
    font-weight: 700;
  }
  .hero__text,
  .title-regular {
    font-weight: 500;
    letter-spacing: -0.03em;
  }

  .instagram-gallery .container {
    flex-direction: column;
    text-align: center;
  }
  .instagram-gallery__info {
    margin-right: 0;
    margin-bottom: 35px;
    width: 100%;
  }

  .instagram-gallery__items {
    width: 340px;
    margin: 0 auto;
    gap: 11px;
  }
  .instagram-gallery__item {
    width: 105px;
    height: 102px;
  }
  .section-hero::before {
    background-image: url(../images/svg/hero-mask-mobile.svg);
    background-size: cover;
    background-position: 0 150px;
  }
  .hero__video video {
    height: 560px;
    width: 100%;
    object-fit: cover;
  }
  .page-id-788 .big-image-block__image {
    max-width: 330px;
    max-height: 470px;
    margin: 0 auto;
  }
  .title-regular {
    font-size: 24px;
  }
  .graphics__wrapper {
    padding: 60px 0;
  }
  #chart-container {
    height: auto;
    min-height: 520px;
  }
  .statistics__rendered-content {
    padding-top: 25px;
    background-color: #fff;
  }
  .footer-top__title {
    font-size: 36px;
    font-weight: 700;
    line-height: 121%;
    letter-spacing: -0.01em;
    max-width: 295px;
    margin: 0 auto 24px;
  }
  .footer-top__title svg {
    width: 30px;
    height: 30px;
    margin-right: 10px;
  }
  .footer-top__wrapper {
    padding: 48px 0 40px;
  }
  .footer__wrapper {
    padding: 42px 0;
  }
  .events-filter-date,
  .footer__title {
    margin-bottom: 15px;
  }
  .footer__text {
    margin-bottom: 24px;
  }
  .big-image-block__links {
    flex-direction: column;
    gap: 14px;
  }
  .events-filter-date .custom-select {
    width: 100%;
    margin-bottom: 0;
  }
  .events-search {
    width: 100%;
    margin-left: 0;
  }
  .events__title {
    margin-bottom: 32px;
  }
}
@media screen and (max-width: 575px) {
  #burger-menu .header__button,
  .instagram-gallery__btn {
    max-width: 100%;
  }
  .footer__form form input,
  .news-slider__item,
  .single-event__link {
    width: 100%;
  }
  .news-slider .w-auto {
    width: 100% !important;
  }
  .footer__form form > p {
    flex-direction: column;
  }
  .description-only-text__desc {
    font-size: 16px;
    line-height: 155%;
  }
  .grid-three-column__title {
    font-size: 24px;
    line-height: 135%;
    max-width: 100%;
    margin: 0 0 12px;
    text-align: left;
  }
  .grid-three-column__blocks {
    grid-row-gap: 30px;
  }
  .grid-three-column__block-text {
    font-size: 16px;
    line-height: 155%;
    max-width: 90%;
  }
  .slider-with-tabs {
    margin: 60px 0 0;
  }
  .slider-with-tabs__title {
    font-size: 24px;
    line-height: 130%;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
  }
  .hero-follow-us__title img,
  .slider-with-tabs__block,
  .slider-with-tabs__swiper {
    display: none;
  }
  .slider-with-tabs__swiper:first-child {
    display: block;
  }
  .slider-with-tabs-card__img {
    height: 275px;
  }
  .slider-with-tabs-card__name {
    font-size: 14px;
    line-height: 120%;
    margin-top: 10px;
    margin-bottom: 8px;
  }
  .slider-with-tabs-card__position {
    font-size: 14px;
    line-height: 155%;
  }
  .popup-container {
    padding: 70px 40px;
    max-height: 500px;
    overflow: scroll;
  }
  .description-only-text {
    margin: 50px auto;
  }
  .description-only-text__title {
    font-size: 36px;
    letter-spacing: -0.03em;
  }
  .posts-list {
    margin-bottom: 60px;
  }
  .posts-list-item {
    padding: 25px 0;
    gap: 25px;
  }
  .posts-list-item:last-child,
  .programs-recent-posts__post:last-child {
    border-bottom: none;
  }
  .posts-list-item__img {
    width: 335px;
    min-width: 335px;
    height: 332px;
  }
  .posts-list-item__title {
    font-size: 19px;
    line-height: 150%;
    margin-bottom: 15px;
  }
  .posts-list-item__text {
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 155%;
  }

  .programs-title {
    font-size: 36px;
    line-height: 130%;
    margin-bottom: 25px;
  }
  .programs .post-thumbnail {
    height: 360px;
  }
  .programs-odometer__item-value {
    font-size: 36px;
    line-height: 110%;
    margin-bottom: 0;
  }

  .programs-recent-posts__row {
    flex-direction: column;
    text-align: center;
    padding: 0;
    align-items: center;
    margin-bottom: 0;
  }
  .programs-recent-posts__title {
    font-size: 24px;
    line-height: 135%;
  }
  .programs-recent-posts__allbtn {
    margin-top: 20px;
  }
  .programs-recent-posts__post {
    padding: 25px 0;
    border-top: none;
    border-bottom: 1px solid #f1f1f1;
  }
  .news-list__item,
  .news-list__item:first-child {
    padding: 0 0 35px;
  }
  .description-with-buttons__btns {
    flex-direction: column;
    width: 100%;
  }
  .news-list__item {
    flex-direction: column;
    gap: 0;
    border: none;
  }
  .news-list__item:last-child {
    padding: 0;
  }
  .news-list__item-img,
  .news-list__item-img img {
    width: 100%;
    min-height: 155px;
  }
  .news-list__item-link {
    margin-top: 10px;
  }
  .hero-follow-us .container {
    background-image: none;
  }
  .hero-follow-us .row {
    padding: 60px 0;
    gap: 30px;
  }
  .hero-follow-us__title {
    font-size: 24px;
    line-height: 135%;
    max-width: 70%;
    margin: 0 auto 15px;
  }
  .hero-follow-us__subtitle {
    font-size: 14px;
    line-height: 155%;
    max-width: 75%;
    margin: 0 auto;
  }

  .hero-follow-us__social-url {
    font-size: 14px;
    line-height: 155%;
    padding: 15px 25px;
  }
  .hero-follow-us__social-image {
    width: 17px;
    height: 17px;
  }
  .hero-follow-us__social-image img {
    object-fit: contain;
  }
  .section-hero .title-hero {
    font-size: 48px;
    line-height: 130%;
    margin-bottom: 20px;
  }

  .section-hero-text {
    padding: 50px 0;
  }
  .section-graphics .title-regular {
    margin-bottom: 30px;
  }
  .hero__button,
  .pagination {
    margin-bottom: 50px;
  }
  .image-ua {
    max-width: 50px;
    transform: translateY(0);
  }
  .footer__menu {
    flex-wrap: nowrap;
  }
  .footer__navigation {
    margin-bottom: 20px;
  }
  .footer-bottom__wrapper {
    padding: 15px 0;
    gap: 10px;
  }
  .news-slider__inner {
    width: auto;
  }
  .news-slider-pagination {
    display: flex;
    justify-content: center;
  }
  .reports__table-name {
    flex: 0 0 120px;
  }
}
@media (max-width: 423px) {
  .footer__form form br {
    display: none;
  }
  .programs-odometer-btn {
    width: 100%;
  }
  .posts-list-item__img {
    width: 100%;
    min-width: 100%;
  }
  .programs-odometer {
    margin-top: 30px;
    gap: 0;
  }
  .programs-odometer__list {
    gap: 20px;
    margin-bottom: 20px;
  }
  .programs-odometer__item-title {
    font-size: 14px;
    line-height: 135%;
  }

  .programs-content__title {
    margin-left: 8px;
  }
  .programs-content__disc p {
    font-size: 16px;
    line-height: 155%;
  }
  .programs-content__sliders {
    margin-top: 30px;
  }
  .programs-recent-posts .container {
    padding: 0 20px;
  }
  .programs-recent-posts__post-link.mobile {
    margin-top: -10px;
  }
  .programs-recent-posts__post-text {
    font-size: 14px;
    line-height: 155%;
    margin-top: -25px;
  }
  .news-list {
    margin: 30px 0;
  }
  .hero-follow-us__textblock {
    min-width: 250px;
  }

  .instagram-gallery__items {
    width: 335px;
    gap: 9px;
  }
  .instagram-gallery__item {
    width: 102px;
    height: 100px;
  }
  .footer__form {
    margin: 0;
  }
  .footer__wrapper {
    gap: 40px;
  }
  .footer__menu-block {
    gap: 0;
  }
  .footer__form form input {
    max-width: 100%;
  }
}
@media screen and (max-width: 374px) {
  #chart-container {
    height: auto;
    min-height: 420px;
  }
}
@media (max-width: 350px) {
  .instagram-gallery__item,
  .instagram-gallery__items {
    width: 100%;
  }
}
@media (max-height: 500px) {
  .popup-container {
    max-height: 300px;
  }
}
