/* Mobile header (<=767px): compact horizontal logo on the left, red "Make a Donation" button on the right,
   menu bar full width below. Desktop/tablet header is unchanged. */
#site-header .logo-mobile { display: none; }

@media only screen and (max-width: 767px) {
  #masthead > .fix-wraper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }
  #masthead .site-right { display: contents; }
  #masthead .head-social { display: none; }

  #site-header {
    float: none;
    flex: 1 1 0;
    min-width: 0;
    margin: 0;
    padding: 18px 0 18px 16px;
    text-align: left;
  }
  #site-header a { display: block; }
  #site-header img { display: none; }
  #site-header img.logo-mobile {
    display: block;
    width: 100%;
    max-width: 210px;
    height: auto;
  }

  .site-right .make-different.make-different-t {
    position: static;
    float: none;
    flex: 0 0 auto;
    width: auto !important;
    margin: 0 16px 0 12px !important;
    padding: 0 !important;
  }
  .site-right .make-different.make-different-t a,
  .site-right .make-different.make-different-t a:hover,
  .site-right .make-different.make-different-t a:active {
    display: inline-block !important;
    float: none !important;
    width: auto !important;
    padding: 9px 14px !important;
    border-radius: 4px !important;
    background: #d72027 !important;
    color: #fff !important;
    font-size: 15px !important;
    line-height: 1.2 !important;
    font-weight: 500 !important;
    text-transform: none !important;
    white-space: nowrap !important;
  }
  .site-right .make-different.make-different-t a:hover,
  .site-right .make-different.make-different-t a:active { background: #b5161c !important; }
  .site-right .make-different.make-different-t a br { display: none !important; }

  #masthead #navbar {
    flex: 0 0 100%;
    width: 100%;
  }
}

@media only screen and (max-width: 359px) {
  #site-header { padding-left: 12px; }
  .site-right .make-different.make-different-t { margin: 0 12px 0 8px !important; }
  .site-right .make-different.make-different-t a { padding: 8px 10px !important; font-size: 14px !important; }
}

/* Page banners: each page sets `.banner-title{background:url(...)}` inline (shorthand -> position 0 0),
   so on wide screens the image hugged the left edge. Center it. */
.banner-title {
  background-position: top center !important;
}
@media (min-width: 1441px) {
  /* banner images are ~1600-1900px wide: on wider screens stretch them instead of leaving white side bands */
  .banner-title { background-size: cover !important; }
}
