html {
  background-color: #fafafa;
  box-sizing: border-box;
}
*, *::after, *::before {
   box-sizing: inherit;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  font-family: Raleway;
  color: #222;
}

header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-family: Raleway;
  margin-bottom: 1.5rem;
  padding-top: 0.5rem;
}
header nav {
  flex-grow: 1;
  text-align: right;
}
header nav a {
  display: inline-block;
  margin: 0 0.5em;
  font-weight: 300;
  text-decoration: none;
  color: #333;
}
header nav a:hover {
  text-decoration: none;
  color: #318375;
}
header nav a.active {
  font-weight: 700;
}
header a#logo {
  padding-top: 0.5rem;
  margin-bottom: 0.5rem;
}

div#content {
  flex: 1 1 auto;
}

a {
  text-decoration: none;
  color: #4C6D53;
}
a:hover {
  text-decoration: underline;
}
button {
  font-family: inherit;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

img {
  max-width: 100%;
}

strong {
  font-weight: 600;
}
cite {
  display: block;
  text-align: right;
}

.content-container {
  width: 100%;
  max-width: 73rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

section.homepage-cover {
  text-align: center;
  margin: 0 0 2rem;
  padding: 2rem 0;
  background-image: linear-gradient(180deg,#296DB3 0%,#318375 100%);
  color: white;
  font-size: 1.5rem;
}
section.homepage-cover h1 {
  margin: 0 0 1rem;
}

.home-grid {
  display: grid;
  grid-template-columns: auto;
  grid-template-rows: repeat(4, auto);
  grid-auto-rows: 1fr;
  gap: 1.5rem;
}
@media (min-width: 48.5rem) {
  .home-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .home-grid.first-page > :first-child {
    grid-column: 1 / span 2;
  }
  .home-grid.first-page > :first-child .post-link-cover {
    min-height: 19.125rem;
  }
  .home-grid.first-page > :first-child .post-link-cover h2 {
    font-size: 2.5em;
  }
  .home-grid.first-page > :first-child .post-link-summary {
    padding: 2rem 2.125rem;
    font-size: 1.1em;
  }
  .home-grid > .section-break {
    grid-column: 1 / span 2;
  }
}
@media (min-width: 72rem) {
  .home-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, auto);
  }
  .home-grid.first-page > :first-child {
    grid-row: 1 / span 2;
  }
  .home-grid > .section-break {
    grid-column: 1 / span 3;
  }
}
.card {
  text-decoration: none;
  color: inherit;
  border-radius: 6px;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
  background-color: white;
}
a.card, .newsletter-signup {
  display: flex;
  flex-direction: column;
  position: relative;
}
.home-grid > a::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  border-radius: 4px;
  box-shadow: 0 0 16px 0 rgba(0, 0, 0, 0.2);
  opacity: 0;
  transition: opacity 0.167s;
}
.home-grid > a:hover {
  text-decoration: none;
}
.home-grid > a:hover::before {
  opacity: 1;
}

.card .post-link-cover {
  display: grid;
  padding: 0.5rem 2rem;
  overflow: hidden;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  background-image: var(--background-image);
  background-size: cover;
  background-position: var(--background-position, right);
  color: white;
  min-height: 13rem;
  position: relative;
}
.card .post-link-cover img {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 35%;
  object-fit: cover;
  object-position: 45% 50%;
}
.card .post-link-cover img.full-tile {
  width: 100%;
  object-position: initial;
}
.card .post-link-cover div {
  position: absolute;
  display: grid;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0.5rem 2.5rem 0.5rem 2rem;
  background-image: var(--cover-background);
  background-size: 120% 100%;
}
.card .post-link-cover div.with-image {
  width: 70%;
  background-size: cover;
}
.card .post-link-cover h2 {
  margin: 0;
  place-self: center flex-start;
}
.card .post-link-summary {
  padding: 1.375em;
}
.card .post-link-summary h2 {
  margin: 0 0 0.75rem;
}

.newsletter-signup {
  background-color: #318375;
  background-image: linear-gradient(180deg,#318375 0%,#8DC190 100%);
  color: #fff;
  padding: 0 1em 1em 1em;
  border-radius: 4px;
  font-weight: 500;
  justify-content: center;
}
.newsletter-signup form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 1em;
}
.newsletter-signup form input {
  background: none;
  border: none;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
}
.newsletter-signup form input[type="email"] {
  flex: 1;
  border-bottom: 1px solid white;
  padding: 4px;
}
.newsletter-signup form input[type="email"]:hover {
  background: rgba(255, 255, 255, 0.1);
}
.newsletter-signup form input[type="email"]:focus {
  background: rgba(255, 255, 255, 0.6);
  color: #222;
  outline: none;
}
.newsletter-signup form input[type="email"]::placeholder {
  color: white;
  opacity: 0.6;
}
.newsletter-signup form input[type="email"]:focus::placeholder {
  color: #222;
}
.newsletter-signup form input[type="submit"] {
  cursor: pointer;
}
.newsletter-signup form input[type="submit"]:hover {
  text-shadow: #fff 0 0 1px;
}

.about.card {
  display: flex;
  flex-direction: column;
}
.about img {
  width: 110px;
  height: auto;
}
.about-header {
  display: flex;
  align-items: center;
  gap: 0.5em;
  justify-content: space-between;
  background: no-repeat bottom/100% 1em url('/img/promo-card-swoosh.svg'),
    linear-gradient(180deg, #296DB2 0%, #308275 100%);
  color: rgba(255, 255, 255, 0.6);
  font-weight: bold;
  text-align: right;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  padding: 1em 1em 1.875em;
}
.about-header span.tagline {
  padding-bottom: 2px;
}
.about-body {
  padding: 1em;
  background-image: url('/img/prayvineLeaf.svg');
  background-repeat: no-repeat;
  background-size: auto 90%;
  background-position: bottom 9px right 22px;
  font-weight: 500;
  flex: 1;
  text-align: center;
}
.about-body .large {
  font-size: 1.3rem;
}
.about-body p {
  margin-top: 0;
}
.wistia_embed {
  display: inline-block;
}

a.blue-green, button.blue-green {
  font-size: inherit;
  font-family: inherit;
  font-weight: 600;
  padding: .8em 1.6em;
  background-color: #296db3;
  box-shadow: 0 -20px 15px -1px #3d9677 inset;
  color: #fff;
  border-radius: 999px;
}
a.blue-green {
  display: inline-block;
}
a.blue-green:hover, button.blue-green:hover {
  background-color: #175798;
  box-shadow: 0 -20px 15px -1px #259285 inset,0 0 20px 0 #78787844
}
a.blue-green:hover {
  text-decoration: none;
}

a.breadcrumb, .prev-next-links a {
  text-decoration: none;
  color: #444;
  font-weight: 500;
}
a.breadcrumb:hover, .prev-next-links a:hover {
  text-shadow: rgba(0, 0, 0, 0.3) 0 0 1px;
}

article {
  display: grid;
  grid-template-columns: auto;
  grid-template-rows: repeat(5, auto);
  column-gap: 3.75rem;
  row-gap: 2rem;
}
.article-sidebar {
  display: none;
}
@media (min-width: 72rem) {
  article {
    grid-template-columns: minmax(auto, 50em) 15.5em;
  }
  .article-sidebar {
    display: block;
  }
}
article .main {
  grid-row: 2 / -1;
  line-height: 1.5;
}
article .main, article .header {
  width: 100%;
  max-width: 50rem;
  place-self: flex-start center;
}
article .main > p:first-of-type {
  font-size: 1.2em;
}
article .main > p:first-child {
  margin-top: 0;
}
article h1 {
  font-size: 2.25rem;
}
article a {
  font-weight: 600;
}

.article-sidebar > * {
  margin-bottom: 2rem;
}
.article-sidebar .about img {
  width: 141px;
}
.article-sidebar .about .bottom {
  font-size: 0.8em;
  color: #4C6D53;
  margin-bottom: 0;
}

.sharing {
  padding: 1.2rem;
  text-align: center;
  font-size: 0.875rem;
  border-top: 1px solid #D5D5D5;
  border-bottom: 1px solid #D5D5D5;
}
.sharing .icons {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  gap: 0.625rem;
}
.sharing .icons a {
  display: flex;
}
.sharing .icons img, .sharing .icons svg {
  display: block;
  place-self: center;
  width: 1.75rem;
  height: auto;
}

blockquote {
  border-left: 3px solid #8BC190;
  font-size: 1.3em;
  margin-left: 0;
  padding-left: 0.5em;
  font-weight: 500;
  color: #4C6D53;
}

.article-video-promo {
  background: linear-gradient(180deg, #308275 0%, #296DB2 100%);
  padding: 2em 1.5em 1.5em;
  color: white;
  font-weight: 500;
  text-align: center;
}
.article-video-promo .video-thumbnail {
  position: relative;
  cursor: pointer;
}
.article-video-promo .video-thumbnail img {
  display: block;
}
.article-video-promo .video-thumbnail::before,
.article-video-promo .video-thumbnail::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0.75;
}
.article-video-promo .video-thumbnail::before {
  background-color: rgba(0,0,0,0.54);
}
.article-video-promo .video-thumbnail::after {
  background-image: url('/img/video-thumbnail-overlay.svg');
}
.article-video-promo .video-thumbnail:hover::after {
  opacity: 1;
}
.article-video-promo p {
  font-size: 1.125em;
}
.article-video-promo strong {
  font-weight: bold;
}
.article-video-promo button {
  background: white;
  color: #296DB2;
  padding: 0.8em 1.6em;
  border-radius: 999px;
}
.article-video-promo button:hover {
  box-shadow: 0 0 8px 0 #fff6;
}

.article-bottom-promo {
  background: linear-gradient(180deg, #296DB2 0%, #308275 100%);
  color: #fff;
  font-weight: 500;
  padding: 2rem 1.75rem;
  margin: 2rem 0;
  position: relative;
}
@media (min-width: 48.5rem) {
  .article-bottom-promo {
    padding: 2rem 3.75rem;
  }
}
.article-bottom-promo:hover {
  text-decoration: none;
}
.article-bottom-promo::after {
  content: '';
  position: absolute;
  bottom: 10%;
  right: 0.5em;
  height: 80%;
  aspect-ratio: 1;
  background: no-repeat url('/img/prayvineLeaf.svg');
  background-size: contain;
  opacity: 0.1;
}
.article-bottom-promo .cta {
  font-size: 1.3125em;
  margin-bottom: 1.375rem;
}
.article-bottom-promo a {
  color: inherit;
}

.prev-next-links {
  margin-top: 2rem;
  flex-wrap: wrap;
  display: flex;
  justify-content: space-between;
}
@media (min-width: 48.5rem) {
  .prev-next-links {
    flex-wrap: nowrap;
  }
}
.prev-next-links .spacer {
  width: 1rem;
}
.prev-next-links a {
  margin-top: 1rem;
}

img {
  height: auto;
}
img.profile {
  border-radius: 999px;
  width: 32px;
  vertical-align: -10px;
  margin: 0 4px;
}

.info-block {
  font-weight: 500;
}
.info-block > * + *::before {
  content: '/';
  padding: 1em;
  color: #999;
  font-weight: bold;
}

#sign-in-link {
  background-color: #318375;
  color: white;
  border-radius: 999px;
  padding: 0.6em 1em;
}
#sign-in-link:hover {
  background-color: #245c52;
}

h1, h2 {
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 1rem;
}

footer {
  padding: 2rem 0 3rem;
  background-color: #353535;
  color: #fff;
  position: relative;
  margin-top: 8%;
  font-family: Roboto, system-ui, sans-serif;
}
footer .copyright {
  display: inline-block;
  margin-top: 1em;
  margin-inline-end: 1em;
}
footer ul {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  margin: 1em 0 0;
  padding: 0;
  list-style: none;
}
footer ul li {
  display: inline-block;
  margin: 5px 10px;
}
footer ul a {
  color: inherit;
  font-family: Raleway, sans-serif;
}
footer ul li.donate {
  padding: 4px 12px;
  border-radius: 999px;
  font-weight: 500;
  background-color: rgba(0,0,0,.2);
}

figure {
  margin: 0;
}
figcaption {
  font-size: 0.8em;
  line-height: 1.3;
  font-style: italic;
  text-align: center;
}

.list-grid {
  display: grid;
  align-items: baseline;
  column-gap: 2rem;
}
@media (min-width: 48.5rem) {
  .list-grid {
    grid-template-columns: auto 1fr;
  }
}
