/* Ministry activity, prayer and calendar have their own reading layouts. */
.rbm-wordpress:is(.rbm-layout-whats-going-on-now, .rbm-layout-calendar, .rbm-layout-our-prayer-requests) .page-sheet {
  max-width: 1200px;
  padding: 0;
  background: transparent;
  box-shadow: none;
  --grain: 0;
}

.rbm-wordpress:is(.rbm-layout-whats-going-on-now, .rbm-layout-calendar, .rbm-layout-our-prayer-requests) .page-sheet::after {
  content: none;
}

.rbm-wordpress:is(.rbm-layout-whats-going-on-now, .rbm-layout-calendar, .rbm-layout-our-prayer-requests) .entry-content {
  max-width: none;
}

.rbm-wordpress:is(.rbm-layout-whats-going-on-now, .rbm-layout-calendar, .rbm-layout-our-prayer-requests) .page-heading > .container {
  max-width: 1296px;
  padding-bottom: clamp(24px, 4vw, 46px);
}

.rbm-wordpress.rbm-layout-whats-going-on-now .page-heading {
  background: #344b41;
  color: #faf3e2;
  --grain: .3;
}

.rbm-wordpress.rbm-layout-whats-going-on-now .page-emblem {
  color: #e1c998;
}

.rbm-wordpress.rbm-layout-whats-going-on-now .page-heading > .bg-sketch {
  filter: brightness(1.9);
  opacity: .22;
}

.rbm-wordpress.rbm-layout-whats-going-on-now .page-landscape {
  padding-top: clamp(22px, 4vw, 54px);
  background-color: #eeeee2;
}

.rbm-field-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(24px, 5.6vw, 75px);
  align-items: center;
  margin-bottom: clamp(36px, 5vw, 65px);
  padding-bottom: clamp(28px, 5vw, 64px);
  border-bottom: 1px solid #a6af9d;
}

.rbm-wordpress .entry-content .rbm-field-photo {
  align-self: center;
  min-width: 0;
  margin: 0;
  padding: clamp(5px, .9vw, 12px);
  border: 1px solid #b6bca7;
  background: #fbf6e8 url('../assets/texture-linen.png') center / 460px;
  box-shadow: 0 13px 20px -20px #233a34b7;
}

.rbm-wordpress .entry-content .rbm-field-photo img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  margin: 0 auto;
}

.rbm-wordpress .entry-content .rbm-field-copy h2 {
  margin: 0 0 16px;
  font-size: clamp(30px, 4.5vw, 49px);
  line-height: 1.04;
}

.rbm-wordpress .entry-content .rbm-field-copy p:last-child {
  margin-bottom: 0;
}

.rbm-field-gallery {
  display: grid;
  gap: clamp(12px, 2vw, 26px);
  align-items: center;
}

.rbm-field-gallery--portraits {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: clamp(12px, 2vw, 26px);
}

.rbm-field-gallery--landscapes {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rbm-wordpress.rbm-layout-our-prayer-requests :is(.page-heading, .page-landscape) {
  background: #f3ecdb;
  --texture: url('../assets/texture-linen.png');
  --grain: .38;
}

.rbm-prayer-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .84fr);
  gap: clamp(24px, 6.8vw, 82px);
  align-items: center;
  padding: clamp(22px, 4vw, 56px);
  border-top: 2px solid #947d4c;
  background: #e1e8dd url('../assets/texture-mineral.png') center / 530px;
}

.rbm-wordpress .entry-content .rbm-prayer-copy h2 {
  margin: 0 0 14px;
  font-size: clamp(31px, 4.5vw, 55px);
}

.rbm-wordpress .entry-content .rbm-prayer-copy ul {
  margin-bottom: 17px;
  padding-left: 23px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 600;
  line-height: 1.22;
}

.rbm-prayer-copy li::marker {
  color: #806b40;
}

.rbm-wordpress .entry-content .rbm-prayer-feature .rbm-field-photo {
  width: min(100%, 325px);
  justify-self: center;
}

.rbm-wordpress .entry-content .rbm-field-action {
  display: inline-flex;
  align-items: center;
  gap: .65em;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid #899c89;
  color: #2c4638;
  background: #f6f3e9;
  font-size: .9rem;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
}

.rbm-wordpress .entry-content .rbm-field-action:hover,
.rbm-wordpress .entry-content .rbm-field-action:focus-visible {
  border-color: #375345;
  background: #e3e9dd;
  text-decoration: underline;
  text-underline-offset: .2em;
}

.rbm-wordpress.rbm-layout-calendar :is(.page-heading, .page-landscape) {
  background: #f6f0e5;
  --texture: url('../assets/texture-linen.png');
  --grain: .28;
}

.rbm-calendar-view {
  border: 1px solid #b4bba8;
  background: #fffefb;
}

.rbm-calendar-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding: 12px clamp(12px, 3vw, 27px);
  border-bottom: 1px solid #b4bba8;
  background: #e4e9dd;
}

.rbm-wordpress .entry-content .rbm-calendar-toolbar p {
  margin: 0;
  font-size: .88rem;
}

.rbm-wordpress .entry-content .rbm-calendar-view iframe {
  display: block;
  width: 100%;
  height: clamp(480px, 61vw, 670px);
  margin: 0;
  border: 0;
}

@media (max-width: 760px) {
  .rbm-field-feature,
  .rbm-prayer-feature {
    grid-template-columns: minmax(0, 1fr);
  }

  .rbm-field-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rbm-field-gallery--landscapes .rbm-field-photo:last-child {
    grid-column: 1 / -1;
    width: min(100%, 500px);
    justify-self: center;
  }
}
