/**
 * Rehber + kategori arşivi — premium yazı kartları
 */

/* —— Layout reset —— */
body.yhz-rehber-listing.blog .nv-page-title-wrap,
body.yhz-rehber-listing.blog .nv-big-title,
body.yhz-rehber-hub .nv-page-title-wrap {
	display: none !important;
	height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
}

body.yhz-rehber-hub .archive-container,
body.yhz-rehber-listing .archive-container,
body.yhz-author-hub .archive-container {
	max-width: none;
	padding-left: 0;
	padding-right: 0;
}

body.yhz-rehber-hub .nv-index-posts.blog.col,
body.yhz-rehber-listing .nv-index-posts.blog.col,
body.yhz-author-hub .nv-index-posts.blog.col {
	max-width: none;
	margin: 0 auto;
	padding: 0;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0;
	width: 100%;
	min-width: 0;
	box-sizing: border-box;
}

/* Neve posts-wrapper — liste ortalanmış sütun (hero tam genişlik kalır) */
body.yhz-rehber-hub .posts-wrapper,
body.yhz-rehber-listing .posts-wrapper,
body.yhz-author-hub .posts-wrapper,
body.yhz-category-archive .posts-wrapper {
	width: 100%;
	max-width: 1100px;
	margin-left: auto;
	margin-right: auto;
	padding: 0 1.25rem 3rem;
	box-sizing: border-box;
}

body.yhz-rehber-hub .posts-wrapper,
body.yhz-rehber-listing .posts-wrapper,
body.yhz-rehber-hub .yhz-rehber-listing-list,
body.yhz-rehber-listing .yhz-rehber-listing-list {
	display: flex;
	flex-direction: column;
	gap: 1.15rem;
}

body.yhz-rehber-hub .posts-wrapper > article,
body.yhz-rehber-listing .posts-wrapper > article,
body.yhz-category-archive .posts-wrapper > article {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
}

/* Rehber filtre şeridi */
.yhz-rehber-filters {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem;
	max-width: 1100px;
	margin: 0 auto 1.75rem;
	padding: 0 1.25rem;
}

.yhz-rehber-filter {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.45rem 0.9rem;
	border-radius: 999px;
	background: #fff;
	border: 1px solid #e2e8f0;
	color: #475569 !important;
	font-size: 0.82rem;
	font-weight: 700;
	text-decoration: none !important;
	transition: border-color 0.12s ease, background 0.12s ease, color 0.12s ease;
}

.yhz-rehber-filter:hover,
.yhz-rehber-filter.is-active {
	border-color: #2563eb;
	background: #eff6ff;
	color: #1d4ed8 !important;
}

.yhz-rehber-filter__count {
	font-size: 0.72rem;
	font-weight: 800;
	color: #94a3b8;
	background: #f1f5f9;
	padding: 0.1rem 0.4rem;
	border-radius: 6px;
}

.yhz-rehber-filter.is-active .yhz-rehber-filter__count {
	background: #dbeafe;
	color: #2563eb;
}

.yhz-rehber-filter--hub {
	border-style: dashed;
}

/* —— Liste: tek sütun premium kart —— */
.yhz-rehber-listing .posts-wrapper article,
.yhz-rehber-listing .layout-alternative {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
}

.yhz-rehber-listing .layout-alternative .row,
.yhz-rehber-listing .article-content-col {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

.yhz-rehber-listing .alternative-post,
.yhz-rehber-listing .non-grid-content {
	display: block;
	width: 100%;
	padding: 0;
}

.yhz-rehber-listing .yhz-archive-card {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	box-shadow: 0 2px 14px rgba(15, 23, 42, 0.04);
	overflow: hidden;
	transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.yhz-rehber-listing .yhz-archive-card:hover {
	border-color: #93c5fd;
	box-shadow: 0 14px 36px rgba(37, 99, 235, 0.1);
	transform: translateY(-2px);
}

.yhz-rehber-listing .yhz-archive-card .content {
	padding: 1.35rem 1.45rem 1.2rem;
}

/* Başlık */
.yhz-rehber-listing .blog-entry-title,
.yhz-rehber-listing .entry-title {
	margin: 0 0 0.65rem !important;
	font-family: "Nunito", system-ui, sans-serif !important;
	font-size: clamp(1.15rem, 2.5vw, 1.35rem) !important;
	font-weight: 800 !important;
	line-height: 1.3 !important;
}

.yhz-rehber-listing .blog-entry-title a,
.yhz-rehber-listing .entry-title a {
	color: #0f172a !important;
	text-decoration: none !important;
}

.yhz-rehber-listing .yhz-archive-card:hover .entry-title a {
	color: #2563eb !important;
}

/* Meta */
.yhz-rehber-listing .nv-meta-list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4rem 0.65rem;
	margin: 0 0 0.85rem !important;
	padding: 0 !important;
	list-style: none !important;
}

.yhz-rehber-listing .nv-meta-list li {
	margin: 0 !important;
	padding: 0 !important;
}

.yhz-rehber-listing .nv-meta-list .meta {
	font-size: 0.78rem;
	color: #64748b;
}

.yhz-rehber-listing .nv-meta-list .meta.category a {
	display: inline-flex;
	align-items: center;
	padding: 0.22rem 0.6rem;
	border-radius: 999px;
	background: #eff6ff;
	border: 1px solid #bfdbfe;
	color: #1d4ed8 !important;
	font-weight: 700;
	text-decoration: none !important;
}

.yhz-rehber-listing .nv-meta-list .meta.category a:hover {
	background: #dbeafe;
}

.yhz-rehber-listing .nv-meta-list time {
	color: #94a3b8;
}

.yhz-rehber-listing .nv-meta-list .updated {
	display: none;
}

/* Özet alanı — Neve varsayılanını gizle, bizim kartı göster */
.yhz-rehber-listing .excerpt-wrap.entry-summary {
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
}

.yhz-rehber-listing .excerpt-wrap.entry-summary > p:not(.yhz-card-excerpt) {
	display: none !important;
}

.yhz-card-excerpt {
	margin: 0 0 1rem;
	font-size: 0.95rem;
	line-height: 1.65;
	color: #475569;
}

.yhz-card-foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.65rem 1rem;
	padding-top: 0.85rem;
	border-top: 1px solid #f1f5f9;
}

.yhz-card-read-time {
	font-size: 0.78rem;
	font-weight: 700;
	color: #94a3b8;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.yhz-card-cta {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.5rem 1rem;
	border-radius: 999px;
	background: linear-gradient(135deg, #2563eb, #3b82f6);
	color: #fff !important;
	font-size: 0.85rem;
	font-weight: 700;
	text-decoration: none !important;
	box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
	transition: filter 0.15s ease, transform 0.15s ease;
}

.yhz-card-cta:hover {
	filter: brightness(1.06);
	transform: translateY(-1px);
}

/* Görsel sütun varsa gizle (metin odaklı kart) */
.yhz-rehber-listing .layout-alternative .nv-post-thumbnail-wrap,
.yhz-rehber-listing .layout-alternative figure.post-thumbnail {
	display: none !important;
}

/* Kategori arşivi: hero sonrası liste */
body.yhz-category-archive .yhz-archive-hero {
	margin-bottom: 1.5rem;
}

@media (max-width: 640px) {
	.yhz-rehber-filters {
		justify-content: flex-start;
		overflow-x: auto;
		flex-wrap: nowrap;
		padding-bottom: 0.35rem;
		-webkit-overflow-scrolling: touch;
	}

	.yhz-rehber-filter {
		flex-shrink: 0;
	}

	.yhz-card-foot {
		flex-direction: column;
		align-items: stretch;
	}

	.yhz-card-cta {
		justify-content: center;
	}
}

/* Arama ile aynı kart şablonu (home / category / tag) */
.yhz-listing-card {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	box-shadow: 0 2px 14px rgba(15, 23, 42, 0.04);
	overflow: hidden;
	transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.yhz-listing-card:hover {
	border-color: #93c5fd;
	box-shadow: 0 14px 36px rgba(37, 99, 235, 0.1);
	transform: translateY(-2px);
}

.yhz-listing-card__inner {
	padding: 1.35rem 1.45rem 0.2rem;
}

.yhz-listing-card .entry-title {
	margin: 0 0 0.45rem;
	font-size: 1.2rem;
	line-height: 1.35;
}

.yhz-listing-card .entry-title a {
	color: #0f172a;
	text-decoration: none;
}

.yhz-listing-card .entry-title a:hover {
	color: #2563eb;
}

.yhz-listing-pagination {
	margin: 2rem auto 0;
	max-width: 1100px;
	padding: 0 1.25rem;
	text-align: center;
}

.yhz-listing-pagination .nav-links {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	justify-content: center;
}
