/* Site Shell, Header, Navigation, Sidebar, Footer & Admissions Tab */
.site-wrapper {
	padding-top: 110px;
	margin-top: -1px;
}

/* Top Utility Bar */
.top-bar {
	background-color: #0a47aa;
	color: #ffffff;
	font-size: 12px;
	font-weight: 600;
	line-height: 1em;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 100000;
	height: 30px;
}

.top-bar .container {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	height: 100%;
}

.top-nav {
	display: flex;
	align-items: center;
	gap: 15px;
}

.top-nav a {
	color: #ffffff;
	display: inline-block;
	transition: opacity 0.3s ease;
}

.top-nav a:hover {
	opacity: 0.75;
}

/* Main Header */
.site-header {
	position: fixed;
	top: 30px;
	left: 0;
	width: 100%;
	background-color: #ffffff;
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
	z-index: 99999;
	transition: background-color 0.4s, color 0.4s, box-shadow 0.4s;
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 80px;
	position: relative;
}

.logo-wrap {
	display: flex;
	align-items: center;
	height: 100%;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.logo-wrap img {
	height: 56px;
	width: auto;
	max-height: none;
	display: block;
}

.header-nav-wrap {
	display: flex;
	align-items: center;
	height: 100%;
	position: relative;
}

.header-nav-wrap.is-searching .main-nav,
.header-nav-wrap.is-searching .search-toggle-wrap,
.header-nav-wrap.is-searching .mobile-nav-wrap {
	opacity: 0;
	visibility: hidden;
}

/* Desktop Navigation */
.main-nav {
	display: flex;
	align-items: center;
	height: 100%;
}

.nav-list {
	display: flex;
	align-items: center;
	height: 100%;
}

.nav-list > li {
	position: relative;
	padding-right: 22px;
	height: 100%;
	display: flex;
	align-items: center;
}

.nav-list > li > a {
	color: rgba(0, 0, 0, 0.6);
	font-size: 14px;
	font-weight: 600;
	line-height: 1em;
	padding: 33px 0;
	display: block;
	position: relative;
	transition: opacity 0.3s ease, color 0.3s ease;
}

.nav-list > li > a:hover {
	opacity: 0.7;
}

.nav-list > li.is-active > a {
	color: #2ea3f2;
}

.nav-list .has-dropdown > a {
	padding-right: 20px;
}

.nav-list .has-dropdown > a::after {
	content: "";
	position: absolute;
	right: 3px;
	top: 50%;
	width: 6px;
	height: 6px;
	border: solid currentColor;
	border-width: 0 2px 2px 0;
	transform: translateY(-65%) rotate(45deg);
}

/* Dropdown Menus */
.dropdown-menu {
	position: absolute;
	top: 100%;
	left: 0;
	width: 240px;
	padding: 20px 0;
	background: #ffffff;
	border-top: 3px solid #2ea3f2;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;
	z-index: 9999;
	text-align: left;
}

li:hover > .dropdown-menu {
	opacity: 1;
	visibility: visible;
}

.dropdown-menu li {
	position: relative;
	padding: 0 20px;
	line-height: 2em;
}

.dropdown-menu li a {
	display: block;
	padding: 6px 20px;
	width: 200px;
	font-size: 14px;
	font-weight: 600;
	color: rgba(0, 0, 0, 0.6);
	transition: opacity 0.2s ease-in-out, background-color 0.2s ease-in-out;
}

.dropdown-menu li a:hover {
	background-color: rgba(0, 0, 0, 0.03);
	opacity: 0.7;
}

.dropdown-menu li.is-active > a {
	color: #2ea3f2;
}

.dropdown-menu .has-dropdown > a::after {
	right: 22px;
	top: 50%;
	transform: translateY(-50%) rotate(-45deg);
}

.dropdown-menu .dropdown-menu {
	top: -23px;
	left: 240px;
}

.nav-list > li.reverse-dropdown .dropdown-menu .dropdown-menu {
	left: auto;
	right: 240px;
}

/* Search Button & Overlay */
.search-toggle-wrap {
	display: flex;
	align-items: center;
	margin-left: 8px;
}

.search-toggle-btn {
	background: none;
	border: none;
	padding: 0;
	width: 18px;
	height: 18px;
	color: rgba(0, 0, 0, 0.6);
	cursor: pointer;
	position: relative;
	display: block;
}

.search-toggle-btn::before {
	content: "";
	display: block;
	width: 18px;
	height: 18px;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='14' cy='10' r='7'/%3E%3Cpath d='M9 15L2.5 21.5'/%3E%3C/svg%3E") center/contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='14' cy='10' r='7'/%3E%3Cpath d='M9 15L2.5 21.5'/%3E%3C/svg%3E") center/contain no-repeat;
}

.search-overlay {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #ffffff;
	z-index: 1000;
}

.search-overlay.is-open {
	display: block;
}

.search-overlay .container {
	height: 100%;
	position: relative;
}

.search-form {
	width: 100%;
	height: 100%;
}

.search-input {
	font-size: 14px;
	height: 100%;
	width: calc(100% - 50px);
	padding: 0 15px;
	outline: none;
	border: none;
	background: transparent;
	color: #333;
}

.search-close-btn {
	position: absolute;
	right: 0;
	top: 0;
	width: 40px;
	height: 100%;
	background: none;
	border: none;
	cursor: pointer;
	color: #333;
}

.search-close-btn::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 22px;
	height: 22px;
	transform: translate(-50%, -50%);
	background: linear-gradient(45deg, transparent 46%, currentColor 46%, currentColor 54%, transparent 54%),
		linear-gradient(-45deg, transparent 46%, currentColor 46%, currentColor 54%, transparent 54%);
}

/* Sticky Header (Desktop) */
@media (min-width: 981px) {
	.site-header.is-sticky {
		box-shadow: 0 0 7px rgba(0, 0, 0, 0.1);
	}
	.site-header.is-sticky .header-inner {
		height: 50px;
	}
	.site-header.is-sticky .logo-wrap {
		opacity: 0;
		visibility: hidden;
	}
	.site-header.is-sticky .nav-list > li > a {
		padding-top: 0;
		padding-bottom: 0;
		line-height: 50px;
	}
}

/* Mobile Navigation */
.mobile-nav-wrap {
	display: none;
}

.mobile-menu-toggle {
	background: none;
	border: none;
	padding: 0;
	width: 20px;
	height: 18px;
	position: relative;
	cursor: pointer;
	display: block;
}

.mobile-menu-toggle::before {
	content: "";
	display: block;
	width: 20px;
	height: 2px;
	background: #0a47aa;
	box-shadow: 0 -6px 0 #0a47aa, 0 6px 0 #0a47aa;
	position: absolute;
	left: 0;
	top: 8px;
}

.mobile-nav-wrap.is-open .mobile-menu-toggle::before {
	background: transparent;
	box-shadow: none;
}

.mobile-nav-wrap.is-open .mobile-menu-toggle::after {
	content: "";
	position: absolute;
	left: 1px;
	top: 0;
	width: 18px;
	height: 18px;
	background: linear-gradient(45deg, transparent 45%, #0a47aa 45%, #0a47aa 55%, transparent 55%),
		linear-gradient(-45deg, transparent 45%, #0a47aa 45%, #0a47aa 55%, transparent 55%);
}

.mobile-menu {
	display: none;
	position: absolute;
	top: 80px;
	left: 0;
	width: 100%;
	padding: 5%;
	background: #ffffff;
	border-top: 3px solid #2ea3f2;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
	z-index: 9999;
}

.mobile-nav-wrap.is-open .mobile-menu {
	display: block;
}

.mobile-menu li a {
	display: block;
	padding: 10px 5%;
	border-bottom: 1px solid rgba(0, 0, 0, 0.03);
	color: #666;
	font-size: 14px;
	font-weight: 600;
}

.mobile-menu li.has-dropdown > a {
	background-color: rgba(0, 0, 0, 0.03);
	font-weight: 700;
}

.mobile-menu li li {
	padding-left: 5%;
}

.mobile-menu li ul {
	padding-left: 10px;
}

/* Subpage Sidebar Layout */
.page-content-wrap {
	background-color: #ffffff;
}

.page-layout {
	padding-top: 58px;
	padding-bottom: 28px;
	position: relative;
}

.page-main {
	padding-bottom: 30px;
}

.subpage .entry-content,
.subpage .entry-content p,
.subpage .entry-content li,
.subpage .tiptap-content,
.subpage .tiptap-content p,
.subpage .tiptap-content li {
	font-family: "Open Sans", Arial, sans-serif !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	line-height: 24px !important;
	color: #333 !important;
}

.page-title {
	margin-bottom: 20px;
	font-size: 30px;
	color: #333;
	font-weight: 500;
}

.page-sidebar {
	padding-bottom: 28px;
}

.sidebar-widget {
	margin-bottom: 30px;
}

.sidebar-widget-title {
	color: #333;
	font-size: 18px;
	font-weight: 500;
	line-height: 1em;
	padding-bottom: 10px;
	margin: 0;
}

.sidebar-news-list li {
	margin-bottom: 0.5em;
}

.sidebar-news-list a {
	color: #666;
	text-decoration: none;
}

.sidebar-news-list a:hover {
	color: #82c0c7;
}

.sidebar-news-list .post-date {
	display: block;
	color: #333;
	font-size: 14px;
}

@media (min-width: 981px) {
	.has-sidebar .page-layout::before {
		content: "";
		position: absolute;
		top: 0;
		right: 20.875%;
		height: 100%;
		width: 1px;
		background-color: #e2e2e2;
	}
	.has-sidebar .page-main {
		float: left;
		width: 79.125%;
		padding-right: 5.5%;
	}
	.has-sidebar .page-sidebar {
		float: left;
		width: 20.875%;
		padding-left: 30px;
	}
}

@media (max-width: 980px) {
	.header-nav-wrap {
		position: static;
	}
	.site-wrapper {
		padding-top: 80px;
		margin-top: 0;
	}
	.top-bar {
		display: none;
	}
	.site-header {
		top: 0;
		position: absolute;
	}
	.header-inner {
		height: 80px;
	}
	.logo-wrap img {
		height: 43px;
	}
	.main-nav {
		display: none;
	}
	.search-toggle-wrap {
		margin-right: 22px;
		margin-left: 0;
	}
	.search-toggle-btn {
		color: #333;
	}
	.mobile-nav-wrap {
		display: flex;
		align-items: center;
	}
	.has-sidebar .page-main,
	.has-sidebar .page-sidebar {
		width: auto;
		float: none;
		padding-right: 0;
		padding-left: 0;
	}
}

/* Footer */
.site-footer {
	background-color: #000000;
	padding: 12px 0 10px;
}

.site-footer p {
	padding-bottom: 0;
	font-size: 14px;
}

.site-footer a {
	color: #ffffff;
}

/* Floating Admissions Tab */
.admissions-tab-wrap {
	position: fixed;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	z-index: 9999;
	pointer-events: none;
}

.admissions-tab-inner {
	position: absolute;
	top: 0;
	left: 0;
	white-space: nowrap;
	transform-origin: 0 0;
	transform: rotate(-90deg) translate(-50%);
	pointer-events: auto;
}

.admissions-tab-link {
	display: block;
	padding: 6px 15px;
	background-color: #dd0000;
	color: #ffffff;
	font-size: 16px;
	font-family: 'Roboto', Arial, sans-serif;
	font-weight: 500;
	letter-spacing: 0.5px;
	line-height: 1.4875;
	white-space: nowrap;
	transition: background-color 350ms ease-in-out;
}

.admissions-tab-link:hover {
	background-color: #c53c3e;
	color: #ffffff;
}
