:root {
  --stone-950: #0f0d0a;
  --stone-900: #16130f;
  --stone-800: #251f17;
  --stone-700: #3c3429;
  --stone-300: #d7cbba;
  --stone-200: #ece4d7;
  --gold-600: #8a6a1d;
  --gold-500: #a7832d;
  --gold-400: #c5a24d;
  --gold-300: #ddc57e;
  --text-main: #f4efe5;
  --text-muted: #d1c6b4;
  --panel-bg: rgba(20, 17, 13, 0.82);
  --panel-border: rgba(197, 162, 77, 0.5);
  --panel-shadow: 0 20px 55px rgba(0, 0, 0, 0.42);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
}

body.display-theme {
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(circle at 15% 10%, rgba(197, 162, 77, 0.2), transparent 36%),
    radial-gradient(circle at 85% 0%, rgba(112, 88, 36, 0.18), transparent 34%),
    var(--stone-950);
}

.theme-gold-accent {
  color: var(--gold-300);
}

.theme-stone-texture {
  background:
    linear-gradient(140deg, rgba(46, 39, 30, 0.6), rgba(23, 19, 15, 0.95)),
    radial-gradient(circle at 18% 14%, rgba(197, 162, 77, 0.1), transparent 32%);
}

.theme-card {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: 22px;
  box-shadow: var(--panel-shadow);
  backdrop-filter: blur(6px);
}

.theme-title-header {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: clamp(1.1rem, 1.4vw, 1.55rem);
  color: var(--stone-200);
}

.theme-panel-frame {
  position: relative;
  overflow: hidden;
}

.theme-panel-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px solid rgba(221, 197, 126, 0.25);
  border-radius: inherit;
}

.display-frame-light .theme-panel-frame::before {
  border-color: rgba(128, 93, 32, 0.24);
}

.display-stage {
  width: 100vw;
  min-height: 100vh;
  height: 100vh;
  padding: 0;
  margin: 0;
  overflow: hidden;
}

.display-fullscreen-btn {
  position: fixed;
  top: clamp(0.55rem, 1.45vh, 1rem);
  right: clamp(0.8rem, 2.5vw, 1.6rem);
  z-index: 60;
  border: 1px solid rgba(221, 197, 126, 0.52);
  background: rgba(8, 7, 5, 0.72);
  color: #f6ebd2;
  border-radius: 999px;
  padding: 0.42rem 0.8rem;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: clamp(0.66rem, 0.86vw, 0.82rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.33);
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.display-fullscreen-btn:hover,
.display-fullscreen-btn:focus-visible {
  background: rgba(14, 12, 9, 0.92);
  border-color: rgba(243, 222, 168, 0.9);
  transform: translateY(-1px);
}

.display-fullscreen-btn:focus-visible {
  outline: 2px solid rgba(243, 222, 168, 0.75);
  outline-offset: 2px;
}

.display-fullscreen-btn.is-pulse {
  animation: fullscreen-pulse 1.45s ease-in-out infinite;
}

.display-fullscreen-btn.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
}

.display-frame {
  position: relative;
  width: 100vw;
  height: 100vh;
  min-height: 100vh;
  border-radius: 0;
  overflow: hidden;
  background:
    linear-gradient(150deg, rgba(8, 8, 7, 0.35) 12%, rgba(9, 8, 6, 0.72) 88%),
    url("./shulsync-background-frame.png") center center / 100% 100% no-repeat;
  box-shadow: none;
}

.display-frame-light {
  --text-main: #2a2319;
  --text-muted: #5e523f;
  --panel-bg: rgba(248, 241, 228, 0.74);
  --panel-border: rgba(139, 110, 48, 0.55);
  --panel-shadow: 0 16px 36px rgba(70, 52, 20, 0.22);
  background:
    linear-gradient(150deg, rgba(255, 251, 242, 0.3) 12%, rgba(246, 236, 214, 0.5) 88%),
    url("./shulsync-background-frame-light.png") center center / 100% 100% no-repeat;
}

.display-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.34) 0%, rgba(0, 0, 0, 0.08) 16%, rgba(0, 0, 0, 0.08) 84%, rgba(0, 0, 0, 0.36) 100%),
    linear-gradient(90deg, transparent 43%, rgba(9, 7, 5, 0.68) 49%, rgba(9, 7, 5, 0.68) 51%, transparent 57%);
  opacity: 0.9;
  pointer-events: none;
}

.display-frame-light::after {
  background:
    linear-gradient(90deg, rgba(255, 250, 240, 0.38) 0%, rgba(255, 250, 240, 0.16) 16%, rgba(255, 250, 240, 0.16) 84%, rgba(255, 250, 240, 0.38) 100%);
  opacity: 0.4;
}

.display-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: clamp(1.1rem, 2.7vh, 2.2rem) clamp(1.15rem, 2.35vw, 2.3rem) clamp(1.1rem, 2.7vh, 2.2rem);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.display-inner::before {
  content: "";
  position: absolute;
  inset: clamp(0.6rem, 1.1vw, 1.05rem);
  border-radius: clamp(16px, 1.2vw, 24px);
  border: 2px solid rgba(214, 176, 84, 0.82);
  box-shadow:
    inset 0 0 0 1px rgba(255, 227, 159, 0.32),
    0 0 34px rgba(160, 115, 36, 0.26);
  pointer-events: none;
  z-index: 1;
}

.display-frame-light .display-inner::before {
  border: 2px solid rgba(146, 109, 39, 0.82);
  box-shadow:
    inset 0 0 0 1px rgba(112, 80, 29, 0.28),
    0 0 28px rgba(181, 143, 69, 0.22);
}

.display-inner > * {
  position: relative;
  z-index: 2;
}

.display-topbar {
  grid-area: top;
  position: relative;
  width: min(620px, 94%);
  justify-self: center;
  align-self: start;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding-top: clamp(0.15rem, 0.5vh, 0.55rem);
  margin-bottom: clamp(0.15rem, 0.6vh, 0.5rem);
  z-index: 4;
  pointer-events: none;
}

.display-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.display-logo {
  width: clamp(72px, 7.2vh, 110px);
  height: clamp(72px, 7.2vh, 110px);
  object-fit: contain;
  border-radius: 18px;
  border: 1px solid rgba(221, 197, 126, 0.65);
  background: rgba(10, 8, 6, 0.46);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.4);
  padding: 0.3rem;
}

.display-logo-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.35rem, 1.7vw, 1.8rem);
  letter-spacing: 0.08em;
  color: #f7ebd2;
}

.display-frame-light .display-logo {
  border-color: rgba(153, 114, 38, 0.58);
  background: rgba(250, 243, 228, 0.76);
}

.display-frame-light .display-logo-fallback {
  color: #3e2e19;
}

.display-brand-name {
  margin: 0.45rem 0 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(0.88rem, 1.08vw, 1.2rem);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #f8f1e3;
  line-height: 1.1;
}

.display-subtitle {
  margin: 0.2rem 0 0;
  font-size: clamp(0.74rem, 0.86vw, 0.9rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.display-frame-light .theme-title-header,
.display-frame-light .display-brand-name,
.display-frame-light .display-subtitle,
.display-frame-light .panel-section h3,
.display-frame-light .empty-copy {
  color: #2f271d;
}

.display-date-card {
  margin-top: 0.28rem;
  padding: 0.36rem 0.62rem;
  border-radius: 12px;
  border: 1px solid rgba(221, 197, 126, 0.48);
  background: rgba(6, 6, 5, 0.64);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.display-frame-light .display-date-card {
  border-color: rgba(146, 109, 39, 0.46);
  background: rgba(255, 248, 234, 0.78);
  box-shadow: 0 8px 16px rgba(65, 47, 19, 0.18);
}

.display-date-row {
  width: min(460px, 36vw);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.58rem;
  font-size: clamp(0.84rem, 1.05vw, 1.08rem);
  letter-spacing: 0.03em;
  color: #f5ead4;
}

.display-frame-light .display-date-row {
  color: #2f271d;
}

.display-date-en {
  text-align: left;
}

.display-date-he {
  text-align: right;
  direction: rtl;
}

.display-grid {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(252px, 1.2fr) minmax(0, 1.9fr) minmax(252px, 1.2fr);
  grid-template-rows: auto minmax(0, 1fr);
  grid-template-areas:
    "left top right"
    "left center right";
  gap: clamp(0.85rem, 1.18vw, 1.24rem);
  align-items: stretch;
}

.display-panel {
  padding: clamp(0.85rem, 1vw, 1.15rem);
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(0.72rem, 1vw, 0.98rem);
}

.display-panel-left {
  grid-area: left;
  margin: 0;
}

.display-panel-center {
  grid-area: center;
  margin: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  align-content: stretch;
  overflow: hidden;
}

.display-panel-right {
  grid-area: right;
  margin: 0;
}

.panel-section {
  border-radius: 14px;
  border: 1px solid rgba(221, 197, 126, 0.22);
  background: rgba(8, 8, 6, 0.27);
  padding: clamp(0.55rem, 0.9vw, 0.88rem);
}

.display-frame-light .panel-section {
  border-color: rgba(131, 99, 37, 0.25);
  background: rgba(252, 248, 238, 0.54);
}

.panel-half {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.panel-split {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.panel-section h3 {
  margin: 0 0 0.55rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #f5e7cc;
  font-size: clamp(0.95rem, 1.05vw, 1.22rem);
}

.zmanim-source-note {
  font-family: inherit;
  font-size: clamp(0.55rem, 0.6vw, 0.68rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--text-muted);
  opacity: 0.7;
  vertical-align: middle;
}

.meta-list,
.notice-list,
.schedule-list,
.zmanim-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.zmanim-list li,
.schedule-list li,
.notice-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.34rem 0;
  border-bottom: 1px solid rgba(236, 228, 215, 0.08);
  font-size: clamp(0.84rem, 0.95vw, 1rem);
}

.display-frame-light .zmanim-list li,
.display-frame-light .schedule-list li,
.display-frame-light .notice-list li {
  border-bottom-color: rgba(95, 73, 39, 0.14);
}

.zmanim-list li:last-child,
.schedule-list li:last-child,
.notice-list li:last-child {
  border-bottom: 0;
}

.notice-list li {
  align-items: flex-start;
}

.notice-content {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
}

.notice-title {
  font-weight: 600;
}

.notice-body {
  color: var(--text-muted);
  font-size: clamp(0.76rem, 0.86vw, 0.9rem);
  line-height: 1.28;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.notice-date {
  white-space: nowrap;
  padding-top: 0.1rem;
}

.notice-scroll-area {
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.shul-app-access-nested {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  border-top: 1px solid rgba(221, 197, 126, 0.2);
  margin-top: 0.5rem;
  padding-top: 0.5rem;
}

.display-frame-light .shul-app-access-nested {
  border-top-color: rgba(131, 99, 37, 0.22);
}

.shul-app-access-copy {
  min-width: 0;
  flex: 1;
  display: grid;
  gap: 0.2rem;
}

.shul-app-access-title,
.shul-app-access-label,
.shul-app-access-code,
.shul-app-access-meta {
  margin: 0;
}

.shul-app-access-title {
  font-size: clamp(0.78rem, 0.9vw, 0.9rem);
  color: #f5ead4;
  line-height: 1.2;
}

.shul-app-access-label {
  margin-top: 0.08rem;
  font-size: clamp(0.68rem, 0.76vw, 0.76rem);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.shul-app-access-code {
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: clamp(0.96rem, 1.22vw, 1.3rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #f1e2bd;
  line-height: 1.15;
}

.shul-app-access-meta {
  font-size: clamp(0.64rem, 0.74vw, 0.74rem);
  color: var(--text-muted);
  line-height: 1.2;
}

.shul-app-access-qr {
  width: clamp(64px, 5.2vw, 86px);
  height: clamp(64px, 5.2vw, 86px);
  border-radius: 10px;
  border: 1px solid rgba(221, 197, 126, 0.42);
  background: rgba(7, 7, 6, 0.62);
  object-fit: cover;
  flex-shrink: 0;
}

.shul-app-access-qr-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.shul-app-access-qr-label {
  font-size: clamp(0.6rem, 0.7vw, 0.72rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin: 0;
}

.shul-app-access-qr-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: clamp(0.68rem, 0.8vw, 0.8rem);
  font-weight: 700;
  letter-spacing: 0.07em;
}

.display-frame-light .shul-app-access-title {
  color: #2f271d;
}

.display-frame-light .shul-app-access-code {
  color: #5f4310;
  font-weight: 500;
}

.display-frame-light .shul-app-access-qr {
  border-color: rgba(146, 109, 39, 0.42);
  background: rgba(255, 249, 236, 0.88);
}

.label-muted {
  color: var(--text-muted);
}

.value-emphasis {
  color: #f8edd3;
  font-weight: 600;
}

.display-frame-light .label-muted {
  color: #5a4d3b;
}

.display-frame-light .notice-body {
  color: #5a4d3b;
}

.display-frame-light .value-emphasis {
  color: #2f281c;
}

.flyer-carousel {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 1.414 / 1;
  flex: 0 1 auto;
  min-height: 0;
  max-height: 100%;
  margin: 0 auto;
  background: rgba(3, 3, 3, 0.4);
  border: 1px solid rgba(221, 197, 126, 0.27);
}

.display-frame-light .flyer-carousel {
  border-color: rgba(143, 109, 42, 0.34);
  background: rgba(247, 241, 228, 0.64);
}

.flyer-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  isolation: isolate;
}

.flyer-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 900ms ease;
}

.flyer-slide.is-active {
  opacity: 1;
}

.flyer-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: rgba(1, 1, 1, 0.72);
}

.display-frame-light .flyer-slide img {
  background: rgba(246, 241, 229, 0.7);
}

.flyer-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-muted);
  padding: 1.5rem;
}

.center-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.zmanim-section {
  margin-top: 0;
  flex: 0 0 auto;
  position: relative;
  z-index: 2;
}

.zmanim-bilingual-list {
  display: flex;
  flex-direction: column;
}

.zmanim-bilingual-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: baseline;
  gap: clamp(0.5rem, 1vw, 0.95rem);
}

.zmanim-label-en {
  text-align: left;
}

.zmanim-time {
  text-align: center;
  white-space: nowrap;
}

.zmanim-label-he {
  text-align: right;
  direction: rtl;
}

.donor-panel {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.donor-marquee {
  --donor-scroll-duration: 58s;
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  mask-image: linear-gradient(to bottom, transparent 0%, black 8%, black 92%, transparent 100%);
}

.donor-marquee.is-static {
  mask-image: none;
}

.donor-marquee-track {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  animation: donor-scroll var(--donor-scroll-duration) linear infinite;
}

.donor-marquee.is-static .donor-marquee-track {
  animation: none;
}

.donor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.donor-plaque {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 12px;
  border: 0;
  background: url("./plaque-gold.png") center / 100% 100% no-repeat;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
  padding: 1.04rem 0.84rem 0.72rem;
  min-height: 92px;
}

.donor-plaque-name {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(0.86rem, 0.94vw, 1.02rem);
  letter-spacing: 0.03em;
  color: #3a280e;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  text-shadow:
    0 1px 0 rgba(245, 219, 154, 0.45),
    0 -1px 0 rgba(83, 56, 19, 0.38);
}

.donor-plaque-note {
  margin: 0.12rem 0 0;
  color: #4a3417;
  font-size: clamp(0.66rem, 0.76vw, 0.8rem);
  line-height: 1.2;
  text-align: center;
  text-shadow:
    0 1px 0 rgba(247, 224, 166, 0.35),
    0 -1px 0 rgba(84, 58, 22, 0.3);
}

.donor-plaque-description {
  margin: 0.1rem 0 0;
  color: #4a3417;
  font-size: clamp(0.62rem, 0.72vw, 0.74rem);
  line-height: 1.15;
  text-align: center;
  text-shadow:
    0 1px 0 rgba(247, 224, 166, 0.3),
    0 -1px 0 rgba(84, 58, 22, 0.25);
}

.donor-badge-new {
  position: absolute;
  top: 0.36rem;
  right: 0.38rem;
  min-width: 2.02rem;
  padding: 0.12rem 0.46rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #050505;
  color: #f4d783;
  font-size: 0.46rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1;
  text-transform: uppercase;
  border-radius: 999px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.45);
  z-index: 2;
}

@keyframes donor-scroll {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(calc(-50% - 0.325rem));
  }
}

.empty-copy {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.plaques-stage {
  min-height: 100vh;
  padding: clamp(1.1rem, 3vw, 3rem);
}

.plaques-wrapper {
  max-width: 1600px;
  margin: 0 auto;
}

.plaques-header {
  margin-bottom: clamp(1rem, 2vw, 1.8rem);
}

.plaques-heading {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 4.1vw, 3.35rem);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #f9f1de;
}

.plaques-subheading {
  margin: 0.35rem 0 0;
  max-width: 700px;
  color: #d5c6ac;
  font-size: clamp(0.95rem, 1.15vw, 1.12rem);
  line-height: 1.45;
}

.donor-level {
  margin-bottom: 1rem;
}

.donor-level-header {
  margin: 0 0 0.66rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.18rem, 1.8vw, 1.75rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #f6e7c0;
}

.plaque-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.66rem;
}

.plaque-card {
  position: relative;
  border-radius: 14px;
  padding: 0.88rem 0.95rem 0.95rem;
  min-height: 116px;
  background:
    linear-gradient(150deg, rgba(33, 27, 20, 0.96), rgba(18, 15, 11, 0.96));
  border: 1px solid rgba(221, 197, 126, 0.48);
  box-shadow: 0 11px 24px rgba(0, 0, 0, 0.34);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
  animation: plaque-rise 420ms ease both;
}

.plaque-card::before {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 10px;
  border: 1px solid rgba(243, 222, 168, 0.19);
  pointer-events: none;
}

.plaque-card:hover,
.plaque-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(243, 222, 168, 0.75);
  box-shadow:
    0 16px 30px rgba(0, 0, 0, 0.5),
    0 0 24px rgba(211, 168, 71, 0.24);
}

.plaque-name {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  letter-spacing: 0.04em;
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  color: #fff3d3;
}

.plaque-dedication {
  margin: 0.34rem 0 0;
  color: #ddcfb4;
  line-height: 1.35;
  font-size: clamp(0.84rem, 0.97vw, 0.97rem);
}

.plaque-meta {
  margin-top: 0.5rem;
  color: #bba985;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.plaque-empty {
  color: var(--text-muted);
  display: inline-block;
  font-size: 0.92rem;
  padding: 0.6rem 0.2rem 0.7rem;
}

@keyframes plaque-rise {
  from {
    transform: translateY(10px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fullscreen-pulse {
  0%, 100% {
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.33);
  }
  50% {
    box-shadow:
      0 8px 18px rgba(0, 0, 0, 0.33),
      0 0 0 3px rgba(243, 222, 168, 0.26);
  }
}

@media (max-width: 1380px) {
  .display-grid {
    grid-template-columns: minmax(206px, 1.08fr) minmax(0, 1.68fr) minmax(206px, 1.08fr);
  }
}

@media (max-width: 1120px), (max-aspect-ratio: 4/3) {
  .display-inner {
    padding: 1rem 0.9rem;
  }

  .display-inner::before {
    inset: 0.36rem;
  }

  .display-topbar {
    width: 100%;
    margin-bottom: 0;
  }

  .display-date-row {
    width: min(94vw, 620px);
  }

  .display-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
    grid-template-areas:
      "top"
      "center"
      "left"
      "right";
  }

  .flyer-carousel {
    width: 100%;
  }

  .zmanim-bilingual-list li {
    gap: 0.45rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .flyer-slide,
  .donor-marquee-track,
  .plaque-card {
    transition: none;
    animation: none;
  }
}
