/**
 * Topic Landing page styles (scoped).
 *
 * Ported from the static data-analysis.html inline <style> block and scoped
 * under `.ce-topic` so nothing leaks into the rest of the site or plugin UIs.
 *
 * @package Career_Education
 * @since   1.1.0
 */

.ce-topic {
	color: #1a1a2e;
	font-family: "Segoe UI", Arial, sans-serif;
}

.ce-topic h1,
.ce-topic h2,
.ce-topic h3,
.ce-topic h4 {
	font-weight: 800;
}

.ce-topic section {
	padding: 60px 0;
}

/*
 * header.css resets every element's margin and padding; put back the
 * Bootstrap spacing the design was built on.
 */
.ce-topic h1,
.ce-topic h2,
.ce-topic h3,
.ce-topic h4 {
	margin-bottom: 0.5rem;
	line-height: 1.2;
}

.ce-topic p,
.ce-topic ul,
.ce-topic ol {
	margin-bottom: 1rem;
}

.ce-topic .ce-topic-content ul,
.ce-topic .ce-topic-content ol {
	padding-left: 2rem;
}

.ce-topic .bg-soft {
	background: #f7f7fb;
}

/* Hero */
.ce-topic .hero {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 600px;
	padding: 70px 0 50px;
	background-color: #1a1a2e; /* Only visible while the background image loads. */
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center center;
}

.ce-topic .hero .eyebrow {
	margin-bottom: 0;
	color: #fff;
	font-weight: 700;
	letter-spacing: 1px;
	font-size: 1.1rem;
}

.ce-topic .hero h1 {
	color: #fff;
	font-size: 2.6rem;
	line-height: 1.15;
}

.ce-topic .hero p.lead {
	max-width: 560px;
	color: #fff;
	font-size: 1.05rem;
}

.ce-topic .check-list {
	margin: 1.5rem 0;
	padding: 0;
	list-style: none;
	color: #fff;
}

.ce-topic .check-list li {
	margin-bottom: 0.6rem;
	font-weight: 500;
}

.ce-topic .check-list i {
	margin-right: 0.6rem;
	color: #22c55e;
}

/* Section headers */
.ce-topic .section-heading {
	margin-bottom: 0.5rem;
	text-align: center;
	font-size: 2rem;
}

.ce-topic .section-sub {
	margin-bottom: 2.5rem;
	text-align: center;
	color: #5f6470;
}

/* Card grid (blogs / courses) */
.ce-topic .grid-card {
	height: 100%;
	overflow: hidden;
	border: 1px solid #eee;
	border-radius: 14px;
	background: #fff;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ce-topic .grid-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.ce-topic .grid-card img {
	width: 100%;
	height: 170px;
	object-fit: cover;
}

.ce-topic .grid-card .card-body h3 {
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.3;
}

/* Bundle section */
.ce-topic .bundle-section {
	padding: 50px;
	border-radius: 24px;
	background: #1a1a2e;
	color: #fff;
}

.ce-topic .bundle-section h2 {
	color: #fff;
}

.ce-topic .bundle-section .skill-list {
	padding: 0;
	list-style: none;
}

.ce-topic .bundle-section .skill-list li {
	margin-bottom: 0.55rem;
}

.ce-topic .bundle-section .skill-list i {
	margin-right: 0.5rem;
	color: #ffc93c;
}

.ce-topic .price-was {
	color: #9ca0b3;
	font-size: 1.1rem;
	text-decoration: line-through;
}

.ce-topic .price-now {
	color: #ffc93c;
	font-size: 2rem;
	font-weight: 800;
}

.ce-topic .feature-box {
	padding: 1.2rem;
	text-align: center;
}

.ce-topic .feature-box h3 {
	margin-top: 0.5rem;
	font-size: 1.1rem;
}

.ce-topic .feature-box p {
	margin-bottom: 0;
	color: #5f6470;
}

/* Why learn */
.ce-topic .why-learn h4 {
	margin-bottom: 1rem;
	font-weight: 800;
}

.ce-topic .why-learn p {
	color: #5f6470;
}

@media (max-width: 767px) {
	.ce-topic .hero h1 {
		font-size: 2rem;
	}

	.ce-topic .bundle-section {
		padding: 30px;
	}
}
