/*
Theme Name: People's Lobby Base Template
Theme URI: https://tandem.nyc/
Author: Tandem NYC
Author URI: https://tandem.nyc/
Description: Starter template for The People's Lobby projects. Adapted from Frost WP.
Tags: block-patterns, block-styles, custom-colors, custom-logo, custom-menu, editor-style, full-site-editing, one-column, template-editing, threaded-comments, translation-ready, wide-blocks
Requires at least: 6.2
Tested up to: 6.3.1
Requires PHP: 5.6
Version: 1.0.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: peopleslobby
*/


/* Defaults
---------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap');

*,
*::before,
*::after {
	box-sizing: border-box;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

::selection { 
	background: var(--wp--preset--color--accent-green); 
	background-blend-mode: multiply;
}

#wpadminbar {
	position: absolute;
}

.hidden { 
	display: none !important;
}

html {
	scroll-behavior: smooth;
}

.wp-site-blocks {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.is-style-hidden-desktop { 
	display: none !important; 
}

main {
	flex-grow: 1;
}

/* img.edit-site-site-icon__image {
	filter: invert(1);
} */

a,
button,
input:focus,
input[type="button"],
input[type="submit"],
textarea:focus,
.wp-element-button {
	transition: all 0.2s ease-in-out;
}

a,
a:not(.wp-element-button) {
	text-decoration: underline;
	text-underline-offset: 2px;
}

a:focus,
a:hover {
	text-decoration: none;
}

header.site-header {
	position: sticky;
	z-index: 999;
	top: 0;
	/* min-height: 60px; */
}


header.site-header .header-nav-row .wp-block-button a  { 
	word-break: keep-all !important;
 }

 header.site-header .header-nav-row nav  { 
	margin-left: 120px;
 }

.floating-logo.wp-block-site-logo
 {
	position: absolute; 
	top: -4px;
	z-index: 999;
 }

 .floating-logo.wp-block-site-logo.is-default-size img { 
	height: auto; 
	width: clamp(75px, 15vw, 100px); 
 }


header.site-header a {
	text-decoration: none;
	text-underline-offset: 3px;
}

header.site-header .current-menu-item a {
	text-decoration: underline;
	text-decoration-thickness: 1.5px; 
}

header.site-header nav a:focus,
header.site-header nav a:hover {
	text-decoration: underline;
	text-decoration-thickness: 1.5px; 
}

.wp-block-query .wp-block-post-title a,
.event .wp-block-post-title a,
.actionNetworkEvent .title a, h4.wp-block-heading a {
	text-decoration: none;
	text-underline-offset: 0.1em;
}

footer.site-footer a { 
	text-decoration: none;
}

footer.site-footer a:hover,
footer.site-footer a:focus,
.wp-block-query .wp-block-post-title a:hover,
.wp-block-query .wp-block-post-title a:focus,
.event .wp-block-post-title a:hover,
.event .wp-block-post-title a:focus,
.actionNetworkEvent .title a:hover,
.actionNetworkEvent .title a:focus, h4.wp-block-heading a:hover, h4.wp-block-heading a:focus  { 
	text-decoration: underline;
}

/* Hero Styling */


/* Button styling */

.wp-block-button:not(.is-style-outline):not(.is-style-external) a {
  top: 0;
  left: 0;
  transition: all 150ms ease;
  position: relative;
  display: inline-block;
  padding: 7px 14px;
  font-family: "Manrope";
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--wp--preset--color--dark);
  box-shadow: -2px 2px 0 var(--wp--preset--color--dark);
  text-decoration: none;
  position: relative;
  border: 2px solid var(--wp--preset--color--dark);
  line-height: 1;
}

.wp-block-button.is-style-external a, .wp-block-button.is-style-outline a{ 
	line-height: 1.2;
}

.an-form #can_embed_form_inner #form_col2:has(input[type="submit"]) {
	top: 0;
	left: 0;
	transition: all 150ms ease;
	position: relative;
	display: inline-block;
	font-family: "Manrope";
	font-size: 16px;
	font-weight: 800;
	text-transform: uppercase;
	color: var(--wp--preset--color--dark);
	box-shadow: -2px 2px 0 var(--wp--preset--color--dark);
	text-decoration: none;
	position: relative;
	border: 2px solid var(--wp--preset--color--dark);
	line-height: 1;
}

.wp-block-button:not(.is-style-outline):not(.is-style-external).is-style-primary a:hover {
  background-color: var(--wp--preset--color--accent-green);
}

.wp-block-button:not(.is-style-outline):not(.is-style-external) a:hover  {
	box-shadow: 0px 0px 0 var(--wp--preset--color--dark);
}

.wp-block-button:not(.is-style-outline):not(.is-style-external) a:hover {
	box-shadow: 0px 0px 0 var(--wp--preset--color--dark);
	background-color: var(--wp--preset--color--blue-grey-lightest);
}

.an-form #can_embed_form_inner #form_col2:has(input[type="submit"]):hover, 
.an-form #can_embed_form_inner #form_col2:has(input[type="submit"]):hover input[type="submit"] {
	box-shadow: 0px 0px 0 var(--wp--preset--color--dark);
	background-color: var(--wp--preset--color--accent-green);
}


.wp-block-button:not(.is-style-outline):not(.is-style-external) a:hover::after, 
.an-form #can_embed_form_inner #form_col2:has(input[type="submit"]):hover::after {
  left: -1px;
}
  
.wp-block-button:not(.is-style-outline):not(.is-style-external) a:hover::before, 
.an-form #can_embed_form_inner #form_col2:has(input[type="submit"]):hover::before {
  bottom: -2px;
}

.wp-block-button:not(.is-style-outline):not(.is-style-external) a::before, 
.an-form #can_embed_form_inner #form_col2:has(input[type="submit"])::before {
  transition: all 150ms ease;
  content: '';
  position: absolute;
  bottom: -4px;
  right: -1px;
  width: 2px;
  height: 2px;
  background-color: var(--wp--preset--color--dark);
  transform: skew(-45deg);
}

.wp-block-button:not(.is-style-outline):not(.is-style-external) a::after, 
.an-form #can_embed_form_inner #form_col2:has(input[type="submit"])::after {
  transition: all 150ms ease;
  content: '';
  position: absolute;
  top: -2px;
  left: -3px;
  width: 2px;
  height: 2px;
  background-color: var(--wp--preset--color--dark);
  transform: skew(-45deg);
}

.wp-block-button.is-style-outline a { 
	background-color: transparent;
	padding: 0; 
	text-decoration: underline;
	text-transform: uppercase;
	font-weight: 900; 
	border: none !important; 
	box-shadow: none !important; 
}

.wp-block-button.is-style-outline:hover a.wp-element-button { 
	text-decoration: none;
}

.wp-block-button.is-style-external { 
	display: inline-flex;
	gap: 4px; 
	align-items: baseline;
}

.wp-block-button.is-style-external a { 
	background-color: transparent;
}

.wp-block-button.is-style-external::after{ 
	font: var(--fa-font-solid);
	content: " \f08e";
	font-size: 0.9em;	
} 

.wp-block-read-more.is-style-external { 
	/* display: inline-flex; */
	vertical-align: baseline;
}

.wp-block-read-more.is-style-external::after{ 
	font: var(--fa-font-solid);
	content: "\f08e";
	font-size: 0.9em;
	text-decoration: none; 
	display: inline-block;
	margin-left: 4px; 
	/* margin-left: 1px;  */
}

	
.is-flex-query:has(.type-victory) a.wp-block-read-more[target="_blank"], .is-flex-query:has(.type-post) a.wp-block-read-more[target="_blank"] { 
	/* display: inline-flex; */
	vertical-align: baseline !important;
} 

.is-flex-query:has(.type-victory) a.wp-block-read-more[target="_blank"]::after, .is-flex-query:has(.type-post) a.wp-block-read-more[target="_blank"]::after { 
	font: var(--fa-font-solid) !important;
	content: "\f08e" !important;
	font-size: 0.9em !important;
	text-decoration: none !important; 
	display: inline-block !important;
	margin-left: 4px !important; 
} 


footer .is-style-external { 
	display: inline-flex;
	gap: 4px; 
	align-items: center;
}

/* footer a.is-style-external a { 
	background-color: transparent;
} */

footer .is-style-external::after{ 
	font: var(--fa-font-solid);
	content: " \f08e";
	font-size: 0.75em;	
} 


b,
strong,
th {
	font-weight: var(--wp--custom--font-weight--medium);
}

/* .alignfull > .alignwide:first-child, */
.wp-block-cover__inner-container.has-global-padding {
	padding-right: var(--wp--style--root--padding-right);
	padding-left: var(--wp--style--root--padding-left);
}

/* Forms
--------------------------------------------- */

input,
select,
textarea {
	border-radius: 5px;
	font-size: var(--wp--preset--font-size--small);
	padding: 10px 20px;
	width: 100%;
}

input:focus,
textarea:focus {
	outline: none;
}

input[type="checkbox"],
input[type="image"],
input[type="radio"] {
	width: auto;
}

input[type="button"],
input[type="email"],
input[type="search"],
input[type="submit"],
input[type="text"],
textarea {
	-webkit-appearance: none;
	appearance: none;
}

/* Blocks
---------------------------------------------------------------------------- */

/* Queries 
------------------------ */ 


.wp-block-post-template-is-layout-flow > * {
    margin-block-start: 0;
    margin-block-end: 0;
}


.is-flex-query .wp-block-post-template .wp-block-post:not(:last-of-type) {
	margin-bottom: 0;
}

.is-flex-query ul>li>div{
	display: flex;
    flex-direction: column;
    justify-content: space-between;
}



.is-flex-query .space-between { 
	margin-top: auto;
}

/*CAMPAIGN QUERY (Two Column)*/

.is-flex-query:has(.type-campaign) > ul { 
	gap: 1%; 
	row-gap: var(--wp--preset--spacing--medium);
}


.is-flex-query:has(.type-campaign) ul>li {
	width: 49%; 
}


.is-flex-query:has(.type-campaign) ul>li figure > img  {
	height: 350px; 
	object-fit: cover; 
}

.is-flex-query:has(.type-campaign.tag-past) .taxonomy-related-base > a { 
	text-decoration: none !important;
}


/*VICTORY & BASE QUERY (Three Column)*/

.is-flex-query:has(.type-victory) > ul, .is-flex-query:has(.type-base) > ul, .is-flex-query:has(.type-post) > ul, .is-flex-query:has(.type-campaign.tag-past) ul { 
	gap: calc((100% - (32% * 3))/2); 
	row-gap: var(--wp--preset--spacing--medium);
}

.is-flex-query:has(.type-victory) ul>li, .is-flex-query:has(.type-base) ul>li, .is-flex-query:has(.type-post) ul>li, .is-flex-query:has(.type-campaign.tag-past) ul>li {
	width: 32%;
}

.is-flex-query:has(.type-victory) ul>li figure > img, .is-flex-query:has(.type-base) ul>li figure > img, .is-flex-query:has(.type-campaign.tag-past) ul>li figure > img  {
	height: 200px; 
	object-fit: cover; 
}

.is-flex-query:has(.type-victory) .taxonomy-related-base > a, .is-flex-query:has(.type-base) .taxonomy-related-base > a, .is-flex-query:has(.type-post) .taxonomy-related-base > a { 
	text-decoration: none !important;
}

.type-victory .taxonomy-related-base > a { 
	text-decoration: none !important; 
}

/* Manually target the first .category-featured if it's in the 1st, 2nd, 3rd, etc., position */
.is-flex-query.not-featured-victory:has(.type-victory) li.category-featured:nth-child(1),
.is-flex-query.not-featured-victory:has(.type-victory) li.category-featured:nth-child(2) {
    display: none; 
}

/* .is-flex-query:has(.type-victory) li.category-featured:nth-child(1) > div.wp-block-group.has-border-color  ,
.is-flex-query:has(.type-victory) li.category-featured:nth-child(2) > div.wp-block-group.has-border-color  {
    align-items: stretch;      
    min-height: 100%;          
    padding: 0;  
	flex-direction: unset; 
} */

/* .is-flex-query:has(.type-victory) li.category-featured:nth-child(1) figure  ,
.is-flex-query:has(.type-victory) li.category-featured:nth-child(2) figure  {
    flex: 1 1 100%;          
    height: auto;          
    margin: 0;  
}

.is-flex-query:has(.type-victory) li.category-featured:nth-child(1) .wp-block-group.is-layout-flow  ,
.is-flex-query:has(.type-victory) li.category-featured:nth-child(2) .wp-block-group.is-layout-flow  {
    flex: 1; 
    display: flex;
    flex-direction: column; 
    justify-content: space-between;
    padding: var(--wp--preset--spacing--medium);
} */




/* .is-flex-query:has(li.category-featured) li.category-featured:first-of-type {
    order: -1;
    flex-direction: row;
    max-width: var(--wp--style--global--wide-size);
    width: 100%;
} */

/* Person Query */

.wp-block-query:has(.type-person) > ul { 
	gap: calc((100% - (32% * 3))/2);
	row-gap: var(--wp--preset--spacing--x-large);
}

.wp-block-query:has(.type-person) ul>li {
	width: 32%;
}

.wp-block-query:has(.type-person) ul>li figure {
	min-width: 100px !important; 
	max-width: 100px !important; 
	height: auto; 
}

.taxonomy-related-base.wp-block-post-terms a { 
	pointer-events: none !important;
}


/*Small Fixes*/
.is-cta-module { 
	min-height: 400px; 
}

.wp-block-group.is-style-shadow { 
	-moz-box-shadow: -1px 1px 0px 0px, -2px 2px 0px 0px, -3px 3px 0px 0px, -4px 4px 0px 0px, -5px 5px 0px 0px, -6px 6px 0px 0px;
  -webkit-box-shadow: -1px 1px 0px 0px, -2px 2px 0px 0px, -3px 3px 0px 0px, -4px 4px 0px 0px, -5px 5px 0px 0px, -6px 6px 0px 0px;
  box-shadow: -1px 1px 0px 0px, -2px 2px 0px 0px, -3px 3px 0px 0px, -4px 4px 0px 0px, -5px 5px 0px 0px, -6px 6px 0px 0px;
}

.wp-block-group.is-style-campaignshadow  { 
	-moz-box-shadow: 1px 1px 0px 0px, 2px 2px 0px 0px, 3px 3px 0px 0px, 4px 4px 0px 0px, 5px 5px 0px 0px, 6px 6px 0px 0px;
  -webkit-box-shadow: 1px 1px 0px 0px, 2px 2px 0px 0px, 3px 3px 0px 0px, 4px 4px 0px 0px, 5px 5px 0px 0px, 6px 6px 0px 0px;
  box-shadow: 1px 1px 0px 0px, 2px 2px 0px 0px, 3px 3px 0px 0px, 4px 4px 0px 0px, 5px 5px 0px 0px, 6px 6px 0px 0px;
  }


.get-involved { 
	display: flex; flex-direction: row; flex-wrap: wrap;
	gap: calc((100% - (32% * 3))/2); 

}

.get-involved > .wp-block-group { 
	min-height: 100%; 
	width: 32%; 
	margin-block-start: 0; 
	display: flex; flex-direction: column;
}

.get-involved .space-between { 
	margin-top: auto; 
}



/* Code
--------------------------------------------- */

*:not(.wp-block-code) > code {
	background-color: var(--wp--preset--color--neutral);
	font-size: var(--wp--preset--font-size--small);
	padding: 5px 8px;
}

/* Group
--------------------------------------------- */

/* .wp-block-group.is-style-shadow-light {
	box-shadow: var(--wp--preset--shadow--light);
}

.wp-block-group.is-style-shadow-solid {
	box-shadow: var(--wp--preset--shadow--shadow);
} */

  /* Image
--------------------------------------------- */

.wp-block-image.is-style-shadow-light img {
	box-shadow: var(--wp--preset--shadow--light);
}

.wp-block-image.is-style-shadow-solid img {
	box-shadow: var(--wp--preset--shadow--solid);
}

.wp-block-image.is-style-multiply img { 
	mix-blend-mode: multiply;
	filter: grayscale();
	min-height: 100%; 
	object-fit: cover;
}

.wp-block-cover.is-style-multiply img { 
	mix-blend-mode: multiply;
}

/* List
--------------------------------------------- */

.is-style-no-disc {
	list-style-type: none;
	padding-left: 0;
}

/* Navigation
--------------------------------------------- */

/* .wp-block-navigation__responsive-container.is-menu-open {
	padding: var(--wp--custom--spacing--gap);
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	padding-top: var(--wp--custom--spacing--gap);
} */

/* Navigation Mobile
--------------------------------------------- */

.wp-block-navigation__responsive-close,
.wp-block-navigation__responsive-dialog,
.wp-block-navigation__responsive-container-content {
	height: 98%;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content,
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content > ul.wp-block-navigation__container {
	align-items: center;
	justify-content: center;
	gap: var(--wp--preset--spacing--x-large);
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content *, .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-button a{
	font-size: var(--wp--preset--font-size--max-22);
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content a:not(.wp-element-button):first-child:focus{
	text-decoration: none;
}


/* Quote
--------------------------------------------- */

.wp-block-quote.is-style-shadow-light {
	box-shadow: var(--wp--preset--shadow--light);
}

.wp-block-quote.is-style-shadow-solid {
	box-shadow: var(--wp--preset--shadow--solid);
}

/* Forms
--------------------------------------------- */

input[type=checkbox] {
	accent-color: var(--wp--preset--color--blue-grey-darkest);
  }
  
.an-form { 
	background-color: none !important; 
}

.an-form #can_embed_form_inner h2, .an-form #can_embed_form_inner h4, 
.an-form #action_info, .an-form #logo_wrap, 
.an-form label:not(.checkbox), .an-form #can_embed_form_inner #form_col1 li.form_builder_output, .an-form #mobile_opt_in
{ 
	display: none !important; 
}


.an-form .international_link-wrap, .an-form .country_drop_wrap { 
	display: none !important;
}


.an-form #can_embed_form_inner #form_col2 img.ajax-loading, .an-form #can_embed_form_inner #form_col2 #d_sharing { 
	display: none !important;
}




.an-form #can_embed_form_inner #form_col1 li, 
.an-form #can_embed_form_inner #form_col2 li { 
	list-style-type: none;
}

.an-form #can_embed_form_inner #form_col1 { 
	display: flex; 
	flex-direction: row; 
	flex-wrap: wrap; 
	justify-content: space-between;
	row-gap: var(--wp--preset--spacing--small);
}

.an-form.get-involved-form #can_embed_form_inner #form_col1 li, .an-form.home-form #can_embed_form_inner #form_col1 li, .an-form.footer-form #can_embed_form_inner #form_col1 li, .an-form.cga-signup #can_embed_form_inner #form_col1 li  { 
width: 49%; 
}

.an-form.get-involved-form #can_embed_form_inner #form_col1 li:has(#form-first_name), .an-form.get-involved-form #can_embed_form_inner #form_col1 li:has(#form-last_name), .an-form.get-involved-form #can_embed_form_inner #form_col1 li:has(#form-email) { 
	width: 32%; 
}

.an-form.home-form #can_embed_form_inner #form_col1 li:has(#form-first_name), .an-form.home-form #can_embed_form_inner #form_col1 li:has(#form-last_name), .an-form.home-form #can_embed_form_inner #form_col1 li:has(#form-email) { 
	width: 32%; 
}

.an-form.cga-signup #can_embed_form_inner #form_col1 li:has(#form-first_name), .an-form.cga-signup #can_embed_form_inner #form_col1 li:has(#form-last_name), .an-form.cga-signup #can_embed_form_inner #form_col1 li:has(#form-email) { 
	width: 32%; 
}

.an-form .control-group.checkbox_group_wrap { 
	margin-bottom:  var(--wp--preset--spacing--x-small);
}

.an-form #can_embed_form_inner #form_col1 input {
	border-radius: 0px; 
	border-left: 2px solid var(--wp--preset--color--dark); 
	border-bottom: 2px solid var(--wp--preset--color--dark); 
	border-right: 0px;
	border-top: 0px;

	font-family: 'Manrope';
	font-weight: 900;
	color: var(--wp--preset--color--dark) !important;
	font-size: 14px;

	padding: var(--wp--preset--spacing--xxx-small);

	text-transform: uppercase;
}

.an-form.footer-form #can_embed_form_inner #form_col1 { 
	margin-bottom: var(--wp--preset--spacing--small);
}

.an-form.cga-signup #can_embed_form_inner #form_col1 { 
	margin-bottom: var(--wp--preset--spacing--small);
}


.an-form.home-form #can_embed_form_inner #form_col1 input {
	background-color: var(--wp--preset--color--accent-green);
}

.an-form.get-involved-form #can_embed_form_inner #form_col1 input, .an-form.footer-form #can_embed_form_inner #form_col1 input, .an-form.cga-signup #can_embed_form_inner #form_col1 input {
	background-color: var(--wp--preset--color--blue-grey-light);
}

.an-form #can_embed_form_inner #form_col1 input::placeholder {
	
	color: var(--wp--preset--color--dark) !important;
	opacity: 1 !important; 
}


.an-form:has(#action_welcome_message) { width: 100% !important; }

.an-form.cga-signup:has(#action_welcome_message) #action_welcome_message { width: 100%; }

.an-form #can_embed_form_inner #form_col2 input {
	border: 0px solid var(--wp--preset--color--white); 
	background-color: var(--wp--preset--color--white);
	border-radius: 0px; 
	font-family: 'Manrope';
	font-weight: 900;
	color: var(--wp--preset--color--dark) !important;
	font-size: 16px;
	padding: 0;
	text-transform: uppercase;
	cursor: pointer; 
	padding: 7px 14px;
}

.an-form #can_embed_form_inner #form_col2:has(input[type="submit"]) { 
	width: 100%; 
	background-color: var(--wp--preset--color--white);
}

.an-form #can_embed_form_inner #form_col1 input:focus-visible, .an-form #can_embed_form_inner #form_col1 input:active {
	background-color: var(--wp--preset--color--white);
}

.an-form .error_input { 
	border-bottom: 2px var(--wp--preset--color--accent-red) solid !important; 	
	border-left: 2px var(--wp--preset--color--accent-red) solid !important;
}

.an-form .core_field:has(.error_input)::after { 
	content: "Please fill out this field correctly." !important; 
	font-size: 12px; 
}

/* .an-form .core_field:has(#form-street)::after { 
	content: "(We ask for your address so we can figure out who your legislators are.)" !important; 
	line-height: 1.1;
	font-size: 12px; 
} */

/* Event Page
---------------------------------------------------------------------------- */
#action-network-container {
	display: flex; 
	flex-wrap: wrap;
	flex-direction: row;
	justify-content: space-between;
	gap: 1%; 
	row-gap: var(--wp--preset--spacing--medium);
	opacity: 0;
}

#action-network-container .actionNetworkEvent {
	width: 48%; 
	min-height: 100%; 
	display: flex; 
	flex-direction: column;
	/* justify-content: space-between; */
	border: 3px solid var(--wp--preset--color--blue-grey-lightest);
	margin-left: 0 !important; 
}

#action-network-container .actionNetworkEvent .startDate {
	padding: var(--wp--preset--spacing--x-small) var(--wp--preset--spacing--medium); 
	background-color: var(--wp--preset--color--yellow);
}

#action-network-container .actionNetworkEvent .eventInfo {
	padding: var(--wp--preset--spacing--medium);
	display: flex; 
	flex-direction: column;
	justify-content: space-between;
	height: 100%; 
	gap: var(--wp--preset--spacing--x-small);
}

#action-network-container .actionNetworkEvent .title h4, #action-network-container .actionNetworkEvent .startDate h6 {
	margin-block-start: 0;
	margin-block-end: 0;
}

#action-network-container .actionNetworkEvent .location {
	font-weight: 900;
	letter-spacing: -0.02em;
}

#action-network-container .actionNetworkEvent .attendLink {
	margin-top: auto;
	font-weight: 900;
	text-transform: uppercase;
}

#action-network-container .actionNetworkEvent .description { 
	word-wrap: break-word;
}

#action-network-container .actionNetworkEvent .description > :first-child { 
	margin-block-start: 0 !important; 
	margin-top: 0 !important; 
}

#action-network-container .actionNetworkEvent hr { 
	width: 100%; 
	border: 1px solid var(--wp--preset--color--blue-grey-light); 
}


#event-container .event .wp-block-post-excerpt__excerpt { 
	font-size: 14px;
}




/* Media Queries
---------------------------------------------------------------------------- */

@media only screen and (max-width: 780px) {
	
	/* Columns
	--------------------------------------------- */

	.is-style-columns-reverse {
		flex-direction: column-reverse;
	}

	.is-cta-module .wp-block-cover { 
		height: 250px;
	}

	/* Get Involved */
	.get-involved { 
		display: flex; 
		flex-direction: column !important;
		gap: var(--wp--preset--spacing--medium);
	}
	
	.get-involved > .wp-block-group { 
		flex-basis: 100%;
		width: 100%; 
	}

	/*Campaign Query */ 

	.is-flex-query:has(.type-campaign) > ul { 
		gap: var(--wp--custom--spacing--gap); 
	}
	
	.is-flex-query:has(.type-campaign) ul>li {
		width: 100%; 
	}
	
	
	.is-flex-query:has(.type-campaign) ul>li figure > img  {
		height: 200px; 
		object-fit: cover; 
	}

	/*Victory, Base, News Query*/
	.is-flex-query:has(.type-victory) > ul, .is-flex-query:has(.type-base) > ul, .is-flex-query:has(.type-post) > ul, .is-flex-query:has(.type-campaign.tag-past) ul, .wp-block-query:has(.type-person) > ul { 
		gap: 3%; 
		row-gap: var(--wp--custom--spacing--gap);
	}
	
	.is-flex-query:has(.type-victory) ul>li, .is-flex-query:has(.type-base) ul>li, .is-flex-query:has(.type-post) ul>li, .is-flex-query:has(.type-campaign.tag-past) ul>li, .wp-block-query:has(.type-person) ul>li{
		width: 48%;
	}
	
	.is-flex-query:has(.type-victory) ul>li figure > img, .is-flex-query:has(.type-base) ul>li figure > img, .is-flex-query:has(.type-campaign.tag-past) ul>li figure img{
		height: 150px; 
		object-fit: cover; 
	}


	/*Events*/ 
	#action-network-container {
		display: flex; 
		flex-wrap: wrap;
		flex-direction: row;
		justify-content: space-between;
		gap: var(--wp--preset--spacing--medium);
	}
	
	#action-network-container .actionNetworkEvent {
		width: 100%; 
	}

	.actionNetworkEvent[data-status="cancelled"]{
		display: none !important; 
	}
	
	.featured-event-single .is-cta-module:has(.wp-block-cover) { 
		display: none !important; 
	}

	/*Forms */
	.an-form.get-involved-form #can_embed_form_inner #form_col1 li, .an-form.home-form #can_embed_form_inner #form_col1 li, .an-form.footer-form #can_embed_form_inner #form_col1 li, .an-form.cga-signup #can_embed_form_inner #form_col1 li  { 
		width: 100%; 
	}
		
	.an-form.get-involved-form #can_embed_form_inner #form_col1 li:has(#form-first_name), .an-form.get-involved-form #can_embed_form_inner #form_col1 li:has(#form-last_name), .an-form.get-involved-form #can_embed_form_inner #form_col1 li:has(#form-email) { 
		width: 100%; 
	}

	.an-form.cga-signup #can_embed_form_inner #form_col1 li:has(#form-first_name), .an-form.cga-signup #can_embed_form_inner #form_col1 li:has(#form-last_name), .an-form.cga-signup #can_embed_form_inner #form_col1 li:has(#form-email) { 
		width: 100%; 
	}

	#cga-signup-header { 
		padding-top: var(--wp--preset--spacing--x-large) !important;
		padding-bottom: var(--wp--preset--spacing--x-large) !important;
	}

	#cga-signup-header h1 { 
		font-size: var(--wp--preset--font-size--max-38) !important; 
	}

	.an-form.home-form #can_embed_form_inner #form_col1 li:has(#form-first_name), .an-form.home-form #can_embed_form_inner #form_col1 li:has(#form-last_name), .an-form.home-form #can_embed_form_inner #form_col1 li:has(#form-email) { 
		width: 100%; 
	}
		
	.an-form.footer-form #can_embed_form_inner #form_col1 li { 
		width: 100%; 
	}

	/*Header */

	/* .header-hero .wp-block-group.is-nowrap, #sign-up .wp-block-group.is-nowrap { 
		flex-direction: columm;
		flex-wrap: wrap; 
	}

	.header-hero .wp-block-group.is-nowrap > *, #sign-up .wp-block-group.is-nowrap > * { 
		flex-basis: 100%; 
	} */

	.header-hero-cover, .header-hero-cover .wp-block-cover__inner-container { 
	padding-left: var(--wp--preset--spacing--small) !important;
    padding-right: var(--wp--preset--spacing--small) !important;
	}

	.header-hero-cover .wp-block-cover__inner-container { 
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
	

	.header-hero-cover h1 { 
		font-size: var(--wp--preset--font-size--max-38); 
	}

	.wp-block-group:has(.campaign-logo) { 
		justify-content: center !important;
	}

	.campaign-logo { 
		text-align: center !important;
	}
}

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

	h1 { 
		font-size: var(--wp--preset--font-size--huge);
	}

		header.site-header nav {
		order: 3;
	}

	header.site-header .header-nav-row nav  { 
		margin-left: 0px;
	}	
	/* Utility
	--------------------------------------------- */

	.is-style-hidden-mobile {
		display: none !important;
	}

	.is-style-hidden-desktop { 
		display: block !important; 
	}

	.is-flex-query:has(.type-victory) > ul, .is-flex-query:has(.type-base) > ul, .is-flex-query:has(.type-post) > ul, .is-flex-query:has(.type-campaign.tag-past) ul, .wp-block-query:has(.type-person) ul { 
		gap: var(--wp--custom--spacing--gap);
	}
	
	.is-flex-query:has(.type-victory) ul>li, .is-flex-query:has(.type-base) ul>li, .is-flex-query:has(.type-post) ul>li, .is-flex-query:has(.type-campaign.tag-past) ul>li, .wp-block-query:has(.type-person) ul>li {
		width: 100%;
	}

	footer.site-footer .sub-menu >p:not(:first-child) { 
		display: none; 
	}

footer.site-footer .wp-block-group.alignwide { 
	flex-direction: column; 
	align-items: center; 
}

footer.site-footer .wp-block-group .wp-block-group { 
	align-items: center; 
}

footer.site-footer .wp-block-buttons>.wp-block-button.has-custom-font-size .wp-block-button__link { 

	font-size: initial;
}

}

@media only screen and (min-width: 600px) {

	/* Navigation Link
	--------------------------------------------- */

	.wp-block-navigation-item.is-style-outline a {
		border: 1px solid currentColor;
		padding: 8px 15px;
	}

}
