/* RX8 FAQs front-end defaults. Override via the .rx8-faqs__* classes in your
   theme or Elementor custom CSS. Design: one black card with a grey (#424751)
   1px border and rounded corners, centred title, grey dividers between
   questions. */
.rx8-faqs {
	margin: 1.5em 0;
	background: #000;
	border: 1px solid #424751;
	border-radius: 12px;
	padding: clamp(1em, 3vw, 2em);
	max-width: 100%;
	box-sizing: border-box;
}
.rx8-faqs__title {
	margin: 0 0 0.75em;
	text-align: center;
}
.rx8-faqs__item {
	border: 0;
	border-radius: 0;
	margin: 0;
	background: transparent;
}
/* 1px grey divider between questions (not after the last one). */
.rx8-faqs__item + .rx8-faqs__item {
	border-top: 1px solid #424751;
}
.rx8-faqs__question {
	cursor: pointer;
	padding: 0.9em 0.25em;
	font-weight: 600;
	list-style: none;
	position: relative;
	padding-right: 2.25em;
	overflow-wrap: break-word;
}
.rx8-faqs__question::-webkit-details-marker { display: none; }
.rx8-faqs__question::after {
	content: "+";
	position: absolute;
	right: 0.5em;
	top: 50%;
	transform: translateY(-50%);
	font-weight: 400;
	opacity: 0.6;
}
.rx8-faqs__item[open] > .rx8-faqs__question::after { content: "\2212"; }
.rx8-faqs__answer { padding: 0 0.25em 1em; overflow-wrap: break-word; }
.rx8-faqs__answer p { margin: 0; }

/* Small screens: tighten the card padding so text keeps room to breathe. */
@media (max-width: 480px) {
	.rx8-faqs { border-radius: 10px; padding: 0.9em; }
	.rx8-faqs__question { padding-right: 1.9em; }
}
