/* Custom Styles für WILD News */

/* Animate pulse für Live-Indikator */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Article Card Styles */
.article-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.2s;
    height: 100%;
}

.article-card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.article-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16/8;
    overflow: hidden;
    background-color: #f3f4f6;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    padding: 0.75rem;
}

.article-title {
    font-size: 0.875rem;
    font-weight: 900;
    color: white;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 1);
    font-family: 'Arial Black', Arial, sans-serif;
}

@media (min-width: 768px) {
    .article-title {
        font-size: 1rem;
    }
}

/* MainHero Styles */
.main-hero {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.2s;
}

.main-hero:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.main-hero-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16/8;
    overflow: hidden;
    background-color: #f3f4f6;
}

.main-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.top-story-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background-color: #b91c1c;
    color: white;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: bold;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid #991b1b;
}

.main-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    padding: 0.75rem;
}

.main-hero-title {
    font-size: 0.875rem;
    font-weight: 900;
    color: white;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 1);
    font-family: 'Arial Black', Arial, sans-serif;
}

@media (min-width: 768px) {
    .main-hero-title {
        font-size: 1rem;
    }
}

/* Grid Layouts */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Loading Animation */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Utility Classes */
.container {
    max-width: 72rem;
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.space-y-6 > * + * {
    margin-top: 1.5rem;
}
