/*
 * The Biennale gallery pages (components/AlbumsPage.tsx + AlbumTabs.tsx), 2026-11-05. The Elementor JetTabs showed
 * the album names but no pictures; here each album is a tab and its pictures stand in columns at their own shape.
 * The hero is the program pages' (components/PageHero.tsx, styles/hero.css).
 */

.acm-al {
  --accent: var(--acm-orange);
  --accent-soft: color-mix(in srgb, var(--accent) 6%, #fff);
  --accent-line: color-mix(in srgb, var(--accent) 18%, #fff);
}
.acm-al-intro {
  max-width: 860px;
  margin: 0 0 32px;
  font-family: var(--font-body);
  font-size: 16.2px;
  line-height: 1.55;
  color: var(--acm-text);
}
.acm-al-intro p {
  margin: 0 0 1em;
}

/* tabs */
.acm-al-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 26px;
}
.acm-al-tab__count {
  padding: 1px 7px;
  border-radius: var(--r-pill);
  background: rgba(226, 101, 48, 0.12);
  font-size: 12px;
  font-weight: 700;
}
.acm-al-tab[aria-selected="true"] .acm-al-tab__count {
  background: rgba(255, 255, 255, 0.25);
}

/* pictures in columns, each at its own shape */
.acm-al-grid {
  columns: 4 260px;
  column-gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.acm-al-grid li {
  break-inside: avoid;
  margin: 0 0 14px;
}
.acm-al-grid a {
  display: block;
  overflow: hidden;
  border-radius: var(--r-md);
  background: var(--accent-soft);
}
.acm-al-grid img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.4s ease;
}
.acm-al-grid a:hover img {
  transform: scale(1.05);
}
.acm-al-grid a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

@media (max-width: 767px) {
  .acm-al-tabs {
    justify-content: center;
    gap: 8px;
  }
  .acm-al-grid {
    columns: 2;
    column-gap: 8px;
  }
  .acm-al-grid li {
    margin-bottom: 8px;
  }
}
