:root {
  --deep-green: #00694f;
  --dark-green: #006047;
  --mid-green: #00845d;
  --bright-green: #08ae78;
  --mint: #91d7c0;
  --peach: #f8eade;
  --ink: #251c18;
  --soft-white: #fffaf5;
  --content-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--peach);
  font-family: "Avenir Next", Avenir, "Century Gothic", Arial, sans-serif;
  font-size: 14px;
}

a {
  color: inherit;
}

.topbar {
  min-height: 34px;
  display: grid;
  grid-template-columns: 22% 1fr 9%;
  align-items: stretch;
  color: white;
  background: var(--deep-green);
  font-size: 9px;
}

.topbar-brand,
.topbar-donate {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.topbar-brand {
  border-right: 1px solid rgba(255, 255, 255, .1);
}

.topbar-donate {
  background: #00765b;
  border-left: 1px solid rgba(255, 255, 255, .12);
}

.topnav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 2vw, 27px);
}

.topnav a {
  text-decoration: none;
  white-space: nowrap;
}

.topnav a:hover,
.footer a:hover {
  text-decoration: underline;
}

.login-link {
  margin-left: 10px;
}

.intro {
  min-height: 172px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--peach);
}

.intro-inner {
  width: min(450px, calc(100% - 32px));
  display: grid;
  grid-template-columns: 1fr 112px;
  align-items: center;
  gap: 16px;
}

.intro-copy {
  font-size: 15px;
  line-height: 1.33;
  font-weight: 700;
  text-align: justify;
}

.intro-copy p {
  margin: 0;
}

.intro-copy .intro-tagline {
  margin-top: 3px;
  color: var(--deep-green);
  font-style: italic;
  text-align: left;
}

.logo {
  width: 112px;
  height: 112px;
  display: block;
  object-fit: contain;
}

.feature-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-height: 84px;
}

.feature {
  min-height: 84px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 8px;
  color: white;
  text-align: center;
  text-decoration: none;
}

.feature-mission { background: #00745e; }
.feature-donate { background: #08ae78; }
.feature-events { background: #00845e; }
.feature-grants { background: #005e47; }

.feature-title {
  font-size: 24px;
  line-height: 1.1;
  font-weight: 300;
}

.feature-subtitle {
  font-size: 9px;
  line-height: 1.25;
}

.feature-donate .feature-subtitle {
  text-decoration: underline;
}

.news-hero {
min-height: 174px;
position: relative;
display: flex;
justify-content: center;
overflow: hidden;
background-color: #8caeb0;
background-image:
linear-gradient(rgba(20, 44, 43, .12), rgba(20, 44, 43, .12)),
url("../images/cabin-1.jpg");
background-position: center 54%;
background-size: cover;
}

.news-content {
width: min(560px, calc(100% - 28px));
padding: 13px 0 11px;
text-align: center;
}

.news-content > h1 {
margin: 0 0 7px;
color: white;
font-size: 25px;
font-weight: 400;
text-shadow: 0 1px 4px rgba(0, 0, 0, .25);
}

.news-cards {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 5px;
}

.news-card {
min-height: 65px;
display: grid;
grid-template-columns: 1fr 32px;
gap: 5px;
padding: 6px;
background: var(--peach);
text-align: left;
}

.news-category {
margin: 0 0 3px;
font-size: 7px;
color: #625b53;
}

.news-card h2 {
margin: 0;
font-size: 8px;
line-height: 1.35;
}

.news-meta {
margin: 5px 0 0;
font-size: 7px;
color: var(--green-dark);
}

.news-thumb {
min-height: 34px;
background-position: center;
background-size: cover;
}

.thumb-one {
background-image: url("../images/bike-team.jpg");
}

.thumb-two {
/* background-image: url("../images/coast.jpg"); */
background-color: blue;
}

.thumb-three {
/* background-image: url("../images/news-sky.jpg"); */
background-color: black;
}

.small-button,
.donate-button {
display: inline-block;
color: white;
background: var(--green-dark);
text-decoration: none;
}

.small-button {
margin-top: 5px;
padding: 5px 16px;
font-size: 8px;
}

.quote-strip {
min-height: 35px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
color: white;
background: var(--green-bright);
text-align: center;
}

.quote-strip p {
margin: 0;
font-size: 14px;
font-style: italic;
}

.quote-strip span {
font-size: 8px;
}

.events-section {
min-height: 97px;
padding: 6px 16px 16px;
background: var(--mint);
text-align: center;
}

.events-section h2 {
margin: 0 0 5px;
color: #68786f;
font-size: 23px;
font-weight: 400;
}

.events-empty {
width: min(560px, 100%);
min-height: 43px;
margin: auto;
display: grid;
place-items: center;
background: var(--peach);
color: #6e625b;
font-size: 9px;
font-style: italic;
}

.donate-section {
min-height: 230px;
display: grid;
grid-template-columns: 35.5% 64.5%;
background: var(--peach);
}

.coast-photo {
min-height: 230px;
overflow: hidden;
}

.coast-photo img {
width: 100%;
height: 100%;
min-height: 230px;
display: block;
object-fit: cover;
}

.donate-content {
display: grid;
grid-template-columns: minmax(180px, 1.4fr) minmax(145px, .8fr);
align-items: center;
gap: 26px;
padding: 18px 8%;
}

.bike-photo {
width: 100%;
max-height: 190px;
object-fit: cover;
border: 1px solid #777;
}

.donate-copy {
text-align: center;
}

.donate-copy h2 {
margin: 0;
font-size: 30px;
font-weight: 400;
}

.donate-copy p {
margin: 5px 0 16px;
color: #77b7a9;
font-size: 14px;
font-style: italic;
white-space: nowrap;
}

.donate-button {
min-width: 80px;
padding: 9px 20px;
font-size: 10px;
}

.footer {
min-height: 150px;
display: grid;
grid-template-columns: 1fr 1.3fr .55fr;
gap: 30px;
padding: 16px 2.5% 20px;
background: var(--peach);
}

.footer h2 {
margin: 0 0 9px;
font-size: 14px;
}

.footer p,
.footer a,
.footer label,
.footer small {
font-size: 9px;
}

.footer-about p {
line-height: 1.55;
}

.footer-signup {
align-self: end;
display: flex;
flex-direction: column;
}

.footer-signup input {
margin: 3px 0 6px;
padding: 7px 2px;
border: 0;
border-bottom: 1px solid #827b74;
background: transparent;
font: inherit;
font-size: 10px;
}

.footer-signup button {
min-height: 25px;
border: 0;
color: white;
background: var(--green-dark);
font: inherit;
font-size: 9px;
cursor: pointer;
}

.footer-signup small {
margin-top: 5px;
color: #706862;
}

.footer-links {
display: flex;
flex-direction: column;
gap: 4px;
}

.footer-links h2 {
margin-bottom: 3px;
font-size: 9px;
}

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

.social-tab {
position: fixed;
top: 48%;
right: 0;
z-index: 5;
display: flex;
flex-direction: column;
background: var(--green-dark);
}

.social-tab a {
width: 22px;
height: 21px;
display: grid;
place-items: center;
color: white;
font-size: 11px;
text-decoration: none;
}

@media (min-width: 1400px) {
.topbar {
grid-template-columns: 22% 1fr 9%;
}

.intro {
min-height: 190px;
}

.news-hero {
min-height: 205px;
}

.events-section {
min-height: 115px;
}

.donate-section,
.coast-photo,
.coast-photo img {
min-height: 260px;
}
}

@media (max-width: 700px) {
.topbar {
grid-template-columns: 1fr auto;
}

.topbar-brand {
justify-content: flex-start;
padding-left: 14px;
}

.topnav {
grid-column: 1 / -1;
grid-row: 2;
flex-wrap: wrap;
gap: 8px 16px;
padding: 10px
10px 14px;
  }

  .topbar-donate {
    grid-column: 2;
    grid-row: 1;
    padding: 0 14px;
  }

  .intro {
    min-height: 150px;
    padding: 18px 0;
  }

  .intro-inner {
    grid-template-columns: 1fr 86px;
    gap: 12px;
  }

  .intro-copy {
    font-size: 12px;
  }

  .logo {
    width: 86px;
    height: 86px;
  }

  .feature-nav {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature {
    min-height: 76px;
  }

  .feature-title {
    font-size: 20px;
  }

  .news-hero {
    min-height: 210px;
  }

  .news-content {
    padding-top: 16px;
  }

  .news-cards {
    gap: 4px;
  }

  .news-card {
    grid-template-columns: 1fr;
  }

  .news-thumb {
    display: none;
  }

  .donate-section {
    grid-template-columns: 1fr;
  }

  .coast-photo,
  .coast-photo img {
    min-height: 150px;
    max-height: 180px;
  }

  .donate-content {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px;
  }

  .bike-photo {
    width: min(100%, 420px);
    margin: auto;
  }

  .footer {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }

  .footer-signup {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media (max-width: 420px) {
  .news-cards {
    grid-template-columns: 1fr;
  }

  .news-card {
    min-height: 48px;
  }

  .news-card:nth-child(n + 3) {
    display: none;
  }

  .footer {
    grid-template-columns: 1fr;
  }

  .footer-signup {
    grid-column: auto;
    grid-row: auto;
  }
}

/* Shared color aliases used by the original home-page rules. */
:root {
  --green-dark: var(--dark-green);
  --green-bright: var(--bright-green);
}

/* Home-page HTML uses these longer class names. Keep the older names too. */
.news-category,
.news-card-category {
  margin: 0 0 3px;
  color: #625b53;
  font-size: 7px;
}

.news-meta {
  display: inline-block;
  margin: 5px 0 0;
  color: var(--green-dark);
  font-size: 7px;
}

.news-thumb-one,
.thumb-one {
  background-image: url("../images/bike-team.jpg");
}

.news-thumb-two,
.thumb-two {
  /* background-image: url("../images/coast.jpg"); */
  background-color: yellow;
}

.news-thumb-three,
.thumb-three {
  /* background-image: url("../images/news-sky.jpg"); */
  background-color: pink;
}

.news-shade {
  position: absolute;
  inset: 0;
  background: rgba(20, 44, 43, .08);
  pointer-events: none;
}

.news-content {
  position: relative;
  z-index: 1;
}

/* About page: these classes are unique to about.html; home-page layout stays intact. */
.about-title-band {
  min-height: 36px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--bright-green);
}

.about-title-band h1 {
  margin: 0;
  font-size: 27px;
  font-weight: 400;
}

.about-intro {
  min-height: 215px;
  display: grid;
  grid-template-columns: minmax(280px, 1.05fr) minmax(220px, .8fr) minmax(110px, .42fr);
  align-items: center;
  gap: clamp(14px, 2.5vw, 30px);
  padding: 16px 2%;
  background: var(--peach);
}

.about-photo-collage {
  width: 100%;
  height: 155px;
  display: grid;
  grid-template-columns: .8fr 1.15fr .8fr 1.7fr;
  grid-template-rows: 1fr 1fr;
  gap: 5px;
  overflow: hidden;
}

.about-photo-collage img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.about-photo-collage img:first-child {
  grid-row: 1 / 3;
}

.about-photo-collage img:nth-child(2) {
  grid-column: 2;
  grid-row: 1 / 3;
}

.about-photo-collage img:nth-child(3) {
  grid-column: 3;
  grid-row: 1 / 3;
}

.about-photo-collage img:last-child {
  grid-column: 4;
  grid-row: 1 / 3;
}

.about-intro-copy {
  width: min(100%, 390px);
  justify-self: center;
  color: #776c64;
  font-size: 12px;
  line-height: 1.5;
}

.about-intro-copy p {
  margin: 0 0 10px;
}

.about-logo-wrap {
  display: grid;
  place-items: center;
}

.about-logo {
  width: min(130px, 100%);
  height: auto;
  display: block;
  object-fit: contain;
}

.belief-strip {
  min-height: 28px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--deep-green);
  text-align: center;
}

.belief-strip p {
  margin: 0;
  font-size: 12px;
  font-style: italic;
}

.about-board {
  min-height: 150px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(140px, 190px);
  align-items: center;
  gap: 24px;
  padding: 24px 8%;
  background: #80b7ad;
}

.about-board-copy h2 {
  margin: 0 0 12px;
  color: #6a9189;
  font-size: 19px;
  font-weight: 400;
}

.about-board-copy p,
.board-list {
  max-width: 520px;
  margin: 0;
  font-size: 10px;
  line-height: 1.5;
}

.board-list {
  margin-top: 8px;
  padding-left: 16px;
}

.about-board-photo {
  width: 100%;
  height: 105px;
  display: block;
  object-fit: cover;
}

.about-vision {
  min-height: 205px;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(190px, 1fr);
  gap: 5px;
  padding-top: 5px;
  background: var(--peach);
}

.about-vision-photo {
  min-height: 205px;
  overflow: hidden;
}

.about-vision-photo img {
  width: 100%;
  height: 100%;
  min-height: 205px;
  display: block;
  object-fit: cover;
}

.about-vision-panel {
  position: relative;
  min-height: 205px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #80b7ad;
}

.about-vision-logo {
  position: absolute;
  width: 145%;
  max-width: none;
  opacity: .78;
}

.about-vision-copy {
  position: relative;
  z-index: 1;
  width: min(150px, 75%);
  color: #183d35;
  text-align: center;
}

.about-vision-copy h2 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 400;
}

.about-vision-copy p {
  margin: 0;
  font-size: 10px;
  line-height: 1.45;
}

.about-vision-copy .about-location {
  margin-top: 12px;
  color: #fff;
  font-size: 10px;
  text-transform: uppercase;
}

.about-support {
  min-height: 43px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 7px;
  color: #fff;
  background: var(--bright-green);
  text-align: center;
}

.about-support h2 {
  margin: 0;
  font-size: 12px;
  font-weight: 400;
}

.about-support .small-button {
  margin: 0;
  padding: 4px 15px;
  color: var(--deep-green);
  background: #fff;
}

@media (max-width: 900px) {
  .about-intro {
    grid-template-columns: minmax(230px, 1fr) minmax(200px, .9fr) 100px;
    gap: 14px;
  }

  .about-photo-collage {
    height: 135px;
  }

  .about-logo {
    width: 100px;
  }
}

@media (max-width: 700px) {
  .about-intro {
    grid-template-columns: minmax(0, 1fr) 90px;
    gap: 14px;
    padding: 18px 16px;
  }

  .about-photo-collage {
    grid-column: 1 / -1;
    grid-row: 2;
    height: 150px;
  }

  .about-intro-copy {
    grid-column: 1;
    grid-row: 1;
  }

  .about-logo-wrap {
    grid-column: 2;
    grid-row: 1;
  }

  .about-logo {
    width: 82px;
  }

  .about-board {
    grid-template-columns: minmax(0, 1fr) 140px;
    gap: 14px;
    padding: 20px 5%;
  }

  .about-vision {
    grid-template-columns: minmax(0, 2fr) minmax(150px, 1fr);
  }
}

@media (max-width: 480px) {
  .about-title-band h1 {
    font-size: 23px;
  }

  .about-intro {
    grid-template-columns: 1fr;
  }

  .about-logo-wrap,
  .about-intro-copy,
  .about-photo-collage {
    grid-column: 1;
  }

  .about-logo-wrap {
    grid-row: 1;
  }

  .about-logo {
    width: 90px;
  }

  .about-intro-copy {
    grid-row: 2;
  }

  .about-photo-collage {
    grid-row: 3;
    height: 135px;
  }

  .about-board {
    grid-template-columns: 1fr;
  }

  .about-board-photo {
    height: 180px;
  }

  .about-vision {
    grid-template-columns: 1fr;
  }

  .about-vision-photo,
  .about-vision-photo img {
    min-height: 170px;
  }

  .about-vision-panel {
    min-height: 190px;
  }
}

