/* The Weekly Bulletin (bulletin.html; what goes in it: assets/bulletin.js) — laid out as Nucleus's Weekly Bulletin post
   (https://life-demo.nucleus.church/posts/collections/weekly-updates/weekly-bulletin, measured at 1440): a dark photo
   with the breadcrumb, the big title, a line and who it's from at its foot, Share at the right; then one 800-wide column
   of words — the read time, a welcome and a shaded box, then each part under a short dark rule (common region without
   boxes); the video wider than the words; a subscribe box; Up Next from The Hub on our dark grey. In this site's design
   (subpage.css): Inter titles, DM Sans words, 68-tall buttons, our orange for the one main thing to press (Von
   Restorff), flat shades and no gradient. */
.bl-hero { position: relative; display: flex; align-items: flex-end; min-height: clamp(520px, 41.25vw, 640px); overflow: hidden; isolation: isolate;
  padding: calc(var(--nav-h, 80px) + 48px) var(--edge) clamp(40px, 3.5vw, 52px); background: var(--dark); color: #fff; }
.bl-hero > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.bl-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(20, 20, 20, .52); }   /* one flat shade, so white reads */
.bl-hero-in { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px; width: 100%; max-width: 1280px; margin: 0 auto; }
.bl-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: clamp(18px, 1.6vw, 24px); font-size: 15.9px; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase; }
.bl-crumbs a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .28em; }
.bl-crumbs a:hover { text-decoration-thickness: 2px; }
.bl-crumbs svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; opacity: .8; }
.bl-hero h1 { font-family: var(--head); font-size: clamp(52px, 6.1vw, 88px); font-weight: 700; line-height: 1; letter-spacing: -.04em; }
.bl-hero-sub { max-width: 19em; margin-top: clamp(16px, 1.7vw, 24px); font-size: clamp(20px, 1.67vw, 24px); font-weight: 700; line-height: 1.15; letter-spacing: -.03em; }
.bl-by { margin-top: 14px; color: rgba(255, 255, 255, .86); font-size: 16px; line-height: 1.3; }
.bl-share { min-width: 0; min-height: 56px; padding: 6px 26px; gap: 10px; }
.bl-share svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.bl-hero a:focus-visible, .bl-hero button:focus-visible { outline-color: #fff; }

/* the column of words */
.bl-body { max-width: calc(800px + 2 * var(--edge)); margin: 0 auto; padding: clamp(56px, 6vw, 86px) var(--edge) clamp(80px, 8vw, 120px);
  font-size: clamp(18px, calc(1.2vw + 4px), 21.75px); line-height: 1.455; letter-spacing: -.02em; }
.bl-read { color: var(--grey); font-size: clamp(15px, 1.24vw, 17.85px); }
.bl-body h2 { font-family: var(--head); font-size: clamp(30px, 2.6vw, 37.3px); font-weight: 700; line-height: 1.05; letter-spacing: -.04em; text-wrap: balance; }
.bl-read + h2 { margin-top: 26px; }
.bl-part > h2 { font-size: clamp(25px, 2.19vw, 31.5px); letter-spacing: -.03em; }
.bl-quote { margin-top: 30px; padding: clamp(28px, 3vw, 42px) clamp(26px, 3.5vw, 52px); border-radius: 18px; background: var(--tint); }
.bl-rule { width: 108px; height: 4px; margin: clamp(56px, 5vw, 72px) auto; border: 0; border-radius: 2px; background: var(--dark); }
.bl-part[hidden] { display: none; }
.bl-part > h2 + * { margin-top: 22px; }
.bl-day { margin-top: 52px; font-family: var(--head); font-size: clamp(25px, 2.19vw, 31.5px); font-weight: 700; line-height: 1.1; letter-spacing: -.03em; }
.bl-day:first-of-type { margin-top: 0; }
.bl-part > h2 + .bl-day { margin-top: 26px; }
/* a day's list: Nucleus's bar down its left, a dot a line */
.bl-list { margin-top: 18px; padding: 2px 0 2px 26px; border-left: 3px solid var(--dark); list-style: none; }
.bl-list li { position: relative; padding-left: 22px; }
.bl-list li::before { content: ''; position: absolute; left: 2px; top: .66em; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.bl-list li + li { margin-top: 6px; }
.bl-list b { font-weight: 700; }
.bl-list span { color: var(--grey); }
.bl-note { color: var(--grey); }
.bl-note a, .bl-body p a, .bl-stay a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.bl-body p + p { margin-top: 18px; }
.bl-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.bl-btns .btn { min-width: min(100%, 360px); }
/* announcements: the title, its day, its words */
.bl-news { display: grid; gap: 14px; }
.bl-new { padding: 24px 28px; border-radius: 18px; background: var(--tint); }
.bl-new b { display: block; font-family: var(--head); font-size: 22px; letter-spacing: -.025em; line-height: 1.15; }
.bl-new em { display: block; margin-top: 4px; color: var(--grey); font-size: 16px; font-style: normal; font-weight: 500; }
.bl-new p { margin-top: 10px; }
/* the latest message */
.bl-msg-name { font-weight: 700; }
.bl-video { position: relative; left: 50%; width: min(1080px, calc(100vw - 2 * var(--edge))); margin-top: 28px; overflow: hidden; aspect-ratio: 16 / 9;
  border-radius: 22px; background: #000; transform: translateX(-50%); }
.bl-video button { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.bl-video img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bl-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.bl-video .sm-play { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: clamp(56px, 6vw, 84px); height: clamp(56px, 6vw, 84px);
  margin: calc(clamp(56px, 6vw, 84px) / -2) 0 0 calc(clamp(56px, 6vw, 84px) / -2); border: 3px solid #fff; border-radius: 50%; background: rgba(0, 0, 0, .28);
  transition: transform .2s ease; }
.bl-video .sm-play svg { width: 46%; height: 46%; margin-left: 6%; fill: #fff; }
.bl-video button:hover .sm-play { transform: scale(1.06); }
.bl-video button:focus-visible { outline: 3px solid #fff; outline-offset: -6px; border-radius: 22px; }
.bl-stay p + p { margin-top: 10px; }
.bl-stay .bl-services { margin-top: 26px; font-weight: 700; }

/* subscribe: the question, one line, the box and its button, the fine print */
.bl-sub { max-width: calc(560px + 2 * var(--edge)); margin: 0 auto; padding: 0 var(--edge) clamp(88px, 8vw, 120px); text-align: center; }
.bl-sub h2 { font-family: var(--head); font-size: clamp(30px, 2.6vw, 37.3px); font-weight: 700; line-height: 1.05; letter-spacing: -.04em; text-wrap: balance; }
.bl-sub > p { margin-top: 16px; font-size: clamp(18px, calc(1.2vw + 4px), 21.75px); letter-spacing: -.02em; }
.bl-form { display: grid; gap: 14px; max-width: 460px; margin: 32px auto 0; }
.bl-form input { width: 100%; height: 60px; padding: 0 22px; border: 2px solid transparent; border-radius: 14px; background: var(--tint); color: var(--text);
  font-size: 19px; -webkit-appearance: none; appearance: none; }
.bl-form input::placeholder { color: #8A8A8A; }
.bl-form input:focus { outline: none; border-color: var(--orange); }
.bl-form input[aria-invalid="true"] { border-color: var(--orange); }
.bl-form .btn { width: 100%; }
.bl-form .btn:disabled { opacity: .6; cursor: default; }
.bl-said { min-height: 1.4em; font-weight: 600; }
.bl-said:empty { min-height: 0; }
.bl-fine { max-width: 26em; margin: 18px auto 0; color: var(--grey); font-size: 14px; line-height: 1.45; }

/* Up Next — from The Hub, on its dark grey, three of its cards (assets/hub.css) */
.bl-next { padding: clamp(72px, 7vw, 104px) var(--edge) clamp(88px, 8vw, 120px); background: var(--dark); color: #F5F3EE; }
.bl-next-in { max-width: 1280px; margin: 0 auto; }
.bl-next-head { display: flex; align-items: center; gap: 24px; }
.bl-next-head h2 { flex: none; color: #fff; font-family: var(--head); font-size: clamp(30px, 2.6vw, 37.3px); font-weight: 700; letter-spacing: -.04em; }
.bl-next-head::after { content: ''; flex: 1; height: 1px; background: rgba(255, 255, 255, .28); }
.bl-next-from { margin-top: 8px; color: rgba(245, 243, 238, .78); font-size: 18px; }
.bl-next-from a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: .2em; }
.bl-next-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 32px; }
.bl-next a:focus-visible, .bl-next button:focus-visible { outline: 3px solid #F37323; outline-offset: 3px; }
.bl-next-arrows { display: none; gap: 24px; margin-top: 28px; }
.bl-next-arrows button { display: grid; place-items: center; width: 50px; height: 50px; padding: 0; border: 2px solid #fff; border-radius: 10px;
  background: transparent; color: #fff; cursor: pointer; }
.bl-next-arrows button + button { background: #fff; color: var(--dark); }
.bl-next-arrows button:disabled { opacity: .35; cursor: default; }
.bl-next-arrows svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.bl-next[hidden] { display: none; }
body:has(.bl-next:not([hidden])) .site-footer { border-top: 1px solid rgba(255, 255, 255, .1); }   /* the two greys meet */

@media (max-width: 1000px) {
  .bl-next-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* ══ a phone — as Nucleus's own bulletin adapts (user, 2026-11-21: "Look at how this website adapts to mobile view.
   https://bethesda-d7d0a.nucleus-preview.com/posts/collections/weekly-bulletin/weekly-bulletin -- ours should do the
   same"), measured at 390: the photo ~557 tall with the words above a small Share at its foot on the right; the column
   12 from the edges, 17.3 words, a 25.8 welcome, 22.6 day and part titles; the shaded box keeps its wide inside; the
   video and every button the column's width (Fitts); subscribe narrowed to 280; Up Next a row to swipe, one card and
   the next peeking in, with ‹ › under it (Jakob: the row every app has). ══ */
@media (max-width: 600px) {
  .bl-hero { min-height: max(557px, calc(var(--nav-h, 80px) + 400px)); padding: calc(var(--nav-h, 80px) + 32px) 24px 12px; }
  .bl-hero-in { flex-direction: column; align-items: stretch; gap: 40px; }
  .bl-crumbs { gap: 8px; margin-bottom: 18px; font-size: 14px; }
  .bl-hero h1 { font-size: 53px; }
  .bl-hero-sub { max-width: 12.5em; margin-top: 14px; font-size: 20.5px; line-height: .93; }
  .bl-by { margin-top: 12px; font-size: 14px; }
  .bl-share { align-self: flex-end; width: auto; min-height: 50px; padding: 0 22px; font-size: 15px; }
  .bl-body { padding: 40px 12px 88px; font-size: 17.3px; }
  .bl-read { font-size: 15.2px; }
  .bl-read + h2 { margin-top: 22px; }
  .bl-body h2 { font-size: 25.8px; line-height: 1; }
  .bl-part > h2, .bl-day { font-size: 22.6px; line-height: 1; }
  .bl-quote { margin-top: 34px; padding: 49px 56px; border-radius: 0; }
  .bl-rule { margin: 64px auto; }
  .bl-day { margin-top: 46px; }
  .bl-part > h2 + .bl-day { margin-top: 24px; }
  .bl-list { margin-top: 24px; padding-left: 20px; }
  .bl-list li { padding-left: 22px; }
  .bl-list li::before { left: 4px; }
  .bl-list li + li { margin-top: 0; }
  .bl-btns { margin-top: 28px; }
  .bl-video { width: calc(100vw - 24px); border-radius: 16px; }
  .bl-btns .btn { width: 100%; }
  .bl-sub { padding: 0 55px 64px; }
  .bl-sub h2 { font-size: 25.8px; line-height: 1; }
  .bl-sub > p { font-size: 17.3px; }
  .bl-form input { height: 54px; }
  .bl-next { padding: 48px 12px 72px; }
  .bl-next-head h2 { font-size: 30px; }
  .bl-next-from { font-size: 19px; }
  .bl-next-grid { display: flex; gap: 16px; margin: 32px -12px 0; padding: 0 12px; overflow-x: auto; scroll-snap-type: x mandatory;
    scroll-padding: 0 12px; overscroll-behavior-x: contain; scrollbar-width: none; }
  .bl-next-grid::-webkit-scrollbar { display: none; }
  .bl-next-grid > .hub-card { flex: 0 0 300px; scroll-snap-align: start; }
  .bl-next-arrows { display: flex; }
}
