/**
 * Learning Platform Panel Styles
 *
 * Tabbed content panel showcasing platform features
 * Has tab JavaScript interaction for content switching
 *
 * Dependencies: ssa-base
 * Extracted from: styles.css lines 604-727, responsive rules from 1280px and 480px media queries
 */

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

.learning-platform-panel .content {
	padding-top: 47px;
	padding-bottom: 87px;
}

.learning-platform-panel .content h2 {
	text-align: center;
	margin-bottom: 50px;
	width: 100%;
}

.learning-platform-panel .tabs {
	display: flex;
	justify-content: center;
	gap: var(--space-6);
	margin-bottom: 75px;
}

.learning-platform-panel .tabs .tab {
	align-items: center;
	border: 1px solid var(--bg-2);
	border-radius: var(--radius-lg);
	cursor: pointer;
	display: flex;

	/* font-family handled by utility class */
	font-size: 24px;
	font-weight: 700;
	height: 105px;
	justify-content: center;
	letter-spacing: -0.17px;
	padding: 30px;
	position: relative;
	text-align: center;
	width: fit-content;
}

.learning-platform-panel .tabs .tab.selected {
	background-color: var(--bg-1);
}

.learning-platform-panel .tabs .tab.selected::after {
	background: url('../img/bottom-triangle.webp');
	bottom: -19px;
	content: '';
	display: inline-block;
	height: 20px;
	position: absolute;
	width: 34px;
	margin: 0 auto;
}

.learning-platform-panel .tab-content .tab {
	display: flex;
	align-items: flex-start;
	transition: all ease 0.3s;
}

.learning-platform-panel .tab-content .tab.hidden {
	display: none;
}

.learning-platform-panel .tab-content .main-image {
	margin-right: 60px;
	width: 60%;
}

.learning-platform-panel .text h3 {
	color: var(--brand-main);
	font-size: 42px;
	font-weight: 900;
	letter-spacing: -1.5px;
	line-height: 46px;
}

.learning-platform-panel .text h3 u {
	position: relative;
	text-decoration: none;
}

.learning-platform-panel .text h3 u::after {
	background: url("../img/underline-blue.webp") 100% 100% / cover no-repeat;
	bottom: -8px;
	content: '';
	display: block;
	height: 15%;
	left: 5%;
	right: 5%;
	position: absolute;
	width: 90%;
}

.learning-platform-panel .text ul {
	list-style-type: none;
	margin-bottom: var(--space-8);
}

.learning-platform-panel .text li {
	display: flex;
	align-items: center;
	justify-content: left;
	margin-bottom: var(--space-5);
	width: 100%;
}

.learning-platform-panel .text li img {
	margin-right: var(--space-4);
}

.learning-platform-panel .text .button {
	border: 1px solid var(--brand-main);
	margin: 0 21px 0 0;
	text-decoration: none;
}

.learning-platform-panel .text a {
	color: var(--brand-main);
	text-decoration: underline;
	line-height: 48px;
}

.learning-platform-panel .text p a {
	line-height: 22px;
}

/* ==========================================================================
   Responsive: Wide (1280px and below)
   ========================================================================== */

@media (max-width: 1280px) {
	.learning-platform-panel .tab-content .tab {
		display: inline-block;
	}

	.learning-platform-panel .tab .main-image {
		margin: 0 0 39px;
		max-width: 569px;
		width: 100%;
	}
}

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

@media (max-width: 480px) {
	.learning-platform-panel .tabs .tab {
		padding: 15px;
		font-size: 16px;
		height: auto;
	}

	.learning-platform-panel .tab .main-image {
		width: 100%;
	}

	.learning-platform-panel .text h3 {
		font-size: 34px;
		line-height: 42px;
	}
}
