/**
 * Centered restricted-content notice (Ultimate Member).
 */

body.rizeon-restricted-page #content.site-content {
	min-height: calc(100vh - 120px);
	display: flex;
	flex-direction: column;
}

body.rizeon-restricted-page #content.site-content > .ast-container {
	flex: 1;
	display: flex;
	flex-direction: column;
	width: 100%;
}

body.rizeon-restricted-page #primary.content-area,
body.rizeon-restricted-page .site-main {
	flex: 1;
	display: flex;
	flex-direction: column;
	width: 100%;
}

body.rizeon-restricted-page .site-main > article {
	flex: 1;
	display: flex;
	flex-direction: column;
	width: 100%;
}

body.rizeon-restricted-page .entry-content.clear {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 2.5rem 1.25rem;
	margin: 0;
}

.rizeon-restricted-notice {
	width: 100%;
	max-width: 28rem;
	margin: 0 auto;
	text-align: center;
}

.rizeon-restricted-notice__card {
	background: #ffffff;
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 1.25rem;
	box-shadow:
		0 1px 2px rgba(15, 23, 42, 0.04),
		0 16px 40px rgba(15, 23, 42, 0.08);
	padding: 2.5rem 2rem 2rem;
}

.rizeon-restricted-notice__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 4.5rem;
	height: 4.5rem;
	margin: 0 auto 1.25rem;
	border-radius: 999px;
	background: linear-gradient(145deg, rgba(4, 107, 210, 0.12), rgba(4, 107, 210, 0.04));
	color: var(--ast-global-color-0, #046bd2);
}

.rizeon-restricted-notice__icon svg {
	width: 2rem;
	height: 2rem;
	display: block;
}

.rizeon-restricted-notice__title {
	margin: 0 0 0.75rem;
	font-size: clamp(1.35rem, 2.5vw, 1.65rem);
	line-height: 1.25;
	font-weight: 700;
	color: #0f172a;
}

.rizeon-restricted-notice__message {
	margin: 0 auto 1.75rem;
	max-width: 22rem;
	font-size: 1rem;
	line-height: 1.6;
	color: #475569;
}

.rizeon-restricted-notice__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	justify-content: center;
}

.rizeon-restricted-notice__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 8.5rem;
	padding: 0.8rem 1.35rem;
	border-radius: 999px;
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	transition:
		transform 0.18s ease,
		box-shadow 0.18s ease,
		background-color 0.18s ease,
		color 0.18s ease,
		border-color 0.18s ease;
}

.rizeon-restricted-notice__button--primary {
	background: var(--ast-global-color-0, #046bd2);
	color: #ffffff;
	box-shadow: 0 10px 24px rgba(4, 107, 210, 0.22);
}

.rizeon-restricted-notice__button--primary:hover,
.rizeon-restricted-notice__button--primary:focus {
	color: #ffffff;
	background: var(--ast-global-color-1, #0358b0);
	transform: translateY(-1px);
	box-shadow: 0 14px 28px rgba(4, 107, 210, 0.28);
}

.rizeon-restricted-notice__button--secondary {
	background: #ffffff;
	color: #0f172a;
	border: 1px solid rgba(15, 23, 42, 0.12);
}

.rizeon-restricted-notice__button--secondary:hover,
.rizeon-restricted-notice__button--secondary:focus {
	color: #0f172a;
	border-color: rgba(4, 107, 210, 0.35);
	background: rgba(4, 107, 210, 0.04);
	transform: translateY(-1px);
}

@media (max-width: 544px) {
	body.rizeon-restricted-page #content.site-content {
		min-height: calc(100vh - 96px);
	}

	.rizeon-restricted-notice__card {
		padding: 2rem 1.35rem 1.75rem;
	}

	.rizeon-restricted-notice__actions {
		flex-direction: column;
	}

	.rizeon-restricted-notice__button {
		width: 100%;
	}
}
