/* LO — новое оформление поверх Blocksy: графит + золото. Палитра перекрывает инлайн Blocksy (грузимся после ct-main-styles). */

:root {
	--theme-palette-color-1: #946512; /* акцент: ссылки, кнопки (контраст на белом 5:1) */
	--theme-palette-color-2: #7a520d; /* наведение */
	--theme-palette-color-3: #33373b; /* текст */
	--theme-palette-color-4: #121417; /* заголовки */
	--theme-palette-color-5: #e3dfd6; /* рамки */
	--theme-palette-color-6: #f3f1ec; /* мягкий фон */
	--theme-palette-color-7: #f7f6f2; /* фон сайта */
	--theme-palette-color-8: #ffffff;
	--lo-dark: #121417;
	--lo-dark-2: #1c1f23;
	--lo-on-dark: #e9e5dc;
	--lo-gold-light: #e0b04f;
}

h1, h2, h3, h4 { letter-spacing: -.01em; }

/* ---------- Шапка: графит, светлое меню, золото при наведении ---------- */
html [data-header*="type-1"] .ct-header [data-row*="middle"] {
	background-color: var(--lo-dark);
	--theme-text-color: var(--lo-on-dark);
	--theme-link-initial-color: var(--lo-on-dark);
	--theme-link-hover-color: var(--lo-gold-light);
	--theme-icon-color: var(--lo-on-dark);
	--theme-icon-hover-color: var(--lo-gold-light);
}
html [data-header*="type-1"] .ct-header [data-id="logo"] .site-title {
	--theme-link-initial-color: #fff;
	--theme-link-hover-color: var(--lo-gold-light);
}
html [data-header*="type-1"] .ct-header [data-id="menu"] > ul > li > a {
	--theme-link-initial-color: var(--lo-on-dark);
	--theme-link-hover-color: var(--lo-gold-light);
	--theme-link-active-color: var(--lo-gold-light);
}
html [data-header*="type-1"] .ct-header [data-id="menu"] .sub-menu {
	--dropdown-background-color: var(--lo-dark-2);
	background-color: var(--lo-dark-2);
}

/* ---------- Карточки блога ---------- */
.entries[data-cards="boxed"] .entry-card {
	border: 1px solid var(--theme-palette-color-5);
	border-radius: 14px;
	overflow: hidden;
	transition: transform .2s, box-shadow .2s, border-color .2s;
}
.entries[data-cards="boxed"] .entry-card:hover {
	transform: translateY(-3px);
	border-color: transparent;
	box-shadow: 0 14px 34px rgba(18, 20, 23, .1);
}
.entry-card .entry-meta .meta-categories a {
	color: var(--theme-palette-color-1);
}

/* ---------- Кнопки ---------- */
:root {
	--theme-button-border-radius: 999px;
}

/* ---------- Подвал: графит ---------- */
html [data-footer*="type-1"] .ct-footer {
	background-color: var(--lo-dark);
	color: var(--lo-on-dark);
	--theme-text-color: var(--lo-on-dark);
	--theme-link-initial-color: var(--lo-on-dark);
	--theme-link-hover-color: var(--lo-gold-light);
	--theme-heading-color: #fff;
}
.ct-footer h1, .ct-footer h2, .ct-footer h3, .ct-footer h4, .ct-footer .widget-title { color: #fff; }
