/* Career: the news rows and blog headlines, plus the resume / interview
   panels (js/career.js). */

/* ---------- News cards ---------- */
/* News: rows with a small fixed thumb — a missing image no longer leaves a
   tall empty card next to a full one. */
.news-list {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: var(--sp-3);
}
.news-row {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-2) var(--sp-3);
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
}
.news-row:last-child { border-bottom: 0; }
.news-row:hover { background: var(--surface-2); }
.news-thumb {
  width: 58px;
  height: 38px;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}
.news-thumb-blank {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-2);
  font-size: var(--fs-body);
}
.news-body { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.news-title {
  font-size: var(--fs-sm);
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.news-date { font-size: var(--fs-2xs); color: var(--text-muted); font-variant-numeric: tabular-nums; }

.headline-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0 var(--sp-4);
}
.headline-row {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  padding: var(--sp-1) 0;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-decoration: none; /* rows are links now, but keep the plain-list look */
}
.headline-row:hover,
.headline-row:visited,
.headline-row:focus { text-decoration: none; color: var(--text-muted); }
/* Colour only on hover: a bolder, larger row reflowed the list (F-76). */
.headline-row:hover { color: var(--text); }

/* ---------- Career: resume / interview panels (js/career.js) ---------- */
.resume-panel { display: flex; flex-direction: column; gap: var(--sp-3); }
.interview-q {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: var(--sp-3) var(--sp-4);
}
.interview-q .interview-practice { margin-top: var(--sp-3); display: flex; flex-direction: column; gap: var(--sp-2); }

/* One gap between the page's sections (issue #16 F-76): each block's first
   title sits flush, and the blocks are 32px apart. */
.career-section + .career-section { margin-top: var(--sp-8); }
.career-section > :is(.section-title, .section-head):first-child { margin-top: 0; }
