/* ---- COOKIE CONSENT ---- */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--dp-primary);
    color: rgba(255,255,255,0.9);
    padding: 12px 0;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
    animation: slideUp 0.3s ease-out;
}
.cookie-consent a { color: var(--dp-accent); }
.cookie-consent .btn-light { font-size: 0.8rem; }
.cookie-consent .btn-outline-light { font-size: 0.8rem; }

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

/* ---- BREAKING NEWS TICKER ---- */
.breaking-ticker {
    background: var(--dp-accent);
    color: var(--dp-white);
    padding: 6px 0;
    font-family: var(--font-nav);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    overflow: hidden;
}
.breaking-label {
    display: inline-block;
    background: rgba(0,0,0,0.3);
    padding: 2px 12px;
    margin-right: 15px;
    font-weight: 600;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}
.ticker-content {
    display: inline-block;
    animation: ticker 30s linear infinite;
    white-space: nowrap;
}
@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ---- NEWSLETTER WIDGET improvements ---- */
.newsletter-form input::placeholder {
    color: rgba(255,255,255,0.4);
}

/* ---- LAZY LOAD fade ---- */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s;
}
img[loading="lazy"].loaded,
img[loading="lazy"]:not([src=""]) {
    opacity: 1;
}

/* ---- PRINT STYLES ---- */
@media print {
    .top-bar, .main-nav, .sidebar, .site-footer, .cookie-consent,
    .share-buttons, .banner-header, .banner-between, .breaking-ticker { display: none !important; }
    .single-title { font-size: 1.5rem; }
    .single-body { font-size: 0.9rem; }
    a[href]:after { content: " (" attr(href) ")"; font-size: 0.8em; }
}
