/*
Theme Name: zajmy-theme
Theme URI: [https://zajmynakartu.ru/](https://zajmynakartu.ru/)
Author: Custom
Author URI: [https://zajmynakartu.ru/](https://zajmynakartu.ru/)
Description: Кастомная тема для каталога займов и SEO-страниц.
Version: 1.0.0
Text Domain: znk-theme
*/

:root{
	--znk-bg:#f8fafc;
	--znk-surface:#ffffff;
	--znk-surface-soft:#f8fafc;
	--znk-text:#0f172a;
	--znk-muted:#64748b;
	--znk-border:#e2e8f0;
	--znk-primary:#2563eb;
	--znk-primary-hover:#1d4ed8;
	--znk-success-bg:#ecfdf5;
	--znk-success-border:#a7f3d0;
	--znk-success-text:#065f46;
	--znk-shadow:0 10px 30px rgba(15,23,42,.06);
	--znk-shadow-hover:0 16px 40px rgba(15,23,42,.10);
	--znk-radius:20px;
	--znk-radius-sm:14px;
	--znk-container:1200px;
}

*,
*::before,
*::after{
	box-sizing:border-box;
}

html{
	scroll-behavior:smooth;
}

body{
	margin:0;
	font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
	font-size:16px;
	line-height:1.65;
	color:var(--znk-text);
	background:var(--znk-bg);
}

img{
	max-width:100%;
	height:auto;
	display:block;
}

a{
	color:var(--znk-primary);
	text-decoration:none;
	transition:color .2s ease, opacity .2s ease;
}

a:hover{
	color:var(--znk-primary-hover);
}

.site-shell{
	min-height:100vh;
	display:flex;
	flex-direction:column;
}

.znk-container{
	width:100%;
	max-width:calc(var(--znk-container) + 32px);
	margin:0 auto;
	padding-left:16px;
	padding-right:16px;
}

.site-main{
	flex:1 0 auto;
	padding:32px 0 56px;
}

.znk-header{
	position:sticky;
	top:0;
	z-index:50;
	background:rgba(255,255,255,.92);
	backdrop-filter:blur(12px);
	border-bottom:1px solid rgba(226,232,240,.9);
}

.znk-header__inner{
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:20px;
	min-height:76px;
}

.znk-brand{
	display:flex;
	align-items:center;
	gap:14px;
	min-width:0;
}

.znk-brand__logo img{
	max-height:46px;
	width:auto;
}

.znk-brand__text{
	display:flex;
	flex-direction:column;
	gap:2px;
}

.znk-brand__name{
	font-size:22px;
	line-height:1.1;
	font-weight:800;
	color:var(--znk-text);
	margin:0;
}

.znk-brand__tagline{
	font-size:13px;
	line-height:1.4;
	color:var(--znk-muted);
}

.znk-nav{
	margin-left:auto;
}

.znk-nav .menu{
	display:flex;
	align-items:center;
	gap:10px;
	list-style:none;
	margin:0;
	padding:0;
}

.znk-nav .menu-item{
	margin:0;
	padding:0;
}

.znk-nav .menu-item a{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	padding:12px 16px;
	border-radius:999px;
	color:var(--znk-text);
	font-size:15px;
	font-weight:700;
	line-height:1;
}

.znk-nav .menu-item a:hover,
.znk-nav .current-menu-item a,
.znk-nav .current_page_item a{
	background:#eff6ff;
	color:var(--znk-primary);
}

.znk-burger{
	display:none;
	align-items:center;
	justify-content:center;
	flex-direction:column;
	gap:5px;
	width:44px;
	height:44px;
	padding:0;
	border:1px solid var(--znk-border);
	border-radius:12px;
	background:#fff;
	cursor:pointer;
	flex:0 0 44px;
}

.znk-burger span{
	display:block;
	width:18px;
	height:2px;
	border-radius:999px;
	background:var(--znk-text);
	transition:transform .2s ease, opacity .2s ease;
}

.znk-burger.is-active span:nth-child(1){
	transform:translateY(7px) rotate(45deg);
}

.znk-burger.is-active span:nth-child(2){
	opacity:0;
}

.znk-burger.is-active span:nth-child(3){
	transform:translateY(-7px) rotate(-45deg);
}

@media (min-width: 992px){
	.znk-nav{
		display:block !important;
	}
}

@media (max-width: 991px){
	.znk-header__inner{
		display:flex;
		flex-wrap:nowrap;
		flex-direction:row;
		align-items:center;
		justify-content:space-between;
		gap:12px;
		padding:14px 0;
		min-height:72px;
		position:relative;
	}

	.znk-brand{
		display:flex;
		align-items:center;
		gap:12px;
		flex:1 1 auto;
		min-width:0;
	}

	.znk-brand__logo{
		flex:0 0 auto;
	}

	.znk-brand__logo img{
		max-height:40px;
		width:auto;
	}

	.znk-brand__text{
		display:flex;
		flex-direction:column;
		justify-content:center;
		min-width:0;
		flex:1 1 auto;
	}

	.znk-brand__name{
		display:block;
		font-size:20px;
		line-height:1.15;
		margin:0;
		white-space:nowrap;
		overflow:hidden;
		text-overflow:ellipsis;
	}

	.znk-brand__tagline{
		display:none;
	}

	.znk-burger{
		display:inline-flex;
		align-items:center;
		justify-content:center;
		flex:0 0 44px;
		width:44px;
		height:44px;
		margin-left:auto;
		align-self:center;
		position:relative;
		z-index:60;
	}

	.znk-nav{
		display:none;
		width:100%;
		margin:0;
		position:absolute;
		left:0;
		top:calc(100% + 8px);
		padding:0;
		z-index:55;
	}

	.znk-nav.is-open{
		display:block;
	}

	.znk-nav .menu{
		display:flex;
		flex-direction:column;
		align-items:stretch;
		gap:8px;
		list-style:none;
		margin:0;
		padding:14px;
		background:#fff;
		border:1px solid var(--znk-border);
		border-radius:18px;
		box-shadow:var(--znk-shadow);
	}

	.znk-nav .menu-item a{
		display:flex;
		align-items:center;
		justify-content:flex-start;
		width:100%;
		padding:12px 14px;
		border-radius:12px;
		font-size:15px;
		font-weight:700;
		line-height:1.3;
		background:#f8fafc;
		color:var(--znk-text);
	}

	.znk-nav .menu-item a:hover,
	.znk-nav .current-menu-item a,
	.znk-nav .current_page_item a{
		background:#eff6ff;
		color:var(--znk-primary);
	}
}

@media (max-width: 767px){
	.znk-header__inner{
		min-height:68px;
	}

	.znk-brand{
		gap:10px;
	}

	.znk-brand__logo img{
		max-height:38px;
	}

	.znk-brand__name{
		font-size:18px;
		line-height:1.15;
	}
}

.znk-mobile-note{
	display:none;
}

.znk-page-card{
	background:var(--znk-surface);
	border:1px solid var(--znk-border);
	border-radius:var(--znk-radius);
	box-shadow:var(--znk-shadow);
	padding:28px;
}

.entry-content,
.entry-summary{
	color:#334155;
}

.entry-content > *:first-child,
.entry-summary > *:first-child{
	margin-top:0;
}

.entry-content p,
.entry-summary p{
	margin:0 0 18px;
}

.entry-content ul,
.entry-content ol,
.entry-summary ul,
.entry-summary ol{
	margin:0 0 18px 22px;
	padding:0;
}

.entry-content li,
.entry-summary li{
	margin-bottom:8px;
}

.entry-content h2,
.entry-summary h2{
	font-size:24px;
	line-height:1.2;
	margin:36px 0 16px;
	color:var(--znk-text);
	font-weight:800;
}

.entry-content h3,
.entry-summary h3{
	font-size:22px;
	line-height:1.25;
	margin:28px 0 14px;
	color:var(--znk-text);
	font-weight:800;
}

.entry-content table,
.entry-summary table{
	width:100%;
	border-collapse:collapse;
	margin:0 0 24px;
}

.entry-content table td,
.entry-content table th,
.entry-summary table td,
.entry-summary table th{
	border:1px solid var(--znk-border);
	padding:10px 12px;
	text-align:left;
}

.entry-thumbnail{
	margin-bottom:24px;
	border-radius:var(--znk-radius);
	overflow:hidden;
}

.entry-thumbnail img{
	width:100%;
	height:auto;
}

.extra-content{
	margin-top:28px;
	padding-top:24px;
	border-top:1px solid var(--znk-border);
}

.page-links{
	margin-top:20px;
	font-weight:700;
}

#rating{
	margin-top:28px;
}

.znk-footer{
	margin-top:auto;
	border-top:1px solid var(--znk-border);
	background:#ffffff;
}

.znk-footer__top{
	padding:18px 0 12px;
	border-bottom:1px solid var(--znk-border);
}

.znk-footer__nav .znk-footer-menu{
	display:flex;
	flex-wrap:wrap;
	gap:8px 18px;
	list-style:none;
	margin:0;
	padding:0;
}

.znk-footer__nav .znk-footer-menu li{
	margin:0;
	padding:0;
}

.znk-footer__nav .znk-footer-menu a{
	color:#64748b;
	font-size:14px;
	line-height:1.8;
	font-weight:400;
	text-decoration:none;
}

.znk-footer__nav .znk-footer-menu a:hover{
	color:var(--znk-primary);
	text-decoration:underline;
	text-underline-offset:2px;
}

.znk-footer__bottom{
	padding:16px 0 28px;
}

.znk-footer__copy{
	max-width:1000px;
	color:#64748b;
	font-size:14px;
	line-height:1.8;
}

.znk-empty{
	background:var(--znk-surface);
	border:1px solid var(--znk-border);
	border-radius:var(--znk-radius);
	padding:24px;
	box-shadow:var(--znk-shadow);
	color:var(--znk-muted);
}

.screen-reader-text{
	border:0;
	clip:rect(1px, 1px, 1px, 1px);
	clip-path:inset(50%);
	height:1px;
	margin:-1px;
	overflow:hidden;
	padding:0;
	position:absolute !important;
	width:1px;
	word-wrap:normal !important;
}

.znk-home-hero{
	padding:16px 0 4px;
}

.znk-home-hero__kicker{
	display:inline-flex;
	align-items:center;
	padding:8px 12px;
	border-radius:999px;
	background:#eff6ff;
	color:var(--znk-primary);
	font-size:13px;
	font-weight:800;
	margin-bottom:14px;
}

.znk-home-hero__title,
.znk-mfo-catalog-intro__title{
	margin:0 0 14px;
	font-size:42px;
	line-height:1.1;
	font-weight:800;
	color:var(--znk-text);
}

.znk-home-hero__desc,
.znk-mfo-catalog-intro__desc{
	max-width:860px;
	margin:0;
	font-size:18px;
	line-height:1.75;
	color:#475569;
}

.znk-home-hero__actions{
	display:flex;
	flex-wrap:wrap;
	gap:12px;
	margin-top:24px;
}

.znk-home-button{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	padding:14px 18px;
	border-radius:14px;
	background:var(--znk-primary);
	color:#fff !important;
	font-size:16px;
	font-weight:800;
	box-shadow:0 10px 24px rgba(37,99,235,.22);
}

.znk-home-button:hover{
	background:var(--znk-primary-hover);
	color:#fff !important;
}

.znk-home-button--ghost{
	background:#eff6ff;
	color:var(--znk-primary) !important;
	box-shadow:none;
}

.znk-home-button--ghost:hover{
	background:#dbeafe;
	color:var(--znk-primary) !important;
}

.znk-mfo-catalog-intro{
	margin-bottom:28px;
}

.znk-mfo-grid,
.znk-offers-grid{
	display:grid;
	grid-template-columns:repeat(auto-fit,minmax(290px,1fr));
	gap:20px;
}

.znk-mfo-card{
	display:flex;
	flex-direction:column;
	height:100%;
	background:#fff;
	border:1px solid var(--znk-border);
	border-radius:20px;
	padding:18px;
	box-shadow:var(--znk-shadow);
	transition:transform .2s ease, box-shadow .2s ease;
}

.znk-mfo-card:hover{
	transform:translateY(-3px);
	box-shadow:var(--znk-shadow-hover);
}

.znk-mfo-badge{
	display:inline-flex;
	align-items:center;
	padding:7px 12px;
	border-radius:999px;
	background:var(--znk-success-bg);
	border:1px solid var(--znk-success-border);
	color:var(--znk-success-text);
	font-size:12px;
	font-weight:800;
	line-height:1.2;
	margin-bottom:14px;
}

.znk-mfo-head{
	display:flex;
	align-items:flex-start;
	gap:12px;
	margin-bottom:12px;
}

.znk-mfo-logo{
	width:56px;
	height:56px;
	border-radius:14px;
	border:1px solid var(--znk-border);
	background:#f8fafc;
	display:flex;
	align-items:center;
	justify-content:center;
	overflow:hidden;
	flex:0 0 56px;
}

.znk-mfo-logo img{
	width:100%;
	height:100%;
	object-fit:contain;
	display:block;
}

.znk-mfo-logo-fallback{
	font-size:22px;
	font-weight:800;
	color:var(--znk-primary);
}

.znk-mfo-brand{
	display:flex;
	flex-direction:column;
	align-items:flex-start;
	justify-content:center;
	min-width:0;
	flex:1 1 auto;
}

.znk-mfo-brand-name{
	display:block;
	width:100%;
	font-size:16px;
	line-height:1.2;
	font-weight:800;
	margin:0 0 4px;
	color:var(--znk-text);
}

.znk-mfo-brand small{
	display:block;
	width:100%;
	font-size:13px;
	line-height:1.4;
	color:#6b7280;
}

.znk-mfo-rating{
	display:inline-flex;
	align-items:center;
	padding:8px 12px;
	border-radius:999px;
	background:#f8fafc;
	border:1px solid var(--znk-border);
	font-size:14px;
	font-weight:700;
	color:var(--znk-text);
	margin-bottom:12px;
}

.znk-mfo-stats{
	display:grid;
	gap:10px;
	margin-bottom:14px;
}

.znk-mfo-stat{
	background:#f8fafc;
	border:1px solid #eef2f7;
	border-radius:14px;
	padding:11px 13px;
}

.znk-mfo-stat-label{
	display:block;
	font-size:12px;
	font-weight:600;
	text-transform:uppercase;
	letter-spacing:.04em;
	color:#6b7280;
	margin-bottom:4px;
}

.znk-mfo-stat-value{
	display:block;
	font-size:16px;
	line-height:1.35;
	font-weight:800;
	color:var(--znk-text);
}

.znk-mfo-note{
	font-size:14px;
	line-height:1.55;
	color:#475569;
	margin-bottom:14px;
}

.znk-mfo-actions{
	margin-top:auto;
}

.znk-mfo-button{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	width:100%;
	padding:14px 18px;
	border-radius:14px;
	background:linear-gradient(135deg,#0ea5e9 0%,#2563eb 100%);
	color:#fff !important;
	text-decoration:none !important;
	font-size:16px;
	font-weight:800;
	box-shadow:0 10px 24px rgba(37,99,235,.22);
	transition:transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.znk-mfo-button:hover{
	transform:translateY(-1px);
	box-shadow:0 14px 28px rgba(37,99,235,.28);
	opacity:.96;
	color:#fff !important;
}

.znk-seo-block{
	margin:0;
	color:var(--znk-text);
}

.znk-seo-block h1{
	font-size:28px;
	line-height:1.15;
	margin:0 0 16px;
	font-weight:800;
	color:var(--znk-text);
}

.znk-seo-block h2{
	font-size:24px;
	line-height:1.2;
	margin:32px 0 20px;
	font-weight:800;
	color:var(--znk-text);
}

.znk-seo-lead{
	font-size:18px;
	line-height:1.7;
	color:#4b5563;
	margin-bottom:24px;
	max-width:900px;
}

.znk-seo-lead p,
.znk-bottom-text p{
	margin:0 0 16px;
}

.znk-seo-lead ul,
.znk-seo-lead ol,
.znk-bottom-text ul,
.znk-bottom-text ol{
	margin:0 0 16px 22px;
	padding:0;
}

.znk-seo-lead li,
.znk-bottom-text li{
	margin-bottom:8px;
}

.znk-bottom-text{
	margin-top:24px;
	font-size:17px;
	line-height:1.8;
	color:#374151;
}

.znk-pagination{
	margin-top:32px;
}

.znk-pagination .nav-links{
	display:flex;
	flex-wrap:wrap;
	gap:8px;
}

.znk-pagination .page-numbers{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	min-width:42px;
	height:42px;
	padding:0 14px;
	border-radius:12px;
	border:1px solid var(--znk-border);
	background:#fff;
	color:var(--znk-text);
	text-decoration:none;
	font-weight:700;
}

.znk-pagination .page-numbers.current{
	background:var(--znk-primary);
	border-color:var(--znk-primary);
	color:#fff;
}

.znk-post-list{
	display:grid;
	gap:18px;
}

.znk-post-card__title{
	margin:0 0 14px;
	font-size:28px;
	line-height:1.2;
	font-weight:800;
}

.znk-post-card__title a{
	color:var(--znk-text);
}

.znk-post-card__title a:hover{
	color:var(--znk-primary);
}

.znk-breadcrumbs{
	display:flex;
	align-items:center;
	flex-wrap:wrap;
	gap:8px;
	margin:0 0 18px;
	font-size:14px;
	line-height:1.4;
	font-weight:700;
}

.znk-breadcrumbs__home{
	display:inline-flex;
	align-items:center;
	padding:8px 12px;
	border-radius:999px;
	background:#eff6ff;
	color:var(--znk-primary);
	text-decoration:none;
}

.znk-breadcrumbs__home:hover{
	background:#dbeafe;
	color:var(--znk-primary);
}

.znk-breadcrumbs__sep{
	color:#94a3b8;
	font-weight:700;
}

.znk-breadcrumbs__current{
	display:inline-flex;
	align-items:center;
	padding:8px 12px;
	border-radius:999px;
	background:#f8fafc;
	color:#475569;
	border:1px solid var(--znk-border);
}

@media (max-width: 991px){
	.znk-header__inner{
		flex-direction:column;
		align-items:flex-start;
		padding:14px 0;
	}

	.znk-nav{
		margin-left:0;
		width:100%;
	}

	.znk-nav .menu{
		flex-wrap:wrap;
	}
}

@media (max-width: 767px){
	.site-main{
		padding:24px 0 40px;
	}

	.znk-brand__name{
		font-size:20px;
	}

	.znk-nav .menu{
		gap:8px;
	}

	.znk-nav .menu-item a{
		padding:10px 14px;
		font-size:14px;
	}

	.znk-page-card{
		padding:20px;
		border-radius:18px;
	}

	.entry-content h2,
	.entry-summary h2{
		font-size:24px;
	}

	.entry-content h3,
	.entry-summary h3{
		font-size:22px;
	}

	.znk-home-hero__title,
	.znk-mfo-catalog-intro__title,
	.znk-seo-block h1{
		font-size:28px;
	}

	.znk-home-hero__desc,
	.znk-mfo-catalog-intro__desc,
	.znk-seo-lead{
		font-size:16px;
		line-height:1.7;
	}

	.znk-seo-block h2{
		font-size:24px;
	}

	.znk-mfo-card{
		padding:16px;
		border-radius:18px;
	}

	.znk-mfo-brand-name{
		font-size:16px;
	}

	.znk-post-card__title{
		font-size:24px;
	}

	.znk-bottom-text{
		font-size:16px;
		line-height:1.7;
	}

	.znk-footer__top{
		padding:16px 0 10px;
	}

	.znk-footer__nav .znk-footer-menu{
		gap:6px 14px;
	}

	.znk-footer__nav .znk-footer-menu a{
		font-size:13px;
		line-height:1.7;
	}

	.znk-footer__bottom{
		padding:14px 0 22px;
	}

	.znk-footer__copy{
		font-size:13px;
		line-height:1.75;
	}
}

@media (max-width: 991px){
	.znk-header{
		position:sticky;
		top:0;
	}

	.znk-header .znk-container{
		padding-left:16px;
		padding-right:16px;
	}

	.znk-header__inner{
		display:grid !important;
		grid-template-columns:minmax(0,1fr) 44px;
		align-items:center;
		column-gap:12px;
		row-gap:0;
		min-height:64px;
		padding:10px 0 !important;
		position:relative;
	}

	.znk-brand{
		display:flex;
		align-items:center;
		gap:10px;
		min-width:0;
		width:100%;
	}

	.znk-brand__logo{
		display:flex;
		align-items:center;
		justify-content:center;
		flex:0 0 auto;
	}

	.znk-brand__logo img{
		display:block;
		width:auto;
		max-width:none;
		max-height:34px;
	}

	.znk-brand__text{
		display:flex;
		flex-direction:column;
		justify-content:center;
		min-width:0;
		gap:0;
	}

	.znk-brand__name{
		display:block;
		margin:0;
		font-size:17px;
		line-height:1.15;
		font-weight:800;
		white-space:nowrap;
		overflow:hidden;
		text-overflow:ellipsis;
	}

	.znk-brand__tagline{
		display:none !important;
	}

	.znk-burger{
		display:inline-flex !important;
		align-items:center;
		justify-content:center;
		width:44px;
		height:44px;
		margin:0 !important;
		padding:0;
		justify-self:end;
		align-self:center;
		position:relative;
		top:auto;
		right:auto;
	}

	.znk-nav{
		display:none;
		position:absolute;
		top:calc(100% + 8px);
		left:0;
		right:0;
		width:100%;
		margin:0;
		padding:0 16px;
		z-index:60;
	}

	.znk-nav.is-open{
		display:block;
	}

	.znk-nav .menu{
		display:flex;
		flex-direction:column;
		gap:8px;
		margin:0;
		padding:14px;
		list-style:none;
		background:#fff;
		border:1px solid var(--znk-border);
		border-radius:16px;
		box-shadow:var(--znk-shadow);
	}

	.znk-nav .menu-item a{
		display:flex;
		align-items:center;
		justify-content:flex-start;
		width:100%;
		padding:12px 14px;
		border-radius:12px;
		font-size:15px;
		font-weight:700;
		line-height:1.25;
		background:#f8fafc;
		color:var(--znk-text);
	}
}

@media (max-width: 767px){
	.znk-header__inner{
		grid-template-columns:minmax(0,1fr) 42px;
		min-height:60px;
		padding:8px 0 !important;
		column-gap:10px;
	}

	.znk-brand{
		gap:8px;
	}

	.znk-brand__logo img{
		max-height:32px;
	}

	.znk-brand__name{
		font-size:16px;
		line-height:1.1;
	}

	.znk-burger{
		width:42px;
		height:42px;
		border-radius:12px;
	}
}

.znk-service-page{
	padding:32px;
}

.znk-service-page__header{
	margin-bottom:20px;
}

.znk-service-page__title{
	margin:0;
	font-size:32px;
	line-height:1.15;
	font-weight:800;
	color:var(--znk-text);
}

.znk-service-page__content{
	color:#334155;
}

.znk-service-page__content > *:first-child{
	margin-top:0;
}

.znk-service-page__content p{
	margin:0 0 18px;
}

.znk-service-page__content ul,
.znk-service-page__content ol{
	margin:0 0 18px 22px;
	padding:0;
}

.znk-service-page__content li{
	margin-bottom:8px;
}

.znk-service-page__content h2{
	font-size:26px;
	line-height:1.2;
	margin:30px 0 14px;
	font-weight:800;
	color:var(--znk-text);
}

.znk-service-page__content h3{
	font-size:22px;
	line-height:1.25;
	margin:24px 0 12px;
	font-weight:800;
	color:var(--znk-text);
}

.znk-service-page__comments{
	margin-top:28px;
	padding-top:24px;
	border-top:1px solid var(--znk-border);
}

@media (max-width: 767px){
	.znk-service-page{
		padding:22px 18px;
	}

	.znk-service-page__title{
		font-size:26px;
		line-height:1.2;
	}

	.znk-service-page__content h2{
		font-size:22px;
	}

	.znk-service-page__content h3{
		font-size:19px;
	}
}

.znk-sitemap-page{
	padding:32px;
}

.znk-sitemap-page__header{
	margin-bottom:28px;
}

.znk-sitemap-page__title{
	margin:0 0 12px;
	font-size:34px;
	line-height:1.12;
	font-weight:800;
	color:var(--znk-text);
}

.znk-sitemap-page__lead{
	max-width:860px;
	font-size:17px;
	line-height:1.75;
	color:#475569;
}

.znk-sitemap-grid{
	display:grid;
	gap:24px;
}

.znk-sitemap-section{
	background:#f8fafc;
	border:1px solid var(--znk-border);
	border-radius:18px;
	padding:22px 22px 18px;
}

.znk-sitemap-section__title{
	margin:0 0 16px;
	font-size:22px;
	line-height:1.2;
	font-weight:800;
	color:var(--znk-text);
}

.znk-sitemap-list{
	list-style:none;
	margin:0;
	padding:0;
	display:grid;
	gap:10px;
}

.znk-sitemap-list--columns{
	grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
	column-gap:18px;
	row-gap:10px;
}

.znk-sitemap-list li{
	margin:0;
	padding:0;
}

.znk-sitemap-list a{
	display:flex;
	align-items:flex-start;
	padding:10px 12px;
	border-radius:12px;
	background:#ffffff;
	border:1px solid #eef2f7;
	color:var(--znk-text);
	font-size:15px;
	font-weight:600;
	line-height:1.4;
	text-decoration:none;
	transition:background .2s ease, border-color .2s ease, transform .2s ease, color .2s ease;
}

.znk-sitemap-list a:hover{
	background:#eff6ff;
	border-color:#bfdbfe;
	color:var(--znk-primary);
	transform:translateY(-1px);
}

@media (max-width: 767px){
	.znk-sitemap-page{
		padding:22px 18px;
	}

	.znk-sitemap-page__title{
		font-size:28px;
		line-height:1.15;
	}

	.znk-sitemap-page__lead{
		font-size:16px;
		line-height:1.7;
	}

	.znk-sitemap-section{
		padding:18px 16px 14px;
		border-radius:16px;
	}

	.znk-sitemap-section__title{
		font-size:20px;
		margin-bottom:14px;
	}

	.znk-sitemap-list--columns{
		grid-template-columns:1fr;
	}
}

/* WP-PostRatings — аккуратный вид без поломки AJAX */
.post-ratings {
	display: inline-block;
	margin-top: 20px;
	line-height: 1.3;
	vertical-align: middle;
}

.post-ratings img {
	display: inline-block !important;
	float: none !important;
	width: 18px;
	height: 18px;
	margin: 0 2px 0 0 !important;
	vertical-align: middle;
	max-width: none !important;
	border: 0;
	box-shadow: none;
}

.post-ratings-text {
	display: inline;
	margin-left: 8px;
	font-size: 16px;
	line-height: 1.5;
	color: #1f2937;
	vertical-align: middle;
}

/* Loading-блок по умолчанию скрыт, но НЕ через !important,
   чтобы плагин мог показать его сам во время AJAX-запроса */
.post-ratings-loading {
	display: none;
	margin-top: 8px;
	font-size: 14px;
	line-height: 1.4;
	color: #6b7280;
}

.post-ratings-loading img {
	display: inline-block;
	width: 16px;
	height: 16px;
	margin: 0 6px 0 0;
	vertical-align: middle;
	max-width: none;
	border: 0;
	box-shadow: none;
}

.post-ratings-loading-text {
	display: inline;
	vertical-align: middle;
}

/* Стили для линковки */
.znk-internal-links {
	margin: 32px 0 0;
	padding: 24px;
	background: #f8fafc;
	border: 1px solid #e5e7eb;
	border-radius: 18px;
}

.znk-internal-links__title {
	margin: 0 0 16px;
	font-size: 24px;
	line-height: 1.2;
	color: #0f172a;
}

.znk-internal-links__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.znk-internal-links__item {
	display: block;
	padding: 14px 16px;
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 14px;
	text-decoration: none;
	color: #111827;
	transition: all .2s ease;
}

.znk-internal-links__item:hover {
	border-color: #cbd5e1;
	background: #fdfefe;
	transform: translateY(-1px);
}

.znk-internal-links__item-title {
	display: block;
	font-size: 16px;
	line-height: 1.45;
	font-weight: 600;
}

@media (max-width: 767px) {
	.znk-internal-links__grid {
		grid-template-columns: 1fr;
	}
}