/* Author profile */

.author-profile-page {
	background: #ffffff;
	color: #1D2350;
	overflow: visible;
}

.author-profile-page *,
.author-profile-page *::before,
.author-profile-page *::after {
	box-sizing: border-box;
}

.author-profile-page .container {
	width: calc(100% - 64px) !important;
	max-width: 1160px !important;
	height: auto !important;
	min-height: 0 !important;
	margin-left: auto !important;
	margin-right: auto !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

/* Hero */

.author-profile-page .author-profile-hero {
	position: relative;
	z-index: 3;
	min-height: 585px;
	padding: 255px 0 0;
	background: #1D2350;
	overflow: visible;
}

.author-profile-page .author-profile-hero__inner {
	display: grid;
	grid-template-columns: 300px minmax(0, 1fr);
	gap: 46px;
	align-items: center;
	min-height: 330px;
}

.author-profile-page .author-profile-hero__image {
	position: relative;
	z-index: 5;
	margin-top: 0;
	margin-bottom: -32px;
	transform: translateY(32px);
}

.author-profile-page .author-profile-hero__image img {
	display: block;
	width: 300px !important;
	height: 300px !important;
	max-width: none !important;
	margin: 0 !important;
	object-fit: cover;
	object-position: center;
	border-radius: 9px;
	box-shadow: 0 3px 8px rgba(0, 0, 0, 0.18);
}

.author-profile-page .author-profile-hero__content {
	max-width: 660px;
	margin-top: 0;
	color: #ffffff;
}

.author-profile-page .author-profile-hero__content h1 {
	margin: 0 0 4px !important;
	padding: 0 !important;
	color: #ffffff !important;
	font-family: "Work Sans", Arial, Helvetica, sans-serif !important;
	font-size: 32px !important;
	font-weight: 700 !important;
	line-height: 1.15 !important;
	letter-spacing: 0 !important;
}

.author-profile-page .author-profile-hero__title {
	margin: 0 0 18px !important;
	padding: 0 !important;
	color: #406FB6 !important;
	font-family: "Work Sans", Arial, Helvetica, sans-serif !important;
	font-size: 18px !important;
	font-weight: 500 !important;
	line-height: 1.35 !important;
	letter-spacing: 0 !important;
}

.author-profile-page .author-profile-hero__intro {
	max-width: 650px;
	margin: 0 0 19px;
	color: #ffffff;
}

.author-profile-page .author-profile-hero__intro p {
	margin: 0 !important;
	padding: 0 !important;
	color: #ffffff !important;
	font-family: "Heebo", Arial, Helvetica, sans-serif !important;
	font-size: 14px !important;
	font-weight: 400 !important;
	line-height: 1.55 !important;
	letter-spacing: 0 !important;
}

.author-profile-page .author-profile-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 18px;
	margin: 0 0 34px;
}

.author-profile-page .author-profile-link {
	position: relative;
	display: inline-flex;
	align-items: center;
	min-height: 21px;
	padding: 0 0 0 25px !important;
	color: #ffffff !important;
	font-family: "Heebo", Arial, Helvetica, sans-serif !important;
	font-size: 12px !important;
	font-weight: 600 !important;
	line-height: 21px !important;
	letter-spacing: 0 !important;
	text-decoration: none !important;
	white-space: nowrap;
}

.author-profile-page .author-profile-link::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 19px;
	height: 19px;
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	transform: translateY(-50%);
}

.author-profile-page .author-profile-link--linkedin::before {
	background-image: url("/wp-content/uploads/2026/09/linkedin.svg");
}

.author-profile-page .author-profile-link--email::before {
	background-image: url("/wp-content/uploads/2026/09/email_icon.svg");
}

.author-profile-page .author-profile-link--phone::before {
	background-image: url("/wp-content/uploads/2026/09/phone_icon.svg");
}

.author-profile-page .author-profile-link:hover {
	color: #ffffff !important;
	text-decoration: underline !important;
}

.author-profile-page .author-profile-credentials-link {
	position: relative;
	display: inline-flex;
	align-items: center;
	min-height: 18px;
	padding: 0 25px 0 0 !important;
	color: #ffffff !important;
	font-family: "Heebo", Arial, Helvetica, sans-serif !important;
	font-size: 12px !important;
	font-weight: 600 !important;
	line-height: 1.2 !important;
	letter-spacing: 0 !important;
	text-decoration: none !important;
}

.author-profile-page .author-profile-credentials-link::before {
	display: none !important;
}

.author-profile-page .author-profile-credentials-link::after {
	content: "";
	position: absolute;
	right: 0;
	top: 50%;
	width: 15px;
	height: 15px;
	border: 0;
	background-image: url("/wp-content/uploads/2026/09/arrow.svg");
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	transform: translateY(-50%);
}

.author-profile-page .author-profile-credentials-link:hover {
	color: #ffffff !important;
	text-decoration: underline !important;
}

/* Section headings */

.author-profile-page .author-profile-section-heading {
	display: flex;
	align-items: flex-end;
	gap: 16px;
	width: 100%;
	margin: 0 0 27px;
}

.author-profile-page .author-profile-section-heading::after {
	content: "";
	flex: 1 1 auto;
	height: 1px;
	margin-bottom: 6px;
	background: #dedede;
}

.author-profile-page .author-profile-section-heading h2 {
	flex: 0 0 auto;
	margin: 0 !important;
	padding: 0 !important;
	color: #1D2350 !important;
	font-family: "Work Sans", Arial, Helvetica, sans-serif !important;
	font-size: 27px !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	letter-spacing: 0 !important;
}

/* Articles */

.author-profile-page .author-profile-articles {
	position: relative;
	z-index: 1;
	padding: 90px 0 145px;
	background: #ffffff;
}

.author-profile-page .author-profile-filters {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 9px;
	margin: 0 0 28px;
	padding: 0;
}

.author-profile-page .author-profile-filters a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 29px;
	padding: 7px 16px !important;
	border: 0 !important;
	border-radius: 999px;
	background: #EEF0F3;
	color: #1D2350 !important;
	font-family: "Heebo", Arial, Helvetica, sans-serif !important;
	font-size: 11px !important;
	font-weight: 600 !important;
	line-height: 1 !important;
	letter-spacing: 0 !important;
	text-decoration: none !important;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.author-profile-page .author-profile-filters a:hover {
	background: #DFE3EA;
	color: #1D2350 !important;
}

.author-profile-page .author-profile-filters a.active {
	background: #8A8A8A;
	color: #ffffff !important;
}

.author-profile-page .author-profile-article-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	column-gap: 20px;
	row-gap: 22px;
	width: 100%;
}

.author-profile-page .author-profile-article-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden;
	border: 1px solid #E3E5E8;
	border-radius: 9px;
	background: #ffffff;
	box-shadow: none;
}

.author-profile-page .author-profile-article-card__image {
	display: block;
	width: 100%;
	height: 160px;
	overflow: hidden;
	background: #E9ECF1;
}

.author-profile-page .author-profile-article-card__image img {
	display: block;
	width: 100% !important;
	height: 160px !important;
	max-width: none !important;
	margin: 0 !important;
	object-fit: cover;
	object-position: center;
	transition: transform 0.25s ease;
}

.author-profile-page .author-profile-article-card:hover .author-profile-article-card__image img {
	transform: scale(1.025);
}

.author-profile-page .author-profile-article-card__content {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	min-height: 132px;
	padding: 13px 14px 13px;
}

.author-profile-page .author-profile-article-card__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 9px;
	margin: 0 0 9px;
}

.author-profile-page .author-profile-article-card__type,
.author-profile-page .author-profile-article-card__meta time {
	margin: 0 !important;
	padding: 0 !important;
	color: #7B7B7B !important;
	font-family: "Heebo", Arial, Helvetica, sans-serif !important;
	font-size: 9px !important;
	font-weight: 500 !important;
	line-height: 1.2 !important;
	letter-spacing: 0.45px !important;
	text-transform: uppercase;
	white-space: nowrap;
}

.author-profile-page .author-profile-article-card h3 {
	margin: 0 0 12px !important;
	padding: 0 !important;
	color: #1D2350 !important;
	font-family: "Work Sans", Arial, Helvetica, sans-serif !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	line-height: 1.32 !important;
	letter-spacing: 0 !important;
}

.author-profile-page .author-profile-article-card h3 a {
	color: #1D2350 !important;
	font-family: inherit !important;
	font-size: inherit !important;
	font-weight: inherit !important;
	line-height: inherit !important;
	letter-spacing: inherit !important;
	text-decoration: none !important;
}

.author-profile-page .author-profile-article-card h3 a:hover {
	color: #406FB6 !important;
}

.author-profile-page .author-profile-article-card__author {
	display: flex;
	align-items: center;
	gap: 7px;
	margin-top: auto;
	color: #777777;
	font-family: "Heebo", Arial, Helvetica, sans-serif;
	font-size: 9px;
	font-weight: 400;
	line-height: 1.2;
}

.author-profile-page .author-profile-article-card__author img {
	display: block;
	flex: 0 0 18px;
	width: 18px !important;
	height: 18px !important;
	max-width: 18px !important;
	border-radius: 50%;
	object-fit: cover;
}

.author-profile-page .author-profile-no-content {
	margin: 22px 0 0 !important;
	color: #666666 !important;
	font-size: 15px !important;
}

/* Pagination */

.author-profile-page .author-profile-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin: 72px 0 0;
	padding: 0;
}

.author-profile-page .author-profile-pagination a,
.author-profile-page .author-profile-pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	margin: 0;
	padding: 0 !important;
	border: 1px solid #E0E3E7;
	border-radius: 3px;
	background: #ffffff;
	color: #777777 !important;
	font-family: "Heebo", Arial, Helvetica, sans-serif !important;
	font-size: 10px !important;
	font-weight: 500 !important;
	line-height: 1 !important;
	text-decoration: none !important;
}

.author-profile-page .author-profile-pagination a:hover {
	border-color: #406FB6;
	color: #406FB6 !important;
}

.author-profile-page .author-profile-pagination .current {
	border-color: #406FB6;
	background: #406FB6;
	color: #ffffff !important;
}

/* Credentials */

.author-profile-page .author-profile-credentials {
	padding: 0 0 105px;
	background: #ffffff;
	scroll-margin-top: 180px;
}

/* Restore section spacing when the dynamic Articles section is hidden */
.author-profile-page .author-profile-credentials--no-content {
	padding-top: 95px;
}

.author-profile-page .author-profile-credentials .author-profile-section-heading {
	margin-bottom: 21px;
}

.author-profile-page .author-profile-credentials__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-auto-rows: 1fr;
	gap: 19px;
	align-items: stretch;
	margin-bottom: 26px;
}

.author-profile-page .author-profile-credential-card {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
	min-height: 276px;
	max-height: none;
	padding: 18px 17px 17px;
	overflow: visible;
	border-radius: 10px;
	background: #F0F0F0;
	color: #1D2350;
}

.author-profile-page .author-profile-credential-card h3,
.author-profile-page .author-profile-professional-profiles h3 {
	margin: 0 0 10px !important;
	padding: 0 !important;
	color: #1D2350 !important;
	font-family: "Work Sans", Arial, Helvetica, sans-serif !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	line-height: 1.3 !important;
	letter-spacing: 0 !important;
}

.author-profile-page .author-profile-credential-card__copy,
.author-profile-page .author-profile-credential-card__copy p,
.author-profile-page .author-profile-credential-card__copy li,
.author-profile-page .author-profile-professional-profiles,
.author-profile-page .author-profile-professional-profiles p,
.author-profile-page .author-profile-professional-profiles li {
	margin-top: 0 !important;
	color: #1D2350 !important;
	font-family: "Heebo", Arial, Helvetica, sans-serif !important;
	font-size: 12px !important;
	font-weight: 400 !important;
	line-height: 1.55 !important;
	letter-spacing: 0 !important;
}

.author-profile-page .author-profile-credential-card__copy {
	flex: 1 1 auto;
	min-height: 0;
	overflow: visible;
	padding-right: 0;
	overflow-wrap: break-word;
	word-break: normal;
}

.author-profile-page .author-profile-credential-card__copy p {
	margin-bottom: 0 !important;
	padding-bottom: 0 !important;
}

.author-profile-page .author-profile-credential-card__copy ul,
.author-profile-page .author-profile-credential-card__copy ol,
.author-profile-page .author-profile-professional-profiles ul,
.author-profile-page .author-profile-professional-profiles ol {
	margin: 0 0 0 17px !important;
	padding: 0 !important;
}

.author-profile-page .author-profile-professional-profiles {
	margin-top: 0 !important;
	padding: 18px 17px;
	border-radius: 10px;
	background: #F0F0F0;
}

/* Debug */

.author-profile-page .author-profile-debug {
	font-family: "Heebo", Arial, Helvetica, sans-serif;
	font-size: 12px;
	line-height: 1.5;
}

/* Smaller desktop / tablet */

@media screen and (max-width: 1180px) {
	.author-profile-page .container {
		width: calc(100% - 56px) !important;
		max-width: 1000px !important;
	}

	.author-profile-page .author-profile-hero {
		min-height: 565px;
		padding-top: 235px;
	}

	.author-profile-page .author-profile-hero__inner {
		grid-template-columns: 270px minmax(0, 1fr);
		gap: 38px;
		align-items: center;
		min-height: 300px;
	}

	.author-profile-page .author-profile-hero__image {
		margin-top: 0;
		margin-bottom: -24px;
		transform: translateY(24px);
	}

	.author-profile-page .author-profile-hero__content {
		margin-top: 0;
	}

	.author-profile-page .author-profile-hero__image img {
		width: 270px !important;
		height: 270px !important;
	}

	.author-profile-page .author-profile-hero__content h1 {
		font-size: 30px !important;
	}

	.author-profile-page .author-profile-hero__title {
		font-size: 17px !important;
	}

	.author-profile-page .author-profile-hero__intro p {
		font-size: 13px !important;
	}

	.author-profile-page .author-profile-link,
	.author-profile-page .author-profile-credentials-link {
		font-size: 11px !important;
	}

	.author-profile-page .author-profile-article-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.author-profile-page .author-profile-article-card__image,
	.author-profile-page .author-profile-article-card__image img {
		height: 175px !important;
	}

	.author-profile-page .author-profile-credentials__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-auto-rows: 1fr;
		align-items: stretch;
		margin-bottom: 22px;
	}

	.author-profile-page .author-profile-credential-card {
		height: 100%;
		min-height: 280px;
		max-height: none;
		overflow: visible;
	}
}

/* Tablet */

@media screen and (max-width: 900px) {
	.author-profile-page .author-profile-credentials--no-content {
		padding-top: 75px;
	}

	.author-profile-page .container {
		width: calc(100% - 48px) !important;
		max-width: 760px !important;
	}

	.author-profile-page .author-profile-hero {
		min-height: 540px;
		padding-top: 205px;
	}

	.author-profile-page .author-profile-hero__inner {
		grid-template-columns: 235px minmax(0, 1fr);
		gap: 30px;
		align-items: center;
		min-height: 270px;
	}

	.author-profile-page .author-profile-hero__image {
		margin-top: 0;
		margin-bottom: -22px;
		transform: translateY(22px);
	}

	.author-profile-page .author-profile-hero__content {
		margin-top: 0;
	}

	.author-profile-page .author-profile-hero__image img {
		width: 235px !important;
		height: 235px !important;
	}

	.author-profile-page .author-profile-hero__content h1 {
		font-size: 27px !important;
	}

	.author-profile-page .author-profile-hero__title {
		font-size: 16px !important;
		margin-bottom: 14px !important;
	}

	.author-profile-page .author-profile-hero__intro p {
		font-size: 12px !important;
		line-height: 1.5 !important;
	}

	.author-profile-page .author-profile-links {
		gap: 10px 14px;
		margin-bottom: 24px;
	}

	.author-profile-page .author-profile-link,
	.author-profile-page .author-profile-credentials-link {
		font-size: 10px !important;
	}

	.author-profile-page .author-profile-articles {
		padding-top: 82px;
		padding-bottom: 110px;
	}

	.author-profile-page .author-profile-section-heading h2 {
		font-size: 24px !important;
	}

	.author-profile-page .author-profile-article-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 20px;
	}

	.author-profile-page .author-profile-article-card__image,
	.author-profile-page .author-profile-article-card__image img {
		height: 195px !important;
	}

	.author-profile-page .author-profile-article-card h3 {
		font-size: 14px !important;
	}

	.author-profile-page .author-profile-article-card__type,
	.author-profile-page .author-profile-article-card__meta time,
	.author-profile-page .author-profile-article-card__author {
		font-size: 10px !important;
	}
}

/* Mobile */

@media screen and (max-width: 700px) {
	.author-profile-page .author-profile-credentials--no-content {
		padding-top: 58px;
	}

	.author-profile-page .container {
		width: calc(100% - 32px) !important;
		max-width: none !important;
	}

	.author-profile-page .author-profile-hero {
		min-height: 0;
		padding: 150px 0 46px;
	}

	.author-profile-page .author-profile-hero__inner {
		display: flex;
		flex-direction: column;
		gap: 24px;
	}

	.author-profile-page .author-profile-hero__image {
		order: 1;
		width: 100%;
		margin: 0;
		margin-bottom: 0;
		transform: none;
	}

	.author-profile-page .author-profile-hero__image img {
		width: 220px !important;
		height: 220px !important;
		margin: 0 auto !important;
	}

	.author-profile-page .author-profile-hero__content {
		order: 2;
		width: 100%;
		max-width: 100%;
		margin-top: 0;
		text-align: left;
	}

	.author-profile-page .author-profile-hero__content h1 {
		font-size: 29px !important;
	}

	.author-profile-page .author-profile-hero__title {
		font-size: 17px !important;
	}

	.author-profile-page .author-profile-hero__intro {
		max-width: 100%;
	}

	.author-profile-page .author-profile-hero__intro p {
		font-size: 14px !important;
		line-height: 1.55 !important;
	}

	.author-profile-page .author-profile-links {
		gap: 11px 16px;
		margin-bottom: 24px;
	}

	.author-profile-page .author-profile-link {
		font-size: 12px !important;
	}

	.author-profile-page .author-profile-credentials-link {
		font-size: 12px !important;
	}

	.author-profile-page .author-profile-articles {
		padding: 58px 0 90px;
	}

	.author-profile-page .author-profile-section-heading {
		align-items: center;
		gap: 11px;
		margin-bottom: 21px;
	}

	.author-profile-page .author-profile-section-heading h2 {
		font-size: 22px !important;
		white-space: normal;
	}

	.author-profile-page .author-profile-filters {
		gap: 8px;
		margin-bottom: 24px;
	}

	.author-profile-page .author-profile-filters a {
		min-height: 32px;
		padding: 8px 15px !important;
		font-size: 11px !important;
	}

	.author-profile-page .author-profile-article-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.author-profile-page .author-profile-article-card__image,
	.author-profile-page .author-profile-article-card__image img {
		height: 220px !important;
	}

	.author-profile-page .author-profile-article-card__content {
		min-height: 132px;
		padding: 15px 16px;
	}

	.author-profile-page .author-profile-article-card h3 {
		font-size: 16px !important;
	}

	.author-profile-page .author-profile-article-card__type,
	.author-profile-page .author-profile-article-card__meta time,
	.author-profile-page .author-profile-article-card__author {
		font-size: 10px !important;
	}

	.author-profile-page .author-profile-article-card__author img {
		width: 20px !important;
		height: 20px !important;
		max-width: 20px !important;
		flex-basis: 20px;
	}

	.author-profile-page .author-profile-pagination {
		flex-wrap: wrap;
		margin-top: 45px;
	}

	.author-profile-page .author-profile-pagination a,
	.author-profile-page .author-profile-pagination span {
		width: 31px;
		height: 31px;
		font-size: 11px !important;
	}

	.author-profile-page .author-profile-credentials {
		padding-bottom: 70px;
		scroll-margin-top: 120px;
	}

	.author-profile-page .author-profile-credentials__grid {
		grid-template-columns: 1fr;
		grid-auto-rows: auto;
		gap: 15px;
		align-items: stretch;
		margin-bottom: 20px;
	}

	.author-profile-page .author-profile-credential-card {
		height: auto;
		min-height: 0;
		max-height: none;
		padding: 18px;
		overflow: visible;
	}

	.author-profile-page .author-profile-credential-card__copy {
		overflow: visible;
		padding-right: 0;
	}

	.author-profile-page .author-profile-credential-card h3,
	.author-profile-page .author-profile-professional-profiles h3 {
		font-size: 13px !important;
	}

	.author-profile-page .author-profile-credential-card__copy,
	.author-profile-page .author-profile-credential-card__copy p,
	.author-profile-page .author-profile-credential-card__copy li,
	.author-profile-page .author-profile-professional-profiles,
	.author-profile-page .author-profile-professional-profiles p,
	.author-profile-page .author-profile-professional-profiles li {
		font-size: 13px !important;
	}
}

/* Small mobile */

@media screen and (max-width: 420px) {
	.author-profile-page .container {
		width: calc(100% - 26px) !important;
	}

	.author-profile-page .author-profile-hero {
		padding-top: 135px;
	}

	.author-profile-page .author-profile-hero__image img {
		width: 200px !important;
		height: 200px !important;
	}

	.author-profile-page .author-profile-hero__content h1 {
		font-size: 26px !important;
	}

	.author-profile-page .author-profile-section-heading h2 {
		font-size: 20px !important;
	}

	.author-profile-page .author-profile-article-card__image,
	.author-profile-page .author-profile-article-card__image img {
		height: 195px !important;
	}
}
