/*
Theme Name: Benefits
Theme URI:
Author: Your Name
Author URI:
Description: Custom benefits theme
Version: 1.0
Text Domain: benefits
*/

:root {
	--benefits-dark-blue: #142C3F;
	--benefits-mid-blue: #5192C3;
	--benefits-light-blue: #7DAED3;
	--benefits-extra-light-blue: #DFEAF3;
	--benefits-white: #ffffff;
	--benefits-text: #111111;
	--benefits-border: #cfd8df;
	--benefits-font: 'Roboto', sans-serif;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html,
body {
	margin: 0;
	padding: 0;
	height: 100%;
}

body {
	font-family: var(--benefits-font);
	color: var(--benefits-text);
	background: #fff;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	text-decoration: none;
}

.site-shell {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.site-shell main {
	flex: 1 0 auto;
}

.benefits-container {
	width: 100%;
	max-width: 1600px;
	margin: 0 auto;
	padding: 0 40px;
}

/* Header */
.benefits-site-header {
	background: #fff;
	border-bottom: 1px solid var(--benefits-border);
}

.benefits-site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	padding: 38px;
}

.benefits-site-header__branding {
	flex: 0 0 auto;
}

.benefits-site-header__logo {
	font-size: 0;
	line-height: 0;
}

.benefits-site-header__graphic {
	width: 200px;
	height: auto;
	display: block;
}

.benefits-site-header__nav {
	flex: 1 1 auto;
	display: flex;
	justify-content: flex-end;
	max-width: 58%;
}

.benefits-site-header__menu {
	list-style: none;
	display: flex;
	align-items: stretch;
	margin: 0;
	padding: 0;
}

.benefits-site-header__menu li {
	margin: 0;
	padding: 0;
	border-left: 1px solid var(--benefits-border);
}

.benefits-site-header__menu li:first-child {
	border-left: 0;
}

.benefits-site-header__menu a {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 62px;
	padding: 0 22px;
	color: var(--benefits-text);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.15;
	text-align: center;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.benefits-site-header__menu a:hover,
.benefits-site-header__menu a:focus {
	background: var(--benefits-extra-light-blue);
	color: var(--benefits-mid-blue);
}

/* Hero */
.benefits-hero {
	min-height: 610px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.benefits-hero__inner {
	width: 100%;
	display: flex;
	align-items: center;
	padding: 200px 60px 0;
}

.benefits-hero__content {
	width: 808px;
	max-width: 100%;
	color: var(--benefits-white);
	text-align: left;
}

.benefits-hero__eyebrow {
	margin: 0 0 14px;
	font-size: 44px;
	font-weight: 500;
	line-height: 1;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.benefits-hero__title {
	margin: 0 0 14px;
	font-size: 90px;
	font-weight: 900;
	line-height: 1.05;
	letter-spacing: 0;
	text-transform: uppercase;
	white-space: nowrap;
	text-shadow: 0 3px 19px rgba(0, 0, 0, 0.22);
}

.benefits-hero__subtitle {
	margin: 0;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.2;
	max-width: 760px;
}

/* Main */
.benefits-main-content {
	background: #f5f5f5;
	padding: 90px 0 100px;
}

/* Benefits Links */
.benefits-links-section {
	padding: 104px 0 90px;
	background: #f6f6f6;
}

.benefits-links-section > .wp-block-group__inner-container,
.benefits-links-section.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
}

.benefits-links-grid {
	display: grid;
	grid-template-columns: 1.05fr 1.35fr;
	gap: 32px;
	align-items: start;
}

.benefits-links-grid__stack {
	display: flex;
	gap: 28px;
	align-items: flex-start;
}

.benefits-links-grid__stack > .wp-block-group,
.benefits-links-grid__stack > .wp-block-column,
.benefits-links-grid__stack > div {
	flex: 1 1 0;
	display: flex;
	flex-direction: column;
	gap: 28px;
}

.benefits-card {
	position: relative;
	display: block;
	background: #fff;
	border-radius: 22px;
	padding: 34px 34px 42px;
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
	color: var(--benefits-text);
	text-decoration: none;
}

.benefits-card--feature {
	min-height: 520px;
}

.benefits-card--small {
	min-height: 240px;
}

.benefits-card__body--centered {
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.benefits-card__brand-logo {
	width: min(100%, 390px);
	margin: 0 auto 42px;
}

.benefits-card__icon {
	width: 78px;
	height: 78px;
	margin: 0 0 22px;
}

.benefits-card__icon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.benefits-card__title {
	margin: 0 0 10px;
	font-size: 28px;
	font-weight: 900;
	line-height: 1.05;
	text-transform: uppercase;
	color: #2f3133;
	word-break: normal;
	overflow-wrap: normal;
	hyphens: none;
}

.benefits-card__title--centered,
.benefits-card__text--centered {
	text-align: center;
}

.benefits-card__text {
	margin: 0;
	font-size: 19px;
	font-weight: 400;
	line-height: 1.2;
	color: #666;
	max-width: 370px;
	word-break: normal;
	overflow-wrap: normal;
	hyphens: none;
}

.benefits-card__arrow {
	position: absolute;
	right: 20px;
	bottom: 18px;
	width: 34px;
	height: 34px;
	color: #7daed3;
}

.benefits-card__arrow svg {
	width: 100%;
	height: 100%;
	display: block;
}

/* Footer */
.benefits-footer {
	margin-top: auto;
	background: var(--benefits-dark-blue);
	padding: 31px 0 29px;
}

.benefits-footer__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
}

.benefits-footer__logo {
	width: 160px;
	height: auto;
}

.benefits-footer__menu {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 28px 40px;
	margin: 0;
	padding: 0;
}

.benefits-footer__menu a {
	color: #fff;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.2;
}

.benefits-footer__menu a:hover,
.benefits-footer__menu a:focus {
	color: var(--benefits-light-blue);
}

/* Wellness Program Page */
.wellness-program-page {
	background: #f5f5f5;
	padding: 50px 0 100px;
}

.wellness-program-section__page-title {
	margin: 0 0 30px;
	font-size: 28px;
	font-weight: 500;
	line-height: 1.2;
	color: #6f7e89;
}

.wellness-program-section__grid {
	display: grid;
	grid-template-columns: 434px minmax(0, 1fr);
	gap: 36px;
	align-items: start;
}

.wellness-program-menu-card__header {
	background: #7daed3;
	color: #fff;
	padding: 18px 24px;
	font-size: 18px;
	font-weight: 500;
	line-height: 1.2;
}

.wellness-program-menu-card__summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 16px 24px;
	border: 0;
	background: #fff;
	color: #7daed3;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.2;
	text-align: left;
	cursor: pointer;
}

.wellness-program-menu-card__summary:hover {
	background: #e3e7ea;
}

.wellness-program-menu-card__summary.is-active {
	background: #e9ecef;
	color: #7daed3;
}

.wellness-program-menu-card__summary.is-active,
.wellness-program-menu-card__file-link.is-active {
	background: #e9ecef !important;
	color: #7daed3;
}

.wellness-program-menu-card__file-link.is-active span {
	color: #1d1d1d;
}

.wellness-program-menu-card__summary-left,
.wellness-program-menu-card__file-left {
	display: flex;
	align-items: center;
	gap: 10px;
}

.wellness-program-menu-card__icon,
.wellness-program-menu-card__file-icon {
	display: inline-flex;
	width: 20px;
	height: 20px;
	color: #7daed3;
}

.wellness-program-menu-card__file-icon {
	color: #000;
}

.wellness-program-menu-card__arrow {
	font-size: 14px;
}

.wellness-program-menu-card__file-link {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	padding: 14px 24px;
	border: 0;
	background: #fff;
	color: #1d1d1d;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.2;
	text-align: left;
	cursor: pointer;
}

.wellness-program-panel {
	display: none;
	width: 100%;
}

.wellness-program-panel.is-active {
	display: grid;
}

.wellness-program-content-card {
	background: #fff;
	border: 1px solid #d8d8d8;
	border-bottom: 4px solid #111;
	padding: 34px 30px;
	display: block;
	min-height: 300px;
}

#wellness-summary-panel.is-active {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 30px;
	align-items: start;
}

#wellness-pdf-panel.is-active {
	display: block;
}

.wellness-program-pdf-viewer {
	display: block;
	width: 100%;
	height: 900px;
	border: 0;
	background: #fff;
}

/* Responsive */
@media (max-width: 1280px) {
	.benefits-site-header__inner {
		flex-direction: column;
		align-items: flex-start;
		padding: 24px 0;
	}

	.benefits-site-header__nav {
		width: 100%;
		max-width: none;
		justify-content: flex-start;
	}

	.benefits-site-header__menu {
		flex-wrap: wrap;
	}

	.benefits-hero__inner {
		padding-left: 80px;
		padding-top: 150px;
		padding-bottom: 150px;
	}

	.benefits-hero__title {
		font-size: 72px;
		white-space: normal;
	}

	.benefits-links-grid {
		grid-template-columns: 1fr;
	}

	.benefits-card--feature {
		min-height: 420px;
	}

	.benefits-footer__inner {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media (max-width: 1200px) {
	.wellness-program-section__grid {
		grid-template-columns: 1fr;
	}

	.wellness-program-content-card {
		grid-template-columns: 1fr;
	}

	.wellness-program-content-card__image {
		max-width: 320px;
	}
}

@media (max-width: 991px) {
	.benefits-hero {
		min-height: auto;
	}

	.benefits-hero__inner {
		padding-left: 60px;
		padding-right: 24px;
		padding-top: 110px;
		padding-bottom: 110px;
	}

	.benefits-hero__eyebrow {
		font-size: 32px;
	}

	.benefits-hero__title {
		font-size: 56px;
		line-height: 1;
		white-space: normal;
	}

	.benefits-hero__subtitle {
		font-size: 24px;
	}

	.benefits-card--feature,
	.benefits-card--small {
		min-height: auto;
	}
}

@media (max-width: 767px) {
	.benefits-container {
		padding: 0 24px;
	}

	.benefits-site-header__menu {
		flex-direction: column;
		width: 100%;
	}

	.benefits-site-header__menu li {
		width: 100%;
		border-left: 0;
		border-top: 1px solid var(--benefits-border);
	}

	.benefits-site-header__menu li:first-child {
		border-top: 0;
	}

	.benefits-site-header__menu a {
		justify-content: flex-start;
		text-align: left;
		padding: 16px 12px;
		min-height: unset;
	}

	.benefits-hero__inner {
		padding-left: 24px;
		padding-right: 24px;
		padding-top: 80px;
		padding-bottom: 80px;
	}

	.benefits-hero__eyebrow {
		margin-bottom: 10px;
		font-size: 22px;
		letter-spacing: 0.1em;
	}

	.benefits-hero__title {
		margin-bottom: 10px;
		font-size: 42px;
		line-height: 1;
	}

	.benefits-hero__subtitle {
		font-size: 20px;
	}

	.benefits-links-section {
		padding: 64px 0;
	}

	.benefits-links-grid__stack {
		grid-template-columns: 1fr;
	}

	.benefits-card,
	.benefits-card--feature,
	.benefits-card--small {
		min-height: auto;
		padding: 28px 24px 42px;
	}

	.benefits-card__brand-logo {
		margin-bottom: 32px;
	}

	.benefits-card__title {
		font-size: 24px;
	}

	.benefits-card__text {
		font-size: 18px;
	}

	.benefits-footer__menu {
		gap: 16px 24px;
	}

	.benefits-footer__menu a {
		font-size: 16px;
	}

	.wellness-program-page {
		padding: 32px 0 64px;
	}

	.wellness-program-section__page-title {
		font-size: 24px;
		margin-bottom: 20px;
	}

	.wellness-program-section__grid {
		gap: 24px;
	}

	.wellness-program-content-card {
		padding: 24px;
	}
}