/**
 * Courses Listing Panel Styles
 *
 * Grid layout for displaying course groups by category
 *
 * Dependencies: ssa-base
 * Extracted from: styles.css lines 560-620, responsive rules from 768px, 480px
 */

/* ==========================================================================
   Base Styles
   ========================================================================== */

.courses-listing-panel {
	position: relative;
}

/* Panel heading now uses .panel-heading from panel-base.css */

.courses-listing-panel h4 {
	font-size: 24px;
	line-height: 26px;
	margin-bottom: 70px;
}

.courses-listing-panel .course-groups {
	display: flex;
	flex-wrap: wrap;
	gap: 3%;
	justify-content: space-between;
	align-items: stretch;
}

.courses-listing-panel .course-group {
	border-top: 1px solid var(--border-grey);
	margin-bottom: var(--space-8);
	padding-top: var(--space-5);
	width: 31.3333333%;
}

.courses-listing-panel .course-group h5 {
	color: var(--brand-main);
	font-size: 24px;
	font-weight: 900;
	line-height: 30px;
	margin-bottom: 27px;
}

.courses-listing-panel .course-group ul {
	padding-left: var(--space-5);
	line-height: 26px;
}

.courses-listing-panel .lower-title-1 {
	color: var(--brand-main);
	font-size: 28px;
	letter-spacing: -0.2px;
	margin-bottom: 10px;
	text-align: center;
	width: 100%;
}

.courses-listing-panel .lower-title-2 {
	font-size: 28px;
	letter-spacing: -0.2px;
	text-align: center;
	width: 100%;
}

/* ==========================================================================
   Responsive: Tablet (768px and below)
   ========================================================================== */

@media (max-width: 768px) {
	.courses-listing-panel .course-group {
		width: 48.5%;
	}
}

/* ==========================================================================
   Responsive: Mobile (480px and below)
   ========================================================================== */

@media (max-width: 480px) {
	.courses-listing-panel .course-groups {
		gap: var(--space-0);
	}

	.courses-listing-panel .course-group {
		width: 100%;
	}
}
