/*
 * Module: Site — home, login and 404 styles
 * Colors come only from the tokens in mcms-global.css.
 *
 * SECTIONS
 *   1. Centered page with the big logo (home, login, 404)
 *   2. Login card
 */

/* ==================================================================
   1. CENTERED PAGE + BIG LOGO
   ================================================================== */
body.mcms-404 {
	margin: 0;
	background: var(--mcms-bg);
}

.mcms-site {
	min-height: 80vh;
	min-height: 80dvh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 28px;
	padding: 40px var(--mcms-pad);
	text-align: center;
}

.mcms-404 .mcms-site {
	min-height: 100vh;
	min-height: 100dvh;
}

.mcms-wrap .mcms-site__logo {
	display: block;
	width: min(320px, 75vw);
	height: auto;
	max-width: 100%;
}

.mcms-site__text {
	font-size: var(--mcms-text-lg);
	color: var(--mcms-text-muted);
}

.mcms-wrap .mcms-site__btn {
	min-width: 240px;
	min-height: 52px;
	font-size: var(--mcms-text-md);
}

/* ==================================================================
   2. LOGIN CARD
   ================================================================== */
.mcms-site--login {
	gap: 24px;
}

.mcms-site--login .mcms-site__logo {
	width: min(240px, 60vw);
}

.mcms-login {
	width: 100%;
	max-width: 400px;
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 16px;
	text-align: left;
}

.mcms-wrap .mcms-login__title {
	font-size: var(--mcms-text-xl);
	font-weight: 800;
}

.mcms-wrap .mcms-login__submit {
	min-height: 52px;
	font-size: var(--mcms-text-md);
}

/* Honeypot: off-screen, never visible, never focusable. */
.mcms-login__hp {
	position: absolute !important;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}