/*
	Theme Name: Campus Michael Onoja Modernized
	Theme URI: https://www.michaelonoja.com
	Description: A premium responsive theme for WordPress
	Author: Michael Onoja
	Author URI: https://www.michaelonoja.com
	License: GNU General Public License version 3.0
	License URI: https://www.gnu.org/licenses/gpl-3.0.html
	Version: 4.3.0
	Requires at least: 6.2
	Requires PHP: 7.4
	Text Domain: skeleton
	Tags: blog, education, two-columns, flexible-header, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, wide-blocks
	
	All stylesheets are stored in the /assets/stylesheets folder.
	
*/

/* Modern restoration layer. The original component styles remain in assets/stylesheets. */
:root {
	--campus-focus: #0b63ce;
	--campus-surface: #fff;
	--campus-border: rgba(20, 30, 45, .14);
	--campus-radius: 5px;
	--campus-shadow: 0 10px 30px rgba(20, 30, 45, .08);
}

/* --------------------------------------------------------------------------
   Bilmor original home page, rebuilt without legacy page-builder dependencies
   -------------------------------------------------------------------------- */

.bilmor-shell {
	width: min(1120px, calc(100% - 32px));
	margin-inline: auto;
}

body.home {
	background: #fff;
	color: #66717c;
	font-family: Calibri, Candara, Segoe, "Segoe UI", Optima, Arial, sans-serif;
}

body.home #section-tophat {
	min-height: 34px;
	background: #002b58;
}

body.home #section-header {
	position: relative;
	min-height: 78px;
	background: #fff;
}

body.home #section-header .container {
	position: relative;
}

body.home .site-title-wrapper {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 78px;
	padding: 7px 110px 7px 0;
}

body.home .site-title-wrapper a,
body.home .site-title-wrapper h1 {
	display: block;
	margin: 0;
	line-height: 1;
}

body.home #logotype {
	display: block;
	width: min(640px, 100%);
	max-height: 62px;
	object-fit: contain;
}

.bilmor-student-login {
	position: absolute;
	z-index: 20;
	top: -34px;
	right: 16px;
	display: block;
}

.bilmor-student-login img {
	display: block;
	width: 92px;
	height: 133px;
	object-fit: contain;
}

body.home #section-navigation {
	border-bottom: 4px solid #edb300;
	background: #002b58;
}

body.home #menu .navigation > ul {
	display: flex;
	justify-content: center;
	min-height: 48px;
}

body.home #menu .navigation > ul > li > a {
	padding: 16px 15px;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .01em;
	text-transform: uppercase;
}

body.home #menu .navigation > ul > li:first-child > a,
body.home #menu .navigation > ul > li.current-menu-item > a {
	background: #edb300;
	color: #fff;
}

.bilmor-home {
	display: block;
	padding: 0;
	background: #fff;
}

.bilmor-hero {
	display: block;
	position: relative;
	z-index: 10 !important;
	width: 100%;
	padding: 26px 0 18px;
}

.bilmor-hero-frame {
	position: relative;
	padding: 8px;
	border: 1px solid #d7dce0;
	background: #fff;
	box-shadow: 0 2px 6px rgba(0, 37, 78, .12);
	overflow: hidden;
}

.bilmor-hero-frame > img {
	display: block;
	width: 100%;
	height: clamp(185px, 27vw, 300px);
	object-fit: cover;
	object-position: center 38%;
}

.bilmor-hero-frame h1 {
	position: absolute;
	top: 21%;
	left: 3.8%;
	margin: 0;
	color: #fff;
	font: 700 clamp(25px, 3vw, 43px)/1.16 Georgia, serif;
	letter-spacing: -.02em;
}

.bilmor-hero-frame h1 span {
	display: table;
	margin: 0 0 7px;
	padding: 2px 12px 5px;
	background: rgba(44, 70, 94, .72);
}

.bilmor-home-content {
	padding: 0 18px 42px;
}

.bilmor-video-frame {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	background: #050505;
	overflow: hidden;
}

.bilmor-video-frame iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.bilmor-lead-video {
	margin: 8px 0 42px;
}

.bilmor-callout {
	margin: 0 0 34px;
	padding: 18px 24px;
	border-radius: 2px;
	background: #002b58;
	box-shadow: 0 2px 5px rgba(0, 37, 78, .22);
	text-align: center;
}

.bilmor-callout p {
	margin: 0;
	color: #fff;
	font: italic 700 clamp(18px, 2.1vw, 27px)/1.35 Georgia, serif;
}

.bilmor-callout em {
	color: #edb300;
}

.bilmor-pillars {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 28px;
	margin-bottom: 40px;
}

.bilmor-pillar header {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 12px;
}

.bilmor-pillar h2 {
	margin: 0;
	color: #7c838b;
	font: 400 19px/1.2 Arial, sans-serif;
}

.bilmor-pillar header img {
	width: 42px;
	height: 42px;
	object-fit: contain;
}

.bilmor-pillar p {
	margin: 0 0 10px;
	font-size: 13px;
	line-height: 1.7;
	text-align: justify;
}

.bilmor-pillar a {
	color: #d99f00;
	font-weight: 700;
}

.bilmor-pillar-photo {
	display: block;
	width: 100%;
	height: 138px;
	object-fit: cover;
}

.bilmor-video-pair {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 28px;
	margin-bottom: 44px;
}

.bilmor-programmes {
	border-bottom: 1px solid #d8dde1;
	padding-bottom: 40px;
}

.bilmor-programme-tabs {
	display: flex;
	flex-wrap: wrap;
	border-bottom: 4px solid #edb300;
}

.bilmor-programme-tabs a {
	padding: 11px 17px;
	border-right: 1px solid rgba(255,255,255,.5);
	background: #002b58;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
}

.bilmor-programme-tabs a.is-active,
.bilmor-programme-tabs a:hover,
.bilmor-programme-tabs a:focus {
	background: #edb300;
	color: #fff;
}

.bilmor-programme-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 30px;
	padding: 27px;
	background: #002b58;
}

.bilmor-programme-cards img {
	display: block;
	width: 100%;
	height: 190px;
	object-fit: cover;
}

.bilmor-programme-cards h3 {
	margin: 13px 0 10px;
	padding-bottom: 10px;
	border-bottom: 1px solid #edb300;
	color: #fff;
	font-size: 18px;
}

.bilmor-programme-cards p {
	margin: 0;
	color: #8fa6bb;
	font-size: 13px;
	line-height: 1.7;
	text-align: justify;
}

.bilmor-home-footer {
	border-top: 3px solid #edb300;
	padding: 42px 0;
	background: #002b58;
}

.bilmor-footer-grid {
	display: grid;
	grid-template-columns: 1.1fr 1fr 1.1fr 1fr;
	gap: 34px;
}

.bilmor-home-footer h2,
.bilmor-home-footer h3 {
	margin: 0 0 10px;
	color: #edb300;
	font: 400 18px/1.25 Arial, sans-serif;
}

.bilmor-home-footer h3 {
	margin-top: 14px;
	font-size: 16px;
}

.bilmor-home-footer p,
.bilmor-home-footer li {
	color: #fff;
	font-size: 12px;
	line-height: 1.65;
}

.bilmor-home-footer ul {
	margin: 0;
	padding-left: 18px;
}

.bilmor-home-footer img {
	display: block;
	width: 100%;
	height: 210px;
	object-fit: cover;
}

.bilmor-social-links {
	display: grid;
	gap: 8px;
}

.bilmor-social-links a {
	display: block;
	padding: 10px 12px;
	background: rgba(255,255,255,.09);
	color: #fff;
}

.bilmor-home-copyright {
	padding: 22px 0;
	background: #05080b;
	color: #edb300;
	font-size: 12px;
}

body.home > #section-footer,
body.home > #section-sub-footer {
	display: none;
}

@media (max-width: 959px) {
	body.home .site-title-wrapper { justify-content: flex-start; }
	.bilmor-pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bilmor-programme-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bilmor-programme-cards article:last-child { grid-column: 1 / -1; }
	.bilmor-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
	body.home #section-tophat { min-height: 8px; }
	body.home #section-header { min-height: 64px; }
	body.home .site-title-wrapper { min-height: 64px; padding: 7px 68px 7px 0; }
	body.home #logotype { max-height: 48px; }
	.bilmor-student-login { top: -8px; right: 8px; }
	.bilmor-student-login img { width: 58px; height: 84px; }
	.bilmor-hero { padding-top: 16px; }
	.bilmor-hero-frame > img { height: 210px; }
	.bilmor-hero-frame h1 { top: 22%; left: 5%; font-size: clamp(18px, 5.5vw, 28px); }
	.bilmor-hero-frame h1 span { margin-bottom: 5px; padding: 3px 7px; }
	.bilmor-home-content { padding-inline: 0; }
	.bilmor-lead-video { margin-bottom: 28px; }
	.bilmor-callout { padding: 15px; }
	.bilmor-pillars { grid-template-columns: 1fr; gap: 24px; }
	.bilmor-pillar-photo { height: 210px; }
	.bilmor-video-pair { grid-template-columns: 1fr; gap: 18px; }
	.bilmor-programme-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bilmor-programme-tabs a { padding: 10px; font-size: 10px; }
	.bilmor-programme-cards { grid-template-columns: 1fr; padding: 18px; }
	.bilmor-programme-cards article:last-child { grid-column: auto; }
	.bilmor-programme-cards img { height: 190px; }
	.bilmor-footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
	.bilmor-shell { width: min(100% - 20px, 1120px); }
	.bilmor-hero-frame > img { height: 170px; }
	.bilmor-hero-frame h1 { font-size: 17px; }
	.bilmor-programme-tabs { grid-template-columns: 1fr; }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { overflow-wrap: break-word; text-rendering: optimizeLegibility; }
img, video, iframe { max-width: 100%; }
img { height: auto; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.screen-reader-text:focus,
.skip-link:focus {
	top: 8px; left: 8px; z-index: 100000;
	width: auto; height: auto; padding: 12px 18px; margin: 0;
	clip: auto !important; white-space: normal;
	background: #fff; color: #111; border-radius: var(--campus-radius);
	box-shadow: var(--campus-shadow);
}

:where(a, button, input, select, textarea, summary):focus-visible {
	outline: 3px solid var(--campus-focus);
	outline-offset: 3px;
}
button, input[type="button"], input[type="submit"], .button {
	min-height: 42px; padding: .65em 1.1em; border-radius: var(--campus-radius);
	cursor: pointer; transition: filter .18s ease, transform .18s ease;
}
button:hover, input[type="submit"]:hover, .button:hover { filter: brightness(.94); }
input[type="text"], input[type="email"], input[type="url"], input[type="search"], input[type="password"], textarea, select {
	max-width: 100%; min-height: 42px; padding: .65em .8em;
	border: 1px solid var(--campus-border); border-radius: var(--campus-radius);
	background: var(--campus-surface); color: inherit;
}
textarea { min-height: 140px; resize: vertical; }

.content-inner,
.sidebar .widget { min-width: 0; }
.content-inner > :where(p, ul, ol) { line-height: 1.7; }
.content-inner iframe { width: 100%; border: 0; }
.wp-caption, .gallery, .wp-block-image { max-width: 100%; }
.alignwide { width: min(1120px, calc(100vw - 40px)); max-width: none; margin-left: 50%; transform: translateX(-50%); }
.alignfull { width: 100vw; max-width: none; margin-left: 50%; transform: translateX(-50%); }

.navigation a, #responsive-nav a { text-underline-offset: .18em; }
.sf-menu .sub-menu { box-shadow: var(--campus-shadow); }
#responsive-nav > button { position: relative; z-index: 2; }

@media (max-width: 767px) {
	html { scroll-behavior: auto; }
	header { z-index: 1000; }
	#section-header .container { z-index: 1; }
	#section-navigation { z-index: 10000; }
	#responsive-nav {
		z-index: 10000 !important;
		width: min(320px, calc(100vw - 16px)) !important;
		max-width: none;
	}
	#responsive-nav > button { z-index: 10002; }
	#responsive-nav .dl-menu {
		left: 8px;
		z-index: 10001 !important;
		width: min(320px, calc(100vw - 16px)) !important;
		margin-top: 8px;
		box-shadow: 0 16px 40px rgba(0, 0, 0, .35), 0 0 0 100vmax rgba(0, 0, 0, .45);
	}
	.container { width: min(100% - 32px, 960px); }
	.main-content-area { padding-block: 28px; }
	.content, .sidebar, .primary-sidebar, .secondary-sidebar { float: none; width: 100% !important; margin-inline: 0 !important; }
	.content { order: 1; }
	.sidebar { order: 2; margin-top: 28px !important; }
	#section-content > .container { display: flex; flex-direction: column; }
	.site-title-wrapper img { max-height: 90px; width: auto; }
	.page-title { line-height: 1.15; }
	.alignwide, .alignfull { width: 100%; margin-left: 0; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Keep the purpose-built home layout authoritative over the legacy theme CSS. */
@media (min-width: 768px) and (max-width: 1100px) {
	body.home #menu .navigation > ul > li > a {
		padding-inline: 9px;
		font-size: 11px;
	}
}

@media (max-width: 767px) {
	body.home #section-navigation #menu { display: none !important; }
	body.home #section-navigation { min-height: 4px; }
	body.home #responsive-nav { display: block !important; position: fixed !important; z-index: 100000 !important; top: 8px; left: 8px; }
	body.home #responsive-nav details { position: relative; }
	body.home #responsive-nav summary {
		width: 42px;
		height: 42px;
		border-radius: 3px;
		background: #27333d;
		color: #fff;
		font-size: 0;
		cursor: pointer;
		list-style: none;
	}
	body.home #responsive-nav summary::-webkit-details-marker { display: none; }
	body.home #responsive-nav .bilmor-menu-icon { display: grid; width: 100%; height: 100%; place-items: center; color: #fff; font-size: 25px; }
	body.home #responsive-nav .dl-menu { position: absolute; top: 48px; left: 0; }
	body.home #responsive-nav details[open] .dl-menu,
	body.bilmor-branded-page #responsive-nav details[open] .dl-menu {
		display: block !important;
		padding: 0;
		background: #26333d;
	}
	body.home #responsive-nav details[open] .dl-menu li,
	body.bilmor-branded-page #responsive-nav details[open] .dl-menu li {
		display: block;
		width: 100%;
		margin: 0;
		border-bottom: 1px solid rgba(255,255,255,.09);
	}
	body.home #responsive-nav details[open] .dl-menu a,
	body.bilmor-branded-page #responsive-nav details[open] .dl-menu a {
		display: block;
		padding: 13px 16px;
		background: #26333d;
		color: #fff !important;
		font-size: 14px;
		line-height: 1.3;
		text-decoration: none;
	}
	body.home #responsive-nav details[open] .dl-menu a:hover,
	body.home #responsive-nav details[open] .dl-menu a:focus,
	body.bilmor-branded-page #responsive-nav details[open] .dl-menu a:hover,
	body.bilmor-branded-page #responsive-nav details[open] .dl-menu a:focus {
		background: #edb300;
	}
	body.home .bilmor-home-content { width: min(100% - 20px, 1120px); }
}

/* About BTVC reference page. */
body.bilmor-branded-page {
	background: #fff;
	color: #717982;
	font-family: Calibri, Candara, Segoe, "Segoe UI", Optima, Arial, sans-serif;
}

body.home > header,
body.bilmor-branded-page > header {
	position: relative;
	z-index: 200000;
}

body.bilmor-branded-page #section-tophat {
	min-height: 34px;
	background: #002b58;
}

body.bilmor-branded-page #section-header {
	position: relative;
	min-height: 78px;
	background: #fff;
}

body.bilmor-branded-page #section-header .container {
	position: relative;
}

body.bilmor-branded-page .site-title-wrapper {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 78px;
	padding: 7px 110px 7px 0;
}

body.bilmor-branded-page .site-title-wrapper a,
body.bilmor-branded-page .site-title-wrapper h1 {
	display: block;
	margin: 0;
	line-height: 1;
}

body.bilmor-branded-page #logotype {
	display: block;
	width: min(640px, 100%);
	max-height: 62px;
	object-fit: contain;
}

body.bilmor-branded-page #section-navigation {
	border-bottom: 4px solid #edb300;
	background: #002b58;
}

body.bilmor-branded-page #menu .navigation > ul {
	display: flex;
	justify-content: center;
	min-height: 48px;
}

body.bilmor-branded-page #menu .navigation > ul > li > a {
	padding: 16px 15px;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .01em;
	text-transform: uppercase;
}

body.bilmor-branded-page #menu .navigation > ul > li.current-menu-item > a,
body.bilmor-branded-page #menu .navigation > ul > li.current_page_item > a {
	background: #edb300;
	color: #fff;
}

.bilmor-topbar-tools {
	position: relative;
	display: flex;
	align-items: center;
	gap: 8px;
	height: 34px;
	max-height: 34px;
	min-height: 34px;
	margin: 0 !important;
}

.bilmor-topbar-tools form,
.bilmor-topbar-tools .search-form {
	margin: 0;
}

.bilmor-topbar-social {
	position: absolute;
	top: -6px;
	left: 36px;
	display: flex;
	align-items: center;
	gap: 4px;
}

.bilmor-topbar-social a {
	display: grid;
	width: 25px;
	height: 25px;
	place-items: center;
	border-radius: 3px;
	color: #fff !important;
	font: 700 14px/1 Arial, sans-serif;
	text-decoration: none;
}

.bilmor-topbar-social .is-google { background: #dd4b39; }
.bilmor-topbar-social .is-twitter { background: #2aa9df; }
.bilmor-topbar-social .is-facebook { background: #3b5998; }
.bilmor-topbar-social .is-youtube { background: #d92b28; }
.bilmor-topbar-social .is-instagram { background: linear-gradient(135deg, #6f42c1, #d63384, #f6a21a); }
.bilmor-topbar-social .is-rss { background: #ef8f23; }

body.bilmor-branded-page #section-tophat .tagline {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	min-height: 34px;
	padding-right: 112px;
	color: #fff;
	font-size: 15px;
}

.bilmor-site-footer {
	margin-top: 0;
}

.bilmor-site-copyright {
	min-height: 64px;
	display: flex;
	align-items: center;
}

/* Shared desktop dropdown navigation. */
body.bilmor-branded-page #menu .sf-menu > li {
	position: relative;
}

body.bilmor-branded-page #menu .sf-menu .sub-menu {
	position: absolute;
	z-index: 250000;
	top: 100%;
	left: 0;
	display: none;
	width: 245px;
	margin: 0;
	padding: 6px 0;
	border-top: 4px solid #edb300;
	background: #002b58;
	box-shadow: 0 14px 30px rgba(0, 20, 42, .28);
}

body.bilmor-branded-page #menu .sf-menu li:hover > .sub-menu,
body.bilmor-branded-page #menu .sf-menu li:focus-within > .sub-menu,
body.bilmor-branded-page #menu .sf-menu li.sfHover > .sub-menu {
	display: block;
}

body.bilmor-branded-page #menu .sf-menu .sub-menu li,
body.bilmor-branded-page #menu .sf-menu .sub-menu a {
	display: block;
	width: 100%;
	margin: 0;
}

body.bilmor-branded-page #menu .sf-menu .sub-menu a {
	padding: 11px 16px;
	border-bottom: 1px solid rgba(255,255,255,.09);
	color: #fff;
	font-size: 13px;
	line-height: 1.35;
	text-transform: none;
}

body.bilmor-branded-page #menu .sf-menu .sub-menu a:hover,
body.bilmor-branded-page #menu .sf-menu .sub-menu a:focus {
	background: #edb300;
	color: #fff;
}

/* Shared About-subpage presentation. */
.bilmor-about-detail {
	display: block;
	background: #fff;
}

.bilmor-detail-content {
	min-height: 145px;
	padding: 28px 0 34px;
	border-bottom: 1px solid #d8dde1;
	color: #858b91;
	font-size: 15px;
	line-height: 1.75;
}

.bilmor-detail-content h2 {
	margin: 0 0 14px;
	padding-bottom: 12px;
	border-bottom: 1px solid #d8dde1;
	color: #858b91;
	font: 400 clamp(22px, 2vw, 29px)/1.25 Calibri, Candara, Segoe, "Segoe UI", Arial, sans-serif;
}

.bilmor-detail-content p {
	margin: 0 0 20px;
}

.bilmor-detail-content ul {
	margin: 0 0 20px;
	padding-left: 24px;
}

.bilmor-detail-content li {
	margin: 3px 0;
}

.bilmor-detail-hero {
	position: relative;
	margin: 26px 0 10px;
	padding: 8px;
	border: 1px solid #d8dde1;
	background: #fff;
	box-shadow: 0 2px 7px rgba(0,37,78,.12);
	overflow: hidden;
}

.bilmor-detail-hero img {
	display: block;
	width: 100%;
	height: clamp(190px, 24vw, 300px);
	object-fit: cover;
	object-position: center;
}

.bilmor-detail-hero h1 {
	position: absolute;
	top: 50%;
	left: 50%;
	width: max-content;
	max-width: calc(100% - 48px);
	margin: 0;
	padding: 8px 18px;
	transform: translate(-50%, -50%);
	background: rgba(0,37,78,.78);
	color: #fff;
	font: 400 clamp(25px, 3vw, 42px)/1.2 Calibri, Candara, Segoe, "Segoe UI", Arial, sans-serif;
	text-align: center;
}

.bilmor-about {
	display: block;
	background: #fff;
}

.bilmor-about-title {
	padding: 28px 0 18px;
	border-bottom: 4px solid #edb300;
	text-align: center;
}

.bilmor-about-title h1 {
	margin: 0;
	color: #8b8e92;
	font: 400 clamp(31px, 3.3vw, 48px)/1.2 Arial, sans-serif;
}

.bilmor-about-copy {
	padding: 26px 0 34px;
	border-bottom: 1px solid #d8dde1;
}

.bilmor-about-copy h2 {
	margin: 0 0 14px;
	padding-bottom: 12px;
	border-bottom: 1px solid #d8dde1;
	color: #858b91;
	font: 400 clamp(22px, 2vw, 30px)/1.25 Arial, sans-serif;
}

.bilmor-about-copy p {
	margin: 0 0 21px;
	color: #858b91;
	font-size: 16px;
	line-height: 1.75;
}

.bilmor-about-copy p:last-child {
	margin-bottom: 0;
}

.bilmor-audience-nav {
	display: flex;
	justify-content: center;
	align-items: stretch;
	gap: 4px;
	min-height: 180px;
	padding: 38px 0 76px;
	border-bottom: 1px solid #d8dde1;
}

.bilmor-audience-nav a {
	display: flex;
	align-items: center;
	padding: 13px 18px;
	border-bottom: 4px solid #edb300;
	background: #002b58;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
}

.bilmor-audience-nav a:hover,
.bilmor-audience-nav a:focus,
.bilmor-audience-nav a.is-active {
	background: #063764;
	color: #fff;
}

.bilmor-connect-card {
	display: grid;
	grid-template-columns: 58px 1fr;
	gap: 3px 10px;
	padding: 12px;
	background: #fff;
	color: #53616f;
}

.bilmor-connect-card img {
	grid-row: 1 / 4;
	width: 58px;
	height: 50px;
	object-fit: contain;
}

.bilmor-connect-card strong { font-size: 15px; }
.bilmor-connect-card span { font-size: 11px; }
.bilmor-connect-card a {
	justify-self: start;
	margin-top: 7px;
	padding: 5px 9px;
	border: 1px solid #ccd2d8;
	background: #f2f4f6;
	color: #264b75;
	font-size: 11px;
}

body.bilmor-about-page > #section-footer,
body.bilmor-about-page > #section-sub-footer {
	display: none;
}

@media (min-width: 768px) and (max-width: 1100px) {
	body.bilmor-branded-page #menu .navigation > ul > li > a {
		padding-inline: 9px;
		font-size: 11px;
	}
	.bilmor-audience-nav a { padding-inline: 11px; font-size: 11px; }
}

@media (max-width: 767px) {
	body.bilmor-branded-page #section-tophat { min-height: 8px; }
	body.bilmor-branded-page #section-tophat .container,
	body.bilmor-branded-page #section-tophat .tagline,
	body.bilmor-branded-page .bilmor-topbar-tools { min-height: 42px; }
	body.bilmor-branded-page #section-tophat .tagline { display: none; }
	body.bilmor-branded-page .bilmor-topbar-social { display: none; }
	body.bilmor-branded-page #section-header { min-height: 64px; }
	body.bilmor-branded-page .site-title-wrapper { justify-content: flex-start; min-height: 64px; padding: 7px 68px 7px 0; }
	body.bilmor-branded-page #logotype { max-height: 48px; }
	body.bilmor-branded-page #section-navigation #menu { display: none !important; }
	body.bilmor-branded-page #section-navigation { min-height: 4px; }
	body.bilmor-branded-page #responsive-nav { display: block !important; position: fixed !important; z-index: 100000 !important; top: 8px; left: 8px; }
	body.bilmor-branded-page #responsive-nav details { position: relative; }
	body.bilmor-branded-page #responsive-nav summary { width: 42px; height: 42px; border-radius: 3px; background: #27333d; color: #fff; cursor: pointer; list-style: none; font-size: 0; }
	body.bilmor-branded-page #responsive-nav summary::-webkit-details-marker { display: none; }
	body.bilmor-branded-page #responsive-nav .bilmor-menu-icon { display: grid; width: 100%; height: 100%; place-items: center; color: #fff; font-size: 25px; }
	body.bilmor-branded-page #responsive-nav .dl-menu { position: absolute; top: 48px; left: 0; }
	body.bilmor-branded-page #responsive-nav details[open] .sub-menu {
		position: static;
		display: block;
		width: 100%;
		margin: 0;
		padding: 0 0 0 14px;
		background: #1b2933;
	}
	body.bilmor-branded-page #responsive-nav details[open] .dl-submenu {
		position: static !important;
		display: block !important;
		width: 100% !important;
		margin: 0 !important;
		padding: 0 0 0 14px !important;
		background: #1b2933;
		opacity: 1 !important;
		visibility: visible !important;
		transform: none !important;
	}
	body.bilmor-branded-page #responsive-nav details[open] .dl-submenu .dl-back {
		display: none !important;
	}
	body.bilmor-branded-page #responsive-nav details[open] .sub-menu a {
		padding-block: 10px;
		font-size: 13px;
	}
	body.bilmor-branded-page #responsive-nav details[open] .dl-submenu a {
		padding: 10px 16px;
		background: #1b2933;
		font-size: 13px;
	}
	.bilmor-about-title { padding-top: 22px; }
	.bilmor-about-copy p { font-size: 14px; line-height: 1.7; }
	.bilmor-detail-content { padding-top: 22px; font-size: 14px; }
	.bilmor-detail-hero { margin-top: 16px; }
	.bilmor-detail-hero img { height: 190px; }
	.bilmor-detail-hero h1 { width: calc(100% - 32px); max-width: none; font-size: 23px; }
	.bilmor-audience-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); min-height: 0; padding: 28px 0 44px; }
	.bilmor-audience-nav a { justify-content: center; padding: 11px 8px; font-size: 10px; text-align: center; }
}

/* Fluid compatibility for the original Skeleton 940/420/300 column grid. */
#section-content .container:first-child .content {
	padding-top: 18px;
}

@media only screen and (max-width: 767px) {
	.container > .column,
	.container > .columns,
	.container .wpb_column,
	.container .column_container {
		float: none;
		display: block;
		width: 100% !important;
		max-width: 420px;
		margin-left: auto;
		margin-right: auto;
	}
}

/* Programs and Activities: native replacement for the retired gallery plugin. */
.bilmor-programs-page {
	background: #fff;
	color: #858b91;
}

.bilmor-programs-intro {
	padding: 22px 0 28px;
	text-align: center;
}

.bilmor-programs-intro p {
	margin: 0;
	font-size: 14px;
	line-height: 1.7;
}

.bilmor-gallery-collection {
	max-width: 904px;
	margin: 0 auto;
	padding: 8px 0 72px;
}

.bilmor-program-gallery {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 4px;
	margin: 0 0 48px;
}

.bilmor-program-gallery:last-child {
	margin-bottom: 0;
}

.bilmor-gallery-item {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: #edf0f2;
}

.bilmor-gallery-item img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 180ms ease, filter 180ms ease;
}

.bilmor-gallery-item:hover img,
.bilmor-gallery-item:focus img {
	transform: scale(1.06);
	filter: saturate(1.08);
}

.bilmor-gallery-item:focus-visible {
	outline: 3px solid #edb300;
	outline-offset: 2px;
	z-index: 1;
}

@media (max-width: 767px) {
	.bilmor-programs-intro { padding: 18px 0 22px; text-align: left; }
	.bilmor-gallery-collection { padding-bottom: 44px; }
	.bilmor-program-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px; margin-bottom: 30px; }
}

/* News & Events. */
.bilmor-news-page,
.bilmor-contact-page {
	background: #fff;
	color: #81878d;
}

.bilmor-section-title {
	padding: 24px 0 16px;
	border-bottom: 4px solid #edb300;
}

.bilmor-section-title h1 {
	margin: 0;
	color: #8b8e92;
	font: 400 clamp(31px, 3.3vw, 48px)/1.2 Arial, sans-serif;
}

.bilmor-news-layout {
	display: grid;
	grid-template-columns: minmax(0, 2.15fr) minmax(240px, .9fr);
	gap: 44px;
	padding: 26px 0 72px;
}

.bilmor-news-card {
	padding: 0 0 28px;
	margin: 0 0 30px;
	border-bottom: 14px solid #f0f1f2;
}

.bilmor-news-card h2 {
	margin: 0 0 14px;
	padding-bottom: 12px;
	border-bottom: 4px solid #edb300;
	font: 400 clamp(25px, 2.7vw, 37px)/1.12 Arial, sans-serif;
}

.bilmor-news-card h2 a { color: #e4a900; }
.bilmor-news-card h2 a:hover,
.bilmor-news-card h2 a:focus { color: #063764; }

.bilmor-news-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 15px;
	margin-bottom: 18px;
	color: #9da2a7;
	font-size: 11px;
	text-transform: uppercase;
}

.bilmor-news-meta span:last-child {
	padding: 3px 8px;
	background: #edb300;
	color: #fff;
}

.bilmor-news-summary {
	display: grid;
	grid-template-columns: minmax(190px, 38%) 1fr;
	gap: 24px;
	align-items: start;
}

.bilmor-news-summary > p:only-child { grid-column: 1 / -1; }
.bilmor-news-summary p { margin: 0; font-size: 14px; line-height: 1.7; }
.bilmor-news-image { display: block; overflow: hidden; background: #eef0f2; }
.bilmor-news-image img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.bilmor-news-video { grid-column: 1 / -1; aspect-ratio: 16 / 9; background: #000; }
.bilmor-news-video iframe { width: 100%; height: 100%; border: 0; }

.bilmor-news-sidebar h2 {
	margin: 0 0 16px;
	padding: 0 0 10px;
	border-bottom: 4px solid #002b58;
	color: #858b91;
	font: 600 16px/1.3 Arial, sans-serif;
}

.bilmor-news-follow {
	display: grid;
	gap: 6px;
	margin-bottom: 42px;
	padding: 18px;
	border: 1px solid #d8dde1;
	background: #f6f8fa;
	color: #274f78;
}

.bilmor-news-follow span { color: #717a82; font-size: 12px; }
.bilmor-latest-news { margin: 0 0 42px; padding: 0; list-style: none; }
.bilmor-latest-news li { display: grid; grid-template-columns: 54px 1fr; gap: 4px 10px; margin-bottom: 14px; }
.bilmor-latest-news img { grid-row: 1 / 3; width: 54px; height: 54px; object-fit: cover; }
.bilmor-latest-news a { color: #d99f00; font-size: 13px; font-weight: 700; line-height: 1.3; }
.bilmor-latest-news time { color: #969ca1; font-size: 11px; }
.bilmor-news-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3px; }
.bilmor-news-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; }

.bilmor-pagination ul { display: flex; flex-wrap: wrap; gap: 5px; margin: 0; padding: 0; list-style: none; }
.bilmor-pagination a,
.bilmor-pagination .current { display: grid; min-width: 31px; min-height: 31px; padding: 5px; place-items: center; background: #e2e4e6; color: #666; }
.bilmor-pagination .current { background: #26333d; color: #fff; }

/* Contact page and native form. */
.bilmor-contact-hero {
	display: grid;
	min-height: 190px;
	margin-top: 18px;
	place-items: center;
	border: 1px solid #dce0e3;
	box-shadow: 0 2px 8px rgba(0, 43, 88, .08);
	background: linear-gradient(135deg, #fbfcfd, #f2f5f7);
}

.bilmor-contact-hero span {
	padding: 12px 18px;
	background: #345577;
	color: #fff;
	font: 400 clamp(24px, 3vw, 38px)/1.2 Arial, sans-serif;
}

.bilmor-contact-info {
	padding: 24px 0 12px;
	text-align: center;
}

.bilmor-contact-info p { font-size: 14px; line-height: 1.7; }
.bilmor-contact-info h3 { color: #858b91; font-size: 17px; }

.bilmor-contact-form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	max-width: 760px;
	margin: 24px auto 36px;
}

.bilmor-contact-form label { display: grid; gap: 7px; color: #616a72; font-size: 13px; }
.bilmor-contact-form .is-wide,
.bilmor-contact-form button { grid-column: 1 / -1; }
.bilmor-contact-form input,
.bilmor-contact-form textarea {
	box-sizing: border-box;
	width: 100%;
	margin: 0;
	padding: 12px 14px;
	border: 1px solid #cbd1d6;
	border-radius: 2px;
	background: #fff;
	color: #27333d;
	font: inherit;
}
.bilmor-contact-form input:focus,
.bilmor-contact-form textarea:focus { outline: 3px solid rgba(237, 179, 0, .28); border-color: #b98b00; }
.bilmor-contact-form button { justify-self: start; padding: 12px 28px; border: 0; background: #002b58; color: #fff; cursor: pointer; font-weight: 700; }
.bilmor-contact-form button:hover,
.bilmor-contact-form button:focus { background: #edb300; color: #002b58; }
.bilmor-honeypot { position: absolute !important; left: -9999px !important; }
.bilmor-form-notice { max-width: 760px; margin: 18px auto; padding: 13px 16px; border-left: 5px solid; }
.bilmor-form-notice.is-success { border-color: #2e7d32; background: #edf7ee; color: #265f29; }
.bilmor-form-notice.is-error { border-color: #b3261e; background: #fff1f0; color: #8b1e18; }
.bilmor-contact-gallery { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 5px; padding: 0 0 72px; }
.bilmor-contact-gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

@media (max-width: 767px) {
	.bilmor-news-layout { grid-template-columns: 1fr; gap: 28px; padding-bottom: 44px; }
	.bilmor-news-summary { grid-template-columns: 1fr; }
	.bilmor-news-sidebar { border-top: 1px solid #d8dde1; padding-top: 28px; }
	.bilmor-contact-hero { min-height: 125px; }
	.bilmor-contact-form { grid-template-columns: 1fr; }
	.bilmor-contact-form .is-wide,
	.bilmor-contact-form button { grid-column: auto; }
	.bilmor-contact-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); padding-bottom: 44px; }
}
