.about {
  padding: 100px 0;
  background-color: #fff;
}

.about__container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  /* flex-wrap: wrap; */
}

.about__content {
  /* flex: 1 1 45%; */
  width: 60%;
}

.about__title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #0b6fb6;
}

.about__subtitle {
  font-size: 20px;
  font-weight: 600;
  margin-top: 20px;
  margin-bottom: 10px;
}

.about__text {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
}

.about__images {
  display: flex;
  width: 50%;
  height: 400px;
  /* height: 100%; фіксована висота контейнера, можна задати іншу або min-height */
  gap: 20px;
}

.about__images_block1 {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 60%;
  height: 100%;
  gap: 20px;
}

.about__image1,
.about__image2 {
  width: 100%;
  height: 50%; /* ділять висоту порівну */
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.about__image3 {
  width: 40%;
  height: 100%; /* займає всю висоту */
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

/* --- Адаптив --- */
@media (max-width: 1200px) {


 .about__container {
    width: 80vw;
 }   
}


@media (max-width: 940px) {

  .about__images {
    flex-direction: column; /* замість grid */
    height: auto; /* даємо блоку рости */
  }

  .about__container {
    display: flex;
    justify-content: center;
    gap: 20px;
    width: 100%;
    flex-direction: column;
}

 .about__content {
    width: 80%;
 }

 .about__images {
    display: flex;
    flex-direction: row;
    justify-content: center;
 }

  .about__images_block1 {
    width: 100%;
    height: auto;
  }

  .about__image1,
  .about__image2 {
    height: auto; /* картинки займають свою висоту */
  }

  .about__image3 {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 600px) {
  .about__images {
    gap: 10px;
  }

  .about__image1,
  .about__image2,
  .about__image3 {
    border-radius: 6px;
  }
}
