/* ==========================================================================
   Metamorph Pre School — About page
   Breakpoints: laptop <= 1366px, tablet <= 1024px, mobile <= 767px
   ========================================================================== */

/* ---------- Title banner ---------- */
.about-hero {
	background-color: #FCD9007D;
}

.about-hero .page-hero__title {
	color: #20323D;
}

/* ---------- Shared split layout ---------- */
.split {
	position: relative;
	overflow: hidden;
}

.split__row {
	display: flex;
	position: relative;
	max-width: 1260px;
	margin: 0 auto;
}

.split__col {
	display: flex;
	flex-direction: column;
	position: relative;
	width: 50%;
}

.split__card {
	z-index: 1;
	padding: 60px;
	border-radius: 8px;
	background-color: #FFFFFF;
}

.split__photo img {
	display: block;
	width: 100%;
	max-width: 100%;
	border-radius: 7px;
}

/* ---------- Our history ---------- */
.history {
	padding: 100px 30px 10px;
}

.history .split__row {
	align-items: center;
}

.history__media {
	justify-content: center;
}

.history__tv-top,
.history__tv-bottom {
	text-align: center;
}

.history__tv-top img,
.history__tv-bottom img {
	display: inline-block;
}

.history__video {
	margin: -1px 0;
	border: 20px solid var(--accent-3);
	border-radius: 36px;
}

.history__video-frame {
	position: relative;
	overflow: hidden;
	aspect-ratio: 1.77777;
	background: #000000;
}

.history__video-frame iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.history__content {
	justify-content: center;
	padding: 6% 5% 0 5%; /* 12% / 10% of the half-width column */
	background-color: #FFFFFF;
}

.history__title {
	letter-spacing: normal;
}

.history__content .text-block p {
	margin: 0;
}

.history__stats {
	--icon-size: 20px;
	--icon-color: var(--accent-1);
	font-family: var(--font-comic);
	font-weight: bold;
}

.history__stats .icon-list__item:not(:last-child) {
	padding-bottom: 7.5px;
}

.history__stats .icon-list__item:not(:first-child) {
	margin-top: 7.5px;
}

/* ---------- Our vision ---------- */
.vision {
	margin-top: 80px;
	padding: 130px 30px 156px;
	background-color: #1BA7DC4F;
}

.vision .section-title {
	color: var(--accent-3);
}

.vision__photo {
	margin: 0 0 0 -40px;
	text-align: center;
}

/* ---------- Our mission ---------- */
.mission {
	padding: 14px 30px 116px;
}

/* Snail at the bottom: slides sideways on scroll (background motion effect, as on the original) */
.mission__bg {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	background-image: url("../images/snail.svg");
	background-position: bottom center;
	background-repeat: no-repeat;
	background-size: auto;
}

.mission__photo {
	margin: 66px -40px 0 0;
	text-align: center;
}

.mission__card-col {
	justify-content: center;
}

.mission__text {
	font-size: inherit;
}

/* ---------- Individualized care ---------- */
.care {
	padding: 65px 30px 130px;
	background-color: #96C34DBF;
}

.care__photo {
	margin: 155px 0 -77px -40px;
	text-align: center;
}

/* ---------- Importance of play school ---------- */
.importance {
	padding: 100px 30px 10px;
}

.importance .split__row {
	align-items: center;
}

.importance__photo {
	margin: 155px 0 -77px -40px;
	text-align: center;
}

.importance__content {
	justify-content: center;
	padding: 6% 5% 0 5%; /* 12% / 10% of the half-width column */
	background-color: #FFFFFF;
}

.importance__content .text-block p {
	margin: 0;
}

/* ---------- Newsletter ---------- */
.newsletter {
	position: relative;
	overflow: hidden;
	margin: 2% 0;
	padding: 71px 30px 72px;
	background-color: #E5C6DF;
}

.newsletter .shape svg {
	height: 57px;
}

.newsletter .shape--bottom svg {
	width: calc(103% + 1.3px);
}

.newsletter__row {
	display: flex;
	align-items: center;
	position: relative;
	min-height: 175px;
	max-width: 1260px;
	margin: 0 auto;
}

.newsletter__col {
	display: flex;
	flex-direction: column;
	justify-content: center;
	width: 50%;
	padding: 0 5%; /* 10% of the half-width column */
}

.newsletter__subscribe-title {
	margin: 0 0 20px 6%;
}

.newsletter-form {
	width: 71%;
	max-width: 71%;
}

.newsletter-form__fields {
	display: flex;
	flex-wrap: wrap;
	margin: 0 -5px -10px;
}

.newsletter-form__group {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	margin: 0 0 10px;
	padding: 0 5px;
}

.newsletter-form__group--email {
	width: 70%;
}

.newsletter-form__group--submit {
	width: 30%;
	align-items: flex-end;
}

.newsletter-form__input {
	width: 100%;
	min-height: 40px;
	padding: 5px 14px;
	border: 1px solid #EDEDED;
	border-radius: 4px;
	background-color: #FFFFFF;
	color: rgba(0, 0, 0, .6);
	font-family: var(--font-body);
	font-size: 15px;
	line-height: 1.4;
	outline: none;
}

.newsletter-form__input::placeholder {
	color: rgba(0, 0, 0, .45);
}

.newsletter-form__button {
	flex-basis: 100%;
	min-height: 40px;
	padding: 0 24px;
	border: 0;
	border-radius: 4px;
	background-color: var(--accent-1);
	color: #FFFFFF;
	font-family: var(--font-button);
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	transition: all .3s;
}

.newsletter-form__button:hover,
.newsletter-form__button:focus {
	background-color: #0A303A;
	color: #FFFFFF;
}

.newsletter-form__message {
	width: 100%;
	margin: 10px 0 0;
	color: #46a748;
	font-size: 15px;
}

/* ==========================================================================
   RESPONSIVE — LAPTOP (<= 1366px)
   ========================================================================== */
@media (max-width: 1366px) {
	.vision__photo-col {
		justify-content: center;
	}

	.importance {
		padding: 12px 30px 66px 72px;
	}

	.newsletter {
		margin: 0;
		padding: 37px 30px 37px 72px;
	}

	.newsletter__row {
		min-height: 264px;
	}

	.newsletter__heading {
		font-size: 47px;
	}

	.newsletter__col--form {
		padding: 0;
	}

	.newsletter__subscribe-title {
		margin-left: 14%;
		font-size: 34px;
		text-align: start;
	}

	.newsletter-form {
		width: 412px;
		max-width: 412px;
	}
}

/* ==========================================================================
   RESPONSIVE — TABLET (<= 1024px)
   ========================================================================== */
@media (max-width: 1024px) {
	.split__row,
	.newsletter__row {
		flex-wrap: wrap;
		max-width: 1024px;
	}

	.split__col,
	.newsletter__col {
		width: 100%;
	}

	.split__card {
		padding: 20px;
	}

	.history {
		padding: 0 30px;
	}

	.history__video {
		margin: -2px 0 -1px;
	}

	.history__content {
		padding: 0;
	}

	.vision {
		margin-top: 50px;
		padding: 100px 30px 50px;
	}

	.vision__photo {
		margin: 10px 0 0;
	}

	.mission {
		padding: 50px 30px;
	}

	.mission__photo {
		margin: 0;
	}

	.mission__card-col {
		margin-top: 10px;
	}

	.care {
		padding: 50px 30px 100px;
	}

	.care__photo-col {
		margin-top: 10px;
	}

	.care__photo {
		margin: 0;
	}

	.importance {
		padding: 0 30px;
	}

	.importance__photo {
		margin: 0;
	}

	.importance__content {
		padding: 0;
	}

	.newsletter {
		padding: 0 30px;
	}

	.newsletter__col--heading {
		padding: 0;
	}
}

/* ==========================================================================
   RESPONSIVE — MOBILE (<= 767px)
   ========================================================================== */
@media (max-width: 767px) {
	.split--reverse-mobile .split__row {
		flex-direction: column-reverse;
	}

	.history {
		padding: 0 20px;
	}

	.history__media {
		margin-bottom: 40px;
	}

	.vision {
		margin-top: 50px;
		padding: 70px 20px 53px;
	}

	.vision__card-col,
	.mission__card-col,
	.care__card-col {
		margin-top: 20px;
	}

	.vision__photo {
		margin: 0;
	}

	.mission {
		padding: 50px 20px 38px;
	}

	.care {
		margin-bottom: 50px;
		padding: 50px 20px 70px;
	}

	.care__photo-col {
		margin-top: 0;
	}

	.importance {
		padding: 0 20px;
	}

	.importance__media {
		margin-bottom: 40px;
	}

	.about-hero .page-hero__text {
		font-size: 15px;
		line-height: 1.63em;
	}

	.newsletter {
		margin: 24px 0 13px;
		padding: 54px 20px 58px;
	}

	.newsletter__row {
		min-height: 403px;
	}

	.newsletter__heading {
		font-size: 34px;
	}

	.newsletter__subscribe-title {
		margin-bottom: 10px;
	}

	.newsletter-form__group--email,
	.newsletter-form__group--submit {
		width: 100%;
	}
}
