/*
Welcome to Custom CSS!

CSS (Cascading Style Sheets) is a kind of code that tells the browser how
to render a web page. You may delete these comments and get started with
your customizations.

By default, your stylesheet will be loaded after the theme stylesheets,
which means that your rules can take precedence and override the theme CSS
rules. Just write here what you want to change, you don't need to copy all
your theme's stylesheet content.
*/
/* link icon after linked headers */
h1 a::after, h2 a::after, h3 a::after, h4 a::after, h5 a::after, h6 a::after {
	content: '\F126';
	font-family: wsu-icons;
	font-size: .875rem;
	color: #ca1237;
	margin-left: .6875rem;
	display: inline-block;
	text-decoration: none;
}

/* border-left for blockquote */
blockquote.wp-block-quote {
	border-left: .25em solid #000;
	padding-left: 1em;
}

address.wsu-meta-byline {
	display: none;
}

/* ----------- news feed on corridor --------------- */
.corridor-feed ul {
	list-style-type: none;
	padding: 0 1rem 0 0;
}

.news .wsuwp-content-syndicate-item {
	display: grid;
	grid-auto-flow: row;
	grid-template-columns: 166px auto;
	border-bottom: solid 2px #e1e1e1;
	margin-bottom: 1rem;
}

.news .content-item-thumbnail {
	grid-column: 1;
	grid-row: 1 / 4;
	margin-right: 1rem;
}

.news .content-item-title {
	font-size: 1.2rem;
	line-height: 1.4rem;
	grid-column: 2;
}

.content-item-title {
	display: block;
	padding: 0;
	margin-bottom: .5rem;
}

.content-item-byline {
	color: #666666;
	font-style: italic;
}

.content-item-byline {
	display: none;
}

.news .content-item-excerpt {
	grid-column: 2;
}

.news a.content-item-read-story {
	DISPLAY: none;
}

@media screen and (max-width: 768px) {
	.news .wsuwp-content-syndicate-item {
		display: block;
	}
	
	.content-item-thumbnail img {
		margin-bottom: 1rem;
	}
}

/* ------------ image gallery ------------------ */
/* less bottom margin */
.gallery figure {
	margin: 0;
}

/** Default Gallery Styles */
.gallery {
	display: flex;
	flex-wrap: wrap;
	margin: auto;
}

.gallery .gallery-item {
	box-sizing: border-box;
	padding: 1rem;
	text-align: center;
}

.gallery-columns-1 .gallery-item {
	width: 100%;
}

.gallery-columns-2 .gallery-item {
	width: 50%;
}

.gallery-columns-3 .gallery-item {
	width: 33.333333%;
}

.gallery-columns-4 .gallery-item {
	width: 25%;
}

.gallery-columns-5 .gallery-item {
	width: 20%;
}

.gallery-columns-6 .gallery-item {
	width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	width: 11.11%;
}

.gallery img {
	border: 2px solid #cfcfcf;
	box-sizing: border-box;
	display: block;
	margin: 0 auto;
}

@media only screen and (max-width: 693px) {
	.gallery-columns-1 .gallery-item,
				.gallery-columns-2 .gallery-item,
				.gallery-columns-3 .gallery-item,
				.gallery-columns-4 .gallery-item,
				.gallery-columns-5 .gallery-item,
				.gallery-columns-6 .gallery-item,
				.gallery-columns-7 .gallery-item,
				.gallery-columns-8 .gallery-item,
				.gallery-columns-9 .gallery-item {
		width: 50%;
	}
	
	.gallery-item:nth-child(odd) {
		padding-left: 0;
	}
	
	.gallery-item:nth-child(even) {
		padding-right: 0;
	}
}