/* ==========================================================================
   Hub Page
   ========================================================================== */

/* ==========================================================================
   Hero
   ========================================================================== */

.hub-hero {
	background-color: var(--color-white);
	text-align: center;
	padding-block: 3rem 4rem;
}

.hub-hero__hashtag {
	font-family: var(--font-primary);
	font-size: 2.1875rem;
	font-weight: 400;
	line-height: 1.1;
	color: var(--color-text);
	margin: 0 0 1rem;
}

.hub-hero__hashtag-accent {
	color: var(--color-accent);
}

.hub-hero__heading {
	font-family: var(--font-primary);
	font-size: 4.5rem;
	font-weight: 800;
	line-height: 1.14;
	color: var(--color-text);
	margin: 0;
}

/* ==========================================================================
   Intro
   ========================================================================== */

.hub-intro {
	background-color: var(--color-white);
	position: relative;
	overflow: hidden;
}

.hub-intro::before,
.hub-intro::after {
	content: '';
	position: absolute;
	border-radius: 50%;
	pointer-events: none;
	z-index: 0;
}

.hub-intro::before {
	width: 64rem;
	height: 63rem;
	border: 1px solid rgba(0, 0, 0, 0.05);
	top: -14rem;
	right: -10rem;
}

.hub-intro::after {
	width: 53rem;
	height: 54rem;
	border: 1px solid rgba(0, 0, 0, 0.05);
	top: -7rem;
	left: -12rem;
}

.hub-intro__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	align-items: center;
	position: relative;
	z-index: 1;
}

.hub-intro__image {
	border-radius: 1.5rem;
	overflow: hidden;
}

.hub-intro__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.hub-intro__column {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0 1.25rem;
}

.hub-intro__column-icon {
	grid-row: 1 / -1;
	padding-top: 0.25rem;
}

.hub-intro__column-body {
	min-width: 0;
}

.hub-intro__title {
	font-family: var(--font-primary);
	font-size: 2.1875rem;
	font-weight: 400;
	line-height: 1.1;
	color: #006bb2;
	margin: 0 0 1.25rem;
}

.hub-intro__text {
	font-family: var(--font-primary);
	font-size: 1.25rem;
	font-weight: 400;
	line-height: 1.25;
	color: var(--color-black);
	text-align: justify;
}

.hub-intro__text p {
	margin: 0 0 1rem;
}

.hub-intro__text p:last-child {
	margin-bottom: 0;
}

/* ==========================================================================
   Digital Hub Services
   ========================================================================== */

.hub-services {
	background-color: #006bb2;
	color: var(--color-white);
}

.hub-services__header {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1.25rem;
	margin-bottom: 2rem;
}

.hub-services__header-icon {
	filter: brightness(0) invert(1);
}

.hub-services__title {
	font-family: var(--font-primary);
	font-size: 2.1875rem;
	font-weight: 400;
	line-height: 1.1;
	color: var(--color-white);
	margin: 0;
}

.hub-services__subtitle {
	font-family: var(--font-primary);
	font-size: 2.1875rem;
	font-weight: 400;
	line-height: 1.1;
	color: var(--color-white);
	text-align: center;
	margin: 0 0 3rem;
}

.hub-services__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem 3.5rem;
}

.hub-services__item {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0 1rem;
	align-items: start;
}

.hub-services__bullet {
	width: 0.625rem;
	height: 0.625rem;
	background-color: var(--color-accent);
	border-radius: 50%;
	margin-top: 0.5rem;
	flex-shrink: 0;
}

.hub-services__item p {
	font-family: var(--font-primary);
	font-size: 1.375rem;
	font-weight: 400;
	line-height: 1.27;
	color: var(--color-white);
	margin: 0;
	text-align: justify;
}

/* ==========================================================================
   CTA
   ========================================================================== */

.hub-cta {
	background-color: var(--color-white);
	position: relative;
	overflow: hidden;
}

.hub-cta::before {
	content: '';
	position: absolute;
	width: 32rem;
	height: 31rem;
	border: 1.5px solid var(--color-accent);
	border-radius: 50%;
	top: -4rem;
	right: -8rem;
	pointer-events: none;
	z-index: 0;
	opacity: 0.25;
}

.hub-cta__content {
	position: relative;
	z-index: 1;
	text-align: center;
	max-width: 50rem;
	margin-inline: auto;
}

.hub-cta__image {
	width: 100%;
	max-width: 36rem;
	border-radius: 1.5rem;
	margin-bottom: 2.5rem;
    margin-inline: auto;
}

.hub-cta__text {
	font-family: var(--font-primary);
	font-size: 1.375rem;
	font-weight: 400;
	line-height: 1.27;
	color: var(--color-text);
	margin: 0 0 2.5rem;
}

.hub-cta__text a {
	color: var(--color-accent);
	text-decoration: underline;
	font-weight: 700;
}

.hub-cta__text a:hover {
	text-decoration: none;
}

.hub-cta .btn--primary {
	background-color: var(--color-accent);
	white-space: nowrap;
}

/* ==========================================================================
   Responsive — Tablet (1024px)
   ========================================================================== */

@media (max-width: 1024px) {

	.hub-hero__heading {
		font-size: 3.25rem;
	}

	.hub-hero__hashtag {
		font-size: 1.75rem;
	}

	.hub-intro__title {
		font-size: 1.75rem;
	}

	.hub-services__title {
		font-size: 1.75rem;
	}

	.hub-services__subtitle {
		font-size: 1.75rem;
	}

	.hub-services__list {
		grid-template-columns: 1fr;
	}

	.hub-intro__grid {
		grid-template-columns: 1fr;
	}

	.hub-intro::before,
	.hub-intro::after,
	.hub-cta::before {
		display: none;
	}
}

/* ==========================================================================
   Responsive — Mobile (768px)
   ========================================================================== */

@media (max-width: 768px) {

	.hub-hero {
		padding-block: 2rem 3rem;
	}

	.hub-hero__heading {
		font-size: 2.25rem;
	}

	.hub-hero__hashtag {
		font-size: 1.375rem;
	}

	.hub-intro__column {
		grid-template-columns: 1fr;
	}

	.hub-intro__column-icon {
		grid-row: auto;
	}

	.hub-intro__image {
		border-radius: 1rem;
	}

	.hub-intro__title {
		font-size: 1.375rem;
	}

	.hub-intro__text {
		font-size: 1rem;
	}

	.hub-services__header {
		flex-wrap: wrap;
		justify-content: center;
	}

	.hub-services__title {
		font-size: 1.375rem;
		text-align: center;
	}

	.hub-services__subtitle {
		font-size: 1.375rem;
	}

	.hub-services__item p {
		font-size: 1.125rem;
	}

	.hub-cta__text {
		font-size: 1.125rem;
	}
}
