/* Haber detay / liste sayfası */

.news-page {
    padding: 120px 0 80px;
    background: #0a0a0a;
    min-height: 70vh;
}
.news-page .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}
.news-hero {
    text-align: center;
    margin-bottom: 40px;
}
.news-hero h1 {
    color: #fff;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    margin-bottom: 10px;
}
.news-hero-icon {
    color: #ff3131;
    margin-right: 10px;
}
.news-hero p {
    color: rgba(255, 255, 255, 0.7);
    max-width: 640px;
    margin: 0 auto;
}
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 22px;
}
.news-card {
    background: linear-gradient(160deg, #161616 0%, #101010 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
    text-decoration: none;
}
.news-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 49, 49, 0.45);
    box-shadow: 0 12px 30px rgba(255, 49, 49, 0.12);
}
.news-card .thumb {
    aspect-ratio: 16/10;
    background: #111;
    overflow: hidden;
}
.news-card .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}
.news-card:hover .thumb img {
    transform: scale(1.04);
}
.news-card .body {
    padding: 18px 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}
.news-card .badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
    background: rgba(255, 49, 49, 0.15);
    color: #ff6b6b;
    border: 1px solid rgba(255, 49, 49, 0.35);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 4px 10px;
    border-radius: 999px;
}
.news-card h2 {
    color: #fff;
    font-size: 1.15rem;
    margin: 0;
    line-height: 1.35;
}
.news-card .excerpt {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.92rem;
    margin: 0;
    line-height: 1.5;
    flex: 1;
}
.news-card .meta {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
    display: flex;
    gap: 12px;
}
.news-empty {
    text-align: center;
    color: rgba(255, 255, 255, 0.65);
    padding: 60px 20px;
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: 14px;
}

.news-detail {
    max-width: 820px;
    margin: 0 auto;
}
.news-detail .back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 24px;
    transition: color 0.2s;
}
.news-detail .back:hover {
    color: #ff3131;
}
.news-detail .badge {
    display: inline-flex;
    background: rgba(255, 49, 49, 0.15);
    color: #ff6b6b;
    border: 1px solid rgba(255, 49, 49, 0.35);
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 14px;
}
.news-detail h1 {
    color: #fff;
    font-size: clamp(1.7rem, 3.5vw, 2.4rem);
    line-height: 1.25;
    margin: 0 0 14px;
}
.news-detail .meta-row {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.9rem;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 28px;
}
.news-detail .cover {
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.news-detail .cover img {
    width: 100%;
    display: block;
    max-height: 480px;
    object-fit: cover;
}
.news-detail .lead {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    line-height: 1.65;
    margin-bottom: 24px;
}
.news-detail .content {
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.05rem;
    line-height: 1.75;
}
.news-detail .content p {
    margin: 0 0 1.1em;
}
.news-detail .content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .news-page {
        padding: 90px 0 120px;
    }
    .news-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}
