/*
Theme Name: BlankSlate
Theme URI: https://github.com/tidythemes/blankslate
Author: TidyThemes
Author URI: http://tidythemes.com/
Description: <strong>UPDATE</strong> - 4.0+ is here, completely overhauled, yet again. As always, <a href="http://tidythemes.com/concept/#upgrading">use caution when upgrading</a> (tidythemes.com/concept/#upgrading) and <a href="http://tidythemes.com/concept/">learn the TidyThemes concept</a> (tidythemes.com/concept). &nbsp; &rarr; <em><strong>CAUTION</strong>: If you're child theming or have clients that are child theming on top of BlankSlate (not the recommended use), please do not blindly upgrade to newer versions.</em> &nbsp; &rarr; <strong>DESCRIPTION</strong>: BlankSlate is the definitive WordPress HTML5 boilerplate starter theme. We've carefully constructed the most clean and minimalist theme available anywhere for designers/developers to use as a base/foundation to build websites for clients or to build completely custom themes from scratch to release faster. Clean, semi-minified, unformatted and valid code, SEO-friendly, no programmer comments, standardized and as white label as possible and most importantly, CSS reset for cross-browser-compatability and no intrusive visual CSS styles added whatsoever. A perfect skeleton theme that blows any others like it (the subsequent underscores.me for example) completely out of the water, as they're simply too overcomplicated for what people really want in this kind of theme. Now comes with jQuery enqueued and ready to go. &nbsp; &rarr; <strong>SUPPORT</strong>: Please use the <a href="http://tidythemes.com/forum/">official support forum</a> (tidythemes.com/forum). Comments and suggestions for improving BlankSlate, please see "<a href="http://tidythemes.com/tidythemes-sucks/">TidyThemes Sucks!</a>" (tidythemes.com/tidythemes-sucks). Just getting started? <a href="http://tidythemes.com/want-to-learn-css/">Want to learn CSS?</a> (tidythemes.com/want-to-learn-css) &nbsp; &rarr; <strong>WHAT'S NEW?</strong>: We stripped down as much custom, extraneous, superfluous junk code as we could and greatly improved the HTML5 structure. <a href="http://make.wordpress.org/themes/author/chipbennett/">Chip Bennett</a> (make.wordpress.org/themes/author/chipbennett), a highly experienced programmer and official WordPress administrator, worked closely with us to audit the theme code for quality. <a href="http://themes.trac.wordpress.org/changeset?old_path=/blankslate/3.3&new_path=/blankslate/4.0">See</a> (themes.trac.wordpress.org/changeset?old_path=/blankslate/3.3&new_path=/blankslate/4.0) just how much we've revamped things. Last, but not least, BlankSlate has now been <a href="https://github.com/tidythemes/blankslate">opened up on GitHub</a> (github.com/tidythemes/blankslate) if anyone would like to make suggested code additions/improvements. Thank you for using BlankSlate.
Version: 9999.0.0-sdi
Update URI: false
License: GNU General Public License
License URI: https://www.gnu.org/licenses/gpl.html
Tags: one-column, two-columns, custom-menu, featured-images, microformats, sticky-post, threaded-comments, translation-ready
Text Domain: blankslate

BlankSlate WordPress Theme © 2011-2017 TidyThemes
BlankSlate is distributed under the terms of the GNU GPL
*/

html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{font-size:100%;font:inherit;padding:0;border:0;margin:0;vertical-align:baseline}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}table{border-collapse:collapse;border-spacing:0}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}.clear{clear:both}
.sticky{}.bypostauthor{}.wp-caption{}.wp-caption-text{}.gallery-caption{}.alignright{}.alignleft{}.aligncenter{}.screen-reader-text{clip:rect(1px, 1px, 1px, 1px);position:absolute !important}


/* ==========================================================================
   SDI 2026 START: new design (LaBov XD, Oct 2026)
   Only the new pages load this file, through the SDI 2026 block in header.php.
   The old pages keep css/reset.css + css/styles.css.
   To undo: delete everything from this START comment to the END comment.
   ========================================================================== */

/*
 * Sizes: the XD design is 1440px wide.
 *
 * Font sizes use clamp(min, rem + vw, max), all in rem (1rem = 16px by default):
 * the middle value grows in a straight line from the min at a 375px-wide phone
 * to the XD size at 1440px; the max stops it growing past that. The rem part
 * means browser zoom and the visitor's font-size setting still enlarge the text
 * (WCAG 1.4.4). Each max is at most 2.5x its min, so zooming can always reach 200%.
 *
 * Spacing uses clamp(min px, vw, max px): the vw value hits the XD size at 1440px.
 */
/* ---------- Reset (small; adds to the theme reset at the top of this file) ---------- */

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

body,
h1, h2, h3, h4, h5, h6,
p, ul, ol, figure {
  margin: 0;
  padding: 0;
}

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


/* ---------- Colors and fonts (from XD Specs) ---------- */

:root {
  --red: #C31230;
  --red-dark: #850C20;     /* left end of the header gradient */
  --text: #222222;
  --gray-label: #9B9B9B;   /* "Question 1 of 4" */
  --font: "Montserrat", Helvetica, Arial, sans-serif;
}

body {
  background: #fff;
  color: var(--text);
  font-family: var(--font);
  font-weight: 400;
  font-size: clamp(1.0625rem, 0.8204rem + 1.0329vw, 1.75rem);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}


/* ---------- Buttons ---------- */

/* Solid red pill: popup "Close", "Step 2: Download Letter of Intent" */
.btn-solid {
  display: inline-block;
  background-color: var(--red);
  border-radius: 999px;
  color: #fff;
  font-weight: 500;
  font-size: clamp(1rem, 0.7359rem + 1.1268vw, 1.75rem);
  line-height: 1.2;
  padding: max(0.6em, 12px) 2em;   /* max(): at least 12px, so phones get a ~44px tap target */
  text-align: center;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.btn-solid:hover,
.btn-solid:focus-visible {
  background-color: var(--red-dark);
}


/* ---------- Questionnaire pages (page-form.php, page-dl.php) ---------- */

/* Red gradient band with the logo */
#header-signup {
  background: linear-gradient(100deg, var(--red-dark), var(--red));
  padding: clamp(28px, 4.1vw, 59px) 16px;
}

#header-signup .logo {
  width: clamp(220px, 35.8vw, 515px);
  margin: 0 auto;
}

.eligibility {
  max-width: 1171px;   /* widest XD text box (1139px, thank-you) + side padding */
  margin: 0 auto;
  padding: clamp(32px, 4.5vw, 65px) 16px clamp(56px, 8.6vw, 124px);
  text-align: center;
}

/* "Step 1: Eligibility Questionnaire" */
.form-hero-copy {
  color: var(--red);
  font-weight: 500;
  font-size: clamp(1.0625rem, 0.7324rem + 1.4085vw, 2rem);
  line-height: 1.5;
}

/* "Question 1 of 4" */
.q-nmbr p {
  color: var(--gray-label);
  font-weight: 700;
  font-size: clamp(0.875rem, 0.5669rem + 1.3146vw, 1.75rem);
  line-height: 1.7;
  margin-top: clamp(16px, 3.1vw, 45px);
}

.form-q {
  max-width: 1105px;
  margin: 0 auto;
}

/* The question itself */
.form-q p {
  color: #000;
  font-weight: 200;
  font-size: clamp(1.625rem, 0.8988rem + 3.0986vw, 3.6875rem);
  line-height: 1.22;
  margin-top: clamp(4px, 0.7vw, 10px);
}

/* Bullet list under the question (Questions 2 and 3) */
.form-q ul {
  max-width: 1043px;
  margin: clamp(24px, 4.4vw, 63px) auto 0;
  padding-left: 1em;
  color: var(--text);
  font-weight: 500;
  font-size: clamp(1rem, 0.6479rem + 1.5023vw, 2rem);
  line-height: 1.72;
  text-align: left;
}

/* Italic note under the question (Question 4) */
.form-q .q-note {
  color: var(--text);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(1rem, 0.6479rem + 1.5023vw, 2rem);
  line-height: 1.56;
  margin-top: clamp(24px, 4.7vw, 67px);
}

/* Question 4 is long, so XD sets it smaller */
.form-q:has(.q-note) > p:first-child {
  font-size: clamp(1.5rem, 0.9498rem + 2.3474vw, 3.0625rem);
  line-height: 1.33;
}

/* No / Yes */
.elig-btns {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  max-width: 811px;
  margin: clamp(40px, 7vw, 101px) auto 0;
}

.elig-btn {
  display: inline-block;
  min-width: clamp(120px, 13.9vw, 200px);
  border: 2px solid var(--red);
  border-radius: 999px;
  color: var(--red);
  font-weight: 500;
  font-size: clamp(1.25rem, 0.8539rem + 1.6901vw, 2.375rem);
  line-height: 1.2;
  padding: 0.79em 1em;   /* 110px tall at 1440, as in XD */
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.elig-btn:hover,
.elig-btn:focus-visible {
  background-color: var(--red);
  color: #fff;
}

/* Letter of Intent page and its thank-you message */
.dl-msg {
  max-width: 1073px;
  margin: 0 auto;
  color: #000;
  font-weight: 200;
  font-size: clamp(1.5rem, 0.9498rem + 2.3474vw, 3.0625rem);
  line-height: 1.33;
  padding-top: clamp(0px, 2vw, 29px);   /* XD text starts 94px below the header */
}

/* Hidden until js/modal.js adds is-shown (a class, not the hidden attribute,
   so the WordPress editor can't strip it) */
#dl-thanks {
  display: none;
}

#dl-thanks.is-shown {
  display: block;
}

#dl-thanks .dl-msg {
  max-width: 1139px;
}

.dl-btn {
  display: block;
  max-width: 800px;
  margin: clamp(40px, 7.4vw, 107px) auto 0;
  font-size: clamp(1rem, 0.6699rem + 1.4085vw, 1.9375rem);
  padding: max(0.42em, 12px) 1em;
}


/* ---------- Popup (native <dialog>, opened by js/modal.js) ---------- */

#modal {
  width: min(969px, 100% - 32px);
  border: 1px solid #707070;
  padding: clamp(40px, 7.7vw, 111px) clamp(20px, 6.2vw, 89px) clamp(40px, 8.3vw, 120px);
  text-align: center;
}

#modal::backdrop {
  background: rgba(0, 0, 0, 0.75);
}

/* Stop the page behind from scrolling while the popup is open */
#modal:modal {
  overscroll-behavior: contain;
}

#modal::backdrop {
  overflow: hidden;
  overscroll-behavior: contain;
}

#modal_content p {
  color: #000;
  font-weight: 200;
  font-size: clamp(1.25rem, 0.8759rem + 1.5962vw, 2.3125rem);
  line-height: 1.35;
}

#modal .btn-solid {
  display: block;
  width: 100%;
  max-width: 591px;
  margin: clamp(28px, 4.5vw, 65px) auto 0;
}


/* ---------- Home page (page-home.php) ---------- */

/* Hero: red gradient multiplied over the photo, as in XD.
   The photo is the XD export, in the Media Library (already lightened, as in the design). */
.hero-intro {
  background:
    linear-gradient(113deg, var(--red-dark), var(--red)),
    url("/wp-content/uploads/2026/11/hero-cyclists-scaled.jpg") center / cover;
  background-blend-mode: multiply;
  padding: clamp(80px, 14.65vw, 211px) 16px clamp(48px, 8.26vw, 119px);
  text-align: center;
}

.hero-intro .logo {
  width: clamp(220px, 35.8vw, 515px);
  margin: 0 auto;
}

#site-description {
  max-width: 10.5em;   /* wraps after "Our", as in XD */
  margin: clamp(20px, 3.47vw, 50px) auto 0;
  color: #fff;
  font-weight: 500;
  font-size: clamp(1.625rem, 1.2069rem + 1.784vw, 2.8125rem);
  line-height: 1.22;
}

/* Intro paragraph and Three Pillars */
.intro,
.pillars {
  padding: 0 16px;
  text-align: center;
}

.intro p,
.pillars p {
  max-width: 1043px;
  margin: 0 auto;
  font-weight: 500;
  font-size: clamp(1.0625rem, 0.7324rem + 1.4085vw, 2rem);
  line-height: 1.5;
}

.intro {
  padding-top: clamp(40px, 5.56vw, 80px);
}

.pillars {
  padding-bottom: clamp(32px, 4.8vw, 69px);
}

.pillars h2 {
  margin-top: clamp(48px, 6.94vw, 100px);
  color: var(--red);
  font-weight: 200;
  font-size: clamp(2.375rem, 1.1866rem + 5.0704vw, 5.75rem);
  line-height: 1.22;
}

.pillars p {
  margin-top: clamp(20px, 3.6vw, 52px);
}

.pillar-list {
  list-style: none;
  margin-top: clamp(32px, 5.5vw, 79px);
  color: #000;
  font-weight: 500;
  font-size: clamp(1.375rem, 0.8028rem + 2.4413vw, 3rem);
  line-height: 1.25;
}

/* Space between items, not between lines, so a wrapped item still reads as one */
.pillar-list li + li {
  margin-top: clamp(12px, 2.1vw, 30px);
}

/* Pillar bands */
.pillar-band {
  --slant: 9.8vw;   /* how far the slanted edges drop across the page: 141px at 1440 */
  text-align: center;
}

/* clip-path cuts the box to a parallelogram: top edge rises to the right, bottom edge too */
.band-red {
  background: var(--red);
  color: #fff;
  clip-path: polygon(0 var(--slant), 100% 0, 100% calc(100% - var(--slant)), 0 100%);
}

/* Each band's top/bottom space, from XD (the slant is added on the red ones) */
.band-tertiary {
  padding: calc(var(--slant) + clamp(24px, 4.9vw, 71px)) 0 calc(var(--slant) + clamp(20px, 3.3vw, 48px));
}

.band-economic {
  padding: clamp(40px, 6vw, 87px) 0 clamp(32px, 4vw, 57px);
}

.band-human {
  padding: calc(var(--slant) + clamp(32px, 7.9vw, 114px)) 0 calc(var(--slant) + clamp(32px, 9vw, 129px));
}

.pillar-band h3 {
  max-width: 965px;   /* 933px + side padding, so "Development" wraps as in XD */
  margin: 0 auto;
  padding: 0 16px;
  font-weight: 700;
  font-size: clamp(1.875rem, 1.1048rem + 3.2864vw, 4.0625rem);
  line-height: 1.2;
}

.band-economic h3 {
  color: #000;
}

.band-sub,
.band-text {
  margin: clamp(12px, 2.2vw, 32px) auto 0;
  padding: 0 16px;
  font-size: clamp(1rem, 0.7579rem + 1.0329vw, 1.6875rem);
  line-height: 1.48;
}

.band-sub {
  max-width: 1000px;
  font-weight: 700;
}

.band-text {
  max-width: 1164px;   /* 1132px + side padding */
  font-weight: 500;
}

.band-economic .band-text {
  max-width: 1091px;
  color: var(--text);
}

.band-human .band-text {
  max-width: 943px;
  font-size: clamp(1rem, 0.8019rem + 0.8451vw, 1.5625rem);
  line-height: 1.6;
}

/* Giving example: text on one side, photo running to the page edge on the other */
.giving-example {
  display: grid;
  grid-template-columns: 52% 48%;
  align-items: center;
  margin-top: clamp(40px, 5vw, 72px);
  text-align: left;
}

.band-economic .giving-example {
  margin-top: clamp(40px, 8.1vw, 117px);
}

.band-human .giving-example {
  grid-template-columns: 54% 46%;
  margin-top: clamp(40px, 7.1vw, 102px);
}

.example-text {
  padding: 0 clamp(16px, 4.5vw, 65px) 0 clamp(16px, 7.1vw, 102px);
  font-weight: 500;
  font-size: clamp(1rem, 0.8019rem + 0.8451vw, 1.5625rem);
  line-height: 1.6;
}

.band-economic .example-text {
  padding: 0 clamp(16px, 4.8vw, 69px) 0 clamp(16px, 5.8vw, 84px);
  color: #000;
}

.example-text p + p {
  margin-top: clamp(8px, 1.2vw, 17px);
}

.example-label {
  font-size: clamp(0.875rem, 0.743rem + 0.5634vw, 1.25rem);
  line-height: 1.35;
}

.band-economic .example-label {
  color: var(--red);
}

.example-title {
  font-weight: 700;
}

/* Photo shapes from XD. object-fit: cover crops the photo to fill the shape. */
.example-photo img {
  width: 100%;
  object-fit: cover;
}

.band-tertiary .example-photo img { aspect-ratio: 692 / 399; object-position: left center; }   /* XD shows the left part */
.band-economic .example-photo img { aspect-ratio: 748 / 535; }
.band-human .example-photo img    { aspect-ratio: 662 / 376; }

/* Phones and small tablets: stack the giving example (text, then photo) */
@media (max-width: 767px) {
  .giving-example,
  .band-human .giving-example {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .example-text,
  .band-economic .example-text {
    padding: 0 16px;
  }
}

/* Eligibility Criteria and Local Management */
.elig-criteria,
.local-mgmt {
  padding: 0 16px;
  text-align: center;
}

.elig-criteria {
  padding-top: clamp(40px, 5.9vw, 85px);
}

.local-mgmt {
  padding-bottom: clamp(24px, 1.9vw, 28px);
}

.elig-criteria h2,
.local-mgmt h2 {
  max-width: 10em;   /* "Local Management" / "Begins the Process" on two lines, as in XD */
  margin: 0 auto;
  color: var(--red);
  font-weight: 200;
  font-size: clamp(2.5rem, 1.1796rem + 5.6338vw, 6.25rem);
  line-height: 1.22;
}

.elig-criteria p,
.local-mgmt p {
  margin: 0 auto;
  font-weight: 500;
  font-size: clamp(1rem, 0.7579rem + 1.0329vw, 1.6875rem);
  line-height: 1.85;
}

.elig-criteria p {
  max-width: 999px;   /* 967px + side padding */
  color: #000;
}

.local-mgmt p {
  max-width: 1026px;  /* 994px + side padding */
  color: var(--text);
}

.elig-criteria p + p {
  margin-top: clamp(20px, 3.5vw, 50px);   /* XD leaves one blank line between paragraphs */
}

/* Red and black bold lead-in lines */
.elig-criteria .red-bold,
.elig-criteria .bold-lead,
.local-mgmt .red-bold {
  font-weight: 700;
  font-size: clamp(1rem, 0.7359rem + 1.1268vw, 1.75rem);
  line-height: 1.79;
}

/* Two classes, so this wins over the ".elig-criteria p" color above */
.elig-criteria .red-bold,
.local-mgmt .red-bold {
  color: var(--red);
}

.elig-criteria .red-bold {
  margin-top: clamp(20px, 3.8vw, 55px);
}

.elig-criteria .bold-lead {
  max-width: 1032px;
  margin-top: clamp(12px, 1.9vw, 28px);
  color: var(--text);
}

.elig-criteria .bold-lead + p {
  margin-top: clamp(24px, 3.9vw, 56px);
}

.local-mgmt h2 + p {
  margin-top: clamp(24px, 4.1vw, 59px);
}

.local-mgmt .red-bold {
  margin-top: clamp(20px, 3.3vw, 48px);
}

.local-mgmt .red-bold + p {
  margin-top: clamp(4px, 1.1vw, 16px);
}

/* Thin gray line between the two sections */
.section-rule {
  max-width: 1285px;
  height: 2px;
  margin: clamp(40px, 6.5vw, 93px) auto clamp(28px, 4vw, 57px);
  border: 0;
  background: #D8D8D8;
}

/* Process: dark gray, with a downward chevron at the top and bottom */
.process {
  --v: 4.4vw;   /* chevron depth: 63px at 1440 */
  background: #3A3A3A;
  color: #fff;
  clip-path: polygon(0 0, 50% var(--v), 100% 0, 100% calc(100% - var(--v)), 50% 100%, 0 calc(100% - var(--v)));
  padding: clamp(64px, 11.6vw, 167px) 16px calc(var(--v) + clamp(32px, 5.1vw, 73px));
}

.process h2 {
  font-weight: 200;
  font-size: clamp(2.25rem, 1.6338rem + 2.6291vw, 4rem);
  line-height: 1.22;
  text-align: center;
}

/* The three steps in a row */
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 206px));
  justify-content: center;
  column-gap: clamp(8px, 2.9vw, 41px);
  list-style: none;
  margin-top: clamp(24px, 3.4vw, 49px);
  font-weight: 500;
  font-size: clamp(0.875rem, 0.5669rem + 1.3146vw, 1.75rem);
  line-height: 1.55;
  text-align: center;
}

.step-num {
  display: block;
}

.process-details {
  max-width: 1220px;
  margin: clamp(40px, 5.3vw, 76px) auto 0;
}

.process-details h3 {
  font-weight: 200;
  font-size: clamp(1.625rem, 1.2289rem + 1.6901vw, 2.75rem);
  line-height: 1.23;
}

.process-step {
  padding: clamp(16px, 2.8vw, 40px) 0;
}

.process-step:last-child {
  padding-bottom: 0;
}

.process-step + .process-step {
  border-top: 1px solid rgba(255, 255, 255, 0.35);
}

.process-details h3 + .process-step {
  padding-top: clamp(16px, 3vw, 43px);
}

.process-step h4,
.process-step p {
  max-width: 1118px;
  font-size: clamp(1rem, 0.7359rem + 1.1268vw, 1.75rem);
  line-height: 1.43;
}

.process-step h4 {
  font-weight: 700;
  margin-bottom: 4px;
}

.process-step p {
  font-weight: 500;
}

/* "Step 1: Eligibility Questionnaire" button */
.el-quest {
  padding: clamp(48px, 7.8vw, 112px) 16px clamp(48px, 6.9vw, 100px);
  text-align: center;
}

.el-quest .btn-solid {
  font-weight: 400;
  padding: max(0.93em, 12px) 2.07em;   /* 538 x 86px at 1440, as in XD */
}

/* Footer: light gray, with a peak at the top */
#footer {
  --peak: 2.1vw;   /* 30px at 1440 */
  background: #EEEEEE;
  clip-path: polygon(0 var(--peak), 50% 0, 100% var(--peak), 100% 100%, 0 100%);
  padding: clamp(48px, 5.9vw, 85px) 16px 27px;
  color: var(--text);
  font-size: 0.875rem;
  line-height: 1.3;
  text-align: center;
}

#copyright a {
  color: var(--red);
}


/* ---------- WordPress only (not in the static build) ---------- */

/* The theme reset at the top of this file turns off italics and list bullets */
em {
  font-style: italic;
}

.form-q ul {
  list-style: disc;
}

/* The old top bar that header.php prints on every page; the new design has none */
#header {
  display: none;
}

/* The questionnaire screens in XD have no footer (Part B) */
.page-template-page-form #footer,
.page-template-page-dl #footer {
  display: none;
}

/* Old checkmark image on the Letter of Intent page; XD doesn't show it (Part B) */
.confirm-icon {
  display: none;
}

/* ==========================================================================
   SDI 2026 END
   ========================================================================== */
