[hidden] { display: none !important; }
/* sosmn.org — events site. Phone layout by default; html.mc-desktop switches to the computer layout. */
:root {
  --bg: #faf8f3; --bg-glow: #f7eedf; --card: #fff; --card-2: #f6f2ea; --text: #2b2b2b; --muted: #5e6b78; --line: #e7e3da;
  --navy: #043a5b; --navy-2: #1e3a5f; --navy-soft: #e9eff4; --gold: #968743; --gold-ink: #7a6b2a; --gold-soft: #f7eedf; --gold-bright: #e1b93b;
  --ok: #2f7d4f; --ok-soft: #e7f3ec; --danger: #b3261e; --danger-soft: #fbeaea;
  --shadow: 0 10px 30px rgba(4, 58, 91, .08), 0 2px 6px rgba(4, 58, 91, .05);
  --serif: Lusitana, "Adobe Caslon Pro", "Hoefler Text", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: Roboto, "PT Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --radius: 18px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #07192a; --bg-glow: #0d3352; --card: #0f2a40; --card-2: #143450; --text: #eef3f7; --muted: #a9bccb; --line: #214a68;
    --navy: #9fc5e4; --navy-2: #5f93bf; --navy-soft: #173b57; --gold: #e1b93b; --gold-ink: #e6c25f; --gold-soft: #3a3012;
    --ok: #7fd3a1; --ok-soft: #12352a; --danger: #ff8a80; --danger-soft: #3b1715; --shadow: 0 10px 30px rgba(0, 0, 0, .4); color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-y: scroll; scrollbar-gutter: stable; }   /* steady header: the scrollbar never comes and goes */
body { margin: 0; font-family: var(--sans); color: var(--text); line-height: 1.55; -webkit-font-smoothing: antialiased;
  background: radial-gradient(1200px 520px at 50% -200px, var(--bg-glow), transparent 70%), var(--bg); min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
a { color: var(--navy); }
img { max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.2; color: var(--navy); }
h1 { font-size: clamp(1.8rem, 6vw, 2.6rem); margin: 18px 0 10px; }
h2 { font-size: 1.35rem; margin: 0 0 10px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--card); padding: 8px 12px; border-radius: 8px; z-index: 20; }
.skip:focus { left: 8px; }
.site-inner { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.error { color: var(--danger); font-size: .88rem; min-height: 1em; margin: 6px 0 0; }

/* Header */
header.site { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--card) 92%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
header.site .site-inner { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "org acct" "nav nav"; align-items: center; gap: 4px 12px; padding-top: 8px; padding-bottom: 6px; }
.org { grid-area: org; display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); min-width: 0; }
.org-mark img { height: 34px; width: auto; display: block; }
.org b { display: block; font-family: var(--serif); font-size: 1.02rem; font-weight: 600; color: var(--navy); }
.org small { display: block; font-size: .74rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.main-nav { grid-area: nav; display: flex; gap: 2px; overflow-x: auto; margin: 0 -4px; }
.main-nav a { text-decoration: none; color: var(--text); font-weight: 600; font-size: .9rem; padding: 7px 12px; border-radius: 99px; white-space: nowrap; }
.main-nav a:hover { background: var(--card-2); }
.main-nav a[aria-current="page"] { background: var(--navy-soft); color: var(--navy); }
.hdr-end { grid-area: acct; display: flex; align-items: center; justify-content: flex-end; gap: 6px; min-width: 132px; }
.view-btn { font-size: 1rem; line-height: 1; width: 36px; height: 36px; border-radius: 99px; border: 1px solid var(--line); background: var(--card); cursor: pointer; flex: 0 0 auto; }
.view-btn:hover { background: var(--card-2); }
.acct-btn { max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Buttons, inputs */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font: inherit; font-weight: 700; font-size: .95rem; padding: 11px 18px;
  border-radius: 99px; border: 1px solid transparent; cursor: pointer; text-decoration: none; background: var(--card-2); color: var(--text); min-height: 44px; }
.btn-sm { padding: 7px 14px; font-size: .86rem; min-height: 36px; }
.btn-block { display: flex; width: 100%; }
.btn-primary { background: var(--navy); color: #fff; box-shadow: var(--shadow); }
@media (prefers-color-scheme: dark) { .btn-primary { color: var(--bg); } }
.btn-primary:hover { background: var(--navy-2); }
.btn-ghost { background: var(--card); border-color: var(--line); color: var(--navy); }
.btn-soft { background: var(--navy-soft); color: var(--navy); }
.btn:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid var(--gold-bright); outline-offset: 2px; }
.link { font-weight: 600; font-size: .92rem; text-decoration: none; }
.input { font: inherit; width: 100%; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--card-2); color: var(--text); }
.field { display: block; font-size: .82rem; font-weight: 700; color: var(--muted); margin: 12px 0 4px; }
.check { display: flex; gap: 8px; align-items: flex-start; margin: 12px 0 0; font-size: .92rem; }
.seg { display: inline-flex; background: var(--card-2); border-radius: 99px; padding: 3px; border: 1px solid var(--line); }
.seg button { font: inherit; font-size: .86rem; font-weight: 600; border: 0; background: transparent; padding: 6px 14px; border-radius: 99px; cursor: pointer; color: var(--muted); }
.seg button.on { background: var(--card); color: var(--navy); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.seg a { font-size: .86rem; font-weight: 600; padding: 6px 14px; border-radius: 99px; color: var(--muted); text-decoration: none; }
.seg a.on { background: var(--card); color: var(--navy); box-shadow: 0 1px 3px rgba(0,0,0,.08); }

/* Cards */
.card { display: block; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; margin: 0 0 14px; color: inherit; }
a.card { text-decoration: none; transition: transform .15s, box-shadow .15s; }
a.card:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(4, 58, 91, .14); }
.card.empty { text-align: center; color: var(--muted); }
.skeleton { min-height: 120px; background: linear-gradient(90deg, var(--card) 0%, var(--card-2) 50%, var(--card) 100%); background-size: 200% 100%; animation: sk 1.4s infinite; }
.skeleton.tall { min-height: 320px; }
@keyframes sk { to { background-position: -200% 0; } }
.kicker { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-ink); }
.tag { display: inline-block; font-size: .76rem; font-weight: 700; padding: 3px 10px; border-radius: 99px; background: var(--navy-soft); color: var(--navy); }
.tag.ok { background: var(--ok-soft); color: var(--ok); }
.tag.cx { background: var(--danger-soft); color: var(--danger); }
.notice { border-radius: 12px; padding: 10px 14px; background: var(--gold-soft); margin: 8px 0; }
.notice.ok { background: var(--ok-soft); color: var(--ok); }
.notice.warn { background: var(--danger-soft); color: var(--danger); }

/* Home */
.intro { padding: 10px 0 6px; }
.intro-inner { display: grid; gap: 14px; }
.eyebrow { margin: 12px 0 0; color: var(--gold-ink); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .76rem; }
.intro h1 { margin: 4px 0 8px; }
.lead { font-size: 1.05rem; color: var(--muted); margin: 0 0 6px; max-width: 58ch; }
.intro-img { overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 21 / 9; }
.intro-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 22px 0 12px; }
.sec-head h2, .sec-head h1 { margin: 0; }
.page-head { margin-top: 18px; }
.more-row { margin: 18px 0 26px; }
.learn-row { display: grid; gap: 12px; margin-bottom: 10px; }
.learn { margin: 0; }
.learn b { display: block; font-family: var(--serif); font-size: 1.08rem; color: var(--navy); margin-bottom: 4px; }
.learn span { font-size: .9rem; color: var(--muted); }

/* Event cards */
.up-grid { display: grid; gap: 14px; }
.up-rest { display: grid; gap: 14px; }
.up-rest .card, .up-grid > .card { margin: 0; }
.ev-hero { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.ev-img { display: block; aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--navy-soft), var(--gold-soft)); overflow: hidden; }
.ev-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ev-img .ph { display: grid; place-items: center; height: 100%; font-size: 3rem; min-height: 120px; }
.ev-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ev-hero .ev-body { padding: 16px 18px 18px; }
.ev-title { font-family: var(--serif); font-size: 1.25rem; line-height: 1.25; color: var(--navy); }
.ev-hero .ev-title { font-size: 1.5rem; }
.ev-when { font-weight: 600; font-size: .93rem; }
.ev-meta, .ev-desc { font-size: .9rem; color: var(--muted); }
.ev-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 8px; }
.ev-card { display: flex; gap: 14px; align-items: flex-start; }
.date-chip { flex: 0 0 56px; text-align: center; border-radius: 14px; background: var(--navy-soft); color: var(--navy); padding: 8px 4px; font-size: .74rem; font-weight: 700; text-transform: uppercase; }
.date-chip b { display: block; font-family: var(--serif); font-size: 1.6rem; line-height: 1; }

/* Calendar */
.cal-bar { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; }
.cal-bar h2 { flex: 1; text-align: center; margin: 0; }
.cal-month { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px; margin-bottom: 16px; }
.cal-dow, .cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.cal-dow span { text-align: center; font-size: .72rem; font-weight: 700; color: var(--muted); text-transform: uppercase; padding: 6px 0; }
.cal-day { min-height: 64px; border-top: 1px solid var(--line); padding: 4px; overflow: hidden; }
.cal-day.out { opacity: .45; }
.cal-day.today .dnum { background: var(--navy); color: var(--card); border-radius: 99px; padding: 0 7px; }
.dnum { font-size: .8rem; font-weight: 700; display: inline-block; margin-bottom: 2px; }
.cal-ev { display: block; font-size: .7rem; line-height: 1.25; padding: 3px 5px; margin-top: 2px; border-radius: 6px; background: var(--navy-soft); color: var(--navy); text-decoration: none;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal-ev i { font-style: normal; font-weight: 700; }
.cal-ev.mine { background: var(--gold-soft); color: var(--gold-ink); border-left: 3px solid var(--gold-bright); }
.cal-ev.cx { text-decoration: line-through; opacity: .6; }
.cal-list .card { margin-bottom: 12px; }

/* Event page */
.crumbs { margin: 16px 0 8px; font-size: .9rem; }
.crumbs a { text-decoration: none; font-weight: 600; }
.ev-page { padding: 0; overflow: hidden; }
.ev-flyer img { display: block; width: 100%; max-height: 520px; object-fit: contain; background: var(--card-2); }
.ev-page-body { padding: 18px; }
.ev-page h1 { margin: 6px 0 12px; }
.ev-when.big { font-size: 1.02rem; line-height: 1.7; margin: 0 0 8px; }
.ev-where { margin: 0 0 12px; }
.ev-desc-full { margin: 0 0 12px; font-size: 1rem; }
.rsvp { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.rsvp-btn { font: inherit; font-weight: 700; padding: 12px 8px; border-radius: 14px; border: 1px solid var(--line); background: var(--card-2); color: var(--text); cursor: pointer; min-height: 48px; }
.rsvp-btn.on { background: var(--navy); border-color: var(--navy); color: var(--card); }
.guests { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 14px 0 4px; padding: 10px 12px; border-radius: 14px; background: var(--card-2); }
.guests small { display: block; }
.stepper { display: inline-flex; align-items: center; gap: 10px; }
.stepper b { min-width: 1.6em; text-align: center; font-family: var(--serif); font-size: 1.3rem; }
.step { width: 40px; height: 40px; border-radius: 99px; border: 1px solid var(--line); background: var(--card); color: var(--navy); font-size: 1.3rem; font-weight: 700; cursor: pointer; }
.ck-row { display: flex; gap: 8px; }
.ck-row .code { max-width: 140px; font-size: 1.3rem; letter-spacing: .3em; text-align: center; font-weight: 700; }
.cal-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.big-ok { font-size: 3rem; color: var(--ok); margin: 0; }

/* Sheets (dialogs) */
.sheet { border: 0; padding: 0; width: min(520px, calc(100% - 24px)); border-radius: 22px; background: var(--card); color: var(--text); box-shadow: 0 30px 80px rgba(0,0,0,.3); }
.sheet::backdrop { background: rgba(4, 25, 42, .45); backdrop-filter: blur(4px); }
.sheet-body { padding: 22px; }
.sheet-title { margin: 0 0 8px; }
.actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.stack { display: grid; gap: 8px; margin-top: 12px; }
.signin-btns { display: grid; gap: 10px; margin: 14px 0 0; }
.prov { background: var(--card); border: 1px solid var(--line); color: var(--text); justify-content: flex-start; padding-left: 18px; }
.g-logo { width: 22px; height: 22px; border-radius: 99px; display: inline-grid; place-items: center; font-weight: 800; color: #fff; background: conic-gradient(#ea4335 0 25%, #fbbc05 0 50%, #34a853 0 75%, #4285f4 0); font-size: .8rem; }
.m-logo { display: inline-grid; grid-template-columns: 9px 9px; gap: 2px; }
.m-logo i { width: 9px; height: 9px; display: block; }
.m-logo i:nth-child(1) { background: #f25022; } .m-logo i:nth-child(2) { background: #7fba00; } .m-logo i:nth-child(3) { background: #00a4ef; } .m-logo i:nth-child(4) { background: #ffb900; }
.toast { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); background: var(--navy); color: #fff; padding: 11px 18px; border-radius: 99px; font-weight: 600; font-size: .92rem; z-index: 50; box-shadow: var(--shadow); max-width: calc(100% - 32px); }
@media (prefers-color-scheme: dark) { .toast { color: var(--bg); } }

/* Footer */
footer.site { margin-top: 32px; border-top: 1px solid var(--line); background: var(--card); color: var(--muted); font-size: .88rem; }
footer.site .site-inner { padding-top: 16px; padding-bottom: 18px; }
footer.site p { margin: 0 0 6px; }
.fine { font-size: .78rem; }

/* Simple pages */
.prose-page h2 { margin-top: 24px; }
.prose-page li { margin-bottom: 6px; }

/* ---------- Computer layout ---------- */
html.mc-desktop .site-inner { padding: 0 32px; }
html.mc-desktop .narrow { max-width: 860px; }
html.mc-desktop header.site .site-inner { grid-template-columns: 1fr auto 1fr; grid-template-areas: "org nav acct"; padding-top: 10px; padding-bottom: 10px; }
html.mc-desktop .main-nav { justify-content: center; margin: 0; }
html.mc-desktop .org-mark img { height: 40px; }
html.mc-desktop .org b { font-size: 1.12rem; }
html.mc-desktop .intro { padding: 26px 0 10px; }
html.mc-desktop .intro-inner { grid-template-columns: 1fr 1.1fr; align-items: center; gap: 36px; }
html.mc-desktop .intro h1 { font-size: 2.7rem; }
html.mc-desktop .up-grid { grid-template-columns: 1.5fr 1fr; align-items: start; }
html.mc-desktop .ev-hero { flex-direction: row; }
html.mc-desktop .ev-hero .ev-img { flex: 0 0 48%; aspect-ratio: auto; min-height: 300px; }
html.mc-desktop .learn-row { grid-template-columns: repeat(3, 1fr); }
html.mc-desktop .cal-day { min-height: 110px; padding: 6px; }
html.mc-desktop .cal-ev { font-size: .78rem; padding: 4px 6px; }
html.mc-desktop .cal-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 14px; }
html.mc-desktop .ev-page { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
html.mc-desktop .ev-page:not(:has(.ev-flyer)) { grid-template-columns: 1fr; }
html.mc-desktop .ev-flyer img { max-height: none; height: 100%; object-fit: cover; }
html.mc-desktop .ev-page-body { padding: 26px 28px; }
html.mc-forced-desktop body { -webkit-text-size-adjust: 100%; }
@media (max-width: 380px) { .org small { display: none; } }
@media print { header.site, footer.site, .rsvp, .cal-btns { display: none; } }

/* v0.20: event type icons, flyer thumbnails, FREE, children's program, profile */
.type-ico { flex: 0 0 auto; display: inline-grid; place-items: center; border-radius: 14px; color: var(--tc); background: color-mix(in srgb, var(--tc) 14%, var(--card)); }
img.type-ico.flyer-thumb { object-fit: cover; border-radius: 12px; box-shadow: 0 1px 4px rgba(0,0,0,.15); background: var(--card-2); }
.ev-img .ph { color: var(--tc); background: color-mix(in srgb, var(--tc) 10%, var(--card)); }
.ev-img .ph .type-ico { background: transparent; }
.tag.free { background: #e7f3ec; color: #2f7d4f; letter-spacing: .04em; font-size: .7rem; padding: 2px 8px; vertical-align: 1px; }
@media (prefers-color-scheme: dark) { .tag.free { background: #12352a; color: #7fd3a1; } }
.kicker .tag.free { margin-left: 4px; }
.cal-ev { border-left: 3px solid var(--tc, var(--navy)); }
.ev-type { display: flex; align-items: center; gap: 10px; }
.ev-type .kicker { margin: 0; }
.free-line { display: flex; align-items: center; gap: 8px; margin: 4px 0 12px; font-size: .9rem; color: var(--muted); }
.free-banner { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; padding: 10px 14px; border-radius: 12px; background: #e7f3ec; color: #22573a; font-size: .92rem; }
@media (prefers-color-scheme: dark) { .free-banner { background: #12352a; color: #b6e6c8; } }
.ev-kids { margin: 12px 0 6px; padding: 10px 12px; border-radius: 12px; background: var(--card-2); font-size: .92rem; }
.privacy-note { margin: 14px 0 4px; padding: 10px 12px; border-radius: 12px; background: var(--navy-soft); color: var(--text); line-height: 1.45; }

/* v0.23: recent events, favourites, visitor note */
.recent-grid { display: grid; gap: 14px; }
.recent-grid .card { margin: 0; }
html.mc-desktop .recent-grid { grid-template-columns: 1fr 1fr; }
.ev-card.ev-past { opacity: .85; }
.fav-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 10px; }
.fav-row .btn.on { border-color: var(--gold, #b7791f); color: var(--gold-ink, #8a5a00); }
.fav-mark { color: var(--gold, #b7791f); }
.cal-tools { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
#noteCard textarea { width: 100%; }

/* v0.24: calendar Upcoming / Recent lists grouped by day */
.cal-dayh { grid-column: 1 / -1; font-size: .95rem; margin: 14px 0 8px; color: var(--muted, #5b6670); font-family: var(--sans, inherit); font-weight: 700; }
.cal-dayh:first-child { margin-top: 0; }
.cal-more { margin: 6px 0 24px; }

/* ---------- Weekly newsletter (v0.24): /newsletter/, admin preview, printable ---------- */
.nl-page { max-width: 860px; }
.nl-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px; margin: 8px 0 14px; }
.nl-head h1 { font-family: var(--serif); font-weight: 400; color: var(--navy); margin: 2px 0 0; font-size: 2rem; }
.nl-actions { display: flex; gap: 8px; }
.nl-tabs { margin: 10px 0 4px; }
.nl-tabs a { text-decoration: none; }
.nl-sec { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 20px; margin: 0 0 14px; }
.nl-sec h2 { font-family: var(--serif); font-weight: 400; color: var(--navy); font-size: 1.4rem; margin: 0 0 10px; }
.nl-sec h2 small { font-family: var(--sans); font-size: .85rem; color: var(--muted); margin-left: 6px; }
.nl-sec h3 { margin: 0 0 4px; font-size: 1.05rem; }
.nl-sec p { margin: 0 0 8px; }
.nl-note { background: var(--gold-soft); border-color: transparent; }
.nl-day { margin: 0 0 12px; }
.nl-day h3 { font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; color: var(--gold-ink); margin: 0 0 6px; }
.nl-ev, .nl-card { display: flex; gap: 12px; align-items: flex-start; text-decoration: none; color: inherit; padding: 8px; border-radius: 12px; }
.nl-ev:hover, .nl-card:hover { background: var(--card-2); }
.nl-ev img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; flex: none; }
.nl-ev span, .nl-card > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.nl-ev small, .nl-card small { color: var(--muted); }
.nl-desc { display: block; margin-top: 2px; }
.nl-card { border: 1px solid var(--line); margin: 0 0 10px; }
.nl-card > img, .nl-thumb { width: 140px; flex: none; border-radius: 10px; overflow: hidden; position: relative; }
.nl-card > img { height: 100px; object-fit: cover; }
.nl-thumb img { display: block; width: 100%; height: 100px; object-fit: cover; }
.nl-thumb i { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-style: normal; font-size: 1.6rem; text-shadow: 0 2px 8px rgba(0,0,0,.6); }
.nl-icon { width: 64px; height: 64px; flex: none; display: grid; place-items: center; font-size: 2rem; background: var(--card-2); border-radius: 12px; }
.nl-kicker { text-transform: uppercase; letter-spacing: .05em; font-size: .72rem; font-weight: 700; color: var(--gold-ink) !important; }
.nl-link { color: var(--navy) !important; font-weight: 600; margin-top: 4px; }
.nl-more { margin: 4px 0 0; font-size: .9rem; color: var(--muted); }
.nl-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 6px; margin: 8px 0; }
.nl-photos img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; display: block; }
.nl-story + .nl-story { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 12px; }
.nl-quote blockquote { margin: 0; text-align: center; }
.nl-quote blockquote p { font-family: var(--serif); font-size: 1.35rem; color: var(--navy); line-height: 1.4; }
.nl-quote footer { color: var(--muted); }
.nl-quote cite { display: block; font-size: .85rem; font-style: normal; }
.nl-box { background: var(--card-2); border-radius: 14px; padding: 14px 16px; }
.nl-tips { margin: 10px 0 0; padding-left: 20px; }
.nl-tips li { margin: 0 0 6px; }
.nl-intro-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.nl-intro img { width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; border-radius: 12px; display: block; margin: 0 0 8px; }
.nl-intro img[src*="sant-rajinder"] { object-position: 50% 18%; }
.nl-intro p { font-size: .93rem; }
.nl-free { margin: 12px 0 0; font-size: .9rem; color: var(--muted); }
.nl-qr { display: none; }
.nl-arch { display: flex; flex-direction: column; text-decoration: none; color: inherit; padding: 10px 6px; border-bottom: 1px solid var(--line); }
.nl-arch:last-child { border-bottom: 0; }
.nl-arch small { color: var(--muted); }
.print-only { display: none; }
@media (max-width: 560px) { .nl-card > img, .nl-thumb { width: 96px; } .nl-card > img, .nl-thumb img { height: 72px; } }
@media print {
  body { background: #fff; color: #000; font-size: 11pt; }
  .nl-page { max-width: none; padding: 0; }
  .nl-actions, .nl-tabs, .skip, .toast, dialog, .nl-sec details, .nl-ev img, .nl-photos { display: none !important; }
  .print-only, .nl-qr { display: flex !important; flex-direction: column; align-items: center; width: 90px; font-size: 8pt; }
  .nl-qr svg { width: 84px; height: 84px; }
  .nl-sec { box-shadow: none; border: 1px solid #ccc; padding: 10px 14px; margin: 0 0 8px; break-inside: avoid; }
  .nl-note, .nl-box { background: #f5f5f5 !important; }
  .nl-card { border: 0; padding: 4px 0; }
  .nl-card > img, .nl-thumb { width: 90px; } .nl-card > img, .nl-thumb img { height: 64px; }
  .nl-intro img { aspect-ratio: auto; height: 120px; }
  .nl-desc { display: none; }
  a { color: #000; text-decoration: none; }
  .btn { display: none; }
}
.nl-contact ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.nl-contact li { display: flex; gap: 10px; align-items: flex-start; background: var(--card-2); border-radius: 12px; padding: 10px 12px; }
.nl-contact li > span:first-child { font-size: 1.3rem; }
.nl-contact li > span:last-child { display: flex; flex-direction: column; min-width: 0; overflow-wrap: anywhere; }
@media print { .nl-contact a { text-decoration: none; } .nl-contact small.print-only { display: block !important; width: auto; font-size: 8pt; } }
/* v0.24 newsletter: banner, Copilot section, Maharaj Ji's photo whole */
.nl-banner { margin: 6px 0 12px; }
.nl-banner img { display: block; width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.nl-copilot { border-left: 4px solid var(--navy); }
.nl-copilot .nl-box + .nl-box { margin-top: 10px; }
.nl-intro.nl-intro-full img { aspect-ratio: auto; height: auto; max-height: 340px; width: auto; max-width: 100%; margin: 0 auto 8px; object-fit: contain; }
@media print { .nl-banner img { box-shadow: none; border-radius: 0; } .nl-intro.nl-intro-full img { max-height: 160px; } }
/* v0.24 home: What visitors say, Tip of the day */
.testi-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.testi { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.testi blockquote { margin: 0; font-family: var(--serif); font-size: 1.08rem; color: var(--navy); line-height: 1.45; }
.testi figcaption { font-size: .86rem; color: var(--muted); }
.tip-day h3 { margin: 0 0 4px; }
.tip-day p { margin: 0 0 6px; }
.tip-day summary { cursor: pointer; color: var(--navy); font-weight: 600; margin: 4px 0; }
.nowrap { white-space: nowrap; }
