/* News / blog archive (/news/)
   Note: theme sets html { font-size: 62.5% }, so use px for readable body copy. */

.psco-news-page #content-area.psco-news-layout {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 28px;
	max-width: 1024px;
	margin: 0 auto;
	position: relative;
	top: 30px;
}

.psco-news-page .psco-news-layout > .entry-content {
	float: none;
	flex: 1 1 680px;
	width: auto;
	min-width: 0;
	max-width: none;
	margin: 0;
}

.psco-news-page .psco-news-layout > #widget-bar {
	float: none;
	flex: 0 0 256px;
	width: 256px;
	max-width: 256px;
	margin: 0;
	top: 0;
	position: relative;
}

.psco-news-page .psco-news-layout .widget-area {
	float: none;
	width: 100%;
	min-width: 0;
}

/* Custom news sidebar */

.psco-news-sidebar__area {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.psco-news-sidebar__panel {
	padding: 1rem;
	background: #fff;
	border: 1px solid #dcdcde;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.psco-news-sidebar__title {
	margin: 0 0 0.85rem;
	padding: 0 0 0.55rem;
	border-bottom: 1px solid #ececec;
	font-family: Cinzel, serif;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.3;
	color: #152d4d;
}

.psco-news-sidebar__listings {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.psco-news-sidebar__listing {
	display: block;
	text-decoration: none;
	color: inherit;
	overflow: hidden;
	border: 1px solid #ececec;
	background: #fafafa;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.psco-news-sidebar__listing:hover,
.psco-news-sidebar__listing:focus {
	border-color: #c3c4c7;
	box-shadow: 0 3px 10px rgba(21, 45, 77, 0.08);
}

.psco-news-sidebar__listing:hover .psco-news-sidebar__listing-title,
.psco-news-sidebar__listing:focus .psco-news-sidebar__listing-title {
	color: #21759b;
}

.psco-news-sidebar__listing-media {
	display: block;
	overflow: hidden;
	background: #eef1f4;
	width: 100%;
}

.psco-news-sidebar__listing-media img {
	display: block;
	width: 100%;
	height: 130px;
	object-fit: cover;
}

.psco-news-sidebar__listing-body {
	display: block;
	padding: 0.65rem 0.7rem 0.75rem;
}

.psco-news-sidebar__listing-title {
	display: block;
	font-family: Lato, sans-serif;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.35;
	color: #152d4d;
}

.psco-news-sidebar__listing-details {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.45rem;
	margin-top: 0.5rem;
}

.psco-news-sidebar__listing-price {
	display: inline-block;
	padding: 0.3rem 0.65rem;
	border-radius: 999px;
	background: #152d4d;
	font-family: Lato, sans-serif;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
	color: #fff;
}

.psco-news-sidebar__listing-mls {
	display: inline-block;
	padding: 0.3rem 0.65rem;
	border-radius: 999px;
	background: #eef3f8;
	font-family: Lato, sans-serif;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: #152d4d;
}

.psco-news-sidebar__towns {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.psco-news-sidebar__towns a {
	display: inline-block;
	padding: 0.35rem 0.65rem;
	border: 1px solid #dcdcde;
	border-radius: 999px;
	background: #f6f7f7;
	font-family: Lato, sans-serif;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.2;
	color: #152d4d;
	text-decoration: none;
}

.psco-news-sidebar__towns a:hover,
.psco-news-sidebar__towns a:focus {
	border-color: #152d4d;
	background: #152d4d;
	color: #fff;
}

.psco-news-sidebar__actions {
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
}

.psco-news-sidebar__actions .psco-news-card__link {
	display: block;
	width: 100%;
	box-sizing: border-box;
	text-align: center;
	font-size: 13px;
	padding: 0.55rem 0.75rem;
}

.psco-news-intro {
	max-width: 42rem;
	margin: 0.35rem 0 0;
	font-family: Lato, sans-serif;
	font-size: 18px;
	line-height: 1.55;
	color: #50575e;
}

.psco-news-archive {
	padding-top: 0.5rem;
}

.psco-news-list {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.psco-news-card {
	display: grid;
	grid-template-columns: 210px minmax(0, 1fr);
	gap: 1.1rem;
	align-items: stretch;
	padding: 1.1rem;
	background: #fff;
	border: 1px solid #dcdcde;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.psco-news-card:hover {
	border-color: #c3c4c7;
	box-shadow: 0 4px 14px rgba(21, 45, 77, 0.08);
}

.psco-news-card__media {
	display: block;
	overflow: hidden;
	background: #eef1f4;
	min-height: 170px;
}

.psco-news-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 170px;
	object-fit: cover;
}

.psco-news-card__body {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.psco-news-card__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin-bottom: 0.65rem;
}

.psco-news-card__badge {
	display: inline-block;
	padding: 0.25rem 0.65rem;
	border-radius: 999px;
	font-family: Lato, sans-serif;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.psco-news-card__badge--mls {
	background: #eef3f8;
	color: #152d4d;
}

.psco-news-card__badge--price {
	background: #152d4d;
	color: #fff;
}

.psco-news-card__title {
	margin: 0 0 0.75rem;
	padding: 0;
	font-family: Cinzel, serif;
	font-size: 24px;
	font-weight: 600;
	line-height: 1.35;
}

.psco-news-card__title a {
	color: #152d4d;
	text-decoration: none;
}

.psco-news-card__title a:hover,
.psco-news-card__title a:focus {
	color: #21759b;
}

.psco-news-card__excerpt {
	margin: 0 0 1rem;
	font-family: Lato, sans-serif;
	font-size: 17px;
	line-height: 1.65;
	color: #313131;
}

.psco-news-card__footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.85rem 1rem;
	margin-top: auto;
	padding-top: 0.9rem;
	border-top: 1px solid #ececec;
}

.psco-news-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem 0.85rem;
	font-family: Lato, sans-serif;
	font-size: 15px;
	color: #646970;
}

.psco-news-card__categories a {
	color: #152d4d;
	text-decoration: none;
	font-weight: 600;
}

.psco-news-card__categories a:hover,
.psco-news-card__categories a:focus {
	color: #21759b;
	text-decoration: underline;
}

.psco-news-card__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
}

.psco-news-card__link {
	display: inline-block;
	padding: 0.55rem 1rem;
	border: 1px solid #152d4d;
	background: #152d4d;
	color: #fff !important;
	font-family: Lato, sans-serif;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.psco-news-card__link:hover,
.psco-news-card__link:focus {
	background: #fff;
	color: #152d4d !important;
}

.psco-news-card__link--secondary {
	background: #fff;
	color: #152d4d !important;
}

.psco-news-card__link--secondary:hover,
.psco-news-card__link--secondary:focus {
	background: #f6f7f7;
}

.psco-news-page .paging-navigation {
	clear: both;
	margin-top: 1.5rem;
	padding-top: 0.5rem;
	font-size: 16px;
}

.psco-news-page .paging-navigation .nav-previous,
.psco-news-page .paging-navigation .nav-next {
	font-family: Lato, sans-serif;
	font-size: 16px;
}

/* Single listing announcement */

.psco-news-single .entry-content {
	float: none;
	width: 100%;
	max-width: none;
	margin: 0;
}

.psco-news-single-layout {
	max-width: 1024px;
	margin: 0 auto;
	position: relative;
	top: 30px;
}

.psco-news-single-article .psco-news-single__content {
	padding-top: 0;
}

.psco-news-single__panel {
	padding: 1.5rem;
	background: #fff;
	border: 1px solid #dcdcde;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.psco-news-single__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin-top: 0.65rem;
}

.psco-news-single__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem 0.85rem;
	margin-bottom: 1rem;
	font-family: Lato, sans-serif;
	font-size: 16px;
	color: #646970;
}

.psco-news-single__categories a {
	color: #152d4d;
	font-weight: 600;
	text-decoration: none;
}

.psco-news-single__categories a:hover,
.psco-news-single__categories a:focus {
	color: #21759b;
	text-decoration: underline;
}

.psco-news-single__hero {
	margin: 0 0 1.25rem;
	overflow: hidden;
	background: #eef1f4;
}

.psco-news-single__hero img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 520px;
	object-fit: cover;
}

.psco-news-single__body {
	margin-bottom: 1.25rem;
	font-family: Lato, sans-serif;
	font-size: 18px;
	line-height: 1.7;
	color: #313131;
}

.psco-news-single__body p {
	margin: 0 0 1rem;
}

.psco-news-single__cta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	margin-bottom: 1.25rem;
}

.psco-news-single__agent {
	margin: 0 0 1.25rem;
	font-family: Lato, sans-serif;
	font-size: 17px;
	line-height: 1.6;
	color: #50575e;
}

.psco-news-single__gallery {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 0.75rem;
	margin-bottom: 1.5rem;
}

.psco-news-single__gallery img {
	display: block;
	width: 100%;
	height: 160px;
	object-fit: cover;
	background: #eef1f4;
}

.psco-news-single__footer {
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px solid #ececec;
	font-size: 15px;
}

/* Previous / next post tiles */

.psco-news-post-nav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
	margin-top: 1.75rem;
	padding-top: 1.5rem;
	border-top: 1px solid #ececec;
}

.psco-news-post-nav__spacer {
	display: block;
}

.psco-news-post-nav__tile {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 190px;
	padding: 1.25rem;
	background-color: #152d4d;
	background-size: cover;
	background-position: center;
	color: #fff;
	text-decoration: none;
	position: relative;
	overflow: hidden;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.psco-news-post-nav__tile::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to top,
		rgba(0, 0, 0, 0.72) 0%,
		rgba(0, 0, 0, 0.28) 38%,
		transparent 62%
	);
	transition: background 0.15s ease;
	pointer-events: none;
}

.psco-news-post-nav__tile--no-image::before {
	background: linear-gradient(135deg, rgba(21, 45, 77, 0.98) 0%, rgba(33, 117, 155, 0.85) 100%);
}

.psco-news-post-nav__tile:hover,
.psco-news-post-nav__tile:focus,
.psco-news-post-nav__tile:visited {
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 8px 22px rgba(21, 45, 77, 0.22);
}

.psco-news-post-nav__tile:hover::before,
.psco-news-post-nav__tile:focus::before {
	background: linear-gradient(
		to top,
		rgba(0, 0, 0, 0.78) 0%,
		rgba(0, 0, 0, 0.32) 42%,
		transparent 65%
	);
}

.psco-news-post-nav__tile--no-image:hover::before,
.psco-news-post-nav__tile--no-image:focus::before {
	background: linear-gradient(135deg, rgba(21, 45, 77, 0.98) 0%, rgba(33, 117, 155, 0.85) 100%);
}

.psco-news-post-nav__label,
.psco-news-post-nav__title {
	position: relative;
	z-index: 1;
	color: #fff;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85);
}

.psco-news-post-nav__label {
	display: block;
	margin-bottom: 0.45rem;
	font-family: Lato, sans-serif;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.3;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	opacity: 1;
}

.psco-news-post-nav__title {
	display: block;
	font-family: Cinzel, serif;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.35;
	color: #fff;
}

@media screen and (max-width: 960px) {
	.psco-news-page .psco-news-layout {
		flex-direction: column;
	}

	.psco-news-page .psco-news-layout > .entry-content,
	.psco-news-page .psco-news-layout > #widget-bar {
		flex: 1 1 auto;
		width: 100%;
		max-width: none;
	}
}

@media screen and (max-width: 782px) {
	.psco-news-card {
		grid-template-columns: 1fr;
	}

	.psco-news-card__media,
	.psco-news-card__media img {
		min-height: 210px;
	}

	.psco-news-card__footer {
		flex-direction: column;
		align-items: flex-start;
	}

	.psco-news-single__gallery img {
		height: 140px;
	}

	.psco-news-post-nav {
		grid-template-columns: 1fr;
	}

	.psco-news-post-nav__tile {
		min-height: 160px;
	}

	.psco-news-post-nav__title {
		font-size: 18px;
	}
}
