/* Page layout - no side content on news pages */
.content__aside {
    display: none;
}
.content__main {
    width: 100%;
    margin: auto;
}

/* Posts */
.post {
	position: relative;
}
.post-img {
    display: block;
    overflow: hidden;
    position: relative;
	aspect-ratio: 5/3;
}
.post-img>img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	margin: 0 !important;
    -webkit-transition: 1.6s -webkit-transform;
    transition: 1.6s -webkit-transform;
    transition: 1.6s transform;
    transition: 1.6s transform,1.6s -webkit-transform;
}
.post:hover .post-img>img {
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
}
.post-category span, .post-category a {
    text-transform: uppercase;
	font-size: 0.9em;
	text-decoration: none;
}
.post-category span:after, .post-category a:after {
    content: ',';
    display: inline-block;
}
.post-category span:last-child:after, .post-category a:last-child:after {
    display: none;
}
.post-meta {
	margin: 0;
	padding: 0;
	line-height: 1.5 !important;
}
.post-meta li {
    display: inline-block;
    text-transform: uppercase;
	padding: 0;
}
.post-meta li:after {
    content: '|';
    display: inline-block;
    padding-left: 5px;
    padding-right: 5px;
}
.post-meta li:last-child:after {
    display: none;
}

/* Post pages */
#post-page-info {
	font-size: 1.1875rem;  /* Match content group font size */
}
#post-page-info .post-category a {
	font-size: 1em;
}
#post-page-info h1 {
	text-shadow: #ccc 0 2px 2px;
	margin: 0 0 1rem 0;
}
#post-page-info .post-meta {
	font-size: 1em;
	color: #666;
	margin-bottom: 1rem;
}
.content__group figure {
    margin-top: 1rem;
}
#topic-buttons h2 {
	color: #000;
	font-family: "United Sans",Impact,"Arial Black","sans serif";
	font-size: 1.5em;
	font-weight: 700;
	margin: 2rem 0 0 0;
}
#topic-buttons p {
	margin: 1rem 0;
}
#topic-buttons p a {
	margin: 0;
	width: 25rem;
}
/* Paragraph spacing tweak */
.content__group p:last-child{
    margin-bottom: revert;
}

/* Thumbnail posts */
.post-thumb {
    background-color: #6F727B;
	color: #fff;
	overflow: hidden;
}
.post.post-thumb .post-body {
    position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
    margin: 0;
    padding: 3% 5%;
    z-index: 20;
	display: flex;
	flex-flow: column nowrap;
	justify-content: flex-end;
    background-color: transparent;
}
.post.post-thumb .post-category {
	flex: 0 0 auto;
}
.post.post-thumb .post-title {
	margin: 0.5rem 0;
	flex: 0 1 auto;
	max-height: 3.6em; /* Show 3 lines max */
	overflow: hidden;
	font-size: 2em;
	line-height: 1.2;
}
.post.post-thumb .post-title a {
	color: #fff;
	text-decoration: none;
}
.post.post-thumb .post-meta {
	flex: 0 0 auto;
	color: #a7a8ab;
	padding-left: initial; /* Tweak to display on 2025 style templates */
}
.post.post-thumb .post-img:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: -webkit-gradient(linear,left top,left bottom,from(rgba(27,28,30,0)),color-stop(90%,rgba(27,28,30,0.8)));
    background: linear-gradient(180deg,rgba(27,28,30,0) 0%,rgba(27,28,30,0.8) 90%);
}

/* Listing posts */
.post.post-row {
	display: grid;
	grid-template-columns: 1fr 1.5fr;
	gap: 1rem;
	margin: 2rem 0;
}
.post.post-row .post-category {
	color: #8e6f3e;
	font-size: 0.9em;
}
.post.post-row .post-title {
	margin: 0.5rem 0;
	font-size: 1.2em;
}
.post.post-row .post-title a {
	text-decoration: none;
}
.post.post-row .post-meta {
	color: #666;
	font-size: 0.9em;
	margin-bottom: 1rem;
}

/* Text only listing posts */
.post.post-row.text-only {
	display: block;
	margin: 2rem 0;
}

/* Tile posts */
.post-tiles {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 1rem;
}
@media only screen and (max-width: 767px) {
	.post-tiles {display: block;}
	.post-tiles .post {margin-bottom: 1rem;}
}
.post.post-tile .post-body {
	position: relative;
    margin: -50px 0 0 3%;
    padding: 5%;
    background: #fff;
    z-index: 10;
}
.post.post-tile .post-category {
	color: #8e6f3e;
	font-size: 0.9em;
}
.post.post-tile .post-title {
	margin: 0.5rem 0;
	font-size: 1.2em;
}
.post.post-tile .post-title a {
	text-decoration: none;
}
.post.post-tile .post-meta {
	color: #666;
	font-size: 0.9em;
}
.post.post-tile img {
    opacity: 0;
    transition: transform 1.6s, opacity 0.5s;
}

/* Listing pages */
h2.year-title {
	font-family: "United Sans",Impact,"Arial Black","sans serif";
	font-size: 3rem;
	color: #8e6f3e;
	text-decoration: none;
	font-weight: bold;
	text-shadow: #ccc 0 2px 2px;
}
h2.posts-group-title {
	color: #000;
	font-family: "United Sans",Impact,"Arial Black","sans serif";
	font-weight: bold;
	font-size: 1em;
	text-transform: uppercase;
	margin: 1rem 0;
	position: relative;
	overflow: hidden;
}
h2.posts-group-title:after {
	content: "";
	position: absolute;
	left: 6.5em;
	top: 60%;
	width: 100%;
	height: 1px;
	background: #aaa;
}
section.listing-page.hidden {
	display: none;
}
section.listing-page.current {
	display: block;
}
section.page-buttons {
	display: flex;
	flex-flow: row wrap;
	gap: 1rem;
	justify-content: center;
	margin: 2rem 0 1rem 0;
}
section.page-buttons button {
	display: block;
	margin: 0;
	padding: 0.5rem 1.3rem;
	font-size: 1.125rem;
	font-family: "United Sans",Impact,"Arial Black","sans serif";
	font-weight: 700;
	background: none;
	color: #000;
	border: none;
	cursor: pointer;
}
section.page-buttons button:hover {
	background: #8e6f3e;
	color: #fff;
}
section.page-buttons button.current, section.page-buttons button#prev-page, section.page-buttons button#next-page {
	background: #8e6f3e;
	color: #fff;
}
section.page-buttons button#prev-page:hover, section.page-buttons button#next-page:hover {
	outline-style: solid;
	outline-width: 2px;
	outline-offset: -2px;
	outline-color: #8e6f3e;
	background-color: transparent;
	color: #000;
}

/* Home page features */
#hot-posts {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 5px;
}
#hot-posts .post:first-child {
	grid-column: 1 / 3;
	grid-row: 1 / 3;
}
#hot-posts .post:nth-child(2) {
	font-size: 0.7em;
	grid-column: 3 / 4;
	grid-row: 1 / 2;
}
#hot-posts .post:nth-child(3) {
	font-size: 0.7em;
	grid-column: 3 / 4;
	grid-row: 2 / 3;
}
@media only screen and (max-width: 767px) {
	#hot-posts {display: block;}
	#hot-posts .post {margin-bottom: 5px;}
	#hot-posts .post:nth-child(2), #hot-posts .post:nth-child(3) {font-size: 1em;}
}

/* Home page layout */
#news-home-buttons a{
	display: block;
}
#news-home-buttons a:after{
    height: initial;/* Resolves conflict with marcom CSS, text was off center */
}
#news-home{
	margin-top: 2rem;
	display: grid;
	grid-template-columns: 1fr 20rem;
	gap: 1rem;
}
@media only screen and (max-width: 767px) {
	#news-home {display: block;}
}
#news-home #recent-posts h2 {
	color: #000;
	font-size: 2rem;
	font-family: "United Sans",Impact,"Arial Black","sans serif";
	font-weight: 700;
	text-transform: none;
	margin-top: 0;
}
#news-home #recent-posts h2:after {
	display: none;
}
#news-home #news-sidebar {
	font-size: 1.1rem;
}
#news-home #news-sidebar h2 {
	color: #000;
	font-family: "United Sans",Impact,"Arial Black","sans serif";
	font-weight: bold;
	font-size: 1.2em;
	margin: 3rem 0 0.5rem 0;
}
#news-home #news-sidebar > h2:first-child, #news-home #news-sidebar > div:first-child > h2:first-child {
	margin-top: 0;
}

/* Search box */
#news-home #news-sidebar .gsc-control-searchbox-only {margin: 1rem 0;}
#news-home #news-sidebar .gsc-control-searchbox-only * {margin: 0; padding: 0; border: none; border-radius: 0;}
#news-home #news-sidebar .gsc-control-searchbox-only td.gsc-input {border: #000 1px solid; padding: 0.5rem;}
#news-home #news-sidebar .gsc-control-searchbox-only .gsib_b {display: none;}
#news-home #news-sidebar .gsc-control-searchbox-only input {background-image: none !important; font-size: 1.18rem; line-height: 1;}
#news-home #news-sidebar .gsc-control-searchbox-only button {background: #000; width: 3rem; height: 2.8rem; cursor: pointer;}

/* Category sidebar widget */
.category-widget ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}
.category-widget ul li {
	padding: 0.5em 0;
	border-bottom: 1px solid #000;
}
.category-widget a {
	font-weight: normal;
	text-decoration: none;
	display: block;
}
.category-widget a:hover {
	color: #666;
}