/*
 * Site header utilities (moved from style.css)
 */
.premium-badge,
.swpm-restricted-badge,
.wsj-premium-indicator {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #ffd700 0%, #ffa500 50%, #ffd700 100%);
    color: #000;
    padding: 4px 12px;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transform: rotate(45deg);
    transform-origin: center;
    box-shadow:
        0 0 20px rgba(255, 215, 0, 0.6),
        0 0 40px rgba(255, 215, 0, 0.4),
        inset 0 0 10px rgba(255, 255, 255, 0.5);
    z-index: 100;
    border: 2px solid #ffd700;
    animation: wsjPremiumBadgeGlow 2s ease-in-out infinite;
    font-family: "Source Sans Pro", Arial, sans-serif;
}

@keyframes wsjPremiumBadgeGlow {
    0%,
    100% {
        box-shadow:
            0 0 20px rgba(255, 215, 0, 0.6),
            0 0 40px rgba(255, 215, 0, 0.4),
            inset 0 0 10px rgba(255, 255, 255, 0.5);
    }
    50% {
        box-shadow:
            0 0 30px rgba(255, 215, 0, 0.8),
            0 0 60px rgba(255, 215, 0, 0.6),
            inset 0 0 15px rgba(255, 255, 255, 0.7);
    }
}

.wsj-news-item-with-thumb .premium-badge {
    top: 5px;
    right: 5px;
    font-size: 8px;
    padding: 2px 8px;
}

.wsj-secondary-article .premium-badge {
    top: 8px;
    right: 8px;
}

.wsj-hero-article .premium-badge {
    top: 15px;
    right: 15px;
    font-size: 11px;
    padding: 5px 14px;
}

.premium-badge:hover,
.swpm-restricted-badge:hover,
.wsj-premium-indicator:hover {
    transform: rotate(45deg) scale(1.08);
    transition: transform 0.3s ease;
}
