/*
 * These styles are outputted both of the frontend and backend of the site
 * Please note any changes you do make may also make changes to the WP backend default styles.
 * Edit with caution
 */

/* Root Variables */
:root {
	--border-radius: 3rem;
	--grid-gap: 4rem;
}

/* Presets */
* {
	box-sizing: border-box;
}
img {
	max-width: 100%;
	vertical-align: middle;
	height: auto;
}

.block-overlay-color { position: absolute; top: 0; left: 0; right: 0; bottom: 0; }

/* Grid */
.grid {
	display: grid;
	grid-gap: 4rem;
}
@media screen and (max-width: 576px) {
	.grid { grid-template-columns: 1fr !important; }
	.triangle .grid  { grid-template-columns: 1fr 1fr 1fr 1fr !important; }
	.triangle .grid .col-span-4  { grid-column: span 4; }
		.triangle .grid .col-span-2  { grid-column: span 2; }

}

/* Sections */
section {
	background-size: cover;
	background-position: center;
	position: relative;
}
section.full-width .container,
.container.full-width {
	max-width: 100%;
	width: 100%;
	padding-left: 0rem;
	padding-right: 0rem;
}
.container .container {
	padding: 0;
}

/* Container */

section.narrow .container .grid { width: 80%; max-width: 80%; }

.container {
	width: 85%;
	max-width: 117rem;
	margin: 0 auto;
	padding: 0rem;
	position: relative;
}

.wp-admin .container {
    width: 97%;
}
.container .container {
	padding: 0;
	margin: 0;
}
@media screen and (max-width: 1024px) {
	.container {
		max-width: 85%;
	}
}

/* Section Titles */
.section-title-area {
	margin-bottom: 5rem;
}
.section-title-area .section-title {}



/* Broken Links */
.broken-link { position: relative;}
.broken-link:after { content: "HASH LINK"; float: left; width: 6rem; color: #fff; background: red; border-radius: 100rem; padding: 0rem 1rem; font-size: 1rem; position: absolute; left: 3.5rem; text-align: left; line-height: 3rem;  }




/* Formatting */
img.toast-round-image {
	border-radius: 100%;
}
img.toast-image-shadow {
	box-shadow: rgba(0, 0, 0, 0.1) 0px 20px 25px -5px, rgba(0, 0, 0, 0.04) 0px 10px 10px -5px;
}

/* Post Listings */


.post-details span { padding-right: 3rem;}
.post-listings {
	grid-template-columns: 1fr 1fr;
}
.post-listing {
	position: relative;
	box-shadow: 0 10px 10px var(--shadow);
	border-radius: 10px;
	overflow: hidden;
}
.post-listing .post-listing-link {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.post-listing .post-listing-content {
	padding: 2rem;
}

/* Pagination */
.page-navigation {
	margin-top: 2rem;
	text-align: center;
}

/* WYSIWYG Formats */
ul.toast-boxed-list {
	background: var(--brand-8);
	padding: 2rem 2rem 1rem 2rem;
	list-style: inside;
}
p.toast-alert-paragraph {
	display: flex;
	align-items: center;
	background: var(--brand-1);
	color: #fff;
	padding: 2rem;
	margin: 4rem 0;
	position: relative;
}
p.toast-alert-paragraph:before {
	content: "";
	display: block;
	background: transparent url('/wp-content/themes/toast/assets/images/warning.svg') center center no-repeat;
	background-size: contain;
	height: 5rem;
	width: 5rem;
	margin-right: 2rem;
}

/* Captions */
p.wp-caption-text {
	background: var(--brand-2);
	padding: 1rem 2rem;
	box-sizing: border-box;
	display: inline-block;
	color: #fff;
	width: 100%;
	border-radius: 0 0 2rem 2rem;
}
div[id^="attachment_"] {
	max-width: 100% !important;
	width: 100% !important;
}
div[id^="attachment_"] img {
	width: 100%;
}
.alignleft .wp-caption-text,
.alignright .wp-caption-text {
	margin-bottom: 0 !important;
}

/* Never Remove */
.wp-block {
	font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen-Sans, Ubuntu, Cantarell, Helvetica Neue, sans-serif;
}

.container.section-header { display: flex; justify-content: space-between;     align-items: anchor-center; }

@media screen and (max-width:576px ) {

	.container.section-header { display: block; }
	.section-title.h3 { margin-bottom: 4rem;}


}