@charset "UTF-8";
.single {
  display: flex;
  flex-direction: column;
  width: var(--main-width);
}
.single .article-header {
  width: 100%;
}
.single .article-header .image {
  width: 100%;
}
.single .article-header .image img {
  width: 100%;
  aspect-ratio: 16/9;
  -o-object-fit: cover;
     object-fit: cover;
}
.single .content {
  display: flex;
  width: 100%;
  justify-content: space-between;
}
.single .content .news-article {
  width: 70%;
  margin-right: 20px;
}
.single .content .news-article .title {
  margin-bottom: 10px;
  width: 100%;
}
.single .content .news-article .title h1 {
  width: 100%;
  font-size: 2.5rem; /* rem standardına çekildi */
  line-height: 1.2;
  font-weight: 900;
  color: #333; /* Göz yormayan koyu gri */
}
.single .content .news-article .info {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  font-size: 0.9rem;
  line-height: 1.4;
  font-weight: 100;
  margin-bottom: 10px;
  color: #666;
}
.single .content .news-article .info .bullet {
  padding: 0 5px;
  font-weight: 100;
}
.single .content .news-article .ozet {
  font-size: 1.25rem;
  line-height: 1.4;
  font-weight: 600;
  color: #222;
}
.single .content .news-article .main-text {
  width: 100%;
}
.single .content .news-article .main-text p, .single .content .news-article .main-text h2 {
  margin: 15px 0;
}
.single .content .news-article .main-text img {
  width: 100%;
  margin: 10px 0;
  border-radius: 0 30px 0 30px;
}
.single .content .news-article .main-text p {
  font-size: 1.1rem;
  line-height: 1.6; /* Okunabilirlik için satırlar aralandı */
  font-weight: 400;
  color: #222;
}
.single .content .news-article .main-text p a {
  font-weight: 600;
  color: var(--main-color);
}
.single .content .news-article .main-text h2 {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.3;
  color: #111;
}
/* Etiket hapları (haber detayı ve köşe yazısı ortak): ince çerçeveli, "#etiket" */
.tag-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
  margin: 24px 0 0;
}
.tag-pills a {
  display: inline-block;
  padding: 5px 12px;
  border: 1px solid #ddd;
  border-radius: 999px;
  font-size: 0.85rem;
  color: #444;
  white-space: nowrap; /* etiket içinde satır kırılmaz; sığmayan alt satıra geçer */
  transition: border-color 0.2s ease, color 0.2s ease;
}
.tag-pills a:hover {
  border-color: var(--main-color);
  color: var(--main-color);
  text-decoration: none;
}
/* Sağ sidebar: fotoğraf + altında başlık, alt alta 8 haber */
.single .content .favorite {
  width: 30%;
  height: -moz-fit-content;
  height: fit-content;
}
.single .content .favorite .favorite-list {
  display: flex;
  flex-direction: column;
  gap: 18px; /* Haberler arası boşluk */
}
.single .content .favorite .favorite-list .favorite-item {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}
.single .content .favorite .favorite-list .favorite-item .fav-img {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 6px;
  background-color: #eee;
}
.single .content .favorite .favorite-list .favorite-item .fav-img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.3s ease;
}
.single .content .favorite .favorite-list .favorite-item .fav-title {
  margin-top: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
  color: #222;
  transition: color 0.2s ease;
}
.single .content .favorite .favorite-list .favorite-item:hover .fav-img img {
  transform: scale(1.05);
}
.single .content .favorite .favorite-list .favorite-item:hover .fav-title {
  color: var(--main-color);
}

/* Sidebar'ın üstündeki Paylaş alanı (sayfa genişliği yerine sidebar genişliği) */
.single .content .favorite .seperate {
  width: 100%;
  max-width: 100%;
  margin: 0 0 10px;
}
/* Haber detayı sağ sütunu: paylaş butonları (includes/share_links.php, $share_style = 'buttons')
   Yuvarlak ikon butonlar; üzerine gelince marka rengi. Kopyala sağda, kopyalanınca yeşil */
.share-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background-color: #f1f1f1;
  font-size: 20px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
:root .share-btn, .share-btn i {
  color: #444; /* index.css: "* { color }" ve ":root a" kurallarını ezer */
  text-decoration: none;
}
.share-btn svg {
  width: 18px;
  height: 18px;
}
.share-x svg {
  fill: currentColor;
}
.share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}
:root .share-btn:hover, .share-btn:hover i {
  color: #fff;
}
.share-wa:hover {
  background-color: #25d366;
}
.share-x:hover {
  background-color: #000;
}
.share-tg:hover {
  background-color: #229ed9;
}
.share-copy {
  margin-left: auto;
}
.share-copy:hover {
  background-color: var(--main-color);
}
:root .share-copy.copied {
  background-color: #1a8300;
  color: #fff;
}

.links {
  display: flex;
  height: 30px;
  width: var(--main-width);
}
.links a {
  height: 100%;
}
.links a svg {
  height: 100%;
  aspect-ratio: 1/1;
  margin: 0 5px;
  fill: #000;
}
.links a svg:hover {
  fill: var(--main-color);
}

/* =========================================
   SINGLE SAYFASI MOBİL UYUM (Max: 768px)
   ========================================= */
@media (max-width: 768px) {
  .single {
    width: 95% !important;
    margin: 0 auto;
  }
  .single .content {
    flex-direction: column; /* Sol metin ve sağ favoriler alt alta geçer */
  }
  .single .content .news-article {
    width: 100%;
    margin-right: 0;
  }
  .single .content .news-article .title h1 {
    font-size: 1.8rem; /* Mobilde başlık boyutu dengelendi */
  }
  .single .content .favorite {
    width: 100%;
    margin-top: 20px;
  }
  /* Çok okunanlar mobilde kompakt satır: solda küçük görsel, sağda başlık */
  .single .content .favorite .favorite-list {
    gap: 12px;
    margin-top: 14px;
  }
  .single .content .favorite .favorite-list .favorite-item {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }
  .single .content .favorite .favorite-list .favorite-item .fav-img {
    width: 38%;
    max-width: 150px;
    flex-shrink: 0;
  }
  .single .content .favorite .favorite-list .favorite-item .fav-title {
    margin-top: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
  }
}
/* =========================================
   İLGİLİ HABERLER (RELATED NEWS) STİLİ
   ========================================= */
.related-news-container {
  width: var(--main-width);
  margin: 0 auto;
}
.related-news-container .related-grid {
  display: flex;
  justify-content: space-between;
  gap: 20px; /* Kartlar arası boşluk */
  width: 100%;
}
.related-news-container .related-grid .related-card {
  width: calc(33.333% - 14px); /* 3'lü yan yana kusursuz dağılım */
  background-color: #fff;
  border: 1px solid #e1e1e1;
  border-radius: 6px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}
.related-news-container .related-grid .related-card:hover {
  transform: translateY(-4px); /* Hafif yukarı kalkma efekti */
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}
.related-news-container .related-grid .related-card:hover .related-img img {
  transform: scale(1.05); /* Hoverda resim zoom efekti */
}
.related-news-container .related-grid .related-card:hover .related-title h4 {
  color: var(--main-color);
}
.related-news-container .related-grid .related-card .related-img {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.related-news-container .related-grid .related-card .related-img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.3s ease;
}
.related-news-container .related-grid .related-card .related-title {
  padding: 12px;
}
.related-news-container .related-grid .related-card .related-title h4 {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  color: #222;
  transition: color 0.2s ease;
}

/* =========================================
   İLGİLİ HABERLER MOBİL UYUM (Max: 768px)
   ========================================= */
@media (max-width: 768px) {
  .related-news-container {
    width: 95% !important;
  }
  .related-news-container .related-grid {
    flex-direction: column; /* Mobilde alt alta dizilsin */
    gap: 15px;
  }
  .related-news-container .related-grid .related-card {
    width: 100%; /* Mobilde tam genişlik kaplasın */
  }
}
/* =========================================
   PAYLAŞIM ALANI VE KOPYALA BUTONU STİLİ
   ========================================= */
.links-container {
  width: var(--main-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #fff;
  border: 1px solid #e1e1e1;
  padding: 10px 15px;
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}
.links-container .links {
  display: flex;
  height: 28px;
  align-items: center;
}
.links-container .links a {
  height: 100%;
  display: flex;
  align-items: center;
}
.links-container .links a svg {
  height: 100%;
  aspect-ratio: 1/1;
  margin-right: 15px;
  fill: #555;
  transition: fill 0.2s ease, transform 0.2s ease;
}
.links-container .links a svg:hover {
  fill: var(--main-color);
  transform: scale(1.1);
}
.links-container .copy-link-btn {
  display: flex;
  align-items: center;
  background-color: #f4f4f4;
  border: 1px solid #d1d1d1;
  padding: 6px 14px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  color: #333;
  transition: all 0.2s ease;
}
.links-container .copy-link-btn svg {
  width: 16px;
  height: 16px;
  margin-right: 8px;
  stroke: #555;
}
.links-container .copy-link-btn:hover {
  background-color: var(--main-color);
  color: #fff;
  border-color: var(--main-color);
}
.links-container .copy-link-btn:hover svg {
  stroke: #fff;
}
.links-container .copy-link-btn.copied {
  background-color: #1a8300 !important;
  color: #fff !important;
  border-color: #1a8300 !important;
}
.links-container .copy-link-btn.copied svg {
  stroke: #fff !important;
}

/* =========================================
   PAYLAŞ ALANI MOBİL UYUM (Max: 768px)
   ========================================= */
@media (max-width: 768px) {
  .links-container {
    width: 95% !important;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  .links-container .links {
    width: 100%;
    justify-content: flex-start;
  }
  .links-container .links svg {
    margin-right: 20px;
  }
  .links-container .copy-link-btn {
    width: 100%;
    justify-content: center;
  }
}
/* Kurumsal sayfa (page.php): sidebar yok, metin tam genişlik */
.single.static-page .content .news-article {
  width: 100%;
  margin-right: 0;
}
.single.static-page .main-text h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 15px 0 8px;
  color: #111;
}
.single.static-page .main-text ul, .single.static-page .main-text ol {
  margin: 10px 0 15px 1.5rem;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #222;
}
.single.static-page .main-text ul {
  list-style: disc;
}
.single.static-page .main-text ol {
  list-style: decimal;
}
.single.static-page .main-text li a, .single.static-page .main-text td a {
  font-weight: 600;
  color: var(--main-color);
}
.single.static-page .main-text table {
  border-collapse: collapse;
  margin: 15px 0;
}
.single.static-page .main-text td, .single.static-page .main-text th {
  border: 1px solid #ddd;
  padding: 8px 12px;
  text-align: left;
}
/*# sourceMappingURL=single.css.map */