/* Responsive layout for the headerless personal-area entry pages. */

.mdx-personal-auth,
.mdx-personal-ecosystem,
.mdx-personal-ecosystem__header {
	min-width: 0;
}

.mdx-personal-auth {
	overflow: hidden;
	background:
		radial-gradient(circle at 12% 18%, rgba(0, 124, 142, 0.08), transparent 28rem),
		#f2f5f5;
}

.mdx-personal-auth > .container > .columns {
	min-height: 100vh;
	min-height: 100svh;
}

.mdx-personal-auth__panel,
.mdx-personal-auth__art {
	min-width: 0;
}

.mdx-personal-auth .cabinet__wrapper {
	justify-content: space-between;
	gap: clamp(2rem, 7vh, 5rem);
	width: 100%;
	max-width: 27rem;
	height: auto;
	min-height: 100vh;
	min-height: 100svh;
	margin-inline: auto;
	padding: clamp(2.5rem, 7vh, 6rem) 0 clamp(2.25rem, 6vh, 5rem);
}

.mdx-personal-auth .cabinet__logo {
	width: min(100%, 18rem);
	margin: 0;
}

.mdx-personal-auth .cabinet__logo img,
.mdx-personal-auth .cabinet__picture img {
	max-width: 100%;
}

.mdx-personal-auth .cabinet__form-wrapper {
	align-items: stretch;
	min-width: 0;
	margin: 0;
}

.mdx-personal-auth .cabinet__title,
.mdx-personal-auth .cabinet__text {
	text-align: center;
}

.mdx-personal-auth .cabinet__title {
	font-size: clamp(1.5rem, 2.2vw, 2rem);
	line-height: 1.2;
}

.mdx-personal-auth .cabinet__text {
	max-width: 100%;
	color: #607985;
	line-height: 1.5;
}

.mdx-personal-auth .form--cabinet,
.mdx-personal-auth .form--cabinet__label,
.mdx-personal-auth .form--cabinet__label input {
	min-width: 0;
}

.mdx-personal-auth .form--cabinet__label {
	min-height: 3.5rem;
	border: 1px solid rgba(14, 52, 73, 0.1);
	box-shadow: 0 0.5rem 1.5rem rgba(14, 52, 73, 0.05);
}

.mdx-personal-auth .form--cabinet__label:focus-within {
	border-color: #007c8e;
	box-shadow: 0 0 0 3px rgba(0, 124, 142, 0.14);
}

.mdx-personal-auth .form--cabinet__label input {
	width: 100%;
}

.mdx-personal-auth .form--cabinet__bottom {
	gap: 0.75rem;
}

.mdx-personal-auth .form--cabinet__bottom a,
.mdx-personal-auth .form--cabinet__bottom button {
	min-height: 3rem;
	white-space: normal;
	text-align: center;
}

.mdx-personal-auth .cabinet__bottom {
	min-width: 0;
	margin-top: 0;
	text-align: center;
}

.mdx-personal-auth .cabinet__bottom a,
.mdx-personal-auth .cabinet__bottom button {
	max-width: 100%;
	min-height: 2.75rem;
	overflow-wrap: anywhere;
}

.mdx-personal-auth .cabinet__picture {
	width: calc(50vw - 0.9375rem);
	max-width: none;
	height: 100%;
	min-height: 100vh;
	min-height: 100svh;
	overflow: hidden;
}

.mdx-personal-auth .cabinet__picture img {
	position: relative;
	z-index: 1;
}

.mdx-personal-auth .cabinet__picture::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
	background: linear-gradient(90deg, rgba(14, 52, 73, 0.16), transparent 42%);
}

.mdx-personal-auth a:focus-visible,
.mdx-personal-auth button:focus-visible,
.mdx-personal-ecosystem a:focus-visible,
.mdx-personal-ecosystem__header a:focus-visible {
	outline: 3px solid rgba(0, 124, 142, 0.4);
	outline-offset: 3px;
}

.mdx-personal-ecosystem__header {
	z-index: 20;
	height: auto;
	padding: clamp(1.5rem, 4vw, 3rem) 0;
}

.mdx-personal-ecosystem__header .columns {
	align-items: center;
}

.mdx-personal-ecosystem__header .header--min__logo {
	display: block;
	width: min(100%, 17rem);
}

.mdx-personal-ecosystem__header .header--min__logo img {
	width: 100%;
	max-width: 100%;
	height: auto;
}

.mdx-personal-ecosystem__hero {
	height: auto;
	min-height: 31.25rem;
	overflow: hidden;
	background:
		radial-gradient(circle at 86% 22%, rgba(0, 124, 142, 0.1), transparent 24rem),
		linear-gradient(135deg, #f4f8f7 0%, #edf3f5 100%);
}

.mdx-personal-ecosystem__hero > .container > .columns {
	align-items: stretch;
	min-height: 31.25rem;
}

.mdx-personal-ecosystem__intro,
.mdx-personal-ecosystem__visual,
.mdx-personal-ecosystem .card-eco__content,
.mdx-personal-ecosystem .card-eco__top {
	min-width: 0;
}

.mdx-personal-ecosystem__hero .page-intro--no-header__content {
	height: auto;
	min-height: 31.25rem;
	padding: clamp(8rem, 12vw, 10.125rem) 0 2.5rem;
}

.mdx-personal-ecosystem__hero .page-intro__text {
	max-width: 34rem;
	color: #607985;
	line-height: 1.55;
}

.mdx-personal-ecosystem__hero .page-intro__picture--no-header {
	width: 100%;
	max-width: 100%;
	height: 100%;
	margin-left: 0;
}

.mdx-personal-ecosystem__hero .page-intro__picture--no-header img {
	width: 100%;
	max-width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: right bottom;
}

.mdx-personal-ecosystem__actions .button {
	min-height: 3rem;
	white-space: normal;
	text-align: center;
}

.mdx-personal-ecosystem__channels {
	padding-top: clamp(0.5rem, 2vw, 1.5rem);
}

.mdx-personal-ecosystem__section-title {
	margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
	font-size: clamp(1.75rem, 3vw, 2.5rem);
	line-height: 1.2;
}

.mdx-personal-ecosystem__grid {
	align-items: stretch;
}

.mdx-personal-ecosystem__grid > * {
	min-width: 0;
}

.mdx-personal-ecosystem .card-eco {
	height: auto;
	min-height: 18.75rem;
	overflow: hidden;
	isolation: isolate;
	border: 1px solid rgba(14, 52, 73, 0.06);
	box-shadow: 0 1rem 2.5rem rgba(14, 52, 73, 0.08);
}

.mdx-personal-ecosystem .card-eco--wide {
	min-height: 12rem;
}

.mdx-personal-ecosystem .card-eco__content {
	width: min(100%, 32rem);
}

.mdx-personal-ecosystem .card-eco__title {
	font-size: clamp(1.625rem, 2.4vw, 2rem);
	line-height: 1.2;
}

.mdx-personal-ecosystem .card-eco__text,
.mdx-personal-ecosystem .card-eco time {
	min-width: 0;
	max-width: 100%;
	overflow-wrap: anywhere;
}

.mdx-personal-ecosystem .card-eco__icon {
	position: absolute;
	top: auto;
	right: 1.5rem;
	bottom: -2.5rem;
	left: auto;
	width: 12rem;
	height: 12rem;
	pointer-events: none;
}

.mdx-personal-ecosystem .card-eco--wide .card-eco__icon {
	top: auto;
	right: 5rem;
	bottom: -4rem;
	left: auto;
}

.mdx-personal-ecosystem .card-eco__link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

.mdx-personal-ecosystem .card-eco__bottom {
	min-width: 0;
	gap: 1rem;
}

.mdx-personal-ecosystem .card-eco__btn {
	min-height: 3rem;
}

.mdx-personal-ecosystem .card-eco:focus-visible {
	outline: 3px solid rgba(0, 124, 142, 0.4);
	outline-offset: 3px;
}

.mdx-personal-ecosystem .card-eco:focus-visible .card-eco__bottom-tooltip {
	opacity: 1;
}

.mdx-personal-ecosystem .card-eco:focus-visible time {
	opacity: 0;
}

@media only screen and (max-width: 1199.9px) {
	.mdx-personal-ecosystem .card-eco__bottom-tooltip {
		position: relative;
		opacity: 1;
		pointer-events: auto;
	}

	.mdx-personal-ecosystem .card-eco:hover time,
	.mdx-personal-ecosystem .card-eco:focus-visible time {
		opacity: 1;
	}
}

@media only screen and (max-width: 991.9px) {
	.mdx-personal-auth__panel {
		grid-column: 1 / -1;
	}

	.mdx-personal-auth__art {
		display: none !important;
	}

	.mdx-personal-auth .cabinet__wrapper {
		max-width: 34rem;
	}
}

@media only screen and (max-width: 767.9px) {
	.mdx-personal-auth .cabinet__wrapper {
		gap: 2.5rem;
		padding: 2rem 0;
	}

	.mdx-personal-auth .cabinet__logo {
		width: min(82%, 16.5rem);
		margin-inline: auto;
	}

	.mdx-personal-auth .cabinet__form-wrapper {
		margin: 0;
	}

	.mdx-personal-auth .cabinet__text {
		max-width: 28rem;
		margin-inline: auto;
	}

	.mdx-personal-auth .cabinet__bottom {
		font-size: 0.875rem;
	}

	.mdx-personal-ecosystem__header .columns__col-mob--10 {
		grid-column: 1 / -1;
	}

	.mdx-personal-ecosystem__header .header--min__logo {
		width: min(82%, 16.5rem) !important;
		margin-inline: auto;
	}

	.mdx-personal-ecosystem__hero,
	.mdx-personal-ecosystem__hero > .container > .columns,
	.mdx-personal-ecosystem__hero .page-intro--no-header__content {
		height: auto;
		min-height: 0;
	}

	.mdx-personal-ecosystem__hero > .container > .columns {
		display: block;
	}

	.mdx-personal-ecosystem__hero .page-intro--no-header__content {
		gap: 1.5rem;
		padding: 8rem 0 1.5rem;
	}

	.mdx-personal-ecosystem__hero .page-intro__top {
		position: relative;
		z-index: 2;
	}

	.mdx-personal-ecosystem__hero .page-intro__picture--no-header {
		position: relative;
		top: auto;
		right: auto;
		bottom: auto;
		left: auto;
		height: clamp(15rem, 68vw, 21rem);
		margin: 0 auto;
		overflow: hidden;
	}

	.mdx-personal-ecosystem__hero .page-intro__picture--no-header::after {
		content: none;
	}

	.mdx-personal-ecosystem__hero .page-intro__picture--no-header img {
		width: 100%;
		max-width: 32rem;
		height: 100%;
		margin-inline: auto;
		object-position: center bottom;
	}

	.mdx-personal-ecosystem__actions {
		position: relative;
		z-index: 3;
	}

	.mdx-personal-ecosystem .card-eco,
	.mdx-personal-ecosystem .card-eco--wide {
		min-height: 20rem;
		padding: 1.75rem;
	}

	.mdx-personal-ecosystem .card-eco__content {
		width: 100%;
		padding-right: 2rem;
	}

	.mdx-personal-ecosystem .card-eco__text {
		min-width: 0;
		margin-bottom: 1rem;
	}

	.mdx-personal-ecosystem .card-eco__bottom {
		row-gap: 0.75rem;
	}

	.mdx-personal-ecosystem .card-eco__icon,
	.mdx-personal-ecosystem .card-eco--wide .card-eco__icon {
		top: auto;
		right: -3rem;
		bottom: -3rem;
		left: auto;
		width: 11rem;
		height: 11rem;
	}

	.mdx-personal-ecosystem .card-eco__link {
		right: auto;
		bottom: 1.75rem;
		left: 1.75rem;
	}
}

@media only screen and (max-width: 575.9px) {
	.mdx-personal-auth .form--cabinet__label {
		padding-right: 1.25rem;
		padding-left: 3.25rem;
	}

	.mdx-personal-auth .form--cabinet__label svg {
		left: 1.75rem;
	}

	.mdx-personal-auth .form--cabinet__bottom a,
	.mdx-personal-auth .form--cabinet__bottom button {
		width: 50%;
		max-width: none;
		padding-inline: 1rem;
	}

	.mdx-personal-ecosystem__actions > .columns {
		gap: 0.75rem;
	}

	.mdx-personal-ecosystem__actions .button {
		padding-inline: 1rem;
	}

	.mdx-personal-ecosystem .card-eco,
	.mdx-personal-ecosystem .card-eco--wide {
		min-height: 21rem;
		padding: 1.5rem;
	}

	.mdx-personal-ecosystem .card-eco__content {
		padding-right: 1rem;
	}

	.mdx-personal-ecosystem .card-eco__link {
		bottom: 1.5rem;
		left: 1.5rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.mdx-personal-auth *,
	.mdx-personal-ecosystem *,
	.mdx-personal-ecosystem__header * {
		scroll-behavior: auto !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}
