.post-lane {
    --lane: #a5b4fc;
    --lane-line: rgba(129, 140, 248, 0.45);
    --lane-tint: rgba(99, 102, 241, 0.1);
    --lane-band: rgba(129, 140, 248, 0.2);
}

.post-lane-production {
    --lane: #4ade80;
    --lane-line: rgba(34, 197, 94, 0.45);
    --lane-tint: rgba(34, 197, 94, 0.08);
    --lane-band: rgba(34, 197, 94, 0.18);
}

.post-tile.post-lane {
    border-color: var(--lane-line);
    border-top: 3px solid var(--lane);
    background: var(--lane-tint);
}

.post-tile.post-lane > i {
    background: var(--lane-tint);
    color: var(--lane);
}

.post-tile-wide {
    flex-direction: row;
    grid-column: 1 / -1;
    gap: 0.85rem;
    align-items: center;
}

.post-tile-wide > i {
    margin-bottom: 0;
}

.post-split.post-lane-split {
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    gap: 1rem;
    align-items: stretch;
}

.post-lane-stack {
    display: grid;
    gap: 1rem;
}

.post-lanes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.post-lanes > * {
    min-width: 0;
}

.post-lane-head {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    min-height: 2rem;
    margin-bottom: 0.65rem;
    color: var(--post-strong);
    font-weight: 600;
}

.post-lane-head > i {
    flex: none;
    color: var(--lane);
    font-size: 1.25rem;
}

.post-lanes .post-code {
    margin: 0;
    border-color: var(--lane-line);
    border-top: 3px solid var(--lane);
}

.blog-content .post-lanes pre.post-code-body {
    padding: 0.9rem;
    background-image:
        linear-gradient(var(--lane-band), var(--lane-band)),
        linear-gradient(var(--lane-band), var(--lane-band)),
        linear-gradient(var(--lane-band), var(--lane-band));
    background-position:
        0 0.9rem,
        0 calc(0.9rem + 4lh),
        0 calc(0.9rem + 15lh);
    background-repeat: no-repeat;
    background-size: 100% 2lh;
    font-size: 0.78rem;
}

.blog-content .post-envs thead th:nth-child(2),
.blog-content .post-envs td:nth-child(2) {
    --lane: #a5b4fc;
    --lane-tint: rgba(99, 102, 241, 0.1);
    background: var(--lane-tint);
}

.blog-content .post-envs thead th:nth-child(3),
.blog-content .post-envs td:nth-child(3) {
    --lane: #4ade80;
    --lane-tint: rgba(34, 197, 94, 0.08);
    background: var(--lane-tint);
}

.blog-content .post-envs thead th:nth-child(n + 2) {
    border-top: 3px solid var(--lane);
    color: var(--lane);
}

.blog-content .post-envs td:first-child {
    color: var(--post-strong);
    font-weight: 600;
}

.blog-content .post-envs td code {
    overflow-wrap: anywhere;
}

@media (max-width: 1199.98px) {
    .post-lanes {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.5rem;
    }

    .blog-content .post-lanes pre.post-code-body {
        font-size: 0.84rem;
    }
}

@media (max-width: 767.98px) {
    .post-split.post-lane-split {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 575.98px) {
    .blog-content .post-envs table,
    .blog-content .post-envs thead,
    .blog-content .post-envs tbody {
        display: block;
    }

    .blog-content .post-envs tr {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .blog-content .post-envs thead th:first-child {
        display: none;
    }

    .blog-content .post-envs td:first-child {
        grid-column: 1 / -1;
        font-size: 0.78rem;
    }

    .post-tile-wide {
        align-items: flex-start;
    }
}
