/* ==========================================================================
   A+ SEO Manager — Content Builder front-end styles
   Scoped entirely to aseo-cb-* classes so it never bleeds into theme styles.
   Shared by both the admin preview and the real site front-end.
   ========================================================================== */

/* ---------------- FAQ (accordion) ---------------- */

.aseo-cb-faq {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 20px 0;
}

.aseo-cb-faq-item {
	border: 1px solid #dde1e5;
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.aseo-cb-faq-item[open] {
	border-color: #c3cdd6;
	box-shadow: 0 2px 8px rgba(16, 24, 40, 0.06);
}

.aseo-cb-faq-question {
	cursor: pointer;
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 16px 18px;
	font-weight: 600;
	font-size: 15.5px;
	line-height: 1.4;
	color: #1d2327;
	background: #f7f8f9;
	transition: background-color 0.15s ease;
}

.aseo-cb-faq-question:hover {
	background: #eef1f4;
}

.aseo-cb-faq-question:focus-visible {
	outline: 2px solid #2271b1;
	outline-offset: -2px;
}

.aseo-cb-faq-item[open] > .aseo-cb-faq-question {
	background: #eef4fb;
	border-bottom: 1px solid #dde1e5;
}

.aseo-cb-faq-question::-webkit-details-marker {
	display: none;
}

.aseo-cb-faq-question::after {
	content: "+";
	flex-shrink: 0;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: #fff;
	border: 1px solid #c3cdd6;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	font-weight: 400;
	line-height: 1;
	color: #2271b1;
	transition: transform 0.15s ease, background-color 0.15s ease;
}

.aseo-cb-faq-item[open] > .aseo-cb-faq-question::after {
	content: "\2212";
	background: #2271b1;
	border-color: #2271b1;
	color: #fff;
}

.aseo-cb-faq-answer {
	padding: 4px 18px 18px;
	color: #3c434a;
	line-height: 1.65;
}

.aseo-cb-faq-answer p:first-child {
	margin-top: 0;
}

.aseo-cb-faq-answer p:last-child {
	margin-bottom: 0;
}

/* ---------------- Responsive Tables ---------------- */

.aseo-cb-table-wrap {
	margin: 20px 0;
	overflow-x: auto;
}

.aseo-cb-table {
	width: 100%;
	border-collapse: collapse;
}

.aseo-cb-table th,
.aseo-cb-table td {
	border: 1px solid #dcdcde;
	padding: 10px 12px;
	text-align: left;
	vertical-align: top;
}

.aseo-cb-table thead th {
	background: #f6f7f7;
	font-weight: 600;
}

.aseo-cb-table tbody tr:nth-child(even) {
	background: #fafafa;
}

.aseo-cb-table-description {
	margin: -10px 0 20px;
	font-size: 0.92em;
	line-height: 1.5;
	font-style: italic;
	color: #646970;
}

@media (max-width: 680px) {
	.aseo-cb-table-wrap {
		overflow-x: visible;
	}

	.aseo-cb-table thead {
		display: none;
	}

	.aseo-cb-table,
	.aseo-cb-table tbody,
	.aseo-cb-table tr,
	.aseo-cb-table td {
		display: block;
		width: 100%;
	}

	.aseo-cb-table tr {
		margin-bottom: 12px;
		border: 1px solid #dcdcde;
		border-radius: 6px;
		overflow: hidden;
	}

	.aseo-cb-table td {
		display: flex;
		justify-content: space-between;
		align-items: flex-start;
		gap: 12px;
		border: none;
		border-bottom: 1px solid #ececec;
	}

	.aseo-cb-table td:last-child {
		border-bottom: none;
	}

	.aseo-cb-table td::before {
		content: attr(data-label);
		font-weight: 600;
		flex-shrink: 0;
		padding-right: 10px;
	}
}

/* ---------------- Pros & Cons ---------------- */

.aseo-cb-pros-cons {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin: 20px 0;
}

@media (max-width: 600px) {
	.aseo-cb-pros-cons {
		grid-template-columns: 1fr;
	}
}

.aseo-cb-pros,
.aseo-cb-cons {
	border-radius: 8px;
	padding: 16px 18px;
}

.aseo-cb-pros {
	background: #f0faf3;
	border: 1px solid #bfe8cb;
}

.aseo-cb-cons {
	background: #fdf2f2;
	border: 1px solid #f0c6c6;
}

.aseo-cb-pc-title {
	margin: 0 0 10px;
	font-size: 15px;
}

.aseo-cb-pros ul,
.aseo-cb-cons ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.aseo-cb-pros li,
.aseo-cb-cons li {
	padding: 4px 0 4px 26px;
	position: relative;
}

.aseo-cb-pros li::before {
	content: "\2713";
	position: absolute;
	left: 0;
	color: #1a6b34;
	font-weight: 700;
}

.aseo-cb-cons li::before {
	content: "\2715";
	position: absolute;
	left: 0;
	color: #a30000;
	font-weight: 700;
}

/* ---------------- CTA banner ---------------- */

.aseo-cb-cta {
	display: flex;
	align-items: center;
	gap: 20px;
	margin: 20px 0;
	padding: 20px;
	border: 1px solid #dcdcde;
	border-radius: 8px;
	background: #f6f7f7;
}

@media (max-width: 680px) {
	.aseo-cb-cta {
		flex-direction: column;
		align-items: stretch;
		text-align: center;
	}
}

.aseo-cb-cta-image {
	flex: 0 0 auto;
}

.aseo-cb-cta-image img {
	display: block;
	max-width: 140px;
	height: auto;
	border-radius: 6px;
}

@media (max-width: 680px) {
	.aseo-cb-cta-image img {
		max-width: 100%;
		margin: 0 auto;
	}
}

.aseo-cb-cta-text {
	flex: 1 1 auto;
}

.aseo-cb-cta-text p {
	margin: 0;
}

.aseo-cb-cta-button {
	flex: 0 0 auto;
}

.aseo-cb-cta-button a {
	display: inline-block;
	padding: 12px 22px;
	border-radius: 6px;
	background: #2271b1;
	color: #fff;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

.aseo-cb-cta-button a:hover {
	background: #135e96;
	color: #fff;
}

/* ---------------- Tabs ---------------- */

.aseo-cb-tabs {
	margin: 20px 0;
	border: 1px solid #dcdcde;
	border-radius: 8px;
	background: #fff;
	overflow: hidden;
}

.aseo-cb-tabs-nav {
	display: flex;
	align-items: stretch;
	gap: 0;
	background: #f6f7f7;
	border-bottom: 1px solid #dcdcde;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.aseo-cb-tab-button,
.aseo-cb-tab-mobile-trigger {
	font: inherit;
	color: #3c434a;
	background: transparent;
	border: 0;
	cursor: pointer;
	text-align: left;
}

.aseo-cb-tab-button {
	position: relative;
	flex: 0 0 auto;
	padding: 14px 18px;
	font-weight: 600;
	white-space: nowrap;
	border-right: 1px solid #e2e4e7;
}

.aseo-cb-tab-button:hover {
	background: #eef1f4;
}

.aseo-cb-tab-button.is-active {
	background: #fff;
	color: #2271b1;
}

.aseo-cb-tab-button.is-active::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 3px;
	background: #2271b1;
}

.aseo-cb-tab-button:focus-visible,
.aseo-cb-tab-mobile-trigger:focus-visible {
	outline: 2px solid #2271b1;
	outline-offset: -2px;
}

.aseo-cb-tab-panel {
	display: none;
	padding: 20px;
}

.aseo-cb-tab-panel.is-active {
	display: block;
}

.aseo-cb-tab-content > :first-child {
	margin-top: 0;
}

.aseo-cb-tab-content > :last-child {
	margin-bottom: 0;
}

.aseo-cb-tab-mobile-trigger {
	display: none;
}

@media (max-width: 680px) {
	.aseo-cb-tabs-mobile-tabs .aseo-cb-tabs-nav {
		display: flex;
	}

	.aseo-cb-tabs-mobile-tabs .aseo-cb-tab-panel {
		padding: 16px;
	}

	.aseo-cb-tabs-mobile-accordion {
		border: 0;
		border-radius: 0;
		background: transparent;
		overflow: visible;
	}

	.aseo-cb-tabs-mobile-accordion .aseo-cb-tabs-nav {
		display: none;
	}

	.aseo-cb-tabs-mobile-accordion .aseo-cb-tab-panel {
		display: block;
		padding: 0;
		margin-bottom: 8px;
		border: 1px solid #dcdcde;
		border-radius: 8px;
		background: #fff;
		overflow: hidden;
	}

	.aseo-cb-tabs-mobile-accordion .aseo-cb-tab-mobile-trigger {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		width: 100%;
		padding: 14px 16px;
		font-weight: 600;
		background: #f6f7f7;
	}

	.aseo-cb-tabs-mobile-accordion .aseo-cb-tab-mobile-trigger::after {
		content: "+";
		font-size: 18px;
		font-weight: 400;
		color: #2271b1;
	}

	.aseo-cb-tabs-mobile-accordion .aseo-cb-tab-mobile-trigger.is-active::after {
		content: "\2212";
	}

	.aseo-cb-tabs-mobile-accordion .aseo-cb-tab-content {
		display: none;
		padding: 16px;
		border-top: 1px solid #dcdcde;
	}

	.aseo-cb-tabs-mobile-accordion .aseo-cb-tab-panel.is-mobile-open .aseo-cb-tab-content {
		display: block;
	}
}

/* ---------------- Show More Button ---------------- */

.aseo-cb-show-more {
	--aseo-sm-trigger-color: #fff;
	--aseo-sm-trigger-bg: #2271b1;
	--aseo-sm-trigger-size: 16px;
	--aseo-sm-trigger-weight: 600;
	--aseo-sm-radius: 6px;
	--aseo-sm-pad-y: 10px;
	--aseo-sm-pad-x: 18px;
	--aseo-sm-align: left;
	--aseo-sm-content-color: #1d2327;
	--aseo-sm-content-bg: #f7f8f9;
	--aseo-sm-content-size: 16px;
	--aseo-sm-line-height: 1.6;
	--aseo-sm-content-padding: 16px;
	--aseo-sm-content-radius: 10px;
	margin: 20px 0;
	display: flex;
	flex-direction: column;
}

.aseo-cb-show-more-content[hidden] {
	display: none !important;
}

.aseo-cb-show-more-content {
	order: 2;
	box-sizing: border-box;
	margin: 10px 0 0;
	padding: var(--aseo-sm-content-padding);
	border: 1px solid #dde1e5;
	border-radius: var(--aseo-sm-content-radius);
	background: var(--aseo-sm-content-bg);
	box-shadow: 0 2px 8px rgba(16, 24, 40, 0.06);
	color: var(--aseo-sm-content-color);
	font-size: var(--aseo-sm-content-size);
	line-height: var(--aseo-sm-line-height);
}

.aseo-cb-show-more-content > :first-child {
	margin-top: 0;
}

.aseo-cb-show-more-content > :last-child {
	margin-bottom: 0;
}

.aseo-cb-show-more-trigger-wrap {
	order: 1;
	text-align: var(--aseo-sm-align);
}

.aseo-cb-show-more-trigger {
	appearance: none;
	-webkit-appearance: none;
	font-family: inherit;
	font-size: var(--aseo-sm-trigger-size);
	font-weight: var(--aseo-sm-trigger-weight);
	cursor: pointer;
}

.aseo-cb-show-more-button .aseo-cb-show-more-trigger {
	padding: var(--aseo-sm-pad-y) var(--aseo-sm-pad-x);
	border: 0;
	border-radius: var(--aseo-sm-radius);
	background: var(--aseo-sm-trigger-bg);
	color: var(--aseo-sm-trigger-color);
	line-height: 1.2;
}

.aseo-cb-show-more-button .aseo-cb-show-more-trigger:hover {
	filter: brightness(0.94);
}

.aseo-cb-show-more-link .aseo-cb-show-more-trigger {
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--aseo-sm-trigger-color);
	line-height: inherit;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.aseo-cb-show-more-link .aseo-cb-show-more-trigger:hover {
	text-decoration-thickness: 2px;
}

.aseo-cb-show-more-trigger:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}


/* ---------------- Info Boxes ---------------- */
.aseo-cb-info-grid,.aseo-cb-pricing-grid,.aseo-cb-testimonials{display:grid;gap:18px;margin:22px 0;}
.aseo-cb-cols-1{grid-template-columns:1fr}.aseo-cb-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.aseo-cb-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.aseo-cb-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.aseo-cb-info-card{border:1px solid #dde1e5;border-radius:12px;background:#fff;padding:22px;box-shadow:0 3px 14px rgba(15,23,42,.045);}
.aseo-cb-info-icon{width:44px;height:44px;border-radius:11px;display:flex;align-items:center;justify-content:center;background:#edf6ee;background:color-mix(in srgb,var(--aseo-cb-accent,#1b9c85) 12%,white);color:var(--aseo-cb-accent,#1b9c85);font-size:21px;font-weight:800;margin-bottom:14px}.aseo-cb-info-icon .dashicons{width:22px;height:22px;font-size:22px;line-height:1;color:inherit}
.aseo-cb-info-title{margin:0 0 8px;font-size:1.08em}.aseo-cb-info-text{color:#50575e;line-height:1.6}.aseo-cb-info-link{display:inline-block;margin-top:14px;color:var(--aseo-cb-accent,#1b9c85);font-weight:650;text-decoration:none}.aseo-cb-info-link:hover{text-decoration:underline}

/* ---------------- Steps / Process ---------------- */
.aseo-cb-steps{display:grid;gap:18px;margin:22px 0;counter-reset:aseostep}.aseo-cb-steps-horizontal{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}.aseo-cb-steps-vertical{grid-template-columns:1fr}
.aseo-cb-step{display:flex;gap:14px;align-items:flex-start;position:relative}.aseo-cb-step-number{flex:0 0 38px;width:38px;height:38px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--aseo-cb-accent,#1b9c85);color:#fff;font-weight:750;box-shadow:0 0 0 5px color-mix(in srgb,var(--aseo-cb-accent,#1b9c85) 12%,white)}
.aseo-cb-step-content{padding-top:5px}.aseo-cb-step-content h3{margin:0 0 6px;font-size:1.05em}.aseo-cb-step-content p{margin:0;color:#50575e;line-height:1.6}

/* ---------------- Pricing Cards ---------------- */
.aseo-cb-price-card{position:relative;border:1px solid #dde1e5;border-radius:14px;background:#fff;padding:26px;display:flex;flex-direction:column;min-width:0;box-shadow:0 4px 18px rgba(15,23,42,.045)}
.aseo-cb-price-featured{border:2px solid var(--aseo-cb-accent,#1b9c85);box-shadow:0 10px 28px rgba(27,156,133,.14);box-shadow:0 10px 28px color-mix(in srgb,var(--aseo-cb-accent,#1b9c85) 14%,transparent)}
.aseo-cb-price-badge{position:absolute;right:14px;top:14px;border-radius:999px;padding:5px 9px;background:#edf6ee;background:color-mix(in srgb,var(--aseo-cb-accent,#1b9c85) 12%,white);color:var(--aseo-cb-accent,#1b9c85);font-size:11px;font-weight:750}
.aseo-cb-price-name{margin:0 0 14px;padding-right:70px;font-size:1.22em}.aseo-cb-price-value{font-size:2.2em;font-weight:800;line-height:1.05;color:#1d2327;margin-bottom:12px}.aseo-cb-price-value small{font-size:.38em;font-weight:500;color:#646970}.aseo-cb-price-desc{color:#646970;margin-bottom:16px}.aseo-cb-price-features{list-style:none!important;margin:0 0 22px!important;padding:0!important;display:grid;gap:9px}.aseo-cb-price-features li{padding-left:24px;position:relative}.aseo-cb-price-features li:before{content:'✓';position:absolute;left:0;color:var(--aseo-cb-accent,#1b9c85);font-weight:800}.aseo-cb-price-button{display:inline-flex;justify-content:center;align-items:center;margin-top:auto;padding:11px 16px;border-radius:7px;background:var(--aseo-cb-accent,#1b9c85);color:#fff!important;text-decoration:none!important;font-weight:700}.aseo-cb-price-button:hover{filter:brightness(.92)}

/* ---------------- Testimonials ---------------- */
.aseo-cb-testimonial{margin:0;border:1px solid #dde1e5;border-radius:12px;background:#fff;padding:22px;box-shadow:0 3px 14px rgba(15,23,42,.04)}.aseo-cb-test-stars{color:#f0a500;letter-spacing:2px;margin-bottom:12px;font-size:17px}.aseo-cb-test-stars span{color:#dcdcde}.aseo-cb-testimonial blockquote{margin:0 0 18px;padding:0;border:0;font-size:1em;line-height:1.65;color:#3c434a}.aseo-cb-testimonial figcaption{display:flex;gap:11px;align-items:center}.aseo-cb-testimonial figcaption img{width:46px;height:46px;border-radius:50%;object-fit:cover}.aseo-cb-testimonial figcaption strong,.aseo-cb-testimonial figcaption span{display:block}.aseo-cb-testimonial figcaption span{font-size:.9em;color:#646970;margin-top:2px}

/* ---------------- Alert Box ---------------- */
.aseo-cb-alert{display:flex;gap:14px;align-items:flex-start;margin:20px 0;padding:17px 18px;border:1px solid;border-radius:10px;line-height:1.6}.aseo-cb-alert-icon{flex:0 0 30px;width:30px;height:30px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:15px;background:#fff}.aseo-cb-alert-content{min-width:0}.aseo-cb-alert-title{display:block;margin-bottom:3px}.aseo-cb-alert-info{background:#f0f7ff;border-color:#bdd7f0;color:#194c76}.aseo-cb-alert-tip{background:#f3faf7;border-color:#b9e1cf;color:#1f5f4b}.aseo-cb-alert-success{background:#f0faf3;border-color:#bfe8cb;color:#245d35}.aseo-cb-alert-warning{background:#fff8e5;border-color:#efd18b;color:#765312}.aseo-cb-alert-danger{background:#fdf2f2;border-color:#efc5c5;color:#7a2828}
@media(max-width:850px){.aseo-cb-cols-4,.aseo-cb-cols-3{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.aseo-cb-cols-4,.aseo-cb-cols-3,.aseo-cb-cols-2{grid-template-columns:1fr}.aseo-cb-price-card{padding:22px}.aseo-cb-alert{padding:15px}}
