/*
Theme Name: All In Together
Theme URI: https://aitogether.org
Description: This is the All In Together Theme developed by Meyne designed by Weller Smith Design
Author: Meyne
Author URI: https://meyne.co/
Version: 1.0.0
Template: genesis
Text Domain: all-in-together
*/

/* Import
---------------------------------------------------------------------------- */

@font-face {
    font-family: 'Open Sans';
    src: url('fonts/open-sans-800.woff2') format('woff2'),
         url('fonts/open-sans-800.woff') format('woff');
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lora';
    src: url('fonts/lora-variablefont_wght-webfont.woff2') format('woff2'),
         url('fonts/lora-variablefont_wght-webfont.woff') format('woff');
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lora Italic';
    src: url('fonts/lora-italic-variablefont_wght-webfont.woff2') format('woff2'),
         url('fonts/lora-italic-variablefont_wght-webfont.woff') format('woff');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}


/* Variables
---------------------------------------------------------------------------- */
:root {
    --black: #041e42;
    --orange: #ee5524;
    --purple: #5c1e47;
    --light-beige: #ebe4d7;
    --light-gray: #707070;
    --dark-gray: #414042;
    --system-sans: 'Lucida Sans', Helvetica, sans-serif;
    --headings-serif: 'Lora', Georgia, serif;
    --headings-sans: 'Open Sans', Tahoma, serif;
    --accent: 'Lora Italic', Georgia, serif;
	--wp--preset--font-size--small: 18px;
}

/* HTML5 Reset
---------------------------------------------------------------------------- */

/* normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css
---------------------------------------------------------------------------- */
/* stylelint-disable */
html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}[hidden],template{display:none}
/* stylelint-enable */

/* Box Sizing
--------------------------------------------- */

html {
	box-sizing: border-box;
}

*,
*::before,
*::after {
	box-sizing: inherit;
}

/* Float Clearing
--------------------------------------------- */

.author-box::before, .clearfix::before, .entry::before, .entry-content::before, .footer-widgets::before, .pagination::before, .site-container::before, .site-footer::before, .site-header::before, .site-inner::before, .widget::before, .wrap::before {
	content: " ";
	display: table;
}

.clearfix::after, .entry::after, .entry-content::after, .footer-widgets::after, .pagination::after, .site-container::after, .site-footer::after, .site-header::after, .site-inner::after, .widget::after, .wrap::after { 
	clear: both;
	content: " ";
	display: table;
}

/* Objects
--------------------------------------------- */

embed,
iframe,
img,
object,
video,
.wp-caption {
	max-width: 100%;
}

img {
	height: auto;
	vertical-align: top;
}

figure {
	margin: 0 !important;
}

.alignwide,
.alignfull {
	margin: 32px calc(50% - 50vw);
	max-width: 100vw;
	width: 100vw;
}

@media (max-width: 920px) {
	.alignwide {
		/margin: 32px -76px;
		/max-width: 920px;
		/width: 920px;
	}
}

a img:hover {
	opacity: .7;
}

/* Search */
.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper,
.wp-block-search__button {
	border: none;
}

.custom-search {
    /float: right;
    position: relative;
    max-width: 40px;
    order: 3;
}

.custom-search .wp-block-search__button svg {
    fill: var(--black);
    min-width: 32px;
    min-height: 32px;   
}

.custom-search button {
    background: transparent !important;
    /margin-top: 11px;
    margin-top: -20px;
    position: absolute;
    transform: scaleX(-1);    
    right: -30px;
}

.custom-search button:focus {
    outline: none;
}

.custom-search input {
    background-color: transparent !important;
    color: transparent;
    position: absolute;
    min-width: 30px !important;
    max-width: 40px !important;
    z-index: 1;
    
    top: 28px;
    left: 12px;
    height: 40px;
}

.custom-search input[type="search"]:focus {
    background-color: var(--light-beige)!important;
    color: var(--black);
    border-radius: 15px;
    cursor: text;
    font-family: var(--system-sans);   
    font-size: 18px;
    left: -228px;
    max-width: 240px!important;
    width: 240px!important;
    outline: 0;
    padding: 8px 10px 5px 12px;
    position: absolute;
    text-transform: uppercase;
    top: 33px;
}

.site-header .custom-search {
    display: none;
}

.site-header .has-modal-open .custom-search {
    display: block;
}

.site-header .archive .wp-block-search__button {
    background-color: transparent !important;
}

.site-header.no-border {
    border-top: none;
}

.sidebar-search button {
    background: transparent !important;
    padding: 5px !important;
    transform: scaleX(-1);
}

.sidebar-search .wp-block-search__button svg {
    fill: var(--black);
    height: 30px;
    width: 30px;
}

.sidebar-search {
    border: solid 3px var(--black);
    border-radius: 25px;
    margin-bottom: 30px;
}

.sidebar-search input {
    margin-left: 6px;
    text-transform: uppercase;
}


/* Typography
--------------------------------------------- */

html {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
}

body {
    color: var(--black);
    font-family: var(--system-sans);
    font-size: 18px;
    letter-spacing: .02rem;
    line-height: 1.4;
}

h1, .h1,
h2, .h2,
h3, .h3,
h4, .h4,
h5, .h5,
h6 .h6 {
    font-family: var(--headings-serif);
    line-height: 1.2;
    margin: 0 0 30px;
}

h1, .h1 {
    font-size: 45px;
    text-align: center;
}

h2, .h2 {
    font-size: 45px;
    font-weight: 600;
}

h3, .h3 {
    font-size: 35px;
    font-weight: normal;
}

.page h1, .page .h1 {
    margin-top: 30px;
}

.archive h1 {
    margin-top: 30px;
    text-align: center;
}

.post h2 {
	font-family: var(--headings-sans);
	font-size: 30px;
	margin-bottom: 20px;
}

.heading-sans {
	font-family: var(--headings-sans);
	font-size: 30px;
	font-weight: bold;
	line-height: 1.2;	
    margin-bottom: -5px;
}

.subtitle {
    letter-spacing: -.04em;
    margin-top: 10px;
    margin-bottom: 10px;
}

a {
	color: var(--black);
    font-weight: bold;
}

.single .entry-content a, .link-alternate a {
    color: var(--purple);
}

.entry-title {
    font-size: 20px;
    font-weight: bold;
    font-family: var(--headings-serif);
    letter-spacing: .2px;
}

.entry-title a, .with-image .recent-posts .latest-post-description > a,
.related-posts a,
.post-type-archive-news .latest-post-description a {
	color: var(--dark);
	text-decoration: none;
}

.accent {
    font-family: var(--accent);
    font-weight: normal;
}

/* Post and page styles
---------------------------------------------------------------------------- */

.search-container {
    overflow: hidden;
    width: 30px;
}

.search-container .search {
    border: none;
    outline: none;
    z-index: 9;
}

.single-post .breadcrumbs {
    margin-left: 0;    
}

.single-post h1.entry-title {
    font-size: 25px;
    margin-left: 4px;
    margin-top: 40px;
}

.single-post .entry-time, .single-post .entry-author {
    font-weight: bold;
}

.single-post .entry-author a {
    text-decoration: none;
    color: var(--black);
}

.single-post .post-info {
    margin-bottom: 20px;
    text-align: center;
}

.single-post .site-inner {
    padding-top: 20px;
}


/* Front end classes */

.narrow {
    padding: 0;
}

.narrower {
    letter-spacing: -.02em;
    line-height: 1.1;
}

.dark-background {
	color: #fff;
    margin-bottom: -20px;
}

hr.is-style-wide.separator {
    height: 10px;
}

.wp-element-button {
    background: var(--purple) !important;
    border: solid 3px transparent !important;
    border-radius: 20px !important;
    color: #fff !important;
    font-family: var(--headings-sans) !important;
    font-size: 17px !important;
    font-weight: bold;
    letter-spacing: .12em !important;
    line-height: 1 !important;
    padding: 17px 22px !important;
    text-transform: uppercase;
}

.wp-block-button.white a {
    background-color: #fff !important;
    border-color: var(--black) !important;
    color: var(--black) !important;
}

.wp-block-button.black a {
    background-color: var(--black) !important;
    color: #fff !important;
}

.wp-block-button.orange a {
    background-color: var(--orange) !important;
    color: #fff !important;
}

.wp-block-button.transparent a {
    background-color: transparent !important;
    border-color: #fff !important;
    color: #fff !important;
}

.wp-block-read-more, .recent-more-link, .related-posts .recent-more-link, .search .recent-more-link {
    color: var(--purple);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: .05em;
	float: right;
    padding-right: 30px;    
    font-family: var(--headings-sans);
    font-size: 14px;    
}

.read-more a, .search a.recent-more-link {
	text-decoration: none;
}

.read-more::after, .wp-block-read-more::after, 
p.read-more a::after, a.recent-more-link::after,
.archive a.entry-title-link::after,
.archive-pagination ul .pagination-previous a:before,
.archive-pagination ul .pagination-next a:after {
    content: '';
    background-image: url(/wp-content/themes/all-in-together/images/arrow.svg);
    background-repeat: no-repeat;
    position: absolute;
}

.archive a.entry-title-link::after {
    content: 'Read More';
    color: var(--purple);
    background-position-x: right;
    display: block;
    font-family: var(--headings-sans);
    font-size: 15px;
    height: 16px;
    line-height: 16px;
    margin-top: 20px;
    position: relative;
    text-transform: uppercase;
}

.wp-block-post-title a {
    text-decoration: none;
    font-size: 25px;
}

article {
    position: relative;
}

.wp-block-group.alignfull.has-background {
    padding-left: 20px;
    padding-right: 20px;
}

.negative-top-margin-mobile {
    margin-top: -20px;
}


/* Identify category with badge here */
article .category-ait-insights::before {
    content: '';
    background-image: url(/wp-content/themes/all-in-together/images/ait-badge.png);
    background-repeat: no-repeat;
    background-size: 30px;
    width: 30px;
    height: 30px;
    position: absolute;
    right: 34px;
    margin-top: -10px;
}


/* Home Page */
.home .dark-background {
    margin-top: -74px;
}

.ait-banner-small {
	background: transparent linear-gradient(97deg, #414042 0%, #8ABDB6 0%, #041E42 100%, #8ABDB6 100%) 0% 0% no-repeat padding-box;
	padding: 40px 10px 30px;
}

.ait-banner-small {
    margin-top: -32px;
    margin-bottom: -32px;
}

.ait-banner p {
    color: #fff;
    font-family: var(--headings-serif);
    font-size: 90px;
    font-weight: 600;    
    margin-top: -52px;
    text-shadow: 0px 15px 15px #00000029;
}

.hidden-banner-text {
    display: none;
}

.latest-news {
	margin-top: -22px;
	padding: 40px 30px;
}

.latest-news a, .blog .entry-categories a  {
	text-decoration: none;
}

.latest-news .category,
.latest-news .entry-categories, .blog .entry-categories {
    text-transform: uppercase;
    color: var(--purple);
    font-size: 19px;
	font-family: var(--headings-sans);
	letter-spacing: 1.35px;
}

.latest-news .entry-categories {
    display: block;
    font-weight: bold;
	padding: 0 36px;
}

.latest-news .entry-categories a, .blog .entry-categories a  {
    color: var(--purple);
}

.latest-news .category {
    font-weight: bold;
}

.latest-news .wp-block-columns .wp-block-column:first-of-type .recent-posts > .category-ait-insights::before {
    display: none;
}

.latest-news .wp-block-columns .wp-block-column:last-of-type article:first-of-type, .latest-news .wp-block-columns .wp-block-column:last-of-type article:nth-of-type(2) {
    border-bottom: solid 2px var(--purple);
    padding-bottom: 10px;
}

.latest-news .wp-block-columns .wp-block-column:last-of-type article {
    padding-top: 30px;
}

.latest-news p:has(.recent-more-link) {
	text-align: right;
	font-family: var(--headings-sans);
	text-transform: uppercase;
	color: var(--purple);
	font-size: 14px;
	letter-spacing: 1.4px;
}

.latest-news .wp-block-read-more::after,
.latest-news .recent-more-link::after {
    margin-left: 7px;
    width: 20px;
    height: 20px;
}

.latest-news .wp-block-columns .wp-block-column:first-of-type {
    background-color: #fff;
	border: solid 1px var(--dark-gray);
}

.latest-news .wp-block-columns .wp-block-column:first-of-type .entry-categories {
    letter-spacing: 1.35px;
}

.latest-news .wp-block-columns .wp-block-column:first-of-type .wp-block-post-title a {
    font-size: 40px;
}

.latest-news .wp-block-column:nth-of-type(2) .wp-block-query:nth-of-type(1), 
.latest-news .wp-block-column:nth-of-type(2) .wp-block-query:nth-of-type(2) {
    border-bottom: solid var(--purple) 0.15rem;
    padding-bottom: 25px;
}

.latest-news .wp-block-column:nth-of-type(2) .category:nth-of-type(2), 
.latest-news .wp-block-column:nth-of-type(2) .category:nth-of-type(3) {
    padding-top: 15px;
}

.latest-news .wp-block-columns .wp-block-column:first-of-type .category {
    border-top: solid 1px var(--dark-gray);
    padding: 20px 20px 0;
}

.latest-news .latest-post-image {
    padding: 20px;
	border-bottom: solid 1px var(--purple);
	margin-bottom: 36px;
}

.latest-news .wp-block-columns .wp-block-column:last-of-type {
    position: relative;
}

.latest-post-date {
    padding: 4px 36px;
    font-size: 12px;
	font-family: var(--headings-sans);
    font-weight: bold;
	margin: 10px 0 -5px;
    letter-spacing: .18px;    
}

.latest-news .latest-post-description {
	padding: 0 36px 36px;
}

.latest-news .wp-block-post-date {
    font-size: 18px;
    font-weight: bold;
    letter-spacing: .01em;
    margin-bottom: 20px;
    margin-top: -10px;
}

.latest-news h2.wp-block-post-title {
    font-family: var(--headings-serif);
    font-weight: normal;
    margin-bottom: 20px;
}

.latest-news h2.wp-block-post-title a {
    font-size: 22px;
}

.ait-stats {
	gap: 22px;
}

.ait-stats hr {
    width: 40%;
    height: 3px;
}

.ait-stats .wp-block-column {
    background-color: var(--black);
    color: #fff;
    font-family: var(--headings-sans);
    padding: 30px 30px 10px;    
}

.ait-stats .wp-block-column p:first-of-type {
    margin-top: 0;
    margin-bottom: 0;
}

.ait-stats .wp-block-column p:nth-of-type(2) {
    margin-top: 0;
    margin-bottom: 15px;
}

.ait-stats .read-more {
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
}

.ait-stats .read-more a {
    color: #fff;
}   

.ait-stats p.read-more a::after {
    filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(288deg) brightness(102%) contrast(102%);
    margin-left: 25px;
    width: 23px;
    height: 23px;
    margin-top: 1px;
}

.wp-block-media-text p strong {
    color: var(--orange);
}

.home-impact {
	padding: 50px 30px 20px;
}

.home-about {
	padding: 70px 30px 20px;
}

.home-about .h3 {
    color: var(--dark-gray);
}

.home-about .read-more {
    background-color: #fff;
    font-weight: bold;
    margin-top: -18px;
    padding: 25px 10px;
    position: relative;
}

.home-about p.read-more a::after {
    filter: invert(10%) sepia(0%) saturate(1%) hue-rotate(168deg) brightness(100%) contrast(94%);
    height: 20px;
    margin-right: 30px;    
    right: -20px;
    top: 50%;
	transform: translatey(-50%);    
    width: 30px;
}

.home-about .mobile-only {
    margin-top: -45px;
    margin-bottom: -40px;
}

.home-about > .wp-block-group {
    display: grid;
    grid-gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-about > .wp-block-group > .wp-block-group:first-of-type {
    grid-column: span 2;
    margin-bottom: -30px;
}

/* Programs and Resources Page */
.par-links {
    margin-bottom: 50px;
}

.par-gender-avenger figure {
    /margin-top: 20px !important;
    /margin-bottom: -50px !important;
}

.par-gender-avenger a {
    color: #fff;
}

.gender-avenger-logo img {
    border: solid 14px #fff;
}

.par-clp, .about-clp {
    gap: 0;
}

/* Community Leadership Program Page */
.clp-events .wp-block-columns {
    color: #fff;
}

.clp-events .heading-sans {
    margin: -95px 0 0 20px;
    z-index: 1;
}   

.clp-events .heading-sans a {
    color: #fff;
    text-decoration: none;
}

.clp-events .wp-block-columns .wp-block-column.with-description .heading-sans {
    margin-top: -300px;
    padding-left: 5px;
    padding-bottom: 15px;
    position: relative;        
}

.clp-events .wp-block-columns .wp-block-column.with-description .heading-sans:after {
    content: "";
    position: absolute;
    width: 26%;
    bottom: 0;
    left: 7px;
    border-bottom: 2px solid #fff;
}   

.clp-events .wp-block-columns .wp-block-column.with-description p:nth-of-type(2) {
    margin-bottom: 50px !important;
    padding: 0 10px 0 25px;
}   

.read-more-chevron {
    position: relative;
}

.read-more-chevron a::after {
    content: '';
    background-image: url(/wp-content/themes/all-in-together/images/chevron.png);
    background-repeat: no-repeat;
    position: absolute;
    margin-left: 7px;
    width: 35px;
    height: 35px;
    background-size: 35px;
    right: 20px;
    bottom: 0;
}

.arrow-down {
    width: 0;
    height: 0;
    border-left: 45px solid transparent;
    border-right: 45px solid transparent;
    border-top: 39px solid #fff;
}

/* Boards and Advisors Page */
.group-board {
    padding-top: 60px;
    padding-bottom: 60px;
    margin-top: 0;
    margin-bottom: 0;    
}

.group-board.negative-top-padding {
    padding-top: 0;
}

.group-board .heading-sans {
    margin-bottom: 30px;
}

.group-board > p:nth-of-type(2) {
    margin-top: 0;
    margin-bottom: 0;
}

/* Sponsors and Partners Page */
.ait-logo-container {
    display: grid;
    grid-gap: 20px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 60px;
    text-align: center;
}

.ait-logo-container figure {
    grid-column: span 2;

    display: flex;
    align-items: center;
}

/* Center the item if there's only one left in the last row */
.ait-logo-container figure:last-child:nth-child(2n - 1) {
    grid-column-end: 4;
}


/* Blog Page */
.blog .latest-post-description a {
    text-decoration: none;
}

.blog article .category-ait-insights::before {
    margin-top: 25px;
    right: 0;
    margin-right: 10px;
}

.blog .latest-post-date {
    padding: 0 15px;
}

.blog .entry-categories {
    padding-left: 15px;
}

.blog .latest-post-image {
    margin-bottom: 15px;
}


/* Custom Post Types
---------------------------------------------------------------------------- */

.ait-member-container {
    display: grid;
    grid-gap: 20px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 60px;
    text-align: center;
}

.ait-member {
    grid-column: span 2; 
}

/* Center the item if there's only one left in the last row */
.ait-member:last-child:nth-child(2n - 1) {
    grid-column-end: 4;
}

.ait-member a {
    text-decoration: none;
}

.ait-member img {
    border-radius: 50%;
    width: 220px;
}

.member-name {
    font-family: var(--headings-sans);
    font-size: 27px;
    line-height: 33px;
    margin-bottom: 0;    
}

.line1 {
    font-family: var(--headings-sans);
    font-size: 22px;
    line-height: 44px;
    margin-top: 0;
    margin-bottom: 0;
}

.line2 {
    font-family: var(--system-sans);
    font-size: 16px;
    line-height: 20px;
    margin-top: 0;
}

.separator-gradient {
    background: transparent linear-gradient(90deg, #F8A27C 0%, #F8A27C 23%, #EF5523 100%) 0% 0% no-repeat padding-box;
    border: 0;
    height: 12px;      
    width: 135px;
}

/* Duotone */
.img-duotone-wrapper {
	position: relative;
}

.page .img-duotone-wrapper {
	margin-left: auto;
    margin-right: auto;		
	max-width: 220px;
}

.single .img-duotone-wrapper {
	/max-width: 409px;
	/width: 409px;
}

.img-duotone-wrapper::before,
.img-duotone-wrapper::after {
	content: '';
	display: block;
	border-radius: 50%;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
}

.img-duotone-wrapper img {
	filter: grayscale() brightness(100%) contrast(1);
}

.img-duotone-wrapper::after {
	background: #D7B8BF;
	mix-blend-mode: multiply;
}

.img-duotone-wrapper::before {
	/background: #000;
	/mix-blend-mode: lighten;
}


/* Archive Page
---------------------------------------------------------------------------- */

.archive .content, 
.archive .with-image .recent-posts, 
.related-posts, 
.blog .recent-posts, 
.blog main.content {
    /display: grid;
    /grid-gap: 10px;
    /grid-template-columns: repeat(1, minmax(0, 1fr));    
    /margin-top: 0;
}

.archive .with-image .recent-posts, 
.related-posts {
    display: grid;
    grid-gap: 10px;
    grid-template-columns: repeat(1, minmax(0, 1fr));    
    margin-top: 0;
}

.archive .content-sidebar-wrap {
    margin-top: 0;
}

.archive .taxonomy-description {
    padding-bottom: 15px;
    text-align: center;
}

.archive article, .related-posts article, .blog .recent-posts article, .blog article, .search article {
    background-color: var(--light-beige);
}

.archive .post-image, .archive .with-image .recent-posts .latest-post-image, 
.related-posts .latest-post-image, .blog .recent-posts .latest-post-image, .blog .post-image,
.search .entry-image, .search .entry-header img {
    background: linear-gradient(90deg, #F8A27C 0%, #F8A27C 23%, #EF5523 100%) left bottom #fff no-repeat;
    margin-bottom: 15px;
    padding: 0 0 18px;
    background-size: 100% 18px;
}

.archive article img {
	width: 360px;
}

.archive h2.entry-title, .archive .with-image .recent-posts .entry-title,
.related-posts .entry-title, .blog .recent-posts .entry-title,
.post-type-archive-news .latest-post-description .entry-title,
.blog .latest-post-description .entry-title,
.search h2.entry-title {
    font-family: var(--headings-serif);
    font-size: 20px;
    line-height: 25px;
    margin-top: 0;
    margin-bottom: 0;
    padding: 18px 13px;
}

.archive .search-section {
    margin-top: -32px;
    margin-bottom: -32px;
    padding-top: 50px;
    padding-bottom: 50px;
}

.breadcrumbs, .breadcrumb {
    color: var(--light-gray);
    font-size: 16px;
    line-height: 22px;
    margin-left: 6px;    
}

.breadcrumbs a, .breadcrumb a {
    color: var(--light-gray);
    font-weight: normal;    
    text-decoration: none;
}

.custom-category-header {
    background: var(--black);
    color: #fff;
    font-size: 18px;
    margin-top: -20px;
}

.custom-category-header .wrap {
    max-width: 1165px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;    
}

.cat-header-text {
    text-align: center;
}

.cat-header-left {
    float: left;
    margin-bottom: 30px;
    max-width: 490px;
    padding-right: 20px;
    padding-left: 20px;
}

.cat-header-right {
    float: right;
    max-width: 650px;
}

.archive .latest-post-image > a > img {
    background: #fff;
    width: 100%;
}

.template-area-2 .with-image, .template-area-2 .latest-news, .template-area-2 .search-section {
    display: none;
}

.archive .with-image a.recent-more-link::after,
.related-posts a.recent-more-link::after,
.blog a.recent-more-link::after,
.search a.recent-more-link::after {
    width: 29px;
    height: 29px;
    margin-left: 20px;
    margin-top: 2px;
}

.archive .with-image a.recent-more-link, .related-posts a.recent-more-link {
    text-decoration: none;
}

.archive .with-image .recent-more-link, .related-posts .recent-more-link, .blog .recent-more-link,
.search .recent-more-link {
    float: left;
    padding-left: 14px;
    padding-bottom: 25px;
    font-size: 20px;
}

.with-image.has-light-beige-background-color article,
.latest-news .wp-block-columns .wp-block-column:first-of-type article {
    background: #fff;
}

.with-image.has-white-background-color article {
    background: var(--light-beige);
}

.archive .wp-block-search__button {
    background-color: #fff !important;
    border-radius: 0 !important;
    margin-left: 0;
    padding-top: 7px !important;
    padding-bottom: 7px !important;    
}

.archive .wp-block-search__button svg {
    filter: brightness(0) saturate(100%) invert(12%) sepia(13%) saturate(5716%) hue-rotate(190deg) brightness(97%) contrast(106%);
    transform: rotate(-90deg);
    width: 30px;
    height: 30px;
}

.ext-link a > p:after, a.recent-more-link.ext-link::after {
    content: '';
    background-image: url(/wp-content/themes/all-in-together/images/external-link.svg);
    background-repeat: no-repeat;
    background-size: 25px;
    width: 25px;
    height: 25px;
    position: absolute;
    margin-left: 3px;
    margin-top: -3px;
}

p.announcement {
    padding-right: 9px;
}

.announcement-item.ext-link a > p:after {
    background-size: 20px;
    width: 20px;
    height: 20px;
    margin-top: 3px;
    right: 10px;
}

.announcement-item.int-link a > p:after {
    content: '';
    background-image: url(/wp-content/themes/all-in-together/images/arrow.svg);
    background-repeat: no-repeat;
    background-size: 20px;
    width: 20px;
    height: 20px;
    position: absolute;
    margin-left: 3px;
    margin-top: 5px;
    right: 10px;
    filter: brightness(0) saturate(100%) invert(11%) sepia(65%) saturate(1368%) hue-rotate(191deg) brightness(89%) contrast(105%);
}

a.recent-more-link.ext-link::after {
    margin-top: -5px;
    filter: brightness(0) saturate(100%) invert(14%) sepia(16%) saturate(6809%) hue-rotate(290deg) brightness(94%) contrast(91%);
}


/* Single Custom Post Type Page
---------------------------------------------------------------------------- */

.ait-bio {
    background: var(--light-beige);
    color: var(--black);
    margin-top: 0;
    padding-top: 60px;
    padding-bottom: 50px;    
}

.ait-bio .wrap {
    max-width: 1165px;
    margin: 0 auto;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    column-gap: 70px;
    flex-direction: column;
    padding-left: 20px;
    padding-right: 20px;    
}

.ait-bio .breadcrumbs {
    margin-left: 0;
}

.ait-bio img {
    border-radius: 50%;
    width: 310px;
    max-width: 310px;
}

.bio-header-right {
    padding-top: 30px;
    /text-align: center;
}

.bio-header-text p {
    font-family: var(--headings-serif);
    font-weight: bold;
}

.bio-header-text h1 {
    font-size: 33px;    
    line-height: 28px;
    margin-top: 40px;    
}

.bio-header-text p:last-of-type {
    font-size: 26px;    
    line-height: 32px;
}

.ait-bio .list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ait-bio .list li {
    margin-top: 12px;    
    font-size: 20px;
    font-family: var(--headings-serif);    
}

.ait-bio .list li a {
    text-decoration: none;
    color: var(--black);
}

.single-board_advisors .entry-content a, .single-team .entry-content a {
    color: var(--purple);
}

.list li {
    padding-left: 20px !important;
    position: relative;
}

.list .email::before, .list .twitter::before, .list .linkedin::before {
    content: '';
    background-repeat: no-repeat;
    background-size: 23px;
    width: 23px;
    height: 23px;
    position: absolute;
    left: -3px;
    top: 2px;
}

.list .email::before {
    background-image: url(/wp-content/themes/all-in-together/images/email4.svg);
}

.list .twitter::before {
    background-image: url(/wp-content/themes/all-in-together/images/twitter3.svg);
}

.list .linkedin::before  {
    background-image: url(/wp-content/themes/all-in-together/images/linkedin2.svg);
}

/* Plugins
---------------------------------------------------------------------------- */
/* Share Plugin */
.dpsp-share-text {
    margin-block-end: -2em !important;
    font-size: 30px !important;
}

#dpsp-content-bottom {
    padding-left: 115px;
    margin-bottom: 40px;
}

#dpsp-content-bottom ul li {
    margin-right: 15px !important;
}

.dpsp-network-icon-inner {
    background-color: var(--black);
}

.dpsp-network-icon .dpsp-network-icon-inner svg {
    max-height: 20px !important;
}

/* Related Posts */

.after-content.widget-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.related-posts article.category-ait-insights::before {
    content: none;
}

 .related-posts {
    margin-top: 0 !important;
}

.after-content.widget-area h2 {
    margin-top: 25px;
    margin-bottom: 15px;
}


/* Structure and Layout
---------------------------------------------------------------------------- */

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

nav {
    /margin-top: -40px;
    /margin-bottom: 35px;
    /justify-content: flex-end;
}

.has-modal-open .admin-bar .is-menu-open .wp-block-navigation__responsive-dialog {
    margin-top: 0 !important;
}

nav.is-responsive.mobile-nav.wp-block-navigation.is-layout-flex {
    justify-content: flex-end;
    margin-top: -25px;
	z-index: 9;
}

.wp-block-navigation__responsive-container.is-menu-open {
    background-color: var(--light-beige) !important;
}

.wp-block-navigation {
    margin-bottom: 15px;
}

.wp-block-navigation button {
    /position: absolute;
    /top: -43px;
    /right: 0;
}

nav ul {
	clear: both;
	line-height: 1;
    padding-left: 0;
    margin-right: 10px;    
	width: 100%;
	font-family: var(--headings-sans);
	font-weight: bold;
	letter-spacing: 1.7px;
	font-size: 17px;
}

nav ul .menu-item {
	display: block;
	float: none;
	position: relative;
	text-transform: uppercase;
	margin: 0 10px;
}

nav ul a {
	display: block;
	font-weight: bold;
	outline-offset: -1px;
	padding-bottom: 12px;
	padding-top: 12px;
	text-decoration: none;
    padding: 12px 4px;    
	color: var(--dark-gray) !important;
}

nav ul a:hover,
.current-menu-item a {
    color: var(--black);
}

.wp-block-navigation__container:only-child {
	gap: 14px;
}

nav ul .sub-menu,
nav ul .sub-menu a {
	width: 100%;
}

nav ul .sub-menu {
	clear: both;
	display: none;
	left: -9999px;
	margin: 0;
	opacity: 1;
	padding-left: 15px;
	position: static;
	z-index: 99;
}

nav ul .sub-menu a {
	background-color: #fff;
	position: relative;
	word-wrap: break-word;
}

nav ul .menu-item:focus,
nav ul .menu-item:hover {
	position: relative;
}

nav ul .menu-item:hover > .sub-menu {
	display: block;
	left: auto;
	opacity: 1;
}

.site-header nav {
    text-transform: uppercase;
}

.wp-block-navigation__submenu-container {
    border: solid 2px var(--black) !important;
    z-index: 9999 !important;
}

.wp-block-navigation__submenu-container li a {
    border-bottom: solid 7px transparent;
    padding-left: 16px;
    padding-bottom: 5px;
}

.wp-block-navigation__submenu-container li a:hover {
    border-bottom-color: var(--orange) !important;
    color: #fff !important;
    background-color: var(--black);
}

.mobile-nav .has-modal-open .wp-block-navigation__submenu-container {
    border: none !important;
    padding-top: 8px !important;
}

.has-modal-open .wp-block-social-links {
    margin-top: 7px !important;
}

.wp-block-navigation__container > li > a.wp-block-navigation-item__content {
    font-weight: bold !important;
}

.mobile-nav .wp-block-navigation__container > li .wp-block-navigation-item {
    margin-left: -20px;
}

.wp-block-navigation__responsive-container-content button.wp-block-search__button.has-icon.wp-element-button {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}

/* Site Container
--------------------------------------------- */

.site-container {
	background: #fff;
	overflow: hidden;
	overflow: clip;
}

.site-inner {
	clear: both;
	margin: 0 auto;
	padding: 0 20px;
}

/* Sticky Header
--------------------------------------------- */

.sticky-header {
	display:none;
}

/* Before Header
--------------------------------------------- */

.before-header {
    background: var(--black);
    /border-bottom: solid 16px var(--orange);    
    color: #fff;
    font-family: var(--system-sans);
}

.before-header .wrap {
    display: block;
	font-size: 16px;
	letter-spacing: .02em;
    padding: 0 10px;
}

.before-header .wrap section:first-of-type {
    /display: none;
}

.before-header .wrap section:first-of-type p:not(.h3) {
    /display: none;
}

.before-header .wrap section:last-of-type {
    /font-size: 14px;
    /margin: 2px 5px;
    /text-align: center;
    /width: 100%;
}

.before-header .wrap section:last-of-type figure {
    cursor: pointer;
    position: absolute;
    right: 25px;
    top: 25px;
}

.before-header figure input {
    max-width: 16px;
}

.before-header .wrap section:last-of-type figure input[type="image"]:focus {
    outline: none;
}

.before-header .h3 {
    font-size: 22px;
	letter-spacing: .6px;
	margin-bottom: 10px;
}

.before-header .menu .menu-item {
    display: inline;
	padding-right: 10px;
}

.before-header .menu .menu-item a {
    text-decoration: none;
}

.before-header .wp-block-button__link.wp-element-button {
	padding: 20px 60px !important;
}

.header-open {
    display: none;
}

.header-open input[type="image"] {
    height: 25px;
    width: 25px;
    position: absolute;
    right: 0;    
    top: -22px;
}

.before-header .wp-block-group.mobile-only {
    display: inline-block;
    /margin-left: -40px;
}

/* Floating Widget */
.floating-button-widget {
    /display: none;
}

.floating-button-widget .widget a {
    color: #fff;
    text-decoration: none;
}

.floating-button-widget section:last-of-type {
    position: fixed; /* Announcements container */
    right: -620px;
    z-index: 9999;

    border: solid 2px var(--purple);
    padding: 5px 20px;
    font-family: var(--system-sans);
    background: #fff;      
    transition: right 1s;  

    top: 240px; 
    margin-left: 10px;
    margin-right: 10px;        
}   

.floating-donate, .floating-announcements {
    background-color: var(--purple);        
    position: absolute;
    z-index: 9999;
}

.floating-button-widget section:first-of-type {
    display: none;
}

.floating-announcements {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    padding: 10px 60px 10px 30px;   
    top: -63px;
    left: 0;
    width: 100%;
}


/* Site Header
--------------------------------------------- */

.site-header {
	position: relative;
}

.site-header .wrap {
	margin: 0 auto;
	padding: 10px 30px 0;
}

.wp-block-site-logo img {
    width: 85%;
}

.title-area {
	float: left;
	width: 300px;
}

.site-title {
	line-height: 88px;
}

.site-title a {
	background: url(images/logo-mobile.png) no-repeat left center;
	background-size: contain;
	display: block;
	position: relative;
	text-indent: -9999em;
	width: 100%;
	padding-bottom: 69px / 165px * 100%;
}

.site-description {
	display: none; 
}

.title-area h1.site-title, .title-area p.site-title {
	margin: 0;
}

.site-title, 
ul.menu {
	transition: all linear .2s;
	-webkit-transform:translate3d(0,0,0);
}

/* Sidebar
--------------------------------------------- */

.sidebar .upcoming-events, .sidebar .see-more {
    background: var(--light-beige);
    line-height: 1;
    margin-bottom: 50px;
    padding: 35px 25px;
}

.sidebar .upcoming-events h2 {
    margin-bottom: 20px;
}

.sidebar .upcoming-events .heading-sans {
    margin-top: 10px;
}

.sidebar .upcoming-events figure {
    margin-top: 25px !important;
    margin-bottom: 30px !important;
}

.sidebar .see-more {
    font-size: 20px;    
    text-indent: -15px;
}

.sidebar .see-more a {
    color: var(--black);
    margin-left: 15px;
    line-height: 1.3;
}

.sidebar .latest-news {
    border: solid 3px rgba(0, 0, 1, .45);
    margin-bottom: 40px;
    padding: 40px 30px 20px;
}

.sidebar .latest-news .latest-post-image {
    padding: 10px;
    border-bottom: none;
    margin-bottom: 20px;    
}

.sidebar .latest-news .latest-post-date, 
.sidebar .latest-news .latest-post-description {
    padding: 0;
}

.sidebar .latest-news .latest-post-description > a {
    color: var(--black);
}

.sidebar .latest-news .latest-post-description .entry-title {
    font-size: 31px;
    margin-top: 20px;
    margin-bottom: 30px;    
}

/* Pagination
--------------------------------------------- */

.pagination {
    display: flex;
    grid-column: span 3;
    justify-content: center;
}

.archive-pagination ul {
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 20px;
    padding-left: 0;
}

.archive-pagination li {
    background-color: #fff;
    border-radius: 50%;
    border: solid 3px var(--purple);
    color: var(--purple);
    display: inline-block;
    height: 45px;
    margin: 0 2px;
    padding: 0px;
    text-align: center;
    width: 45px;
}

.archive-pagination li.active, .archive-pagination li:hover {
    background-color: var(--purple);
    color: #fff;
}

.archive-pagination li.active a, .archive-pagination li:hover a {
    color: #fff !important;
}

li.pagination-previous, li.pagination-next {
    background-color: #fff;
    border: none;
}

li.pagination-previous.active, li.pagination-previous:hover, 
li.pagination-next.active, li.pagination-next:hover {
    background-color: #fff;
}

.archive-pagination li a {
    color: var(--purple) !important;
    display: inline-block;
    font-family: var(--headings-sans);
    font-size: 20px;
    line-height: 39px;
    text-decoration: none;
}

li.pagination-omission, li.pagination-omission:hover {
    border-style: none;
    margin: 0 -20px;
    background-color: transparent;
    color: var(--purple);
    cursor: default;
}

.archive-pagination ul .pagination-previous a:before, .archive-pagination ul .pagination-next a:after {
    background-size: 30px;
    width: 30px;
    height: 30px;
    top: 14px;
}

.archive-pagination ul .pagination-previous a:before {
    transform: scaleX(-1);
}

.archive-pagination ul .pagination-next a:after {
    right: 23px;
}


/* Entry Comments
--------------------------------------------- */

.entry-comments ol,
.entry-comments ul {
	list-style-type: none;
	padding-left: 0;
}

.comment-respond,
.entry-comments {
	margin-bottom: 40px;
}

.comment-content {
	clear: both;
}

.comment-respond label {
	display: block;
	margin-right: 12px;
}

.comment .children {
	margin-left: 60px; 
}

.comment-form-cookies-consent label {
	display: inline;
	padding-left: 10px;
}

.comment-form-comment input, .comment-form-author input, .comment-form-email input, .comment-form-email input, .comment-form-url input, textarea#comment {
    display: block;
    font-weight: 400;
    font-size: 15px;
    line-height: 1;
    min-height: 48px;
    padding: 12px 16px 12px 82px;
}

textarea#comment {
    padding-left: 92px;
    padding-top: 16px;
}

.comment-form-comment label, .comment-form-author label, .comment-form-email label, .comment-form-email label, .comment-form-url label {
    display: block;
    left: 10px;
    line-height: 1;
    font-size: 14px;
    font-weight: 700;
    position: relative;
    top: 32px;
}

/* Site Footer
---------------------------------------------------------------------------- */

.site-footer {
    font-size: 14px;
	letter-spacing: .02em;
    position: relative;  
}

.before-footer, 
.site-footer {
	background-color: #fff;
	color: var(--black);
	text-align: center;
	padding: 10px;
	
}

.before-footer a, 
.site-footer a {
	color: var(--black);
	text-decoration: none;
}

.before-footer p, 
.site-footer p {
	margin-bottom: 0;
}

.before-footer img {
	max-width: 230px !important;
}

.before-footer figure {
    margin: 1.3em 0 1em;
}

.before-footer .wrap {
	/display: flex;
	/flex-wrap: wrap;
	/justify-content: center;
	/align-items: center;
}

.before-footer ul {
	list-style-type: none;
	padding-left: 0;
}

.before-footer .widget-title {
    text-align: left;
    letter-spacing: .1em;
}

.stay-connected {
    display: none;
}

.home .stay-connected {
    display: block;
}

.home .stay-connected-mini {
    display: none;
}

.stay-connected figure, .stay-connected-mini figure {
    display: none;
}

.ait-links {
    background: transparent linear-gradient(90deg, #F8A27C 0%, #F8A27C 23%, #EF5523 100%) 0% 0% no-repeat padding-box;
    display: flex !important;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    padding: 20px 5%;
    font-weight: bold;
}

.ait-links a {
    text-decoration: none;
}

.ait-links .wp-block-group:nth-of-type(3) {
    text-transform: uppercase;
    display: flex;
    gap: 50px;
}	

.ait-links .wp-block-social-links {
    justify-content: center;
}

.ait-links .wp-block-social-links.has-normal-icon-size {
    font-size: 38px;
}

.how-you-can-help .wp-block-group {
    display: flex;
    flex-direction: column;
}

.how-you-can-help h2 {
    margin-top: 60px;
    margin-bottom: 10px;
}

.how-you-can-help p {
    padding: 50px 10px;
    background-color: var(--black);
    font-size: 32px;
    font-weight: bold;
    letter-spacing: .07em;
}

.how-you-can-help p  a {
    color: #fff;
    text-decoration: none;
}

.how-you-can-help p.has-text-align-center {
    margin: 20px 20px 5px !important;    
}

.how-you-can-help p:nth-of-type(2) {
	background-color: var(--orange);
}

.how-you-can-help p:last-of-type {
	background-color: var(--purple);
}

.home-about > .wp-block-group > .wp-block-group:nth-of-type(2) img, .home-about > .wp-block-group > .wp-block-group:nth-of-type(3) img {
	height: 120px;
	max-height: 120px;
}    

/* Accessibility
--------------------------------------------- */

.screen-reader-shortcut,
.screen-reader-text,
.screen-reader-text span,
.hidden,
.wp-block-search label {
	border: 0;
	clip: rect(0, 0, 0, 0);
	height: 1px;
	overflow: hidden;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus,
.screen-reader-shortcut:focus,
.widget_search input[type="submit"]:focus {
	background: #fff;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #333;
	display: block;
	font-size: 1em;
	font-weight: 700;
	height: auto;
	padding: 15px 23px 14px;
	text-decoration: none;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}

.genesis-skip-link {
	margin: 0;
}

.genesis-skip-link .skip-link-hidden {
	display: none;
	visibility: hidden;
}

.genesis-skip-link li {
	height: 0;
	list-style: none;
	width: 0;
}

:focus {
	/color: #333;
	/outline: #ccc solid 1px;
}


/* Mobile only */
@media only screen and (max-width: 600px) {

    .desktop-nav {
        display: none !important; 
    }

    .wp-block-button.black, .wp-block-button.white {
        width: 100% !important;
    }

    .wp-block-button.black a, .wp-block-button.white a {
        width: 100%;
    }

}

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

	.title-area {
		margin: 0 auto -20px;
	}

    .before-header .wp-block-button__link.wp-element-button {
        padding: 0 !important;
        margin-bottom: 10px;
    }

    .before-header .wp-block-button.white a {
        background: transparent !important;
        color: #fff !important;
        text-align: left;
    }

	.before-footer .wp-block-search__inside-wrapper {
		max-width: 280px;
	}

	.wp-block-buttons {
		justify-content: center;
	}

    .desktop-only {
        display: none !important;
    }

    .mobile-font-14 {
        font-size: 14px !important;
    }

    .mobile-font-16 {
        font-size: 16px !important;
    }

    .mobile-font-18 {
        font-size: 18px !important;
    }

    .mobile-font-20 {
        font-size: 20px !important;
    }

    .mobile-font-23 {
        font-size: 23px !important;
    }

    .mobile-font-32 {
        font-size: 32px !important;
    }    

    .mobile-font-36 {
        font-size: 36px !important;
    }    

    .mobile-font-65 {
        font-size: 65px !important;
    } 

    .ait-links {
        margin-bottom: 0;
    }

    .site-header .wrap {
        box-shadow: 0 0 3px lightgrey;
    }    

    .home .wp-block-media-text.is-stacked-on-mobile {
        grid-template-columns: 85% !important;
    }   

    .stay-connected .wp-block-media-text.is-stacked-on-mobile {
        grid-template-columns: 100% !important;
    }      

    .clp-state-programs figure {
        margin-top: 20px !important;
        margin-bottom: -50px !important;
    }      

}

/* DESKTOP AND TABLET */

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

	table {
		table-layout: auto;
		word-break: normal;
	}

}

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

    .mobile-nav {
        display: none !important; 
    }

	.home-about > .wp-block-group > .wp-block-group:nth-of-type(2) img, .home-about > .wp-block-group > .wp-block-group:nth-of-type(3) img {
	    height: unset;
	    max-height: unset;
	}        
}

@media only screen and (max-width: 958px) and (min-width: 400px) {

    .archive .content, .archive .with-image .recent-posts, .related-posts, .blog .recent-posts, .blog main.content, .search .content {
        display: flex;
        flex-wrap: wrap;
        gap: 30px;
    }

    .blog .content article, .archive .content article {
        max-width: 360px;
    }

}

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

	/* Typography
	--------------------------------------------- */
	h1, .h1 {
		font-size: 60px;
        letter-spacing: .03em;
	}

	h1.entry-title {
		font-size: 35px;
		text-align: left;
	}

	h2, .h2 {
		font-size: 63px;
	}

	h3, .h3 {
		font-size: 26px;
	}

	h4, .h4 {
		font-size: 22px;
	}

    .page h1, .page .h1 {
        margin-top: 0;
    }

	.line-height-30 {
		line-height: 30px;
	}    

	/* Search
	--------------------------------------------- */	
    .custom-search button {
        /margin-top: 5px;	
        padding: 0 !important;
        right: -15px;
	}

    .custom-search.wp-block-search .wp-block-search__inside-wrapper {
        border-radius: 50%!important;
        width: 35px;
        height: 35px;
        margin-top: 45px;
    }

	/* Sticky Header
	--------------------------------------------- */
	.sticky-header {
		background: var(--black);
		position: fixed;
		z-index: 99999;
		width: 100%;
		margin: 0 auto;
		top: 0;
		font-size: 15px;
		display: none;	 
	}

	.sticky-header figure.wp-block-image {
		margin: 0;
	}
	.sticky-header img {
		height: 50px;
		width: auto;
	}

	.sticky-header .wrap {
		display: flex;
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
	}	

	.sticky-header .combined-menu {
		display: flex;
	}	

	.sticky-header ul.menu a {
		padding-right: 3px;
		padding-left: 3px;
	}	

	.sticky-header .search-form-submit {
		display: none;
	}	

	.sticky-header .search-form input[type="search"] {
		position: relative;
		width: 1px;
		border: 0;
		background-color: transparent;
		cursor: pointer;
		padding: 3px 15px; 	
		-webkit-transition: width 500ms ease,background 400ms ease;
		transition: width 500ms ease,background 400ms ease;
	}	

	.sticky-header .search-form {
		background: url(/wp-content/themes/all-in-together/images/search.png) no-repeat center;
		background-size: 16px;
	}	

	/* Before Header
	--------------------------------------------- */
	
	.before-header .wrap {
	    /display: flex;
        display: block;
		max-width: 1300px;
		margin: 0 auto;
		padding: 30px 60px;
	    flex-direction: row;        
	}
    
    .before-header .wp-block-group.desktop-only {
        display: flex;
        align-items: center;
    }
    
    .before-header .wp-block-group.desktop-only .h3 {
        margin-bottom: 0;
    }

    .before-header figure input {
        max-width: 36px;
    }

	.before-header .wrap section:first-of-type {
		display: block;
	    width: 100%;
	}

    .before-header .wrap section:first-of-type p.h3 {
        font-size: 36px;
    }

	.before-header .wrap section:last-of-type {
		font-size: unset;
	    margin: 2px;
	    align-self: center;
	    width: 100%;
	}	

    .header-open input[type="image"] {
        top: -20px !important;
    }    

    .before-header .wrap section:last-of-type figure {
        /top: 25px;
    }    

	/* Floating Widget */
    .floating-button-widget {
        display: block;
		font-family: var(--headings-sans);

		position: absolute;
		right: 0;
		left: auto;
		top: 0;		
    }

    .floating-button-widget .widget {
        font-size: 17px;
    }

	.floating-button-widget section:first-of-type {
        display: block;
        right: 120px;
        z-index: 9999;

		position: relative;
		right: 0;
		left: 0;
		top: 0 !important;        
	}

	.floating-button-widget section:last-of-type {
        min-height: 234px; /* Announcements container */
        right: -269px;
        /top: 530px; /* changed in Javascript */
        top: 340px;
        width: 270px;
        margin-left: unset;
        margin-right: unset;        
	}	

    .floating-button-widget section:last-of-type .ait-announcements-container a {
        color: var(--black);
    }

	.floating-donate {
	    border-bottom-left-radius: 20px;
	    border-bottom-right-radius: 20px;
	    padding: 19px 42px 20px 85px;
	    text-transform: uppercase;

	    right: 0;
	    top: 0;
		margin-top: 0;	    
	}	

	.floating-announcements {
        left: -137px;
        top: 76px;

        transform: rotate(-90deg);
        width: unset;
	}

    .floating-donate:hover {
        transform: none;
    }

    .floating-donate:hover, .floating-announcements:hover {
        border: solid var(--purple);
    }

    .widget.widget_block.expanded {
        right: 0 !important;
        transition: right 1s;  
    }    

	.floating-donate::before {
	    content: '';	    
	    background-repeat: no-repeat;
	    background-size: 32px;
	    height: 32px;
	    margin-left: -40px;
	    position: absolute;
	    width: 32px;
		top: 13px;
		background-image: url(/wp-content/themes/all-in-together/images/ic_card_giftcard.svg);
	}	

	.floating-announcements::after {	
		content: '';	    
	    background-repeat: no-repeat;
	    background-size: 24px;
	    height: 24px;
	    position: absolute;
	    width: 24px;
		background-image: url(/wp-content/themes/all-in-together/images/ic_notifications_active.svg);
	    margin-left: 17px;
	    margin-top: 0px;
	    transform: rotate(90deg);
	}


	/* Site Header
	--------------------------------------------- */

	.site-header {
		border-top: solid 16px var(--orange);
	}
	
	.site-header .wrap {
		display: flex;
		max-width: 1200px;
		margin: 0 auto;
		justify-content: space-between;
        padding: 43px 20px 30px !important;
        position: relative;
	}

    .wp-block-site-logo {
        /* one-line logo */
        display: flex !important;
        align-items: center !important;
    }

    .wp-block-site-logo img {
        /margin-left: -30px; 
        width: 100%;	

        margin-left: -20px; 
    }

	.admin-bar .site-header {
		/top: 32px;
	} 
	
	.header-widget-area {
		display: flex;
		justify-content: space-between;
		align-items: center;
	}

	.site-title {
		line-height: 120px;
	}

	.site-title a {
		/background: url(images/logo.png) no-repeat left center; /* Changed in template part > header */
		background-size: 250px;
	}	

	.fixed-header .site-title {
		line-height: 70px;
		margin: 0 !important;
	}
	
	.fixed-header ul.menu {
		margin: 10px 0;
	}
	
	.mobile-header-search {
		display: none;
	}	

    .site-header .custom-search {
        display: block;
    }


    /* Post and page styles
    --------------------------------------------- */
    .single-post .site-inner {
        padding-top: unset;
    }

    .single-post h1.entry-title {
        font-size: 35px;
    }

    .single-post .post-info {
        text-align: left;
    }

	/* Genesis Menu
	--------------------------------------------- */

	.site-header nav {
		margin-left: auto;
		margin-top: 24px;
	}

	.nav-header {
		max-height: 49px;
	}

	.genesis-nav-menu .menu-item {
		display: inline-block;
	}

	.genesis-nav-menu .menu-item:focus,
	.genesis-nav-menu .menu-item:hover {
		position: relative;
	}
	
	.genesis-nav-menu .sub-menu,
	.genesis-nav-menu .sub-menu a {
		width: 180px;
	}

	.genesis-nav-menu .sub-menu {
		opacity: 0;
		padding-left: 0;
		position: absolute;
	}

	nav ul.sub-menu .menu-item {
		margin: 0;
	}

	.genesis-nav-menu .sub-menu a {
		border-top: 0;
		padding: 15px;
	}

	.genesis-nav-menu .sub-menu .sub-menu {
		margin: -46px 0 0 179px;
	}
	
	/* Site-Inner
	--------------------------------------------- */

	.site-inner {
		max-width: 1200px;
	}

	/* Content
	--------------------------------------------- */

	.content {
		float: left;
		width: 750px;
    }

	.sidebar-content .content {
		float: right;
	}

	.full-width-content .content {
		width: 100%;
		float: none;
		margin-left: auto;
		margin-right: auto;
		margin-top: 20px;
	}

	.archive.full-width-content .content {
		margin-top: 40px;
	}


	/* Sidebar
	--------------------------------------------- */

	.sidebar {
		float: right;
		width: 350px;
        margin-top: 90px;        
	}

	.sidebar-content .sidebar {
		float: left;
	}

    /* Plugins
    --------------------------------------------- */
    /* Share Plugin */    
	
    #dpsp-content-bottom ul li {
        margin-right: 25px !important;
    }

    /* Related Posts */


	/* Special Classes
	--------------------------------------------- */

    .mobile-only {
        display: none !important;
    }

    .custom-post-header .wrap {
		max-width: 1200px;
		margin: 0 auto;
		padding: 30px 0;
		text-align: left;
	}

    .grid-4 {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        grid-gap: 30px;
    }

	.no-top-margin {
		margin-top: 0;
	}

    .negative-top-margin-desktop {
        margin-top: -15px;
    }

    .negative-top-margin-desktop-50 {
        margin-top: -50px;
    }    

    .negative-top-margin-mobile {
        margin-top: unset;
    }    

	hr.is-style-wide.separator {
		margin: 60px auto !important;
	}

	.two-columns {
		column-count: 2;
	}

	.three-columns {
		column-count: 3;
	}

    .narrow {
        padding: 0 5%;
    }

    .narrower {
        padding: 0 13%;
    }


    /* Home Page */

    .home-about .h3 {
        font-size: 40px;
    }

    .latest-news .wp-block-columns .wp-block-column:first-of-type .entry-title {
        font-size: 40px;
		margin-top: 10px;
    }

    .latest-news .wp-block-columns .wp-block-column:first-of-type .entry-categories {
        font-size: 27px;
    }   
	
	.latest-news .wp-block-columns .wp-block-column:first-of-type .latest-post-date {
		margin: 16px 0 4px;
	}

    .latest-news .latest-post-image {
        padding: 50px;
    }    

    .latest-post-date {
        font-size: 18px;    
    }

    .ait-banner p {    
        margin-top: -192px;
    }

    .latest-news {
        margin-top: -15px;
    }    

	.ait-stats .wp-block-column {
		display: flex;
		flex-flow: column nowrap !important;
	}

    .ait-stats .read-more {
        font-size: 17px;
        letter-spacing: 1.7px;

		margin-top: auto;
		padding: 10px 0;        
    }

    .home-about .read-more {
        font-weight: normal;
        padding: 25px 20px;
    }

    .home-about p.read-more a::after {
        height: 32px;
        right: -12px;
        width: 45px;
    }

    .home-about > .wp-block-group > .wp-block-group:first-of-type {
        grid-column: unset;
        grid-row: span 2;
    }    

	.home-about > .wp-block-group > .wp-block-group:nth-of-type(2),
	.home-about > .wp-block-group > .wp-block-group:nth-of-type(3) {
	    margin-bottom: -20px;
	}

	.home-about > .wp-block-group > .wp-block-group:nth-of-type(2) img,
	.home-about > .wp-block-group > .wp-block-group:nth-of-type(3) img {
	    width: 500px;
	}


    /* Community Leadership Program Page */
    .about-clp .heading-sans {
        margin-top: 0;
    }

    .clp-volunteer {
        margin-bottom: 70px;
    }
        
    /* Programs and Resources */    
    .par-clp, .about-clp {
        gap: 2em;
    }    

    .par-clp .heading-sans {
        margin-top: unset;
    }

    .par-gender-avenger figure {
        margin-top: unset !important;
        margin-bottom: unset !important;
    }    

    .par-programs {
        margin-bottom: -25px;
    }

    /* Sponsors and Partners Page */
	.ait-logo-container {
	    grid-template-columns: repeat(12, minmax(0, 1fr));
	}

	/* Undo what's on mobile */
	.ait-logo-container figure:last-child:nth-child(2n - 1) {
	    grid-column-end: unset;
	}	

    /* Center the items in the last row of the grid if they are less than 6 items */
	/* Dealing with 5 orphan items ( 5th, 4th, 3rd, 2nd, 1st ) */
	.ait-logo-container figure:last-child:nth-child(6n - 1) {
		grid-column-end: -2;
	}

	.ait-logo-container figure:nth-last-child(2):nth-child(6n + 4) {
		grid-column-end: -4;
	}

	.ait-logo-container figure:nth-last-child(3):nth-child(6n + 3) {
		grid-column-end: -6;
	}

	.ait-logo-container figure:nth-last-child(4):nth-child(6n + 2) {
		grid-column-end: -8;
	}

	.ait-logo-container figure:nth-last-child(5):nth-child(6n + 1) {
		grid-column-end: -10;	
	}

	/* Dealing with 4 orphan items ( 4th, 3rd, 2nd, 1st ) */
	.ait-logo-container figure:last-child:nth-child(6n - 2) {
		grid-column-end: -3;
	}

	.ait-logo-container figure:nth-last-child(2):nth-child(6n + 3) {
		grid-column-end: -5;
	}

	.ait-logo-container figure:nth-last-child(3):nth-child(6n + 2) {
		grid-column-end: -7;	
	}

	.ait-logo-container figure:nth-last-child(4):nth-child(6n + 1) {
		grid-column-end: -9;
	}

    /* Dealing with 3 orphan items ( 3rd, 2nd, 1st ) */
	.ait-logo-container figure:last-child:nth-child(6n - 1) {
	    grid-column-end: -4;
	}

	.ait-logo-container figure:nth-last-child(2):nth-child(6n + 2) {
		grid-column-end: -6;
	}

	.ait-logo-container figure:nth-last-child(3):nth-child(6n + 1) {
		grid-column-end: -8;
	}    

	/* Dealing with 2 orphan items (  2nd, 1st ) */	
	.ait-logo-container figure:last-child:nth-child(6n - 4) {
		grid-column-end: -5;
	}

	.ait-logo-container figure:nth-last-child(2):nth-child(6n + 1) {
		grid-column-end: -7;
	}

	/* Dealing with 1 orphan item */	
	.ait-logo-container figure:last-child:nth-child(6n - 5) {
		grid-column-end: -6;
	}	

	/* Blog Page */
	.blog .latest-post-image > a > img,
    .blog .post-image > a > img,
    .search .entry-header > a > img {
        height: 203px;
        width: 360px;
	}	

    .blog .breadcrumb {
        margin-bottom: -20px;
        margin-top: -20px;
    }

    /* Donate Page */

    div#NVTag1 {
        margin-top: -60px;
    }

    .body-large {
        margin-left: 23px;
        position: relative;
        top: 360px;
        z-index: 9;
    }    

    /* Custom Post Types
    --------------------------------------------- */

    .ait-member-container {
        grid-gap: 20px 0;
        grid-template-columns: repeat(8, minmax(0, 1fr));
    }
   
    /* Center the items in the last row of the grid if they are less than 4 items */
    /* Target the third item on the last row, as long as it is the last item in the grid */
    .ait-member:last-child:nth-child(4n - 1) {
        grid-column: span 2;
    }

    /* Target the first item on the last row, as long as it is the last item in the grid */
    .ait-member:last-child:nth-child(4n - 3) {
        grid-column: span 8;
    }

    /* Dealing with 3 orphan items ( 3rd, 2nd, 1st ) */
    .ait-member:last-child:nth-child(4n - 1) {
        grid-column-end: -2;
    }

    .ait-member:nth-last-child(2):nth-child(4n + 2) {
        grid-column-end: -4;
    }

    .ait-member:nth-last-child(3):nth-child(4n + 1) {
        grid-column-end: -6;
    }

    /* Dealing with 2 orphan items ( 2nd, 1st ) */
    .ait-member:last-child:nth-child(4n - 2) {
        grid-column-end: -3;
    }

    .ait-member:nth-last-child(2):nth-child(4n + 1) {
        grid-column-end: -5; 
    }

    /* Undo what's on mobile */
    .ait-member:last-child:nth-child(2n - 1) {
        grid-column-end: unset;
    }

    /* Archive Page
    --------------------------------------------- */
    .custom-category-header {
        margin-top: 12px;            
    }

    .custom-category-header .wrap {
        flex-direction: row;
    }

    .archive .content, .archive .with-image .recent-posts, .related-posts, .blog .recent-posts, .blog main.content,
    .search .content {
        display: grid;
        grid-gap: 41px;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        margin-top: 40px;
    }
    .blog .content article, .archive .content article {
        max-width: 360px;
    }

    .archive article, .related-posts article {
        margin-bottom: 0 !important;
    }    

    .archive h1 {
        margin-top: unset;
    }

    .archive h2.entry-title, .archive .with-image .recent-posts .entry-title,
    .related-posts .entry-title, .blog .recent-posts .entry-title,
    .post-type-archive-news .latest-post-description .entry-title,
    .blog .latest-post-description .entry-title {
        font-size: 25px;
        line-height: 35px;
    }

    .archive h2.all-posts-title {
        margin-top: 60px;
        margin-bottom: 60px;
    }

    .archive-pagination li {
        /height: 65px;
        /width: 65px;
    }

    .archive-pagination li a {
        /font-size: 25px;
        /line-height: 60px;
    }

    .archive a.entry-title-link::after {
        background-position-x: center;
        font-size: 20px;
        height: 25px;
        line-height: 22px;
    }

    .archive-pagination ul .pagination-previous a:before,.archive-pagination ul .pagination-next a:after {
        /background-size: 36px;
        /width: 36px;
        /height: 36px;
        /top: 22px;
    }

    .archive-pagination ul .pagination-previous a:before {
        left: 0;
    }

    .archive-pagination ul .pagination-next a:after {
        right: 10px;
    }

    .archive .all-posts {
        margin-bottom: 10px;
    }    

    .archive .taxonomy-description {
        font-size: 30px;
    }

    .smaller-height {
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .smaller-height figure.wp-block-media-text__media {
        margin-top: -50px !important;
        margin-bottom: -50px !important;
    }    

	.search .content {
		/grid-template-columns: repeat(4, 1fr);
	}

    .archive .search-section {
        padding-bottom: 90px;
    }

    .archive .search-section .wp-block-search {
        width: 45%;
    }    

    .archive .with-image {
        padding-top: 40px;
        padding-bottom: 40px;
        margin-top: -32px;
    }

    .cat-header-text {
        text-align: left;
    }

    .cat-header-left {
        padding-right: 30px;
        padding-left: unset;
    }

	/* Footer */
	.site-footer {
	    padding-top: 0;
		margin-top: -42px;
		margin-bottom: 6px;
	}

    .stay-connected figure, .stay-connected-mini figure {
        display: block;
    }

	.ait-links {
	    flex-direction: row;
	    flex-wrap: nowrap;
	    padding: 0 5% 18px;
	}

    .ait-links .wp-block-group:nth-of-type(1) {
        padding: 30px 0 0;
    }    

	.ait-links .wp-block-group:nth-of-type(2) {
	    border-left: solid 2px var(--dark-gray);
	    border-right: solid 2px var(--dark-gray);
	    flex-basis: 50%;
	    padding: 0 70px;
	}

	.ait-links .wp-block-group:nth-of-type(3) {
	    font-size: 20px;
        text-align: left;
        display: block;
	}	

	.ait-links .wp-block-group:has(.wp-block-group) {
		display: flex;
		align-items: center;
		padding-top: 10px;
	}

    .ait-links .wp-block-social-links {
        justify-content: flex-start;
    }

    .ait-links .wp-block-social-links.has-normal-icon-size {
        font-size: 32px;
    }       

	.how-you-can-help .wp-block-group {
	    flex-direction: row;
	}	

	.how-you-can-help p {
	    flex-basis: 30%;
		margin-left: unset;
		margin-right: unset !important;	    
        margin-bottom: unset !important
        padding: 60px 10px;
	}

    .archive .breadcrumbs {
        margin-bottom: -20px;
    }

    /* Single Custom Post Type Page
    --------------------------------------------- */
    .ait-bio {
        margin-top: 12px;
    }

    .ait-bio .wrap {
        flex-direction: row;
    }

    .ait-bio img {
        width: 400px;
        max-width: 400px;
    }

    .bio-header-right, .bio-header-right h1 {
        padding-top: 0;
        text-align: left;
    }    

    .ait-bio .separator-gradient {
        margin-left: 0;
    }

    .single-board_advisors .group-board, .single-team .group-board {
        margin-top: -20px;
        margin-bottom: -25px;
    }    

    .single-board_advisors .entry-content p:last-of-type, .single-team .entry-content p:last-of-type {
        margin-bottom: 40px;
    }    

}
/* Print Styles
---------------------------------------------------------------------------- */

@media print {

	*,
	*::before,
	*::after {
		background: transparent !important;
		box-shadow: none !important;
		color: #333 !important;
		text-shadow: none !important;
	}

	a,
	a:visited {
		text-decoration: underline;
	}

	a[href]::after {
		content: " (" attr(href) ")";
	}

	abbr[title]::after {
		content: " (" attr(title) ")";
	}

	a[href^="javascript:"]::after,
	a[href^="#"]::after,
	.site-title > a::after {
		content: "";
	}

	thead {
		display: table-header-group;
	}

	img,
	tr {
		page-break-inside: avoid;
	}

	img {
		max-width: 100% !important;
	}

	@page {
		margin: 2cm 0.5cm;
	}

	p,
	h2,
	h3 {
		orphans: 3;
		widows: 3;
	}

	blockquote,
	pre {
		border: 1px solid #999;
		page-break-inside: avoid;
	}

	.content,
	.content-sidebar {
		width: 100%;
	}

	button,
	input,
	select,
	textarea,
	.breadcrumb,
	.comment-edit-link,
	.comment-form,
	.comment-list .reply a,
	.comment-reply-title,
	.edit-link,
	.entry-comments-link,
	.entry-footer,
	.genesis-box,
	.header-widget-area,
	.hidden-print,
	.home-top,
	.nav-primary,
	.nav-secondary,
	.post-edit-link,
	.sidebar {
		display: none !important;
	}

	.title-area {
		float: left;
		text-align: center;
		width: 100%;
	}

	.site-title > a {
		margin: 0;
		text-decoration: none;
		text-indent: 0;
	}

	.site-inner {
		padding-top: 0;
		position: relative;
	}

	.author-box {
		margin-bottom: 0;
	}

	h1,
	h2,
	h3,
	h4,
	h5,
	h6 {
		orphans: 3;
		page-break-after: avoid;
		page-break-inside: avoid;
		widows: 3;
	}


	img {
		page-break-after: avoid;
		page-break-inside: avoid;
	}

	blockquote,
	pre,
	table {
		page-break-inside: avoid;
	}

	dl,
	ol,
	ul {
		page-break-before: avoid;
	}
}