/* Internal links to the service pages, injected into theme pages (inc/internal-links.php).
   Type and colours follow the bhafuture2022 theme (style.css). */

/* Footer: service links row. Font size comes from the theme's ".foot-ct a"
   (matches the "general" / "careers" labels at every breakpoint); colour matches those labels. */
.main-footer .bha-il-foot { margin-top: 40px; }
.main-footer .bha-il-foot p { margin: 0; line-height: 1.6; }
.main-footer .bha-il-foot a { margin-right: 28px; color: rgba(255, 255, 255, 0.5); text-decoration: none; }
.main-footer .bha-il-foot a:last-child { margin-right: 0; }
.main-footer .bha-il-foot a:hover,
.main-footer .bha-il-foot a:focus { color: #fff; }
.main-footer .bha-il-foot a,
.bha-il-inline a { white-space: nowrap; }
@media (max-width: 575px) {
	/* One link per line: easier to tap than a wrapped run. */
	.main-footer .bha-il-foot { padding-top: 0; }
	.main-footer .bha-il-foot a { display: block; margin-right: 0; padding: 4px 0; }
}

/* /services/: "Specialist services" strip above the project grid. */
.bha-il-strip { margin: 30px 0 60px; }
/* Beat the theme's ".services-sec h2" (60px page-title style). */
.services-sec .bha-il-strip-title,
.bha-il-strip-title {
	margin: 0 0 20px;
	font-family: 'DINPro-black', sans-serif;
	font-size: 22px;
	line-height: 1.2;
	letter-spacing: 0;
	text-transform: none;
	font-style: italic;
	font-weight: 900;
	color: #000;
}
.bha-il-strip ul {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.bha-il-strip a {
	display: block;
	height: 100%;
	padding-top: 16px;
	border-top: 2px solid #000;
	color: #000;
	text-decoration: none;
}
.bha-il-strip strong { display: block; font-size: 18px; font-weight: 700; line-height: 1.3; }
.bha-il-strip span { display: block; margin-top: 8px; font-size: 15px; line-height: 1.5; color: #555; }
.bha-il-strip a:hover strong,
.bha-il-strip a:focus strong { text-decoration: underline; }
@media (max-width: 991px) {
	.bha-il-strip ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575px) {
	.bha-il-strip ul { grid-template-columns: 1fr; gap: 16px; }
}

/* Home: line of links under a pillar's paragraph. */
.bha-il-inline { margin: 16px 0 24px; font-size: 16px; line-height: 1.7; color: #000; }
.bha-il-inline a { color: #000; text-decoration: underline; text-underline-offset: 3px; }
.bha-il-inline i { font-style: normal; margin: 0 4px; color: #999; }

/* About: dedicated-practices sentence. */
.bha-il-about a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* Case studies: "Related services" line above the tag line, at the tags' scale
   (theme .browse-bt-tag-line: 14px / 600, grey #B5B5B5, 13px under 1500px). */
.bha-il-project { margin: 40px 0 0; }
.bha-il-project .col-lg-12 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 20px; }
.bha-il-project .bha-il-project-title { margin: 0; font-size: 14px; font-weight: 700; color: #000; }
.bha-il-project ul { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 0; padding: 0; list-style: none; }
.bha-il-project a { font-size: 14px; font-weight: 600; color: #B5B5B5; text-decoration: none; }
.bha-il-project a:hover,
.bha-il-project a:focus { color: #000; }
@media (max-width: 1500px) {
	.bha-il-project .bha-il-project-title,
	.bha-il-project a { font-size: 13px; }
}
