.gallery-showcase {
  --gallery-ink: #061f60;
  --gallery-edge: #ded7ca;
  --gallery-panel: #faf7ef;
  color: var(--gallery-ink);
  width: min(100% - 36px, 1340px);
  margin: clamp(42px, 7vw, 100px) auto;
}
.gallery-showcase h2 {
  margin-block: 0 .45em;
  font: 500 clamp(30px, 4vw, 56px)/1.1 Atacama, Georgia, serif;
}
.gallery-showcase > p { max-width: 76ch; margin-block: .6em; }
.gallery-showcase-count { color: #515968; font-size: .9rem; }
.gallery-showcase-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 1.5vw, 22px);
  padding: 0;
  margin-block: 22px;
}
.gallery-showcase-list li {
  display: flex;
  flex-direction: column;
  min-inline-size: 0;
  background: var(--gallery-panel);
  border: 1px solid var(--gallery-edge);
  border-radius: 16px;
}
.gallery-showcase-list a {
  display: block;
  color: inherit;
  text-decoration: none;
  border-radius: 15px;
}
.gallery-showcase-list li > a:first-child { flex: 1; }
.gallery-showcase-list a:hover .gallery-showcase-title { text-decoration: underline; text-underline-offset: .2em; }
.gallery-showcase-visual {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  background: #ebe6db;
  color: var(--gallery-ink);
  overflow: hidden;
  border-radius: 15px 15px 0 0;
}
.gallery-showcase-surface { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gallery-showcase-mark {
  position: absolute;
  inset-inline-end: 6px;
  inset-block-end: 6px;
  padding: 2px 6px;
  border-radius: 4px;
  background: #132346;
  color: #fff;
  font-size: clamp(.61rem, 1.2vw, .72rem);
}
.gallery-showcase-title {
  display: block;
  padding: 10px 12px;
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.gallery-showcase-quick {
  display: flex;
  align-items: center;
  padding-inline: 12px;
  font-size: .85rem;
  font-weight: 650;
}
.gallery-showcase-list .gallery-showcase-studio {
  display: flex;
  align-items: center;
  width: fit-content;
  min-height: 44px;
  margin: 0 6px 5px;
  padding-inline: 6px;
  font-size: .85rem;
  text-decoration: underline;
  text-underline-offset: .2em;
}
.gallery-showcase-list a:focus-visible, .gallery-showcase-all:focus-visible, [data-gallery-coverage-wrapper]:focus-visible {
  outline: 2px solid #8f652d;
  outline-offset: 3px;
}
.gallery-showcase-unavailable { padding: .5em; }
.gallery-showcase-all {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .55em 1.1em;
  border: 1px solid #a57942;
  border-radius: 99px;
  background: #cda46a;
  color: #30210e;
  font-weight: 700;
  text-decoration: none;
}
.gallery-showcase-all:hover { background: #f3e2c2; }
[data-gallery-coverage-wrapper] { overflow-x: auto; }
[data-gallery-coverage] { width: 100%; min-width: 650px; border-collapse: collapse; }
[data-gallery-coverage] :is(th, td) { padding: 10px 12px; border-block-end: 1px solid #ded7ca; }
[data-gallery-coverage] th { text-align: start; }
[data-gallery-coverage] td { text-align: center; font-variant-numeric: tabular-nums; }
/* Site sections neighboring the Screens gallery include their padding in the viewport width. */
:is(#materiel-screens.r87-pairing, #studio.r85-editor) { box-sizing: border-box; }
@media (max-width: 960px) { .gallery-showcase-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 580px) {
  .gallery-showcase-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-showcase-title { font-size: .88rem; }
}
