/* The Hidden Word — Lesson front-end styles */

.thw-lesson {
	max-width: 48rem;
	margin: 0 auto 2rem;
	font-family: inherit;
	line-height: 1.6;
}

.thw-lesson-header {
	margin-bottom: 1.5rem;
}

.thw-lesson-title {
	margin: 0 0 0.25rem;
	font-size: 1.75rem;
}

.thw-lesson-reference {
	margin: 0;
	color: #555;
	font-style: italic;
}

.thw-lesson-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem;
	margin-bottom: 1rem;
	border-bottom: 2px solid #e2e2e2;
}

.thw-tab-button {
	background: none;
	border: none;
	border-bottom: 3px solid transparent;
	padding: 0.75rem 1rem;
	cursor: pointer;
	font-size: 0.95rem;
	color: #444;
	margin-bottom: -2px;
}

.thw-tab-button:hover,
.thw-tab-button:focus {
	color: #1a5276;
	outline: none;
}

.thw-tab-button.is-active {
	color: #1a5276;
	border-bottom-color: #1a5276;
	font-weight: 600;
}

.thw-tab-panel {
	display: none;
	padding: 1rem 0;
}

.thw-tab-panel.is-active {
	display: block;
}

.thw-tab-panel h3 {
	margin-top: 0;
	font-size: 1.25rem;
	color: #1a5276;
}

.thw-verse-text {
	font-size: 1.2rem;
	line-height: 1.8;
	margin: 1rem 0;
	padding: 1rem 1.25rem;
	border-left: 4px solid #1a5276;
	background: #f8f9fa;
	font-style: italic;
}

.thw-copyright {
	font-size: 0.75rem;
	color: #777;
	margin-top: 1rem;
}

.thw-empty {
	color: #888;
	font-style: italic;
}

.thw-memorization {
	margin-top: 1.5rem;
	padding: 1rem;
	background: #f0f4f8;
	border-radius: 6px;
}

.thw-memorization h4 {
	margin: 0 0 0.5rem;
}

.thw-memorization-hint {
	font-size: 0.9rem;
	color: #666;
	margin: 0 0 0.75rem;
}

.thw-memorization-text {
	font-size: 1.1rem;
	line-height: 2;
	margin-bottom: 0.75rem;
}

.thw-word {
	display: inline;
}

.thw-word.is-clickable {
	cursor: pointer;
	border-bottom: 1px dashed #1a5276;
}

.thw-word.is-hidden {
	color: #1a5276;
	font-weight: 600;
	cursor: pointer;
}

.thw-memorization-controls {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.thw-btn {
	background: #1a5276;
	color: #fff;
	border: none;
	padding: 0.5rem 1rem;
	border-radius: 4px;
	cursor: pointer;
	font-size: 0.9rem;
}

.thw-btn:hover {
	background: #154360;
}

.thw-echo-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.thw-echo-item {
	margin-bottom: 1.25rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid #eee;
}

.thw-echo-item blockquote {
	margin: 0.5rem 0;
	font-style: italic;
	color: #333;
}

.thw-echo-note {
	margin: 0.25rem 0 0;
	color: #555;
}

.thw-discussion-questions {
	padding-left: 1.25rem;
}

.thw-discussion-questions li {
	margin-bottom: 0.75rem;
}

.thw-verse-of-week {
	padding: 1rem;
	background: #f8f9fa;
	border-radius: 6px;
}

.thw-notice {
	padding: 1rem;
	background: #fff3cd;
	border: 1px solid #ffc107;
	border-radius: 4px;
}
