/*
Theme Name: IBC Child
Theme URI: https://example.com/ibc-child
Author: IBC
Description: Child theme for IBC. Add site-specific styles and template overrides here.
Template: ibc
Version: 1.0.1
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: ibc-child
*/

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { max-width: 100%; overflow-x: clip; }
body { color: #222; font-family: Roboto, sans-serif; font-size: 16px; font-style: normal; font-weight: 400; line-height: 25.6px; }
.container { max-width: 1356px; margin: 0 auto; padding-left: 30px; padding-right: 30px; }
@media (max-width: 767px) {
	.container { padding-left: 12px; padding-right: 12px; }
}
h1, h2, h3, h4, h5, h6 { margin-top: 0; }
a { color: inherit; }
ol, ul { margin-top: 0; }
img { max-width: 100%; }
select { appearance: none; background: #fff url("assets/img/form-arrow.svg") no-repeat right 10px center; }
input, select { border-radius: 4px; border: 1px solid #e5e5e5; background-color: #fff; width: 100%; padding: 10px; color: #222222; font-size: 16px; font-style: normal; font-weight: 500; line-height: 25.6px; }
.cta {
	display: flex;
	padding: 15px 22px;
	justify-content: center;
	align-items: center;
	color: #fff;
	text-align: center;
	font-family: Roboto, sans-serif;
	font-size: 16px;
	font-style: normal;
	font-weight: 600;
	line-height: 140%;
	border-radius: 4px;
	border-color: transparent;
	cursor: pointer;
	width: max-content;
	gap: 8px;
	text-decoration: none;
	box-sizing: border-box;
}
.cta:focus-visible {
	outline: 2px solid #00824b;
	outline-offset: 2px;
}
.ibc-network-arrow:focus-visible {
	outline: 2px solid #00824b;
	outline-offset: 2px;
}
.cta svg { transition: transform 0.3s ease; }
.button-group { display: flex; align-items: center; gap: 12px; }
.primary-cta { background-color: #00824b; border: 1px solid #00824b; color: #fff; }
.primary-cta:hover,
.primary-cta:focus { background: linear-gradient(0deg, rgba(0, 0, 0, .3), rgba(0, 0, 0, .3)), #00824b; border: 1px solid #00824b; color: #fff; }
.primary-cta-outline { background-color: transparent; border: 1px solid #e5e5e5; color: #00824b; }
.primary-cta-outline:hover,
.primary-cta-outline:focus {
	background: linear-gradient(0deg, rgba(255, 255, 255, .85), rgba(255, 255, 255, .85)) #00824b;
	border: 1px solid #00824b;
	color: #00824b;
}
.primary-cta-outline:hover svg,
.primary-cta-outline:hover svg path,
.primary-cta-outline:focus svg,
.primary-cta-outline:focus svg path { fill: #00824b; }
.secondary-cta { background-color: #11435c; border: 1px solid #11435c; color: #fff; }
.secondary-cta:hover,
.secondary-cta:focus { background: linear-gradient(0deg, rgba(0, 0, 0, .3), rgba(0, 0, 0, .3)), #11435c; border: 1px solid #11435c; color: #fff; }
@media (max-width: 991px) {
	.cta { padding: 11px 16px; }
	.student-team-item .student-team-content .cta { padding: 6px 16px; }
}
@media (max-width: 767px) {
	.cta { width: 100%; }
}
.w-full { width: 100% !important; }
.validation-error { color: #ff4751; font-size: 12px; font-style: normal; font-weight: 600; line-height: 16.8px; display: none; align-items: center; gap: 2px; margin-top: 4px; }
.validation-error svg,
.validation-error svg path { fill: #ff4751; }
.form-field.error .validation-error,
[data-field].error .validation-error { display: flex; }
input.error, select.error { border: 1px solid #ff4751; }
.form-field.error input:not([type="checkbox"]):not([type="hidden"]),
.form-field.error select,
.form-field.is-invalid input:not([type="checkbox"]):not([type="hidden"]),
.form-field.is-invalid select { border-color: #ff4751; }
::-webkit-input-placeholder { color: #222222; }
::-moz-placeholder { color: #222222; }
:-ms-input-placeholder { color: #222222; }
::-ms-input-placeholder { color: #222222; }
h1 { color: #222; font-family: Roboto, sans-serif; font-size: 42px; font-style: normal; font-weight: 500; line-height: 50.4px; letter-spacing: normal; }
h2 { color: #222; font-size: 32px; line-height: 40px; font-weight: 500; letter-spacing: normal; margin-bottom: 30px; text-align: center; }
p { color: #222; margin-top: 0; margin-bottom: 20px; }
p:last-child { margin-bottom: 0; }
.custom-section { padding: 60px 0; overflow: hidden; }
.custom-devider { background-color: #e5e5e5; height: 1px; width: 100%; }
@media (max-width: 991px) {
	.custom-section { padding: 30px 0; }
}
@media (max-width: 991px) {
	h1 { font-size: 30px; line-height: 37.5px; letter-spacing: normal; }
	h2 { font-size: 26px; line-height: 32.5px; letter-spacing: normal; }
	h3 { font-size: 16px; line-height: 22.4px; }
}
@media (max-width: 767px) {
	body { font-size: 14px; line-height: 22.4px; }
	.custom-devider { width: calc(100% - 80px); margin: 0 auto; }
	input, select { font-size: 14px; line-height: 22.4px; }
	.enquiry-form__phone-code,
	.enquiry-form__phone input[type="tel"] { font-size: 14px; line-height: normal; }
}

html {
	scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

#lead-form {
	scroll-margin-top: 24px;
	border-top: 4px solid #00BE6D;
	border-bottom: 4px solid #00BE6D;
}

body.admin-bar #lead-form {
	scroll-margin-top: 56px;
}

/* Header */
header { padding: 10px 0; border-bottom: 1px solid #e5e5e5; background: #fff; }
.header-section { position: relative; }
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.logo { padding: 5px 0; line-height: 0; }
.logo a {
	display: block;
	line-height: 0;
	font-size: 0;
	text-decoration: none;
}
.logo img {
	display: block;
	width: auto;
	height: 40px;
	max-width: none;
}
.header-section.header-sticky {
	position: fixed;
	width: 100%;
	left: 0;
	right: 0;
	top: 0;
	z-index: 9;
	background-color: #fff;
}
body.admin-bar .header-section.header-sticky { top: 32px; }
@media (max-width: 782px) {
	body.admin-bar .header-section.header-sticky { top: 46px; }
}

/* Nav Links */
.hamburger {
	appearance: none;
	-webkit-appearance: none;
	background: transparent;
	border: 0;
	padding: 0;
	margin: 0;
	line-height: 0;
	font-size: 0;
	color: inherit;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}
.hamburger svg { display: block; vertical-align: top; }
.nav-links { display: block; }
.nav-links ul { display: flex; gap: 16px; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav-links li a {
	color: #222;
	text-align: right;
	font-size: 14px;
	font-style: normal;
	font-weight: 600;
	line-height: 140%;
	text-decoration: none;
	display: block;
}
.nav-links li a:hover,
.nav-links li a:focus { color: #00824b; }
.nav-links li:last-child a {
	background-color: #00824b;
	border: 1px solid #00824b;
	color: #fff;
	padding: 11px 16px;
	border-radius: 4px;
}
.nav-links li:last-child a:hover,
.nav-links li:last-child a:focus {
	background: linear-gradient(0deg, rgba(0, 0, 0, .3), rgba(0, 0, 0, .3)), #00824b;
	border: 1px solid #00824b;
	color: #fff;
}
.nav-links li:last-child a:focus-visible {
	outline: 2px solid #00824b;
	outline-offset: 2px;
}

@media (min-width: 992px) {
	.hamburger { display: none; }
}
@media (max-width: 991px) {
	.hamburger { cursor: pointer; }
	.hamburger.open svg,
	.hamburger.open svg path { fill: #00824b; }
	.nav-links {
		display: none;
		transition: left .2s ease-in-out, right .2s ease-in-out;
	}
	.nav-links.open {
		display: block;
		width: 100%;
		position: absolute;
		left: 0;
		right: 0;
		top: 71px;
		background: #f8f8fa;
		z-index: 99;
		padding: 20px 30px;
	}
	.nav-links ul { flex-direction: column; align-items: start; }
	.nav-links li:last-child a { width: 100%; text-align: center; box-sizing: border-box; }
}
@media (max-width: 767px) {
	.nav-links.open { padding: 20px 12px; }
}

/* Footer */
footer {
	padding: 30px 0;
	background-color: #222;
	color: #fff;
	text-align: center;
	font-size: 12px;
	font-style: normal;
	font-weight: 400;
	line-height: 140%;
}
.footer-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 30px;
}
.footer-logo { padding: 0; line-height: 0; }
.footer-logo img { display: block; width: auto; height: 70px; vertical-align: top; }
.copyright {
	color: #fff;
	font-size: 12px;
	font-style: normal;
	font-weight: 400;
	line-height: 140%;
}
@media (max-width: 991px) {
	.footer-inner {
		flex-direction: column;
	}
	.footer-logo img { width: auto; height: 50px; }
}

/* Hero */
.hero-inner { position: relative; align-items: center; display: flex; gap: 24px; }
.hero-content { width: 50%; }
.hero-inner--content-only .hero-content { width: 100%; }
.hero-media { width: 50%; }
.hero-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-content h1 { margin-bottom: 12px; }
.hero-content .button-group { margin-top: 0; }
@media (min-width: 992px) {
	.hero-section { padding-top: 40px !important; }
}
@media (max-width: 991px) {
	.button-group { flex-direction: column; }
	.button-group .cta { width: 100%; }
}
@media (max-width: 767px) {
	.hero-inner { flex-direction: column; }
	.hero-content { width: 100%; order: 2; }
	.hero-media { width: 100%; order: 1; display: none;}
}

/* Lead form */
.bg-blue { background: #0a2837; }
.lead-from-section { background: #0a2837; }
.lead-from-section .heading-section * { color: #fff; }
.lead-from-section .heading-section a { color: #8fd4b0; }
.lead-from-section-inner { display: flex; align-items: center; gap: 45px; }
.lead-from-section-inner .register-form {
	max-width: 636px;
	margin: 0 auto;
	background-color: transparent;
	padding: 0;
}
.register-form {
	word-break: break-word;
	width: 100%;
	display: flex;
	flex-direction: column;
	row-gap: 30px;
}
.consent {
	color: #fff;
	font-size: 12px;
	line-height: 16.8px;
	text-align: left;
}
.consent-copy {
	flex: 1 1 auto;
	min-width: 0;
}
.consent-copy p { font-size: 12px; line-height: 16.8px; color: #fff; margin: 0; }
.consent-copy a { color: #fff; text-decoration: underline; }
.consent-copy a:hover { text-decoration: none; }
.consent-body { display: flex; align-items: flex-start; gap: 7px; }
.consent-checkbox-option {
	cursor: pointer;
	display: flex;
	flex: 0 0 auto;
	align-items: flex-start;
	position: relative;
	/* Keep checkbox locked to the first text line; do not use baseline (shifts when checked). */
	margin-top: 0;
	top: 0;
	line-height: 0;
}
.consent.error .consent-checkbox-option .custom-checkbox { border-color: #ff4751; }
.consent-checkbox-option input,
.location-option input { position: absolute; opacity: 0; pointer-events: none; }
.consent-checkbox-option input:checked + .custom-checkbox {
	background: #008c5a;
	border-color: #008c5a;
}
.consent-checkbox-option input:checked + .custom-checkbox::after {
	content: "";
	display: block;
	width: 5px;
	height: 10px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
	margin: 0;
	box-sizing: border-box;
	flex: 0 0 auto;
}
.lead-cta { margin: 0 auto; }
.lead-cta .submit-btn { margin: 0; min-width: 140px; }
.submit-btn:disabled { cursor: not-allowed; opacity: 0.65; }
.form-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; align-items: flex-start; }
.form-field { width: calc(50% - 5px); position: relative; min-width: 0; }
.form-field.full-field { width: 100%; }
.form-field input,
.form-field select {
	display: flex;
	width: 100%;
	height: 46px;
	padding: 10px;
	align-items: center;
	outline: 0;
	color: #222;
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: 25.6px;
	border: 1px solid #e5e5e5;
	background: #fff;
	font-family: Roboto, sans-serif;
	border-radius: 4px;
}
.field-label { font-weight: 500; color: #222; }

/* Floating labels */
.floating-field { position: relative; width: 100%; }
.floating-label {
	position: absolute;
	left: 10px;
	top: 50%;
	transform: translateY(-50%);
	pointer-events: none;
	opacity: 0;
	transition: top .2s ease, transform .2s ease, font-size .2s ease, font-weight .2s ease, color .2s ease, opacity .2s ease;
	color: #222;
	font-size: 16px;
	font-style: normal;
	font-weight: 500;
	line-height: 24px;
	margin: 0;
	max-width: calc(100% - 36px);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.register-form .floating-field input::placeholder,
.register-form .floating-field input::-webkit-input-placeholder {
	color: #8a8a8a;
	opacity: 1;
	font-weight: 400;
	font-size: 16px;
	line-height: 25.6px;
}
.register-form .floating-field input::-moz-placeholder {
	color: #8a8a8a;
	opacity: 1;
	font-weight: 400;
	font-size: 16px;
	line-height: 25.6px;
}
.register-form .floating-field input:-webkit-autofill { animation-name: onAutoFillStart; }
.register-form .floating-field:focus-within .floating-label,
.register-form .floating-field.is-filled .floating-label,
.register-form .floating-field:has(input:not(:placeholder-shown)) .floating-label,
.register-form .floating-field:has(input:-webkit-autofill) .floating-label {
	top: 12px;
	transform: translateY(-50%);
	opacity: 1;
	color: #747474;
	font-size: 10px;
	font-style: normal;
	font-weight: 400;
	line-height: 14px;
}
.register-form .floating-field:focus-within input,
.register-form .floating-field.is-filled input,
.register-form .floating-field:has(input:not(:placeholder-shown)) input,
.register-form .floating-field:has(input:-webkit-autofill) input {
	padding-top: 20px;
	padding-bottom: 4px;
	color: #000;
	font-size: 16px;
	font-weight: 500;
	line-height: 24px;
}
.register-form .floating-field input:not([type="checkbox"]):focus::placeholder { opacity: 0; }

@media (max-width: 991px) {
	.lead-from-section-inner { flex-direction: column; gap: 35px; }
	.form-field { width: 100%; }
	.form-field input,
	.form-field select,
	.lead-form .floating-label,
	.register-form .floating-label,
	.register-form .floating-field:focus-within input,
	.register-form .floating-field.is-filled input,
	.register-form .floating-field:has(input:not(:placeholder-shown)) input,
	.register-form .floating-field:has(input:-webkit-autofill) input,
	.enquiry-form__phone input[type="tel"],
	.enquiry-form__phone-code,
	.enquiry-form__phone-country-toggle {
		font-size: 14px;
		line-height: 22.4px;
	}
	.form-field input::placeholder,
	.form-field input::-webkit-input-placeholder,
	.register-form .floating-field input::placeholder,
	.register-form .floating-field input::-webkit-input-placeholder,
	.enquiry-form__phone input[type="tel"]::placeholder,
	.enquiry-form__phone input[type="tel"]::-webkit-input-placeholder {
		font-size: 14px;
		line-height: 22.4px;
	}
	.form-field input::-moz-placeholder,
	.register-form .floating-field input::-moz-placeholder,
	.enquiry-form__phone input[type="tel"]::-moz-placeholder {
		font-size: 14px;
		line-height: 22.4px;
	}
	.enquiry-form__phone-code,
	.enquiry-form__phone input[type="tel"] {
		line-height: normal;
	}
	/* Floated mini-label stays small */
	.register-form .floating-field:focus-within .floating-label,
	.register-form .floating-field.is-filled .floating-label,
	.register-form .floating-field:has(input:not(:placeholder-shown)) .floating-label,
	.register-form .floating-field:has(input:-webkit-autofill) .floating-label {
		font-size: 10px;
		line-height: 14px;
	}
}
@media (max-width: 767px) {
	.register-form .form-field input:not([type="checkbox"]),
	.register-form .form-field select { height: 52px; }
	.enquiry-form__phone { height: 52px; }
	.lead-cta { margin: 0; }
	.lead-cta .submit-btn { width: 100%; }
}

/* University of interest */
.university-of-interest {
	border-radius: 4px;
	border: 1px solid #e5e5e5;
	background: #fff;
	padding: 10px;
}
.university-of-interest-info {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	flex-wrap: nowrap;
}
.university-of-interest-selected {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	flex: 1 1 auto;
	gap: 10px;
	min-width: 0;
}
.university-of-interest .field-label { font-weight: 500; }
.select-all-uni { flex: 0 0 auto; min-width: max-content; }
.selected-uni-count {
	border-radius: 4px;
	background: rgba(0, 130, 75, .1);
	padding: 4px 10px;
	color: #00824b;
	font-size: 14px;
	font-style: normal;
	font-weight: 400;
	line-height: 140%;
	white-space: nowrap;
}
.select-all-uni button {
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
	font-family: inherit;
	font-size: 14px;
	line-height: 19.6px;
	color: #00824b;
	font-weight: 500;
	text-decoration: underline;
}
.select-all-uni button:hover { text-decoration: none; }
.location-filter {
	display: flex;
	flex-wrap: wrap;
	border-radius: 4px;
	background: #f8f8fa;
	padding: 10px 20px;
	margin-top: 12px;
	row-gap: 10px;
}
.location-column { display: flex; flex-wrap: wrap; width: 25%; align-content: flex-start; }
.location-title {
	color: #222;
	font-size: 14px;
	font-weight: 500;
	line-height: 19.6px;
	width: 100%;
	margin-bottom: 5px;
	text-transform: capitalize;
}
.location-option {
	display: flex;
	align-items: center;
	padding: 8px 8px 8px 0;
	cursor: pointer;
	gap: 0 8px;
	min-width: 25%;
	color: #222;
	font-size: 14px;
	font-weight: 500;
	line-height: 19.6px;
}
.custom-checkbox {
	width: 20px;
	height: 20px;
	min-width: 20px;
	min-height: 20px;
	border: 2px solid #747474;
	border-radius: 2px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	flex: 0 0 20px;
	vertical-align: top;
	overflow: hidden;
	line-height: 0;
}
.location-option input:checked + .custom-checkbox {
	background: #008c5a;
	border-color: #008c5a;
}
.location-option input:checked + .custom-checkbox::after {
	content: "";
	display: block;
	width: 5px;
	height: 10px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
	margin: 0;
	box-sizing: border-box;
	flex: 0 0 auto;
}
.location-option.error .custom-checkbox { border: 2px solid #ff4751; }
@media (max-width: 767px) {
	/* Label + Select all on one row; count badge under the label (Figma mobile) */
	.university-of-interest-info {
		flex-direction: row;
		align-items: flex-start;
		gap: 8px;
	}
	.university-of-interest-selected {
		flex-direction: column;
		align-items: flex-start;
		justify-content: flex-start;
		gap: 8px;
	}
	.location-filter { padding: 10px; column-gap: 0; }
	.location-column { width: 50%; }
	.location-column.w-full { width: 100%; }
	/* Single-city columns: option uses full column width so names like Victoria don't break */
	.location-option {
		min-width: 100%;
		width: 100%;
		box-sizing: border-box;
		word-break: normal;
		overflow-wrap: normal;
		hyphens: none;
	}
	/* Multi-uni (full-width) cities: 2-column checkbox grid */
	.location-column.w-full .location-option {
		min-width: 50%;
		width: 50%;
	}
	.location-title {
		text-transform: uppercase;
	}
}

/* Headings */
.heading-section { margin-bottom: 30px; }
.heading-section h2 { margin-bottom: 20px; }
.heading-section p { margin-bottom: 0; color: #222; }
.custom-content p { color: #222; }
.custom-content.custom-content-icon ul li { color: #222; }
.tac { text-align: center; }
@media (max-width: 991px) {
	.heading-section { margin-bottom: 30px; }
}

/* IBC Network */
.ibc-network-inner { display: flex; flex-direction: column; align-items: center; gap: 30px; }
.ibc-network .heading-section { margin-bottom: 0; width: 100%; }
.ibc-network-slider { display: flex; align-items: center; justify-content: center; gap: 24px; width: 100%; }
.ibc-network-arrow {
	flex: 0 0 40px;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	line-height: 0;
}
.ibc-network-arrow:disabled { cursor: default; }
.ibc-network-arrow svg { display: block; }
.ibc-network-prev:not(:disabled) path { fill: #222; }
.ibc-network-next:disabled path { fill: #b1bac2; }
.ibc-network-viewport { overflow: hidden; flex: 1 1 auto; min-width: 0; cursor: grab; }
.ibc-network-viewport.is-dragging { cursor: grabbing; }
.ibc-network-track { display: flex; align-items: center; gap: 24px; transition: transform .4s ease; }
.ibc-network-slide {
	position: relative;
	flex: 0 0 174.42px;
	width: 174.42px;
	height: 57px;
	overflow: hidden;
}
.ibc-network-logo-link {
	display: block;
	width: 100%;
	height: 100%;
	line-height: 0;
}
.ibc-network-slide img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: contain;
}
.ibc-network-inner .cta { width: max-content; }
@media (max-width: 991px) {
	.ibc-network.custom-section { overflow: visible; }
	.ibc-network-arrow { display: none; }
	.ibc-network-slider { display: block; }
	.ibc-network-viewport { width: 100%; }
	.ibc-network-slide { flex: 0 0 114.75px; flex-basis: 114.75px; width: 114.75px; height: 37.5px; }
}
@media (max-width: 767px) {
	.ibc-network-slider { width: calc(100% + 24px); margin-left: -12px; margin-right: -12px; }
	.ibc-network-inner .cta { width: max-content; }
}

/* Content with media */
.bg-grey { background: #f8f8fa; }
.custom-content-with-media { display: flex; gap: 24px; }
.custom-media { width: 50%; }
.custom-media img { display: block; width: 100%; height: auto; }
.custom-content { width: 50%; display: flex; flex-flow: column; justify-content: center; }
.custom-content h2 { text-align: left; margin-bottom: 30px; }
.custom-content strong { font-weight: 500; font-size: 18px; line-height: 25.2px; }
.custom-content .cta { margin-top: 30px; }
.custom-content-to-media .custom-content { order: 1; }
.custom-content-to-media .custom-media { order: 2; }
.custom-content-with-media--content-only .custom-content { width: 100%; }
.custom-content.custom-content-icon ul,
.custom-content.custom-content-icon ol { padding: 0; list-style: none; display: flex; flex-direction: column; row-gap: 20px; margin: 0; }
.custom-content.custom-content-icon ul li { padding-left: 32px; position: relative; }
.custom-content.custom-content-icon ul li svg { position: absolute; left: 0; top: 4px; width: 20px; height: 20px; }
.custom-content.custom-content-icon ul li p { margin: 0; }
.custom-content.custom-content-icon ul li strong { display: inline; }
.custom-content.custom-content-icon ul li strong + p { display: inline; }
.custom-content.custom-content-icon ul li strong + p::before { content: '\A'; white-space: pre; }
@media (max-width: 991px) {
	.custom-content-with-media { flex-wrap: wrap; }
	.custom-media { width: 100%; order: 1; }
	.custom-content { width: 100%; order: 2; }
	.custom-content strong { font-size: 16px; line-height: 22.4px; }
	.custom-content-to-media .custom-content { order: 2; }
	.custom-content-to-media .custom-media { order: 1; }
}

/* Team */
.team-section.custom-section { overflow: visible; }
.team-section .container { max-width: 914px; }
.team-section .slider {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
	max-width: 1000px;
	margin: 0 auto;
}
.team-section .slider-item {
	width: 100%;
	min-width: 0;
	border-radius: 8px;
	border: 1px solid #e5e5e5;
	overflow: hidden;
	background: #fff;
	display: flex;
	flex-direction: column;
}
.team-section .student-team-item {
	color: inherit;
	text-decoration: none;
	display: flex;
	flex-direction: column;
	height: 100%;
	flex: 1 1 auto;
	min-width: 0;
}
.team-section .slider-wrap { position: relative; max-width: 1000px; margin: 0 auto; }
.student-team-media { position: relative; width: 100%; line-height: 0; background: #f4f6f7; }
.student-team-media img { display: block; width: 100%; height: auto; }
.student-team-badge {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 1;
	display: inline-block;
	max-width: calc(100% - 20px);
	padding: 4px 10px;
	border-radius: 999px;
	background: #00824b;
	color: #fff;
	font-size: 12px;
	font-weight: 500;
	line-height: 16px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.student-team-media--empty {
	display: flex;
	justify-content: flex-end;
	padding: 10px;
	line-height: normal;
}
.student-team-media--empty .student-team-badge { position: static; }
.student-team-item .student-team-content {
	padding: 12px 12px 20px;
	display: flex;
	flex-direction: column;
	row-gap: 10px;
	flex: 1 1 auto;
}
.student-team-item .student-team-content * { margin: 0; }
.teams-name { color: #222; font-size: 18px; font-weight: 600; line-height: 25.2px; }
.teams-name h3 {
	color: inherit;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
	text-align: left;
	margin: 0;
	display: flex;
	gap: 10px;
	justify-content: space-between;
	width: 100%;
	align-items: start;
}
.teams-name svg { min-width: 20px; position: relative; top: 3px; flex: 0 0 20px; }
.teams-name a {
	display: inline-flex;
	line-height: 0;
	text-decoration: none;
	color: inherit;
}
.teams-designation { color: #000; font-size: 16px; font-weight: 600; line-height: 22.4px; }
.teams-email {
	font-size: 14px;
	line-height: 22.4px;
	color: #00824b;
	text-decoration: underline;
	display: flex;
	gap: 10px;
	align-items: center;
	word-break: break-word;
}
.teams-email a {
	color: inherit;
	text-decoration: underline;
}
.teams-email svg { flex: 0 0 12px; }
.student-team-item .student-team-content .cta {
	display: flex;
	padding: 6px 16px;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	margin-top: auto;
}
@media (max-width: 991px) {
	.team-section .teams-name,
	.team-section .teams-name h3 {
		font-size: 16px;
		line-height: 22.4px;
	}
	.team-section .teams-designation {
		font-size: 14px;
		line-height: 19.6px;
	}
}
@media (max-width: 767px) {
	.student-team-item .student-team-content .cta {
		font-size: 14px;
	}
}
@media (max-width: 767px) {
	.team-section .slider {
		display: flex;
		grid-template-columns: none;
		overflow-x: auto;
		gap: 28px;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		cursor: grab;
		user-select: none;
	}
	.team-section .slider.dragging { cursor: grabbing; scroll-snap-type: none; }
	.team-section .slider::-webkit-scrollbar { display: none; }
	.team-section .slider-item { flex: 0 0 78%; width: 78%; scroll-snap-align: start; }
}

/* Modal */
.custom-modal { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; visibility: hidden; opacity: 0; transition: opacity .3s ease; }
.custom-modal.active { visibility: visible; opacity: 1; }
.modal-overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.72); }
.modal-content {
	position: relative;
	z-index: 2;
	width: calc(100% - 24px);
	max-width: 516px;
	background: #fff;
	padding: 20px;
	border-radius: 8px;
	animation: modalFade .3s ease;
	max-height: calc(100vh - 24px);
	overflow-y: auto;
	justify-content: center;
	display: flex;
	flex-direction: column;
	row-gap: 10px;
	text-align: center;
}
.thankyou-title { text-align: center; font-size: 22px; font-weight: 600; line-height: 28.6px; letter-spacing: normal; }
.thankyou-modal .modal-content * { margin: 0; }
.thankyou-modal .modal-content { row-gap: 10px; }
.thankyou-modal .modal-close { margin-top: 14px; }
.thankyou-description p { margin: 0; }
@keyframes onAutoFillStart {
	from { opacity: 1; }
	to { opacity: 1; }
}
@keyframes modalFade {
	from { opacity: 0; transform: translateY(20px); }
	to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 767px) {
	.modal-content { row-gap: 24px; }
	.thankyou-modal .modal-close { margin-top: 0; }
	.thankyou-title { font-size: 18px; line-height: 23.4px; letter-spacing: normal; }
}

/* Enquiry lead form popup (Our Network) — match homepage lead-from-section (dark panel) */
.enquiry-lead-modal.custom-modal {
	align-items: flex-start;
	padding: 12px 0;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}
.custom-modal.enquiry-lead-modal .modal-content.enquiry-lead-modal__content {
	max-width: 720px;
	width: calc(100% - 24px);
	margin: auto;
	background: #0a2837;
	color: #fff;
	text-align: left;
	padding: 32px 24px 28px;
	row-gap: 24px;
	align-items: stretch;
	justify-content: flex-start;
	border-radius: 0;
	border-top: 4px solid #00be6d;
	border-bottom: 4px solid #00be6d;
	box-sizing: border-box;
}
.enquiry-lead-modal__close {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 0;
	background: transparent;
	color: #fff;
	cursor: pointer;
	padding: 8px;
	line-height: 0;
	border-radius: 4px;
}
.enquiry-lead-modal__close:focus-visible {
	outline: 2px solid #8fd4b0;
	outline-offset: 2px;
}
.enquiry-lead-modal .heading-section {
	margin-bottom: 24px;
}
.enquiry-lead-modal .heading-section * {
	color: #fff;
}
.enquiry-lead-modal .heading-section a {
	color: #8fd4b0;
}
.enquiry-lead-modal .heading-section p {
	color: #fff;
}
.enquiry-lead-modal__heading {
	padding-right: 40px;
}
.enquiry-lead-modal__form-wrap {
	width: 100%;
}
.enquiry-lead-modal .lead-from-section-inner {
	width: 100%;
	align-items: stretch;
	gap: 0;
}
.enquiry-lead-modal .lead-from-section-inner .register-form {
	max-width: none;
	width: 100%;
	margin: 0;
}
.enquiry-lead-modal .consent,
.enquiry-lead-modal .consent-copy p,
.enquiry-lead-modal .consent-copy a {
	color: #fff;
}
.enquiry-lead-modal .enquiry-form__status {
	color: #fff;
}
.enquiry-lead-modal .enquiry-form__status.is-error {
	color: #ffb4b8;
}
.enquiry-lead-modal .lead-cta {
	width: 100%;
	display: flex;
	justify-content: center;
}
.enquiry-lead-modal .enquiry-form__country-dropdown {
	z-index: 10001;
}
@media (max-width: 767px) {
	.custom-modal.enquiry-lead-modal .modal-content.enquiry-lead-modal__content {
		padding: 28px 16px 24px;
		max-height: calc(100dvh - 24px);
	}
}

/* Form extras */
.lead-form [hidden] {
	display: none !important;
}

.enquiry-form__phone {
	align-items: center;
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 4px;
	box-sizing: border-box;
	display: flex;
	gap: 6px;
	height: 46px;
	min-width: 0;
	overflow: hidden;
	padding: 0 10px;
	width: 100%;
}

.form-field.error .enquiry-form__phone {
	border-color: #ff4751;
}

.form-field[data-field="phone"] {
	min-width: 0;
	position: relative;
	z-index: 5;
}

.form-row:has([data-field="phone"]) {
	position: relative;
	z-index: 5;
}

.enquiry-form__phone-country {
	align-items: center;
	align-self: stretch;
	display: flex;
	flex: 0 0 auto;
	position: relative;
}

.enquiry-form__phone-country-toggle {
	align-items: center;
	align-self: stretch;
	-webkit-appearance: none;
	appearance: none;
	background: none;
	border: 0;
	color: inherit;
	cursor: pointer;
	display: flex;
	font: inherit;
	gap: 2px;
	margin: 0;
	min-width: 0;
	padding: 0;
	touch-action: manipulation;
}

.enquiry-form__phone-country-toggle:focus-visible {
	outline: 2px solid #00824b;
	outline-offset: 2px;
}

.enquiry-form__phone-country-arrow {
	background: url("assets/img/form-arrow.svg") no-repeat center;
	background-size: 16px 16px;
	display: block;
	flex: 0 0 16px;
	height: 16px;
	transition: transform .2s ease;
	width: 16px;
}

.enquiry-form__phone-country.is-open .enquiry-form__phone-country-arrow {
	transform: rotate(180deg);
}

.enquiry-form__phone-flag {
	display: block;
	flex: 0 0 28px;
	height: 21px;
	object-fit: cover;
	width: 28px;
}

.enquiry-form__country-dropdown {
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 4px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
	display: flex;
	flex-direction: column;
	max-width: calc(100vw - 16px);
	overflow: hidden;
	position: fixed;
	z-index: 2000;
}

.enquiry-form__country-search {
	background-image: none;
	border: 0;
	border-bottom: 1px solid #e5e5e5;
	border-radius: 4px 4px 0 0;
	flex: 0 0 auto;
	font-size: 16px;
	height: 44px;
	line-height: 24px;
	padding: 8px 12px;
	width: 100%;
}

.lead-form .enquiry-form__country-search {
	font-size: 16px;
	height: 44px;
}

.enquiry-form__country-search:focus {
	outline: none;
}

.enquiry-form__country-list {
	-webkit-overflow-scrolling: touch;
	flex: 1 1 auto;
	list-style: none;
	margin: 0;
	max-height: 240px;
	min-height: 0;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 4px 0;
}

.enquiry-form__country-list li {
	align-items: center;
	cursor: pointer;
	display: flex;
	gap: 8px;
	min-height: 44px;
	padding: 8px 12px;
	touch-action: manipulation;
}

.enquiry-form__country-list li img {
	display: block;
	flex: 0 0 24px;
	height: 18px;
	object-fit: cover;
	width: 24px;
}

.enquiry-form__country-name {
	color: #222;
	flex: 1 1 auto;
	font-size: 14px;
	font-weight: 500;
	line-height: 19.6px;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.enquiry-form__country-dial {
	color: #747474;
	flex: 0 0 auto;
	font-size: 12px;
	line-height: 16.8px;
}

.enquiry-form__country-list li.is-active {
	background: #f5f5f5;
}

@media (hover: hover) {
	.enquiry-form__country-list li:hover {
		background: #f5f5f5;
	}
}

.enquiry-form__country-list li[aria-selected="true"] {
	background: #eef8f3;
}

.enquiry-form__country-empty {
	color: #747474;
	font-size: 14px;
	line-height: 19.6px;
	margin: 0;
	padding: 12px 10px;
}

.enquiry-form__phone-divider {
	align-self: center;
	background: #e5e5e5;
	flex: 0 0 1px;
	height: 24px;
	width: 1px;
}

.enquiry-form__phone-code {
	align-items: center;
	align-self: stretch;
	color: #222222;
	display: flex;
	flex: 0 0 auto;
	font-family: Roboto, sans-serif;
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.2;
	white-space: nowrap;
}

.enquiry-form__phone .floating-field--phone {
	align-items: center;
	align-self: stretch;
	display: flex;
	flex: 1 1 0;
	min-width: 0;
	position: relative;
	width: auto;
}

.enquiry-form__phone .floating-field--phone .floating-label {
	left: 0;
}

.enquiry-form__phone input[type="tel"] {
	background-image: none;
	border: 0;
	border-radius: 0;
	box-sizing: border-box;
	display: block;
	flex: 1 1 auto;
	font-family: Roboto, sans-serif;
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	height: 100%;
	letter-spacing: 0;
	line-height: normal;
	min-width: 0;
	padding: 0;
	width: 100%;
}

.enquiry-form__phone input[type="tel"]:focus,
.enquiry-form__phone input[type="tel"].error {
	border: 0;
	outline: none;
}

.enquiry-form__phone .floating-field--phone:focus-within input[type="tel"],
.enquiry-form__phone .floating-field--phone.is-filled input[type="tel"],
.enquiry-form__phone .floating-field--phone:has(input:not(:placeholder-shown)) input[type="tel"],
.enquiry-form__phone .floating-field--phone:has(input:-webkit-autofill) input[type="tel"] {
	padding-bottom: 4px;
	padding-top: 14px;
}

.enquiry-form__status {
	color: #ff4751;
	display: none;
	font-size: 12px;
	font-weight: 600;
	line-height: 16.8px;
	margin: 0;
}

.enquiry-form__status.is-error {
	display: block;
}

body.modal-open {
	overflow: hidden;
}

/* Coming soon */
.coming-soon {
	align-items: center;
	background:
		radial-gradient(circle at 50% 115%, rgba(0, 130, 75, 0.14), transparent 40%),
		linear-gradient(145deg, #fff 0%, #fbfdfc 52%, #f4faf7 100%);
	color: #0a0a0a;
	display: flex;
	isolation: isolate;
	justify-content: center;
	min-height: 100vh;
	overflow: hidden;
	padding: 4rem 1.5rem;
	position: relative;
	text-align: center;
}
body.admin-bar .coming-soon {
	min-height: calc(100vh - 32px);
}
@media screen and (max-width: 782px) {
	body.admin-bar .coming-soon {
		min-height: calc(100vh - 46px);
	}
}
.coming-soon__content {
	max-width: 48rem;
	position: relative;
	z-index: 2;
}
.coming-soon__eyebrow {
	color: #00824b;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	margin: 0 0 1.25rem;
	text-transform: uppercase;
}
.coming-soon__title {
	font-size: clamp(3.5rem, 10vw, 7.5rem);
	font-weight: 800;
	letter-spacing: -0.055em;
	line-height: 0.95;
	margin: 0;
	text-wrap: balance;
}
.coming-soon__divider {
	background: linear-gradient(90deg, transparent, #00824b, transparent);
	height: 1px;
	margin: 2.25rem auto 1.5rem;
	max-width: 16rem;
}
.coming-soon__status {
	align-items: center;
	color: #5f6368;
	display: inline-flex;
	font-size: 0.875rem;
	gap: 0.65rem;
	margin: 0;
}
.coming-soon__status-dot {
	background: #00824b;
	border-radius: 50%;
	box-shadow: 0 0 0 0.3rem rgba(0, 130, 75, 0.12);
	height: 0.5rem;
	width: 0.5rem;
}
.coming-soon__glow {
	border: 1px solid rgba(0, 130, 75, 0.16);
	border-radius: 50%;
	position: absolute;
	z-index: 0;
}
.coming-soon__glow--one {
	height: 28rem;
	left: -12rem;
	top: -14rem;
	width: 28rem;
}
.coming-soon__glow--two {
	bottom: -18rem;
	height: 38rem;
	right: -17rem;
	width: 38rem;
}
