/* =========================================================
   eh-kebutuhan.css  —  Pilih Kebutuhan Anda Section
   ========================================================= */

/* ── CSS Variables ────────────────────────────────────── */
.eh-kebutuhan-block {
	--kb-blue:        #1565C0;
	--kb-blue-light:  #E3F2FD;
	--kb-blue-border: #90CAF9;
	--kb-text-dark:   #1A2332;
	--kb-text-muted:  #546E7A;
	--kb-bg:          #FFFFFF;
	--kb-radius:      12px;
	--kb-icon-size:   88px;
	--kb-img-size:    52px;
	--kb-gap:         12px;
}

/* ── Section wrapper ──────────────────────────────────── */
.eh-kebutuhan-block {
	display: block;
	width: 100%;
	background: var(--kb-bg);
	padding: 44px 24px 48px;
	box-sizing: border-box;
}

/* ── Section heading ──────────────────────────────────── */
.eh-kebutuhan__heading {
	font-size: 20px;
	font-weight: 600;
	color: var(--kb-text-dark);
	text-align: center;
	margin: 0 0 32px;
	letter-spacing: -0.01em;
	line-height: 1.3;
}

/* ── Items row ────────────────────────────────────────── */
.eh-kebutuhan__items {
	display: flex;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: flex-start;
	gap: var(--kb-gap);
	max-width: 1100px;
	margin: 0 auto;
	list-style: none;
	padding: 0;
}

/* ── Single item ──────────────────────────────────────── */
.eh-kebutuhan__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	flex: 1 1 0;
	min-width: 0;
	gap: 0;
	text-decoration: none;
	cursor: pointer;
}

.eh-kebutuhan__item:focus-visible {
	outline: 2px solid var(--kb-blue);
	outline-offset: 4px;
	border-radius: var(--kb-radius);
}

/* ── Icon container ───────────────────────────────────── */
.eh-kebutuhan__icon-wrap {
	width: var(--kb-icon-size);
	height: var(--kb-icon-size);
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1.5px solid var(--kb-blue-border);
	border-radius: var(--kb-radius);
	background: var(--kb-bg);
	transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
	flex-shrink: 0;
}

.eh-kebutuhan__item:hover .eh-kebutuhan__icon-wrap,
.eh-kebutuhan__item:focus-visible .eh-kebutuhan__icon-wrap {
	border-color: var(--kb-blue);
	background: var(--kb-blue-light);
	box-shadow: 0 4px 12px rgba(21, 101, 192, 0.12);
}

/* ── Icon image ───────────────────────────────────────── */
.eh-kebutuhan__icon-img {
	width: var(--kb-img-size);
	height: var(--kb-img-size);
	object-fit: contain;
	display: block;
}

/* ── Item label ───────────────────────────────────────── */
.eh-kebutuhan__label {
	margin-top: 12px;
	font-size: 12.5px;
	font-weight: 500;
	color: var(--kb-text-dark);
	line-height: 1.35;
	max-width: 96px;
	word-break: keep-all;
}

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 900px) {
	.eh-kebutuhan-block {
		--kb-icon-size: 76px;
		--kb-img-size:  44px;
		--kb-gap:       8px;
	}

	.eh-kebutuhan__label {
		font-size: 11.5px;
		max-width: 80px;
	}
}

@media (max-width: 640px) {
	.eh-kebutuhan-block {
		padding: 36px 16px 40px;
	}

	.eh-kebutuhan__heading {
		font-size: 17px;
		margin-bottom: 24px;
	}

	.eh-kebutuhan__items {
		flex-wrap: wrap;
		gap: 20px 16px;
		justify-content: center;
	}

	.eh-kebutuhan__item {
		flex: 0 0 calc(33.333% - 12px);
		min-width: 0;
	}
}

@media (max-width: 380px) {
	.eh-kebutuhan__item {
		flex: 0 0 calc(50% - 10px);
	}
}
