/**
 * Brand labels: three small text elements of the PPL Logistiikka brand.
 * Project block.
 *
 * size-label     mono label for one of the two sizes, inline in a headline:
 *                <span class="size-label">Lavat</span> on the accent color,
 *                <span class="size-label size-label--p">Paketit</span> on the
 *                parcel color. Only where the content concerns one size.
 * corner-list    list whose bullet is the logo's corner with a parcel in it:
 *                ul.corner-list (core list block, class in Additional CSS
 *                class). Rows are separated by lines.
 * distances      row of distances, p.distances > span > b (the number). A
 *                gap separates the items, not a dot: a wrapped row cannot
 *                start with a separator.
 */

.size-label {
    display: inline-block;
    padding: 4px 7px 3px;
    vertical-align: middle;
    background: var(--accent-clr);
    color: var(--heading-clr);
    font-family: var(--code-font);
    font-size: 11px;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.size-label--p {
    background: var(--pak-clr);
    color: var(--bg-clr);
}

ul.corner-list {
    --corner-list-t: 3px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0 48px;
    margin: 0;
    padding: 0;
    list-style: none;
}

ul.corner-list > li {
    position: relative;
    padding: 14px 0 14px 26px;
    border-top: 1px solid var(--border-clr);
    font-size: 0.95em;
}

ul.corner-list > li::before {
    content: "";
    position: absolute;
    left: 0;
    top: calc(14px + 0.3em);
    width: 14px;
    height: 14px;
    box-sizing: border-box;
    border-left: var(--corner-list-t) solid var(--accent-clr);
    border-bottom: var(--corner-list-t) solid var(--accent-clr);
}

ul.corner-list > li::after {
    content: "";
    position: absolute;
    left: calc(var(--corner-list-t) + 3px);
    top: calc(14px + 0.3em + 2px);
    width: 5px;
    height: 5px;
    background: var(--pak-clr);
}

ul.corner-list small {
    display: block;
    margin-top: 2px;
    font-size: 0.9em;
}

.distances {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 26px;
    font-size: 0.9em;
}

.distances span {
    white-space: nowrap;
}

.distances b {
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

@media (min-width: 768px) {
    ul.corner-list--2 {
        grid-template-columns: 1fr 1fr;
    }
}
