.gallery-text-below__card {
    transition: transform 0.3s ease;
}

.gallery-text-below__card:hover {
    transform: scale(1.05);
}

.gallery-text-below__img {
    height: 16rem;
}

.glossary-v2-cluster__card {
    width: 100%;
}

@media (min-width: 992px) {
    .glossary-v2-cluster__card {
        width: calc(50% - 0.75rem); /* For gap-4 (1.5rem) -> half is 0.75rem */
    }
}

/* Layout — colors stay in Blade / @sem */

.spine-bookmark__cover {
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 380px;
  min-height: 360px;
}

.spine-bookmark__margin {
  width: 36px;
  flex-shrink: 0;
  align-self: stretch;
}

.spine-bookmark__box {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.spine-bookmark__media {
  flex: 1 1 auto;
  min-height: 12rem;
  overflow: hidden;
}

.spine-bookmark__tag {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

