@keyframes driftLeftRight {
    0% { transform: translateX(-15%); }
    50% { transform: translateX(15%); }
    100% { transform: translateX(-15%); }
}

@keyframes driftRightLeft {
    0% { transform: translateX(15%); }
    50% { transform: translateX(-15%); }
    100% { transform: translateX(15%); }
}

.intro-drift-strip-a {
    width: 33%;
    height: 6rem;
    animation: driftLeftRight 14s ease-in-out infinite;
}

.intro-drift-strip-b {
    width: 50%;
    height: 4rem;
    animation: driftRightLeft 18s ease-in-out infinite;
}

.intro-drift-strip-c {
    width: 25%;
    height: 5rem;
    animation: driftLeftRight 12s ease-in-out infinite;
    animation-delay: 3s;
}

.intro-drift-container {
    max-width: 80rem;
}

.intro-drift-textbox {
    max-width: 48rem;
}

/* glossary steps — oversized counter ring (layout only) */
.glossary-steps__num {
    width: 3.75rem;
    height: 3.75rem;
    min-width: 3.75rem;
}

/* Featured: высота превью и заполнение колонки на md+ (без цветов) */
.journal-tag-feature__lead {
    min-height: 16rem;
}

@media (min-width: 768px) {
    .journal-tag-feature__lead {
        min-height: 18rem;
        align-self: stretch;
    }
}

.journal-tag-feature__hero-shot {
    display: block;
    width: 100%;
    min-height: 16rem;
}

@media (min-width: 768px) {
    .journal-tag-feature__hero-shot {
        height: 100%;
        min-height: 100%;
    }
}

/* Карточки сетки: компактный блок с иконкой */
.journal-tag-feature__icon-frame {
    min-height: 7rem;
}

.journal-tag-feature__icon-glyph {
    line-height: 1;
}

.journal-tag-feature__lead img,
.journal-tag-feature__hero-shot {
    object-fit: cover;
}

.tips-interactive__badge {
    z-index: 20;
}

.tips-interactive__inner {
    z-index: 10;
}

.tips-interactive__panel {
    z-index: 50;
}

.tips-interactive__thumb {
    width: 4rem;
    height: 4rem;
}

.tips-interactive__thumb--sm {
    width: 3rem;
    height: 3rem;
}

.tips-interactive__panel--collapsed {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-1rem);
}

.tips-interactive__panel--open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

