
.showcaseTopWrap {
  padding: 1.5rem 0 0.625rem;
}

.showcaseTopWrap .showcaseFilterHero {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
}

.showcaseFilterWrap {
  width: 100%;
}

.showcaseChip {
  cursor: pointer;
  padding: 11px 20px;
  border: 1px solid #f0d6d2;
  border-radius: 999px;
  background: #fff;
  color: #8a4038;
  font-size: 1rem;
  line-height: 1;
  transition: all .2s ease;
}

.showcaseChip.active,
.showcaseChip:hover {
  background: #fff4f2;
  border-color: #efc2bb;
  color: #c64a3c;
}

.showcaseMainWrap {
  padding: 18px 0 84px;
}

.showcaseGrid {
  column-count: 4;
  column-gap: 22px;
}

.showcaseCard {
  display: inline-block;
  width: 100%;
  margin: 0 0 22px;
  break-inside: avoid;
}

.showcaseCard.is-hidden {
  display: none !important;
}

.showcaseMedia {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 26px;
  background: #0c0f15;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 14px 40px rgba(18, 22, 31, 0.08);
}

.showcaseMediaFrame {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.showcaseMedia[data-ratio="16:9"] .showcaseMediaFrame {
  aspect-ratio: 16 / 9;
}

.showcaseMedia[data-ratio="9:16"] .showcaseMediaFrame {
  aspect-ratio: 9 / 16;
}

.showcaseMedia[data-ratio="4:3"] .showcaseMediaFrame {
  aspect-ratio: 4 / 3;
}

.showcaseMedia[data-ratio="1:1"] .showcaseMediaFrame {
  aspect-ratio: 1 / 1;
}

.showcaseMedia img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease, filter .45s ease;
}

.showcaseMedia::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 10, 14, 0) 30%, rgba(8, 10, 14, 0.26) 58%, rgba(8, 10, 14, 0.86) 100%);
  opacity: 0;
  transition: opacity .3s ease;
}

.showcaseMedia:hover img,
.showcaseMedia:focus-visible img {
  transform: scale(1.04);
  filter: saturate(1.04);
}

.showcaseMedia:hover::after,
.showcaseMedia:focus-visible::after {
  opacity: 1;
}

.showcaseBadgeRow {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  pointer-events: none;
}

.showcaseBadge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(12, 15, 21, 0.5);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 0.8125rem;
  line-height: 1;
  white-space: nowrap;
}

.showcaseBadgeSoft {
  margin-left: auto;
  background: rgba(255, 255, 255, 0.86);
  color: #151820;
  border-color: rgba(255, 255, 255, 0.7);
}

.showcaseOverlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  padding: 18px;
  pointer-events: none;
}

.showcaseOverlayInner {
  width: 100%;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .28s ease, transform .28s ease;
}

.showcaseMedia:hover .showcaseOverlayInner,
.showcaseMedia:focus-visible .showcaseOverlayInner {
  opacity: 1;
  transform: translateY(0);
}

.showcaseOverlay h3 {
  margin: 0 0 0.375rem;
  color: #fff;
  font-size: 1.125rem;
  line-height: 1.25;
  font-family: 'NunitoSans-ExtraBold';
}

.showcaseOverlay p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
  line-height: 1.55;
}

.showcaseModal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s ease, visibility .22s ease;
}

.showcaseModal.is-open {
  opacity: 1;
  visibility: visible;
}

.showcaseModalBackdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 15, 21, 0.68);
  backdrop-filter: blur(6px);
}

.showcaseModalDialog {
  position: relative;
  width: min(1260px, calc(100% - 36px));
  max-height: calc(100vh - 40px);
  margin: 20px auto;
  overflow: auto;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2);
}

.showcaseModalDialog.is-portrait {
  width: min(1040px, calc(100% - 28px));
}

.showcaseModalDialog.is-square {
  width: min(1120px, calc(100% - 32px));
}

.showcaseModalClose {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: #2d2d2d;
  font-size: 32px;
  line-height: 1;
}

.showcaseModalBody {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 420px);
  min-height: min(760px, calc(100vh - 40px));
}

.showcaseModalStageWrap {
  padding: 28px;
  background: linear-gradient(180deg, #f7f8fb 0%, #f2f3f7 100%);
}

.showcaseModalStage {
  position: sticky;
  top: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 96px);
  border-radius: 24px;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0) 48%),
    linear-gradient(180deg, #151821 0%, #1c1f29 100%);
  overflow: hidden;
}

.showcaseModalStage img {
  display: block;
  max-width: calc(100% - 28px);
  max-height: calc(100vh - 140px);
  border-radius: 18px;
  object-fit: contain;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.28);
}

.showcaseModalSidebar {
  padding: 32px 28px 28px;
  background: #fff;
}

.showcaseModalHeadline {
  width: 100%;
}

.showcaseModalTop {
  margin-bottom: 1.125rem;
  padding-right: 3.75rem;
}


.showcaseModalHeadline h3 {
  margin: 0;
  color: #12161f;
  font-size: 1.8rem;
  line-height: 1.14;
  max-width: 100%;
}



.showcaseKicker {
  color: #f35b50;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.showcaseTags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.showcaseTags span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f4f4f6;
  color: #555;
  font-size: 0.875rem;
  white-space: nowrap;
}

.showcaseInfoPanel {
  padding: 18px;
  border: 1px solid #ece7e4;
  border-radius: 20px;
  background: #fbfbfc;
}

.showcaseInfoPanel + .showcaseInfoPanel {
  margin-top: 14px;
}

.showcaseMetaList {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.showcaseMetaItem {
  padding: 14px;
  border-radius: 16px;
  background: #fff;
}

.showcaseMetaLabel {
  display: block;
  margin-bottom: 6px;
  color: #667085;
  font-size: 0.875rem;
}

.showcaseMetaItem strong {
  color: #12161f;
  font-size: 1rem;
}

.showcasePromptHead {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 12px;
}

.showcasePromptHead h4,
.showcaseRefPanel h4 {
  margin: 0;
  color: #21252f;
  font-size: 1rem;
  line-height: 1.2;
}

.showcaseCopyBtn {
  padding: 0;
  border: 0;
  background: transparent;
  color: #f35b50;
  font-size: 1rem;
  font-weight: 700;
}

.showcasePromptText {
  margin: 0;
  color: #525c6d;
  font-size: 0.98rem;
  line-height: 1.8;
}

.showcaseRefPanel.is-hidden {
  display: none !important;
}

.showcaseRefGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.showcaseRefItem {
  display: block;
  overflow: hidden;
  border-radius: 14px;
  background: #edeff3;
  aspect-ratio: 1 / 1;
}

.showcaseRefItem img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 1399px) {
  .showcaseGrid {
    column-count: 3;
  }
}


/* Unified style system refinements */
.showcaseChip {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.875rem;
  padding: 0.75rem 1.125rem;
  border: 0.0625rem solid #eadfdc;
  border-radius: 999rem;
  background: linear-gradient(180deg, #ffffff 0%, #fff9f8 100%);
  box-shadow: 0 0.375rem 1rem rgba(18, 22, 31, 0.04);
  color: #7f433c;
  font-size: 0.9375rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.showcaseChip::before,
.showcaseStyleTag::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 0.25rem rgba(243, 91, 80, 0.1);
  flex: 0 0 auto;
}

.showcaseChip:hover,
.showcaseChip.active {
  transform: translateY(-0.0625rem);
  box-shadow: 0 0.75rem 1.5rem rgba(18, 22, 31, 0.08);
}

.showcaseChip[data-filter="all"] {
  color: #7f433c;
}

.showcaseChip[data-filter="photorealistic"] {
  color: #155b75;
  border-color: #d3e8ef;
  background: linear-gradient(180deg, #ffffff 0%, #f6fdff 100%);
}

.showcaseChip[data-filter="cinematic"] {
  color: #8a3ffc;
  border-color: #e5dbff;
  background: linear-gradient(180deg, #ffffff 0%, #fbf8ff 100%);
}

.showcaseChip[data-filter="fantasy"] {
  color: #0f8a6d;
  border-color: #d8f0e8;
  background: linear-gradient(180deg, #ffffff 0%, #f4fffb 100%);
}

.showcaseChip[data-filter="anime"] {
  color: #c2410c;
  border-color: #f8dfd2;
  background: linear-gradient(180deg, #ffffff 0%, #fff8f4 100%);
}

.showcaseChip[data-filter="cyberpunk"] {
  color: #c11574;
  border-color: #f4d7ea;
  background: linear-gradient(180deg, #ffffff 0%, #fff7fc 100%);
}

.showcaseChip[data-filter="editorial"] {
  color: #344054;
  border-color: #dfe4ee;
  background: linear-gradient(180deg, #ffffff 0%, #fafbff 100%);
}

.showcaseChip[data-filter="vintage"] {
  color: #9a6700;
  border-color: #f2e2b8;
  background: linear-gradient(180deg, #ffffff 0%, #fffaf0 100%);
}

.showcaseChip[data-filter="surreal"] {
  color: #0e7490;
  border-color: #d6eef4;
  background: linear-gradient(180deg, #ffffff 0%, #f3fcff 100%);
}

.showcaseChip.active {
  color: #ffffff;
  border-color: transparent;
  background: linear-gradient(135deg, #f56459 0%, #ef6d63 52%, #eb8f61 100%);
}

.showcaseChip.active::before {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.16);
}

.showcaseStyleTag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.25rem;
  padding: 0 0.9375rem;
  border: 0.0625rem solid #e7eaf1;
  border-radius: 999rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 0.5rem 1.25rem rgba(16, 24, 40, 0.06);
  color: #344054;
  font-size: 0.875rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.showcaseStyleTag[data-tone="cinematic"] {
  color: #8a3ffc;
  border-color: #e5dbff;
  background: linear-gradient(180deg, #ffffff 0%, #faf7ff 100%);
}

.showcaseStyleTag[data-tone="product"] {
  color: #155b75;
  border-color: #d3e8ef;
  background: linear-gradient(180deg, #ffffff 0%, #f6fdff 100%);
}

.showcaseStyleTag[data-tone="anime"] {
  color: #c2410c;
  border-color: #f8dfd2;
  background: linear-gradient(180deg, #ffffff 0%, #fff8f4 100%);
}

.showcaseStyleTag[data-tone="cyberpunk"] {
  color: #c11574;
  border-color: #f4d7ea;
  background: linear-gradient(180deg, #ffffff 0%, #fff7fc 100%);
}

.showcaseStyleTag[data-tone="music"] {
  color: #9a6700;
  border-color: #f2e2b8;
  background: linear-gradient(180deg, #ffffff 0%, #fffaf0 100%);
}

@media (max-width: 991.98px) {
  .showcaseTopWrap .showcaseFilterHero {
    justify-content: flex-start;
  }

  .showcaseGrid {
    column-count: 2;
  }

  .showcaseModalDialog,
  .showcaseModalDialog.is-portrait,
  .showcaseModalDialog.is-square {
    width: calc(100% - 22px);
    max-height: calc(100vh - 22px);
    margin: 11px auto;
  }

  .showcaseModalBody {
    grid-template-columns: 1fr;
  }

  .showcaseModalStageWrap {
    padding: 18px 18px 0;
  }

  .showcaseModalStage {
    position: relative;
    top: 0;
    min-height: auto;
    height: min(66vh, 700px);
  }

  .showcaseModalStage img {
    max-height: calc(100% - 24px);
  }

  .showcaseModalSidebar {
    padding: 22px 18px 18px;
  }

  .showcaseModalTop {
  margin-bottom: 1.125rem;
  padding-right: 3.75rem;
}

}

@media (max-width: 767.98px) {
  .showcaseTopWrap {
    padding: 1rem 0 0.375rem;
  }

  .showcaseTopWrap .showcaseFilterHero {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
  }

  .showcaseChip {
    width: 100%;
    min-height: 42px;
    padding: 10px 12px;
    font-size: 0.875rem;
    text-align: center;
  }

  .showcaseMainWrap {
    padding: 14px 0 58px;
  }

  .showcaseGrid {
    column-count: 1;
    column-gap: 0;
  }

  .showcaseCard {
    margin-bottom: 16px;
  }

  .showcaseMedia {
    border-radius: 22px;
  }

  .showcaseBadgeRow {
    top: 12px;
    left: 12px;
    right: 12px;
  }

  .showcaseOverlay {
    padding: 16px;
  }

  .showcaseOverlay h3 {
  margin: 0 0 0.375rem;
  color: #fff;
  font-size: 1.125rem;
  line-height: 1.25;
  font-family: 'NunitoSans-ExtraBold';
}

  .showcaseOverlay p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
  line-height: 1.55;
}

  .showcaseModalClose {
    top: 10px;
    right: 10px;
    width: 44px;
    height: 44px;
    font-size: 28px;
  }

  .showcaseModalStageWrap {
    padding: 12px 12px 0;
  }

  .showcaseModalStage {
    height: min(56vh, 520px);
    border-radius: 18px;
  }

  .showcaseModalSidebar {
    padding: 16px 14px 14px;
  }

  .showcaseModalTop {
  margin-bottom: 1.125rem;
  padding-right: 3.75rem;
}


  .showcaseModalHeadline h3 {
  margin: 0;
  color: #12161f;
  font-size: 1.8rem;
  line-height: 1.14;
  max-width: 100%;
}


  .showcaseModalHeadline p,
  .showcasePromptText {
    font-size: 0.95rem;
  }

  .showcaseTags {
    justify-content: flex-start;
  }

  .showcaseMetaList {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .showcaseMetaItem {
    padding: 12px;
    border-radius: 14px;
  }

  .showcaseRefGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
}


.showcaseBadgeRow {
  display: none;
}

@media (max-width: 767.98px) {
  .showcaseModalTop {
    padding-right: 0;
  }

  .showcaseModalHeadline h3 {
    font-size: 1.5rem;
  }

  .showcaseStyleRow {
    margin-top: 0.75rem;
  }

  .showcaseStyleTag {
    min-height: 2rem;
    padding: 0 0.75rem;
    font-size: 0.8125rem;
  }
}

/* Refinements requested on 2026-03-20 */
.showcaseModalTop {
  width: 100%;
  padding-right: 0;
}

.showcaseModalHeadline,
.showcaseModalHeadline h3 {
  width: 100%;
}


/* 2026-03-20 refined modal + AI style categories */
.showcaseChip {
  min-height: 2.625rem;
  padding: 0.625rem 1rem;
}

.showcaseModalSidebar {
  padding: 2.125rem 1.75rem 1.75rem;
  background: linear-gradient(180deg, #ffffff 0%, #fafbff 100%);
}

.showcaseModalTop {
  width: 100%;
  margin-bottom: 1.125rem;
  padding-right: 4.125rem;
}

.showcaseModePill {
  display: inline-flex;
  align-items: center;
  min-height: 2.125rem;
  padding: 0 0.875rem;
  margin-bottom: 1rem;
  border: 0.0625rem solid #e4e7ec;
  border-radius: 999rem;
  background: #f7f8fb;
  color: #344054;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1;
}

.showcaseModalHeadline,
.showcaseModalHeadline h3 {
  width: 100%;
}

.showcaseModalHeadline h3 {
  margin: 0;
  color: #101828;
  font-size: 1.75rem;
  line-height: 1.16;
  letter-spacing: -0.02em;
}

.showcaseStyleRow {
  width: 100%;
  margin-top: 0.875rem;
}

.showcaseStyleRow.is-hidden {
  display: none !important;
}

.showcaseStyleTag {
  display: inline-flex;
  align-items: center;
  min-height: 2.125rem;
  padding: 0 0.875rem;
  border: 0.0625rem solid #e7eaf1;
  border-radius: 999rem;
  background: linear-gradient(180deg, #fbfcff 0%, #f4f7fb 100%);
  color: #344054;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.showcaseInfoPanel {
  padding: 1.125rem;
  border: 0.0625rem solid #ebeef5;
  border-radius: 1.375rem;
  background: #ffffff;
  box-shadow: 0 0.625rem 1.875rem rgba(16, 24, 40, 0.06);
}

.showcaseInfoPanel + .showcaseInfoPanel {
  margin-top: 1rem;
}

.showcaseSectionIntro {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

.showcaseSectionEyebrow {
  color: #98a2b3;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.showcaseSectionIntro h4 {
  margin: 0;
  color: #101828;
  font-size: 1rem;
  line-height: 1.2;
}

.showcaseMetaPanel .showcaseSectionIntro {
  margin-bottom: 0.875rem;
}

.showcaseMetaList {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.showcaseMetaItem {
  padding: 1rem;
  border: 0.0625rem solid #edf0f5;
  border-radius: 1.125rem;
  background: #f8fafc;
}

.showcaseMetaLabel {
  display: block;
  margin-bottom: 0.5rem;
  color: #667085;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: uppercase;
}

.showcaseMetaItem strong {
  display: block;
  color: #101828;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.45;
  word-break: break-word;
}

.showcasePanelHead {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.875rem;
}

.showcaseCopyBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 5.5rem;
  min-height: 2.5rem;
  padding: 0 0.9375rem;
  border: 0.0625rem solid #d8deea;
  border-radius: 999rem;
  background: #ffffff;
  color: #111827;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.showcaseCopyBtn:hover {
  transform: translateY(-0.0625rem);
  background: #f8fafc;
  border-color: #cfd7e6;
}

.showcasePromptBox {
  padding: 1rem 1.125rem;
  border: 0.0625rem solid #edf0f5;
  border-radius: 1.125rem;
  background: linear-gradient(180deg, #fbfcfe 0%, #f7f8fc 100%);
}

.showcasePromptText {
  margin: 0;
  color: #475467;
  font-size: 0.98rem;
  line-height: 1.82;
}

.showcaseRefGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.625rem;
}

.showcaseRefGrid[data-count="1"] {
  grid-template-columns: 1fr;
}

.showcaseRefGrid[data-count="2"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.showcaseRefGrid[data-count="1"] .showcaseRefItem {
  aspect-ratio: 16 / 10;
}

.showcaseRefItem {
  display: block;
  overflow: hidden;
  border: 0.0625rem solid #edf0f5;
  border-radius: 1rem;
  background: #eef1f5;
  box-shadow: inset 0 0.0625rem 0 rgba(255, 255, 255, 0.6);
  aspect-ratio: 1 / 1;
}

.showcaseRefItem img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.showcaseRefItem:hover img {
  transform: scale(1.03);
}



  .showcaseModalSidebar {
    padding: 1.375rem 1.125rem 1.25rem;
  }

  .showcaseModalTop {
    padding-right: 3.5rem;
  }

  .showcaseModalHeadline h3 {
    font-size: 1.5625rem;
  }
}

@media (max-width: 767.98px) {
  .showcaseTopWrap .showcaseFilterHero {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .showcaseModalTop {
    padding-right: 0;
  }

  .showcaseModalSidebar {
    padding: 1rem 0.875rem 0.875rem;
  }

  .showcaseModalHeadline h3 {
    font-size: 1.375rem;
  }

  .showcasePanelHead {
    flex-direction: column;
    align-items: stretch;
  }

  .showcaseCopyBtn {
    width: 100%;
  }

  .showcaseMetaList {
    grid-template-columns: 1fr;
  }

  .showcaseRefGrid,
  .showcaseRefGrid[data-count="2"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .showcaseRefGrid[data-count="1"] {
    grid-template-columns: 1fr;
  }
}
