/* Translations styles */

.translations__body {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 20px;
  row-gap: 50px;
}

.translations__item {
  height: 300px;
  flex-direction: column;
  align-items: flex-start;
}

.translation__box, .translation__box img {
  width: 100%;
  height: 260px;
}


.translation__box iframe {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
}

.translation__day {
  margin-top: auto;
  color: var(--blackText);
  font-size: 22px;
  font-weight: 700;
  line-height: 26px;
}

/* Photo styles */

.photo__body {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  margin-bottom: 70px;
}

.photo__item {
  width: 100%;
  height: 265px;
  border-radius: 6px;
}

.photo__pagination {
  text-align: center;
  justify-content: center;
  flex-wrap: wrap;
}

.pagination__btn {
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 6px;
  background-color: transparent;
  color: var(--secondaryBlue);
  font-size: 28px;
  font-weight: 700;
  transition: all .3s;
  cursor: pointer;
}

.pagination__btn_active {
  background-color: var(--secondaryBlue);
  color: var(--white);
  font-size: 36px;
}

@media (max-width: 1200px) {
  .photo__body {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 1024px) {
  .translations__body {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 10px;
    row-gap: 20px;
  }

  .translations__item {
    height: 280px;
  }
  
  .translation__box {
    height: 250px;
  }

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

@media (max-width: 768px) {
  
  .translations__item {
    height: 260px;
  }
  
  .translation__box {
    height: 220px;
  }

  .photo__body {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 20px;
  }

  .pagination__btn {
    width: 35px;
    height: 35px;
    border: none;
    font-size: 20px;
  }

  .pagination__btn_active {
    font-size: 24px;
  }
}

@media (max-width: 568px) {
  .translations__body {
    grid-template-columns: 100%;
    column-gap: 0;
    row-gap: 20px;
  }

  .photo__item {
    height: 230px;
  }
}