/* Map Azbloq photo-gallery tokens onto Esthetaz theme */
.photo-gallery-page {
  --tc-neutral-900: var(--bs-body-color, #1f2937);
  --tc-neutral-600: var(--bs-secondary-color, #6b7280);
  --tc-system-white: #fff;
  --tc-border-1: rgba(15, 23, 42, 0.12);
  --tc-bg-1: rgba(15, 23, 42, 0.04);
  --theme-color: var(--theme-primary, #0e82fd);
}

html[data-theme="dark"] .photo-gallery-page,
html.dark-mode .photo-gallery-page {
  --tc-neutral-900: #f3f4f6;
  --tc-neutral-600: rgba(243, 244, 246, 0.72);
  --tc-system-white: #111827;
  --tc-border-1: rgba(255, 255, 255, 0.14);
  --tc-bg-1: rgba(255, 255, 255, 0.06);
}

html[data-theme="dark"] .photo-gallery-card,
html.dark-mode .photo-gallery-card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}

html[data-theme="dark"] .photo-gallery-filters__btn.is-active,
html.dark-mode .photo-gallery-filters__btn.is-active {
  background: var(--theme-primary, #0e82fd);
  border-color: var(--theme-primary, #0e82fd);
  color: #fff;
}

html[data-theme="dark"] .photo-gallery-page__title::after,
html.dark-mode .photo-gallery-page__title::after {
  background: var(--theme-primary, #0e82fd);
}

.photo-gallery-filters__btn.is-active {
  background: var(--theme-primary, #0e82fd);
  border-color: var(--theme-primary, #0e82fd);
  color: #fff;
}

.photo-gallery-card__badge {
  background: var(--theme-primary, #0e82fd);
}

.photo-gallery-album-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.35rem;
  font-size: 0.82rem;
  font-weight: 650;
  color: var(--theme-primary, #0e82fd);
  text-decoration: none;
}

.photo-gallery-album-link:hover {
  text-decoration: underline;
}

.photo-gallery-page__count {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  color: var(--tc-neutral-600);
}
