.special-id-category-slider-container {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  cursor: pointer;
  width: 100%;
}

.special-id-category-slider {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 440px;
  width: 100%;
  aspect-ratio: 810 / 522;
  overflow: hidden;
}

.category-slider-wrapper {
  display: flex;
  transition: transform 0.5s ease;
  width: 100%;
  height: 100%;
  position: relative;
  text-align: center;
}

.category-slider-item {
    height: 100% !important;
  width: 100%;
}

.special-id-category-slider-image-container {
  width: 100%;
  height: 100%; /* Sabit yükseklik veriyoruz */
  overflow: hidden; /* Taşan alanları gizle */
  display: flex;
  justify-content: center;
  align-items: center;
  /* object-fit: cover !important; */
}
 .slider-ad-container {
    width: 100%;
    height: 100%;
}

 .slider-ad-container .relatedItem {
  margin:0 !important;
  height:100% !important;
 }
 .slider-ad-container .relatedItem .relatedLink img{
aspect-ratio: 810 / 522;
    contain: size;
    height: 100%;
    object-fit: fill !important;
 }
.slider-ad-item{
  height:100%;
}
@media (max-width: 769px) {
  .special-id-category-slider {
    height: 280px;
  }
}
@media (max-width: 450px) {
  .special-id-category-slider {
    height: 230px;
  }
}
@media (min-width: 768px) and (max-width: 1050px) {
  .special-id-category-slider {
    height: 300px;
  }
}
.special-id-category-slider-image {
  width: 100%; /* Konteynerin tamamını kaplasın */
  height: 100%; /* Konteynerin yüksekliği kadar olsun */
  object-fit: fill !important; /* Crop and fill, no distortion */
  display: block;
}


.special-id-category-buttons {
  position: absolute;
  bottom: 1px;
  width: 100%;
  padding: 0 20px;
  color: white;
}

.special-id-category-prev-btn,
.special-id-category-next-btn {
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  font-size: 24px;
  cursor: pointer;
  border-radius: 50%;
}

.renderPageNumbers {
  display: flex;
  align-items: center;
  justify-content: center;
}

.special-id-category-page-btn {
  color: white;
  background-color: #07152c;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.special-id-category-page-btn {
  color: white;
  background-color: #07152c;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.special-id-category-page-btn:hover,
.special-id-category-page-btn:focus,
.special-id-category-page-btn:active {
  background-color: #d82126;
  color: white;
}

.special-id-category-r-btn {
  color: #ff0000;
  background-color: #07152c;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.special-id-category-r-btn:hover,
.special-id-category-r-btn:focus,
.special-id-category-r-btn:active {
  background-color: #d82126;
  color: white;
}
/*  */

.special-id-category-slider-overlay-test {
  border-left: 2px solid #ff0000; /* Sol tarafta kırmızı çizgi */
  display: flex;
  padding: 5px;
  font-size: 1.3em;
  max-width: calc(100% - 20px); /* Yüksekliği aşmamak için genişliği ayarla */
}

.special-id-category-slider-title {
  position: absolute;
  bottom: -1px; /* Başlık altta olacak şekilde yerleşim */
  left: -1px;
  background-color: rgba(28, 41, 61, 0.7);
  color: white; /* Yazı rengi beyaz */
  font-weight: bold;
  padding: 10px;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7); /* Gölgeleme efekti */
  transition: background-color 0.3s, transform 0.3s; /* Hover efekti için geçiş */
  z-index: 2;
  width: 100%;
  word-wrap: break-word; /* Uzun yazıları alt satıra geçirecek */
  text-align: start;
 /* max-height: calc(100% - 20px);  Yüksekliği aşmamak için genişliği ayarla */
}

.special-id-category-slider-title h3 {
  line-height: 1.4;
  text-align: center;
}
.category-slider-item img{
  height: 100%;
  width: 100%;
}
.category-slider-default-img {
  width: 100%;
  height: 100%; /* Sabit yükseklik veriyoruz */
  overflow: hidden; /* Taşan alanları gizle */
  display: flex;
  justify-content: center;
  align-items: center;
}

/* CategoryPage.css */
.category-page-titleBox {
  padding: 0 12vw;
}

.catgeoryAd-article-card {
  cursor: pointer;
  height:100%;
  position: relative;
}
/* Genel Kategoriler Sayfası */
.category-page {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 0 12vw;
}
@media (min-width:768px)and(max-width: 1000px){
   h3{
      font-size: 1.17em !important;
  }
}
@media (max-width: 1000px) {
  .category-page {
    padding: 0 5.3vw;
  }
  
  .special-id-category-slider-overlay-test {
  font-size: 1.1em;

}
}

.catgeoryAd {
  flex: 7;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center; /* İçeriği yatayda ortalar */
  text-align: left; /* Metni ortalar */
  margin: 0 auto; /* Ortalamak için */
}

/* Makaleler */
.catgeoryAd-articles {
  flex: 2;
  width: 100%;
  margin-top: 20px;
}

.catgeoryAd-articles ul {
  list-style-type: none;
  padding: 0;
}

.article {
  background-color: #fff;
  padding: 15px;
  margin-bottom: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.article h3 {
  font-size: 22px;
  color: #333;
  margin-bottom: 10px;
}

.article p {
  font-size: 16px;
  color: #555;
}

.catgeoryAd-article-image{
  width: 100%;
  height: 80%;
  object-fit: cover;
}

/* Side (Yan Panel) */
.Sidevar {
  flex: 1;
  padding: 20px 20px 0 20px; /* Üst: 20px, Sağ: 0px, Alt: 20px, Sol: 20px */

  border-radius: 10px;
}

.Table1Wrapper,
.Table2Wrapper {
  margin-bottom: 30px;
}

h2 {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  margin-bottom: 15px;
}

button {
  align-items: center;
  justify-content: flex-start;
  padding: 10px;
  background-color: #fff;
  border: 1px solid #ddd;
  width: 100%;
  transition: all 0.3s ease;
}

button:hover {
  background: linear-gradient(to bottom right, red, darkred);
}
button img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

button div {
  flex: 1;
}

button div h3 {
  font-size: 18px;
  color: #333;
  margin-bottom: 5px;
}

button div p {
  font-size: 14px;
  color: #777;
}

/* Responsive tasarım: Ekran küçüldükçe kartlar alt alta sıralanır */
@media (max-width: 800px) {
  .category-page {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 0 2vw !important;
  }
  .category-page-titleBox {
    padding: 0 5vw;
  }
  .catgeoryAd {
    padding: 0 3vw;
  }
  .catgeoryAd-article-title {
    font-size: 15px;
    text-align: left !important;
  }
}


  @media (max-width: 410px) {
    .catgeoryAd-articles-grid {
      display: grid;
      grid-template-columns: repeat(1, 1fr) !important; /* 2 sütun oluşturur */
      gap: 20px; /* Hücreler arasındaki boşluk */
      max-width: 100%; /* Max genişlik */
    }
  }

.catgeoryAd-articles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 sütun oluşturur */
  gap: 20px; /* Hücreler arasındaki boşluk */
  max-width: 100%; /* Max genişlik */
  margin-top:20px;
}

.article-item {
  background-color: #f5f5f5;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
h3 {
  font-size: 14px !important;
  text-align: left !important;
}

.category-page-more-news {
  justify-self: center;
  margin: 40px 30px;
}

@media (min-width: 768px) and(max-width:1150px) {
  .category-page-more-news button {
    margin: 50px 50px !important;
  }
}

.catgeoryAd-article-title {
  /* height: 16%; */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 2px;
  line-height:initial;
  margin-bottom:15px;
  text-align: left;
}
@media (max-width: 768px) {
  .catgeoryAd-articles-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

.haber-details-side-wrapper {
  border-radius: 10px;
  flex: 3;
}
@media(max-width:1000px){
 .addCategory {
    padding: 0 5vw !important;
  }
}