/**
 * single.css
 */

.has-featured-image #primary {
	margin-top:  0;
	padding-top:  0;
}

.entry-header .post-thumb img {
	width:  100%;
}

body.page:not( .has-featured-image ) h1 {
	text-align: center;
	color: var( --ast-global-color-7 );
	font-size:  32pt;
}


@media( min-width:  922px ) {
	.has-featured-image .entry-header {
	    margin-left: calc(-50vw + 50%);
	    margin-right: calc(-50vw + 50%);
	    max-width: 100vw;
	    width: 100vw;
	 }

	.has-featured-image .entry-header .post-thumb img {
		width:  100%;
		height:  30em;
		object-fit: cover;
	}

	.has-featured-image .entry-header {
		position:  relative;
	}

	.has-featured-image .has-post-thumbnail .post-thumb img {
		margin:  0;
	}

	.has-featured-image .entry-title,
	.has-featured-image .entry-header .post-thumb + .ast-single-post-order {
		position:  absolute;
		bottom:  0;
		/* background-color:  #000a; */
		background-image: linear-gradient( to bottom, #0008, #0006);
		text-align: center;
		width:  100%;
	}

	.has-featured-image .entry-title,
	.has-featured-image .page-title {
		color:  #fffe;
		padding: 1em 0;
		font-weight: 700;
		margin:  0;

		 /* -webkit-text-stroke: 1px black; */
	 	text-shadow:
			-1px -1px 2px #000,
			1px -1px 2px #000,
			-1px 1px 2px #000,
			1px 1px 2px #000;
	}

	.has-featured-image.ast-single-post .entry-title, .page-title {
		font-size:  32pt;
		letter-spacing: 0.07em;
	}
}

@media( min-width:  1200px ) {
	.entry-header .post-thumb img {
		height:  40em;
	}
}
