.best-photographs-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 991.98px) {
  .best-photographs-list {
    grid-template-columns: repeat(1, 1fr);
  }
}
.best-photographs-item {
  width: 100%;
  height: 410px;
  object-fit: cover;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  background-blend-mode: overlay;
  transition: background-color 0.2s;
}
@media (max-width: 991.98px) {
  .best-photographs-item {
    height: 328px;
  }
}
.best-photographs-item-overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  display: none;
  backdrop-filter: blur(4px);
}
@media (max-width: 991.98px) {
  .best-photographs-item-overlay {
    display: none !important;
  }
}
.best-photographs-item-text {
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 8;
  -webkit-box-orient: vertical;
  font-size: 20px;
}
@media (min-width: 992px) {
  .best-photographs-item:hover {
    background-color: rgba(0, 0, 0, 0.6);
  }
  .best-photographs-item:hover .best-photographs-item-overlay {
    display: flex;
  }
}
.best-photographs-item-link {
  color: #F47A35;
  transition: opacity 0.2s;
}
.best-photographs-item-link:hover {
  color: #F47A35;
  opacity: 0.7;
}
.best-photographs-pagination .page-numbers {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #000;
  font-weight: bold;
  transition: color 0.2s;
}
.best-photographs-pagination .page-numbers.current {
  background-color: #000;
  color: #fff;
}
.best-photographs-pagination .page-numbers.current:hover {
  color: #fff;
}
.best-photographs-pagination .page-numbers:hover {
  color: #F47A35;
}
.best-photographs-pagination .prev {
  position: relative;
}
.best-photographs-pagination .prev:hover img {
  filter: invert(75%) sepia(54%) saturate(5873%) hue-rotate(339deg) brightness(101%) contrast(91%);
}
.best-photographs-pagination .prev:before {
  content: "";
  display: block;
  width: 1px;
  height: 20px;
  background-color: #F2F2F2;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
}
.best-photographs-pagination .next {
  position: relative;
}
.best-photographs-pagination .next:hover img {
  filter: invert(75%) sepia(54%) saturate(5873%) hue-rotate(339deg) brightness(101%) contrast(91%);
}
.best-photographs-pagination .next:before {
  content: "";
  display: block;
  width: 1px;
  height: 20px;
  background-color: #F2F2F2;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
}

.custom-photo-popup-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh;
  z-index: 99;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 16px;
}
.custom-photo-popup-content {
  width: 100%;
  max-width: 720px;
  background-color: #fff;
  position: relative;
  border-radius: 8px;
}
.custom-photo-popup-image {
  object-fit: cover;
  height: 400px;
  width: 100%;
  border-radius: 8px 8px 0 0;
}
@media (max-width: 767.98px) {
  .custom-photo-popup-image {
    height: 250px;
  }
}
.custom-photo-popup-text {
  overflow-y: auto;
  max-height: 250px;
}
.custom-photo-popup-text::-webkit-scrollbar {
  width: 5px;
  height: 5px;
  background-color: #F2F2F2;
}
.custom-photo-popup-text::-webkit-scrollbar-thumb {
  background: #F47A35;
}
@media (max-width: 767.98px) {
  .custom-photo-popup-text {
    height: 180px;
  }
}
.custom-photo-popup-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background-color: rgba(0, 0, 0, 0.12);
  transition: background-color 0.2s;
  cursor: pointer;
  border: none;
}
.custom-photo-popup-close:hover {
  background-color: rgba(0, 0, 0, 0.3);
}

/*# sourceMappingURL=best_photo_new.css.map */
