/*────────────────────────────────────────────
  ORTAK KABUK STİLLERİ
────────────────────────────────────────────*/
.timeline-detail-table {
    margin: 25px 0;
    width: 100%;
    overflow-x: auto;                 /* dar ekranda yatay kaydırma */
}

.timeline-detail-table table {
    width: auto;
    min-width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    background: transparent;
    border-radius: 4px;
    overflow: hidden;
}

/*────────────────────────────────────────────
  YATAY TABLO ( <thead> VAR )
────────────────────────────────────────────*/
.timeline-detail-table table:has(thead) thead {
    background: transparent;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.timeline-detail-table table:has(thead) thead th {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
    padding: 12px 15px;
    text-align: left;
    white-space: normal;
    min-width: 80px;
    max-width: 100px;
    word-wrap: break-word;            /* genişlik kısıtı yok */
}

.timeline-detail-table table:has(thead) tbody td {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.8);
    padding: 10px 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    word-wrap: break-word;
    min-width: 80px;
}
.timeline-detail-table table:has(thead) tbody tr:last-child td {
    border-bottom: none;
}

/*────────────────────────────────────────────
  DİKEY TABLO ( <thead> YOK )
────────────────────────────────────────────*/
.timeline-detail-table table:not(:has(thead)) { table-layout: auto; }

/* SABİT GENİŞLİKLİ İLK SÜTUN */
.timeline-detail-table table:not(:has(thead)) th {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
    padding: 12px 8px 12px 15px;
    text-align: left;
    white-space: normal;
    border-right: 1px solid rgba(255,255,255,0.2);
    min-width: 100px;
    max-width: 150px;
    word-wrap: break-word;
}

/* DİĞER HÜCRELER (ESNEK) */
.timeline-detail-table table:not(:has(thead)) td {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.8);
    padding: 10px 15px 10px 8px;
    border: none;
    word-wrap: break-word;
    min-width: 80px;
}

/*────────────────────────────────────────────
  CAPTION
────────────────────────────────────────────*/
.timeline-detail-table .timeline-detail-caption { margin-top: 10px; }

/*────────────────────────────────────────────
  KIRILMA NOKTALARI
  — Artık <th> genişliği VE font boyutu değişmez
────────────────────────────────────────────*/
@media (max-width: 992px) {
    .timeline-detail-table th {
        font-size: 0.9rem;
        padding: 10px 12px;
        min-width: 70px;
        max-width: 90px;
    }
    
    .timeline-detail-table td {
        font-size: 0.85rem;
        padding: 8px 12px;
        min-width: 70px;
    }
}

@media (max-width: 576px) {
    .timeline-detail-table {
        margin: 15px 0;
    }
    
    .timeline-detail-table th {
        font-size: 0.8rem;
        padding: 8px 10px;
        min-width: 60px;
        max-width: 80px;
    }
    
    .timeline-detail-table td {
        font-size: 0.8rem;
        padding: 6px 10px;
        min-width: 60px;
    }
}
