/* ==========================================================================
   FAQ  [oh_faq]
   ========================================================================== */

.oh-faq {
	border-top: 1px solid rgba(var(--oh-color-primary-rgb), 0.12);
}

.oh-faq__inner {
	display: grid;
	grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
	gap: clamp(40px, 6vw, 96px);
	align-items: start;
}

.oh-faq__header {
	position: sticky;
	top: calc(var(--oh-header-offset, 128px) + 24px);
}

.oh-faq__header > * {
	margin: 0;
}

.oh-faq .oh-faq__title {
	margin-top: 20px;
}

.oh-faq__list {
	border-top: 1px solid rgba(var(--oh-color-primary-rgb), 0.18);
}

.oh-faq__item {
	border-bottom: 1px solid rgba(var(--oh-color-primary-rgb), 0.18);
}

.oh-faq__question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 24px 0;
	cursor: pointer;
	list-style: none;
}

.oh-faq__question::-webkit-details-marker {
	display: none;
}

.oh-faq .oh-faq__q {
	margin: 0;
	padding: 0;
	font-family: var(--oh-font-heading);
	font-size: clamp(1.125rem, 1.6vw, 1.3125rem);
	font-weight: 400;
	line-height: 1.35;
	color: var(--oh-color-dark);
	transition: color 0.2s ease;
}

.oh-faq__question:hover .oh-faq__q {
	color: var(--oh-color-primary);
}

/* + / − */
.oh-faq__toggle {
	position: relative;
	flex: none;
	width: 36px;
	height: 36px;
	border: 1px solid rgba(var(--oh-color-primary-rgb), 0.3);
	border-radius: 50%;
	color: var(--oh-color-primary);
	transition: background-color 0.2s ease, color 0.2s ease;
}

.oh-faq__toggle::before,
.oh-faq__toggle::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 12px;
	height: 1px;
	background: currentColor;
	transform: translate(-50%, -50%);
	transition: transform 0.25s ease;
}

.oh-faq__toggle::after {
	transform: translate(-50%, -50%) rotate(90deg);
}

.oh-faq__item[open] .oh-faq__toggle {
	background-color: var(--oh-color-primary);
	color: #fff;
}

.oh-faq__item[open] .oh-faq__toggle::after {
	transform: translate(-50%, -50%) rotate(0deg);
}

.oh-faq__answer {
	padding: 0 60px 26px 0;
}

.oh-faq .oh-faq__answer p {
	max-width: 62ch;
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.8;
	color: var(--oh-color-text);
}

@media (max-width: 991px) {
	.oh-faq__inner {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.oh-faq__header {
		position: static;
	}
}

@media (max-width: 575px) {
	.oh-faq__question {
		padding: 20px 0;
	}

	.oh-faq__answer {
		padding-right: 0;
	}
}

/* FAQ στο τέλος των σελίδων (BOC SEO): ίδιο design, με γραμμή από πάνω */
.oh-faq#page-faq {
	border-top: 1px solid rgba(var(--oh-color-primary-rgb), 0.12);
}
