/* AutoBlog (Piccolo Friendly) — article look
 * Energetic, readable, brand-forward — not flashy.
 */

.fcbp-article {
	--fcbp-ink: #0a0a0a;
	--fcbp-muted: #525252;
	--fcbp-line: #ececec;
	--fcbp-accent: #ff0033;
	--fcbp-soft: #fff1f3;
	--fcbp-mark: #ffe566;
	--fcbp-surface: #f7f7f7;
	--fcbp-radius: 12px;
	--fcbp-max: 40.5rem;
	max-width: var(--fcbp-max);
	margin: 0 auto;
	color: var(--fcbp-ink);
	font-size: clamp(1.05rem, 0.95rem + 0.35vw, 1.175rem);
	line-height: 1.75;
	letter-spacing: -0.011em;
	text-wrap: pretty;
}

.fcbp-article > *:first-child {
	margin-top: 0;
}

.fcbp-article > *:last-child {
	margin-bottom: 0;
}

/* Lead */
.fcbp-article .fcbp-lead,
.fcbp-article > p.fcbp-lead {
	font-size: 1.22em;
	line-height: 1.55;
	color: var(--fcbp-muted);
	margin: 0 0 1.4em;
	font-weight: 450;
}

.fcbp-article p {
	margin: 0 0 1.15em;
}

/* Headings */
.fcbp-article h2 {
	margin: 2.35em 0 0.7em;
	font-size: clamp(1.45rem, 1.2rem + 1vw, 1.9rem);
	line-height: 1.2;
	letter-spacing: -0.03em;
	font-weight: 800;
}

.fcbp-article h2::after {
	content: "";
	display: block;
	width: 2.5rem;
	height: 3px;
	margin-top: 0.55rem;
	background: var(--fcbp-accent);
	border-radius: 999px;
}

.fcbp-article h3 {
	margin: 1.85em 0 0.55em;
	font-size: 1.2em;
	line-height: 1.3;
	letter-spacing: -0.02em;
	font-weight: 750;
}

.fcbp-article .fcbp-kicker {
	display: inline-block;
	margin: 0 0 0.65em;
	padding: 0.2em 0.65em;
	font-size: 0.72em;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--fcbp-accent);
	background: var(--fcbp-soft);
	border-radius: 999px;
}

/* Emphasis */
.fcbp-article strong,
.fcbp-article b {
	font-weight: 750;
	color: var(--fcbp-ink);
}

.fcbp-article em,
.fcbp-article i {
	font-style: italic;
	color: #262626;
}

.fcbp-article mark,
.fcbp-article .fcbp-mark {
	background: linear-gradient(180deg, transparent 42%, var(--fcbp-mark) 42%, var(--fcbp-mark) 92%, transparent 92%);
	color: inherit;
	padding: 0 0.1em;
	border-radius: 2px;
}

.fcbp-article .fcbp-em {
	color: var(--fcbp-accent);
	font-weight: 700;
}

.fcbp-article u,
.fcbp-article .fcbp-uline {
	text-decoration: none;
	box-shadow: inset 0 -0.18em 0 var(--fcbp-accent);
	padding-bottom: 0.05em;
}

/* Links */
.fcbp-article a {
	color: var(--fcbp-accent);
	font-weight: 600;
	text-decoration: underline;
	text-decoration-thickness: 1.5px;
	text-underline-offset: 0.18em;
	text-decoration-color: color-mix(in srgb, var(--fcbp-accent) 55%, transparent);
}

.fcbp-article a:hover {
	text-decoration-color: var(--fcbp-accent);
}

/* Lists */
.fcbp-article ul,
.fcbp-article ol {
	margin: 0 0 1.35em;
	padding-left: 0;
	list-style: none;
}

.fcbp-article ul > li,
.fcbp-article ol > li {
	position: relative;
	margin: 0.55em 0;
	padding-left: 1.45em;
}

.fcbp-article ul > li::before {
	content: "";
	position: absolute;
	left: 0.2em;
	top: 0.72em;
	width: 0.45em;
	height: 0.45em;
	border-radius: 50%;
	background: var(--fcbp-accent);
}

.fcbp-article ol {
	counter-reset: fcbp;
}

.fcbp-article ol > li {
	counter-increment: fcbp;
}

.fcbp-article ol > li::before {
	content: counter(fcbp);
	position: absolute;
	left: 0;
	top: 0.1em;
	width: 1.2em;
	height: 1.2em;
	border-radius: 50%;
	background: var(--fcbp-soft);
	color: var(--fcbp-accent);
	font-size: 0.78em;
	font-weight: 800;
	line-height: 1.2em;
	text-align: center;
}

.fcbp-article .fcbp-steps {
	margin: 1.5em 0;
	padding: 1em 1.1em 1em 0.25em;
	background: var(--fcbp-surface);
	border-radius: var(--fcbp-radius);
	border: 1px solid var(--fcbp-line);
}

.fcbp-article .fcbp-steps > li {
	padding-left: 2.1em;
}

.fcbp-article .fcbp-steps > li::before {
	width: 1.45em;
	height: 1.45em;
	line-height: 1.45em;
	font-size: 0.85em;
	background: var(--fcbp-accent);
	color: #fff;
	top: 0.05em;
	left: 0.55em;
}

/* Quote / callouts */
.fcbp-article blockquote,
.fcbp-article .fcbp-quote {
	margin: 1.85em 0;
	padding: 1em 1.15em 1em 1.25em;
	border-left: 4px solid var(--fcbp-accent);
	background: var(--fcbp-soft);
	border-radius: 0 var(--fcbp-radius) var(--fcbp-radius) 0;
	font-size: 1.05em;
	line-height: 1.55;
	color: #292524;
	font-weight: 550;
}

.fcbp-article blockquote p:last-child,
.fcbp-article .fcbp-quote p:last-child {
	margin-bottom: 0;
}

.fcbp-article .fcbp-callout,
.fcbp-article .fcbp-tip {
	margin: 1.85em 0;
	padding: 1.15em 1.25em;
	border-radius: var(--fcbp-radius);
	border: 1px solid var(--fcbp-line);
	background: #fff;
	box-shadow: 0 1px 0 rgba(10, 10, 10, 0.04);
}

.fcbp-article .fcbp-callout {
	border-color: color-mix(in srgb, var(--fcbp-accent) 28%, var(--fcbp-line));
	background: linear-gradient(180deg, #fff 0%, var(--fcbp-soft) 160%);
}

.fcbp-article .fcbp-tip {
	border-left: 4px solid var(--fcbp-accent);
}

.fcbp-article .fcbp-callout > p:first-child,
.fcbp-article .fcbp-tip > p:first-child {
	font-weight: 700;
}

.fcbp-article .fcbp-callout p:last-child,
.fcbp-article .fcbp-tip p:last-child {
	margin-bottom: 0;
}

/* Media */
.fcbp-article figure,
.fcbp-article .fcbp-figure {
	margin: 1.9em 0;
}

.fcbp-article img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--fcbp-radius);
	box-shadow: 0 10px 28px rgba(10, 10, 10, 0.08);
}

.fcbp-article figcaption,
.fcbp-article .fcbp-caption {
	margin-top: 0.6em;
	font-size: 0.88em;
	color: var(--fcbp-muted);
	text-align: center;
	line-height: 1.4;
}

.fcbp-article hr,
.fcbp-article .fcbp-divider {
	border: 0;
	height: 1px;
	margin: 2.4em auto;
	max-width: 8rem;
	background: linear-gradient(90deg, transparent, var(--fcbp-accent), transparent);
}

/* Mobile */
@media (max-width: 640px) {
	.fcbp-article {
		font-size: 1.05rem;
		line-height: 1.7;
	}

	.fcbp-article .fcbp-lead,
	.fcbp-article > p.fcbp-lead {
		font-size: 1.12em;
	}

	.fcbp-article h2 {
		margin-top: 1.9em;
	}

	.fcbp-article .fcbp-steps {
		padding-right: 0.85em;
	}

	.fcbp-article img {
		box-shadow: 0 6px 16px rgba(10, 10, 10, 0.07);
	}
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
	.fcbp-article * {
		transition: none !important;
	}
}
