/*

Title:			Saavn Corp | Blog Elements

Z-Index:	  	0    – Outer Blocks
				100  – Wraps
				1000 – Nav Bar

GREY
Background		#f6f6f6
Default			#3e3e3e
Dark			#121212
Alt				#707070
Light			#a9a9a9
Subtle			#e6e6e6

GREEN
Standard		#2bc5b4
Highlight		#b6fff7
Dark			#258f83
Mint			#ddf8e7

OTHER
Alert			#f3464a
Naavy			#2a2d36
Naavy HLight	#828da8

*/


/* Sidebar Nav
--------------------------------------------- */
.quick-nav.blog-nav li:not(:first-child) a:before, .quick-nav a.category:before {
	content: '#';
	margin-right: .075em;
}


/* Masthead
--------------------------------------------- */
.masthead.blog:not(.article) {
	height: 84vh;
	max-height: none;
	min-height: 620px;
}
.masthead.blog:not(.article) .content { padding-bottom: 2.1vh; }

.masthead.blog h1 a:hover { color: #828da8; }
.masthead.blog h6 {
	color: #fff;
	margin-bottom: 2.6em;
}
.masthead.blog p.attr {
	font-size: 1.15em;
	margin-bottom: 2.34em;
}
.masthead.blog .btn.outline.white:not(:hover) {
	color: #828da8;
	box-shadow: inset #828da8 0 0 0 1px;
}

.masthead .top-story h6:before {
	background: #fff;
	content: '';
	display: inline-block;
	height: 3px;
	margin-right: 1em;
	vertical-align: middle;
	width: 41px;
}
.masthead .top-story.with-hero h1 { max-width: 69%; }

@media (max-width: 568px) {
	.masthead .image-fill.right { background-position: center center; }
	
	.masthead.blog:not(.article) {
		min-height: 480px;
		padding-bottom: 1em;
	}
	.masthead.blog:not(.article) .content { padding-bottom: 0; }
	
	.masthead .top-story h6 {
		font-size: 1em;
		margin-bottom: 1.5em;
	}
	.masthead .top-story h6:before { display: none; }
	.masthead .top-story.with-hero h1 { max-width: none; }
	
	.masthead.blog p.attr {
		font-size: 1em;
		margin-bottom: 1.5em;
	}

	.blog .button-wrap:not(.inline) .btn:not(:hover), .blog .button-wrap.inline .btn:not(:hover), .blog .button-wrap.inline .btn:hover { margin: .25em; }
}

.masthead.article {
	height: 246px;
	min-height: 246px;
}
.masthead.article .content {}
.masthead.article h6 {
	color: #828da8;
	margin-bottom: 1em;
}
.masthead.article h1 {
	margin-top: .725em;
	margin-bottom: 1em;
}


/* Blog Blocks
--------------------------------------------- */
.blocks {}
.blocks .col-break { padding-top: 2em; }

.block {
	display: block;
	height: 20em;
	padding: 1em;
	width: 33.3333%;
}
.blocks .block { float: left; }

.block .card { position: relative; }
.block .card-content {
	height: calc(100% - 26px);
	overflow: hidden;
	padding: 26px;
	position: relative;
}
.block .card:after, .block .card-content:before, .coverage-item figcaption:before {
	bottom: 0;
	content: '';
	left: 0;
	pointer-events: none;
	position: absolute;
	right: 0;
}
.block .card:hover:after { box-shadow: inset #2bc5b4 0 0 0 2px, rgba(0,0,0,.03) 0 3px 0, rgba(0,0,0,.01) 0 0 0 1px, rgba(0,0,0,.06) 0 3px 18px 0; }
.block .card-content:before, .coverage-item figcaption:before {
	background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, #fff 100%);
	height: 39%;
}
.block .invert .card-content:before { background: linear-gradient(to bottom, rgba(42,45,54,0) 0%, #2a2d36 100%); }

.block .header:not(:empty) {
	background: #eee;
	border-radius: 2px 2px 0 0;
	display: none;
	margin: -26px -26px 1em -26px;
	max-height: 17.5em;
	overflow: hidden;
	position: relative;
}
.block .header:not(:empty):after {
	background: #fff;
	bottom: auto;
	content: '';
	height: 4em;
    left: 0;
    position: absolute;
	top: 100%;
	right: 0;
    transform: skewY(3.5deg);
    transform-origin: 100%;
}

.block .header img {
	height: auto;
	width: 100%;
}
.block .header:hover img {}

.block h6 { font-size: .84em; }
.block .card:not(.invert) h6 {
	color: #a9a9a9;
	font-weight: 500;
}
.block h3, .coverage h3 {
	font-size: 1.6em;
	line-height: 1.26;
	margin-bottom: .25em;
}
.block h3 a { display: block; }
.block .card:not(.invert) h3 a:hover { color: #2bc5b4; }
.block p.attr {
	color: #a9a9a9;
	font-size: .84em;
}
.block p.attr a:hover { color: #3e3e3e; }
.block p.attr .author { display: block; }
.block p.attr .author:before { content: 'by '; }
.block p.attr .author .mdot { display: none; }
.block p.attr .author .title { display: none; }
.block .preview {
	font-size: 1.1em;
	padding-top: 1em;
}
.block .preview p { margin-bottom: .5em; }
.block a.category:hover {
	border-bottom-style: solid;
	border-bottom-width: 1px;
}

.block .card.invert .header:after { background: #2a2d36; }
.block .card.invert h3 a { color: #fff; }
.block .card.invert, .block .card.invert h3 a:hover, .block .card.invert .preview { color: #828da8; }

/* Full Width */
.block:nth-child(1) { height: 40em; width: 66.6666%; }
.block:nth-child(2) { height: 40em; }
.block:nth-child(3) { clear: left; height: 40em; }
.block:nth-child(4) { }
.block:nth-child(5) { }
.block:nth-child(6) { width: 66.6666%; }
.block:nth-child(7) { clear: left; }
.block:nth-child(8) { }
.block:nth-child(9) { }
	.block:nth-child(1) .header,
	.block:nth-child(2) .header,
	.block:nth-child(3) .header { display: block; }
	.block:nth-child(1) p.attr .author, .block:nth-child(1) p.attr .author .title, .block:nth-child(1) p.attr .author .mdot,
	.block:nth-child(6) p.attr .author, .block:nth-child(6) p.attr .author .title, .block:nth-child(6) p.attr .author .mdot { display: inline; }
	.block:nth-child(1) p.attr .author .mdot:after, .block:nth-child(6) p.attr .author .mdot:after {
		content: ' by ';
		margin-left: .2em;
		margin-right: -.1em;
	}
	.block:nth-child(1) p.attr .author:before, .block:nth-child(6) p.attr .author:before,
	.block:nth-child(4).coverage-item blockquote,
	.block:nth-child(5).coverage-item blockquote,
	.block:nth-child(7).coverage-item blockquote,
	.block:nth-child(8).coverage-item blockquote,
	.block:nth-child(9).coverage-item blockquote { display: none; }

/* Nav */
#posts-nav .grid .col {
	text-align: right;
	width: 50% !important;
}
#posts-nav .grid .col + .col { text-align: left; }
#posts-nav .arrow:before, #posts-nav .arrow:after { top: -1px; }

/* Press Coverage */
.coverage .coverage-item + #posts-nav { padding-top: 2em; }

.coverage-item:not(.block) { padding: 1em; }
.coverage-item .card-content {
	height: 100%;
	padding-bottom: 50px;
}

.coverage-item h3, .coverage-item blockquote { position: relative; }

.coverage-item blockquote { z-index: 100; }
.coverage-item.block blockquote { margin-top: 1.2em; }
.coverage-item blockquote p {
	margin-bottom: 2em;
	max-height: 12em;
	min-height: 5em;
	overflow: hidden;
	padding: .2em 0 0 3em;
	position: relative;
}
.coverage-item blockquote:before {
	color: #e6e6e6;
	content: '“';
	font-family: 'Crimson Text', Palatino, Georgia, serif;
	font-size: 10.2em;
	left: -12px;
	position: absolute;
	top: -17px;
	z-index: 100;
}
.coverage-item blockquote:after {
	background: #eee;
	bottom: 0;
	content: '';
	left: 1.29em;
	position: absolute;
	top: 3.6em;
	width: 2px;
}

.coverage-item h3, .coverage-item figcaption { z-index: 200; }
.coverage-item figcaption {
	background: #f6f6f6;
	border-radius: 0 0 2px 2px;
	bottom: 2px;
	height: calc(34px + 2.4em);
	left: 2px;
	padding: 1.2em 30px;
	position: absolute;
	width: calc(100% - 4px);
}
.coverage-item figcaption:before {
	bottom: 100%;
	height: 100px;
	z-index: 10;
}
.coverage-item figcaption .img, .coverage-item figcaption cite, .coverage-item figcaption .date {
	position: relative;
	z-index: 100;
}
.coverage-item figcaption .img {
	background: #fff;
	border-radius: 3px;
	box-shadow: rgba(0,0,0,.06) 0 0 12px;
	height: 70px;
	float: left;
	margin: calc(34px - 70px) 1em 0 0;
	padding: 2px;
}
.coverage-item figcaption .img img { height: 100%; }
.coverage-item figcaption cite {
	font-size: .9em;
	font-style: normal;
	font-weight: 600;
	padding-top: .1em;
	padding-bottom: .2em;
}
.coverage-item figcaption .date {
	color: #a9a9a9;
	font-size: .8em;
}

/* Medium Break */
@media(max-width: 1024px) {
	.quick-nav-col[class], .blocks[class] { width: 100%; }
	
	.coverage[class] { width: 100%; }
	.coverage-item:not(.block):nth-child(even) { padding-right: 0; }
	.coverage-item:not(.block):nth-child(odd) { padding-left: 0; }
}
@media(max-width: 768px) {
	.coverage-item:not(.block) { padding: 1em 0; }
}

/* Small Break */
@media(max-width: 840px) {
	.block { width: 50% !important; margin: 0 !important; clear: none !important; }
}

/* Mobile Break */
@media(max-width: 568px) {
	.block p.attr .no-br { white-space: normal; }
	.block {
		padding: .75em 0;
		width: 100% !important;
	}
}


/* Blog Post
--------------------------------------------- */
#main .article .wrap {
	max-width: 750px;
	margin: 0 auto;
	width: 100%;
}
.article-wrap .quick-nav-col { margin-top: -2em; }

.col.article { padding-left: 30px; }

.article-hero {
	margin-top: -7.5em;
	position: relative;
}
.article-hero .card-content:not(.empty):after {
	background: #f6f6f6;
	bottom: auto;
	content: '';
	height: 4em;
	left: 0;
	position: absolute;
	top: calc(100% - 4em);
	right: 0;
	transform: skewY(3.5deg);
	transform-origin: 100%;
}

@media(min-width: 1440px) {
	.article-hero { margin-top: -8vw; }
}

.article-header, .article-attr { text-align: center; }
.article-attr {
	margin: 2.75em 0 2.6em 0;
	padding: 2.6em 0;
	position: relative;
}
.article-attr:before, .article-attr:after {
	background: #3e3e3e;
	content: '';
	height: 1px;
	position: absolute;
	left: 50%;
	margin-left: -20px;
	width: 40px;
}
	.article-attr:before { top: 0; }
	.article-attr:after { bottom: 0; }
.article .article-attr p {
	margin-bottom: .75em;
	line-height: 1.4;
}
.article .article-attr p.no-image { margin-bottom: .25em; }
.article-attr img {
	background: #2a2d36;
	border-radius: 50px;
	box-shadow: #2a2d36 0 0 0 2px;
	height: 100px;
	margin: 0 auto;
	width: 100px;
}

.article-attr .title {
	color: #a9a9a9;
	display: block;
	font-size: 80%;
	margin-top: -.1em;
}
.article-attr .and-br {
	color: #a9a9a9;
	display: block;
	font-size: 84%;
	margin: .5em 0 .3em 0;
}

.article-attr.no-author {
	margin: 0 0 3.4em 0;
	padding: 0 0 2.6em 0;
}
.article-attr.no-author:before, .article-attr.no-author p, .article-attr.no-author img { display: none; }

.article h1 { letter-spacing: -.0125em; }
.article p + h2, .article p + h3 { margin-top: 2em; }

.article p, .article li {
	font-family: 'Crimson Text', Palatino, Georgia, serif;
	font-size: 1.3em;
	line-height: 1.6;
}
.article p { margin-bottom: 1em; }

.article ol, .article ul { margin-bottom: 1.5em; }
.article ol { list-style: decimal; }
.article ul { list-style: disc; }
.article li { margin-left: 2em; }

.article blockquote {
	border: 5px solid #e6e6e6;
	border-width: 0 0 0 5px;
	margin: 2em 0 2em calc(-5px - 1em);
	padding: 1.75em 0 .25em 0;
}
.article blockquote p {
	font-size: 1.84em;
	font-style: italic;
	line-height: 1.25;
	margin: 0 1.5em 1em 1.5em;
	padding-left: 5px;
}

.article .video-wrap {
	background: #2a2d36;
	border-radius: 5px;
	box-shadow: rgba(0,0,0,.39) 0 3px 39px;
	margin-bottom: 4em;
	padding: 5px;
}
.article .video {
	border-radius: 4px;
	height: 0;
	overflow: hidden;
	padding-top: calc(388 / 690 * 100%);
	position: relative;
}
.article .video iframe {
	border: none;
	display: block;
	height: 100%;
	left: 0;
	line-height: 0;
	margin: 0;
	position: absolute;
	top: 0;
	width: 100%;
}

/* Forced fixes for old posts... */
.article-body .wp-caption, .article-body .wp-caption img {
	height: auto;
	max-width: 100%;
}

@media(max-width: 1024px) {
	.quick-nav-col { display: none; }
	.col.article {
		padding-left: 0;
		width: 100%;
	}
}
@media(max-width: 768px) {
	.article-attr.grid-2 .col + .col { padding-top: 2em; }
}
@media(max-width: 568px) {
	.masthead.article {
		height: 184px;
		min-height: 184px;
	}
	
	.article-wrap .quick-nav-col { display: none; }
	
	#main .article .wrap { padding: 0; }
	.article-hero { margin-top: -10em; }
	
	.article p { font-size: 1.2em; }
	.article-attr img {
		height: 84px;
		width: 84px;
	}
}


