/* =========================================================
 * Structured product content (ACF "Product Content" group).
 *
 * Every selector is scoped under .apc so nothing leaks into the
 * rest of the description tab. Two classes deep in most places to
 * out-rank the parent theme's tab panel list and table rules.
 * ========================================================= */

.apc {
	--apc-accent: #f25f20;
	--apc-accent-soft: #fff1ea;
	--apc-ink: #1c1f23;
	--apc-body: #555b63;
	--apc-line: #e6e8ec;
	--apc-soft: #f7f8fa;
	--apc-radius: 10px;

	color: var(--apc-body);
	font-size: 15px;
	line-height: 1.7;
}

.apc .apc-sec {
	margin: 0 0 42px;
}

.apc .apc-sec:last-child {
	margin-bottom: 0;
}

/* --- Headings --------------------------------------------------------- */

.apc .apc-title {
	position: relative;
	margin: 0 0 20px;
	padding-bottom: 12px;
	color: var(--apc-ink);
	font-size: 21px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: -0.2px;
	border-bottom: 1px solid var(--apc-line);
}

.apc .apc-title:after {
	content: "";
	position: absolute;
	bottom: -1px;
	left: 0;
	width: 48px;
	height: 3px;
	background: var(--apc-accent);
	border-radius: 3px;
}

.apc .apc-subtitle {
	margin: 28px 0 14px;
	color: var(--apc-ink);
	font-size: 16px;
	font-weight: 600;
}

/* --- Intro paragraph -------------------------------------------------- */

.apc .apc-intro {
	margin: 0 0 38px;
	padding: 22px 24px;
	background: var(--apc-soft);
	border-left: 3px solid var(--apc-accent);
	border-radius: 0 var(--apc-radius) var(--apc-radius) 0;
	font-size: 15px;
}

.apc .apc-intro > :first-child {
	margin-top: 0;
}

.apc .apc-intro > :last-child {
	margin-bottom: 0;
}

/* --- Ticked benefit list ---------------------------------------------- */

.apc .apc-ticks {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
	gap: 10px 28px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.apc .apc-ticks li {
	position: relative;
	margin: 0;
	padding: 0 0 0 30px;
	list-style: none;
	color: var(--apc-body);
}

.apc .apc-ticks li:before {
	content: "";
	position: absolute;
	top: 7px;
	left: 2px;
	width: 16px;
	height: 16px;
	background: var(--apc-accent-soft);
	border-radius: 50%;
}

.apc .apc-ticks li:after {
	content: "";
	position: absolute;
	top: 11px;
	left: 7px;
	width: 5px;
	height: 8px;
	border: solid var(--apc-accent);
	border-width: 0 2px 2px 0;
	transform: rotate(40deg);
}

/* --- Audience pills --------------------------------------------------- */

.apc .apc-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.apc .apc-pills li {
	margin: 0;
	padding: 7px 16px;
	list-style: none;
	background: #fff;
	border: 1px solid var(--apc-line);
	border-radius: 999px;
	color: var(--apc-ink);
	font-size: 14px;
	line-height: 1.5;
}

/* --- Key feature cards ------------------------------------------------ */

.apc .apc-features {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr));
	gap: 16px;
}

.apc .apc-feature {
	padding: 20px 22px;
	background: #fff;
	border: 1px solid var(--apc-line);
	border-radius: var(--apc-radius);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.apc .apc-feature:hover {
	border-color: rgba(242, 95, 32, 0.45);
	box-shadow: 0 6px 18px rgba(28, 31, 35, 0.06);
}

.apc .apc-feature-title {
	position: relative;
	margin: 0 0 8px;
	padding-left: 16px;
	color: var(--apc-ink);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
}

.apc .apc-feature-title:before {
	content: "";
	position: absolute;
	top: 8px;
	left: 0;
	width: 7px;
	height: 7px;
	background: var(--apc-accent);
	border-radius: 50%;
}

.apc .apc-feature-text {
	margin: 0;
	font-size: 14px;
	line-height: 1.65;
}

/* --- Recommended use callout ------------------------------------------ */

.apc .apc-callout {
	padding: 20px 24px;
	background: var(--apc-accent-soft);
	border-radius: var(--apc-radius);
}

.apc .apc-callout-label {
	display: block;
	margin-bottom: 6px;
	color: var(--apc-ink);
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.6px;
}

.apc .apc-callout-body > :first-child {
	margin-top: 0;
}

.apc .apc-callout-body > :last-child {
	margin-bottom: 0;
}

/* --- Usage methods ---------------------------------------------------- */

.apc .apc-methods {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
	gap: 20px;
}

.apc .apc-method {
	padding: 24px;
	background: var(--apc-soft);
	border-radius: var(--apc-radius);
}

.apc .apc-method-title {
	margin: 0 0 16px;
	color: var(--apc-ink);
	font-size: 16px;
	font-weight: 600;
}

.apc .apc-steps {
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: apc-step;
}

.apc .apc-steps li {
	position: relative;
	margin: 0;
	padding: 0 0 16px 42px;
	list-style: none;
	counter-increment: apc-step;
	color: var(--apc-body);
	font-size: 14px;
	line-height: 1.6;
}

.apc .apc-steps li:last-child {
	padding-bottom: 0;
}

.apc .apc-steps li:before {
	content: counter(apc-step);
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	width: 26px;
	height: 26px;
	background: #fff;
	border: 1px solid var(--apc-accent);
	border-radius: 50%;
	color: var(--apc-accent);
	font-size: 12px;
	font-weight: 600;
	line-height: 24px;
	text-align: center;
}

/* Connector line between step markers. */
.apc .apc-steps li:after {
	content: "";
	position: absolute;
	top: 26px;
	bottom: 0;
	left: 13px;
	width: 1px;
	background: #dcdfe4;
}

.apc .apc-steps li:last-child:after {
	display: none;
}

/* --- Package contents ------------------------------------------------- */

.apc .apc-package {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.apc .apc-package-item {
	margin: 0;
	padding: 16px 20px;
	list-style: none;
	background: #fff;
	border: 1px solid var(--apc-line);
	border-radius: var(--apc-radius);
}

.apc .apc-package-label {
	display: block;
	margin-bottom: 4px;
	color: var(--apc-accent);
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.6px;
}

.apc .apc-package-value {
	display: block;
	color: var(--apc-ink);
	font-size: 14px;
	line-height: 1.55;
}

/* --- FAQ accordion ---------------------------------------------------- */

.apc .apc-faqs {
	border: 1px solid var(--apc-line);
	border-radius: var(--apc-radius);
	overflow: hidden;
}

.apc .apc-faq {
	border-bottom: 1px solid var(--apc-line);
}

.apc .apc-faq:last-child {
	border-bottom: none;
}

.apc .apc-faq-q {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	position: relative;
	padding: 16px 52px 16px 20px;
	background: #fff;
	color: var(--apc-ink);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.5;
	cursor: pointer;
	list-style: none;
	transition: background 0.18s ease;
}

.apc .apc-faq-q::-webkit-details-marker {
	display: none;
}

.apc .apc-faq-q:hover {
	background: var(--apc-soft);
}

.apc .apc-faq[open] > .apc-faq-q {
	background: var(--apc-soft);
}

.apc .apc-faq-n {
	flex: 0 0 auto;
	width: 22px;
	height: 22px;
	margin-top: 1px;
	background: var(--apc-accent-soft);
	border-radius: 50%;
	color: var(--apc-accent);
	font-size: 12px;
	font-weight: 600;
	line-height: 22px;
	text-align: center;
}

/* Chevron, rotated when the answer is open. */
.apc .apc-faq-q:after {
	content: "";
	position: absolute;
	top: 22px;
	right: 22px;
	width: 8px;
	height: 8px;
	border: solid #9aa1aa;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
	transition: transform 0.2s ease;
}

.apc .apc-faq[open] > .apc-faq-q:after {
	transform: rotate(-135deg);
	border-color: var(--apc-accent);
}

.apc .apc-faq-a {
	padding: 4px 52px 18px;
	font-size: 14px;
	line-height: 1.7;
}

.apc .apc-faq-a > :first-child {
	margin-top: 0;
}

.apc .apc-faq-a > :last-child {
	margin-bottom: 0;
}

/* --- Specification lists ---------------------------------------------- */

.apc .apc-specs {
	margin: 0;
	border: 1px solid var(--apc-line);
	border-radius: var(--apc-radius);
	overflow: hidden;
}

.apc .apc-spec {
	display: flex;
	flex-wrap: wrap;
	border-bottom: 1px solid var(--apc-line);
}

.apc .apc-spec:last-child {
	border-bottom: none;
}

.apc .apc-spec:nth-child(odd) {
	background: var(--apc-soft);
}

.apc .apc-specs dt,
.apc .apc-specs dd {
	margin: 0;
	padding: 12px 20px;
	font-size: 14px;
	line-height: 1.55;
}

.apc .apc-specs dt {
	flex: 0 0 38%;
	max-width: 38%;
	color: var(--apc-ink);
	font-weight: 600;
}

.apc .apc-specs dd {
	flex: 1 1 auto;
	border-left: 1px solid var(--apc-line);
	color: var(--apc-body);
}

/* --- Mobile ----------------------------------------------------------- */

@media (max-width: 767px) {

	.apc .apc-sec {
		margin-bottom: 32px;
	}

	.apc .apc-title {
		font-size: 18px;
	}

	.apc .apc-intro {
		padding: 18px;
	}

	.apc .apc-ticks {
		grid-template-columns: 1fr;
	}

	.apc .apc-method,
	.apc .apc-callout {
		padding: 18px;
	}

	.apc .apc-faq-q {
		padding: 14px 44px 14px 16px;
		font-size: 14px;
	}

	.apc .apc-faq-q:after {
		top: 20px;
		right: 18px;
	}

	.apc .apc-faq-a {
		padding: 2px 44px 16px 16px;
	}

	.apc .apc-specs dt,
	.apc .apc-specs dd {
		flex: 1 1 100%;
		max-width: 100%;
		padding: 10px 16px;
	}

	.apc .apc-specs dt {
		padding-bottom: 0;
	}

	.apc .apc-specs dd {
		border-left: none;
	}
}
