.db-badge-wrapper {
    position: absolute;
    z-index: 10;
}

.db-position-top_left {
    top: 10px;
    left: 10px;
}

.db-position-top_right {
    top: 10px;
    right: 10px;
}

.db-position-bottom_left {
    bottom: 10px;
    left: 10px;
}

.db-position-bottom_right {
    bottom: 10px;
    right: 10px;
}

.db-badge {
    display: inline-block;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 12px; /* Rounded corners */
    backdrop-filter: blur(5px); /* Blur effect */
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5); /* Glow effect */
    position: relative;
    overflow: hidden;
}

/* Shine animation */
@keyframes shine {
    0% {
        background-position: -200%;
    }
    100% {
        background-position: 200%;
    }
}

.db-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    background-size: 200%;
    animation: shine 3s linear infinite;
}

/* Ensure featured image container is relatively positioned */
.elementor-post__thumbnail {
    position: relative;
}