/**
 * Special styles just for the new redesign
 */


/***** Special *****/

/* Footer social text */
#footer-social-message {
	color: #fff;
	font-style: italic;
	font-size: 14px;
	margin-top: 15px;
}

#footer [data-row="middle"] > .ct-container div:last-child .wp-block-columns {
	flex-direction: row !important;
}

#footer [data-row="middle"] > .ct-container div:last-child .wp-block-columns .wp-block-column {
  flex-basis: unset !important;
}

#footer [data-row="middle"] > .ct-container div:last-child .wp-block-columns .wp-block-column,
#footer [data-row="middle"] > .ct-container div:last-child .wp-block-columns figure {
	max-width: 120px;
}

#footer [data-row="middle"] > .ct-container div:last-child .wp-block-columns figure {
	margin: 0 auto;
}

/* Remove Blocksy's dumb "add margin bottom to everything" CSS from group blocks and images */
.wp-block-group,
.wp-block-image {
	margin-bottom: 0;
}

/* Image Object Sizing */
figure.object-cover,
figure.object-cover img {
	object-fit: cover;
	width: 100%;
	height: 100%;
}

/* Line up breadcrumbs */
.ct-breadcrumbs {
	margin-bottom: -15px !important;
	text-align: center;
	text-transform: none;
}

/* Fix Blocksy's added columns width */
/* .entry-content .wp-block-group [class*="_inner-container"] > .wp-block-columns:not(.alignwide):not(.alignfull),
.wp-block-columns {
	width: inherit;
} */
.entry-content > * {
	margin-bottom: 0;
}


/***** Helper classes *****/

/* Layout & Sizing - With overrides as more specific */
.limit-width--xxs {
	max-width: 360px !important;
}

.limit-width--xs {
	max-width: 450px !important;
}

.limit-width--sm {
	max-width: 535px !important;
}

.limit-width--md {
	max-width: 750px !important;
}

/* Background Colors */
.background-color-manilla {
	background-color: #fef7f4;
}

.background-color-1 {
	background-color: var(--paletteColor1);
}

.background-color-2 {
	background-color: var(--paletteColor2);
}

.background-color-3 {
	background-color: var(--paletteColor3);
}

.background-color-4 {
	background-color: var(--paletteColor4);
}

.background-color-5 {
	background-color: var(--paletteColor5);
}

.background-color-6 {
	background-color: var(--paletteColor6);
}

.background-color-7 {
	background-color: var(--paletteColor7);
}

.background-color-8 {
	background-color: var(--paletteColor8);
}


/***** Component Adjustments CSS *****/

/*** Home page ***/
body.home .ct-container-full {
	padding-top: 0 !important;
}

#home-hero {
	gap: 0.75em;
	flex-wrap: nowrap !important;
}

#home-hero figure,
#home-hero img {
	width: 100%;
	object-fit: cover;
	padding: 0 !important;
}

#home-hero > .wp-block-column:first-child figure {
	height: 100%;
}

#home-hero > .wp-block-column:last-child {
	display: flex;
	flex-direction: column;
	gap: 0.75em;
}

#home-hero > .wp-block-column:last-child figure {
	height: 50%;
}

#home-hero img {
	height: 100%;
}

#home-mission-section {
	margin-top: -27%;
	overflow: unset;
	position: relative;
	z-index: 10;
}

#home-mission-section .wp-block-cover__image-background {
	height: auto;
}

@media screen and (max-width: 420px) {
	#home-mission-section .wp-block-cover__image-background {
		filter: brightness(2);
	}
}

#home-mission-section .wp-block-cover__inner-container {
	width: var(--theme-container-width);
	max-width: var(--theme-normal-container-max-width);
	margin: 0 auto;
}

#home-mission-section .wp-block-group__inner-container > * {
	margin-left: 0 !important;
}

#home-mission-section .wp-block-group__inner-container > p {
	max-width: 450px !important;
}

#home-fruitland-map {
	position: absolute;
	text-align: center;
	width: 100%;
	z-index: 1;
}

@media screen and (max-width: 745px) {
	#home-fruitland-map {
		position: static;
	}
}

#home-fruitland-map img {
	width: 100%;
	max-width: 1100px;
}

@media screen and (max-width: 745px) {
	#home-fruitland-map {
		margin-top: 70px;
	}
}

@media screen and (max-width: 420px) {
	#we-are-creating-a-future-where-everyone-has-access-to-healthy-produce {
		max-width: 175px !important;
	}
}

@media screen and (max-width: 745px) {
	#home-mission-section__spacer {
		height: 150px !important;
	}
	
	.home-mission-section__group .wp-block-group__inner-container {
		text-align: center;
	}
	
	
	#home-mission-section .wp-block-group__inner-container > * {
		margin-left: auto !important;
	}
	
	#home-mission-section {
		margin-bottom: -100px !important;
	}
}

@media screen and (max-width: 500px) {
	#home-mission-section__spacer {
		height: 90px !important;
	}
}

@font-face {
	font-family: 'Poppins';
	src: url('../fonts/Poppins-SemiBold.ttf');
}

.our-mission-header,
#total-pounds-recovered-and-distributed-to-date,
#food-recovery {
	font-family: 'Poppins', sans-serif;
}



#home-food-recovery-section h3 {
	max-width: 400px;
}



h2#food-recovery {
	font-size: 65px;
}

.home__food-recovery-icon-list {
	margin-bottom: 35px;
	max-width: 475px;
}

.home__food-recovery-icon-list > div {
	display: flex;
}

.home__food-recovery-icon-list figure {
	width: 100px !important;
}

@media screen and (max-width: 745px) {
	.home-food-recovery-section__top-spacer {
		height: 80px !important;
	}
	#home-food-recovery-section .home-food-recovery__first-col {
		text-align: center;
	}
	
	#home-food-recovery-section .home-food-recovery__first-col h3 {
		margin: 0 auto 20px;
	}
	
	#home-food-recovery-section .home-food-recovery__second-col .wp-block-spacer  {
		height: 25px !important;
	}
	
	#home-food-recovery-section .home-food-recovery__second-col h2 {
		text-align: center;
	}
	
	#home-food-recovery-section .home__food-recovery-icon-list {
		margin: 0 auto 35px;
	}
}

.wp-block-columns.is-not-stacked-on-mobile.home__get-involved-options > .wp-block-column {
	width:  calc(33.33% - 2em) !important;
	flex-basis: auto;
	flex-grow: unset;
}

@media screen and (max-width: 725px) {
	.wp-block-columns.is-not-stacked-on-mobile.home__get-involved-options {
		flex-wrap: wrap !important;
	}

	.wp-block-columns.is-not-stacked-on-mobile.home__get-involved-options > .wp-block-column {
		width: 100% !important;
		margin: 0 auto;
		max-width: 350px;
	}
}

#how-to-get-involved__spacer {
	height: clamp(90px, calc(4.6875rem + ((1vw - 7.45px) * 23.4043)), 350px) !important;
}

@media screen and (max-width: 745px) {
	#how-to-get-involved-section .wp-block-group__inner-container > h3 {
		padding-bottom: 0;
	}
	
	#how-to-get-involved-section .wp-block-columns h3 {
		font-size: 14px !important;
	}
}

.home__recognition .wp-block-columns.is-not-stacked-on-mobile {
	flex-wrap: wrap !important;
}

@media screen and (max-width: 745px) {
	.home__recognition .wp-block-column {
		width: calc(50% - 2em) !important;
		flex-basis: auto !important;
		flex-grow: unset !important;
		margin-bottom: 30px;
	}
}

@media screen and (max-width: 500px) {
	.home__recognition .wp-block-column {
		width: 100% !important;
	}
}

@media screen and (max-width: 420px) {
	.home__recognition .wp-block-column img {
		height: auto;
	}

	.home__recognition .wp-block-columns + .wp-block-spacer {
		display:none;
	}
}

@media screen and (max-width: 420px) {
	#home-food-recovery-section h2 {
		line-height: 1;
		margin-bottom: 50px;
	}
	
	#home-food-recovery-section .home__food-recovery-icon-list .wp-block-group__inner-container {
		flex-direction: column;
		text-align: center;
	}
	
	#home-food-recovery-section .home__food-recovery-icon-list .wp-block-group__inner-container .wp-block-image {
		margin-bottom: 20px
	}
	
	#how-to-get-involved__spacer {
		height: 320px !important;
	}

	#how-to-get-involved-section .wp-block-group__inner-container > h3 {
		padding-bottom: 40px !important;
	}
}

.home__recognition h2 {
	margin-bottom: 50px;
}

.home__recognition h2::after {
	content: "";
	height: 2px;
	width: 150px;
	background: orange;
	display: block;
	margin: 20px auto 20px;
}

/* Telemundo logo */
.wp-image-27071 {
	max-width: 130px !important;
}


/*** Mission Page ***/
#faq-section h4 {
	font-size: 18px !important;
}

#faq-section .stk-block-accordion__heading > div,
#faq-section .stk-block-accordion__content > div {
	margin-left: 0;
	margin-right: 0;
}

#faq-section .stk-block-accordion__content {
	max-width: 650px;
}

#faq-section .stk-block-accordion__content > div {
	margin-top: 0;
}


#mission-faq-heading,
.orange-offset-box-before {
	position: relative;
}

#mission-faq-heading::before,
.orange-offset-box-before::before {
	content: "";
	background-color: var(--paletteColor3);
	width: 35px;
	height: 20px;
	position: absolute;
	top: 20px;
	left: -45px;
}


/*** Team & Board of Directors ***/
.team-profile .team-name {
	color: inherit;
	margin-top: 15px;
	font-size: 20px;
}

@media screen and (max-width: 420px) {
.team-profile {
	grid-template-columns: initial;
}
}

.team-profile .team-position {
	color: inherit;
	font-style: italic;
}

.team-profile-profile:not(.board-name) {
	text-align: center;
	margin-bottom: 50px;
	min-height: 400px;

}

@media screen and (max-width: 992px) {
	.team-profile-profile {
		margin-bottom: 30px;
	}
}

.team-profile-profile:not(.board-name) .team-name {
	/* text-decoration: underline; */
	color: black;
}

.board-names {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
}

.board-name {
	width: calc(33.33% - 30px);
}

@media screen and (max-width: 992px) {
	.board-name {
		width: calc(50% - 30px);
	}
}

@media screen and (max-width: 480px) {
	.board-name {
		width: 100%;
		text-align: center;
	}
}

.board-name h3.team-name {
	font-size: 18px;
	margin-bottom: 0;
}

.board__person-columns p {
	margin-block: 0;
}

.board__person-columns + .board__person-columns {
	margin-top: 30px;
}

/* Core Values */

#our-core-values-section .wp-block-columns {
	margin-top: 30px;
}
#our-core-values-section .wp-block-columns p {
	margin: 0;
}


/*** Who We Are ***/

.cshp-cards .wp-block-column {
	position: relative;
}

.cshp-cards .wp-block-column figcaption {
	margin-top: 0;
}

.cshp-cards .wp-block-column figcaption a {
	position: absolute;
	display: block;
	bottom: 0;
	font-size: 18px;
	color: white;
	font-weight: 600;
	width: 100%;
	background: rgba(0,0,0,0.5);
	padding: 20px 0;
}

@media screen and (max-width: 1000px) {
	.cshp-cards {
		flex-wrap: wrap !important;;
	}
		
	.cshp-cards .wp-block-column {
		flex-basis: calc(50% - 2em) !important;
		flex-grow: 0 !important;
	}
}


/*** Stories & Resources ***/
.category-tile .category-tile-tile:hover::before {
	display: none;
}


/** Volunteer News pages **/

.post-template-default h1.page-title {
	color: white;
}

.post-template-default.single-post .hero-section {
	background-color: var(--paletteColor5) !important;
}

.post-template-default.single-post .hero-section > figure {
	display: none;
}


/** Turn the counter white **/
.counter-analog2 span.part span.digit {
	background-image: url(../images/jquery.counter-analog2-white.png);
}

/** This combined with JS allows the counter to shrink on smaller screens so it fits on one line **/
#homepage-ticker {
	display: inline-block;
	position: relative;
	white-space: nowrap;
	-webkit-transform-origin: left center;
	-ms-transform-origin: left center;
	transform-origin: left center;
}
