/*
Krannert Magazine v2 - Fall 2021
*/

@import url("https://use.typekit.net/yot4vtf.css");
* { transition: all .20s ease-in-out; }
.white { color:#ffffff; }
.black { color:#000000; }
.steel { color:#555960; }
.cool { color:#6f727b; }
.railway { color:#9d9795; }
.steam {color:#c4bfc0; }
.aged { color:#8e6f3e; }
.boilermaker { color:#cfb991; }
.rush { color:#daaa00; }
.field { color:#ddb945; }
.dust { color:#ebd99f; }
.bg-white { background-color:#ffffff; }
.bg-black { background-color:#000000; }
.bg-steel { background-color:#555960; }
.bg-cool { background-color:#6f727b; }
.bg-railway { background-color:#9d9795; }
.bg-steam { background-color:#c4bfc0; }
.bg-aged { background-color:#8e6f3e; }
.bg-boilermaker { background-color:#cfb991; }
.bg-rush { background-color:#daaa00; }
.bg-field { background-color:#ddb945; }
.bg-dust { background-color:#ebd99f; }
.bg-grey { background-color:#ededed; }
.bg-darkgrey { background-color:#1e1e1e; }
.bg-lightgrey { background-color:#f7f7f7; }
.acumin {font-family:"acumin-pro","Franklin Gothic",sans-serif;}
.acumin-condensed {font-family:"acumin-pro-condensed","franklin-gothic-condensed",sans-serif;}
.acumin-extra-condensed {font-family:"acumin-pro-extra-condensed","franklin-gothic-extra-compre",sans-serif;}
.acumin-semi-condensed {font-family:"acumin-pro-semi-condensed","franklin-gothic-compressed",sans-serif;}
.acumin-wide {font-family:"acumin-pro-wide","Franklin Gothic",sans-serif;}
.united {font-family:"United Sans",Impact,"Arial Black","sans serif";}
.united-condensed {font-family: "United Sans Condensed", Impact, "Arial Black", "sans serif";}
.united-extended {font-family: "United Sans Extended", Impact, "Arial Black", "sans serif";}
.source-serif {font-family: source-serif-pro, Georgia, serif;}
.source-serif-semibold {font-family: source-serif-pro, Georgia, serif;}
.source-serif-bold {font-family: source-serif-pro, Georgia, serif;}
.source-serif-light {font-family: source-serif-pro, Georgia, serif;}
.source-serif-extra-light {font-family: source-serif-pro, Georgia, serif;}
.grid-ram-1 {display:grid;grid-gap:1rem;grid-template-columns:repeat(auto-fit, minmax(100%, 1fr));}
.grid-ram-2 {display:grid;grid-gap:1rem;grid-template-columns:repeat(auto-fit, minmax(18em, 1fr));}
.grid-ram-3 {display:grid;grid-gap:1rem;grid-template-columns:repeat(auto-fit, minmax(16.4em, 1fr));}
.grid-ram-4 {display:grid;grid-gap:1rem;grid-template-columns:repeat(auto-fit, minmax(13em, 1fr));}
.grid-ram-5 {display:grid;grid-gap:1rem;grid-template-columns:repeat(auto-fit, minmax(10.7em, 1fr));}
.grid-ram-6 {display:grid;grid-gap:1rem;grid-template-columns:repeat(auto-fit, minmax(9em, 1fr));}
a { cursor: pointer; }
body {
    margin: 0;
}
.magazine-body {
	font-family: "acumin-pro-semi-condensed","franklin-gothic-extra-compre",sans-serif;
	padding: 0;
	margin: 0;
	font-size: 110%;
}

.magazine-body .article {
    font-family:source-serif-pro, Georgia, serif;
}



.magazine-body .article a {
    color: #8E6F3E;
    font-weight: bold;
}

.magazine-body img {
    min-width: 0px;
    max-width: 100%;
    height: auto;
}

/* this is a strange bit of CSS that simply helps with title semantics */
/* the title and subtitle are both within the h1 tag, which is a good way to associate a subtitle with the title */
/* in pure HTML, there should be a dash or colon btween the title and subtitle within the h1 */
/* this, combined with Font Awesome, displays a dash within the ARIA but replaces it with a double arrow visually */

.magazine-body h1 .fas {
	visibility: hidden;
}

.magazine-body h1 .fas:before {
	visibility: visible !important;
}

/* this lets me insert line breaks at key points in a span instead of letting the line break automatically */
br.adaptive-line-break {
	display: none;
}

.magazine-body footer ul, .magazine-body footer li, .magazine-body nav ul, .magazine-body nav li {
    list-style: none;
}

.magazine-body .container {
	max-width: 1000px;
	margin: 0 auto;
	padding: 0 20px;
}

/*time to make a bulk class ? */
.magazine-body header, .magazine-body .article > p, .magazine-body h1, .magazine-body .article > h2, .magazine-body .article > h3, .magazine-body .article > .author, .magazine-body footer, .magazine-body .homepage-feature, .magazine-body .thumbnails, .magazine-body .image-article-width > .caption, .magazine-body .article-end, .magazine-body ul {
	margin-left: 100px;
	margin-right: 100px;
}

.magazine-body .top-menu {
    margin-left: 0px;
    margin-right: 0px;
}

.magazine-body .article > p {
	font-size: 1.1em;
}

.magazine-body .header {
	max-width: 800px;
	margin-top: 50px;
	margin-bottom: 25px;
}

.magazine-body .header nav ul, .magazine-body .footer-links nav ul {
	font-family: "acumin-pro-condensed","franklin-gothic-extra-compre",sans-serif;
	display: grid;
	padding: 25px 0;
	align-items: center;
}

.magazine-body .footer-links {
	margin-top: 2rem;
}

.magazine-body .footer-links nav ul {
	background: black;
	transform: skew(-13deg, 0);
	margin: 1rem -1rem 0;
}

.magazine-body .header nav ul li, .magazine-body .footer-links nav ul li {
	border-left: 2px solid white;
	padding: .25em .5em;
	text-align: center;
}

.magazine-body .mobile-nav {
	display: none;
	text-align: center;
	font-family: source-serif-pro;
	font-weight: bold;
	font-style: italic;
	font-size: 1.25rem;
	margin-top: 25px;
	margin-bottom: 0;
}

.magazine-body .mobile-nav a  {
    text-decoration: none;
    color: black;
}

.magazine-body .header nav ul li {
	transform: skew(-13deg, 0);
}

.magazine-body .header nav ul li:first-child, .magazine-body .footer-links nav ul li:first-child  {
	border-left: 0px solid white !important;
}

.magazine-body .header.black nav ul li, .magazine-body .footer-links.black nav ul li  {
	border-left: 2px solid black;
}

.magazine-body .header nav ul li a, .magazine-body .footer-links nav ul li a {
	font-weight: bold;
	color: white;
	display: inline-block;
	transform: skew(13deg, 0);
	border-bottom: 2px solid transparent;
	text-decoration: none;
}

.magazine-body .header.black nav ul li a, .magazine-body .footer-links.black nav ul li a {
	color: black;
}

.magazine-body .header nav ul li a:hover, .magazine-body .footer-links nav ul li a:hover {
	color: #EBD99F;
	border-bottom: 2px solid #cfb991;
}

.magazine-body .header.black nav ul li a:hover, .magazine-body .footer-links.black nav ul li a:hover {
	color: #8E6F3E;
	border-bottom: 2px solid #8E6F3E;
}

.magazine-body .issue-title {
	font-family: "United Sans Condensed","franklin-gothic-extra-compre",sans-serif;
	text-align: center;
	font-size: 1.4rem;
	line-height: 1.4rem;
	background: #cfb991;
	color: black;
	transform: skew(-13deg, 0);
	margin: 1rem -1rem 0;
	display: grid; grid-template-columns: repeat(12, 1fr);
	padding: 1rem 0;	
	align-items: center;
}

.magazine-body .pbj {
	display: block; font-family: source-serif-pro; padding: .25em 1em 1.5em; clear: both; font-size: 140%;
}



.magazine-body .issue-title.bg-dust {
    background-color: #ebd99f;
}

.magazine-body .issue-title span {
	padding: 0;
	text-align: center;
	transform: skew(13deg, 0);
}

.magazine-body .issue-title span:last-child {
	border-right: 0px solid white;	
}


.magazine-body .shadow-upper-right-large {
	box-shadow: 2rem -2rem 0 #cfb991;
	padding-left: 1rem;
	padding-bottom: 1rem;
}


.magazine-body h1, .magazine-body h2, .magazine-body h3, .magazine-body h4, .magazine-body h5, .magazine-body h6 {
	font-family: "acumin-pro-semi-condensed","franklin-gothic-extra-compre",sans-serif;
}

.magazine-body h1 {
	font-family: "acumin-pro-extra-condensed","franklin-gothic-extra-compre",sans-serif;
	font-weight: bold;
	font-style: italic;
	font-size: 5em;
	margin-top: -3rem;
	margin-bottom: 0;
	text-shadow: 0 0 5px #000;
	position: relative;
	top: -.2em;
	max-width: 800px;
	line-height: .7em;
}

.magazine-body h1 .subtitle {
	font-family: "acumin-pro","franklin-gothic-extra-compre",sans-serif;
	font-size: 1.4rem;
	display: block;
	line-height: 1.4rem;
	margin-top: 1.5rem;
	font-style: normal;
	padding: .5rem 0;
	text-shadow: 0 0 0 #000;
}

.magazine-body .thumbnails h2 {
    display: block;
    transform: skew(-13deg, 0);
    font-weight: bold;
    padding: .5rem 1rem;
    margin-left: -1rem;
    margin-right: -1rem;
    background: #cfb991;
}


.magazine-body .thumbnails h3, .magazine-body .more-stories h3 {
	color: black;
	text-decoration: none;
}

.magazine-body .thumbnails a, .magazine-body .more-stories a {
	color: black;
	text-decoration: none;
}


.magazine-body .thumbnails h3 .subtitle, .magazine-body .more-stories h3 .subtitle {
	font-family: "acumin-pro-condensed","franklin-gothic-extra-compre",sans-serif;
	font-size: 1.1rem;
	line-height: 1rem;
	margin-top: -.25rem;
	color: #555960;
	font-style: italic;
	font-weight: normal;
	padding: .5rem 0;
	text-shadow: 0 0 0 #000;
}



.magazine-body .author {
	font-family: "acumin-pro-condensed","franklin-gothic-extra-compre",sans-serif;
	display: block;
	font-size: 1.3rem;
	line-height: 2.1rem;
	transform: skew(-13deg, 0);
	font-weight: bold;
	padding: .5rem 1rem;
	margin-left: -1rem;
	margin-right: -1rem;
}
.magazine-body .author .date {
	font-weight: normal;
	font-size: 1rem;
	transform: skew(13deg, 0);
}

.magazine-body .caption {
	padding-top: .5em;
	margin-top: 7em;
	padding: .75em;
	font-family: "acumin-pro-semi-condensed","franklin-gothic-condensed",sans-serif;
	font-style: italic;
	position: relative;
}

.magazine-body .caption:before {
	content: '';
	position:absolute;
	border-right: 1px solid #8E6F3E;
	border-left: 1px solid #daaa00;
	margin-left: 50%;
	height: 6rem;
	top: -6.75rem;
	left: 0;
}

.magazine-body .block-quote {
	font-size: 130%;
}

.magazine-body .block-quote-left {
	width: 40%;
	float: left;
	padding: 1em;
	margin-right: 2em;
	margin-bottom: 1em;
}

.magazine-body .block-quote-right {
	width: 40%;
	float: right;
	padding: 1em;
	margin-left: 2em;
	margin-bottom: 1em;
}

.magazine-body .block-quote-full {
	width: calc(100% - 200px - 2em);
	padding: 1em;
	margin-bottom: 1em;
	margin-left: 100px;
	margin-right: 100px;
}

.magazine-body .image-right-small {
	width: 25%;
	float: right;
	margin-left: 2em;
	margin-bottom: 1em;
}

.magazine-body .image-left-small {
	width: 25%;
	float: left;
	margin-right: 2em;
	margin-bottom: 1em;
}

.magazine-body .image-right-medium {
	width: 35%;
	float: right;
	margin-left: 2em;
	margin-bottom: 1em;
}

.magazine-body .image-left-medium {
	width: 35%;
	float: left;
	margin-right: 2em;
	margin-bottom: 1em;
}

.magazine-body .image-right-large {
	width: 55%;
	float: right;
	margin-left: 2em;
	margin-bottom: 1em;
}

.magazine-body .image-left-large {
	width: 55%;
	float: left;
	margin-right: 2em;
	margin-bottom: 1em;
}

.magazine-body .image-article-width {
	
}

.magazine-body .hero {
    min-height: 3.15em;
    background: #000;
	border-top: .5em solid #C4BFC0;
}

.magazine-body .hero img {
	width: 100%;
	height: 550px;
	object-fit: cover;
	border-bottom: 2.75em solid black;
}


.magazine-body .dropcap:first-letter {
	float: left;
	font-family: "acumin-pro-extra-condensed", Georgia, serif;
	font-size: 5.5rem;
	font-style: italic;
	padding-top: .4rem;
	padding-right: .6rem;
	padding-left: .4rem;
}

.magazine-body .article-end.more-stories {
	border-top: 2px solid white;
}

.magazine-body .article-end.more-stories.black {
	border-top: 2px solid black;
}

.magazine-body .homepage-feature {
	position: relative;
	width: calc(100% - 200px); /*calcs are here because margins are ignored in width calculation */
	padding-bottom: calc(100% - 200px); /* a hack for preserving a scalable but consistently square container div */
}

.magazine-body .legal{
	font-size:.75em;
	text-align:center;
	padding:20px 0;
}

.magazine-body .homepage-feature-container {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
}

.magazine-body footer .grid-ram-2 {
	grid-template-columns: repeat(auto-fit, minmax(14.6em ,1fr));
}


@media(max-width: 775px) {
	/* removes side margins to expand to full width */
	.magazine-body header, .magazine-body .article > p, .magazine-body h1, .magazine-body .article > h2, .magazine-body .article > h3, .magazine-body .article > .author, .magazine-body footer, .magazine-body .homepage-feature, .magazine-body .thumbnails, .magazine-body .image-article-width > .caption, .magazine-body .article-end {
		margin-left: 10px;
		margin-right: 10px;
	}
	
	.magazine-body .pbj {
    	display: block; font-family: source-serif-pro; padding: .25em 1em 1.5em; clear: both; font-size: 120%;
    }
	
	.magazine-body h1 {
		font-size: 4.75rem;
		top: -.25em;
	}
	
	.magazine-body .hero img {
		height: 400px;
	}

	/* for the homepage graphic, may need to be genericized */
	.magazine-body .homepage-feature {
		width: 100%;
		padding-bottom: 100%;
	}
	
	/* scales the issue title font and activates line breaks */
	/* adding a small vw to a flat unit is a good recipe for a font that scales slowly */
	.magazine-body .issue-title span {
		font-size: calc(1.1vw + .9rem);
		line-height: calc(1.1vw + .9rem);
	}
	
	br.adaptive-line-break {
		display: initial;
	}
	
	.magazine-body .block-quote-full {
		width: calc(100% - 2em);
		margin-left: 0px;
		margin-right: 0px;
	}
	
	.magazine-body .image-right-small, .magazine-body .image-left-small {
		width: 35%;
	}

	.magazine-body .image-right-medium, .magazine-body .image-left-medium {
		width: 45%;
	}

	.magazine-body .image-right-large, .magazine-body .image-left-large { /* may change to 100% */
		width: 55%;
	}

}

@media(max-width: 640px) {
	/* most images & graphics move to full width, and table of contents collapses */
	
	.magazine-body .hero img {
		height: 350px;
	}
	
	.magazine-body .image-right-medium, .magazine-body .image-left-medium, .magazine-body .image-right-large, .magazine-body .image-left-large {
		width: 100%;
		float: none;
		margin-left: 0;
		margin-right: 0;
		margin-bottom: 1em;
	}
	
	.magazine-body .block-quote-left, .magazine-body .block-quote-right {
		width: calc(100% - 20px - 4em);
		padding: 1em 2em;
		margin-left: 10px;
		margin-right: 10px;
		float: none;
		text-align: center;
	}
	
	.magazine-body .image-right-small, .magazine-body .image-left-small {
		width: 45%;
	}
	
	.magazine-body .mobile-nav {
		display: block;
	}
	
	/* hides but does not remove from document */
	.magazine-body nav ul.top-menu {
		height: 0;
		padding: 0 !important;
		margin: 0 !important;
		overflow: hidden;
	}
	
	.magazine-body nav ul.top-menu li {
		height: 0;
		padding: 0 !important;
		margin: 0 !important;
		overflow: hidden;
	}
	
}


/* all mobile targetted styles */
@media(max-width: 480px) {

	.magazine-body .hero img {
		height: 275px;
	}
	
	.magazine-body h1 {
		font-size: 3.75em;
		line-height: .9em;
		top: -.3em;
	}
	
	.magazine-body h1 .subtitle {
		font-size: 1.2rem;
		line-height: 1.2rem;
		margin-top: .5rem;
	}
	
	.magazine-body .article {
		font-size: .9em;
	}
	
	.magazine-body .caption {
		margin-top: 4em;
	}
	
	.magazine-body .caption:before {
		content: '';
		position:absolute;
		border-right: 1px solid #8E6F3E;
		border-left: 1px solid #daaa00;
		margin-left: 50%;
		height: 3rem;
		top: -3.5rem;
		left: 0;
	}
	
	.magazine-body .author {
		font-size: 1.1rem;
		line-height: 2rem;
	}
}