/* ============================================================
USE CASE / PRESS / BLOG DETAIL — page-specific styles
Reuses .hero-section, .s7-cta from style.css
============================================================ */

/* ============================================================
HERO ADJUSTMENTS
============================================================ */
.ucd-hero-content {
	max-width: 880px;
	margin: auto;
}

.ucd-hero-title {
	font-size: 56px;
	letter-spacing: -1.6px;
	line-height: 1.1;
	margin-bottom: 22px;
    background-image: radial-gradient(circle at 1.5% 95%, #ff6a1a 0%, #ff3d2e 3%, #d62a6b 6%, #7b2fb8 10%, rgba(123, 47, 184, 0) 14%), linear-gradient(90deg, #5a3bd4 0%, #4a46e0 25%, #3f55ea 55%, #3f63ef 100%);
    width: fit-content;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* ============================================================
SECTION 2: ARTICLE BODY
============================================================ */
.ucd-article {

}

.ucd-article-body {
	max-width: 760px;
	margin: 0 auto;
	background: #ffffff;
	border-radius: 20px;
	padding: 35px;
	border: 1px solid rgba(15, 23, 42, 0.04);
	box-shadow: 0 2px 12px rgba(15, 23, 42, 0.03);
}
.ucd-article-body h3{
	position : relative ;
	padding-left : 20px ;
}
.ucd-article-body h3::before{
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 3px;
	background: linear-gradient(15.02deg, #3296FA 5.56%, #F13860 76.94%, #F6F17D 127.08%);
	border-radius: 2px;
}

/* Featured Image */
.ucd-featured-img {
	width: 100%;
	border-radius: 12px;
	overflow: hidden;
	background: #f1f5f9;
}

.ucd-featured-img img {
	width: 100%;
	height: 100%;
	max-height : 500px ;
	object-fit: cover;
	display: block;
}

.ucd-featured-img-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	color: #9ca3af;
	font-size: 13px;
	font-weight: 500;
}

.ucd-article-body>p {
	font-family: 'Inter', sans-serif;
	font-weight: 400;
	font-size: 16px;
	line-height: 1.75;
	color: #374151;
	margin-bottom: 18px;
}

.ucd-article-body>p:last-of-type {
	margin-bottom: 0;
}

/* Target native h2 from the_content() and the legacy .ucd-h2 class */
.ucd-article-body h2,
.ucd-h2 {
	font-family: 'Inter', sans-serif;
	font-weight: 600;
	font-size: 26px;
	line-height: 1.25;
	color: #111827;
	letter-spacing: -0.5px;
	margin: 40px 0 16px;
	position: relative;
	padding-left: 18px;
}

.ucd-article-body h2::before,
.ucd-h2::before {
	content: '';
	position: absolute;
	left: 0;
	top: 6px;
	bottom: 6px;
	width: 3px;
	border-radius: 2px;
	background: linear-gradient(180deg, #3296FA 1%, #F13860 59%, #F6F17D 100%);
}

.ucd-article-body h2:first-child,
.ucd-article-body .ucd-h2:first-child {
	margin-top: 0;
}

/* Capabilities list */
.ucd-capabilities {
	list-style: none;
	padding: 0;
	margin: 8px 0 0;
	display: grid;
	grid-template-columns: 1fr;
	gap: 18px;
}

.ucd-capabilities li {
	position: relative;
	padding: 4px 0 4px 18px;
}

.ucd-capabilities li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 6px;
	bottom: 6px;
	width: 2px;
	border-radius: 2px;
	background: linear-gradient(180deg, #3296FA 1%, #F13860 59%, #F6F17D 100%);
	opacity: 0.6;
}

.ucd-capabilities h5 {
	font-family: 'Inter', sans-serif;
	font-weight: 600;
	font-size: 16px;
	color: #111827;
	margin-bottom: 4px;
	line-height: 1.4;
}

.ucd-capabilities p {
	font-family: 'Inter', sans-serif;
	font-weight: 400;
	font-size: 15px;
	color: #6b7280;
	line-height: 1.65;
	margin: 0;
}

/* ============================================================
SECTION 3: RECOMMENDED RESOURCES
============================================================ */
.ucd-resources {
	background: #f0f3f8;
	padding: 80px 0;
}

.ucd-resources-title {
	font-family: 'Inter', sans-serif;
	font-weight: 600;
	font-size: 36px;
	line-height: 1.2;
	color: #111827;
	letter-spacing: -1px;
	margin-bottom: 48px;
	text-align: center;
}

.ucd-resources-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.ucd-resource-card {
	background: #ffffff;
	border-radius: 16px;
	overflow: hidden;
	border: 1px solid rgba(15, 23, 42, 0.05);
	box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	display: flex;
	flex-direction: column;
}

.ucd-resource-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.ucd-resource-img {
	width: 100%;
	height: 170px;
	background: #f1f5f9;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ucd-resource-img-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

.ucd-resource-body {
	padding: 22px 22px 24px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.ucd-resource-label {
	font-family: 'Inter', sans-serif;
	font-weight: 700;
	font-size: 11px;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: #4361EE;
	margin-bottom: 10px;
}

.ucd-resource-body h5 {
	font-family: 'Inter', sans-serif;
	font-weight: 600;
	font-size: 17px;
	color: #111827;
	line-height: 1.35;
	margin-bottom: 10px;
}

.ucd-resource-desc {
	font-family: 'Inter', sans-serif;
	font-weight: 400;
	font-size: 14px;
	color: #6b7280;
	line-height: 1.6;
	margin-bottom: 14px;
	flex: 1;
}

.ucd-resource-link {
	font-family: 'Inter', sans-serif;
	font-weight: 600;
	font-size: 14px;
	color: #3296FA;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	transition: color 0.2s ease, gap 0.2s ease;
	margin-top: auto;
}

.ucd-resource-link:hover {
	color: #0E1632;
	gap: 10px;
}

/* ============================================================
TESTIMONIALS SLIDER
============================================================ */
.ucd-testimonials {
	padding: 90px 0 80px;
}
.ucd-testimonials-label {
	font-family: 'Inter', sans-serif;
	font-weight: 700;
	font-size: 11px;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: #4361EE;
	text-align: center;
	margin-bottom: 12px;
}
.ucd-testimonials-title {
	font-family: 'Inter', sans-serif;
	font-weight: 700;
	font-size: 38px;
	line-height: 1.2;
	color: #111827;
	letter-spacing: -1px;
	text-align: center;
	margin-bottom: 52px;
}

.ucd-slider-wrapper {
	position: relative;
	overflow: hidden;
}
.ucd-slider-track {
	display: flex;
	transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
	will-change: transform;
}
.ucd-slide {
	flex: 0 0 100%;
	min-width: 0;
	padding: 4px 8px 8px;
}
.ucd-slide-inner {
	background: #ffffff;
	border-radius: 20px;
	border: 1px solid rgba(15, 23, 42, 0.05);
	box-shadow: 0 4px 24px rgba(15, 23, 42, 0.07);
	padding: 44px 52px 40px;
	max-width: 860px;
	margin: 0 auto;
}
.ucd-slide-quote { margin-bottom: 24px; }

.ucd-slide-logo { margin-bottom: 24px; }
.ucd-slide-logo img {
	max-height: 40px;
	max-width: 160px;
	object-fit: contain;
	display: block;
}
.ucd-slide-logo-placeholder {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: #f1f5f9;
	border: 1px dashed #cbd5e1;
	border-radius: 10px;
	padding: 10px 18px;
	font-family: 'Inter', sans-serif;
	font-size: 12px;
	font-weight: 500;
	color: #94a3b8;
}

.ucd-slide-review {
	font-family: 'Inter', sans-serif;
	font-weight: 400;
	font-size: 17px;
	line-height: 1.75;
	color: #374151;
	margin-bottom: 36px;
}
.ucd-slide-review p { margin: 0; }

.ucd-slide-user {
	display: flex;
	align-items: center;
	gap: 16px;
	padding-top: 28px;
	border-top: 1px solid rgba(15, 23, 42, 0.07);
}
.ucd-slide-user-img {
	flex-shrink: 0;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	overflow: hidden;
	background: #f1f5f9;
	border: 2px solid #e2e8f0;
}
.ucd-slide-user-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.ucd-slide-avatar-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}
.ucd-slide-user-detail {
	font-family: 'Inter', sans-serif;
	font-size: 14px;
	line-height: 1.55;
	color: #6b7280;
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.ucd-slide-user-detail strong {
	font-weight: 700;
	font-size: 15px;
	color: #111827;
	display: block;
}

/* Arrows */
.ucd-slider-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 46px;
	height: 46px;
	border-radius: 50%;
	border: 1.5px solid rgba(15, 23, 42, 0.12);
	background: #ffffff;
	color: #374151;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 10px rgba(15, 23, 42, 0.08);
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
	z-index: 2;
}
.ucd-slider-arrow:hover {
	background: #4361EE;
	border-color: #4361EE;
	color: #ffffff;
	box-shadow: 0 4px 16px rgba(67, 97, 238, 0.3);
}
.ucd-slider-prev { left: 0; }
.ucd-slider-next { right: 0; }

/* Dots */
.ucd-slider-dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 32px;
}
.ucd-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	border: none;
	background: #cbd5e1;
	cursor: pointer;
	padding: 0;
	transition: background 0.25s ease, width 0.25s ease, border-radius 0.25s ease;
}
.ucd-dot--active {
	background: #4361EE;
	width: 24px;
	border-radius: 4px;
}

.ucd-slide-user-detail p{
	margin-bottom : 0 ;
}
/* ============================================================
RESPONSIVE
============================================================ */
@media (max-width: 991.98px) {
	.ucd-hero-title {
		font-size: 42px;
	}

	.ucd-article-body {
	}

	.ucd-article-body h2,
	.ucd-h2 {
		font-size: 22px;
	}

	.ucd-resources-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.ucd-testimonials-title {
		font-size: 30px;
	}

	.ucd-slide-inner {
		padding: 36px 36px 32px;
	}
}

@media (max-width: 575.98px) {
	.ucd-hero-title {
		font-size: 32px;
	}

	/* 	.ucd-article {
	padding: 50px 0 60px;
} */

	.ucd-article-body {
		border-radius: 14px;
	}

	.ucd-featured-img {
		border-radius: 8px;
	}

	.ucd-resources-grid {
		grid-template-columns: 1fr;
	}
	.ucd-testimonials {
		padding: 60px 0 56px;
	}

	.ucd-testimonials-title {
		font-size: 26px;
		margin-bottom: 36px;
	}

	.ucd-slide-inner {
		padding: 28px 24px 26px;
		border-radius: 16px;
	}

	.ucd-slide-review {
		font-size: 15px;
	}

	.ucd-slider-arrow {
		width: 38px;
		height: 38px;
	}
}