/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */

/* ── Adaptive sticky header ──
   Blocksy's sticky row background points at palette colour 8, which is
   undefined, leaving the bar transparent. Give it a frosted background and
   flip the scheme via html.kmd-over-dark (toggled by JS in functions.php)
   so the bar stays legible over both light and navy sections. */
[data-header*="type-1"] .ct-header [data-sticky*="yes"] [data-row*="middle"] {
	--height: 70px;
	background-color: rgba(255, 255, 255, 0.94) !important;
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	box-shadow: 0 1px 14px rgba(10, 35, 66, 0.12);
	transition: background-color 0.25s ease;
}
html.kmd-over-dark [data-header*="type-1"] .ct-header [data-sticky*="yes"] [data-row*="middle"] {
	background-color: rgba(7, 26, 51, 0.92) !important;
	box-shadow: 0 1px 14px rgba(0, 0, 0, 0.35);
}
html.kmd-over-dark [data-header*="type-1"] .ct-header [data-sticky*="yes"] [data-id="menu"] > ul > li > a {
	--theme-link-initial-color: #ffffff;
	--theme-link-hover-color: #C0C0C0;
	--theme-link-active-color: #C0C0C0;
}

/* ── Blog byline (E-E-A-T: author credentials + review date) ── */
.kmd-byline {
	font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
	font-size: 0.85rem;
	color: #5a6572;
	border-left: 3px solid #C0C0C0;
	padding: 6px 0 6px 14px;
	margin: 0 0 28px;
}
.kmd-byline a {
	color: #0A2342;
	font-weight: 600;
	text-decoration: none;
}
.kmd-byline a:hover {
	text-decoration: underline;
}
.kmd-byline-sep {
	margin: 0 4px;
	opacity: 0.6;
}

/* ── Important Information (regulatory small print) ──
   One shared design for the disclaimer band that closes each page.
   Deliberately prominent: FCA guidance requires risk warnings to be
   conspicuous, so this is styled as a signature brand moment, not fine print. */
.kmd-imp-info {
	background: linear-gradient(180deg, #0A2342 0%, #071A33 100%);
	border-top: 1px solid rgba(192, 192, 192, 0.55);
	padding: 60px 24px 68px;
}
.kmd-imp-info-inner {
	max-width: 1100px;
	margin: 0 auto;
}
.kmd-imp-info-title {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
	font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
	font-size: 0.92rem;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: #C0C0C0;
	margin: 0 0 30px;
	text-align: center;
}
.kmd-imp-info-title::before,
.kmd-imp-info-title::after {
	content: "";
	height: 1px;
	flex: 0 1 90px;
}
.kmd-imp-info-title::before {
	background: linear-gradient(to left, rgba(192, 192, 192, 0.7), transparent);
}
.kmd-imp-info-title::after {
	background: linear-gradient(to right, rgba(192, 192, 192, 0.7), transparent);
}
.kmd-imp-info-cols {
	columns: 2 380px;
	column-gap: 64px;
	column-rule: 1px solid rgba(255, 255, 255, 0.12);
}
.kmd-imp-info-cols p {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 0.93rem;
	line-height: 1.75;
	color: #C9D4E3;
	margin: 0 0 14px;
	break-inside: avoid;
}
.kmd-imp-info-cols p:last-child {
	margin-bottom: 0;
}
/* FCA statement: pulled out of the columns, full-width and unmissable */
.kmd-imp-info-fca {
	column-span: all;
	text-align: center;
	font-family: "Inter", "Helvetica Neue", Arial, sans-serif !important;
	font-size: 0.85rem !important;
	font-weight: 600;
	letter-spacing: 0.06em;
	color: #ffffff !important;
	background: rgba(255, 255, 255, 0.045);
	border: 1px solid rgba(192, 192, 192, 0.35);
	border-radius: 6px;
	padding: 16px 22px;
	margin: 26px 0 0 !important;
}