/* FAQ – mini nagłówek + nagłówek (globalne), accordion z numerami i chevronem */

.block__inner-wrapper.block-faq__inner-wrapper {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	text-align: left;
	width: 100%;
}

.block-faq__mini-header {
	margin-bottom: 0.5rem;
}

.block-faq__header {
	margin-bottom: 1.5rem;
}

/* Lista accordion */
.block-faq__accordion {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

/* Pojedynczy element FAQ */
.block-faq__item {
	background: #fff;
	border-radius: 0;
	overflow: hidden;
}

/* Przycisk (pytanie) */
.block-faq__trigger {
	display: flex;
	align-items: center;
	gap: 16px;
	width: 100%;
	padding: 18px 20px;
	text-align: left;
	border: none;
	background: transparent;
	cursor: pointer;
	font-family: inherit;
	color: inherit;
	transition: background-color 0.2s ease;
}

.block-faq__trigger:hover {
	background: rgba(0, 0, 0, 0.03);
}

.block-faq__trigger:focus-visible {
	outline: 2px solid var(--color);
	outline-offset: 2px;
}

/* Niebieski kwadrat z numerem */
.block-faq__num {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 32px;
	height: 32px;
	background: var(--color);
	color: #fff;
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1;
}

/* Tekst pytania */
.block-faq__question {
	flex: 1;
	font-size: var(--font-size-normal, 1rem);
	font-weight: 500;
	line-height: 1.4;
	min-width: 0;
}

/* Chevron (strzałka) */
.block-faq__icon {
	flex-shrink: 0;
	width: 24px;
	height: 24px;
	position: relative;
	opacity: 0.6;
	transition: transform 0.25s ease;
}

.block-faq__icon::after {
	content: '';
	position: absolute;
	left: 50%;
	top: 50%;
	width: 8px;
	height: 8px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translate(-50%, -35%) rotate(45deg);
}

.block-faq__item--open .block-faq__icon {
	transform: rotate(180deg);
}

/* Panel z odpowiedzią */
.block-faq__panel {
	overflow: hidden;
}

.block-faq__panel[hidden] {
	display: none;
}

.block-faq__answer {
	padding: 0 20px 20px;
	padding-left: calc(32px + 16px + 20px); /* wyrównanie z tekstem pytania (num + gap + padding) */
	font-size: var(--font-size-normal, 1rem);
	line-height: 1.6;
	color: rgba(0, 0, 0, 0.85);
}

.block-faq__answer p:first-child {
	margin-top: 0;
}

.block-faq__answer p:last-child {
	margin-bottom: 0;
}

.block-faq__answer a,
.block-faq__answer strong {
	color: var(--color);
}

.block-faq__answer a:hover {
	text-decoration: underline;
}

@media screen and (max-width: 600px) {
	.block-faq__trigger {
		padding: 14px 0px;
		gap: 12px;
	}

	.block-faq__num {
		width: 28px;
		height: 28px;
		font-size: 0.875rem;
	}

	.block-faq__answer {
		padding: 0 16px 16px;
		padding-left: calc(12px + 12px + 16px);
	}
}
