/* Four moments of the Sabbath, with photographs and a separate time badge. */
.sabbath-heading { align-items: center; margin-bottom: 42px; }
.sabbath-heading h2 { white-space: pre-line; }
.sabbath-intro { max-width: 460px; }
.sabbath-intro > p { font-size: 14px; line-height: 1.9; }
.sabbath-intro .sabbath-timezone { font-size: 10px; color: var(--muted); margin-top: 14px; }
.sabbath-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.sabbath-card {
  --sabbath-accent: var(--brand-orange);
  min-width: 0;
  background: var(--brand-white);
  border: 1px solid var(--line);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
}
.sabbath-card-worship { --sabbath-accent: var(--brand-blue); }
.sabbath-card-potluck { --sabbath-accent: var(--brand-yellow); }
.sabbath-card-activity { --sabbath-accent: var(--brand-green); }
.sabbath-photo { position: relative; border-radius: 9px 9px 0 0; }
.sabbath-photo > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: inherit;
}
.sabbath-card-bonfire .sabbath-photo > img { object-position: center 48%; }
.sabbath-card-worship .sabbath-photo > img { object-position: center 64%; }
.sabbath-card-potluck .sabbath-photo > img { object-position: center 40%; }
.sabbath-card-activity .sabbath-photo > img { object-position: center 64%; }
.sabbath-time {
  position: absolute;
  left: 19px;
  bottom: -21px;
  max-width: calc(100% - 38px);
  min-height: 44px;
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--sabbath-accent);
  border-radius: 6px;
  background: var(--brand-white);
  color: var(--ink);
  box-shadow: 0 4px 12px color-mix(in srgb, var(--brand-black) 7%, transparent);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}
.sabbath-time svg { width: 17px; height: 17px; flex-shrink: 0; fill: none; stroke: var(--sabbath-accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sabbath-time sup { font-size: 10px; margin-left: 2px; }
.sabbath-card-body { padding: 43px 22px 25px; display: flex; flex-direction: column; flex: 1; }
.sabbath-day { color: var(--ink); font-size: 8px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; line-height: 1.8; }
.sabbath-card h3 { font-size: 26px; line-height: 1.2; margin: 12px 0 17px; }
.sabbath-description { font-size: 12px; line-height: 1.9; }
.sabbath-card .sabbath-note { font-size: 10px; line-height: 1.8; color: var(--ink); margin-top: 21px; padding-top: 15px; border-top: 1px solid var(--line); }
@media (max-width: 1100px) {
  .sabbath-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .sabbath-photo > img { aspect-ratio: 16 / 10; }
  .sabbath-card-body { padding-inline: 26px; }
  .sabbath-time { left: 25px; }
}
@media (max-width: 760px) {
  .sabbath-heading { margin-bottom: 30px; }
  .sabbath-intro { margin-top: 22px; }
  .sabbath-grid { gap: 22px; }
  .sabbath-card-body { padding-inline: 20px; }
  .sabbath-time { left: 19px; font-size: 14px; padding-inline: 11px; }
  .sabbath-card h3 { font-size: 24px; }
}
@media (max-width: 600px) {
  .sabbath-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .sabbath-card-body { padding: 42px 24px 27px; }
  .sabbath-time { left: 23px; font-size: 16px; }
  .sabbath-card h3 { font-size: 29px; }
  .sabbath-day { font-size: 9px; }
  .sabbath-description { font-size: 13px; }
  .sabbath-card .sabbath-note { font-size: 11px; }
}
