/* Components CSS - Specific component styles */

/* ==================== HABER CARD DETAILS ==================== */
/* Genel Stil */
.HaberCardDetails-main {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f9f9f9;
}

.HaberCardDetails-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.3fr; /* Görseli büyük tut */
  gap: 10px;
  max-width: 1200px;
  width: 100%;
  background: #fff;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  max-height: 300px; /* Kartın maksimum yüksekliği */
}

/* Görsel Alanı */
.HaberCardDetails-img {
  width: 100%;
  height: 100%; /* Tüm yükseklikten faydalan */
  max-height: 300px; /* Maksimum yükseklik */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position:relative;
}

.HaberCardDetails-img img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Görseli kapsayacak şekilde ölçeklendir */
}

/* Yazı Alanı */
.text-info-main-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 10px;
  max-height: 300px;
  overflow: hidden;
}

.text-info-main-container-desp h2 {
  font-size: 18px;
  color: #333;
  margin-bottom: 5px;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* 2 satırdan sonra kes */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.text-info-main-container-desp p {
  font-size: 14px;
  color: #666;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* 2 satırdan sonra kes */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Bilgi Alanı */
.info-wrapper {
  margin-top: 10px;
}

.info {
  display: flex;
  justify-content: space-between;
  gap: 5px;
}

.info-item-main-wrapper {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 5px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #444;
  background: #f1f1f1;
  padding: 6px 8px;
  border-radius: 4px;
}

/* Daha Fazla Butonu */
.info-item-more-button {
  width: auto;
  padding: 8px;
  font-size: 14px;
  background: linear-gradient(to bottom right, red, darkred);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s;
}

.info-item-more-button:hover {
  background: linear-gradient(to bottom right, red, darkred);
}
@media (max-width: 1000px) {
  .HaberCardDetails-grid {
    grid-template-columns: 1fr; /* Tek sütuna geç */
    max-height: none; /* Yükseklik sınırını kaldır */
  }

  .img {
    height: 250px; /* Daha uygun bir yükseklik belirle */
    max-height: none;
  }

  .text-info-main-container {
    max-height: none;
    padding: 15px;
  }

  .text-info-main-container-desp h2 {
    font-size: 16px;
  }

  .text-info-main-container-desp p {
    font-size: 13px;
  }
}

.info-item-more-button-wrapper {
  width: 100%;
  align-items: center;
  justify-content: end;
  display: flex;
}
.haber-card-details-cards {
  display: flex;
  gap: 20px;
  flex-direction: column;
}


.haber-card-details-pagination-container{
  margin-top:2rem;
  text-align: center;
  display:flex;
  justify-content:center;
 

}
.haber-card-details-pagination-wrapper{
 flex-direction: row; display:flex;  align-items: center;
}
.haber-card-details-pagination-button,.dots{
  padding: 6px 12px;
  margin: 0 4px;
  background-color: #e0e0e0;
  border: none;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.2s;
}
.haber-card-details-info-sub-header{

   font-size:clamp(.7125rem, .85rem, 0.9rem);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: "Poppins", sans-serif;
padding-top:1rem;
}
  
  /* ==================== EN COK OKUNANLAR ==================== */
  .okunanlar-ad {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  width: 100%;
  height: fit-content;
}

.okunanlar-line {
  border-top: 1.5px solid #ff0000;
  width: 70%;
}

.okunanlar-header {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20%;
  height: 55px;
}

.okunanlar-main {
  height: fit-content;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.okunanlar-img {
  width: 100%;
  height: 100%;
}

.Group {
  width: 100%;
  height: 600px;
}

.okunanlar-item-1 {
  background-color: white;
  height: 40%;
  display: grid;
  justify-content: space-between;
  grid-template-columns: 1fr 1fr;
}

.okunanlar-item-2 {
  background-color: #0a1b36;
  height: 50%;
}

.okunanlar-item-1 {
  display: grid;
}

.okunanlar-column {
  display: grid;
  background-color: #0a1b36;
  gap: 10px;
  align-items: center;
  width: 100%;
}

.haber-list {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
}

.haber-list-2 {
  display: flex;
  gap: 20px;
  padding: 25px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  height: auto;
  min-height: 300px;
  max-height: fit-content;
  overflow: auto;
}

.haber-item {
  text-align: center;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.haber-item-2 {
  width: calc(18% - 10px);
  max-width: 300px;
  padding: 10px;
  text-align: center;
  box-sizing: border-box;
  transition: transform 0.2s ease-in-out;
}

.haber-item-2:hover {
  transform: scale(1.05);
}

.haber-item-2 img {
  width: 100%;
  height: auto;
}

.haber-item-2 p {
  color: white;
  margin-top: 10px;
  font-size: 16px;
  font-weight: bold;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
}

.okunanlar-column-header {
  width: 35%;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media screen and (max-width: 1276px) {
  .okunanlar-item-1 {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }

  .haber-item-2 {
    width: calc(33.33% - 10px);
  }
}

@media screen and (max-width: 649px) {
  .haber-list .haber-item {
    flex: 1 1 calc(50% - 10px);
  }

  .haber-item-2 {
    width: calc(50% - 10px);
  }
}

.haber-list-2 .haber-item {
  flex: 1 1 calc(33.33% - 10px);
  box-sizing: border-box;
}

@media screen and (max-width: 1620px) {
  .haber-list-2 .haber-item {
    flex: 1 1 100%;
  }
}

@media (max-width: 500px) {
  .okunanlar-mobile {
    display: block;
  }

  .haber-list-2 {
    justify-content: flex-start;
  }
}

@media (min-width: 501px) {
  .okunanlar-mobile {
    display: none;
  }
}

  
/* ==================== SHORTS STYLES ==================== */
  /* Slider konteyneri */
.shorts-slider-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  position: relative;
  border: none;
}

/* Sol ve sağ butonlar */
.shorts-button {
  color: #ff0000;
  border: none;
  width: 40px; /* Butonlar daha büyük */
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s, background-color 0.2s;
}

.shorts-button:hover {
  background-color: #ff0000 !important;
  color: #fff;
}

/* Video alanı */
.shorts-slider {
  display: flex;
  gap: 30px; /* Daha geniş boşluk */
  overflow: hidden;
  padding: 0 10px;
  width: 100%;
}

/* Video item */
.shorts-item {
  min-width: 300px; /* Videolar daha geniş */
  height: 620px; /* Videolar daha büyük */
  background-color: #fff;
  overflow: hidden;
}

/* İframe Responsive */
.shorts-item iframe {
  width: 100%; /* Tam genişlik */
  height: 100%; /* Yükseklik tamamen doldurur */
  object-fit: cover; /* İframe içeriği taşma yapmadan sığar */
  max-width: 100%; /* İframe'ın genişliği %100'e kadar genişler */
  max-height: 100%; /* Yükseklik de %100'e kadar genişler */
  aspect-ratio: 16 / 9; /* Oran 16:9 olarak ayarlandı */
  border: none;
}

/* Responsive tasarım */
@media (max-width: 1770px) {
  .shorts-slider-container {
    gap: 10px;
  }

  .shorts-item {
    min-width: 260px; /* Mobilde videolar küçültüldü */
    height: 400px;
  }

  .shorts-header {
    font-size: 28px; /* Mobilde başlık küçültüldü */
  }

  /* İframe Responsive Mobil */
  .shorts-item iframe {
    height: 100%; /* Yükseklik mobilde de orantılı */
    max-width: 100%; /* Genişlik mobilde uyumlu */
  }
}

@media (max-width: 1350px) {
  .shorts-slider-container {
    gap: 5px;
  }

  .shorts-item {
    min-width: 200px; /* Mobilde videolar küçültüldü */
    height: 350px;
  }

  .shorts-header {
    font-size: 28px; /* Mobilde başlık küçültüldü */
  }

  /* İframe Responsive Mobil */
  .shorts-item iframe {
    height: 100%; /* Yükseklik mobilde de orantılı */
    max-width: 100%; /* Genişlik mobilde uyumlu */
  }
}

/* 1155px sonrası video item sıralama */
@media (max-width: 1155px) {
  .shorts-slider {
    justify-content: space-between;
  }

  .shorts-item {
    min-width: 48%; /* 2 sütunlu görünüm */
    height: 400px;
  }
}

@media (max-width: 768px) {
  .shorts-item {
    min-width: 100%; /* 1 sütunlu görünüm */
    height: 350px;
  }
}

  
  /* ==================== VIDEO GALERI ==================== */
  /* Video Gallery Component Styles */
.video-galeri-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(to bottom right, red, darkred);
  padding: 20px;
  margin-bottom: 15px;
}

.video-header {
  color: white;
  text-align: left;
  font-size: 24px;
  margin-bottom: 20px;
  width: 80%;
}

.featured-video {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 800px;
  margin-bottom: 20px;
  gap: 15px;
  position: relative;
}

.video-list {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  width: 100%;
}

.video-item {
  width: 250px;
  text-align: center;
  margin-bottom: 10px;
}

.video-item iframe {
  width: 100%;
  height: 150px;
  border-radius: 8px;
}

.video-title {
  font-size: 14px;
  margin-top: 5px;
  color: white;
}

/* Slider buttons styling */
.slider-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
}

.shorts-button {
  background-color: #007bff;
  color: white;
  padding: 10px 15px;
  border: none;
  cursor: pointer;
  font-size: 16px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.shorts-button:hover {
  background-color: #0056b3;
}

.shorts-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background-color: #6c757d;
}

/* Error states */
.video-error, .main-video-error {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 14px;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
}

.video-item .video-error {
  height: 150px;
}

.main-video-error {
  height: 450px;
  font-size: 16px;
}


/* Tablet responsive styles */
@media (max-width: 1024px) {
  .featured-video {
    flex-direction: column;
    gap: 10px;
  }
  
  .video-list {
    justify-content: space-between;
    gap: 15px;
  }
  
  .video-item {
    width: 48%;
  }
}

/* Mobile responsive styles */
@media (max-width: 700px) {
  .video-galeri-container {
    padding: 15px;
  }
  
  .video-header {
    font-size: 20px;
    text-align: center;
    width: 100%;
  }
  
  .featured-video {
    width: 100%;
    max-width: none;
    flex-direction: row;
    gap: 10px;
  }
  
  .featured-video iframe {
    width: 100%;
    height: 300px;
    border-radius: 10px;
  }
  
  .slider-buttons {
    flex-direction: column;
  }
  
  .shorts-button {
    padding: 8px 12px;
    font-size: 14px;
  }
  
  .video-list {
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
  }
  
  .video-item {
    width: 100%;
    margin-bottom: 15px;
  }
  
  .video-item iframe {
    height: 200px;
  }
  
  .Related-container-abreast {
    flex-direction: column;
    gap: 10px;
  }
}

/* Very small mobile screens */
@media (max-width: 480px) {
  .video-galeri-container {
    padding: 10px;
  }
  
  .featured-video {
    gap: 5px;
  }
  
  .featured-video iframe {
    height: 250px;
  }
  
  .shorts-button {
    padding: 6px 10px;
    font-size: 12px;
  }
  
  .video-item iframe {
    height: 180px;
  }
  
  .video-header {
    font-size: 18px;
  }
}

/* Loading state */
.video-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 450px;
  color: white;
  font-size: 16px;
}

/* Accessibility improvements */
.shorts-button:focus {
  outline: 2px solid white;
  outline-offset: 2px;
}

.video-item iframe:focus {
  outline: 2px solid #007bff;
  outline-offset: 2px;
}

/* Smooth transitions */
.featured-video iframe {
  transition: opacity 0.3s ease;
}

.video-galeri-container * {
  box-sizing: border-box;
}
  
  /* ==================== SEARCH STYLES ==================== */
  .search-container {
    width: 100%;
    padding: 0 0.2rem;
    margin-top: 0;
    margin: 0 auto;
  }
  
  .search-form {
    display: flex;
    gap: 4px;
    align-items: center;
  }
  
  .search-input {
    flex: 1;
    padding: 0.4rem 0.6rem;
    border-radius: 4px;
    border: 1px solid #ddd;
  }
  
  .search-button {
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
    background-color: #ff0000;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }
  
  /* ==================== SIDEBAR STYLES ==================== */
  /* Side Component CSS */
.Sidevar {
  box-sizing: border-box;
  flex: 1;
  border-radius: 10px;
  padding: 20px 20px 0;
  width:100%;
  min-width: 300px;
    max-width:650px;
}

.Sidevar h2 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 15px;
  color: white;
  background: linear-gradient(to bottom right, red, darkred);
  text-align: center;
  margin: 0;
  height: 40px;
  align-items: center;
  justify-content: center;
  display: flex;
}

.Sidevar ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  max-height: 320px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #ccc #fff;
}

.Sidevar li {
  margin-bottom: 0;
  border: 1px solid #ddd;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
}

.Sidevar li:hover {
  background-color: #f7f7f7;
}

.Sidevar button {
  display: flex;
  align-items: center;
  border: none;
  background: none;
  cursor: pointer;
  width: 100%;
  text-align: left;
  padding: 10px;
  transition: background-color 0.3s ease;
}

.Sidevar button:hover {
  background-color: #f7f7f7;
}

.Sidevar h3 {
  font-size: 16px;
  margin: 0;
}

.Sidevar p {
  font-size: 14px;
  color: #555;
  margin: 5px 0 0;
  gap: 10px;
}

/* Special News Section */
.Table2Wrapper {
  margin-bottom: 20px;
}

.ListWrapper2 {
  display: flex;
  flex-direction: column;
}

.ListItem2 {
  transition: background-color 0.3s ease;
}

.ListItem2:hover {
  background-color: #f7f7f7;
}

.ListItem2 button {
  display: flex;
  align-items: center;
  border: none;
  background: none;
  cursor: pointer;
  width: 100%;
  text-align: left;
  padding: 10px; 
}


.Table2Wrapper .ListItem2 .Side-EncokButton .Table2Image {
  width: 100px;
  height: 60px;
  border-radius: 0px;
  flex-shrink: 0;
  object-fit: cover;
}

@media (max-width: 1170px) {
  .Table2Image {
    width: 90px;
    height: 50px;
  }
}

/* Social Media Section */
.kibris-side-social-media-text {
  color: black;
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px !important;
}

.kibris-footer-social-media {
  margin: 0 !important;
  margin-bottom: 20px !important;
}

.kibris-footer-social-media-icons {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.kibris-footer-social-icon {
  color: white;
  text-decoration: none;
  transition: color 0.3s, transform 0.3s;
  background: linear-gradient(to bottom right, red, darkred);
  padding: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 4px;
}

.kibris-footer-social-icon:hover {
  transform: translateY(-2px);
  background: linear-gradient(to bottom right, darkred, red);
}

.kibris-footer-social-icon i {
  color: white;
  font-size: 20px; 
}

/* Related Ads */
.Related-container-side {
  margin: 0 !important;
  height: 100%;
  margin-bottom: 20px !important;
}

.Related-container-side img {
  aspect-ratio: 435/470 !important;
  width: 100%;
  height: auto;
}

/* Special News Headlines */
.ListItem2 h3 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 16px;
  line-height: 1.4;
  text-align: left;
  margin: 0;
  flex: 1;
}

/* Currency Section */
.DovizWrapper {
  margin-bottom: 20px;
}

/* Error and Loading States */
.error-message,
.no-news {
  padding: 20px;
  text-align: center;
  color: #666;
  font-style: italic;
}

.error-message {
  color: #d32f2f;
  background-color: #ffebee;
  border: 1px solid #f8bbd9;
  border-radius: 4px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .Sidevar {
    box-sizing: border-box;
    width: 100%;
  }
  
  .kibris-footer-social-media-icons {
    gap: 5px;
  }
  
  .kibris-footer-social-icon {
    width: 35px;
    height: 35px;
    padding: 6px;
  }
  
  .kibris-footer-social-icon i {
    font-size: 18px !important;
  }
  
  .Table2Image {
    width: 80px;
    height: 45px;
  }
  
  .ListItem2 h3 {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .ListItem2 button {
    align-items: flex-start;
    gap: 8px;
  }
  
  .Table2Image {
    width: 100%;
    height: 120px;
  }
  
  .kibris-side-social-media-text {
    font-size: 14px;
  }
}
  
  /* ==================== SECTION STYLES ==================== */
.section-container {
    width: 100%;
    margin-bottom: 30px; /* Space below each section */
}

/* This is the grid that holds the news cards */
.haber-content {
    display: grid;
    /* Create 4 equal columns on desktop */
    grid-template-columns: repeat(4, 1fr); 
    gap: 20px; /* Space between the cards */
}

/* Individual news card */
.news-card {
    display: flex;
    flex-direction: column; /* Stack image/title vertically */
    background: #ffffff;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-image-container {
    position: relative; /* For positioning badges inside */
}

.news-image-container .newsimage {
    width: 100%;
    aspect-ratio: 16 / 10; /* Give all images a consistent shape */
    object-fit: cover;
    display: block;
}

.section-ozel-haber-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 2.8em;
  line-height: 1.4em;
  /* min-height: 2.8em; */
  width: 100%;
  font-size: 16px;
  font-weight: 700;
  color: #333;
  text-align: left;
  margin-bottom: 10px;
  margin-top: 2px;
}

/* Container for related ads below the news grid */
.Related-container-abreast {
    display: flex;
    gap: 20px;
    margin: 1vh 0;
}

/* ==================== RESPONSIVE STYLES ==================== */

@media (max-width: 1295px) {
  .haber-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .newsimage {
    height: 20vh;
  }

  .section-ozel-haber-title {
    font-size: 16px !important;
    /* height: 2.6em; */
  }
}

@media (max-width: 769px) {
  .haber-content {
    margin: 10px;
    gap: 15px;
  }

  .newsimage {
    height: 20vh;
  }

  .section-ozel-haber-title {
    font-size: 13px;
    line-height: 1.2em;
    /* height: 2.4em; */
    margin-bottom: 8px;
  }

  .Related-container-abreast {
    flex-direction: column;
  }
}
@media (max-width: 680px) {
  .haber-content {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}
@media (max-width: 480px) {
  .newsimage {
    height: 160px;
  }

  .section-ozel-haber-title {
    font-size: 13px;
    /* height: 2.4em; */
  }
}

@media (max-width: 430px) {
  .haber-content {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .haber-content::-webkit-scrollbar {
    display: none;
  }

  .news-card {
    width: 100%;
    min-width: 200px;
    flex-shrink: 0;
    scroll-snap-align: start;
  }
}
  
  /* ==================== TITLE BOX ==================== */
  .title-box {
  background: #142745;
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  padding: 5px 10px;
  height: 40px;
  border-radius: 10px;
  color: white;
  font-family: Inter;
  font-size: 14px;
  font-weight: 600;
  line-height: 16.94px;
  text-align: left;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  width: fit-content;
  margin-top: 15px;
}

@media (max-width: 768px) {
  .title-box {
    padding: 1px 7px !important;
    height: 25px !important;
    font-size: 12px;
  }
}

  
  /* ==================== LINE AND HEADER ==================== */
 .line-header {
  padding: 25px 0;
}

@media (max-width: 768px) {
  .line-header {
    padding: 0 0 28px 0;
  }
}
  /* ==================== RELATED COMPONENT ==================== */
/* RelatedComponent CSS */
.relatedItem {
  height: 100%;
  width: 100%;
  margin-top: 2vw;
}

.relatedLink {
  height: 100%;
  width: 100%;
  display: block;
  text-decoration: none;
}

.relatedImage {
  aspect-ratio: 6/1;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Size-specific styles to match React component logic */
.relatedItem.size-sidesize .relatedImage {
  aspect-ratio: 435/470;
  max-height: 470px;
}

.relatedItem.size-topAdBigger .relatedImage {
  aspect-ratio: 10/1;
  height: auto;
}

.relatedItem.size-SliderDefaultImg .relatedImage {
      aspect-ratio: 810 / 522;
    contain: size;
    height: 100%;
    object-fit: fill !important;
}


/* Responsive breakpoints */
@media (min-width: 1000px) {
  .relatedItem {
    margin: 0.5vw 0;
  }
}

@media (max-width: 768px) {
  .relatedImage {
    aspect-ratio: 6/1;
    width: 100%;
  }
  
  /* Adjust size-specific styles for mobile */
  .relatedItem.size-sidesize .relatedImage {
    aspect-ratio: 6/1;
  }
  
  .relatedItem.size-topAdBigger .relatedImage {
    aspect-ratio: 6/1;
    object-fit:fill;
  }
}

@media (min-width: 1600px) {
  .relatedImage {
    max-width: none;
  }
  
  .relatedItem {
    width: 100%;
  }
  
  /* Enhanced sizes for large screens */
  .relatedItem.size-topAdBigger .relatedImage {
    aspect-ratio: 12/1;
  }
}
  
  /* ==================== POPUP STYLES ==================== */
  .popup-open { overflow: hidden; }

  .popup-overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;

    justify-content: center;
    align-items: center;
    z-index: 1000;
  }
  
  .popup-overlay.visible {
    display: flex; /* CRITICAL: This makes it visible */
    justify-content: center;
    align-items: center;
    opacity: 1; /* Makes it fully opaque */
}
.popup-overlay.visible .popup-content {
    transform: scale(1);
}
  .popup-content {
    height: auto;
    position: relative;
    margin: 5px;
    display: flex;
  }
  
  .popup-content .relatedImage {
    width: 100%;
    aspect-ratio: 435/470 !important;
    display: block;
    object-fit: cover;
    border-radius: 8px;
  }
  
  .close-button-container {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    position: absolute;
  }
  
  .close-button {
    border-radius: 50%;
    font-size: 18px;
    width: 24px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border:thick;
  }
  @media(max-width:768px){
    .popup-content {
height:auto;
width: 80%;
  }
   
  }
  
  /* ==================== MUSMER TICKER ==================== */
  /* Currency Ticker Styles */
.ticker-wrapper {
  display: flex;
  align-items: center;
  background-color: #142745;
  padding-left: 25px;
  height: 70px;

  margin: 0 auto; /* Ortalamak için */
  margin-bottom: 20px;
}

.ticker-logo {
  display: flex;
  align-items: center;
  margin-right: 15px;
}

.ticker-logo img {
  height: 40px;
}

.ticker {
  display: flex;
  align-items: center;
  overflow: hidden;
  white-space: nowrap;
  background-color: #f5f5f5;
  padding: 19px;
  border: 1px solid #ddd;
  flex-grow: 1;
  position: relative;
  width: 10%;
}
@media (max-width: 768px) {
  .ticker-wrapper {
    height: 60px !important;
  }
  .ticker {
    padding: 15px !important;
  }
 
  .loading-spinner-container {
    /* height: 30px !important; */
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .loading-spinner {
    width: 24px !important;
    height: 24px !important;
    border-width: 3px !important;
  }
}
@media (min-width: 768px) {
  .ticker {
    display: flex;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    width: 100%;
    align-items: center;
    justify-content: center;
  }
  .ticker-content {
    display: flex;
    gap: 2vw;
    height: 30px;
  }
}

.prices {
  display: flex;
  gap:20px;
}
@media (min-width: 768px) and (max-width:1020px){
.prices {
    gap: 3px !important;
  }
}
.prices {
  display: flex;
  gap: 15px;
}

.price-item {
  display: grid;
  gap: 2px;
}

.ticker-content {
  display: flex;
}

/* Initially hide the element */
.price-hide {
  display: block;
}

/* Show the element when the screen width is greater than 768px */
@media (min-width: 768px) {
  .price-hide {
    display: none;
  }
}

/* Sadece mobil cihazlar için (maksimum 768px genişlik) */
@media (max-width: 768px) {
  .ticker-content {
    animation: scroll 15s linear infinite;
  }
  .prices {
    display: none;
  }
}

.price-item-border-left {
  border-left: 1px solid red;
}

@keyframes scroll {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(-100%);
  }
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 30px;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 30px; /* Default gap for larger screens */
}

@media (max-width: 1453px) {
  .ticker-item {
    gap: 10px;
  }
}
@media (max-width: 1325px) {
  .ticker-item {
    font-size: 13px;
  }
}
@media (max-width: 1225px) {
  .ticker-content {
    gap: 5px;
  }
}
@media (max-width: 1115px) {
  .ticker-logo img {
    height: 20px;
  }
}
@media (max-width: 1000px) {
  .ticker-item {
    font-size: 12px;
  }
  .ticker-item {
    gap: 1px;
  }
}
.price-item-border-left {
  border-right: 1.5px solid red;
}

.price-numbers {
  font-weight: 100;
}

.ticker-item img {
  height: 30px;
  margin-right: 12px;
}

.ticker-item span {
  margin-right: 5px;
  font-weight: bold;
}

.ticker-item .price {
  color: green;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@media (max-width: 530px) {
  .ticker-wrapper {
    padding: 0;
    margin: 0;
    margin-bottom: 20px;
    width: 100%;
  }
  .ticker-logo img {
    height: 25px;
  }
}

/* ==================== NAVBAR ==================== */
/* Navbar.css - Updated for Django */

.Navbar {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #142745;
  padding-top: 10px;
  height: fit-content;
}

.nav-items {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  gap: 20px;
  width: 88vw;
}

.logo {
  height: 7vh;
  width: auto;
}

/* Flex containers */
.flex-container {
  display: flex;
  justify-content: space-around;
  gap: 20px;
  width: auto;
  margin-bottom: 20px;
}

.flex-box {
  background-color: #fff;
  padding: 20px;
  flex: 1;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.flex-box:hover {
  background-color: #f1f1f1;
}

/* Navigation wrapper */
.navwrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.navmobile {
  width: 100%;
  display: block;
}

.nav-items {
  display: none;
}

/* Desktop breakpoint */
@media (width > 1200px) {
  .navwrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }
  
  .nav-items {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .navmobile {
    display: none;
  }
}

@media (width <= 1200px) {
  .navwrapper {
    display: none;
  }
}

/* Right navigation items */
.nav-right {
  display: flex;
  align-items: center;
  flex-direction: row;
  column-gap: 1rem;
}

.nav-right .eczane .linkEczane {
  color: #fff;
  text-decoration: none;
}

.linkEczane {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  gap: 8px;
}

.eczaneler-img {
  height: 35px;
  width: 35px;
  flex-shrink: 0; 
}

.eczane-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  font-size: 14px;
}

@media (max-width: 1200px) {
  .Navbar {
    padding-top: 0;
  }
}

/* Mobile Navigation Styles */
.navmobile-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 13px 0;
}

.navmobile-container-wrapper-centered {
  width: 88vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navmobile-wrapper {
  width: 100%;
}

/* Logo styles */
.layer-logo img {
  width: 200px;
  height: auto;
}

/* Mobile header */
.navmobile-header {
  display: flex;
  align-items: center;
  gap: 20px;
  color: white;
}

/* Hamburger icon - Updated for Font Awesome */
.hamburger-icon {
  cursor: pointer;
  transition: transform 0.3s ease;
  font-size: 1.5rem;
  color: white;
}

.hamburger-icon.active {
  transform: rotate(90deg);
}

/* Search icon */
.search-icon {
  cursor: pointer;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  overflow-y: auto;
  top: 0;
  right: -250px;
  width: 250px;
  height: 100%;
  background-color: #142745;
  transition: right 0.3s ease;
  z-index: 1000;
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 70px 0;
}

.mobile-menu li {
  margin: 20px 0;
}

.mobile-menu a {
  color: white;
  text-decoration: none;
  font-size: 18px;
  display: block;
  padding: 10px 20px;
  transition: background-color 0.3s ease;
}

.mobile-menu a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Close button */
.nav-mobile-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: #ff0000;
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 20px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-mobile-close-btn:hover {
  background-color: #cc0000;
}

/* Mobile download banner */
.nav-mobile-download-top-container {
  background-color: #ff0000;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 10px;
  position: relative;
}

.nav-mobile-download-top-close-button {
  position: absolute;
  top: 5px;
  right: 10px;
  color: white;
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-mobile-download-top-close-indir {
  background-color: #142745;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  display: flex;
  padding: 3px;
}

.nav-mobile-download-top-content {
  color: #f0f0f0;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
}

.nav-mobile-download-top-content h1 {
  color: #f0f0f0;
  margin: 0;
  padding: 0;
  font-size: 16px;
  font-weight: bold;
}

.nav-mobile-download-top-content p {
  color: #f0f0f0;
  margin: 0;
  padding: 0;
  font-size: 14px;
}

.nav-mobile-download-top-close-indir-buttomn {
  background-color: white;
  border-radius: 20px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 12px;
  color: #142745;
  font-weight: bold;
}

/* General mobile text styles */
.navmobile-container h2,
.navmobile-container h4,
.navmobile-container p,
.navmobile-container a {
  color: white;
  font-size: 1.5rem;
  font-weight: 400;
  text-transform: capitalize;
  text-decoration: none;
  margin: 0.5rem 0;
  font-family: Arial, sans-serif;
}

.navmobile-dropdown-item {
  font-size: 1rem;
}

.navmobile-dropdown-link {
  display: block;
  padding: 0.5rem 0;
  transition: all 0.3s ease-in-out;
}

.navmobile-dropdown-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Navigation items */
.nav-item {
  list-style: none;
}

.button-nav-item {
  all: unset;
  margin-top: 20px;
  width: 100%;
}

.button-nav-item:hover {
  all: unset;
}

/* Hide download banner initially if needed */
#mobile-download-banner.hidden {
  display: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .mobile-menu {
    width: 280px;
    right: -280px;
  }
}

@media (max-width: 480px) {
  .navmobile-container-wrapper-centered {
    width: 95vw;
  }

}
  
/* ==================== LOADING SPINNER ==================== */

/* Loading Spinner */
.loading-spinner-container {
  display: flex;
  justify-content: center;
  align-items: center;
  /* padding: 20px; */
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #c41e3a; /* Kıbrıslı Gazetesi kırmızı rengi */
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ==================== CATEGORY LABEL AND RELATED COMPONENTS ==================== */
  /* Category Label */
  .category-label {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: rgba(196, 30, 58, 0.9);
    padding: 5px 10px;
    border-radius: 4px;
    z-index: 2;
  }

  .category-label span {
    color: white;
    font-size: 0.8em;
    font-weight: 600;
  }

  /* Related Component */
  .related-container {
    width: 100%;
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 15px;
  }

  .related-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  }

  .related-image {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .related-link {
    display: block;
    text-decoration: none;
    color: inherit;
  }


/* ==========================================================================
   WRITERS COMPONENT - Main Layout
   ========================================================================== */
.writers {
  height: max-content;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 20px;
}
.writers-ad {
  display: grid;
  gap: 20px; /* Ana öğeler arasında boşluk */
  padding: 20px;
  grid-template-columns: repeat(1, 2fr); /* 2 sütun, eşit genişlik */
  width: 100%; /* Konteyner genişliği */
}

.writers-ad-item1,
.writers-ad-item2 {
  grid-template-columns: repeat(2, 1fr); /* Her bir ana öğe içinde 2 sütun */
  display: grid;
  gap: 10px; /* Alt öğeler arasında boşluk */
  width: 100%; /* Konteynerin tam genişliği */
}

.sub-item {
  width: 100%; /* Genişlik sütun ile eşleşir */
  height: 170px;
  text-align: center;
  line-height: 170px; /* Dikey ortalama için */
  border: 1px solid #999;
  background-color: #e6e6e6;
  font-family: Arial, sans-serif;
  font-size: 16px;
  color: #333;
}
@media (max-width: 630px) {
  .writers-ad {
    grid-template-columns: 1fr; /* Tek sütun düzeni */
  }

  .writers-ad-item1,
  .writers-ad-item2 {
    grid-template-columns: 1fr; /* Alt öğeleri alt alta yerleştir */
  }
}

.writers-div {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.writers-line {
  border-top: 1.5px solid #ff0000;
  width: 70%;
}

.writers-header {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.writers-main {
  height: auto;
  display: flex;
  width: auto;
  align-items: center;
  justify-content: center;
}

.button-back,
.button-next {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  color: white;
  background-color: #ff0000;
}
.writers-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  overflow: hidden;
  background-color: #eee;
  padding: 10px;
  height: 230px;
}
.writers-cell:hover {
  a {
    font-weight: 600;
  }
}
.writers-img {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: fit-content; /* Sabit yükseklik */
  width: 100%; /* Sabit genişlik */
  padding: 0 10px;
}

.writers-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  width: 100%; /* Tam genişlik kaplamasını sağlar */
  min-height: 65px;
  height: fit-content;
}
.writers-content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between; /* This is the key change */
  height: 100%; /* Make it take the full height of the parent .writers-cell */
  width: 100%;
}

.writers-content h2 {
  white-space: normal; /* Metnin satırlara sarılmasını sağlar */
  overflow: hidden;
  word-wrap: break-word; /* Uzun kelimelerin satırlara taşmasını engeller */
  font-size: 12px; /* Font boyutunu 15px yapar */
  padding: 0 10px; /* Yazıyı biraz daha rahat gösterir */
}

.writers-link {
  text-decoration: none; /* Alt çizgiyi kaldırır */
}

@media (min-width: 1500px) {
  .writers-cell {
    width: 20%; /* 4 öğe için genişlik */
  }

  /* Diğer öğeleri gizlemek için */
  .writers-cell:nth-child(n + 5) {
    display: none; /* 5. öğeden sonrasını gizle */
  }
}

@media (max-width: 1550px) {
  .writers-cell {
    width: 23%; /* 4 öğe için genişlik */
  }

  .writers-cell:nth-child(n + 5) {
    display: none;
  }
}
@media (max-width: 1250px) {
  .writers-cell:nth-child(n + 4) {
    display: none !important; /* 3. öğeden sonrasını gizle */
  }
  .writers-cell {
    width: 28%;
  }
}
@media (max-width: 1000px) {
  .writers-cell:nth-child(n + 3) {
    display: none !important; /* 3. öğeden sonrasını gizle */
  }
  .writers-cell {
    width: 35%;
  }
}

@media (max-width: 985px) {
  .writers-cell:nth-child(n + 4) {
    display: none;
  }
  .writers-ad {
    display: none;
  }
  .writers {
    flex-direction: column;
  }
  .writers .most-read .Side-Encokvar{
    width: 100%;
  }
}

@media (max-width: 965px) {
  .writers-cell:nth-child(n + 4) {
    display: none !important; /* 3. öğeden sonrasını gizle */
  }
}
@media (max-width: 480px) {
  .writers-cell {
    width: 50%; /* 1 öğe için genişlik */
  }

  .writers-content {
    font-size: x-small;
  }

  /* Diğer öğeleri gizlemek için */
  .writers-cell:nth-child(n + 2) {
    display: none; /* 2. öğeden sonrasını gizle */
  }
}
@media (max-width: 635px) {
  .writers-content {
    font-size: x-small;
  }

  /* Diğer öğeleri gizlemek için */
  .writers-cell:nth-child(n + 4) {
    display: none; /* 2. öğeden sonrasını gizle */
  }
}
@media (max-width: 420px) {
  .writers-cell:nth-child(n + 2) {
    display: none; /* 2. öğeden sonrasını gizle */
  }
}

.writers-button {
  background-color: #ff0000;
  width: 30px;
  height: 30px;
  border: none;
  color: white;
  align-items: center;
}
@media (min-width: 768px) {
  .most-read .Side-Encokvar {
    width: 98%;
  }
}
@media (min-width: 985px) {
  .most-read .Side-Encokvar {
    width: 50%;
  }
}

.writers-cell img {
  height: 100px;
  width: 100px;
  border-radius: 50%;
}
.writers-content-new-header {
  width: 100%;
  min-height: 40px; /* Reserve a minimum height for up to two lines of text */
  display: flex;
  align-items: center; /* Vertically center the text inside */
  justify-content: center;
}
.writers-content-new-header a {
  font-size: 0.7rem;
  color: black;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* Maksimum 2 satır göster */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  text-align: center;
}

.yazar-resim {
  height: 100px;
  width: 100px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0; /* Prevent the image from shrinking */
}
@media (max-width: 768px) {
  .ana-sayfa-yazarlar-reklamlar2 {
    display: none;
  }
}

@media (min-width: 768px) {
  .ana-sayfa-yazarlar-reklamlar1 {
    display: none;
  }
}

/* ==================== SECTION COMPONENT ==================== */

  .section-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
  }

  .section-line {
    flex-grow: 1;
    height: 2px;
    background-color: #c41e3a;
  }

  .section-title {
    padding: 0 15px;
    font-size: 1.2em;
    font-weight: 600;
    color: #333;
  }


/* ==================== DROPDOWN MENU STYLES ==================== */
.dropdown-centered {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background-color: #ff0000;
}

/* Dropdown container */
.dropdown-container {
  position: relative;
  width: fit-content;
  display: inline-block; /* İçeriği yatayda hizalamak için */
}

/* Dropdown button */
.dropdown-button {
  padding: 10px 20px;
  background-color: #1c293d; /* Mavi arka plan */
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.dropdown-button:hover {
  background-color: #2a3b55; /* Hover efekti */
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-65%); /* You may need to adjust this value */
  background-color: #142745;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 50;
  display: grid; /* This is the key part */
  grid-template-columns: repeat(3, 1fr); /* Create 3 equal columns */
  gap: 10px; /* Add space between columns */
  padding: 10px;
  width: 1200px; /* Adjust width as needed */
  max-width: 90vw;
}

/* Style the columns themselves */
.dropdown-column {
  display: flex;
  flex-direction: column;
  gap: 10px; /* Space between title and grid */
}

/* The grid inside each column */
.dropdown-grid {
  display: grid;
  grid-template-rows: repeat(8, auto); /* Create up to 8 rows */
  grid-auto-flow: column; /* Fill columns first, then rows */
  gap: 5px;
}

/* Dropdown item */
.dropdown-item {

  text-align: center;
  padding: 10px;
  color: white;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s;
  text-align: start;
  display: grid;
}
.button-dropdown-item{
  all:unset !important;
}

.dropdown-item:hover{
  background-color: #2a3b55;
}
.dropdown-items.grid-layout {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(1, 1fr); /* 8 sütun */
}

.section-title {
  color: white;
  border-bottom: 2px solid #ff0000;
  width: 80%;
  margin-bottom: 10px;
  padding: 10px;
}

@media (max-width: 1935px) {
  .dropdown-menu {
    width: 1180px;
    transform: translateX(-97.5%); /* Yatayda tam olarak ortala */
  }
}
@media (max-width: 1699px) {
  .dropdown-menu {
    width: 1200px;
    transform: translateX(-96%); /* Yatayda tam olarak ortala */
  }
}
@media (max-width: 1610px) {
  .dropdown-menu {
    width: 1100px;
    transform: translateX(-95%); /* Yatayda tam olarak ortala */
  }
}
@media (max-width: 1453px) {
  .dropdown-menu {
    width: 950px;
    transform: translateX(-98%); /* Yatayda tam olarak ortala */
  }
}

.dropdown-category-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

@import url("https://fonts.googleapis.com/css2?family=Carattere&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

.titles {
  font-family: "Inter", sans-serif;
  font-weight: 800;
  font-size: 16px;
  line-height: 19.36px;
  letter-spacing: 0;
  margin: 0;
  padding: 0;
  color: #d82126;
}

.line {
  width: 100%;
  height: 2px; 
  background-color: #d82126; 
  margin-top: 20px; 
}
.dropdown-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 10px;
}

.dropdown-grid {
  grid-auto-flow: column; /* 8'den fazla olursa yeni sütuna geç */

  display: grid;
  grid-template-rows: repeat(8, auto); /* 8 satır olacak şekilde düzenlendi */
  gap: 5px; /* Satırlar arasında boşluk bırakır */
}
.dropdown-item-statick {
  grid-auto-flow: column; /* 8'den fazla olursa yeni sütuna geç */

  display: grid;
  grid-template-rows: repeat(8, auto); /* 8 satır olacak şekilde düzenlendi */
  gap: 10px; /* Satırlar arasında boşluk bırakır */
}

.dropdown-item-statick div {
  flex: 1 1 100px; /* her bir öğe için genişlik ayarları */
}

.category-dedecterd-border {
  width: auto;
  align-items: flex-end;
  justify-content: flex-end;
  display: flex;
  flex-direction: column;
}

.category-dedecterd {
  display: flex;
  flex-direction: column;
  width: 97%;
  align-items: end;
  justify-content: end;
  margin-top: 1px;
  position: absolute; /* Üstte göstermek için */
  top: 0;
  right: 0;
  left: 0;

  color: white;
  padding: 5px;
  z-index: 2;
}
.texts {
  background-color: #142745;
  color: white;
  padding: 5px;
  font-size: 10px;
  width: fit-content;
  display: flex;
  align-items: center;
  justify-content: center;
}

.texts-top {
  background-color: #ff0000;
  color: #ff0000;
  width: 70%;
  height: 8%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  box-shadow: #333;
  border: 1.58px solid;
}


/* ==================== FOOTER STYLES ==================== */
.Footer {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: fit-content;
  background-color: aqua;
  margin-top: 25px;
}

.footer-top {
  background: linear-gradient(to bottom right, red, darkred);
  width: 100%;
  justify-content: center;
  align-items: center;
  display: flex;
  padding-bottom: 10px;
}

.footer-center {
  display: flex;
  width: 90%;
  align-items: center;
  justify-content: space-between;
}

.social-media-text {
  font-family: Inter;
  font-size: 14px;
  font-weight: 700;
  line-height: 16.94px;
  text-align: left;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin:14px 0 ;
}

.footer-social-media-icons {
  display: flex;
  justify-content: center;
  gap: 5px;
}

.footer-social-icon {
  background-color: #142745;
  transition: background-color 0.3s ease;
  color: white;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-social-icon i {
  font-size: 20px; 
}
@media(min-width:1080px){
  .footer-social-icon i {
  font-size: 25px; 
}
}
@media(max-width:768px){
  .footer-social-icon i {
  font-size: 15px; 
}
}
.footer-social-icon a {
  color: white;
  text-decoration: none;
}
.footer-download-socail-media {
  flex-direction: row;
  display: flex;
}

.app-text {
  font-family: Inter;
  font-size: 14px;
  font-weight: 700;
  line-height: 16.94px;
  text-align: left;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.appstore-link {
  display: flex;
  margin-left: 10px;
  gap: 10px;
}

.footer-main {
  background-color: #142745;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: #d8212659 2px solid;
  padding: 5vh 0;
}

.footer-main-center {
  display: flex;
  width: 90%;
  justify-content: space-between;
}
.footer-main-logo {
  display: flex;
  flex-direction: column; /* Elemanları alt alta yerleştirir */
  align-items: center; /* Elemanları yatayda ortalar */
  text-align: center; /* Metni ortalar */
}

.Layer-img {
  margin-bottom: 10px; /* Görsel ile metin arasına boşluk ekler */
}

.footer-text {
  color: white;
  font-size: 16px;
}
.menu-item a {
  font-size: 14px;
}
.menu-grid {
  display: grid; /* Grid düzenini kullan */
  grid-template-columns: repeat(
    3,
    1fr
  ); /* Her satırda 4 sütun olacak şekilde düzenle */
  gap: 10px; /* Elemanlar arasında boşluk */
  list-style: none; /* Liste işaretlerini kaldır */
  padding: 0; /* Varsayılan padding'i sıfırla */
  /*  margin: 0; Varsayılan margin'i sıfırla */
  margin: 0 2vw;
}

.menu-item {
  color: white;
  /* font-family: Inter; */
  font-size: 20px;
  font-weight: 500;
  line-height: 19.36px;
  text-align: left;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
}
@media (max-width: 768px) {
  .menu-item {
    font-size: 16px;
  }
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 150px;
  background-color: #142745;
}

.footer-bottom-center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.line-before {
  display: flex;
  height: 65px;
  border-left: 1px solid #d82126;
  gap: 15px;
  margin: 5px;
}

.footer-bottom-center p {
  color: white;
  margin: 0; /* Paragrafların arasındaki varsayılan boşluğu kaldırır */
}

.line-before {
  color: white;
  border-left: 3px solid #ff0000;
  height: 40px;
  margin-right: 10px;
  align-self: stretch; /* Çizginin yüksekliğini tüm elemanlarla hizalar */
}

/* İkinci paragrafın daha küçük olmasını sağlamak */
.footer-bottom-center p:nth-of-type(2) {
  color: white;
  max-width: 900px; /* İkinci paragrafın alanını kısıtlar */
  word-wrap: break-word; /* Uzun kelimelerin bir sonraki satıra geçmesini sağlar */
}
@media (max-width: 760px) {
  .footer-main-center {
    flex-direction: column;
    align-items: center;
    gap: 25px;
  }
  .footer-main-logo {
    display: flex;
    align-items: start;
    width: 100%;
    margin-top: 10px;
  }

  .footer-main {
    height: fit-content;
  }

  .Footer {
    height: fit-content;
  }

  .menu-grid {
    flex-direction: column;
    height: fit-content;
    align-items: center;
    gap: 0 10px;
  }

  .footer-bottom-center {
    height: fit-content;
    flex-direction: column;
    align-items: center;
    gap: 25px;
  }

  .line-before {
    display: none;
  }

  .footer-bottom {
    height: fit-content;
  }

  .footer-contant {
    height: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 80%;
  }
  /* 
  .social-media-text {
    display: none;
  } */

  .footer-social-icon {
    width: 30px;
    height: 30px;
    padding: 5px;
  }

  .appstore-link img {
    width: 100px;
    height: 39px;
  }
}
@media(max-width:985px){
    .footer-social-icon {
    width: 35px;
    height: 35px;
    padding: 5px;
  }
}
@media (max-width: 450px) {
  .menu-grid .menu-item {
    font-size: 12px; /* Daha küçük bir font boyutu */
    line-height: 15px; /* Daha küc��ük bir satır boyu */
    padding: 5px 0;
    align-self: start;
  }
  .footer-social-icon {
    width: 25px;
    height: 25px;
    padding: 5px;
  }
  .appstore-link {
    align-items: center;
    justify-content: center;
  }
  .appstore-link img {
    width: 60px;
    height: 25px;
  }
  .app-text {
    font-size: 11px;
  }
}

.menu-item a {
  color: white;
  text-decoration: none;
}

.scroll-to-top {
  position: fixed; /* Sabit konum */
  bottom: 7vh;
  left: 20px; /* Sayfanın sağ kısmına yakın */
  width: 40px;
  height: 40px;
  background-color: #cb0e0e;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  font-size: 20px;
  cursor: pointer;
  border-radius: 0 !important;
  border-color: #cb0e0e;
}
.scroll-fixed-socail-icons {
  position: fixed;
  bottom: 7vh;
  right: 0;
  flex-direction: column;
  background-color: #ff0000;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  z-index: 1000;
  font-size: 15px;
  cursor: pointer;
}
.footer-fixed-social-icon {
  background-color: #ff0000;
  transition: background-color 0.3s ease;
  color: white;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-fixed-social-icon a .footer-fixed-social-icon-claretred a {
  color: white;
  text-decoration: none;
}

.footer-fixed-social-icon-claretred {
  background-color: #cb0e0e;
  transition: background-color 0.3s ease;
  color: white;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-proveredby {
  background-color: #142745;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: fit-content; /* İçeriğe göre büyür */
  max-height: 200px; /* 200px'den büyük olamaz */
}

.footer-proveredby-centered {
  width: 90%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-left: 70px;
}

.footer-proveredby-wrapper {
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 10px;
}

.footer-proveredby-wrapper-line {
  width: 2px;
  height: 60px;
  background-color: #d8212659;
}

.footer-proveredby-wrapper h1,
.footer-proveredby-wrapper p {
  color: white;
  font-size: 16px;
  font-weight: 400;
  line-height: 19.36px;
  letter-spacing: 0%;
}

.footer-proveredby-wrapper p {
  max-width: 800px;
  word-wrap: break-word;
  font-weight: 300;
}

.footer-proveredby p {
  font-size: 12px;
}

.footer-proveredby a h1 {
  font-size: 12px;
}

.footer-proveredby-wrapper a {
  text-decoration: none;
}

/* 920px'den küçük ekranlarda margin-left ayarı */
@media (max-width: 920px) {
  .footer-proveredby-centered {
    margin-left: 30px;
  }
  .footer-fixed-social-icon i , .footer-fixed-social-icon-claretred i{
    font-size: 18px;
  }
}

/* 600px'den küçük ekranlarda her şey alt alta gelsin */
@media (max-width: 600px) {
  .footer-proveredby-centered {
    flex-direction: column; /* İçerikleri dikey hizala */
    align-items: center; /* Ortala */
    text-align: center; /* Yazıları ortala */
    padding: 5px 55px;
  }

  .footer-proveredby-wrapper {
    flex-direction: column; /* h1, çizgi ve p alt alta */
    gap: 10px; /* Daha küçük boşluk */
    text-align: center;
    margin: 0;
  }

  .footer-proveredby-wrapper-line {
    height: 2px; /* Çizgiyi yatay hale getir */
    width: 100%; /* Genişliği ayarla */
  }
  .footer-proveredby-centered {
    margin-left: 0px;
    width: 100%;
  }

  .footer-proveredby {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .footer-proveredby-wrapper {
    display: flex;
    flex-direction: column;
  }

  .footer-proveredby-wrapper h1 {
    order: 2; /* h1 en alta gider */
  }

  .footer-proveredby-wrapper .footer-proveredby-wrapper-line {
    order: 1; /* Çizgi olduğu yerde kalır */
  }

  .footer-proveredby-wrapper p {
    order: 0; /* p en üste gider */
  }
}

/* =================================================================
   MANSET SLIDER STYLES
   - Converted and cleaned for Django SSR Project
   ================================================================= */

/* --- Main Container --- */
.big-slider {
    width: 100%;
    position: relative;
    overflow: hidden;
    /*  margin-top: 25px;Spacing from the element above */
}

.slider {
    position: relative;
}

/* --- Slider Item and Image --- */
.slider-item {
   /* position: relative;  Anchor for absolute positioned children */
    /* width: 100%; */
    /* A common aspect ratio for news images */
    /* aspect-ratio: 16 / 9; */
   /*  max-height: 500px; Limit the maximum height on very large screens */
    /* display: flex; */
    /* justify-content: center; */
    /* align-items: center; */
  /*  background-color: #e0e0e0;  Fallback color while image loads */
    height: 440px;
    position: relative;
    text-align: center;
    width: 100%;
}
@media(max-width:768px){
  .slider-item{
       height: 300px;
  }
}
@media (max-width: 460px) {
    .slider-item {
        height: 240px;
    }
}
@media (min-width: 1800px) {
    .slider-item {
        aspect-ratio: 16 / 9;
        height: 500px !important;
    }
}


#slider-image-container {
    width: 100%;
    height: 100%;
    position: relative; /* For reporter badge positioning */
}

.slider-image-main {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the area without distortion */
    cursor: pointer;
    display: block; /* Removes any extra space below the image */
}

/* --- Ad Container --- */
.manset-slider-ad-container {
    width: 100%;
    height: 100%;
}

.manset-slider-ad-container .relatedItem {
    margin-top: 0 !important;
    height: 100%;
}

.manset-slider-ad-container .relatedItem img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

/* --- Navigation Arrows --- */
.manset-slider-arrow-wrapper {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.manset-slider-arrow-wrapper.left {
    left: 15px;
}

.manset-slider-arrow-wrapper.right {
    right: 15px;
}

.manset-slider-arrow {
    font-size: 1.5rem; /* Larger, easier to click */
    font-weight: bold;
    cursor: pointer;
    background-color: rgba(28, 41, 61, 0.6); /* Semi-transparent background */
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none; /* Prevents text selection on double-click */
    transition: background-color 0.2s ease;
}

.manset-slider-arrow:hover {
    background-color: rgba(216, 33, 38, 0.8); /* Red on hover */
}

.slider-item {
  position: relative;
}
.slider-text {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  color: white;
  transition: background-color 0.3s ease, transform 0.3s ease;
  z-index: 2;
  word-wrap: break-word;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.slider-text h2 {
  margin: 0 0 0 10px;
  font-size: 1.2rem;
  color: white;
  background-color: #ff0000;
  padding: 3px 5px;
  display: flex;
  max-width: fit-content;
  font-weight: 600;
  align-items: flex-start;
  justify-content: flex-start;
  font-size: clamp(0.9rem, 2.5vw, 1.5rem);
  display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: start;
}

.test-test-test {
  padding: 5px;
  border-left: 4px solid #d82126;
  text-align: start; /* Metni yatay ortalar */
  width: 100%;
  font-family: "Raleway", sans-serif;
  font-size: clamp(1.1rem, 3.7vw, 1.7rem);
  line-height: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.slider-text .slider-description {
  background-color: rgba(28, 41, 61, 0.7);
  padding: 5px 10px; /* Yukarıdan, aşağıdan 5px, sağdan soldan 10px boşluk ekleniyor */
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  font-size: 1.5em;
  max-width: 100%;
  margin: 0;
  font-weight: 600;
  box-sizing: border-box; /* Padding, border boyutlarına dahil olur */
}


.Mslider-controls {
  width: 100%;
  display: flex;
  height: 40px;
}

.Mslider-controls span ,.number-button{
  border: 1px solid white;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #142745;
  color: white;
  flex: 1 1;
  text-align: center; /* İçerikleri ortalamak için */
}
.separator.clickable {
  background-color: #ff0000;
}

.cursor-pointer {
  width: 100%;
  height: 250px;
  position: relative;
}
@media (max-width: 1699px) {
  .cursor-pointer {
    height: 225px;
  }
}
@media (max-width: 1555px) {
  .cursor-pointer {
    height: 210px;
  }
}
@media (max-width: 1200px) {
  .cursor-pointer {
    height: 200px;
  }
}

@media (max-width: 1000px) {
  .cursor-pointer {
    height: 250px;
  }
}
.number-button {
    flex: 1; /* Allow buttons to grow and fill space */
    max-width: 60px; /* But not get too wide */
    height: 40px;
    padding: 0 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #1c293d; /* Dark blue-grey */
    color: white;
    border: 1px solid #1c293d;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: background-color 0.2s ease, border-color 0.2s ease;
    user-select: none;
}

.number-button:hover {
    background-color: #2a3b55; /* Lighter shade on hover */
}

.number-button.active {
    background-color: #d82126; /* Active state is red */
    border-color: #d82126;
    color: white;
}

/* "Tümü" button style */
.number-button.red-bg {
    flex: 0 1 auto; /* Don't grow, just fit content */
    width: auto;
    padding: 0 20px;
    background-color: #ebebeb; /* Light grey */
    color: #1c293d;
    border-color: #ebebeb;
}
.number-button.red-bg:hover {
    background-color: #ddd;
}


/* --- Special "R" for Ads --- */
.red-letter {
    color: #ff0000;

}

.number-button.active .red-letter {
    color: white; /* On active state, the R becomes white */
}


/* =================================================================
   RESPONSIVE STYLES
   ================================================================= */

@media (max-width: 768px) {
    .test-test-test {
        padding-left: 10px;
        border-left-width: 3px;
    }

    .manset-slider-arrow {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
        .number-button {
        height: 25px !important;
    }
}
@media (max-width: 450px) {
    .number-button {
        height: 10px !important;
        width: 10px !important;
    }
        .Mslider-controls span{
        border-radius: 30%;
        flex: none;
        height: 50px;
        width: 50px;
        font-size:0;
    }
        .red-letter {
        display: none;
    }
}
@media(min-width:450px){
  .number-button, .number-button.active{
color:white !important;
  }
  .number-button.red-bg{
    color:#1c293d !important;
  }
}
@media (max-width: 600px) {
    .hide-on-mobile {
      display: none;
    }
    .number-button {
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
    }

    .number-button.active {
        background-color: #d82126;
        border-color: #d82126;
    }
    
    .number-button.red-bg {
        /* Keep the "Tümü" button visible and styled */
        width: auto;
        height: 30px;
        border-radius: 4px;
        padding: 0 15px;
        font-size: 0.9rem;
        background-color: #ebebeb;
        border: none;
    }
}

@media (max-width: 450px) {
    .Mslider-controls {
        /* flex-wrap: wrap; Allow controls to wrap on very small screens */
        justify-content: center;
        gap:7px;
        align-items: center;
        background-color: #ebebeb;
    }
   }


/* =================================================================
   MAIN SLIDER LAYOUT & STYLES
   ================================================================= */

/* --- Main Two-Column Container --- */
.slider-container {
  display: flex;
  justify-content: space-between;
  gap: 20px; /* Space between the left and right columns */
  margin-top: 1.5rem;
}

.leftSideSlider {
  width: 63.3%;
  display: flex;
  flex-direction: column;
}

.rightSideSlider {
  width: 35%;
  display: flex;
  flex-direction: column;
  gap: 20px; /* Space between the Yaşam slider and the Health/Sports cards */
}

/* --- Yaşam Slider (BasicSlider) --- */


.yasam-slider {
  width: 100%;
  position: relative; /* Anchor for absolute positioned controls */
  padding-bottom: 100px; /* Space for the controls below the slider */
}

.yasam-slider .slider-item {
  text-align: center;
  width: 100%;
  height: 440px; /* Tüm slider'lar aynı yükseklikte */
  position: relative;
}

.yasam-slider .etstdenemedir {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Use cover to fill without distortion */
}
.yasam-slider .text-lg {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* --- Sağlık & Spor Cards --- */
.main-slider-sportsData-haber {
  display: flex;
  gap: 15px;
  width: 100%;
}

.cursor-pointer-sports {
  width: 50%;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.main-slider-sportsData-img {
  width: 100%;
  aspect-ratio: 16 / 10; /* Maintain a consistent aspect ratio */
  object-fit: cover;
  margin-bottom: 15px;
}

.main-slider-sportsData-text {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
  /* Truncate text to 2 lines */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}


/* --- Basic Slider Controls (Dots & Arrows) --- */
.slick-slider-controls {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 13%;
}

.slick-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0 15px;
}

.slick-dots li {
    margin: 0 4px;
}

.slick-dots li button {
  width: 28px !important;
  height: 28px !important;
  background-color: #ffffff !important; /* Beyaz arka plan */
  border-radius: 50% !important; /* Tam yuvarlak buton */
  border: 0.85px solid gray; /* Kırmızı border */
  font-size: 12px !important; /* İçeriği göstermek için font boyutu */
  display: flex !important; /* İçeriği ortalamak için flex */
  align-items: center !important; /* Dikey ortalama */
  justify-content: center !important; /* Yatay ortalama */
  position: relative;
  color: black; /* Metin rengi */
  padding: 5px !important;
}
.slick-prev,
.slick-next {
  width: 28px !important;
  height: 28px !important;
  background-color: #ffffff !important;
  border-radius: 50% !important;
  border: 0.85px solid gray !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative;
  color: black !important;
  padding: 5px !important;
}


.slick-dots li.slick-active button {
  background-color: #ff0000 !important; /* Siyah */
  color: #fff;
}

.slick-prev, .slick-next {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0 10px;
}

.slick-prev:before, .slick-next:before {
    font-family: 'monospace'; /* Use a generic font for arrows */
}

.slick-prev::before {
    content: '<';
}

.slick-next::before {
    content: '>';
}

/* =================================================================
   RESPONSIVE STYLES
   ================================================================= */

@media (max-width: 1000px) {
    .slider-container {
        flex-direction: column; /* Stack columns vertically */
    }

    .leftSideSlider,
    .rightSideSlider {
        width: 100%;
    }

    .yasam-slider {
        margin-bottom: 2rem;
    }
}

@media (max-width: 500px) {
    .main-slider-sportsData-haber {
        flex-direction: column; /* Stack health/sports cards vertically */
    }

    .cursor-pointer-sports {
        width: 100%;
    }

    .yasam-slider .slide-item {
        height: 220px;
    }
}

@media (min-width: 768px) {
  .ana-sayfa-yazarlar-mansetalti {
    display: none;
  }
}
/* =================================================================
   ÖZEL HABER (SPECIAL NEWS) SLIDER STYLES
   ================================================================= */
.home {
  height: fit-content;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
  gap: 25px;
}

.home-container {
  display: grid;
  width: 100%;
  align-items: center;
  justify-content: center;
  grid-template-rows: repeat(1, minmax(100px, 2fr));
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 25px;
}

.image {
  width: 100%;
  height: 100%;
}

.nethouse {
  width: 100%;
  height: 100%;
}

.home .item-1 {
  display: grid;
  height: auto;
  width: 100%;
  align-items: center;
  justify-content: center;
  grid-template-rows: 1fr;
  grid-template-columns: repeat(1, 1fr);
  gap: 10px;
}

.sub {
  display: grid;
  width: 100%;
  height: auto;
  align-items: center;
  justify-content: center;
  grid-template-rows: 1fr;
  grid-template-columns: repeat(2, 2fr);
  gap: 10px;
}

.home .item-2 {
  display: grid;
  height: auto;
  width: 100%;
  align-items: center;
  justify-content: center;
  grid-template-rows: 2fr;
  grid-template-columns: repeat(1, 1fr);
  gap: 10px;
}

@media (max-width: 650px) {
  .sub {
    grid-template-columns: 1fr;
  }

  .home .item-2 {
    grid-template-rows: 1fr;
    grid-template-columns: repeat(1, 1fr);
  }
}

.home .item-3 {
  display: grid;
  height: auto;
  width: 100%;
  align-items: center;
  justify-content: center;
  grid-template-rows: 1fr;
  grid-template-columns: repeat(1, 1fr);
  gap: 10px;
}

.sub2-item {
  display: grid;
  grid-template-rows: auto auto;
  align-items: center;
  justify-items: center;
  width: 100%;
  gap: 20px;
}

.ozelhaber-items-sub-div {
  width: 100%;
  height: fit-content;
  display: flex;
  flex-direction: column;
}

.ozel-haber-items-sub-div {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 50%;
  height: fit-content;
}

.ozel-haber-item {
  width: 100%;
  height: 100%;
  margin-bottom: 15px;
}

.home-banner-container {
  width: 100%;
}

.home-banner-image {
  width: 100%;
  height: 140px;
}

.ozelhaber-container {
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  display: flex;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
  margin-bottom: 40px;
  position: relative;
  margin-top: 20px;
}

.ozelhaber-container h2 {
  text-align: start;
  font-size: large;
}

.ozel-haber-title {
  display: -webkit-box;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical;
  overflow: hidden;
  /* Taşan kısmı gizle */
  text-overflow: ellipsis;
  /* Taşan metni "..." ile bitir */
  padding: 0;
  text-align: start;
  /* height: 15%; */
}

.news-image {
  width: 100%;
  height: 10rem;
  object-fit: cover;
}

@media (max-width: 1024px) {
  .ozelhaber-container {
    align-items: center;
    justify-content: center;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 40px;
  }

  .ozel-haber-title {
    font-size: 16px !important;
    margin-top: 2px;
    /* height: 19%; */
  }

  .news-image {
    height: 80%;
  }
}

.ozel-haber-item .ozel-haber-badge {
  position: absolute;
  top: 25px;
  left: 5px;
  width: 35px;
  /* Görselin boyutunu ayarla */
  height: auto;
  z-index: 2;
}

@media (max-width: 769px) {
  .ozelhaber-items-sub-div {
    display: flex;
    flex-direction: column-reverse;
  }

  .ozel-haber-title {
    font-size: 13px !important;
  }

  .news-image {
    height: 20vh;
  }
/* 
  .ozel-haber-title {
    height: 15%;
  } */
}

@media (max-width: 500px) {
  .ozelhaber-container {
    gap: 15px;
    /* Adjust the gap between items */
    overflow-x: auto;
    /* Enable horizontal scroll */
    -webkit-overflow-scrolling: touch;
    /* Smooth scrolling on iOS */
    padding-bottom: 10px;
    /* Add some space to avoid the scrollbar covering content */
    scroll-snap-type: x mandatory;
    /* Enables snapping to each item */
    -ms-overflow-style: none;
    /* Hide scrollbar in IE */
    scrollbar-width: none;
    /* Hide scrollbar in Firefox */
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    display: flex;
    margin-bottom: 0;
  }

  .ozel-haber-title {
    font-size: 17px;
  }

  .ozelhaber-container::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar in Webkit browsers */
  }

  .ozel-haber-item {
    min-width: 200px;
    /* Adjust the width of each item on smaller screens */
    flex-shrink: 0;
    /* Prevent items from shrinking */
    scroll-snap-align: start;
    /* Align each item at the start of the scroll container */
  }
}

.ozel-haber-container {
  position: absolute;
  top: 3%;
  left: 3%;
  z-index: 10;
  text-align: start;
}
.ozel-haber-detail-badgee-Container{
  position: absolute;
  top: 3%;
  left: 3%;
  z-index: 10;
  text-align: start;
}
.ozel-haber-badgee {
  width: 50px;
  height: auto;
  margin-top:10px;

}
.category-slider-item .ozel-haber-detail-badgee-Container .ozel-haber-detail-badgee {
  width: 70px;
  height: auto;
  margin-top:10px;
  /* border-radius: 50%; */
}
.editor-haber-container{
  width:60px;
  margin:0 0 10px 10px;
  height:100% !important;
  
}
.editor-haber-container .ozel-haber-badgee{
  width:100% !important;
 
}
@media(max-width:768px){
 
  .ozel-haber-container,.ozel-haber-detail-badgee-Container{
    top:1%;
    left:2%;
  }
}

.reporter-img {
  height: auto;
}

.reporter-img.large {
  width: 70px;
}

.reporter-img.small {
  width: 50px;
}

/* Media queries */
@media (max-width: 768px) {
  .reporter-img.large {
    width: 90px;
  }

  .reporter-img.small {
    width: 40px;
  }
}

@media (max-width: 480px) {
  .reporter-img.large {
    width: 60px;
  }

  .reporter-img.small {
    width: 30px;
  }
}

/* ==================== SIDE ENCOK VAR ==================== */
.Side-Encokvar {
  box-sizing: border-box;
}

.Side-Encokvar h2 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 15px;
  color: white;
  background: linear-gradient(to bottom right, red, darkred);
  text-align: center;
  height: 40px;
  align-items: center;
  justify-content: center;
  display: flex;
}

.Side-EncokScrollableList1 {
  list-style-type: none;
  padding: 0;
  margin: 0;
  max-height: 320px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #ccc #fff;
}

.Side-EncokListItem2 {
  border: 1px solid #ddd;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
}

.Side-EncokListItem2:hover {
  background-color: #f7f7f7;
}

.Side-EncokButton {
  display: flex;
  align-items: center;
  border: none;
  background: none;
  cursor: pointer;
  width: 100%;
  text-align: left;
  padding: 10px;
  gap:10px;
}

.Side-Encokvar .Side-EncokButton .Side-EncokTable1Image {
  width: 90px;
  height: 57px;
  flex-shrink: 0;
  border-radius: 0px;
  object-fit: cover;
}

.Side-EncokContent h3 {
  font-size: 16px;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4;
  text-align: left;
}

@media (max-width: 768px) {
  .Side-Encokvar {
    width: 100%;
  }
}


/* ==================== TOP RELATED CATEGORY ==================== */

.addCategory .Related-containerss {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.addCategory .Related-containerss-row {
  display: flex;
  justify-content: space-between;
  width: 100%;
  gap: 10px;
}

.addCategory .Related-containerss .ad-image {
  width: 100%;
  transition: transform 0.3s ease;
}

.addCategory .Related-containerss .Related-containerss-row:last-child .ad-image {
  width: 100%;
}

.addCategory .Related-containerss .ad-item {
  margin: 5px 0;
}

@media (max-width: 768px) {
  .addCategory .Related-containerss {
    padding: 0;
    margin: 0;
    width: 100%;
  }
}
@media (max-width: 768px) {
  .Related-containerss-row {
    display: flex;
    flex-direction: column;
  }
}
@media (max-width: 1000px) {
  .addCategory {
    padding: 0 5vw !important;
  }
}



/* ==================== TOPBAR ==================== */
.Topbarbottom {
  display: flex;
  justify-content: flex-start; /* Use flex-start instead of start */
  background-color: #ff0000;
  width: 100%;
}

.topbar-ad {
  display: flex;
  gap: 15px;
  margin-left: 13vw !important;
}

.topbar-item {
  all: unset;
  display: flex;
  align-items: center;
  background-color: #ff0000;
  border-radius: 5px;
  list-style: none; /* Ensure no list styling */
}

.topbar-item:last-child .topbar-line-image {
  display: none; /* Hide line on last item */
}

.topbar-flex-center,
.button-dropdown-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  font-weight: 700;
}

.topbar-item a,
.button-dropdown-link {
  text-decoration: none;
  color: white;
  font-size: 0.6rem;
  font-weight: 700;
}

.topbar-line-image {
  width: 10px;
  height: 35px;
  filter: invert(100%);
}

/* --- Responsive Design --- */


@media (max-width: 1024px) {
  .Topbarbottom {
    justify-content: center;
  }

  .topbar-ad {
    margin-left: 0 !important;
    gap: 10px;
  }

  .topbar-item a {
    padding: 5px 10px;
    font-size: 0.55rem; /* Slightly smaller on tablets */
  }

  .topbar-line-image {
    width: 8px;
    height: 25px;
  }
}

@media (max-width: 768px) {
  .topbar-ad {
    flex-direction: column;
    align-items: center;
    margin-left: 0 !important;
  }

  .topbar-item {
    width: 100%;
    margin-bottom: 10px;
  }

  .topbar-item a {
    justify-content: center;
    width: 100%;
  }

  .topbar-line-image {
    display: none;
  }
}

/* Additional utility classes */
.kibrisli-web {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  color: white;
  font-weight: bold;
  gap: 8px;
}

.kibrisli-web a {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  color: white;
  list-style: none;
  text-decoration: none;
}


.Topbar {
  background-color: #142745; /* Arka plan rengi */
  padding-top: 4px; /* İçerik ile kenarlar arasına boşluk */
  padding-bottom: 4px; /* İçerik ile kenarlar arasına boşluk */
  display: flex;
  width: 74.5vw;
  margin-left: 0;
}

.Topbar ul {
  list-style-type: none; /* Liste noktalarını kaldır */
  margin: 0;
  padding: 0;
  display: flex; /* Öğeleri yatay sırala */
  gap: 10px; /* Öğeler arası boşluk */
  align-items: center;
}

.Topbar li {
  font-size: 0.76rem !important; /* Yazı boyutunu büyüttüm */
  font-weight: 500; /* Kalın yazı */
  border-right: 2px solid gray;
  position: relative; /* Dropdown menüsü için pozisyon */
  white-space: nowrap; /* Yazı taşmasını engelle */
}

.Topbar a {
  text-decoration: none; /* Alt çizgiyi kaldır */
  color: #ffffff; /* Beyaz yazı rengi */
  padding: 4px 15px; /* İçerik ile kenarlar arasında boşluk */
  border-radius: 5px; /* Köşeleri yuvarla */
  transition: all 0.3s ease; /* Hover için yumuşak geçiş */
}

.Topbar .dropdown:hover .dropdown-content {
  display: block; /* Dropdown menüsünü göster */
}

.Topbar .dropdown-content {
  display: none; /* Başlangıçta gizle */
  position: absolute; /* Konumlandır */
  background-color: #fff;
  min-width: 160px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.Topbar .dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.Topbar .dropdown-content a:hover {
  background-color: #ddd;
}

/* --- Duyarlı Tasarım --- */

@media (max-width: 1610px) {
  .Topbar a {
    text-decoration: none;
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 5px;
    transition: all 0.3s ease;
  }
}
@media (max-width: 1453px) {
  .Topbar a {
    text-decoration: none;
    color: #ffffff;
    padding: 4px 5px;
    border-radius: 5px;
    transition: all 0.3s ease;
  }
}

@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&display=swap");

.Topbar ul li {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(0.7125rem, 1vw, 0.9rem);
  font-weight: 400;
}
 .button-menu-link{
  all:unset;
font-family: "Montserrat", sans-serif;
font-size: 0.8rem !important; 
font-weight: 400; 
border-right: 2px solid gray;
position: relative;
white-space: nowrap; 
color: #ffffff;
padding:0  15px;

}
 .button-menu-link:hover{
  all:unset;
font-family: "Montserrat", sans-serif;
font-size: 0.8rem !important; 
font-weight: 400; 
border-right: 2px solid gray;
position: relative;
white-space: nowrap; 
color: #ffffff;
padding:0 15px
}  



.maincentered {
  display: grid;
  align-items: center;
  margin-top: 12px; /* Tailwind'de mt-3 = 12px */
}

.centered {
  display: flex;
}

.flex {
  display: flex;
  align-items: center;
  justify-content: center;
}

.color {
  margin: 0;
  color: white;
}
.icon {
  height: 30px;
  width: 30px;
  margin: 0;
  padding: 0;
}



/* ==================== PAGINATION ==================== */
.pagination-component-wrapper {
    display: flex;
    width: 100%;
    justify-content: center;
    justify-content: center;
}

.pagination-container {
    display: flex;
    width: max-content;
    justify-content: center;
    justify-content: center;
    margin-top: 20px;
    gap: 10px;
}

.page-button-index-active {
    all: unset;
    display: flex;
    align-self: center;
    border: 1px solid #ccc;
    padding: 10px 15px;
    cursor: pointer;
    transition: background-color 0.3s;
    background-color: white;
    justify-content: center;
    color: #142745;
    background: linear-gradient(to bottom right, red, darkred) !important;
    text-decoration: none;
}

.page-button-index- {
    all: unset;
    display: flex;
    align-self: center;
    border: 1px solid #ccc;
    padding: 10px 15px;
    cursor: pointer;
    transition: background-color 0.3s;
    background-color: white !important;
    text-decoration: none;
}

.page-button-index {
    all: unset;
    display: flex;
    align-self: center;
    border: 1px solid #ccc;
    padding: 10px 15px;
    cursor: pointer;
    transition: background-color 0.3s;
    background-color: white;
    text-decoration: none;
}

.page-button-index:hover, .page-button-index-:hover {
    all: unset;
    display: flex;
    align-self: center;
    border: 1px solid #ccc;
    padding: 10px 15px;
    cursor: pointer;
    transition: background-color 0.3s;
    background-color: white !important;
    text-decoration: none;
}

.page-button-index.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}


/* ==================== HABERICI ==================== */
.haberIciRelatedorta {
  justify-content: flex-start !important;
  align-items: flex-start !important;
  display: flex !important;
  padding: 0 !important;
  max-width: 100% !important;
  min-width: none !important;
  height: 100% !important;
}
.haberIciRelatedorta-col {
  max-width: 100% !important;
  height: 100% !important;
  width:100%;
}

.haberIciRelatedorta-col .relatedItem .relatedImage {
  aspect-ratio: 728 / 90 !important;
  max-width: 100%;
  /* width: auto; */
  height: auto;
  display: inline-block;
  vertical-align: middle;
}



.haberIciRelated {
  justify-content: flex-start !important;
  align-items: flex-start !important;
  display: flex !important;
  padding: 0 !important;
  max-width: 100% !important;
  min-width: none !important;
  height: 100% !important;
  width: 100% !important;
}
.haberIciRelated-col {
  max-width: 100% !important;
  height: 100% !important;
  width: 100% !important;
}
.haberIciRelated-col .relatedItem .relatedImage {
  aspect-ratio: 728 / 90 !important;
  max-width: 100%;
  /* width: auto; */
  height: auto;
  display: inline-block;
  vertical-align: middle;
}



/* ==================== CURRENCY TICKER ==================== */
.currency-ticker-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #f5f5f5;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.currency-ticker-logo img {
  max-width: 100px;
}

.currency-ticker {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

.currency-ticker-content {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 65px;
}

.currency-ticker-item {
  display: flex;
  align-items: center;
  justify-content: space-between; /* İkonları sola hizaladık */
  background-color: #f5f5f5;
  min-height: 65px;
  border-bottom: 1px solid gray;
}

.currency-ticker-item img {
  width: 25px;
  height: 25px;
}

.currency-ticker-item span {
  font-size: 16px;
  font-weight: bold;
}

.currency-price {
  font-size: 14px;
  color: #333;
}

.currency-icon-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #d9d9d9;
  width: 3rem;
  height: 3rem;
  border-radius: 8px; /* Kenarları yuvarlatmak için */
}

.currency-icon {
  font-size: 30px; /* İkon boyutunu istediğiniz gibi ayarlayabilirsiniz */
}
