/* ── Tag badges on single posts ── */
.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.5rem;
}

.post-tag {
    padding: 2px 9px;
    border-radius: 3px;
    border: 1px solid rgba(128, 128, 128, 0.25);
    background-color: rgba(128, 128, 128, 0.08);
    font-size: 0.8em;
    text-decoration: none;
    color: inherit;
    opacity: 0.85;
    transition: background-color 150ms ease, opacity 150ms ease;
}

.post-tag:hover {
    opacity: 1;
    background-color: rgba(128, 128, 128, 0.2);
    text-decoration: none;
}

/* ── /tags/ all-tags cloud page ── */
.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    padding: 0.5rem 0 1.5rem;
}

.tag-cloud-item {
    display: inline-flex;
    align-items: baseline;
    gap: 0.3rem;
    padding: 4px 12px;
    border-radius: 4px;
    border: 1px solid rgba(128, 128, 128, 0.2);
    background-color: rgba(128, 128, 128, 0.06);
    font-size: 0.9em;
    text-decoration: none;
    color: inherit;
    transition: background-color 150ms ease;
}

.tag-cloud-item:hover {
    background-color: rgba(128, 128, 128, 0.18);
    text-decoration: none;
}

.tag-count {
    font-size: 0.78em;
    font-weight: 600;
    opacity: 0.55;
}

/* ── Post card: stack title+date row above description ── */
.post-item {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 0.85rem;
}

.post-item-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.post-item-description {
    margin: 0.2rem 0 0;
    font-size: 0.875em;
    line-height: 1.45;
    opacity: 0.7;
}
