/**
 * FAQs page — hero + layout tweaks
 * @package Creative_Custom_Boxes
 */

.ccb-faq-hero {
	position: relative;
	padding: 40px 0 28px;
	text-align: center;
	background: linear-gradient(180deg, #faf8f6 0%, #fff 100%);
	overflow: hidden;
}

.ccb-faq-hero__decor {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background-image:
		repeating-linear-gradient(
			90deg,
			transparent,
			transparent 79px,
			rgba(36, 36, 36, 0.04) 79px,
			rgba(36, 36, 36, 0.04) 80px
		);
}

.ccb-faq-hero__mark {
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	font-size: 14px;
	color: var(--orange, #f59a57);
	opacity: 0.45;
}

.ccb-faq-hero__mark--1 {
	top: 26%;
	left: 12%;
}

.ccb-faq-hero__mark--2 {
	top: 22%;
	right: 14%;
}

.ccb-faq-hero .container {
	position: relative;
	z-index: 1;
	max-width: 720px;
}

.ccb-faq-hero__breadcrumb {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 8px;
	margin-bottom: 16px;
	font-size: 13px;
	color: var(--mid-gray, #767676);
}

.ccb-faq-hero__breadcrumb a {
	color: var(--charcoal, #242424);
	text-decoration: none;
}

.ccb-faq-hero__breadcrumb a:hover {
	color: var(--orange, #f59a57);
}

.ccb-faq-hero__badge {
	display: inline-block;
	margin-bottom: 12px;
	padding: 6px 16px;
	font-family: var(--font-head, 'Urbanist', sans-serif);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1.2px;
	text-transform: uppercase;
	color: var(--charcoal, #242424);
	background: rgba(245, 154, 87, 0.2);
	border: 1px solid rgba(36, 36, 36, 0.12);
	border-radius: 100px;
}

.ccb-faq-hero__title {
	margin: 0 0 12px;
	font-family: var(--font-head, 'Urbanist', sans-serif);
	font-size: 42px;
	font-weight: 800;
	line-height: 1.12;
	color: var(--charcoal, #242424);
}

.ccb-faq-hero__teaser {
	margin: 0;
	font-size: 16px;
	line-height: 1.65;
	color: var(--mid-gray, #767676);
}

.ccb-main--sub .ccb-faq-page.section {
	padding-top: 40px;
	padding-bottom: 72px;
}

.ccb-faq-page__head {
	text-align: center;
	max-width: 640px;
	margin-left: auto;
	margin-right: auto;
}

.ccb-faq-page__accordion .ccb-cat-faq__list {
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
}

.ccb-faq-page__cta {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-top: 40px;
}

.ccb-faq-page__cta .btn-secondary {
	color: #333333 !important;
	background: #f7f7f7 !important;
}

@media (max-width: 767px) {
	.ccb-faq-hero {
		padding: 28px 0 20px;
	}

	.ccb-faq-hero__title {
		font-size: 32px;
	}

	.ccb-faq-hero__mark {
		display: none;
	}

	.ccb-faq-page__cta .btn-primary,
	.ccb-faq-page__cta .btn-secondary {
		width: 100%;
		justify-content: center;
	}
}
