/* [wla_video] clickable YouTube thumbnail card -- see class-wla-video-card.php. */

/* The theme's single-post template shows the post's featured image as a big banner at the top
   of the article (class-wla-video-card.php auto-sets that featured image to the same video
   thumbnail the [wla_video] card below it already shows) -- without this, the same thumbnail
   shows twice on the article page itself. Hide just that top banner on the single-post view.
   MUST be scoped to .single-post (WordPress's body class for an individual post's own page) --
   an earlier version of this rule targeted any "article .entry-header .entry-image" with no
   such scoping, which also matched the Blog archive/teaser grid's own article cards (same
   markup, reused there) and hid the thumbnails everyone actually wants visible on that grid. */
.single-post .entry-header .entry-image {
	display: none;
}

.wla-video-card {
	display: block;
	position: relative;
	margin: 24px 0;
	border-radius: 6px;
	overflow: hidden;
	text-decoration: none;
	background: #000;
}

.wla-video-card-thumb {
	display: block;
	position: relative;
	width: 100%;
	padding-top: 56.25%; /* 16:9 */
	background-size: cover;
	background-position: center;
}

.wla-video-card-play {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 68px;
	height: 68px;
	line-height: 68px;
	text-align: center;
	font-size: 26px;
	color: #fff;
	background: rgba(200, 0, 0, 0.85);
	border-radius: 50%;
	transition: background 0.15s ease, transform 0.15s ease;
}

.wla-video-card:hover .wla-video-card-play {
	background: rgba(255, 0, 0, 0.95);
	transform: translate(-50%, -50%) scale(1.08);
}

.wla-video-card-caption {
	display: block;
	padding: 12px 16px;
	background: #111;
}

.wla-video-card-title {
	display: block;
	color: #fff;
	font-size: 15px;
	line-height: 1.35;
}

.wla-video-card-meta {
	display: block;
	color: #b3b3b3;
	font-size: 12px;
	margin-top: 4px;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}
