/* XS */
@media screen and (max-width:575.98px) {
    .tk_tarihce_ana_resim {
        width: 100%;
        height: auto;
    }
    .tk_tab_dizilimi {
        display: flex;
        flex-direction: column;
    }
    /* Mobilde yıl bloklarını ayırt etmek için gölge + arka plan */
    .tk-historyTab .tk-history-row {
        background: #fafafa;
        border-radius: 12px;
        padding: 1rem;
        margin-bottom: 1.25rem;
        box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    }
    .tk-historyTab .tk-history-row:last-child {
        margin-bottom: 0;
    }
}

/* SM */
@media screen and (min-width:576px) and (max-width:767.98px) {
    .tk_tarihce_ana_resim {
        width: 100%;
        height: auto;
    }
    .tk_tab_dizilimi {
        display: flex;
        align-items: flex-end;
    }
    /* Tablet küçük ekranda da yıl blokları hafif ayrılsın */
    .tk-historyTab .tk-history-row {
        background: #fafafa;
        border-radius: 12px;
        padding: 1rem 1.25rem;
        margin-bottom: 1.25rem;
        box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    }
    .tk-historyTab .tk-history-row:last-child {
        margin-bottom: 0;
    }
}

/* MD - Tablet */
@media screen and (min-width:768px) and (max-width:991.98px) {
    .tk_tarihce_ana_resim {
        width: 100%;
        height: auto;
    }
    .tk_tab_dizilimi {
        display: flex;
        align-items: flex-end;
    }
    /* Tablet: yıl bloklarını ayırt etmek için gölge + arka plan */
    .tk-historyTab .tk-history-row {
        background: #fafafa;
        border-radius: 12px;
        padding: 1rem 1.25rem;
        margin-bottom: 1.25rem;
        box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    }
    .tk-historyTab .tk-history-row:last-child {
        margin-bottom: 0;
    }
 }

/* LG */
@media screen and (min-width: 992px) and (max-width:1199.98px) {
    .tk_tarihce_ana_resim {
        width: 70%;
        height: auto;
        float: right;
    }
    .tk_tab_dizilimi {
        display: flex;
        align-items: flex-end;
    }
}

/* XL*/
@media screen and (min-width:1200px) and (max-width:1399.98px) {
    .tk_tarihce_ana_resim {
        width: 60%;
        height: auto;
        float: right;
    }
    .tk_tab_dizilimi {
        display: flex;
        align-items: flex-end;
    }
}

/* XXL*/
@media screen and (min-width:1400px) {
    .tk_tarihce_ana_resim {
        width: 64%;
        height: auto;
        float: right;
    }
    .tk_tab_dizilimi {
        display: flex;
        align-items: flex-end;
    }
}

.tk_tarihce_tab .active {
    font-size: 20pt;
}

.nav-link {
    display: block;
    padding: var(--bs-nav-link-padding-y) var(--bs-nav-link-padding-x);
    font-size: var(--bs-nav-link-font-size);
    font-weight: var(--bs-nav-link-font-weight);
    color: #000 !important;
    text-decoration: none;
    background: 0 0;
    border: 0;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out;
}

/* ---- Tarihçe sekmeleri: ok (arrow) stil ---- */
/* Sekmeler – aralarda beyaz boşluklu yapı */
.tk_tarihce_tab.nav-tabs {
    border-bottom: none;
    background: transparent;
    padding: 0;
}

.tk_tarihce_tab .nav-item {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    margin-right: 4px; /* aradaki beyaz boşluk */
}
.tk_tarihce_tab .nav-item:last-child {
    margin-right: 0;
}

.tk_tarihce_tab .nav-link {
    position: relative;
    width: 100%;
    text-align: center;
    color: #ffffff !important;
    background-color: #007848;
    border-radius: 6px;
    padding: 0.9rem 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
}

/* Sadece aktif sekmede ok ve açık yeşil zemin */
.tk_tarihce_tab .nav-link.active {
    background-color: #80b541;
    color: #ffffff !important;
    z-index: 1;
    /* Sadece renk farkı olsun, ok formu kaldırıldı */
    clip-path: none;
}

.tk_tarihce_tab .nav-link::after {
    content: none; /* varsayılan olarak ok yok */
}

.tk_tarihce_tab .nav-link.active::after {
    content: none; /* taşan üçgen iptal – sadece clip-path kullan */
}

/* Hover sadece pasif sekmeleri hafifçe vurgulasın (açık YEŞİL, beyaz değil) */
.tk_tarihce_tab .nav-link:not(.active):hover {
    background-color: #009055;
}

/* Aktif sekmede tıklayınca da renk aynı kalsın (beyaza dönmesin) */
.tk_tarihce_tab .nav-link.active:hover {
    background-color: #80b541;
}

/* Küçük ekranlar için daha kompakt görünüm ve yatay kaydırma */
@media screen and (max-width: 767.98px) {
    .tk_tarihce_tab.nav-tabs {
        border-radius: 0;
        overflow: visible;
        white-space: normal;
    }

    /* Kenar girinti/çıkıntılarını kaldır: tam genişlik, arada boşluksuz */
    .tk_tarihce_tab .nav-item {
        flex: 1 1 100%;
        margin-right: 0;
    }

    .tk_tarihce_tab .nav-link {
        padding: 0.9rem 1rem;
        font-size: 0.95rem;
        border-radius: 0;
    }
}

.tk-historyTab img {
    width:100%;
    height: auto;
}

.tk-historyTab .tarih {
    font-size: 40pt;
    font-weight: bold;
    letter-spacing: -2pt;
    color: var(--tdk_cimenYesil);
}
.tk-historyTab .aciklama {
    font-size: 16pt;
    font-weight: bold;
    color: var(--tkd_yaziRengi);
}
.flex-lg-row-reverse .aciklama, .flex-lg-row-reverse .tarih {
    text-align: right;
}


.tk_history_ara {
    display: flex;
    justify-content: center;
}
.tk_history_ara .cizgi {
    width: 5px;
    height: 100%;
    background-color: var(--tdk_cimenYesil);
}
    .tk_history_ara .yuvarlak {
        width: 50px;
        height: 50px;
        background-color: #FFF;
        border: 5px solid var(--tdk_cimenYesil);
        border-radius: 50%;
        position:absolute;
        margin-top:17px;
        transition: background-color 0.2s ease;
    }
    /* Yıl satırının üzerine gelindiğinde yuvarlağı dolu (yeşil) yap */
    .tk-historyTab .tk-history-row:hover .tk_history_ara .yuvarlak {
        background-color: var(--tdk_cimenYesil);
    }