/* Shared by the public page and screenshot composition. The product's card CSS stays intact. */
.card-gallery-shell {
  container-type: inline-size;
  width: 100%;
}
.card-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}
.card-example {
  margin: 0;
  padding: 24px;
  border: 1px solid #dce5dc;
  border-radius: 18px;
  background: #edf3ec;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}
.card-example figcaption {
  font:
    500 12px/1.5 system-ui,
    sans-serif;
  color: #42584c;
  letter-spacing: 0.02em;
  margin: 0;
}
.card-example.studio {
  grid-column: 2;
  grid-row: 1 / 3;
  background: #ece5f4;
  border-color: #ded3e9;
}
.card-example.studio figcaption {
  color: #594469;
}
.card-example.coffee {
  background: #eedcc2;
  border-color: #dfc9a8;
}
.card-example.coffee figcaption {
  color: #634829;
}
.card-example .bl-author-card-wrapper {
  width: 100%;
}
.card-example .bl-author-card-container {
  margin: 0 auto;
}
.card-example .sample-link {
  align-self: flex-start;
  font:
    500 12px/1.5 system-ui,
    sans-serif;
  color: #08696c;
  margin: 0;
  text-underline-offset: 4px;
}
@container (max-width:1040px) {
  .card-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .card-example.garden {
    grid-column: 1 / -1;
  }
  .card-example.studio {
    grid-column: 1;
    grid-row: auto;
  }
  .card-example.coffee {
    grid-column: 2;
  }
}
@container (max-width:620px) {
  .card-gallery {
    grid-template-columns: 1fr;
  }
  .card-example.garden,
  .card-example.studio,
  .card-example.coffee {
    grid-column: auto;
    grid-row: auto;
  }
  .card-example {
    padding: 22px;
  }
}
