.album-header h2 {
  font-size: 17px;
  text-align: justify;
  font-weight: 400;
  margin: 10px 0;
}
.button {
  border: 0;
  padding: 5px 10px;
}
#albums, #photos-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 20px;
}
.album, .photo {
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: transform 0.2s;
  background: white;
}
.album:hover, .photo:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}
.album img, .photo img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.photo img {
  height: auto;
  max-height: 300px;
}
.flickr-albums-wrapper .album-link {
  text-decoration: none;
  color: inherit;
}
.album-term {
  font-style: italic;
}
.album-title {
  padding: 10px;
  font-size: 14px;
  line-height: 16px;
  color: #161a1d;
  height: 58px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.album-title::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 18px;
  background-image: url('./folder.svg');
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 8px;
  vertical-align: middle;
}
.glightbox-clean .gdesc-inner {
  padding: 10px;
}
.album {
  position: relative;
}
.album-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 180px;
  background-color: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.album-overlay svg {
  margin-right: 5px;
}
.album:hover .album-overlay {
  opacity: 1;
}
#pagination, #photos-pagination {
  display: flex;
  justify-content: flex-end;
  margin: 20px 0;
  gap: 2px;
  flex-wrap: wrap;
  align-items: center;
}
#pagination button, #photos-pagination button {
  padding: 10px;
  font-size: 15px;
  border: none;
  background-color: #ffffff;
  color: #000;
  cursor: pointer;
  border-radius: 0;
  min-width: 40px;
}
#pagination button:hover, #photos-pagination button:hover {
  background-color: #161A1D;
  color: #ffffff;
}
#pagination button.active, #photos-pagination button.active {
  background-color: #161A1D;
  color: white;
  border-color: #161A1D;
}
#pagination button.disabled, #photos-pagination button.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
#photos {
  display: none;
}
@media (max-width: 768px) {
  #albums, #photos-container {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  #albums, #photos-container {
    grid-template-columns: 1fr;
  }
  #pagination, #photos-pagination {
    gap: 5px;
  }
  #pagination button, #photos-pagination button {
    padding: 6px 10px;
    font-size: 13px;
  }
}