/* ================================
   KATEGORİ BLOKLARI - RESİM SOL, YAZI SAĞ
   ================================ */

.category-blocks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.category-block {
    background: var(--bg-primary);
    border: 1px solid var(--border-default);
    border-radius: 12px;
    padding: 16px;
}

.category-block-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent-primary);
}

.category-block-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cat-technology { color: #3498db; }
.cat-gaming { color: #e74c3c; }
.cat-ai { color: #9b59b6; }

.category-block-link {
    font-size: 12px;
    color: var(--text-tertiary);
    text-decoration: none;
    transition: color 0.2s;
}
.category-block-link:hover { color: var(--accent-primary); }

/* POST LİSTESİ */
.cat-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* HER BİR POST - FLEX ROW */
.cat-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    background: var(--bg-secondary);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.cat-item:hover {
    background: var(--bg-tertiary);
    transform: translateX(4px);
}

.cat-item a {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 8px;
    text-decoration: none;
    width: 100%;
}

/* RESİM - KÜÇÜK KARE */
.cat-item-img {
    width: 55px;
    height: 55px;
    min-width: 55px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.cat-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* YAZI */
.cat-item-text {
    flex: 1;
    min-width: 0;
}

.cat-item-title {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-primary);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .category-blocks { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .category-blocks { grid-template-columns: 1fr; }
}
