﻿/*
 * Phoenix.css — site-specific layout and component styles.
 *
 * Color inheritance (_Layout.cshtml load order):
 *   1. pelican.css    — Bootstrap + Pelican; maps --bs-* to --theme-*
 *   2. ogb_theme.css  — OGB palette and semantic tokens in :root
 *   3. bg-texture.css — background textures
 *   4. phoenix.css    — this file; consumes var(--theme-*) / var(--bs-*), no :root palette
 */

.sticky-header {
	position: sticky;
	top: 0;
	z-index: 10;
}

/* Official .gov banner — slim glass bar above the nav, styled to match the navbar */
.official-banner {
	position: relative;
	z-index: 101;
	padding-top: 0.1rem;
	padding-bottom: 0.1rem;
	line-height: 1.2;
	background-color: rgba(0, 36, 64, 0.8);
	backdrop-filter: blur(20px) saturate(165%);
	-webkit-backdrop-filter: blur(20px) saturate(165%);
	border-color: transparent !important;
	color: var(--theme-gray-white);
}

.official-banner .container {
	padding-top: 0.1rem;
	padding-bottom: 0.1rem;
}

.official-banner .row.align-items-center {
	min-height: 1.5rem;
}

.official-banner p {
	margin-bottom: 0;
	font-size: 0.82rem;
}

.official-banner .img-official {
	width: 18px;
	height: 18px;
}

.official-banner .btn.expander {
	padding-top: 0;
	padding-bottom: 0;
	font-size: 0.82rem;
}

body:has(.home-page) .official-banner {
	background-color: rgba(0, 36, 64, 0.28);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	.official-banner {
		background-color: rgba(0, 36, 64, 0.95);
	}
}

/* Site-wide nav — glass bar; home adds hero overlap + scroll-to-white */
.site-nav-header {
	z-index: 100;
	transition: box-shadow 0.2s ease-in-out;
}

.site-nav-header .navbar.navbar-iconic {
	background-color: rgba(0, 36, 64, 0.8);
	backdrop-filter: blur(20px) saturate(165%);
	-webkit-backdrop-filter: blur(20px) saturate(165%);
	border-top: 2px solid rgba(255, 255, 255, 0.9);
	border-bottom: 2px solid rgba(255, 255, 255, 0.9);
	box-shadow: 0 6px 22px rgba(0, 36, 64, 0.28);
	padding-top: 0.35rem;
	padding-bottom: 0.35rem;
	transition:
		background-color 0.2s ease-in-out,
		border-color 0.2s ease-in-out,
		box-shadow 0.2s ease-in-out;
}

body:has(.home-page) .site-nav-header {
	margin-bottom: -5.5rem;
}

body:has(.home-page) .site-nav-header .navbar.navbar-iconic {
	background-color: rgba(0, 36, 64, 0.28);
	box-shadow: none;
}

body:has(.home-page) .site-nav-header.is-scrolled .navbar.navbar-iconic {
	background-color: var(--theme-gray-white);
	border-top-color: transparent;
	border-bottom: 1px solid rgba(0, 36, 64, 0.12);
	box-shadow: 0 4px 18px rgba(0, 36, 64, 0.1);
}

.navbar-home-shell {
	align-items: center;
}

.navbar-ogb-brand {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	padding: 0.35rem 0;
	margin-right: 0;
}

.navbar-ogb-logo {
	display: block;
	width: auto;
	height: 2.75rem;
	max-width: 11rem;
}

.navbar-ogb-logo--light {
	display: block;
}

.navbar-ogb-logo--dark {
	display: none;
}

.navbar-brand-divider {
	flex-shrink: 0;
	align-self: center;
	width: 2px;
	height: 2.75rem;
	margin: 0 1.25rem 0 0;
	background-color: rgba(255, 255, 255, 0.9);
}

body:has(.home-page) .site-nav-header.is-scrolled .navbar-ogb-logo--light {
	display: none;
}

body:has(.home-page) .site-nav-header.is-scrolled .navbar-ogb-logo--dark {
	display: block;
}

body:has(.home-page) .site-nav-header.is-scrolled .navbar-brand-divider {
	background-color: rgba(0, 36, 64, 0.22);
}

@media (min-width: 992px) {
	/* Beat Bootstrap `.navbar > .container-xl { display: block }` */
	.site-nav-header .navbar > .navbar-home-shell {
		display: flex;
		flex-wrap: nowrap;
		align-items: center;
	}

	.site-nav-header .navbar > .navbar-home-shell .navbar-collapse {
		display: flex !important;
		flex: 1 1 auto;
		align-items: center;
		min-width: 0;
		flex-wrap: nowrap;
	}

	.site-nav-header .navbar.navbar-iconic .navbar-icon-links.navbar-home-links {
		flex: 1 1 auto;
		justify-content: flex-start;
		gap: 0.25rem;
		margin-left: 0.5rem;
		min-width: 0;
		flex-wrap: nowrap;
	}

	.site-nav-header .navbar.navbar-iconic .navbar-icon-links.navbar-home-links .nav-item {
		flex: 0 0 auto;
		width: auto;
		max-width: none;
		margin-left: 0;
	}
}

.navbar-home-links .nav-link {
	text-transform: uppercase;
	letter-spacing: 0.07em;
	font-size: 0.82rem;
	font-weight: 600;
	padding-top: 1rem;
	padding-bottom: 1rem;
}

.site-nav-header .navbar.navbar-iconic .navbar-toggler,
.site-nav-header .navbar.navbar-iconic .navbar-icon-links .nav-link,
.site-nav-header .navbar.navbar-iconic .navbar-icon-links .nav-link .icon,
.site-nav-header .nav-user-greeting {
	color: var(--theme-gray-white);
}

.site-nav-header .navbar.navbar-iconic .navbar-icon-links .nav-item:hover .nav-link,
.site-nav-header .navbar.navbar-iconic .navbar-icon-links .nav-item:active .nav-link {
	background-color: rgba(255, 255, 255, 0.12);
}

.site-nav-header .navbar.navbar-iconic .navbar-icon-links .nav-item:hover .icon-link-border-bottom,
.site-nav-header .navbar.navbar-iconic .navbar-icon-links .nav-item:active .icon-link-border-bottom {
	background-color: var(--theme-accent);
}

.site-nav-header .navbar.navbar-iconic .navbar-icon-links .nav-link.active {
	background-color: rgba(255, 255, 255, 0.14) !important;
	color: var(--theme-gray-white) !important;
	opacity: 1;
}

.site-nav-header .navbar.navbar-iconic .navbar-icon-links .nav-link.active .icon {
	color: var(--theme-gray-white);
	opacity: 1;
}

.site-nav-header .navbar.navbar-iconic .navbar-icon-links .nav-link.active + .icon-link-border-bottom {
	background-color: var(--theme-accent);
}

body:has(.home-page) .site-nav-header.is-scrolled .navbar.navbar-iconic .navbar-toggler,
body:has(.home-page) .site-nav-header.is-scrolled .navbar.navbar-iconic .navbar-icon-links .nav-link,
body:has(.home-page) .site-nav-header.is-scrolled .navbar.navbar-iconic .navbar-icon-links .nav-link .icon,
body:has(.home-page) .site-nav-header.is-scrolled .nav-user-greeting {
	color: var(--theme-primary-900);
}

body:has(.home-page) .site-nav-header.is-scrolled .navbar.navbar-iconic .navbar-icon-links .nav-link.active {
	background-color: rgba(0, 89, 151, 0.1) !important;
	color: var(--theme-primary-900) !important;
}

body:has(.home-page) .site-nav-header.is-scrolled .navbar.navbar-iconic .navbar-icon-links .nav-link.active .icon {
	color: var(--theme-primary-900);
}

body:has(.home-page) .site-nav-header.is-scrolled .navbar.navbar-iconic .navbar-icon-links .nav-link.active + .icon-link-border-bottom {
	background-color: var(--theme-primary-700);
}

.site-nav-header .nav-login-btn.btn-accent {
	--bs-btn-color: var(--theme-gray-white);
	--bs-btn-bg: transparent;
	--bs-btn-border-color: rgba(255, 255, 255, 0.75);
	--bs-btn-hover-color: var(--theme-gray-white);
	--bs-btn-hover-bg: rgba(255, 255, 255, 0.12);
	--bs-btn-hover-border-color: var(--theme-gray-white);
	--bs-btn-active-color: var(--theme-gray-white);
	--bs-btn-active-bg: rgba(255, 255, 255, 0.18);
	--bs-btn-active-border-color: var(--theme-gray-white);
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.75);
	color: var(--theme-gray-white);
}

.site-nav-header .nav-login-btn.btn-accent:hover,
.site-nav-header .nav-login-btn.btn-accent:focus-visible {
	background: rgba(255, 255, 255, 0.12);
	border-color: var(--theme-gray-white);
	color: var(--theme-gray-white);
}

body:has(.home-page) .site-nav-header.is-scrolled .nav-login-btn {
	background: transparent;
	border: 1px solid rgba(0, 36, 64, 0.28);
	color: var(--theme-primary-900);
}

body:has(.home-page) .site-nav-header.is-scrolled .nav-login-btn:hover,
body:has(.home-page) .site-nav-header.is-scrolled .nav-login-btn:focus-visible {
	background: rgba(0, 36, 64, 0.06);
	border-color: var(--theme-primary-900);
	color: var(--theme-primary-900);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	.site-nav-header .navbar.navbar-iconic {
		background-color: rgba(0, 36, 64, 0.95);
	}

	body:has(.home-page) .site-nav-header.is-scrolled .navbar.navbar-iconic {
		background-color: var(--theme-gray-white);
	}
}

.hero {
	position: relative;
	width: 100%;
	min-height: 100vh;
	background-position: center;
	overflow: hidden;
}

.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.hero > * {
	position: relative;
	z-index: 2;
}

/* Navy canvas so hero imagery never shows past footer or in overscroll */
html:has(.home-page),
body.page-home {
	background-color: var(--theme-primary-950);
}

body.page-home main {
	background-color: var(--theme-primary-950);
}

.home-page {
	position: relative;
	background-color: var(--theme-primary-950);
	overflow: clip;
}

.hero.home-hero {
	min-height: 85vh;
	min-height: 85dvh;
	overflow: hidden;
	background-color: var(--theme-primary-950);
	background-image: none;
	isolation: isolate;
	contain: paint;
}

.hero.home-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	background-image: var(--home-hero-bg, none);
	background-size: cover;
	background-position: right;
	background-repeat: no-repeat;
	pointer-events: none;
}

.hero.home-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: rgba(0, 24, 48, 0.2);
	pointer-events: none;
}

.home-hero-banner {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: flex-start;
	width: 100%;
	min-height: 85vh;
	min-height: 85dvh;
	padding: 8.5rem 0 2.5rem;
	box-sizing: border-box;
}

.home-hero-inner {
	width: 100%;
	display: flex;
	justify-content: center;
}

.home-hero-panel {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: flex-start;
	gap: clamp(1.25rem, 2.5vw, 1.85rem);
	width: 100%;
	max-width: 72rem;
	margin-inline: auto;
	padding-top: clamp(2.5rem, 6vh, 4.5rem);
	text-align: left;
}

.home-hero-main-row {
	display: flex;
	align-items: center;
	justify-content: left;
	gap: clamp(0.625rem, 1.25vw, 1rem);
	width: 100%;
}

.home-hero-brand {
	flex: 0 0 auto;
	margin: 0;
}

.home-hero-logo-expanded {
	display: block;
	width: clamp(28rem, 55vw, 48rem);
	max-width: 100%;
	height: auto;
	filter: brightness(0) invert(1);
}

.home-hero-account {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 0.85rem;
	margin-bottom: 0;
	flex: 0 0 auto;
	width: auto;
	max-width: 18rem;
	text-align: right;
}

.home-hero-banner::before {
	content: none;
}

.home-hero-banner > .home-hero-inner,
.home-hero-banner > .home-hero-scroll-btn {
	position: relative;
	z-index: 3;
}

.home-hero-create-account {
	padding: 0.9rem 1.75rem;
	font-size: 0.9rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--theme-gray-white);
	background: transparent;
	border: 2px solid rgba(255, 255, 255, 0.92);
	border-radius: 0;
	transition:
		background-color 0.2s ease,
		border-color 0.2s ease,
		transform 0.2s ease;
}

.home-hero-create-account:hover,
.home-hero-create-account:focus-visible {
	color: var(--theme-primary-950);
	background-color: var(--theme-gray-white);
	border-color: var(--theme-gray-white);
	transform: translateY(-1px);
}

.home-hero-signin-prompt {
	font-size: 1rem;
	font-weight: 500;
	opacity: 0.92;
}

.home-hero-portal-login {
	padding: 0.65rem 1.35rem;
	font-size: 0.95rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-transform: none;
	color: var(--theme-gray-white);
	background: rgba(255, 255, 255, 0.14);
	border: 1px solid rgba(255, 255, 255, 0.55);
	border-radius: 0;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	transition:
		background-color 0.2s ease,
		border-color 0.2s ease,
		transform 0.2s ease;
}

.home-hero-portal-login:hover,
.home-hero-portal-login:focus-visible {
	color: var(--theme-gray-white);
	background: rgba(255, 255, 255, 0.24);
	border-color: var(--theme-gray-white);
	transform: translateY(-1px);
}

.home-hero-scroll-btn {
	position: absolute;
	bottom: 1.75rem;
	left: 50%;
	z-index: 4;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	color: var(--theme-gray-white);
	text-decoration: none;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.65);
	border-radius: 50%;
	transform: translateX(-50%);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	transition:
		background-color 0.2s ease,
		border-color 0.2s ease,
		transform 0.2s ease;
	animation: home-hero-scroll-bounce 2s ease-in-out infinite;
}

.home-hero-scroll-btn:hover,
.home-hero-scroll-btn:focus-visible {
	color: var(--theme-gray-white);
	background: rgba(255, 255, 255, 0.22);
	border-color: var(--theme-gray-white);
	transform: translateX(-50%) translateY(2px);
}

.home-hero-scroll-btn-icon {
	font-size: 1rem;
	line-height: 1;
}

@keyframes home-hero-scroll-bounce {
	0%, 100% { transform: translateX(-50%) translateY(0); }
	50% { transform: translateX(-50%) translateY(6px); }
}

.home-hero-search {
	width: 100%;
	max-width: none;
	margin: 0;
	padding-top: clamp(1rem, 2vw, 1.35rem);
	border-top: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 0;
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}

.home-hero-search .input-group-text,
.home-hero-search .form-control {
	border-radius: 0 !important;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}

.home-hero-search .input-group-text {
	border-right: 0;
}

.home-hero-search .form-control {
	border-left: 0;
}

.home-hero-search .form-control:focus {
	box-shadow: none;
}

body.page-home .footer.footer-utility,
main:has(.home-page) + .footer.footer-utility {
	position: relative;
	z-index: 5;
	isolation: isolate;
	border-top: 3px solid var(--theme-accent);
	background-color: var(--theme-primary-950, var(--theme-footer-utility-bg-color)) !important;
}

/* Services + News — two-column layout on a white section */
.home-main-band {
	padding: 2.5rem 0 4rem;
	background: var(--theme-gray-white);
}

.home-main-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.85fr) minmax(280px, 1fr);
	gap: clamp(1.75rem, 3.5vw, 3.5rem);
}

.home-services-col {
	min-width: 0;
}

.home-service-rows {
	display: flex;
	flex-direction: column;
	gap: .5rem;
	width: 100%;
}

.home-service-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	width: 100%;
	min-height: clamp(120px, 15vw, 168px);
	color: var(--theme-gray-white);
	text-decoration: none;
	position: relative;
	overflow: hidden;
	box-shadow: 0 6px 18px rgba(0, 36, 64, 0.12);
	transition:
		transform 0.35s ease,
		box-shadow 0.4s ease;
}

.home-service-row:hover,
.home-service-row:focus-visible {
	transform: translateY(-6px);
	box-shadow: 0 18px 40px rgba(0, 36, 64, 0.25);
	z-index: 1;
}

.home-service-row:focus-visible {
	outline: 2px solid var(--theme-accent);
	outline-offset: 2px;
}

.home-service-row--reverse .home-service-row-media {
	order: 2;
}

.home-service-row--reverse .home-service-row-body {
	order: 1;
}

.home-service-row-media {
	position: relative;
	display: block;
	overflow: hidden;
	min-height: clamp(120px, 15vw, 168px);
	background-color: var(--theme-primary-800);
}

.home-service-row-media__image {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	min-height: clamp(120px, 15vw, 168px);
	background-color: var(--theme-primary-800);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	transition: transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	will-change: transform;
}

.home-service-row-media__image::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to bottom,
		transparent 55%,
		rgba(0, 36, 64, 0.35) 100%
	);
	pointer-events: none;
	transition: opacity 0.4s ease;
}

.home-service-row:hover .home-service-row-media__image,
.home-service-row:focus-visible .home-service-row-media__image {
	transform: scale(1.06);
}

.home-service-row:hover .home-service-row-media__image::after,
.home-service-row:focus-visible .home-service-row-media__image::after {
	opacity: 0.85;
}

.home-service-row-body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.4rem;
	padding: clamp(1.1rem, 2vw, 1.6rem) clamp(1.25rem, 2.5vw, 2rem);
	background: linear-gradient(to right, var(--theme-primary-950), var(--theme-primary-900));
	border-left: 4px solid var(--theme-accent);
	transition:
		background-color 0.35s ease,
		border-color 0.35s ease;
}

.home-service-row--reverse .home-service-row-body {
	border-left: none;
	border-right: 4px solid transparent;
}

.home-service-row-title {
	display: block;
	font-size: clamp(1.05rem, 1.6vw, 1.35rem);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	transition: color 0.35s ease;
}

.home-service-row-text {
	display: block;
	max-width: 36ch;
	font-size: clamp(0.85rem, 1.1vw, 0.95rem);
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.9);
}

.home-service-row:hover .home-service-row-body,
.home-service-row:focus-visible .home-service-row-body {
	background: var(--theme-primary-900);
	border-left-color: var(--theme-accent);
}

.home-service-row--reverse:hover .home-service-row-body,
.home-service-row--reverse:focus-visible .home-service-row-body {
	border-right-color: var(--theme-accent);
	border-left-color: transparent;
}

.home-service-row:hover .home-service-row-title,
.home-service-row:focus-visible .home-service-row-title {
	color: var(--theme-accent-200);
}

.home-news-col {
	min-width: 0;
}

.home-news-sticky {
	position: sticky;
	top: 6.5rem;
}

.home-announcements-panel .vendor-nav-card {
	background: transparent;
	border: none;
	box-shadow: none !important;
}

.home-announcements-panel .card-body {
	padding: 0;
}

.home-announcements-panel ul {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
}

.home-announcements-panel li.border-bottom {
	margin: 0 !important;
	padding: 1rem 1.15rem !important;
	background: linear-gradient(135deg, var(--theme-primary-900) 0%, var(--theme-primary-950) 100%);
	background-size: 200% 200%;
	background-position: 0% 0%;
	border: 1px solid rgba(255, 255, 255, 0.08) !important;
	border-left: 3px solid var(--theme-accent) !important;
	border-radius: 0;
	box-shadow: 0 4px 14px rgba(0, 36, 64, 0.18);
	transition:
		transform 0.35s ease,
		box-shadow 0.4s ease,
		background-position 0.6s ease;
}

.home-announcements-panel li.border-bottom:hover {
	transform: translateY(-4px);
	background-position: 100% 100%;
	box-shadow: 0 16px 34px rgba(0, 36, 64, 0.3);
}

.home-announcements-panel .text-muted {
	color: rgba(255, 255, 255, 0.72) !important;
}

.home-announcements-panel .phoenix-link {
	color: var(--theme-gray-white);
	font-weight: 600;
}

.home-announcements-panel .phoenix-link:hover {
	color: var(--theme-accent-200);
}

.home-announcements-panel .btn-outline-primary {
	border-radius: 0;
}

@media (max-width: 991.98px) {
	.site-nav-header .navbar-home-actions {
		width: 100%;
		padding-top: 0.75rem;
	}

	.home-main-grid {
		grid-template-columns: 1fr;
		gap: 2.5rem;
	}

	.home-news-sticky {
		position: static;
		top: auto;
	}
}

@media (max-width: 575.98px) {
	body:has(.home-page) .site-nav-header {
		margin-bottom: -4rem;
	}

	.home-hero-banner {
		min-height: 88vh;
		min-height: 88dvh;
		padding: 6.5rem 0 2rem;
	}

	.home-hero-main-row {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.home-hero-brand {
		width: 100%;
	}

	.home-hero-logo-expanded {
		width: min(100%, 36rem);
		margin-inline: auto;
	}

	.home-hero-account {
		align-items: center;
		max-width: none;
		width: 100%;
		text-align: center;
	}

	.home-hero-create-account,
	.home-hero-portal-login {
		width: 100%;
		text-align: center;
	}

	.home-main-band {
		padding: 2.75rem 0 3rem;
	}

	.home-service-row,
	.home-service-row--reverse {
		grid-template-columns: 1fr;
		min-height: unset;
	}

	.home-service-row--reverse .home-service-row-media,
	.home-service-row--reverse .home-service-row-body {
		order: unset;
	}

	.home-service-row-media {
		min-height: 160px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.home-service-row,
	.home-service-row-media__image,
	.home-service-row:hover,
	.home-service-row:focus-visible,
	.home-service-row:hover .home-service-row-media__image,
	.home-service-row:focus-visible .home-service-row-media__image {
		transform: none;
	}

	.home-announcements-panel li.border-bottom,
	.home-announcements-panel li.border-bottom:hover {
		transform: none;
		background-position: 0% 0%;
	}
}

.container.floating-container {
	padding: 1.5rem 1rem;
	min-height: 100vh;
	border-radius: 0;
	border: none;
	background-color: transparent;
}

/* Public info pages (Benefits, Resources, About OGB) */
body:has(.info-page),
body:has(.info-page) main#main {
	background-color: var(--theme-gray-white);
}

.hero.info-page {
	background-color: var(--theme-gray-white);
	background-image: none;
	overflow: visible;
	min-height: 0;
}

/* Sticky nav sidebar — .hero overflow:hidden breaks position:sticky */
.info-page aside > nav {
	align-self: flex-start;
}

@media (min-width: 768px) {
	.info-page aside > nav.position-sticky {
		top: 5.5rem;
		z-index: 5;
		max-height: calc(100vh - 5.5rem - 1rem);
		overflow-y: auto;
		overscroll-behavior: contain;
		scrollbar-gutter: stable;
	}
}

@media (max-width: 767.98px) {
	.info-page aside > nav.position-sticky {
		position: static !important;
	}
}

.info-page .member-nav-toggle-icon {
	transition: transform 0.2s ease-in-out;
}

.info-page button.collapsed .member-nav-toggle-icon {
	transform: rotate(-90deg);
}

.hero.info-page.info-page-member {
    display: grid;
    align-items: start; 
}

.hero.info-page.info-page-member > .container.floating-container {
    grid-area: 1 / 1;
    position: relative;
    z-index: 2;
}

.hero.info-page.info-page-member::before {
    content: "";
    grid-area: 1 / 1; 
    
    position: sticky;
    top: 20vh; 

    justify-self: start;
    margin-left: 8%;
    width: min(32rem, 42vw);
    height: min(32rem, 42vw);
    
    margin-bottom: 6rem; 
    
    background: var(--watermark-url) no-repeat center / contain;
    pointer-events: none;
    z-index: 0;
}

.hero.info-page.info-page-member::after {
	content: "";
	display: block;
	position: absolute;
	inset: 0;
	background-color: rgba(255, 255, 255, 0.9);
	pointer-events: none;
	z-index: 1;
}

@media (max-width: 767.98px) {
	.hero.info-page.info-page-member::before {
		left: 5%;
		width: min(22rem, 65vw);
		height: min(22rem, 65vw);
	}
}

.info-page .breadcrumb-wrapper,
.info-page .breadcrumb {
	background-color: transparent !important;
	border-bottom: none;
}

.info-page .card:not(.side-bar-info):not(.member-profile-card):not(.document-card) {
	--bs-card-bg: transparent;
	--bs-card-border-width: 0;
	--bs-card-border-color: transparent;
	--bs-card-box-shadow: none;
	display: contents;
	background: none !important;
	border: 0 !important;
	box-shadow: none !important;
}

.info-page .card:not(.side-bar-info):not(.member-profile-card):not(.document-card) > .card-body {
	display: contents;
	background: none !important;
	padding: 0;
}

.info-page .card:not(.side-bar-info):not(.member-profile-card):not(.document-card) > .list-group {
	background: none !important;
}

.info-page .container-fluid.main-info,
.info-page .container.main-info {
	background-color: transparent;
}

.info-page :is(h1, h2, h3, h4, h5, h6) {
	font-family: 'Agenda', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
	color: var(--theme-primary-900);
}

.brand-link img {
	border-style: hidden;
	transition: transform 0.2s ease-in-out;
}

.brand-link img:hover {
	transform: scale(1.05);
}


/* ------------------------------------------------------------
	 2. Page content (.main-info)
	 ------------------------------------------------------------ */

.main-info {
	h1,
	h2,
	h3,
	h4,
	h5,
	h6 {
		font-family: 'Agenda', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
		color: var(--theme-primary-900);
	}

	h1 {
		font-size: 2.25rem;
		margin-bottom: 0;
	}

	h2 {
		font-size: 1.75rem;
		font-weight: 500;
	}

	h3 {
		margin-top: .5rem;
		font-size: 1.75rem;
		font-weight: 500;
	}

	h4 {
		margin-top: .5rem;
		font-size: 1.5rem;
		font-weight: 300;
	}

	a {
		color: var(--theme-link-color);
		text-decoration: none;
	}

	a:hover {
		text-decoration: underline;
	}
}

.container.main-info a,
.container-fluid.main-info a {
	font-weight: bold;
}

.container.main-info .row,
.container-fluid.main-info .row {
	margin-top: 1.25;

	&:first-of-type {
		margin-top: 0;
	}
}

.container-fluid.main-info ul.resource-section {
	column-count: 3;
}

.container.main-info .card.wellness-card,
.container-fluid.main-info .card.wellness-card {
	h3 {
		font-weight: 600;
		font-size: 1.25rem;
		text-transform: uppercase;
	}
}

.highlight-box {
	background: var(--theme-info-50);
	border-left: 4px solid var(--theme-info);
	padding-top: .25rem;
	padding-left: 1rem;
	border-radius: 0.5rem;

	& h3 {
		color: var(--theme-info);
		font-size: 1.25rem;
	}
}




.card.side-bar-info {
	background-color: var(--theme-gray-200);
	padding-left: 0;
	padding-right: 0;
	padding-top: .05rem;
	padding-bottom: .05rem;

	& hr.major {
		margin-top: 0;
	}

	& h2 {
		font-weight: 700;
		font-size: 1.25rem;
	}

	& a {
		color: var(--theme-link-color);
		text-decoration: none;
	}

	& a:hover {
		text-decoration: underline;
	}

	/* Inline links in paragraph text must be distinguishable without color alone */
	& a.phoenix-link {
		text-decoration: underline;
		text-underline-offset: 0.15em;
	}
}

.contact-group {
	& li:has(a[href^="tel:"])::before {
		content: "\f879"; /* fa-phone-alt */
		color: var(--theme-danger-700);
	}

	& li:has(a[href^="http"])::before {
		content: "\f0ac"; /* fa-globe */
		color: var(--theme-info-700);
	}

	& li:has(a[href^="mailto:"])::before {
		content: "\f0e0"; /* fa-envelope */
		color: var(--theme-gray-700);
	}
}

.contact-group,
.resource-group {
	& li::before {
		font-family: "Font Awesome 5 Free";
		font-size: inherit;
		font-style: inherit;
		font-weight: 900;
		font-variant: normal;
		display: inline-flex;
		justify-content: center;
		width: 1rem;
		margin-right: .25rem;
		margin-left: -1.25rem;
		padding-right: .25rem;
	}

	/* Custom markers, applied manually via class */
	& li.hours::before    { content: "\f017"; color: var(--theme-secondary-500); } /* fa-clock */
	& li.user::before     { content: "\f2bd"; color: var(--theme-secondary-500); } /* fa-user-circle */
	& li.phone::before    { content: "\f3cd"; color: var(--theme-secondary-500); } /* fa-mobile-alt */
	& li.sms::before      { content: "\f7cd"; color: var(--theme-secondary-500); } /* fa-sms */
	& li.flag::before     { content: "\f024"; color: var(--theme-secondary-500); } /* fa-flag */
	& li.calendar::before { content: "\f073"; color: var(--theme-primary-900); }    /* fa-calendar-alt */
	& li.file::before     { content: "\f15c"; color: var(--bs-red); }              /* fa-file-alt */
	& li.question::before { content: "\f059"; color: var(--theme-info-500); }      /* fa-question-circle */

	& li.apple::before {
		font-family: "Font Awesome 5 Brands";
		content: "\f179"; /* fa-apple */
		color: var(--theme-gray-400);
	}

	& li.android::before {
		font-family: "Font Awesome 5 Brands";
		content: "\f17b"; /* fa-android */
		color: var(--theme-success-500);
	}
}

.side-bar-info ul.contact-list {
	& li {
		margin-bottom: .2rem !important;
	}

	&:last-child {
		margin-bottom: 0 !important;
	}
}

.side-bar-info ul.contact-list li.contact-group,
.side-bar-info ul.resource-list li.resource-group {
	& h3,
	a.header-link {
		font-weight: 600;
		font-size: 1rem;
		margin-top: 1rem;
		margin-bottom: .25rem;
	}

	& hr.minor {
		margin-top: 0;
		margin-bottom: .25rem;
	}

	& ul.list-unstyled li {
		margin-bottom: .2rem !important;
		font-size: .875rem;
		margin-left: 1.4rem;
		display: inline-flex;
		overflow-wrap: anywhere;
	}

	& ul.list-unstyled p {
		margin-bottom: .2rem !important;
		font-size: .875rem;
	}
}

.side-bar-info ul.resource-list {
	font-size: .875rem;

	& li {
		margin-bottom: .5rem;
		margin-left: 1rem;
		padding-left: .25rem;
	}

	&:last-child {
		margin-bottom: 0;
	}
}

.side-bar-info ul.resource-list > li::marker {
	font-family: "Font Awesome 5 Free";
	font-size: inherit;
	font-style: inherit;
	font-weight: 900;
	font-variant: normal;
	content: "\f061";
	color: var(--theme-gray-700);
}

.side-bar-info ul.resource-list > li.resource-group::marker {
	content: "";
}

.side-bar-info ul.resource-list li.resource-group,
.side-bar-info ul.resource-list li:has(img) {
	margin: 0;
}


.section-heading {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	margin-bottom: 1.75rem;
}

.section-heading-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 16px;
	background: linear-gradient(
		135deg,
		var(--theme-primary-600),
		var(--theme-primary-900)
	);
	color: var(--theme-gray-white);
	font-size: 1.4rem;
	box-shadow: 0 8px 20px rgba(var(--bs-primary-rgb), 0.25);
	flex-shrink: 0;
}

.section-heading-icon--accent {
	background: linear-gradient(
		135deg,
		var(--theme-secondary-600),
		var(--theme-secondary-900)
	);
	box-shadow: 0 8px 20px rgba(var(--bs-secondary-rgb), 0.25);
}

.section-heading-title {
	margin: 0;
	font-family: 'Agenda', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
	font-size: 2rem;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.01em;
	color: var(--theme-primary-950);
	text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.2);
}

.section-heading-icon--accent ~ .section-heading-title {
	color: var(--theme-secondary-900);
}

@media (max-width: 575.98px) {
	.section-heading {
		gap: 0.875rem;
	}

	.section-heading-icon {
		width: 44px;
		height: 44px;
		font-size: 1.1rem;
		border-radius: 12px;
	}

	.section-heading-title {
		font-size: 1.5rem;
	}
}

.section-heading.home-section-heading {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-bottom: 1.5rem;
	padding-bottom: 0.6rem;
	border-bottom: 3px solid var(--theme-accent);
	text-align: center;
	width: 100%;
}

.section-heading.home-section-heading .section-heading-title {
	margin: 0;
	font-size: clamp(1.0rem, 1.5vw, 1.75rem);
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: none;
	color: var(--theme-primary-900);
	text-align: center;
	text-shadow: none;
	width: 100%;
}


.card.glass {
	background: transparent;
	border: none;
	box-shadow: none;
	padding: 0;
}

.card.glass .list-group {
	--bs-list-group-bg: transparent;
	--bs-list-group-border-width: 0;
	--bs-list-group-action-hover-bg: var(--theme-gray-white);
	--bs-list-group-action-hover-color: var(--theme-primary-900);
	--bs-list-group-action-active-bg: var(--theme-gray-white);
	--bs-list-group-action-active-color: var(--theme-primary-900);
	--bs-list-group-active-bg: var(--theme-gray-white);
	--bs-list-group-active-color: var(--theme-primary-900);
	--bs-list-group-active-border-color: transparent;
}

.card.glass .list-group-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    background-color: var(--theme-primary-900);
    color: var(--theme-gray-white);
    border: none;
    border-radius: 0.5rem;
    padding: 0.65rem 1rem;
    margin: 2px 2px 4px 2px; /* Slight bottom margin for spacing */
    transition: all 0.2s ease;
}

.card.glass .list-group-item small,
.card.glass .list-group-item .text-muted {
    color: rgba(255, 255, 255, 0.85) !important;
}

.card.glass .list-group-item a {
	flex: 1 1 auto;
	color: inherit;
	text-decoration: none;
}

.card.glass .list-group-item-action {
	color: var(--theme-gray-white);
}

.card.glass .list-group-item:hover,
.card.glass .list-group-item:focus,
.card.glass .list-group-item-action:hover,
.card.glass .list-group-item-action:focus {
    background-color: var(--theme-gray-white);
    color: var(--theme-primary-900);
    border-color: transparent;
}

@media (prefers-reduced-motion: no-preference) {
	.card.glass .list-group-item:hover,
	.card.glass .list-group-item-action:hover {
		transform: translateX(0.35rem);
	}
}


.card.glass .list-group-item.active,
.card.glass .list-group-item-action.active {
    font-weight: 700;
    background-color: var(--theme-gray-white);
    color: var(--theme-primary-900);
    border: none;
    border-left: 4px solid var(--theme-accent);
    box-shadow: 0 4px 15px rgba(0, 36, 64, 0.12);
    transform: translateX(0.25rem); /* Nudges it right to stand out */
    z-index: 2;
}

.card.glass .list-group-item:hover small,
.card.glass .list-group-item:focus small,
.card.glass .list-group-item.active small,
.card.glass .list-group-item:hover .text-muted,
.card.glass .list-group-item:focus .text-muted,
.card.glass .list-group-item.active .text-muted {
    color: var(--theme-primary-800) !important;
}

.card.glass .list-group-item-action.dropdown {
	&::after {
		content: "\f054";
		font-family: "Font Awesome 5 Free";
		font-size: 0.75rem;
		font-style: normal;
		font-weight: 900;
		font-variant: normal;
		margin: 0.25rem 0.0625rem 0 0;
	}

	&:not(.collapsed)::after {
		transform: rotate(90deg);
	}
}

.card.glass .list-group-item:focus,
.card.glass .list-group-item:focus-visible,
.card.glass .list-group-item:active,
.card.glass .list-group-item-action:focus,
.card.glass .list-group-item-action:focus-visible,
.card.glass .list-group-item-action:active,
.card.glass .list-group-item a:focus,
.card.glass .list-group-item a:focus-visible,
.card.glass .list-group-item a:active {
	outline: none;
	box-shadow: none;
	border-color: transparent;
}


/* ------------------------------------------------------------
	 6. Navbar / Breadcrumb / Footer
	 ------------------------------------------------------------ */

.navbar.navbar-iconic {
	font-weight: 400;
}

.site-nav-header .navbar.navbar-iconic .navbar-icon-links .nav-link.active {
	background-color: rgba(255, 255, 255, 0.14) !important;
	color: var(--theme-gray-white) !important;
}

.breadcrumb-wrapper {
	background: transparent !important;
	padding-left: .5rem;
	border: none;
}

.breadcrumb-item {
	color: var(--theme-info-900);
	border: 0 !important; /* overrides pelican breadcrumb borders */
}

.breadcrumb-item > a {
	text-decoration: none;
}

.breadcrumb-item > a:hover {
	text-decoration: underline;
}

.breadcrumb-item + .breadcrumb-item::before {
	opacity: 1;
}

.breadcrumb-item:first-child > a {
	position: relative;
	display: inline-flex;
	text-indent: -9999px;
	white-space: nowrap;
	overflow: hidden;
}

.breadcrumb-item:first-child > a::before {
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	content: "\f015"; /* fa-home */
	font-size: 1.25rem;
	text-indent: 0;
}

@media (max-width: 576px) {
	.ogb-breadcrumb > .ogb-breadcrumb__list {
		padding: .5rem .75rem !important;
		border-radius: .95rem;
	}
}

.footer.footer-utility {
	.img-fluid {
		max-height: 170px;
	}
}

.footer.footer-utility .fraud {
	background-color: var(--theme-danger-900);
	color: var(--theme-gray-white);
}

.footer.footer-utility .footer-inline-link {
	color: var(--theme-gray-white);
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.footer.footer-utility .footer-inline-link:hover,
.footer.footer-utility .footer-inline-link:focus-visible {
	color: var(--theme-gray-white);
}

.footer.footer-utility .share-social-body {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem;
}

.footer.footer-utility .share-social-body .btn-outline-ui {
	--bs-btn-color: var(--theme-gray-white);
	--bs-btn-border-color: rgba(var(--bs-white-rgb), 0.55);
	--bs-btn-bg: transparent;
	--bs-btn-hover-color: var(--theme-primary-900);
	--bs-btn-hover-bg: var(--theme-gray-white);
	--bs-btn-hover-border-color: var(--theme-gray-white);
	--bs-btn-active-color: var(--theme-primary-900);
	--bs-btn-active-bg: var(--theme-gray-white);
	--bs-btn-active-border-color: var(--theme-gray-white);
}


/* ------------------------------------------------------------
	 7. Accordion
	 ------------------------------------------------------------ */

.accordion.custom-accordion {
	--accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='rgb%28255,255,255%29' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M2 5L8 11L14 5'/%3e%3c/svg%3e");
	--accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='rgb%28255,255,255%29' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M2 5L8 11L14 5'/%3e%3c/svg%3e");
}

.accordion.custom-accordion .accordion-button {
	background-color: var(--theme-secondary-100);
	color: var(--theme-gray-black);
	padding: 1rem 1.25rem;
	transition: background-color .15s ease, color .15s ease;
}

.accordion.custom-accordion .accordion-button:focus {
	outline: 0.25rem solid var(--theme-focus-color);
	outline-offset: 0.25rem;
}

.accordion.custom-accordion .accordion-button:hover,
.accordion.custom-accordion .accordion-button:not(.collapsed) {
	background-color: var(--theme-secondary-900);
	color: var(--theme-gray-white);
}

.accordion.custom-accordion .accordion-button:not(.collapsed)::after,
.accordion.custom-accordion .accordion-button:hover::after {
	background-image: var(--accordion-btn-active-icon);
}

/* Member profile headers — darker blues, white chevron, match enrollee/dependent alignment */
.member-profile-header {
	padding: 1rem 1.25rem;
}

.member-profile-card .member-profile-fields {
	--bs-gutter-x: 1.5rem;
}

.member-profile-card > .card-header.bg-info-900 {
	background-color: #002a54 !important;
	color: var(--theme-gray-white) !important;
}

.accordion.custom-accordion .accordion-button.bg-info-900 {
	background-color: #003367 !important;
	color: var(--theme-gray-white) !important;
}

.accordion.custom-accordion .accordion-button.bg-info-800 {
	background-color: #004494 !important;
	color: var(--theme-gray-white) !important;
}

.accordion.custom-accordion .accordion-button.bg-info-600 {
	background-color: #005aab !important;
	color: var(--theme-gray-white) !important;
}

.accordion.custom-accordion .accordion-button.bg-info-900:hover,
.accordion.custom-accordion .accordion-button.bg-info-900:not(.collapsed) {
	background-color: #003367 !important;
	color: var(--theme-gray-white) !important;
}

.accordion.custom-accordion .accordion-button.bg-info-800:hover,
.accordion.custom-accordion .accordion-button.bg-info-800:not(.collapsed) {
	background-color: #004494 !important;
	color: var(--theme-gray-white) !important;
}

.accordion.custom-accordion .accordion-button.bg-info-600:hover,
.accordion.custom-accordion .accordion-button.bg-info-600:not(.collapsed) {
	background-color: #005aab !important;
	color: var(--theme-gray-white) !important;
}

.accordion.custom-accordion .accordion-button.bg-info-600::after,
.accordion.custom-accordion .accordion-button.bg-info-800::after,
.accordion.custom-accordion .accordion-button.bg-info-900::after {
	background-image: var(--accordion-btn-icon);
}

.accordion.custom-accordion .accordion-button.bg-info-600:not(.collapsed)::after,
.accordion.custom-accordion .accordion-button.bg-info-600:hover::after,
.accordion.custom-accordion .accordion-button.bg-info-800:not(.collapsed)::after,
.accordion.custom-accordion .accordion-button.bg-info-800:hover::after,
.accordion.custom-accordion .accordion-button.bg-info-900:not(.collapsed)::after,
.accordion.custom-accordion .accordion-button.bg-info-900:hover::after {
	background-image: var(--accordion-btn-active-icon);
}

.accordion-body .table {
	padding-left: 1.25rem;
	border-radius: var(--bs-border-radius);
	overflow: hidden;
}


/* ------------------------------------------------------------
	 8. Tables
	 ------------------------------------------------------------ */

.rate-table {
	--bs-table-color: var(--theme-info-900);
	--bs-table-bg: var(--theme-info-100);
	--bs-table-border-color: var(--theme-info-900);
	--bs-table-striped-bg: var(--theme-info-100);
	--bs-table-striped-color: var(--theme-info-900);
	--bs-table-active-bg: var(--theme-info-900);
	--bs-table-active-color: var(--theme-gray-white);
	--bs-table-hover-bg: var(--theme-info-900);
	--bs-table-hover-color: var(--theme-gray-white);
	color: var(--bs-table-color);
	border-color: var(--bs-table-border-color);
}

.rate-table > thead > tr > * {
	background-color: var(--theme-info-900);
	color: var(--theme-gray-white);
}

.rate-table > :not(caption) > * > * {
	--bs-table-color-type: var(--theme-gray-white);
	color: var(--theme-gray-black);
}

.table-striped > tbody > tr:nth-of-type(odd) > * {
	--bs-table-color-type: var(--bs-table-striped-color);
	--bs-table-bg-type: var(--bs-table-striped-bg);
}

/* Public info pages — modernized benefit / content tables */
.info-page .table-responsive {
	margin-block: 1.25rem;
	border: 1px solid var(--theme-gray-200);
	border-radius: 0.625rem;
	box-shadow: 0 4px 18px rgba(0, 36, 64, 0.06);
	overflow: visible;
	background-color: var(--theme-gray-white);
}

.info-page .table-responsive > .table {
	margin-bottom: 0;
}

.info-page .rate-table {
	--bs-table-color: var(--theme-gray-800);
	--bs-table-bg: var(--theme-gray-white);
	--bs-table-border-color: var(--theme-gray-200);
	--bs-table-striped-bg: var(--theme-gray-50);
	--bs-table-striped-color: var(--theme-gray-800);
	--bs-table-hover-bg: var(--theme-gray-white);
	--bs-table-hover-color: var(--theme-gray-800);
	--bs-table-active-bg: var(--theme-gray-white);
	--bs-table-active-color: var(--theme-gray-800);
	border: 0;
	border-collapse: separate;
	border-spacing: 0;
}

.info-page .rate-table > thead > tr > * {
	background-color: var(--theme-primary-900);
	color: var(--theme-gray-white);
	font-weight: 600;
	font-size: 0.9375rem;
	letter-spacing: 0.02em;
	padding: 0.85rem 1rem;
	border: 0;
	vertical-align: middle;
}

.info-page .rate-table > :not(caption) > * > * {
	padding: 0.75rem 1rem;
	border-color: var(--theme-gray-200);
	vertical-align: middle;
	color: var(--theme-gray-800);
}

.info-page .rate-table.table-bordered > :not(caption) > * > * {
	border-width: 0 0 1px;
}

.info-page .rate-table > tbody > tr:last-child > * {
	border-bottom-width: 0;
}

.info-page .rate-table > tbody > tr > th[scope="row"] {
	font-weight: 600;
	color: var(--theme-primary-900);
	background-color: transparent;
}

.info-page .rate-table > tbody > tr > td {
	font-variant-numeric: tabular-nums;
}

.info-page .rate-table.table-striped > tbody > tr:nth-of-type(odd) > * {
	--bs-table-bg-type: var(--theme-gray-50);
	--bs-table-color-type: var(--theme-gray-800);
}

.info-page .rate-table > tbody > tr:hover > * {
	background-color: var(--bs-table-bg);
	color: var(--theme-gray-800);
}

.info-page .rate-table.table-striped > tbody > tr:nth-of-type(odd):hover > * {
	background-color: var(--theme-gray-50);
}

.info-page .rate-table > tbody > tr:hover > th[scope="row"] {
	color: var(--theme-primary-900);
}

.info-page .rate-table caption:not(.visually-hidden) {
	caption-side: bottom;
	padding: 0.65rem 1rem 0.85rem;
	color: var(--theme-gray-600);
	font-size: 0.875rem;
	font-style: italic;
	text-align: left;
}

.info-page .rate-table.table-sm > :not(caption) > * > * {
	padding: 0.55rem 0.85rem;
}


/* ------------------------------------------------------------
	 9. Utility colors & link helpers
	 Note: .phoenix-link will eventually replace the legacy
	 "link-info link-underline link-underline-opacity-0" combo.
	 ------------------------------------------------------------ */

.phoenix-link {
	color: var(--theme-info-900, #003a8f);
	text-decoration: underline !important;
	text-underline-offset: 0.15em;
}

.phoenix-link:hover,
.phoenix-link:focus-visible {
	color: var(--theme-info-900, #003a8f);
	text-decoration: underline !important;
}

.fas.fa-heart                  { color: var(--bs-red); }
.fas.fa-heartbeat              { color: var(--bs-red); }
.fas.fa-hospital-user          { color: var(--theme-accent); }
.fas.fa-prescription           { color: var(--theme-accent); }
.fas.fa-file-medical           { color: var(--bs-green); }
.fas.fa-piggy-bank             { color: var(--bs-pink); }
.fas.fa-file-invoice-dollar    { color: var(--bs-green); }
.fas.fa-glasses                { color: var(--theme-accent); }
.fas.fa-child                  { color: var(--theme-accent); }
.fas.fa-clinic-medical         { color: var(--bs-green); }
.fas.fa-hand-holding-medical   { color: var(--theme-accent); }
.fas.fa-comments               { color: var(--bs-teal); }
.fas.fa-file-alt               { color: var(--theme-accent); }
.fas.fa-house-user             { color: var(--theme-accent); }
.far.fa-folder-open            { color: var(--theme-accent); }
.far.fa-list-alt               { color: var(--bs-red); }
.far.fa-money-bill-alt         { color: var(--bs-green); }
.far.fa-calendar-check         { color: var(--theme-accent); }
.far.fa-file-alt               { color: var(--bs-red); }
.far.fa-question-circle        { color: var(--theme-info-500); }


/* ------------------------------------------------------------
	 10. OGB Employee Portal layout
	 ------------------------------------------------------------ */

.app-screen {
	display: flex;
	min-height: calc(100vh - 200px);
}

.app-content {
	flex: 1;
	padding: 1.5rem;
	min-width: 0;
}

.ogb-sidebar {
	width: 280px;
	flex: 0 0 280px;
	background: var(--theme-gray-white);
	padding-left: 1rem;
}

.ogb-sidebar .nav-link {
	display: block;
	padding: .75rem 1rem;
	border-left: 2px solid transparent;
	border-right: 2px solid transparent;
	border-radius: .5rem;
	font-weight: bold;
	color: var(--bs-black);
	transition:
		background-color .15s ease,
		border-color .15s ease,
		transform .15s ease,
		box-shadow .15s ease;
}

.ogb-sidebar .nav-item.active > .nav-link {
	font-weight: 600;
	border-left-color: var(--theme-primary-900);
	border-right-color: var(--theme-primary-900);
	background-color: var(--theme-primary-100);
}

.ogb-sidebar .nav-link:hover {
	background-color: rgba(var(--bs-primary-rgb), .08);
	border-left-color: var(--theme-primary-900);
	border-right-color: var(--theme-primary-900);
	transform: translateY(-2px);
	box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .12);
}

.ogb-sidebar .nav-item.active > .nav-link:hover {
	transform: none;
	box-shadow: none;
}

@media (max-width: 992px) {
	.app-screen {
		flex-direction: column;
	}

	.ogb-sidebar {
		width: 100%;
		flex: none;
		border-right: none;
		border-bottom: 1px solid rgba(0, 0, 0, .08);
	}
}

.ogb-location {
	border-left: 2px solid var(--theme-gray-white);
	margin-left: 15px;
	padding-left: 15px;
}

.vendor-nav-link {
	color: inherit;
}

.vendor-nav-card {
	border: 1px solid rgba(0, 0, 0, .08);
	box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .06);
	transition: transform .15s ease, box-shadow .15s ease;
	cursor: pointer;
}

.vendor-nav-link:hover .vendor-nav-card,
.vendor-nav-link:focus-visible .vendor-nav-card {
	transform: translateY(-6px);
	box-shadow: 0 1rem 2rem rgba(0, 0, 0, .12);
}

.vendor-nav-link:focus-visible {
	outline: 2px solid rgba(var(--bs-primary-rgb), .35);
	outline-offset: 4px;
	border-radius: .5rem;
}


/* ------------------------------------------------------------
	 11. Login modal
	 Two-column layout: OGB employee | role chooser / login form.
	 ------------------------------------------------------------ */

.phoenix-login-modal .modal-backdrop,
.modal-backdrop.show {
	background-color: var(--theme-primary-950);
	opacity: 1;
}

.phoenix-login-modal .modal-dialog {
	max-width: 860px;
}

.phoenix-login-modal .modal-content {
	background: transparent;
	box-shadow: none;
}

.phoenix-login-modal .modal-content.phoenix-login-modal-content {
	position: relative;
	overflow: hidden;
	min-height: 480px;
	border-radius: 0;
	border: 2px solid var(--theme-accent) !important;
	background: linear-gradient(160deg, var(--theme-primary-900), var(--theme-primary-950));
	box-shadow:
		0 0 0 1px rgba(255, 255, 255, 0.35),
		0 10px 25px rgba(0, 36, 64, 0.25),
		0 30px 90px rgba(0, 36, 64, 0.35);
}

.phoenix-login-close {
	position: absolute;
	top: 1.15rem;
	right: 1.15rem;
	z-index: 20;
	opacity: 0.85;
	filter: invert(1) grayscale(100%) brightness(2);
}

.phoenix-login-close:hover,
.phoenix-login-close:focus-visible {
	opacity: 1;
}

.phoenix-login-panel {
	min-height: 480px;
	height: 100%;
	display: flex;
	align-items: center;
	background: var(--theme-login-modal-panel-bg);
	color: var(--theme-login-panel-text);
}

.phoenix-login-panel-inner {
	width: 100%;
	max-width: 360px;
	margin: 0 auto;
	padding: 2.5rem 1.75rem;
	min-height: 320px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.phoenix-login-employee-col {
	border-right: 1px solid var(--theme-login-panel-divider);
}

.phoenix-login-employee-inner {
	justify-content: center;
}

.phoenix-login-right-inner {
	max-width: 380px;
	justify-content: center;
	position: relative;
	z-index: 1;
}

.phoenix-login-right-panel {
	position: relative;
	overflow: hidden;
	background: linear-gradient(160deg, var(--theme-primary-900), var(--theme-primary-950));
	color: var(--theme-gray-white);

	/* Flip light-panel theme vars so descendants (form labels, inputs,
	   dividers, badges, help text, back button) render on a dark bg. */
	--theme-login-panel-text: var(--theme-gray-white);
	--theme-login-panel-muted: rgba(255, 255, 255, 0.75);
	--theme-login-panel-muted-strong: rgba(255, 255, 255, 0.88);
	--theme-login-panel-input-border: rgba(255, 255, 255, 0.4);
	--theme-login-panel-placeholder: rgba(255, 255, 255, 0.55);
	--theme-login-panel-link: rgba(255, 255, 255, 0.95);
	--theme-login-panel-link-hover: var(--theme-gray-white);
	--theme-login-panel-divider: rgba(255, 255, 255, 0.22);
}

.phoenix-login-right-panel::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image: var(--phoenix-login-right-bg);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 75%;
	opacity: 0.12;
	pointer-events: none;
	z-index: 0;
}

/* Help button: blue-on-blue is invisible. Switch to outlined white. */
.phoenix-login-right-panel .phoenix-login-help-btn {
	border-color: var(--theme-gray-white);
	color: var(--theme-gray-white);
}

.phoenix-login-right-panel .phoenix-login-help-btn:hover,
.phoenix-login-right-panel .phoenix-login-help-btn:focus-visible {
	background: var(--theme-gray-white);
	color: var(--theme-primary-800);
}

/* Sign In submit: keep the existing blue fill, just add a white outer edge. */
.phoenix-login-right-panel .phoenix-auth-submit {
	border: 1px solid var(--theme-gray-white);
}

.phoenix-login-right-panel .phoenix-auth-submit:hover,
.phoenix-login-right-panel .phoenix-auth-submit:focus-visible {
	color: var(--theme-gray-white);
	border-color: var(--theme-gray-white);
}

@media (max-width: 991.98px) {
	.phoenix-login-modal-dialog {
		max-width: calc(100vw - 1rem);
		margin: 0.5rem auto;
	}

	.phoenix-login-modal .modal-content.phoenix-login-modal-content,
	.phoenix-login-panel {
		min-height: auto;
	}

	.phoenix-login-panel-inner {
		max-width: none;
		padding: 2rem 1.35rem;
	}

	.phoenix-login-employee-col {
		border-right: 0;
		border-bottom: 1px solid var(--theme-login-panel-divider);
	}
}

/* --- Step 1: Role chooser (right column) --- */

.phoenix-login-right-title {
	color: var(--theme-login-panel-text);
	font-size: 1.35rem;
	font-weight: 700;
	margin-bottom: 1rem;
	text-align: center;
}

.phoenix-login-right-subtitle {
	color: var(--theme-login-panel-muted);
	font-size: 0.9rem;
	margin-bottom: 1.5rem;
	text-align: center;
}

.phoenix-login-role-list {
	display: flex;
	flex-direction: column;
	gap: .75rem;
	margin-top: 1rem;
}

.phoenix-login-panel .phoenix-login-role-btn {
	background: linear-gradient(90deg, var(--theme-accent-100), var(--theme-accent-200));
	box-shadow: 0 10px 24px rgba(6, 6, 6, 0.35);
}

/* --- Step 2: Form state (right column) --- */

.phoenix-login-state-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 1rem;
}

.phoenix-login-back-btn {
	border: 0;
	background: transparent;
	color: var(--theme-login-panel-link);
	padding: 0.25rem 0.4rem;
	font-size: 0.85rem;
	font-weight: 600;
	border-radius: 6px;
}

.phoenix-login-back-btn:hover,
.phoenix-login-back-btn:focus-visible {
	color: var(--theme-login-panel-link-hover);
	background: var(--theme-login-panel-divider);
	outline: none;
}

.phoenix-login-role-badge {
	display: inline-block;
	padding: 0.2rem 0.7rem;
	border-radius: 999px;
	background: var(--theme-login-panel-divider);
	color: var(--theme-login-panel-muted-strong);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.phoenix-login-form-help {
	margin-top: 1.25rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--theme-login-panel-divider);
	color: var(--theme-login-panel-text);
	font-size: 0.9rem;
	line-height: 1.5;
}

.phoenix-login-form-help strong {
	display: block;
	font-size: 0.95rem;
	margin-bottom: 0.35rem;
}

.phoenix-login-form-help p {
	color: var(--theme-login-panel-muted-strong);
}

.phoenix-login-help-btn {
	display: inline-flex;
	align-items: center;
	border: 1px solid var(--theme-primary);
	border-radius: 0;
	padding: 0.45rem 1rem;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: var(--theme-primary);
	background: transparent;
	text-decoration: none;
	transition: background 0.15s ease, color 0.15s ease;
}

.phoenix-login-help-btn:hover,
.phoenix-login-help-btn:focus-visible {
	background: var(--theme-primary);
	color: var(--theme-gray-white);
	outline: none;
}

/* --- Standard login form (inside center column) --- */

.phoenix-auth-form {
	width: 100%;
}

.phoenix-auth-meta {
	font-size: 0.78rem;
}

.phoenix-login-panel .phoenix-auth-label {
	color: var(--theme-login-panel-text);
	font-size: 1.05rem;
	margin-bottom: 0.35rem;
	display: block;
}

.phoenix-login-panel .phoenix-auth-input {
	background: transparent;
	border: 0;
	border-bottom: 1px solid var(--theme-login-panel-input-border);
	border-radius: 0;
	color: var(--theme-login-panel-text);
	padding: 0.55rem 0 0.45rem;
	box-shadow: none !important;
}

.phoenix-login-panel .phoenix-auth-input:focus {
	background: transparent;
	color: var(--theme-login-panel-text);
	border-bottom-color: var(--theme-primary);
}

.phoenix-login-panel .phoenix-auth-input::placeholder {
	color: var(--theme-login-panel-placeholder);
}

.phoenix-login-panel .phoenix-auth-check {
	background-color: transparent;
	border-color: var(--theme-login-panel-input-border);
}

.phoenix-login-panel .phoenix-auth-check:checked {
	background-color: var(--theme-primary);
	border-color: var(--theme-primary);
}

.phoenix-login-panel .phoenix-auth-check-label,
.phoenix-login-panel .phoenix-auth-meta .form-check-label {
	color: var(--theme-login-panel-muted);
}

.phoenix-login-panel .phoenix-auth-forgot {
	color: var(--theme-login-panel-link);
	text-decoration: none;
}

.phoenix-login-panel .phoenix-auth-forgot:hover {
	color: var(--theme-login-panel-link-hover);
}

.phoenix-login-panel .phoenix-auth-submit {
	border: 0;
	border-radius: 0;
	padding: 0.78rem 1rem;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: var(--theme-gray-white);
	background: var(--theme-login-modal-btn-bg);
	box-shadow: var(--theme-login-modal-btn-shadow);
}

.phoenix-login-panel .phoenix-auth-submit:hover {
	color: var(--theme-gray-white);
	transform: translateY(-1px);
}

/* --- OGB Employee sign-in block (left column) --- */

.phoenix-login-panel .phoenix-ogb-login-block {
	margin-top: 0;
	padding-top: 0;
}

.phoenix-ogb-login-logo-wrapper {
	display: flex;
	justify-content: center;
	margin-bottom: 1rem;
}

.phoenix-login-logo {
	width: 100%;
	max-width: 180px;
	object-fit: contain;
}

.phoenix-ogb-login-btn {
	border: 0;
	border-radius: 0;
	padding: 0.82rem 1rem;
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: var(--theme-gray-white);
	background: var(--theme-login-modal-btn-bg);
	box-shadow: var(--theme-login-modal-btn-shadow);
}

.phoenix-ogb-login-btn:hover {
	color: var(--theme-gray-white);
	transform: translateY(-1px);
}

/* ------------------------------------------------------------
	 12. Portal sign-in progress modal
	 Small overlay shown while redirecting after sign-in.
	 ------------------------------------------------------------ */

.portal-signin-modal .modal-dialog {
	max-width: 360px;
}

.portal-signin-modal .modal-content {
	background: var(--theme-gray-white);
	border: 0;
	border-radius: 16px;
	box-shadow: 0 18px 45px rgba(0, 0, 0, 0.2);
	overflow: hidden;
}

.portal-signin-modal .modal-body {
	padding: 2rem 1.5rem;
}

.portal-signin-image {
	display: block;
	width: 100%;
	max-width: 120px;
	height: auto;
	margin: 0 auto 1rem;
	object-fit: contain;
}


/* 1. Only apply the orange border to the FIRST item (the main link) in the split group */
.card.glass .btn-group.split .list-group-item:first-child.active {
    border-left: 4px solid var(--theme-accent) !important;
}

/* 2. Prevent the dropdown arrow button from getting an orange border in the middle of the group */
.card.glass .btn-group.split .list-group-item:not(:first-child).active {
    border-left: none !important;
}

/* 3. Nudge the ENTIRE button group container to the right when active */
.card.glass .btn-group.split:has(.active) {
    transform: translateX(0.25rem);
    transition: transform 0.2s ease;
}

/* 4. Disable the transform on the individual inner buttons so they don't break apart */
.card.glass .btn-group.split .list-group-item.active {
    transform: none !important;
}

/* --- Split Button "Gray Card" Layout Fixes --- */

/* 1. Remove the gray card shadow/background from the wrapper */
.card.glass .btn-group.split {
    box-shadow: none !important;
    background: transparent !important;
    margin: 2px 2px 4px 2px; /* Move the spacing to the outer wrapper */
}

/* 2. Remove the internal margins so the buttons sit flush together */
.card.glass .btn-group.split .list-group-item {
    margin: 0 !important;
}

/* 3. Fix the rounded corners so they connect seamlessly in the middle */
.card.glass .btn-group.split .list-group-item:first-child {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    border-right: 1px solid rgba(255, 255, 255, 0.2) !important; /* White divider for the blue state */
}

.card.glass .btn-group.split .list-group-item:last-child {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

/* 4. When hovered or active, flip the divider color so it shows up against the white background */
.card.glass .btn-group.split:hover .list-group-item:first-child,
.card.glass .btn-group.split:has(.active) .list-group-item:first-child {
    border-right-color: rgba(0, 36, 64, 0.1) !important;
}
