.haber-details-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  /* max-width: 1700px; */
  /* margin: 20px auto;  */
  margin: 0 12vw;
  gap: 3rem;
  margin-top: 1rem;
  /* margin-left: 5%; */
}

/* This is the main container for the author block */
.author-profile-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Center everything horizontally */
  margin: 20px 0 30px 0;
  /* Space above and below the block */
  padding: 20px;
  background-color: #f9f9f9;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

/* The link wrapper for the author image and name */
.author-profile-block a {
  text-decoration: none;
  color: inherit;
  text-align: center;
}

/* The large, circular author image */
.author-profile-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  /* Makes the image a perfect circle */
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  margin-bottom: 15px;
}

/* The author's name */
.author-profile-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #333;
  margin: 0;
}

/* The author's title (e.g., "Yazar") */
.author-profile-title {
  font-size: 1rem;
  color: #777;
  margin-top: 5px;
}

.haber-details-content .haber-details-container-image {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.haber-details-kibrisli-news {
  flex-direction: row;
  display: flex;
  align-items: center;
  gap: 1rem;
  width: max-content;
}

.haber-details-content {
  flex: 7;
  padding: 0 !important;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* İçeriği yatayda ortalar */
  text-align: left;
  /* Metni ortalar */
  max-width: 1000px;
  /* Maksimum genişlik 1000px */
  margin: 0 auto;
  /* Ortalamak için */
}

.haber-details-content h1,
.haber-details-content h3,
.haber-details-content p,
.haber-details-content div {
  /* min-width: 90%; Genişlik %90 olacak */
  align-self: stretch;
  height: auto;
  /* max-width: 75%;  Taşma olmaması için */
  text-align: left;
  /* Metinleri ortalar */
  line-height: normal;
}

.haber-details-content img {
  align-self: normal;
}

.haber-details-content p {
  margin-bottom: 20px;
  /* Paragraflar arasında boşluk */
  font-size: 14px;
}

.haber-details-side-wrapper {
  flex: 3;
  border-radius: 10px;
}

@media (max-width: 1000px) {
  .haber-details-container {
    margin: 0 5vw;
  }
}

@media (max-width: 768px) {
  .haber-details-container {
    display: grid;
    grid-template-columns: 1fr;
    /* Tek kolonlu grid düzeni */
    gap: 15px;
    /* Aralarındaki boşluğu azalt */

  }

  .haber-details-side-wrapper .Sidevar {
    padding: 0 !important;
  }

  .haber-details-side-wrapper .Sidevar {
    width: auto;
  }

  .haber-details-container .haberContent iframe {
    width: 90vw !important;
  }

  .haber-details-container .haberContent span a {
    word-break: break-all;
  }
}

.image-caption {
  text-align: center;
  font-size: 17px;
  color: #555;
}

.social-media-icons {
  display: flex;
  justify-content: flex-start;
  /* Sola hizalama */
  gap: 5px;
}

.social-media-icons .social-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 27px;
  /* Yuvarlak yapmak için genişlik */
  height: 27px;
  /* Yuvarlak yapmak için yükseklik */
  border-radius: 50%;
  /* Yuvarlak şekil */
  color: white;
  /* İkonların rengi */
  transition: background-color 0.3s ease;
  cursor: pointer;
  transition: transform 0.2s ease;
  border: thick;
}

.social-media-icons .social-icon:hover {
  transform: scale(1.1);
}

.social-media-icons .social-icon svg {
  width: 16px;
  /* Size of the icon inside the button */
  height: 16px;
  fill: #ffffff;
  /* Icon color is white */
}

.social-icon.facebook,
.social-icon.twitter,
.social-icon.whatsapp,
.social-icon.telegram {
  display: flex;
  align-items: center;
  justify-content: center;
}

.line {
  width: 100%;
  border-bottom: 2px solid #d82126;
  /* Alt çizgi */
  margin-top: 20px;
}

.social-media-icons .social-icon.facebook {
  background-color: #1877F2;
  /* Facebook renk */
}

.social-media-icons .social-icon.instagram {
  background-color: #e4405f;
  /* Instagram renk */
}

.social-media-icons .social-icon.youtube {
  background-color: #ff0000;
  /* YouTube renk */
}

.social-media-icons .social-icon.twitter {
  background-color: #1da1f2;
  /* Twitter renk */
}

.social-media-icons .social-icon.whatsapp {
  background-color: #25D366;
  /* WhatsApp Green */
}

.social-media-icons .social-icon.telegram {
  background-color: #26A5E4;
}

button .social-media-icons .social-icon.whatsapp {
  border: 0px solid none !important;
}

.haber-details-image-fyi {
  display: flex;
  flex-direction: row !important;
  gap: 8px;
  height: 46px !important;
  position: relative;
  align-items: center;
  justify-content: flex-start;
}

.haber-details-image-editor-logo {
  width: 60px !important;
  height: 100% !important;
  object-fit: contain;
  border-radius: 0%;
}

.haber-details-editor-name {
  font-size: 14px;
  white-space: nowrap;
  text-decoration: none;
  color: #868686;
}

.haber-tags {
  display: flex;
  flex-direction: row;
  align-items: start;
  margin-bottom: 1vw;
  height: 100%;
}

.haber-tags h4 {
  margin: 0 5px 0 0;
  color: #222;
  margin-top: 2px;
}

.tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: auto !important;
  font-size: 0.9rem;
}

.tag {
  color: #ff0000;
  padding: 2px 0px;

  font-weight: 500;
}

.haber-details-content .relatedItem .relatedImage {
  aspect-ratio: 728/90 !important;
  width: 100%;
  max-width: 100% !important;
}

.haber-details-image-wrapper {
  width: 100%;
  margin-top: 0.5rem;
  position: relative;
}

.HaberIcı-Alt-Related-container {
  max-width: 100% !important;
  height: 100% !important;
  justify-content: flex-start !important;
  align-items: flex-start !important;
  padding: 0 !important;

  min-width: none !important;
}

.HaberIcı-Alt-Related-container .relatedItem .relatedImage {
  aspect-ratio: 728 / 90 !important;
  max-width: 100%;
  /* width: auto; */
  height: auto;
  display: inline-block;
  vertical-align: middle;
}

.news-loading-container,
.news-error-container {
  padding: 2rem;
  text-align: center;
  background: #f5f5f5;
  border-radius: 8px;
  margin: 1rem 0;
}

.news-loading-container p,
.news-error-container p {
  font-size: 1.1rem;
  color: #666;
}

.Socialmedia {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

.Socialmedia-header {
  width: 100%;
}

/* Menü toggle butonu */
.menu-toggle {
  font-size: 12px;
  height: 10px;
  width: 10px;
  cursor: pointer;
  background: linear-gradient(to bottom right, #ff0000, darkred);
  color: white;
  padding: 8px;
  border-radius: 50%;
  display: flex;
  transition: 0.3s;
  justify-content: center;
  align-items: center;
}

.menu-toggle:hover {
  background: darkred;
}

/* Slider - Sosyal medya ikonları ve kapatma butonu */
.Socialmedia-slider {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
}

.social-icon {
  cursor: pointer;
  transition: transform 0.2s ease;
}

.social-icon:hover {
  transform: scale(1.1);
}

.social-icon.facebook {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-icon.facebook:hover {
  transform: scale(1.1);
}

/* Kapatma butonu */
.Socialmedia-close-btn {
  cursor: pointer;
  width: 27px;
  height: 27px;
  background: linear-gradient(to bottom right, #ff0000, darkred);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  position: relative;
  /*  İçerikle uyumlu hale getirme */
  margin-left: 10px;
  /* İkonlardan biraz ayrıştırma */
}

.haber-details-content .image-description {
    font-style: italic;
    font-size: 0.9em; 
    margin-top: 8px; 
    padding: 0 5px; 
}

@media (max-width: 768px) {
  .menu-toggle {
    width: 20px;
    height: 20px;
    font-size: 18px;
    padding: 5px;
    text-align-last: center;
  }

  .social-icon {
    height: 28px;
    width: 28px;
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .menu-toggle {
    width: 15px;
    height: 15px;
    font-size: 14px;
    padding: 5px;
    text-align-last: center;
  }

  .Socialmedia-slider {
    gap: 5px;
  }

  .social-icon {
    font-size: 16px;
    margin-top: 10px;
  }

  .Socialmedia-close-btn {
    font-size: 14px;
    height: 28px;
    width: 25px;
    margin-bottom: -7px;
  }
}