@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;
}

/* Bootstrap: explicit grid + gap (row gutters often collapse) */
.tips-grid__bs-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
}

.tips-grid__min-shrink {
    min-width: 0;
}

@media (min-width: 768px) {
    .tips-grid__bs-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.tips-grid__subtitle {
    max-width: 42rem;
}

.tips-grid__thumb {
    width: 3rem;
    height: 3rem;
}

.glossary-v3-accent {
    height: 2px;
    width: 64px;
}

.glossary-v3-col {
    width: 100%;
}

@media (min-width: 768px) {
    .glossary-v3-col {
        width: 33.333333%;
    }
}

.wire-reader-split__decor--alpha {
    top: 5rem;
    left: 2.5rem;
    width: 2.5rem;
    height: 2.5rem;
    animation-duration: 4s;
}

.wire-reader-split__decor--beta {
    top: 10rem;
    right: 5rem;
    width: 2rem;
    height: 2rem;
    animation-duration: 3s;
}

.wire-reader-split__decor--gamma {
    bottom: 8rem;
    left: 25%;
    width: 1.5rem;
    height: 1.5rem;
    animation-duration: 2s;
}

.wire-reader-split__decor--delta {
    bottom: 5rem;
    right: 33.333%;
    width: 3rem;
    height: 3rem;
    animation-duration: 5s;
    animation-delay: 1s;
}

.wire-reader-split__underline {
    width: 6rem;
    height: 0.25rem;
}

.wire-reader-split__sidebar {
    flex: 0 0 40%;
}

.wire-reader-split__index-badge {
    width: 2rem;
    height: 2rem;
}

.wire-reader-split__viewport {
    flex: 0 0 60%;
    height: fit-content;
}

.wire-reader-split__media {
    height: 12rem;
}

.wire-reader-split__img {
    object-fit: cover;
}
.wire-reader-split__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content-col-grow {
    flex: 1 1 0%;
    min-width: 0;
}

.content-img-fill {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 16rem;
    min-width: 0;
    object-fit: cover;
    flex-shrink: 0;
}

.writeup-document__text-panel-inset {
    padding: 4rem;
}

.writeup-document__img-tilt {
    transform: rotate(6deg);
}

