/* =============================================
   GAZETE YAMAN - Mobil Öncelikli Tasarım
   ============================================= */
:root {
    --kirmizi: #c62828;
    --koyu: #1a1a2e;
    --gri: #f5f5f7;
    --metin: #222;
    --acik: #666;
    --beyaz: #fff;
    --golge: 0 2px 8px rgba(0,0,0,.08);
    --radius: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: var(--gri);
    color: var(--metin);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ---------- HEADER ---------- */
.site-header {
    background: var(--koyu);
    color: var(--beyaz);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,.2);
}

.header-ic {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
}

.logo {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -.5px;
}
.logo span { color: #ffd54f; }

.menu-btn {
    background: none;
    border: none;
    color: var(--beyaz);
    font-size: 26px;
    cursor: pointer;
    padding: 4px 8px;
    display: none;
}

.ana-menu {
    background: #23233c;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.ana-menu .container {
    display: flex;
    gap: 4px;
    white-space: nowrap;
    padding-top: 8px;
    padding-bottom: 8px;
}
.ana-menu a {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    color: #ddd;
    transition: background .2s;
}
.ana-menu a:hover { background: rgba(255,255,255,.12); color: #fff; }

@media (max-width: 768px) {
    .menu-btn { display: block; }
    .ana-menu { display: none; }
    .ana-menu.acik { display: block; }
    .ana-menu .container { flex-wrap: wrap; }
}

/* ---------- REKLAM ---------- */
.reklam-ust, .reklam-alt {
    margin: 14px auto;
    min-height: 90px;
    background: var(--beyaz);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--golge);
}
.reklam-icerik {
    margin: 20px 0;
    min-height: 100px;
    background: var(--beyaz);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--golge);
}

/* ---------- MANŞET ---------- */
.manset { margin: 16px 0; }
.manset-kart {
    position: relative;
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--golge);
    background: var(--koyu);
    min-height: 320px;
}
.manset-kart img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    opacity: .85;
}
.manset-icerik {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,.85));
    color: var(--beyaz);
}
.manset-icerik h1 {
    font-size: 22px;
    line-height: 1.3;
    margin: 8px 0;
}
.manset-icerik p { font-size: 14px; opacity: .9; margin-bottom: 6px; }

.etiket {
    display: inline-block;
    background: var(--kirmizi);
    color: var(--beyaz);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.tarih { font-size: 12px; color: var(--acik); }

/* ---------- YAN MANŞETLER ---------- */
.yan-mansetler {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 14px 0;
}
.yan-kart {
    background: var(--beyaz);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--golge);
    transition: transform .2s;
}
.yan-kart:hover { transform: translateY(-2px); }
.yan-kart img { width: 100%; height: 150px; object-fit: cover; }
.yan-kart h2 {
    font-size: 15px;
    line-height: 1.4;
    padding: 10px 12px 4px;
}
.yan-kart .tarih { display: block; padding: 0 12px 10px; }

/* ---------- HABER LİSTESİ ---------- */
.haber-listesi, .iliskili, .kategori-sayfa { margin: 20px 0; }

.bolum-baslik {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 14px;
    padding-left: 12px;
    border-left: 4px solid var(--kirmizi);
}

.haber-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

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

.haber-kart {
    background: var(--beyaz);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--golge);
    transition: transform .2s, box-shadow .2s;
}
.haber-kart:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0,0,0,.12);
}
.kart-gorsel { overflow: hidden; }
.kart-gorsel img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform .3s;
}
.haber-kart:hover .kart-gorsel img { transform: scale(1.05); }
.kart-icerik { padding: 12px 14px 14px; }
.kart-icerik h3 {
    font-size: 16px;
    line-height: 1.4;
    margin: 8px 0 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.kart-icerik p {
    font-size: 13px;
    color: var(--acik);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 8px;
}

/* ---------- HABER DETAY ---------- */
.breadcrumb {
    font-size: 13px;
    color: var(--acik);
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}
.breadcrumb a { color: var(--kirmizi); }
.breadcrumb a:hover { text-decoration: underline; }

.haber-detay {
    background: var(--beyaz);
    border-radius: var(--radius);
    box-shadow: var(--golge);
    padding: 24px 20px;
    margin: 16px 0;
}
.detay-baslik h1 {
    font-size: 26px;
    line-height: 1.3;
    margin: 10px 0;
    font-weight: 800;
    letter-spacing: -.3px;
}
.detay-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 13px;
    color: var(--acik);
    margin-bottom: 14px;
}
.meta-yazar { color: var(--koyu); font-weight: 600; }
.detay-gorsel { margin: 14px 0; border-radius: var(--radius); overflow: hidden; }
.detay-gorsel figcaption {
    font-size: 12px;
    color: var(--acik);
    padding: 6px 10px;
    background: var(--gri);
}
.detay-ozet {
    background: #fff8e1;
    border-left: 4px solid #ffd54f;
    padding: 12px 14px;
    border-radius: 0 8px 8px 0;
    margin: 14px 0;
    font-size: 15px;
}
.detay-icerik p {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 18px;
    text-align: justify;
    color: #333;
}
.detay-icerik p.lead {
    font-size: 19px;
    line-height: 1.7;
    font-weight: 500;
    color: var(--koyu);
    margin-bottom: 20px;
}
.kaynak {
    font-size: 13px;
    color: var(--acik);
    margin-top: 10px;
}
.kaynak a { color: var(--kirmizi); }

.paylas {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #eee;
    font-size: 14px;
}
.paylas a {
    background: var(--gri);
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 13px;
}
.paylas a:hover { background: #e3e3e8; }

/* ---------- VİDEO OYNATICI ---------- */
.video-oynatici {
    margin: 14px 0;
    background: #000;
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
}
.video-oynatici video {
    width: 100%;
    max-height: 500px;
    display: block;
    background: #000;
}
.video-bilgi {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0,0,0,.7);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
}
.video-dis-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    background: linear-gradient(135deg, #1a1a2e, #c62828);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
}
.video-dis-link:hover { opacity: .9; }

/* ---------- SAYFALAMA ---------- */
.sayfalama {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 24px 0;
    font-size: 14px;
}
.sayfalama a {
    background: var(--koyu);
    color: var(--beyaz);
    padding: 8px 18px;
    border-radius: 20px;
    font-weight: 600;
}
.sayfalama a:hover { background: var(--kirmizi); }

/* ---------- BOŞ MESAJ ---------- */
.bos-mesaj {
    background: var(--beyaz);
    border-radius: var(--radius);
    box-shadow: var(--golge);
    padding: 40px 20px;
    text-align: center;
    color: var(--acik);
    margin: 16px 0;
}

/* ---------- STATİK SAYFALAR ---------- */
.statik-sayfa { max-width: 800px; margin-left: auto; margin-right: auto; }
.statik-icerik { font-size: 16px; line-height: 1.8; color: #333; }
.statik-icerik h2 {
    font-size: 20px;
    color: var(--koyu);
    margin: 24px 0 10px;
    padding-left: 12px;
    border-left: 4px solid var(--kirmizi);
}
.statik-icerik h3 { font-size: 17px; color: var(--koyu); margin: 18px 0 8px; }
.statik-icerik p { margin-bottom: 12px; text-align: justify; }
.statik-icerik ul { margin: 0 0 14px 22px; }
.statik-icerik li { margin-bottom: 6px; }
.statik-icerik a { color: var(--kirmizi); text-decoration: underline; }
.statik-icerik a:hover { color: #a02020; }

/* ---------- YORUMLAR ---------- */
.yorumlar {
    background: var(--beyaz);
    border-radius: var(--radius);
    box-shadow: var(--golge);
    padding: 20px 16px;
    margin: 16px 0;
}
.yorum-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 14px 0;
}
.yorum-form input,
.yorum-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    outline: none;
    transition: border-color .2s;
}
.yorum-form input:focus,
.yorum-form textarea:focus { border-color: var(--kirmizi); }
.yorum-form textarea { resize: vertical; min-height: 80px; }
.yorum-form button {
    align-self: flex-start;
    background: var(--koyu);
    color: var(--beyaz);
    border: none;
    padding: 10px 24px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}
.yorum-form button:hover { background: var(--kirmizi); }
.yorum-not { font-size: 12px; color: var(--acik); }
.yorum-bilgi {
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 12px;
}
.yorum-bilgi.basarili { background: #e8f5e9; color: #2e7d32; }
.yorum-bilgi.hata { background: #ffebee; color: #c62828; }

.yorum-listesi { margin-top: 10px; }
.yorum {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}
.yorum:last-child { border-bottom: none; }
.yorum-ust {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}
.yorum-isim {
    font-weight: 700;
    font-size: 14px;
    color: var(--koyu);
}
.yorum-tarih { font-size: 12px; color: var(--acik); }
.yorum-metin { font-size: 14px; line-height: 1.6; color: #444; word-wrap: break-word; }
.yorum-bos { color: var(--acik); font-size: 14px; text-align: center; padding: 10px 0; }

/* ---------- FOOTER ---------- */
.site-footer {
    background: var(--koyu);
    color: #aaa;
    margin-top: 30px;
    padding: 30px 0 20px;
}
.footer-ic {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 16px;
}
.footer-ic strong { color: var(--beyav); color: #fff; font-size: 18px; }
.footer-ic p { font-size: 13px; margin-top: 6px; }
.footer-ic nav { display: flex; flex-wrap: wrap; gap: 14px; }
.footer-ic nav a { font-size: 14px; color: #ccc; }
.footer-ic nav a:hover { color: #ffd54f; }
.footer-alt {
    border-top: 1px solid #333;
    padding-top: 14px;
    font-size: 12px;
    text-align: center;
    color: #777;
}
