/* Ferienpark FAQ — component styles (ported from the HTML reference).
   Demo-only body/background rules are intentionally omitted so the block
   inherits the page it lives on. Two CSS vars expose the brand colours. */

.faq-ph,
.faq-ph * {
	box-sizing: border-box;
}

.faq-ph {
	--fp-faq-dark: #0f1f3a;
	--fp-faq-accent: #f4a000;
	max-width: 1100px;
	margin: 0 auto;
}

.faq-ph__item {
	background: #fff;
	border: 1px solid rgba(15, 31, 58, 0.08);
	box-shadow: 0 6px 20px rgba(15, 31, 58, 0.06);
	margin-bottom: 18px;
	overflow: hidden;
}

.faq-ph__btn {
	width: 100%;
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 24px 28px;
	border: 0;
	background: transparent !important;
	cursor: pointer;
	text-align: left;
	position: relative;
}

.faq-ph__iconwrap {
	width: 56px;
	height: 56px;
	min-width: 56px;
	border-radius: 999px;
	border: 2px solid rgba(244, 160, 0, 0.25);
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
}

.faq-ph__item.is-open .faq-ph__iconwrap {
	background: var(--fp-faq-dark);
}

.faq-ph__icon {
	font-size: 22px;
	color: var(--fp-faq-dark);
}

.faq-ph__item.is-open .faq-ph__icon {
	color: #fff;
}

.faq-ph__q {
	flex: 1;
	min-width: 0;
	padding-right: 34px;
	font-family: Cubano, Impact, sans-serif;
	text-transform: uppercase;
	letter-spacing: -0.02em;
	color: var(--fp-faq-dark);
	font-size: clamp(18px, 2vw, 31px);
	line-height: 1.1;
	white-space: normal !important;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.faq-ph__chev {
	position: absolute;
	right: 28px;
	top: 50%;
	transform: translateY(-50%);
	color: #aeb4c2;
	font-size: 18px;
	transition: transform .25s ease, color .25s ease;
}

.faq-ph__item.is-open .faq-ph__chev {
	transform: translateY(-50%) rotate(180deg);
	color: var(--fp-faq-accent);
}

.faq-ph__panel {
	display: none;
	padding: 0 28px 26px 28px;
}

.faq-ph__item.is-open .faq-ph__panel {
	display: block;
}

.faq-ph__divider {
	height: 4px;
	width: 78px;
	background: var(--fp-faq-dark);
	margin: 0 0 18px 0;
}

.faq-ph__a {
	margin: 0;
	color: rgba(15, 31, 58, 0.72);
	font-size: 18px;
	line-height: 1.7;
	max-width: 900px;
}

/* rich-text answers can contain multiple paragraphs / lists */
.faq-ph__a > :first-child { margin-top: 0; }
.faq-ph__a > :last-child { margin-bottom: 0; }
.faq-ph__a p { margin: 0 0 1em; }
.faq-ph__a a { color: var(--fp-faq-accent); }

@media (max-width: 767px) {
	.faq-ph__item {
		margin-bottom: 14px;
	}

	.faq-ph__btn {
		align-items: flex-start;
		gap: 12px;
		padding: 16px;
	}

	.faq-ph__iconwrap {
		width: 44px;
		height: 44px;
		min-width: 44px;
	}

	.faq-ph__icon {
		font-size: 18px;
	}

	.faq-ph__q {
		font-size: 16px;
		line-height: 1.2;
		padding-right: 24px;
		letter-spacing: -0.01em;
		hyphens: auto;
	}

	.faq-ph__chev {
		right: 16px;
		top: 20px;
		font-size: 15px;
		transform: none;
	}

	.faq-ph__item.is-open .faq-ph__chev {
		transform: rotate(180deg);
	}

	.faq-ph__panel {
		padding: 0 16px 18px 16px;
	}

	.faq-ph__divider {
		width: 58px;
		height: 3px;
		margin-bottom: 14px;
	}

	.faq-ph__a {
		font-size: 15px;
		line-height: 1.65;
	}
}
