/* PowerSite 2.93 - MARR: News/Homepage CSS */
/* Last Updated: 2023.03.28 ET */

@import url('marr_default.css');

ul.news {
	list-style: none;
	padding: 0;
	margin: 1rem 0;
}

ul.news a,
ul.news a:visited {
	font-weight: normal;
	text-decoration: none;
}

ul.news h2 {
	font-weight: bold;
	font-style: italic;
	font-size: 1.14rem; /* 16px ÷ 14px */
	line-height: 1.2;
	text-align: left;
	text-transform: none;
	letter-spacing: 0;
	margin: 0 0 1.14rem;
}

ul.news h2::after {
	display: none;
}

ul.news > li {
	position: relative;
	overflow: hidden;
	padding: 0;
	margin: 0 0 3.3rem;
}

ul.news > li img {
	object-fit: cover;
	width: 22.43rem;
	height: 14.3rem;
}

ul.news > li span.placeholder {
	background: rgb(237,239,248) url('/images/marr_grfx_news-placeholder.jpg') no-repeat center center / cover;
	width: 22.43rem;
	height: 14.3rem;
}

@media (min-width: 1024px) {

	section.search h2 {
		margin-bottom: 0.5rem !important;
	}

	section.search h2 + p {
		font-size: 1.2em;
	}

}

@media (min-width: 641px) {

	ul.news > li:nth-child(odd) img,
	ul.news > li:nth-child(odd) span.placeholder,
	ul.news > li:nth-child(even) div {
		width: 47.5%;
		float: left;
	}

	ul.news > li:nth-child(even) img,
	ul.news > li:nth-child(even) span.placeholder,
	ul.news > li:nth-child(odd) div {
		width: 47.5%;
		float: right;
	}

}

@media (max-width: 640px) {

	section.search {
		background-image: url('/images/marr_bkgd_search_mobile.png') !important;
		padding-bottom: 1rem;
	}

	section.search form {
		margin-bottom: 2rem;
	}

	section.search img {
		max-height: 6.71rem;
		width: auto;
	}

	section.search p:last-child {
		margin-bottom: 0.5rem;
	}

	ul.news > li {
		margin-bottom: 1.14rem;
	}

	ul.news > li img,
	ul.news > li span.placeholder {
		display: block;
		margin: 0 auto 1.14rem;
	}

}

