/* ApexVision AI - Guides Template Styles */
/* Full-featured standalone template styling */

/* Reset & Base Styles */
* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	line-height: 1.6;
	color: #1a1a1a;
	background: #ffffff;
	font-size: 16px;
}

/* WordPress Header Styles */
.site-header {
	background: #ffffff;
	border-bottom: 1px solid #e5e7eb;
	position: sticky;
	top: 0;
	z-index: 1000;
	box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.custom-header-row {
	max-width: 1400px;
	margin: 0 auto;
	padding: 1rem 2rem;
	display: flex !important;
	justify-content: space-between !important;
	align-items: center !important;
	flex-wrap: wrap;
	gap: 1rem;
}

.menu-no-mobile-padding {
	display: flex !important;
	align-items: center !important;
	gap: 1rem;
}

.is-layout-flex,
.wp-block-group-is-layout-flex {
	display: flex !important;
}

.is-layout-flow,
.wp-block-group-is-layout-flow {
	display: block;
}

.wp-block-site-logo img {
	max-width: 96px;
	height: auto;
}

.wp-block-site-title {
	margin: 0;
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.2;
}

.wp-block-site-title a {
	text-decoration: none;
	color: #111827;
}

.wp-block-site-tagline {
	margin: 0;
	font-size: 0.875rem;
	color: #6b7280;
	font-weight: 500;
}

.wp-block-navigation {
	display: flex !important;
	align-items: center !important;
}

.wp-block-navigation__container {
	display: flex !important;
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	gap: 1.5rem;
	align-items: center;
}

.wp-block-navigation-item {
	list-style: none !important;
	margin: 0 !important;
}

.wp-block-navigation-item a {
	text-decoration: none !important;
	color: #374151 !important;
	font-weight: 500;
	font-size: 0.9375rem;
	transition: color 0.2s;
	padding: 0.5rem 0;
	display: inline-block;
}

.wp-block-navigation-item a:hover {
	color: #667eea !important;
}

.wp-block-navigation-item__label {
	display: inline;
}

.wp-block-navigation-item__description {
	display: none;
}

.wp-block-navigation__responsive-container-open {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0.5rem;
}

.wp-block-navigation__responsive-container-open svg {
	fill: #374151;
}

/* WordPress Footer Styles */
.site-footer {
	margin-top: 4rem;
}

.has-foreground-background-color {
	background-color: #1f2937 !important;
}

.has-background {
	background-color: #1f2937 !important;
}

.has-text-color {
	color: #ffffff !important;
}

.has-link-color a {
	color: #d1d5db !important;
}

.wp-block-columns {
	display: flex !important;
	gap: 2rem;
	flex-wrap: wrap;
}

.wp-block-columns.alignwide {
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
}

.wp-block-column {
	flex: 1;
	min-width: 200px;
}

.wp-block-column h4,
.wp-block-column .wp-block-heading {
	color: #ffffff !important;
	margin-bottom: 1rem;
	font-size: 1.125rem;
	font-weight: 600;
}

.wp-block-column p {
	color: #d1d5db !important;
	line-height: 1.75;
	margin-bottom: 1rem;
}

.wp-block-column a {
	color: #d1d5db !important;
	text-decoration: none !important;
	transition: color 0.2s;
}

.wp-block-column a:hover {
	color: #ffffff !important;
	text-decoration: underline !important;
}

.is-layout-constrained {
	max-width: 100%;
}

.has-global-padding {
	padding-left: 1rem;
	padding-right: 1rem;
}

.alignwide {
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
}

.alignfull {
	width: 100%;
	max-width: 100%;
}

.margin-top-half {
	margin-top: 0.5rem;
}

.margin-bottom-half {
	margin-bottom: 0.5rem;
}

/* Responsive Header/Footer */
@media (max-width: 1024px) {
	.wp-block-navigation__container {
		gap: 1rem;
	}

	.wp-block-navigation-item a {
		font-size: 0.875rem;
	}
}

@media (max-width: 768px) {
	.custom-header-row {
		padding: 1rem;
	}

	.wp-block-navigation__container {
		display: none;
	}

	.wp-block-navigation__responsive-container-open {
		display: block;
	}

	.wp-block-columns {
		flex-direction: column;
	}

	.wp-block-column {
		flex-basis: 100% !important;
	}
}

.guide-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px;
}

/* Breadcrumbs */
.guide-breadcrumbs {
	margin-bottom: 2rem;
	font-size: 0.875rem;
}

.guide-breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	gap: 0.5rem;
	align-items: center;
}

.guide-breadcrumbs li:not(:last-child)::after {
	content: "›";
	margin-left: 0.5rem;
	color: #9ca3af;
}

.guide-breadcrumbs a {
	color: #2563eb;
	text-decoration: none;
}

.guide-breadcrumbs a:hover {
	text-decoration: underline;
}

/* Article Header */
.guide-header {
	margin-bottom: 3rem;
}

.guide-type-badge {
	display: inline-block;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	padding: 0.5rem 1rem;
	border-radius: 20px;
	font-size: 0.875rem;
	font-weight: 600;
	margin-bottom: 1rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.guide-title {
	font-size: 2.5rem;
	font-weight: 800;
	line-height: 1.2;
	margin-bottom: 1.5rem;
	color: #111827;
}

@media (max-width: 768px) {
	.guide-title {
		font-size: 1.875rem;
	}
}

.guide-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	margin-bottom: 2rem;
	color: #6b7280;
	font-size: 0.875rem;
}

.meta-item {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.meta-item svg {
	color: #9ca3af;
}

/* Key Takeaways Box */
.guide-takeaways {
	background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
	border-left: 4px solid #667eea;
	padding: 1.5rem;
	border-radius: 8px;
	margin: 2rem 0;
}

.takeaways-title {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 1.25rem;
	font-weight: 700;
	margin-bottom: 1rem;
	color: #667eea;
}

.takeaways-content ul {
	list-style: none;
	padding-left: 0;
}

.takeaways-content li {
	padding-left: 1.5rem;
	position: relative;
	margin-bottom: 0.5rem;
}

.takeaways-content li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: #10b981;
	font-weight: bold;
}

/* Comparison Table */
.guide-comparison-table {
	margin: 3rem 0;
}

.guide-comparison-table h2 {
	font-size: 1.875rem;
	font-weight: 700;
	margin-bottom: 1.5rem;
	color: #111827;
}

.comparison-table-wrapper {
	overflow-x: auto;
	border-radius: 8px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.comparison-table-wrapper table {
	width: 100%;
	border-collapse: collapse;
	background: white;
}

.comparison-table-wrapper th,
.comparison-table-wrapper td {
	padding: 1rem;
	text-align: left;
	border-bottom: 1px solid #e5e7eb;
}

.comparison-table-wrapper th {
	background: #f9fafb;
	font-weight: 600;
	color: #374151;
}

.comparison-table-wrapper tr:hover {
	background: #f9fafb;
}

/* CTA Sections */
.guide-cta {
	margin: 3rem 0;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	border-radius: 12px;
	padding: 2rem;
	color: white;
}

.cta-content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	flex-wrap: wrap;
}

.cta-icon {
	font-size: 3rem;
}

.cta-text {
	flex: 1;
}

.cta-text strong {
	display: block;
	font-size: 1.25rem;
	margin-bottom: 0.25rem;
}

.cta-text p {
	opacity: 0.9;
	margin: 0;
}

.cta-button {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: white;
	color: #667eea;
	padding: 0.875rem 1.75rem;
	border-radius: 8px;
	text-decoration: none;
	font-weight: 600;
	transition: transform 0.2s, box-shadow 0.2s;
	white-space: nowrap;
}

.cta-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Bottom CTA - Large */
.cta-content-large {
	text-align: center;
}

.cta-content-large h2 {
	font-size: 2rem;
	margin-bottom: 1rem;
	color: white;
}

.cta-content-large > p {
	font-size: 1.125rem;
	opacity: 0.95;
	margin-bottom: 2rem;
}

.cta-features {
	display: flex;
	justify-content: center;
	gap: 2rem;
	margin-bottom: 2rem;
	flex-wrap: wrap;
}

.cta-features .feature {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-weight: 500;
}

.cta-button-large {
	font-size: 1.125rem;
	padding: 1rem 2.5rem;
}

.cta-note {
	margin-top: 1rem;
	font-size: 0.875rem;
	opacity: 0.8;
}

/* Main Content */
.guide-content {
	max-width: 800px;
	margin: 0 auto 3rem;
	font-size: 1.125rem;
	line-height: 1.8;
}

.guide-content h2 {
	font-size: 1.875rem;
	font-weight: 700;
	margin: 2.5rem 0 1rem;
	color: #111827;
}

.guide-content h3 {
	font-size: 1.5rem;
	font-weight: 600;
	margin: 2rem 0 1rem;
	color: #374151;
}

.guide-content p {
	margin-bottom: 1.5rem;
}

.guide-content ul,
.guide-content ol {
	margin-bottom: 1.5rem;
	padding-left: 2rem;
}

.guide-content li {
	margin-bottom: 0.5rem;
}

.guide-content a {
	color: #2563eb;
	text-decoration: underline;
}

.guide-content a:hover {
	color: #1d4ed8;
}

.guide-content img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
	margin: 2rem 0;
}

.guide-content blockquote {
	border-left: 4px solid #e5e7eb;
	padding-left: 1.5rem;
	margin: 2rem 0;
	font-style: italic;
	color: #6b7280;
}

.guide-content code {
	background: #f3f4f6;
	padding: 0.2rem 0.4rem;
	border-radius: 4px;
	font-family: 'Courier New', monospace;
	font-size: 0.9em;
}

.guide-content pre {
	background: #1f2937;
	color: #f9fafb;
	padding: 1.5rem;
	border-radius: 8px;
	overflow-x: auto;
	margin: 2rem 0;
}

.guide-content pre code {
	background: none;
	padding: 0;
	color: inherit;
}

/* Tool Reviews */
.guide-tool-reviews {
	margin: 3rem 0;
}

.tool-review {
	background: white;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	padding: 2rem;
	margin-bottom: 2rem;
	box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.tool-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1rem;
	flex-wrap: wrap;
	gap: 1rem;
}

.tool-header h2 {
	margin: 0;
	font-size: 1.75rem;
	color: #111827;
}

.tool-rating {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.rating-stars {
	font-size: 1.25rem;
	display: inline-flex;
	gap: 2px;
}

.star-filled {
	color: #fbbf24;
}

.star-empty {
	color: #d1d5db;
}

.rating-number {
	font-weight: 600;
	color: #667eea;
}

.tool-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-bottom: 1.5rem;
}

.tool-badge,
.tool-price {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: #f3f4f6;
	padding: 0.5rem 1rem;
	border-radius: 6px;
	font-size: 0.875rem;
	font-weight: 500;
}

.tool-description {
	margin-bottom: 1.5rem;
	font-size: 1.125rem;
	color: #374151;
}

.tool-pros-cons {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 1.5rem;
	margin: 1.5rem 0;
}

.tool-pros h3,
.tool-cons h3 {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 1.125rem;
	margin-bottom: 1rem;
}

.tool-pros ul,
.tool-cons ul {
	list-style: none;
	padding: 0;
}

.tool-pros li,
.tool-cons li {
	padding-left: 1.5rem;
	position: relative;
	margin-bottom: 0.5rem;
}

.tool-pros li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: #10b981;
	font-weight: bold;
}

.tool-cons li::before {
	content: "✗";
	position: absolute;
	left: 0;
	color: #ef4444;
	font-weight: bold;
}

.tool-pricing {
	background: #f9fafb;
	padding: 1.5rem;
	border-radius: 8px;
	margin: 1.5rem 0;
}

.tool-pricing h3 {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 1.125rem;
	margin-bottom: 0.75rem;
}

.tool-bottom-line {
	background: #fffbeb;
	border-left: 4px solid #f59e0b;
	padding: 1rem 1.5rem;
	border-radius: 4px;
	margin-top: 1.5rem;
}

/* Testing Methodology */
.guide-testing {
	background: #f9fafb;
	padding: 2rem;
	border-radius: 12px;
	margin: 3rem 0;
}

.guide-testing h2 {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	font-size: 1.75rem;
	margin-bottom: 1.5rem;
	color: #111827;
}

.testing-content {
	font-size: 1.0625rem;
	line-height: 1.7;
}

/* Related Tools Grid */
.guide-tools {
	margin: 3rem 0;
}

.guide-tools h2 {
	font-size: 1.875rem;
	font-weight: 700;
	margin-bottom: 1.5rem;
	color: #111827;
}

.tools-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 1.5rem;
}

.tool-card {
	background: white;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	padding: 1.5rem;
	text-decoration: none;
	color: inherit;
	transition: transform 0.2s, box-shadow 0.2s;
	display: flex;
	flex-direction: column;
}

.tool-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.tool-icon {
	font-size: 2.5rem;
	margin-bottom: 1rem;
}

.tool-card h3 {
	font-size: 1.25rem;
	font-weight: 600;
	margin-bottom: 0.5rem;
	color: #111827;
}

.tool-card p {
	color: #6b7280;
	font-size: 0.9375rem;
	flex: 1;
}

/* FAQ Section */
.guide-faq {
	margin: 3rem 0;
}

.guide-faq h2 {
	font-size: 1.875rem;
	font-weight: 700;
	margin-bottom: 1.5rem;
	color: #111827;
}

.faq-list {
	max-width: 800px;
	margin: 0 auto;
}

.faq-item {
	border-bottom: 1px solid #e5e7eb;
	padding: 1.5rem 0;
}

.faq-question {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: none;
	border: none;
	font-size: 1.125rem;
	font-weight: 600;
	color: #111827;
	cursor: pointer;
	text-align: left;
	padding: 0;
	transition: color 0.2s;
}

.faq-question:hover {
	color: #667eea;
}

.faq-icon {
	flex-shrink: 0;
	transition: transform 0.3s;
}

.faq-question[aria-expanded="true"] .faq-icon {
	transform: rotate(180deg);
}

.faq-answer {
	margin-top: 1rem;
	color: #374151;
	line-height: 1.7;
}

.faq-answer[hidden] {
	display: none;
}

/* Related Guides */
.guide-related {
	margin: 3rem 0;
}

.guide-related h2 {
	font-size: 1.875rem;
	font-weight: 700;
	margin-bottom: 1.5rem;
	color: #111827;
}

.related-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 2rem;
}

.related-card {
	background: white;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	transition: transform 0.2s, box-shadow 0.2s;
	display: flex;
	flex-direction: column;
}

.related-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.related-image {
	width: 100%;
	height: 200px;
	overflow: hidden;
}

.related-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.related-content {
	padding: 1.5rem;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.related-content h3 {
	font-size: 1.25rem;
	font-weight: 600;
	margin-bottom: 0.75rem;
	color: #111827;
}

.related-content p {
	color: #6b7280;
	font-size: 0.9375rem;
	flex: 1;
	margin-bottom: 1rem;
}

.related-link {
	color: #2563eb;
	font-weight: 500;
	font-size: 0.9375rem;
}

/* Responsive Design */
@media (max-width: 768px) {
	.guide-container {
		padding: 1rem;
	}
	
	.cta-content {
		flex-direction: column;
		text-align: center;
	}
	
	.cta-icon {
		font-size: 2rem;
	}
	
	.guide-content {
		font-size: 1rem;
	}
	
	.tools-grid,
	.related-grid {
		grid-template-columns: 1fr;
	}
	
	.tool-pros-cons {
		grid-template-columns: 1fr;
	}
}
