/* ===== MIROIR BRUT! - Global Styles ===== */

/* News Ticker Animation */
.news-ticker {
    animation: ticker 30s linear infinite;
}

@keyframes ticker {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Custom Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(0);
    }
}

@keyframes pulse-red {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.4);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(220, 38, 38, 0);
    }
}

/* Card Hover */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-4px);
}

/* Line Clamp */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Brutalist Shadow Effects */
.shadow-brutal {
    box-shadow: 4px 4px 0px 0px rgba(0, 0, 0, 1);
    transition: all 0.2s ease;
}

.shadow-brutal:hover {
    box-shadow: 6px 6px 0px 0px rgba(220, 38, 38, 1);
    transform: translate(-2px, -2px);
}

.shadow-brutal-red {
    box-shadow: 4px 4px 0px 0px rgba(220, 38, 38, 1);
    transition: all 0.2s ease;
}

.shadow-brutal-red:hover {
    box-shadow: 4px 4px 0px 0px rgba(0, 0, 0, 1);
}

/* Animation Classes */
.animate-fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

.animate-slide-in {
    animation: slideIn 0.4s ease-out forwards;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #111827;
}

::-webkit-scrollbar-thumb {
    background: #DC2626;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #B91C1C;
}

/* Selection Color */
::selection {
    background: rgba(220, 38, 38, 0.2);
    color: #DC2626;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Image Hover Effects */
.img-zoom-container {
    overflow: hidden;
}

.img-zoom {
    transition: transform 0.5s ease;
}

.img-zoom:hover {
    transform: scale(1.05);
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #DC2626 0%, #1E40AF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Loading Skeleton Animation */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* Article Content Styles */
.article-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: #374151;
    font-size: 1.125rem;
}

.article-content h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #111827;
    text-transform: uppercase;
}

.article-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #111827;
}

.article-content blockquote {
    border-left: 4px solid #DC2626;
    padding-left: 1.5rem;
    font-style: italic;
    color: #6B7280;
    margin: 2rem 0;
    background: #F9FAFB;
    padding: 1.5rem;
    border-radius: 0 0.5rem 0.5rem 0;
}

.article-content blockquote strong {
    color: #111827;
    font-style: normal;
}

.article-content ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.article-content ol {
    list-style-type: decimal;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.article-content li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
    color: #374151;
}

.article-content a {
    color: #DC2626;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(220, 38, 38, 0.3);
    transition: text-decoration-color 0.2s;
}

.article-content a:hover {
    text-decoration-color: #DC2626;
}

.article-content code {
    background: #f3f4f6;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.875em;
    color: #DC2626;
    font-family: 'Courier New', monospace;
}

.article-content pre {
    background: #1e293b;
    color: #22c55e;
    padding: 1.25rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5rem 0;
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    line-height: 1.6;
}

.article-content pre code {
    background: none;
    color: inherit;
    padding: 0;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
    border: 2px solid #e5e7eb;
}

.article-content .info-box {
    background: #f0f9ff;
    border-left: 4px solid #DC2626;
    padding: 1.25rem;
    margin: 1.5rem 0;
    border-radius: 0 8px 8px 0;
}

.article-content .info-box h4 {
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    font-size: 0.875rem;
}

.article-content .info-box ul {
    padding-left: 1.25rem;
}

.article-content .info-box li {
    font-size: 0.875rem;
    color: #374151;
    margin-bottom: 0.375rem;
}

.article-content strong {
    font-weight: 700;
    color: #111827;
}

.article-content em {
    font-style: italic;
}

.article-content u {
    text-decoration: underline;
    text-decoration-color: #DC2626;
}

/* Share Button */
.share-button {
    transition: all 0.3s ease;
}

.share-button:hover {
    transform: translateY(-2px);
}

/* Form Focus Styles */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #DC2626 !important;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

/* Video Card Overlay */
.video-play-overlay {
    background: rgba(0, 0, 0, 0.4);
    transition: background 0.3s ease;
}

.video-play-overlay:hover {
    background: rgba(0, 0, 0, 0.2);
}