.image-gallery-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}
.image-gallery-container .gallery-header {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin-bottom: 32px;
  gap: 20px;
}
@media (max-width: 768px) {
  .image-gallery-container .gallery-header {
    flex-direction: column;
    gap: 15px;
    overflow: auto;
  }
}
.image-gallery-container .gallery-header .gallery-actions {
  flex-shrink: 0;
}
.image-gallery-container .gallery-actions {
  display: flex;
  justify-content: center;
  margin: 0 0 40px;
}
.image-gallery-container .gallery-actions button {
  margin: 0;
  background-color: rgb(51, 51, 51);
  border: none;
  border-radius: 60px;
  color: rgb(255, 255, 255);
  height: 60px;
  text-transform: none;
  padding-left: 24px;
  padding-right: 24px;
  font-size: 100%;
  font-weight: inherit;
  font-family: Inter-Medium, sans-serif;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}
.image-gallery-container .gallery-actions button:hover {
  background-color: rgb(40, 40, 40);
  color: rgb(255, 255, 255);
  transform: translateY(-1px);
}
.image-gallery-container .gallery-actions button .bzfy-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}
.image-gallery-container .gallery-actions button .bzfy-icon svg {
  width: 18px;
  height: 15px;
}
.image-gallery-container .gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}
@media (max-width: 768px) {
  .image-gallery-container .gallery-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 0 15px 10px 15px;
    margin: 0 -15px 20px -15px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
  }
  .image-gallery-container .gallery-filters::-webkit-scrollbar {
    height: 3px;
  }
  .image-gallery-container .gallery-filters::-webkit-scrollbar-track {
    background: transparent;
  }
  .image-gallery-container .gallery-filters::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
  }
  .image-gallery-container .gallery-filters::before, .image-gallery-container .gallery-filters::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 10px;
    width: 15px;
    pointer-events: none;
    z-index: 1;
  }
  .image-gallery-container .gallery-filters::before {
    left: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.8), transparent);
  }
  .image-gallery-container .gallery-filters::after {
    right: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 0.8), transparent);
  }
  .image-gallery-container .gallery-filters {
    position: relative;
  }
}
.image-gallery-container .gallery-filters .filter-btn {
  padding: 10px 24px;
  border: 1px solid #333;
  background: rgb(248, 242, 238);
  color: #333;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 16px;
  font-weight: 500;
  font-family: Inter-Medium, sans-serif;
}
@media (max-width: 768px) {
  .image-gallery-container .gallery-filters .filter-btn {
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 14px;
    padding: 10px 20px;
    margin-right: 8px;
    min-width: auto;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .image-gallery-container .gallery-filters .filter-btn:last-child {
    margin-right: 15px;
  }
}
.image-gallery-container .gallery-filters .filter-btn:hover {
  border-color: #333;
  background: #333;
  color: #fff;
}
.image-gallery-container .gallery-filters .filter-btn.active {
  border-color: #333;
  background: #333;
  color: #fff;
}
.image-gallery-container .gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}
.image-gallery-container .gallery-grid .gallery-item {
  transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}
@media (max-width: 1200px) {
  .image-gallery-container .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 900px) {
  .image-gallery-container .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 600px) {
  .image-gallery-container .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.image-gallery-container .gallery-grid .gallery-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.image-gallery-container .gallery-grid .gallery-item:hover {
  transform: scale(1.05);
}
.image-gallery-container .gallery-grid .gallery-item .gallery-item-image {
  position: relative;
  width: 100%;
  height: 100%;
}
.image-gallery-container .gallery-grid .gallery-item .gallery-item-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  display: block;
}
.image-gallery-container .gallery-grid .gallery-item .gallery-item-image .multiple-images-indicator {
  position: absolute;
  top: 10px;
  right: 10px;
  color: white;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  width: 20px;
  height: 20px;
  padding: 0;
}
.image-gallery-container .gallery-grid .gallery-item .gallery-item-image .multiple-images-indicator g {
  fill: #fff;
}
.image-gallery-container .gallery-grid .gallery-item .gallery-item-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}
.image-gallery-container .gallery-grid .gallery-item .gallery-item-overlay .gallery-item-author {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  text-align: center;
}
.image-gallery-container .gallery-grid .gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}
.image-gallery-container .gallery-grid .no-items {
  grid-column: 1/-1;
  text-align: center;
  padding: 40px;
  color: #666;
  font-size: 16px;
}
.image-gallery-container .gallery-load-more {
  text-align: center;
}
.image-gallery-container .gallery-load-more .load-more-btn {
  padding: 12px 30px;
  background: #007cba;
  color: white;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  transition: background 0.3s ease;
}
.image-gallery-container .gallery-load-more .load-more-btn:hover {
  background: #005a87;
}

.gallery-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
}
.gallery-popup .popup-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
}
.gallery-popup .popup-content {
  position: relative;
  width: 90%;
  max-width: 1200px;
  margin: 5% auto;
  background: white;
  display: flex;
  flex-direction: column;
}
.gallery-popup .popup-content .popup-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  color: #333;
  border: none;
  width: 40px;
  height: 40px;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
}
.gallery-popup .popup-content .popup-close:hover {
  color: #000;
}
.gallery-popup .popup-content .popup-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  z-index: 20;
  transition: all 0.3s ease;
}
.gallery-popup .popup-content .popup-nav:hover:not(:disabled) {
  background: rgba(0, 0, 0, 0.9);
  transform: translateY(-50%) scale(1.1);
}
.gallery-popup .popup-content .popup-nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  background: rgba(0, 0, 0, 0.3);
}
.gallery-popup .popup-content .popup-nav.loading {
  opacity: 0.6;
  cursor: not-allowed;
}
.gallery-popup .popup-content .popup-nav.loading i {
  animation: spin 1s linear infinite;
}
.gallery-popup .popup-content .popup-nav.popup-nav-prev {
  left: -70px;
}
.gallery-popup .popup-content .popup-nav.popup-nav-next {
  right: -70px;
}
@media (max-width: 768px) {
  .gallery-popup .popup-content .popup-nav {
    display: none;
  }
}
.gallery-popup .popup-content .popup-main {
  display: flex;
  min-height: 600px;
  max-height: 80vh;
}
.gallery-popup .popup-content .popup-main .popup-image-container {
  flex: 1;
  position: relative;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
}
.gallery-popup .popup-content .popup-main .popup-image-container .popup-image {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  display: block;
}
.gallery-popup .popup-content .popup-main .popup-image-container .popup-image-counter {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
}
.gallery-popup .popup-content .popup-main .popup-image-container .popup-image-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  height: 0;
  pointer-events: none;
}
.gallery-popup .popup-content .popup-main .popup-image-container .popup-image-nav button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  pointer-events: auto;
  z-index: 10;
}
.gallery-popup .popup-content .popup-main .popup-image-container .popup-image-nav button svg {
  width: 24px;
  height: 24px;
}
.gallery-popup .popup-content .popup-main .popup-image-container .popup-image-nav button:hover:not(:disabled) {
  background: rgba(0, 0, 0, 0.8);
  transform: translateY(-50%) scale(1.1);
}
.gallery-popup .popup-content .popup-main .popup-image-container .popup-image-nav button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  background: rgba(0, 0, 0, 0.2);
}
.gallery-popup .popup-content .popup-main .popup-image-container .popup-image-nav button.popup-image-prev {
  left: 20px;
}
.gallery-popup .popup-content .popup-main .popup-image-container .popup-image-nav button.popup-image-next {
  right: 20px;
}
.gallery-popup .popup-content .popup-main .popup-details {
  flex: 0 0 400px;
  padding: 40px;
  background: white;
  overflow-y: auto;
}
.gallery-popup .popup-content .popup-main .popup-details .popup-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #333;
}
.gallery-popup .popup-content .popup-main .popup-details .popup-content-text {
  font-size: 16px;
  line-height: 1.6;
  color: #666;
  margin-bottom: 20px;
}
.gallery-popup .popup-content .popup-main .popup-details .popup-author {
  font-size: 14px;
  color: #999;
  margin-bottom: 30px;
  font-style: italic;
}
.gallery-popup .popup-content .popup-main .popup-details .popup-actions .cta-btn {
  display: inline-block;
  padding: 12px 24px;
  background: #333;
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 500;
  transition: 0.3s ease;
  opacity: 1;
}
.gallery-popup .popup-content .popup-main .popup-details .popup-actions .cta-btn:hover {
  opacity: 0.7;
}
.gallery-popup .popup-content .popup-footer {
  background: #f8f9fa;
  padding: 0;
  display: none;
}
@media (max-width: 768px) {
  .gallery-popup .popup-content .popup-footer {
    display: block;
  }
}
.gallery-popup .popup-content .popup-footer .popup-post-navigation {
  display: flex;
  align-items: stretch;
  width: 100%;
}
.gallery-popup .popup-content .popup-footer .popup-post-navigation .popup-post-prev,
.gallery-popup .popup-content .popup-footer .popup-post-navigation .popup-post-next {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgb(248, 242, 238);
  border: 1px solid rgba(0, 0, 0, 0.05);
  padding: 20px 16px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
  width: 50%;
  border-radius: 0;
  color: #333;
}
.gallery-popup .popup-content .popup-footer .popup-post-navigation .popup-post-prev svg,
.gallery-popup .popup-content .popup-footer .popup-post-navigation .popup-post-next svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.gallery-popup .popup-content .popup-footer .popup-post-navigation .popup-post-prev:disabled,
.gallery-popup .popup-content .popup-footer .popup-post-navigation .popup-post-next:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  border-color: rgba(0, 0, 0, 0.05);
}
.gallery-popup .popup-content .popup-footer .popup-post-navigation .popup-post-prev {
  border-right: 1px solid rgba(0, 0, 0, 0.1);
}
.gallery-popup .popup-content .popup-footer .popup-post-navigation .popup-post-next.loading {
  opacity: 0.6;
  cursor: not-allowed;
}
.gallery-popup .popup-content .popup-footer .popup-post-navigation .popup-post-next.loading span {
  animation: pulse 1.5s ease-in-out infinite;
}

@media (max-width: 768px) {
  .gallery-popup .popup-content {
    width: 95%;
    height: 95%;
    margin: 2.5% auto;
    justify-content: space-between;
  }
  .gallery-popup .popup-content .popup-main {
    flex-direction: column;
  }
  .gallery-popup .popup-content .popup-main .popup-details {
    flex: none;
    max-height: 40%;
    padding: 20px;
  }
  .gallery-popup .popup-content .popup-main .popup-image-container .popup-image-nav button {
    width: 40px;
    height: 40px;
  }
  .gallery-popup .popup-content .popup-main .popup-image-container .popup-image-nav button svg {
    width: 20px;
    height: 20px;
  }
  .gallery-popup .popup-content .popup-main .popup-image-container .popup-image-nav button.popup-image-prev {
    left: 10px;
  }
  .gallery-popup .popup-content .popup-main .popup-image-container .popup-image-nav button.popup-image-next {
    right: 10px;
  }
  .gallery-popup .popup-content .popup-footer {
    padding: 0;
  }
  .gallery-popup .popup-content .popup-footer .popup-post-navigation .popup-post-prev,
  .gallery-popup .popup-content .popup-footer .popup-post-navigation .popup-post-next {
    padding: 16px 12px;
    font-size: 14px;
  }
  .gallery-popup .popup-content .popup-footer .popup-post-navigation .popup-post-prev svg,
  .gallery-popup .popup-content .popup-footer .popup-post-navigation .popup-post-next svg {
    width: 16px;
    height: 16px;
  }
}
.gallery-item {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
}
.gallery-item:nth-child(1) {
  animation-delay: 0.1s;
}
.gallery-item:nth-child(2) {
  animation-delay: 0.2s;
}
.gallery-item:nth-child(3) {
  animation-delay: 0.3s;
}
.gallery-item:nth-child(4) {
  animation-delay: 0.4s;
}
.gallery-item:nth-child(5) {
  animation-delay: 0.5s;
}
.gallery-item:nth-child(6) {
  animation-delay: 0.6s;
}
.gallery-item:nth-child(7) {
  animation-delay: 0.7s;
}
.gallery-item:nth-child(8) {
  animation-delay: 0.8s;
}
.gallery-item:nth-child(9) {
  animation-delay: 0.9s;
}
.gallery-item:nth-child(10) {
  animation-delay: 1s;
}
.gallery-item:nth-child(11) {
  animation-delay: 1.1s;
}
.gallery-item:nth-child(12) {
  animation-delay: 1.2s;
}
.gallery-item:nth-child(13) {
  animation-delay: 1.3s;
}
.gallery-item:nth-child(14) {
  animation-delay: 1.4s;
}
.gallery-item:nth-child(15) {
  animation-delay: 1.5s;
}
.gallery-item:nth-child(16) {
  animation-delay: 1.6s;
}
.gallery-item:nth-child(17) {
  animation-delay: 1.7s;
}
.gallery-item:nth-child(18) {
  animation-delay: 1.8s;
}
.gallery-item:nth-child(19) {
  animation-delay: 1.9s;
}
.gallery-item:nth-child(20) {
  animation-delay: 2s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}
.gallery-item.filtered-out {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s ease;
}

.gallery-item.filtered-in {
  opacity: 1;
  transform: scale(1);
  transition: all 0.3s ease;
}

.gallery-loading-indicator {
  grid-column: 1/-1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  opacity: 0.8;
}
.gallery-loading-indicator .loading-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #007cba;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 15px;
}
.gallery-loading-indicator .loading-text {
  color: #666;
  font-size: 14px;
  font-weight: 500;
  margin: 0;
  text-align: center;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/*# sourceMappingURL=gallery.css.map */
