/* ======================================================================
   Hero split section
   ====================================================================== */

.tt-hero-split {
	width: 100%;
	margin: 0 auto;
	padding: 60px 20px 0;
	box-sizing: border-box;
	font-family: var(--typography-font-family, "Plus Jakarta Sans", sans-serif);
}

.tt-hero-split__inner {
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	text-align: center;
	color: #1a252f;
}

.tt-hero-split__text {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	box-sizing: border-box;
}

/* Pill */

.tt-hero-split-intro__pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 9999px;
	background-color: #eeefff;
	padding: 2px 8px;
	box-sizing: border-box;
	margin-bottom: 16px;
	height: 32px;
}

.tt-hero-split-intro__pill-inner {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 4px;
}

.tt-hero-split-intro__pill-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.tt-hero-split-intro__pill-icon svg {
	display: block;
	width: 20px;
	height: 20px;
}

.tt-hero-split-intro__pill-label {
	margin-left: 4px;
	color: #3f41b5;
	font-family: var(--typography-font-family, "Plus Jakarta Sans", sans-serif);
	font-size: var(--typography-font-size-sm, 14px);
	font-style: normal;
	font-weight: 600;
	line-height: 150%;
	white-space: nowrap;
}

/* Text */

.tt-hero-split__title {
	width: 100%;
	margin: 0;
	color: #1a252f;
	font-family: var(--typography-font-family, "Plus Jakarta Sans", sans-serif);
	font-size: 30px;
	font-style: normal;
	font-weight: 700;
	line-height: 125%;
	letter-spacing: -0.01em;
}

.tt-hero-split__copy {
	width: 100%;
	margin: 20px 0 0;
	color: #596977;
	font-family: var(--typography-font-family, "Plus Jakarta Sans", sans-serif);
	font-size: var(--typography-font-size-md, 16px);
	font-style: normal;
	font-weight: 500;
	line-height: 150%;
}

/* Buttons */

.tt-hero-split__actions {
	width: 236px;
	max-width: 100%;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 12px;
	margin-top: 20px;
	text-align: left;
}

.tt-hero-split__actions .tt-btn {
	align-self: stretch;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 48px;
	min-height: 48px;
	width: 100%;
	margin: 0;
	padding: 0 22px;
	box-sizing: border-box;
	border-radius: 8px;
	border: 1px solid transparent;
	font-family: var(--typography-font-family, "Plus Jakarta Sans", sans-serif);
	font-size: var(--typography-font-size-md, 16px);
	font-style: normal;
	font-weight: 600;
	line-height: 150%;
	text-decoration: none;
	cursor: pointer;
	transition:
		background-color 0.2s ease,
		border-color 0.2s ease,
		color 0.2s ease;
}

.tt-hero-split__actions .tt-btn--primary {
	background-color: #5153e8;
	border-color: #5153e8;
	color: #f7f7ff;
}

.tt-hero-split__actions .tt-btn--primary:hover,
.tt-hero-split__actions .tt-btn--primary:focus {
	background-color: #3f41b5;
	border-color: #3f41b5;
	color: #f7f7ff;
}

.tt-hero-split__actions .tt-btn--secondary {
	background-color: #eeefff;
	border-color: #ccccff;
	color: #3f41b5;
}

.tt-hero-split__actions .tt-btn--secondary:hover,
.tt-hero-split__actions .tt-btn--secondary:focus {
	background-color: #e3e5ff;
	border-color: #bfc2ff;
	color: #3f41b5;
}

/* Visual */

.tt-hero-split__visual-wrap {
	display: none;
}

.tt-hero-split__visual-placeholder {
	width: 100%;
	height: 100%;
	border-radius: 24px;
	overflow: hidden;
	background-color: rgba(255, 0, 0, 0.5);
}

.tt-hero-split__visual-placeholder img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.tt-students .tt-hero-split__visual-placeholder {
	background: #f8f9fc;
}

.tt-students .tt-hero-split__visual-placeholder img {
	object-fit: cover;
	object-position: center;
}

.tt-assessors .tt-hero-split__visual-placeholder,
.tt-features .tt-hero-split__visual-placeholder,
.tt-individual-funding .tt-hero-split__visual-placeholder,
.tt-organisations .tt-hero-split__visual-placeholder,
.tt-students .tt-hero-split__visual-placeholder,
.tt-workplace .tt-hero-split__visual-placeholder {
	background: transparent;
}

/* ======================================================================
   900px to 1199px viewport: 550px content width
   ====================================================================== */

@media (min-width: 600px) and (max-width: 899px) {
	.tt-hero-split {
		padding: 48px 24px 0 24px;
	}

	.tt-hero-split__inner {
		max-width: 550px;
		align-items: flex-start;
		justify-content: center;
		gap: 24px;
		text-align: left;
		font-size: 16px;
	}

	.tt-hero-split__text {
		align-items: flex-start;
		text-align: left;
	}

	.tt-hero-split__title {
		font-size: 36px;
		line-height: 125%;
		letter-spacing: -0.01em;
	}

	.tt-hero-split__copy {
		margin-top: 24px;
		font-size: var(--typography-font-size-md, 16px);
		line-height: 150%;
	}

	.tt-hero-split__actions {
		width: 400px;
		flex-direction: row;
		align-items: flex-start;
		gap: 16px;
		margin-top: 24px;
	}

	.tt-hero-split__actions .tt-btn {
		width: auto;
		flex-shrink: 0;
	}
}

/* ======================================================================
   1200px to 1439px viewport: 850px content width
   ====================================================================== */

@media (min-width: 900px) and (max-width: 1199px) {
	.tt-hero-split {
		padding: 48px 24px 0 24px;
	}

	.tt-hero-split__inner {
		max-width: 850px;
		flex-direction: row;
		align-items: center;
		justify-content: center;
		gap: 24px;
		text-align: left;
	}

	.tt-hero-split__text {
		width: 559px;
		flex: 0 0 559px;
		align-items: flex-start;
		justify-content: center;
		padding: 0 24px 0 0;
		box-sizing: border-box;
		text-align: left;
	}

	.tt-hero-split__title {
		font-size: 42px;
		line-height: 125%;
		letter-spacing: -0.01em;
	}

	.tt-hero-split__copy {
		margin-top: 32px;
		font-size: var(--typography-font-size-lg, 18px);
		line-height: 150%;
	}

	.tt-hero-split__actions {
		width: 400px;
		flex-direction: row;
		align-items: flex-start;
		gap: 16px;
		margin-top: 32px;
	}

	.tt-hero-split__actions .tt-btn {
		width: auto;
		flex-shrink: 0;
	}

	.tt-hero-split__visual-wrap {
		display: block;
		width: 267px;
		height: 377px;
		flex: 0 0 267px;
		position: relative;
	}

	.tt-hero-split__visual-placeholder {
		border-radius: 24px;
	}
}

/* ======================================================================
   1440px to 1919px viewport: 1040px content width
   ====================================================================== */

@media (min-width: 1200px) and (max-width: 1439px) {
	.tt-hero-split {
		padding: 72px 24px 0 24px;
	}

	.tt-hero-split__inner {
		max-width: 1040px;
		flex-direction: row;
		align-items: center;
		justify-content: center;
		gap: 24px;
		text-align: left;
	}

	.tt-hero-split__text {
		width: 685px;
		flex: 0 0 685px;
		align-items: flex-start;
		justify-content: center;
		padding: 0 24px 0 0;
		box-sizing: border-box;
		text-align: left;
	}

	.tt-hero-split__title {
		font-size: 48px;
		line-height: 125%;
		letter-spacing: -0.01em;
	}

	.tt-hero-split__copy {
		margin-top: 32px;
		font-size: var(--typography-font-size-xl, 20px);
		line-height: 150%;
	}

	.tt-hero-split__actions {
		width: 400px;
		flex-direction: row;
		align-items: flex-start;
		gap: 16px;
		margin-top: 32px;
	}

	.tt-hero-split__actions .tt-btn {
		width: auto;
		flex-shrink: 0;
	}

	.tt-hero-split__visual-wrap {
		display: block;
		width: auto;
		height: 465px;
		flex: 1 1 auto;
		position: relative;
	}
}

/* ======================================================================
   1920px and up viewport: 1260px content width
   ====================================================================== */

@media (min-width: 1440px) {
	.tt-hero-split {
		padding: 86px 24px 0 24px;
	}

	.tt-hero-split__inner {
		max-width: 1260px;
		flex-direction: row;
		align-items: center;
		justify-content: center;
		gap: 24px;
		text-align: left;
	}

	.tt-hero-split__text {
		width: 832px;
		flex: 0 0 832px;
		align-items: flex-start;
		justify-content: center;
		padding: 0 24px 0 0;
		box-sizing: border-box;
		text-align: left;
	}

	.tt-hero-split__title {
		max-width: 808px;
		font-size: var(--typography-font-size-7xl, 60px);
		line-height: 125%;
		letter-spacing: -0.01em;
	}

	.tt-hero-split__copy {
		max-width: 725px;
		margin-top: 32px;
		font-size: var(--typography-font-size-xl, 20px);
		line-height: 150%;
	}

	.tt-hero-split__actions {
		width: 400px;
		flex-direction: row;
		align-items: flex-start;
		gap: 16px;
		margin-top: 32px;
	}

	.tt-hero-split__actions .tt-btn {
		width: auto;
		flex-shrink: 0;
	}

	.tt-hero-split__visual-wrap {
		display: block;
		width: auto;
		height: 567px;
		flex: 1 1 auto;
		position: relative;
	}
}

/* ======================================================================
   Individual funding hero variant
   ====================================================================== */

.tt-hero-split--individual-funding .tt-hero-split__title {
	margin-top: 0;
}

/* ========================================================================== 
   Features page Figma alignment
   ========================================================================== */

.tt-features .tt-hero-split__title,
.tt-features .tt-hero-split__copy {
	text-wrap: wrap;
}

@media (min-width: 1440px) {
	.tt-features .tt-hero-split {
		padding: 72px 24px 0;
	}

	.tt-features .tt-hero-split__inner {
		max-width: 1260px;
		height: 567px;
		gap: 24px;
	}

	.tt-features .tt-hero-split__text {
		width: 832px;
		flex: 0 0 832px;
		padding: 0 24px 0 0;
	}

	.tt-features .tt-hero-split__title {
		width: 100%;
		max-width: none;
		font-size: 60px;
		line-height: 125%;
		letter-spacing: -0.01em;
	}

	.tt-features .tt-hero-split__copy {
		width: 725px;
		max-width: 725px;
		margin-top: 32px;
		font-size: 20px;
		font-weight: 500;
		line-height: 150%;
	}

	.tt-features .tt-hero-split__actions {
		width: auto;
		margin-top: 32px;
	}

	.tt-features .tt-hero-split__visual-wrap {
		height: 567px;
		flex: 1 1 0;
	}
}
