/**
 * Kategori hub, iletişim, kategori arşivi — yuzde-hesaplama.com
 */

/* Gizle Neve varsayılan sayfa başlığı (içerikte H1 var) */
.yhz-static-page:not(.yhz-page-kategori) .nv-title-wrap,
.yhz-static-page:not(.yhz-page-kategori) .entry-header .title,
.yhz-static-page:not(.yhz-page-kategori) h1.entry-title {
	display: none !important;
}

body.yhz-page-kategori .nv-page-title-wrap,
body.yhz-page-kategori .nv-big-title {
	display: none !important;
}

.yhz-static-page:not(.yhz-page-kategori) .entry-content,
.yhz-category-archive .nv-index-posts {
	max-width: 960px;
	margin-left: auto;
	margin-right: auto;
}

body.yhz-page-kategori .entry-content,
body.yhz-page-kategori .nv-content-wrap.entry-content {
	max-width: none;
	width: 100%;
	margin: 0;
	padding: 0;
}

/* Kategori kart grid */
.yhz-cat-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1rem;
	margin: 1.5rem 0 2rem;
}

.yhz-cat-card {
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
	padding: 1.2rem 1.25rem;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
	transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

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

.yhz-cat-card__icon {
	font-size: 1.5rem;
	line-height: 1;
}

.yhz-cat-card__title {
	margin: 0;
	font-family: "Nunito", system-ui, sans-serif;
	font-size: 1.1rem;
	font-weight: 800;
	line-height: 1.3;
}

.yhz-cat-card__title a {
	color: #1e293b !important;
	text-decoration: none !important;
}

.yhz-cat-card__title a:hover {
	color: #2563eb !important;
}

.yhz-cat-card__desc {
	margin: 0;
	flex: 1;
	font-size: 0.9rem;
	color: #64748b;
	line-height: 1.55;
}

.yhz-cat-card__meta {
	margin: 0.25rem 0 0;
	font-size: 0.85rem;
	font-weight: 700;
}

.yhz-cat-card__meta a {
	color: #2563eb !important;
	text-decoration: none !important;
}

/* İletişim */
.yhz-contact-grid {
	display: grid;
	grid-template-columns: minmax(260px, 340px) 1fr;
	gap: 1.5rem;
	align-items: start;
	margin: 0.5rem 0 2rem;
}

.yhz-contact-info {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
}

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

.yhz-contact-card--muted {
	background: #f8fafc;
}

.yhz-contact-card--accent {
	background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
	border-color: #bfdbfe;
}

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

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

.yhz-contact-card__value {
	margin: 0;
	font-size: 0.95rem;
	font-weight: 700;
}

.yhz-contact-card__value a {
	color: #2563eb !important;
	text-decoration: none !important;
}

.yhz-contact-card__value a:hover {
	text-decoration: underline !important;
}

.yhz-contact-card__note {
	margin: 0.5rem 0 0;
	font-size: 0.8rem;
	color: #94a3b8;
	line-height: 1.45;
}

.yhz-contact-form-wrap {
	padding: 1.25rem 1.35rem;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

.yhz-contact-form-wrap__title {
	margin: 0 0 0.35rem;
	font-family: "Nunito", system-ui, sans-serif;
	font-size: 1.25rem;
	font-weight: 800;
	color: #1e293b;
}

.yhz-contact-form-wrap__lead {
	margin: 0 0 1rem;
	font-size: 0.9rem;
	color: #64748b;
}

.yhz-contact-form-frame {
	position: relative;
	width: 100%;
	border-radius: 10px;
	overflow: hidden;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
}

.yhz-contact-form-frame iframe {
	display: block;
	width: 100% !important;
	max-width: 100%;
	min-height: 620px;
	border: 0;
}

/* Kategori arşivi hero */
.yhz-archive-hero {
	margin: 0 auto 1.75rem;
	max-width: 920px;
	padding: 1.75rem 1.5rem;
	text-align: center;
	background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 52%, #3b82f6 100%);
	border-radius: 16px;
	color: #fff;
}

.yhz-archive-hero__crumb {
	margin: 0 0 0.75rem;
	font-size: 0.82rem;
	color: rgba(255, 255, 255, 0.88);
}

.yhz-archive-hero__crumb a {
	color: #bfdbfe;
	text-decoration: none;
}

.yhz-archive-hero__crumb a:hover {
	color: #fff;
	text-decoration: underline;
}

.yhz-archive-hero__crumb span[aria-hidden="true"] {
	margin: 0 0.35rem;
	opacity: 0.7;
}

.yhz-archive-hero__title {
	margin: 0 0 0.5rem;
	font-family: "Nunito", system-ui, sans-serif;
	font-size: clamp(1.5rem, 4vw, 2rem);
	font-weight: 800;
	color: #fff;
}

.yhz-archive-hero__desc {
	margin: 0 auto 1rem;
	max-width: 36rem;
	font-size: 0.95rem;
	color: rgba(255, 255, 255, 0.92);
	line-height: 1.55;
}

.yhz-archive-hero__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.65rem 1rem;
	margin: 0;
}

.yhz-archive-hero__btn {
	display: inline-flex;
	padding: 0.55rem 1.1rem;
	border-radius: 999px;
	background: #fff;
	color: #1d4ed8 !important;
	font-weight: 700;
	font-size: 0.88rem;
	text-decoration: none !important;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.yhz-archive-hero__link {
	color: #bfdbfe !important;
	font-weight: 600;
	font-size: 0.88rem;
	text-decoration: none !important;
}

.yhz-archive-hero__link:hover {
	color: #fff !important;
	text-decoration: underline !important;
}

.yhz-category-archive .nv-page-title-wrap,
.yhz-category-archive .page-header {
	display: none !important;
}

@media (max-width: 768px) {
	.yhz-cat-grid {
		grid-template-columns: 1fr;
	}

	.yhz-contact-grid {
		grid-template-columns: 1fr;
	}

	.yhz-contact-form-frame iframe {
		min-height: 520px;
	}
}
