@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ===== DESIGN SYSTEM — blue & white only ===== */
:root {
	--blue-950: #052e4f;
	--blue-900: #0a3d6b;
	--blue-800: #045fa8;
	--blue-700: #0568b8;
	--blue-600: #1a7fd4;
	--blue-500: #3d96e0;
	--blue-200: #b8d9f5;
	--blue-100: #e8f2fb;
	--blue-50: #f4f9fd;
	--white: #ffffff;
	--radius-sm: 10px;
	--radius: 16px;
	--radius-lg: 24px;
	--shadow-sm: 0 1px 3px rgba(4, 95, 168, 0.06);
	--shadow: 0 8px 30px rgba(4, 95, 168, 0.08);
	--shadow-lg: 0 20px 50px rgba(4, 95, 168, 0.12);
	--transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
	font-family: 'Inter', system-ui, -apple-system, sans-serif;
	font-size: 15px;
	line-height: 1.6;
	color: var(--blue-900);
	background: var(--blue-50);
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	-webkit-font-smoothing: antialiased;
}

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

a { color: var(--blue-800); transition: color var(--transition); }
a:hover { color: var(--blue-600); }

/* ===== HEADER ===== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: var(--white);
	box-shadow: var(--shadow-sm);
}

.site-header__container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
}

.site-header__bar {
	border-bottom: 1px solid var(--blue-100);
}

.site-header__bar .site-header__container {
	display: flex;
	align-items: center;
	gap: 24px;
	padding-top: 16px;
	padding-bottom: 16px;
	flex-wrap: wrap;
}

.site-logo {
	flex-shrink: 0;
	line-height: 0;
    padding: 20px;
    background: var(--blue-900);
}

.site-logo img {
	height: 48px;
	width: auto;
	max-width: 200px;
	object-fit: contain;
}

.policy-check {
	flex: 1;
	min-width: 220px;
	max-width: 420px;
}

.policy-check__label {
	display: block;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--blue-600);
	margin-bottom: 6px;
}

.policy-check__row {
	display: flex;
	gap: 8px;
}

.policy-check__input {
	flex: 1;
	border: 1.5px solid var(--blue-200);
	border-radius: var(--radius-sm);
	padding: 10px 14px;
	font-size: 14px;
	color: var(--blue-900);
	background: var(--white);
	transition: border-color var(--transition), box-shadow var(--transition);
    text-transform: uppercase;
}
#osago-drawer-car {text-transform: uppercase}

.policy-check__input:focus {
	outline: none;
	border-color: var(--blue-600);
	box-shadow: 0 0 0 3px rgba(26, 127, 212, 0.15);
}

.policy-check__btn {
	background: var(--blue-800);
	color: var(--white);
	border: 0;
	border-radius: var(--radius-sm);
	padding: 10px 20px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	white-space: nowrap;
	transition: background var(--transition), transform var(--transition);
}

.policy-check__btn:hover {
	background: var(--blue-700);
	transform: translateY(-1px);
}

.osago-drawer {
	width: min(100vw, 420px);
	border-left: 1px solid var(--blue-200);
	box-shadow: var(--shadow-lg);
}

.osago-drawer__header {
	padding: 20px 24px;
	border-bottom: 1px solid var(--blue-100);
	background: var(--blue-50);
}

.osago-drawer__title {
	font-size: 18px;
	font-weight: 700;
	color: var(--blue-900);
}

.osago-drawer__body {
	padding: 24px;
}

.osago-drawer__intro {
	margin: 0 0 20px;
	font-size: 14px;
	color: var(--blue-800);
}

.osago-drawer__form {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.osago-drawer__field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.osago-drawer__label {
	font-size: 13px;
	font-weight: 600;
	color: var(--blue-900);
}

.osago-drawer__required {
	color: var(--blue-600);
}

.osago-drawer__input {
	width: 100%;
	border: 1.5px solid var(--blue-200);
	border-radius: var(--radius-sm);
	padding: 10px 14px;
	font-size: 14px;
	color: var(--blue-900);
	background: var(--white);
	transition: border-color var(--transition), box-shadow var(--transition);
}

.osago-drawer__input:focus {
	outline: none;
	border-color: var(--blue-600);
	box-shadow: 0 0 0 3px rgba(26, 127, 212, 0.15);
}

.osago-drawer__input[readonly] {
	background: var(--blue-50);
	color: var(--blue-800);
}

.osago-drawer__message {
	padding: 12px 14px;
	border-radius: var(--radius-sm);
	font-size: 14px;
}

.osago-drawer__message--success {
	background: #e8f7ee;
	color: #1f6b3f;
	border: 1px solid #b8e6c8;
}

.osago-drawer__message--error {
	background: #fdecec;
	color: #8b1e1e;
	border: 1px solid #f5c2c2;
}

.osago-drawer__submit {
	margin-top: 4px;
	background: var(--blue-800);
	color: var(--white);
	border: 0;
	border-radius: var(--radius-sm);
	padding: 12px 20px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: background var(--transition), transform var(--transition);
}

.osago-drawer__submit:hover:not(:disabled) {
	background: var(--blue-700);
	transform: translateY(-1px);
}

.osago-drawer__submit:disabled {
	opacity: 0.7;
	cursor: wait;
}

.site-phones {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-left: auto;
}

.site-phones__item {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 600;
	color: var(--blue-800);
	text-decoration: none;
	white-space: nowrap;
}

.site-phones__item i {
	color: var(--blue-600);
	font-size: 12px;
}

.site-phones__item:hover {
	color: var(--blue-600);
}

.site-nav-toggle {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 40px;
	height: 40px;
	padding: 8px;
	background: var(--blue-800);
	border: 0;
	border-radius: var(--radius-sm);
	cursor: pointer;
}

.site-nav-toggle span {
	display: block;
	height: 2px;
	background: var(--white);
	border-radius: 1px;
}

/* Navigation */
.site-nav {
	background: var(--blue-800);
}

.site-nav .site-header__container {
	padding-top: 0;
	padding-bottom: 0;
}

.site-nav #nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-nav #nav > li > a {
	display: block;
	padding: 14px 18px;
	color: rgba(255, 255, 255, 0.85);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition: color var(--transition), background var(--transition);
	border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.site-nav #nav > li > a:hover,
.site-nav #nav > li.current-menu-item > a,
.site-nav #nav > li.current-cat > a {
	color: var(--white);
	background: rgba(255, 255, 255, 0.1);
}

.site-nav #nav .sub-menu {
	display: none;
	position: absolute;
	background: var(--blue-900);
	min-width: 200px;
	border-radius: 0 0 var(--radius-sm) var(--radius-sm);
	box-shadow: var(--shadow-lg);
	padding: 8px 0;
	margin: 0;
	list-style: none;
	z-index: 100;
}

.site-nav #nav li { position: relative; }
.site-nav #nav li:hover > .sub-menu { display: block; }

.site-nav #nav .sub-menu a {
	display: block;
	padding: 10px 18px;
	color: rgba(255, 255, 255, 0.85);
	font-size: 13px;
	font-weight: 500;
	text-decoration: none;
	transition: background var(--transition), color var(--transition);
}

.site-nav #nav .sub-menu a:hover {
	background: rgba(255, 255, 255, 0.08);
	color: var(--white);
}

/* ===== MAIN LAYOUT ===== */
.site-main {
	max-width: 1200px;
	margin: 0 auto;
	padding: 32px 24px 48px;
	flex: 1;
	width: 100%;
}

.site-layout {
	margin: 0;
}

#contentwrap {
	background: transparent !important;
	box-shadow: none !important;
	padding: 0 !important;
}

/* ===== CONTENT CARDS ===== */
.content-card,
.post {
	background: var(--white);
	border-radius: var(--radius-lg);
	padding: 32px;
	box-shadow: var(--shadow);
	border: 1px solid var(--blue-100);
	margin-bottom: 24px;
}

.content-card:last-child,
.post:last-child { margin-bottom: 0; }

.title,
.pagetitle {
	font-size: clamp(1.35rem, 2.5vw, 1.75rem);
	font-weight: 800;
	color: var(--blue-900);
	margin: 0 0 16px;
	line-height: 1.25;
	letter-spacing: -0.02em;
}

.title a {
	color: inherit;
	text-decoration: none;
}

.title a:hover { color: var(--blue-600); }

.breadcrumbs {
	font-size: 13px;
	color: var(--blue-600);
	margin-bottom: 20px;
	padding: 12px 16px;
	background: var(--blue-50);
	border-radius: var(--radius-sm);
	border: 1px solid var(--blue-100);
}

.breadcrumbs a {
	color: var(--blue-800);
	font-weight: 600;
	text-decoration: none;
}

.postdate,
.postmeta {
	font-size: 13px;
	color: var(--blue-600);
	margin-bottom: 16px;
	font-weight: 500;
}

.entry {
	font-size: 16px;
	line-height: 1.75;
	color: var(--blue-900);
}

.entry p {
	margin-bottom: 16px;
	color: var(--blue-800);
	opacity: 0.9;
}

.entry > p:first-child {
	font-size: 1.15em;
	font-weight: 700;
	color: var(--blue-900);
	opacity: 1;
}

.entry a {
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-color: var(--blue-200);
}

.entry a:hover {
	text-decoration-color: var(--blue-600);
}

.post_thumbnail {
	border-radius: var(--radius);
	border: 1px solid var(--blue-100);
}

.navigation {
	margin-top: 24px;
	padding-top: 20px;
	border-top: 1px solid var(--blue-100);
}

.navigation a {
	font-weight: 600;
	text-decoration: none;
}

/* ===== SERVICE CARDS ===== */
.services-section { margin-bottom: 32px; }

.services-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.service-card {
	display: flex;
	flex-direction: column;
	background: var(--white);
	border-radius: var(--radius-lg);
	overflow: hidden;
	border: 1px solid var(--blue-100);
	box-shadow: var(--shadow-sm);
	text-decoration: none !important;
	transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
	animation: fadeUp 0.5s ease backwards;
	animation-delay: var(--delay, 0s);
}

@keyframes fadeUp {
	from { opacity: 0; transform: translateY(16px); }
	to { opacity: 1; transform: translateY(0); }
}

.service-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-lg);
	border-color: var(--blue-200);
}

.service-card__media {
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--blue-100);
}

.service-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.service-card:hover .service-card__media img {
	transform: scale(1.05);
}

.service-card__body {
	padding: 18px 20px 20px;
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.service-card__title {
	font-size: 14px;
	font-weight: 700;
	color: var(--blue-900);
	margin: 0;
	line-height: 1.35;
}

.service-card__link {
	font-size: 13px;
	font-weight: 600;
	color: var(--blue-600);
	margin-top: auto;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.service-card__link i {
	transition: transform var(--transition);
}

.service-card:hover .service-card__link i {
	transform: translateX(4px);
}

/* ===== SIDEBAR WIDGETS ===== */
.widget {
	background: var(--white);
	border-radius: var(--radius-lg);
	border: 1px solid var(--blue-100);
	box-shadow: var(--shadow-sm);
	margin-bottom: 20px;
	overflow: hidden;
}

.widget--accent {
	background: var(--blue-800);
	border-color: var(--blue-800);
}

.widget__title {
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--blue-600);
	margin: 0;
	padding: 20px 20px 0;
}

.widget--accent .widget__title { color: rgba(255,255,255,0.7); }

.widget__body {
	padding: 16px 20px 20px;
}

.widget__body--center { text-align: center; }

/* Left sidebar — WordPress widgets */
.sidebar-left__widgets {
	list-style: none;
	margin: 0;
	padding: 0;
}

.sidebar-left .widget,
.sidebar-left__widgets > .widget {
	display: block;
	background: var(--white);
	border-radius: var(--radius-lg);
	border: 1px solid var(--blue-100);
	box-shadow: var(--shadow-sm);
	margin-bottom: 20px;
	overflow: hidden;
}

.sidebar-left .widgettitle,
.sidebar-left .widget .widgettitle,
.sidebar-left .widget > h2 {
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--blue-600);
	margin: 0;
	padding: 20px 20px 0;
	border: 0;
	background: none;
	line-height: 1.3;
}

.sidebar-left .widget > ul,
.sidebar-left .widget .menu,
.sidebar-left .widget .wp-block-latest-posts__list {
	list-style: none;
	margin: 0;
	padding: 16px 20px 20px;
}

.sidebar-left .widget .textwidget,
.sidebar-left .widget .wp-block-latest-posts {
	padding: 16px 20px 20px;
}

.sidebar-left .widget > ul li,
.sidebar-left .widget .menu li,
.sidebar-left .widget .wp-block-latest-posts__list li {
	list-style: none;
	padding: 14px 0;
	border-bottom: 1px solid var(--blue-100);
	margin: 0;
}

.sidebar-left .widget > ul li:last-child,
.sidebar-left .widget .menu li:last-child,
.sidebar-left .widget .wp-block-latest-posts__list li:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.sidebar-left .widget > ul li:first-child,
.sidebar-left .widget .wp-block-latest-posts__list li:first-child {
	padding-top: 0;
}

.sidebar-left .widget a {
	display: block;
	font-size: 14px;
	font-weight: 400;
	color: var(--blue-900);
	text-decoration: none;
	line-height: 1.45;
	letter-spacing: 0;
}

.sidebar-left .widget a:hover {
	color: var(--blue-600);
	text-decoration: none;
}

.sidebar-left .widget .post-date,
.sidebar-left .widget time,
.sidebar-left .widget .wp-block-latest-posts__post-date,
.sidebar-left .widget > ul li > span,
.sidebar-left .widget .wp-block-latest-posts__list li > span {
	display: inline-block;
	margin-top: 8px;
	font-size: 11px;
	font-weight: 700;
	color: var(--blue-600);
	background: var(--blue-50);
	padding: 4px 10px;
	border-radius: 20px;
	line-height: 1.3;
	text-decoration: none;
}

.sidebar-left .widget p {
	margin: 0 0 10px;
	font-size: 13px;
	line-height: 1.5;
	color: var(--blue-800);
}

.sidebar-left .widget p:last-child {
	margin-bottom: 0;
}

/* News feed */
.news-feed {
	list-style: none;
	margin: 0;
	padding: 0;
}

.news-feed__item {
	padding: 16px 0;
	border-bottom: 1px solid var(--blue-100);
}

.news-feed__item:last-child { border-bottom: 0; padding-bottom: 0; }

.news-feed__date {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	color: var(--blue-600);
	background: var(--blue-50);
	padding: 4px 10px;
	border-radius: 20px;
	margin-bottom: 10px;
}

.news-feed__thumb {
	display: block;
	margin-bottom: 10px;
	border-radius: var(--radius-sm);
	overflow: hidden;
}

.news-feed__thumb img {
	width: 100%;
	border-radius: var(--radius-sm);
}

.news-feed__title {
	display: block;
	font-size: 14px;
	font-weight: 700;
	color: var(--blue-900);
	text-decoration: none;
	line-height: 1.4;
	margin-bottom: 6px;
}

.news-feed__title:hover { color: var(--blue-600); }

.news-feed__excerpt {
	font-size: 13px;
	color: var(--blue-600);
	margin: 0;
	line-height: 1.5;
	opacity: 0.85;
}

/* Calculator */
.calc-list { display: flex; flex-direction: column; gap: 8px; }

.btn-primary {
	background: var(--blue-800) !important;
	border-color: var(--blue-800) !important;
	border-radius: var(--radius-sm) !important;
	font-weight: 600 !important;
	padding: 12px 16px !important;
}

.btn-primary:hover {
	background: var(--blue-700) !important;
	border-color: var(--blue-700) !important;
}

.calc-link {
	display: block;
	padding: 12px 16px;
	border: 1.5px solid var(--blue-100);
	border-radius: var(--radius-sm);
	font-size: 14px;
	font-weight: 600;
	color: var(--blue-800);
	text-decoration: none;
	text-align: center;
	transition: all var(--transition);
}

.calc-link:hover {
	background: var(--blue-50);
	border-color: var(--blue-200);
	color: var(--blue-700);
}

/* Hotline */
.hotline { text-align: center; color: var(--white); }

.hotline__icon {
	font-size: 2rem;
	opacity: 0.9;
	margin-bottom: 8px;
	display: block;
}

.hotline__text {
	font-size: 14px;
	opacity: 0.9;
	margin-bottom: 16px;
	line-height: 1.5;
}

.btn-outline-light {
	border-color: rgba(255,255,255,0.5) !important;
	color: var(--white) !important;
	border-radius: var(--radius-sm) !important;
}

.btn-outline-light:hover {
	background: rgba(255,255,255,0.15) !important;
}

.hotline__number small {
	display: block;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	opacity: 0.8;
	margin-bottom: 4px;
}

.hotline__number a {
	display: block;
	font-size: 1.5rem;
	font-weight: 800;
	color: var(--white) !important;
	text-decoration: none;
	letter-spacing: -0.02em;
}

/* ===== FOOTER ===== */
.site-footer {
	background: var(--blue-900);
	color: rgba(255, 255, 255, 0.8);
	padding: 40px 24px 32px;
	margin-top: auto;
}

.site-footer__nav #footer-nav,
.site-footer__nav #nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 24px;
	margin: 0 0 24px;
	padding: 0;
	list-style: none;
}

.site-footer__nav a {
	color: rgba(255, 255, 255, 0.75);
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	transition: color var(--transition);
}

.site-footer__nav a:hover { color: var(--white); }

.site-footer__copy {
	text-align: center;
	font-size: 13px;
	opacity: 0.6;
}

.site-footer__copy a {
	color: var(--white);
	font-weight: 600;
	text-decoration: none;
}

/* ===== FORMS ===== */
#searchform input,
#commentform input,
#commentform textarea,
.wpcf7-form input,
.wpcf7-form textarea,
.wpcf7-form select {
	border: 1.5px solid var(--blue-200);
	border-radius: var(--radius-sm);
	padding: 10px 14px;
	font-size: 14px;
	width: 100%;
	max-width: 100%;
	transition: border-color var(--transition), box-shadow var(--transition);
}

#searchform input:focus,
#commentform input:focus,
#commentform textarea:focus {
	outline: none;
	border-color: var(--blue-600);
	box-shadow: 0 0 0 3px rgba(26, 127, 212, 0.15);
}

#commentform #submit,
input[type="submit"] {
	background: var(--blue-800);
	color: var(--white);
	border: 0;
	border-radius: var(--radius-sm);
	padding: 10px 24px;
	font-weight: 600;
	cursor: pointer;
}

#search { border: 0; background: transparent; padding: 0; height: auto; }

/* ===== TABLES & PAGINATION ===== */
.entry-table-block {
	margin: 1.25em 0;
}

.entry-table-toolbar {
	display: flex;
	justify-content: flex-end;
	margin-bottom: 6px;
}

.entry-table-expand {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	border: 1px solid var(--blue-200);
	border-radius: var(--radius-sm);
	background: var(--white);
	color: var(--blue-800);
	padding: 5px 10px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.entry-table-expand:hover {
	background: var(--blue-50);
	border-color: var(--blue-600);
	color: var(--blue-900);
}

.entry-table-expand .bi {
	font-size: 13px;
}

.entry-table-wrap {
	overflow-x: auto;
	max-width: 100%;
	border: 1px solid var(--blue-100);
	border-radius: var(--radius-sm);
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
}

.entry-table-wrap table,
.entry table {
	width: max-content;
	min-width: 100%;
	border-collapse: collapse;
	border: 0;
	border-radius: 0;
	overflow: visible;
}

.entry-table-wrap table th,
.entry-table-wrap table td {
	padding: 4px 6px;
	font-size: 12px;
	line-height: 1.25;
	white-space: nowrap;
	vertical-align: top;
}

.entry table th {
	background: var(--blue-800);
	color: var(--white);
	padding: 5px 6px;
	font-size: 12px;
	font-weight: 600;
	white-space: nowrap;
	vertical-align: top;
}

.entry table td {
	padding: 4px 6px;
	font-size: 12px;
	line-height: 1.25;
	border-bottom: 1px solid var(--blue-100);
	white-space: nowrap;
	vertical-align: top;
}

.entry-table-wrap table th {
	background: var(--blue-800);
	color: var(--white);
	font-weight: 600;
}

.entry-table-wrap table td {
	border-bottom: 1px solid var(--blue-100);
}

.entry-table-modal__dialog {
	max-width: min(96vw, 1140px);
	margin: 1rem auto;
}

.entry-table-modal__content {
	border: 1px solid var(--blue-200);
	border-radius: var(--radius-sm);
	box-shadow: var(--shadow-lg);
	overflow: hidden;
}

.entry-table-modal__header {
	padding: 16px 20px;
	border-bottom: 1px solid var(--blue-100);
	background: var(--blue-50);
}

.entry-table-modal__title {
	font-size: 17px;
	font-weight: 700;
	color: var(--blue-900);
	padding-right: 12px;
}

.entry-table-modal__body {
	padding: 0;
	overflow: hidden;
}

.entry-table-modal__scroll {
	overflow: auto;
	max-height: calc(100vh - 140px);
	padding: 16px 20px 24px;
	-webkit-overflow-scrolling: touch;
}

.entry-table-modal__scroll table {
	width: max-content;
	min-width: 100%;
	border-collapse: collapse;
	border: 1px solid var(--blue-100);
	border-radius: var(--radius-sm);
	overflow: hidden;
}

.entry-table-modal__scroll table th {
	background: var(--blue-800);
	color: var(--white);
	padding: 10px 12px;
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
	vertical-align: top;
}

.entry-table-modal__scroll table td {
	padding: 8px 12px;
	font-size: 13px;
	line-height: 1.35;
	border-bottom: 1px solid var(--blue-100);
	white-space: nowrap;
	vertical-align: top;
}

.wp-pagenavi a,
.wp-pagenavi span {
	border-radius: var(--radius-sm) !important;
	padding: 8px 14px !important;
	font-weight: 600 !important;
	border: 1px solid var(--blue-100) !important;
}

.wp-pagenavi span.current {
	background: var(--blue-800) !important;
	color: var(--white) !important;
	border-color: var(--blue-800) !important;
}

/* ===== COMMENTS ===== */
.commentlist li {
	background: var(--white);
	border: 1px solid var(--blue-100);
	border-radius: var(--radius);
	padding: 20px;
	margin-bottom: 12px;
}

#comments h3 {
	font-size: 1.25rem;
	font-weight: 800;
	color: var(--blue-900);
	margin-bottom: 20px;
}

.page-header {
	padding: 24px 32px;
	margin-bottom: 20px;
}

.page-header .pagetitle {
	margin: 0;
}

/* Legacy overrides */
#container,
.site-main {
	background: transparent !important;
	box-shadow: none !important;
}

.sub-menu { display: none; }
.site-nav #nav li:hover > .sub-menu { display: block; }

.edit-link a {
	font-size: 13px;
	color: var(--blue-600);
}

@media (max-width: 991.98px) {
	.services-grid { grid-template-columns: repeat(2, 1fr); }

	.site-phones { display: none; }

	.site-header__bar .site-header__container {
		justify-content: space-between;
		align-items: center;
		gap: 12px;
	}

	.site-logo {
		order: 1;
		padding: 12px 16px;
	}

	.site-nav-toggle {
		order: 2;
		margin-left: auto;
	}

	.policy-check {
		max-width: none;
		flex: 1 1 100%;
		width: 100%;
		min-width: 0;
		order: 3;
	}

	.sidebar .widget:last-child {
		margin-bottom: 0;
	}

	.site-nav #nav {
		flex-direction: column;
		align-items: stretch;
		padding: 12px 0;
	}

	.site-nav #nav > li > a {
		border-radius: var(--radius-sm);
		padding: 12px 16px;
	}

	.site-nav #nav .sub-menu {
		position: static;
		box-shadow: none;
		background: rgba(0,0,0,0.15);
		border-radius: var(--radius-sm);
		margin: 4px 0 8px 12px;
	}
}

@media (max-width: 575.98px) {
	.site-main { padding: 20px 16px 32px; }

	.services-grid { grid-template-columns: 1fr; gap: 16px; }

	.content-card, .post { padding: 24px 20px; }

	.site-header__container { padding: 0 16px; }

	.site-logo img { height: 40px; }

	.policy-check__row {
		flex-direction: column;
	}

	.policy-check__btn {
		width: 100%;
	}

	.sidebar-left .widget a {
		font-size: 15px;
	}
}
