.blog-section {
    padding: 40px 20px;
    background-color: #f9f9f9;
    text-align: center;
  }
  
  .section-heading h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 10px;
  }
  
  .section-heading p {
    color: #666;
    font-size: 1.1rem;
  }
  
  .blog-list-container {
    display: flex;
    align-items: center; /* Dikey hizalama */
    justify-content: center; /* Yatay hizalama */
    gap: 10px;
    position: relative; /* Konumlandırma için gerekli */
  }
  
  .slider-control {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: absolute; /* Konumlandırma için */
    top: 50%; /* Dikey ortalama */
    transform: translateY(-50%); /* Gerçek ortalama */
    z-index: 10; /* Kartların üzerinde durması için */
  }
  
  
  .slider-control:hover {
    background-color: #193db0;
    color: white;
  }
  
  .blog-list {
    display: flex;
    overflow: hidden;
    width: 80%; /* Genişlik sınırlandırıldı */
    max-width: 1200px; /* Masaüstü için genişlik sınırlandı */
    gap: 20px;
    justify-content: center; /* Kartların tam ortalanması için */
  }
  
  .blog-card {
    flex: 0 0 300px; /* Kart genişliği */
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s;
  }
  
  .blog-card:hover {
    transform: scale(1.05);
  }
  
  .blog-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
  }
  
  .blog-card .card-content {
    padding: 15px;
  }
  
  .blog-card h4 {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
  }
  
  .blog-card p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
  }
  
  .blog-card a {
    color: #193db0;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s;
  }
  
  .blog-card a:hover {
    color: #0056b3;
  }
  #prev-btn {
    left: 320px; /* Sol düğme */
  }
  
  #next-btn {
    right: 320px; /* Sağ düğme */
  }
  
  .slider-control:hover {
    background-color: #193db0;
    color: white;
  }
  
  /* Mobil uyumu */
  @media (max-width: 768px) {
    .blog-list-container {
        flex-direction: column; /* Mobilde düğmeler alt alta olabilir */
    }
  
    .slider-control {
        top: auto; /* Dikey konum kaldırıldı */
        transform: none;
        width: 35px;
        height: 35px;
    }
  
    #prev-btn {
        position: static; /* Mobilde sabit konum */
        margin-bottom: 10px;
    }
  
    #next-btn {
        position: static;
        margin-top: 10px;
    }
  
    .blog-list {
        width: 100%; /* Mobil için genişlik arttırıldı */
    }
  }