/*
Theme Name: Jake's Social Good Fund Theme
Template: twentytwentyone
Author: Child Theme Configurator
Description: This is a theme created by Jake for Social Good Fund
Version: 1.0.1761524157
Updated: 2025-10-27 00:15:57

*/

body {
	line-height: 1.5;
}

#masthead {
	position: fixed;
	top: 0;
	z-index: 12;
	width: 100%;
	max-width: 100%;
	color: #fff;
	border-color: #fff;
	box-sizing: border-box;
	transition: background-color 300ms ease, color 260ms, padding 180ms ease;
	padding-top: 20px;
	padding-bottom: 20px;
}

#masthead.scrolled {
	background-color: rgba(27,27,27,0.9);
	padding-top: 10px;
	padding-bottom: 10px;
}

@media only screen and (min-width: 482px) {
	#site-navigation {
		margin-right: 50px;
	}
}

@media only screen and (max-width: 482px) {
	li.menu-item a {
		text-align: center;
	}
	.parallax h1 {
		font-size: 2em !important;
	}
	.custom-logo-link img {
		max-width: 50% !important;
	}
}

.menu-button-container #primary-mobile-menu .dropdown-icon {
	color: white;
}

.menu-item.current_page_item {
	border: 1px solid white;
	border-radius: 50px;
}

.menu-item.current_page_item a {
	text-decoration: none!important;
}

.primary-navigation a,
.primary-navigation a:hover,
.primary-navigation a:link,
.primary-navigation a:visited {
	color: white;
}

blockquote {
	margin-top: 0px;
}

#main {
	padding-top: 0px;
	padding-bottom: 0px;
}

.block.first::before {
	content: '';
	display: block;
	position: absolute;
	top: 0;
	width: 100%;
	height: 60%;
	background: linear-gradient(to bottom,rgba(27,27,27,0.3) 0%,rgba(27,27,27,0.15) 40%,rgba(0,0,0,0) 100%);
	pointer-events: none;
}


.block {
	margin-top: 0px;
	margin-bottom: 0px;
}

.block.content {
	padding: 60px 40px;
	overflow: auto;
}

.block.text {
	text-align: center;
	min-height: 300px;
}

.block.parallax {
	height: 100vh;
	background-attachment: fixed;
	background-position: 50% 11.64%;
	background-repeat: no-repeat;
	background-size: cover;
	display: grid;
	align-items: center;
}

.block.content input,
.block.content textarea
{
	border: var(--form--border-width) solid var(--secondary-color);
}

h1, h2, h3, p, .button{
	font-family: "Raleway", sans-serif;
}

h2 {
	margin-top: 20px;
}

.parallax h1 {
	font-size: 80px;
	font-weight: 700;
	margin-bottom: 15px;
	margin-left: 0px;
	margin-right: 0px;
	text-align: center;
	text-shadow: rgb(33,33,33) 1px 1px 0px;
}

.site .button {
	display: inline-block;
	border-radius: 50px;
	margin-top: 10px;
	margin-bottom: 10px;
}

.imageCircle {
	border-radius: 50%;
}


.WYSIWYG img {
	max-width: 100%;
}
.WYSIWYG p {
	margin-bottom: 10px;
}

/** PEOPLE BLOCK **/
.block.people .block.content {
    display: flex;
    gap: 20px; 
	flex-direction: row;
}

.flex-one-quarter, .flex-three-quarters {
    box-sizing: border-box;
    padding: 15px;
	flex-grow: 0;
}

@media (max-width: 767px) {
	.block.people .block.content {
		flex-direction: column;
	}
	.flex-one-quarter, .flex-three-quarters {
		width: 100%;
		margin: 0;
	}
}



.flex-three-quarters p,
.flex-three-quarters div.paragraph {
	margin-bottom: 10px;
}

.flex-one-quarter {
    flex-basis: 25%;
}

.flex-one-quarter img {
	max-height: 330px;
	max-width: 330px;
	height: auto !important;
	width: auto !important;
}

.flex-three-quarters {
    flex-basis: 75%;
}

/** FOOTER **/
footer {
	text-align: center;
	padding: 40px;
}

#social {
	margin-top: 20px;
	margin-bottom: 20px;
}
#social a {
	text-decoration: none;
}
#social a:focus {
	background: inherit;
	color: inherit;
}


blockquote::before {
	position: absolute;
	content: '\201C';
	top: 0.75em;
	left: 0.5em;
	font-size: 2em;
	line-height: 1;
	font-weight: bold;
}
blockquote {
	letter-spacing: .5px;
	font-style: italic;
	position: relative;
	padding: 1.5em 2.5em;
	background: rgba(0,0,0,0.05);
	font-size: 17px;
	font-weight: 500;
	line-height: 1.75;
	text-align: left;
	margin: 0 auto 15px;
}


/* Homepage Sub Blocks */
.subBlocks {
	display: flex;
      justify-content: space-between;
      gap: 20px; /* space between boxes */
      flex-wrap: wrap;
}

.subBlock {
      flex: 1;
      min-width: 250px; /* ensures boxes don’t get too narrow */
      background-color: white;
      padding: 20px;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
      border-radius: 8px;
    }

/* Responsive: stack boxes on small screens */
@media (max-width: 768px) {
	.subBlocks,
	.twoColumnWYSIWYG {
		flex-direction: column;
	}
	.subBlock,
	.column.WYSIWYG {
		width: 100%;
	}
}

.twoColumnWYSIWYG {
	display: flex;
	flex-direction: row;
	gap: 20px;
}

.twoColumnWYSIWYG .column.WYSIWYG {
	flex: 1;
	padding: 20px;
}



/** MENU FIXES **/
/* Removes + and - buttons that are on toolbar by default*/
button.sub-menu-toggle {
	display: none !important;
}
/* Removes highlight when clicking on a href="#" parent item */
li.menu-item a:focus {
	outline: none !important;
	text-decoration: none !important;
	background: inherit !important;
}
/* Stops rounding corners on active items in the a flyout submenu and underline instead */
ul.sub-menu li.current-menu-item {
	border:none !important;
	border-radius: unset;
	text-decoration: underline;
}