/* Blog index design layer.
 *
 * The presentation layer for Components/Pages/BlogIndex.razor. Global CSS,
 * linked from App.razor — it was Blazor-scoped until the stylesheets were
 * consolidated under wwwroot/css. The same two rules pages/home.css and
 * pages/saas-pricing.css call out apply:
 *
 * 1. Nothing confines these rules to this page any more, so every selector is
 *    qb- prefixed or a descendant of one.
 * 2. @keyframes names are global too. Hence the qb- prefix on
 *    every one, so they cannot collide with the compiled Tailwind bundle, with
 *    Home's qh- animations, or with pricing's qp- ones.
 *
 * These rules are unlayered and Tailwind v4's utilities live inside @layer, so
 * they win regardless of specificity. Keep every selector class-based and
 * prefixed — a bare element selector here would leak the same way the deleted
 * css/site.css did.
 *
 * Palette is the logo ramp, identical to the pricing page: #a22dea
 * (magenta-violet) → #7b5ee5 → #5b5de2 (indigo-blue), with #4f46e5 → #7c3aed as
 * the primary. Nothing on this page uses a hue from outside that ramp, and the
 * only dark surface is the closing CTA band.
 *
 * Reading order the layout is built around: hero → a two-column body with the
 * vertical topic rail sticky on the left and one uniform grid of every post on
 * the right → one CTA. Nothing is promoted out of the grid into a featured
 * slot; the topic rail is the only way the list is ever split. Cards carry a
 * summary from the meta columns because the list query does not load bodies.
 *
 * The rail is vertical rather than a chip row so it survives the scroll — the
 * grid runs long, and a filter you can only reach by scrolling back to the top
 * is a filter nobody uses. It unstacks to a multi-column block above the grid
 * under 1000px, where a fixed side column would cost the cards too much width.
 */

/* ── shared: buttons ────────────────────────────────────────────────── */
.qb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 14px 26px;
    border-radius: 14px;
    border: 1px solid transparent;
    font-size: 15px;
    font-weight: 650;
    line-height: 1.1;
    text-align: center;
    cursor: pointer;
    transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s, background .25s, color .2s, border-color .25s;
}

.qb-btn:hover { transform: translateY(-2px); }

.qb-btn svg { width: 17px; height: 17px; flex: 0 0 auto; }

.qb-btn--solid {
    color: #fff;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    box-shadow: 0 18px 38px -18px rgba(79, 70, 229, .9);
}

.qb-btn--solid:hover {
    background: linear-gradient(135deg, #4338ca, #6d28d9);
    box-shadow: 0 26px 52px -18px rgba(79, 70, 229, 1);
}

/* On the dark CTA band a gradient button goes muddy, so it inverts instead —
   same trick as the pricing page's featured card. */
.qb-btn--light {
    color: #312e81;
    background: #fff;
    box-shadow: 0 18px 38px -18px rgba(2, 6, 23, .85);
}

.qb-btn--light:hover {
    color: #4338ca;
    background: #f5f3ff;
    box-shadow: 0 26px 52px -18px rgba(2, 6, 23, .95);
}

.qb-btn--ghost {
    color: #e9e7fb;
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .28);
}

.qb-btn--ghost:hover {
    color: #fff;
    background: rgba(255, 255, 255, .16);
    border-color: rgba(255, 255, 255, .5);
}

/* ── hero ───────────────────────────────────────────────────────────── */
.qb-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #fff 0%, #fbfaff 44%, #f3f1fe 100%);
    padding: 76px 0 62px;
}

.qb-hero__aurora,
.qb-hero__grid {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.qb-hero__aurora i {
    position: absolute;
    display: block;
    border-radius: 50%;
    filter: blur(90px);
    opacity: .72;
    animation: qb-drift 26s ease-in-out infinite;
}

.qb-hero__aurora i:nth-child(1) {
    width: 720px;
    height: 720px;
    top: -400px;
    right: -200px;
    background: radial-gradient(circle, rgba(129, 140, 248, .28), transparent 62%);
}

.qb-hero__aurora i:nth-child(2) {
    width: 560px;
    height: 560px;
    bottom: -300px;
    left: -200px;
    animation-delay: -9s;
    background: radial-gradient(circle, rgba(167, 139, 250, .26), transparent 62%);
}

.qb-hero__aurora i:nth-child(3) {
    width: 440px;
    height: 440px;
    top: 24%;
    left: 44%;
    animation-delay: -16s;
    background: radial-gradient(circle, rgba(162, 45, 234, .16), transparent 62%);
}

@keyframes qb-drift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%      { transform: translate(-46px, 38px) scale(1.08); }
    66%      { transform: translate(38px, -28px) scale(.94); }
}

.qb-hero__grid {
    opacity: .5;
    background-image: radial-gradient(circle at 1px 1px, rgba(79, 70, 229, .24) 1.1px, transparent 0);
    background-size: 22px 22px;
    -webkit-mask-image: radial-gradient(ellipse 58% 46% at 50% 8%, #000, transparent 72%);
    mask-image: radial-gradient(ellipse 58% 46% at 50% 8%, #000, transparent 72%);
}

.qb-hero__inner {
    position: relative;
    z-index: 5;
    max-width: 830px;
    margin: 0 auto;
    text-align: center;
}

.qb-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 17px 8px 9px;
    margin-bottom: 26px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(100deg, #4f46e5, #7c3aed 55%, #a855f7);
    box-shadow: 0 12px 30px -12px rgba(99, 102, 241, .85);
}

.qb-eyebrow__pip {
    width: 22px;
    height: 22px;
    border-radius: 99px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    color: #fff;
    background: rgba(255, 255, 255, .22);
    animation: qb-pulse 2.8s ease-in-out infinite;
}

.qb-eyebrow__pip svg { width: 12px; height: 12px; }

@keyframes qb-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .38); }
    50%      { box-shadow: 0 0 0 6px rgba(255, 255, 255, 0); }
}

.qb-hero__title {
    font-size: clamp(32px, 4.2vw, 54px);
    line-height: 1.08;
    letter-spacing: -.035em;
    font-weight: 800;
    color: #0b1020;
    margin: 0 0 20px;
}

.qb-accent {
    background: linear-gradient(96deg, #4f46e5 0%, #7c3aed 46%, #ec4899 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.qb-hero__lede {
    font-size: clamp(15.5px, 1.2vw, 17.5px);
    line-height: 1.65;
    color: #64748b;
    max-width: 640px;
    margin: 0 auto;
}

.qb-hero__lede strong {
    font-weight: 650;
    color: #334155;
}

/* Counts, not claims — every number here is derived from the published rows. */
.qb-stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px 40px;
    margin: 34px 0 0;
    padding: 0;
    list-style: none;
}

.qb-stats li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

.qb-stats b {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.1;
    background: linear-gradient(96deg, #4f46e5, #a22dea);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.qb-stats span {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #94a3b8;
}

/* ── byline ─────────────────────────────────────────────────────────── */
.qb-by {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.qb-by__av {
    width: 32px;
    height: 32px;
    border-radius: 99px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: .02em;
    color: #fff;
    background: linear-gradient(135deg, #a22dea, #5b5de2);
    box-shadow: 0 8px 18px -8px rgba(140, 40, 220, .85);
}

.qb-by__txt {
    display: flex;
    flex-direction: column;
    min-width: 0;
    font-size: 12.5px;
    line-height: 1.45;
    color: #94a3b8;
}

.qb-by__txt b {
    font-weight: 700;
    color: #334155;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ── list section ───────────────────────────────────────────────────── */
.qb-list {
    position: relative;
    padding: 62px 0 92px;
    background: linear-gradient(180deg, #fff 0%, #fbfaff 100%);
}

/* Rail left, grid right. align-items:start is what lets the sidebar be
   sticky — a stretched grid item is already as tall as the row, so it has
   nothing to slide within. */
.qb-layout {
    display: grid;
    grid-template-columns: 252px minmax(0, 1fr);
    align-items: start;
    gap: 40px;
}

.qb-main { min-width: 0; }

/* The header is sticky at the top of the viewport, so the rail parks below
   it rather than at 0. */
.qb-side {
    position: sticky;
    top: 96px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-width: 0;
}

/* ── search ─────────────────────────────────────────────────────────── */
/* A plain GET form — no JavaScript, and every result is a shareable URL. */
.qb-search {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 6px 6px 38px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #e7e5f5;
    box-shadow: 0 10px 26px -20px rgba(15, 23, 42, .55);
    transition: border-color .2s, box-shadow .25s;
}

.qb-search:focus-within {
    border-color: #c7d2fe;
    box-shadow: 0 16px 34px -20px rgba(79, 70, 229, .7);
}

.qb-search__ic {
    position: absolute;
    left: 14px;
    width: 16px;
    height: 16px;
    color: #94a3b8;
    pointer-events: none;
}

.qb-search__in {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    font-size: 13.5px;
    color: #0f172a;
}

.qb-search__in::placeholder { color: #a3aec0; }

/* Icon-only in the rail — a "Search" word label would push the field down to
   nothing at 252px wide. */
.qb-search__go {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    color: #fff;
    cursor: pointer;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    transition: background .25s, transform .2s;
}

.qb-search__go svg { width: 15px; height: 15px; }

.qb-search__go:hover {
    background: linear-gradient(135deg, #4338ca, #6d28d9);
    transform: translateX(1px);
}

/* ── vertical topic rail ────────────────────────────────────────────── */
.qb-rail {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 14px 12px 12px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid #eae9f6;
    box-shadow: 0 20px 44px -34px rgba(15, 23, 42, .45);
}

.qb-rail__head {
    margin: 0 0 8px;
    padding: 0 10px;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #a5b0c2;
}

.qb-rail__item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 12px;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.25;
    color: #475569;
    transition: color .2s, background .2s;
}

/* The active marker is a bar in the item's own left padding, drawn at zero
   height and grown on selection so nothing reflows between states. */
.qb-rail__item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 3px;
    height: 0;
    border-radius: 0 3px 3px 0;
    background: linear-gradient(180deg, #4f46e5, #a22dea);
    transform: translateY(-50%);
    transition: height .25s cubic-bezier(.2, .8, .2, 1);
}

.qb-rail__item:hover {
    color: #4f46e5;
    background: #f7f5ff;
}

.qb-rail__item:hover::before { height: 14px; }

.qb-rail__item--on {
    color: #3730a3;
    background: linear-gradient(100deg, #f1edff, #f7f3ff);
}

.qb-rail__item--on::before { height: 20px; }

.qb-rail__dot {
    width: 7px;
    height: 7px;
    flex: 0 0 auto;
    border-radius: 99px;
    background: #d9d5ee;
    transition: background .2s, box-shadow .25s;
}

.qb-rail__item:hover .qb-rail__dot { background: #a5b4fc; }

.qb-rail__item--on .qb-rail__dot {
    background: linear-gradient(135deg, #4f46e5, #a22dea);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, .16);
}

.qb-rail__label {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.qb-rail__n {
    flex: 0 0 auto;
    min-width: 22px;
    padding: 2px 7px;
    border-radius: 999px;
    text-align: center;
    font-size: 10.5px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    color: #8b97ab;
    background: #f3f4f9;
    transition: color .2s, background .2s;
}

.qb-rail__item:hover .qb-rail__n { color: #4f46e5; background: #ebe8ff; }

.qb-rail__item--on .qb-rail__n {
    color: #fff;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
}

/* ── sidebar tail card ──────────────────────────────────────────────── */
.qb-side__cta {
    position: relative;
    overflow: hidden;
    padding: 20px 20px 22px;
    border-radius: 20px;
    background: linear-gradient(165deg, #1c1745 0%, #141230 56%, #1b1349 100%);
    box-shadow: 0 30px 60px -40px rgba(79, 70, 229, .9);
}

.qb-side__cta::before {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    top: -170px;
    right: -90px;
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(circle, rgba(162, 45, 234, .38), transparent 64%);
}

.qb-side__cta-t {
    position: relative;
    margin: 0 0 8px;
    font-size: 14.5px;
    font-weight: 750;
    line-height: 1.35;
    letter-spacing: -.015em;
    color: #fff;
}

.qb-side__cta-p {
    position: relative;
    margin: 0 0 16px;
    font-size: 12.5px;
    line-height: 1.6;
    color: #a9b0d0;
}

.qb-side__cta-a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 16px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 700;
    color: #312e81;
    background: #fff;
    transition: color .2s, background .25s, transform .25s;
}

.qb-side__cta-a svg { width: 14px; height: 14px; }

.qb-side__cta-a:hover {
    color: #4338ca;
    background: #f5f3ff;
    transform: translateY(-1px);
}

.qb-result {
    margin: 0 0 26px;
    font-size: 13.5px;
    color: #64748b;
}

.qb-result b { font-weight: 750; color: #0f172a; }

.qb-result__clear {
    margin-left: 12px;
    font-weight: 650;
    color: #4f46e5;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.qb-result__clear:hover { color: #6d28d9; }

/* ── post grid ──────────────────────────────────────────────────────── */
.qb-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.qb-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 24px;
    background: #fff;
    border: 1px solid #eae9f6;
    box-shadow: 0 20px 44px -32px rgba(15, 23, 42, .4);
    transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s, border-color .3s;
}

.qb-card:hover {
    transform: translateY(-6px);
    border-color: #d8d5f6;
    box-shadow: 0 36px 72px -34px rgba(79, 70, 229, .45);
}

.qb-card__media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #ede9fe, #f5f3ff);
}

.qb-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}

.qb-card:hover .qb-card__media img { transform: scale(1.05); }

/* Sits on the image, so it needs its own backdrop to stay legible over any
   photograph — a flat tint would vanish on a light one. */
.qb-card__tag {
    position: absolute;
    left: 14px;
    bottom: 14px;
    max-width: calc(100% - 28px);
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #fff;
    background: rgba(17, 12, 46, .72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, .18);
}

/* Stands in for a missing image: the same violet plate as the rest of the page
   with the title's monogram, so an imageless row still reads as a card. */
.qb-ph {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: 38px;
    font-weight: 800;
    letter-spacing: .04em;
    color: rgba(255, 255, 255, .92);
    background: linear-gradient(135deg, #7b5ee5, #a22dea 52%, #5b5de2);
}

.qb-card__body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 22px 24px 20px;
    min-width: 0;
}

.qb-card__title {
    font-size: 16.5px;
    line-height: 1.4;
    font-weight: 750;
    letter-spacing: -.015em;
    color: #0b1020;
    margin: 0 0 10px;
    transition: color .2s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.qb-card:hover .qb-card__title { color: #4f46e5; }

/* The cover image now renders the headline, so the card's own title would read
   twice. Hide it visually but leave it in the accessibility tree and the
   markup crawlers see — `display: none` would remove it from both. */
.qb-card__title--sr {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.qb-card__ex {
    font-size: 13.5px;
    line-height: 1.65;
    color: #64748b;
    margin: 0 0 18px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.qb-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid #f1eefb;
}

.qb-card__arrow {
    width: 32px;
    height: 32px;
    border-radius: 99px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    color: #7c3aed;
    background: #f6f1ff;
    transition: color .25s, background .25s, transform .25s;
}

.qb-card__arrow svg { width: 15px; height: 15px; }

.qb-card:hover .qb-card__arrow {
    color: #fff;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    transform: translateX(3px);
}

/* ── empty state ────────────────────────────────────────────────────── */
.qb-empty {
    max-width: 520px;
    margin: 0 auto;
    padding: 62px 32px;
    text-align: center;
    border-radius: 24px;
    background: #fff;
    border: 1px dashed #ddd9f2;
}

.qb-empty__ic {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    color: #7c3aed;
    background: #f6f1ff;
}

.qb-empty__ic svg { width: 26px; height: 26px; }

.qb-empty h2 {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -.02em;
    color: #0b1020;
    margin: 0 0 10px;
}

.qb-empty p {
    font-size: 14px;
    line-height: 1.7;
    color: #64748b;
    margin: 0 0 24px;
}

/* ── closing CTA ────────────────────────────────────────────────────── */
.qb-cta { padding: 0 0 92px; background: #fbfaff; }

.qb-cta__in {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 34px;
    flex-wrap: wrap;
    padding: 44px 48px;
    border-radius: 28px;
    background: linear-gradient(165deg, #1c1745 0%, #141230 54%, #1b1349 100%);
    box-shadow: 0 46px 100px -50px rgba(79, 70, 229, .78);
}

.qb-cta__in::before {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    top: -320px;
    right: -140px;
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(circle, rgba(162, 45, 234, .34), transparent 64%);
}

.qb-cta__copy {
    position: relative;
    max-width: 560px;
    min-width: 0;
}

.qb-cta__copy h2 {
    font-size: clamp(21px, 2.2vw, 28px);
    line-height: 1.24;
    letter-spacing: -.025em;
    font-weight: 800;
    color: #fff;
    margin: 0 0 12px;
}

.qb-cta__copy p {
    font-size: 14.5px;
    line-height: 1.7;
    color: #a9b0d0;
    margin: 0;
}

.qb-cta__actions {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* ── responsive ─────────────────────────────────────────────────────── */
@media (max-width: 1180px) {
    .qb-layout { grid-template-columns: 224px minmax(0, 1fr); gap: 28px; }
    .qb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1000px) {
    /* Below this the rail costs the grid a whole column, so it unstacks and
       sits above the list. It stays a vertical list of rows — it just runs in
       two or three columns of them so nine topics do not push the first card
       off the screen. Sticky is dropped with it: a full-width block pinned to
       the top would cover the grid it filters. */
    .qb-layout { grid-template-columns: minmax(0, 1fr); gap: 26px; }

    .qb-side {
        position: static;
        top: auto;
        gap: 14px;
    }

    .qb-rail {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(178px, 1fr));
        gap: 2px 6px;
    }

    .qb-rail__head { grid-column: 1 / -1; }

    /* The tail card is a sidebar device; on one column the page's own closing
       CTA is a few hundred pixels below it and says the same thing. */
    .qb-side__cta { display: none; }
}

@media (max-width: 760px) {
    .qb-hero { padding: 56px 0 44px; }
    .qb-stats { gap: 12px 26px; }

    .qb-list { padding-top: 44px; }
    .qb-list { padding-bottom: 62px; }
    .qb-grid { grid-template-columns: minmax(0, 1fr); }

    .qb-cta { padding-bottom: 62px; }
    .qb-cta__in { padding: 34px 26px; }
    .qb-cta__actions { width: 100%; }
    .qb-btn { width: 100%; }
}

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

@media (prefers-reduced-motion: reduce) {
    .qb-hero__aurora i,
    .qb-eyebrow__pip { animation: none !important; }

    .qb-btn,
    .qb-card,
    .qb-rail__item,
    .qb-rail__item::before,
    .qb-card__arrow,
    .qb-search__go,
    .qb-side__cta-a,
    .qb-card__media img {
        transition: none;
    }

    .qb-btn:hover,
    .qb-card:hover,
    .qb-search__go:hover,
    .qb-side__cta-a:hover,
    .qb-card:hover .qb-card__arrow,
    .qb-card:hover .qb-card__media img {
        transform: none;
    }
}
