/* ==========================================================================
   THEME-AWARDS  —  When are Scholarships awarded?
   ========================================================================== */
.theme-text-image {
	position:relative;
	padding: 0;
	background: #F4F3B8;
	overflow:hidden;
}
.text-image__corner {
	position:absolute;
	top:0;
	left: 50%;
	margin-left: -1px;
	width:80px;
	height:80px;
	background: #f4f3b8;
	clip-path: polygon(0 0, 100% 0, 0 100%);
	z-index: 1;
}
/* ---- Blue-light variant ---- */
.theme-text-image--blue-light,
.theme-text-image--blue-light .text-image__corner {
  background: var(--blue-light);
}

/* ---- Peach variant ---- */
.theme-text-image--bg-peach,
.theme-text-image--bg-peach .text-image__corner {
  background: var(--peach, #F8D5C0);
}

/* ---- Green-light variant ---- */
.theme-text-image--bg-green,
.theme-text-image--bg-green .text-image__corner {
  background: #CDE7CA;
}


.text-image__grid{
	display:grid;
	grid-template-columns: 1fr 1fr;
	gap: 0;
	align-items:stretch;
}

.text-image__content{
	padding: 120px 60px 120px 0;
	display: flex;
	flex-direction: column;
	align-items: start;
	justify-content: center;
}

.text-image__title{
	margin-bottom: 20px;
	font-size: 72px
}

.text-image__sub{
	color: var(--brand);
	font-size: 32px;
	line-height: 150%;
	margin-bottom: 30px;
}

.text-image__content .btn-layout{
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .5px;
	padding: 14px 32px;
}

.text-image__media{
	position: absolute;
	right: 0;
	top: 0;
	bottom: 0;
	width: 50%;
	column-height: relative;
	overflow:hidden;
}

.text-image__media img{
	width:100%;
	height:100%;
	object-fit:cover;
}
@media (max-width: 1400px) {
	.text-image__title{
		font-size: 62px
	}
	.text-image__sub {
		font-size: 32px
	}
}
@media (max-width: 1200px) {
	.text-image__title{
		font-size: 42px
	}
	.text-image__sub {
		font-size: 26px
	}
}
@media (max-width: 991px){
	.text-image__content{ padding: 60px 0; }
	.text-image__sub{ font-size: 22px; }
}
@media (max-width: 768px){
	.text-image__title{
		font-size: 36px
	}
	.text-image__content { align-items: center; }
	.theme-text-image {padding-bottom: 65vw;text-align: center;}
	.text-image__corner { display: none }
	.text-image__media {
		top: unset;
		left: 0;
		width: auto;
		height: 65vw;
	}
	.text-image__grid{ grid-template-columns:1fr; gap: 0; }
}
@media (max-width: 520px){
	.text-image__content{ padding: 40px 0; }
	.text-image__sub{ font-size: 18px; }
}
