/**
 * FAQs page — TCL / DBIM green accordion layout.
 */

#main-content.tcl-faq-page {
	background: #f4f7f6;
	padding: 0;
	margin: 0;
	width: 100%;
	max-width: none;
}

.tcl-faq-wrap {
	max-width: 960px;
	margin: 0 auto;
}

.tcl-faq-hero {
	margin-bottom: 1.75rem;
	text-align: center;
}

.tcl-faq-hero h1 {
	margin: 0 0 0.65rem;
	font-size: clamp(1.55rem, 2.8vw, 2.1rem);
	font-weight: 700;
	color: var(--eagle-green, var(--primary, #0b4141)) !important;
	line-height: 1.25;
}

.tcl-faq-hero__intro {
	margin: 0 auto;
	max-width: 42rem;
	font-size: 0.95rem;
	line-height: 1.6;
	color: var(--text-secondary, #3d5c5c) !important;
}

.tcl-faq-section {
	margin-bottom: 1.5rem;
}

.tcl-faq-page .tcl-faq-section__title,
.tcl-faq-section__title {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	margin: 0 0 0.85rem;
	padding-bottom: 0.55rem;
	border-bottom: 2px solid rgba(11, 65, 65, 0.12);
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--eagle-green, var(--primary, #0b4141)) !important;
	background: transparent !important;
	border-left: 0;
	border-radius: 0;
}

.tcl-faq-section__title::before {
	content: "";
	width: 4px;
	height: 1.1rem;
	border-radius: 2px;
	background: var(--primary, #0b4141);
	flex: 0 0 4px;
}

.tcl-faq-page .tcl-faq-item__heading {
	margin: 0;
	padding: 0;
	background: transparent !important;
	border: 0;
	border-radius: 0;
	font-size: inherit;
	font-weight: inherit;
	color: inherit !important;
}

.tcl-faq-accordion {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}

.tcl-faq-item {
	background: #fff;
	border: 1px solid rgba(11, 65, 65, 0.12);
	border-radius: 10px;
	box-shadow: 0 4px 14px rgba(11, 65, 65, 0.06);
	overflow: hidden;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.tcl-faq-item.is-open {
	border-color: rgba(11, 65, 65, 0.22);
	box-shadow: 0 8px 22px rgba(11, 65, 65, 0.1);
}

.tcl-faq-item__trigger {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	width: 100%;
	margin: 0;
	padding: 1rem 1.1rem;
	border: 0;
	background: transparent;
	color: var(--eagle-green, var(--primary, #0b4141)) !important;
	font-family: inherit;
	font-size: 0.98rem;
	font-weight: 600;
	line-height: 1.45;
	text-align: left;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.tcl-faq-item__trigger:hover,
.tcl-faq-item__trigger:focus {
	background: rgba(11, 65, 65, 0.04);
	outline: none;
}

.tcl-faq-item__trigger:focus-visible {
	outline: 2px solid var(--primary, #0b4141);
	outline-offset: -2px;
}

.tcl-faq-item__text {
	flex: 1;
	min-width: 0;
}

.tcl-faq-item__icon {
	flex: 0 0 1.5rem;
	width: 1.5rem;
	height: 1.5rem;
	border-radius: 50%;
	border: 1px solid rgba(11, 65, 65, 0.2);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	position: relative;
	transition: transform 0.25s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.tcl-faq-item__icon::before,
.tcl-faq-item__icon::after {
	content: "";
	position: absolute;
	background: var(--primary, #0b4141);
	border-radius: 1px;
	transition: transform 0.25s ease;
}

.tcl-faq-item__icon::before {
	width: 10px;
	height: 2px;
}

.tcl-faq-item__icon::after {
	width: 2px;
	height: 10px;
}

.tcl-faq-item.is-open .tcl-faq-item__icon {
	background: var(--primary, #0b4141);
	border-color: var(--primary, #0b4141);
}

.tcl-faq-item.is-open .tcl-faq-item__icon::before,
.tcl-faq-item.is-open .tcl-faq-item__icon::after {
	background: #fff;
}

.tcl-faq-item.is-open .tcl-faq-item__icon::after {
	transform: scaleY(0);
}

.tcl-faq-item__panel {
	border-top: 1px solid rgba(11, 65, 65, 0.08);
}

.tcl-faq-item__panel[hidden] {
	display: none;
}

.tcl-faq-item__answer {
	padding: 0.9rem 1.1rem 1.15rem;
	color: var(--text-primary, #1e293b) !important;
	font-size: 0.9375rem;
	line-height: 1.65;
}

.tcl-faq-item__answer p {
	margin: 0;
	color: var(--text-primary, #1e293b) !important;
}

.tcl-faq-item__answer p + p {
	margin-top: 0.75rem;
}

.tcl-faq-item__answer a {
	color: var(--primary, #0b4141) !important;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.tcl-faq-item__answer a:hover,
.tcl-faq-item__answer a:focus {
	color: var(--primary-dark, #083838) !important;
}

.tcl-faq-contact {
	margin-top: 1.75rem;
	padding: 1.1rem 1.2rem;
	background: #fff;
	border: 1px solid rgba(11, 65, 65, 0.12);
	border-radius: 10px;
	box-shadow: 0 4px 14px rgba(11, 65, 65, 0.06);
	text-align: center;
}

.tcl-faq-contact p {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.6;
	color: var(--text-secondary, #3d5c5c) !important;
}

.tcl-faq-contact a {
	color: var(--primary, #0b4141) !important;
	font-weight: 600;
}

@media (max-width: 768px) {
	#main-content.tcl-faq-page {
		padding: 1.5rem 0.75rem 2.5rem;
	}

	.tcl-faq-item__trigger {
		padding: 0.9rem 0.95rem;
		font-size: 0.92rem;
	}

	.tcl-faq-item__answer {
		padding: 0.85rem 0.95rem 1rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tcl-faq-item,
	.tcl-faq-item__trigger,
	.tcl-faq-item__icon,
	.tcl-faq-item__icon::before,
	.tcl-faq-item__icon::after {
		transition: none;
	}
}

body.tcl-high-contrast #main-content.tcl-faq-page .tcl-faq-item,
.high-contrast #main-content.tcl-faq-page .tcl-faq-item {
	border: 2px solid #000;
	box-shadow: none;
}

body.tcl-high-contrast #main-content.tcl-faq-page .tcl-faq-item__trigger,
.high-contrast #main-content.tcl-faq-page .tcl-faq-item__trigger {
	color: #000 !important;
}
