/* =====================================================================
   news.css  -  Haber detay sayfası (news.php) stilleri
   Konum önerisi: /assets/news/news.css
   Bootstrap 3.3.5 ile uyumludur.
   ===================================================================== */


/* ---------------------------------------------------------------------
   1) Yapışkan başlık çubuğu (followMeBar)
   Not: .fixed sınıfını ekleyen/çıkaran JS sitenin genel script'indedir.
   --------------------------------------------------------------------- */
.followMeBar {
	display: block;
	position: relative;
	z-index: 1;
	height: 0;
	overflow: hidden;
	transition: all 200ms ease-in-out;
	font-family: "Oswald", sans-serif;
}

.followMeBar h2 {
	font-size: 20px;
	font-family: "Oswald", sans-serif;
}

.followMeBar.fixed {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	box-sizing: border-box;
	z-index: 99;
	background: #000;
	height: auto;
}

.followMeBar.fixed.absolute {
	position: absolute;
}


/* ---------------------------------------------------------------------
   2) Üst çubuk: paylaşım butonları + tarih + yazdır + sesli okuma
   --------------------------------------------------------------------- */
.paylas-news-ust {
	display: flex;
	width: 100%;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
}

.time-yazdir {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	gap: 10px;
}

.time-yazdir time {
	margin-right: 5px;
}

.detay-time .bi {
	vertical-align: -0.125em;
}


/* ---------------------------------------------------------------------
   3) Paylaşım butonları (jsSocials yerine düz linkler)
   --------------------------------------------------------------------- */
.share-buttons {
	margin: 15px 0;
}

.share-buttons .btn {
	transition: all .2s;
}

.share-buttons .btn i {
	margin-right: 3px;
	vertical-align: -0.125em;
}

.share-buttons .share-email:hover    { background: #6c757d; border-color: #6c757d; color: #fff; }
.share-buttons .share-facebook:hover { background: #1877f2; border-color: #1877f2; color: #fff; }
.share-buttons .share-linkedin:hover { background: #0a66c2; border-color: #0a66c2; color: #fff; }
.share-buttons .share-whatsapp:hover { background: #25d366; border-color: #25d366; color: #fff; }
.share-buttons .share-x:hover        { background: #000;    border-color: #000;    color: #fff; }
.share-buttons .share-threads:hover  { background: #000;    border-color: #000;    color: #fff; }


/* ---------------------------------------------------------------------
   4) Haber metni
   --------------------------------------------------------------------- */
.haber-fontu {
	font-size: 14px;
	line-height: 24px;
	max-width: inherit;
}


/* ---------------------------------------------------------------------
   5) "Anneler Günü" haberleri için sınıflar
   Bu sınıflar news.php içinde kullanılmıyor; eski haberlerin HTML
   içeriğinde (newshtml) geçiyor olabilir. Eski haberlerde "anne" ile
   başlayan sınıf yoksa bu bölüm güvenle silinebilir.
   --------------------------------------------------------------------- */
.annebox {
	font-size: 14px;
	padding: 8px;
}

.annebgboxbig {
	background-size: cover;
	background-position: center;
	min-height: 450px;
	margin-bottom: 20px;
}

.annebox-inner {
	max-width: 800px;
	margin-left: auto;
	padding: 20px;
	font-size: 14px;
	line-height: 21px;
}

.annebottom-left {
	padding: 20px;
	max-width: 315px;
}

.annebgbox {
	background-position: left center;
	background-size: cover;
	margin-bottom: 15px;
}

.annebottom-right {
	padding: 20px;
	min-height: 420px;
}


/* ---------------------------------------------------------------------
   6) Bülten banner'ı
   --------------------------------------------------------------------- */
.subscribe-banner {
	display: block;
	width: 75%;
	margin: 20px auto;
	padding: 12px 16px;
	background-color: #f5f9ff;
	border: 1px solid #cce0ff;
	border-radius: 6px;
	font-size: 15px;
	font-weight: 600;
	color: #0056b3;
	text-align: center;
	text-decoration: none;
	transition: background-color 0.3s ease;
}

.subscribe-banner:hover {
	background-color: #e0f0ff;
	color: #003d80;
}

.subscribe-banner .bi {
	vertical-align: -0.125em;
}


/* ---------------------------------------------------------------------
   7) Galeri (masonry / metro)
   --------------------------------------------------------------------- */
.metro-gallery {
	-webkit-column-count: 3;
	   -moz-column-count: 3;
	        column-count: 3;
	-webkit-column-gap: 15px;
	   -moz-column-gap: 15px;
	        column-gap: 15px;
	padding: 15px 0;
}

.metro-gallery .metro-item {
	display: inline-block;
	width: 100%;
	margin-bottom: 15px;
	-webkit-column-break-inside: avoid;
	        break-inside: avoid;
}

.metro-gallery img {
	width: 100%;
	height: auto;
	border-radius: 4px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
	transition: transform 0.2s ease;
}

.metro-gallery img:hover {
	transform: scale(1.03);
}

.metro-gallery .metro-caption {
	margin-top: 5px;
	font-size: 13px;
	text-align: center;
}

@media (max-width: 992px) {
	.metro-gallery {
		-webkit-column-count: 2;
		   -moz-column-count: 2;
		        column-count: 2;
	}
}

@media (max-width: 600px) {
	.metro-gallery {
		-webkit-column-count: 1;
		   -moz-column-count: 1;
		        column-count: 1;
	}
}


/* ---------------------------------------------------------------------
   8) "En çok okunanlar" bloğu
   --------------------------------------------------------------------- */
.popular-news .haber-bilgiblok p {
	font-size: 10px;
}

.popular-news .haber-tarihi {
	background-color: #fff;
}

.popular-news .haber-foto a img {
	-ms-transform: inherit;
	-webkit-transform: inherit;
	transform: inherit;
}

.popular-news a.haber-blok-isim h5 {
	font-size: 14px;
	font-weight: 700;
	line-height: 18px;
	margin: 0;
	padding: 0;
	color: #000;
}

.popular-news-baslik {
	padding: 0 15px;
	color: #f00;
}

.popular-news-cizgi {
	margin: 10px;
	border: 1px solid #f00;
}

.alt-haberler-dis {
	transform: scale(1);
	transition: all 300ms ease-in-out;
	background-color: #fff;
	margin-left: 0;
	margin-right: 0;
	min-height: inherit;
}

.alt-haberler-dis:hover {
	transform: scale(1.04);
	position: relative;
	z-index: 2;
}


/* ---------------------------------------------------------------------
   9) Sesli okuma (TTS)
   Butonlar, paylaşım butonlarıyla (btn-sm) aynı yükseklikte ve tek satırda.
   Okuma sırasında Duraklat/Devam/Bitir butonları sadece ikon olduğu için
   çubuğun genişliği neredeyse hiç değişmez.
   --------------------------------------------------------------------- */
#ttsBar {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	gap: 6px;
	position: relative;
}

.tts-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	height: 30px;
	margin: 0;
	padding: 0 12px;
	border: none;
	border-radius: 3px;
	background: #004f9e;
	color: #fff;
	font-size: 13px;
	line-height: 1;
	cursor: pointer;
	white-space: nowrap;
	transition: background 0.2s;
}

.tts-btn:hover,
.tts-btn:focus {
	background: #0074e4;
	outline: none;
}

.tts-btn:focus-visible {
	outline: 2px solid #1f9e00;
	outline-offset: 2px;
}

.tts-btn.hide {
	display: none !important;
}

.tts-btn svg {
	width: 16px;
	height: 16px;
	fill: #fff;
	flex: none;
}

.tts-btn.tts-icon-only {
	width: 30px;
	padding: 0;
}

/* Durum yazısı çubuğun altında, yerleşimi itmeden görünür */
.tts-status {
	position: absolute;
	top: 100%;
	left: 0;
	margin-top: 3px;
	font-size: 12px;
	color: #666;
	white-space: nowrap;
	z-index: 5;
}

.tts-status:empty {
	display: none;
}

/* Okunan alan: taşmadan, yerleşimi değiştirmeden vurgulanır */
.tts-vurgulu {
	background: #fffbea;
	transition: background 0.3s;
}

div.tts-vurgulu {
	box-shadow: inset 4px 0 0 #ffd84d;
}

.tts-word {
	transition: background 0.13s;
	border-radius: 3px;
}

.tts-word.active-word {
	background: #ffe46b;
}

/* Klavye kısayolu ipucu kutusu */
.hint-box {
	display: inline-flex;
	align-items: center;
	position: relative;
}

.hint-ico {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	padding: 0;
	border-radius: 50%;
	border: 1px solid #e0eaff;
	background: #eef5fc;
	color: #357abd;
	font-size: 13px;
	font-weight: bold;
	line-height: 1;
	cursor: pointer;
}

.hint-pop {
	display: none;
	position: absolute;
	right: 0;
	left: auto;
	top: 32px;
	background: #fff;
	color: #222;
	border: 1px solid #357abd;
	border-radius: 7px;
	box-shadow: 0 2px 10px rgba(53, 122, 189, 0.13);
	padding: 12px 16px;
	font-size: 0.97em;
	min-width: 240px;
	z-index: 20;
}

.hint-box.open .hint-pop {
	display: block;
}

.hint-pop ul {
	margin: 8px 0 0 15px;
	padding: 0;
	font-size: 0.97em;
}

.hint-pop-close {
	position: absolute;
	right: 6px;
	top: 4px;
	color: #888;
	background: none;
	border: none;
	font-size: 1.1em;
	cursor: pointer;
}

/* Mobilde "Vorlesen" yazısı gizlenir, sadece ikon kalır */
@media (max-width: 767px) {
	.tts-label {
		display: none;
	}

	.tts-btn {
		width: 30px;
		padding: 0;
	}
}
