/* =========================================================
   archive.css — AI Wire archive index
   Weekly groups, entry rows, the ☞ hover affordance,
   archive-specific foot-nav (2 anchors centred flex).
   ========================================================= */

.week { margin: 0 0 12px; }
.week-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 36px 0 6px;
  padding: 0 0 8px;
  border-bottom: 1px solid var(--rule-faint);
  gap: 14px;
}
.week-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 700;
  font-size: 22px;
  color: var(--ink-faded);
  margin: 0;
  letter-spacing: 0.01em;
  line-height: 1.2;
}
.week-header .count {
  font-family: 'Old Standard TT', serif;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-faint);
  white-space: nowrap;
}
.week:first-of-type { margin-top: 44px; }
.week:first-of-type .week-header { margin-top: 0; }

a.entry {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 22px;
  padding: 14px 4px 14px 4px;
  border-bottom: 1px solid var(--rule-faint);
  text-decoration: none;
  color: var(--ink-primary);
  align-items: center;
  transition: background 0.12s ease;
  position: relative;
}
a.entry::before {
  content: "\261E\FE0E";
  position: absolute;
  left: -52px;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Old Standard TT', 'Segoe UI Symbol', 'Apple Symbols', serif;
  font-size: 38px;
  line-height: 1;
  color: var(--accent-red);
  opacity: 0;
  transition: opacity 0.15s ease;
  pointer-events: none;
}
a.entry:hover::before { opacity: 1; }
a.entry:hover .topics { color: var(--accent-red); }
a.entry:hover .topics .sep { color: var(--accent-red); }
a.entry:hover .topics em { color: var(--accent-red); }
a.entry:hover { background: rgba(70,40,20,0.04); }

.entry .date {
  display: flex;
  flex-direction: column;
  font-family: 'Old Standard TT', serif;
}
.entry .date .dow {
  font-family: 'Bevan', serif;
  font-size: 13px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 400;
  line-height: 1;
}
.entry .date .day {
  font-family: 'Bevan', serif;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-primary);
  font-weight: 400;
  margin: 5px 0 5px;
  line-height: 1;
}
.entry .date .num {
  font-family: 'Courier Prime', monospace;
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--ink-faded);
  text-transform: uppercase;
  line-height: 1;
}

.entry .topics {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink-faint);
  hyphens: none;
  transition: color 0.15s ease;
}
.entry .topics em { font-style: italic; color: inherit; transition: color 0.15s ease; }
.entry .topics .sep { padding: 0 0.32em; color: var(--ink-faint); font-style: normal; font-weight: 400; transition: color 0.15s ease; }

/* today's entry — faint background + red "· today" stamp */
.entry.today { background: rgba(70,40,20,0.025); }
.entry.today .date .num::after {
  content: " \B7 today";
  color: var(--accent-red);
  letter-spacing: 0.12em;
}

/* archive foot-nav — flex centred (different shape from day page) */
.foot-nav {
  margin: 64px 0 0;
  padding: 22px 0 0;
  border-top: 6px double var(--rule);
  display: flex;
  justify-content: center;
  gap: 28px;
  font-family: 'Old Standard TT', serif;
  font-size: 12px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--ink-faded);
}
.foot-nav a {
  color: var(--ink-primary);
  text-decoration: none;
  border-bottom: 1px solid var(--rule-faint);
  padding-bottom: 2px;
}
.foot-nav a:hover { color: var(--accent-red); border-bottom-color: var(--accent-red); }

@media (max-width: 700px) {
  a.entry {
    grid-template-columns: 100px 1fr;
    gap: 14px;
    padding: 12px 2px;
  }
  .entry .date .day { font-size: 12px; }
  .entry .date .dow { font-size: 12px; }
  .entry .date .num { font-size: 12px; }
  .entry .topics { font-size: 15.5px; line-height: 1.45; }
  .week-header h2 { font-size: 18px; }
  .foot-nav { flex-direction: column; gap: 10px; text-align: center; }
}
