/* talks & posters — geeky / terminal-inspired, light theme */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  background: #fbfaf7;
}

body {
  font-family: ui-monospace, "JetBrains Mono", "SF Mono", "Menlo", "Consolas",
    monospace;
  font-size: 14px;
  line-height: 1.55;
  color: #1a1a1a;
  background: #fbfaf7;
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 28px 96px 28px;
}

a {
  color: #006e90;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 110, 144, 0.35);
}

a:hover {
  color: #003f56;
  border-bottom-color: #003f56;
}

/* ============ Header ============ */

.back {
  display: inline-block;
  font-size: 13px;
  color: #666;
  border-bottom: none;
  margin-bottom: 28px;
}

.back:hover {
  color: #1a1a1a;
}

.page-header {
  border-bottom: 1px dashed #c9c1a8;
  padding-bottom: 20px;
  margin-bottom: 36px;
}

.page-header h1 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.page-header h1::before {
  content: "~/ ";
  color: #0a7c3e;
  font-weight: 400;
}

.page-header .intro {
  font-size: 13px;
  color: #666;
  margin-top: 8px;
}

.page-header .intro::before {
  content: "# ";
  color: #0a7c3e;
}

/* ============ Section headings ============ */

section {
  margin-bottom: 56px;
}

section > h2 {
  font-size: 15px;
  font-weight: 700;
  text-transform: lowercase;
  color: #0a7c3e;
  margin-bottom: 20px;
  padding-bottom: 4px;
  border-bottom: 1px solid #e6e0cc;
}

section > h2::before {
  content: "// ";
  color: #a09888;
}

/* ============ Talks ============ */

.talk {
  margin-bottom: 22px;
  padding: 14px 18px 14px 22px;
  background: #fff;
  border: 1px solid #e6e0cc;
  border-left: 3px solid #0a7c3e;
  border-radius: 2px;
  position: relative;
}

.talk:hover {
  border-left-color: #006e90;
}

.talk-title {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
  line-height: 1.4;
}

.talk-title::before {
  content: "▸ ";
  color: #0a7c3e;
  font-weight: 400;
}

.talk-title .meta-links {
  font-size: 11px;
  font-weight: 400;
  color: #888;
  margin-left: 6px;
}

.talk-title .meta-links a {
  color: #006e90;
  border-bottom: none;
  padding: 1px 5px;
  margin: 0 2px;
  background: #eef6f9;
  border-radius: 2px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.talk-title .meta-links a:hover {
  background: #006e90;
  color: #fff;
}

.talk-title .note {
  font-size: 11px;
  font-weight: 400;
  font-style: italic;
  color: #888;
  margin-left: 4px;
}

.talk-venues {
  list-style: none;
  padding-left: 16px;
  font-size: 13px;
  color: #444;
}

.talk-venues li {
  padding: 2px 0;
  position: relative;
}

.talk-venues li::before {
  content: "›";
  position: absolute;
  left: -14px;
  color: #c9c1a8;
}

.talk-venues .date {
  display: inline-block;
  color: #8a4a1f;
  font-weight: 600;
  padding: 0 6px;
  margin-right: 8px;
  background: #f4edd8;
  border-radius: 2px;
  font-size: 12px;
}

/* ============ Posters grid ============ */

.poster-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.poster-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e6e0cc;
  border-radius: 2px;
  padding: 10px;
  overflow: hidden;
  position: relative;
  transition: transform 0.15s ease, box-shadow 0.15s ease,
    border-color 0.15s ease;
  border-bottom: none;
  color: inherit;
}

.poster-card:hover {
  transform: translateY(-3px);
  border-color: #0a7c3e;
  box-shadow: 0 8px 20px rgba(10, 124, 62, 0.15);
}

.poster-thumb {
  margin-top: 22px;
  background: #f4edd8;
  border: 1px solid #e6e0cc;
  aspect-ratio: 1 / 1.2;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.poster-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.poster-meta {
  padding: 12px 4px 4px 4px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.poster-venue {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0a7c3e;
}

.poster-venue .tag {
  display: inline-block;
  padding: 1px 6px;
  background: #e8f3ec;
  border-radius: 2px;
  margin-left: 4px;
  color: #0a7c3e;
}

.poster-venue .tag.spotlight {
  background: #fff4d9;
  color: #8a4a1f;
}

.poster-venue .tag.oral {
  background: #fde4e0;
  color: #a02028;
}

.poster-title {
  font-size: 13px;
  color: #1a1a1a;
  line-height: 1.35;
  font-weight: 500;
}

/* ============ Footer ============ */

footer {
  margin-top: 64px;
  padding-top: 20px;
  border-top: 1px dashed #c9c1a8;
  font-size: 12px;
  color: #888;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
}

footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

footer a {
  border-bottom: none;
  color: #666;
}

footer a:hover {
  color: #1a1a1a;
}

/* ============ Responsive ============ */

@media (max-width: 900px) {
  .poster-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  body {
    padding: 24px 16px 64px 16px;
  }
  .page-header h1 {
    font-size: 22px;
  }
  .poster-grid {
    grid-template-columns: 1fr;
  }
  .talk {
    padding: 12px 14px 12px 16px;
  }
  .talk-venues .date {
    display: block;
    margin-bottom: 2px;
  }
}
