/* SH Career Guidance for Elementor – Author: Shoive Hossain */

.shcg {
	--shcg-spv: 3;
	--shcg-gap: 20px;
	box-sizing: border-box;
	width: 100%;
	padding: 0 44px;
	font-family: "Poppins", sans-serif;
	-webkit-font-smoothing: antialiased;
}

.shcg *,
.shcg *::before,
.shcg *::after {
	box-sizing: border-box;
}

/* ---------- Heading ---------- */
.shcg__head {
	margin: 0 0 28px;
	text-align: center;
}

.shcg .shcg__title {
	margin: 0;
	padding: 0;
	font-family: "Source Sans Pro", "Source Sans 3", sans-serif;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.2;
	color: #333;
	text-align: center;
}

.shcg .shcg__hl {
	color: #f4725b;
}

.shcg .shcg__sub {
	max-width: 440px;
	margin: 11px auto 0;
	padding: 0;
	font-family: "Poppins", sans-serif;
	font-size: 11.6px;
	font-weight: 400;
	line-height: 1.64;
	color: #757a94;
	text-align: center;
}

/* ---------- Stage / arrows ---------- */
.shcg__stage {
	position: relative;
	max-width: 820px;
	margin: 0 auto;
}

.shcg__viewport {
	overflow: hidden;
	width: 100%;
	touch-action: pan-y;
	cursor: grab;
}

.shcg__viewport.is-dragging {
	cursor: grabbing;
}

.shcg__track {
	display: flex;
	align-items: stretch;
	gap: var(--shcg-gap);
	margin: 0;
	padding: 0;
	transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
	will-change: transform;
}

.shcg__track.is-dragging {
	transition: none;
}

.shcg .shcg__arrow {
	position: absolute;
	top: 50%;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	margin: -16px 0 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	box-shadow: none;
	color: #333;
	line-height: 1;
	cursor: pointer;
	transition: color 0.2s ease, opacity 0.2s ease;
	-webkit-appearance: none;
	appearance: none;
}

.shcg .shcg__arrow--prev {
	left: -36px;
}

.shcg .shcg__arrow--next {
	right: -36px;
}

.shcg .shcg__arrow svg {
	display: block;
	width: 16px;
	height: 16px;
	pointer-events: none;
}

.shcg .shcg__arrow:hover,
.shcg .shcg__arrow:focus-visible {
	background: transparent;
	color: #f4725b;
}

.shcg .shcg__arrow:focus-visible {
	outline: 2px solid #2b1566;
	outline-offset: 1px;
}

.shcg .shcg__arrow[disabled] {
	opacity: 0.3;
	cursor: default;
	pointer-events: none;
}

.shcg.is-static .shcg__arrow {
	display: none;
}

.shcg.is-static .shcg__viewport {
	cursor: default;
}

/* ---------- Card ---------- */
.shcg .shcg__card {
	display: flex;
	flex: 0 0 calc((100% - (var(--shcg-spv) - 1) * var(--shcg-gap)) / var(--shcg-spv));
	flex-direction: column;
	min-width: 0;
	margin: 0;
	overflow: hidden;
	border: 1px solid #e2e2e6;
	border-radius: 6px;
	background: #fff;
	transition: box-shadow 0.25s ease;
}

.shcg .shcg__media {
	display: block;
	flex: 0 0 auto;
	width: 100%;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	background: #eef0f4;
	line-height: 0;
	text-decoration: none;
}

.shcg .shcg__img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	object-fit: cover;
	object-position: center;
	border: 0;
	border-radius: 0;
	-webkit-user-drag: none;
	user-select: none;
}

.shcg .shcg__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	padding: 10px 12px 11px;
}

.shcg .shcg__card-title {
	margin: 0 0 11px;
	padding: 0;
	font-family: "Poppins", sans-serif;
	font-size: 11.5px;
	font-weight: 500;
	line-height: 1.435;
	letter-spacing: 0;
	color: #222;
	text-transform: none;
}

.shcg .shcg__card-title a {
	color: inherit;
	font: inherit;
	text-decoration: none;
	transition: color 0.2s ease;
}

.shcg .shcg__card-title a:hover {
	color: #f4725b;
}

.shcg .shcg__btn-wrap {
	margin-top: auto;
	line-height: 0;
}

/* ---------- Buttons (shared) ---------- */
.shcg .shcg__btn,
.shcg .shcg__more {
	display: inline-block;
	border: 1px solid #2b1566;
	border-radius: 3px;
	background: #fff;
	color: #2b1566;
	font-family: "Poppins", sans-serif;
	font-weight: 600;
	letter-spacing: 0;
	text-align: center;
	text-decoration: none;
	text-transform: none;
	white-space: nowrap;
	cursor: pointer;
	box-shadow: none;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.shcg .shcg__btn {
	padding: 6px 18px;
	font-size: 9.2px;
	line-height: 1.2;
}

.shcg .shcg__more {
	font-weight: 500;
	padding: 8.5px 22px;
	font-size: 11.5px;
	line-height: 1.2;
}

.shcg .shcg__btn:hover,
.shcg .shcg__btn:focus,
.shcg .shcg__more:hover,
.shcg .shcg__more:focus {
	border-color: #2b1566;
	background: #2b1566;
	color: #fff;
}

.shcg .shcg__foot {
	margin: 30px 0 0;
	text-align: center;
}

.shcg .shcg__empty {
	margin: 0;
	padding: 24px 0;
	color: #757a94;
	text-align: center;
}

.shcg .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	clip-path: inset(50%);
	border: 0;
	white-space: nowrap;
	word-wrap: normal !important;
}

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
	.shcg {
		--shcg-spv: 2;
		--shcg-gap: 16px;
		padding: 0 44px;
	}

	.shcg .shcg__arrow--prev {
		left: -32px;
	}

	.shcg .shcg__arrow--next {
		right: -32px;
	}
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
	.shcg {
		--shcg-spv: 1;
		--shcg-gap: 12px;
		padding: 0 16px;
	}

	.shcg .shcg__title {
		font-size: 24px;
	}

	.shcg .shcg__sub {
		font-size: 12px;
	}

	.shcg .shcg__arrow {
		width: 32px;
		height: 32px;
		background: #fff;
		box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
	}

	.shcg .shcg__arrow:hover,
	.shcg .shcg__arrow:focus-visible {
		background: #fff;
	}

	.shcg .shcg__arrow--prev {
		left: 8px;
	}

	.shcg .shcg__arrow--next {
		right: 8px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.shcg__track,
	.shcg .shcg__card,
	.shcg .shcg__btn,
	.shcg .shcg__more {
		transition: none;
	}
}
