/**
 * Single post, blog archive, search — Neve child (yuzde-hesaplama.com)
 */

/* Reading progress */
.yhz-reading-progress {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 99998;
	height: 3px;
	width: 0;
	background: linear-gradient(90deg, #2563eb, #60a5fa);
	box-shadow: 0 0 12px rgba(37, 99, 235, 0.45);
	pointer-events: none;
	transition: width 0.08s linear;
}

/* -------------------------------------------------------------------------
 * Cover header
 */
.yhz-single-enhanced .nv-post-cover {
	background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 52%, #3b82f6 100%) !important;
}

.yhz-single-enhanced .nv-post-cover .nv-title-meta-wrap {
	text-align: center;
}

.yhz-post-cover-meta {
	margin-bottom: 0.75rem;
}

.yhz-breadcrumbs,
.yhz-breadcrumbs .rank-math-breadcrumb {
	font-size: 0.82rem;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.88);
}

.yhz-breadcrumbs a,
.yhz-rm-breadcrumb a {
	color: #bfdbfe;
	text-decoration: none;
}

.yhz-breadcrumbs a:hover,
.yhz-rm-breadcrumb a:hover {
	color: #fff;
	text-decoration: underline;
}

.yhz-breadcrumbs__sep {
	margin: 0 0.35rem;
	opacity: 0.65;
}

.yhz-breadcrumbs__current {
	color: rgba(255, 255, 255, 0.95);
	font-weight: 600;
}

.yhz-post-pills {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.45rem;
	margin: 0.85rem 0 0;
	padding: 0;
	list-style: none;
}

.yhz-pill {
	display: inline-flex;
	align-items: center;
	padding: 0.28rem 0.7rem;
	border-radius: 999px;
	font-size: 0.78rem;
	font-weight: 600;
	line-height: 1.3;
}

.yhz-pill--category {
	background: rgba(255, 255, 255, 0.18);
	border: 1px solid rgba(255, 255, 255, 0.28);
	color: #fff !important;
	text-decoration: none !important;
}

.yhz-pill--category:hover {
	background: rgba(255, 255, 255, 0.28);
}

.yhz-pill--muted {
	background: rgba(0, 0, 0, 0.15);
	color: rgba(255, 255, 255, 0.92);
}

.yhz-pill--updated {
	background: rgba(251, 191, 36, 0.22);
	color: #fef3c7;
}

/* Hide redundant Neve default meta row under our pills */
.yhz-single-enhanced .nv-post-cover .nv-meta-list {
	display: none;
}

/* -------------------------------------------------------------------------
 * Calculator strip
 */
.yhz-calc-strip {
	margin: 0 auto 1.5rem;
	max-width: 920px;
	padding: 0 1rem;
}

.yhz-calc-strip__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1rem 1.25rem;
	border-radius: 12px;
	background: var(--nv-light-bg, #eff6ff);
	border: 1px solid #bfdbfe;
	box-shadow: 0 1px 2px rgba(37, 99, 235, 0.06);
}

.yhz-calc-strip__text {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
}

.yhz-calc-strip__text strong {
	font-family: "Nunito", system-ui, sans-serif;
	font-size: 1.05rem;
	color: #1e293b;
}

.yhz-calc-strip__text span {
	font-size: 0.88rem;
	color: #64748b;
}

.yhz-calc-strip__btn {
	display: inline-flex;
	align-items: center;
	padding: 0.6rem 1.15rem;
	border-radius: 999px;
	background: #2563eb;
	color: #fff !important;
	font-size: 0.9rem;
	font-weight: 700;
	text-decoration: none !important;
	box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
	transition: background 0.15s ease, transform 0.15s ease;
}

.yhz-calc-strip__btn:hover {
	background: #1d4ed8;
	transform: translateY(-1px);
}

/* -------------------------------------------------------------------------
 * Content area
 */
.yhz-single-enhanced .nv-single-post-wrap .nv-content-wrap {
	padding-top: 0.5rem;
}

.yhz-single-enhanced .entry-content .yhz-formul-hero {
	margin-top: 0;
	padding: 1.25rem 0 0.5rem;
	text-align: center;
}

.yhz-single-enhanced .entry-content .yhz-formul-hero h2 {
	font-size: clamp(1.35rem, 2.5vw, 1.65rem);
	color: #1e293b;
	margin-bottom: 0.35rem;
}

.yhz-single-enhanced .entry-content .yhz-formul-hero .has-text-align-center {
	color: #64748b;
	font-size: 1.02rem;
}

/* EZ TOC — card style */
.yhz-single-enhanced #ez-toc-container {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 1.15rem 1.35rem;
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.yhz-single-enhanced #ez-toc-container .ez-toc-title {
	font-family: "Nunito", system-ui, sans-serif;
	font-weight: 800;
	color: #1e293b;
}

.yhz-single-enhanced #ez-toc-container a {
	text-decoration: none;
	color: #334155;
}

.yhz-single-enhanced #ez-toc-container a:hover {
	color: #2563eb;
}

.yhz-single-enhanced #ez-toc-container li.active > a {
	color: #2563eb;
	font-weight: 700;
}

/* Post end footer */
.yhz-post-end {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin: 2.5rem auto 1rem;
	max-width: 920px;
	padding: 1.25rem 1.5rem;
	border-radius: 12px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
}

.yhz-post-end__back {
	font-weight: 700;
	color: #2563eb !important;
	text-decoration: none !important;
}

.yhz-post-end__back:hover {
	text-decoration: underline !important;
}

.yhz-post-end__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.25rem;
}

.yhz-post-end__link {
	font-size: 0.9rem;
	font-weight: 600;
	color: #475569 !important;
	text-decoration: none !important;
}

.yhz-post-end__link:hover {
	color: #2563eb !important;
}

/* Neve related posts */
.yhz-single-enhanced .nv-related-posts {
	margin-top: 2rem;
}

.yhz-single-enhanced .nv-related-posts .section-title {
	font-family: "Nunito", system-ui, sans-serif;
	font-weight: 800;
	color: #1e293b;
}

.yhz-single-enhanced .nv-related-posts article {
	border-radius: 10px;
	overflow: hidden;
	border: 1px solid #e2e8f0;
	transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.yhz-single-enhanced .nv-related-posts article:hover {
	border-color: #93c5fd;
	box-shadow: 0 8px 24px rgba(37, 99, 235, 0.1);
}

/* -------------------------------------------------------------------------
 * Sidebar widgets
 */
#secondary.blog-sidebar,
.nv-sidebar-wrap.blog-sidebar {
	position: relative;
}

#secondary .widget,
.nv-sidebar-wrap .widget {
	margin-bottom: 1.35rem;
}

#secondary .widget .widget-title,
.nv-sidebar-wrap .widget .widget-title {
	font-family: "Nunito", system-ui, sans-serif;
	font-size: 0.95rem;
	font-weight: 800;
	letter-spacing: 0.02em;
	color: #1e293b;
	margin-bottom: 0.85rem;
	padding-bottom: 0.5rem;
	border-bottom: 2px solid #eff6ff;
}

.yhz-widget {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	padding: 1.15rem 1.2rem;
	box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

/* Search */
.yhz-search-form__wrap {
	display: flex;
	align-items: stretch;
	gap: 0;
	border: 2px solid #e2e8f0;
	border-radius: 12px;
	overflow: hidden;
	background: #f8fafc;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.yhz-search-form.is-focused .yhz-search-form__wrap {
	border-color: #2563eb;
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
	background: #fff;
}

.yhz-search-form__icon {
	flex-shrink: 0;
	margin: 0.65rem 0 0 0.75rem;
	color: #94a3b8;
}

.yhz-search-form__input {
	flex: 1;
	min-width: 0;
	border: 0;
	background: transparent;
	padding: 0.65rem 0.5rem;
	font-size: 0.92rem;
	color: #1e293b;
	outline: none;
}

.yhz-search-form__submit {
	border: 0;
	background: #2563eb;
	color: #fff;
	font-size: 0.82rem;
	font-weight: 700;
	padding: 0 1rem;
	cursor: pointer;
	transition: background 0.15s ease;
}

.yhz-search-form__submit:hover {
	background: #1d4ed8;
}

.yhz-search-form__hint {
	margin: 0.5rem 0 0;
	font-size: 0.75rem;
	color: #94a3b8;
}

.yhz-search-form__hint kbd {
	display: inline-block;
	padding: 0.1rem 0.35rem;
	border-radius: 4px;
	background: #f1f5f9;
	border: 1px solid #e2e8f0;
	font-size: 0.72rem;
	font-family: inherit;
}

/* CTA card */
.yhz-widget-cta-card {
	text-align: center;
}

.yhz-widget-cta-card__badge {
	display: inline-block;
	margin-bottom: 0.5rem;
	padding: 0.2rem 0.55rem;
	border-radius: 999px;
	background: #dcfce7;
	color: #166534;
	font-size: 0.72rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.yhz-widget-cta-card__title {
	margin: 0 0 0.45rem;
	font-family: "Nunito", system-ui, sans-serif;
	font-size: 1.2rem;
	font-weight: 800;
	color: #1e293b;
}

.yhz-widget-cta-card__text {
	margin: 0 0 1rem;
	font-size: 0.88rem;
	color: #64748b;
	line-height: 1.5;
}

.yhz-widget-cta-card__btn {
	display: block;
	width: 100%;
	padding: 0.7rem 1rem;
	border-radius: 10px;
	background: linear-gradient(135deg, #2563eb, #3b82f6);
	color: #fff !important;
	font-weight: 700;
	text-decoration: none !important;
	box-shadow: 0 4px 16px rgba(37, 99, 235, 0.25);
}

.yhz-widget-cta-card__btn:hover {
	filter: brightness(1.05);
}

.yhz-widget-cta-card__secondary {
	display: inline-block;
	margin-top: 0.65rem;
	font-size: 0.82rem;
	font-weight: 600;
	color: #2563eb !important;
	text-decoration: none !important;
}

/* Guide list */
.yhz-guide-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.yhz-guide-list__item a {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.5rem;
	padding: 0.55rem 0.65rem;
	border-radius: 8px;
	text-decoration: none !important;
	color: #334155;
	font-size: 0.88rem;
	line-height: 1.4;
	transition: background 0.12s ease, color 0.12s ease;
}

.yhz-guide-list__item a:hover {
	background: #eff6ff;
	color: #2563eb;
}

.yhz-guide-list__item.is-active a {
	background: #dbeafe;
	color: #1d4ed8;
	font-weight: 700;
}

.yhz-guide-list__badge {
	flex-shrink: 0;
	font-size: 0.68rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: #2563eb;
	background: #fff;
	padding: 0.15rem 0.4rem;
	border-radius: 4px;
}

.yhz-guide-list__all {
	display: inline-block;
	margin-top: 0.75rem;
	font-size: 0.85rem;
	font-weight: 700;
	color: #2563eb !important;
	text-decoration: none !important;
}

/* Category chips */
.yhz-cat-chips {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
}

.yhz-cat-chip {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.4rem 0.7rem;
	border-radius: 999px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	font-size: 0.8rem;
	font-weight: 600;
	color: #475569 !important;
	text-decoration: none !important;
	transition: border-color 0.12s ease, background 0.12s ease;
}

.yhz-cat-chip:hover {
	border-color: #93c5fd;
	background: #eff6ff;
	color: #2563eb !important;
}

.yhz-cat-chip__count {
	font-size: 0.72rem;
	color: #94a3b8;
	font-weight: 700;
}

/* Ad slots */
.yhz-ad-slot,
.yhz-widget-ad-legacy .textwidget {
	text-align: center;
}

.yhz-ad-slot ins.adsbygoogle,
.yhz-widget-ad-legacy ins.adsbygoogle {
	margin: 0 auto;
	border-radius: 8px;
	overflow: hidden;
}

/* Sidebar: tam görünür, iç kaydırma yok (sayfa kayar) */
@media (min-width: 960px) {
	.yhz-single-enhanced.nv-sidebar-right #secondary,
	.yhz-single-enhanced.nv-sidebar-right .nv-sidebar-wrap,
	.yhz-blog-surface.nv-sidebar-right #secondary,
	.yhz-blog-surface.nv-sidebar-right .nv-sidebar-wrap {
		align-self: flex-start;
		position: sticky;
		top: calc(var(--header-height, 72px) + 12px);
		max-height: none;
		overflow: visible;
	}
}

/* Kompakt sidebar widget'ları */
.blog-sidebar .yhz-widget,
#secondary.blog-sidebar .yhz-widget,
.nv-sidebar-wrap.blog-sidebar .yhz-widget {
	padding: 0.9rem 1rem;
}

.blog-sidebar .yhz-search-form__hint,
#secondary.blog-sidebar .yhz-search-form__hint {
	display: none;
}

.blog-sidebar .yhz-widget-cta-card__title,
#secondary.blog-sidebar .yhz-widget-cta-card__title {
	font-size: 1.05rem;
}

.blog-sidebar .yhz-widget-cta-card__text,
#secondary.blog-sidebar .yhz-widget-cta-card__text {
	margin-bottom: 0.75rem;
	font-size: 0.82rem;
}

.blog-sidebar .yhz-guide-list,
#secondary.blog-sidebar .yhz-guide-list {
	gap: 0.2rem;
}

.blog-sidebar .yhz-guide-list__item a,
#secondary.blog-sidebar .yhz-guide-list__item a {
	padding: 0.42rem 0.55rem;
	font-size: 0.82rem;
	line-height: 1.35;
}

.blog-sidebar .widget,
#secondary.blog-sidebar .widget,
.nv-sidebar-wrap.blog-sidebar .widget {
	margin-bottom: 1rem;
}

.blog-sidebar .yhz-cat-chip,
#secondary.blog-sidebar .yhz-cat-chip {
	padding: 0.32rem 0.6rem;
	font-size: 0.76rem;
}

/* -------------------------------------------------------------------------
 * Blog archive / search
 */
.yhz-blog-surface .nv-index-posts article {
	border-radius: 12px;
	border: 1px solid #e2e8f0;
	overflow: hidden;
	transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.yhz-blog-surface .nv-index-posts article:hover {
	border-color: #93c5fd;
	box-shadow: 0 10px 28px rgba(37, 99, 235, 0.08);
}

.yhz-blog-surface .nv-index-posts .entry-title a {
	color: #1e293b;
	font-weight: 800;
}

.yhz-blog-surface .nv-index-posts .entry-title a:hover {
	color: #2563eb;
}

.yhz-blog-surface .nv-index-posts .excerpt-wrap {
	color: #64748b;
}

/* Search results */
.search .yhz-search-form__wrap {
	max-width: 520px;
}

.search-results .entry-title a {
	font-weight: 800;
}

/* Mobile */
@media (max-width: 768px) {
	.yhz-calc-strip__inner {
		flex-direction: column;
		align-items: stretch;
		text-align: center;
	}

	.yhz-calc-strip__btn {
		justify-content: center;
		text-align: center;
	}

	.yhz-post-end {
		flex-direction: column;
		align-items: flex-start;
	}

	#secondary .widget,
	.nv-sidebar-wrap .widget {
		margin-bottom: 1rem;
	}
}
