/* SDCA Bulletin archive — chessboard-themed page styles.
   Loaded alongside index-baa26f0a.css (design tokens + shared header/footer)
   and letters.css (shared .letterhead banner rule). Kept separate so the
   hash-named main stylesheet never changes. */

/* ---------- Archive hero ---------- */
.bulletin-hero {
  border-bottom: var(--line);
  background:
    /* checkerboard, subtle, behind the copy */
    repeating-conic-gradient(
      rgba(255, 255, 255, .05) 0% 25%,
      transparent 0% 50%
    ) 0 0 / 96px 96px,
    var(--ink);
  color: var(--paper);
  padding: clamp(46px, 6vw, 88px) clamp(24px, 7vw, 110px);
}

.bulletin-hero h1 {
  margin: 0;
  text-transform: uppercase;
  font: 900 clamp(50px, 8vw, 116px)/.8 Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
}

.bulletin-hero .hero-sub {
  max-width: 680px;
  margin: 26px 0 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.55;
}

.bulletin-stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(18px, 4vw, 54px);
  margin-top: 34px;
  padding-top: 26px;
  border-top: 2px solid rgba(248, 243, 229, .25);
}

.bulletin-stats div {
  min-width: 96px;
}

.bulletin-stats strong {
  display: block;
  color: var(--yellow);
  font: 900 clamp(30px, 4vw, 46px)/1 Impact, sans-serif;
}

.bulletin-stats span {
  display: block;
  margin-top: 6px;
  letter-spacing: .1em;
  text-transform: uppercase;
  font: 700 10px/1.3 "Courier New", monospace;
  color: var(--mint);
}

/* ---------- Filter / jump bar ---------- */
.decade-nav {
  border-bottom: var(--line);
  background: var(--yellow);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 16px clamp(24px, 7vw, 110px);
}

.decade-nav .nav-label {
  letter-spacing: .12em;
  text-transform: uppercase;
  font: 700 10px/1 "Courier New", monospace;
  margin-right: 6px;
}

.decade-nav a {
  border: 2px solid var(--ink);
  background: var(--paper);
  padding: 9px 14px;
  font: 900 12px/1 Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.decade-nav a:hover {
  background: var(--ink);
  color: var(--paper);
}

/* ---------- Decade sections ---------- */
.decade-block {
  padding: clamp(40px, 5vw, 74px) clamp(24px, 7vw, 110px);
  border-bottom: var(--line);
}

.decade-block:nth-of-type(even) {
  background: var(--mint);
}

.decade-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.decade-head h2 {
  margin: 0;
  text-transform: uppercase;
  font: 900 clamp(42px, 5.5vw, 78px)/.86 Impact, sans-serif;
}

.decade-head .count {
  letter-spacing: .1em;
  text-transform: uppercase;
  font: 700 11px/1 "Courier New", monospace;
}

/* ---------- Issue grid ---------- */
.issue-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(258px, 1fr));
  border-top: var(--line);
  border-left: var(--line);
}

.issue-card {
  border-right: var(--line);
  border-bottom: var(--line);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 168px;
  background: var(--paper);
  position: relative;
  transition: background .15s;
}

.issue-card:hover {
  background: var(--yellow);
}

/* Alternating tint = board squares */
.issue-grid .issue-card:nth-child(odd) {
  background: #f2ead6;
}

.issue-grid .issue-card:nth-child(odd):hover {
  background: var(--yellow);
}

.issue-card .issue-date {
  letter-spacing: .1em;
  text-transform: uppercase;
  font: 700 10px/1 "Courier New", monospace;
  color: #536176;
}

.issue-card h3 {
  margin: 2px 0 0;
  text-transform: uppercase;
  font: 900 26px/.95 Impact, sans-serif;
}

.issue-card .issue-note {
  font: 700 11px/1.4 "Courier New", monospace;
  color: #34506f;
}

.issue-card .issue-meta {
  margin-top: auto;
  padding-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font: 700 10px/1 "Courier New", monospace;
  letter-spacing: .05em;
  text-transform: uppercase;
  border-top: 2px solid rgba(8, 27, 51, .18);
}

.issue-card .issue-open {
  font: 900 11px/1 Arial, sans-serif;
}

/* President's-column badge */
.pres-badge {
  display: inline-block;
  align-self: flex-start;
  background: var(--coral);
  color: var(--ink);
  padding: 4px 8px;
  font: 900 9px/1 Arial, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* ---------- Letters callout ---------- */
.letters-callout {
  background: var(--blue);
  color: #fff;
  border-bottom: var(--line);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(20px, 4vw, 56px);
  padding: clamp(38px, 5vw, 66px) clamp(24px, 7vw, 110px);
}

.letters-callout .callout-king {
  font: 400 clamp(64px, 9vw, 128px)/1 Georgia, serif;
  color: var(--yellow);
}

.letters-callout h2 {
  margin: 0;
  text-transform: uppercase;
  font: 900 clamp(34px, 4.4vw, 62px)/.88 Impact, sans-serif;
}

.letters-callout p {
  max-width: 620px;
  margin: 14px 0 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.letters-callout .button {
  white-space: nowrap;
}

/* ---------- Responsive ---------- */
@media (width <= 1000px) {
  .letters-callout {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .letters-callout .callout-king {
    font-size: clamp(56px, 14vw, 96px);
  }
}

@media (width <= 700px) {
  .bulletin-hero,
  .decade-block,
  .decade-nav,
  .letters-callout {
    padding-left: 22px;
    padding-right: 22px;
  }

  .issue-grid {
    grid-template-columns: 1fr;
  }

  .bulletin-stats {
    gap: 20px 28px;
  }
}

@media print {
  .decade-nav,
  .letters-callout,
  .site-footer,
  .gateway-header {
    display: none !important;
  }
}
