/* Shared visual treatment for About, hours, rules and service charter pages. */
body.msu-context-page-about-info .msu-info-scene {
	--msu-info-ink: #122a3f;
	--msu-info-navy: #0d2942;
	--msu-info-blue: #1a5a8a;
	--msu-info-gold: #f1c866;
	position: relative;
	isolation: isolate;
	width: 100vw;
	max-width: none;
	margin-inline: calc(50% - 50vw);
	padding: clamp(36px, 5vw, 68px) max(var(--gutter, 24px), calc((100vw - var(--container-max, 1400px)) / 2)) clamp(48px, 6vw, 78px);
	background-color: #142e43;
	background-image: var(--msu-info-background-image, url('../images/msu-library-bg.jpg'));
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	color: var(--msu-info-ink);
}

body.msu-context-page-about-info .msu-info-scene__wash {
	position: absolute;
	inset: 0;
	z-index: 0;
	background: linear-gradient(180deg, rgba(8, 29, 46, .73), rgba(12, 39, 59, .84) 46%, rgba(13, 39, 59, .9)), radial-gradient(ellipse at 50% 0%, rgba(26, 90, 138, .28), transparent 60%);
	pointer-events: none;
}

body.msu-context-page-about-info .msu-info-wrap {
	position: relative;
	z-index: 1;
	width: min(100%, var(--container-max, 1400px));
	margin-inline: auto;
}

body.msu-context-page-about-info .msu-info-hero {
	max-width: 880px;
	margin: 0 auto clamp(27px, 3.5vw, 42px);
	text-align: center;
}

body.msu-context-page-about-info .msu-info-hero__eyebrow,
body.msu-context-page-about-info .msu-info-panel__eyebrow {
	margin: 0 0 8px;
	color: #e9bf58;
	font-size: .76rem;
	font-weight: 800;
	letter-spacing: .14em;
	line-height: 1.4;
	text-transform: uppercase;
}

body.msu-context-page-about-info .msu-info-hero h1 {
	margin: 0;
	color: #fff;
	font: 700 clamp(2rem, 4.3vw, 3.45rem)/1.1 var(--serif, Georgia, serif);
	letter-spacing: -.025em;
	text-shadow: 0 3px 18px rgba(0, 0, 0, .23);
}

body.msu-context-page-about-info .msu-info-hero__intro {
	max-width: 760px;
	margin: 15px auto 0;
	color: rgba(255, 255, 255, .92);
	font-size: clamp(1rem, 1.18vw, 1.12rem);
	line-height: 1.65;
}

body.msu-context-page-about-info .msu-info-layout { gap: clamp(20px, 2.8vw, 38px); }
body.msu-context-page-about-info .msu-info-main { display: grid; gap: clamp(18px, 2.2vw, 26px); }

body.msu-context-page-about-info .msu-info-panel,
body.msu-context-page-about-info .msu-hours-card {
	min-width: 0;
	border: 1px solid rgba(255, 255, 255, .76);
	border-radius: 16px;
	background: rgba(255, 255, 255, .97);
	box-shadow: 0 14px 34px rgba(5, 20, 33, .22);
	color: var(--msu-info-ink);
}

@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	body.msu-context-page-about-info .msu-info-panel,
	body.msu-context-page-about-info .msu-hours-card {
		background: rgba(255, 255, 255, .94);
		-webkit-backdrop-filter: blur(8px);
		backdrop-filter: blur(8px);
	}
}

body.msu-context-page-about-info .msu-info-panel { padding: clamp(20px, 2.5vw, 30px); }
body.msu-context-page-about-info .msu-info-panel__heading { margin-bottom: 18px; }
body.msu-context-page-about-info .msu-info-panel h2,
body.msu-context-page-about-info .msu-info-section-heading h2 {
	margin: 0;
	color: var(--msu-info-navy);
	font: 700 clamp(1.35rem, 1.7vw, 1.8rem)/1.25 var(--serif, Georgia, serif);
}
body.msu-context-page-about-info .msu-info-panel__note { margin: 16px 0 0; color: #52697a; font-size: .92rem; line-height: 1.6; }

body.msu-context-page-about-info .msu-info-notice {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 17px 20px;
	border: 1px solid rgba(241, 200, 102, .52);
	border-left: 4px solid #d6a93c;
	border-radius: 13px;
	background: rgba(255, 249, 230, .97);
	box-shadow: 0 10px 25px rgba(5, 20, 33, .16);
	color: var(--msu-info-ink);
}
body.msu-context-page-about-info .msu-info-notice__mark {
	display: grid;
	width: 28px;
	height: 28px;
	flex: 0 0 28px;
	place-items: center;
	border-radius: 50%;
	background: #f4e4b9;
	color: var(--msu-info-navy);
	font-weight: 900;
}
body.msu-context-page-about-info .msu-info-notice strong { display: block; margin: 1px 0 3px; color: var(--msu-info-navy); }
body.msu-context-page-about-info .msu-info-notice p { margin: 0; line-height: 1.55; }
body.msu-context-page-about-info .msu-info-notice--muted { border-color: rgba(255, 255, 255, .5); background: rgba(245, 248, 250, .97); }

body.msu-context-page-about-info .msu-hours-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin: 0;
}
body.msu-context-page-about-info .msu-hours-list__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	min-height: 54px;
	padding: 12px 14px;
	border: 1px solid #e0e7ec;
	border-radius: 10px;
	background: #f7f9fa;
}
body.msu-context-page-about-info .msu-hours-list dt,
body.msu-context-page-about-info .msu-hours-card__schedule dt { color: #455d70; font-size: .9rem; font-weight: 700; }
body.msu-context-page-about-info .msu-hours-list dd,
body.msu-context-page-about-info .msu-hours-card__schedule dd { margin: 0; color: var(--msu-info-navy); font-weight: 800; text-align: right; }

body.msu-context-page-about-info .msu-info-section-heading { margin: 0 0 18px; }
body.msu-context-page-about-info .msu-info-section-heading .msu-info-panel__eyebrow { margin-bottom: 6px; }
body.msu-context-page-about-info .msu-hours-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.7vw, 22px); }
body.msu-context-page-about-info .msu-hours-card {
	display: flex;
	flex-direction: column;
	padding: clamp(19px, 2vw, 25px);
	transition: transform .22s ease, box-shadow .22s ease;
}
body.msu-context-page-about-info .msu-hours-card:hover { transform: translateY(-4px); box-shadow: 0 21px 38px rgba(5, 20, 33, .27); }
body.msu-context-page-about-info .msu-hours-card__index { margin: 0 0 7px; color: #657a8b; font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
body.msu-context-page-about-info .msu-hours-card h3 { margin: 0 0 17px; color: var(--msu-info-navy); font: 700 1.17rem/1.35 var(--serif, Georgia, serif); }
body.msu-context-page-about-info .msu-hours-card__schedule { display: grid; gap: 10px; margin: 0 0 20px; }
body.msu-context-page-about-info .msu-hours-card__schedule > div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 9px; border-bottom: 1px solid #e2e8ec; }
body.msu-context-page-about-info .msu-hours-card__schedule dt { font-size: .82rem; }
body.msu-context-page-about-info .msu-hours-card__schedule dd { font-size: .9rem; }
body.msu-context-page-about-info .msu-hours-branches { margin-top: 4px; }

body.msu-context-page-about-info .msu-info-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 46px;
	padding: 10px 17px;
	border: 1px solid var(--msu-info-blue);
	border-radius: 10px;
	background: var(--msu-info-blue);
	color: #fff;
	font-size: .91rem;
	font-weight: 750;
	line-height: 1.35;
	text-decoration: none;
	transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}
body.msu-context-page-about-info .msu-info-button:hover { transform: translateY(-2px); background: var(--msu-info-navy); color: #fff; box-shadow: 0 8px 18px rgba(13, 41, 66, .18); text-decoration: none; }
body.msu-context-page-about-info .msu-info-button--quiet { align-self: flex-start; min-height: 42px; margin-top: auto; padding: 8px 12px; border-color: #cfdae2; background: #eef4f7; color: var(--msu-info-navy); }
body.msu-context-page-about-info .msu-info-button--quiet:hover { border-color: var(--msu-info-blue); background: var(--msu-info-blue); color: #fff; }
body.msu-context-page-about-info .msu-info-button--outline { border-color: rgba(255, 255, 255, .72); background: rgba(13, 41, 66, .66); color: #fff; }
body.msu-context-page-about-info .msu-info-button--outline:hover { background: var(--msu-info-blue); }
body.msu-context-page-about-info .msu-info-related { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2px; }
body.msu-context-page-about-info .msu-info-button:focus-visible,
body.msu-context-page-about-info .msu-info-document a:focus-visible { outline: 3px solid #f1c866; outline-offset: 3px; }

/* Rules remain the original ordered list; the list items receive individual reading surfaces. */
body.msu-context-page-about-info .msu-info-document--rules { color: #fff; }
body.msu-context-page-about-info .msu-info-document--rules > .elementor,
body.msu-context-page-about-info .msu-info-document--charter > .elementor,
body.msu-context-page-about-info .msu-about-editorial > .elementor {
	width: 100%;
	max-width: 100%;
	min-width: 0;
}
body.msu-context-page-about-info .msu-info-document--rules .elementor-section {
	margin: 0 0 16px;
	padding: 0;
	border: 0;
	background: transparent !important;
	background-image: none !important;
	box-shadow: none;
}
body.msu-context-page-about-info .msu-info-document--rules .elementor-background-overlay { display: none !important; }
body.msu-context-page-about-info .msu-info-document--rules .elementor-container { display: block; width: 100%; max-width: 100%; }
body.msu-context-page-about-info .msu-info-document--rules .elementor-column { width: 100% !important; }
body.msu-context-page-about-info .msu-info-document--rules .elementor-column:has(> .elementor-widget-wrap:not(.elementor-element-populated)),
body.msu-context-page-about-info .msu-info-document--rules .elementor-section:not(:has(.elementor-widget-wrap.elementor-element-populated)) { display: none !important; }
body.msu-context-page-about-info .msu-info-document--rules h2 {
	margin: 0 0 17px;
	color: #fff;
	font: 700 clamp(1.35rem, 1.7vw, 1.8rem)/1.25 var(--serif, Georgia, serif);
	text-shadow: 0 2px 10px rgba(0, 0, 0, .22);
}
body.msu-context-page-about-info .msu-info-document--rules .elementor-heading-title { color: #fff !important; }
body.msu-context-page-about-info .msu-info-document--rules h2 + nav {
	margin: 0 0 24px;
	padding: 16px;
	border: 1px solid rgba(255, 255, 255, .68);
	border-radius: 14px;
	background: rgba(255, 255, 255, .96);
	box-shadow: 0 11px 26px rgba(5, 20, 33, .18);
}
body.msu-context-page-about-info .msu-info-document--rules nav ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
body.msu-context-page-about-info .msu-info-document--rules nav li { margin: 0; }
body.msu-context-page-about-info .msu-info-document--rules nav a { display: inline-flex; min-height: 40px; align-items: center; padding: 8px 12px; border-radius: 8px; background: #eef4f7; color: var(--msu-info-navy); font-size: .88rem; font-weight: 700; text-decoration: none; }
body.msu-context-page-about-info .msu-info-document--rules nav a:hover { background: #dfeaf0; text-decoration: underline; }
body.msu-context-page-about-info .msu-info-document--rules ol {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 13px;
	margin: 0;
	padding: 0;
	list-style-position: inside;
}
body.msu-context-page-about-info .msu-info-document--rules ol > li {
	min-width: 0;
	margin: 0;
	padding: 17px 18px;
	border: 1px solid rgba(255, 255, 255, .76);
	border-radius: 13px;
	background: rgba(255, 255, 255, .97);
	box-shadow: 0 10px 24px rgba(5, 20, 33, .18);
	color: var(--msu-info-ink);
	font-size: .95rem;
	line-height: 1.6;
}
body.msu-context-page-about-info .msu-info-document--rules ol > li::marker { color: var(--msu-info-blue); font-weight: 900; }

/* Charter commitments and approved language download links stay in page content. */
body.msu-context-page-about-info .msu-info-document--charter { color: var(--msu-info-ink); }
body.msu-context-page-about-info .msu-info-document--charter .elementor-section {
	margin: 0 0 15px;
	padding: 0;
	border: 0;
	background: transparent !important;
	background-image: none !important;
	box-shadow: none;
}
body.msu-context-page-about-info .msu-info-document--charter .elementor-background-overlay { display: none !important; }
body.msu-context-page-about-info .msu-info-document--charter .elementor-container { width: 100%; max-width: 100%; }
body.msu-context-page-about-info .msu-info-document--charter .elementor-column-gap-default > .elementor-column > .elementor-element-populated { padding: 0 9px; }
body.msu-context-page-about-info .msu-info-document--charter .elementor-widget-heading > .elementor-widget-container,
body.msu-context-page-about-info .msu-info-document--charter .elementor-widget-text-editor > .elementor-widget-container {
	padding: 18px 20px;
	border: 1px solid rgba(255, 255, 255, .78);
	border-radius: 13px;
	background: rgba(255, 255, 255, .97);
	box-shadow: 0 10px 24px rgba(5, 20, 33, .18);
}
body.msu-context-page-about-info .msu-info-document--charter .elementor-heading-title { color: var(--msu-info-navy) !important; text-shadow: none; }
body.msu-context-page-about-info .msu-info-document--charter .elementor-widget-text-editor { color: var(--msu-info-ink) !important; }
body.msu-context-page-about-info .msu-info-document--charter .elementor-widget-call-to-action { display: none; }
body.msu-context-page-about-info .msu-info-document--charter .elementor-section:has(.elementor-widget-call-to-action) { display: none !important; }
body.msu-context-page-about-info .msu-info-document--charter .htmega-call-to-action {
	display: flex;
	height: 100%;
	align-items: center;
	justify-content: center;
	padding: 18px 14px;
	border: 1px solid rgba(255, 255, 255, .8);
	border-radius: 14px;
	background: rgba(255, 255, 255, .97);
	box-shadow: 0 11px 25px rgba(5, 20, 33, .19);
}
body.msu-context-page-about-info .msu-info-document--charter .htmega-content { display: flex; width: 100%; flex-direction: column; align-items: center; gap: 11px; }
body.msu-context-page-about-info .msu-info-document--charter .htmega-calltoaction-description { margin: 0; color: var(--msu-info-navy); font-weight: 750; line-height: 1.45; text-align: center; }
body.msu-context-page-about-info .msu-info-document--charter h2 {
	margin: 0 0 17px;
	color: var(--msu-info-navy);
	font: 700 clamp(1.35rem, 1.7vw, 1.8rem)/1.25 var(--serif, Georgia, serif);
	text-shadow: none;
}
body.msu-context-page-about-info .msu-info-document--charter h4,
body.msu-context-page-about-info .msu-info-document--charter > p,
body.msu-context-page-about-info .msu-info-document--charter > div {
	margin: 0 0 14px;
	padding: 18px 20px;
	border: 1px solid rgba(255, 255, 255, .78);
	border-radius: 13px;
	background: rgba(255, 255, 255, .97);
	box-shadow: 0 10px 24px rgba(5, 20, 33, .18);
}
body.msu-context-page-about-info .msu-info-document--charter h4 { color: var(--msu-info-navy); font-size: 1.08rem; }
body.msu-context-page-about-info .msu-info-document--charter a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	margin: 4px 8px 9px 0;
	padding: 9px 15px;
	border: 1px solid var(--msu-info-blue);
	border-radius: 9px;
	background: var(--msu-info-blue);
	color: #fff;
	font-weight: 750;
	text-decoration: none;
}
body.msu-context-page-about-info .msu-info-document--charter a:hover { background: var(--msu-info-navy); text-decoration: underline; }

/* About: the page body remains WordPress-rendered; each existing builder section floats separately. */
body.msu-context-page-about-info .msu-info-document--about { line-height: 1.72; }
body.msu-context-page-about-info .msu-about-editorial { display: grid; gap: 17px; overflow: visible; }
body.msu-context-page-about-info .msu-about-editorial .elementor-section {
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent !important;
	background-image: none !important;
	box-shadow: none;
}
body.msu-context-page-about-info .msu-about-editorial .elementor-background-overlay { display: none !important; }
body.msu-context-page-about-info .msu-about-editorial .elementor > .elementor-section.elementor-top-section {
	padding: clamp(19px, 2.4vw, 28px);
	border: 1px solid rgba(255, 255, 255, .78);
	border-radius: 16px;
	background: rgba(255, 255, 255, .96) !important;
	box-shadow: 0 14px 32px rgba(5, 20, 33, .2);
}
body.msu-context-page-about-info .msu-about-editorial .elementor-container { width: 100%; max-width: 100%; }
body.msu-context-page-about-info .msu-about-editorial .elementor-column-gap-default > .elementor-column > .elementor-element-populated { padding: 0 12px; }
body.msu-context-page-about-info .msu-about-editorial .elementor-heading-title { color: var(--msu-info-navy) !important; text-shadow: none; }
body.msu-context-page-about-info .msu-about-editorial .elementor-invisible { visibility: visible !important; animation: none !important; }
body.msu-context-page-about-info .msu-about-editorial .msu-about-profile {
	margin-top: 16px;
	padding: 16px;
	border: 1px solid #dce5ea;
	border-radius: 12px;
	background: #f5f8fa;
}
body.msu-context-page-about-info .msu-about-editorial .msu-about-profile h3 { margin: 0 0 10px; color: var(--msu-info-navy); font: 700 1.15rem/1.3 var(--serif, Georgia, serif); }
body.msu-context-page-about-info .msu-about-editorial .msu-about-profile p:last-child { margin-bottom: 0; }
body.msu-context-page-about-info .msu-about-editorial h2 {
	margin: 0 0 18px;
	padding-bottom: 12px;
	border-bottom: 2px solid #ead08e;
	color: var(--msu-info-navy);
	font: 700 clamp(1.35rem, 1.7vw, 1.8rem)/1.25 var(--serif, Georgia, serif);
}
body.msu-context-page-about-info .msu-about-editorial h2:not(:first-child) { margin-top: 32px; }
body.msu-context-page-about-info .msu-about-editorial img { max-width: 100%; height: auto; border-radius: 12px; box-shadow: 0 10px 24px rgba(13, 41, 66, .16); }
body.msu-context-page-about-info .msu-about-editorial p { max-width: 78ch; color: #43596a; }
body.msu-context-page-about-info .msu-about-editorial a { color: var(--msu-info-blue); font-weight: 700; text-underline-offset: 3px; }
body.msu-context-page-about-info .msu-about-editorial ul { padding-left: 1.4em; }
body.msu-context-page-about-info .msu-about-vm { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 1.7vw, 22px); }
body.msu-context-page-about-info .msu-about-vm__card { border-top: 3px solid #d7b253; }
body.msu-context-page-about-info .msu-about-vm__card h2 { margin-bottom: 13px; }
body.msu-context-page-about-info .msu-about-vm__card p:last-child { margin: 0; font-size: 1.03rem; line-height: 1.67; }
body.msu-context-page-about-info .msu-about-vm__card--accent { border-color: #d7b253; background: rgba(13, 41, 66, .96); color: #fff; }
body.msu-context-page-about-info .msu-about-vm__card--accent h2 { color: #fff; }
body.msu-context-page-about-info .msu-about-vm__card--accent p:last-child { color: rgba(255, 255, 255, .9); }
body.msu-context-page-about-info .msu-about-list-panel > h2 { margin-bottom: 18px; }
body.msu-context-page-about-info .msu-about-goals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
body.msu-context-page-about-info .msu-about-goals li { margin: 0; padding: 14px 15px; border-left: 3px solid var(--msu-info-blue); border-radius: 0 9px 9px 0; background: #f1f5f7; line-height: 1.5; }
body.msu-context-page-about-info .msu-about-values { display: flex; flex-wrap: wrap; gap: 9px; margin: 0; padding: 0; list-style: none; }
body.msu-context-page-about-info .msu-about-values li { margin: 0; padding: 9px 13px; border: 1px solid #e9d594; border-radius: 999px; background: #fbf6e8; color: var(--msu-info-navy); font-size: .9rem; font-weight: 750; }

@media (min-width: 1100px) {
	body.msu-context-page-about-info .msu-info-scene { background-attachment: fixed; }
}

@media (max-width: 1024px) {
	body.msu-context-page-about-info .msu-hours-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 899px) {
	body.msu-context-page-about-info .msu-info-scene { width: 100%; margin-inline: 0; padding: 36px 18px 48px; background-attachment: scroll; }
	body.msu-context-page-about-info .msu-info-hero { margin-bottom: 25px; }
	body.msu-context-page-about-info .msu-info-layout { gap: 17px; }
}

@media (max-width: 680px) {
	body.msu-context-page-about-info .msu-hours-grid,
	body.msu-context-page-about-info .msu-hours-list,
	body.msu-context-page-about-info .msu-info-document--rules ol,
	body.msu-context-page-about-info .msu-about-vm,
	body.msu-context-page-about-info .msu-about-goals { grid-template-columns: minmax(0, 1fr); }
	body.msu-context-page-about-info .msu-info-panel { padding: 19px; }
	body.msu-context-page-about-info .msu-hours-card { box-shadow: 0 8px 20px rgba(5, 20, 33, .16); }
	body.msu-context-page-about-info .msu-hours-card:hover { transform: translateY(-2px); }
	body.msu-context-page-about-info .msu-info-related { display: grid; grid-template-columns: minmax(0, 1fr); }
	body.msu-context-page-about-info .msu-info-related .msu-info-button { width: 100%; }
	body.msu-context-page-about-info .msu-info-document--charter a { min-height: 46px; }
	body.msu-context-page-about-info .msu-info-document--charter .elementor-column { width: 100% !important; }
}

@media (prefers-reduced-motion: reduce) {
	body.msu-context-page-about-info .msu-hours-card,
	body.msu-context-page-about-info .msu-info-button { transition: none; }
	body.msu-context-page-about-info .msu-hours-card:hover,
	body.msu-context-page-about-info .msu-info-button:hover { transform: none; }
}
