/**
 * single.php — Gizlilik / legal-doc düzenine ek stiller (tema style.css ile birlikte).
 * Bağımlılık: odevjet-style.
 */

/* —— Haber tekil üst (single.php) —— */
.haber-single__masthead {
	margin-bottom: 1.5rem;
}

.haber-single__title {
	font-size: clamp(1.65rem, 4vw, 2.35rem);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: #0f172a;
	margin: 0 0 0.85rem;
}

.haber-single {
	--haber-content-fs: 1;
}

.haber-single__lead {
	font-size: calc(1.0625rem * var(--haber-content-fs, 1));
	line-height: 1.55;
	color: #334155;
	margin: 0 0 1.1rem;
	max-width: 52rem;
}

.haber-single__live-line {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0 0 0.85rem;
	font-size: 0.9375rem;
	font-weight: 700;
	color: #1e3a5f;
}

.haber-single__live-line[hidden] {
	display: none !important;
}

.haber-single__live-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #22c55e;
	flex-shrink: 0;
}

.haber-single__meta-row {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: baseline;
	gap: 0.75rem 1.25rem;
	font-size: 0.8125rem;
	color: #475569;
	margin-bottom: 1rem;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid #e2e8f0;
}

.haber-single__meta-left {
	min-width: 0;
}

.haber-single__meta-right {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 0.5rem 0.85rem;
	text-align: right;
	min-width: 0;
	margin-left: auto;
}

.haber-single__source,
.haber-single__time,
.haber-single__views {
	white-space: normal;
}

.haber-single__views,
.haber-single__time {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	vertical-align: baseline;
}

.haber-single__views {
	font-variant-numeric: tabular-nums;
}

.haber-single__meta-ico {
	flex-shrink: 0;
	width: 1em;
	height: 1em;
	opacity: 0.72;
	color: #64748b;
}

.haber-single__meta-ico--views {
	opacity: 0.8;
}

.haber-single__toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem 1rem;
	margin-bottom: 0.85rem;
}

.haber-single__toolbar-start {
	flex: 1 1 auto;
	min-width: 0;
}

.haber-single__toolbar-end {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 0.75rem 1rem;
	margin-left: auto;
}

.haber-single__author {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	max-width: 100%;
	text-decoration: none;
	color: inherit;
}

.haber-single__author-text {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	min-width: 0;
	text-align: left;
}

.haber-single__author-name,
.haber-single__author-role {
	display: block;
	font-weight: 700;
	line-height: 1.25;
	color: #999999;
}

.haber-single__author-name {
	font-size: 0.9375rem;
}

.haber-single__author-role {
	font-size: 0.8125rem;
}

.haber-single__author:hover .haber-single__author-name,
.haber-single__author:hover .haber-single__author-role,
.haber-single__author:focus-visible .haber-single__author-name,
.haber-single__author:focus-visible .haber-single__author-role {
	color: #777777;
}

.haber-single__author-avatar {
	flex-shrink: 0;
	width: 56px;
	height: 56px;
	overflow: hidden;
	border-radius: 50%;
	background: #f1f5f9;
}

.haber-single__author-img {
	display: block;
	width: 56px;
	height: 56px;
	object-fit: cover;
}

.haber-single__font-tools {
	display: inline-flex;
	align-items: center;
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	overflow: hidden;
	background: #fff;
}

.haber-single__fs {
	margin: 0;
	padding: 0.35rem 0.55rem;
	font-size: 1rem;
	line-height: 1;
	font-weight: 600;
	color: #334155;
	background: #fff;
	border: none;
	border-right: 1px solid #e2e8f0;
	cursor: pointer;
	min-width: 2.25rem;
}

.haber-single__fs:last-child {
	border-right: none;
}

.haber-single__fs:hover {
	background: #f8fafc;
	color: #0f172a;
}

.haber-single__fs--reset {
	padding: 0.25rem 0.45rem;
}

.haber-single__fs-tt {
	display: inline-flex;
	align-items: flex-end;
	gap: 0.05em;
	font-weight: 800;
	line-height: 1;
	color: #475569;
}

.haber-single__fs-tt-lg {
	font-size: 0.95rem;
}

.haber-single__fs-tt-sm {
	font-size: 0.65rem;
	opacity: 0.85;
}

.haber-single__print {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin: 0;
	padding: 0.4rem 0.65rem;
	font-size: 0.8125rem;
	font-weight: 600;
	color: #334155;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	cursor: pointer;
}

.haber-single__print:hover {
	background: #f8fafc;
	color: #0f172a;
}

.haber-single__print-ico {
	flex-shrink: 0;
}

.haber-single__figure {
	margin: 0 0 0.75rem;
	padding: 0;
	background: #f1f5f9;
}

.haber-single__hero-img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	vertical-align: middle;
}

.haber-single__video {
	margin: 0 0 1rem;
	padding: 0;
}

.haber-single__content .haber-single__video--inline {
	margin: 1.35rem 0;
}

.haber-single__video--lead {
	margin-bottom: 1rem;
}

.haber-single__video-inner {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	background: #0f172a;
	border-radius: 4px;
	overflow: hidden;
}

.haber-single__video-iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.haber-single__share-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem 1rem;
	padding: 0.65rem 0 1rem;
	border-bottom: 1px solid #e2e8f0;
	margin-bottom: 0.25rem;
}

.haber-single__share-bar--after-content {
	padding: 1rem 0 0;
	margin: 0 0 0.25rem;
	border-bottom: 0;
	border-top: 1px solid #e2e8f0;
}

/* İçerik gövdesindeyken legal-doc link rengi sosyal ikonları bozmasın */
.haber-single__content .haber-single__share-bar .haber-single__soc,
.haber-single__content .haber-single__share-bar .haber-single__soc:hover,
.haber-single__content .haber-single__share-bar .haber-single__soc:focus-visible {
	color: #fff;
	text-decoration: none;
}

.haber-single__content .haber-single__share-bar .haber-single__action,
.haber-single__content .haber-single__share-bar .haber-single__action:hover,
.haber-single__content .haber-single__share-bar .haber-single__action:focus-visible {
	color: #334155;
	text-decoration: none;
}

.haber-single__content .haber-single__share-bar .haber-single__action:hover,
.haber-single__content .haber-single__share-bar .haber-single__action:focus-visible {
	color: #0f172a;
}

.haber-single__share-left,
.haber-single__share-right {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.65rem 1rem;
}

.haber-single__action {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: #334155;
	text-decoration: none;
}

.haber-single__action:hover {
	color: #0f172a;
	text-decoration: underline;
}

.haber-single__action-ico {
	flex-shrink: 0;
	opacity: 0.85;
}

.haber-single__action--subscribe .haber-single__g-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.35rem;
	height: 1.35rem;
	border-radius: 50%;
	background: #fff;
	color: #4285f4;
	font-weight: 800;
	font-size: 0.75rem;
	line-height: 1;
	border: 1px solid #dadce0;
}

.haber-single__soc {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 4px;
	color: #fff;
	text-decoration: none;
	transition: opacity 0.15s ease, transform 0.15s ease;
}

.haber-single__soc:hover {
	opacity: 0.92;
	transform: translateY(-1px);
	color: #fff;
}

.haber-single__soc svg {
	display: block;
}

.haber-single__soc--fb {
	background: #1877f2;
}

.haber-single__soc--x {
	background: #0f1419;
}

.haber-single__soc--wa {
	background: #25d366;
}

.haber-single__soc--msgr {
	background: #0099ff;
}

.haber-single__soc--tg {
	background: #229ed9;
}

.haber-single__content {
	font-size: calc(1rem * var(--haber-content-fs, 1));
	line-height: 1.65;
}

.haber-single__content h2 {
	margin: 10px 0!important;
}

/* AdSense multiplex — emoji tepkileri üstü */
.odevjet-adsense-multiplex {
	display: block;
	text-align: center;
	margin: 1.5rem 0;
	min-height: 100px;
}

.odevjet-adsense-multiplex .adsbygoogle {
	display: block;
}

/* Yazı boyutu: legal-doc ve tablo sabit rem değerlerini devre dışı bırak, kök ölçeğe bağla */
.haber-single .haber-single__content.legal-doc__body {
	font-size: calc(1rem * var(--haber-content-fs, 1)) !important;
	line-height: 1.65;
}

.haber-single .haber-single__content.legal-doc__body :where(
	p,
	li,
	ul,
	ol,
	td,
	th,
	h2,
	h3,
	blockquote,
	.legal-section,
	.ys-scenario__title,
	.ys-pdf-card__meta-label,
	.ys-pdf-card__meta-value
) {
	font-size: inherit;
}

.haber-single .haber-single__content.legal-doc__body h2 {
	font-size: 1.0625em;
	font-weight: 700;
}

.haber-single .haber-single__content.legal-doc__body h3 {
	font-size: 1em;
	font-weight: 600;
}

.haber-single .haber-single__content .ys-scenario__table {
	font-size: 0.875em;
}

@media (max-width: 600px) {
	.haber-single__meta-right {
		justify-content: flex-start;
		text-align: left;
		margin-left: 0;
		width: 100%;
	}

	.haber-single__toolbar {
		flex-direction: column;
		align-items: stretch;
	}

	.haber-single__toolbar-end {
		justify-content: flex-start;
		margin-left: 0;
	}
}

@media print {
	.haber-single__toolbar,
	.haber-single__share-bar {
		display: none !important;
	}
}

.legal-doc__featured {
	margin: 0 0 1.25rem;
	border-radius: 10px;
	overflow: hidden;
	border: 1px solid #e5e7eb;
	background: #f9fafb;
}

.legal-doc__featured-img {
	display: block;
	width: 100%;
	height: auto;
	vertical-align: middle;
}

.legal-doc__page-links {
	display: block;
	margin: 1.5rem 0 0;
	padding-top: 1rem;
	border-top: 1px dashed #e5e7eb;
	font-size: 0.875rem;
	color: #374151;
}

.legal-doc__page-links-label {
	font-weight: 600;
	color: #111827;
	margin-right: 0.35rem;
}

.legal-single-pager {
	margin-top: 0.5rem;
}

.legal-single-pager .post-navigation {
	margin: 0;
}

.legal-single-pager .nav-links {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.legal-single-pager .nav-previous a,
.legal-single-pager .nav-next a {
	display: block;
	padding: 0.75rem 0;
	font-size: 0.875rem;
	color: #111827;
	text-decoration: none;
	border-top: 1px solid #e5e7eb;
	line-height: 1.45;
}

.legal-single-pager .nav-next a {
	text-align: right;
}

.legal-single-pager .nav-previous a:hover,
.legal-single-pager .nav-next a:hover {
	text-decoration: underline;
}

.legal-single-pager__label {
	display: block;
	font-size: 0.75rem;
	color: #6b7280;
	margin-bottom: 0.2rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.legal-single-pager__title {
	display: block;
	font-weight: 500;
	color: #111827;
}

.static-page--legal #comments {
	margin-top: 1.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid #e5e7eb;
	font-size: 0.9375rem;
	color: #374151;
}

.static-page--legal #reply-title,
.static-page--legal .comments-title {
	font-size: 1rem;
	font-weight: 600;
	color: #111827;
	margin: 0 0 0.75rem;
}

/* single.php — ilgili haberler (İlginizi çekebilir) */
.single-related {
	margin-top: 1.5rem;
	background: #fff;
}

.single-related__heading {
	font-size: 0.8125rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #111827;
	margin: 0 0 1.25rem;
}

.single-related__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.35rem 1.25rem;
}

.single-related__card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	background: transparent;
	border: none;
	box-shadow: none;
}

.single-related__media-link {
	display: block;
	text-decoration: none;
	color: inherit;
}

.single-related__media {
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #f3f4f6;
}

.single-related__media--empty {
	background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
}

.single-related__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.single-related__title {
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.35;
	margin: 0.75rem 0 0;
	color: #111827;
}

.single-related__title a {
	color: inherit;
	text-decoration: none;
}

.single-related__title a:hover {
	text-decoration: underline;
}

.single-related__sponsor {
	margin: 0.45rem 0 0;
	font-size: 0.75rem;
	color: #9ca3af;
	text-align: right;
}

@media (max-width: 900px) {
	.single-related__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 520px) {
	.single-related__grid {
		grid-template-columns: 1fr;
	}
}



.odevjet-haber-rx__sr {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.odevjet-haber-rx__intro {
	margin: 10px 0;
	font-size: 1.0625rem;
	font-weight: 700;
	line-height: 1.3;
	color: #0f172a;
	text-align: left;
}

.odevjet-haber-rx__shell {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.45rem;
	width: 100%;
	max-width: 100%;
}

.odevjet-haber-rx__pill {
	position: relative;
	display: grid;
	grid-template-columns: repeat(7, 2.75rem);
	justify-content: start;
	gap: 0.25rem 0.35rem;
	align-items: center;
	justify-items: center;
	max-width: 100%;
	padding: 0.65rem 0.75rem;
	margin-top: 0.25rem;
	background: #fff;
	border: 1px solid #e2e8f0;
	/* Tam hap (yuvarlak uçlu kapsül) */
	border-radius: 9999px;
}

.odevjet-haber-rx__cell {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
}

.odevjet-haber-rx__btn {
	position: relative;
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	width: 2.75rem;
	height: 2.75rem;
	margin: 0;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: transparent;
	cursor: pointer;
	transition: box-shadow 0.15s ease;
}

.odevjet-haber-rx__btn:hover:not(:disabled),
.odevjet-haber-rx__btn:focus-visible:not(:disabled) {
	box-shadow: none;
}

.odevjet-haber-rx__btn:disabled {
	cursor: wait;
	opacity: 0.65;
}

.odevjet-haber-rx__btn[aria-pressed="true"] .odevjet-haber-rx__hit {
	box-shadow: 0 0 0 2px #fff, 0 0 0 4px #3b82f6;
	border-radius: 50%;
}

.odevjet-haber-rx__hit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.odevjet-haber-rx__btn:hover:not(:disabled) .odevjet-haber-rx__hit,
.odevjet-haber-rx__btn:focus-visible:not(:disabled) .odevjet-haber-rx__hit {
	transform: scale(1.28);
}

.odevjet-haber-rx__ico {
	display: block;
	width: 2.5rem;
	height: 2.5rem;
	object-fit: contain;
	pointer-events: none;
}

.odevjet-haber-rx__tip {
	position: absolute;
	left: 50%;
	bottom: calc(100% + 0.35rem);
	transform: translateX(-50%) translateY(4px);
	padding: 0.35rem 0.65rem;
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
	color: #fff;
	background: #1f2937;
	border-radius: 8px;
	box-shadow: 0 4px 14px rgba(15, 23, 42, 0.25);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition:
		opacity 0.15s ease,
		visibility 0.15s ease,
		transform 0.15s ease;
	z-index: 5;
}

.odevjet-haber-rx__tip::after {
	content: '';
	position: absolute;
	left: 50%;
	top: 100%;
	transform: translateX(-50%);
	border: 6px solid transparent;
	border-top-color: #1f2937;
}

.odevjet-haber-rx__btn:hover:not(:disabled) .odevjet-haber-rx__tip,
.odevjet-haber-rx__btn:focus-visible:not(:disabled) .odevjet-haber-rx__tip {
	opacity: 1;
	visibility: visible;
	transform: translateX(-50%) translateY(0);
}

.odevjet-haber-rx__countsrow {
	display: grid;
	grid-template-columns: repeat(7, 2.75rem);
	justify-content: start;
	gap: 0.25rem 0.35rem;
	justify-items: center;
	width: 100%;
	max-width: 100%;
	padding: 0 0.75rem;
	box-sizing: border-box;
}

.odevjet-haber-rx__count {
	font-size: 0.75rem;
	font-weight: 600;
	color: #64748b;
	line-height: 1.2;
	font-variant-numeric: tabular-nums;
	min-width: 1.25rem;
	text-align: center;
}

/* Haber + kitap sayfası tepki: mobilde yatay ortala (Çözümü Değerlendir / Bu habere…) */
@media (max-width: 768px) {
	#odevjet-haber-rx,
	#odevjet-ksp-rx {
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	#odevjet-haber-rx .odevjet-haber-rx__intro,
	#odevjet-ksp-rx .odevjet-haber-rx__intro {
		text-align: center;
		width: 100%;
	}

	#odevjet-haber-rx .odevjet-haber-rx__shell,
	#odevjet-ksp-rx .odevjet-haber-rx__shell {
		align-items: center;
		width: 100%;
	}

	#odevjet-haber-rx .odevjet-haber-rx__pill,
	#odevjet-haber-rx .odevjet-haber-rx__countsrow,
	#odevjet-ksp-rx .odevjet-haber-rx__pill,
	#odevjet-ksp-rx .odevjet-haber-rx__countsrow {
		justify-content: center;
	}
}

/* Emoji kutusu: tema başka kural eziyorsa hap şekli korunur */
.odevjet-haber-rx .odevjet-haber-rx__pill {
	border-radius: 9999px;
}
