
:root {
    --news-card-bg: #1c1c1c;
    --news-card-border: #333333;
    --news-text-color: #f5f5f5;
    --news-text-muted-color: #a0a0a0;
    --news-hero-overlay: rgba(0, 0, 0, 0.5);
}

.news-hero {
    position: relative;
    height: 60vh;
    background-size: cover;
    background-position: center;
    border-radius: 18px;
    overflow: hidden;
    color: white;
    display: flex;
    align-items: flex-end;
    padding: 3rem;
}

/* Fallback hero arkaplanı (görsel yoksa) */
.news-hero.news-hero-fallback {
    background-image:
        radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,0.08) 0, rgba(255,255,255,0.08) 1px, transparent 1px),
        radial-gradient(1px 1px at 80% 60%, rgba(255,255,255,0.06) 0, rgba(255,255,255,0.06) 1px, transparent 1px),
        linear-gradient(180deg, rgba(20,20,20,0.6) 0%, rgba(20,20,20,0.9) 100%),
        linear-gradient(135deg, #1c1c1c 0%, #141414 100%);
}

.news-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 20%, transparent 80%);
}

/* Yıldız/parıltı - nazik anime dokunuşu */
.news-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        radial-gradient(2px 2px at 15% 25%, rgba(255,255,255,0.10) 0, rgba(255,255,255,0.10) 2px, transparent 2px),
        radial-gradient(1.5px 1.5px at 60% 40%, rgba(255,255,255,0.08) 0, rgba(255,255,255,0.08) 1.5px, transparent 1.5px),
        radial-gradient(1.2px 1.2px at 85% 70%, rgba(255,255,255,0.08) 0, rgba(255,255,255,0.08) 1.2px, transparent 1.2px);
    opacity: 0.35;
    animation: newsTwinkle 6s ease-in-out infinite alternate;
}

@keyframes newsTwinkle {
    0% { opacity: 0.22; }
    50% { opacity: 0.4; }
    100% { opacity: 0.28; }
}

.news-hero-content {
    position: relative;
    z-index: 2;
}

.news-hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.news-card {
    background-color: var(--news-card-bg);
    border: 1px solid var(--news-card-border);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.news-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-card-body {
    padding: 1.5rem;
}

/* Kart altına yumuşak vurgu kenarlığı */
.news-card::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, rgba(229,9,20,0.8), rgba(229,9,20,0.2));
    opacity: 0.6;
}

.news-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--news-text-color);
}

.news-card-text {
    color: var(--news-text-muted-color);
}

.news-article-hero {
    height: 50vh;
    background-size: cover;
    background-position: center;
    margin-bottom: 3rem;
    position: relative;
}

.news-article-hero.news-hero-fallback {
    background-image:
        radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,0.08) 0, rgba(255,255,255,0.08) 1px, transparent 1px),
        radial-gradient(1px 1px at 80% 60%, rgba(255,255,255,0.06) 0, rgba(255,255,255,0.06) 1px, transparent 1px),
        linear-gradient(180deg, rgba(20,20,20,0.6) 0%, rgba(20,20,20,0.9) 100%),
        linear-gradient(135deg, #1c1c1c 0%, #141414 100%);
}

.news-article-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        radial-gradient(2px 2px at 15% 25%, rgba(255,255,255,0.10) 0, rgba(255,255,255,0.10) 2px, transparent 2px),
        radial-gradient(1.5px 1.5px at 60% 40%, rgba(255,255,255,0.08) 0, rgba(255,255,255,0.08) 1.5px, transparent 1.5px),
        radial-gradient(1.2px 1.2px at 85% 70%, rgba(255,255,255,0.08) 0, rgba(255,255,255,0.08) 1.2px, transparent 1.2px);
    opacity: 0.35;
    animation: newsTwinkle 6s ease-in-out infinite alternate;
}

.news-article-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.7;
    background-color: #1c1c1c;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 2rem 2.25rem;
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}

.news-article-meta {
    color: var(--news-text-muted-color);
    margin-bottom: 2rem;
}

.news-article-title {
    position: relative;
}

.news-article-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 88px;
    height: 3px;
    background: linear-gradient(90deg, #e50914, transparent);
    border-radius: 2px;
}
