/* CAT Question Bank Pro — front-end styles.
 *
 * Everything here is scoped under .cqbp-page-wrap (see templates), which
 * every plugin template now wraps its output in. This is a deliberate
 * fix: earlier builds echoed content directly after get_header() with no
 * container of its own, so the theme's raw (often very large) heading
 * styles applied unchecked, and the theme's own layout regions (sidebars,
 * grid columns) could visually collide with plugin content that had
 * nowhere defined to sit. .cqbp-page-wrap gives the plugin its own
 * isolated, predictable box regardless of theme.
 *
 * Mobile-first: base rules target small screens, @media (min-width: 782px)
 * upsizes for desktop.
 */

.cqbp-page-wrap {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%; /* fills whatever width the theme's own content column provides — no artificial cap/gutter of our own */
	margin: 1.5rem 0;
	padding: 1.5rem;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.08);
	position: relative;
	z-index: 1;
	font-size: 16px;
	line-height: 1.6;
	color: #1e293b;
	/* NOTE: deliberately NOT overflow:hidden. A clearfix here would silently
	   break `position: sticky` on the left/right sidebars below — sticky
	   positioning is disabled by any ancestor with overflow other than
	   visible. Nothing in this layout uses floats any more (grid/flexbox
	   throughout), so the clearfix isn't needed. */

	/* Accent color palette, cycled across cards/badges via .cqbp-accent-1..6
	   so new Sections/Topics/Years automatically get a color without any
	   per-name mapping — matters for the spec's "future extensibility"
	   (new exams/sections shouldn't need a code change to look right). */
	--cqbp-c1: #2563eb; /* blue */
	--cqbp-c2: #9333ea; /* purple */
	--cqbp-c3: #ea580c; /* orange */
	--cqbp-c4: #059669; /* green */
	--cqbp-c5: #db2777; /* pink */
	--cqbp-c6: #0891b2; /* teal */
	--cqbp-sticky-offset: 20px; /* override this if your theme has a tall fixed header */
}
/* The Question page needs real room for a usable 20/60/20 three-column
   layout — the 900px reading-width used by every other plugin page would
   squash the sidebars, so this page gets its own wider variant. */
/* .cqbp-page-wrap--question intentionally has no extra width rule now —
   the base .cqbp-page-wrap already goes full-width; this modifier class
   is kept on the template only as a hook in case question-page-specific
   styling is needed later. */
.cqbp-page-wrap *, .cqbp-page-wrap *::before, .cqbp-page-wrap *::after {
	box-sizing: border-box;
}

/* Reset the theme's own heading sizes to a sane, consistent scale —
   this is what fixes an oversized, page-breaking <h1>. */
.cqbp-page-wrap h1 { font-size: 1.6rem; line-height: 1.3; margin: 0 0 0.75rem; }
.cqbp-page-wrap h2 {
	font-size: 1.25rem;
	line-height: 1.35;
	margin: 1.75rem 0 0.75rem;
	padding-bottom: 0.4rem;
	border-bottom: 3px solid var(--cqbp-c1);
	display: inline-block;
}
.cqbp-page-wrap h3 { font-size: 1.05rem; line-height: 1.4; margin: 1.25rem 0 0.5rem; }
.cqbp-page-wrap p  { margin: 0 0 1rem; }
.cqbp-page-wrap a  { color: #2563eb; }
@media ( min-width: 782px ) {
	.cqbp-page-wrap { padding: 2.5rem; }
	.cqbp-page-wrap h1 { font-size: 2rem; }
	.cqbp-page-wrap h2 { font-size: 1.5rem; }
	.cqbp-page-wrap h3 { font-size: 1.15rem; }
}

/* "Jump to any Section" switcher — right-aligned at the top of every
   plugin page. Deliberately NOT position:fixed/sticky: earlier testing
   showed fixed/sticky elements colliding with themes' own fixed headers;
   sitting in normal document flow at the top of .cqbp-page-wrap achieves
   the same "always visible first" effect without that risk. */
.cqbp-section-switcher {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	justify-content: flex-end;
	margin: 0 0 1.25rem;
}
.cqbp-section-switcher-item {
	display: inline-block;
	padding: 0.5rem 1.1rem;
	border-radius: 8px;
	font-weight: 700;
	font-size: 0.85rem;
	text-decoration: none;
	color: #fff !important;
	white-space: nowrap;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.cqbp-section-switcher-item:hover { transform: translateY(-1px); box-shadow: 0 4px 10px rgba(0,0,0,0.18); }
.cqbp-section-switcher-item.cqbp-accent-1 { background: var(--cqbp-c1); }
.cqbp-section-switcher-item.cqbp-accent-2 { background: var(--cqbp-c2); }
.cqbp-section-switcher-item.cqbp-accent-3 { background: var(--cqbp-c3); }
.cqbp-section-switcher-item.cqbp-accent-4 { background: var(--cqbp-c4); }
.cqbp-section-switcher-item.cqbp-accent-5 { background: var(--cqbp-c5); }
.cqbp-section-switcher-item.cqbp-accent-6 { background: var(--cqbp-c6); }
.cqbp-section-switcher-item.cqbp-section-switcher-active {
	box-shadow: inset 0 -3px 0 rgba(255,255,255,0.95);
	opacity: 1;
}
.cqbp-section-switcher-item:not(.cqbp-section-switcher-active) { opacity: 0.9; }
@media ( max-width: 480px ) {
	.cqbp-section-switcher { justify-content: center; }
}
   vertical list of links (a symptom of it inheriting block-level link
   display from the theme with no layout of its own). */
.cqbp-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.3rem;
	font-size: 0.82rem;
	color: #64748b;
	margin-bottom: 1.25rem;
}
.cqbp-breadcrumb a { color: #2563eb; text-decoration: none; }
.cqbp-breadcrumb a:hover { text-decoration: underline; }

/* Homepage section cards */
.cqbp-section-grid,
.cqbp-topic-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
	margin: 1rem 0 1.5rem;
}
@media ( min-width: 600px ) {
	.cqbp-topic-grid { grid-template-columns: repeat(2, 1fr); }
}
@media ( min-width: 782px ) {
	.cqbp-section-grid { grid-template-columns: repeat(3, 1fr); }
	.cqbp-topic-grid { grid-template-columns: repeat(3, 1fr); }
}

.cqbp-card {
	display: block;
	border: 1px solid #e2e2e2;
	border-top: 4px solid #cbd5e1;
	border-radius: 10px;
	padding: 1.25rem;
	text-decoration: none;
	color: inherit;
	background: #fff;
	transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.cqbp-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); transform: translateY(-2px); }
.cqbp-card img { width: 100%; height: 120px; object-fit: cover; border-radius: 6px; margin-bottom: 0.75rem; display: block; }
.cqbp-card h3 { margin: 0 0 0.25rem; }
.cqbp-card .cqbp-card-meta { font-size: 0.8rem; color: #777; font-weight: 600; }

.cqbp-card.cqbp-accent-1 { border-top-color: var(--cqbp-c1); }
.cqbp-card.cqbp-accent-2 { border-top-color: var(--cqbp-c2); }
.cqbp-card.cqbp-accent-3 { border-top-color: var(--cqbp-c3); }
.cqbp-card.cqbp-accent-4 { border-top-color: var(--cqbp-c4); }
.cqbp-card.cqbp-accent-5 { border-top-color: var(--cqbp-c5); }
.cqbp-card.cqbp-accent-6 { border-top-color: var(--cqbp-c6); }
.cqbp-card.cqbp-accent-1 h3 { color: var(--cqbp-c1); }
.cqbp-card.cqbp-accent-2 h3 { color: var(--cqbp-c2); }
.cqbp-card.cqbp-accent-3 h3 { color: var(--cqbp-c3); }
.cqbp-card.cqbp-accent-4 h3 { color: var(--cqbp-c4); }
.cqbp-card.cqbp-accent-5 h3 { color: var(--cqbp-c5); }
.cqbp-card.cqbp-accent-6 h3 { color: var(--cqbp-c6); }

/* Section/Topic page: prominent question-count banner */
.cqbp-stat-banner {
	display: inline-flex;
	align-items: baseline;
	gap: 0.5rem;
	background: linear-gradient(135deg, var(--cqbp-c1), var(--cqbp-c2));
	color: #fff;
	padding: 0.6rem 1.1rem;
	border-radius: 999px;
	margin: 0 0 1.25rem;
	font-size: 0.9rem;
}
.cqbp-stat-banner-alt { background: linear-gradient(135deg, var(--cqbp-c3), var(--cqbp-c5)); }
.cqbp-stat-number { font-size: 1.3rem; font-weight: 800; line-height: 1; }
.cqbp-stat-label { font-weight: 600; }

.cqbp-year-heading {
	display: inline-block;
	padding: 0.2rem 0.75rem;
	border-radius: 6px;
	color: #fff !important;
}
.cqbp-year-heading.cqbp-accent-1 { background: var(--cqbp-c1); }
.cqbp-year-heading.cqbp-accent-2 { background: var(--cqbp-c2); }
.cqbp-year-heading.cqbp-accent-3 { background: var(--cqbp-c3); }
.cqbp-year-heading.cqbp-accent-4 { background: var(--cqbp-c4); }
.cqbp-year-heading.cqbp-accent-5 { background: var(--cqbp-c5); }
.cqbp-year-heading.cqbp-accent-6 { background: var(--cqbp-c6); }

.cqbp-year-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.5rem 0 1.5rem; }
.cqbp-year-pills a {
	padding: 0.4rem 0.9rem;
	border-radius: 999px;
	background: #f1f5f9;
	color: #1e293b;
	text-decoration: none;
	font-size: 0.85rem;
	white-space: nowrap;
	border: 1px solid transparent;
	font-weight: 600;
}
.cqbp-year-pills a:hover { background: #e2e8f0; }
.cqbp-year-pills a:nth-child(6n+1) { background: color-mix(in srgb, var(--cqbp-c1) 12%, white); color: var(--cqbp-c1); border-color: color-mix(in srgb, var(--cqbp-c1) 30%, white); }
.cqbp-year-pills a:nth-child(6n+2) { background: color-mix(in srgb, var(--cqbp-c2) 12%, white); color: var(--cqbp-c2); border-color: color-mix(in srgb, var(--cqbp-c2) 30%, white); }
.cqbp-year-pills a:nth-child(6n+3) { background: color-mix(in srgb, var(--cqbp-c3) 12%, white); color: var(--cqbp-c3); border-color: color-mix(in srgb, var(--cqbp-c3) 30%, white); }
.cqbp-year-pills a:nth-child(6n+4) { background: color-mix(in srgb, var(--cqbp-c4) 12%, white); color: var(--cqbp-c4); border-color: color-mix(in srgb, var(--cqbp-c4) 30%, white); }
.cqbp-year-pills a:nth-child(6n+5) { background: color-mix(in srgb, var(--cqbp-c5) 12%, white); color: var(--cqbp-c5); border-color: color-mix(in srgb, var(--cqbp-c5) 30%, white); }
.cqbp-year-pills a:nth-child(6n+6) { background: color-mix(in srgb, var(--cqbp-c6) 12%, white); color: var(--cqbp-c6); border-color: color-mix(in srgb, var(--cqbp-c6) 30%, white); }

/* Search box */
.cqbp-search-wrap { position: relative; margin: 1rem 0 1.5rem; }
.cqbp-search-input {
	width: 100%;
	padding: 0.65rem 0.9rem;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	font-size: 0.95rem;
	background: #fff;
}
.cqbp-search-input:focus { outline: 2px solid #93c5fd; border-color: #2563eb; }
.cqbp-search-results-container {
	position: absolute;
	left: 0;
	right: 0;
	top: calc(100% + 4px);
	background: #fff;
	border: 1px solid #e2e2e2;
	border-radius: 8px;
	box-shadow: 0 8px 24px rgba(0,0,0,0.1);
	z-index: 20;
	max-height: 320px;
	overflow-y: auto;
}
.cqbp-search-results ul,
.cqbp-search-results-container ul { list-style: none; margin: 0; padding: 0.25rem 0; }
.cqbp-search-results-container li a,
.cqbp-search-results li a { display: block; padding: 0.5rem 0.9rem; text-decoration: none; color: #1e293b; }
.cqbp-search-results-container li a:hover { background: #f8fafc; }

/* Filter bar (Topic page) — NOT sticky by default any more: a sticky
   top:0 bar was overlapping the theme's own header/menu on real sites.
   If your theme has no fixed header, you can safely re-enable stickiness
   by adding `position: sticky; top: var(--cqbp-header-offset, 0);` back. */
.cqbp-filters {
	background: #f8fafc;
	border: 1px solid #e7ebf0;
	border-radius: 10px;
	padding: 0.85rem 1rem;
	margin: 1rem 0 1.5rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	align-items: center;
}
.cqbp-filters select {
	padding: 0.45rem 0.6rem;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	font-size: 0.85rem;
	background: #fff;
	max-width: 100%;
}
.cqbp-filters label {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 0.85rem;
	white-space: nowrap;
}

/* Sticky playlist video — also de-stickied by default for the same
   header-collision reason as the filter bar. */
.cqbp-sticky-video { margin: 1rem 0 1.5rem; }
.cqbp-sticky-video iframe,
.cqbp-video iframe { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: 8px; display: block; }

/* Formulas / Tricks collapsibles */
.cqbp-page-wrap details {
	border: 1px solid #e7ebf0;
	border-radius: 8px;
	padding: 0.75rem 1rem;
	margin: 0 0 0.75rem;
	background: #fafafa;
}
.cqbp-page-wrap details summary { cursor: pointer; }
.cqbp-page-wrap details[open] summary { margin-bottom: 0.5rem; }

.cqbp-question-list { list-style: none; margin: 0; padding: 0; }
.cqbp-question-list-item {
	padding: 0.75rem 0;
	border-bottom: 1px solid #f0f0f0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 0.5rem;
}
.cqbp-question-list-item a { color: #1e293b; text-decoration: none; }
.cqbp-question-list-item a:hover { color: #2563eb; }
.cqbp-year-badge { font-size: 0.75rem; background: #eef2ff; color: #4338ca; padding: 0.15rem 0.5rem; border-radius: 999px; white-space: nowrap; }

.cqbp-empty { color: #777; padding: 1rem 0; }

/* Single question page */
.cqbp-passage { background: #fafafa; border-left: 3px solid #cbd5e1; padding: 1rem 1.25rem; margin-bottom: 1.5rem; border-radius: 4px; }

/* THE QUESTION — a distinctly highlighted box so a student never confuses
   it with the Topic Importance/Concept Revision text above it. The H2
   inside carries only the question's own text (see template comments on
   the heading hierarchy); this box also visually contains the options/
   TITA input right below it as one cohesive "here's what to answer" card. */
.cqbp-question-box {
	background: #fffbeb;
	border: 2px solid #fbbf24;
	border-radius: 10px;
	padding: 1.25rem 1.5rem;
	margin: 0 0 1.5rem;
}
.cqbp-question-label {
	display: inline-block;
	background: #f59e0b;
	color: #fff;
	font-weight: 800;
	font-size: 0.72rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 0.25rem 0.7rem;
	border-radius: 999px;
	margin-bottom: 0.75rem;
}
.cqbp-question-heading {
	font-size: 1.15rem !important;
	line-height: 1.6;
	font-weight: 600;
	margin: 0 0 1rem !important;
	color: #1e293b;
}
.cqbp-question-box .cqbp-answer-block { margin-top: 0.5rem; }

.cqbp-options { list-style: none; margin: 0 0 1.25rem; padding: 0; }
.cqbp-option {
	border: 1px solid #d8dde3;
	border-radius: 8px;
	padding: 0.75rem 1rem;
	margin-bottom: 0.6rem;
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease;
}
.cqbp-option:hover { background: #f8fafc; }
.cqbp-option.cqbp-selected-correct { background: #dcfce7; border-color: #16a34a; }
.cqbp-option.cqbp-selected-wrong { background: #fee2e2; border-color: #dc2626; }
.cqbp-options.cqbp-answered .cqbp-option { cursor: default; pointer-events: none; }

.cqbp-tita-row { display: flex; gap: 0.5rem; margin-bottom: 0.75rem; flex-wrap: wrap; }
.cqbp-tita-input { padding: 0.5rem 0.75rem; border: 1px solid #ccc; border-radius: 6px; flex: 1 1 200px; }
.cqbp-tita-result { font-weight: 600; margin-bottom: 1.25rem; }
.cqbp-tita-result.cqbp-selected-correct { color: #16a34a; }
.cqbp-tita-result.cqbp-selected-wrong { color: #dc2626; }

.cqbp-hidden { display: none; }

.cqbp-explanation, .cqbp-video { margin: 1.5rem 0; }
.cqbp-explanation h3, .cqbp-video h3 { margin-bottom: 0.5rem; }
.cqbp-explanation.cqbp-shortcuts-tricks {
	background: #f0fdf4;
	border: 1px solid #bbf7d0;
	border-radius: 8px;
	padding: 1rem 1.25rem;
}
.cqbp-explanation.cqbp-shortcuts-tricks h3 { color: #15803d; }

.cqbp-action-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.25rem 0; }
.cqbp-action-row button, .cqbp-action-row a.cqbp-btn {
	padding: 0.5rem 0.9rem;
	border-radius: 6px;
	border: 1px solid #d8dde3;
	background: #fff;
	cursor: pointer;
	font-size: 0.85rem;
	text-decoration: none;
	color: #1e293b;
	line-height: 1.3;
}
.cqbp-action-row button:hover, .cqbp-action-row a.cqbp-btn:hover { background: #f8fafc; }
.cqbp-action-row button.cqbp-bookmarked { background: #fef9c3; border-color: #eab308; }

.cqbp-report-form { margin: 1rem 0 1.5rem; }
.cqbp-report-form textarea { margin-top: 0.35rem; }
.cqbp-report-status { margin-left: 0.5rem; font-size: 0.85rem; color: #16a34a; }

.cqbp-related { margin: 1.75rem 0; }
.cqbp-prev-next { display: flex; justify-content: space-between; gap: 1rem; margin: 1.75rem 0; }
.cqbp-prev-next a {
	flex: 1;
	padding: 0.85rem 1.1rem;
	border-radius: 8px;
	text-decoration: none;
	font-size: 0.95rem;
	font-weight: 700;
	text-align: center;
	background: #ea580c;
	color: #fff !important;
	border: 1px solid #c2410c;
	transition: background 0.15s ease, transform 0.15s ease;
}
.cqbp-prev-next a:hover { background: #c2410c; transform: translateY(-1px); }

/* ================= Three-column Question page layout ================= */
/* Mobile-first: single column, question content shown first regardless of
   DOM order (order:1), sidebars follow below it (order:2/3). At desktop
   width this becomes a real 20/60/20 grid and both sidebars go sticky. */
.cqbp-question-layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
	align-items: start;
}
.cqbp-ql-left  { order: 2; }
.cqbp-ql-center { order: 1; min-width: 0; } /* min-width:0 lets grid children shrink instead of overflowing with wide content like iframes/tables */
.cqbp-ql-right { order: 3; }

@media ( min-width: 992px ) {
	.cqbp-question-layout {
		grid-template-columns: 20% 60% 20%;
		gap: 2rem;
	}
	.cqbp-ql-left, .cqbp-ql-center, .cqbp-ql-right { order: initial; }
	.cqbp-ql-left, .cqbp-ql-right {
		position: sticky;
		top: var(--cqbp-sticky-offset, 20px);
		align-self: start;
		max-height: calc(100vh - var(--cqbp-sticky-offset, 20px) - 20px);
		overflow-y: auto;
	}
}

/* ---- Left sidebar: Lead capture ---- */
.cqbp-lead-box {
	background: linear-gradient(160deg, #fff7ed, #fff);
	border: 1px solid #fed7aa;
	border-radius: 10px;
	padding: 1.1rem;
}
.cqbp-lead-heading {
	font-size: 1.05rem !important;
	color: var(--cqbp-c3);
	margin: 0 0 0.75rem !important;
	line-height: 1.3;
}
.cqbp-lead-form { margin-bottom: 0.75rem; }
.cqbp-lead-form input,
.cqbp-lead-form textarea,
.cqbp-lead-form select {
	width: 100%;
	box-sizing: border-box;
	margin-bottom: 0.5rem;
}
.cqbp-trust-signals { list-style: none; margin: 0.75rem 0 0; padding: 0; }
.cqbp-trust-signals li {
	font-size: 0.82rem;
	color: #92400e;
	padding: 0.3rem 0;
	border-top: 1px dashed #fed7aa;
}
.cqbp-trust-signals li:before { content: "✓ "; font-weight: 700; }

/* ---- Right sidebar: Topic navigator ---- */
.cqbp-topic-nav { background: #f8fafc; border: 1px solid #e7ebf0; border-radius: 10px; padding: 1rem; }
.cqbp-topic-nav-title { margin: 0 0 0.6rem !important; font-size: 1rem !important; }
.cqbp-topic-nav-search {
	width: 100%;
	box-sizing: border-box;
	padding: 0.5rem 0.7rem;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	margin-bottom: 0.75rem;
	font-size: 0.85rem;
}
.cqbp-topic-nav-group { border-bottom: 1px solid #e7ebf0; padding-bottom: 0.4rem; margin-bottom: 0.4rem; }
.cqbp-topic-nav-group:last-child { border-bottom: none; }
.cqbp-topic-nav-summary {
	cursor: pointer;
	font-weight: 700;
	font-size: 0.85rem;
	padding: 0.35rem 0.5rem;
	border-radius: 6px;
	color: #fff;
	list-style: none;
}
.cqbp-topic-nav-summary::-webkit-details-marker { display: none; }
.cqbp-topic-nav-summary.cqbp-accent-1 { background: var(--cqbp-c1); }
.cqbp-topic-nav-summary.cqbp-accent-2 { background: var(--cqbp-c2); }
.cqbp-topic-nav-summary.cqbp-accent-3 { background: var(--cqbp-c3); }
.cqbp-topic-nav-summary.cqbp-accent-4 { background: var(--cqbp-c4); }
.cqbp-topic-nav-summary.cqbp-accent-5 { background: var(--cqbp-c5); }
.cqbp-topic-nav-summary.cqbp-accent-6 { background: var(--cqbp-c6); }
.cqbp-topic-nav-list { list-style: none; margin: 0.4rem 0 0; padding: 0; }
.cqbp-topic-nav-item a {
	display: flex;
	justify-content: space-between;
	gap: 0.5rem;
	padding: 0.4rem 0.6rem;
	border-radius: 6px;
	text-decoration: none;
	color: #1e293b;
	font-size: 0.85rem;
}
.cqbp-topic-nav-item a:hover { background: #eef2f7; }
.cqbp-topic-nav-count { color: #94a3b8; font-size: 0.78rem; }
.cqbp-topic-nav-item.cqbp-topic-nav-active a {
	background: #1e293b;
	color: #fff !important;
	font-weight: 700;
}
.cqbp-topic-nav-item.cqbp-topic-nav-active .cqbp-topic-nav-count { color: #cbd5e1; }
/* Hidden by the topic-nav search filter (public-practice.js) */
.cqbp-topic-nav-item.cqbp-topic-nav-hidden { display: none; }

/* ---- New SEO/strategy sections on the question page ---- */
.cqbp-seo-section { margin: 0 0 1.5rem; }
.cqbp-seo-section p:last-child { margin-bottom: 0; }

/* Topic Importance — its own distinct boxed look (cool blue) so it can
   never be visually mistaken for the Question box (warm amber) below it. */
.cqbp-topic-importance-box {
	background: #eff6ff;
	border: 1px solid #bfdbfe;
	border-radius: 10px;
	padding: 1.1rem 1.4rem;
}
.cqbp-topic-importance-box h3 {
	margin-top: 0 !important;
	color: #1d4ed8;
}
.cqbp-strategy-list {
	list-style: none;
	margin: 0;
	padding: 0;
	background: #f0fdf4;
	border: 1px solid #bbf7d0;
	border-radius: 8px;
	overflow: hidden;
}
.cqbp-strategy-list li {
	padding: 0.6rem 1rem;
	border-bottom: 1px solid #bbf7d0;
	font-size: 0.92rem;
}
.cqbp-strategy-list li:last-child { border-bottom: none; }
.cqbp-strategy-list strong { color: #15803d; }

.cqbp-practice-cta { text-align: center; padding: 1.5rem 1rem; background: #fef3c7; border-radius: 10px; }
.cqbp-practice-cta h3 { margin-top: 0 !important; }
.cqbp-btn-primary {
	display: inline-block;
	background: var(--cqbp-c3) !important;
	color: #fff !important;
	font-weight: 700;
	padding: 0.7rem 1.4rem !important;
	border-radius: 8px;
}
.cqbp-btn-primary:hover { background: #c2410c !important; }

@media print {
	.cqbp-filters, .cqbp-action-row, .cqbp-breadcrumb, .cqbp-report-form,
	.cqbp-ql-left, .cqbp-ql-right, .cqbp-section-switcher,
	header, footer, nav { display: none !important; }
	.cqbp-page-wrap { box-shadow: none; max-width: 100%; }
	.cqbp-question-layout { display: block; }
	.cqbp-hidden { display: block !important; }
}
