/* =============================================================================
   Assembly Network — Front-end Styles
   ========================================================================== */

/* -----------------------------------------------------------------------------
   MC Newsletter CPT — Fullscreen iframe takeover
   -------------------------------------------------------------------------- */

.mc-newsletter-iframe-wrapper {
	position: fixed;
	inset: 0;
	width: 100vw;
	height: 100vh;
	z-index: 9999;
	background: #fff;
}

.mc-newsletter-iframe-wrapper iframe {
	display: block;
	width: 100%;
	height: 100vh;
	border: none;
	overflow-y: scroll;
	-webkit-overflow-scrolling: touch;
}

body.single-mc_newsletter #page {
	display: none !important;
}

/* -----------------------------------------------------------------------------
   Short-Form Content Template
   -------------------------------------------------------------------------- */

.single.post-template-short-form-template .site-main {
	max-width: 1000px;
	margin-left: auto;
	margin-right: auto;
}

.single.post-template-short-form-template .post-thumbnail img {
	width: 100%;
}

.single.post-template-short-form-template:not(.has-featured-image) .main-content .post-thumbnail {
	display: none;
}

.single.post-template-short-form-template .main-content {
	background-color: #ffffff;
	background-image: 
		linear-gradient(to right, var(--newspack-primary-color) 10px, transparent 10px),
		repeating-linear-gradient(to bottom, #ffffff 1px, #ffffff 100px);
	background-size: 100% 24px;
	background-repeat: repeat;
	border: 1px solid #AAAAAA;
	border-radius: 6px;
	padding-left: 45px;
	padding-right: 35px;
	padding-top: 30px;
	padding-bottom: 30px;
	box-shadow: 0 2px 10px #00000033;
}

.single.post-template-short-form-template .site-main > *, .single.post-template-short-form-template .entry-header > *, .single.post-template-short-form-template .main-content > * {
	margin-left: auto;
	margin-right: auto;
}

.single.post-template-short-form-template .entry-header > *, .single.post-template-short-form-template .main-content > * {
	width: 100% !important;
}

.single.post-template-short-form-template .entry-content aside .newspack-popup-container {
	display: none !important;
	margin: 0 !important;
}

.single.post-template-short-form-template .entry-header .entry-title {
	margin-bottom: 0.5rem;
}

.single.post-template-short-form-template.has-featured-image .main-content>*:first-child {
	margin-top: 0;
}

.single.post-template-short-form-template:not(.has-featured-image) .main-content .entry-content>*:first-child {
	margin-top: 0;
}

.single.post-template-short-form-template .entry .entry-content>p:last-of-type {
	margin-bottom: 0;
}

.single.post-template-short-form-template .newspack-inline-popup.custom-below-header-cta {
	background-color: #ffffff;
	background-image: 
		linear-gradient(to right, var(--newspack-primary-color) 10px, transparent 10px),
		repeating-linear-gradient(to bottom, #ffffff 1px, #ffffff 100px);
	background-size: 100% 24px;
	background-repeat: repeat;
	border: 1px solid #AAAAAA;
	border-radius: 6px;
	padding-left: 45px;
	padding-right: 35px;
	padding-top: 30px;
	padding-bottom: 30px;
	box-shadow: 0 2px 10px #00000033;
	text-align: left;
}

.single.post-template-short-form-template header.entry-header .newspack-popup-container p.title {
	font-size: 1.15em;
	line-height: 1.4em;
}

.single.post-template-short-form-template header.entry-header .newspack-newsletters-subscribe button[type=submit] {
	flex: 1 1 100%;
}

@media only screen and (min-width: 782px) {
	.single.post-template-short-form-template header.entry-header {
		max-width: 65%;
		margin-left: auto;
		margin-right: auto;
	}
	.single.post-template-short-form-template .main-content {
		width: 65%;
	}
}

@media only screen and (min-width: 900px) {
	.single.post-template-short-form-template .site-main {
		display: grid;
		column-gap: 40px;
	}
	.single.post-template-short-form-template header.entry-header {
		max-width: 300px;
		padding: 0;
	}
	.single.post-template-short-form-template header.entry-header, .single.post-template-short-form-template .main-content {
		width: 100%;
		margin-left: 0;
		margin-right: 0;
	}
	.single.post-template-short-form-template header.entry-header {
		grid-column-start: 1;
		grid-column-end: 2;
		grid-row-start: 1;
		grid-row-end: 2;
	}
	.single.post-template-short-form-template .main-content {
		grid-column-start: 2;
		grid-column-end: 3;
		grid-row-start: 1;
		grid-row-end: 2;
	}
	.single.single.post-template-short-form-template .entry-header, .single.post-template-short-form-template .entry-header > *, .single.post-template-short-form-template .entry-subhead .sd-content {
    text-align: left;
	}
	.single.post-template-short-form-template .entry-subhead .entry-meta {
		justify-content: left;
		gap: 0;
	}
	.single.post-template-short-form-template .entry-subhead .entry-meta .posted-on {
		margin-left: 0;
	}
	.single.post-template-short-form-template .entry-header > * {
		width: 100%;
		margin-left: 0;
	}
	.single.post-template-short-form-template .entry-subhead .entry-meta {
		display: block;
	}
	.single.post-template-short-form-template .custom-below-entry-header {
		width: 100%;
		max-width: 300px;
	}
	.single.post-template-short-form-template .entry-title {
		font-size: 2.5em;
	}
	.single.post-template-short-form-template .custom-below-entry-header-container {
		position: sticky;
		top: 150px;
		margin-top: 50px;
	}
	.single.post-template-short-form-template .newspack-inline-popup.custom-below-header-cta {
		opacity: 1;
		animation-name: fadeInOpacity;
		animation-iteration-count: 1;
		animation-timing-function: ease-in;
		animation-duration: 1s;
		padding: 1.5rem;
		background-image: none;
	}

	@keyframes fadeInOpacity {
		0% {
			opacity: 0;
		}
		100% {
			opacity: 1;
		}
	}
}

@media only screen and (min-width: 1260px) {
	.single.post-template-short-form-template header.entry-header {
		width: 300px;
	}
}