/* Certrak Regulatory Tracker — front-end styles. v0.6.0
   Reuses the site design tokens from certrak.css (fonts load there). */

/* The Elementor section container provides the horizontal frame (40px),
   exactly like the blog page's ck-s-blogidx, so the shortcode content aligns
   with the page header instead of adding its own inset on top. */
.e-con.ck-s-regmap,
.e-con.ck-s-regchangelog { padding: 10px 40px 80px; }

.ck-reg-map,
.ck-reg-changelog {
	max-width: none;
	margin: 0;
	padding: 0;
	font-family: 'Inter', system-ui, sans-serif;
	color: #4A4A54;
}

/* Top-section vertical rhythm: clear, even breathing room between the
   subhead, the reviewed line, the filter chips and the first group. */
.ck-reg-reviewed-line { margin: 4px 0 0; }
.ck-reg-statuschips { margin: 22px 0 0; }
.ck-reg-map .ck-reg-group:first-of-type .ck-reg-group-title { margin-top: 40px; }

/* --- shared bits --- */

.ck-reg-badge {
	display: inline-block;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .02em;
	padding: 3px 10px;
	border-radius: 99px;
	border: 1px solid rgba(0,0,0,0.12);
	color: #4A4A54;
	background: #fff;
}
.ck-reg-badge-in_force,
.ck-reg-badge-binding { background: #4343AF; border-color: #4343AF; color: #fff; }
.ck-reg-badge-voluntary { background: #EFEFF8; border-color: #D8D8EE; color: #4343AF; }
.ck-reg-badge-proposed { background: #FFF6E8; border-color: #F2E1C2; color: #8A6D1F; }
.ck-reg-badge-consultation { background: #EAF5EF; border-color: #CBE5D6; color: #2E6E4E; }

.ck-reg-source {
	font-size: 14px;
	font-weight: 600;
	color: #4343AF;
	text-decoration: none;
}
.ck-reg-source:hover { text-decoration: underline; }

.ck-reg-applies { font-size: 14px; color: #6E6E7A; margin: 8px 0 0; }
.ck-reg-applies span { font-weight: 600; color: #4A4A54; }

/* --- the map --- */

.ck-reg-reviewed-line {
	font-size: 15px;
	color: #6E6E7A;
	border: 1px solid rgba(0,0,0,0.08);
	border-radius: 10px;
	background: #FAFAFA;
	padding: 10px 16px;
	display: inline-block;
	margin: 0 0 10px;
}
.ck-reg-reviewed-line a { color: #4343AF; font-weight: 600; text-decoration: none; }
.ck-reg-reviewed-line a:hover { text-decoration: underline; }

.ck-reg-group-title {
	font-family: 'Hanken Grotesk', system-ui, sans-serif;
	font-weight: 700;
	letter-spacing: -.02em;
	color: #1A1A1D;
	font-size: 28px;
	margin: 44px 0 18px;
}

.ck-reg-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 26px;
}

.ck-reg-card {
	border: 1px solid rgba(0,0,0,0.08);
	border-radius: 16px;
	background: #fff;
	padding: 22px 24px;
	display: flex;
	flex-direction: column;
	transition: box-shadow .18s ease, transform .18s ease;
}
.ck-reg-card:hover {
	box-shadow: 0 20px 44px -26px rgba(67,67,175,.40);
	transform: translateY(-2px);
}

.ck-reg-card-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 12px;
}
.ck-reg-juris { font-size: 13px; color: #8A8A96; }

.ck-reg-card-title {
	font-family: 'Hanken Grotesk', system-ui, sans-serif;
	font-weight: 700;
	letter-spacing: -.01em;
	color: #1A1A1D;
	font-size: 19px;
	line-height: 1.3;
	margin: 0 0 4px;
}
.ck-reg-card-body-name { font-size: 13px; color: #8A8A96; margin-bottom: 10px; }
.ck-reg-oneliner { font-size: 15px; line-height: 1.55; margin: 0; }

.ck-reg-card-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-top: auto;
	padding-top: 16px;
}
.ck-reg-card-reviewed { font-size: 12.5px; color: #8A8A96; }

.ck-reg-map-foot { margin-top: 40px; }
.ck-reg-changelog-link {
	font-family: 'Hanken Grotesk', system-ui, sans-serif;
	font-weight: 700;
	font-size: 17px;
	color: #4343AF;
	text-decoration: none;
}
.ck-reg-changelog-link:hover { text-decoration: underline; }

/* --- milestones timeline --- */

.ck-reg-timeline { margin: 34px 0 8px; }

.ck-reg-tl {
	list-style: none;
	margin: 0;
	padding: 0 0 0 6px;
	border-left: 2px solid rgba(0,0,0,0.10);
}

.ck-reg-tl li {
	position: relative;
	padding: 0 0 18px 26px;
}

.ck-reg-tl-dot {
	position: absolute;
	left: -8px;
	top: 4px;
	width: 12px;
	height: 12px;
	border-radius: 99px;
	background: #4343AF;
	border: 2px solid #fff;
	box-shadow: 0 0 0 2px #4343AF;
}

.ck-reg-tl-item time {
	display: inline-block;
	font-weight: 700;
	font-size: 14px;
	color: #1A1A1D;
	min-width: 105px;
}

.ck-reg-tl-name {
	font-weight: 600;
	font-size: 15px;
	color: #4343AF;
	text-decoration: none;
	margin-right: 8px;
}
.ck-reg-tl-name:hover { text-decoration: underline; }

.ck-reg-tl-label {
	display: block;
	font-size: 14px;
	color: #6E6E7A;
	margin-left: 105px;
}

.ck-reg-tl-item.is-past time,
.ck-reg-tl-item.is-past .ck-reg-tl-name { color: #8A8A96; }
.ck-reg-tl-item.is-past .ck-reg-tl-dot {
	background: #C9C9D2;
	box-shadow: 0 0 0 2px #C9C9D2;
}

.ck-reg-tl-today { padding-bottom: 18px; }
.ck-reg-tl-today .ck-reg-tl-dot {
	background: #fff;
	box-shadow: 0 0 0 2px #4343AF;
	width: 10px;
	height: 10px;
}
.ck-reg-tl-todaylabel {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #4343AF;
}

/* --- header eyebrow + changelog link (map top section) --- */

.ck-blog-kicker p .ck-reg-eyebrow,
.ck-reg-eyebrow {
	margin-left: 12px;
	color: #8A8A96;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}
.elementor-widget.ck-reg-headlink { margin-top: 14px; }
.ck-reg-textlink {
	color: #4343AF;
	font-weight: 600;
	text-decoration: none;
	font-size: 16px;
}
.ck-reg-textlink:hover { text-decoration: underline; }

/* --- status chips on the map --- */

.ck-reg-statuschips { margin: 28px 0 6px; }
.ck-reg-statuschips .chip { cursor: pointer; font-family: inherit; }

/* --- changelog timeline (unified milestones + updates) --- */

.ck-reg-tl-changelog { margin-top: 8px; }
.ck-reg-tl-changelog li { padding-left: 30px; padding-bottom: 26px; }

.ck-reg-tl-body {
	border: 1px solid rgba(0,0,0,0.08);
	border-radius: 14px;
	background: #fff;
	padding: 16px 20px;
}
.ck-reg-tl-milestone .ck-reg-tl-body {
	background: #FAFAFC;
	border-style: dashed;
}

.ck-reg-tl-head {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	margin-bottom: 6px;
}
.ck-reg-tl-head time { font-weight: 700; font-size: 14px; color: #1A1A1D; }
.ck-reg-tl-source { font-size: 14px; color: #6E6E7A; }
.ck-reg-tl-tag {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #4343AF;
	background: #EFEFF8;
	border-radius: 99px;
	padding: 2px 9px;
}

.ck-reg-tl-milestone .ck-reg-tl-name {
	display: inline-block;
	font-family: 'Hanken Grotesk', system-ui, sans-serif;
	font-weight: 700;
	font-size: 17px;
	margin: 2px 0;
}

.ck-reg-tl-title {
	font-family: 'Hanken Grotesk', system-ui, sans-serif;
	font-weight: 700;
	letter-spacing: -.015em;
	font-size: 20px;
	line-height: 1.3;
	margin: 2px 0 10px;
}
.ck-reg-tl-title a { color: #1A1A1D; text-decoration: none; }
.ck-reg-tl-title a:hover { color: #4343AF; }

.ck-reg-tl-item.is-past .ck-reg-tl-body { opacity: .82; }
.ck-reg-tl-changelog .ck-reg-tl-item.is-past .ck-reg-tl-dot {
	background: #C9C9D2;
	box-shadow: 0 0 0 2px #C9C9D2;
}

/* --- the changelog --- */

.ck-reg-chiprow {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	margin: 0 0 30px;
}
.ck-reg-chiprow .chip {
	font-size: 13.5px;
	font-weight: 600;
	color: #4A4A54;
	border: 1px solid rgba(0,0,0,0.12);
	border-radius: 99px;
	padding: 6px 14px;
	text-decoration: none;
	background: #fff;
}
.ck-reg-chiprow .chip:hover { border-color: #4343AF; color: #4343AF; }
.ck-reg-chiprow .chip.is-active { background: #4343AF; border-color: #4343AF; color: #fff; }
.ck-reg-rss { margin-left: auto; font-size: 13px; font-weight: 600; color: #8A8A96; text-decoration: none; }
.ck-reg-rss:hover { color: #4343AF; }

.ck-reg-entry {
	border: 1px solid rgba(0,0,0,0.08);
	border-radius: 16px;
	background: #fff;
	padding: 26px 30px;
	margin-bottom: 22px;
}

.ck-reg-entry-meta {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	color: #6E6E7A;
	margin-bottom: 8px;
}
.ck-reg-entry-meta time { font-weight: 600; color: #4A4A54; }
.ck-reg-entry-meta .sep { color: #C9C9D2; }

.ck-reg-entry-title {
	font-family: 'Hanken Grotesk', system-ui, sans-serif;
	font-weight: 700;
	letter-spacing: -.015em;
	font-size: 23px;
	line-height: 1.3;
	margin: 0 0 10px;
}
.ck-reg-entry-title a { color: #1A1A1D; text-decoration: none; }
.ck-reg-entry-title a:hover { color: #4343AF; }

.ck-reg-what-changed { font-size: 15.5px; line-height: 1.6; margin: 0 0 14px; }

.ck-reg-means {
	border-left: 3px solid #4343AF;
	background: #FAFAFC;
	border-radius: 0 12px 12px 0;
	padding: 14px 18px;
	margin: 0 0 14px;
}
.ck-reg-means-label {
	display: block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #4343AF;
	margin-bottom: 6px;
}
.ck-reg-means p { font-size: 15.5px; line-height: 1.65; color: #33323A; margin: 0 0 10px; }
.ck-reg-means p:last-child { margin-bottom: 0; }

.ck-reg-entry-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
}
.ck-reg-entry-foot .ck-reg-applies { margin: 0; }

.ck-reg-empty { color: #6E6E7A; padding: 20px 0; }

.ck-reg-pagination { display: flex; gap: 8px; margin: 28px 0 0; }
.ck-reg-pagination .pnum {
	min-width: 36px;
	text-align: center;
	padding: 7px 0;
	border: 1px solid rgba(0,0,0,0.12);
	border-radius: 10px;
	font-weight: 600;
	font-size: 14px;
	color: #4A4A54;
	text-decoration: none;
	background: #fff;
}
.ck-reg-pagination .pnum:hover { border-color: #4343AF; color: #4343AF; }
.ck-reg-pagination .pnum.is-active { background: #4343AF; border-color: #4343AF; color: #fff; }

/* --- single update page --- */

.ck-reg-single {
	max-width: 760px;
	margin: 0 auto;
	padding: 48px 40px 70px;
	font-family: 'Inter', system-ui, sans-serif;
	color: #4A4A54;
}
.ck-reg-single .ck-reg-crumbs { font-size: 14px; color: #8A8A96; margin-bottom: 20px; }
.ck-reg-single .ck-reg-crumbs a { color: #4343AF; text-decoration: none; font-weight: 600; }
.ck-reg-single .ck-reg-crumbs a:hover { text-decoration: underline; }
.ck-reg-single h1 {
	font-family: 'Hanken Grotesk', system-ui, sans-serif;
	font-weight: 700;
	letter-spacing: -.02em;
	color: #1A1A1D;
	font-size: 34px;
	line-height: 1.2;
	margin: 10px 0 18px;
}

/* --- instrument detail page --- */

.ck-reg-instrument .ck-reg-crumbs .here { color: #8A8A96; }
.ck-reg-inst-oneliner {
	font-size: 20px;
	line-height: 1.55;
	color: #33323A;
	margin: 6px 0 24px;
}

/* Facts as an editorial definition list — no boxes, hairline dividers. */
.ck-reg-facts {
	margin: 4px 0 32px;
	border-top: 1px solid rgba(0,0,0,0.08);
}
.ck-reg-frow {
	display: grid;
	grid-template-columns: 150px 1fr;
	gap: 20px;
	padding: 13px 2px;
	border-bottom: 1px solid rgba(0,0,0,0.08);
}
.ck-reg-facts dt {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: #8A8A96;
	padding-top: 2px;
}
.ck-reg-facts dd {
	margin: 0;
	font-size: 15.5px;
	line-height: 1.5;
	color: #33323A;
}
.ck-reg-facts dd a { color: #4343AF; text-decoration: none; font-weight: 600; }
.ck-reg-facts dd a:hover { text-decoration: underline; }

.ck-reg-verdict { margin: 0 0 34px; }
.ck-reg-verdict h3 {
	font-family: 'Hanken Grotesk', system-ui, sans-serif;
	font-weight: 700;
	font-size: 20px;
	color: #1A1A1D;
	margin: 22px 0 8px;
}
.ck-reg-verdict h3:first-of-type { margin-top: 6px; }
.ck-reg-verdict p { font-size: 16px; line-height: 1.7; color: #33323A; margin: 0 0 12px; }

.ck-reg-inst-updates { margin: 0 0 20px; }
.ck-reg-inst-updates h2 {
	font-family: 'Hanken Grotesk', system-ui, sans-serif;
	font-weight: 700;
	font-size: 22px;
	color: #1A1A1D;
	margin: 0 0 12px;
}
.ck-reg-inst-updates ul { list-style: none; margin: 0; padding: 0; }
.ck-reg-inst-updates li {
	padding: 10px 0;
	border-top: 1px solid rgba(0,0,0,0.08);
	display: flex;
	justify-content: space-between;
	gap: 14px;
}
.ck-reg-inst-updates a { color: #4343AF; text-decoration: none; font-weight: 600; }
.ck-reg-inst-updates a:hover { text-decoration: underline; }
.ck-reg-inst-udate { color: #8A8A96; font-size: 14px; white-space: nowrap; }

.ck-reg-related-wrap { border-top: 1px solid rgba(0,0,0,0.08); background: #FAFAFA; }
.ck-reg-related-inner { max-width: 760px; margin: 0 auto; padding: 40px 40px 56px; }
.ck-reg-related-inner h2 {
	font-family: 'Hanken Grotesk', system-ui, sans-serif;
	font-weight: 700;
	font-size: 22px;
	color: #1A1A1D;
	margin: 0 0 18px;
}
.ck-reg-related-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin-bottom: 24px;
}
.ck-reg-related-card {
	display: block;
	border: 1px solid rgba(0,0,0,0.08);
	border-radius: 14px;
	background: #fff;
	padding: 16px 18px;
	text-decoration: none;
	transition: box-shadow .18s ease, transform .18s ease;
}
.ck-reg-related-card:hover { box-shadow: 0 16px 36px -24px rgba(67,67,175,.40); transform: translateY(-2px); }
.ck-reg-related-card h3 {
	font-family: 'Hanken Grotesk', system-ui, sans-serif;
	font-weight: 700;
	font-size: 16px;
	line-height: 1.3;
	color: #1A1A1D;
	margin: 10px 0 6px;
}
.ck-reg-related-card p { font-size: 13.5px; line-height: 1.5; color: #6E6E7A; margin: 0; }

/* --- responsive --- */

@media (max-width: 860px) {
	.ck-reg-grid { grid-template-columns: 1fr; }
	.ck-reg-tl-item time { display: block; min-width: 0; }
	.ck-reg-tl-label { margin-left: 0; }
	.ck-reg-single { padding: 36px 22px 56px; }
	.ck-reg-frow { grid-template-columns: 110px 1fr; gap: 14px; }
	.ck-reg-related-grid { grid-template-columns: 1fr; }
	.ck-reg-related-inner { padding: 32px 22px 48px; }
}

/* Match the page header's own breakpoint (700px) so the section padding
   switches in lockstep and the left edges never diverge. */
@media (max-width: 700px) {
	.e-con.ck-s-regmap, .e-con.ck-s-regchangelog { padding: 6px 22px 50px; }
	.ck-reg-group-title { font-size: 24px; }
	.ck-reg-entry { padding: 22px 20px; }
}
