/* ==========================================================================
   Category Archive Header
========================================================================== */
.category-information-wrapper {
	padding: 20px 0px 0px 0px;
	position: relative;
}

.category-information-container {
	max-width: var(--1280);
	margin: 0px auto;
	text-align: center;
	padding-bottom: 60px;
}

.category-information-container h1 {
	font-family: var(--font-family);
	color: var(--gb-dark-blue-text);
	font-size: 58px;
	line-height: 111%;
	font-weight: 900;
	width: 100%;
	margin: 30px 0px;
	padding: 0px;
}

.category-information-container p {
	font-size: 18px;
	color: var(--gb-dark-grey-text);
	line-height: 24px;
	margin: 30px auto 0px auto;
	padding: 0px;
	max-width: 840px;
}

.breadcrumb {
	display: inline-block;
	padding: 6px 15px;
	margin-top: 20px;
	margin-bottom: 0px;
	list-style: none;
	background-color: transparent;
	border-radius: 6px;
	border-bottom: 1px solid #dfe1e36e;
}

.breadcrumb a {
	color: #505253c4;
}

a.breadcrumb-deepest-link {
	font-weight: bold;
	color: #333 !important;
}

.breadcrumb span {
	font-weight: bold;
	color: var(--gb-orange-text);
}

/* ==========================================================================
   Leadership
========================================================================== */
.leadership-latest-wrapper {
	background: linear-gradient(0deg, var(--gb-white) -39.41%, #f4fcff 100%);
	position: relative;
	padding: 80px 0px;
}

.leadership-latest-container {
	max-width: var(--1280);
	margin: 0px auto;
	padding-bottom: 0px;
}

.leadership-latest-container .heading {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
}

.leadership-latest-container .heading a {
	font-size: 18px;
	color: var(--gb-dark-blue-text);
}

.leadership-latest-container .heading h2,
.post-list-container h2 {
	font-weight: 800;
	font-size: 34px;
	color: var(--gb-dark-blue-text);
	display: flex;
	margin: 0px;
	line-height: 0px;
}

.leadership-latest-container .heading h2::after,
.post-list-container h2::after {
	content: url(../img/heading-div.svg);
	display: inline-flex;
	margin-left: 8px;
	height: 0px;
	align-items: center;
}

.leadership-latest-container .category-posts-grid {
	margin: 42px auto 0px auto;
}

/* ==========================================================================
   Category Archive Posts
========================================================================== */
.category-posts-featured {
	background: linear-gradient(0deg, var(--gb-white) -39.41%, #f4fcff 100%);
	padding: 60px 0px;
	position: relative;
}

.post-featured {
	max-width: var(--1280);
	margin: 0px auto;
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 30px;
	align-items: center;
	border-radius: 16px;
	background-color: var(--gb-white);
	border: 1px solid #d4e9f1;
	transition: var(--animate-transition);
	padding: 0px;
}

.post-featured-image {
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	display: block;
	border-radius: 12px;
	border-top-right-radius: 0px;
	border-bottom-right-radius: 0px;
}

.post-featured-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.post-featured-content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	margin-right: 30px;
	margin-left: 30px;
}

.post-featured-content h2 {
	color: var(--gb-dark-blue-text);
	font-weight: 800;
	font-size: 32px;
	line-height: 42px;
	display: flex;
	margin: 0px;
	margin-bottom: 20px;
}

.post-featured-content a {
	color: var(--gb-dark-blue-text);
}

.post-featured-content .post-meta {
	font-size: 14px;
	color: var(--gb-dark-grey-text);
	margin-bottom: 1rem;
}

.post-featured-content .post-excerpt {
	margin: 0px;
	color: var(--gray-900);
	font-size: 18px;
	line-height: 32px;
}

.category-posts-grid {
	max-width: var(--1280);
	margin: 60px auto;
	display: grid;
	grid-template-columns: 1fr;
	gap: 32px;
	/* background: url(../img/team-member-shapes-bg.png) center center no-repeat;
    background-size: contain; */
}

@media (min-width: 768px) {
	.category-posts-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.category-posts {
	max-width: var(--1280);
	margin: 0px auto;
	display: grid;
	grid-template-columns: 1fr;
	gap: 50px;
}

.post-grid-item {
	background: rgba(254, 255, 255, 0.85);
	border: 1px solid rgba(0, 156, 222, 0.15);
	box-shadow:
		0px 0px 28px rgba(0, 156, 222, 0.08),
		inset 0px 0px 0px 3px var(--gb-white);
	border-radius: 12px;
	position: relative;
	font-size: 22px;
	line-height: 30px;
	color: var(--gb-dark-grey-text);
	font-weight: bold;
	transition: border-color 0.3s ease;
	box-sizing: content-box;
}

.post-grid-item:hover {
	text-decoration: none;
	background:
		radial-gradient(circle at 100% 100%, #ffffff 0, #ffffff 5px, transparent 5px) 0% 0%/6px 6px
			no-repeat,
		radial-gradient(circle at 0 100%, #ffffff 0, #ffffff 5px, transparent 5px) 100% 0%/6px 6px
			no-repeat,
		radial-gradient(circle at 100% 0, #ffffff 0, #ffffff 5px, transparent 5px) 0% 100%/6px 6px
			no-repeat,
		radial-gradient(circle at 0 0, #ffffff 0, #ffffff 5px, transparent 5px) 100% 100%/6px 6px
			no-repeat,
		linear-gradient(#ffffff, #ffffff) 50% 50% / calc(100% - 2px) calc(100% - 12px) no-repeat,
		linear-gradient(#ffffff, #ffffff) 50% 50% / calc(100% - 12px) calc(100% - 2px) no-repeat,
		linear-gradient(343deg, transparent 0%, #dbf3ef 100%),
		linear-gradient(90deg, transparent 0%, #e2f3fa 100%);
	box-sizing: content-box;
}

.post-grid-item .post-thumbnail {
	width: 100%;
	max-height: 200px;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	border-bottom-left-radius: 0px;
	border-bottom-right-radius: 0px;
	/* border-bottom: 2px solid #0073b8; */
}

.post-grid-item .post-thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.post-grid-item span {
	background-color: #fd6a3c;
	display: inline-block;
	height: 7px;
	width: 20%;
	position: absolute;
	top: 197px;
}

.post-grid-item h3 {
	font-size: 18px;
	line-height: 24px;
	margin: 26px 30px 10px 30px;
	font-weight: 700;
	color: var(--gb-dark-blue-text);
	transition: font-color 0.3s ease;
}

.post-grid-item:hover h3 {
	color: var(--gb-blue-text);
}

.post-excerpt {
	margin: 0px 30px 30px 30px;
	font-size: 16px;
	color: var(--gb-dark-grey-text);
	line-height: 22px;
	padding: 0px;
}

@media (min-width: 768px) {
	.category-posts {
		grid-template-columns: 1fr 1fr 1fr;
	}
	.post-featured {
		grid-column: 1 / -1;
	}
}

/* ==========================================================================
   Pagination
========================================================================== */
.pagination-wrapper {
	max-width: var(--1280);
	margin: 0px auto;
	text-align: center;
}

.pagination {
	margin: 0px auto;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: 16px;
}

.pagination ul {
	display: flex;
	justify-content: center;
	list-style: none;
	gap: 10px;
	padding: 0;
	flex-direction: row;
	align-items: center;
}

.pagination ul li {
	display: inline-block;
	box-sizing: border-box;
	margin: 0px;
}

.pagination a,
.pagination span {
	padding: 0.5em 1em;
	border: 0px;
	text-decoration: none;
	border-radius: 100px;
	color: #17465a;
}

.pagination a:hover {
	background-color: #b1d8ea2e;
}

.pagination .page-prev,
.pagination .page-next {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0.5em;
	border-radius: 100px;
	color: #17465a;
}

.pagination .page-prev:hover,
.pagination .page-next:hover {
	background: #b1d8ea2e;
}

.pagination .page-prev.disabled,
.pagination .page-next.disabled {
	pointer-events: none; /* unclickable */
	opacity: 0.3; /* greyed out */
	cursor: default;
}

.pagination .page-num {
	padding: 0.5em 1em;
	border: 0px;
	text-decoration: none;
	border-radius: 100px;
	color: #17465a;
}

.pagination .page-num.current {
	background-color: #fd6a3c;
	color: #fff;
	cursor: default; /* no pointer on current page */
}

.pagination .current {
	background-color: #fd6a3c;
	color: #fff;
	border-color: #fd6a3c;
}

.pagination .page-dots {
	padding: 0.5em 1em;
	color: #888;
	cursor: default;
	user-select: none;
}

/* Optional helpers to match the fade/loading behavior */
.loading-spinner {
	width: 40px;
	height: 40px;
	margin: 2rem auto;
	border: 4px solid #ccc;
	border-top: 4px solid #fd6a3c;
	border-radius: 50%;
	animation: spin 0.8s linear infinite;
}

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}

#remaining-posts {
	opacity: 0;
	transition: opacity 0.3s ease-in-out;
}
#remaining-posts.fade-in-visible {
	opacity: 1;
}

.post-grid-item.fade-in {
	animation: fadeInUp 0.3s ease forwards;
}
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(15px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* ==========================================================================
   BLOG INDEX ALL POSTS
========================================================================== */
.post-list-wrapper {
	position: relative;
	padding-top: 80px;
	background: linear-gradient(0deg, var(--gb-white) -39.41%, #f4fcff 100%);
}

.post-list-container {
	max-width: var(--1280);
	margin: 0px auto;
	text-align: center;
}

.post-list-item {
	display: flex;
	align-items: center;
	gap: 16px;
	border-bottom: 1px solid #dfebf1;
	padding: 16px 0px;
}

.post-list-item:hover {
	background: linear-gradient(270deg, #eef9fd82 50%, #f4fcff00 100%);
	color: var(--primary-900);
}

.post-list-item:first-of-type:hover {
	border-top-right-radius: 12px;
	border-top-left-radius: 12px;
}

.post-list-item:last-of-type:hover {
	border-bottom-right-radius: 12px;
	border-bottom-left-radius: 12px;
}

.post-list-item .post-thumbnail {
	max-height: 100px;
	height: 100%;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	border-radius: 12px;
}

.post-list-item-title {
	text-align: left;
	width: 90%;
}

.post-list-item-title h3 {
	font-size: 18px;
	line-height: 24px;
	margin: 0px;
	margin-bottom: 2px;
	font-weight: 700;
	color: var(--gb-dark-blue-text);
	transition: font-color 0.3s ease;
}

.post-list-item-title p {
	font-size: 16px;
	line-height: 22px;
	margin: 0px;
	transition: font-color 0.3s ease;
}

.post-list-container .post-list-item:last-of-type {
	border-bottom: 0px;
	margin-bottom: 30px;
}

.post-list-item-date {
	width: 10%;
	text-align: right;
	font-size: 16px;
	color: var(--gray-700);
}

.post-list-container h2 {
	margin-bottom: 50px;
}
