/* MarketDG CSP migration: extracted from index.php. */
.ad-image {
    position: relative !important;
}

.ad-image .announcement-views-badge--card {
    position: absolute;
    top: 9px;
    inset-inline-end: 9px;
    z-index: 20;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 7px 11px;
    border: 1px solid #D97706;
    border-radius: 999px;
    background: #F59E0B;
    color: #1F2937;
    box-shadow: 0 3px 12px rgba(146, 64, 14, .25);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
    pointer-events: none;
    box-sizing: border-box;
}

.ad-image .announcement-views-badge--card svg {
    display: block;
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@media (max-width: 600px) {
    .ad-image .announcement-views-badge--card {
        top: 7px;
        inset-inline-end: 7px;
        padding: 6px 9px;
        font-size: 11px;
    }
}

/* DZMARKET_VIEWS_EYE_A_BEGIN */
.announcement-views-badge--card svg {
    width: 21px !important;
    height: 21px !important;
    min-width: 21px !important;
    min-height: 21px !important;
    flex: 0 0 21px !important;
    color: #FFFFFF !important;
    stroke: #FFFFFF !important;
}
/* DZMARKET_VIEWS_EYE_A_END */
