﻿html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    padding-top: 50px;
    position: relative;
    min-height: 100%;
}

body {
  margin-bottom: 0px;
  margin-top:0px;
}

/* Genel */
.object-cover {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.sur-header {
    font-weight: 700;
    font-size: 1.05rem
}

/* Sağ sütun sürmanşet listesi */
.sur-list {
    display: flex;
    flex-direction: column;
    gap: .5rem
}

/*Hedar Kategori Kısmı*/

/* Nav içindeki linkleri beyaz yap ve büyük harf */
.nav-menu .nav-link.category-link,
.nav-menu .nav-link.category-link:link,
.nav-menu .nav-link.category-link:visited {
    color: #fff !important;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: .5px;
}

    /* Hover’da krem ton istersek */
    .nav-menu .nav-link.category-link:hover,
    .nav-menu .nav-link.category-link:active {
        color: #ffe8d6 !important;
    }

.category-toggle-btn {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 0;
    transition: transform .2s ease;
}

    .category-toggle-btn:hover {
        transform: scale(1.2);
        color: #ffe8d6;
    }


.nav-menu {
    display: flex;
    gap: 10px;
}

.main-nav a.category-link {
    color: #ffffff;
}

.category-link {
    font-family: 'Segoe UI', 'Helvetica Neue', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase; /* 🔥 Tüm harfleri büyük yapar */
    color: #ffffff !important; /* 🔥 Beyaz renk */
    padding: 8px 14px;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
    letter-spacing: 0.5px; /* Harf arası mesafeyi biraz açar, daha zarif görünür */
}

    .category-link:hover {
        color: #ffffff !important;
        /* İstersen bunu da beyaz bırakabiliriz */
    }

    .category-link::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -4px;
        width: 0%;
        height: 2px;
        background: #ffe8d6;
        transition: width 0.3s ease;
    }

    .category-link:hover::after {
        color: #ffffff !important;
        width: 100%;
    }


.sur-item {
    display: flex;
    gap: .75rem;
    align-items: center;
    padding: .35rem 0;
    border-bottom: 1px solid #efefef;
    text-decoration: none;
    color: #111;
}

    .sur-item img {
        width: 110px;
        height: 72px;
        object-fit: cover;
        border-radius: 4px;
        flex-shrink: 0
    }

    .sur-item .title {
        font-weight: 700;
        font-size: .95rem;
        line-height: 1.2
    }
/* 📍 Manset numaralandırma barı */
.manset-indicators {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    border-top: 1px solid #ddd;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
    z-index: 10; 
}



    /* 🔢 Numara stil */
    .manset-indicators button {
        all: unset;
        cursor: pointer;
        font-size: 14px;
        color: #000;
        padding: 6px 10px;
        transition: all 0.2s ease;
        border-radius: 4px;
    }

        /* 🟥 Aktif numara */
        .manset-indicators button.active {
            background: #f24b1a;
            color: #fff;
        }

        /* ✋ Hover efekti */
        .manset-indicators button:hover:not(.active) {
            background: #f4f4f4;
            color: #111;
        }

        /* 📌 Tümü butonu */
        .manset-indicators button:last-child {
            margin-left: auto;
            margin-right: 20px;
            font-weight: 600;
            color: #000;
        }

/* ortak yükseklik değişkeni */
:root {
    --manset-ind-h: 44px;
}
/* numara barı yüksekliği */

/* slide container relative olsun */
#mansetCarousel .carousel-item {
    position: relative;
}

/* Başlık: tam genişlik + numara barının üstünde dursun */
.carousel-caption {
    position: absolute;
    bottom: 40px;
    left: 20px;
    right: 20px;
    z-index: 2;
    text-align: left;
}

    /* 📸 Sadece caption altına gölge */
    .carousel-caption::before {
        content: "";
        position: absolute;
        bottom: -20px;
        left: -20px;
        right: -20px;
        height: 150px; 
        background: linear-gradient(to top, rgba(0,0,0,1), rgba(0,0,0,0.9), rgba(0,0,0,0));
        z-index: -1;
        pointer-events: none;
        border-bottom-left-radius: 8px;
        border-bottom-right-radius: 8px;
    }





/* Numara barı*/
#mansetCarousel .manset-indicators {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: var(--manset-ind-h);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #fff;
    border-top: 1px solid #ddd;
    padding: 0 14px;
    z-index: 5; /* başlıktan altta */
}

       /* 🔢 Numara düğmeleri */
    #mansetCarousel .manset-indicators .num {
        all: unset;
        cursor: pointer;
        font-size: 16px;
        font-weight: 600;
        color: #333;
        padding: 10px 16px;
        border-radius: 0; 
        background: linear-gradient(to bottom, #ffffff, #e9e9e9);
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        border: 1px solid #ddd;
        transition: all 0.2s ease-in-out;
        display: inline-block;
        text-align: center;
        margin: 0; 
    }

/* 🔢 Numara alanı - tek şerit görünüm */
.manset-indicators {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%; 
    display: flex;
    justify-content: space-between;
    gap: 0;
    overflow: hidden;
    background: #f5f5f5; 
    border-top: 1px solid #ddd;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
}

/* 🔢 Tek tek numaralar */
.manset-indicators {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    background: linear-gradient(to bottom, #bdbdbd, #a8a8a8); 
    padding: 12px 0;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.4);
    border-top: 1px solid #888;
}

/* 🔢 Numara stilleri */
#mansetCarousel .manset-indicators .num {
    all: unset;
    cursor: pointer;
    font-size: 24px;
    font-weight: 600;
    color: #1c1c1c;
    padding: 0 25px;
    transition: all 0.2s ease-in-out;
}


#mansetCarousel .carousel-item {
    transition: none !important;
}


    /* 🧠 Hover ve aktif durum */
    #mansetCarousel .manset-indicators .num:hover,
    #mansetCarousel .manset-indicators .num.is-active {
        color: #fff;
        background: #f24b1a;
        padding: 12px 25px;
        border-radius: 30px;
        box-shadow: 0 3px 8px rgba(242,75,26,0.5);
    }

/* 📏 Genel container genişliği */
.container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    max-width: 1170px !important;
    margin: 0 auto;
   
}

/* 📰 Manşet alanı sabit boyut */
.manset-container {
    width: 870px !important;
    position: relative;
    overflow: visible !important; /* 👈🏻 geçici olarak görünür yap */
    margin: 0 auto;
}

    /* 📸 Manşet içindeki görsel */
    .manset-container img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* Görseli taşırmadan kırpar */
    }

/* 🔢 Numaralar kısmı */
.manset-indicators {
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
}
/* 📰 Ana satır toplam genişliği */
.row.mb-4 {
    max-width: 1170px;
    margin: 0 auto;
}

/* 📸 Manşet alanı */
.col-md-8 {
    flex: 0 0 870px !important;
    max-width: 870px !important;
}

.carousel-caption h3,
.carousel-caption a h3 {
    color: #fff !important; /* 🖤 tekrar beyaz yapar */
    text-decoration: none !important;
}


/* 🟡 Yan manşet alanı */
.col-md-4 {
    flex: 0 0 280px !important;
    max-width: 280px !important;
}

/* 🧱 Manşet ve yan manşeti aynı hizaya zorla */
.row.mb-4 {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: flex-start;
    justify-content: space-between;
    max-width: 1170px;
    margin: 0 auto;
}

/* 🟥 Manşet alanı sabitle */
.manset-container,
.col-md-8 {
    flex: 0 0 870px !important;
    max-width: 870px !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* 🟡 Yan Manşet düzeni */

.manset-row .col-md-4 {
    flex: 0 0 280px;
    max-width: 280px;
}


.yan-manset-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
    border: none;
}

.yan-manset-text {
    flex: 1;
    font-size: 15px;
    line-height: 1.3;
    max-width: 170px;
    overflow: hidden;
}

    .yan-manset-text a {
        color: #000;
        text-decoration: none;
    }

        .yan-manset-text a:hover {
            text-decoration: underline;
        }

.yan-manset-img {
    width: 120px !important;
    height: 90px !important;
    object-fit: cover;
    border-radius: 4px;
}

/* 🧱 Sabit header */
.site-header {
    background: #da2b00;
    height: 59px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e0e0e0;
    z-index: 999;
}

    .site-header .container {
        max-width: 1170px;
    }

/* 🟡 Logo */
.logo img {
    display: block;
    width: 266px;
    height: 67px;
    object-fit: contain;
}

/* 🔍 Arama kutusu */
.search-box {
    position: relative;
}

.search-toggle {
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: #444;
}

.search-input {
    position: absolute;
    top: 50%;
    left: 40px;
    transform: translateY(-50%);
    width: 0;
    opacity: 0;
    padding: 5px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    transition: width 0.3s ease, opacity 0.3s ease;
}

    .search-input.active {
        width: 200px;
        opacity: 1;
    }

/* 📂 Menü */
.main-nav .nav-list li {
    list-style: none;
}

.main-nav .nav-list a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 1.05rem;
    transition: color 0.2s;
}

    .main-nav .nav-list a:hover {
        color: #f24b1a;
    }

.site-header a,
.site-header .search-toggle i {
    color: #fff !important;
}

/* 🦶 Footer */
.site-footer {
    background: #da2b00;
    color: #fff;
    padding: 50px 0;
}

    .site-footer .container {
        max-width: 1170px;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        flex-wrap: wrap;
    }

/* 🟡 Logo */
.footer-logo {
    width: 266px;
    height: 65px;
    object-fit: contain;
}

/* 📱 Sosyal Medya */
.footer-social a {
    color: #fff;
    font-size: 1.8rem;
    transition: color 0.3s, transform 0.3s;
}

    .footer-social a:hover {
        color: #000;
        transform: translateY(-3px);
    }

/* 📄 Pages */
.footer-pages a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: opacity 0.2s;
}

    .footer-pages a:hover {
        opacity: 0.8;
    }

/* 📲 Mobil Uygulamalar */
.app-badge {
    width: 150px;
    transition: transform 0.3s;
}

    .app-badge:hover {
        transform: scale(1.05);
    }

/* 📱 Responsive */
@media (max-width: 768px) {
    .site-footer .container {
        flex-direction: column;
        text-align: center;
    }

    .footer-left,
    .footer-right {
        width: 100%;
        text-align: center;
        margin-bottom: 30px;
    }

    .footer-pages {
        flex-direction: column;
        gap: 10px;
        justify-content: center;
    }

    .footer-apps i {
        color: #fff;
        transition: transform 0.3s, color 0.3s;
    }

        .footer-apps i:hover {
            transform: scale(1.2);
            color: #000;
        }

}

/* 📱 Responsive düzen - 768px altı için */
@media (max-width: 768px) {
    .list-group-item.d-flex {
        flex-direction: column !important;
        align-items: flex-start !important;
    }

        .list-group-item.d-flex img {
            width: 100% !important;
            height: auto !important;
            margin-bottom: 8px;
        }

        .list-group-item.d-flex a {
            font-size: 1rem !important;
            line-height: 1.3;
            display: block;
            text-align: left;
        }
}

/* 🌐 Tüm site genelinde link düzeni */
a, a:visited {
    color: #000 !important; /* açık alanlarda siyah */
    text-decoration: none !important; /* alt çizgi kalksın */
}

    a:hover, a:focus {
        color: #222 !important; /* hover'da çok hafif koyulaşsın */
        text-decoration: none !important;
    }

/* 🦶 Footer gibi koyu zeminlerde linkler beyaz olsun */
.site-footer a,
.site-footer a:visited {
    color: #fff !important;
}

    .site-footer a:hover {
        color: #f5f5f5 !important;
    }

/* 🛠️ İçerik aralarındaki boşlukları daralt */
.row {
    margin-left: -10px !important;
    margin-right: -10px !important;
}

.col-md-3,
.col-md-4,
.col-md-8 {
    padding-left: 6px !important;
    padding-right: 6px !important;
}

/* 📸 Kartlar arası */
.card {
    margin-bottom: 0px !important;
}

/* 📊 Yan manşet liste aralıklarını daralt */
.list-group-item {
    padding-top: 6px !important;
    padding-bottom: 6px !important;
}

/* 📰 Yan manşet ile ana manşet arasına boşluk bırak */
.col-md-4 {
    padding-left: 20px !important; /* boşluğu ayarlamak için bu değeri artırıp azaltabilirsin */
}


/* 📑 Normal haber başlıkları ve kartlar arası */
.card .card-body {
    padding: 6px !important;
}

/*Sürmanşet Ayarı*/

.card-img-top {
    width: 280px !important;
    height: 162px !important;
    object-fit: cover !important;
    padding: 6px !important;
}

.container {
    margin-top: -12px !important;
    padding-top: 10px !important;
}
/*Yazarlar*/
/* ✍️ Yazarlar satırı */
.authors-row {
    background: #fff;
    padding: 0px;
    border-radius: 6px;
}

    /* Kart alanı (eski ve yeni isimleri birlikte) */
    .authors-row .author-box,
    .author-card {
        display: flex;
        width: 380px;
        height: 180px;
        align-items: center;
        background: linear-gradient(to bottom, #fafafa, #f0f0f0);
        padding: 6px;
        border-radius: 10px;
        margin-bottom: 20px;
        transition: transform 0.2s ease;
    }

        .authors-row .author-box:hover,
        .author-card:hover {
            transform: translateY(-3px);
        }

    /* Yazar resmi (eski ve yeni isimleri birlikte) */
    .authors-row img {
        width: 120px !important;
        height: 120px !important;
        border-radius: 50%;
        border: 3px solid white;
        object-fit: cover;
        margin-right: 20px;
    }

    /* Yazar bilgileri */
    .authors-row h5,
    .author-info h5 {
        color: #000 !important; /* 🖤 Siyah yazı zorla */
        font-size: 1.2rem;
        font-weight: 600;
        margin: 0 0 6px 0;
    }

    .authors-row p,
    .author-info p {
        color: #000 !important;
        font-size: 16px !important; /* 📏 Bir tık büyüttük */
        margin: 5px 0 0 0;
    }


/* 📱 Mobil uyum */
@media (max-width: 768px) {
    .authors-row .author-box,
    .author-card {
        flex-direction: column;
        text-align: center;
    }

    .authors-row img,
    .author-img {
        margin: 0 0 10px 0;
    }
}

/* Haber Spot*/

.spot-lead h2 {
    font-size: 1.3rem !important; 
    font-weight: 600 !important; 
    line-height: 1.5 !important;
    color: #555 !important;
    font-family: Arial, sans-serif !important; 
    letter-spacing: 0.2px;
    margin-bottom: 20px;
}


.sidebar-sticky {
    position: sticky;
    top: 90px;
}

.sidebar-widget a:hover .fw-semibold {
    text-decoration: underline;
}

.news-content img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
}

/*Sosyal Medya Icons*/

/* 📌 Masaüstü Sabit Bar */
/* 📌 Masaüstü sticky bar */
.sticky-share {
    position: fixed;
    top: 50%;
    left: 340px;
    transform: translateY(-50%);
    gap: 16px;
    z-index: 1000;
}

    .sticky-share a {
        width: 42px;
        height: 42px;
        border-radius: 50%;
        background: #fff;
        border: 1px solid #ccc;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.3rem;
        color: #000;
        transition: all 0.25s ease;
    }

        .sticky-share a:hover {
            background: #000;
            color: #fff;
            transform: scale(1.1);
        }

/* 📱 Mobil paylaşım alanı */
.mobile-share {
    background: #f9f9f9;
    border-top: 1px solid #ddd;
}

    .mobile-share a {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        border: 1px solid #ccc;
        background: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.4rem;
        color: #000;
        transition: all 0.25s ease;
    }

        .mobile-share a:hover {
            background: #000;
            color: #fff;
        }


        /*Yazar Makale Detay */

/* 📚 Yazar Detay Kartı */
/* 📚 Genel container */
.container {
    max-width: 900px;
}

/* 🖊️ Yazar Detay Kartı */
.authordetail-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(145deg, #ffffff, #f8f9fb);
    padding: 25px 30px;
    border-radius: 18px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    margin-bottom: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .authordetail-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 26px rgba(0,0,0,0.08);
    }

.authordetail-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid #f24b1a;
    object-fit: cover;
    box-shadow: 0 0 10px rgba(0,123,255,0.4);
}

.authordetail-name {
    font-size: 2rem;
    font-weight: 800;
    color: #222;
    margin-bottom: 5px;
}

.authordetail-email {
    font-size: 1rem;
    color: #007bff;
    text-decoration: none;
}

    .authordetail-email:hover {
        text-decoration: underline;
    }

/* 📰 Başlık */
h1.fw-bold {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 1.2rem;
    border-left: 6px solid #007bff;
    padding-left: 15px;
    background: linear-gradient(to right, #f9f9f9, #ffffff);
    border-radius: 6px;
}

/* 🧠 Spot paragraf */
.spot-lead {
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.7;
    color: #333;
    border-left: 4px solid #ff5c5c;
    padding-left: 15px;
    margin: 25px 0;
    font-style: italic;
}

/* 📑 İçerik */
.news-content {
    font-size: 1.15rem;
    line-height: 1.9;
    color: #333;
    margin-top: 20px;
}

    .news-content p {
        margin-bottom: 1.8rem;
    }

    .news-content h2,
    .news-content h3 {
        font-weight: 700;
        margin: 2rem 0 1rem;
        color: #222;
        position: relative;
    }

        .news-content h2::after,
        .news-content h3::after {
            content: "";
            display: block;
            width: 50px;
            height: 3px;
            background: #007bff;
            margin-top: 6px;
            border-radius: 2px;
        }

    /* 🖼️ İçerik görselleri */
    .news-content img {
        max-width: 100%;
        border-radius: 14px;
        margin: 30px 0;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1);
        transition: transform 0.3s ease;
    }

        .news-content img:hover {
            transform: scale(1.02);
        }

/* 📚 Diğer Yazılar Kartları */
.card.h-100 {
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .card.h-100:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    }

.card .card-title {
    font-size: 1.1rem;
    line-height: 1.4;
    font-weight: 600;
}

.card .text-muted {
    font-size: 0.9rem;
}

/* 🧭 Sidebar */
.sidebar-widget {
    background: #fff;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.08);
}

    .sidebar-widget h4 {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
        font-weight: 700;
    }

.sidebar-link img {
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.sidebar-link:hover img {
    transform: scale(1.05);
}

.sidebar-link .fw-semibold {
    font-size: 0.95rem;
    line-height: 1.4;
}

/* 📱 Author Block Detail */

/* Özel yazar bloğu */
.authors-block {
    box-shadow: 0 4px 16px rgba(0,0,0,.08);
    border-radius: 14px;
    background: #fff;
    transition: .3s;
}

    .authors-block:hover {
        box-shadow: 0 6px 20px rgba(0,0,0,.1)
    }

    .authors-block .author-mini-card {
        border-bottom: 1px solid #e9ecef;
        padding-bottom: 12px;
        margin-bottom: 15px;
        transition: transform .2s;
    }

        .authors-block .author-mini-card:last-child {
            border-bottom: none;
            margin-bottom: 0
        }

        .authors-block .author-mini-card:hover {
            transform: translateX(4px)
        }

    .authors-block .author-mini-photo {
        width: 65px;
        height: 65px;
        border-radius: 50%;
        object-fit: cover;
        flex-shrink: 0;
        border: 3px solid #007bff;
        transition: .3s;
    }

        .authors-block .author-mini-photo:hover {
            transform: scale(1.07);
            box-shadow: 0 0 10px rgba(0,123,255,.4)
        }

/* Sağ blok: yazar kartı (üstteki authors-block ismi sende zaten var) */
.author-list-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border-radius: 16px;
    padding: 14px 16px;
    box-shadow: 0 6px 18px rgba(0,0,0,.06);
    margin-bottom: 14px;
}

.author-list-photo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover
}

.author-list-name {
    font-weight: 700;
    color: #111;
    text-decoration: none;
    display: block;
    margin-bottom: 4px
}

.author-list-last {
    font-size: .95rem;
    color: #555;
    text-decoration: none;
    display: block;
    line-height: 1.3;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical
}

    .author-list-last:hover {
        text-decoration: underline
    }

.table-hover tbody tr:hover {
    background-color: #f8f9fa;
}

.btn-sm i {
    font-size: 1.1rem;
    vertical-align: middle;
}

.btn-sm {
    padding: 4px 8px;
    border-radius: 6px;
    margin-right: 3px;
}

