/* -------------------------------- EDITOR MODS -------------------------*/

/* lets wordpress blocks present as full-width in EDITOR that are:
    NOT a .block-inner (should be confied to --content-width) 
    NOR these blocks: .wp-block-gallery,
    */
html :where(.wp-block:not(.block-inner,.wp-block-gallery)) {
    /* max-width: unset !important; */
    /*max-width: var(--content-width);*/
}

/*.is-root-container > :is(.wp-block-heading, .wp-block-paragraph, .quote-w-heading) {
	width: var(--content-width);
	margin-left: auto;
	margin-right: auto;
}*/

.is-root-container > :not(.wp-block-embed, .acf-block-component, .wp-block-image) {
	width: var(--content-width);
	margin-left: auto;
	margin-right: auto;
}
.is-root-container > .wp-block-image.alignleft {
	margin-left: calc(50% - var(--content-width)/2) !important;
}
.is-root-container > .wp-block-image.alignright {
	margin-right: calc(50% - var(--content-width)/2) !important;
}
.is-root-container > .wp-block-image :not(.alignleft, .alignright, .aligncenter) {
	margin-left: auto;
	margin-right: auto;
}

/* make editor easier to navigate by showing boundaries of wp blocks */
.is-root-container .wp-block { 
	border: 1px dashed rgba(0,0,0,0); 
	transition: border-color 200ms;
}
.is-root-container .wp-block:hover { 
	border: 1px dashed rgba(0, 124, 186, 0.5); }


/* hide color button on MCE editor for WYSIWYG ACF fields */
div.acf-input .mce-widget.mce-colorbutton {
	display: none;
}


/* make post title in editor look ince */
div.edit-post-visual-editor__post-title-wrapper {
	margin-top: 0px !important;
	margin-bottom: 3em;
	padding: 40px 0px;
	background: #EEE;
	width: 100%;
}
div.edit-post-visual-editor__post-title-wrapper .wp-block-post-title {
	font-family: sans-serif;
	font-size: 30px;
	text-align: center;
	margin: 0;
}
div.edit-post-visual-editor__post-title-wrapper .wp-block-post-title::before {
	content:'Title: ';
	color: #BBB;
}

/* make GIANT margin at end of block editor much smaller */
:root :where(.editor-styles-wrapper)::after {
  height: 75px !important;
}


/* --------------------------- Some generic block styles ----------------- */

/*-------  .txt-dark-back --------
    it is assumed that most text is on a light background,
    if not, use this class, and it uses then "invert" colors */
    
.block-inner .txt-dark-back * {
    color: var(--body-text-color-invert);
}
.block-inner .txt-dark-back h2,
.block-inner .txt-dark-back h3 {
    color: var(--primary-heading-invert);
}
.block-inner .txt-dark-back h4,
.block-inner .txt-dark-back h5 {
    color: var(--secondary-heading-invert);
}

.block-inner .txt-dark-back hr {
    border-bottom-color: var(--line-light-color);
}

/* --- accent font ---- */
div.block-inner h3.accent,
div.block-inner h4.accent,
div.block-inner h5.accent,
div.block-inner .accent,
.accent {
    font-family: var(--accent-font-family);
    text-transform: unset;
    font-weight: 400;
}

/* might need to reconfigure this situation depending on 
how the background setting scheme evolves */
:root {
    --overlay-color-1: rgba(233,168,57,0.9); /* Gold */
    --overlay-color-2: rgba(65,81,61,0.9); /* green */
    --overlay-color-3: rgba(0,0,0,0.7); /* grey */
    --overlay-color-4: rgba(204,117,29,0.7); /* Orange */
}

.back-color-grey { background-color: var(--back-color-grey); }
.back-color-lt-grey { background-color: var(--back-color-lt-grey); }
.back-color-peach { background-color: var(--back-color-peach); }
.back-color-none { background-color: var(--back-color-none); }

.block-outer:is(.back-color-grey,.back-color-lt-grey,.back-color-peach):not(.embed-generic, .image-with-link) {
	padding-top: 40px;
	padding-bottom: 40px;
}

/* fixing some issues with wp-image-block not being contained in div.wp-image-block!? */
.wp-block-image.alignleft {
    float: left;
    margin: .5em 1em .5em 0
}

.wp-block-image.alignright {
    float: right;
    margin: .5em 0 .5em 1em
}

.wp-block-image.aligncenter {
    margin-left: auto;
    margin-right: auto
}

/* Might need this?
.wp-block-image:where(figcaption) {
    margin-bottom: 1em;
    margin-top: .5em
} */

/* -----------------------------------------------------------------------------*/
/* -------------------------------- WP BLOCK MODS ------------------------------*/
/* -----------------------------------------------------------------------------*/
div.wp-block-cover a {
	color: var(--color-bright-gold);
}

/* --------------------------------------------------------------------- */
/*                               HR separator                            */
/* --------------------------------------------------------------------- */

.content > .wp-block-separator,
.is-root-container > .wp-block-separator {
	margin: var(--block-margin) auto;
	padding: 5px 0px;
}

.content > .wp-block-separator.is-style-default,
.is-root-container > .wp-block-separator.is-style-default {
	border-top: dotted 6px var(--line-dark-color);
	width: calc(var(--content-width) - 80px ) !important;
}
.content > .wp-block-separator.is-style-wide,
.is-root-container > .wp-block-separator.is-style-wide {	
	border-top: solid 3px var(--line-dark-color);
	width: calc(var(--content-width) - 80px ) !important;
}
.content > .wp-block-separator.is-style-dots::before,
.is-root-container > .wp-block-separator.is-style-dots::before {
	color: var(--line-dark-color);
	font-size: 2em;
}

@media screen and (max-width: 1000px) {
	.content > .wp-block-separator,
	.is-root-container > .wp-block-separator {
		width: 85vw !important;
	}	
}

/* --------------------------------------------------------------------- */
/*                               Video Embed                             */
/* --------------------------------------------------------------------- */

/*  - adds background
    - width controls
*/

.content > figure.wp-block-embed.is-type-video,
.content > article > figure.wp-block-embed.is-type-video,
.is-root-container > div > figure.wp-block-embed.is-type-video {
	margin-top: var(--block-margin);
	margin-bottom: var(--block-margin);
    overflow-wrap: break-word;
    max-width: unset;
    background-color: var(--back-color-lt-grey);
    position: relative;
    height: 480px;
	border-top: 40px solid white;
	border-bottom: 40px solid white;
}

.content > figure.wp-block-embed,
.content > article > figure.wp-block-embed,
.is-roort-container > div > figure.wp-block-embed {
	margin-left: 0px !important;
	margin-right: 0px !important;
}
    
.content > figure > .wp-block-embed__wrapper,
.content > article > figure > .wp-block-embed__wrapper,
.is-root-container div > figure > .wp-block-embed__wrapper {
    position: absolute;
    width: var(--content-width);
    margin: 0 auto;
    left: 0px;
    right: 0px;
    top: -40px;
}
.content > figure > .wp-block-embed__wrapper iframe,
.content > article > figure > .wp-block-embed__wrapper iframe,
.is-root-container > div > figure > .wp-block-embed__wrapper iframe {	
	height: 565px;
	width: 100%;
}
@media screen and (max-width: 1000px) {
	.content > figure.wp-block-embed.is-type-video,
	.content > article > figure.wp-block-embed.is-type-video {
		height: 50vw;
		border: none;
	}
	.content > figure > .wp-block-embed__wrapper,
	.content > article > figure > .wp-block-embed__wrapper {
		width: 100vw;
	}
	.content > figure > .wp-block-embed__wrapper iframe,
	.content > article > figure > .wp-block-embed__wrapper iframe {
		height: 57vw;
	}
}

/* --------------------------------------------------------------------- */
/*                              Gallery                                  */
/* --------------------------------------------------------------------- */

/*  - constarins width to var(--content-width)
    - centers gallery
    - increase adjacent image gap
*/
figure.wp-block-gallery {
    align-items: normal;
    max-width: var(--content-width);
    margin: var(--block-margin) auto var(--block-margin) auto;
    gap: var(--gallery-gap) !important;
}
.wp-block-gallery figure.wp-block-image {
    width: calc(33.3% - var(--gallery-gap) * 0.67) !important;
}

@media screen and (max-width:639px) {
    .wp-block-gallery figure.wp-block-image {
        width: calc(50% - var(--gallery-gap)) !important;
    }
}


/* -----------------------------------------------------------------------------*/
/* ------------------------- My Gutenberg block patterns -----------------------*/
/* -----------------------------------------------------------------------------*/

/* --------------- generic editor mods for specific blocks ----------*/

/* make full-width blocks show as such in editor */
.is-root-container > div[data-type="acf/multi-column-icons"],
.is-root-container > div[data-type="acf/graphic-bar-highlight"],
.is-root-container > div[data-type="acf/fullwidth-photo"],
.is-root-container > div[data-type="acf/fullwidth-image-text"] {
	margin-left: 0;
	margin-right: 0;
	min-width: 100%;
}


/* -----------------------------------------------------------------------------*/
/* --------------------------------- ACF BLOCKS --------------------------------*/
/* -----------------------------------------------------------------------------*/

/* --------------------------------------------------------------------- */
/*                            Event grid-item   DELETE???                         */
/* --------------------------------------------------------------------- */

div.event-grid-item {
	margin-bottom: 50px;
}

div.event-grid-item img {
	width: 100%;
	height: 300px;
	object-fit: cover;
}

div.event-grid-item a.image-link:hover {
	border-bottom-color: rgba(0,0,0,0);
}

div.event-grid-item p.date {
	margin: 10px 0px;
}

div.event-grid-item h3 {
    text-align: left;
    margin-top: 1rem;
    font-size: 35px;
}


/* --------------------------------------------------------------------- */
/*          Quote with heading (ACF data w/WP classes)                   */
/* --------------------------------------------------------------------- */
div.quote-w-heading {
	justify-content: center;
}
div.quote-w-heading h2 {
    font-size: calc(var(--body-h2-size)*1.3);
    margin-bottom: 20px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

div.quote-w-heading .block-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
}
.qwh-quote-grp {
	display: flex;
	align-items: start;
	gap: 1em;
}

/* the quote markers */
.quote-w-heading .qwh-quote-grp::before,
.quote-w-heading .qwh-quote-grp::after {
    font-family: 'Times New Roman', serif;
    font-size: 300px;
    position: relative;
    top: -90px;
    color: var(--primary-heading);
}
.quote-w-heading .qwh-quote-grp::before {
    content: '\201C';
    left: 0px;
}
.quote-w-heading .qwh-quote-grp::after {
    content: '\201D';
    right: 0px;
}

div.quote-w-heading blockquote {
    border: none;
    position: relative;
    padding: 0;
	margin: 0;
}

/* the actual quote */
div.quote-w-heading blockquote > p {
    font-size: calc( var(--body-font-size) * 1.3 );
}

/* the attribution */
div.quote-w-heading p.attrib {
    font-size: calc( var(--body-font-size) * 2 );
    font-family: var(--heading-font-family) !important;
    font-weight: 500;
    color: var(--primary-heading);
    text-align: left;
}
div.quote-w-heading p.attrib::before {
    content: "-";
    padding-right: .2em;
}


/* responsive */
@media screen and (max-width:1000px) {
	div.quote-w-heading .qwh-quote-grp::before, .quote-w-heading .qwh-quote-grp::after {
		font-size: 240px;
		top: -65px;
	}
}

@media screen and (max-width:639px) {
	div.quote-w-heading h2 {
		margin-bottom: 0px;
		max-width: calc( 100vw - 120px);
	}
	.qwh-quote-grp {
		_margin: 0 60px;
	}
	div.quote-w-heading .qwh-quote-grp::before, .quote-w-heading .qwh-quote-grp::after {
		font-size: 120px;
		top: -20px;
	}
	div.quote-w-heading blockquote > p {
		margin-top: 10px;
	    font-size: var(--body-font-size);
	}
	div.quote-w-heading p.attrib {
	    font-size: calc( var(--body-font-size) * 1.3 );
	}
}


/* --------------------------------------------------------------------- */
/*                              Embed Generic                            */
/* --------------------------------------------------------------------- */

div.embed-generic.block-outer {
	margin-top: var(--block-margin);
	margin-bottom: var(--block-margin);
	border-top: 40px white solid;
	border-bottom: 40px white solid;
}
.embed-generic .block-inner {
	position: relative;
	height: 500px;
	margin: 0 auto;
}

.embed-generic iframe {
	position: absolute;
	top: -40px;
	margin: 0;
	height: calc(100% + 80px);
}

@media screen and (max-width: 1000px) {
	.embed-generic .block-inner {
		height: 50vw;
	}
}


/* --------------------------------------------------------------------- */
/*                           ACF - Multi Column Text                     */
/* --------------------------------------------------------------------- */

div.multi-column-text .block-inner {
	margin-top: 30px;
	margin-bottom: 30px;
	padding-top: 1em;
	padding-bottom: 1em;
}

div.multi-column-text h3 {
	padding-bottom: 10px;
}

div.multi-column-text .mct-text {
	-webkit-column-gap: 3em;
	-moz-column-gap: 3em;
	column-gap: 3em;
	-webkit-column-rule: 3px solid var(--line-dark-color);
	-moz-column-rule: 3px solid var(--line-dark-color);
	column-rule: 3px solid var(--line-dark-color);
}
div.multi-column-text .mct-two-cols {
	-webkit-column-count: 2;
    -moz-column-count: 2;
	column-count: 2;
}
div.multi-column-text .mct-three-cols {
	-webkit-column-count: 3;
    -moz-column-count: 3;
	column-count: 3;
}
@media screen and (max-width: 650px) {
	div.multi-column-text .mct-two-cols,
	div.multi-column-text .mct-three-cols {
		-webkit-column-count: unset;
		-moz-column-count: unset;
		column-count: unset;
	}
}
@media screen and (min-width: 651px) and (max-width: 800px) {
	div.multi-column-text .mct-three-cols {
		-webkit-column-count: 2;
	    -moz-column-count: 2;
		column-count: 2;
	}
}


/* --------------------------------------------------------------------- */
/*                     ACF - Highlight bar with bg graphic               */
/* --------------------------------------------------------------------- */

div.block-outer.graphic-bar-highlight {
	min-width: unset;
	width: calc(100vw - (50vw - var(--content-width) / 2));
	margin-bottom: calc(var(--block-margin) + 2em);
	padding: 0px;
}
div.pos-right.graphic-bar-highlight {
	margin-right: calc(50vw - var(--content-width) / 2);
	margin-left: 0px;
}
div.pos-left.graphic-bar-highlight {
	margin-left: calc(50vw - var(--content-width) / 2);
	margin-right: 0px;
}

.graphic-bar-highlight .block-inner {
	position: relative;
}
.pos-right.graphic-bar-highlight .block-inner {
	margin-left: calc(50vw - var(--content-width) / 2);
}
.pos-left.graphic-bar-highlight .block-inner {
	margin-right: calc(50vw - var(--content-width) / 2);
}

.gbh-image-div {
	position: absolute;
	bottom: -3em;
}
.pos-right .gbh-image-div {
	left: -5em;
}
.pos-left .gbh-image-div {
	right: -5em;
}

.gbh-image-div img {
	padding-top: 2em;
}
.pos-left .gbh-image-div img {
	transform: scaleX(-1);
}
div.gbh-content-div {
	width: 600px;
	position: relative;
	padding-top: 2em;
	padding-bottom: 2em;
}
.pos-right div.gbh-content-div {
	margin-left: auto;
	margin-right: var(--mobile-margin);
}
.pos-left div.gbh-content-div {
	margin-right: auto;
	margin-left: 2em;
}
div.gbh-content-div h3 {
	position: absolute;
	top: -40px;
	margin: 5px 0px;
}
.pos-right div.gbh-content-div h3 {
	right: 20px;
}
@media screen and (max-width:1000px) {
	div.block-outer.graphic-bar-highlight {
		width: 100%;
		margin-left: 0;
		margin-right: 0;
	}
	.graphic-bar-highlight .block-inner {
		margin-left: auto;
	}
	.gbh-image-div {
		left: unset;
		right: calc(70% - 350px);
	}
	.gbh-content-div {
		width: 60%;
	}
}

/* --------------------------------------------------------------------- */
/*                     ACF - Two column block                            */
/* --------------------------------------------------------------------- */

.two-column-block .block-inner {
	display: flex;
}
.tcb-col-1 {
	padding-right: 2em;
	flex-basis: 40%;
	/* none of the following working */
}
.block-inner .tcb-col-1 * {
	color: var(--primary-heading);
	font-family: var(--heading-font-family);
	font-size: 35px;
	font-weight: 400;
	line-height: 1.1em;
}

.tcb-col-2 {
	flex-basis: 60%;
	padding-left: 2em;
	border-left: 4px solid var(--line-dark-color);
}
@media screen and (max-width:700px) {
	.two-column-block .block-inner {
		flex-wrap: wrap;
	}
	.tcb-col-1,
	.tcb-col-2 {
		padding-left: 0px;
		padding-right: 0px;
		flex-basis: 100%;
	}
	.tcb-col-1 {
		padding-bottom: 1.5em;
	}
	.tcb-col-2 {
		border-left: unset;
		border-top: 3px solid var(--line-dark-color);
		padding-top: 3em;
	}
}


/* --------------------------------------------------------------------- */
/*                     ACF - Side Image Highlight                        */
/* --------------------------------------------------------------------- */

div.side-image-highlight + div.side-image-highlight {
	margin-top: -3em;
}
div.block-outer.side-image-highlight {
	padding: 5px 0px;
	min-height: 600px;
}

.side-image-highlight .block-inner {
    position: relative;
}
div.sih-image-div {
    position: absolute;
    top: 0px;
}
.pos-right div.sih-image-div {
	right: 0px;
}
div.sih-image-div img {
	width: 500px;
	height: 500px;
	object-fit: cover;
}
div.sih-content-div {
    display: flex;
    align-items: flex-start;
    position: relative;
    width: calc(50vw + 92px);
    top: 50px;
    left: 400px;
    z-index: 10;
}
.pos-right div.sih-content-div {
	left: calc(-50vw + var(--content-width)/2);
}
div.sih-content-div h3 {
	position: absolute;
	top: -40px;
    margin: 5px 0px;
}
.pos-left div.sih-content-div h3 {
	right: calc(30px + (100vw - var(--content-width))/2);
}
.pos-right div.sih-content-div h3 {
	left: calc(30px + (100vw - var(--content-width))/2);
}

div.sih-content-div h4 {
	margin: 1.5em;
	border-top: 4px solid black;
	border-bottom: 4px solid black;
	padding: 1em 0em;
	text-transform: uppercase;
}
.pos-right div.sih-content-div h4 {
	margin-left: calc(1em + (100vw - var(--content-width))/2);
}
.pos-left div.sih-content-div .nwca-rich-text {
	margin: 2em
		calc(0em + (100vw - var(--content-width))/2)
		1em 1em;
}
.pos-right div.sih-content-div .nwca-rich-text {
	margin: 2em 1em 1em 1em;
}

div.side-image-highlight .button {
	position: relative;
	margin-top: 100px;
	margin-left: 550px;
	max-width: 350px;
	right: 0px;
	z-index: 10;
}
div.side-image-highlight.pos-right .button {
	margin-left: unset;
	margin-right: calc(-50vw + var(--content-width)/2);
	transform: translate(-100%, 0);
	right: -450px;
}

@media screen and (max-width:1000px) {
	div.sih-image-div img {
		/*width: 50vw;
		height: 50vw;*/
	}
	.pos-left div.sih-content-div {
		left: calc(100vw - 600px);
		/*right: 0px;
		width: 550px;*/
		width: 583px;
	}
	.pos-right div.sih-content-div {
		left: 0px;
		width: 550px;
	}
	.pos-left div.sih-content-div h3 {
		right: 30px;
	}
	.pos-right div.sih-content-div h3 {
		left: 30px;
	}
	.pos-right div.sih-content-div h4 {
		margin-left: 1em;
	}
	div.sih-content-div .nwca-rich-text {
		margin-right: 2em !important;
	}
	div.side-image-highlight.pos-left .button {
		margin-left: unset;
		right: calc(50px - 100vw);
		transform: translate(-100%,0);
	}
	div.side-image-highlight.pos-right .button {
		margin-left: calc(-50vw + var(--content-width)/2);
		margin-top: 150px;
	}
}
@media screen and (max-width:850px) {
	div.sih-image-div {
		position: unset;
	}
	div.sih-image-div img {
		width: 100%;
		height: 300px;
	}
	.pos-right div.sih-content-div,
	.pos-left div.sih-content-div {
		left:0px;
		top: 0px;
		margin-top: 40px;
		width: 100%;
	}
	div.sih-content-div h3 {
		right: 1em;
		top: -1em;
	}
	div.sih-content-div h4 {
		margin: 1.5em 0.75em;
	}
	div.sih-content-div .nwca-rich-text {
		margin-left: 0.5em !important;
		margin-right: 1em !important;
	}
	div.side-image-highlight .button {
		max-width: 80vw;
	}
	div.side-image-highlight.pos-left .button,
	div.side-image-highlight.pos-right .button {
		margin-top: 2rem;
		margin-left: 2rem;
		transform: unset;
		right: unset;
	}
}

/* --------------------------------------------------------------------- */
/*                     ACF - Photo w Bottom-side text                    */
/* --------------------------------------------------------------------- */

div.block-outer.photo-bottom-text {
}
.photo-bottom-text .block-inner {
	position: relative;
	height: 500px;
	background-size: cover;
}
.photo-bottom-text.pos-left .pbt-overlay {
	position: absolute;
	bottom: 0px;
	left: 3em;
	width: 400px;
	padding: 2em;
	display: inline-block;
}
.photo-bottom-text.pos-right .pbt-overlay {
	position: absolute;
	bottom: 0px;
	right: 3em;
	width: 400px;
	padding: 2em;
	display: inline-block;
}
div.pbt-overlay h3 {
	margin-top: 5px;
}

@media screen and (max-width:700px) {
	.photo-bottom-text.pos-left .pbt-overlay,
	.photo-bottom-text.pos-right .pbt-overlay {
        width: unset;
		left: 0px;
		right: 0px;
    }
}

/* --------------------------------------------------------------------- */
/*                          ACF - Fullwidth photo                        */
/* --------------------------------------------------------------------- */

div.block-outer.fullwidth-photo {
    background-position: center center;
    background-size: cover;
}

/* --------------------------------------------------------------------- */
/*                  ACF - Fullwidth banner w/image and text              */
/* --------------------------------------------------------------------- */

div.block-outer.fullwidth-image-text {
	margin-top: 100px;
	position: relative;
}
.fullwidth-image-text .fit-bg-bar {
	position: absolute;
	width: 100%;
	bottom: 0px;
}

.fullwidth-image-text .block-inner {
	padding-bottom: 4em;
	text-align: center;
}

.fullwidth-image-text img {
	position: relative;
	z-index: 10;
}
.fit-text-div {
    text-align: left;
	position: relative;
	z-index: 10;
	margin: 0px var(--mobile-margin);
}
.fit-text-div h2, 
.fit-text-div h3 {
    text-align: center;
}



/* --------------------------------------------------------------------- */
/*                           ACF - Image Feature                         */
/* --------------------------------------------------------------------- */

div.image-feature.block-outer {
    /* Just the existence of padding even if 1px vastly changes how margins of adjacent blocks space out 
     * It seems to maybe allow adjacent margins to NOT overlap anymore?
    */
    padding-bottom: 1rem; 
}
div.image-feature .block-inner {
    display: flex;
	align-items: flex-end;
	margin-bottom: 100px; /* make up for image lowering */
}

/* pos-left is default, since image block appears first in html */
div.image-feature.pos-right .block-inner {
    flex-direction: row-reverse;
}

.imf-image-div img {
	width: 500px;
	height: 500px;
	object-fit: cover;
	margin: 0 60px;
	position: relative;
	bottom: -65px;	
	max-width: unset;
}
.pos-left .imf-image-div img {
	margin-right: 30px;
}
.pos-right .imf-image-div img {
	margin-left: 20px;
	margin-right: 50px;
}
.pos-left .imf-content-div {
	margin: 40px 40px 20px 0;
}
.pos-right .imf-content-div {
	margin: 40px 0 20px 60px;
}

/* responsive */
@media screen and (max-width:1000px) {
    .imf-image-div img {
        width: 50vw;
		height: 45vw;
    }
}
@media screen and (max-width:780px) {
	div.image-feature .block-inner {
		flex-direction: column !important;
	}
    .pos-left .imf-image-div img,
	.pos-right .imf-image-div img {
        width: 100vw;
		position: unset;
		bottom: unset;
		margin: 0px;
    }
	.pos-left .imf-content-div,
	.pos-right .imf-content-div {
		margin: 20px var(--mobile-margin) !important;
	}
}

/* --------------------------------------------------------------------- */
/*                           ACF - Multi Column Icons                    */
/* --------------------------------------------------------------------- */

div.multi-column-icons div.block-inner {
	align-items: stretch;
	gap: 0;
	padding-bottom: 2em;
}
div.multi-column-icons div.wp-block-column {
	border-left: 5px dotted var(--color-gold);
	margin: 150px 0 0 0;
	padding: 0 1em;
	text-align: center;
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	
}
div.multi-column-icons .wp-block-column:first-child {
	border-left: none;
}
div.multi-column-icons img {
	width: 160px;
	position: absolute;
	left: 50%;
	transform: translate(-50%,-80%);
	
}
div.multi-column-icons h3 {
    font-family: var(--body-font-family);
	letter-spacing: .1em;
	margin-top: 1em;
	font-size: 30px;
}

div.multi-column-icons p {
	margin: 20px 0 0 0;
}

div.multi-column-icons .button {
	margin-top: 1rem;
}

/* this breakpoint is set by WP block styling */
@media (max-width: 781px) {
	div.multi-column-icons div.block-inner {
		gap: 3rem;
		margin-top: 0px;
		margin-bottom: 0px;
	}
	div.multi-column-icons div.wp-block-column {
		border: none;
	}
}

/* --------------------------------------------------------------------- */
/*                           ACF - Icon callout                          */
/* --------------------------------------------------------------------- */

div.block-outer.icon-callout {
	margin-top: 200px;
}
.icon-callout .ico-container {
	position: relative;
	border: 5px dotted var(--color-gold);
	text-align: center;
	padding-bottom: 50px;
	margin: 0px var(--mobile-margin);
}
.icon-callout img {
	width: 150px;
	background: white;
	padding: 8px;
	position: absolute;
	transform: translate(0, -50%);
	left: 0; 
	right: 0;
	margin-inline: auto; 
}

div.block-outer.icon-callout h3 {
	margin: 90px 50px 30px 50px;
	color: var(--color-dark);
	text-align: center;
}
div.block-outer.icon-callout p {
	margin: 30px 50px;
}

.icon-callout .ico-button {
	position: absolute;
	left: 50%;
	bottom: 0px;
	padding: 8px;
	background: white;
	transform: translate(-50%, 50%);
	text-align: center;
	text-transform: uppercase;
}



/* --------------------------------------------------------------------- */
/*                   ACF - Transparent image with link                   */
/* --------------------------------------------------------------------- */

div.block-outer.image-with-link {
	margin-top: 200px;
	padding: 0px;
}
div.image-with-link .block-inner {
	position: relative;
	height: 220px; /* maybe height of image? */
}
div.image-with-link img {
	height: 200px; 
	position: absolute;
	transform: translate(0, -50%);
	left: 0; 
	right: 0;
	margin-inline: auto; 
}
div.image-with-link .block-inner > p {
	position: absolute;
	bottom: 2.5em;
	text-align: center;
	width: 100%;
	margin-bottom: 0px;
}

/* --------------------------------------------------------------------- */
/*                        ACF - Accordion with title                     */
/* --------------------------------------------------------------------- */

.accordion-w-title h3 {
    margin: 0px;
}
.accordion-w-title .awt-list h4 {
    margin: 0px;
    font-weight: 400;
}

.awt-list .awt-item {
	margin: 0px;
	padding: 1em 0 1em 0;
    border-top: 2px var(--line-dark-color) solid;
}
.awt-list .awt-item:first-child {
	padding-top: 0px;
    border-top: none;
}
.awt-list .awt-item > label {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	cursor: pointer;
}
.awt-list .awt-item > label::after {
	color: var(--line-dark-color);
	font-family: dashicons;
	content: "\f347";
}
.awt-list .awt-item.awt-closed > label::after {
	content: "\f347";
}
.awt-list .awt-item.awt-open > label::after {
	content: "\f343";
}

/* --------------------------------------------------------------------- */
/*                          ACF - Five image block                       */
/* --------------------------------------------------------------------- */

.five-image-block {
    /*width: 100%;*/
}

.fib-row {
    margin-top: 8px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.fib-image {
    height:200px;
    background-size: cover;
    background-position: center center;
}

.fib-image .image-overlay {
    position:relative;
    width:100%;
    height:100%;
    padding: 0px;
    background-color: rgba(0,0,0,0.4);
}

.fib-row1 .fib-image:first-child { width:50%; }
.fib-row1 .fib-image:last-child { width:50%; }
.fib-row2 .fib-image { width: 100%; }
.fib-row3 .fib-image:first-child { width:60%; }
.fib-row3 .fib-image:last-child { width:40%; }

div.fib-image a {
    font: var(--image-link-font);
    color: var(--image-link-color);
    font-size: var(--image-link-font-size);
    position: absolute;
    bottom: 10px;
    text-transform: uppercase;
    text-shadow: 0 0px 15px rgb(0 0 0 / 100%);
}

div.fib-image a:hover {
    color: var(--image-link-hover);
}

div.fib-image p {
    margin: 0 1rem;
}

/* responsive */
@media screen and (max-width:639px) {
    div.fib-image {
        height: 130px;
    }
    div.fib-image a {
        left: 10px;
    }
}

/* --------------------------------------------------------------------- */
/*                       ACF - Photo with side-links                     */
/* --------------------------------------------------------------------- */

.photo-side-links .block-inner {
    min-height: 500px;
    background-size: cover;
    background-position: left top;
    display: flex;
    justify-content: right;
    align-items: stretch;
}
/* .pos-right is default, only make changes for .pos-left */
.photo-side-links.pos-left .block-inner {
    justify-content: left;
}
.photo-side-links .block-inner ul {
    padding: 0.2rem 0 0 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    background-color: var(--overlay-back-color);
    max-width: 400px;
}
ul.psl-overlay li { 
    overflow: hidden;
    padding: 30px 15px;
    list-style-type: none;
    border-top: 2px var(--graphic-light-color) solid;
	margin: 0 1em;
}
.psl-overlay li.psl-item:first-child {
    border-top: none;
}
.photo-side-links li a {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: left;
    gap: 30px;
    border-bottom: none;
}
.photo-side-links.pos-left li a {
    justify-content: right;
    flex-direction: row-reverse;
}
.photo-side-links li a:hover {
	border-bottom-color: rgba(0,0,0,0);
}
div.psl-image {
    width: 120px;
    text-align: center;
}
li.psl-item img {
    max-width: 100px;
    max-height: 70px;
}
ul.psl-overlay a p { 
    color: var(--image-link-color);
    font-size: 25px;
    font-weight: 400;
    text-transform: uppercase;
    margin: 0px;
    max-width: 400px;
    border-bottom: 1px solid rgba(0,0,0,0);
	transition: color 400ms, border-color 600ms;
}
ul.psl-overlay li.psl-item a:hover {
	text-decoration: none; 
}
.psl-overlay a:hover p {
	color: var(--image-link-hover); 
	border-bottom: 1px solid var(--color-gold);
}


/* responsive */
@media screen and (max-width:639px) {
    ul.psl-overlay a p {
        font-size: 20px;
    }
    
    li.psl-item img {
        max-height: 50px;
    }
    
    .photo-side-links.pos-left .block-inner,
    .photo-side-links.pos-right .block-inner {
        flex-direction: column-reverse;
        justify-content: end;
        background-position: center top;
    }
    
    .photo-side-links .block-inner ul {
        padding: 0;
        min-width: 100%;
    }
    
    ul.psl-overlay li {
        padding: 15px 0px;
        list-style-type: none;
        border-top-width: 1px;
    }
}

/* ----------------------------------------------------------------------*/
/*                     ACF - Photo with side text overlay                */
/* ----------------------------------------------------------------------*/

.photo-side-text .block-inner {
    min-height: 500px;
    background-size: cover;
    background-position: left top;
    display: flex;
    justify-content: flex-end;
    align-items: stretch; /* ensures full-height/width of overlay */
}

/* .pos-right is default, only make changes for .pos-left */

.photo-side-text.pos-left .block-inner {
    flex-direction: row-reverse;
    justify-content: flex-start;
}

.photo-side-text .block-inner .pst-openspace {
    flex-basis: 55%;
}

.photo-side-text .block-inner div.pst-overlay {
    margin: 0px;
    
    /*min-width: 30%;
    max-width: 50%;*/
    
    flex-basis: 45%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    
    background-color: var(--overlay-back-color);
}

div.pst-overlay > h3 {
    color: var(--primary-heading-invert);
    margin-top: 50px;
}
div.pst-overlay > h3,
div.pst-overlay > div.pst-text {
    margin-left: 20px;
    margin-right: 20px;
}
div.pst-overlay > div.pst-text {
    margin-bottom: 50px;
}

/* maybe style a lot of this with a class for .dark-background?? - could live outside of this doc too... */
div.photo-side-text div.pst-text * {
    color: var(--body-text-color-invert);
}
div.photo-side-text div.pst-text hr {
    border-bottom-color: var(--line-light-color);
}

.psl-overlay a:hover p { color: var(--image-link-hover); }

/* responsive */
@media screen and (max-width:639px) {

    .photo-side-text.pos-left .block-inner,
    .photo-side-text.pos-right .block-inner {
        flex-direction: column;
        /*justify-content: end;*/
        background-position: center top;
    }
    
    .photo-side-text .block-inner .pst-openspace {
        height:300px;
        flex-basis: unset;
    }
    
    .photo-side-text .block-inner div.pst-overlay {
        /*padding: 15px 20px;
        min-width: 100%;*/
        flex-basis: unset;
    }
}

/* ----------------------------------------------------------------------*/
/*                                Posts Grid                             */
/* ----------------------------------------------------------------------*/

div.posts-grid .block-inner {
	display: flex;
	flex-wrap: wrap;
	column-gap: 20px;
	row-gap: 60px;
	justify-content: space-evenly;
}

div.posts-grid article {
	width: 31%;
}

div.posts-grid .featured-image img {
	width: 320px !important;
	height: 320px !important;
	object-fit: cover;
}

div.posts-grid article h2 {
	font-size: 25px;
	color: var(--secondary-heading);
}


@media screen and (max-width:1040px) {
	div.posts-grid article {
		width: calc( ( 100vw - 100px ) / 3 );
	}
	div.posts-grid .featured-image img {
		width: calc( ( 100vw - 100px ) / 3 ) !important;
		height: calc( ( 100vw - 100px ) / 3 ) !important; 
	}
}

@media screen and (max-width:769px) {
	/* reduce to 2 columns */
	div.posts-grid article {
		width: calc( ( 100vw - 80px ) / 2 );
	}
	div.posts-grid .featured-image img {
		width: calc( ( 100vw - 80px ) / 2 ) !important;
		height: calc( ( 100vw - 80px ) / 2 ) !important; 
	}
}

@media screen and (max-width:500px) {
	/* reduce to 1 column */
	div.posts-grid article {
		width: 90%;
	}
	div.posts-grid .featured-image img {
		width: 100% !important;
		height: 70vw !important; 
	}
	div.posts-grid article.grid-item > :not(.featured-image) {
		margin-left: var(--mobile-margin);
		margin-right: var(--mobile-margin);
	}
}

/* Styling for different post types */
/* code generated in /parts/grid-[post-type] */

/* events grid / nwca_events post type */
div.events-grid.post-type-nwca_event .block-inner {
	row-gap: 50px;
}
div.events-grid article.type-nwca_event p.event-date {
	font: var(--body-font);
	font-weight: 600;
	padding: 5px 0px 0px 0px;
	margin-bottom: 0px;
}
div.events-grid article.type-nwca_event h3 {
	font-size: calc(var(--body-h3-size)*.9);
	margin: 0px;
}
div.events-grid article.type-nwca_event p {
	margin-bottom: 5px
}
div.events-grid .block-inner.button-div {
	flex-direction: row-reverse;
	margin-top: -30px;
}

/* nwca_member post type */
div.posts-grid.post-type-nwca_member .block-inner {
	row-gap: 80px;
	column-gap: 35px;
}
div.posts-grid article.nwca-member {
	display: flex;
	flex-direction: column;
	align-items: center;
}
div.posts-grid article.nwca-member .featured-image {
	/* overflow: hidden; */
	text-align: center;
	margin-bottom: 15px;
}
div.posts-grid article.nwca-member img {
	max-width: 300px;
	max-height: 300px;
	object-fit: contain;
	vertical-align: middle;
}
div.posts-grid article.nwca-member h3 {
	text-align: center;
	font-size: 30px;
}

/* these apply to anywhere a member post is shown */
article.nwca-member .member-address {
	margin-top: 1em;
}
article.nwca-member .member-address p {
	margin: 0px;
}
article.nwca-member .member-socials {
	margin-top: 1em;
	display: flex;
	gap: 10px;
}
article.nwca-member .member-bio {
	margin-top: 1em;
}

/* single post type for members */
.content.single .nwca-member .featured-image img {
	max-width: 400px;
	height: auto;
}

/* News Blurbs */
.posts-grid article.news-blurb {
	position: relative; 
    display: flex;
    flex-direction: column;
    align-items: center;
	margin-bottom: 100px
}
.posts-grid article.news-blurb .info {
	padding-bottom: 70px;
	text-align: center;
}
.posts-grid article.news-blurb h3 {
	font-size: 25px;
	text-align: center;
}
.posts-grid article.news-blurb p {
	margin: 0px;
}
.posts-grid article.news-blurb .button {
	/* this makes buttons display evenly! */
	transform: translate(0, 50%);
	position: absolute;
	bottom: 0px;
}


/* ----------------------------------------------------------------------*/
/*                            Gallery Slider                             */
/* ----------------------------------------------------------------------*/

.gallery-slider .block-inner {
	position: relative;
	height: 300px;
	overflow: hidden;
	width: 600px;
}
.gallery-slider .the-slider {
	display: flex;
	position: absolute;
	align-items: center;
	/* height: 300px; */
	column-gap: 0px;
	left: 0px;
	justify-content: center;
	min-width: 100%;
	/*transition-property: transform;
	transition-duration: 300ms;*/
}
.gallery-slider .overlay {
	position: absolute;
	height: 300px;
	width: 600px;
	top: 0px;
	left: 0px;
	background: linear-gradient(
		90deg,
		rgba(255,255,255,1) 0%,
		rgba(0,0,0,0) 25%,
		rgba(0,0,0,0) 75%,
		rgba(255,255,255,1) 100%
		);
}

.gallery-slider .the-slider img {
	padding: 20px;
	max-width: 400px;
	max-height: 200px;
}

@media screen and (max-width: 600px) {
	.gallery-slider .block-inner {
		width: 100vw;
		height: calc(50vw + 1em);
	}
	.gallery-slider .overlay {
		width: 100vw;
	}
	.gallery-slider .the-slider img {
		height: 50vw;
	}
}

