/**
 * HEDIS Chart Review & Abstraction service page styles.
 */

/* -------------------------------------------------------------------------- */
/* Hero                                                                       */
/* -------------------------------------------------------------------------- */

.dit-hedis-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	min-height: clamp(520px, 72vh, 680px);
	padding-block: clamp(3rem, 7vw, 5.5rem);
	background-color: #eef5f6;
	background-image: url("../assets/img/hedis-hero.jpg");
	background-repeat: no-repeat;
	background-position: center right;
	background-size: cover;
}

.dit-hedis-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background: linear-gradient(
		90deg,
		rgba(247, 251, 251, 0.97) 0%,
		rgba(247, 251, 251, 0.92) 34%,
		rgba(247, 251, 251, 0.55) 52%,
		rgba(247, 251, 251, 0.12) 68%,
		transparent 82%
	);
}

.dit-hedis-hero::after {
	content: "";
	position: absolute;
	right: -8%;
	bottom: -22%;
	width: min(54vw, 560px);
	height: min(34vw, 280px);
	background: var(--dit-teal);
	border-radius: 55% 45% 0 70% / 70% 40% 0 60%;
	opacity: 0.95;
	z-index: 0;
	pointer-events: none;
}

.dit-hedis-hero__inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	align-items: center;
	width: 100%;
	min-height: inherit;
}

.dit-hedis-hero__content {
	position: relative;
	z-index: 2;
	max-width: 38rem;
	opacity: 0;
	transform: translateY(1.1rem);
	animation: dit-hedis-hero-in 0.85s var(--dit-ease) forwards;
	animation-delay: 0.08s;
}

.dit-hedis-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	margin: 0 0 1.1rem;
	color: var(--dit-teal);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.dit-hedis-hero__title {
	color: var(--dit-navy);
	font-size: clamp(2rem, 4.2vw, 3rem);
	line-height: 1.15;
	margin: 0 0 0.85rem;
	max-width: 16ch;
}

.dit-hedis-hero__title-accent,
.dit-hedis-hero__title em {
	color: var(--dit-teal);
	font-style: normal;
}

.dit-hedis-hero__subtitle {
	margin: 0 0 1rem;
	color: var(--dit-teal);
	font-size: clamp(1.1rem, 2vw, 1.35rem);
	font-weight: 700;
	line-height: 1.35;
}

.dit-hedis-hero__lead {
	margin: 0 0 1.75rem;
	color: var(--dit-muted);
	font-size: 1.02rem;
	line-height: 1.65;
	max-width: 36rem;
}

.dit-hedis-hero__actions {
	position: relative;
	z-index: 2;
	gap: 0.75rem;
	flex-wrap: wrap;
}

.dit-hedis-hero__actions .dit-btn--outline .wp-block-button__link {
	background: var(--dit-white);
	box-shadow: none;
}

.dit-hedis-hero__actions .dit-btn--outline .wp-block-button__link:hover,
.dit-hedis-hero__actions .dit-btn--outline .wp-block-button__link:focus-visible {
	background: linear-gradient(135deg, var(--dit-teal) 0%, var(--dit-teal-mid) 100%);
	border-color: var(--dit-teal);
	color: var(--dit-white);
}

@keyframes dit-hedis-hero-in {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 1023px) {
	.dit-hedis-hero {
		background-position: 72% center;
		background-size: cover;
		min-height: auto;
		padding-bottom: 3.5rem;
	}

	.dit-hedis-hero::before {
		background: linear-gradient(
			180deg,
			rgba(247, 251, 251, 0.97) 0%,
			rgba(247, 251, 251, 0.92) 42%,
			rgba(247, 251, 251, 0.72) 68%,
			rgba(247, 251, 251, 0.4) 100%
		);
	}

	.dit-hedis-hero::after {
		right: -18%;
		bottom: -18%;
		width: min(70vw, 320px);
		height: min(28vw, 160px);
		opacity: 0.85;
	}

	.dit-hedis-hero__title {
		max-width: 18ch;
	}

	.dit-hedis-hero__actions {
		flex-direction: column;
		align-items: stretch;
		max-width: 22rem;
	}

	.dit-hedis-hero__actions .wp-block-button,
	.dit-hedis-hero__actions .wp-block-button__link {
		width: 100%;
		text-align: center;
	}
}

@media (max-width: 768px) {
	.dit-hedis-hero {
		background-position: 68% center;
		padding-block: 2.75rem 3rem;
	}

	.dit-hedis-hero__content {
		max-width: 100%;
	}

	.dit-hedis-hero__title {
		max-width: none;
		font-size: clamp(1.75rem, 6vw, 2.25rem);
	}

	.dit-hedis-pilot__media img {
		min-height: 220px;
		max-height: 280px;
		object-fit: cover;
	}

	.dit-hedis-benefits__media {
		max-width: 100%;
	}

	.dit-hedis-benefits__media img {
		max-height: 200px;
		min-height: 160px;
	}
}

@media (max-width: 480px) {
	.dit-hedis-hero {
		background-position: 62% center;
		padding-block: 2.25rem 2.5rem;
	}

	.dit-hedis-hero::before {
		background: linear-gradient(
			180deg,
			rgba(247, 251, 251, 0.98) 0%,
			rgba(247, 251, 251, 0.94) 55%,
			rgba(247, 251, 251, 0.88) 100%
		);
	}

	.dit-hedis-hero__actions {
		max-width: none;
	}

	.dit-hedis-pilot__media img {
		min-height: 180px;
		max-height: 220px;
	}
}

@media (max-width: 375px) {
	.dit-hedis-hero__subtitle {
		font-size: 1.05rem;
	}

	.dit-hedis-hero__lead {
		font-size: 0.95rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.dit-hedis-hero__content {
		animation: none;
		opacity: 1;
		transform: none;
	}
}

/* -------------------------------------------------------------------------- */
/* Overview                                                                   */
/* -------------------------------------------------------------------------- */

.dit-hedis-overview {
	background: var(--dit-white);
}

.dit-hedis-overview__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(1.75rem, 4vw, 3.25rem);
	align-items: stretch;
	width: 100%;
}

.dit-hedis-overview__content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	max-width: none;
	min-width: 0;
}

.dit-hedis-overview__content .dit-section__title {
	max-width: 18ch;
}

.dit-hedis-overview__lead {
	margin: 0 0 0.9rem;
	color: var(--dit-navy);
	font-size: 1.05rem;
	font-weight: 600;
	line-height: 1.6;
}

.dit-hedis-overview__text {
	margin: 0 0 0.85rem;
	color: var(--dit-muted);
	font-size: 0.98rem;
	line-height: 1.6;
}

.dit-hedis-overview__text:last-of-type {
	margin-bottom: 0;
}

.dit-hedis-overview__callout {
	margin: 1.15rem 0 0;
	padding: 1rem 1.15rem;
	border-left: 3px solid var(--dit-teal);
	border-radius: 0 14px 14px 0;
	background: var(--dit-mist);
	color: var(--dit-navy);
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.55;
}

.dit-hedis-overview__media {
	position: relative;
	align-self: stretch;
	margin: 0 !important;
	min-height: 28rem;
	height: 100%;
	border-radius: 20px;
	overflow: hidden;
	box-shadow:
		0 20px 44px rgba(11, 42, 74, 0.12),
		0 0 0 1px rgba(13, 115, 119, 0.06);
}

.dit-hedis-overview__media::after {
	content: "";
	position: absolute;
	inset: auto 0 0 0;
	height: 28%;
	background: linear-gradient(180deg, transparent 0%, rgba(11, 42, 74, 0.18) 100%);
	pointer-events: none;
	z-index: 1;
}

.dit-hedis-overview__media.wp-block-image,
.dit-hedis-overview figure.dit-hedis-overview__media {
	margin: 0 !important;
}

.dit-hedis-overview__media img,
.dit-hedis-overview__media.wp-block-image img {
	display: block;
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	min-height: 0;
	object-fit: cover;
	object-position: center 22%;
	transition: transform 0.55s var(--dit-ease);
}

.dit-hedis-overview__media:hover img {
	transform: scale(1.04);
}

@media (max-width: 1023px) {
	.dit-hedis-overview__grid {
		grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
		gap: 1.75rem;
	}

	.dit-hedis-overview__media {
		min-height: 24rem;
	}
}

@media (max-width: 900px) {
	.dit-hedis-overview__grid {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	.dit-hedis-overview__media {
		order: -1;
		min-height: 16rem;
		height: auto;
		aspect-ratio: 16 / 10;
	}

	.dit-hedis-overview__media img {
		position: absolute;
		min-height: 0;
	}

	.dit-hedis-overview__content .dit-section__title {
		max-width: none;
	}
}

@media (max-width: 480px) {
	.dit-hedis-overview__media {
		min-height: 14rem;
		aspect-ratio: 4 / 3;
		border-radius: 16px;
	}

	.dit-hedis-overview__lead,
	.dit-hedis-overview__text {
		font-size: 0.95rem;
	}

	.dit-hedis-overview__callout {
		padding: 0.9rem 1rem;
		font-size: 0.9rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.dit-hedis-overview__media:hover img {
		transform: none;
	}
}

/* -------------------------------------------------------------------------- */
/* Capability cards                                                           */
/* -------------------------------------------------------------------------- */

.dit-hedis-services {
	background: #f5f8f9;
}

.dit-hedis-services__header .dit-section__title {
	max-width: 18ch;
}

.dit-hedis-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem;
	row-gap: 1.5rem;
	column-gap: 1.5rem;
	margin-top: 2rem;
}

.dit-hedis-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	height: auto;
	margin: 0;
	padding: 1.65rem 1.45rem 1.5rem;
	background: var(--dit-white);
	border: 1px solid rgba(13, 115, 119, 0.08);
	border-radius: 16px;
	box-shadow: 0 10px 28px rgba(11, 42, 74, 0.06);
	transition:
		transform 0.35s var(--dit-ease),
		box-shadow 0.35s ease,
		border-color 0.35s ease,
		background 0.35s ease;
}

@media (hover: hover) and (pointer: fine) {
	.dit-hedis-card:hover {
		transform: translateY(-6px);
		border-color: rgba(13, 115, 119, 0.26);
		background: linear-gradient(180deg, #ffffff 0%, #f4fbfb 100%);
		box-shadow:
			0 22px 46px rgba(11, 42, 74, 0.12),
			0 8px 18px rgba(13, 115, 119, 0.1);
	}
}

.dit-hedis-card__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-bottom: 1.15rem;
}

.dit-hedis-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 50%;
	background: rgba(13, 115, 119, 0.1);
	color: var(--dit-teal);
	flex-shrink: 0;
}

.dit-hedis-card__index {
	color: rgba(20, 145, 155, 0.35);
	font-family: var(--wp--preset--font-family--heading);
	font-size: 1.65rem;
	font-weight: 700;
	line-height: 1;
}

.dit-hedis-card__title {
	margin: 0 0 0.45rem;
	color: var(--dit-navy);
	font-size: 1.15rem;
	line-height: 1.3;
}

.dit-hedis-card__kicker {
	margin: 0 0 0.75rem;
	color: var(--dit-teal);
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.4;
}

.dit-hedis-card__text {
	margin: 0;
	color: var(--dit-muted);
	font-size: 0.98rem;
	line-height: 1.6;
}

@media (max-width: 1100px) and (min-width: 701px) {
	.dit-hedis-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1.5rem;
		row-gap: 1.5rem;
		column-gap: 1.5rem;
	}
}

@media (max-width: 700px) {
	.dit-hedis-cards {
		grid-template-columns: 1fr;
	}
}

/* -------------------------------------------------------------------------- */
/* Benefits                                                                   */
/* -------------------------------------------------------------------------- */

.dit-hedis-benefits {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background: var(--dit-navy);
}

.dit-hedis-benefits::before {
	content: "";
	position: absolute;
	top: -20%;
	right: -12%;
	width: min(48vw, 420px);
	height: min(48vw, 420px);
	background: radial-gradient(circle, rgba(13, 115, 119, 0.28) 0%, rgba(13, 115, 119, 0) 70%);
	pointer-events: none;
	z-index: 0;
}

.dit-hedis-benefits__panel {
	position: relative;
	z-index: 1;
	width: 100%;
}

.dit-hedis-benefits__header {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.55fr);
	gap: clamp(1.25rem, 3vw, 2.5rem);
	align-items: end;
	margin-bottom: 2rem;
}

.dit-hedis-benefits__copy .dit-section__title {
	max-width: 18ch;
}

.dit-hedis-benefits__media {
	margin: 0;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
	border: 1px solid rgba(255, 255, 255, 0.12);
}

.dit-hedis-benefits__media img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 180px;
	max-height: 220px;
	object-fit: cover;
}

.dit-hedis-benefit-cards {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.35rem;
}

.dit-hedis-benefit {
	padding: 1.45rem 1.25rem;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 16px;
	transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s var(--dit-ease);
}

@media (hover: hover) and (pointer: fine) {
	.dit-hedis-benefit:hover {
		background: rgba(255, 255, 255, 0.1);
		border-color: rgba(154, 213, 216, 0.35);
		transform: translateY(-3px);
	}
}

.dit-hedis-benefit__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	margin-bottom: 1rem;
	border-radius: 50%;
	background: rgba(13, 115, 119, 0.35);
	color: #9ad5d8;
}

.dit-hedis-benefit__title {
	margin: 0 0 0.55rem;
	color: var(--dit-white);
	font-size: 1.05rem;
	line-height: 1.35;
}

.dit-hedis-benefit__text {
	margin: 0;
	color: rgba(255, 255, 255, 0.78);
	font-size: 0.95rem;
	line-height: 1.55;
}

@media (max-width: 1100px) {
	.dit-hedis-benefit-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.dit-hedis-benefits__header {
		grid-template-columns: 1fr;
		align-items: start;
	}

	.dit-hedis-benefits__media {
		order: -1;
		max-width: 320px;
	}
}

@media (max-width: 600px) {
	.dit-hedis-benefit-cards {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.dit-hedis-card:hover,
	.dit-hedis-benefit:hover {
		transform: none;
	}
}

/* -------------------------------------------------------------------------- */
/* Free pilot                                                                 */
/* -------------------------------------------------------------------------- */

.dit-hedis-pilot {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background: #f0f4f5;
}

.dit-hedis-pilot::before {
	content: "";
	position: absolute;
	right: -12%;
	bottom: -35%;
	width: min(48vw, 420px);
	height: min(40vw, 320px);
	background: rgba(13, 115, 119, 0.12);
	border-radius: 55% 45% 60% 40% / 50% 55% 45% 50%;
	z-index: 0;
	pointer-events: none;
}

.dit-hedis-pilot__grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: clamp(1.75rem, 4vw, 3.25rem);
	align-items: center;
	width: 100%;
}

.dit-hedis-pilot__content .dit-section__title {
	max-width: 16ch;
}

.dit-hedis-pilot__note {
	font-weight: 600;
	color: var(--dit-navy);
}

.dit-hedis-pilot__actions {
	gap: 0.75rem;
	flex-wrap: wrap;
	margin-top: 0.5rem;
}

.dit-hedis-pilot__visual {
	position: relative;
}

.dit-hedis-pilot__media {
	margin: 0;
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 18px 40px rgba(11, 42, 74, 0.1);
}

.dit-hedis-pilot__media img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 300px;
	object-fit: cover;
	transition: transform 0.5s var(--dit-ease);
}

.dit-hedis-pilot__visual:hover .dit-hedis-pilot__media img {
	transform: scale(1.03);
}

@media (prefers-reduced-motion: reduce) {
	.dit-hedis-pilot__visual:hover .dit-hedis-pilot__media img {
		transform: none;
	}
}

.dit-hedis-pilot__badge {
	position: absolute;
	left: 1rem;
	bottom: 1rem;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: 0.85rem 1.1rem;
	border-radius: 14px;
	background: var(--dit-teal);
	color: var(--dit-white);
	box-shadow: 0 10px 24px rgba(11, 42, 74, 0.18);
}

.dit-hedis-pilot__badge-num {
	font-family: var(--wp--preset--font-family--heading);
	font-size: 1.85rem;
	font-weight: 700;
	line-height: 1;
}

.dit-hedis-pilot__badge-label {
	margin-top: 0.2rem;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	opacity: 0.9;
}

@media (max-width: 900px) {
	.dit-hedis-pilot__grid {
		grid-template-columns: 1fr;
	}

	.dit-hedis-pilot__media img {
		min-height: 220px;
	}

	.dit-hedis-pilot__actions {
		flex-direction: column;
		align-items: stretch;
		max-width: 22rem;
	}

	.dit-hedis-pilot__actions .wp-block-button,
	.dit-hedis-pilot__actions .wp-block-button__link {
		width: 100%;
		text-align: center;
	}
}

/* -------------------------------------------------------------------------- */
/* Related services                                                           */
/* -------------------------------------------------------------------------- */

.dit-hedis-related {
	background: var(--dit-white);
}

.dit-hedis-related__header .dit-section__title {
	max-width: 18ch;
}

.dit-hedis-related-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.35rem;
	margin-top: 2rem;
}

.dit-hedis-related-card {
	display: flex;
	flex-direction: column;
	padding: 1.65rem 1.45rem 1.5rem;
	background: #f7fbfb;
	border: 1px solid rgba(13, 115, 119, 0.1);
	border-radius: 16px;
	border-left: 3px solid var(--dit-teal);
	transition: transform 0.3s var(--dit-ease), box-shadow 0.3s ease;
}

.dit-hedis-related-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 32px rgba(11, 42, 74, 0.08);
}

.dit-hedis-related-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	margin-bottom: 1rem;
	border-radius: 50%;
	background: rgba(13, 115, 119, 0.1);
	color: var(--dit-teal);
}

.dit-hedis-related-card__title {
	margin: 0 0 0.55rem;
	color: var(--dit-navy);
	font-size: 1.1rem;
	line-height: 1.3;
}

.dit-hedis-related-card__text {
	margin: 0 0 1.15rem;
	color: var(--dit-muted);
	font-size: 0.98rem;
	line-height: 1.55;
	flex: 1 1 auto;
}

.dit-hedis-related-card__link {
	color: var(--dit-teal);
	font-weight: 700;
	text-decoration: none;
}

.dit-hedis-related-card__link:hover,
.dit-hedis-related-card__link:focus-visible {
	color: var(--dit-teal-mid);
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

@media (max-width: 900px) {
	.dit-hedis-related-cards {
		grid-template-columns: 1fr;
	}
}

/* -------------------------------------------------------------------------- */
/* Insights                                                                   */
/* -------------------------------------------------------------------------- */

.dit-hedis-insights {
	background: #f5f8f9;
}

.dit-hedis-insights__header {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.25rem 2rem;
	margin-bottom: 2rem;
}

.dit-hedis-insights__copy {
	flex: 1 1 18rem;
	max-width: 40rem;
}

.dit-hedis-insights__copy .dit-section__title {
	max-width: 18ch;
}

.dit-hedis-insights__cta {
	flex: 0 0 auto;
}

.dit-hedis .dit-btn--sm .wp-block-button__link {
	padding: 0.7rem 1.2rem;
	font-size: 0.9rem;
}

.dit-hedis-insight-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.35rem;
}

.dit-hedis-insight-card {
	display: flex;
	flex-direction: column;
	background: var(--dit-white);
	border-radius: 16px;
	overflow: hidden;
	border: 1px solid rgba(13, 115, 119, 0.08);
	box-shadow: 0 10px 28px rgba(11, 42, 74, 0.05);
	transition: transform 0.3s var(--dit-ease), box-shadow 0.3s ease;
}

.dit-hedis-insight-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 36px rgba(11, 42, 74, 0.1);
}

.dit-hedis-insight-card__thumb {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--dit-mist);
}

.dit-hedis-insight-card__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s var(--dit-ease);
}

.dit-hedis-insight-card:hover .dit-hedis-insight-card__thumb img {
	transform: scale(1.04);
}

.dit-hedis-insight-card__body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	padding: 1.25rem 1.2rem 1.35rem;
}

.dit-hedis-insight-card__meta {
	margin: 0 0 0.55rem;
	color: var(--dit-teal);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.dit-hedis-insight-card__title {
	margin: 0 0 1rem;
	font-size: 1.05rem;
	line-height: 1.4;
	flex: 1 1 auto;
}

.dit-hedis-insight-card__title a {
	color: var(--dit-navy);
	text-decoration: none;
}

.dit-hedis-insight-card__title a:hover,
.dit-hedis-insight-card__title a:focus-visible {
	color: var(--dit-teal);
}

.dit-hedis-insight-card__more {
	color: var(--dit-teal);
	font-weight: 700;
	font-size: 0.92rem;
	text-decoration: none;
}

.dit-hedis-insight-card__more:hover,
.dit-hedis-insight-card__more:focus-visible {
	color: var(--dit-teal-mid);
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

@media (max-width: 900px) {
	.dit-hedis-insight-cards {
		grid-template-columns: 1fr;
	}

	.dit-hedis-insights__header {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media (prefers-reduced-motion: reduce) {
	.dit-hedis-related-card:hover,
	.dit-hedis-insight-card:hover {
		transform: none;
	}

	.dit-hedis-insight-card:hover .dit-hedis-insight-card__thumb img {
		transform: none;
	}
}

/* -------------------------------------------------------------------------- */
/* Contact / inquiry (shared CF7 via .dit-service-inquiry)                   */
/* -------------------------------------------------------------------------- */

.dit-hedis-contact.dit-service-inquiry {
	background:
		linear-gradient(105deg, rgba(13, 115, 119, 0.94) 0%, rgba(11, 42, 74, 0.9) 55%, rgba(11, 42, 74, 0.82) 100%),
		url("../assets/img/pilot.jpg") left center / cover no-repeat;
}

.dit-hedis-contact__panel {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	gap: clamp(1.25rem, 3vw, 2.25rem);
	align-items: center;
	width: 100%;
	max-width: 100%;
	min-width: 0;
}

.dit-hedis-contact__copy .dit-section__title {
	max-width: 16ch;
}

@media (max-width: 1023px) {
	.dit-hedis-contact__panel {
		grid-template-columns: 1fr;
		align-items: stretch;
	}
}

/* -------------------------------------------------------------------------- */
/* Block-editor conversion: explicit margins                                  */
/* These elements used to sit in Custom HTML blocks. As core blocks they live */
/* in flow-layout groups, so block-gap margins are reset here.                */
/* -------------------------------------------------------------------------- */

.dit-hedis-card__top,
.dit-hedis-benefit__icon,
.dit-hedis-related-card__icon {
	margin-block-start: 0;
}

.dit-hedis-card__icon,
.dit-hedis-card__index,
.dit-hedis-benefit,
.dit-hedis-pilot__badge,
.dit-hedis-pilot__badge-num,
.dit-hedis-related-card,
.dit-hedis-related-card__link-wrap {
	margin-block: 0;
}
