/* Lesson subject page v2 — recolored to match the lesson index trial
   (lesson_index_v2.css / index3.html): calm steel blue accent (#3f7ea6)
   + dark navy-blue (#22384a). Scoped under .lv- / .lv2- classes so it
   can't leak into header/footer or other pages. */

:root {
	--lv-primary: #3f7ea6;
	--lv-primary-dark: #326583;
	--lv-dark: #22384a;
	--lv-light: #eef4f8;
}

/* Hero */
.lv-hero {
	background: #e6e6e6;
	padding: 76px 0;
	color: #212529;
	text-align: center;
}
.lv-hero-code {
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	opacity: 0.85;
	margin-bottom: 10px;
}
.lv-hero h1 {
	font-size: 24px;
	font-weight: 900;
	line-height: 1.4;
	margin-bottom: 16px;
}
.lv-hero p {
	font-size: 1rem;
	opacity: 0.92;
	max-width: 640px;
	line-height: 1.8;
	margin-bottom: 0;
}
.lv-icon-accent {
	color: var(--lv-primary-dark) !important;
}
.lv-skill-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.16);
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 20px;
	padding: 5px 16px;
	font-size: 0.8rem;
	color: #fff;
	margin: 4px 6px 0 0;
}
@media (max-width: 767px) {
	.lv-hero {
		padding: 56px 0;
	}
	.lv-hero h1 {
		font-size: 1.5rem;
	}
}

/* Back link */
.lv-back-link {
	background: #f6f9fb;
	border-bottom: 1px solid #e2ebf1;
	padding: 10px 0;
}
.lv-back-link a {
	font-size: 0.85rem;
	font-weight: 700;
	color: #212529;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	text-decoration: none;
}
.lv-back-link a:hover {
	color: var(--lv-primary-dark);
}

/* Content boxes */
.lv-box {
	background: #fff;
	border: 1px solid #e2ebf1;
	border-radius: 12px;
	padding: 28px 32px;
	margin-bottom: 24px;
}
.lv-box h5 {
	font-weight: 800;
	color: #333;
	margin-bottom: 16px;
	font-size: 1.05rem;
}
.lv-box p {
	font-size: 0.92rem;
	line-height: 1.9;
	color: #555;
	margin: 0;
}

/* Alert (highlight tip) */
.lv-alert {
	background: var(--lv-light);
	border: 1.5px solid var(--lv-primary);
	border-radius: 12px;
	padding: 22px 26px;
	font-size: 0.92rem;
	line-height: 1.85;
	color: #555;
}
.lv-alert-title {
	font-weight: 800;
	color: var(--lv-primary-dark);
	margin-bottom: 8px;
	font-size: 1.02rem;
}

/* Flow steps */
.lv-flow-step {
	position: relative;
	padding-left: 56px;
	padding-bottom: 26px;
}
.lv-flow-step:last-of-type {
	padding-bottom: 0;
}
.lv-flow-step::before {
	content: '';
	position: absolute;
	left: 17px;
	top: 36px;
	width: 2px;
	height: calc(100% - 36px);
	background: #e2ebf1;
}
.lv-flow-step:last-of-type::before {
	display: none;
}
.lv-flow-step-num {
	position: absolute;
	left: 0;
	top: 0;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--lv-primary);
	color: #fff;
	font-weight: 900;
	font-size: 0.85rem;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 8px rgba(63, 126, 166, 0.4);
}
.lv-flow-step-title {
	font-weight: 700;
	font-size: 0.95rem;
	color: #333;
	margin-bottom: 4px;
}
.lv-flow-step-desc {
	font-size: 0.85rem;
	color: #666;
	line-height: 1.75;
}

/* Plain bullet list (no numbered circles) */
.lv-bullet-item {
	position: relative;
	padding-left: 20px;
	margin-bottom: 18px;
}
.lv-bullet-item:last-child {
	margin-bottom: 0;
}
.lv-bullet-item::before {
	content: '';
	position: absolute;
	left: 2px;
	top: 8px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--lv-primary);
}
.lv-bullet-item-title {
	font-weight: 700;
	font-size: 0.95rem;
	color: #333;
	margin-bottom: 4px;
}
.lv-bullet-item-desc {
	font-size: 0.85rem;
	color: #666;
	line-height: 1.75;
}

/* Highlight for teacher feedback spots inside a writing sample */
.lv-flag {
	background: rgba(178, 59, 59, 0.12);
	border-bottom: 2px solid #b23b3b;
	border-radius: 2px;
	padding: 0 2px;
	font-weight: 700;
	color: #b23b3b;
}
.lv-fix {
	color: #c0392b;
	font-weight: 700;
}
.lv-add {
	color: #2464b4;
	font-weight: 700;
}

/* Course table */
.lv-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.88rem;
}
.lv-table thead tr {
	background: var(--lv-dark);
	color: #fff;
}
.lv-table th {
	padding: 12px 16px;
	font-weight: 700;
	text-align: left;
}
.lv-table td {
	padding: 12px 16px;
	border-bottom: 1px solid #e2ebf1;
	color: #444;
}
.lv-table tbody tr:nth-child(even) {
	background: var(--lv-light);
}
.lv-table tbody tr:hover {
	background: #e6eef3;
}

/* Info card (sidebar) */
.lv-info-card {
	background: var(--lv-light);
	border-radius: 12px;
	padding: 22px 26px;
}
.lv-info-row {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 14px;
	font-size: 0.88rem;
}
.lv-info-row:last-child {
	margin-bottom: 0;
}
.lv-info-row i {
	color: var(--lv-primary-dark);
	font-size: 1.05rem;
	flex-shrink: 0;
	margin-top: 2px;
}
.lv-info-row .badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	position: relative;
	top: 0;
	line-height: 1;
	padding-top: 0.45em;
	padding-bottom: 0.3em;
	font-weight: 500;
}
.bd-purple-300 {
	color: #fff;
	background-color: #9b6bd1;
}
.lv-info-label {
	font-weight: 700;
	color: #333;
	display: block;
	margin-bottom: 4px;
}

/* Related lessons */
.lv-related-card {
	background: #fff;
	border: 1px solid #e2ebf1;
	border-radius: 10px;
	overflow: hidden;
	text-decoration: none;
	display: block;
	transition: 0.3s;
}
.lv-related-card:hover {
	box-shadow: 0 6px 18px rgba(63, 126, 166, 0.25);
	transform: translateY(-3px);
	border-color: var(--lv-primary);
}
.lv-related-card img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: contain;
	padding: 14px;
	background: var(--lv-light);
}
.lv-related-card-body {
	padding: 12px 14px 14px;
}
.lv-related-card-code {
	font-size: 0.72rem;
	font-weight: 700;
	color: var(--lv-primary-dark);
	letter-spacing: 0.1em;
}
.lv-related-card-title {
	font-size: 0.86rem;
	font-weight: 700;
	color: #333;
	margin-top: 4px;
}
.lv-related-card-skills {
	margin-top: 6px;
}
.lv-related-card-skills .badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	position: relative;
	top: 0;
	line-height: 1;
	padding-top: 0.4em;
	padding-bottom: 0.25em;
	font-size: 0.62rem;
	font-weight: 500;
	margin: 0 3px 3px 0;
}
