/* CFJ Colorado: hand-written stylesheet.
   Values follow the old Webflow stylesheet (cfj-colorado.webflow.shared.5aa7de389.css) for the classes
   that were actually used. Breakpoints: 991px (nav collapses), 767px, 479px; plus the old min-width
   1280px refinements. */

/* ---------- Fonts (PT Serif, SIL OFL 1.1: see /assets/fonts/OFL.txt) ---------- */
@font-face {
  font-family: 'PT Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/pt-serif-400.woff2') format('woff2');
}

@font-face {
  font-family: 'PT Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/pt-serif-400i.woff2') format('woff2');
}

@font-face {
  font-family: 'PT Serif';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/pt-serif-700.woff2') format('woff2');
}

@font-face {
  font-family: 'PT Serif';
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/pt-serif-700i.woff2') format('woff2');
}

/* ---------- Custom properties ---------- */
:root {
  --lighter-black: #2e2e2e;
  --dark-blue: #26387a;
  --white: #f5f3f3;
  --light-blue: #bfdbf7;
  --yellow: #f7b32b;
  --link: #1a1b1f;
  --link-hover: #32343a;
  --link-active: #43464d;
  --ink-dark: #1a1b1f;
  --font-serif: 'PT Serif', Georgia, serif;
  --nav-h: 150px;
  --container: 940px;
}

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

html {
  height: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

[id] {
  scroll-margin-top: var(--nav-h);
}

body {
  margin: 0;
  min-height: 100%;
  background-color: #fff;
  color: var(--lighter-black);
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 400;
  line-height: 28px;
}

main {
  display: block;
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 10px;
  margin-bottom: 10px;
  font-weight: 400;
}

h1 {
  margin-top: 20px;
  margin-bottom: 15px;
  font-size: 44px;
  line-height: 62px;
}

h2 {
  font-size: 36px;
  line-height: 50px;
}

h3 {
  font-size: 30px;
  line-height: 46px;
}

h4 {
  font-size: 24px;
  line-height: 38px;
}

h5 {
  font-size: 20px;
  line-height: 34px;
}

h6 {
  font-size: 16px;
  line-height: 28px;
}

b,
strong {
  font-weight: 700;
}

p {
  margin-top: 0;
  margin-bottom: 10px;
}

a {
  color: var(--link);
  text-decoration: underline;
  transition: opacity .2s;
  display: inline-block;
}

a:hover {
  color: var(--link-hover);
}

a:active {
  color: var(--link-active);
}

ul,
ol {
  margin-top: 20px;
  margin-bottom: 10px;
  padding-left: 40px;
}

li {
  margin-bottom: 10px;
}

img {
  border: 0;
  max-width: 100%;
  vertical-align: middle;
  display: block;
}

blockquote {
  border-left: 5px solid #e2e2e2;
  margin: 25px 0;
  padding: 15px 30px;
  font-size: 20px;
  line-height: 34px;
}

figure {
  margin: 25px 0 10px;
  padding-bottom: 20px;
}

figcaption {
  opacity: .6;
  text-align: center;
  margin-top: 5px;
  font-size: 14px;
  line-height: 26px;
}

button {
  font: inherit;
  color: inherit;
}

/* ---------- Buttons ---------- */
.button {
  border: 1px solid var(--dark-blue);
  background-color: var(--dark-blue);
  color: #fff;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 5px;
  justify-content: center;
  align-items: center;
  padding: 12px 25px;
  font-size: 12px;
  line-height: 20px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .4s, opacity .4s, color .4s;
  display: flex;
}

.button:hover {
  border: 1px solid var(--dark-blue);
  background-color: var(--white);
  color: var(--dark-blue);
}

.button:active {
  background-color: var(--link-active);
}

/* ---------- Tag pills ---------- */
.tag {
  text-transform: uppercase;
  border-radius: 5px;
  margin-top: 5px;
  margin-bottom: 4px;
  padding: 7px 13px;
  font-size: 12px;
  line-height: 12px;
}

.tag--beit-ummar {
  background-color: hsla(227.14, 52.5%, 31.37%, 1);
  color: hsla(0, 9.68%, 95.57%, 1);
}

.tag--west-bank {
  background-color: hsla(40, 100%, 82.14%, 1);
  color: hsla(227.14, 73.64%, 18.33%, 1);
}

.tag--cfj-colorado {
  background-color: hsla(210, 77.78%, 85.88%, 1);
  color: hsla(0, 0%, 18%, 1);
}

/* the old default pill: no colours of its own */
.tag--news-posts {
  background-color: transparent;
  color: inherit;
}

/* ---------- Navigation ---------- */
.site-nav {
  z-index: 1000;
  background-color: #fff;
  align-items: center;
  padding: 4px 50px;
  display: flex;
  position: sticky;
  top: 0;
}

.site-nav__inner {
  flex: 1;
  justify-content: space-between;
  align-items: center;
  display: flex;
  position: relative;
}

.site-nav__logo {
  z-index: 1;
  position: relative;
  text-decoration: none;
}

.site-nav__logo:hover {
  opacity: .8;
}

.site-nav__logo:active {
  opacity: .7;
}

.site-nav__menu {
  z-index: 0;
  justify-content: center;
  align-items: center;
  display: flex;
  position: absolute;
  inset: 0;
}

.site-nav__link {
  opacity: .6;
  color: #222;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 9px 20px;
  font-size: 12px;
  font-weight: 500;
  line-height: 20px;
  text-decoration: none;
  vertical-align: top;
}

.site-nav__link:hover {
  opacity: .9;
  color: #222;
}

.site-nav__link:active {
  opacity: .8;
}

.site-nav__donate {
  z-index: 5;
  position: relative;
}

.site-nav__donate--mobile {
  display: none;
}

.site-nav__toggle {
  display: none;
  cursor: pointer;
  background: transparent;
  border: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

.site-nav__toggle img {
  display: block;
}

/* ---------- Hero (home) ---------- */
.hero {
  background-image: linear-gradient(#f7b32b30, #ffffff75 25%, #fffffff7 58%, #fff 102%), url('/assets/cdn/5fbc0aa4b8b6a9e009dea66c/5ff35df609b0134c5a881311_unnamed.jpg');
  background-position: 0 0, 50% 0;
  background-size: auto, cover;
  background-attachment: scroll, fixed;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 90vh;
  padding: 0;
  display: flex;
  position: relative;
}

/* The old block sat 88px above the bottom of the first viewport. */
.hero__inner {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  display: flex;
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(var(--nav-h) + 88px - 10vh);
}

.hero__title {
  color: var(--dark-blue);
}

.hero__intro {
  text-align: center;
  margin: 0 303px 26px;
}

/* ---------- Reveal (only with JS and when motion is allowed) ---------- */
@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    animation: reveal .6s ease both;
  }

  .js .reveal:nth-child(2) {
    animation-delay: .15s;
  }

  .js .reveal:nth-child(3) {
    animation-delay: .3s;
  }
}

/* ---------- Shared section bits ---------- */
.mission__title,
.why-donate__title,
.projects__title,
.donate__title {
  color: var(--dark-blue);
  text-align: left;
  margin-top: 0;
  padding-top: 5px;
  padding-bottom: 5px;
}

.mission__text,
.why-donate__text {
  text-align: left;
  min-width: 200px;
  max-width: 725px;
  margin-bottom: 31px;
  padding-right: 92px;
}

/* ---------- Mission ---------- */
.mission {
  background-color: var(--white);
  justify-content: center;
  align-items: center;
  display: flex;
  position: relative;
  overflow: hidden;
}

.mission__wave {
  z-index: 4;
  width: 100vw;
  max-width: none;
  height: 150px;
  position: absolute;
  inset: 0 0 auto;
  transform: scale3d(2.5, 1.2, 1) rotate(180deg);
}

.mission__body {
  background-image: linear-gradient(#f5f3f385, #f5f3f385), url('/assets/cdn/5fbc0aa4b8b6a9e009dea66c/5fbc20d25c51ac995e79bc14_papyrus.png');
  flex: 0 0 58.3333%;
  width: 58.3333%;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 217px 0 217px 71px;
  display: flex;
}

.mission__photo {
  background-image: linear-gradient(#f7b32b45, #f7b32b45), url('/assets/cdn/5fbc0aa4b8b6a9e009dea66c/66217b6993efad1425a5c3f6_Palestine_Map-BeitUmmar.png');
  background-position: 0 0, 30%;
  background-size: auto, cover;
  flex: 0 0 41.6667%;
  width: 41.6667%;
  height: 100vh;
  min-height: 600px;
}

/* ---------- Projects (home) and Archive ---------- */
.projects,
.archive {
  background-color: var(--light-blue);
  background-image: linear-gradient(#26387af2, #26387af2), url('/assets/cdn/5fbc0aa4b8b6a9e009dea66c/5fbc0db814fd9f328f914e55_112.jpg');
  background-position: 0 0, 0 0;
  background-size: auto, auto;
  background-attachment: scroll, fixed;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 127px;
  padding-bottom: 132px;
  display: flex;
  position: relative;
}

.projects__title,
.archive__title {
  color: var(--white);
  align-self: center;
}

.archive__title {
  margin-top: 0;
  margin-bottom: 10px;
  padding-top: 5px;
  padding-bottom: 5px;
  font-size: 36px;
  line-height: 50px;
}

.projects__list {
  list-style: none;
  flex-flow: wrap;
  justify-content: center;
  align-items: stretch;
  margin: 29px 0 10px;
  padding: 0 111px;
  display: flex;
}

.project-card {
  align-self: flex-start;
  border: 1px solid var(--yellow);
  background-color: var(--white);
  width: 300px;
  box-shadow: 0 0 7px 0 var(--light-blue);
  margin: 17px 21px;
  padding: 0;
}

.project-card__image {
  background-position: 0 0;
  background-size: cover;
  min-height: 200px;
}

.project-card__body {
  margin: 18px;
}

.project-card__title {
  color: var(--dark-blue);
  margin-top: 10px;
  margin-bottom: 5px;
  font-size: 20px;
  font-weight: 500;
  line-height: 30px;
}

/* Webflow rich-text clearfix: keeps the last paragraph's margin inside the card */
.project-card__summary::before,
.project-card__summary::after {
  content: '';
  display: table;
}

.project-card__summary {
  padding-right: 17px;
  font-size: 13px;
  line-height: 20px;
}

.projects__archive,
.archive__intro,
.news__intro {
  text-align: center;
  margin: 0 310px 10px;
}

.projects__archive,
.projects__archive a,
.archive__intro {
  color: #fff;
}

.projects__divider {
  position: absolute;
  inset: -6% 0 auto;
}

/* ---------- News ---------- */
.news {
  z-index: 1;
  background-image: linear-gradient(#f5f3f3f0, #f5f3f3f0), url('/assets/cdn/5fbc0aa4b8b6a9e009dea66c/5fbc0db8991e8c3c4fbb4ab0_113.jpg');
  background-position: 0 0, 0 0;
  background-size: auto, cover;
  background-attachment: scroll, fixed;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 108px;
  padding-bottom: 86px;
  display: flex;
  position: relative;
}

.news__header {
  display: contents;
}

.news__divider {
  position: absolute;
  inset: -7% 0 auto;
}

.news__title {
  color: var(--dark-blue);
  text-align: center;
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 36px;
  line-height: 50px;
}

.news__cards {
  flex-wrap: wrap;
  justify-content: center;
  padding-top: 17px;
  padding-bottom: 17px;
  display: flex;
}

/* ---------- News cards ---------- */
.card {
  background-color: var(--white);
  width: 300px;
  box-shadow: 0 0 12px -6px var(--yellow);
  flex-direction: column;
  align-items: stretch;
  margin: 31px 35px;
  display: flex;
}

.card__image {
  background-position: 50%;
  background-size: cover;
  width: 100%;
  height: 175px;
}

.card__body {
  border-right: 1px solid var(--yellow);
  border-bottom: 1px solid var(--yellow);
  border-left: 1px solid var(--yellow);
  flex-direction: column;
  flex: 1;
  align-items: flex-start;
  padding: 11px 18px 15px;
  display: flex;
}

.card__title {
  color: var(--dark-blue);
  margin: 10px auto 3px 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 30px;
}

.card__date {
  font-size: 13px;
  font-style: italic;
  line-height: 20px;
}

.card__summary {
  font-size: 13px;
  line-height: 20px;
}

.card__actions {
  flex-direction: column;
  align-items: flex-start;
  display: flex;
}

.card__actions .button {
  margin-top: 9px;
  margin-bottom: 9px;
}

/* ---------- Why donate / donor ---------- */
.why-donate {
  background-color: var(--white);
  flex-direction: row-reverse;
  align-items: stretch;
  display: flex;
  position: relative;
}

.why-donate--flipped {
  flex-direction: row;
}

.why-donate__body {
  background-image: linear-gradient(#f5f3f385, #f5f3f385), url('/assets/cdn/5fbc0aa4b8b6a9e009dea66c/5fbc20d25c51ac995e79bc14_papyrus.png');
  flex: 0 0 58.3333%;
  width: 58.3333%;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 129px 0 129px 71px;
  display: flex;
}

.why-donate__photo {
  background-image: linear-gradient(#f7b32b45, #f7b32b45), url('/assets/cdn/5fbc0aa4b8b6a9e009dea66c/5fbc0db7bfb0be313eac32a2_13.jpg');
  background-position: 0 0, 30%;
  background-size: auto, cover;
  flex: 0 0 41.6667%;
  width: 41.6667%;
  min-height: 500px;
}

.why-donate__photo--donor {
  background-image: linear-gradient(#f7b32b42, #f7b32b42), url('/assets/cdn/5fbc0aa4b8b6a9e009dea66c/5fbc0df1f12d3b4c2aad579f_17.jpg');
}

.why-donate__divider,
.donate__divider {
  z-index: 500;
  position: absolute;
  inset: -130px 0 auto;
  transform: scale3d(1, .7, 1);
}

.why-donate__divider--yellow {
  top: -12%;
  transform: none;
}

/* ---------- Donate ---------- */
.donate {
  background-image: linear-gradient(#f5f3f385, #f5f3f385), url('/assets/cdn/5fbc0aa4b8b6a9e009dea66c/5fbc20d25c51ac995e79bc14_papyrus.png');
  padding-top: 67px;
  padding-bottom: 67px;
  position: relative;
}

.donate__title {
  text-align: center;
}

.donate__widget {
  max-width: var(--container);
  margin: 43px auto 0;
  padding: 0 95px;
}

/* ---------- Footer ---------- */
.site-footer {
  text-align: center;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 15px 0;
  display: flex;
}

.site-footer__logo {
  display: block;
  width: 60px;
  height: 60px;
  margin-bottom: 40px;
}

.site-footer__logo img {
  object-fit: contain;
  width: 100%;
  height: 100%;
}

.site-footer__copy {
  margin: 0;
}

/* ---------- Story pages ---------- */
.page-post {
  padding-bottom: 113px;
}

.post-hero {
  background-color: #2e2e2e;
  background-image: url('/assets/d3e54v103j8qbb/img/background-image.svg');
  background-position: 0 0;
  background-size: cover;
  padding-top: 0;
  padding-bottom: 0;
}

.post-hero__inner {
  background-image: linear-gradient(#2e2e2ee8, #2e2e2ee8);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 27px 128px;
  display: flex;
}

.post-hero__title {
  color: var(--white);
  text-align: center;
}

.post-hero__published {
  color: var(--white);
  text-align: center;
  margin-bottom: 13px;
}

.post-hero__published time {
  display: block;
  font-size: 14px;
}

.post-body,
.share,
.recent {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
}

.post-body {
  margin-top: 45px;
}

.post-body::before,
.post-body::after {
  content: '';
  display: table;
  clear: both;
}

.post-body ul,
.post-body ol {
  overflow: hidden;
}

.post-body figure {
  max-width: 60%;
  position: relative;
}

.post-body figure img {
  width: 100%;
}

.post-body .figure--image {
  display: table;
}

.post-body .figure--image > div {
  display: inline-block;
}

.post-body .figure--center {
  clear: both;
  margin-left: auto;
  margin-right: auto;
}

.share {
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  display: flex;
}

.share__title {
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0 6px 0 0;
  font-size: 12px;
  font-weight: 500;
  line-height: 20px;
}

.share__link {
  border: 1px solid var(--dark-blue);
  background-color: #fff;
  color: var(--dark-blue);
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 5px;
  cursor: pointer;
  padding: 5px 12px;
  font-size: 12px;
  line-height: 20px;
  text-decoration: none;
  transition: background-color .4s, color .4s;
}

.share__link:hover {
  background-color: var(--dark-blue);
  color: #fff;
}

.recent__title {
  margin-top: 41px;
  margin-bottom: -15px;
  font-size: 30px;
  line-height: 46px;
}

.recent__list {
  display: flex;
}

.card--recent {
  align-self: flex-start;
  flex: 0 0 300px;
  margin: 31px auto;
}

/* ---------- 404 ---------- */
.not-found {
  color: #fff;
  text-align: center;
  background-color: var(--ink-dark);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - var(--nav-h) - 60px);
  margin: 30px;
  padding: 30px;
  display: flex;
}

.not-found__title {
  margin: 10px 0;
  font-size: 64px;
  line-height: 80px;
}

.not-found__text {
  opacity: .6;
  margin-bottom: 30px;
  font-size: 20px;
  line-height: 34px;
}

.not-found .button {
  color: #202020;
  background-color: #fff;
  border-color: #fff;
  padding: 16px 35px;
  font-size: 14px;
  line-height: 26px;
}

.not-found .button:hover {
  background-color: #fffc;
}

/* ================= Breakpoints ================= */
@media screen and (min-width: 1280px) {
  .hero {
    background-image: linear-gradient(#f7b32bc2, #ffffffd6 25%, #fffffff7 58%, #fff 102%), url('/assets/cdn/5fbc0aa4b8b6a9e009dea66c/5ff35df609b0134c5a881311_unnamed.jpg');
  }

  .card__image {
    height: 20em;
  }

  .mission__title,
  .why-donate__title,
  .projects__title,
  .archive__title,
  .donate__title {
    max-width: 600px;
    padding-top: 33px;
  }

  .donate__title {
    margin-left: auto;
    margin-right: auto;
  }

  .news {
    padding-top: 94px;
    padding-bottom: 211px;
  }

  .why-donate__divider,
  .donate__divider {
    top: -140px;
  }

  .why-donate__divider--yellow {
    top: -12%;
  }

  .donate__widget {
    padding: 0 1px;
  }

  .site-footer {
    padding-top: 22px;
    padding-bottom: 22px;
  }
}

@media screen and (max-width: 991px) {
  :root {
    --nav-h: 156px;
    --container: 728px;
  }

  .site-nav {
    padding: 7px 30px;
  }

  .site-nav__inner {
    position: static;
  }

  .site-nav__toggle {
    display: block;
    margin-left: 30px;
  }

  .site-nav__donate {
    display: none;
  }

  .site-nav__menu {
    display: none;
    text-align: center;
    background-color: #fff;
    border-radius: 8px;
    min-width: 200px;
    padding: 0 87px 27px;
    position: absolute;
    inset: 100% 0 auto;
  }

  .site-nav__menu.is-open {
    display: block;
  }

  .site-nav__link {
    display: block;
    text-align: center;
    padding: 15px 30px;
    transition: background-color .4s, opacity .4s, color .4s;
  }

  .site-nav__link:hover {
    background-color: #f7f8f9;
  }

  .site-nav__link:active {
    background-color: #eef0f3;
  }

  .site-nav__donate--mobile {
    display: block;
  }

  /* as on the old site, these two buttons are hidden once the nav collapses */
  .mission__body .button,
  .why-donate__body .button {
    display: none;
  }

  .hero__intro {
    margin-left: 113px;
    margin-right: 113px;
  }

  .mission__title,
  .projects__title {
    text-align: center;
  }

  .mission__text,
  .why-donate__text {
    padding-right: 50px;
  }

  .mission__body {
    padding-top: 154px;
    padding-bottom: 154px;
  }

  .why-donate__body {
    padding-top: 66px;
    padding-bottom: 66px;
  }

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

  .news {
    padding-top: 45px;
  }

  .projects__archive,
  .archive__intro,
  .news__intro {
    margin-left: 103px;
    margin-right: 103px;
  }

  .post-hero,
  .post-hero__inner {
    min-height: 300px;
  }

  .recent__list {
    flex-flow: wrap;
  }

  .why-donate__divider,
  .donate__divider {
    display: none;
  }

  .news__divider {
    top: -3%;
  }

  .projects__divider {
    top: -4%;
  }

  .site-footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .not-found__title {
    font-size: 56px;
    line-height: 70px;
  }
}

@media screen and (max-width: 767px) {
  :root {
    --nav-h: 182px;
  }

  .site-nav {
    padding: 20px 30px;
  }

  .hero {
    background-image: linear-gradient(#f5f3f3e8, #f5f3f3e8), url('/assets/cdn/5fbc0aa4b8b6a9e009dea66c/5ff35df609b0134c5a881311_unnamed.jpg');
  }

  .mission__title {
    text-align: left;
  }

  .mission__text,
  .why-donate__text {
    padding-right: 48px;
  }

  .mission {
    flex-direction: column;
  }

  .why-donate {
    flex-direction: column-reverse;
  }

  .why-donate--flipped {
    flex-direction: column;
  }

  .mission__body,
  .mission__photo,
  .why-donate__body,
  .why-donate__photo {
    flex: 0 0 auto;
    width: 100%;
  }

  .mission__body {
    padding: 107px 42px;
  }

  .why-donate__body {
    padding: 19px 42px;
  }

  .why-donate__photo {
    height: 250px;
  }

  .mission__photo {
    height: 250px;
    min-height: 300px;
  }

  .projects__archive,
  .archive__intro,
  .news__intro {
    margin-left: 20px;
    margin-right: 20px;
  }

  .mission__wave,
  .why-donate__divider,
  .donate__divider,
  .news__divider,
  .projects__divider {
    display: none;
  }

  .donate {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    display: flex;
  }

  .site-footer {
    padding: 40px 20px;
  }

  .not-found {
    margin: 15px;
    min-height: calc(100vh - var(--nav-h) - 30px);
  }

  .not-found__title {
    font-size: 50px;
    line-height: 64px;
  }

  .not-found__text {
    font-size: 16px;
    line-height: 28px;
  }
}

@media screen and (max-width: 479px) {
  :root {
    --nav-h: 142px;
    --container: none;
  }

  h1 {
    font-size: 36px;
    line-height: 52px;
  }

  .button {
    flex: 0 auto;
    margin-left: 19px;
    margin-right: 19px;
  }

  .site-nav {
    padding: 0 20px;
  }

  .site-nav__toggle {
    margin-left: 15px;
    flex: none;
  }

  .site-nav__menu {
    padding: 0 33px 21px;
  }

  .hero {
    text-align: center;
    background-image: linear-gradient(#f5f3f3e8, #f5f3f3e8), url('/assets/cdn/5fbc0aa4b8b6a9e009dea66c/5ff35df609b0134c5a881311_unnamed.jpg');
    background-position: 0 0, 100% 0;
    padding-left: 15px;
    padding-right: 15px;
  }

  .hero__inner {
    margin-bottom: 88px;
    position: static;
  }

  .hero__intro {
    margin-left: 9px;
    margin-right: 9px;
  }

  .mission {
    padding-top: 23px;
  }

  .mission__text,
  .why-donate__text {
    padding-right: 0;
  }

  .mission__body {
    padding: 33px 22px 51px;
  }

  .why-donate__body {
    padding: 33px 22px 19px;
  }

  .why-donate__photo {
    height: 200px;
    min-height: 250px;
  }

  .mission__photo {
    min-height: 300px;
  }

  .projects,
  .archive {
    padding-top: 49px;
    padding-bottom: 39px;
  }

  .project-card {
    margin: 35px 0;
  }

  .news {
    padding-top: 60px;
  }

  .card {
    margin-left: 0;
    margin-right: 0;
  }

  .card--recent {
    margin-left: auto;
    margin-right: auto;
  }

  .projects__archive,
  .archive__intro,
  .news__intro {
    margin-left: 16px;
    margin-right: 16px;
    font-size: 14px;
    line-height: 24px;
  }

  .post-hero {
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    min-height: 400px;
    padding-top: 17px;
    padding-bottom: 17px;
    display: flex;
    position: relative;
  }

  .post-hero__inner {
    background-image: linear-gradient(#26387aad, #26387aad);
    min-height: 400px;
    padding-left: 16px;
    padding-right: 16px;
    position: absolute;
    inset: 0;
  }

  .recent__list {
    flex-direction: column;
  }

  .post-body {
    margin-left: 18px;
    margin-right: 18px;
  }

  .share {
    margin-left: 18px;
    margin-right: 18px;
  }

  .donate__widget {
    padding: 0;
  }

  .site-footer__copy {
    text-align: center;
  }

  .not-found__title {
    font-size: 36px;
    line-height: 48px;
  }
}

/* Touch devices: fixed backgrounds render badly (e.g. iOS Safari), as the old site's w-mod-touch rule handled */
@media (hover: none) {
  .hero,
  .projects,
  .archive,
  .news {
    background-attachment: scroll;
  }
}
