/**
 * Blog Sidebar Sticky Menu Styles
 * Bu dosya blog detay sayfasındaki sidebar'ın scroll ederken 
 * görünür kalmasını sağlar (sticky positioning)
 */

/* Sidebar Container - Ana wrapper */
.sidebar-wrapper {
    position: relative;
    /* Sticky positioning için gerekli parent container */
}

/* Sticky Sidebar - Scroll ederken sabit kalacak */
.sidebar-wrapper.sticky-active {
    /* Sticky positioning aktif olduğunda */
    position: sticky;
    top: 120px; /* Header yüksekliği + offset (varsayılan değer) */
    align-self: flex-start; /* Flexbox ile hizalamak için */
    z-index: 1; /* Diğer elementlerin üstünde görünsün */
    transition: top 0.3s ease; /* Smooth geçiş animasyonu */
}

/* Sidebar içeriği için wrapper */
.sidebar-wrapper .sidebar-content {
    /* İçerik wrapper'ı */
    position: relative;
}

/* Mobilde sticky'yi devre dışı bırak */
@media (max-width: 992px) {
    .sidebar-wrapper.sticky-active {
        position: relative;
        top: 0;
        z-index: 1;
    }
}

/* Tablet görünümü için */
@media (max-width: 1200px) {
    .sidebar-wrapper.sticky-active {
        top: 100px; /* Daha küçük header için */
    }
}

/* Scroll animasyonu için transition */
.sidebar-wrapper {
    transition: all 0.3s ease;
}

/* Sidebar widget'ları için özel stil */
.sidebar-wrapper .sidebar-widget {
    /* Widget'lar arası boşluk zaten mb-45 class'ı ile ayarlanmış */
    transition: opacity 0.3s ease;
}

/* Sticky aktifken sidebar'ın görünürlüğü */
.sidebar-wrapper.sticky-active .sidebar-widget {
    opacity: 1;
}

/* Scroll sırasında sidebar'ın maksimum yüksekliği kontrolü */
.sidebar-wrapper.sticky-active {
    max-height: calc(100vh - 140px); /* Viewport yüksekliği - header - offset */
    overflow-y: auto; /* İçerik uzunsa scroll edilebilir */
}

/* Scrollbar stilleri (opsiyonel - daha güzel görünüm için) */
.sidebar-wrapper.sticky-active::-webkit-scrollbar {
    width: 6px;
}

.sidebar-wrapper.sticky-active::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.sidebar-wrapper.sticky-active::-webkit-scrollbar-thumb {
    background: #d4d4d4;
    border-radius: 10px;
}

.sidebar-wrapper.sticky-active::-webkit-scrollbar-thumb:hover {
    background: #c9c9c9;
}

.rc-post-wrap .rc-post:not(:last-child) {
    padding-bottom: 10px;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-widget-title {
    margin-bottom: 13px;
    font-weight: 500;
}



/* Header yüksekliği değiştiğinde dinamik olarak ayarlanacak (JS ile) */
.sidebar-wrapper.sticky-active.dynamic-top {
    /* JavaScript ile dinamik top değeri ayarlanacak */
}


tbody, td, tfoot, th, thead, tr {
  
    border-width: 2px;
    min-width: 45px;
}

td p , tr p  {
text-align: center;
}

@media (max-width: 768px) {
    #blog-content img{
        height:100%;
    }
}

.yazicigroup-blog-desc ul, .yazicigroup-blog-desc ol {
    padding-left: 18px;
    margin: 8px 0 16px;
    font-size: 16px;
}

.rc-post-thumb img {
    width: 70px;
    height: 70px;
    object-fit: cover;
}

.rc-post-title a {
    font-weight: 400;
}

.blog-nav-title {
    font-weight: 500;
}

#detail-page .tp-career-title {
    font-size: 52px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: normal;
}

@media (max-width: 768px) {
    #detail-page .tp-career-title {
        font-size: 26px;
    }
}