/* KYS Haber - Klasik + Modern Tasarım */
:root {
    --color-bg: #f8f9fa;
    --color-surface: #ffffff;
    --color-card: #ffffff;
    --color-border: #e5e7eb;
    --color-text: #1a1a1a;
    --color-muted: #6b7280;
    --color-accent: #c41e3a;
    --color-accent-hover: #a01830;
    --color-link: #c41e3a;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-serif: Georgia, 'Times New Roman', serif;
    --radius: 8px;
    --radius-lg: 12px;
    --shadow: 0 2px 12px rgba(0,0,0,.06);
    --shadow-hover: 0 8px 24px rgba(0,0,0,.1);
    --max-width: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-sans);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    min-height: 100vh;
}

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}
.site-header .inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 0;
    flex-wrap: wrap;
}
.logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-text);
    text-decoration: none;
    letter-spacing: -0.02em;
}
.logo:hover { color: var(--color-accent); }
.logo span { color: var(--color-accent); }

.nav-main { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav-main a {
    color: var(--color-muted);
    text-decoration: none;
    padding: 8px 14px;
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color .2s, background .2s;
}
.nav-main a:hover { color: var(--color-accent); background: rgba(196,30,58,.06); }
.nav-main a.active { color: var(--color-accent); font-weight: 600; }

.search-form-header { display: flex; gap: 0; max-width: 220px; }
.search-form-header input {
    flex: 1;
    padding: 8px 14px;
    border: 1px solid var(--color-border);
    border-right: 0;
    border-radius: var(--radius) 0 0 var(--radius);
    background: var(--color-bg);
    font-size: 0.9rem;
}
.search-form-header input:focus { outline: none; border-color: var(--color-accent); }
.search-form-header button {
    padding: 8px 14px;
    background: var(--color-accent);
    color: #fff;
    border: none;
    border-radius: 0 var(--radius) var(--radius) 0;
    cursor: pointer;
    font-weight: 500;
}
.search-form-header button:hover { background: var(--color-accent-hover); }

/* Hamburger - Mobil */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--color-text); margin: 5px 0; border-radius: 2px; }

@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .nav-main, .search-form-header { display: none; }
    .nav-main.open { display: flex; flex-direction: column; width: 100%; padding-top: 16px; }
    .search-form-header.open { display: flex; width: 100%; max-width: none; margin-top: 12px; }
}

/* Manşet */
.manset {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-bottom: 32px;
}
.manset-ana {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 16/10;
    background: #1a1a1a;
}
.manset-ana img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.manset-ana .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(transparent, rgba(0,0,0,.85));
}
.manset-ana .kategori-badge {
    display: inline-block;
    background: var(--color-accent);
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
}
.manset-ana .baslik {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    text-decoration: none;
    display: block;
}
.manset-ana .baslik:hover { color: #fff; text-decoration: underline; }
.manset-ana .meta { color: rgba(255,255,255,.8); font-size: 0.85rem; margin-top: 8px; }

.manset-list { display: flex; flex-direction: column; gap: 12px; }
.manset-item {
    display: flex;
    gap: 14px;
    background: var(--color-card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: box-shadow .2s, transform .2s;
}
.manset-item:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.manset-item img {
    width: 120px;
    min-height: 90px;
    object-fit: cover;
}
.manset-item .content { flex: 1; padding: 12px 14px; }
.manset-item .kategori-badge {
    font-size: 0.7rem;
    color: var(--color-accent);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 4px;
}
.manset-item .baslik {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.manset-item .baslik:hover { color: var(--color-accent); }
.manset-item .meta { font-size: 0.8rem; color: var(--color-muted); margin-top: 6px; }

@media (max-width: 768px) {
    .manset { grid-template-columns: 1fr; }
    .manset-ana .baslik { font-size: 1.2rem; }
    .manset-item img { width: 100px; min-height: 75px; }
}

/* Ana akış */
.ana-akis {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 32px;
}
.ana-akis-main { min-width: 0; }

.section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--color-accent);
    display: inline-block;
}

.haber-list { display: flex; flex-direction: column; gap: 0; }
.haber-card {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--color-border);
    transition: background .2s;
}
.haber-card:hover { background: rgba(0,0,0,.02); }
.haber-card .thumb {
    flex-shrink: 0;
    width: 200px;
    height: 130px;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--color-border);
}
.haber-card .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.haber-card .thumb.placeholder { background: linear-gradient(135deg, #e5e7eb, #d1d5db); }
.haber-card .body { flex: 1; min-width: 0; }
.haber-card .kategori-badge {
    font-size: 0.75rem;
    color: var(--color-accent);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.haber-card .baslik {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text);
    text-decoration: none;
    line-height: 1.4;
    display: block;
}
.haber-card .baslik:hover { color: var(--color-accent); }
.haber-card .spot {
    font-size: 0.9rem;
    color: var(--color-muted);
    margin-top: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.haber-card .meta { font-size: 0.8rem; color: var(--color-muted); margin-top: 10px; }

@media (max-width: 768px) {
    .ana-akis { grid-template-columns: 1fr; }
    .haber-card { flex-direction: column; }
    .haber-card .thumb { width: 100%; height: 180px; }
}

/* Sidebar */
.sidebar { position: sticky; top: 90px; }
.sidebar-box {
    background: var(--color-card);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 24px;
    box-shadow: var(--shadow);
}
.sidebar-box h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color-accent);
}
.sidebar-list { list-style: none; }
.sidebar-list li { padding: 10px 0; border-bottom: 1px solid var(--color-border); }
.sidebar-list li:last-child { border-bottom: none; }
.sidebar-list a {
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.95rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.sidebar-list a:hover { color: var(--color-accent); }
.sidebar-list .meta { font-size: 0.8rem; color: var(--color-muted); margin-top: 4px; }

/* Haber detay */
.haber-detay-wrap {
    padding: 32px 0;
    max-width: 100%;
    overflow-x: hidden;
}
.haber-detay .detay-icerik {
    font-size: 1.05rem;
    line-height: 1.8;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
}
.haber-detay .detay-icerik img,
.haber-detay .detay-icerik iframe,
.haber-detay .detay-icerik video,
.haber-detay .detay-icerik table {
    max-width: 100%;
    height: auto;
}
.haber-detay .detay-icerik table { overflow-x: auto; display: block; }
.haber-detay .detay-baslik { font-size: 2rem; font-weight: 700; line-height: 1.3; margin-bottom: 16px; }
.haber-detay .detay-meta {
    font-size: 0.9rem;
    color: var(--color-muted);
    margin-bottom: 24px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.haber-detay .detay-gorsel {
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 24px;
    background: var(--color-border);
}
.haber-detay .detay-gorsel img { width: 100%; height: auto; display: block; }
.haber-detay .detay-spot {
    font-size: 1.15rem;
    color: var(--color-muted);
    line-height: 1.6;
    margin-bottom: 24px;
    font-weight: 500;
}
.haber-detay .detay-icerik p { margin-bottom: 1em; }

.detay-actions { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--color-border); }
.paylasim-butonlari { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.paylasim-label { font-size: 0.9rem; color: var(--color-muted); font-weight: 500; }
.paylasim-btn {
    padding: 6px 12px;
    font-size: 0.85rem;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    color: var(--color-text);
    text-decoration: none;
    cursor: pointer;
    transition: background .2s, border-color .2s;
}
.paylasim-btn:hover { background: var(--color-accent); color: #fff; border-color: var(--color-accent); }

.ilgili-haberler { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--color-border); }
.ilgili-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.ilgili-kart {
    display: block;
    background: var(--color-card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: box-shadow .2s, transform .2s;
    text-decoration: none;
    color: inherit;
}
.ilgili-kart:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.ilgili-thumb {
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--color-border);
}
.ilgili-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ilgili-thumb.placeholder { background: linear-gradient(135deg, #e5e7eb, #d1d5db); }
.ilgili-baslik {
    display: block;
    padding: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ilgili-kart:hover .ilgili-baslik { color: var(--color-accent); }
.ilgili-meta { display: block; padding: 0 12px 12px; font-size: 0.8rem; color: var(--color-muted); }

@media (max-width: 992px) {
    .ilgili-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
    .ilgili-grid { grid-template-columns: 1fr; }
}

.widget-bulten-form { display: flex; flex-direction: column; gap: 10px; }
.widget-bulten-form input { padding: 10px 14px; border: 1px solid var(--color-border); border-radius: var(--radius); font-size: 1rem; }
.widget-bulten-form button { padding: 10px; background: var(--color-accent); color: #fff; border: none; border-radius: var(--radius); font-weight: 600; cursor: pointer; }
.widget-bulten-form button:hover { background: var(--color-accent-hover); }
.widget-sosyal { display: flex; gap: 12px; flex-wrap: wrap; font-size: 1.5rem; }
.widget-sosyal a { color: var(--color-muted); text-decoration: none; }
.widget-sosyal a:hover { color: var(--color-accent); }
.empty-widget { color: var(--color-muted); font-size: 0.9rem; margin: 0; }

/* Yorumlar */
.yorumlar { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--color-border); }
.yorumlar h3 { font-size: 1.2rem; margin-bottom: 20px; }
.yorum-form {
    background: var(--color-bg);
    padding: 24px;
    border-radius: var(--radius-lg);
    margin-bottom: 24px;
}
.yorum-form label { display: block; font-weight: 500; margin-bottom: 6px; font-size: 0.9rem; }
.yorum-form input, .yorum-form textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    margin-bottom: 16px;
    font-size: 1rem;
}
.yorum-form textarea { min-height: 100px; resize: vertical; }
.yorum-form button {
    padding: 10px 24px;
    background: var(--color-accent);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
}
.yorum-form button:hover { background: var(--color-accent-hover); }
.yorum-list { display: flex; flex-direction: column; gap: 16px; }
.yorum-item {
    padding: 16px;
    background: var(--color-bg);
    border-radius: var(--radius);
}
.yorum-author { font-weight: 600; margin-bottom: 4px; }
.yorum-tarih { font-size: 0.8rem; color: var(--color-muted); margin-bottom: 8px; }
.yorum-body { font-size: 0.95rem; line-height: 1.6; }
.yorum-onay-bekliyor { color: #166534; background: #f0fdf4; padding: 12px; border-radius: var(--radius); margin-top: 16px; }

/* Footer */
.site-footer {
    background: var(--color-text);
    color: #9ca3af;
    margin-top: 48px;
    padding: 40px 0 24px;
}
.site-footer .inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.site-footer .logo { color: #fff; }
.site-footer .logo:hover { color: var(--color-accent); }
.site-footer a { color: #9ca3af; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer .nav { display: flex; gap: 24px; }
.site-footer .copy { font-size: 0.9rem; }
.footer-widgets .sidebar-box { background: transparent; box-shadow: none; }
.footer-widgets .sidebar-box h3 { color: #fff; border-color: rgba(255,255,255,.3); }
.footer-widgets .sidebar-list a, .footer-widgets .sidebar-list .meta { color: #9ca3af; }
.footer-widgets .sidebar-list a:hover { color: #fff; }
.footer-widgets .widget-bulten-form input { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); color: #fff; }
.footer-widgets .widget-bulten-form input::placeholder { color: rgba(255,255,255,.5); }
.footer-widgets .widget-sosyal a { color: #9ca3af; }
.footer-widgets .widget-sosyal a:hover { color: #fff; }

/* Pagination */
.pagination { display: flex; gap: 8px; margin-top: 32px; flex-wrap: wrap; }
.pagination a, .pagination span {
    padding: 8px 14px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
}
.pagination a {
    background: var(--color-card);
    color: var(--color-text);
    border: 1px solid var(--color-border);
}
.pagination a:hover { background: var(--color-accent); color: #fff; border-color: var(--color-accent); }
.pagination .current {
    background: var(--color-accent);
    color: #fff;
    border: 1px solid var(--color-accent);
}
.pagination .disabled { opacity: 0.5; cursor: not-allowed; }

/* Boş durum */
.empty-state { text-align: center; padding: 48px 20px; color: var(--color-muted); }
