/* Gallery Toolbar */
.gallery .toolbar { border-bottom: 0; }

/* Gallery Board */
.gallery__board .gallery-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4.5rem 2rem; margin: 0; padding: 0; list-style: none; }
.gallery__board .gallery-item { min-width: 0; margin: 0; padding: 0; }
.gallery__board .gallery-item__link { display: flex; flex-direction: column; gap: 15px; color: inherit; text-decoration: none; }
.gallery__board .gallery-item__thumb { width: clamp(300px, 100%, 464px); max-width: 100%; aspect-ratio: 464 / 348; overflow: hidden; }
.gallery__board .gallery-item__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gallery__board .gallery-item__content { display: flex; flex-direction: column; gap: 15px; min-width: 0; }
.gallery__board .gallery-item__title { overflow: hidden; margin: 0; color: var(--color-text-default); font-size: clamp(20px, calc(20px + (100vw - 1024px) * 6 / 896), 26px); font-weight: 700; line-height: clamp(26px, calc(26px + (100vw - 1024px) * 4 / 896), 30px); white-space: nowrap; text-overflow: ellipsis; }
.gallery__board .gallery-item__link:hover .gallery-item__title { color: var(--color-tab-active); }
.gallery__board .gallery-item__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; color: var(--color-text-default); font-size: var(--font-size-body); font-weight: 400; line-height: var(--line-height-body); }
.gallery__board .gallery-item__meta > .date + .views::before { content: ""; display: inline-block; flex-shrink: 0; width: 3px; height: 3px; margin-right: 14px; border-radius: 50%; background-color: currentColor; vertical-align: middle; }
.gallery__board .gallery-item__label::after { content: " · "; }

@media (max-width: 1024px) {
  /* Gallery Board */
  .gallery__board .gallery-list { grid-template-columns: minmax(0, 1fr); gap: clamp(30px, calc(30px + (100vw - 360px) * 42 / 664), 72px); }
  .gallery__board .gallery-item__thumb { width: 100%; height: clamp(270px, calc(270px + (100vw - 360px) * 130 / 664), 400px); aspect-ratio: auto; }
}
