/**
 * SmallBizLeadTools recovered visual components.
 */

.answer-engine-summary,
.evaluation-note,
.quick-verdict,
.buyer-guide-tool,
.callout-box,
.article-card {
	position: relative;
	overflow: hidden;
	padding: clamp(1.45rem, 3vw, 2.25rem);
	border: 1px solid rgba(16, 42, 67, 0.1);
	border-radius: 22px;
	background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
	box-shadow: 0 22px 58px rgba(16, 42, 67, 0.1);
}

.answer-engine-summary::before,
.evaluation-note::before,
.quick-verdict::before,
.buyer-guide-tool::before,
.callout-box::before,
.article-card::before {
	position: absolute;
	inset: 0 0 auto;
	height: 5px;
	background: linear-gradient(90deg, #2563eb, #10b981);
	content: "";
}

.answer-engine-summary,
.evaluation-note {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
	gap: clamp(1rem, 3vw, 2rem);
	align-items: start;
	background:
		radial-gradient(circle at 100% 0%, rgba(16, 185, 129, 0.12), transparent 32%),
		linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.answer-engine-summary h2,
.answer-engine-summary h3,
.evaluation-note h2,
.evaluation-note h3,
.quick-verdict h2,
.buyer-guide-tool h2,
.callout-box h2 {
	color: #102a43;
}

.answer-engine-summary__points,
.evaluation-note__criteria,
.buyer-guide-tool > ul {
	display: grid;
	gap: 0.7rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.answer-engine-summary__points li,
.evaluation-note__criteria li,
.buyer-guide-tool > ul li {
	position: relative;
	padding-left: 2rem;
	color: #1f2937;
	font-weight: 500;
}

.answer-engine-summary__points li::before,
.evaluation-note__criteria li::before,
.buyer-guide-tool > ul li::before {
	position: absolute;
	top: 0.12rem;
	left: 0;
	display: inline-grid;
	width: 1.25rem;
	height: 1.25rem;
	place-items: center;
	border-radius: 999px;
	background: rgba(16, 185, 129, 0.14);
	color: #047857;
	font-size: 0.78rem;
	font-weight: 800;
	content: "\2713";
}

.quick-verdict {
	background:
		radial-gradient(circle at 0 0, rgba(37, 99, 235, 0.12), transparent 30%),
		linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.quick-verdict__header {
	max-width: 760px;
	margin-bottom: clamp(1rem, 2.5vw, 1.6rem);
	text-align: left;
}

.quick-verdict__grid,
.recommendation-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
	align-items: stretch;
}

.recommendation-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	min-height: 100%;
	padding: clamp(1.15rem, 2.4vw, 1.55rem);
	border: 1px solid rgba(16, 42, 67, 0.11);
	border-radius: 20px;
	background: #ffffff;
	box-shadow: 0 18px 42px rgba(16, 42, 67, 0.08);
	transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.recommendation-card:hover {
	transform: translateY(-3px);
	border-color: rgba(37, 99, 235, 0.24);
	box-shadow: 0 26px 62px rgba(16, 42, 67, 0.14);
}

.recommendation-card__label {
	display: inline-flex;
	align-self: flex-start;
	padding: 0.32rem 0.72rem;
	border-radius: 999px;
	background: rgba(37, 99, 235, 0.1);
	color: #1d4ed8;
	font-size: 0.76rem;
	font-weight: 800;
	text-transform: uppercase;
}

.recommendation-card h3 {
	margin: 0;
	color: #102a43;
	font-size: 1.2rem;
	line-height: 1.25;
}

.recommendation-card p {
	margin: 0;
	color: #4b5563;
	font-size: 0.98rem;
	line-height: 1.6;
}

.recommendation-card .button,
.recommendation-card .wp-block-button,
.recommendation-card .affiliate-button {
	margin-top: auto;
}

.buyer-guide-tool {
	border-left: 5px solid #2563eb;
	background:
		linear-gradient(180deg, rgba(37, 99, 235, 0.045), rgba(255, 255, 255, 0) 42%),
		#ffffff;
}

.buyer-guide-tool__header {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	align-items: flex-start;
	padding-bottom: 1rem;
	margin-bottom: 1.2rem;
	border-bottom: 1px solid #e5e7eb;
}

.buyer-guide-tool__header p:last-child,
.badge-pill {
	display: inline-flex;
	align-items: center;
	padding: 0.35rem 0.75rem;
	border-radius: 999px;
	background: rgba(16, 185, 129, 0.12);
	color: #047857;
	font-size: 0.78rem;
	font-weight: 800;
	white-space: nowrap;
}

.pros-cons,
.buyer-guide-pros-cons,
.wp-block-columns.pros-cons {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.pros-cons__panel,
.wp-block-column.pros-cons__panel {
	padding: clamp(1.15rem, 2.3vw, 1.55rem);
	border: 1px solid #e5e7eb;
	border-radius: 20px;
	background: #ffffff;
	box-shadow: 0 16px 38px rgba(16, 42, 67, 0.07);
}

.pros-cons__panel:first-child {
	border-color: rgba(16, 185, 129, 0.24);
	background: linear-gradient(180deg, rgba(16, 185, 129, 0.08), #ffffff 50%);
}

.pros-cons__panel:last-child {
	border-color: rgba(239, 68, 68, 0.18);
	background: linear-gradient(180deg, rgba(239, 68, 68, 0.055), #ffffff 50%);
}

.pros-cons__panel h2,
.pros-cons__panel h3 {
	display: flex;
	gap: 0.55rem;
	align-items: center;
	color: #102a43;
}

.pros-cons__panel h2::before,
.pros-cons__panel h3::before {
	display: inline-grid;
	width: 1.45rem;
	height: 1.45rem;
	place-items: center;
	border-radius: 999px;
	background: #10b981;
	color: #ffffff;
	font-size: 0.82rem;
	font-weight: 900;
	content: "\2713";
}

.pros-cons__panel:last-child h2::before,
.pros-cons__panel:last-child h3::before {
	background: #ef4444;
	content: "\0021";
}

.cta-box {
	position: relative;
	overflow: hidden;
	padding: clamp(1.5rem, 3vw, 2.4rem);
	border: 1px solid rgba(37, 99, 235, 0.18);
	border-radius: 24px;
	background:
		radial-gradient(circle at 90% 0%, rgba(16, 185, 129, 0.23), transparent 34%),
		linear-gradient(135deg, #102a43 0%, #17466f 58%, #2563eb 100%);
	color: #ffffff;
	box-shadow: 0 24px 64px rgba(16, 42, 67, 0.2);
}

.cta-box h2,
.cta-box h3,
.cta-box p,
.cta-box li,
.cta-box .eyebrow,
.cta-box a:not(.button):not(.wp-block-button__link) {
	color: #ffffff;
}

.cta-box p {
	max-width: 720px;
	color: rgba(255, 255, 255, 0.88);
}

.button,
.wp-block-button__link,
.affiliate-button,
.cta-box .button,
.cta-box .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: 48px;
	padding: 0.78rem 1.15rem;
	border: 0;
	border-radius: 999px;
	background: linear-gradient(135deg, #10b981, #059669);
	color: #ffffff !important;
	font-weight: 800;
	line-height: 1.2;
	text-decoration: none;
	box-shadow: 0 15px 32px rgba(16, 185, 129, 0.24);
	transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.button::after,
.wp-block-button__link::after,
.affiliate-button::after {
	content: "\2192";
	font-weight: 900;
	transition: transform 180ms ease;
}

.button:hover,
.button:focus,
.wp-block-button__link:hover,
.wp-block-button__link:focus,
.affiliate-button:hover,
.affiliate-button:focus {
	transform: translateY(-2px);
	filter: saturate(1.08);
	box-shadow: 0 20px 42px rgba(16, 185, 129, 0.32);
}

.button:hover::after,
.button:focus::after,
.wp-block-button__link:hover::after,
.wp-block-button__link:focus::after,
.affiliate-button:hover::after,
.affiliate-button:focus::after {
	transform: translateX(3px);
}

.faq-list,
.faq-card-list {
	display: grid;
	gap: 0.9rem;
}

.faq-list details,
.faq-card-list details,
.wp-block-details {
	border: 1px solid rgba(16, 42, 67, 0.1);
	border-radius: 18px;
	background: #ffffff;
	box-shadow: 0 14px 34px rgba(16, 42, 67, 0.07);
	transition: border-color 180ms ease, box-shadow 180ms ease;
}

.faq-list details:hover,
.faq-card-list details:hover,
.wp-block-details:hover {
	border-color: rgba(37, 99, 235, 0.28);
	box-shadow: 0 20px 48px rgba(16, 42, 67, 0.1);
}

.faq-list summary,
.faq-card-list summary,
.wp-block-details summary {
	position: relative;
	cursor: pointer;
	padding: 1.1rem 3rem 1.1rem 1.2rem;
	color: #102a43;
	font-weight: 800;
	list-style: none;
}

.faq-list summary::-webkit-details-marker,
.faq-card-list summary::-webkit-details-marker,
.wp-block-details summary::-webkit-details-marker {
	display: none;
}

.faq-list summary::after,
.faq-card-list summary::after,
.wp-block-details summary::after {
	position: absolute;
	top: 50%;
	right: 1.1rem;
	display: inline-grid;
	width: 1.65rem;
	height: 1.65rem;
	place-items: center;
	border-radius: 999px;
	background: rgba(37, 99, 235, 0.1);
	color: #2563eb;
	content: "+";
	transform: translateY(-50%);
}

.faq-list details[open] summary::after,
.faq-card-list details[open] summary::after,
.wp-block-details[open] summary::after {
	content: "-";
}

.faq-list details > *:not(summary),
.faq-card-list details > *:not(summary),
.wp-block-details > *:not(summary) {
	padding: 0 1.2rem 1.1rem;
}

.comparison-table,
.quick-table,
.buyer-guide-table,
.wp-block-table.comparison-table table {
	width: 100%;
	border: 1px solid #e5e7eb;
	border-radius: 18px;
	border-collapse: separate;
	border-spacing: 0;
	overflow: hidden;
	background: #ffffff;
	box-shadow: 0 18px 42px rgba(16, 42, 67, 0.08);
}

.comparison-table th,
.quick-table th,
.buyer-guide-table th {
	background: #102a43;
	color: #ffffff;
	font-size: 0.9rem;
	line-height: 1.3;
}

.comparison-table th,
.comparison-table td,
.quick-table th,
.quick-table td,
.buyer-guide-table th,
.buyer-guide-table td {
	padding: 1rem;
	border-bottom: 1px solid #e5e7eb;
	vertical-align: top;
}

.comparison-table td,
.quick-table td,
.buyer-guide-table td {
	color: #374151;
	font-size: 0.96rem;
	line-height: 1.55;
}

.comparison-table tbody tr:nth-child(even) td,
.quick-table tbody tr:nth-child(even) td,
.buyer-guide-table tbody tr:nth-child(even) td {
	background: #f8fafc;
}

.callout-box {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 1rem;
	border-color: rgba(37, 99, 235, 0.18);
	background:
		radial-gradient(circle at 0 0, rgba(37, 99, 235, 0.1), transparent 32%),
		#ffffff;
}

.callout-box--tip {
	border-color: rgba(16, 185, 129, 0.28);
	background:
		radial-gradient(circle at 0 0, rgba(16, 185, 129, 0.12), transparent 34%),
		#ffffff;
}

.callout-box--warning {
	border-color: rgba(239, 68, 68, 0.2);
	background:
		radial-gradient(circle at 0 0, rgba(239, 68, 68, 0.08), transparent 34%),
		#ffffff;
}

.callout-box__icon {
	display: inline-grid;
	width: 2.25rem;
	height: 2.25rem;
	place-items: center;
	border-radius: 999px;
	background: #2563eb;
	color: #ffffff;
	font-weight: 900;
}

.feature-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
}

.feature-card,
.feature-grid > * {
	padding: 1.2rem;
	border: 1px solid rgba(16, 42, 67, 0.1);
	border-radius: 20px;
	background: #ffffff;
	box-shadow: 0 16px 38px rgba(16, 42, 67, 0.07);
}

.related-guides {
	padding: clamp(1.35rem, 3vw, 2rem);
	border: 1px solid rgba(16, 42, 67, 0.1);
	border-radius: 24px;
	background:
		radial-gradient(circle at 100% 0%, rgba(37, 99, 235, 0.1), transparent 28%),
		#f8fafc;
}

.related-guides__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.related-guide-card,
.related-guide-card__link {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 100%;
	padding: 1.2rem;
	border: 1px solid rgba(16, 42, 67, 0.1);
	border-radius: 20px;
	background: #ffffff;
	color: #1f2937;
	text-decoration: none;
	box-shadow: 0 16px 38px rgba(16, 42, 67, 0.08);
	transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.related-guide-card:hover,
.related-guide-card__link:hover,
.related-guide-card__link:focus {
	transform: translateY(-3px);
	border-color: rgba(37, 99, 235, 0.28);
	box-shadow: 0 24px 56px rgba(16, 42, 67, 0.13);
}

.related-guide-card__title,
.related-guide-card h3 {
	color: #102a43;
	font-size: 1.12rem;
	line-height: 1.3;
}

.related-guide-card__action {
	margin-top: auto;
	color: #2563eb;
	font-weight: 800;
}

@media (prefers-reduced-motion: reduce) {
	.recommendation-card,
	.related-guide-card,
	.related-guide-card__link,
	.button,
	.wp-block-button__link,
	.affiliate-button,
	.faq-list details,
	.faq-card-list details {
		transition: none;
	}

	.recommendation-card:hover,
	.related-guide-card:hover,
	.related-guide-card__link:hover,
	.button:hover,
	.wp-block-button__link:hover,
	.affiliate-button:hover {
		transform: none;
	}
}

/* Final specificity pass over older theme.css component rules. */
.article-main .entry-content .quick-verdict .recommendation-card,
.article-main .entry-content .recommendation-grid .recommendation-card,
.quick-verdict .recommendation-card {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	padding: clamp(1.15rem, 2.4vw, 1.55rem);
	border: 1px solid rgba(16, 42, 67, 0.11);
	border-radius: 20px;
	background: #ffffff;
	box-shadow: 0 18px 42px rgba(16, 42, 67, 0.08);
}

.article-main .entry-content .quick-verdict .recommendation-card .affiliate-button,
.article-main .entry-content .recommendation-card .affiliate-button,
.quick-verdict .recommendation-card .affiliate-button {
	margin-top: auto;
}

.article-main .entry-content :where(.quick-verdict, .buyer-guide-tool, .cta-box, .callout-box, .answer-engine-summary, .evaluation-note) p:empty,
.article-main .entry-content :where(.quick-verdict, .buyer-guide-tool, .cta-box, .callout-box, .answer-engine-summary, .evaluation-note) .wp-block-spacer:empty {
	display: none;
	margin: 0;
	padding: 0;
}

.article-main .entry-content .quick-verdict {
	padding: clamp(1.25rem, 2.6vw, 1.85rem);
}

.article-main .entry-content .quick-verdict > * + * {
	margin-top: 0.85rem;
}

.article-main .entry-content .quick-verdict__header {
	margin-bottom: 0.85rem;
}

.article-main .entry-content .quick-verdict__header > * + * {
	margin-top: 0.45rem;
}

.article-main .entry-content .quick-verdict__grid {
	margin-top: 0.85rem;
}

.article-main .entry-content .quick-verdict > p:empty + h2,
.article-main .entry-content .quick-verdict > p:empty + .quick-verdict__header,
.article-main .entry-content .quick-verdict > p:empty + .quick-verdict__grid {
	margin-top: 0;
}

.article-main .entry-content .quick-verdict .recommendation-card {
	gap: 0.65rem;
}

.article-main .entry-content .quick-verdict .recommendation-card p {
	margin-top: 0;
	margin-bottom: 0.35rem;
}

.article-main .entry-content .quick-verdict .button-row,
.article-main .entry-content .quick-verdict .wp-block-buttons {
	margin-top: 0.4rem;
}

.article-main .entry-content .cta-box,
.article-main .entry-content .conversion-panel {
	color: #ffffff;
}

.article-main .entry-content .cta-box :where(h1, h2, h3, h4, h5, h6, p, li, span, strong, em, .eyebrow),
.article-main .entry-content .conversion-panel :where(h1, h2, h3, h4, h5, h6, p, li, span, strong, em, .eyebrow) {
	color: #ffffff;
}

.article-main .entry-content .cta-box a:not(.button):not(.wp-block-button__link),
.article-main .entry-content .conversion-panel a:not(.button):not(.wp-block-button__link) {
	color: #ffffff;
	text-decoration-color: rgba(255, 255, 255, 0.7);
}

.article-main .entry-content .cta-box .button,
.article-main .entry-content .cta-box .wp-block-button__link,
.article-main .entry-content .conversion-panel .button,
.article-main .entry-content .conversion-panel .wp-block-button__link {
	color: #ffffff !important;
}

.article-main .entry-content .faq-list details,
.article-main .entry-content .faq-card-list details,
.article-main .entry-content .wp-block-details {
	background: #ffffff;
}

.article-main .entry-content .comparison-table,
.article-main .entry-content .quick-table,
.article-main .entry-content .buyer-guide-table {
	background: #ffffff;
}

.article-main .entry-content .related-guides .related-guide-card,
.article-main .entry-content .related-guides .related-guide-card__link,
.related-guides .related-guide-card,
.related-guides .related-guide-card__link {
	display: flex;
	flex-direction: column;
	min-height: 100%;
	padding: 1.2rem;
	border: 1px solid rgba(16, 42, 67, 0.1);
	border-radius: 20px;
	background: #ffffff;
	box-shadow: 0 16px 38px rgba(16, 42, 67, 0.08);
}
