.tlm-academy-consult-modal[hidden] {
	display: none;
}

.tlm-academy-consult-modal {
	align-items: center;
	display: flex;
	inset: 0;
	justify-content: center;
	padding: 24px;
	position: fixed;
	z-index: 99999;
}

.tlm-academy-consult-modal__backdrop {
	background: rgba(7, 12, 19, .72);
	inset: 0;
	position: absolute;
}

.tlm-academy-consult-modal__dialog {
	background: #fff;
	box-shadow: 0 28px 90px rgba(7, 12, 19, .32);
	max-height: calc(100vh - 48px);
	max-width: 720px;
	overflow: auto;
	padding: 32px;
	position: relative;
	width: min(100%, 720px);
}

.tlm-academy-consult-modal__close {
	align-items: center;
	background: #111417;
	border: 0;
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	font-size: 24px;
	font-weight: 800;
	height: 38px;
	justify-content: center;
	line-height: 1;
	position: absolute;
	right: 18px;
	top: 18px;
	width: 38px;
}

.tlm-academy-consult-modal__kicker {
	color: #c79a2b;
	font-size: 12px;
	font-weight: 900;
	letter-spacing: .08em;
	margin: 0 0 8px;
	text-transform: uppercase;
}

.tlm-academy-consult-modal h2 {
	color: #111417;
	font-size: clamp(26px, 4vw, 38px);
	font-weight: 900;
	line-height: 1.18;
	margin: 0 44px 12px 0;
	word-break: keep-all;
}

.tlm-academy-consult-modal__lead {
	color: #5b6470;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.7;
	margin: 0 0 22px;
	word-break: keep-all;
}

.tlm-academy-consult-form__grid {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tlm-academy-consult-form label {
	display: grid;
	gap: 7px;
}

.tlm-academy-consult-form label span {
	color: #111417;
	font-size: 13px;
	font-weight: 900;
}

.tlm-academy-consult-form label b {
	color: #f2074f;
}

.tlm-academy-consult-form input[type="text"],
.tlm-academy-consult-form select,
.tlm-academy-consult-form textarea {
	background: #f8fafc;
	border: 1px solid #e2e5ea;
	color: #111417;
	font-size: 15px;
	font-weight: 700;
	min-height: 44px;
	padding: 10px 12px;
	width: 100%;
}

.tlm-academy-consult-form textarea {
	line-height: 1.6;
	resize: vertical;
}

.tlm-academy-consult-form__full {
	grid-column: 1 / -1;
}

.tlm-academy-consult-form__trap {
	height: 1px !important;
	left: -9999px !important;
	opacity: 0 !important;
	position: absolute !important;
	width: 1px !important;
}

.tlm-academy-consult-form__consent {
	align-items: flex-start;
	display: flex !important;
	gap: 8px !important;
	margin-top: 14px;
}

.tlm-academy-consult-form__consent input {
	flex: 0 0 auto;
	margin-top: 3px;
}

.tlm-academy-consult-form__consent span {
	color: #4b5563;
	font-size: 13px;
	font-weight: 800;
	line-height: 1.5;
	word-break: keep-all;
}

.tlm-academy-consult-form__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 20px;
}

.tlm-academy-consult-form__actions button {
	align-items: center;
	border: 1px solid #111417;
	cursor: pointer;
	display: inline-flex;
	font-size: 14px;
	font-weight: 900;
	justify-content: center;
	min-height: 44px;
	padding: 0 18px;
}

.tlm-academy-consult-form__actions button[type="submit"] {
	background: #f2074f;
	border-color: #f2074f;
	color: #fff;
}

.tlm-academy-consult-form__actions button[type="button"] {
	background: #fff;
	color: #111417;
}

.tlm-academy-consult-form__message {
	color: #111417;
	font-size: 14px;
	font-weight: 900;
	line-height: 1.55;
	margin: 14px 0 0;
	word-break: keep-all;
}

.tlm-academy-consult-form__message.is-error {
	color: #b91c1c;
}

.tlm-academy-consult-form__message.is-success {
	color: #166534;
}

.tlm-academy-button--secondary,
.tlm-academy-consult-open {
	background: #111417;
	border-color: #111417;
	color: #fff !important;
	cursor: pointer;
}

.tlm-academy-button--secondary:hover,
.tlm-academy-button--secondary:focus,
.tlm-academy-consult-open:hover,
.tlm-academy-consult-open:focus {
	background: #2b3440;
	border-color: #2b3440;
	color: #fff !important;
}

body.tlm-academy-consult-modal-open {
	overflow: hidden;
}

@media (max-width: 620px) {
	.tlm-academy-consult-modal {
		align-items: flex-start;
		padding: 14px;
	}

	.tlm-academy-consult-modal__dialog {
		max-height: calc(100vh - 28px);
		padding: 24px 18px;
	}

	.tlm-academy-consult-form__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.tlm-academy-consult-form__actions {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
	}
}
