/* Native, keyboard-accessible photo disclosures on the work gallery only. */
.gallery-more {
  margin-top: 24px;
}

.gallery-more > summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--accent);
  border-radius: 2px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.5;
  cursor: pointer;
  list-style: none;
}

.gallery-more > summary::-webkit-details-marker {
  display: none;
}

.gallery-more > summary:hover {
  background: var(--hover);
}

.gallery-more > summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.gallery-more-open {
  display: none;
}

.gallery-more[open] > summary .gallery-more-closed {
  display: none;
}

.gallery-more[open] > summary .gallery-more-open {
  display: inline;
}

.gallery-more-indicator {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.gallery-more[open] > summary .gallery-more-indicator {
  transform: translateY(2px) rotate(225deg);
}

.gallery-more > .photo-grid {
  margin-top: 24px;
}
