/* Recipe duration, servings and energy per serving in both DLE themes. */
.rp-facts {
    display: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    align-items: stretch;
    margin: .8rem 0 1rem;
    padding: .6rem 0;
    border-block: 1px solid #e2e4e5;
    font-family: Arial, sans-serif;
    text-align: center;
    line-height: 1.25;
    color: #363a3e;
}
.rp-facts:has(.rp-time-cell, .rp-servings-cell, [data-rp-kcal]:not(:empty)), .rp-facts[data-rp-ready] { display: grid; }
.rp-fact { display: flex; flex-direction: column; align-items: center; justify-content: start; gap: .3rem; min-width: 0; padding: 0 .2rem; }
.rp-fact + .rp-fact { border-inline-start: 1px solid #e8e9ea; }
.rp-facts .rp-fact-icon { width: 23px; height: 23px; color: #696f74; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.rp-fact-label { color: #62686d; font-size: .75rem; font-weight: 400; }
.rp-fact-value { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .2em; min-height: 1.9rem; font-size: .875rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.rp-fact-value.rp-servings { flex-wrap: nowrap; gap: .125rem; }
.rp-facts button.rp-facts-button {
    appearance: none; position: static; display: inline-grid; place-items: center;
    box-sizing: border-box; width: 1.8rem; height: 1.8rem; min-width: 0; min-height: 0;
    margin: 0; padding: 0; border: 1px solid #b9bec2; border-radius: .3rem;
    background: #f7f8f8; box-shadow: none; color: #41474b; cursor: pointer;
    font: 500 1rem/1 Arial, sans-serif; touch-action: manipulation;
}
.rp-facts button.rp-facts-button:hover { background: #eceff0; }
.rp-facts button.rp-facts-button:focus-visible { outline: 2px solid #535f66; outline-offset: 2px; }
.rp-facts button.rp-facts-button:disabled { opacity: .45; cursor: default; }
.rp-servings [data-rp-servings] { min-width: 1.2em; }
@media(max-width: 480px) {
    .rp-fact { padding-inline: .125rem; }
    .rp-facts button.rp-facts-button { width: 1.875rem; height: 2rem; }
}
@media print {
    .rp-facts button.rp-facts-button { display: none; }
}
/* The smartphone theme draws a second arrow after ordered list entries. */
.full-text ol.rp-cook-list > li.rp-cook-item::after { content: none; display: none; }
.full-text ol.rp-cook-list > li.rp-cook-item { padding-inline-start: 0; }

.rp-facts .rp-kcal-cell:has([data-rp-kcal]:empty) { display: none; }
