/* The BETTY Effect: the 2014 CharityHub look (colours, sizes, layout) rewritten as plain CSS. */
:root { --red: #bf1e2e; --nav: #575757; --nav-dark: #474747; --ink: #494949; --text: #757575; --muted: #949494;
  --line: #ebebeb; --soft: #f5f5f5; --footer: #262626; --footer-text: #b5b5b5; --width: 1110px; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 14px/1.7 "Open Sans", Helvetica, Arial, sans-serif; color: var(--text); background: #fff; }
img { max-width: 100%; height: auto; border: 0; }
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--ink); font-weight: 700; line-height: 1.3; margin: 0 0 .6em; overflow-wrap: break-word; }
h2 { font-size: 21px; } h3 { font-size: 17px; }
p, ul, ol { margin: 0 0 1.3em; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; background: #000; color: #fff; padding: 8px 12px; z-index: 10; }
.skip-link:focus { left: 8px; }

/* header */
.site-header, .content, .footer-columns, .copyright { max-width: var(--width); margin: 0 auto; }
.site-header { padding: 0 15px; }
.top-links { text-align: right; font-size: 11px; font-weight: 700; padding: 22px 0 14px; }
.top-links a { color: #333; margin-left: 14px; }
.top-links span { color: #ccc; margin-left: 14px; }
.top-links .top-donate { text-transform: uppercase; }
.logo { display: block; padding: 6px 0 14px; }
.logo img { display: block; width: 100%; }
.main-nav { display: flex; align-items: stretch; background: var(--nav); border-bottom: 3px solid #3b3b3b; min-height: 70px; }
.social { list-style: none; margin: 0; padding: 0 0 0 18px; display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.social a { display: block; width: 18px; height: 18px; background: #fff; -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; }
.social a:hover { background: #ddd; }
.menu { list-style: none; margin: 0 0 0 auto; padding: 0; display: flex; flex-wrap: wrap; }
.menu a { display: flex; align-items: center; height: 100%; min-height: 70px; padding: 0 20px; color: #fff;
  font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .3px; }
.menu a:hover, .menu .current a { background: var(--nav-dark); text-decoration: none; color: #ddd; }
.menu .donate a { background: var(--red); color: #fff; }
.menu .donate a:hover, .menu .donate.current a { background: #a71a28; color: #fff; }
.menu-toggle { display: none; }

/* page title banner (every page but home) */
.page-title { margin: 0 auto; max-width: calc(var(--width) - 30px); min-height: 190px; display: flex; align-items: center; padding: 30px;
  background: #000; }
.single .page-title { background: var(--red); }
.page-title h1 { color: #fff; font-size: 34px; font-weight: 300; text-transform: uppercase; letter-spacing: 1px; margin: 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .5); }

/* content */
.content { padding: 50px 15px 40px; }
.with-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
.sidebar h2 { font-size: 18px; padding-bottom: 12px; border-bottom: 3px solid var(--line); }
.cause-links { list-style: none; padding: 0; }
.cause-links li { border-bottom: 1px solid var(--line); padding: 9px 0 9px 22px; position: relative; }
.cause-links li::before { content: "\203A"; position: absolute; left: 6px; color: #999; }
.page-body > h1:first-child { font-size: 30px; }
.post-date { color: var(--muted); font-size: 13px; }
.dropcap { float: left; font-size: 46px; line-height: 1; margin: 4px 8px 0 0; color: #222; }
.feature-image img { display: block; width: 100%; }
.caption { color: var(--muted); font-style: italic; }
.button { display: inline-block; background: var(--red); color: #fff; font-weight: 700; font-size: 13px; text-transform: uppercase;
  letter-spacing: 1px; padding: 13px 22px; line-height: 1.2; }
.button:hover { background: #a71a28; text-decoration: none; }
.button.dark { background: #000; }
.button.dark:hover { background: #333; }
.video { position: relative; padding-top: 56.25%; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.page-body .video { margin-bottom: 36px; }

/* galleries (lightbox in tbe.js) */
.gallery { display: grid; gap: 18px; margin: 0 0 30px; }
.gallery-4 { grid-template-columns: repeat(4, 1fr); }
.gallery-5 { grid-template-columns: repeat(5, 1fr); }
.gallery figure { margin: 0; text-align: center; }
.gallery img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.gallery figcaption { font-size: 13px; line-height: 1.6; color: var(--muted); padding-top: 8px; }
.lightbox { position: fixed; inset: 0; background: rgba(0, 0, 0, .88); display: flex; align-items: center; justify-content: center;
  flex-direction: column; z-index: 100; padding: 20px; cursor: zoom-out; }
.lightbox img { max-height: 85vh; max-width: 100%; }
.lightbox p { color: #ddd; margin: 12px 0 0; text-align: center; }

/* board */
.board { list-style: none; padding: 0; columns: 2; }
.board li { padding: 2px 0; }
.board span, h2 span { color: var(--muted); font-weight: 400; }

/* home */
.home .content { padding-top: 34px; }
.home-featured .feature { display: grid; grid-template-columns: 2fr 1fr; background: #3b3b3b; color: #ddd; margin-bottom: 30px; }
.feature img { display: block; width: 100%; height: 100%; object-fit: cover; }
.feature-caption { padding: 34px 30px; }
.feature-kicker { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: #aaa; }
.feature-caption h2 a { color: #fff; font-size: 24px; }
.feature-caption a { color: #ff6b77; }
.feature-caption .post-date { color: #aaa; }
.home-row { display: grid; gap: 30px; margin-bottom: 40px; }
.home-intro { grid-template-columns: 1fr 2fr; }
.box-who { display: block; min-height: 360px; background: #444 center / cover no-repeat; padding: 30px; }
.box-who span { color: #fff; font-size: 26px; font-weight: 600; text-transform: uppercase; text-shadow: 0 1px 4px rgba(0, 0, 0, .6); }
.box-who:hover { text-decoration: none; opacity: .92; }
.box-urgent { position: relative; padding: 34px 30px 80px; color: #fff; background: #222 center / cover no-repeat; }
.box-urgent::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .55); }
.box-urgent > * { position: relative; }
.box-urgent h2 a { color: #fff; font-size: 26px; text-transform: uppercase; }
.box-urgent .read-more { color: #ff6b77; font-weight: 700; }
.box-urgent .donate { position: absolute; right: 30px; bottom: 30px; }
.box-kicker { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.home-three { grid-template-columns: repeat(3, 1fr); align-items: start; }
.item-title { font-size: 18px; text-transform: uppercase; padding-bottom: 12px; border-bottom: 3px solid var(--line); }
.item-title a, .item-title span { font-size: 12px; font-weight: 400; text-transform: none; margin-left: 8px; color: var(--red); }
.item-title span { color: var(--muted); }
.news-item { display: grid; grid-template-columns: 90px 1fr; gap: 14px; margin-bottom: 18px; }
.news-item img { width: 90px; height: 90px; object-fit: cover; }
.news-item h3 { font-size: 14px; margin: 0 0 4px; }
.news-item p { margin: 0; font-size: 12px; color: var(--muted); }
.player { background: #555; color: #fff; padding: 12px; display: grid; grid-template-columns: 110px 1fr; gap: 6px 14px; }
.player img { grid-row: span 3; width: 110px; height: 110px; object-fit: cover; }
.player p { margin: 0; }
.player-title { font-weight: 700; }
.player-artist { font-style: italic; font-size: 12px; color: #ccc; }
.player audio { grid-column: 1 / -1; width: 100%; margin-top: 8px; }
.box-voice { background: var(--red); color: #fff; padding: 30px 30px 36px; position: relative; }
.box-voice::after { content: ""; position: absolute; top: 0; right: 0; border-style: solid; border-width: 0 28px 28px 0;
  border-color: transparent #fff transparent transparent; filter: drop-shadow(-2px 2px 0 #575757); }
.box-voice h2 { color: #fff; font-size: 24px; text-transform: uppercase; }
.box-voice img { float: left; width: 92px; margin: 0 14px 6px 0; }
.cause-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-bottom: 40px; }
.cause-card { text-align: center; }
.cause-card img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; margin-bottom: 10px; }
.cause-card h3 { font-size: 15px; }
.cause-card h3 a { color: var(--ink); }
.cause-card .button { padding: 9px 14px; font-size: 11px; }
.home-testimonials { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 40px; align-items: start; }
.testimonial { margin: 0; background: var(--soft); padding: 26px 26px 22px; font-style: italic; font-size: 13px; position: relative; }
.testimonial footer { font-style: normal; font-weight: 700; color: var(--red); text-align: right; margin-top: 10px; }
.home-media { grid-template-columns: 1fr 1fr; align-items: start; }
.framed { border: 6px solid var(--red); margin: 0; }
.framed img { display: block; }

/* blog */
.post-card { display: grid; grid-template-columns: 300px 1fr; gap: 28px; padding-bottom: 30px; margin-bottom: 30px; border-bottom: 1px solid var(--line); }
.post-card img { display: block; width: 100%; }

/* footer */
.site-footer { background: var(--footer); color: var(--footer-text); margin-top: 20px; font-size: 13px; }
.footer-columns { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; padding: 50px 15px 40px; }
.site-footer h2 { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 26px; }
.site-footer a { color: #fff; }
.site-footer .button { color: #fff; }
.sponsors img { max-height: 46px; width: auto; margin: 0 10px 10px 0; vertical-align: middle; }
.footer-logo img { display: block; max-width: 190px; margin-left: auto; }
.copyright { display: flex; justify-content: space-between; gap: 20px; padding: 14px 15px; }
.copyright p { margin: 0; }
.site-footer .copyright, .copyright { color: #fff; }
.site-footer > .copyright { max-width: none; background: var(--red); }
.site-footer > .copyright > p:first-child { margin-left: max(0px, calc((100% - var(--width)) / 2)); }
.site-footer > .copyright > p:last-child { margin-right: max(0px, calc((100% - var(--width)) / 2)); }

/* tablets and phones */
@media (max-width: 1000px) {
  .menu a { padding: 0 12px; font-size: 12px; }
  .cause-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-columns { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .top-links { text-align: center; padding: 12px 0 6px; }
  .top-links a, .top-links span { margin: 0 5px; }
  .main-nav { flex-wrap: wrap; min-height: 56px; }
  .menu-toggle { display: block; margin-left: auto; background: none; border: 0; color: #fff; font: 700 13px "Open Sans", sans-serif;
    text-transform: uppercase; padding: 0 18px; cursor: pointer; }
  .menu-toggle::before { content: "\2630  "; }
  .js .menu { display: none; }
  .js .menu.open { display: flex; }
  .menu { flex-direction: column; width: 100%; margin: 0; }
  .menu a { min-height: 48px; border-top: 1px solid #666; }
  .with-sidebar, .home-intro, .home-three, .home-testimonials, .home-media, .home-featured .feature, .post-card { grid-template-columns: minmax(0, 1fr); }
  .gallery-4, .gallery-5, .cause-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .box-urgent { padding-bottom: 30px; }
  .box-urgent .donate { position: relative; right: auto; bottom: auto; margin-top: 6px; }
  .cause-card h3 { font-size: 13px; }
  .box-who { min-height: 260px; }
  .page-title { min-height: 120px; margin: 0 15px; }
  .page-title h1 { font-size: 26px; }
  .board { columns: 1; }
  .footer-columns { grid-template-columns: 1fr; }
  .footer-logo img { margin: 0; }
  .copyright { flex-direction: column; gap: 4px; }
}
.social .social-facebook { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13.5 21v-8.2h2.8l.4-3.2h-3.2V7.5c0-.9.3-1.6 1.6-1.6h1.7V3.1C16.5 3 15.5 3 14.4 3c-2.5 0-4.1 1.5-4.1 4.3v2.3H7.5v3.2h2.8V21h3.2z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13.5 21v-8.2h2.8l.4-3.2h-3.2V7.5c0-.9.3-1.6 1.6-1.6h1.7V3.1C16.5 3 15.5 3 14.4 3c-2.5 0-4.1 1.5-4.1 4.3v2.3H7.5v3.2h2.8V21h3.2z'/%3E%3C/svg%3E"); }
.social .social-vimeo { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21 7.4c-.1 1.7-1.3 4.1-3.6 7.1-2.4 3.1-4.4 4.6-6 4.6-1 0-1.9-.9-2.6-2.8L7.4 11c-.5-1.9-1.1-2.8-1.7-2.8-.1 0-.6.3-1.4.9L3.5 8l2.6-2.3c1.2-1 2-1.6 2.6-1.6 1.4-.1 2.3.8 2.6 2.9.4 2.2.6 3.6.8 4.1.4 1.8.9 2.7 1.4 2.7.4 0 1-.6 1.8-1.9.8-1.2 1.2-2.2 1.3-2.8.1-1.1-.3-1.6-1.3-1.6-.5 0-.9.1-1.4.3.9-3 2.7-4.5 5.3-4.4 1.9.1 2.8 1.3 2.7 3.8z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21 7.4c-.1 1.7-1.3 4.1-3.6 7.1-2.4 3.1-4.4 4.6-6 4.6-1 0-1.9-.9-2.6-2.8L7.4 11c-.5-1.9-1.1-2.8-1.7-2.8-.1 0-.6.3-1.4.9L3.5 8l2.6-2.3c1.2-1 2-1.6 2.6-1.6 1.4-.1 2.3.8 2.6 2.9.4 2.2.6 3.6.8 4.1.4 1.8.9 2.7 1.4 2.7.4 0 1-.6 1.8-1.9.8-1.2 1.2-2.2 1.3-2.8.1-1.1-.3-1.6-1.3-1.6-.5 0-.9.1-1.4.3.9-3 2.7-4.5 5.3-4.4 1.9.1 2.8 1.3 2.7 3.8z'/%3E%3C/svg%3E"); }
.social .social-instagram { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 7.8a4.2 4.2 0 1 0 0 8.4 4.2 4.2 0 0 0 0-8.4zm0 6.9a2.7 2.7 0 1 1 0-5.4 2.7 2.7 0 0 1 0 5.4zM16.4 6.6a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM12 3c-2.4 0-2.7 0-3.7.1C5.6 3.2 4 4.9 3.9 7.6 3.8 8.6 3.8 8.9 3.8 12s0 3.4.1 4.4c.1 2.7 1.7 4.4 4.4 4.5 1 .1 1.3.1 3.7.1s2.7 0 3.7-.1c2.7-.1 4.3-1.8 4.4-4.5.1-1 .1-1.3.1-4.4s0-3.4-.1-4.4c-.1-2.7-1.7-4.4-4.4-4.5C14.7 3 14.4 3 12 3z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 7.8a4.2 4.2 0 1 0 0 8.4 4.2 4.2 0 0 0 0-8.4zm0 6.9a2.7 2.7 0 1 1 0-5.4 2.7 2.7 0 0 1 0 5.4zM16.4 6.6a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM12 3c-2.4 0-2.7 0-3.7.1C5.6 3.2 4 4.9 3.9 7.6 3.8 8.6 3.8 8.9 3.8 12s0 3.4.1 4.4c.1 2.7 1.7 4.4 4.4 4.5 1 .1 1.3.1 3.7.1s2.7 0 3.7-.1c2.7-.1 4.3-1.8 4.4-4.5.1-1 .1-1.3.1-4.4s0-3.4-.1-4.4c-.1-2.7-1.7-4.4-4.4-4.5C14.7 3 14.4 3 12 3z'/%3E%3C/svg%3E"); }
.social .social-youtube { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21.6 7.2a2.5 2.5 0 0 0-1.8-1.8C18.3 5 12 5 12 5s-6.3 0-7.8.4A2.5 2.5 0 0 0 2.4 7.2 26 26 0 0 0 2 12a26 26 0 0 0 .4 4.8 2.5 2.5 0 0 0 1.8 1.8c1.5.4 7.8.4 7.8.4s6.3 0 7.8-.4a2.5 2.5 0 0 0 1.8-1.8A26 26 0 0 0 22 12a26 26 0 0 0-.4-4.8zM10 15V9l5.2 3L10 15z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21.6 7.2a2.5 2.5 0 0 0-1.8-1.8C18.3 5 12 5 12 5s-6.3 0-7.8.4A2.5 2.5 0 0 0 2.4 7.2 26 26 0 0 0 2 12a26 26 0 0 0 .4 4.8 2.5 2.5 0 0 0 1.8 1.8c1.5.4 7.8.4 7.8.4s6.3 0 7.8-.4a2.5 2.5 0 0 0 1.8-1.8A26 26 0 0 0 22 12a26 26 0 0 0-.4-4.8zM10 15V9l5.2 3L10 15z'/%3E%3C/svg%3E"); }
