/* Leave room for the nav */
#blog_page {
	margin-top: 148px;
}

/* Page Title */
.page-title {
	min-height: 270px;
	background-color: #0b2938;
	background-image: url("/wp-content/uploads/2025/06/title-background.svg"),
		linear-gradient(#0b2938, #0b2938);
	background-repeat: no-repeat;
	background-size: cover;
	display: flex;
	align-items: center;
	justify-content: center;
}

@media screen and (max-width: 992px) {
	.page-title {
		min-height: 200px;
	}
}

@media screen and (max-width: 767px) {
	.page-title {
		min-height: 160px;
	}
}

.page-title h1 {
	color: white;
	font-family: "Tiempos Text";
	font-size: 64px;
	font-style: normal;
	font-weight: 400;
	line-height: 110%; /* 70.4px */
	letter-spacing: -1.28px;
	text-align: center;
}

@media screen and (max-width: 767px) {
	.page-title h1 {
		font-size: 38px;
	}
}

.page-title a {
	color: white;
	text-decoration: underline;
}

.page-title a:hover {
	text-decoration: none;
}

/* Featured Post */
.featured-post {
	background-color: #f8fafb;
	padding: 44px 20px;
}

.featured-post .featured-post-wrapper {
	width: 100%;
	max-width: 1450px;
	margin: 0 auto;
	display: flex;
	gap: 80px;
	align-items: center;
	justify-content: space-between;
}

@media screen and (max-width: 992px) {
.featured-post .featured-post-wrapper {
	flex-direction:column-reverse;
	gap: 32px;
	}
}

.featured-post .featured-post-wrapper .featured-post-content,
.featured-post .featured-post-wrapper .featured-post-image {
	flex-basis: 50%;
}

@media screen and (max-width: 992px) {
	.featured-post .featured-post-wrapper .featured-post-content,
	.featured-post .featured-post-wrapper .featured-post-image {
		flex-basis: unset;
	}
}

.featured-post .featured-post-wrapper .featured-post-content {
	display: flex;
	flex-direction: column;
	gap: 13px;
}

.featured-post
	.featured-post-wrapper
	.featured-post-content
	.category-container {
	display: flex;
	gap: 10px;
	margin-bottom: 10px;
}

.featured-post
	.featured-post-wrapper
	.featured-post-content
	.category-container
	.category-eyebrow {
	display: inline-block;
	padding: 8px 18px;
	border-radius: 111px;
	border: 1px solid #b9c5cb;
	background: #f3f9fc;
	color: #4e595e;
	font-family: "American Grotesk";
	font-size: 14px;
	font-style: normal;
	font-weight: 500;
	line-height: 120%; /* 16.8px */
	text-transform: uppercase;
	text-align: center;
	width:fit-content;
}

@media screen and (max-width: 1100px) {
.featured-post
	.featured-post-wrapper
	.featured-post-content
	.category-container
	.category-eyebrow:last-of-type {
	display: none;
	}
}

.featured-post
	.featured-post-wrapper
	.featured-post-content
	.featured-post-title {
	color: #0b2938;
	font-family: "Tiempos Text";
	font-size: 48px;
	font-style: normal;
	font-weight: 400;
	line-height: 110%; /* 52.8px */
	letter-spacing: -0.96px;
}

@media screen and (max-width: 1100px) {
.featured-post
	.featured-post-wrapper
	.featured-post-content
	.featured-post-title {
	font-size: 36px;
	}
}

.featured-post
	.featured-post-wrapper
	.featured-post-content
	.featured-post-excerpt {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
	align-self: stretch;
	overflow: hidden;
	color: #4e595e;
	text-overflow: ellipsis;
	margin-bottom: 10px;
	font-family: "American Grotesk";
	font-size: 22px;
	font-style: normal;
	font-weight: 400;
	line-height: 160%;
}

.featured-post
	.featured-post-wrapper
	.featured-post-content
	.featured-post-link {
	display: flex;
	width: 207px;
	height: 54px;
	padding: 12px 24px;
	justify-content: center;
	align-items: center;
	gap: 10px;
	border-radius: 103.465px;
	background-color: #aa1414;
	color: #fff;
	text-align: center;
	font-family: "American Grotesk";
	font-size: 20px;
	font-style: normal;
	font-weight: 500;
	line-height: 140%; /* 28px */
	transition: background-color 0.2s linear;
}

.featured-post
	.featured-post-wrapper
	.featured-post-content
	.featured-post-link:hover {
	background-color: #851717;
}

.featured-post .featured-post-wrapper .featured-post-image {
	width: 100%;
	/* max-width: 697px; */
	min-width: 380px;
	height: 466px;
	max-height: 466px;
}


@media screen and (max-width: 992px) {
.featured-post .featured-post-wrapper .featured-post-image {
	max-width: unset;
	min-width:unset;
	max-height: 260px;
	}
}

.featured-post .featured-post-wrapper .featured-post-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 14px;
}

/* Filters & Search */
.post-filters {
	border-top: 1px solid #edf0f1;
	border-bottom: 1px solid #edf0f1;
	background: #fff;
	padding: 22px 20px 16px 20px;
}

.post-filters .post-filters-wrapper {
	width: 100%;
	max-width: 1450px;
	margin: 0 auto;
	display: flex;
	gap: 80px;
	align-items: center;
	justify-content: space-between;
}

@media screen and (max-width: 600px) {
.post-filters .post-filters-wrapper {
	gap: 30px;
	}
}

@media screen and (max-width: 480px) {
	.post-filters .post-filters-wrapper {
		flex-direction: column;
		align-items: flex-start;
		justify-content: flex-start;
		gap: 20px;
	}
}

.post-filters .post-filters-wrapper .filters {
	display: flex;
	gap: 18px;
	justify-content: flex-start;
	align-items: center;
}

.post-filters .post-filters-wrapper .filters .filters-title {
	color: #3a4347;
	font-family: "American Grotesk";
	font-size: 22px;
	font-style: normal;
	font-weight: 500;
	line-height: 160%;
}

@media screen and (max-width: 600px) {
.post-filters .post-filters-wrapper .filters .filters-title {
	display:none;
	}
}

.nice-select {
	border: 1px solid red;
}

.nice-select.open .list {
}

.nice-select::after {
	display: none !important;
}

.post-filters .post-filters-wrapper .filters .styled-dropdown {
	border-radius: 111.111px;
	border: 1.111px solid #e2e6e7;
	background: #fff;
	box-shadow: none;
	display: flex;
	justify-content: center;
	align-items: center;
	color: #0b2938;
	font-family: "Roboto", Arial, sans-serif;
	font-size: 14.444px;
	font-style: normal;
	font-weight: 500;
	line-height: normal;
	letter-spacing: 0.722px;
	text-transform: uppercase;
	padding: 13px 43px 13px 22px;
}

.post-filters .post-filters-wrapper .filters .styled-dropdown::before {
	content: "";
	position: absolute;
	background-image: url("/wp-content/uploads/2025/06/caret-down.svg");
	width: 24px;
	height: 24px;
	top: 50%;
	transform: translateY(-50%);
	right: 15px;
}

/* #filter-category, */
#filter-tag, .post-filters .post-filters-wrapper .filters .nice-select.styled-dropdown.no-style:last-of-type {
	display:none;
}

#filter-category option,
#filter-tag option {
	color: #0b2938;
	font-family: Roboto;
	font-size: 14.444px;
	font-style: normal;
	font-weight: 500;
	line-height: normal;
	letter-spacing: 0.722px;
	text-transform: uppercase;
}

.post-filters .post-filters-wrapper .search {
	width: 100%;
	max-width: 400px;
	margin-left: auto;
}

#search-posts-form {
}

#search-posts-form input {
	border-radius: 8px;
	border: 1px solid #bec4c6;
	background: #fff;
	box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
	width: 100%;
	max-width:400px;
	padding: 10px 14px;
	padding-left: 42px;
	font-family: "American Grotesk";
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: 120%;
	background-image: url("/wp-content/uploads/2025/06/search-glass.svg");
	background-repeat: no-repeat;
	background-size: 20px;
	background-position: 14px 50%;
}

#search-posts-form input::selection {
	color: #9aa1a4 !important;
}

/* Posts List */
.post-list {
	padding: 60px 20px;
}

@media screen and (max-width: 480px) {
	.post-list {
		padding: 40px 20px;
	}
}

.post-list .post-list-wrapper {
	width: 100%;
	max-width: 1450px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 35px;
	align-items:stretch;
}

@media screen and (max-width: 992px) {
.post-list .post-list-wrapper {
	gap: 20px;
	grid-template-columns: repeat(2, 1fr);
	}
}

@media screen and (max-width: 600px) {
.post-list .post-list-wrapper {
	grid-template-columns: 1fr;
	}
}

.post-list .post-list-wrapper .post-wrapper {
	display:flex;
	min-width: 0;
}

.post-list .post-list-wrapper .post-wrapper:hover > .post {
	transform: translateY(-3px);
}

.post-list .post-list-wrapper .post {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: auto;
	border-radius: 16px;
	border: 1px solid #edf0f1;
	background: #fff;
	box-shadow: 3px 5px 24px 0px rgba(0, 0, 0, 0.07);
	overflow: hidden;
	transform: translateY(0);
	transition: transform 0.1s linear;
	margin-bottom:0;
}

@media screen and (max-width: 992px) {
.featured-post .featured-post-wrapper {
	gap: 32px;
	}
}

.post-list .post-list-wrapper .post img {
	/*height: 230px;*/
	height: auto;
	width: 100%;
	object-fit: cover;
	object-position: center;
	z-index: 2;
	aspect-ratio: 2/1;
}

.post-list .post-list-wrapper .post .post-content {
	position: relative;
	padding: 32px;
	display: flex;
	height: auto; /*here*/
	flex-direction: column;
	gap: 12px;
	background-color: #fff;
	transition: background-color 0.1s ease-in;
	z-index: 1;
}

@media screen and (max-width: 431px) {
.post-list .post-list-wrapper .post .post-content {
	padding: 16px;
	}
}

.post-list .post-list-wrapper .post:hover .post-content {
	background-color: #f8fafb;
}

.post-list .post-list-wrapper .post .post-content * {
	margin: 0;
	padding: 0;
	z-index: 2;
}

.post-list .post-list-wrapper .post .post-content .post-category {
	color: #4e595e;
	font-family: "Roboto" Arial, sans-serif;
	font-size: 14.444px;
	font-style: normal;
	font-weight: 500;
	line-height: normal;
	letter-spacing: 0.422px;
	text-transform: uppercase;
}

.post-list .post-list-wrapper .post .post-content .post-title {
	color: #0b2938;
	font-family: "American Grotesk";
	font-size: 24px;
	font-style: normal;
	font-weight: 500;
	line-height: 130%;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	align-self: stretch;
	overflow: hidden;
}

.post-list .post-list-wrapper .post .post-content .post-excerpt {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	align-self: stretch;
	overflow: hidden;
	color: #4e595e;
	text-overflow: ellipsis;
	font-family: "American Grotesk";
	font-size: 18px;
	font-style: normal;
	font-weight: 400;
	line-height: 140%;
}

/* Pagination */
.post-pagination {
	padding: 0 20px 100px 20px;
}

@media screen and (max-width: 992px) {
	.post-pagination {
		padding-bottom: 20px;
	}
}

.post-pagination .post-pagination-wrapper {
	width: 100%;
	max-width: 1450px;
	margin: 0 auto;
}
.post-pagination .post-pagination-wrapper .pagination {
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
}

.post-pagination .post-pagination-wrapper .pagination .page-btn {
	background: none;
	border: none;
	font-size: 20px;
	color: #aa1414;
	cursor: pointer;
	padding: 0;
	line-height: 0;
	font-family: "American Grotesk";
	font-weight: 500;
}

.post-pagination .post-pagination-wrapper .pagination .first-page,
.post-pagination .post-pagination-wrapper .pagination .last-page {
	margin: 0 20px;
}

.post-pagination .post-pagination-wrapper .pagination .page-btn:hover {
	text-decoration: underline 1px solid #aa1414;
}

.post-pagination
	.post-pagination-wrapper
	.pagination
	.page-btn[disabled="disabled"] {
	color: gray;
	cursor: default;
}

.post-pagination
	.post-pagination-wrapper
	.pagination
	.page-btn[disabled="disabled"]:hover {
	text-decoration: none;
}

.post-pagination .post-pagination-wrapper .pagination .middle-page {
	width: 30px;
	height: 30px;
	border-radius: 100%;
}

.post-pagination
	.post-pagination-wrapper
	.pagination
	.middle-page[disabled="disabled"] {
	background: #aa1414;
	color: #fff;
}

/* ===== Press Release archive overrides ===== */

/* Intro paragraph in the dark title band */
.pressrelease-archive .page-title .container {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
}

.pressrelease-archive .page-title p {
	color: #fff;
	text-align: center;
	max-width: 760px;
	font-family: "American Grotesk";
	font-size: 18px;
	font-weight: 400;
	line-height: 160%;
	margin: 0;
}

/* Featured hero uses a white background instead of gray */
.pressrelease-archive .featured-post {
	background-color: #fff;
}

/* Neutralize the single-article padding (.single.pressrelease .post) that would
   otherwise apply to the latest-news grid cards on single press releases. */
.pressrelease-archive .post-list .post-list-wrapper .post {
	max-width: none;
	margin: 0;
	padding: 0;
}

/* On single press releases the latest-news grid lives inside an already-padded
   .latest_news section, so drop the archive's own .post-list padding here to
   keep the grid aligned with the section heading (the archive keeps its padding). */
.latest_news .post-list {
	padding: 0;
}

/* Post date replaces the excerpt — same style in the hero and the cards */
.pressrelease-archive .post-date {
	color: #747d81;
	font-family: "American Grotesk";
	font-size: 18px;
	font-weight: 400;
	line-height: 140%;
	margin: 1em 0;
}

/* Card title: 29px / 400 / dark blue */
.pressrelease-archive .post-list .post-list-wrapper .post .post-content .post-title {
	font-size: 29px;
	font-weight: 400;
	color: #0b2938;
	-webkit-line-clamp: 3;
}

@media screen and (max-width: 992px) {
	.pressrelease-archive .post-list .post-list-wrapper .post .post-content .post-title {
		font-size: 24px
	}
}
