@charset "UTF-8";

/* CSS Document */

/*
Theme Name: Williamsburg Community Foundation
Theme URI: https://williamsburgcommunityfoundation.org
Author: Consociate
Author URI: https://consociate.marketing
Text Domain: wcf
*/

/* GENERAL 
#################################################### */

html, body {
  overflow-x: hidden;
}

body { font-family: "novel-sans-pro", sans-serif; font-weight: 400; font-style: normal; font-size: 19px }

h1, h2, h3, h4, h5, h6 { font-family: "berthold-baskerville-pro", sans-serif; font-weight: 400; font-style: italic; 
	line-height: 1.25em; margin-bottom: 1.25rem }
h1 { font-size: 60px }
h2 { font-size: 52px }
h3 { font-size: 44px }
h4 { font-size: 34px }
h5 { font-size: 28px }
h6 { font-size: 22px }

.left { text-align: left }
.right { text-align: right }
.center { text-align: center }

/* Fonts */

.norm { font-weight: 400; }
b, strong, .bold { font-weight: 700 }

.caps { text-transform: uppercase }
.small, small { }

.sans { font-family: "novel-sans-pro", sans-serif; font-weight: 400 }
.serif { font-family: "source-serif-pro", serif; font-weight: 600 }

.basker { font-family: "berthold-baskerville-pro", sans-serif; font-weight: 400; font-style: italic }
.georgia { font-family: "georgia", sans-serif; font-weight: 400 }
.georgia-bold { font-family: "georgia", sans-serif; font-weight: 700 }

/* Colors */

.bg-red { background-color: #9A3B26 }
.bg-yellow { background-color: #EFE2BC }
.bg-tan { background-color: #B09574 }
.bg-blue { background-color: #44697D }
.bg-green { background-color: #6E7645 }

.txt-white { color: #fff }
.txt-red { color: #9A3B26 }
.txt-yellow { color: #EFE2BC }
.txt-tan { color: #B09574 }
.txt-blue { color: #44697D }
.txt-green { color: #6E7645 }

/* Header */

#header { background: url("images/pic-placeholder.jpg") center center no-repeat; background-size: cover; min-height: 95vh }

/* Nav */

.navbar-nav { background: #fff; border-radius: 5px;	padding: 20px }
.nav-link, .navbar-nav .nav-link.active { font-family: "source-serif-pro", serif; font-weight: 600; 
	color: #000; font-size: 18px; border-right: 1px solid #000 }
.last .nav-link, .nav-link.last { border-right: 0 }
.nav-link:hover {  color: #ADADAD }
.navbar-expand-lg .navbar-nav .nav-link { padding: 0 15px }
.navbar-brand { width: 250px }

.navbar.bg-blue { padding-top: 10px !important; padding-bottom: 10px !important }
.navbar.bg-blue .navbar-nav { border-radius: 5px; padding-top: 0; padding-bottom: 0; background: transparent; }
.navbar.bg-blue .nav-link { font-size: 16px; color: #fff }

/* Home */

#duo { text-align: center; margin-bottom: 50px }
#duo i { font-size: 75px }
#duo .subhead { font-family: "georgia", sans-serif; font-size: 60px; font-style: normal}
#duo .basker { font-size: 30px }
#duo .give, #duo .apply { padding: 100px 25px; color: #fff }
#duo .give { background: #6E7645; background: linear-gradient(180deg, rgba(110, 118, 69, 0.97) 0%, rgba(55, 59, 35, 0.88) 100%),
	     url('images/pic-placeholder.jpg') center / cover no-repeat; 
	border-radius: 0 50px 50px 0 }
#duo .apply { background: #9A3B26; background: linear-gradient(180deg, rgba(154, 59, 38, 0.75) 0%, rgba(77, 30, 19, 0.97) 100%),
	     url('images/pic-placeholder.jpg') center / cover no-repeat;
	border-radius: 50px 0 0 50px }

#news { margin-top: 50px; padding-top: 50px }
#news .bg-wrap { background: #44697D;
	background: linear-gradient(45deg, rgba(68, 105, 125, 1) 0%, rgba(35, 60, 74, 1) 100%);
	padding: 50px 0 50px; border-radius: 15px }
#news .news-header { padding: 0 50px}
#news .subhead { font-size: 70px; color: #fff }
#news .posts { margin-left: -40px; margin-right: -40px }
#news .post-content { background: #EFE2BC; padding: 25px; color: #000; border-top: 10px solid #385a6b; }
#news .post-meta { color: #44697D; font-size: 22px }
#news .post-title { ; font-size: 28px; margin-bottom: 10px; line-height: 1.25 }
#news .post-title a { color: #000 }
#news .post-excerpt { color: #000; font-size: 18px }


/* Footer */

footer { background: #44697D; color: #fff; font-size: 18px; padding-top: 75px; padding-bottom: 25px }
footer a { color: #fff }
footer i { font-size: 30px }
footer .social { margin-bottom: 25px }
footer .basker { font-size: 26px }
footer .brand .basker { font-size: 22px }
footer .trusted img { width: 100px; margin: 0 5px 25px 5px }
footer .cfns { padding: 10px; background: #fff }
footer .ada a { text-decoration: underline }

footer .serif p { margin-bottom: 5px }
footer a { font-weight: 400 !important}
footer a:hover { color:#fff !important; opacity: .65 }
footer .logo { width: 300px }

/* Pages */

#page-header { padding-top: 400px; padding-bottom: 50px; border-bottom: 10px solid #9A3B26 }

#blog .title { font-family: "georgia", sans-serif; font-weight: 400; font-style: normal }

.submenu { font-family: "georgia", sans-serif; font-weight: 400; color: #6E7645 !important; margin-bottom: 0; padding: 20px 0 }
.submenu a { font-weight: 400; padding: 10px 20px; border-radius: 5px; background-color: #585f34; display: inline-block;
    margin: 5px 0 }
.submenu a:hover { background-color: #858f50; text-decoration: none !important }

/*
####################################################
C O M P O N E N T S
####################################################
*/

/* IMAGES */

img { max-width: 100%; height: auto; }

.rotate { border: 10px solid #fff; rotate: 5deg;
	box-shadow: rgba(50, 50, 93, 0.25) 0px 30px 60px -12px, rgba(0, 0, 0, 0.3) 0px 18px 36px -18px !important; }


/* LINKS */

a { text-decoration: none; transition: 200ms; font-weight: 700; color: #44697D }
a:hover { color: #6E7645 }

a img { transition: 200ms }
a img:hover { opacity: .8 }

/* BUTTONS */

.btn, .wp-block-button__link { font-family: "source-serif-pro", serif; font-weight: 600; font-size: 1.25rem;
	background: #6E7645; color: #fff; text-transform: uppercase; border-radius: 35px; padding: 0.75rem 1.75rem; margin-bottom: 15px }

.btn:hover { background: #545B32; color: #fff }
.wp-block-button__link { 
	transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;  }
.wp-block-button__link:hover { opacity: 0.8 !important; color: #fff; text-decoration: none }

.btn-red { background: #9A3B26; color: #ffffff }
.btn-red:hover { background: #832E1C }

/* Shadows */

.shadowed { box-shadow: rgba(50, 50, 93, 0.25) 0px 30px 60px -12px, rgba(0, 0, 0, 0.3) 0px 18px 36px -18px !important; }
.shadow img { box-shadow: rgba(50, 50, 93, 0.25) 0px 30px 60px -12px, rgba(0, 0, 0, 0.3) 0px 18px 36px -18px !important }
.shadow-text { text-shadow: -1px -1px 1px #fff, 1px 1px 1px rgba(0,0,0,.50) }

/* Rounded edges */

.round { border-radius: 25px }

/* Spacing */

.max-800, .max-1000, .max-1200, .max-w { margin-left: auto; margin-right: auto }
.max-800 { max-width: 800px }
.max-1000 { max-width: 1000px }
.max-1200 { max-width: 1200px }

.mar-0 { margin: 0 }
.mar-top-0 { margin-top: 0 !important }
.mar-btm-0 { margin-bottom: 0 !important }
.mar-btm-15 { margin-bottom: 15px !important }
.mar-btm-25 { margin-bottom: 25px !important }
.mar-btm-50 { margin-bottom: 50px !important }

.pad-0 { padding: 0 }
.pad-25 { padding: 25px }

.edged { padding-left: 0; padding-right: 0 }

/* Positioning */

.pos-rel { position: relative !important }

/*
####################################################
E X T R A S
####################################################
*/

.hide { display: none !important }

/* Anchor scroll sticky menu offset */
html {
  scroll-padding-top: 200px;
}

/* WP admin bar offset */
body.admin-bar .navbar {
    margin-top: 32px;
}

/* Nav scroll */

.navbar-fixed-top.scrolled  {
  background: #fff;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
  transition: background padding box-shadow 200ms ease
}
.navbar-fixed-top.scrolled .navbar-brand {
  width: 150px;
  transition: width 200ms ease
}
.navbar-fixed-top.scrolled .navbar-nav.align-items-center { 
  padding: 10px
}

/* Full-width in WP Block Editor (Cover block) */
.alignfull {
    width:  100vw;
    max-width:  100vw;
    margin-left:  calc(50% - 50vw);
}
.wp-block-cover.alignfull {
    padding-top: 100px; padding-bottom: 100px; margin-top: 50px; margin-bottom: 75px
}
.wp-block-cover.alignfull.flush { margin-top: 0; margin-bottom: 0 }

.wp-block-cover__inner-container { max-width: 1200px }

#XXX { overflow-x: hidden } /* Fix for PC horizontal scroll bars with .alignfull */

/* Image Wraps */

.wrap { height: 325px }
.wrap img { 
	object-fit: cover;
    width: 100%;
    height: 100% !important;
}
.post-image { height: 300px }
.post-image img { 
	object-fit: cover;
    width: 100%;
    height: 100% !important;
}

/* Nav dropdown on hover */
.dropdown:hover>.dropdown-menu {
  display: block;
}

.dropdown>.dropdown-toggle:active {
  /*Without this, clicking will make it sticky*/
    pointer-events: none;
}

/* HEADING LINES */

/* under + left */
.bordered { position: relative; display: inline-block; margin-bottom: 50px }
.bordered::after { 
	content: "";
	position: absolute;
	bottom: -15px; /* Aligns with bottom of parent */
	left: 0;   /* Starts at left */
	width: 150px;
	height: 10px; /* Adjust thickness as needed */
	background-color: #6E7645; /* Adjust color */
}

.heading {
  position: relative;
  display: inline-block; /* keeps text width tight */
  text-align: center;
}
.heading::after {
  content: "";
  display: block;
  width: 100px; /* set your line width */
  height: 10px; /* thickness of the line */
  background-color: #D22630; /* color of the line */
  margin: 8px auto 0; /* centers line below text */
}

/* Line centered after text vertically */
.line {
  display:inline-block;
  padding: 10px 10px 15px; /* bottom padding should be higher to make up for pseudo border height */
  background: linear-gradient(90deg, transparent 25%, #fff 25%, #fff 75%, transparent 75%);
  background-size: 100% 5px;
  background-position: 0% 100%;
  background-repeat: no-repeat;
}

/* Line after text Horizontally */
#partners .heading-line { 
  display: flex;
  align-items: center;
  gap: 1em; /* space between text and line */ }
#partners .line { 
  flex-grow: 1;
  height: 10px;
  background-color: #64B9AE; /* line color */ }


/* Lines on both sides of heading */

.heading-lines {
	display: flex;
	align-items: center;
	gap: 30px;
	width: 100%;
	margin: 0 0 25px 0;
	
	flex-shrink: 0;
	color: #44697D;
	font-size: 60px;
	font-weight: 400 ;
	font-style: italic; padding-bottom: 15px
}

.heading-lines::before,
.heading-lines::after {
	content: "";
	flex: 1;
	height: 10px;
	background: #44697D;
	opacity: .25
}

.heading-lines.green::before,
.heading-lines.green::after { background: #6E7645 }
.heading-lines.green { color: #6E7645 }

.heading-lines.yellow::before,
.heading-lines.yellow::after { background: #EFE2BC }
.heading-lines.yellow { color: #EFE2BC }



/*
####################################################
M E D I A  Q U E R I E S
####################################################
*/

/*
::::::::::::::::::::::::::::::::::::::::::::::::::::
Bootstrap 4 breakpoints
*/

/* Custom */
@media (min-width: 1925px) {

}

/* Extra large devices (large desktops, 1200px and up)
 * No media query since this is the default in Bootstrap because it is "mobile first"
 */
@media (min-width: 1200px) {

}

/* Large devices (desktops, 992px and up) */
@media (max-width: 1199px) {


}

/* Medium devices (tablets, 768px and up) The navbar toggle appears at this breakpoint */
@media (max-width: 991px) {
	
	.m-hide { display: none }
	.m-show { display: block }
	
	/* Breaks WP BLOCK columns early w/ tweaks */
	.wp-block-columns { display:block } 
	.wp-block-column:nth-child(2n),
		.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column:nth-child(2n) { margin-left: 0 }
	
	.early-stack.wp-block-columns {
        flex-direction: column !important;
        flex-wrap: nowrap !important;
    }
    .early-stack.wp-block-columns > .wp-block-column {
        flex-basis: 100% !important;
        flex-grow: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
    }
	
	/*
	.offcanvas { background: rgb(10,99,153);
		background: linear-gradient(166deg, rgba(10,99,153,1) 0%, rgba(108,201,244,1) 30%, rgba(0,147,216,1) 100%); }
	.offcanvas-title img { max-width: 200px }
	.navbar-expand-lg .navbar-nav .nav-link { color: #0A6399; font-size: 22px; font-weight: 700 }
	.offcanvas .navbar-nav .nav-link.active { border-bottom: 0 }
	*/
	
	.navbar-toggler { background-color: #44697D; border-color: #44697D; color: #fff; padding-top: 10px; padding-bottom: 10px; }
	.navbar-toggler i { font-size: 24px }

	.offcanvas-body .nav-link, .offcanvas-body .navbar-nav .nav-link.active { border-right: 0; color: #fff; margin: 5px 0 }

	.offcanvas { background:
		linear-gradient(0deg,rgba(154, 59, 38, .95) 0%, rgba(84, 29, 18, .9) 100%),
		url('/wp-content/uploads/2026/09/Farm-at-Sunrise-1920.jpg') center / cover no-repeat }
	.navbar.bg-blue .nav-link { font-size: 15px }
	.navbar-nav { background: transparent }
	.offcanvas-title { color: #fff; font-size: 34px }
	
	body { font-size: 17px }
	
	h1 { font-size: 52px }
	h2 { font-size: 44px }
	h3 { font-size: 34px }
	h4 { font-size: 28px }
	h5 { font-size: 24px }
	h6 { font-size: 20px }
	
	.is-menu.is-dropdown form { position: relative !important }
	.search-close { right: 10px !important }
	
	#numbers .sans { font-size: 44px !important }
	
	#head h1 { font-size: 45px !important }
	
	.wp-block-cover.alignfull { padding-top: 75px; padding-bottom: 75px }
	
	.heading-lines { font-size: 50px }
}

/* Small devices (landscape phones, 544px and up) */
@media (max-width: 767px) {
	
	.reverse-mobile { flex-direction: column-reverse }
	
	.wp-block-image .alignright { margin: 0 }
	.wp-block-image .alignright img { width: 100% }
	
	sr7-content .basker { font-size: 30px !important }
	
	.navbar.bg-blue { line-height: 1.25rem }
	
	.navbar-brand { width: 175px }
	
	#news .news-header { padding: 0 25px }
	#news .news-header .btn.shadowed { border-radius: 20px; line-height: 1.25rem }
	#news .subhead { font-size: 50px }
	
	footer .col-md-2 { margin-bottom: 30px }
	
	#head h1 { font-size: 35px !important }
	#head .georgia { font-size: 22px !important }
	
	.submenu { background-color: #585f34 }
	.submenu a { font-size: 15px; padding: 5px 10px }
	
	:where(.wp-block-columns.is-layout-flex.no-mobile-gap) {
		gap: 0;
	}
	
	#timeline em { font-size: 14px }
	

/* Extra small devices (portrait phones, less than 544px) */
@media (max-width: 543px) {

}

/*
::::::::::::::::::::::::::::::::::::::::::::::::::::
Custom media queries
*/

/* Set width to make card deck cards 100% width */
@media (max-width: 950px) {

}