/**
 * SCORM Courses Page Styles
 */

/* Hero */
.scorm-hero {
	background: linear-gradient(135deg, var(--faint-green) 0%, var(--grey-green) 100%);
}

/* Responsive grid */
.scorm-grid-responsive,
.scorm-included-grid-responsive,
.scorm-comparison-grid-responsive {
	grid-template-columns: 1fr;
}

@media (min-width: 768px) {
	.scorm-grid-responsive,
	.scorm-comparison-grid-responsive {
		grid-template-columns: repeat(2, 1fr);
	}

	.scorm-included-grid-responsive {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* Step numbers */
.scorm-step-number {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	min-width: 32px;
	background: var(--dark-forest-green);
	color: white;
	border-radius: 50%;
	font-weight: 600;
	font-size: 14px;
}

/* Course cards */
.scorm-course-card {
	border: 1px solid var(--grey-green);
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.scorm-course-card:hover {
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
	transform: translateY(-2px);
}

.scorm-course-header {
	border-bottom: 1px solid var(--grey-green);
}

/* Checkmarks */
.scorm-check {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	min-width: 18px;
	background: var(--bright-green-accent);
	border-radius: 50%;
	margin-top: 2px;
}

.scorm-check::after {
	content: '';
	width: 5px;
	height: 8px;
	border: solid white;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
	margin-bottom: 2px;
}

/* Included section icons */
.scorm-included-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	min-width: 48px;
	background: var(--dark-forest-green);
	color: white;
	border-radius: 8px;
}

/* Comparison badges */
.scorm-badge-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 4px 10px;
	background: var(--dark-forest-green);
	color: white;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.5px;
}

.scorm-badge-icon.hosted {
	background: var(--bright-green-accent);
	color: var(--dark-forest-green);
}

/* Pros and cons icons */
.scorm-pro-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	min-width: 20px;
	background: var(--bright-green-accent);
	color: var(--dark-forest-green);
	border-radius: 50%;
	font-weight: 700;
	font-size: 14px;
}

.scorm-con-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	min-width: 20px;
	background: #fce4e4;
	color: #a00;
	border-radius: 50%;
	font-weight: 700;
	font-size: 14px;
}

/* FAQ accordion */
.scorm-faq-item {
	border: 1px solid var(--grey-green);
	border-radius: 8px;
	overflow: hidden;
}

.scorm-faq-question {
	cursor: pointer;
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	transition: background 0.2s ease;
}

.scorm-faq-question::-webkit-details-marker {
	display: none;
}

.scorm-faq-question::after {
	content: '+';
	font-size: 24px;
	font-weight: 300;
	color: var(--dark-forest-green);
	transition: transform 0.2s ease;
}

.scorm-faq-item[open] .scorm-faq-question::after {
	transform: rotate(45deg);
}

.scorm-faq-item[open] .scorm-faq-question {
	background: var(--grey-green);
}

.scorm-faq-answer {
	border-top: 1px solid var(--grey-green);
}

.scorm-faq-answer p {
	margin: 0;
}

.scorm-faq-answer a {
	color: var(--dark-forest-green);
	text-decoration: underline;
}

/* CTA section reuses existing cta-box styles */
.scorm-cta .cta-box {
	max-width: 800px;
	margin: 0 auto;
}
