/* Monitor-only giving reminder. This banner never opens checkout or sends money. */
.screen.zelle-ribbon-layout {
  grid-template-rows: auto minmax(0, 1fr) auto auto auto;
}
.zelle-ribbon {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(16px, 1.8vw, 64px);
  padding: clamp(12px, .9vw, 32px) clamp(20px, 1.6vw, 60px);
  border: 1px solid #d8b866;
  border-left: clamp(5px, .35vw, 12px) solid #b18b36;
  border-radius: clamp(12px, .7vw, 26px);
  background: linear-gradient(105deg, #f3dfaa, #f9edcd);
  color: #073d31;
  min-width: 0;
}
.zelle-ribbon-copy {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1vw, 36px);
  min-width: 0;
}
.zelle-ribbon-icon {
  width: clamp(32px, 2.3vw, 80px);
  height: clamp(32px, 2.3vw, 80px);
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.zelle-ribbon h2 {
  margin: 0;
  font: 700 clamp(20px, 1.4vw, 52px)/1.15 Arial, Helvetica, sans-serif;
  letter-spacing: -.025em;
}
.zelle-ribbon-copy p {
  margin: .3em 0 0;
  font-size: clamp(13px, .88vw, 32px);
  line-height: 1.35;
  color: #345447;
}
.zelle-ribbon-details {
  text-align: right;
  min-width: 0;
}
.zelle-ribbon-destination {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: clamp(12px, 1vw, 36px);
}
.zelle-ribbon-label {
  font-size: clamp(13px, .86vw, 30px);
  font-weight: 700;
  letter-spacing: .04em;
  white-space: nowrap;
}
.zelle-ribbon-number {
  font-size: clamp(27px, 2.05vw, 76px);
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.zelle-ribbon-note {
  margin: .35em 0 0;
  font-size: clamp(11px, .64vw, 23px);
  line-height: 1.3;
  color: #345447;
}
@media (max-width: 999px) {
  .screen.zelle-ribbon-layout { grid-template-rows: auto auto auto auto auto; }
  .zelle-ribbon { gap: 16px; }
  .zelle-ribbon-destination { flex-direction: column; gap: 4px; align-items: flex-end; }
}
@media (max-width: 650px) {
  .zelle-ribbon { grid-template-columns: minmax(0, 1fr); padding: 18px; gap: 16px; }
  .zelle-ribbon-details { text-align: left; padding-top: 12px; border-top: 1px solid #cbb775; }
  .zelle-ribbon-destination { align-items: flex-start; gap: 6px; }
  .zelle-ribbon-number { font-size: clamp(26px, 7.4vw, 40px); letter-spacing: .015em; }
  .zelle-ribbon-note { font-size: 12px; }
}
/* Reserve the ribbon's own row instead of overlaying the prayer timetable. */
@media (min-width: 1000px) and (min-height: 650px) {
  .screen.zelle-ribbon-layout .prayer-table { height: auto; flex: 1 1 0; }
  .screen.zelle-ribbon-layout .prayer-foot { flex: none; }
  .screen.zelle-ribbon-layout .section-head { margin-bottom: .6em; flex: none; }
  .screen.zelle-ribbon-layout .next-prayer { flex: none; margin-bottom: .5em; }
  .screen.zelle-ribbon-layout .prayer-table th,
  .screen.zelle-ribbon-layout .prayer-table td { padding-top: .38em; padding-bottom: .38em; }
}
@media (min-width: 1000px) and (min-height: 650px) and (max-height: 800px) {
  .screen.zelle-ribbon-layout .prayer-card { padding-block: 16px; }
  .screen.zelle-ribbon-layout .next-prayer { padding-block: 12px; }
  .screen.zelle-ribbon-layout .section-head { margin-bottom: .4em; }
  .screen.zelle-ribbon-layout .prayer-table th,
  .screen.zelle-ribbon-layout .prayer-table td { padding-top: .3em; padding-bottom: .3em; }
}
@media (min-aspect-ratio: 21/10) and (min-width: 1400px) and (min-height: 650px) {
  .screen.zelle-ribbon-layout .prayer-card { padding-block: clamp(20px, 2vh, 40px); }
  .screen.zelle-ribbon-layout .next-prayer { padding-block: clamp(16px, 1.5vh, 30px); }
}
/* Compact landscape keeps all five prayers visible when browser chrome uses height. */
@media (min-width: 1000px) and (min-height: 650px) and (max-height: 800px) {
  .screen.zelle-ribbon-layout { padding-top: 18px; padding-bottom: 18px; gap: 10px; }
  .zelle-ribbon-layout .masthead { padding-bottom: 10px; }
  .zelle-ribbon-layout .logo { width: 56px; height: 56px; }
  .zelle-ribbon-layout .identity h1 { font-size: 32px; }
  .zelle-ribbon-layout .clock-line time { font-size: 46px; }
  .zelle-ribbon-layout .section-head h2 { font-size: 27px; }
  .zelle-ribbon-layout .friday-strip { padding-block: 12px; }
  .zelle-ribbon-layout .zelle-ribbon { padding-block: 10px; }
  .zelle-ribbon-layout .zelle-ribbon h2 { font-size: 22px; }
  .zelle-ribbon-layout .zelle-ribbon-copy p { font-size: 14px; }
  .zelle-ribbon-layout .zelle-ribbon-number { font-size: 30px; }
  .zelle-ribbon-layout .zelle-ribbon-note { font-size: 11px; }
  .zelle-ribbon-layout .zelle-ribbon-icon { width: 34px; height: 34px; }
}
@media (min-width: 1000px) and (min-height: 650px) and (max-height: 699px) {
  .screen.zelle-ribbon-layout .prayer-card { padding-block: 12px; }
  .screen.zelle-ribbon-layout .next-prayer { padding-block: 8px; }
  .screen.zelle-ribbon-layout .prayer-table th,
  .screen.zelle-ribbon-layout .prayer-table td { padding-top: .2em; padding-bottom: .2em; }
}
/* Keep event text below its heading if a compact viewport has less vertical space. */
.screen.zelle-ribbon-layout .events-list { justify-content: flex-start; overflow-y: auto; }
.screen.zelle-ribbon-layout .event-row { flex-shrink: 0; }
@media (min-width: 1000px) and (max-height: 800px) {
  .screen.zelle-ribbon-layout .event-row { padding-block: .4em; }
  .screen.zelle-ribbon-layout .empty-events { padding-block: .35em; }
  .screen.zelle-ribbon-layout .empty-events p { margin-top: .25em; }
}
