.promo-exhibition {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: clamp(12px, 2.4vw, 24px);
  margin-top: clamp(18px, 3.5vw, 36px);
}

.promo-exhibition__feature {
  position: relative;
  min-width: 0;
}

.promo-exhibition__card {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-width: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  text-align: start;
  cursor: pointer;
}

.promo-exhibition__card:hover {
  border-color: var(--link);
}

.promo-exhibition__card:focus-visible,
.promo-exhibition__motion-toggle:focus-visible,
.promo-exhibition__dialog :is(button, a):focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 4px;
}

.promo-exhibition__preview {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #111721;
  object-fit: cover;
}

.promo-exhibition__motion-toggle {
  position: absolute;
  top: 12px;
  right: 12px;
  min-height: 40px;
  padding: 7px 12px;
  border: 1px solid #eff6ff8c;
  border-radius: 7px;
  background: #0b1526d9;
  color: #fff;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.promo-exhibition__motion-toggle:hover {
  background: #172941;
}

.promo-exhibition__mosaic {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(0, 1fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 3px;
  min-height: 0;
  overflow: hidden;
  background: var(--paper);
}

.promo-exhibition__mosaic img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  background: var(--canvas);
  object-fit: cover;
}

.promo-exhibition__mosaic img:first-child {
  grid-row: span 2;
  object-position: 58% center;
}

.promo-exhibition__caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 11px 15px;
  font-size: 16px;
  font-weight: 630;
}

.promo-exhibition__caption span {
  color: var(--link);
  font-size: 19px;
}

.promo-exhibition__dialog {
  box-sizing: border-box;
  width: min(830px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  padding: clamp(16px, 3vw, 25px);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 20px 65px #11182640;
}

.promo-exhibition__dialog::backdrop {
  background: #1118269e;
}

.promo-exhibition__dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 15px;
}

.promo-exhibition__dialog-head h3 {
  margin: 0;
  font-size: clamp(21px, 3vw, 28px);
  line-height: 1.2;
  letter-spacing: -.025em;
}

.promo-exhibition__dialog-head form {
  margin: 0;
}

.promo-exhibition__dialog-head button {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 24px;
  cursor: pointer;
}

.promo-exhibition__dialog-head button:hover {
  background: var(--canvas);
}

.promo-exhibition__dialog video {
  display: block;
  width: 100%;
  max-height: 65dvh;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  background: #111721;
}

.promo-exhibition__pictures {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 2vw, 18px);
}

.promo-exhibition__pictures figure {
  margin: 0;
}

.promo-exhibition__pictures img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 7px;
  background: var(--canvas);
}

.promo-exhibition__pictures figcaption {
  margin-top: 8px;
  color: var(--ink);
  font-size: 14px;
}

.promo-exhibition__original {
  display: inline-block;
  margin-top: 16px;
  color: var(--link);
  font-weight: 620;
}

.promo-exhibition__original:hover {
  text-decoration: underline;
  text-underline-offset: .18em;
}

@media (max-width: 650px) {
  .promo-exhibition {
    grid-template-columns: minmax(0, 1fr);
  }

  .promo-exhibition__mosaic {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 520px) {
  .promo-exhibition__pictures {
    grid-template-columns: minmax(0, 1fr);
  }
}
