/* Hemp University portal (shortcode) */
.hemp-edu-portal {
	max-width: 960px;
	margin: 1.5rem auto;
	padding: 0 1rem;
	font-size: 1rem;
	line-height: 1.5;
}

.hemp-edu-portal--guest {
	padding: 1.25rem;
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 8px;
	background: #fafafa;
}

.hemp-edu-portal__head {
	margin-bottom: 1.5rem;
}

.hemp-edu-portal__title {
	margin: 0 0 0.35rem;
	font-size: 1.75rem;
}

.hemp-edu-portal__sub {
	margin: 0;
	color: #444;
}

.hemp-edu-portal__layout {
	display: grid;
	grid-template-columns: 1fr 1.4fr;
	gap: 1.5rem;
}

@media (max-width: 720px) {
	.hemp-edu-portal__layout {
		grid-template-columns: 1fr;
	}
}

.hemp-edu-portal__list ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.hemp-edu-portal__list li {
	margin: 0 0 0.5rem;
}

.hemp-edu-portal__track-btn {
	display: block;
	width: 100%;
	text-align: left;
	padding: 0.65rem 0.85rem;
	border: 1px solid #ccc;
	border-radius: 6px;
	background: #fff;
	color: #111;
	cursor: pointer;
	font: inherit;
}

.hemp-edu-portal__track-btn:hover,
.hemp-edu-portal__track-btn:focus {
	border-color: #136f3a;
	background: #f3fff7;
	outline: 2px solid rgba(19, 111, 58, 0.35);
	outline-offset: 2px;
}

.hemp-edu-portal__track-btn.is-active {
	border-color: #136f3a;
	background: #eafff0;
}

.hemp-edu-portal__panel {
	padding: 1rem;
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 8px;
	background: #fff;
	min-height: 200px;
}

.hemp-edu-portal__panel--empty {
	color: #666;
}

.hemp-edu-portal__module {
	margin-bottom: 1.25rem;
}

.hemp-edu-portal__module h4 {
	margin: 0 0 0.5rem;
	font-size: 1.05rem;
}

.hemp-edu-portal__lesson {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex-wrap: wrap;
	margin-bottom: 0.35rem;
	font-size: 0.95rem;
}

.hemp-edu-portal__pill {
	display: inline-block;
	padding: 0.15rem 0.45rem;
	border-radius: 4px;
	font-size: 0.75rem;
	background: #eee;
}

.hemp-edu-portal__actions {
	margin-top: 1rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.hemp-edu-portal__actions button,
.hemp-edu-portal__actions a.button {
	font: inherit;
	padding: 0.45rem 0.85rem;
	border-radius: 6px;
	border: 1px solid #136f3a;
	background: #136f3a;
	color: #fff;
	text-decoration: none;
	cursor: pointer;
}

.hemp-edu-portal__actions a.button--secondary {
	background: #fff;
	color: #1a1a1a;
	border-color: #333;
}

.hemp-edu-portal__err {
	color: #b00020;
}

.hemp-edu-portal__quiz fieldset {
	margin: 0.75rem 0;
	border: 1px solid #ddd;
	border-radius: 6px;
	padding: 0.75rem;
}

.hemp-edu-portal__quiz legend {
	font-weight: 600;
	padding: 0 0.35rem;
}

/* Public catalog + My learning dashboard */
.hemp-edu-catalog,
.hemp-edu-my-learning {
	max-width: 960px;
	margin: 1.5rem auto;
	padding: 0 1rem;
}

.hemp-edu-catalog__grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 1rem;
}

.hemp-edu-catalog__card {
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 8px;
	padding: 1rem;
	background: #fff;
	position: relative;
	padding-top: 2.25rem;
}

.hemp-edu-catalog__badge {
	position: absolute;
	top: 0.65rem;
	right: 0.65rem;
	font-size: 0.75rem;
	padding: 0.2rem 0.5rem;
	border-radius: 4px;
	background: #eee;
}

.hemp-edu-catalog__badge--paid {
	background: #e8f4ea;
	color: #0a5c16;
}

.hemp-edu-catalog__badge--free {
	background: #eef3fb;
	color: #1a4a8a;
}

.hemp-edu-catalog__card-title {
	margin: 0 0 0.5rem;
	font-size: 1.15rem;
}

.hemp-edu-catalog__excerpt {
	margin: 0;
	color: #444;
	font-size: 0.95rem;
}

.hemp-edu-catalog__cta {
	margin: 0.75rem 0 0;
}

.hemp-edu-catalog__note {
	margin: 0.75rem 0 0;
	font-size: 0.9rem;
	color: #666;
}

.hemp-edu-catalog__detail .hemp-edu-catalog__body {
	margin: 1rem 0;
}

.hemp-edu-catalog__outline ul {
	margin: 0.25rem 0 0.5rem 1.25rem;
}

.hemp-edu-my-learning__table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.95rem;
}

.hemp-edu-my-learning__table th,
.hemp-edu-my-learning__table td {
	padding: 0.65rem 0.75rem;
	border: 1px solid #ddd;
	text-align: left;
	vertical-align: top;
}

.hemp-edu-my-learning__table thead th {
	background: #f6f7f7;
	font-weight: 600;
}

.hemp-edu-my-learning--guest {
	padding: 1.25rem;
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 8px;
	background: #fafafa;
}

/* Final course assessment (after all modules) */
.hemp-edu-portal__final-quiz {
	margin-top: 1.75rem;
	padding: 1.25rem 1.35rem;
	border: 2px solid #136f3a;
	border-radius: 10px;
	background: linear-gradient(180deg, #f3fff7 0%, #fff 100%);
}

.hemp-edu-portal__final-quiz h3 {
	margin: 0 0 0.5rem;
	font-size: 1.25rem;
	color: #0d4d29;
}

.hemp-edu-portal__final-quiz__title {
	margin: 0 0 0.35rem;
	font-size: 1.1rem;
	font-weight: 600;
}

.hemp-edu-portal__final-quiz__locked {
	margin: 0.75rem 0 0;
	color: #5c4033;
}

.hemp-edu-portal__seq-note {
	margin-top: 0.75rem;
}

.hemp-edu-portal__module--locked {
	opacity: 0.92;
	padding: 0.75rem 0.85rem;
	border-radius: 8px;
	border: 1px dashed #c9c9c9;
	background: #fafafa;
}

.hemp-edu-portal__module-lock-msg {
	margin: 0 0 0.65rem;
	font-size: 0.9rem;
	color: #6a4a2a;
}

.hemp-edu-portal__lesson--locked .hemp-edu-portal__lesson-title {
	color: #666;
}

.hemp-edu-portal__badge-done {
	display: inline-block;
	margin-left: 0.25rem;
	padding: 0.1rem 0.4rem;
	font-size: 0.75rem;
	border-radius: 4px;
	background: #e8f4ea;
	color: #0a5c16;
	font-weight: 600;
}

.hemp-edu-portal__lesson-hint {
	margin-left: 0.25rem;
	font-size: 0.85rem;
}

.hemp-edu-portal__module-quizzes,
.hemp-edu-portal__track-checkpoints {
	margin-top: 1rem;
	padding-top: 0.75rem;
	border-top: 1px solid #e8e8e8;
}

.hemp-edu-portal__quiz-row {
	margin: 0.65rem 0 0;
	padding: 0.5rem 0 0;
}

.hemp-edu-portal__quiz-row__title {
	margin: 0 0 0.25rem;
	font-weight: 600;
}

.hemp-edu-portal__quiz-locked {
	margin: 0.35rem 0 0;
	font-size: 0.9rem;
	color: #6a4a2a;
}
