
:root {
	--navy: #001197;
	--blue: #3385ff;
	--blue-hover: #1c6fe6;
	--blue-tint: #eef4ff;
	--blue-tint-2: #f5f8ff;
	--text: #1a1a2e;
	--text-muted: #5a6480;
	--border: #e5e9f2;
	--white: #fff;
}

.single__service {
	background-color: var(--gray);
	border-radius: .5em;
	padding: 1.2em;
	min-height: 100%;
	position: relative;
	transition: .3s;
	position: relative;
}

.single__service:hover {
	transform: scale(1.1);
}

.single__service .service__link {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
}

.single__service img {
	margin-right: 1em;
	max-width: 2.8em;
}

.single__service .link-wrapper {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
}

/* ---------- SEARCH (centered) ---------- */
.cpt-acc-search-wrap {
	position: relative;
	width: 100%;
	max-width: 720px;
	margin: 0 auto 56px;
	padding: 0 32px;
}

.cpt-acc-search-input {
	width: 100%;
	padding: 18px 24px 18px 56px;
	font-size: 16px;
	font-family: "Inter", sans-serif;
	border: 2px solid var(--border);
	border-radius: 12px;
	background: var(--white);
	transition: border-color .2s, box-shadow .2s;
}

.cpt-acc-search-input:focus {
	outline: none;
	border-color: var(--blue);
	box-shadow: 0 0 0 4px rgba(51, 133, 255, .12);
}

.cpt-acc-search-icon {
	position: absolute;
	left: 50px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--text-muted);
}

/* ---------- CATEGORIES ---------- */
.cpt-accordion {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.cpt-acc-category {
	margin-bottom: 12px;
	border: 1px solid var(--border);
	border-radius: 12px;
	background: var(--white);
	overflow: hidden;
	transition: border-color .2s, box-shadow .2s;
}

.cpt-acc-category:hover {
	border-color: var(--blue);
	box-shadow: 0 4px 16px rgba(0, 17, 151, .06);
}

.cpt-acc-header {
	padding: 24px 28px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	cursor: pointer;
	background: var(--white);
	gap: 16px;
}

.cpt-acc-header-left {
	display: flex;
	align-items: center;
	gap: 18px;
	min-width: 0;
}

.category-icon {
	width: 44px;
	height: 44px;
	background: var(--blue-tint);
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--blue);
	flex-shrink: 0;
}

.cpt-acc-title {
	font-family: "DM Sans", sans-serif;
	font-size: 22px;
	font-weight: 700;
	color: var(--navy);
	text-align: left;
	line-height: 1.3;
}

.cpt-acc-header-right {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

.cpt-acc-count {
	font-size: 13px;
	color: var(--text-muted);
	font-weight: 500;
	padding: 4px 12px;
	background: var(--blue-tint-2);
	border-radius: 999px;
	margin-right: 16px;
	white-space: nowrap;
}

.cpt-acc-chevron {
	color: var(--text-muted);
	transition: transform .25s;
}

.cpt-acc-category[open] .cpt-acc-chevron {
	transform: rotate(90deg);
	color: var(--blue);
}

/* questions list */
.cpt-acc-questions {
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--border);
}

.cpt-acc-questions li {
	border-bottom: 1px solid var(--border);
}

.cpt-acc-questions li:last-child {
	border-bottom: none;
}

.elementor .elementor-element .cpt-acc-questions a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 28px 18px 86px;
	color: var(--text);
	font-size: 15px;
	transition: background .15s;
	gap: 16px;
}

.elementor .elementor-element .cpt-acc-questions a:hover {
	background: var(--blue-tint-2);
	text-decoration: none;
	color: var(--navy);
}

.elementor .elementor-element .cpt-acc-questions a .cpt-acc-arrow {
	color: var(--text-muted);
	transition: transform .2s, color .2s;
	flex-shrink: 0;
}

.elementor .elementor-element .cpt-acc-questions a:hover .cpt-acc-arrow {
	color: var(--blue);
	transform: translateX(4px);
}

/* hide native marker on summary */
details summary {
	list-style: none;
}

details summary::-webkit-details-marker {
	display: none;
}

/* ── Category icon ───────────────────────────────────────────────────────────── */
.cpt-acc-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 44px;
	height: 44px;
}

.cpt-acc-icon--image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

.cpt-acc-icon--class i {
	font-size: 18px;
	line-height: 1;
}

@media only screen and (max-width: 991px) {
	.single__service {
		padding: .8em;
		display: block !important;
		text-align: center;
	}
	
	.single__service img {
		margin-right: auto;
		margin-left: auto;
		margin-bottom: .6em;
	}
}

@media only screen and (max-width: 767px) {
	.single__service {
		padding: .8em;
		display: block !important;
		text-align: center;
	}
	
	.single__service img {
		margin-right: auto;
		margin-left: auto;
		margin-bottom: .6em;
	}
	
	.single__service.m-20-b {
		margin-top: .5em;
	}
	
	.single__service.m-20-t {
		margin-bottom: .5em;
	}
	
	.cpt-acc-header {
		flex-direction: column;
	}
}
