div.custom-accordion-holder
{
	position: relative;
	margin-left: auto;
	margin-right: auto;
	box-shadow: rgba(0, 0, 0, 0.25) 0px 0px 20px;
	max-width: 500px;
}

div.custom-accordion-item
{
	border-bottom: 1px solid #EAEAEA;
}

div.custom-accordion-item:last-child
{
	border-bottom: none;
}

div.custom-accordion-item > .accordion-header
{
	position: relative;
	margin: 0;
	padding: 12px 2.5rem 12px 15px;
	border: 0;
	border-radius: 0;
	font: inherit;
	font-size: 0.9rem;
	font-weight: bold;
	line-height: 1.4;
	text-align: left;
	color: var(--wp--preset--color--wpbf-palette-color-1);
	display: flex;
	width: 100%;
	align-items: center;
	cursor: pointer;
	background-color: var(--wp--preset--color--wpbf-palette-color-2);
	box-shadow: none;
}

div.custom-accordion-item > .accordion-header:focus-visible
{
	outline: 2px solid var(--wp--preset--color--wpbf-palette-color-4);
	outline-offset: -2px;
}

div.custom-accordion-item > .accordion-header::after
{
	content: "+";
	position: absolute;
	top: 50%;
	transform: translate(0%, -50%);
	right: 0.5rem;
	color: var(--wp--preset--color--wpbf-palette-color-4);
	font-size: 1.85rem;
	line-height: 1;
}

div.custom-accordion-item > .accordion-header:hover
{
	color: var(--wp--preset--color--wpbf-palette-color-4);
	text-decoration: none;
	background-color: var(--wp--preset--color--wpbf-palette-color-2);
}

div.custom-accordion-item > .accordion-header:hover::after
{
	color: var(--wp--preset--color--wpbf-palette-color-1);
}

div.custom-accordion-item > .accordion-header.expanded::after
{
	content: "-";
	opacity: 0.4;
}


div.custom-accordion-item > .accordion-header img
{
	width: 20px;
	height: auto;
	margin-right: 10px;
}

div.custom-accordion-item > .accordion-content
{
	font-size: 0.85rem;
	line-height: 1.5;
	padding: 15px 20px 15px;
	display: none;
	background-color: #F0F0F0;
}

div.custom-accordion-item > .accordion-content.expand
{
	display: block;
}

div.custom-accordion-item > .accordion-content a
{
	color: var(--wp--preset--color--wpbf-palette-color-4);
}
/* Variant: Cards (ML Windscreens FAQ) - separate white cards, navy when open, a round slot-4 plus/minus.
   The icon is drawn in CSS: slot 4 on white is 4.56:1 (the design's lighter orange failed at 2.75:1) */
div.custom-accordion-holder.custom-accordion--cards {
	max-width: none;
	box-shadow: none;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}
.custom-accordion--cards div.custom-accordion-item {
	border: 0;
	border-radius: var(--border-radius);
	overflow: hidden;
	background: var(--wp--preset--color--wpbf-palette-color-2);
}
.custom-accordion--cards div.custom-accordion-item > .accordion-header {
	padding: 1.5rem 5rem 1.5rem 1.5rem;
	font-size: var(--text-size-200);
	font-weight: 700;
	line-height: 1.6;
	color: var(--wp--preset--color--wpbf-palette-color-1);
	background: transparent;
}
.custom-accordion--cards div.custom-accordion-item > .accordion-header:hover {
	color: var(--wp--preset--color--wpbf-palette-color-3);
	background: transparent;
}
/* The round button: circle + two bars (the vertical one hides when open) */
.custom-accordion--cards div.custom-accordion-item > .accordion-header::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 1.5rem;
	transform: translateY(-50%);
	opacity: 1;
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	background:
		linear-gradient(var(--wp--preset--color--wpbf-palette-color-2), var(--wp--preset--color--wpbf-palette-color-2)) center / 0.875rem 2px no-repeat,
		linear-gradient(var(--wp--preset--color--wpbf-palette-color-2), var(--wp--preset--color--wpbf-palette-color-2)) center / 2px 0.875rem no-repeat,
		var(--wp--preset--color--wpbf-palette-color-4);
}
.custom-accordion--cards div.custom-accordion-item > .accordion-header.expanded::after {
	content: "";
	opacity: 1;
	background:
		linear-gradient(var(--wp--preset--color--wpbf-palette-color-2), var(--wp--preset--color--wpbf-palette-color-2)) center / 0.875rem 2px no-repeat,
		var(--wp--preset--color--wpbf-palette-color-4);
}
.custom-accordion--cards div.custom-accordion-item > .accordion-header:focus-visible {
	outline: 3px solid var(--wp--preset--color--wpbf-palette-color-6);
	outline-offset: -3px;
}
.custom-accordion--cards div.custom-accordion-item > .accordion-content {
	padding: 0 5rem 1.5rem 1.5rem;
	font-size: var(--text-size-100);
	line-height: 1.67;
	background: transparent;
}
.custom-accordion--cards div.custom-accordion-item > .accordion-content p:last-child {
	margin-bottom: 0;
}
/* Open: navy card, white question, light-blue answer */
.custom-accordion--cards div.custom-accordion-item.active {
	background: var(--wp--preset--color--wpbf-palette-color-3);
}
.custom-accordion--cards div.custom-accordion-item.active > .accordion-header,
.custom-accordion--cards div.custom-accordion-item.active > .accordion-header:hover {
	color: var(--wp--preset--color--wpbf-palette-color-2);
}
.custom-accordion--cards div.custom-accordion-item.active > .accordion-content,
.custom-accordion--cards div.custom-accordion-item.active > .accordion-content p {
	color: var(--wp--preset--color--wpbf-palette-color-7);
}
.custom-accordion--cards div.custom-accordion-item.active > .accordion-content a {
	color: var(--wp--preset--color--wpbf-palette-color-2);
}
@media screen and (max-width: 768px) {
	.custom-accordion--cards div.custom-accordion-item > .accordion-header {
		padding: 1.25rem 4rem 1.25rem 1.25rem;
	}
	.custom-accordion--cards div.custom-accordion-item > .accordion-header::after {
		right: 1.25rem;
	}
	.custom-accordion--cards div.custom-accordion-item > .accordion-content {
		padding: 0 1.25rem 1.25rem;
	}
}
