.news-cardsCategory {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 0;
}
.news-cardCategory {
    height: 100%;  
}

.card-category {
    display: flex;
    flex-direction: column;
    justify-content: space-between;  
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    padding: 10px;
    height: 100%;  
}
.card-category img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 6px;
}

.card-category h3 {
    font-size: 15px;
    color: #111;
    line-height: 1.5;
    margin: 10px 0;
    flex-grow: 1;  
}

.centerCardCategorySingle {
    font-size: 14px;
    font-weight: bold;
    color: #555;
    margin-top: auto;  
}

.card-category:hover {
    border-bottom: 5px solid #1256cba9;
    box-shadow: 0 10px 15px rgba(18, 86, 203, 0.3);
}
 

 

.title-category {
    background-color: #00bbd4;
    padding: 10px;
    color: white;
    font-weight: bold;
    margin-top: 5px;
}

/* daha cox goster input start */
.showMoreDiv {
    display: flex;
    justify-content: center;
    align-items: center;
}

.showMoreBtn {
    padding: .5rem 1rem;
    border-radius: 50px;
    border: 1px solid #c4c4c4;
    cursor: pointer;
}

.showMoreBtn:hover {
    color: #00b140;
}

@media (max-width: 850px) {
    .news-cardsCategory {
        grid-template-columns: repeat(3, 1fr);
        gap: 5px;
    }

    .card-category img {
        height: 160px;
    }
}

@media (max-width:700px) {
    .news-cardsCategory {
        grid-template-columns: repeat(2, 1fr);
        gap: 5px;
    }

    .card-category img {
        width: 100%;
        height: 190px;
        object-fit: cover;
    }
}

@media (max-width:650px) {
    .news-cardsCategory {
        width: 100%;
    }

}

/* 620px və aşağı */
@media (max-width:620px) {
    .card-category img {
        height: 160px;
    }
}

@media (max-width:540px) {
    .newsTitle {
        font-size: 16px;
        font-weight: bold;
        word-break: break-word;
    }
}

@media (max-width:470px) {
    .card-category {
        min-height: 100%;
    }

    .news-cardsCategory {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 6px;
    }

    .card-category img {
        width: 100%;
        height: 190px;
        object-fit: cover;
    }

}