/*
 * Continuous Care page (/continuous-care/) styles.
 * Loads on that page only. Shared page sections are in assets/css/theme.css.
 */

/* Hero: four number tiles under the copy. */
.cm-section > .cm-cc-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 16px;
	padding-block: 0 88px;
}

.cm-cc-stat {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 28px;
	border-radius: 20px;
	background: var(--wp--preset--color--surface);
}

.cm-cc-stat:first-child {
	background: var(--wp--preset--color--pill);
	color: var(--wp--preset--color--navy-deep);
}

.cm-cc-stat:nth-child(2) {
	background: var(--wp--preset--color--pill);
}

.cm-cc-stat__value {
	font-size: 44px;
	font-weight: 700;
	line-height: 1.05;
	color: var(--wp--preset--color--navy-deep);
}

.cm-cc-stat__label {
	font-size: 16px;
	line-height: 1.5;
}

.cm-cc-stat:first-child .cm-cc-stat__value {
	color: var(--wp--preset--color--navy-deep);
}

.cm-cc-stat:first-child .cm-cc-stat__label {
	color: var(--wp--preset--color--on-dark);
}

/* Programs: one white card per Medicare program. */
.cm-cc-programs {
	grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
	gap: 18px;
}

.cm-cc-program {
	gap: 10px;
	padding: 28px;
	border: 0;
}

.cm-cc-program .cm-card__title {
	font-size: 22px;
	color: var(--wp--preset--color--navy-deep);
}

/* Specialties and specialty program links under the cards. */
.cm-cc-tags {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.cm-cc-tags__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 16px;
}

.cm-cc-tags__label {
	font-weight: 700;
	color: var(--wp--preset--color--navy-deep);
}

.cm-cc-specialties .cm-pill {
	border: 1px solid var(--wp--custom--color--tab-border);
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--navy-deep);
}

.cm-cc-specialty-programs a.cm-pill {
	display: inline-block;
	border: 1px solid var(--wp--preset--color--border);
	text-decoration: none;
}

/* How it works: four steps, each under a teal rule. */
.cm-cc-steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 24px;
	padding: 0;
	list-style: none;
}

.cm-cc-steps li {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 22px 4px 0;
	border-top: 3px solid var(--wp--preset--color--teal);
	font-size: 16px;
	line-height: 1.55;
}

.cm-cc-steps strong {
	font-size: 22px;
	font-weight: 700;
	color: var(--wp--preset--color--navy-deep);
}

/* How it works: heading on the left, the care-team diagram on the right. */
.cm-cc-how__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 32px 56px;
}

.cm-cc-how__head > .cm-intro {
	flex: 1 1 420px;
}

.cm-cc-how__visual {
	flex: 1 1 420px;
	min-width: 0;
	max-width: 540px;
	margin: 0 auto;
}

.cm-cc-how__visual img {
	display: block;
	width: 100%;
	height: auto;
}

/* Insights agents callout under the steps: copy on the left, link on the right. */
.cm-cc-insights {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px 40px;
	padding: 28px 32px;
	border: 1px solid var(--wp--preset--color--mint);
	border-radius: 20px;
	background: var(--wp--preset--color--pill);
}

.cm-cc-insights__copy {
	display: flex;
	flex: 1 1 520px;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
	font-size: 16px;
	line-height: 1.55;
	color: var(--wp--preset--color--text-2);
}

.cm-cc-insights__label {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	color: var(--wp--preset--color--pill-ink);
}

.cm-section .cm-cc-insights__title {
	font-size: 22px;
	font-weight: 700;
	letter-spacing: 0;
}

.cm-cc-insights .cm-arrow-link a {
	color: var(--wp--preset--color--pill-ink);
}

/* Patient stories: two quotes in white panels. */
.cm-section > .cm-cc-stories {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
}

.cm-cc-story.wp-block-quote {
	display: flex;
	flex: 1 1 360px;
	flex-direction: column;
	gap: 18px;
	min-width: 0;
	margin: 0;
	padding: 32px;
	border: 1px solid var(--wp--preset--color--panel-border);
	border-radius: 22px;
	background: var(--wp--preset--color--panel);
}

.cm-cc-story p {
	font-size: 22px;
	font-weight: 600;
	line-height: 1.45;
	color: var(--wp--preset--color--navy-deep);
}

.cm-cc-story cite {
	font-size: 15px;
	font-style: normal;
	color: var(--wp--preset--color--on-dark-muted);
}

/* App and closing call to action, side by side. */
.cm-section > .cm-cc-app {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 48px;
	padding-block: 88px;
}

.cm-cc-app__copy {
	display: flex;
	flex: 1 1 480px;
	flex-direction: column;
	gap: 16px;
	min-width: 0;
}

body .cm-cc-app__title {
	font-size: clamp(30px, 3.2vw, 42px);
	line-height: 1.1;
}

.cm-cc-store .wp-block-button__link {
	padding: 14px 20px;
	border-radius: 12px;
	font-size: 15px;
	font-weight: 600;
}

.cm-cc-ready {
	display: flex;
	flex: 1 1 380px;
	flex-direction: column;
	gap: 14px;
	min-width: 0;
}

body .cm-cc-ready__title {
	font-size: 34px;
	font-weight: 700;
}

.cm-cc-ready__text {
	font-size: 17px;
	line-height: 1.55;
	color: var(--wp--preset--color--text-2);
}
