/* Sister sites strip ("The Health Explorer family") in the footer.
   Markup comes from build-footer.js (generator folder). Linked in includes/header.asp:
   bump the ?v= number there after editing this file.
   Colours are chosen for this site's dark navy footer with its teal accent. */

.hc-family {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-top: 18px;
	padding: 16px 0;
	border-top: 1px solid rgba(255,255,255,.12);
}
.hc-family .hc-family-intro { flex: 1 1 190px; min-width: 190px; }
.hc-family .hc-family-label {
	display: block;
	margin-bottom: 2px;
	font-family: var(--ff-d);
	font-size: 11px;
	line-height: 1.4;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: #7fe3d2;
}
.hc-family .hc-family-intro p {
	margin: 0;
	font-size: 13px;
	line-height: 1.4;
	color: #a9b6ca;
}

.hc-family .hc-family-list {
	display: flex;
	flex: 0 1 auto;
	justify-content: flex-end;
	gap: 10px;
	min-width: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}
.hc-family .hc-family-list li {
	display: flex;
	flex: 0 1 auto;
	min-width: 0;
	margin: 0;
	padding: 0;
}
.hc-family .hc-family-list li a {
	display: flex;
	flex: 1;
	align-items: center;
	gap: 10px;
	padding: 6px 14px 6px 6px;
	border: 1px solid rgba(255,255,255,.16);
	border-radius: 50px;
	background: transparent;
	text-align: left;
	text-decoration: none;
	color: #e6edf7;
	transition: background-color .3s ease, border-color .3s ease;
}
.hc-family .hc-family-list li a:hover,
.hc-family .hc-family-list li a:focus-visible {
	background: rgba(255,255,255,.06);
	border-color: rgba(111,224,207,.55);
	color: #fff;
}
.hc-family .hc-family-list li a:focus-visible {
	outline: 2px solid #7fe3d2;
	outline-offset: 2px;
}

.hc-family .hc-family-icon {
	display: flex;
	flex: 0 0 30px;
	align-items: center;
	justify-content: center;
	height: 30px;
	border-radius: 50%;
	background: rgba(111,224,207,.12);
	color: #7fe3d2;
}
.hc-family .hc-family-icon svg { display: block; width: 13px; height: 13px; }

.hc-family .hc-family-text { display: block; min-width: 0; }
.hc-family .hc-family-text strong {
	display: block;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.35;
}
.hc-family .hc-family-text em {
	display: block;
	font-size: 11.5px;
	font-style: normal;
	line-height: 1.35;
	color: #9fb0c8;
}

/* medium screens: heading centred above one row of three pills */
@media (max-width: 1199px) {
	.hc-family { flex-direction: column; gap: 12px; text-align: center; }
	.hc-family .hc-family-intro { flex: 0 0 auto; }
	.hc-family .hc-family-list { justify-content: center; max-width: 100%; }
}

/* small screens: pills stacked and centred */
@media (max-width: 850px) {
	.hc-family .hc-family-list { flex-direction: column; width: 100%; max-width: 340px; }
}

@media print { .hc-family { display: none; } }
