/* Genel Stil Ayarları */
body { font-family: Arial, sans-serif; margin: 0; padding: 0; background-color: #f4f4f4; }
.header-container { background-color: #fff; padding: 15px 20px; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); position: relative; }
.logo { display: flex; align-items: center; }
.logo img {    width: 375px;}

/* Ekran genişliği 768 pikselden küçük olan cihazlar için */
@media (max-width: 768px) {    .logo img {        width: 280px;    } }
.menu { display: flex; gap: 15px; }
.menu a { margin: 0 15px; text-decoration: none; color: #333; font-weight: bold; }
.menu a:hover { color: #e60000; }
.hamburger { display: none; cursor: pointer; font-size: 30px; color: #333; position: absolute; top: 50%; right: 20px; transform: translateY(-50%); }
.menu-mobile { display: none; position: absolute; top: 60px; right: 20px; background-color: white; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); width: 200px; border-radius: 8px; padding: 10px; flex-direction: column; }
.menu-mobile a { padding: 10px; text-decoration: none; color: #333; font-weight: bold; display: block; border-bottom: 1px solid #ddd; }
.menu-mobile a:hover { background-color: #f1f1f1; }
.breaking-news { background-color: #e60000; color: white; padding: 10px 0; font-size: 16px; overflow: hidden; position: relative; white-space: nowrap; }
.news-scroll { display: inline-block; white-space: nowrap; overflow: hidden; animation: scroll 20s linear infinite; }
.news-scroll span { display: inline-block; margin-right: 50px; }
@keyframes scroll { 0% {        transform: translateX(20%); /* Haberler sağdan başlayacak */    }    100% {        transform: translateX(-100%); /* Haberler soldan çıkacak */    } }
.tarih {font-size: 12px; color: #d90f3f; }
/* İçerik wrapper (haber detay ve sidebar) */
.content-wrapper { display: flex; max-width: 1360px; margin: 20px auto; gap: 15px; }
.haber-detay { flex: 2;  padding: 20px; }
.haber-detay h1 { font-size: 40px; color: #333; margin-bottom: 10px; }
@media (max-width: 768px) {   
.haber-detay h1 {        font-size: 24px; /* Mobilde başlık boyutunu küçült */        color: #333;        margin-bottom: 8px; /* Alt boşluğu mobil için küçült */
    }
}
.haber-detay h3 { font-size: 18px; color: #797979; margin-bottom: 10px; }
.haber-ozet { border-left: 5px solid red; padding-left: 15px; margin-bottom: 20px; }
.haber-ozet h3 { margin: 0; font-size: 18px; color: #333; }
.haber-gorsel { width: 100%; height: auto; margin-bottom: 0px; }
.haber-icerik { font-size: 16px; line-height: 1.6; color: #333; margin-bottom: 20px; }
.haber-etiketler { font-size: 14px; margin-top: 20px;      padding: 0px 0px 26px; }
.haber-etiketler a { background-color: #f1f1f1; color: #555; padding: 5px 10px; border-radius: 5px; margin-right: 10px; text-decoration: none; }
.haber-etiketler a:hover { background-color: #333; color: #fff; }
/* Sağ sütun: Sidebar */
.sidebar { flex: 1; padding: 20px;  }
.sidebar h2 { font-size: 18px; margin-bottom: 15px; }
.sidebar ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.sidebar ul li { flex: 1 1 calc(50% - 10px); margin-bottom: 10px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); overflow: hidden; background-color: white; transition: box-shadow 0.3s ease; }
.sidebar ul li:hover { box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); }
.sidebar ul li a { text-decoration: none; color: #333; display: block; }
.sidebar ul li img.son-haber-img { width: 100%; height: 125px; object-fit: cover; }
.sidebar ul li .son-haber-baslik { padding: 5px; font-size: 12px; color: #333; text-align: left; padding-bottom: 20px; }
.sidebar ul li .son-haber-baslik:hover { color: #e60000; }
/* Mobil uyum */
@media (max-width: 768px) { .sidebar ul li { flex: 1 1 calc(50% - 10px); } }
.reklam-alani { margin-top: 10px; text-align: center; }
.reklam-alani img { max-width: 100%; height: auto; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); }
@media (max-width: 768px) { .content-wrapper { flex-direction: column; } .haber-meta { flex-direction: column; align-items: flex-start; } }
@media (max-width: 768px) { .header-container { flex-direction: column; align-items: flex-start; padding: 15px 10px; } .menu { display: none; } .hamburger { display: block; position: absolute; top: 15px; right: 20px; transform: translateY(0); } }
.menu-mobile { display: none; position: absolute; top: 60px; right: 10px; background-color: #fff; border-radius: 10px; width: 200px; box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); flex-direction: column; }
.menu-mobile a { padding: 15px; border-bottom: 1px solid #ddd; }
.menu-mobile a:hover { background-color: #f1f1f1; }
.menu-mobile.show { display: flex; z-index: 9999; width: 300px; }



.haber-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0px;
}

.haber-info {
    font-size: 16px; /* Yazı boyutu */
}

.haber-info .yazar-bilgi i {
    margin-right: 5px; /* İkon ile metin arasındaki boşluk */
}

.social-share {
    display: flex;
    gap: 10px; /* İkonlar arası boşluk */
}

.social-share a img {
    width: 24px; /* İkon boyutu */
    height: 24px;
}

/* Mobil görünüm için */
@media (max-width: 768px) {
    .haber-meta {
        flex-direction: row; /* Mobilde de yan yana kal */
        justify-content: space-between;
        padding: 0 00px; /* Kenarlardan iç boşluk */
    }

    .haber-info {
        font-size: 14px; /* Mobilde yazı boyutunu küçült */
    }

    .social-share a img {
        width: 20px; /* Mobilde ikon boyutunu küçült */
        height: 20px;
    }

    .social-share {
        gap: 8px; /* Mobilde ikonlar arasındaki boşluğu küçült */
    }
}



.haber-icerik {
    max-width: 100%; /* İçeriğin div'in genişliğini aşmamasını sağlar */
    word-wrap: break-word; /* Uzun kelimelerin taşmasını engeller */
    overflow-wrap: break-word; /* Uzun kelimelerin taşmasını engeller */
    white-space: normal; /* Satır taşması yerine alt satıra geçişi sağlar */
    box-sizing: border-box; /* Padding ve border'ı genişlik hesaplamasına dahil eder */
}

.haber-icerik p, .haber-icerik h1, .haber-icerik h2, .haber-icerik h3, .haber-icerik h4, .haber-icerik h5, .haber-icerik h6 {
    word-wrap: break-word; /* Paragrafların uzun kelimeleri bölmesini sağlar */
    overflow-wrap: break-word; /* Uzun kelimelerin taşmasını engeller */
    white-space: normal; /* Satır taşması yerine alt satıra geçişi sağlar */
    max-width: 100%; /* Paragrafların div genişliğini aşmasını engeller */
}

.haber-icerik img {
    max-width: 100%; /* Resimlerin div genişliğini aşmamasını sağlar */
    height: auto; /* Yükseklik otomatik olarak ayarlanır */
}




.haber-detay-menu-alti {
 
    justify-content: space-between;
    max-width: 1366px;
    margin: 0px auto;
    gap: 15px;
}



/* <blockquote> stilini özelleştirelim */
.haber-icerik blockquote {
    background-color: #f9f9f9; /* Hafif gri bir arka plan rengi */
    border-left: 5px solid #d80000; /* Sol tarafta kırmızı bir şerit */
    color: #333; /* Yazı rengini koyu gri yapalım */
    padding: 15px 20px; /* İç boşluk */
    font-style: italic; /* Italik yazı stili */
    margin: 20px 0; /* Üst ve alt boşluk */
    font-size: 1.1rem; /* Yazı boyutunu biraz büyüt */
    line-height: 1.6; /* Satırlar arası boşluk */
}

/* <p> ve genel içerik stilini güzelleştirelim */
.haber-icerik p {
    font-size: 1rem; /* Paragrafların yazı boyutu */
    line-height: 1.7; /* Satırlar arası boşluk */
    margin: 15px 0; /* Paragraflar arasında boşluk */
    color: #444; /* Yazı rengi */
}

/* Başlıklar için stil */
.haber-icerik h1,
.haber-icerik h2,
.haber-icerik h3 {
    color: #d80000; /* Başlıkları kırmızı yapalım */
    font-weight: bold; /* Kalın yazı */
    margin: 20px 0 10px 0; /* Başlıkların üstünde ve altında boşluk */
    line-height: 1.4; /* Başlıkların satır arası boşluğu */
}

/* Linkler için stil */
.haber-icerik a {
    color: #d80000; /* Linkleri kırmızı yapalım */
    text-decoration: none; /* Alt çizgiyi kaldır */
}

.haber-icerik a:hover {
    text-decoration: underline; /* Üzerine gelince altını çiz */
}

/* Liste öğeleri için stil */
.haber-icerik ul,
.haber-icerik ol {
    padding-left: 20px; /* Liste öğeleri için soldan boşluk */
    margin: 15px 0; /* Liste öğeleri arasındaki boşluk */
}

.haber-icerik li {
    font-size: 1rem; /* Liste öğeleri yazı boyutu */
    color: #444; /* Yazı rengi */
}


.haber-icerik {
    max-width: 100%; /* İçeriğin genişliği kapsayıcıyı aşmasın */
    word-wrap: break-word; /* Uzun kelimeleri kır */
    overflow-wrap: break-word; /* Geniş içeriğin alt satıra geçmesini sağla */
    box-sizing: border-box; /* Padding ve border genişliğe dahil edilsin */
    overflow: hidden; /* İçerik dışına taşarsa gizle */
}

/* Görsel içeriklerin taşmasını önlemek için */
.haber-icerik img {
    max-width: 100%;
    height: auto;
}

/* Tabloların taşmasını önlemek için */
.haber-icerik table {
    width: 100%;
    table-layout: auto;
}

/* Videoların ve iframelerin taşmasını önlemek için */
.haber-icerik iframe,
.haber-icerik video {
    max-width: 100%;
    height: auto;
}




#haber-tarih {
    float: left; /* Tarihi sola yaslar */
    padding: 0px 0px 12px;
}

#google-news-container {
    float: right; /* Google News butonunu sağa yaslar */
}

#haber-breadcrumb .breadcrumb {
    display: flex; /* Breadcrumb elemanlarını yatay hizalar */
    list-style: none; /* Varsayılan madde işaretlerini kaldırır */
    padding: 0;
    margin: 0;
}

#haber-breadcrumb .breadcrumb-item {
    font-size: 14px; /* Yazı boyutu */
    color: black; /* Yazı rengi */
    display: flex;
    align-items: center; /* Dikey ortalama */
}

#haber-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: ">"; /* Bölme işareti */
    color: black; /* Bölme işareti rengi */
    margin: 0 8px; /* Bölme işareti ile yazı arasındaki boşluk */
}

#haber-breadcrumb .breadcrumb-item a {
    color: black; /* Link rengi */
    text-decoration: none; /* Link altı çizgisini kaldır */
}

#haber-breadcrumb .breadcrumb-item a:hover {
    text-decoration: underline; /* Link üzerine gelince altı çizgili yap */
}


.breadcrumb a:hover {
    color: #0056b3; /* Linklerin hover durumunda rengi */
    text-decoration: underline; /* Hover durumunda altı çizgili yapar */
}

/* Clearfix eklemek için kullanılabilir */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}


@media (max-width: 750px) {
    .haber img {
        width: 100%;
        height: 100px;
        object-fit: cover;
    }
}


.yorumlar-bolumu {margin-top: 20px;}.yorum {margin-top: 20px;padding: 9px;background: #ffffffc2;}.yorumlar-bolumu h3 {font-size: 25px;font-weight: bold;color: #d80000;margin-bottom: 20px;display: flex;align-items: center;}.yorumlar-bolumu h3 i {margin-right: 10px;}.yorumlar-listesi .yorum {padding: 20px;border-bottom: 1px solid #ddd;}.yorumlar-listesi .yorum:last-child {border-bottom: none;}.yorumlar-listesi .yorum strong {font-size: 1.1rem;font-weight: bold;color: #333;display: block;margin-bottom: 5px;}.yorumlar-listesi .yorum small {display: block;font-size: 0.9rem;color: #999;margin-bottom: 10px;}.yorumlar-listesi .yorum p {font-size: 1rem;color: #444;margin-bottom: 10px;}.yorumlar-listesi .yorum .yorum-etkilesim {display: flex;align-items: center;gap: 15px;}.yorumlar-listesi .yorum .yorum-etkilesim span {color: #666;font-size: 0.9rem;cursor: pointer;display: flex;align-items: center;gap: 5px;}.yorumlar-listesi .yorum .yorum-etkilesim span:hover {color: #d80000;}.yanit-butonu {display: inline-block;margin-top: 10px;padding: 5px 10px;background-color: #f9f9f9;border: 1px solid #ddd;color: #444;border-radius: 4px;cursor: pointer;font-size: 0.9rem;}.yanit-butonu:hover {background-color: #e9e9e9;}.yorum-formu {padding: 20px;margin-top: 20px;}.yorum-formu .form-group {margin-bottom: 15px;}.yorum-formu .form-group label {font-size: 1rem;color: #333;display: block;margin-bottom: 5px;}.yorum-formu .form-group input[type="text"],.yorum-formu .form-group input[type="email"],.yorum-formu .form-group textarea,.yorum-formu .form-group input[type="number"] {width: 100%;padding: 10px;font-size: 1rem;border: 1px solid #ddd;border-radius: 5px;box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);transition: border-color 0.3s ease;}.yorum-formu .form-group input:focus,.yorum-formu .form-group textarea:focus,.yorum-formu .form-group input[type="number"]:focus {border-color: #d80000;outline: none;}.yorum-formu .btn {background-color: #d80000;color: white;padding: 10px 20px;border: none;border-radius: 5px;font-size: 1rem;cursor: pointer;transition: background-color 0.3s ease;}.yorum-formu .btn:hover {background-color: #b30000;}.alert {padding: 15px;margin-top: 20px;border-radius: 5px;}.alert-success {background-color: #d4edda;color: #155724;}.alert-danger {background-color: #f8d7da;color: #721c24;}#yorum-ac-kapat {background-color: #666;color: #fff;border: none;padding: 10px 20px;font-size: 1rem;border-radius: 5px;cursor: pointer;transition: background-color 0.3s ease;}#yorum-ac-kapat:hover {background-color: #555;}
