/* ===========================
   FİLTRE MENÜSÜ
   =========================== */
.filter-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: white;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-group label {
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.filter-group select {
    padding: 8px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-group select:hover {
    border-color: var(--primary-color);
}

/* ===========================
   GRID GÖRÜNÜMÜ (MEVCUT)
   =========================== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

/* Standart Kart */
.news-grid.kart-standart .news-card .news-image {
    height: 200px;
}

/* Minimal Kart */
.news-grid.kart-minimal .news-card .news-image {
    height: 150px;
}

.news-grid.kart-minimal .news-body {
    padding: 15px;
}

.news-grid.kart-minimal .news-title {
    font-size: 16px;
}

/* Büyük Kart */
.news-grid.kart-buyuk .news-card .news-image {
    height: 300px;
}

.news-grid.kart-buyuk .news-title {
    font-size: 20px;
}

/* ===========================
   LİSTE GÖRÜNÜMÜ
   =========================== */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.list-item {
    display: flex;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.list-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.list-image {
    width: 250px;
    min-width: 250px;
    overflow: hidden;
}

.list-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.list-item:hover .list-image img {
    transform: scale(1.05);
}

.list-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.list-title {
    font-size: 20px;
    margin: 10px 0;
    line-height: 1.4;
}

.list-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.list-title a:hover {
    color: var(--primary-color);
}

.list-excerpt {
    color: #666;
    line-height: 1.6;
    margin: 10px 0;
    flex: 1;
}

.list-footer {
    display: flex;
    gap: 20px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
}

/* Minimal Liste */
.news-list.kart-minimal .list-image {
    width: 180px;
    min-width: 180px;
}

.news-list.kart-minimal .list-title {
    font-size: 18px;
}

.news-list.kart-minimal .list-excerpt {
    display: none;
}

/* Büyük Liste */
.news-list.kart-buyuk .list-image {
    width: 350px;
    min-width: 350px;
}

.news-list.kart-buyuk .list-title {
    font-size: 24px;
}

/* ===========================
   MASONRY GÖRÜNÜMÜ
   =========================== */
.news-masonry {
    column-count: 3;
    column-gap: 25px;
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 25px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.masonry-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.masonry-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.masonry-image {
    width: 100%;
    overflow: hidden;
}

.masonry-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s;
}

.masonry-item:hover .masonry-image img {
    transform: scale(1.05);
}

.masonry-content {
    padding: 20px;
}

.masonry-content h3 {
    font-size: 18px;
    margin: 10px 0;
    line-height: 1.4;
    color: #333;
}

.masonry-content p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin: 10px 0;
}

.masonry-meta {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #999;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
}

/* Masonry Responsive */
@media (max-width: 1024px) {
    .news-masonry {
        column-count: 2;
    }
}

@media (max-width: 768px) {
    .news-masonry {
        column-count: 1;
    }
}

/* ===========================
   TİMELİNE GÖRÜNÜMÜ
   =========================== */
.news-timeline {
    position: relative;
    padding-left: 50px;
}

.news-timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-color), #e0e0e0);
}

.timeline-date {
    position: relative;
    margin: 30px 0 20px;
}

.timeline-date span {
    display: inline-block;
    padding: 8px 20px;
    background: var(--primary-color);
    color: white;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    position: relative;
    z-index: 2;
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.timeline-marker {
    position: absolute;
    left: -35px;
    top: 20px;
    width: 14px;
    height: 14px;
    background: var(--primary-color);
    border: 3px solid white;
    border-radius: 50%;
    box-shadow: 0 0 0 2px var(--primary-color);
    z-index: 2;
}

.timeline-content {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    gap: 20px;
}

.timeline-item:hover .timeline-content {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.timeline-image {
    width: 200px;
    min-width: 200px;
    overflow: hidden;
}

.timeline-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.timeline-body {
    padding: 20px;
    flex: 1;
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.timeline-time {
    font-size: 13px;
    color: #999;
    font-weight: 600;
}

.timeline-title {
    font-size: 20px;
    margin: 10px 0;
    line-height: 1.4;
}

.timeline-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.timeline-title a:hover {
    color: var(--primary-color);
}

.timeline-excerpt {
    color: #666;
    line-height: 1.6;
    margin: 10px 0;
}

.timeline-footer {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: #999;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
}

/* Timeline Minimal */
.news-timeline.kart-minimal .timeline-image {
    width: 150px;
    min-width: 150px;
}

.news-timeline.kart-minimal .timeline-title {
    font-size: 18px;
}

.news-timeline.kart-minimal .timeline-excerpt {
    display: none;
}

/* Timeline Büyük */
.news-timeline.kart-buyuk .timeline-image {
    width: 300px;
    min-width: 300px;
}

.news-timeline.kart-buyuk .timeline-title {
    font-size: 24px;
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 768px) {
    .filter-menu {
        flex-direction: column;
        gap: 15px;
    }
    
    .filter-group {
        width: 100%;
        justify-content: space-between;
    }
    
    /* Liste Görünümü */
    .list-item {
        flex-direction: column;
    }
    
    .list-image {
        width: 100%;
        height: 200px;
    }
    
    .news-list.kart-minimal .list-image,
    .news-list.kart-buyuk .list-image {
        width: 100%;
    }
    
    /* Timeline */
    .news-timeline {
        padding-left: 30px;
    }
    
    .timeline-content {
        flex-direction: column;
    }
    
    .timeline-image {
        width: 100% !important;
        min-width: 100% !important;
        height: 180px;
    }
    
    .timeline-marker {
        left: -25px;
    }
}
