/* Flexible home page — home-only section styles */

.fh-home .banner .row,
.fh-home .work-section .row {
	width: auto;
	max-width: none;
	margin-left: -15px;
	margin-right: -15px;
}

.fh-home .banner .text,
.fh-home .work-section .text {
	width: auto;
	max-width: none;
	margin: 0;
	padding: 0;
}

.fh-home .banner .text {
	margin-top: 0;
	margin-bottom: 0;
}

.fh-home .banner.fh-section {
	padding: 3.75rem 0;
}

/* Hero banner */
.fh-home .banner,
.fh-home .banner h1,
.fh-home .banner .text,
.fh-home .banner .text p,
.fh-home .banner .text a:not(.btn):not(.fh-action-link) {
	color: var(--intopia-color-black);
}

.fh-home .banner .text a.fh-action-link {
	color: var(--fh-orange-btn);
}

.fh-home .banner .text p {
	color: var(--fh-text);
}

.fh-home .banner .image img {
	display: block;
}

.fh-home .banner .row.fh-media-text--text-only .text {
	float: none;
	text-align: center;
	max-width: 42rem;
	margin-left: auto;
	margin-right: auto;
}

.fh-home .banner .row.fh-media-text--text-only .fh-cta-row {
	margin-top: 1.5em;
	text-align: center;
}

.fh-home .work-section {
	color: var(--fh-text);
}

.fh-home .work-section {
	background-color: var(--fh-peach);
}

.fh-home .work-section h2,
.fh-home .work-section h3 {
	color: inherit;
}

.fh-home .work-section .item h3 a {
	padding: 0.5rem;
	border-bottom: 2px solid;
	line-height: inherit;
}

.fh-home .work-section .item h3 a:hover,
.fh-home .work-section .item h3 a:focus {
	background: var(--intopia-color-brand-hover);
	color: var(--intopia-color-white);
	border-bottom-color: var(--intopia-color-black);
}

.fh-home .work-section .item h3 a:hover span,
.fh-home .work-section .item h3 a:focus span {
	color: var(--intopia-color-white);
}

.fh-home .work-section .item .excerpt,
.fh-home .work-section .item .date,
.fh-home .work-section .item p,
.fh-home .work-section .item a:not(.item-title a),
.fh-home .work-section .item {
	color: var(--fh-text);
}

.fh-home .work-section .item-title a {
	color: var(--fh-orange);
}

.page-template-flexible-home-page .fh-section--content a:not(.btn) {
	color: var(--fh-text);
	text-decoration: underline;
}

.page-template-flexible-home-page .fh-section--content a:not(.btn):hover,
.page-template-flexible-home-page .fh-section--content a:not(.btn):focus {
	text-decoration: none;
}

.page-template-flexible-home-page a.btn.brand.callout-cta-orange {
	font-size: var(--intopia-type-size-body);
	color: white;
	text-decoration: none;
	border-radius: 99px;
	background: var(--intopia-color-brand);
	padding: .625rem 1.25rem;
	margin-top: 1.25rem;
	border-radius: 15em;
}

/* Clients / logo strip — centred (loads after shared flexible-sections.css) */
.fh-home .home-client-list .text.col-sm-12,
.fh-home .fh-section--centered .text.col-sm-12 {
	float: none;
	width: 100%;
	text-align: center;
}

.fh-home .home-client-list,
.fh-home .fh-section--centered,
.fh-home .home-client-list .text,
.fh-home .fh-section--centered .text {
	text-align: center;
}

.fh-home .home-client-list .text h2,
.fh-home .fh-section--centered .text h2 {
	color: var(--intopia-color-black);
	text-align: center;
}

.fh-home .home-client-list .our-clients-ajax-container,
.fh-home .fh-section--centered .our-clients-ajax-container,
.fh-home .home-client-list .client-list,
.fh-home .fh-section--centered .client-list {
	margin-left: auto;
	margin-right: auto;
}

@media (max-width: 767px) {
	.fh-home .banner .row,
	.fh-home .work-section .row {
		margin-left: 0;
		margin-right: 0;
	}

	.fh-home .banner .text,
	.fh-home .work-section .text {
		padding-left: 0;
		padding-right: 0;
		margin-top: 0;
		margin-bottom: 0;
	}

	.fh-home .banner.fh-section {
		padding: 2.5rem 0;
	}

	.fh-home .banner .container {
		padding-left: 20px;
		padding-right: 20px;
	}

	.fh-home .banner .row.fh-media-text--text-only .text {
		text-align: left;
		max-width: none;
	}

	.fh-home .banner .row.fh-media-text--text-only .fh-cta-row {
		justify-content: flex-start;
	}
}
