/* Cloud Security & Compliance – text-only carousel cards (scoped) */
.csc-text-carousel .customer-carousel__item {
	width: 380px;
	flex: 0 0 380px;
}

/* Give bottom space inside scroller so shadows aren't clipped */
.csc-text-carousel .customer-carousel__scroller {
	padding-bottom: 22px;
}

.csc-text-carousel .startups-carousel-card.csc-target-card {
	background: #ffffff;
	border-radius: 16px;
	padding: 34px 32px 28px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
	position: relative;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	transform: none;
}

.csc-text-carousel .startups-carousel-card.csc-target-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.csc-text-carousel .csc-target-card__top-border {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, #08a1c7 0%, rgb(103, 136, 255) 100%);
	border-radius: 16px 16px 0 0;
	z-index: 1;
}

.csc-text-carousel .startups-carousel-card__title {
	font-size: 1.5rem;
	font-weight: 700;
	color: #0f172a;
	margin: 0 0 16px 0;
	line-height: 1.3;
	opacity: 1;
	transform: none;
}

.csc-text-carousel .startups-carousel-card__desc {
	font-size: 1.05rem;
	line-height: 1.7;
	color: #64748b;
	margin: 0;
	flex: 1;
	padding-bottom: 14px;
	border-bottom: 1px solid #e2e8f0;
	min-height: calc(5 * 1.7em);
	display: -webkit-box;
	-webkit-line-clamp: 5;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.csc-text-carousel .startups-carousel-card__feature {
	display: inline-block;
	color: #6788ff;
	font-weight: 600;
	font-size: 1.05rem;
	background: linear-gradient(135deg, #08a1c7, #0dadea);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	text-wrap: pretty;

	/* keep label at bottom, but remove extra whitespace */
	margin-top: auto;
	margin-right: 0;
	margin-bottom: 0 !important;
	margin-left: 0;
	padding: 0;
	opacity: 1;
	visibility: visible;
}

/* Info icon: place top-right for text cards */
.csc-text-carousel .startups-carousel-card__info-icon {
	position: absolute;
	top: 18px;
	right: 18px;
	width: 32px;
	height: 32px;
	background: rgba(255, 255, 255, 0.9);
	border-radius: 5px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s ease;
	z-index: 3;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Only animate on card hover (no extra hover-on-button animation) */
.csc-text-carousel .startups-carousel-card.csc-target-card:hover .startups-carousel-card__info-icon {
	background: linear-gradient(135deg, #08a1c7, #0dadea);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.csc-text-carousel .startups-carousel-card__info-icon:hover {
	background: linear-gradient(135deg, #08a1c7, #0dadea);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.csc-text-carousel .startups-carousel-card__info-icon svg {
	fill: #08a1c7;
	transition: fill 0.3s ease;
}
.csc-text-carousel .startups-carousel-card.csc-target-card:hover .startups-carousel-card__info-icon svg,
.csc-text-carousel .startups-carousel-card__info-icon:hover svg {
	fill: #ffffff;
}

@media (max-width: 992px) {
	.csc-text-carousel .customer-carousel__item { width: 320px; flex-basis: 320px; }
	.csc-text-carousel .startups-carousel-card.csc-target-card {
		padding: 30px 26px 24px;
	}
}

@media (max-width: 640px) {
	.csc-text-carousel .customer-carousel__item { width: 280px !important; flex: 0 0 280px !important; }
	.csc-text-carousel .customer-carousel__scroller { padding-bottom: 18px; }
	.csc-text-carousel .startups-carousel-card.csc-target-card {
		padding: 26px 22px 20px;
	}
	.csc-text-carousel .startups-carousel-card__title { font-size: 1.25rem; }
	.csc-text-carousel .startups-carousel-card__desc { font-size: 0.95rem; -webkit-line-clamp: 6; min-height: calc(6 * 1.7em); padding-bottom: 12px; }
}

/* Popup on CSC page: keep it text-only (no images required) */
.carousel-popup-visual {
	display: none !important;
}
.carousel-popup-grid {
	border-bottom: none !important;
}
