.home-page,
.home-page * { box-sizing: border-box; }

.home-page {
	/* Upper Peninsula palette; shared navigation inherits these on the homepage. */
	--nrgc-navy: #244535;
	--nrgc-blue: #244535;
	--nrgc-blue-dark: #193526;
	--nrgc-sky: #e8ede3;
	--nrgc-border: #d8d9ce;
	--nrgc-text: #29312b;
	margin: 0;
	color: #29312b;
	background: #f2efe6;
	font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.home-shell { min-height: 100vh; overflow: hidden; }
.home-header-wrap { padding: 10px 12px 0; }
.home-page .simple-footer { color: #f3eee5; background: #244535; border-top-color: #a6b29b; }
.home-page .simple-footer__links a { color: #f3eee5; }
.home-page .simple-footer__links a:hover,
.home-page .simple-footer__links a:focus-visible { color: #fff; }
.home-page .simple-footer__links > span { color: #a6b29b; }
.home-page .simple-footer__legal { color: #d9dfcb; border-top-color: #526b58; }
.home-main { width: min(calc(100% - 32px), 1320px); margin: 22px auto 0; }

.home-info-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	margin-bottom: 22px;
}

.home-info-card {
	min-width: 0;
	padding: 22px;
	background: #fffefa;
	border: 1px solid #d8d9ce;
	border-radius: 14px;
	box-shadow: 0 8px 24px rgba(36, 69, 53, 0.11);
	text-align: left;
}

.home-card-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.home-card-icon { display: grid; flex: 0 0 40px; width: 40px; height: 40px; place-items: center; color: #315d73; background: #e8eff0; border-radius: 10px; }
.home-card-icon svg { width: 21px; height: 21px; fill: currentColor; }
.home-card-kicker,
.home-section-kicker { display: block; margin-bottom: 2px; color: #315d73; font-size: 12px; font-weight: 750; letter-spacing: 0.08em; line-height: 1.3; text-transform: uppercase; }
.home-info-card h2 { margin: 0; color: #244535; font-size: 18px; line-height: 1.3; }
.home-info-card p { margin: 0 0 10px; color: #4e5d53; font: inherit; line-height: 1.55; }
.home-info-card__note { font-weight: 650 !important; }
.home-text-link,
.home-phone { color: #315d73; font-weight: 700; text-decoration: none; }
.home-text-link:hover,
.home-phone:hover { color: #244535; text-decoration: underline; text-underline-offset: 3px; }

.home-weather__current { display: flex; align-items: center; gap: 10px; }
.home-weather__current img { width: 50px; height: 50px; }
.home-weather__current div { display: flex; align-items: baseline; gap: 10px; }
.home-weather__current strong { color: #244535; font-size: 30px; line-height: 1; }
.home-weather__current span { color: #4e5d53; font-size: 15px; text-transform: capitalize; }
.home-weather__details { display: flex; flex-wrap: wrap; gap: 5px 15px; margin-top: 10px; color: #59675e; font-size: 13px; }

.home-hours { display: grid; gap: 6px; margin: 13px 0 0; padding: 0; list-style: none; }
.home-hours li { display: flex; justify-content: space-between; gap: 12px; color: #4e5d53; font-size: 14px; }
.home-hours li span:first-child { color: #29312b; font-weight: 700; }

.home-hero { position: relative; min-height: 390px; margin: 0 0 28px; overflow: hidden; border-radius: 18px; box-shadow: 0 14px 36px rgba(36, 69, 53, 0.14); }
.home-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.home-hero::after { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, rgba(15, 35, 25, 0.9) 0%, rgba(15, 35, 25, 0.66) 45%, rgba(15, 35, 25, 0.08) 78%); }
.home-hero__overlay { position: relative; z-index: 1; display: flex; min-height: 390px; max-width: 720px; flex-direction: column; justify-content: center; padding: clamp(30px, 6vw, 72px); color: #fff; text-align: left; }
.home-hero__eyebrow { margin-bottom: 10px; color: #d9dfcb; font-size: 13px; font-weight: 750; letter-spacing: 0.1em; text-transform: uppercase; }
.home-hero h1 { margin: 0; color: #fff; font-size: clamp(30px, 4.3vw, 54px); font-weight: 750; letter-spacing: -0.025em; line-height: 1.08; }
.home-hero p { max-width: 620px; margin: 18px 0 0; color: #f2efe6; font: inherit; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.55; }

.home-content-grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 22px; align-items: start; }
.home-panel { min-width: 0; overflow: hidden; background: #fffefa; border: 1px solid #d8d9ce; border-radius: 15px; box-shadow: 0 10px 28px rgba(36, 69, 53, 0.11); text-align: left; }
.home-panel__header { display: flex; min-height: 84px; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 22px; border-bottom: 1px solid #e3e3d8; }
.home-panel__header h2 { margin: 0; color: #244535; font-size: 24px; line-height: 1.25; }
.home-panel__header > a { color: #315d73; font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.home-panel__header > a:hover { text-decoration: underline; text-underline-offset: 3px; }
.home-panel__body { display: grid; gap: 12px; padding: 18px; }

.home-membership { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px; color: #fff; background: linear-gradient(135deg, #974b28, #7e3e23); border-radius: 12px; text-decoration: none; }
.home-membership:hover { color: #fff; box-shadow: 0 7px 18px rgba(151, 75, 40, 0.2); }
.home-membership small,
.home-membership strong,
.home-membership span { display: block; }
.home-membership small { margin-bottom: 4px; color: #fff2df; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.home-membership strong { font-size: 19px; line-height: 1.25; }
.home-membership span span { margin-top: 5px; color: #fff2df; font-size: 14px; }
.home-membership img { flex: 0 0 80px; width: 80px; height: 80px; padding: 4px; background: #fffefa; border-radius: 8px; }

.home-notice { padding: 17px 18px; background: #fffefa; border: 1px solid #d8d9ce; border-left: 5px solid var(--notice-color, #315d73); border-radius: 10px; }
.home-notice h3 { margin: 0 0 7px; color: var(--notice-color, #244535); font-size: 19px; line-height: 1.35; }
.home-notice p { margin: 4px 0; color: #4e5d53; font: inherit; line-height: 1.5; }
.home-detail-link { display: inline-flex; gap: 6px; margin: 9px 14px 0 0; color: #315d73; font-size: 14px; font-weight: 700; text-decoration: none; }
.home-detail-link:hover { text-decoration: underline; text-underline-offset: 3px; }

.home-event-list { gap: 9px; }
.home-event { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 14px; align-items: center; padding: 13px 14px; background: #fffefa; border: 1px solid #d8d9ce; border-left: 4px solid var(--event-color); border-radius: 10px; }
.home-event__date { display: grid; width: 52px; height: 64px; place-items: center; align-content: center; color: var(--event-color); background: #eeeee5; border-radius: 9px; line-height: 1; }
.home-event__date span { margin-bottom: 3px; font-size: 11px; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; }
.home-event__date strong { font-size: 22px; }
.home-event__date .home-event__weekday { letter-spacing: 0; text-transform: none; }
.home-event h3 { margin: 0; color: var(--event-color, #29312b); font-size: 17px; line-height: 1.3; }
.home-event p { margin: 4px 0 0; color: #59675e; font: inherit; font-size: 14px; line-height: 1.4; }
.home-event a { display: inline-block; margin-top: 5px; color: #315d73; font-size: 13px; font-weight: 700; text-decoration: none; }
.home-event a:hover { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 980px) {
	.home-info-grid { grid-template-columns: 1fr 1fr; }
	.home-info-card:last-child { grid-column: 1 / -1; }
	.home-content-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
	.home-header-wrap { padding: 6px 6px 0; }
	.home-main { width: min(calc(100% - 20px), 1320px); margin-top: 14px; }
	.home-info-grid { grid-template-columns: 1fr; gap: 12px; }
	.home-info-card:last-child { grid-column: auto; }
	.home-info-card { padding: 18px; }
	.home-hero,
	.home-hero__overlay { min-height: 360px; }
	.home-hero { border-radius: 13px; }
	.home-hero::after { background: linear-gradient(0deg, rgba(15, 35, 25, 0.92) 0%, rgba(15, 35, 25, 0.64) 70%, rgba(15, 35, 25, 0.25) 100%); }
	.home-hero__overlay { justify-content: flex-end; padding: 26px 22px; }
	.home-hero h1 { font-size: 32px; }
	.home-panel__header { min-height: 76px; padding: 18px; }
	.home-panel__header h2 { font-size: 22px; }
	.home-panel__header > a span { display: none; }
	.home-panel__body { padding: 12px; }
	.home-membership { padding: 16px; }
	.home-membership img { display: none; }
	.home-hours li { align-items: flex-start; flex-direction: column; gap: 1px; }
}

/* Homepage colors for shared navigation, including the mobile menu. */
.home-page .nrgc-header,
.home-page .nrgc-nav__submenu { background: #fffefa; box-shadow: 0 8px 30px rgba(36, 69, 53, .11); }
.home-page .nrgc-brand__mark { background: linear-gradient(145deg, #365c45, #244535); box-shadow: 0 5px 12px rgba(36, 69, 53, .22); }
.home-page .nrgc-brand__location,
.home-page .nrgc-user__text small { color: #59675e; }
.home-page .nrgc-nav__login { box-shadow: 0 4px 10px rgba(36, 69, 53, .18); }
.home-page .nrgc-nav-toggle { border-color: #d8d9ce; }
.home-page a:focus-visible,
.home-page button:focus-visible { outline: 3px solid #974b28; outline-offset: 3px; }
.home-page .home-membership:focus-visible { outline-color: #244535; }
@media (max-width: 1100px) {
	.home-page .nrgc-nav { background: #f2efe6; }
	.home-page .nrgc-nav__submenu { box-shadow: none; }
}
