/* Homepage featured sections (Medi-Cal / Special Needs) + secondary services */
.home-featured {
	position: relative;
	padding: 70px 0;
	background: #fff;
	z-index: 1;
}
.home-featured--first { padding-top: 185px; }
.home-situations ~ .home-featured--first { padding-top: 70px; }
.home-featured + .home-featured { background: linear-gradient(180deg, #f3f3f3 0%, #fff 100%); }

.home-featured__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
	gap: 70px;
	align-items: center;
}
.home-featured--reverse .home-featured__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
.home-featured--reverse .home-featured__body { order: 2; }
.home-featured--reverse .home-featured__panel { order: 1; }

.home-featured .heading {
	font-size: 42px;
	line-height: 125%;
	text-transform: none;
	margin: 0 0 22px;
}
.home-featured__text {
	font-size: 18px;
	line-height: 1.75;
	color: #4a4a4a;
	letter-spacing: -0.02em;
	margin: 0 0 24px;
}
.home-featured__list {
	list-style: none;
	margin: 0 0 32px;
	padding: 0;
}
.home-featured__list li {
	position: relative;
	padding: 0 0 0 32px;
	margin: 0 0 12px;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.5;
	color: #16374D;
}
.home-featured__list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 4px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #F26E37 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 12.5 10.5 17 18 8'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.home-featured__list a { color: #135B9C; text-decoration: underline; text-underline-offset: 3px; }
.home-featured__list a:hover,
.home-featured__list a:focus { color: #F26E37; }

/* side panel */
.home-featured__panel { border-radius: 20px; overflow: hidden; }
.home-featured__panel-link,
.home-featured__panel > .home-featured__kicker { display: block; }
.home-featured__panel-link { color: inherit; text-decoration: none; height: 100%; }
.home-featured__panel--figure {
	padding: 48px 40px;
	background: linear-gradient(160deg, #135B9C 0%, #0a355e 100%);
	color: #fff;
	text-align: center;
	box-shadow: 0 18px 40px rgba(19, 91, 156, 0.22);
}
.home-featured__panel--image {
	padding: 40px 30px;
	background: #F3F3F3;
	border-right: 5px solid #F26E37;
	text-align: center;
}
.home-featured__kicker {
	display: block;
	font-family: "Montserrat", sans-serif;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	margin: 0 0 18px;
}
.home-featured__panel--figure .home-featured__kicker { color: #f9b48d; }
.home-featured__panel--image .home-featured__kicker { color: #F26E37; }
.home-featured__figure {
	display: block;
	font-family: "Montserrat", sans-serif;
	font-size: 44px;
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.03em;
	margin: 0 0 16px;
}
.home-featured__caption {
	display: block;
	font-size: 17px;
	line-height: 1.55;
}
.home-featured__panel--figure .home-featured__caption { color: rgba(255, 255, 255, 0.85); }
.home-featured__panel--image .home-featured__caption { color: #16374D; font-weight: 600; }
.home-featured__panel-img { display: block; margin: 0 auto 20px; }
.home-featured__panel-img img { max-height: 340px; width: auto; margin: 0 auto; }
a.home-featured__panel-link:hover .home-featured__caption { text-decoration: underline; }

/* secondary services: five cards, centered second row */
.our-services--secondary { padding: 90px 0 100px; background: #fff; }
.our-services--secondary .section-header { padding: 0 0 50px; }
.our-services--secondary .heading { font-size: 42px; text-transform: none; }
.our-services--secondary .service-list { grid-template-columns: repeat(6, 1fr); column-gap: 24px; }
.our-services--secondary .service-box { grid-column: span 2; }
.our-services--secondary .service-box:nth-child(4) { grid-column: 2 / span 2; }
.our-services--secondary .service-box:nth-child(5) { grid-column: 4 / span 2; }
.our-services--secondary .service-box .service-content { max-width: 100%; min-height: 150px; }

/* "What brings you here?" */
.home-situations {
	position: relative;
	z-index: 1;
	padding: 185px 0 80px;
	background: linear-gradient(180deg, #fff 0%, #f3f3f3 100%);
}
.home-situations .section-header { margin: 0 auto; padding: 0 0 45px; }
.home-situations .heading { font-size: 42px; text-transform: none; margin: 0; }
.home-situations__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}
.home-situations__card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	min-height: 96px;
	padding: 20px 26px;
	background: #fff;
	border: 2px solid rgba(183, 183, 183, 0.5);
	border-radius: 14px;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.4;
	color: #16374D;
	transition: all 0.3s ease-in-out;
}
.home-situations__card svg { flex: 0 0 30px; transition: transform 0.3s ease-in-out; }
.home-situations__card:hover,
.home-situations__card:focus {
	border-color: #F26E37;
	color: #135B9C;
	box-shadow: 0 12px 28px rgba(19, 91, 156, 0.12);
	transform: translateY(-3px);
}
.home-situations__card:hover svg,
.home-situations__card:focus svg { transform: translateX(4px); }

@media only screen and (max-width: 1199px) {
	.home-featured__grid,
	.home-featured--reverse .home-featured__grid { gap: 40px; }
	.home-featured .heading { font-size: 34px; }
	.home-featured__figure { font-size: 36px; }
}
@media only screen and (max-width: 991px) {
	.home-situations { padding: 60px 0 40px; }
	.home-situations__grid { grid-template-columns: repeat(2, 1fr); }
	.home-featured { padding: 50px 0; }
	.home-featured--first { padding-top: 60px; }
	.home-featured__grid,
	.home-featured--reverse .home-featured__grid { grid-template-columns: 1fr; }
	.home-featured--reverse .home-featured__body,
	.home-featured--reverse .home-featured__panel { order: 0; }
	.our-services--secondary { padding: 50px 0 40px; }
	.our-services--secondary .service-list { grid-template-columns: repeat(2, 1fr); }
	.our-services--secondary .service-box,
	.our-services--secondary .service-box:nth-child(4),
	.our-services--secondary .service-box:nth-child(5) { grid-column: auto; }
}
@media only screen and (max-width: 575px) {
	.home-situations__grid { grid-template-columns: 1fr; }
	.home-situations .heading,
	.home-featured .heading,
	.our-services--secondary .heading { font-size: 28px; }
	.home-featured__panel--figure { padding: 36px 24px; }
	.our-services--secondary .service-list { grid-template-columns: 1fr; }
}
