.ockham-recent-posts {
    width: 100%;
}

.ockham-recent-posts__heading {
    margin: 0 0 24px;
}

.ockham-recent-posts__tabs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 24px;
}

.ockham-recent-posts__tab {
    appearance: none;
    border: 1px solid #d7d7d7;
    border-radius: 999px;
    background: #fff;
    color: #666;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    line-height: 1;
    padding: 12px 20px;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.ockham-recent-posts__tab.is-active {
    border-color: #111;
    background: #111;
    color: #fff;
}

.ockham-recent-posts__tab:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

.ockham-recent-posts__panel[hidden] {
    display: none !important;
}

.ockham-recent-posts__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ockham-recent-posts__item {
    margin: 0;
    padding: 0;
}

.ockham-recent-posts__link {
    display: inline-block;
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.ockham-recent-posts__link:hover,
.ockham-recent-posts__link:focus {
    text-decoration: none;
}

.ockham-recent-posts__empty {
    padding: 12px;
    border: 1px dashed currentColor;
    border-radius: 12px;
    opacity: 0.7;
}
