/*
Theme Name: FAB Solutions Child Theme
Template: astra
Version: 1.1.0
Description: FAB Solutions branding and responsive page styling.
*/

:root {
	--fab-blue: #08a9df;
	--fab-ink: #172b3a;
	--fab-muted: #526575;
	--fab-pale: #eef8fc;
}

body {
	color: var(--fab-ink);
	background: #fff;
}

.ast-primary-header-bar {
	background: #fff;
	box-shadow: 0 2px 18px rgb(23 43 58 / 8%);
}

.site-primary-header-wrap {
	min-height: 94px;
}

.site-branding .site-title a {
	display: block;
	width: 230px;
	height: 66px;
	font-size: 0;
	background: url("/wp-content/uploads/2023/05/Blue-V1-01-1024x520.png") center / contain no-repeat;
}

.main-header-menu .menu-link {
	font-weight: 600;
	letter-spacing: .01em;
}

.main-header-menu .current-menu-item > .menu-link,
.main-header-menu .menu-link:hover {
	color: var(--fab-blue);
}

.ast-container {
	max-width: 1200px;
}

.page .entry-header {
	display: none;
}

.entry-content {
	color: var(--fab-muted);
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
	color: var(--fab-ink);
	line-height: 1.2;
}

.entry-content h1 {
	font-size: clamp(2rem, 4vw, 3.25rem);
	letter-spacing: -.035em;
}

.entry-content h2 {
	font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.entry-content h3 {
	font-size: clamp(1.2rem, 2.2vw, 1.65rem);
}

.entry-content > p:first-child {
	margin-top: 0;
}

.entry-content > p > img {
	display: block;
	width: min(100%, 420px);
	height: auto;
	margin: 1.25rem auto 2rem;
}

.page-id-8 .entry-content > h3:first-of-type {
	margin-top: 2rem;
	padding-bottom: .75rem;
	border-bottom: 2px solid #d9eef6;
}

.page-id-8 .entry-content > h3:not(:first-of-type) {
	margin: 2rem 0 .75rem;
	padding: .75rem 1rem;
	border-left: 4px solid var(--fab-blue);
	background: var(--fab-pale);
}

.page-id-8 .fab-service-section {
	margin: 2.25rem 0;
}

.page-id-8 .fab-service-section > h3 {
	margin: 0 0 1.25rem;
	padding: .85rem 1rem;
	border-left: 4px solid var(--fab-blue);
	background: var(--fab-pale);
	font-size: clamp(1.25rem, 2.5vw, 1.6rem);
}

.page-id-8 .fab-service-section > h4 {
	margin: 1.4rem 0 .4rem;
	font-size: 1.05rem;
}

.page-id-8 .entry-content > p:has(+ ol) {
	margin: 2rem 0 .75rem;
	padding: .85rem 1rem;
	border-left: 4px solid var(--fab-blue);
	background: var(--fab-pale);
	color: var(--fab-ink);
	font-size: 1.15rem;
	font-weight: 700;
}

.page-id-8 .entry-content > p:has(img) {
	margin: 0 0 1.75rem;
}

.page-id-8 .entry-content > p:has(img) img {
	width: min(100%, 440px);
	max-height: 290px;
	margin: 0;
	object-fit: cover;
	border-radius: 6px;
}

.page-id-8 .entry-content ol,
.page-id-8 .entry-content ul {
	margin-block: .75rem 1.5rem;
	padding-left: 1.5rem;
}

.page-id-8 .entry-content li {
	margin-block: .3rem;
	line-height: 1.65;
}

.entry-content input:not([type="submit"]),
.entry-content textarea,
.entry-content select {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	min-height: 46px;
	padding: .7rem .8rem;
	border: 1px solid #c8d6de;
	border-radius: 4px;
}

.entry-content textarea {
	min-height: 150px;
}

.entry-content input[type="submit"] {
	min-height: 46px;
	padding: .7rem 1.35rem;
	border: 0;
	color: #fff;
	font-weight: 700;
}

.fab-home-intro {
	padding: clamp(2.5rem, 6vw, 5rem) clamp(1rem, 3vw, 2.5rem);
	border-bottom: 1px solid #dcecf2;
	background: linear-gradient(135deg, #f3fbfe 0%, #fff 72%);
}

.fab-home-intro h1 {
	max-width: 850px;
	margin: 0 0 1.25rem;
	font-size: clamp(2rem, 4vw, 3.25rem);
}

.fab-home-intro h5 {
	margin: 0 0 .75rem;
	color: var(--fab-blue);
	font-size: 1.15rem;
}

.fab-home-intro p {
	max-width: 720px;
	font-size: 1.1rem;
}

.fab-home-cta {
	margin-top: 1.5rem;
}

.fab-button,
.entry-content a.fab-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: .7rem 1.35rem;
	border-radius: 4px;
	background: var(--fab-blue);
	color: #fff;
	font-weight: 700;
	text-decoration: none;
}

.fab-button:hover,
.entry-content a.fab-button:hover {
	background: #078fbe;
	color: #fff;
}

.fab-home-company {
	max-width: 1000px;
	margin: clamp(2.5rem, 6vw, 4.5rem) auto;
	padding: 0 clamp(1rem, 3vw, 2.5rem) clamp(2rem, 4vw, 3rem);
}

.fab-home-company > h6 {
	margin: 0 0 .7rem;
	color: var(--fab-blue);
	text-transform: uppercase;
	letter-spacing: .12em;
}

.fab-home-company > h2 {
	margin-top: 0;
}

.entry-content a:not(.wp-block-button__link) {
	color: #078fbe;
}

.entry-content a:not(.wp-block-button__link):hover {
	color: #056d91;
}

.entry-content a.fab-button,
.entry-content a.fab-button:hover {
	color: #fff;
}

.entry-content input[type="submit"],
.entry-content button,
.ast-button {
	border-radius: 4px;
	background: var(--fab-blue);
}

@media (max-width: 921px) {
	.site-primary-header-wrap {
		min-height: 78px;
	}

	.site-branding .site-title a {
		width: 184px;
		height: 54px;
	}

	.ast-container {
		padding-inline: 22px;
	}

	.entry-content > p > img {
		width: min(100%, 360px);
		margin: 1rem auto 1.5rem;
	}

	.page-id-8 .entry-content > h3:not(:first-of-type) {
		margin-top: 1.5rem;
	}

	.fab-home-intro {
		padding: 2.25rem 1.25rem;
	}

	.fab-home-company {
		margin: 2.5rem auto;
		padding-inline: 1.25rem;
	}

	.fab-home-intro h1 {
		font-size: clamp(1.8rem, 8vw, 2.5rem);
	}

	.fab-home-intro p {
		font-size: 1rem;
	}
}
