/* ================================================================
   TWICE BLESSED CAMPAIGN  ·  Nov 15 to Dec 31, 2026
   Shown and hidden automatically by js/campaign.js.
   After the campaign this file, js/campaign.js, and the .tb-only
   blocks can be deleted, but they also do no harm left in place.
================================================================ */

html:not(.tb-on) .tb-only { display: none !important; }
html.tb-on .tb-hide       { display: none !important; }

/* ── Shared pieces ─────────────────────────────────────────── */
.tb-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #85591a;
}
.tb-cross {
  display: block;
  flex: none;
  width: auto;
  height: 20px;
}
.tb-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fdf7ec;
  background: #9b4a2a;
  border: 1.5px solid #9b4a2a;
  transition: background .18s, border-color .18s;
}
.tb-btn:hover { background: #7d3a1f; border-color: #7d3a1f; color: #fdf7ec; }
.tb-link {
  font-size: 0.84rem;
  color: rgba(28,24,18,.72);
  text-decoration: none;
  border-bottom: 1px solid rgba(28,24,18,.28);
  padding-bottom: 2px;
}
.tb-link:hover { color: #1c1812; border-bottom-color: #1c1812; }

/* $5,000 + $5,000 = $10,000 */
.tb-match {
  display: flex;
  align-items: stretch;
  gap: 10px;
  margin-top: 28px;
}
.tb-match__cell {
  flex: 1 1 0;
  max-width: 170px;
  background: rgba(255,252,244,.62);
  border: 1px solid rgba(28,24,18,.12);
  border-radius: 12px;
  padding: 14px 16px 13px;
}
.tb-match__num {
  display: block;
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.75rem;
  line-height: 1;
  color: #1c1812;
}
.tb-match__lbl {
  display: block;
  margin-top: 7px;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(28,24,18,.6);
}
.tb-match__op {
  align-self: center;
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.5rem;
  color: #85591a;
}
.tb-match__cell--total { background: #1c1812; border-color: #1c1812; }
.tb-match__cell--total .tb-match__num { color: #f3ead8; }
.tb-match__cell--total .tb-match__lbl { color: rgba(243,234,216,.66); }

/* ── Homepage band (above Upcoming events) ─────────────────── */
.tb-band {
  padding: 92px 56px;
  background: linear-gradient(135deg, #f3ead8 0%, #e7d6a8 58%, #d9c082 100%);
  border-top: 1px solid rgba(28,24,18,.08);
  border-bottom: 1px solid rgba(28,24,18,.08);
}
.tb-band__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 68px;
  align-items: center;
}
.tb-band__art img {
  display: block;
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 28px 56px -26px rgba(28,24,18,.6);
}
.tb-band__title,
.tb-panel__title {
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.01em;
  color: #1c1812;
  margin: 18px 0 0;
}
.tb-band__title { font-size: clamp(2.4rem, 4.4vw, 3.7rem); }
.tb-band__title em,
.tb-panel__title em { font-style: italic; color: #9b4a2a; }
.tb-band__body {
  font-size: 1.02rem;
  line-height: 1.72;
  color: rgba(28,24,18,.76);
  max-width: 580px;
  margin: 20px 0 0;
}
.tb-band__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 26px;
  margin-top: 32px;
}

/* ── Donations page panel (replaces the Zeffy form) ────────── */
.tb-panel {
  max-width: 720px;
  padding: 42px 46px 40px;
  border-radius: 18px;
  background: linear-gradient(135deg, #f3ead8 0%, #ecdcb3 66%, #e2c98f 100%);
  box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 0 18px 44px -22px rgba(60,40,15,.35);
}
.tb-panel__title { font-size: clamp(2.2rem, 3.6vw, 3.1rem); }
.tb-panel__lead {
  font-size: 1rem;
  line-height: 1.72;
  color: rgba(28,24,18,.76);
  margin: 18px 0 0;
}
.tb-give {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 30px;
  padding-top: 28px;
  border-top: 1px solid rgba(28,24,18,.14);
}
.tb-give__note {
  font-size: 0.84rem;
  line-height: 1.6;
  color: rgba(28,24,18,.66);
  margin: 14px 0 0;
  max-width: 380px;
}
.tb-qr {
  flex: none;
  text-align: center;
  background: #fffaf0;
  border-radius: 12px;
  padding: 12px 12px 10px;
  box-shadow: 0 10px 24px -14px rgba(28,24,18,.4);
}
.tb-qr img { display: block; width: 116px; height: 116px; }
.tb-qr span {
  display: block;
  margin-top: 8px;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: .08em;
  color: rgba(28,24,18,.6);
}
.tb-check {
  margin-top: 28px;
  padding-top: 26px;
  border-top: 1px solid rgba(28,24,18,.14);
}
.tb-check__title {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: #1c1812;
  margin: 0 0 8px;
}
.tb-check__body {
  font-size: 0.94rem;
  line-height: 1.7;
  color: rgba(28,24,18,.74);
  margin: 0;
}
.tb-check__body strong { color: #1c1812; font-weight: 600; }

/* Donations page: the museum sign keeps its full shape (no crop) */
.give__intro-photo.tb-sign { aspect-ratio: auto; object-fit: contain; }
/* let both columns shrink to a phone's width instead of forcing it wider */
html.tb-on .give__cols > * { min-width: 0; }
.tb-match__cell { min-width: 0; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .tb-band { padding: 76px 36px; }
  .tb-band__inner { gap: 48px; }
}
@media (max-width: 860px) {
  .tb-band { padding: 64px 24px; }
  .tb-band__inner { grid-template-columns: 1fr; gap: 36px; }
  .tb-band__art { max-width: 520px; }
}
@media (max-width: 820px) {
  .tb-panel { padding: 32px 24px 30px; }
  .tb-give { display: block; }
  .tb-qr { display: none; }      /* on a phone, the button is the way in */
}
@media (max-width: 480px) {
  .tb-panel { padding: 28px 20px 26px; }
  .tb-match { gap: 6px; }
  .tb-match__cell { padding: 12px 9px 11px; }
  .tb-match__num { font-size: 1.2rem; }
  .tb-match__lbl { font-size: 0.56rem; letter-spacing: .08em; }
  .tb-match__op { font-size: 1.15rem; }
  .tb-btn { width: 100%; justify-content: center; }
}
