/* ============================================================================
   Why Monash Experience — page-why-monash-experience.php
   ============================================================================ */

.monash-wme {
	--wme-bg: #006ead;
	--wme-text: #f7fbff;
	font-family: "Rethink Sans", sans-serif;
	color: var(--wme-text);
	background: var(--wme-bg);
}

.monash-wme * {
	box-sizing: border-box;
	font-family: inherit;
}

/* ── Hero section ─────────────────────────────────────────────────── */

.monash-child__back-to-top {
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    border: 0;
    padding: 0;
    margin: 3rem 0 0;
    color: #ffffff;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
    cursor: pointer;
    font-family: "Rethink Sans", sans-serif;
    font-size: 15px;
    font-weight: 300;
    line-height: 1;
    transition: opacity 0.2s ease, transform 0.2s ease;    position: absolute;
    bottom: 40px;
}

.monash-child__back-to-top svg {
	display: block;
	width: 3.125rem;
	height: 3.1875rem;
}

.monash-child__back-to-top:hover {
	opacity: 0.92;
}

.monash-child__back-to-top:focus-visible {
	outline: 2px solid #006dae;
	outline-offset: 4px;
	border-radius: 0.375rem;
}
.monash-wme__hero {
	position: relative;
	min-height: var(--monash-shell-effective-height);
	padding: clamp(2.75rem, 7vw, 4.5rem) 1.5rem 5.5rem;
	background: var(--wme-bg);
	display: flex;
	align-items: center;
	justify-content: center;
}

.monash-wme__hero-inner {
	max-width: 20rem;
	text-align: center;
}

.monash-wme__icon {
	display: block;
	height: auto;
	margin: 0 auto 1.5rem;
}

.monash-wme__eyebrow {
	margin: 0 0 1rem;
	font-size: 26px;
	font-weight: 700;
	line-height: 1.08;
}

.monash-wme__line {
	display: block;
	width: min(16rem, 70vw);
	height: auto;
	margin: 0 auto 1.5rem;
}

.monash-wme__desc {
	margin: 0 auto;
	max-width: 18.5rem;
	font-size: clamp(0.95rem, 3.2vw, 1.02rem);
	line-height: 1.45;
	font-weight: 300;
}

/* ── Scroll button ────────────────────────────────────────────────── */

.monash-wme__scroll {
	position: absolute;
	left: 50%;
	bottom: 3rem;
	transform: translateX(-50%);
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	display: flex;
	flex-direction: column;
	align-items: center;
	cursor: pointer;
	opacity: 0.88;
	transition: opacity 0.2s ease;
}

.monash-wme__scroll:hover {
	opacity: 1;
}

.monash-wme__scroll-arrow {
	display: block;
	width: 35px;
	height: auto;
}

/* ── Content section ──────────────────────────────────────────────── */

.monash-wme__content {
	padding: 2rem 1.5rem 3rem;
}

.monash-wme__content-inner {
	max-width: 20rem;
	margin: 0 auto;
	color: var(--wme-text);
}

.monash-wme__content-inner p {
	font-size: 1rem;
	line-height: 1.6;
	font-weight: 300;
	margin: 0 0 1rem;
}

/* ── Video section ────────────────────────────────────────────────── */

.monash-wme__video {
	background: #000;
	min-height: 100dvh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: clamp(2.75rem, 7vw, 4.5rem) 1.5rem;
	gap: 2.5rem;
}

.monash-wme__video-quote {
	margin: 0;
	max-width: 20rem;
	text-align: center;
	font-size: clamp(1.05rem, 3.5vw, 1.25rem);
	line-height: 1.5;
	font-weight: 300;
	color: #fff;
}

.monash-wme__play {
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	transition: transform 0.2s ease;
}

.monash-wme__play:hover {
	transform: scale(1.06);
}

.monash-wme__play-icon {
	width: min(7rem, 30vw);
	height: auto;
}

/* ── Section 2 (same layout as hero) ─────────────────────────────── */

.monash-wme__section2 {
	position: relative;
	min-height: 100dvh;
	padding: clamp(2.75rem, 7vw, 4.5rem) 1.5rem 5.5rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.monash-wme__section2-inner {
	max-width: 20rem;
	text-align: center;
}

.monash-wme__section2-icon {
	display: block;
	width: min(7rem, 40vw);
	height: auto;
	margin: 0 auto 1.5rem;
}

.monash-wme__section2-title {
	margin: 0 0 1rem;
	font-size: 26px;
	font-weight: 700;
	line-height: 1.08;
	color: var(--wme-text);
}

.monash-wme__section2-line {
	display: block;
	width: min(16rem, 70vw);
	height: auto;
	margin: 0 auto 1.5rem;
}

.monash-wme__section2-desc {
	margin: 0 auto 2rem;
	max-width: 18.5rem;
	font-size: clamp(0.95rem, 3.2vw, 1.02rem);
	line-height: 1.45;
	font-weight: 300;
}

.monash-wme__btn-wrapper {
	position: relative;
	display: flex;
	align-items: center;
	justify-self: center;
	margin: 0 auto 0.75rem;
	width: 100%;
    justify-content: center;
}

.monash-wme__btn-wrapper .monash-wme__btn::before {
	content: "";
	position: absolute;
	display: block;
	width: calc(100% + 4px);
	bottom: 0px;
	border: 2px solid currentColor;
	border-radius: inherit;
	box-sizing: border-box;
	pointer-events: none;
	transition: transform var(--duration) var(--ease);
	z-index: 2;
	height: 100%;
}

.monash-wme__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 13px 40px;
	border: 2px solid;
	border-radius: 12px;
	z-index: 1;
	font-family: var(--font7);
	font-size: 16px;
	font-weight: 300;
	line-height: normal;
	text-align: center;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--white);
	position: relative;
	transition: all 0.4s;
	-webkit-tap-highlight-color: transparent;
}

.monash-wme__btn--transparent {
	border-color: var(--monash-heritage-blue);
}

.monash-wme__btn:active,
.monash-wme__btn.is-pressed {
	transform: translateY(8px);
	background: #ffffff12;
}

.monash-wme__btn-wrapper .monash-wme__btn .monash-wme__btn-line {
	position: absolute;
	display: block;
	width: calc(100% + 4px);
	border: 2px solid currentColor;
	border-radius: 12px;
	box-sizing: border-box;
	pointer-events: none;
	transition: all 0.4s;
	z-index: -1;
	bottom: -4px;
	height: calc(100% - 12px);
	border-top-color: transparent;
	border-top-left-radius: 0;
	border-top-right-radius: 0;
}

.monash-wme__btn-wrapper .monash-wme__btn .monash-wme__btn-line::after {
	content: "";
	position: absolute;
	display: block;
	width: calc(100% + 4px);
	left: -2px;
	border: 2px solid currentColor;
	border-radius: 15px;
	box-sizing: border-box;
	pointer-events: none;
	transition: all 0.4s;
	z-index: 1;
	bottom: -12px;
	height: calc(100% - 4px);
	border-top-color: transparent;
	border-top-left-radius: 0;
	border-top-right-radius: 0;
}

.monash-wme__btn-wrapper .monash-wme__btn:active .monash-wme__btn-line,
.monash-wme__btn-wrapper .monash-wme__btn.is-pressed .monash-wme__btn-line {
	bottom: 5px;
	border: 2px solid transparent;
}

/* ── Back to top ─────────────────────────────────────────────────── */

.monash-wme__back-top {
	position: absolute;
	bottom: 1.5rem;
	left: 50%;
	transform: translateX(-50%);
	padding: 0;
	border: none;
	background: none;
	color: inherit;
	font-family: "Rethink Sans", sans-serif;
	font-size: 0.8rem;
	font-weight: 300;
	cursor: pointer;
	opacity: 0.7;
	transition: opacity 0.2s;
}

.monash-wme__back-top:hover {
	opacity: 1;
}
