/* ==========================================================================
   Post Meta Badge (Updated / Published / Author / Read time)
   Loaded on single posts, pages, and casino reviews
   ========================================================================== */
.post-meta-badge {
    display: flex !important;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 16px;
    padding: 10px 0;
    margin-bottom: 16px;
    border-bottom: 1px solid #e5e7eb;
    font-size: 13px;
    color: #6b7280;
    line-height: 1.4;
}

.post-meta-badge__item {
    display: inline-flex !important;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    max-width: 100%;
}

/* Items wrap as a whole («Faktasjekket av:» stays with the name); a name is cut with «…»
   only when its item does not fit the row width even on its own line */
.post-meta-badge__label {
    flex-shrink: 0;
}

.post-meta-badge__item .post-meta-badge__name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.post-meta-badge__item a {
    color: #0a2463;
    text-decoration: none;
    font-weight: 600;
}

.post-meta-badge__item a:hover {
    text-decoration: underline;
}

.post-meta-badge__item svg {
    flex-shrink: 0;
    opacity: 0.6;
    display: inline-block;
    vertical-align: middle;
}

.post-meta-badge__item--updated {
    background: rgba(40, 167, 69, 0.08);
    color: #16a34a;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 100px;
    border: 1px solid rgba(40, 167, 69, 0.2);
}

.post-meta-badge__item--updated svg {
    opacity: 1;
    color: #16a34a;
}

/* Fact-checked by (green check, as in the author box) */
.post-meta-badge__item--factcheck svg {
    opacity: 1;
    color: var(--color-success, #16a34a);
}

/* Mobile */
@media screen and (max-width: 600px) {
    .post-meta-badge {
        gap: 4px 10px;
        font-size: 12px;
    }
}
