@charset "utf-8";

/* Blog page — extends news.css (cards, typography, footer) */

/* Scheduled posts: js/components/blog-visibility.js sets [hidden] until publish date */
.blog_posts_col article.blog_post_card[hidden],
.blog_nav li[hidden]
{
	display: none !important;
}

/*********************************
Blog layout + cards
*********************************/

.blog_page
{
	width: 100%;
	background: #FFFFFF;
	padding-top: 94px;
	padding-bottom: 91px;
}

.blog_layout_row
{
	align-items: flex-start;
}

.blog_nav_col
{
	margin-bottom: 40px;
}

.blog_nav
{
	width: 100%;
	background: #f5f7fa;
	border: 1px solid rgba(22, 24, 31, 0.06);
	box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.06);
	padding: 28px 24px 32px;
	position: relative;
}

.blog_nav::after
{
	display: block;
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 4px;
	background: #C79A71;
	content: '';
}

.blog_nav_title
{
	font-size: 18px;
	font-weight: 500;
	color: #232323;
	padding-top: 14px;
	margin-bottom: 18px;
	position: relative;
}

.blog_nav_title::before
{
	display: block;
	position: absolute;
	left: 0;
	top: 0;
	width: 54px;
	height: 3px;
	background: #C79A71;
	content: '';
}

.blog_nav ul
{
	list-style: none;
	margin: 0;
	padding: 0;
}

.blog_nav li:not(:last-child)
{
	margin-bottom: 10px;
}

.blog_nav a
{
	display: block;
	font-size: 15px;
	font-weight: 400;
	color: #696969;
	line-height: 1.45;
	padding: 8px 4px 8px 12px;
	border-left: 3px solid transparent;
}

.blog_nav a:hover,
.blog_nav a:focus
{
	color: #C79A71 !important;
	border-left-color: #C79A71;
	background: rgba(199, 154, 113, 0.08);
}

.blog_posts_col
{
	min-width: 0;
}

.blog_post_card
{
	width: 100%;
	background: #f5f7fa;
	border: 1px solid rgba(22, 24, 31, 0.06);
	box-shadow: 0px 12px 28px rgba(0, 0, 0, 0.07);
	scroll-margin-top: 120px;
}

.blog_post_card:not(:last-child)
{
	margin-bottom: 43px;
}

.blog_post_inner
{
	display: flex;
	flex-direction: row;
	align-items: stretch;
	gap: 0;
}

.blog_post_media
{
	flex: 0 0 38%;
	max-width: 380px;
	min-height: 200px;
	background: #e8ecf2;
	overflow: hidden;
}

.blog_post_media img
{
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.blog_post_body
{
	flex: 1;
	min-width: 0;
	padding: 36px 40px 40px 40px;
}

.blog_post_card.no_image .blog_post_inner
{
	display: block;
}

.blog_post_card.no_image .blog_post_body
{
	padding-top: 40px;
}

.blog_post_title
{
	padding-top: 17px;
	position: relative;
}

.blog_post_title h2
{
	font-size: 28px;
	font-weight: 500;
	line-height: 1.25;
	color: #232323;
	margin: 0;
}

.blog_post_title::before
{
	display: block;
	position: absolute;
	left: 1px;
	top: 0;
	width: 54px;
	height: 3px;
	background: #C79A71;
	content: '';
}

.blog_post_meta
{
	margin-top: 12px;
}

.blog_post_date
{
	font-size: 13px;
	font-weight: 500;
	color: #C79A71;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

/* Subtext directly under the post title */
.blog_post_title .blog_post_keywords
{
	margin: 10px 0 0 0;
	font-size: 13px;
	font-weight: 400;
	color: #8a8a8a;
	line-height: 1.55;
	max-width: 52em;
}

.blog_post_keywords_label
{
	font-weight: 500;
	color: #696969;
	margin-right: 6px;
}

.blog_post_text
{
	margin-top: 22px;
}

.blog_post_text p
{
	margin-bottom: 1em;
}

.blog_post_text p:last-child
{
	margin-bottom: 0;
}

/* Desktop: optional sticky nav */
@media only screen and (min-width: 992px)
{
	.blog_nav_sticky
	{
		position: sticky;
		top: 120px;
	}
}

/* Mobile: image below text */
@media only screen and (max-width: 991px)
{
	.blog_post_inner
	{
		flex-direction: column;
	}

	.blog_post_media
	{
		flex: none;
		max-width: none;
		width: 100%;
		min-height: 220px;
		order: 2;
	}

	.blog_post_body
	{
		order: 1;
		padding: 28px 22px 24px;
	}

	.blog_nav_sticky
	{
		position: static;
	}
}

@media only screen and (max-width: 575px)
{
	.blog_post_title h2
	{
		font-size: 22px;
	}

	.blog_post_body
	{
		padding: 22px 18px 18px;
	}
}
