/* Patient-specific models (templates/individual.php): the structure of before in the
 * home page's look. Tokens (--c-*) and .cat-wrap come from css/catalog.css. */

.ind { padding: 32px 0 clamp(48px, 6vw, 80px); background: var(--c-soft); }
@media (min-width: 1200px) { .ind .cat-wrap { max-width: 1600px; } } /* as wide as the product page, so it scrolls less */

/* Desktop: 10 % smaller, like the product page (the user prefers it at 90 %). */
@media (min-width: 992px) {
	.ind-title, .ind-card, .ind-img { zoom: .9; }
}

.ind-title { margin: 0 0 24px; padding: 0; font-size: clamp(1.8rem, 2.6vw, 2.4rem); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; color: var(--c-text); }

.ind-card {
	padding: 28px 32px;
	border-radius: 24px;
	background: #fff;
	box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 12px 32px rgba(0, 30, 50, .06);
}
.ind-row { margin-top: 0; }
.ind .row + .row { margin-top: 0; }

.ind-text { font-size: 16px; line-height: 1.7; color: var(--c-text); }
.ind-text p { margin: 0 0 1em; }
.ind-text > :last-child, .ind-text p:last-child { margin-bottom: 0; }
.ind-text a { color: var(--c-navy); }

.ind-img { display: block; width: 100%; height: auto; border-radius: 24px; box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 12px 32px rgba(0, 30, 50, .1); }

/* The benefits: check marks instead of bullets. */
.ind-list ul { display: grid; gap: 10px; margin: 0 0 1.2em; padding: 0; list-style: none; }
.ind-list li { position: relative; padding-left: 34px; line-height: 1.5; }
.ind-list li::before {
	content: "✓";
	position: absolute;
	top: 0;
	left: 0;
	display: grid;
	place-items: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #eef4fa;
	font-size: 12px;
	font-weight: 700;
	color: var(--c-navy);
}

/* Data delivery: the accordion in a white box. */
.ind-acc { padding: 6px 28px; }
.ind-acc .accordion-item { border-color: var(--c-line); background: none; }
.ind-acc .accordion-item:last-child { border-bottom: 0; }
.ind-acc .accordion-button { padding: 18px 0; background: none; box-shadow: none; font-size: 16px; font-weight: 600; color: var(--c-text); }
.ind-acc .accordion-button:not(.collapsed) { color: var(--c-navy); }
.ind-acc .accordion-button:focus-visible { outline: 3px solid #5ee1ff; outline-offset: 2px; }
.ind-acc .accordion-body { padding: 0 0 18px; font-size: 15px; line-height: 1.65; color: var(--c-text); }
.ind-acc .accordion-body p { margin: 0 0 .8em; }
.ind-acc .accordion-body p:last-child { margin-bottom: 0; }

@media (max-width: 991px) {
	.ind { padding-top: 20px; }
	.ind-card { padding: 20px; border-radius: 20px; }
	.ind-acc { padding: 4px 20px; }
}
