html {
  box-sizing: border-box;
}

html,
body {
  background-color: #fff;
  /* Запобігає горизонтальному прокручуванню на всій сторінці */
  overflow-x: hidden;
  /* Дозволяє вертикальне прокручування, коли вміст виходить за межі */
  overflow-y: auto;
  /* Видаляємо height: 100%; з html, body, щоб дозволити їм розтягуватися по вмісту */
}

*,
*::after,
*::before {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}

ul {
  list-style-type: none;
}

a {
  text-decoration: none;
  color: inherit;
}

p {
  margin-top: 0.5em; /* Зменшення верхнього відступу */
  margin-bottom: 0.5em; /* Зменшення нижнього відступу */
}

.a-links {
  color: #c48a39;
  text-decoration: none;
  transition: color 0.3s ease-in-out;
}

.a-links:hover {
  color: #3d4215;
  text-decoration: underline;
}

.section-title {
  margin: 30px 0 15px;
  color: #3d4215;
  font-size: 3em;
  font-weight: 700;
  text-align: center;
  text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
}

.section-title-events {
  margin-top: 0px;
  margin-bottom: 10px;
  font-size: 66px;
  font-weight: 700;
  text-align: center;
  color: #3d4215;
}

.media {
  margin-bottom: 10px;
  color: #3d4215;
  font-size: 26px;
  font-weight: 700;
  text-align: center;
  text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
  margin-top: 200px;
}

.wrapper {
  min-height: 100%;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 10px;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.container-top {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 10px;
  border-radius: 10px;
}

.container-block {
  max-width: 1220px;
  margin: 20px auto;
  background: #fff;
}

.container__about-fund {
  font-size: 54px;
  max-width: 1220px;
  margin: 0 auto;
  padding: 20px;
  text-align: inherit;
  font-weight: bold;
  letter-spacing: 1.5px;
  opacity: 1;
  text-shadow:
                        /* Чіткі тіні по діагоналях (зміщення 3px) */          
                -3px -3px 0 #000,
                        3px -3px 0 #000,
                        -3px 3px 0 #000,
                        3px 3px 0 #000,
                                           
      /* Тіні по осях X і Y (зміщення 3px) */                     0  -3px 0 #000,
    /* Вгору */                     0   3px 0 #000,
    /* Вниз */                     -3px 0  0 #000,
    /* Вліво */                     3px 0   0 #000,
    /* Вправо */                                        
      /* Додаткові діагональні тіні для заповнення (зміщення 2px) */            
              -2px -2px 0 #000,
                        2px -2px 0 #000,
                        -2px 2px 0 #000,
                        2px 2px 0 #000;
}

.container__about-fund:hover {
  opacity: 0.4;
  transition: opacity 0.5s ease;
}

.contacts__form-wrapper {
  position: relative; /* Необхідно для позиціонування iframe */
  width: 100%; /* Забезпечуємо повну ширину доступного простору */
  padding-bottom: 75%; /* 16:9 співвідношення сторін (висота = 9 / 16 * ширина) */
  height: auto; /* Видаляємо висоту, щоб вона була розрахована padding-bottom */
  overflow: hidden; /* Обрізаємо все, що виходить за межі контейнера */
  margin-top: 30px; /* Додайте відступ зверху, якщо потрібно */
  margin-bottom: 20px; /* Додайте відступ знизу, якщо потрібно */
  background-color: #f0f0f0; /* Додайте фон, якщо iframe завантажується повільно */
  border-radius: 8px; /* Округліть кути, якщо це необхідно */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Легка тінь для контейнера */
}

.google-form-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.products-list {
  display: block;
  text-align: inherit;
  margin-left: 50px;
}

.body {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
  margin: 0;
  padding: 0;
}

.header {
  position: relative;
  background-color: #fff;
}

.header-main {
  background-color: transparent;
  position: absolute;
  z-index: 10;
  left: 0;
  right: 0;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  order: 1;
}
.header__inner-reverse {
  background-color: #3d4215;
  display: flex;
  justify-content: space-between; /* Розтягуємо елементи по краях */
  align-items: center;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
.header-donate {
  margin-bottom: 100px;
}

.menu {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
}

.menu__list {
  display: flex;
  justify-content: space-between; /* Розподіляє пункти по всій ширині */
  align-items: center;
  gap: 10px; /* Мінімальна відстань між пунктами, щоб не злипалися */
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%; /* Обов'язково, щоб флекс працював на всю ширину */
}

.trench_candles,
.events {
  margin-top: 18vh;
}
.donations,
.fund_achievements-about {
  margin: 18vh auto 0;
}

.container-targeted_fundraising {
  margin-top: 18vh auto 0;
}

.buttons {
  color: #3d4215;
  max-width: 1220px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: stretch; /* кнопки будуть однакової висоти */
  gap: clamp(20px, 5vw, 160px); /* розумний відступ */
  flex-wrap: wrap; /* дозволяємо перенос, якщо зовсім тісно */
  padding: 0 20px; /* невеликий відступ від країв екрана */
}

.btn {
  padding: 20px 34px;
  font-size: 20px;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  background-color: #6c5311;
  color: #333;
  transition: background 0.3s;
}

.btn {
  display: inline-block;
  padding: 15px 20px;
  background: #ffcc00;
  text-decoration: none;
  transition: 0.3s;
  margin: 20px 0;
}

.btn:hover {
  background: #6e6215;
}

.btn:hover {
  background-color: #ff9c5b;
  color: #fff;
}

.donation-boxes {
  display: grid;
  flex-wrap: wrap; /* Дозволяє елементам переноситись на новий рядок */
  gap: 30px; /* Відступ між donation-box елементами */
  justify-content: center; /* Центруємо елементи по горизонталі */
  align-items: stretch; /* Розтягуємо елементи, щоб вони мали однакову висоту */
}

.donation-box {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  text-align: left;
}

.donation-box h2 {
  font-size: 26px;
  margin-bottom: 10px;
  color: #333;
}

.donation-box p {
  font-size: 1px;
  margin: 5px 0;
  color: #5a5757;
}

.menu__btn {
  display: none; /* За замовчуванням приховано для десктопу */
  width: 40px; /* Задаємо ширину контейнера для смужок */
  height: 30px; /* Задаємо висоту контейнера для смужок */
  position: relative; /* Щоб смужки могли позиціонуватися абсолютно всередині */
  cursor: pointer;
  z-index: 1001; /* Поверх інших елементів */
  background-color: transparent;
  color: #ffcc00;
  border: none;
}

.menu__btn span {
  display: block;
  width: 100%;
  height: 4px; /* Товщина смужок */
  background-color: #c48a39; /* Колір смужок такий же, як кнопка донату */
  position: absolute; /* Позиціонуємо смужки абсолютно всередині .menu__btn */
  left: 0;
  transition: all 0.3s ease-in-out;
}

.menu__btn span:nth-child(1) {
  top: 0; /* Верхня смужка */
}

.menu__btn span:nth-child(2) {
  top: 50%; /* Середня смужка по центру */
  transform: translateY(-50%);
}

.menu__btn span:nth-child(3) {
  bottom: 0; /* Нижня смужка */
}

/* Стан відкритого меню (хрестик) */
.menu__btn.open span:nth-child(1) {
  transform: translateY(11px) rotate(45deg); /* Верхня смужка перетворюється на частину хрестика */
}

.menu__btn.open span:nth-child(2) {
  opacity: 0; /* Середня смужка зникає */
}

.menu__btn.open span:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg); /* Нижня смужка перетворюється на частину хрестика */
}

/* Стилі для закритого меню (хрестик) */
.menu__btn.open {
  position: fixed; /* Фіксуємо хрестик, щоб він залишався на місці */
  top: 30px; /* Відступ зверху */
  right: 30px; /* Відступ справа */
}

/* Базовий стиль кнопки бургера в хедері */
.burger-menu {
  transition: all 0.3s ease; /* Плавність переходу */
}

/* Коли додається клас is-sticky через JS */
.menu__btn.is-sticky {
  display: block; /* Гарантуємо, що він видимий */
  position: fixed;
  top: 20px;
  left: 30px;
  right: auto;
  z-index: 2000; /* Має бути вищим за все на сайті */
  background-color: #3d4215; /* Темно-зелений фон фонду, щоб кнопку було видно */
  padding: 8px;
  border-radius: 5px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  height: 45px;
  width: 45px;
}

/* --- СТИЛІ ДЛЯ ЛИПКОЇ КНОПКИ (ПРИ ГОРТАННІ) --- */

.menu__btn.is-sticky {
  /* Копіюємо розміри з оригіналу, щоб вони не змінювалися */
  width: 40px;
  height: 30px;
  background-color: transparent; /* Або додайте фон, якщо хочете підкладку при скролі */
  /* Якщо ви хочете, щоб вона була фіксована при скролі: */
  position: fixed;
  top: 20px;
  left: 30px;
}

/* Колір смужок залишаємо як в оригіналі, або змінюємо лише його */
.menu__btn.is-sticky span {
  background-color: #c48a39; /* Той самий колір, що і в хедері */
  width: 100%; /* Повертаємо повну ширину */
  left: 0; /* Повертаємо притискання до краю */
  height: 6px;
}

/* Скидаємо будь-які специфічні відступи, які я давав раніше, 
   щоб працювали оригінальні top: 0, 50%, bottom: 0 */
.menu__btn.is-sticky span:nth-child(1) {
  top: 0;
}
.menu__btn.is-sticky span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}
.menu__btn.is-sticky span:nth-child(3) {
  bottom: 0;
}

/* --- СТАН ВІДКРИТОГО МЕНЮ (ХРЕСТИК) ДЛЯ ЛИПКОЇ КНОПКИ --- */

/* Використовуємо ті ж самі параметри трансформації, що і в оригіналі */
.menu__btn.is-sticky.open span:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}

.menu__btn.is-sticky.open span:nth-child(2) {
  opacity: 0;
}

.menu__btn.is-sticky.open span:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}

.donation__button {
  position: inherit;
  display: grid;
  /* margin-bottom: 30px; */
}

.menu__list-item {
  flex: 1 1 auto; /* Дозволяє пунктам гнучко стискатися та розширюватися */
  text-align: center; /* Центруємо текст всередині кожного пункту */
  min-width: 0; /* Дозволяє контенту стискатися менше за початковий розмір */
}

.how-do-we-work_about-fund {
  padding: 0;
}

.menu__list-link {
  font-size: 17px;
  font-weight: bold;
  padding-left: 1px;
  color: #f1ead0;
  text-transform: uppercase;
  text-decoration: none;
  gap: 15px;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.9);
}
.menu__list-link:hover {
  font-weight: bold;
  color: #eebf4b;
  text-shadow: 4px 4px 14px rgba(0, 0, 0, 0.9);
}

.menu__list-link--active {
  color: #1b4d48;
}
.lang-selector-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  /* Додаємо невеликий горизонтальний відступ, щоб він не прилипав до сусідніх LI */
  padding: 0;
  height: 100%; /* Гарантуємо, що він займає всю висоту LI */
  margin: 0;
}

/* Стилі для самого елемента SELECT */
.lang-select {
  /* Прибираємо стандартні елементи браузера */
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: 8px 10px;
  height: 40px; /* Фіксована висота, щоб відповідати іншим елементам хедера */
  min-width: 65px;
  text-align: center;
  font-size: 16px;
  cursor: pointer;
  border-radius: 5px;
  transition: border-color 0.2s;

  /* Кольорова гамма хедера */
  background-color: rgba(0, 0, 0, 0.4); /* Напівпрозорий чорний */
  color: #f1bc2c;
  border: 1px solid rgba(241, 188, 44, 0.5); /* Тонка жовта рамка */
  backdrop-filter: blur(4px); /* Ефект розмиття фону (сучасно виглядає) */

  /* Місце для стрілки та сама стрілка */
  padding-right: 25px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path fill="%23ffffff" d="M4.5 6l3.5 4 3.5-4z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 10px 10px;
  color: #f1bc2c;
}

/* Стилі при наведенні миші */
.lang-select:hover {
  background-color: rgba(0, 0, 0, 0.6);
  border-color: #f1bc2c;
  color: #ffffff; /* При наведенні текст стає білим для акценту */
}

/* Стилі для елементів OPTION (видно лише при розкритті) */
.lang-select option {
  background-color: #333333;
  color: #ffffff;
  padding: 5px;
}

.lang-switch {
  font-weight: bold;
  padding: 5px 10px;
  border: 2px solid white;
  border-radius: 5px;
  transition: 0.3s;
}

.lang-switch:hover {
  background-color: #ebb626;
  color: #3d4215;
}

.footer {
  background-color: transparent;
  padding: 0;
}

.footer__inner {
  max-width: 1220px;
  padding-bottom: 10px;
  margin: 0 auto;
  background-color: #3d4215;
  color: #fff;
  border-radius: 10px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.footer__menu {
  display: flex;
  justify-content: space-around;
  /* margin-bottom: 10px; */
}

.footer__menu-list {
  max-width: 1220px;
}

.footer__menu-link {
  margin-top: 10px;
  margin-bottom: 20px;
  font-size: 16px;
  font-weight: 700;
  line-height: 29px;
  text-align: left;
  text-decoration: none; /* Вимикаємо стандартне підкреслення */
  position: relative;
  transition: color 0.3s ease;
}

.footer__menu-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px; /* Відстань підкреслення від тексту */
  width: 0;
  height: 2px; /* Товщина підкреслення */
  background-color: #ffffff; /* Колір підкреслення */
  transition: width 0.3s ease;
}

.footer__menu-link:hover {
  color: #f0a500; /* Зміна кольору тексту при наведенні */
}

.footer__menu-link:hover::after {
  width: 100%; /* Анімація появи підкреслення */
}

.footer__menu-title {
  font-size: 24px;
  font-weight: 700;
  margin-top: 10px;
  padding-bottom: 20px;
}

.footer__menu-item + .footer__menu-item {
  padding-top: 20px;
}

.menu__footer-item {
  margin-bottom: 10px;
}

.menu__footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.menu__footer-item-social-media {
  margin: 0;
}

.footer__menu-link-media img {
  width: 50px;
  height: 50px;
  filter: brightness(0) invert(1); /* Робимо іконки білими */
  transition:
    filter 0.3s ease,
    transform 0.3s ease;
}

.footer__menu-link-media img:hover {
  filter: brightness(0) saturate(100%) invert(46%) sepia(92%) saturate(540%)
    hue-rotate(210deg) brightness(90%) contrast(90%);
  transform: scale(1.1);
}

.footer-info-text {
  display: none; /* Спочатку приховуємо текст */
  margin-top: 5px;
  font-size: 14px;
  color: #ccc;
  transition: opacity 0.3s ease-in-out;
}

.footer-info-text.visible {
  display: block;
  opacity: 1;
}

.app {
  display: flex;
  justify-content: center;
  gap: 40px;
}

.footer__copy {
  max-width: 800px;
  margin: 0 auto 30px;
  text-align: center;
}

.copy__nav-item {
  margin-bottom: 0px;
}

.copy__nav-list {
  margin: 5px;
  line-height: 25px;
  display: block;
  justify-content: left;
  gap: 40px;
}

.logo {
  margin-right: auto;
  padding: 5px 0 5px;
}

.logo__img {
  height: 160px;
  width: auto;
}

.main {
  flex-grow: 1;
  font-family: "Inter", sans-serif;
}

.top {
  padding-top: 300px;
  color: #fff;
  text-align: center;
  position: absolute;
  z-index: 5;
  left: 0;
  right: 0;
  text-shadow:
                        -2px -2px 0 #000,
    /* Вгору-вліво */                     2px -2px 0 #000,
    /* Вгору-вправо */                     -2px 2px 0 #000,
    /* Вниз-вліво */                     2px 2px 0 #000,
    /* Вниз-вправо */                     0  -2px 0 #000,
    /* Вгору */                     0   2px 0 #000,
    /* Вниз */                     -2px 0  0 #000,
    /* Вліво */                     2px 0   0 #000; /* Вправо */
}

.title {
  margin-top: 140px;
  font-weight: 700;
  color: #fff;
  font-size: 54px;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 1);
  opacity: 1;
}

.title:hover {
  opacity: 0.75;
}

.top__link {
  background-color: #0d681c90;
  padding: 23px;
  max-width: 430px;
  width: 100%;
  display: inline-block;
  text-transform: uppercase;
  font-size: 36px;
  font-weight: 700;
  margin-top: 10px;
  text-decoration: none;
  color: white;
  text-align: center;
  border-radius: 10px;
}

.top__link:hover {
  background-color: #073f1090;
}

.slider {
  position: absolute;
}

.swiper,
.slider,
.swiper-slide {
  width: 100vw;
  height: 100vh;
}

.swiper-wrapper {
  display: flex;
}

.swiper-slide {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.swiper-pagination {
  bottom: 20px !important;
}

.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: white;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.swiper-pagination-bullet-active {
  opacity: 1;
}

.swiper-button-next,
.swiper-button-prev {
  color: white; /* Колір стрілок */
  background-color: rgba(0, 0, 0, 0.5); /* Прозорий фон */
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.3s ease-in-out;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background-color: rgba(0, 0, 0, 0.8); /* Підсвічування при наведенні */
}

.areas-of-work-list {
  display: flex;
  flex-wrap: wrap; /* Дозволяє елементам переноситися на наступний рядок */
  gap: 30px;
  justify-content: center;
  text-align: center;
  margin-top: 10px;
}

.areas-of-work-item {
  flex: 1 1 calc(33.333% - 20px); /* 3 колонки, враховуючи gap */
  max-width: calc(
    33.333% - 20px
  ); /* Обмежуємо максимальну ширину для 3 колонок */
}

.areas-of-work-item__img {
  width: 100%; /* Зображення займає всю доступну ширину картки */
  height: 100%; /* Висота адаптується пропорційно */
  margin-bottom: 20px;
  max-width: 333px; /* Обмежуємо максимальний розмір зображення, якщо воно стане занадто великим */
}

.areas-of-work-item-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
}

.areas-of-work-card {
  background: #fff;
  border-radius: 10px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  padding: 20px;
  height: 100%; /* Забезпечує, що картки однієї висоти в ряду */
  display: flex; /* Використовуємо flexbox всередині картки для кращого вирівнювання контенту */
  flex-direction: column; /* Елементи всередині картки розташовуються вертикально */
}
.current__fund-raising-projects-item {
  width: 100%;
}
.areas-of-work-item-text {
  font-size: 16px;
  line-height: 1.5;
  flex-grow: 1; /* Дозволяє тексту займати доступний простір, щоб картки були однакової висоти */
}

.areas-of-work-item:hover,
.areas-of-work-card {
  transform: translateY(-8px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}
.areas-of-work-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.fund_mission {
  display: flex;
  margin-top: 30px;
  margin-bottom: 30px;
}
.fund_mission-text,
.step-content p {
  margin: 0 20px 5px 20px;
  font-size: 20px;
  font-weight: 400;
  line-height: 29px;
  text-align: left;
  text-align: justify;
  word-spacing: 2px;
}
.fund_achievements-main {
  margin-top: 5vh;
}

.fund_achievements,
.how-do-we-work-main {
  margin-top: 100vh;
}

.fund_achievements-inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  text-align: center;
}

.fund_achievements-numbers {
  display: block;
  text-decoration: none;
  color: inherit;
  color: #3d4215;
  background: #f1bc2c;
  padding: 15px;
  border-radius: 10px;
  transition:
    transform 0.2s ease,
    box-shadow 0.3s ease,
    color 0.12s ease;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.fund_achievements-numbers:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  background: #3d4215;
  color: #f1bc2c;
}

.fund_achievements-numbers h2 {
  font-family: "Inter", sans-serif;
  font-size: 42px;
  font-weight: 700;
  line-height: 50px;
  transition: color 0.3s ease;
}

.fund_achievements-numbers p {
  font-family: "Inter", sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 29px;
  margin-bottom: 0;
  transition: color 0.3s ease;
}

.fund_achievements-text {
  margin-bottom: 20px;
  font-size: 20px;
  font-weight: 400;
  line-height: 29px;
  text-align: center;
}

/* body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f5f5f5;
  text-align: center;
} */

.community-block {
  max-width: 1220px;
  margin: auto;
  background: #fff;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.map-box {
  display: flex; /* Активуємо Flexbox */
  flex-direction: row; /* Розміщуємо елементи в рядок за замовчуванням (для десктопу) */
  gap: 40px; /* Проміжок між мапою та списком на десктопі */
  align-items: flex-start; /* Вирівнюємо елементи по верхньому краю */
  justify-content: center; /* Центруємо вміст, якщо є вільний простір */
  /* padding: 20px; - Цей padding буде доданий тут, якщо wrapper не має глобального */
  padding: 0 20px; /* Додаємо горизонтальні відступи, щоб вміст не прилипав до країв */
  box-sizing: border-box; /* Важливо для коректного обчислення ширини з padding */
  max-width: 1200px; /* Обмеження ширини для самого map-box, якщо wrapper не обмежує */
  margin: 0 auto; /* Центруємо map-box, якщо wrapper не робить цього */
}

.map-wrapper {
  position: relative;
  flex-basis: 50%; /* Мапа займає приблизно 50% доступного простору */
  flex-grow: 1; /* Дозволяє мапі розширюватися */
  flex-shrink: 1; /* Дозволяє мапі стискатися */
  min-width: 400px; /* Мінімальна ширина мапи на десктопі */
  max-width: 600px; /* Максимальна ширина мапи */
}

.map-img {
  width: 100%;
  height: auto; /* Змінив height: 70% на auto, щоб зберегти пропорції зображення */
  border-radius: 8px;
  display: block;
}

.map-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.locations .location {
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: #edbf50;
  border-radius: 50%;
  cursor: pointer;
  transition:
    transform 0.3s ease,
    background-color 0.3s;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
  display: block; /* Щоб посилання займало простір і можна було задати ширину/висоту */
  text-indent: -9999px; /* Приховуємо будь-який текст, який може бути всередині <a> */
  overflow: hidden; /* Забезпечуємо, що прихований текст не відображається */
}

.locations .location:hover {
  transform: scale(1.3);
  background-color: #1b4d48;
}

.places-list {
  flex-basis: 40%; /* Список займає приблизно 40% */
  flex-grow: 1;
  flex-shrink: 1;
  min-width: 300px; /* Мінімальна ширина списку */
  max-width: 450px; /* Максимальна ширина списку */
}

.places-list ul {
  width: 100%;
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.places-list li {
  display: block;
  padding: 15px 20px;
  font-size: 18px;
  font-weight: 600;
  color: #333;
  background-color: #f1d490;
  border-left: 10px solid #1f524d;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;
}

.places-list li a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.places-list li:hover {
  background-color: #1a4d48;
  color: #fff;
  transform: scale(1.02);
  border-left-color: #eebf4b;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.current__fund-raising-projects-main {
  margin-top: 100vh;
}
.current__fund-raising-projects {
  margin-bottom: 30px;
  margin-top: 6vh;
}
.current__fund-raising-projects-index {
  margin-top: 6vh;
}
.current__fund-raising-projects-top {
  margin-bottom: 30px;
  margin-top: 20vh;
}

.current__fund-raising-projects-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 30px;
  justify-content: center;
  /* padding: 20px 0; */
}

.current__fund-raising-projects-item {
  width: 350px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-radius: 12px;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.2);
  background: #fff;
  overflow: hidden;
}

.fundraising-image-link {
  display: block;
  width: 100%;
  position: relative;
  text-decoration: none;
}

.fundraising-image {
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  position: relative;
  overflow: hidden;
}

.hover-text {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Темний напівпрозорий фон */
  color: white;
  text-align: center;
  font-size: 24px;
  opacity: 0;
  display: flex;
  justify-content: center; /* Вирівнює текст горизонтально */
  align-items: center; /* Вирівнює текст вертикально */
  transition: opacity 0.5s ease-in-out;
}

.fundraising-image-link:hover .hover-text {
  opacity: 1;
}

.fundraising-info {
  padding: 10px;
}

.fundraising-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 5px;
}

.fundraising-description {
  font-size: 16px;
  margin-top: 10px;
  margin-bottom: 10px;
}

.donate-button {
  display: inline-block;
  padding: 10px 20px;
  color: #fff;
  background-color: #c48a39;
  text-decoration: none;
  font-size: 19px;
  border-radius: 20px;
  transition: background 0.3s ease;
}

.donate-button:hover {
  background: #3d4215;
  color: #f1bc2c;
}

.youtube-section {
  align-items: center;
  max-width: 1220px;
  margin: 0 auto;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  margin-bottom: 15px;
}

.channel-header {
  display: flex;
  align-items: center;
  gap: 15px;
}

.channel-logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
}

.channel-info a {
  margin: 0;
  font-size: 18px;
  color: #222;
}

.channel-info p {
  margin: 5px 0;
  font-size: 14px;
  color: #555;
}

.youtube-btn {
  display: flex;
  align-items: center;
  background: #ff0000;
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
}

.youtube-btn img {
  width: 20px;
  height: 20px;
  margin-right: 5px;
}

.video-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.video-card {
  width: calc(
    33.33% - 10px
  ); /* 33.33% для трьох карток, мінус половина gap з кожного боку */
  height: auto;
  background: #f1bc2c;
  border-radius: 10px;
  padding: 10px;
  position: relative;
  text-align: center;
  margin-bottom: 20px;
}

.video-card-full {
  width: 100%;
}

.video-card img {
  width: 100%;
  border-radius: 10px;
  height: auto;
}

.video-card {
  font-size: 18px;
  line-height: 22px;
  font-weight: 400;
}

.play-btn {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0); /* Прозорий фон, щоб покрити всю картинку */
  display: block;
}

.donation__button-wrapper {
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 30px;
}

.donation__button-inner {
  display: flex;
  justify-content: center;
}

.donate-button-only {
  background-color: #f1bc2c;
  color: #333;
  padding: 10px 10px;
  font-size: 15px;
  text-transform: uppercase;
  border-radius: 5px;
  text-decoration: none;

  transition: background 0.3s;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.donate-button-only:hover {
  color: #3d4215;
  font-weight: bold;
  background-color: #b09342;
  box-shadow: 0px 4px 10px rgba(2, 34, 0, 0.1);
  transition: background 0.3s;
  /* border: 1px solid #3D4215; */
}

.quick-donation-button {
  background-color: #f1bc2c;
  color: white;
  padding: 20px 40px;
  font-size: 24px;
  text-transform: uppercase;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.3s;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
  margin-top: 30px;
}

.quick-donation-button:hover {
  background: #3d4215;
  color: #f1bc2c;
  font-weight: bold;
  box-shadow: 0px 4px 10px rgba(2, 34, 0, 0.1);
  transition: background 0.3s;
  /* border: 1px solid #3D4215; */
}



.video {
  padding-bottom: 150px;
}

.video__title {
  margin-bottom: 150px;
}

.video__text {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 50px;
  text-align: center;
}

.video__content {
  margin: 0 auto;
  display: block;
}

.important {
  padding-bottom: 150px;
}

.important__title {
  margin-bottom: 20px;
}

.important__text {
  max-width: 580px;
  margin: 0 auto 50px;
}

.important__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.important__item-img {
  margin-bottom: 20px;
  width: 200px;
  height: 150px;
}
.contacts {
  padding: 80px 0;
  background: #fdfdfd;
  font-family: "Inter", sans-serif;
}

.contacts__title {
  font-size: 32px;
  font-weight: 700;
  color: #222;
  text-align: center;
  margin-bottom: 20px;
}

.contacts__description {
  text-align: center;
  max-width: 1220px;
  margin: 0 auto 10px;
  color: #555;
  font-size: 18px;
}

.form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.form__label {
  margin-bottom: 8px;
  font-weight: 500;
  color: #444;
}

.form__input,
.form__textarea {
  padding: 14px 18px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 16px;
  margin-bottom: 24px;
  transition: border-color 0.3s;
}

.form__input:focus,
.form__textarea:focus {
  border-color: #2a88e6;
  outline: none;
}

.form__textarea {
  resize: vertical;
  min-height: 120px;
}

.form__btn {
  background-color: #2a88e6;
  color: #fff;
  border: none;
  padding: 14px;
  font-size: 18px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.form__btn:hover {
  background-color: #1e6fbe;
}

.form__success-message {
  text-align: center;
  margin-top: 20px;
  color: #28a745;
  font-weight: 600;
}

.blog {
  padding-bottom: 150px;
}

.blog__items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.blog__item {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 70px;
}

.blog__item-img {
  margin-bottom: 30px;
  height: 400px;
  width: 600px;
}

.blog__item-title {
  flex-basis: 446px;
  font-size: 24px;
  font-weight: 700;
}

.blog__item-link {
  color: #fff;
  background-color: #0066ff;
  padding: 4px 20px;
  display: inline-flex;
  text-align: center;
  align-items: center;
  height: 40px;
}

.showmore-link {
  text-transform: uppercase;
  background-color: #151515;
  padding: 13px;
  color: rgb(255, 255, 255);
  width: 225px;
  margin: 0 auto;
  text-align: center;
  display: block;
  margin-top: 70px;
}

.choose {
  padding: 100px 0 150px;
}

.tabs {
  margin-bottom: 70px;
}

.tabs__btn {
  padding: 0 150px;
  display: flex;
  justify-content: space-between;
  gap: 80px;
  padding-bottom: 100px;
}

.tabs__btn-item {
  font-size: 24px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  background-color: transparent;
  padding: 0;
}

.tabs__btn-item--active {
  color: #0066ff;
}

.tabs__content-item {
  display: none;
  grid-template-columns: repeat(4, 1fr);
  gap: 100px 40px;
}

.tabs__content-item.tabs__content-item--active {
  display: grid;
}

.card {
  text-align: center;
  border: 1px solid #0066ff;
}

.card__content {
  padding: 0 5px;
  border: 1px solid #0066ff;
  border-top: 0;
  border-left: 0;
  border-right: 0;
}

.card__title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-top: 20px;
}

.card__price {
  margin-bottom: 20px;
}

.card__link {
  margin-bottom: 20px;
  font-weight: 700;
  font-size: 24px;
  border-top: 0;
}

/* Основні стилі */
body {
  font-family: Arial, sans-serif;
  background-color: #fff;
  color: #333;
  margin: 0;
  padding: 0;
  text-align: center;
}

/* Блок із кроками */
.steps {
  font-family: "Inter", sans-serif;
  text-align: center;
}

.cta {
  color: #3d4215;
}

.steps h2,
.cta h2 {
  font-size: 30px;
  font-weight: bold;
}

.step {
  display: flex;
  flex-direction: column; /* Елементи один під одним */
  align-items: center; /* Центруємо */
  margin-bottom: 10px;
  padding: 0 15px; /* Додаємо горизонтальні відступи для відгуку */
  box-sizing: border-box; /* Гарантуємо, що відступи включені в ширину */
}
.step img {
  width: 350px;
  height: 350px;
  border-radius: 10px;
  margin-right: 15px;
  margin-left: 20px;
}

.step-content {
  max-width: 1220px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  line-height: 22px;
  border-radius: 10px;
  word-break: break-word;
  text-align: left;
}

.trench_candles-making {
  display: flex; /* Активуємо Flexbox */
  flex-direction: column;
  justify-content: center; /* Вирівнюємо по центру горизонтально */
  align-items: center; /* Вирівнюємо по центру вертикально (якщо потрібно) */
  max-width: 1220px;
  width: 100%; /* Додаємо ширину, щоб flex працював коректно */
  background-color: #fff; /* Білий фон */
  margin: 20vh auto 0; /* Центрує блок у контейнері */
  /* padding: 20px; Додаємо внутрішні відступи для кращого вигляду */
}

.step-content h3 {
  font-size: 22px;
  line-height: 26px;
  padding-bottom: 10px;
  margin-left: 15px;
}

/* .trench_candles-content {
  margin-top: 200px;
} */

.trench_candles-content p {
  font-size: 20px;
  font-weight: 700;
  line-height: 29px;
  color: #2a2828;
}

.full-size-img {
  width: auto; /* Зберігаємо ширину */
  height: auto; /* Автоматична висота для збереження пропорцій */
  display: block; /* Важливо: зображення повинно бути блоковим елементом */
  margin-left: auto; /* Автоматичний відступ зліва */
  margin-right: auto;
  object-fit: cover;
  border-radius: 10px;
}

/* Анімації появи */
.fade-in {
  opacity: 1;
  margin-top: 20px;
  transform: translateY(20px);
  transition:
    opacity 0.5s ease-out,
    transform 0.9s ease-out;
}

.fade-in h2 {
  color: #3d4215;
}

.fade-in.delay {
  transition-delay: 0.5s;
}

.fade-in.delay2 {
  transition-delay: 0.6s;
}

.visible {
  opacity: 1;
  transform: translateY(0);
}

.photo_reports {
  margin-bottom: 30px;
}

/* Основні стилі для галереї */
body {
  font-family: Arial, sans-serif;
  text-align: center;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.gallery-events {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.thumbnail {
  width: 150px;
  height: 100px;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s ease;
  margin-bottom: 10px;
}

.thumbnail-events {
  width: 550px;
  height: 450px;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s ease;
  margin-bottom: 10px;
}

.thumbnail,
.thumbnail-events:hover {
  transform: scale(1.05);
}

/* Стилі для повноекранного перегляду */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 1000;
  overflow: auto;
  padding: 20px;
}

.lightbox-img {
  max-width: 90vh;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  margin-bottom: 20px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}

.prev,
.next {
  position: absolute;
  top: 50%;
  font-size: 30px;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  color: white;
  padding: 10px 20px;
  cursor: pointer;
  transform: translateY(-50%);
}

.prev {
  left: 10px;
}
.next {
  right: 10px;
}

.prev:hover,
.next:hover {
  background: rgba(255, 255, 255, 0.6);
}

/* Мініатюри під повноекранним фото */
.lightbox-thumbnails {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 5px;
  max-width: 60vw;
}

.lightbox-thumbnails img {
  width: 70px;
  height: 50px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
}

.lightbox-thumbnails img.active {
  border-color: white;
}

.lightbox-thumbnails {
  min-height: 150px;
  max-height: 250px;
  overflow-y: scroll;
  padding: 10px;
  background: rgba(0, 0, 0, 0.5);
}

.video-cards-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center; /* центрує контент */
  padding: 20px 0;
}

.video-card-inner {
  flex: 0 1 calc(33.333% - 20px); /* три картки в ряд з урахуванням відступів */
  box-sizing: border-box;
  background-color: #87631a;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  text-align: center;
}

.video-card-inner img {
  width: 100%;
  height: auto;
  display: block;
}

.video-card-inner p {
  padding: 10px;
  font-size: 18px;
  line-height: 22px;
  color: #fff;
}

/* Кнопка відтворення - стилізуйте як потрібно */
.play-btn-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 60px;
  background: url("images/play-icon.png") no-repeat center center;
  background-size: contain;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.info-box {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px; /* Зменшуємо padding для кращої адаптивності */
  border: 1px solid #ddd; /* Додаємо рамку для візуального відділення блоків */
  border-radius: 10px;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Додаємо тінь для об'ємності */
  flex: 1 1 calc(50% - 30px); /* Два елементи в ряду, враховуючи gap */
  min-width: 320px; /* Мінімальна ширина для блоку */
  box-sizing: border-box; /* Включаємо padding та border у загальну ширину */
}

.donation-img {
  width: auto; /* Зменшуємо початкову ширину QR-коду */
  max-width: 80%; /* Обмежуємо максимальну ширину зображення відносно батьківського елемента */
  height: 70vh;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}

.donation-info {
  flex: 1;
  display: flex; /* Використовуємо flexbox для внутрішнього вмісту */
  flex-direction: column; /* Елементи розташовуються вертикально */
}

.donation-info h2 {
  padding: 0 0px;
  margin-bottom: 15px;
  font-size: 1.7em;
  text-align: center;
}

.info-row {
  display: flex;
  font-size: 1.4em;
  justify-content: space-between;
  align-items: center;
  padding: 10px 10px;
  transition:
    background-color 0.02s,
    transform 0.2s;
  flex-wrap: wrap;
}

.info-row:hover {
  background-color: #eaca8b;
  border-radius: 10px; /* Зменшуємо радіус */
  transform: scale(1.01);
}

.info-row p {
  margin: 9px 0;
  font-size: 19px; /* Зменшуємо розмір шрифту */
  color: #444;
  flex: 1; /* Дозволяє тексту займати доступний простір */
  min-width: 180px; /* Мінімальна ширина для параграфа, щоб текст не був занадто вузьким */
  word-break: break-word; /* Дозволяє переносити довгі слова */
}

.copy-btn {
  margin-left: 10px; /* Зменшуємо відступ */
  padding: 5px 10px; /* Зменшуємо padding */
  font-size: 23px; /* Зменшуємо розмір шрифту */
  background-color: #c48a39;
  color: white; /* Зробимо текст кнопки білим для кращого контрасту */
  border: none;
  border-radius: 8px; /* Зменшуємо радіус */
  cursor: pointer;
  transition:
    background 0.3s,
    transform 0.2s;
  flex-shrink: 0; /* Запобігаємо стисненню кнопки */
}

.copy-btn:hover {
  background-color: #6e6215;
  color: white;
  transform: scale(1.05);
}

.privacy-policy {
  max-width: 960px;
  margin: 18vh auto 0;
  padding: 20px;
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.privacy-policy h1 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #564a0d;
}

.privacy-policy h2 {
  font-size: 1.5rem;
  margin-top: 30px;
  margin-bottom: 10px;
  color: #564a0d;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 5px;
}

.privacy-policy p {
  margin-bottom: 16px;
}

.privacy-policy ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.privacy-policy li {
  margin-bottom: 8px;
}

.privacy-policy a {
  color: #564a0d;
  text-decoration: none;
}

.privacy-policy a:hover {
  text-decoration: underline;
}

.social-share {
  text-align: center;
  padding: 0 20px 20px;
  border-radius: 12px;
}

.share-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 15px;
}

.social-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.social-btn {
  width: 60px;
  height: 60px;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: #f1bc2c;
  transition: background-color 0.3s ease;
}

.social-btn:hover {
  background-color: #3d4215;
}

.social-btn img {
  width: 30px;
  height: 30px;
}

.our_volunteers {
  padding: 5px 10px;
  align-items: center;
}

.city-title {
  text-transform: uppercase;
  font-size: 42px;
  margin: 30px 0 20px;
}

/* Базові стилі для посилання, щоб воно виглядало як заголовок H4 */
.city-link {
  display: block;
  margin-top: 20px;
  margin-bottom: 20px;
  text-decoration: none;
  font-size: 2.5em; /* Типовий розмір для H4, можете змінити */
  font-weight: 600; /* Типове накреслення, можете змінити */
  color: #333;
  transition: color 0.3s ease-in-out;
}

.city-link:hover {
  color: #b09342;
  text-decoration: underline;
  cursor: pointer;
}

.volunteers-grid {
  display: flex; /* Робимо контейнер флекс-контейнером */
  flex-wrap: wrap; /* Дозволяємо елементам переноситися на новий рядок */
  justify-content: center; /* Центруємо елементи по горизонталі */
  gap: 20px; /* Додаємо простір між картками (можна налаштувати) */
  padding: 0 15px; /* Додаємо невеликий внутрішній відступ, щоб картки не прилипали до країв на малих екранах */
}

.volunteer-card {
  /* Забезпечуємо, що картки не мають фіксованої ширини, яка їх обмежує */
  flex: 0 0 auto; /* Початкові значення: не зменшуватися, не збільшуватися, вихідна ширина */
  width: calc(25% - 20px); /* Приклад для трьох колонок з відступом */
  max-width: 300px; /* Максимальна ширина картки для великих екранів */
  min-width: 250px; /* Мінімальна ширина картки для малих екранів */
  box-sizing: border-box; /* Враховуємо padding та border у ширині */
  /* Додайте інші стилі для карток (border, padding, shadow тощо) */
}

.volunteer-card:hover {
  transform: translateY(-5px);
}

.volunteer-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  margin: 0 auto 15px;
  background-size: cover;
  background-position: center;
  border: 4px solid #ddd;
}

.volunteer-name {
  font-size: 22px;
  font-weight: 600;
  margin: 10px 0;
}

.volunteer-desc {
  font-size: 17px;
  color: #444;
  margin-bottom: 10px;
}

/* Стилі для overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Напівпрозорий чорний колір */
  z-index: 998; /* Під меню, але над іншим контентом */
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease-in-out,
    visibility 0.3s ease-in-out;
}

.overlay--active {
  opacity: 1;
  visibility: visible;
}

/* Стилі для body, щоб запобігти прокручуванню */
.no-scroll {
  overflow: hidden;
}

/* Стилі для сторінки вдячності */
.thanks-section {
  display: flex;
  align-self: center;
  justify-content: center;
  min-height: 60vh; /* Щоб контент був по центру екрана */
}

.thanks-icon img {
  animation: heartBeat 1.5s infinite; /* Маленька анімація для "живого" ефекту */
}

@keyframes heartBeat {
  0% {
    transform: scale(1);
  }
  14% {
    transform: scale(1.1);
  }
  28% {
    transform: scale(1);
  }
  42% {
    transform: scale(1.1);
  }
  70% {
    transform: scale(1);
  }
}

/* Обгортка для блоку WayForPay */
#wfp-donate-section {
  border: 2px solid #f1bc2c;
  background: #ffffff;
  border-radius: 20px;
  padding: 40px 20px;
  margin-bottom: 30px;

  width: 100%; /* Тепер він займає 100% від батьківського контейнера (1220px) */
  box-sizing: border-box;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(4, 136, 205, 0.1);
}

/* Заголовок та підзаголовок всередині блоку */
#wfp-donate-section h2 {
  margin-bottom: 1px;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  color: #333;
  text-align: center;
}

#wfp-donate-section p {
  margin-bottom: 25px;
  font-family: "Inter", sans-serif;
  color: #666;
  text-align: center;
  max-width: 450px;
}

/* Стилізація самої кнопки */
.wfp-btn-styled {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: #f1bc2c !important; /* Синій колір сайту */
  color: #ffffff !important;
  width: 100% !important;
  max-width: 300px !important; /* Оптимальна ширина для мобільних */
  height: 60px !important;
  border: none !important;
  border-radius: 12px !important;
  cursor: pointer !important;
  font-family: "Inter", sans-serif !important;
  font-weight: 700 !important;
  font-size: 18px !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 12px rgba(4, 136, 205, 0.3) !important;
  margin-bottom: 15px;
}

.wfp-btn-styled:hover {
  background: #036da3 !important; /* Трохи темніший при наведенні */
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(4, 136, 205, 0.4) !important;
}

.wfp-btn-styled:active {
  transform: translateY(0);
}

.share-box p {
  font-weight: bold;
  color: #3d4215;
  margin-bottom: 15px;
}

.instruction-container {
  margin: 10px auto 10px;
  max-width: 600px;
  background: #fcfcfc;
  border: 2px dashed #f9b111;
  border-radius: 12px;
  padding: 10px 15px;
  text-align: left;
}
.instruction-trigger {
  background: none;
  border: none;
  color: #333;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 16px;
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  transition: background 0.3s;
}
.instruction-trigger:hover {
  background: #fff3db;
}
.instruction-trigger .icon {
  font-size: 20px;
}
.instruction-content {
  margin-top: 15px;
  border-top: 1px solid #fce3a1;
  padding-top: 15px;
}
.step-slider {
  display: flex;
  overflow-x: auto;
  gap: 15px;
  padding-bottom: 15px;
  scroll-snap-type: x mandatory;
}
.step-item {
  flex: 0 0 85%;
  scroll-snap-align: center;
  text-align: center;
  background: #fff;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}
.step-item p {
  font-weight: 600;
  margin-bottom: 15px;
  color: #333;
  font-size: 14px;
}
.step-item img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  border: 1px solid #eaeaea;
}
.step-slider::-webkit-scrollbar {
  height: 6px;
}
.step-slider::-webkit-scrollbar-thumb {
  background: #f9b111;
  border-radius: 4px;
}
.step-slider::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.guide-section {
  max-width: 800px;
  margin: 0 auto;
  /* Відступ зверху, щоб заголовок був під хедером */
  padding: 150px 20px 40px;
}
.guide-intro {
  text-align: center;
  margin-bottom: 40px;
}
.guide-step {
  background: #fff;
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border-left: 5px solid #f9b111;
}
.guide-step h3 {
  color: #3d4215;
  font-size: 20px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.guide-step-num {
  background: #f9b111;
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: bold;
}
.guide-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid #eee;
  display: block;
  margin-top: 15px;
}
.guide-actions {
  text-align: center;
  margin-top: 40px;
}

/* Адаптивність */
/* Медіа-запити для десктопів */

@media (min-width: 1220px) {
  .areas-of-work-item__img {
    height: 282px;
  }
}

@media (max-width: 1200px) {
  .container,
  .container-top,
  .container-block {
    padding: 0 10px;
  }
  .slider {
    width: max-content;
    height: 870px;
  }

  .fund_mission-text,
  .step-content p {
    margin: 10px 20px;
    font-size: 18px;
    line-height: 24px;
  }

  .menu__list {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s ease-in-out;
  }

  .step img {
    width: 320px;
    height: 320px;
    margin: 10px;
  }

  .title {
    font-size: 53px;
    margin-top: 170px;
  }
  .title:hover {
    opacity: 1;
  }

  .top__link {
    font-size: 36px;
    padding: 23px;
    margin-top: 10px;
    display: inline-block;
    text-transform: uppercase;
    font-size: 36px;
    font-weight: 700;
  }
  .top__link:hover {
    background-color: #073f1090;
  }

  /* .areas-of-work-list {
    flex-direction: row;
  } */

  .fund_mission {
    flex-direction: row;
  }

  .fund_achievements-inner {
    grid-template-columns: repeat(5, 1fr);
  }

  .fund_achievements-numbers h2 {
    font-size: 45px;
  }

  .fund_achievements-numbers p {
    font-size: 20px;
  }

  /* .map-box {
    flex-direction: row;
  } */

  .map-wrapper {
    width: 600px;
  }

  .places-list ul {
    gap: 55px;
  }

  .places-list li {
    font-size: 20px;
    padding: 20px;
  }

  .current__fund-raising-projects-inner {
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 40px;
    align-items: center;
  }

  .current__fund-raising-projects-item {
    width: 350px;
  }

  .fundraising-image {
    height: 250px;
  }

  .fundraising-title {
    font-size: 18px;
  }

  .fundraising-description {
    font-size: 16px;
  }

  .donate-button {
    padding: 10px 80px;
    font-size: 19px;
  }

  .youtube-section iframe {
    width: 1200px;
    height: 600px;
  }

  .tabs__btn-items {
    flex-direction: row;
  }

  .tabs__content-items {
    flex-direction: row;
  }

  .tabs__btn-item {
    margin: 0 10px;
  }

  .events-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .event-card {
    margin-bottom: 20px;
  }

  .form-container {
    padding: 30px;
  }

  .form-group label {
    font-size: 16px;
  }

  .form-group input,
  .form-group textarea {
    font-size: 16px;
  }

  .submit-button {
    font-size: 16px;
  }

  .footer__menu {
    flex-direction: row;
    align-items: flex-start;
    text-align: center;
  }

  .footer__menu-list {
    margin-bottom: 0;
  }

  .footer__menu-title {
    font-size: 20px;
  }
  .menu__footer-social {
    gap: 50px;
  }

  .footer__copy {
    font-size: 16px;
  }
}

@media (max-width: 1188px) {
  .container__about-fund {
    font-size: 34px; /* Зменшуємо розмір шрифту */
    padding: 0 15px;
    margin-top: 200px;
  }
  .title {
    font-size: 52px;
    margin-top: 165px;
  }
  .title:hover {
    opacity: 1;
  }
  .swiper-slide {
    width: 110%;
    height: 100vh;
  }
}

@media (max-width: 1180px) {
  .places-list ul {
    gap: 35px;
  }
  .important__list {
    gap: 30px 20px;
  }
  .important__item-img {
    width: 100px;
  }
  .logo__img {
    height: 140px;
  }
  .thumbnail-events {
    width: 500px;
    height: 400px;
  }
  .top-link {
    margin-top: 20px;
  }
  .step img {
    width: 310px;
    height: 310px;
    margin-right: 5px;
    margin-left: 5px;
  }
  .volunteers-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    max-width: 90%;
  }
  .volunteer-photo {
    width: 230px;
    height: 230px;
  }
  .areas-of-work-list {
    gap: 20px;
    margin-top: 10px;
  }
  .areas-of-work-item__img {
    width: 260px;
    height: 222px;
  }
  .areas-of-work-card {
    padding: 20px 10px;
  }
  .areas-of-work-item-text {
    font-size: 15px;
  }
  .current__fund-raising-projects-inner {
    grid-gap: 30px;
  }
}
@media (max-width: 1050px) {
  .places-list ul {
    gap: 30px;
  }
  .video__content {
    width: 100%;
  }
  .menu__list-link {
    font-size: 14px;
  }
  .thumbnail-events {
    width: 450px;
    height: 350px;
  }
  .step img {
    width: 290px;
    height: 290px;
    margin-right: 5px;
    margin-left: 5px;
  }
  .current__fund-raising-projects {
    margin-top: 18vh;
  }
  .menu__list-item a {
    color: #fff; /* Білий колір тексту для відкритого меню */
    font-size: 14px; /* Збільшений розмір шрифту */
    padding: 10px 0;
    display: block; /* Щоб посилання займали всю ширину */
  }
}

/* Адаптація тексту для менших екранів */
@media (max-width: 1024px) {
  .map-box {
    flex-direction: column; /* На менших екранах розміщуємо елементи у стовпчик */
    align-items: center; /* Центруємо по горизонталі */
    gap: 30px; /* Збільшуємо проміжок, коли вони у стовпчику */
    padding: 0 20px; /* Зберігаємо відступи з боків */
  }

  .map-wrapper {
    width: 95%; /* Зробимо мапу ширшою на мобільних/планшетах */
    min-width: unset; /* Знімемо min-width, щоб вона могла стискатися */
    max-width: 600px; /* Обмежимо максимальну ширину */
  }

  .places-list {
    width: 95%; /* Зробимо список ширшим на мобільних/планшетах */
    min-width: unset; /* Знімемо min-width */
    max-width: 450px; /* Обмежимо максимальну ширину */
  }

  .places-list ul {
    gap: 10px;
  }

  .places-list li {
    font-size: 16px;
    padding: 12px 15px;
  }
  .container__about-fund {
    font-size: 20px; /* Зменшуємо розмір шрифту */
    padding: 0 15px;
  }
  .menu__list-link {
    font-size: 18px;
  }

  .donate-button-only {
    font-size: 15px;
    margin: 10px 10px;
  }

  .donation__button-wrapper {
    margin-left: 25px;
  }
  .volunteer-card {
    width: calc(50% - 20px); /* Дві колонки на середніх екранах */
  }
  .areas-of-work-item__img {
    width: 300px;
    height: 282px;
    margin-bottom: 10px;
  }
  .areas-of-work-card {
    padding: 10px 5px;
  }
  .areas-of-work-item-text {
    font-size: 14px;
  }
  /* .fund_achievements{
    margin-top: 27vh;
  } */
  .fund_achievements-numbers p {
    font-size: 14px;
    line-height: 19px;
  }
  .current__fund-raising-projects-inner {
    grid-gap: 20px;
  }
}

@media screen and (max-width: 992px) {
  .menu__btn {
    display: flex; /* Показуємо кнопку на мобільних */
    /* Розміщення кнопки по центру між логотипом та кнопкою донату */
    order: 2; /* Змінюємо порядок, щоб вона була між лого та донатом */
    margin-left: auto; /* Виштовхуємо кнопку до центру */
    margin-right: auto;
    left: 50%;
    transform: translateX(-50%);
    position: absolute; /* Абсолютне позиціонування всередині header__inner */
  }

  .header__inner-reverse {
    position: relative; /* Щоб menu__btn позиціонувався відносно цього контейнера */
  }

  .menu__list {
    position: fixed; /* Фіксоване позиціонування, щоб меню було поверх */
    top: 0;
    right: -100%; /* За замовчуванням меню приховане за екраном справа */
    width: 100%; /* Ширина меню на мобільних */
    max-width: 300px; /* Максимальна ширина меню */
    height: 100%; /* На всю висоту екрану */
    background-color: transparent;
    backdrop-filter: blur(8px);
    flex-direction: column; /* Елементи списку стовпчиком */
    justify-content: center; /* Центруємо елементи по вертикалі */
    align-items: center;
    padding: 20px;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2); /* Тінь для ефекту виїзду */
    z-index: 1000; /* Меню буде поверх інших елементів, але під кнопкою */
    transition: right 0.3s ease-in-out; /* Анімація виїзду/заїзду */
  }

  .menu__list.open {
    right: 0; /* Меню виїжджає на екран */
    flex-direction: column;
  }

  .areas-of-work-item {
    flex: 1 1 calc(50% - 15px); /* 2 колонки, враховуючи gap (30px / 2 = 15px) */
    max-width: calc(50% - 15px);
  }
  .video-card {
    width: calc(
      50% - 7.5px
    ); /* 50% для двох карток, мінус половина gap з кожного боку */
  }
  .info-box {
    flex: 1 1 calc(100% - 30px); /* Один елемент в ряду на планшетах */
    flex-direction: column; /* Змінюємо напрямок на вертикальний */
    align-items: center; /* Центруємо елементи всередині info-box */
    text-align: center; /* Центруємо текст */
  }

  .donation-img {
    max-width: 60%; /* Збільшуємо розмір QR-коду на планшетах */
    margin-bottom: 20px;
    height: auto; /* Додаємо відступ під зображенням */
  }

  .donation-info h2 {
    font-size: 1.3em; /* Зменшуємо розмір заголовка */
  }

  .info-row {
    padding: 0;
    flex-direction: column; /* Напрямок стовпчиком для info-row */
    align-items: center; /* Центруємо вміст */
    text-align: center; /* Центруємо текст */
  }

  .info-row p {
    margin-bottom: 5px; /* Невеликий відступ між текстом і кнопкою */
  }

  .copy-btn {
    margin-left: 0; /* Прибираємо лівий відступ, якщо елементи в стовпчику */
    margin-top: 10px; /* Додаємо верхній відступ */
    width: 100%; /* Кнопка займає всю доступну ширину */
    max-width: 200px; /* Обмежуємо максимальну ширину кнопки */
  }
}
/* 1. Базова видимість бургера на мобільних (до скролу) */
@media (max-width: 991px) {
  .menu__btn {
    display: block; /* Показуємо кнопку завжди на мобільних */
  }
}

/* 2. Для великих екранів примусово ховаємо завжди */
@media (min-width: 992px) {
  .menu__btn {
    display: none !important;
  }
}

/* 3. Специфічні стилі, коли кнопка стає "липкою" (при скролі) */
@media (max-width: 991px) {
  .menu__btn.is-sticky {
    position: fixed;
    top: 20px;
    left: 30px;
    z-index: 1001;
    /* Тут можна додати фон, якщо треба: background: white; */
  }
}

@media (max-width: 980px) {
  .menu__list {
    gap: 10px;
  }
  .menu__list-link {
    font-size: 17px;
  }
  .title {
    font-size: 50px;
    margin-top: 110px;
  }
  .title:hover {
    opacity: 1;
  }
  .media {
    margin-top: 150px;
  }
  .donate-button-only {
    font-size: 14px;
  }
  .logo__img {
    height: 130px;
  }
  .areas-of-work-card {
    padding: 8px 3px;
  }
  .areas-of-work-item-text {
    font-size: 13px;
  }
}

@media (max-width: 940px) {
  .trench_candles-making {
    margin-top: 15vh;
  }
  .menu__list.open {
    right: 0; /* Меню виїжджає на екран */
    flex-direction: column;
  }

  .menu__list-item {
    padding: 15px 20px;
    justify-content: flex-start;
  }

  .menu__list-link {
    font-size: 20px;
    color: #fff;
  }
  .current__fund-raising-projects {
    margin-top: 12vh;
  }
  /* body.menu-open {
    overflow: hidden;
  } */

  .menu__list {
    gap: 9px;
  }

  .donate-button-only {
    font-size: 13px;
  }
  .logo__img {
    height: 50px;
  }
  .thumbnail-events {
    width: 400px;
    height: 300px;
  }
  .section-title,
  .section-title-events {
    font-size: 54px;
    margin: 20px;
  }
  .cta h2 {
    margin-top: 0;
  }
  .thumbnail-events {
    width: 380px;
    height: 310px;
  }

  .lightbox-img {
    max-width: 80vh;
    max-height: 80vh;
    width: auto;
    height: auto;
    object-fit: contain;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
  }

  /* body.menu-open .wrapper {
    transform: translateX(250px);
    transition: transform 0.3s ease;
  } */

  .why-tepla-sprava-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .important__list {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Адаптивність для менших екранів */
@media (max-width: 900px) {
  .donation__button-inner {
    margin-top: 30px;
  }
  /* .trench_candles-content {
    margin-top: 150px;
  } */
  .trench_candles-making {
    margin-top: 15vh;
  }
}

@media (max-width: 860px) {
  .menu__btn {
    display: flex !important;
  }
  .header__donation-button {
    display: inline-block !important;
  }

  .fund_achievements-numbers h2 {
    font-size: 28px;
  }
  .fund_achievements-numbers p {
    font-size: 13px;
    line-height: 18px;
  }
  .fund_achievements-numbers {
    padding: 7px;
  }

  .menu__list.open {
    right: 0; /* Меню виїжджає на екран */
    flex-direction: column;
  }

  .menu__list-item {
    width: 100%;
  }

  .menu__list-link {
    display: block;
    width: 100%;
    padding: 10px;
  }
  .section-title,
  .section-title-events {
    font-size: 47px;
    margin: 20px;
  }
  .menu-open {
    overflow: hidden;
  }
  .areas-of-work-item__img {
    width: 220px;
    height: 182px;
    margin-bottom: 6px;
  }
  .areas-of-work-card {
    padding: 6px 2px;
  }
  .areas-of-work-item-text {
    font-size: 16px;
  }
  .menu__list-item {
    /* display: flex; align-items: center; вже є, але додамо justify */
    justify-content: center;
    width: 100%;
    padding: 10px 0; /* Вертикальний відступ для touch-зони, як у інших LI */
  }

  /* Забезпечуємо, що обгортка займає потрібну ширину */
  .menu__list-item .lang-selector-wrapper {
    width: 100%;
    height: auto;
    justify-content: center;
    padding: 0; /* Прибираємо горизонтальний padding, бо він вже є у LI */
  }

  /* Сам SELECT: обмежуємо ширину, щоб він виглядав як кнопка, а не рядок */
  .menu__list-item .lang-select {
    width: 80px; /* Фіксована ширина для мобільного */
    margin: 0;
  }
}

@media (max-width: 800px) {
  .step img {
    width: 240px;
    height: 240px;
    margin-right: 5px;
    margin-left: 5px;
  }
  .menu__list.open {
    right: 0; /* Меню виїжджає на екран */
    flex-direction: column;
  }
  .menu__list-link {
    font-size: 14px;
  }
  .donate-button-only {
    font-size: 14px;
  }
  .thumbnail-events {
    width: 300px;
    height: 250px;
  }
  /* .footer__menu-title {
    font-size: 18px;
    padding-bottom: 5px;
  } */
  .footer__menu-link {
    font-size: 14px;
  }
  .menu__footer-item {
    margin-bottom: 5px;
  }
  .copy__nav-list {
    font-size: 12px;
  }
  .btn {
    font-size: 17px;
    margin: 10px 0;
    padding: 15px 10px;
  }
  .fund_achievements-numbers h2 {
    font-size: 24px;
  }
  .fund_achievements-numbers p {
    font-size: 12px;
    line-height: 17px;
  }
  .fund_achievements-numbers {
    padding: 5px;
  }
  .areas-of-work-item-title {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 8px;
  }
}

@media (max-width: 770px) {
  .menu__btn {
    display: flex !important;
    position: absolute;
    z-index: 1001;
  }
}

@media (max-width: 769px) {
  .menu {
    display: flex;
    flex-direction: row;
    align-items: center;
  }

  /* Приховати оверлей на десктопі */
  .overlay {
    display: none;
  }
  .thumbnail-events {
    width: 300px;
    height: 250px;
  }

  .donate-button-only {
    font-size: 13px;
  }

  .fund_mission-text,
  .step-content p {
    margin: 0 10px;
    font-size: 16px;
  }
  /* 
  .menu__btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 10px;
    position: absolute;
    z-index: 1001;
  }

  .menu__btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: #000;
    transition: 0.3s;
  }

  body.menu-open .wrapper {
    transform: translateX(250px);
    transition: transform 0.3s ease;
  } */
}

@media (max-width: 768px) {
  /* 1. Хедер: Головний контейнер */
  .header__inner {
    display: flex !important;
    justify-content: flex-start !important; /* Притискаємо все до лівого краю спочатку */
    align-items: center !important;
    gap: 10px !important; /* Відстань між Лого та Бургером */
    position: relative;
    z-index: 1000;
    padding: 5px 10px;
  }

  /* Логотип - перший */
  .logo {
    order: 1;
    flex-shrink: 0;
  }

  /* 2. БУРГЕР - ТЕПЕР ЛІВОРУЧ БІЛЯ ЛОГО */
  .menu {
    order: 2;
    margin-right: auto !important; /* ЦЕШКА: штовхає все, що далі (мову і донат) вправо */
    display: flex;
    align-items: center;
  }

  .menu__btn {
    display: flex !important;
    position: relative;
    z-index: 9999 !important;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 10px;
    margin: 0;
  }

  /* 3. МОВА ТА ДОНАТ - ПРАВОРУЧ */
  .lang-selector-wrapper {
    order: 3;
    margin-right: 5px !important;
  }

  .donation__button-wrapper {
    order: 4;
  }

  /* 4. ВИПАДАЮЧЕ МЕНЮ (Ефект як на другому скріншоті) */
  .menu__list {
    display: flex !important;
    flex-direction: column;
    position: fixed !important;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;

    /* GLASSMORPHISM: Напівпрозорість + Блюр */
    background: rgba(255, 255, 255, 0.4) !important;
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;

    z-index: 9998;
    padding: 100px 20px 20px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
    border-left: 1px solid rgba(255, 255, 255, 0.3);
  }

  .menu__list.open {
    right: 0 !important;
  }

  /* 5. Щоб елементи не "вилазили" один на одного */
  .lang-select {
    font-size: 13px !important;
    padding: 2px 4px !important;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 4px;
    border: 1px solid #ddd;
  }

  .logo__img {
    width: 50px;
    height: auto;
  }

  /* Прибираємо лого на зовсім малих екранах */
  @media (max-width: 360px) {
    .logo {
      display: none !important;
    }
    .header__inner {
      gap: 5px !important;
    }
  }

  /* Стилі пунктів меню */
  .menu__list-item {
    padding: 20px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .menu__list-link {
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    color: #3d4215;
  }

  /* Оверлей */
  .overlay {
    backdrop-filter: blur(4px);
    background-color: rgba(0, 0, 0, 0.2);
  }
}
@media (max-width: 640px) {
  .menu__list {
    max-width: 250px; /* Максимальна ширина меню */
    padding: 10px;
  }
}

@media (max-width: 600px) {
  .steps h2,
  .cta h2 {
    font-size: 19px;
  }
  .step-content h3 {
    font-size: 17px;
  }
  .btn {
    font-size: 17px;
    padding: 10px 10px;
  }
  .quick-donation-button {
    padding: 20px 20px;
    font-size: 21px;
    margin-top: 0px;
  }
  .channel-info h2 {
    font-size: 20px;
  }
  .fund_achievements-inner {
    grid-template-columns: repeat(3, 1fr);
  }
  .current__fund-raising-projects-inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .video-card {
    font-size: 12px;
  }
  .map-box {
    padding: 0 15px; /* Зменшимо горизонтальні відступи для дуже маленьких екранів */
  }
  .map-wrapper {
    width: 100%; /* Займаємо всю ширину */
  }
  .places-list {
    width: 100%; /* Займаємо всю ширину */
  }
  .privacy-policy h1 {
    font-size: 1.6rem;
  }
  .section-title,
  .section-title-events {
    font-size: 30px;
    margin: 10px;
  }
  .step-content p {
    margin: 5px 0;
    font-size: 14px;
    line-height: 20px;
  }
  .title {
    font-size: 30px;
  }
  /* .footer__menu-title {
    font-size: 16px;
  } */
  .privacy-policy h2 {
    font-size: 1.3rem;
  }
  .prev,
  .next {
    font-size: 20px;
    padding: 8px 15px;
  }
  .donate-button-only {
    font-size: 11px;
    padding: 10px;
  }
  .city-title {
    font-size: 32px;
    margin: 30px 0 10px;
  }
  .privacy-policy,
  .container {
    padding: 15px;
  }

  .video-card-inner {
    flex: 0 1 100%; /* 1 в ряд на мобільних */
  }
  .lightbox-img {
    max-width: 55vh;
    max-height: 65vh;
    width: auto;
    height: auto;
  }
  .fund_mission-text,
  .step-content p {
    margin: 10px 0px;
    font-size: 14px;
    line-height: 18px;
  }
  .volunteers-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
  }
  .volunteer-photo {
    width: 150px;
    height: 150px;
  }
  .volunteer-card {
    padding: 5px 1px;
    max-width: 200px;
  }
  .volunteers-grid {
    max-width: 100%;
  }
  .areas-of-work-item__img {
    width: 160px;
    height: 142px;
  }
  .donations {
    margin: 15vh auto 0;
  }
  .current__fund-raising-projects-index {
    margin-top: 12vh;
  }
}

@media (max-width: 540px) {
  .areas-of-work-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .menu__list {
    max-width: 220px; /* Максимальна ширина меню */
  }
  .title {
    font-size: 28px;
  }
  .title:hover {
    opacity: 1;
  }
  .top-link {
    max-width: 310px;
    font-size: 24px;
  }
  .swiper-pagination-horizontal.swiper-pagination-bullets
    .swiper-pagination-bullet {
    margin: 0 10px;
  }
  .swiper-pagination-bullet {
    width: 35px;
  }
  .lightbox-img {
    max-width: 45vh;
    max-height: 55vh;
    width: auto;
    height: auto;
  }

  .why-lease__list {
    grid-template-columns: repeat(1, 1fr);
  }

  .why-lease {
    padding: 50px;
  }
  .thumbnail-events {
    width: 200px;
    height: 160px;
  }
}

@media (max-width: 480px) {
  .current__fund-raising-projects-index {
    display: flex;
  }
  .section-title {
    font-size: 1.8em;
  }

  .donation-img {
    max-width: 100%;
    height: auto; /* Ще більше збільшуємо розмір QR-коду */
  }

  .info-box {
    padding: 10px;
  }

  .donation-info h2 {
    font-size: 1.1em;
  }

  .info-row p {
    font-size: 13px;
  }
  .container__about-fund {
    font-size: 16px; /* Мінімальний розмір для комфортного читання */
    padding: 0 10px;
  }
  .contacts__description {
    font-size: 14px;
    padding: 0 5px; /* Менші відступи для опису */
  }
  .contacts__form-wrapper {
    padding-bottom: 75%; /* Наприклад, якщо форма стає більш квадратною на малих екранах */
    min-height: 250px;
  }

  .section-title,
  .section-title-events {
    font-size: 24px;
  }
  .lightbox-img {
    max-width: 33vh;
    max-height: 50vh;
    width: auto;
    height: auto;
  }

  .gallery-events {
    margin-top: 5px;
  }
  .social-btn {
    width: 40px;
    height: 40px;
  }
  .social-btn img {
    width: 18px;
    height: 18px;
  }
  .thumbnail-events {
    width: 150px;
    height: 100px;
  }
  .current__fund-raising-projects-index {
    margin-top: 10vh;
  }
  .btn {
    width: calc(
      100% - 30px
    ); /* На менших екранах кнопки можуть займати майже всю ширину */
    max-width: none; /* Забираємо обмеження max-width */
    margin: 10px auto;
  }
  .menu__footer-item-social-media {
    height: 30px;
    width: 30px;
    margin-right: 20px;
  }
  .fund_mission-text,
  .step-content p {
    margin: 0 5px;
  }
  .volunteer-desc {
    font-size: 12px;
    margin-bottom: 0;
  }

  .logo__img {
    width: 30px;
  }
  .donate-button {
    font-size: 12px;
    padding: 6px 12px;
  }
  .menu__list {
    max-width: 150px;
  }
}

@media (max-width: 400px) {
  .areas-of-work-item__img {
    width: 160px;
    height: 142px;
  }
  .places-list li {
    font-size: 14px;
    padding: 10px 12px;
  }
  .channel-info h2 {
    font-size: 18px;
  }
  .current__fund-raising-projects-inner {
    grid-template-columns: repeat(1, 1fr);
  }
  .footer__menu-link-media img {
    width: 30px;
    height: 30px;
  }
  .title {
    font-size: 27px;
    margin-top: 0;
  }
  .top__link {
    margin-top: 330px;
    padding: 10px;
    font-size: 22px;
  }
}

@media (max-width: 340px) {
  .areas-of-work-item__img {
    width: 90px;
    height: 90px;
  }
  .current__fund-raising-projects-index {
    margin-top: 10.5vh;
  }
  .quick-donation-button {
    padding: 10px 10px;
    font-size: 16px;
  }
  .fund_achievements-text {
    font-size: 14px;
    line-height: 20px;
  }
  .title {
    font-size: 26px;
    margin: 0;
  }
  .thumbnail-events {
    width: 110px;
    height: 90px;
  }
  .city-title {
    font-size: 22px;
    margin: 30px 0 10px;
  }
  .volunteer-name {
    font-size: 16px;
    font-weight: 600;
    margin: 5px 5px;
  }
  .youtube-btn {
    display: none;
  }
  .menu__footer-social {
    gap: 25px;
  }
  .logo__img {
    display: none;
  }
  .fund_achievements-inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .donate-button {
    font-size: 10px;
    padding: 5px 10px;
  }
  /* .menu__btn.open span:nth-child(1) {
    transform: translateX(7px) rotate(45deg);
  }
  .menu__btn.open span:nth-child(3) {
    transform: translateX(-7px) rotate(-45deg);
  } */
  .menu__list {
    width: 100%; /* На повну ширину на найменших екранах */
  }
  .section-title {
    font-size: 2em;
  }
}

@media (max-width: 240px) {
  .donate-button-only {
    font-size: 10px;
  }
  .menu__list-item {
    font-size: 14px;
    padding: 0;
  }
  /* .menu__list {
  flex-direction: row;
  align-items: center;
  padding: 10px 0;
  } */
}

.current__fund-raising-projects-item {
  width: 100%;
}

.fundraising-image {
  height: 200px;
}

.fundraising-title {
  font-size: 16px;
}

.fundraising-description {
  font-size: 14px;
}

.donate-button {
  padding: 8px 10px;
  font-size: 14px;
}

.youtube-section iframe {
  width: 100%;
  height: 300px;
}

.tabs__btn-items {
  flex-direction: column;
}

.tabs__content-items {
  flex-direction: column;
}

.tabs__btn-item {
  margin: 5px 0;
}

.events-list {
  grid-template-columns: 1fr;
}

.event-card {
  margin-bottom: 20px;
}

.form-container {
  padding: 10px;
}

.form-group label {
  font-size: 14px;
}

.form-group input,
.form-group textarea {
  font-size: 14px;
}

.submit-button {
  font-size: 14px;
}
