/* SON Site Notice: Admissions style. Formatting is fixed here so the team can't change it. */

body .son-sitenotice {
	box-sizing: border-box;
	position: relative;
	margin: 0;
	color: #fff;
	background: #005A87;
	font-family: "Source Sans Pro", "Helvetica Neue", Arial, sans-serif;
	font-size: 16px;
	line-height: 1.45;
	text-align: left;
	-webkit-font-smoothing: antialiased;
}
body .son-sitenotice *,
body .son-sitenotice *::before,
body .son-sitenotice *::after { box-sizing: border-box; }

body .son-sitenotice p { margin: 0; padding: 0; color: #fff; }
body .son-sitenotice .son-sitenotice__title {
	font-family: "PT Sans Narrow", "Arial Narrow", Arial, sans-serif;
	font-weight: 700;
	font-size: 22px;
	line-height: 1.2;
	margin: 0 0 4px;
	letter-spacing: .01em;
}
body .son-sitenotice .son-sitenotice__text { font-size: 16px; }
body .son-sitenotice .son-sitenotice__text strong { font-weight: 700; color: #fff; }
body .son-sitenotice .son-sitenotice__text a,
body .son-sitenotice .son-sitenotice__text a:visited { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
body .son-sitenotice .son-sitenotice__text a:hover { color: #FDE7C8; }

body .son-sitenotice .son-sitenotice__lang + .son-sitenotice__lang {
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px solid rgba(255, 255, 255, .25);
}
body .son-sitenotice .son-sitenotice__lang--zh .son-sitenotice__title { font-family: "PT Sans Narrow", "Microsoft JhengHei", "PingFang TC", sans-serif; }

body .son-sitenotice .son-sitenotice__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 14px;
}
body .son-sitenotice a.son-sitenotice__btn,
body .son-sitenotice a.son-sitenotice__btn:visited {
	display: inline-block;
	padding: 8px 18px;
	background: #D97706;
	color: #fff;
	font-family: "Source Sans Pro", Arial, sans-serif;
	font-weight: 700;
	font-size: 15px;
	line-height: 1.3;
	text-decoration: none;
	border: 0;
	border-radius: 3px;
}
body .son-sitenotice a.son-sitenotice__btn:hover,
body .son-sitenotice a.son-sitenotice__btn:focus { background: #B45F06; color: #fff; }

body .son-sitenotice .son-sitenotice__badge {
	display: inline-block;
	margin: 0 0 8px;
	padding: 2px 8px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .03em;
	text-transform: uppercase;
	color: #005A87;
	background: #FDE7C8;
	border-radius: 2px;
}

/* Close button */
body .son-sitenotice button.son-sitenotice__close {
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: #fff;
	cursor: pointer;
	font: inherit;
	line-height: 1;
	box-shadow: none;
	text-transform: none;
	letter-spacing: 0;
	min-width: 0;
	height: auto;
}
body .son-sitenotice .son-sitenotice__x { font-size: 24px; line-height: 1; font-weight: 400; }
body .son-sitenotice button.son-sitenotice__close:focus-visible { outline: 2px solid #FDE7C8; outline-offset: 2px; }

/* ---------- Computer: floats over the header photo, top right ---------- */
body .son-sitenotice--overlay {
	position: absolute;
	z-index: 9000; /* under the theme's fixed header (9999), so it scrolls away beneath it */
	top: 176px;
	right: calc((100% - 1200px) / 2 + 35px);
	width: min(560px, 46vw);
	padding: 18px 52px 18px 22px;
	background: rgba(0, 90, 135, .8); /* SON blue, 20% see-through over the photo */
	border-left: 4px solid #D97706;
	border-radius: 4px;
	box-shadow: 0 8px 28px rgba(0, 0, 0, .28);
	animation: son-sitenotice-fade .35s ease-out both;
}
body .son-sitenotice--overlay button.son-sitenotice__close {
	position: absolute;
	top: 8px;
	right: 8px;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}
body .son-sitenotice--overlay button.son-sitenotice__close:hover { background: rgba(255, 255, 255, .15); }
body .son-sitenotice--overlay .son-sitenotice__hide { display: none; }
/* ---------- Phones and tablets: compact strip at the very top ---------- */
body .son-sitenotice--strip {
	position: relative;
	z-index: 9000;
	width: 100%;
	padding: 10px 14px 12px;
	border-bottom: 3px solid #D97706;
	overflow: hidden;
	animation: son-sitenotice-slide .4s ease-out both;
}
body .son-sitenotice--strip button.son-sitenotice__close {
	float: right;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	margin: -4px -6px 4px 10px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, .45);
	border-radius: 50%;
}
body .son-sitenotice--strip .son-sitenotice__hide { display: none; }
body .son-sitenotice--strip .son-sitenotice__x { font-size: 22px; }
body .son-sitenotice--strip .son-sitenotice__title { font-size: 18px; }
body .son-sitenotice--strip .son-sitenotice__text { font-size: 15px; line-height: 1.4; }
body .son-sitenotice--strip .son-sitenotice__lang + .son-sitenotice__lang { margin-top: 8px; padding-top: 8px; clear: both; }
body .son-sitenotice--strip .son-sitenotice__actions { margin-top: 10px; gap: 8px; clear: both; }
body .son-sitenotice--strip a.son-sitenotice__btn { padding: 7px 14px; font-size: 14px; }

body .son-sitenotice--closing { opacity: 0 !important; transition: opacity .25s ease; }

@keyframes son-sitenotice-fade {
	from { opacity: 0; transform: translateY(-6px); }
	to { opacity: 1; transform: none; }
}
@keyframes son-sitenotice-slide {
	from { max-height: 0; opacity: 0; padding-top: 0; padding-bottom: 0; }
	to { max-height: 600px; opacity: 1; }
}
/* The page title glides out of the box's way (set by notice.js on computers). */
.headline .headline_text_wrap.son-sitenotice-title {
	transition: transform .5s ease;
	transform-origin: left center;
}

@media (prefers-reduced-motion: reduce) {
	body .son-sitenotice--overlay,
	body .son-sitenotice--strip { animation: none; }
	.headline .headline_text_wrap.son-sitenotice-title { transition: none; }
}
@media print {
	body .son-sitenotice { display: none !important; }
}
