/* Beis Shmuel Tzvi — near-exact replica of the Twenty Twenty-One look:
   dark navy header/footer, white content column, plain system type. */

:root {
  --navy: #0d1338;
  --navy-dark: #0a0f2a;
  --gold: #c49a5b;
  --text: #1a1a1a;
  --muted: #555;
  --link: #1a4d8f;
  --btn-blue: #a8d0e6;
  --btn-blue-hover: #8fc1de;
  --border: #ddd;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text);
  background: #fff;
}

/* Header */
.site-header { background: var(--navy); color: #fff; }
.header-inner { max-width: 960px; margin: 0 auto; padding: 28px 20px 0; }
.site-title { margin: 0; font-size: 28px; font-weight: 700; letter-spacing: 0.04em; }
.site-title a { color: #fff; text-decoration: none; }
.site-tagline { margin: 2px 0 0; font-size: 16px; color: #d8dcef; }
.site-nav ul {
  list-style: none; margin: 22px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 4px 28px;
  border-top: 1px solid rgba(255,255,255,0.18);
}
.site-nav a {
  display: block; padding: 12px 0 14px;
  color: #fff; text-decoration: none; font-size: 17px;
}
.site-nav a:hover, .site-nav a:focus { text-decoration: underline; }
.site-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; }

/* Main content column (Twenty Twenty-One content width) */
.site-main { max-width: 720px; margin: 0 auto; padding: 32px 20px 56px; }
.site-main h1 { font-size: 34px; line-height: 1.2; margin: 0 0 20px; }
.site-main h2 { font-size: 24px; margin: 36px 0 12px; }
.site-main h3 { font-size: 20px; margin: 28px 0 10px; }
.site-main p { margin: 0 0 16px; }
.site-main ul, .site-main ol { margin: 0 0 16px; padding-left: 24px; }
.site-main li { margin-bottom: 6px; }
.site-main a { color: var(--link); }
.site-main img { max-width: 100%; height: auto; display: block; }
.site-main table { border-collapse: collapse; width: 100%; margin: 0 0 20px; }
.site-main th, .site-main td { border: 1px solid var(--border); padding: 8px 12px; text-align: left; }
.site-main th { background: #f4f4f4; }

/* Hero (home) */
.hero-logo { margin: 8px auto 28px; max-width: 610px; }
.hero-logo img { width: 100%; height: auto; }
.hero-zmanim { text-align: center; font-size: 20px; margin: 0; }

/* Light-blue buttons, matching the old Accept Stripe Payments buttons */
.btn {
  display: inline-block;
  background: var(--btn-blue); color: #0b2a3a; text-decoration: none;
  font-weight: 600; font-size: 17px;
  padding: 12px 22px; border: none; border-radius: 4px; cursor: pointer;
}
.btn:hover, .btn:focus { background: var(--btn-blue-hover); }
.btn-gold { background: var(--gold); color: #1a1405; }
.btn-gold:hover, .btn-gold:focus { background: #b58a4e; }
.btn-note { font-size: 15px; color: var(--muted); margin-top: 10px; }

/* Portrait / poster */
.portrait { max-width: 420px; margin: 24px auto; }
.poster { max-width: 420px; margin: 0 auto 28px; }

/* Zmanim PDF embed */
.zmanim-embed { width: 100%; height: 600px; border: 1px solid var(--border); }
.zmanim-download { margin-top: 16px; }
.zmanim-coverage { color: var(--muted); font-size: 15px; }

/* Footer */
.site-footer { background: var(--navy); color: #fff; }
.footer-inner { max-width: 960px; margin: 0 auto; padding: 28px 20px 36px; }
.footer-site { margin: 0; font-size: 15px; letter-spacing: 0.04em; }
.footer-501c3 { margin: 18px 0 0; text-align: center; font-size: 13.6px; line-height: 1.5; color: #d8dcef; }

@media (max-width: 600px) {
  body { font-size: 17px; }
  .site-title { font-size: 23px; }
  .site-main h1 { font-size: 28px; }
}
