/* Shared enoughX Lab fusion card used by the Slovak and English indexes. */
.glyph-lab__card {
  position: relative;
  display: block;
  min-height: 440px;
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid rgba(245, 140, 128, .26);
  border-radius: 24px;
  background: #141010;
  color: #f1eee8;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .3);
  text-decoration: none;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.glyph-lab__card:hover,
.glyph-lab__card:focus-visible {
  border-color: rgba(245, 140, 128, .6);
  box-shadow: 0 34px 92px rgba(0, 0, 0, .42), 0 0 34px rgba(231, 76, 60, .12);
  color: #f1eee8;
  transform: translateY(-4px);
}

.glyph-lab__card:focus-visible {
  outline: 2px solid #f58c80;
  outline-offset: 4px;
}

.glyph-lab__canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.glyph-lab__canvas::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background: linear-gradient(to bottom, rgba(14, 14, 14, .02) 22%, rgba(14, 14, 14, .22) 52%, rgba(7, 7, 7, .94) 100%);
}

.glyph-lab__card--fusion .glyph-lab__canvas {
  background: radial-gradient(circle at 20% 15%, rgba(231, 76, 60, .28), transparent 36%), linear-gradient(135deg, #211111, #0d0d0d 68%);
}

.glyph-lab__card--fusion .glyph-lab__canvas::before {
  position: absolute;
  top: 50%;
  right: -.04em;
  width: clamp(300px, 38vw, 640px);
  aspect-ratio: 80 / 78;
  content: "";
  background-color: #1a1112;
  background-image:
    linear-gradient(135deg, rgba(231, 76, 60, .38), transparent 58%),
    url("../img/enoughx_x-glyph-pattern.webp"),
    url("../img/enoughx_x-glyph-pattern.webp");
  background-position: 0 0, 0 0, 11px 11px;
  background-repeat: no-repeat, repeat, repeat;
  background-size: 100% 100%, 22px 22px, 22px 22px;
  -webkit-mask-image: url("../img/enoughx_x-glyph.webp");
  mask-image: url("../img/enoughx_x-glyph.webp");
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  filter: drop-shadow(0 0 70px rgba(231, 76, 60, .16));
  transform: translateY(-48%);
  transition: filter .3s ease, transform .3s ease;
}

.glyph-lab__card:hover .glyph-lab__canvas::before,
.glyph-lab__card:focus-visible .glyph-lab__canvas::before {
  filter: drop-shadow(0 0 86px rgba(231, 76, 60, .3));
  transform: translateY(-48%) scale(1.025);
}

.glyph-lab__tag {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 2;
  color: rgba(241, 238, 232, .72);
  font: 600 10px/1.4 "Open Sans", Arial, sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.glyph-lab__copy {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  padding: 30px;
}

.glyph-lab__copy h3 {
  max-width: 520px;
  margin: 10px 0 0;
  color: #f1eee8;
  font: normal clamp(30px, 4vw, 54px)/1.04 "Yeseva One", Georgia, serif;
  letter-spacing: -.035em;
}

.glyph-lab__copy p {
  max-width: 560px;
  margin: 14px 0 0;
  color: rgba(241, 238, 232, .72);
  font: normal 14px/1.65 "Open Sans", Arial, sans-serif;
}

.glyph-lab__accent {
  color: #f58c80;
  font-weight: 700;
}

.glyph-lab__link-hint {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin-top: 22px;
  color: #f58c80;
  font: 700 11px/1.4 "Open Sans", Arial, sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.glyph-lab__link-hint span {
  font-size: 18px;
  line-height: 0;
  transition: transform .2s ease;
}

.glyph-lab__card:hover .glyph-lab__link-hint span,
.glyph-lab__card:focus-visible .glyph-lab__link-hint span {
  transform: translate(3px, -3px);
}

@media (max-width: 767px) {
  .glyph-lab__card {
    min-height: 390px;
  }

  .glyph-lab__card--fusion .glyph-lab__canvas::before {
    width: clamp(220px, 66vw, 420px);
  }

  .glyph-lab__copy {
    padding: 26px;
  }

  .glyph-lab__copy h3 {
    max-width: 80%;
  }
}
