
     .haberler-container {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
}



.haber-kart {
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    width: 100%;
    max-width: 380px;
    position: relative;
}

.haber-kart:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.haber-resim-wrapper {
    position: relative;
    overflow: hidden;
}

.haber-resim {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.haber-kart:hover .haber-resim {
    transform: scale(1.1);
}

.haber-tarih {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.75);
    color: #fff;
    padding: 6px 12px;
    font-size: 0.85rem;
    border-radius: 20px;
    font-weight: 500;
}

.haber-icerik {
    padding: 16px 18px;
    transition: background-color 0.4s ease;
}

.haber-kart:hover .haber-icerik {
    background-color: #fafafa;
}

.haber-baslik {
    font-size: 1.3rem;
    color: #222;
    margin: 0 0 10px;
    transition: color 0.3s ease;
    font-weight:400;
}

.haber-kart:hover .haber-baslik {
    color: #0056b3;
}

.haber-aciklama {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

/* Responsive Grid */
.col-lg-4 {
    flex: 0 0 33.3333%;
}

.col-md-6 {
    flex: 0 0 50%;
}

.col-xs-12 {
    flex: 0 0 100%;
}

@media (max-width: 992px) {
    .col-lg-4 {
        flex: 0 0 50%;
    }
}

@media (max-width: 768px) {
    .col-lg-4,
    .col-md-6 {
        flex: 0 0 100%;
    }
}
.haberler-baslik-wrapper {
    text-align: center;
    margin-bottom: 32px;
    margin-top:45px;
}

.haberler-baslik {
    font-size: 2.2rem;
    color: #222;
    display: inline-block;
    position: relative;
    padding-bottom: 10px;
    margin-top:135px;
}

.haberler-baslik::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 80px;
    height: 4px;
    background: #26AD5F;
    border-radius: 2px;
}

.haberler-container, .haberler-baslik-wrapper, .haber-kart {
    font-family: 'Rubik', sans-serif;

}
    
.haberler-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.haber-kart {
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 350px;
}

.haber-kart:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.haber-resim {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.haber-icerik {
    padding: 15px;
}

.haber-baslik {
    font-size: 1.2rem;
    color: #333;
    margin: 0 0 10px;
}

.haber-aciklama {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
}



/* Responsive Grid */
#ve .col-lg-4 {
    flex: 0 0 33.3333%;
    margin-bottom:10px;
}

#ve .col-md-6 {
    flex: 0 0 50%;
}

#ve .col-xs-12 {
    flex: 0 0 100%;
}

@media (max-width: 992px) {
 #ve    .col-lg-4 {
        flex: 0 0 50%;
    }
}

@media (max-width: 768px) {
  #ve   .col-lg-4,
  #ve   .col-md-6 {
        flex: 0 0 100%;
    }
}