/* BimBible Home — bento home page. Neutral page + deep-teal accent.
   Scoped under .bbh so nothing leaks into the theme. */

.bbh {
	--bbh-ink: #1a1d23;
	--bbh-accent: #0f766e;
	--bbh-accent2: #13b8a6;
	--bbh-deep: #0b5a53;
	--bbh-tint: #e1f5ee;
	--bbh-tint-text: #0f6e56;
	--bbh-muted: #6b7280;
	--bbh-line: #e6e8ec;
	--bbh-soft: #f5f7f7;
	max-width: 820px;
	margin: 0 auto;
	padding: 8px 0 24px;
	color: var(--bbh-ink);
	line-height: 1.6;
	animation: bbh-rise 0.5s ease both;
}
.bbh, .bbh * { box-sizing: border-box; }
@keyframes bbh-rise { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:translateY(0); } }
.bbh svg { display: block; }

/* Dictionary panel */
.bbh-dict {
	background: var(--bbh-deep);
	border-radius: 14px;
	padding: 1.6rem 1.7rem;
	display: flex; gap: 22px; align-items: center; flex-wrap: wrap;
	margin-bottom: 14px;
}
.bbh-dict-main { flex: 1 1 300px; }
.bbh-dict-eyebrow {
	display: inline-flex; align-items: center; gap: 7px;
	font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase;
	color: #9FE1CB; margin-bottom: 10px;
}
.bbh-dict-eyebrow svg { color: #9FE1CB; }
.bbh-dict-title { font-size: 22px; font-weight: 600; color: #fff; margin-bottom: 6px; line-height: 1.2; }
.bbh-dict-sub { font-size: 14px; color: #C9EDE5; line-height: 1.55; margin: 0 0 14px; }
.bbh-search { display: flex; gap: 8px; max-width: 400px; }
.bbh-search-input {
	flex: 1 1 auto; min-width: 0; height: 44px; padding: 0 14px;
	border: none; border-radius: 8px; font-size: 1rem; background: #fff; color: var(--bbh-ink);
}
.bbh-search-input:focus { outline: none; box-shadow: 0 0 0 3px rgba(19,184,166,0.4); }
.bbh-search-btn {
	flex: 0 0 auto; height: 44px; padding: 0 18px; border: none; border-radius: 8px;
	background: var(--bbh-accent2); color: #04342C; font-weight: 600; font-size: 1rem; cursor: pointer;
}
.bbh-search-btn:hover { background: #11a594; }
.bbh-totd {
	flex: 0 0 auto; min-width: 180px;
	background: rgba(255,255,255,0.08); border: 0.5px solid rgba(255,255,255,0.18);
	border-radius: 8px; padding: 14px 16px; text-decoration: none; display: block;
}
.bbh-totd-label { display: block; font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; color: #9FE1CB; margin-bottom: 6px; }
.bbh-totd-term { display: block; font-size: 16px; font-weight: 600; color: #fff; line-height: 1.25; }
.bbh-totd-go { display: inline-block; font-size: 12px; color: #9FE1CB; margin-top: 6px; }

/* Two-card grid */
.bbh-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 14px; }
.bbh-card {
	display: block; text-decoration: none; background: #fff;
	border: 0.5px solid var(--bbh-line); border-radius: 14px; padding: 1.25rem;
	transition: border-color 0.15s ease, transform 0.15s ease;
}
.bbh-card:hover { border-color: var(--bbh-accent); transform: translateY(-2px); }
.bbh-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.bbh-card-title { font-size: 16px; font-weight: 600; color: var(--bbh-ink); }
.bbh-soon { font-size: 10px; color: var(--bbh-tint-text); background: var(--bbh-tint); padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.bbh-card-desc { font-size: 13px; color: var(--bbh-muted); line-height: 1.5; margin: 0; }

/* Elements disciplines */
.bbh-disc-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-bottom: 12px; }
.bbh-disc {
	aspect-ratio: 1; background: var(--bbh-soft); border-radius: 6px;
	display: flex; align-items: center; justify-content: center; color: var(--bbh-accent);
}

/* Learn steps */
.bbh-steps { margin-bottom: 12px; }
.bbh-step { display: flex; align-items: center; gap: 8px; padding: 5px 0; }
.bbh-step-no {
	width: 20px; height: 20px; flex: 0 0 auto; border-radius: 50%;
	background: var(--bbh-tint); color: var(--bbh-tint-text); font-size: 11px; font-weight: 600;
	display: flex; align-items: center; justify-content: center;
}
.bbh-step span:last-child { font-size: 13px; color: var(--bbh-muted); }

/* Forum band */
.bbh-forum {
	display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
	background: var(--bbh-soft); border-radius: 14px; padding: 1.25rem 1.4rem; text-decoration: none;
	transition: background 0.15s ease;
}
.bbh-forum:hover { background: #eef3f2; }
.bbh-forum-ic { flex: 0 0 auto; color: var(--bbh-accent); }
.bbh-forum-body { flex: 1 1 240px; }
.bbh-forum-head { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.bbh-forum-go { font-size: 13px; color: var(--bbh-accent); font-weight: 600; white-space: nowrap; }

@media (max-width: 600px) {
	.bbh-grid { grid-template-columns: 1fr; }
}
