/* Shared square liquid-glass credit. The photograph shows through without inversion. */
.featured-work-cover .exhibition-badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 2;
  display: grid;
  box-sizing: border-box;
  grid-template-rows: 10px 26px;
  align-content: center;
  gap: 4px;
  width: 84px;
  height: 60px;
  padding: 8px;
  border: 1px solid rgba(243, 239, 231, 0.38);
  border-radius: 0;
  background: rgba(14, 18, 20, 0.8);
  box-shadow:
    0 3px 10px rgba(0, 0, 0, 0.16),
    inset 1px 1px 1px rgba(255, 255, 255, 0.36),
    inset -1px -1px 1px rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.featured-work-cover .exhibition-badge::before,
.featured-work-cover .exhibition-badge::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.featured-work-cover .exhibition-badge::before {
  /* Corner reflections and a restrained diagonal sheen give the glass depth. */
  background:
    radial-gradient(ellipse at 0 0, rgba(255, 255, 255, 0.28), transparent 58%),
    radial-gradient(ellipse at 100% 100%, rgba(255, 255, 255, 0.16), transparent 52%),
    linear-gradient(125deg, transparent 28%, rgba(255, 255, 255, 0.08) 48%, transparent 66%);
}

.featured-work-cover .exhibition-badge::after {
  inset: 2px;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.featured-work-cover .exhibition-badge__label {
  position: relative;
  z-index: 1;
  display: block;
  margin: 0;
  color: #f3efe7;
  font-family: 'JetBrains Mono', monospace;
  font-size: 7px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
  white-space: nowrap;
}

.featured-work-cover .exhibition-badge__logo {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: 26px;
}

.featured-work-cover .exhibition-badge__logo img {
  position: static;
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 26px;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 1px 1.5px rgba(0, 0, 0, 0.55));
}

@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .featured-work-cover .exhibition-badge {
    background: rgba(14, 18, 20, 0.24);
    -webkit-backdrop-filter: blur(8px) saturate(150%) brightness(70%);
    backdrop-filter: blur(8px) saturate(150%) brightness(70%);
  }
}

@media (max-width: 767px) {
  .featured-work-cover .exhibition-badge {
    left: 8px;
    bottom: 8px;
    grid-template-rows: 8px 18px;
    gap: 2px;
    width: 56px;
    height: 40px;
    padding: 5px;
  }

  .featured-work-cover .exhibition-badge__label {
    font-size: 6px;
    line-height: 8px;
    letter-spacing: 0.04em;
  }

  .featured-work-cover .exhibition-badge__logo {
    height: 18px;
  }

  .featured-work-cover .exhibition-badge__logo img {
    max-height: 18px;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .featured-work-cover .exhibition-badge {
    background: rgba(9, 9, 9, 0.94);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .featured-work-cover .exhibition-badge::before,
  .featured-work-cover .exhibition-badge::after {
    display: none;
  }
}
