/* Companaya Blog Builder — dark-purple brand theme */
.cny-quick-answer,
.cny-content-block,
.cny-pick-grid,
.cny-table-wrap,
.cny-cta-wrap,
.cny-pros-cons,
.cny-faq-accordion {
	--cny-bg: #12101d;
	--cny-bg-2: #1c1830;
	--cny-bg-3: #241f3d;
	--cny-accent: #9b87f5;
	--cny-accent-2: #b5a4ff;
	--cny-grad-1: #3e7bfa;
	--cny-grad-2: #8b5cf6;
	--cny-text: #f4f2fb;
	--cny-muted: #a89fcf;
	--cny-border: #2c2748;
	--cny-success: #35d488;
	--cny-danger: #ff6b81;
	--cny-gold: #ffc247;
	box-sizing: border-box;
}
.cny-quick-answer *,
.cny-content-block *,
.cny-pick-grid *,
.cny-table-wrap *,
.cny-cta-wrap *,
.cny-pros-cons *,
.cny-faq-accordion * {
	box-sizing: border-box;
}

/* Content block (generic prose sections) */
.cny-content-block {
	margin: 28px 0;
	color: var(--cny-text, #f4f2fb);
}
.cny-content-body {
	color: var(--cny-muted, #a89fcf);
	font-size: 16px;
	line-height: 1.8;
}
.cny-content-body p { margin: 0 0 16px; }
.cny-content-body p:last-child { margin-bottom: 0; }
.cny-content-body a { color: var(--cny-accent-2, #b5a4ff); }
.cny-content-body strong { color: var(--cny-text, #f4f2fb); }
.cny-content-body h3 {
	color: var(--cny-text, #f4f2fb);
	font-size: 19px;
	font-weight: 700;
	margin: 22px 0 10px;
}
.cny-content-body h4 {
	color: var(--cny-accent-2, #b5a4ff);
	font-size: 16px;
	font-weight: 700;
	margin: 18px 0 8px;
}
.cny-content-body ul {
	margin: 0 0 16px;
	padding-left: 20px;
}
.cny-content-body li {
	margin-bottom: 8px;
	line-height: 1.65;
}

/* Section headings (for Table of Contents pickup) */
.cny-section-heading {
	color: var(--cny-text, #f4f2fb);
	font-size: 26px;
	font-weight: 800;
	line-height: 1.3;
	margin: 0 0 18px;
	letter-spacing: -0.01em;
}

/* Quick Answer */
.cny-quick-answer {
	background: linear-gradient(135deg, var(--cny-bg) 0%, var(--cny-bg-2) 100%);
	border: 1px solid var(--cny-border);
	border-left: 4px solid var(--cny-accent);
	border-radius: 16px;
	padding: 26px 30px;
	margin: 28px 0;
	box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}
.cny-qa-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--cny-accent-2);
	margin-bottom: 10px;
}
.cny-qa-bolt { font-size: 14px; }
.cny-qa-text {
	color: var(--cny-text);
	font-size: 17.5px;
	line-height: 1.75;
}
.cny-qa-text strong { color: var(--cny-accent-2); }

/* Pick cards */
.cny-pick-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
	margin: 28px 0;
}
.cny-pick-card {
	position: relative;
	background: linear-gradient(180deg, var(--cny-bg-2) 0%, var(--cny-bg) 55%);
	border: 1px solid var(--cny-border);
	border-radius: 18px;
	display: flex;
	flex-direction: column;
	box-shadow: 0 10px 26px rgba(0,0,0,0.22);
	transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
	overflow: hidden;
}
.cny-pick-card::before {
	content: "";
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--cny-grad-1), var(--cny-grad-2));
	opacity: 0;
	transition: opacity .2s ease;
	z-index: 2;
}
.cny-pick-card:hover {
	border-color: var(--cny-accent);
	transform: translateY(-3px);
	box-shadow: 0 18px 40px rgba(139,92,246,0.22);
}
.cny-pick-card:hover::before { opacity: 1; }

/* Big top-banner image */
.cny-pick-media {
	position: relative;
	width: 100%;
	aspect-ratio: 2.4 / 1;
	max-height: 190px;
	background: var(--cny-bg-3);
	overflow: hidden;
}
.cny-pick-media-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.cny-pick-media-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 42px;
	font-weight: 800;
	color: #fff;
	text-transform: uppercase;
	background: linear-gradient(135deg, var(--cny-grad-1), var(--cny-grad-2));
}
.cny-pick-rank {
	position: absolute;
	top: 14px;
	left: 14px;
	background: linear-gradient(135deg, var(--cny-grad-1), var(--cny-grad-2));
	color: #fff;
	font-weight: 800;
	font-size: 13px;
	padding: 5px 13px;
	border-radius: 999px;
	box-shadow: 0 4px 12px rgba(139,92,246,0.5);
}

.cny-pick-body {
	padding: 22px 24px 24px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.cny-pick-badge {
	align-self: flex-start;
	background: rgba(155,135,245,0.15);
	color: var(--cny-accent-2);
	font-size: 12px;
	font-weight: 700;
	padding: 5px 12px;
	border-radius: 999px;
	border: 1px solid rgba(155,135,245,0.25);
}
.cny-pick-top { display: flex; flex-direction: column; gap: 4px; }
.cny-pick-name {
	color: var(--cny-text);
	font-size: 20px;
	font-weight: 800;
	letter-spacing: -0.01em;
}
.cny-pick-stars {
	display: flex;
	align-items: center;
	gap: 2px;
}
.cny-pick-stars .star { color: var(--cny-border); font-size: 14px; }
.cny-pick-stars .star.full,
.cny-pick-stars .star.half { color: var(--cny-gold); }
.cny-pick-score {
	color: var(--cny-muted);
	font-size: 13px;
	margin-left: 6px;
}
.cny-pick-blurb {
	color: var(--cny-muted);
	font-size: 15px;
	line-height: 1.65;
	margin: 0;
}
.cny-pick-meta {
	color: var(--cny-accent-2);
	font-size: 12.5px;
	line-height: 1.6;
	margin: 0;
	opacity: 0.9;
	background: rgba(155,135,245,0.08);
	border-radius: 8px;
	padding: 8px 12px;
}
.cny-pick-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin-top: 4px;
	padding-top: 14px;
	border-top: 1px solid var(--cny-border);
}
.cny-pick-price {
	color: var(--cny-accent-2);
	font-weight: 700;
	font-size: 14.5px;
}

/* Compact pick cards — dense secondary/quick lists ("Also Worth Exploring") */
.cny-pick-grid-compact {
	gap: 12px;
}
.cny-pick-card-compact {
	flex-direction: row;
	align-items: center;
	padding: 14px 16px;
	gap: 14px;
}
.cny-pick-card-compact .cny-pick-media {
	width: 56px;
	height: 56px;
	max-height: none;
	aspect-ratio: unset;
	flex-shrink: 0;
	border-radius: 12px;
}
.cny-pick-card-compact .cny-pick-body {
	padding: 0;
	flex: 1;
	min-width: 0;
	gap: 6px;
}
.cny-pick-card-compact .cny-pick-name {
	font-size: 15px;
}
.cny-pick-card-compact .cny-pick-blurb {
	font-size: 13px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.cny-pick-card-compact .cny-pick-footer {
	margin-top: 2px;
	padding-top: 10px;
	flex-wrap: wrap;
}
.cny-pick-card-compact .cny-pick-rank {
	top: 6px;
	left: 6px;
	font-size: 10.5px;
	padding: 2px 8px;
}

/* CTA button — gradient pill */
.cny-cta-btn {
	display: inline-block;
	background: linear-gradient(135deg, var(--cny-grad-1) 0%, var(--cny-grad-2) 100%);
	color: #fff;
	font-weight: 700;
	text-decoration: none;
	border-radius: 999px;
	padding: 13px 28px;
	font-size: 15px;
	border: none;
	box-shadow: 0 6px 18px rgba(90,90,240,0.35);
	transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.cny-cta-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 26px rgba(139,92,246,0.45);
	filter: brightness(1.06);
	color: #fff;
}
.cny-cta-btn.style-outline {
	background: transparent;
	color: var(--cny-accent-2);
	border: 2px solid var(--cny-accent);
	box-shadow: none;
}
.cny-cta-btn.size-sm { padding: 9px 18px; font-size: 13px; }
.cny-cta-btn.size-md { padding: 12px 24px; font-size: 14.5px; }
.cny-cta-btn.size-lg { padding: 16px 36px; font-size: 17px; }
.cny-cta-wrap { margin: 22px 0; }
.cny-cta-disclosure {
	color: var(--cny-muted);
	font-size: 12px;
	margin-top: 8px;
}

/* Comparison table */
.cny-table-wrap {
	overflow-x: auto;
	margin: 28px 0;
	border-radius: 16px;
	border: 1px solid var(--cny-border);
	box-shadow: 0 10px 26px rgba(0,0,0,0.2);
}
.cny-comparison-table {
	width: 100%;
	border-collapse: collapse;
	background: var(--cny-bg);
	color: var(--cny-text);
	font-size: 14.5px;
}
.cny-comparison-table th {
	background: var(--cny-bg-2);
	color: var(--cny-accent-2);
	text-align: left;
	padding: 15px 18px;
	font-weight: 700;
	white-space: nowrap;
}
.cny-comparison-table td {
	padding: 15px 18px;
	border-top: 1px solid var(--cny-border);
}
.cny-comparison-table a {
	color: var(--cny-accent-2);
	text-decoration: none;
	font-weight: 700;
}
.cny-comparison-table a:hover { text-decoration: underline; }
.cny-comparison-table tr.cny-row-highlight td {
	background: rgba(155,135,245,0.1);
}
.cny-comparison-table tr:hover td {
	background: rgba(155,135,245,0.05);
}

/* Pros & Cons */
.cny-pros-cons {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
	margin: 28px 0;
}
.cny-pc-col {
	background: var(--cny-bg);
	border: 1px solid var(--cny-border);
	border-radius: 16px;
	padding: 22px 24px;
	box-shadow: 0 8px 20px rgba(0,0,0,0.18);
}
.cny-pc-heading {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 800;
	font-size: 15.5px;
	margin-bottom: 14px;
	color: var(--cny-text);
}
.cny-pc-pros .cny-pc-icon { color: var(--cny-success); }
.cny-pc-cons .cny-pc-icon { color: var(--cny-danger); }
.cny-pc-col ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.cny-pc-col li {
	color: var(--cny-muted);
	font-size: 14.5px;
	line-height: 1.65;
	padding-left: 22px;
	position: relative;
	margin-bottom: 10px;
}
.cny-pc-pros li::before {
	content: "+";
	color: var(--cny-success);
	position: absolute;
	left: 0;
	font-weight: 800;
}
.cny-pc-cons li::before {
	content: "–";
	color: var(--cny-danger);
	position: absolute;
	left: 0;
	font-weight: 800;
}

/* FAQ accordion */
.cny-faq-accordion {
	margin: 28px 0;
	border: 1px solid var(--cny-border);
	border-radius: 16px;
	overflow: hidden;
	background: var(--cny-bg);
	box-shadow: 0 10px 26px rgba(0,0,0,0.2);
}
.cny-faq-item + .cny-faq-item { border-top: 1px solid var(--cny-border); }
.cny-faq-question {
	width: 100%;
	background: transparent;
	border: 0;
	text-align: left;
	color: var(--cny-text);
	font-size: 15.5px;
	font-weight: 700;
	padding: 20px 22px;
	display: flex;
	align-items: center;
	gap: 14px;
	cursor: pointer;
}
.cny-faq-question:hover { background: rgba(155,135,245,0.06); }
.cny-faq-q-mark {
	flex-shrink: 0;
	width: 30px;
	height: 30px;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	font-weight: 800;
	color: var(--cny-accent-2);
	background: rgba(155,135,245,0.14);
	border: 1px solid rgba(155,135,245,0.25);
}
.cny-faq-q-text { flex: 1; }
.cny-faq-toggle {
	flex-shrink: 0;
	color: #fff;
	background: linear-gradient(135deg, var(--cny-grad-1), var(--cny-grad-2));
	width: 24px;
	height: 24px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	line-height: 1;
	transition: transform .2s ease;
}
.cny-faq-item.active .cny-faq-toggle { transform: rotate(45deg); }
.cny-faq-answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height .25s ease;
	padding: 0 22px 0 66px;
}
.cny-faq-item.active .cny-faq-answer {
	max-height: 600px;
	padding-bottom: 22px;
}
.cny-faq-answer p {
	margin: 0;
	color: var(--cny-muted);
	font-size: 14.5px;
	line-height: 1.7;
}

/* Responsive */
@media (min-width: 768px) {
	.cny-pros-cons { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
	.cny-pros-cons { grid-template-columns: 1fr; }
	.cny-pick-footer { flex-direction: column; align-items: flex-start; }
	.cny-cta-btn { width: 100%; text-align: center; }
	.cny-pick-card-compact { flex-direction: column; align-items: stretch; }
	.cny-pick-card-compact .cny-pick-media { width: 100%; height: 120px; }
	.cny-pick-card-compact .cny-cta-btn { width: auto; }
	.cny-faq-answer { padding-left: 22px; }
}
