body,
button,
input,
optgroup,
select,
textarea {
	font-size: calc(var(--font-size-regular) + 0.125rem);
	color: var(--color-theme-primary);
}

.external-posts-container {
	max-width: var(--content-width);
	display: grid;
	grid-template-columns: repeat(auto-fit,minmax(21rem,1fr));
	grid-gap: 2rem;
	margin: auto;
	padding-right: 1rem;
	padding-left: 1rem;
}

.story-teaser, 
.teaser-content {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.story-teaser {
	background-color: var(--color-theme-white);
}

.shadow {
	box-shadow: 1px 1px 3px #ccc;
}

.teaser-content {
	padding-left: 1rem;
	padding-right: 1rem;
	height: 100%;
}

.story-teaser .teaser-link {
	color: var(--color-theme-primary);
	text-decoration: none;
}

.story-teaser .teaser-link:hover,
.story-teaser .teaser-link:focus,
.story-teaser .teaser-link:active {
	text-decoration: underline;
}

.story-teaser .teaser-title {
	font-family: var(--global-font-family);
	text-transform: unset;
	font-size: var(--font-size-larger);
	font-weight: 300;
	line-height: 1.2;
}

.byline {
	margin-bottom: 1rem;
	font-size: var(--font-size-small);
}

.story-teaser .byline-date, 
.story-teaser .byline-name, 
.story-teaser .byline-prefix {
	margin-right: 0;
}

.story-teaser .byline-date {
	text-transform: capitalize;
}

.hide-author,
.hide-date {
	display: none;
}

.byline-prefix {
	font-family: var(--primary-font-family);
	font-style: italic;
}

.byline-name {
	text-transform: uppercase;
	font-family: var(--highlight-font-family);
}

.byline-name a {
	text-decoration: none;
}

.byline-name a:hover,
.byline-name a:active,
.byline-name a:focus {
	text-decoration: underline;
}

.byline-seperator {
	margin-left: 0.25rem;
	margin-right: 0.25rem;
	vertical-align: text-bottom;
}

.story-teaser .teaser-excerpt p {
	font-family: var(--global-font-family);
}

/*----------------------------------------
 * In The News Styles
 ---------------------------------------*/
 .external-posts-in-the-news-grid {
	margin: 0 0 1.2em 0;
	position: relative;
}

 .external-posts-in-the-news-container {
	display: grid;
	grid-template-columns: repeat(auto-fit,minmax(29rem,1fr));
	grid-template-rows: 1fr;
	grid-gap: 2rem;
	padding-left: 1rem;
	padding-right: 1rem;
	line-height: 1.1;
 }

 .external-posts-in-the-news-container article {
	display: flex;
	align-items: center;
	margin-bottom: 0;
	padding: 1rem;
}

.external-posts-in-the-news-container article div, 
.external-posts-in-the-news-container article h3 {
	text-align: left;
	padding-bottom: 0;
	margin-bottom: 0;
}

.external-posts-in-the-news-container .external-posts-in-the-news-image {
	margin: 0;
	position: relative;
}

.external-posts-in-the-news-container .external-posts-in-the-news-image img {
	display: inline-block;
}

.external-posts-in-the-news-container .external-posts-in-the-news-text {
	text-align: left;
	display: flex;
	flex-direction: column;
	height: 100%;
	justify-content: space-around;
	width: 100%;
}

.external-posts-in-the-news-container .external-posts-in-the-news-title {
	font-size: var(--font-size-large);
	font-family: var(--global-font-family);
	font-weight: 300;
	text-transform: capitalize;
	margin-top: 0;
	line-height: 1.2;
	clear: none;
}

.external-posts-in-the-news-container .external-posts-in-the-news-text > * {
	padding-left: 1rem;
	padding-right: 1rem;
	font-family: var(--global-font-family);
}

.external-posts-in-the-news-container .external-posts-in-the-news-title a {
	text-decoration: none;
	color: var(--color-theme-primary);
}

.external-posts-in-the-news-container .external-posts-in-the-news-title a:hover {
	text-decoration: underline;
}

.external-posts-in-the-news-container .external-posts-in-the-news-byline {
	text-transform: capitalize;
	font-size: var(--font-size-regular);
}
 
.external-posts-in-the-news-container .external-posts-in-the-news-date {
	display: inline-block;
}

.external-posts-in-the-news-grid + .ptam-pagination .page-numbers {
	text-align: center;
}

@media only screen and (max-width: 600px) {
	.external-posts-in-the-news-container {
		grid-template-columns: 1fr;
	}
}
