/* Visual bridge for More-than-Human Seminar. */
body.mth-theme .mth-seminar-layout {
	grid-template-columns: minmax(0, 1fr) minmax(210px, 280px);
	gap: clamp(1.5rem, 3vw, 3rem);
	width: 100%;
	max-width: var(--mth-wide);
	margin: 0 auto;
}

body.mth-theme .mth-context-nav {
	top: calc(var(--mth-header-height) + 1rem);
}

body.mth-theme .mth-context-nav-inner {
	padding: 0.9rem 1rem;
	border: 1px solid var(--mth-line);
	border-left: 3px solid var(--mth-accent);
	border-radius: 0.55rem;
	color: var(--mth-ink);
	background: var(--mth-surface);
	box-shadow: var(--mth-shadow);
}

body.mth-theme .mth-context-title,
body.mth-theme :where(.mth-seminar-index, .mth-context-nav) .is-current > span {
	color: var(--mth-accent);
}

body.mth-theme .mth-block-heading {
	padding-bottom: 0.4rem;
	border-bottom: 1px solid var(--mth-line);
}

body.mth-theme :where(.mth-prev-next-nav, .mth-literature-list, .mth-seminar-summary) {
	border-color: var(--mth-line);
}

body.mth-theme .mth-prev-next-nav a {
	color: var(--mth-accent);
}

body.mth-theme .mth-backend-edit-link a,
body.mth-theme .mth-login-form button,
body.mth-theme .mth-login-actions a {
	min-height: 42px;
	padding: 0.6rem 0.9rem;
	border: 1px solid var(--mth-accent);
	border-radius: 0.5rem;
	font-weight: 700;
	text-decoration: none;
}

body.mth-theme :where(.mth-backend-edit-link a, .mth-login-form button) {
	color: #fff;
	background: var(--mth-accent);
}

body.mth-theme .mth-block-image img {
	border: 1px solid var(--mth-line);
	border-radius: 0.75rem;
}

body.mth-theme .mth-login-page {
	margin-block: 0;
	padding: clamp(1rem, 3vw, 2rem) 0;
}

body.mth-theme .mth-login-card {
	border: 1px solid var(--mth-line);
	border-radius: 0.75rem;
	background: var(--mth-surface);
	box-shadow: var(--mth-shadow);
}

body.mth-theme .mth-login-rule {
	border-color: var(--mth-line);
}

body.mth-theme .mth-login-notice {
	border-radius: 0.35rem;
}

body.mth-theme :where(.mth-login-notice-sent, .mth-login-notice-logged_in, .mth-login-notice-logged_out) {
	color: var(--mth-ink);
	background: var(--mth-brand);
}

body.mth-theme :where(.mth-login-notice-invalid, .mth-login-notice-expired, .mth-login-notice-mail_failed) {
	color: #fff;
	background: var(--mth-critical);
}

@media (max-width: 900px) {
	body.mth-theme .mth-seminar-layout {
		grid-template-columns: minmax(0, 1fr);
	}

	body.mth-theme .mth-context-nav {
		position: static;
	}
}

@media (prefers-color-scheme: dark) {
	body.mth-theme .mth-context-nav-inner,
	body.mth-theme .mth-login-card {
		color: #e9f8f3;
		background: var(--mth-dark-card);
	}

	body.mth-theme :where(.mth-login-notice-sent, .mth-login-notice-logged_in, .mth-login-notice-logged_out) {
		color: #e9f8f3;
		background: var(--mth-dark-panel);
	}
}

