/*
Theme Name: nuzzavitinsk
Author: Generated from static layout
*/

:root {
	--blue:#0b6a9e;
	--blue-dark:#084366;
	--light:#f4f7fb;
	--muted:#5f6b73;
	--text:#1f2a30;
	--card:#ffffff;
	--shadow:0 8px 28px rgba(12, 53, 83, 0.12);
	--radius:14px;
}

* {
	box-sizing:border-box;
}

body {
	margin:0;
	font-family:"Segoe UI",Arial,sans-serif;
	color:var(--text);
	background:#fff;
	line-height:1.6;
}

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

a:hover {
	text-decoration:underline;
}

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

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

.site-header {
	background:var(--blue);
	color:#fff;
	position:sticky;
	top:0;
	z-index:10;
	box-shadow:0 6px 16px rgba(0,0,0,0.08);
}

.topbar {
	display:flex;
	align-items:center;
	justify-content:space-between;
	padding:12px 5vw;
	gap:16px;
	font-size:14px;
}

.brand {
	font-weight:700;
	font-size:18px;
	letter-spacing:0.2px;
}

.brand a {
	color:#fff;
}

.contacts {
	display:flex;
	gap:16px;
	flex-wrap:wrap;
	color:#e9f4ff;
}

nav {
	background:var(--blue-dark);
	position:relative;
}

.nav-inner {
	display:flex;
	align-items:center;
	justify-content:space-between;
	padding:0 5vw;
}

.nav-toggle {
	display:none;
	align-items:center;
	justify-content:center;
	width:44px;
	height:44px;
	background:transparent;
	border:1px solid rgba(255,255,255,0.35);
	border-radius:10px;
	color:#fff;
	cursor:pointer;
}

.nav-toggle:focus-visible {
	outline:2px solid #fff;
	outline-offset:2px;
}

.main-menu {
	margin:0;
	padding:0;
	list-style:none;
	display:flex;
	gap:18px;
	overflow-x:auto;
}

.main-menu li {
	flex:0 0 auto;
}

.main-menu a {
	display:block;
	padding:12px 0;
	color:#e9f4ff;
	font-weight:600;
	white-space:nowrap;
}

.main-menu a:hover {
	opacity:0.85;
}

.hero {
	padding:42px 5vw 36px;
	background:linear-gradient(135deg, rgba(11,106,158,0.16), rgba(8,67,102,0.35)), url("images/hero.svg") center/cover no-repeat;
	color:#fff;
	display:grid;
	grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
	gap:24px;
	align-items:center;
}

.hero-content {
	display:grid;
	gap:14px;
}

.badge {
	display:inline-flex;
	align-items:center;
	gap:8px;
	background:rgba(255,255,255,0.16);
	color:#fff;
	padding:6px 12px;
	border-radius:999px;
	font-size:12px;
	font-weight:700;
	letter-spacing:0.3px;
}

.hero h1 {
	margin:0;
	font-size:32px;
}

.hero p {
	margin:0;
	color:#f1f6fb;
	max-width:720px;
}

.hero-actions {
	display:flex;
	gap:12px;
	flex-wrap:wrap;
}

.btn {
	display:inline-flex;
	align-items:center;
	justify-content:center;
	gap:8px;
	padding:12px 18px;
	border-radius:12px;
	border:1px solid transparent;
	font-weight:700;
	cursor:pointer;
	transition:transform .16s ease, box-shadow .16s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

.btn-primary {
	background:#fff;
	color:var(--blue-dark);
	box-shadow:var(--shadow);
}

.btn-primary:hover {
	transform:translateY(-1px);
}

.btn-ghost {
	background:transparent;
	color:#fff;
	border-color:rgba(255,255,255,0.35);
}

.btn-ghost:hover {
	background:rgba(255,255,255,0.1);
}

main {
	padding:36px 5vw 64px;
	display:grid;
	gap:28px;
}

.grid {
	display:grid;
	gap:18px;
	grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
}

.card {
	background:var(--card);
	border:1px solid #e4e9ef;
	border-radius:var(--radius);
	padding:18px;
	box-shadow:0 4px 18px rgba(0,0,0,0.05);
	display:grid;
	gap:10px;
	transition:transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.card:hover {
	transform:translateY(-2px);
	box-shadow:0 12px 28px rgba(0,0,0,0.08);
	border-color:rgba(11,106,158,0.18);
}

.card h3 {
	margin:0;
	font-size:18px;
}

.card p {
	margin:0;
	color:var(--muted);
}

.section-title {
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:12px;
	flex-wrap:wrap;
}

.list {
	display:grid;
	gap:12px;
}

.list-item {
	display:flex;
	gap:12px;
	align-items:flex-start;
	border-bottom:1px solid #e9edf2;
	padding-bottom:12px;
}

.list-item:last-child {
	border-bottom:0;
	padding-bottom:0;
}

.list-item time {
	color:var(--muted);
	font-size:13px;
}

aside {
	background:var(--light);
	padding:18px;
	border-radius:var(--radius);
	border:1px solid #e4e9ef;
	box-shadow:0 2px 12px rgba(0,0,0,0.04);
}

aside h4 {
	margin:0 0 10px;
}

.news-list {
	display:grid;
	gap:16px;
}

.news-item {
	border:1px solid #e4e9ef;
	border-radius:var(--radius);
	padding:18px;
	display:grid;
	gap:8px;
	box-shadow:0 4px 14px rgba(0,0,0,0.05);
	transition:transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.news-item:hover {
	transform:translateY(-2px);
	border-color:rgba(11,106,158,0.2);
	box-shadow:0 12px 26px rgba(0,0,0,0.08);
}

.meta {
	color:var(--muted);
	font-size:13px;
	display:flex;
	gap:14px;
	flex-wrap:wrap;
	margin:0;
}

.filters {
	display:flex;
	gap:10px;
	flex-wrap:wrap;
}

.tag {
	padding:8px 12px;
	border:1px solid #d8e0e8;
	border-radius:999px;
	font-size:14px;
	background:#fff;
	cursor:pointer;
	transition:all .16s ease;
}

.tag:hover {
	border-color:var(--blue);
	color:var(--blue);
}

.tag.active {
	background:rgba(11,106,158,0.12);
	border-color:var(--blue);
	color:var(--blue);
}

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

.page-link {
	display:inline-block;
	padding:8px 12px;
	border:1px solid #d8e0e8;
	border-radius:8px;
	min-width:36px;
	text-align:center;
	transition:all .16s ease;
}

.page-link:hover {
	border-color:var(--blue);
	color:var(--blue);
}

.page-link.is-active {
	background:var(--blue);
	color:#fff;
	border-color:var(--blue);
}

.article {
	background:var(--card);
	border:1px solid #e4e9ef;
	border-radius:var(--radius);
	padding:22px;
	box-shadow:0 6px 20px rgba(0,0,0,0.06);
	display:grid;
	gap:16px;
}

.article h1 {
	margin:0 0 10px;
}

.article p {
	margin:0;
	color:var(--text);
}

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

.article .entry-content > *:last-child {
	margin-bottom:0;
}

.related {
	background:var(--light);
	padding:18px;
	border-radius:var(--radius);
	border:1px solid #e4e9ef;
	display:grid;
	gap:12px;
}

.related h3 {
	margin:0;
}

.comments {
	border:1px dashed #c8d3df;
	padding:16px;
	border-radius:10px;
	color:var(--muted);
}

.layout {
	display:grid;
	gap:24px;
	grid-template-columns:2fr 1fr;
	align-items:start;
}

.main {
	padding:36px 5vw 64px;
	display:grid;
	gap:28px;
}

.content-list {
	display:grid;
	gap:16px;
}

.post-card {
	border:1px solid #e4e9ef;
	border-radius:var(--radius);
	padding:18px;
	box-shadow:0 4px 14px rgba(0,0,0,0.05);
	display:grid;
	gap:10px;
	transition:transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.post-card:hover {
	transform:translateY(-2px);
	border-color:rgba(11,106,158,0.2);
	box-shadow:0 12px 26px rgba(0,0,0,0.08);
}

.site-footer {
	background:#0f1e27;
	color:#dbe2e8;
	padding:24px 5vw;
	margin-top:auto;
}

.footer-inner {
	display:flex;
	align-items:center;
	justify-content:space-between;
	flex-wrap:wrap;
	gap:12px;
}

.nav-bot {
	display:flex;
	gap:12px;
	flex-wrap:wrap;
}

.nav-bot .footer-menu {
	list-style:none;
	display:flex;
	gap:12px;
	margin:0;
	padding:0;
}

.nav-bot a {
	color:#e9f4ff;
}

.copy a {
	color:#e9f4ff;
}

.sr-only {
	position:absolute;
	width:1px;
	height:1px;
	padding:0;
	margin:-1px;
	overflow:hidden;
	clip:rect(0,0,0,0);
	border:0;
}

.reveal {
	opacity:0;
	transform:translateY(14px);
	transition:opacity .35s ease, transform .35s ease;
}

.reveal.visible {
	opacity:1;
	transform:none;
}

.clear {
	clear:both;
}

@media (max-width:900px) {
	.contacts {
		font-size:13px;
	}

	.nav-toggle {
		display:flex;
	}

	.main-menu {
		display:none;
		flex-direction:column;
		padding:12px 0;
		width:100%;
	}

	.main-menu.is-open {
		display:flex;
	}

	.main-menu a {
		padding:10px 0;
	}

	.layout {
		grid-template-columns:1fr;
	}
}

@media (max-width:720px) {
	.hero {
		padding:32px 5vw;
	}

	.hero h1 {
		font-size:26px;
	}

	.footer-inner {
		align-items:flex-start;
	}
}

/* Comments */
.comments_list li {
	padding:15px;
	margin:0 0 15px 0;
	border:1px solid #ddd;
	background:#f8f8f8;
}

.comments_list li li {
	margin:15px 0 0 0;
}

.comments_list li.thread-even,
.comments_list .even {
	background:#fff;
}

.comments_list .alt {
	background:#f8f8f8;
}

.comment_ava {
	float:left;
	padding:0 10px 0 0;
}

.comment_top {
	padding:0 0 10px 0;
}

.comment_a {
	font-weight:bold;
}

.comment_d {
	font-style:italic;
}

.comment_repl {
	text-align:right;
}

#respond {
	padding:15px;
	border:1px solid #ddd;
	background:#eee;
	margin:0 0 15px 0;
}

.comments_list #respond {
	margin:0 15px 15px 15px;
}

#cancel-comment-reply-link {
	display:inline-block;
	margin:0 0 15px 0;
}

/* WP core extras */
.wp-caption {
	box-sizing:border-box;
	max-width:100%;
	border:1px solid #ddd;
	text-align:center;
	background-color:#f3f3f3;
	padding:4px;
	margin:10px;
	border-radius:3px;
}

.wp-caption img {
	max-width:100%;
	height:auto;
	padding:0;
	border:0 none;
}

.wp-caption p.wp-caption-text {
	font-size:11px;
	line-height:17px;
	padding:0 4px 5px;
	margin:0;
}

.wpcf7-not-valid {
	border-color:#ad2929 !important;
	color:#ad2929;
}

#wp-calendar {
	empty-cells:show;
	margin:10px auto 0;
	width:155px;
}

#wp-calendar caption {
	font:bold 1.3em 'Lucida Grande', Verdana, Arial, Sans-Serif;
	text-align:center;
	width:100%;
}

#wp-calendar th {
	font-style:normal;
	text-transform:capitalize;
}

#wp-calendar td {
	padding:3px 0;
	text-align:center;
}

#wp-calendar #prev a, #wp-calendar #next a {
	font-size:9pt;
}

#wp-calendar a {
	text-decoration:none;
	display:block;
}