/* Header */
.article-override .site-header a {
	color: var(--primary-on-dark);
}

.article-override .site-header p {
	color: var(--primary-on-dark) !important;
}

/* Banner */
.probox-article-banner {
	width: 100%;
	min-height: 100vh;

	display: flex;
	align-items: center;
}

.probox-article-banner.contained {
	min-height: fit-content;

	overflow: visible;
	position: relative;
	z-index: 1;

	margin-bottom: -4rem;
	padding-top: 0;
}

.probox-article-banner--content {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;

	text-align: center;

	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;

	@media (min-width: 1025px) {
		display: flex;
		flex-direction: row-reverse;
	}
}

.probox-article-banner.contained .probox-article-banner--content {
	width: 100%;
	border: solid 1px var(--colors-grey-100);
	border-radius: var(--border-radius-medium);

	overflow: hidden;

	background-color: var(--colors-white);

	transform: translateY(6rem);

	@media (min-width: 1025px) {
		transform: translateY(8rem);
	}
}

.probox-article-banner--content .probox-article-masthead--image {
	width: 100%;
	min-height: 15.625rem;
	height: 100%;

	@media (min-width: 1025px) {
		width: 40%;
		min-height: 25rem;
	}
}

.probox-article-banner--content .probox-article-masthead--image img {
	display: block;

	width: 100%;
	min-height: inherit;
	height: 100%;

	object-fit: cover;
	object-position: bottom;
}

/* Article masthead */
.probox-article-masthead {
	padding: 1.25rem;
	text-align: start;

	display: flex;
	flex-direction: column;
	gap: 0.75rem;

	@media (min-width: 1025px) {
		width: 60%;
		padding: 2.5rem 1.75rem;
	}
}

.probox-article-masthead--tags {
	margin: 0;
	padding: 0;

	list-style: none;

	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.probox-article-masthead--tags li button {
	letter-spacing: 1px;
}

/* Main content */
.probox-article--content {
	@media (min-width: 1025px) {
		display: flex;
		align-items: flex-start;
		gap: 4rem;
	}
}

.probox-article--social-shares {
	display: flex;
	justify-content: space-around;
	align-items: center;

	list-style: none;
	margin: 0;
	padding: 0;

	width: 100%;

	@media (min-width: 1025px) {
		flex-direction: column;
		width: 3rem;
	}
}

.probox-article--social-shares>li {
	width: 2.5rem;
	height: 2.5rem;
	display: flex;
	justify-content: center;
	transition: all 300ms ease-in-out 0s;

	@media (min-width: 768px) {
		width: 3.5rem;
		height: 3.5rem
	}
}

.probox-article--social-shares img {
	width: 100%;
	height: 100%;

	@media (min-width: 1025px) {
		width: 3rem;
		height: auto;
		margin-bottom: 1rem;
	}

}

.probox-article--body {
	margin-top: 1rem;

	@media (min-width: 1025px) {
		width: calc(55% - 48px);

		margin-top: 0;
	}
}

.probox-article--body > p {
	font: var(--font-weight-regular) var(--body-2-mobile) 'Ubuntu' !important;

	@media (min-width: 769px) {
		font: var(--font-weight-regular) var(--body-2-tablet) 'Ubuntu' !important;
	}

	@media (min-width: 1201px) {
		font: var(--font-weight-regular) var(--body-2-desktop) 'Ubuntu' !important;
	}
}

.probox-article--body > p, .probox-article--body br {
	margin-bottom: 1.5rem;

	@media (min-width: 1201px) {
		margin-bottom: 2rem;
	}
}

.probox-article--body img {
	width: 100%;
	height: auto;
}

.probox-article--body > p > a {
	color: var(--colors-bright-blue);
	font-weight: 700;
}

.probox-article--body > a.btn {
	margin: 1.5rem auto 0;

	max-width: 21.875rem;
}

/* Related articles */
.probox-article--related {
	margin: 1.25rem 0 0;
	padding: 0;
	list-style: none;

	@media (min-width: 1025px) {
		width: calc(45% - 48px);

		margin: 0;
	}
}

.probox-article-card {
	margin-bottom: 1.25rem;
	border: 1px solid var(--colors-grey-100);
	border-radius: var(--border-radius-medium);

	overflow: hidden;
}

.probox-article--related>li:first-child {
	margin-top: 3rem;
	margin-bottom: 1.25rem;
	padding-top: 3rem;
	border-top: solid 1px var(--colors-grey-100);

	text-align: center;

	@media (min-width: 1025px) {
		margin-top: 0;
		margin-bottom: 2rem;
		padding: 0;
		border: none;

		width: 100%;

		text-align: start;
	}
}

.probox-article--related>li:first-child>h3 {
	font-weight: var(--font-weight-semi-bold);
	text-transform: uppercase;

	@media (min-width: 1025px) {
		font-size: 1.5rem;
	}
}

.probox-article-card {
	@media (min-width: 1025px) {
		display: flex;
		flex-direction: row-reverse;

		margin-bottom: 1.25rem;
	}
}

.probox-article-card img {
	width: 100%;
	height: 9.375rem;

	object-fit: cover;
	object-position: center;

	@media (min-width: 1025px) {
		width: 30%;
		height: inherit;
	}
}

.probox-article-card .probox-article-card--texts {
	padding: 1.25rem;

	@media (min-width: 1025px) {
		width: 70%;
		padding: 2rem;
	}
}

.probox-article-card .probox-article-card--texts>p:first-child {
	letter-spacing: 1px;
	margin-bottom: 1rem;

	@media (min-width: 1025px) {
		font-size: 0.875rem !important;
	}
}

.probox-article-card .probox-article-card--texts>h3 {
	margin-bottom: 0.5rem;
	font: var(--font-weight-regular) var(--h4-mobile) 'Ubuntu';

	@media (min-width: 769px) {
		font: var(--font-weight-regular) var(--h4-tablet) 'Ubuntu';

		overflow: hidden;
		text-overflow: ellipsis;
		display: -webkit-box;
		-webkit-line-clamp: 3;
		-webkit-box-orient: vertical;
		height: auto;
	}

	@media (min-width: 1025px) {
		margin-bottom: 1.5rem;
	}

	@media (min-width: 1201px) {
		font: var(--font-weight-regular) var(--h4-desktop) 'Ubuntu';

		/* height: 5rem; */
	}
}

.probox-article-card .probox-article-card--texts>p:not(:first-child) {
	font: var(--font-weight-regular) var(--body-2-mobile) 'Ubuntu';

	@media (min-width: 769px) {
		font: var(--font-weight-regular) var(--body-2-tablet) 'Ubuntu';

		overflow: hidden;
		text-overflow: ellipsis;
		display: -webkit-box;
		-webkit-line-clamp: 3;
		-webkit-box-orient: vertical;
		height: auto;
	}

	@media (min-width: 1025px) {
		font: var(--font-weight-regular) var(--body-2-desktop) 'Ubuntu';

		/* overflow: hidden;
		text-overflow: ellipsis;

		height: 5.25rem; */

		margin-bottom: 1.5rem;
	}
}

.probox-article-card .probox-article-card--texts>a {
	font: var(--font-weight-regular) var(--body-mobile) 'Ubuntu';

	margin-top: 1.3rem;

	@media (min-width: 1025px) {
		font: var(--font-weight-regular) var(--body-tablet) 'Ubuntu';
	}
}

.probox-article--author-card {
	width: 100%;

	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;

	background-color: #FFFFFF;

	overflow: hidden;

	padding: 0px;
	border: solid #D8D8D8 0px;
	border-radius: 10px;

	@media (min-width: 1025px) {
		padding: 0px;
	}
}
.probox-article--author-card.with-border {
	border: solid #D8D8D8 1px;
	padding: 24px;
	margin-top: 48px;

	@media (min-width: 1025px) {
        padding: 28px;
    }
}

.probox-article--author-card--image {
	width: 60px !important;
	height: 60px !important;
	border-radius: 10px;

	object-fit: cover;
	object-position: center;

	margin-bottom: auto;

	@media (min-width: 769px) {
		width: 80px !important;
		height: 80px !important;
	}
}

.probox-article--author-card--content {
	width: calc(100% - 76px);
	margin-left: 16px;

	@media (min-width: 769px) {
		width: calc(100% - 96px);
	}
}

.probox-article--author-card--name {
	color: #00ADEF;
	font-size: 0.75rem;
	line-height: 1.25rem;
	font-weight: 700;
	text-transform: uppercase;

	@media (min-width: 769px) {
		font-size: 0.875rem;
		line-height: 1.875rem;
	}

	@media (min-width: 1025px) {
		font-size: 1rem;
		line-height: 1.5rem;
	}
}

.probox-article--author-card--text {
	color: #828D99;
	font-size: 1rem;
	line-height: 1.5rem;
	font-weight: 400;

	/* display: ${({ mobileShow }) => mobileShow ? "inline-block" : "none"}; */

	@media (min-width: 769px) {
		display: inline-block;
	}

	@media (min-width: 1025px) {
		font-size: 1.25rem;
		line-height: 1.75rem;
	}
}