/* Accordion Item Wrapper */
.accordion-item {
	width: 100%;
	max-width: unset !important;
	margin-bottom: 12px !important;
	border: 2px solid #fff;
	box-sizing: border-box;
}

/* Accordion Header */
.acc-head {
	display: flex;
	position: relative;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 20px 24px;
	height: auto;
	transition: all 0.3s ease;
	color: #fff;
	cursor: pointer;
	box-sizing: border-box;
	background-color: transparent;
	font-size: 16px;
	font-weight: 500;
	letter-spacing: 0.02em;
}

.acc-head:hover {
	background-color: rgba(255, 255, 255, 0.1);
}

.acc-head:focus {
	outline: none;
}

/* Accordion Title */
.acc-title {
	line-height: 1.3em;
	max-width: calc(100% - 50px);
}

/* Toggle Icons */
.acc-head svg {
	width: 24px;
	height: 24px;
	stroke: #fff;
	fill: #fff;
	stroke-width: 2;
	transition: all 0.3s ease;
	flex-shrink: 0;
}

/* Chevron Down (closed state) */
.acc-head .toggle-off {
	top: 5px;
	display: block;
	position: relative;
}

/* X icon (open state) */
.acc-head .toggle-on {
	display: none;
}

.accordion-item.active .toggle-off {
	display: none;
}

.accordion-item.active .toggle-on {
	display: block;
}

/* Accordion Body */
.acc-body {
	display: none;
	width: 100%;
	padding: 0 30px 30px 30px;
	box-sizing: border-box;
	color: #fff;
}

.accordion-item.active .acc-body {
	display: block;
}

/* Separator line */
.acc-body::before {
	content: '';
	display: block;
	width: 100%;
	height: 1px;
	background-color: rgba(255, 255, 255, 0.5);
	margin-bottom: 20px;
}

/* Body content styles */
.acc-body .block-editor-inner-blocks {
	position: relative;
	clear: both;
	width: 100% !important;
}

.acc-body p {
	line-height: 1.8em;
	margin: 0;
	color: #fff;
}

.acc-body p:first-child {
	margin-top: 0;
}

.acc-body p:last-child {
	margin-bottom: 0;
}

.acc-body ul {
	list-style: inside;
	padding: 10px 0;
	color: #fff;
}

/* Editor Preview Styles */
.acf-block-preview .acc-body {
	display: block !important;
}

/* Last accordion in group */
.accordion-item:last-child {
	margin-bottom: 0 !important;
}
