/* The archive borrows the cover's ink, gold rules and warm paper. */
.bulletin-site {
  --paper: #fffdf7;
  --ink: #2f241e;
  --muted: #67584b;
  --gold: #a48149;
  --rule: #d6c6af;
  --wine: #60372e;
  --display: "Noto Serif Hebrew", "David Libre", David, "Times New Roman", serif;
  margin: 0;
  background: #f6f2e9;
  color: var(--ink);
  font: 1rem/1.65 Arial, sans-serif;
  text-align: start;
}
.bulletin-site *, .bulletin-entry { box-sizing: border-box; }
.bulletin-site a { color: inherit; text-underline-offset: .22em; }
.bulletin-site a:focus-visible, .bulletin-entry:focus-visible { outline: 3px solid #256763; outline-offset: 4px; }
.bulletin-skip { position: absolute; inset-inline-start: 1rem; top: -9rem; z-index: 2; background: white; padding: .75rem; }
.bulletin-skip:focus { top: 1rem; }
.bulletin-wrap { max-width: 68rem; margin: auto; padding: 0 clamp(1rem,4vw,3rem); }
.bulletin-top, .bulletin-footer, .bulletin-top nav, .bulletin-footer div { display: flex; align-items: center; flex-wrap: wrap; }
.bulletin-top, .bulletin-footer { justify-content: space-between; gap: 1rem; }
.bulletin-top { min-height: 5rem; border-bottom: 1px solid var(--rule); }
.bulletin-brand img { width: 7rem; height: auto; display: block; }
.bulletin-top nav { gap: .65rem; font-size: .875rem; color: var(--muted); }
.bulletin-top a, .bulletin-footer a { display: inline-flex; align-items: center; min-height: 44px; }
.bulletin-top i, .motto i, .overline span { color: var(--gold); font-style: normal; }
.bulletin-site h1, .bulletin-site h2, .bulletin-site blockquote { font-family: var(--display); line-height: 1.13; margin: 0; }
.bulletin-site .overline { color: var(--wine); font-size: .875rem; font-weight: 700; line-height: 1.5; margin: 0 0 .65rem; }
.masthead { padding: clamp(2.2rem,6vw,4.3rem) 0 2rem; text-align: center; }
.masthead h1 { font-size: clamp(2.2rem,5.8vw,4.25rem); }
.motto { margin: .65rem 0 0; color: var(--muted); font-family: var(--display); font-size: 1.25rem; }
.motto i { margin: 0 .25rem; }
.feature, .issue-front { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(0,.85fr); }
.feature { background: var(--paper); border-block: 4px double var(--gold); border-inline: 1px solid var(--rule); }
.feature-copy, .issue-head { padding: clamp(1.5rem,4.5vw,3.5rem); align-self: center; }
.feature h2, .issue-head h1 { font-size: clamp(2.7rem,6.3vw,5rem); }
.feature-meta { color: var(--muted); margin: .55rem 0 0; font-size: .95rem; }
.feature-meta span { margin-inline: .2rem; }
.feature-intro { font-size: 1.075rem; line-height: 1.8; margin: 1.3rem 0; max-width: 37rem; }
.cover-link { display: block; min-width: 0; text-decoration: none; }
.cover-stage { height: 100%; min-height: 16rem; display: grid; place-items: center; overflow: hidden; position: relative; isolation: isolate; padding: 1.8rem; background: #e9dfce; }
.cover-stage::before { content: ''; position: absolute; inset: .7rem; border: 1px solid #b3a285; z-index: -1; }
.cover-stage img { width: min(100%,13.6rem); height: auto; display:block; border: 1px solid #cbbcaa; transform: rotate(-3deg); box-shadow: -.45rem .65rem 1rem #4935262e; }
.cover-link:hover img { transform: rotate(-1deg); }
.bulletin-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin: 1.4rem 0 0; }
.bulletin-site .bulletin-button { display: inline-flex; gap: .55rem; align-items: center; justify-content: center; padding: .6rem .95rem; min-height: 44px; border: 1px solid var(--rule); border-radius: .35rem; font: bold .95rem/1.4 Arial,sans-serif; text-decoration: none; }
.bulletin-site .primary { color: white; border-color: var(--wine); background: var(--wine); }
.bulletin-site .quiet { color: var(--wine); background: var(--paper); }
.bulletin-button:hover, .issue-row.available:hover { box-shadow: inset 0 0 0 2px var(--gold); }
.bulletin-button svg, .original-link svg { width: 1.15rem; height: 1.15rem; }
.archive-list { margin: clamp(2rem,5vw,3.6rem) 0; }
.archive-group h2 { display: flex; align-items: baseline; gap: .75rem; font-size: 2.25rem; padding-bottom: .8rem; border-bottom: 2px solid var(--ink); }
.archive-group small { color: var(--muted); font: normal .95rem Arial,sans-serif; }
.archive-group ul, .reader-index ul { list-style: none; margin: 0; padding: 0; }
.archive-group + .archive-group { margin-top: 2rem; }
.issue-row { display: grid; grid-template-columns: 6rem 1fr auto; align-items: center; gap: .6rem; min-height: 3.65rem; padding: .5rem .85rem; border-bottom: 1px solid var(--rule); text-decoration: none; }
.issue-row>span:first-child { font-variant-numeric: tabular-nums; }
.issue-row.available { color: var(--wine); background: #eee5d6; font-weight: 700; }
.issue-row.available .row-status { text-decoration: underline; }
.issue-row.pending { color: var(--muted); }
.row-status { font-size: .875rem; }
.issue-front { margin: 1.7rem 0 0; border-block: 4px double var(--gold); background: var(--paper); }
.issue-front .cover-stage { min-height: 13rem; }
.issue-front .cover-stage img { width: min(100%,9.75rem); }
.issue-id { font-weight: bold; margin: .6rem 0 0; }
.reader-grid { display: grid; grid-template-columns: minmax(11rem, .33fr) minmax(0,1fr); gap: clamp(1.5rem,4.5vw,3.4rem); margin: 2.4rem 0; }
.reader-index { position: sticky; top: 1rem; }
.reader-index h2 { font-size: 1.55rem; padding-bottom: .8rem; border-bottom: 2px solid var(--gold); }
.reader-index li { border-bottom: 1px solid var(--rule); }
.reader-index a { display: flex; align-items: center; text-decoration: none; min-height: 2.8rem; padding: .35rem .15rem; }
.reader-index a:hover { text-decoration: underline; }
.reading { min-width: 0; background: var(--paper); padding: clamp(1.25rem,4vw,3.15rem); border: 1px solid var(--rule); }
.bulletin-site blockquote { color: var(--wine); font-size: clamp(1.6rem,3vw,2.4rem); line-height: 1.4; border-inline-start: 3px solid var(--gold); padding-inline-start: 1rem; }
.bulletin-site blockquote cite { display: block; font: normal .875rem Arial,sans-serif; margin-top: .7rem; }
.reading-section { border-top: 1px solid var(--rule); margin-top: 2rem; padding-top: 2rem; scroll-margin-top: 1.2rem; }
.reading-section h2 { font-size: clamp(1.7rem,3.2vw,2.45rem); }
.reading-section p:not(.overline) { font-size: 1.125rem; line-height: 1.91; margin: 1rem 0 0; }
.original-link { border-top: 2px solid var(--gold); margin-top: 2rem; padding-top: 1rem; }
.original-link a { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; color: var(--wine); }
.bulletin-footer { margin-top: 2.5rem; border-top: 1px solid var(--rule); color: var(--muted); padding: 1rem 0 2rem; font-size: .9rem; }
.bulletin-footer div { gap: 1.1rem; }
.torah-page .bulletin-entry { display: flex; align-items: center; gap: 1rem; border: 1px solid #c7b58c; border-inline-start: 4px solid #a3864d; background: #fffdf7; color: #23453e; padding: .8rem 1.15rem; margin: 0 0 1rem; border-radius: .55rem; text-decoration: none; }
.bulletin-entry>svg { flex: none; color: #866632; }
.bulletin-entry strong, .bulletin-entry small { display: block; }
.bulletin-entry strong { font-size: 1.16rem; }
.bulletin-entry small { font-size: .875rem; color: #605845; }
.bulletin-entry b { margin-inline-start: auto; font-size: .93rem; text-decoration: underline; text-underline-offset: .2em; }
.torah-page .bulletin-entry:hover { background: #f7f0df; }
@media(max-width: 680px) {
  .bulletin-top { min-height: 4.25rem; }
  .bulletin-brand img { width: 5.8rem; }
  .feature, .issue-front { grid-template-columns: minmax(0,1fr); }
  .feature-copy, .issue-head { padding: 1.45rem; }
  .cover-stage, .issue-front .cover-stage { min-height: 0; padding: 1.2rem; }
  .cover-stage img, .issue-front .cover-stage img { width: 7.3rem; }
  .reader-grid { grid-template-columns: minmax(0,1fr); margin-top: 1.5rem; }
  .reader-index { position: static; }
  .reader-index ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 1rem; }
  .reader-index a { font-size: .95rem; }
  .issue-row { grid-template-columns: 4.1rem 1fr auto; padding-inline: .5rem; }
  .torah-page .bulletin-entry { gap: .65rem; padding: .8rem; }
  .bulletin-entry b { max-width: 4.5rem; }
}
@media print {
  .bulletin-top,.bulletin-footer,.bulletin-actions,.cover-link,.reader-grid aside,.original-link,.bulletin-entry { display: none!important; }
  .bulletin-site,.reading,.issue-front { background: white; color: black; }
  .bulletin-wrap,.issue-head,.reading { max-width: none; padding: 0; border: 0; }
  .issue-front,.reader-grid { display: block; }
  .reading-section h2 { break-after: avoid; }
}
.printed-notices { border-block: 1px solid var(--rule); margin-top: 2rem; }
.printed-notices summary { cursor: pointer; font-weight: 700; padding: .8rem 0; }
.printed-notices summary:focus-visible { outline: 3px solid #256763; outline-offset: 2px; }
.printed-notices table { border-collapse: collapse; width: 100%; margin-block: 1rem; text-align: start; font-size: .95rem; }
.printed-notices caption, .printed-notices h3 { font: bold 1.1rem/1.4 Arial, sans-serif; text-align: start; margin-bottom: .6rem; }
.printed-notices td, .printed-notices th { padding: .4rem .2rem; text-align: start; border-bottom: 1px solid var(--rule); }
.printed-notices ul { padding-inline-start: 1.2rem; }

.photo-gallery { margin-block: 2.4rem; scroll-margin-top: 1rem; }
.photo-gallery h2 { font-size: clamp(1.65rem,3vw,2.3rem); }
.photo-gallery p { margin: .45rem 0 1rem; color: var(--muted); }
.photo-gallery ol { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1rem; padding: 0; margin: 0; list-style: none; }
.photo-gallery a { display: block; height: 100%; border: 1px solid var(--rule); background: var(--paper); text-decoration: none; }
.photo-gallery a:hover { border-color: var(--wine); }
.photo-gallery img { display: block; width: 100%; height: auto; }
.photo-gallery span, .photo-gallery strong { display: block; }
.photo-gallery span { padding: .45rem .75rem .7rem; font-size: .9rem; line-height: 1.5; }
.photo-gallery strong { color: var(--wine); font-size: 1rem; }
@media (max-width: 680px) { .photo-gallery ol { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .7rem; } }
@media print { .photo-gallery { display: none; } }
