/* ====== HABER KATEGORİSİ - DARK MODE KART TASARIMI ====== */
.gn-container {
    max-width: 1140px;
    margin: 30px auto;
    padding: 0 15px;
    display: flex;
    gap: 25px;
    align-items: flex-start;
}
.gn-main {
    flex: 1;
    min-width: 0;
}
.gn-sidebar {
    width: 320px;
    flex-shrink: 0;
}

/* --- ANA AKIŞ KARTLARI --- */
.gn-card {
    display: flex;
    background: #1c1c1c;
    border-radius: 12px;
    margin-bottom: 15px;
    padding: 15px;
    gap: 20px;
    transition: background 0.2s ease, transform 0.2s ease;
    border: 1px solid #2a2a2a;
}
.gn-card:hover {
    background: #242424;
    transform: translateY(-2px);
}
.gn-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.gn-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 13px;
}
.gn-author-img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #e50000;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
}
.gn-author {
    color: #fff;
    font-weight: 600;
}
.gn-date {
    color: #888;
}
.gn-title {
    margin: 0 0 12px 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.gn-title a {
    color: #fff !important;
    text-decoration: none !important;
}
.gn-title a:hover {
    text-decoration: underline !important;
}
.gn-footer {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #888;
    font-size: 12px;
    margin-top: auto;
}
.gn-footer i {
    font-size: 14px;
    color: #aaa;
}
.gn-thumb {
    width: 160px;
    height: 110px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    background: #111;
}
.gn-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.gn-card:hover .gn-thumb img {
    transform: scale(1.05);
}

/* --- SAĞ SİDEBAR (POPÜLER HABERLER) --- */
.gn-widget {
    background: #1c1c1c;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #2a2a2a;
}
.gn-widget-title {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 20px 0;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
}
.gn-widget-title::before {
    content: '';
    display: block;
    width: 12px;
    height: 12px;
    background: #e50000;
    border-radius: 2px;
}
.pw-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.pw-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    text-decoration: none !important;
    padding-bottom: 12px;
    border-bottom: 1px solid #2a2a2a;
}
.pw-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.pw-item:hover .pw-item-title {
    text-decoration: underline;
}
.pw-rank {
    font-size: 18px;
    font-weight: 800;
    color: #e50000;
    min-width: 22px;
    text-align: center;
    margin-top: -2px;
}
.pw-info {
    flex: 1;
}
.pw-author {
    font-size: 11px;
    color: #aaa;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 5px;
}
.pw-author i {
    color: #e50000;
}
.pw-item-title {
    font-size: 13px;
    color: #fff;
    font-weight: 600;
    margin: 0;
    line-height: 1.5;
}
.pw-thumb {
    width: 65px;
    height: 50px;
    border-radius: 6px;
    object-fit: cover;
    background: #111;
    flex-shrink: 0;
}

/* Sayfalama */
.gn-pagination {
    text-align: center;
    margin: 30px 0;
}
.gn-pagination .pagination {
    display: inline-flex;
}
.gn-pagination .pagination li a {
    background: #1c1c1c;
    color: #fff;
    border: 1px solid #2a2a2a;
    margin: 0 3px;
    border-radius: 4px;
    padding: 8px 14px;
}
.gn-pagination .pagination li.active a,
.gn-pagination .pagination li a:hover {
    background: #e50000;
    border-color: #e50000;
    color: #fff;
}

/* Responsive */
@media (max-width: 991px) {
    .gn-container {
        flex-direction: column;
    }
    .gn-sidebar {
        width: 100%;
    }
}
@media (max-width: 575px) {
    .gn-card {
        flex-direction: column-reverse;
        padding: 12px;
        gap: 12px;
    }
    .gn-thumb {
        width: 100%;
        height: 180px;
    }
}
