/* Publications page raw CSS (no Tailwind). Maintains ISPOR design language and colors. */
:root {
  --brand-blue: #27AAE2;
  --text: #1f2937;
  --muted: #6b7280;
  --bg: #fcfcfc;
  --card: #f6f7fb;
  --dark-bg: #0f172a;
  --border: rgba(39, 170, 226, 0.15);
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
a.link { color: var(--brand-blue); }
img { display: block; max-width: 100%; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.spacer-80 { height: 80px; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,0.9);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}
.header-inner { display: flex; align-items: center; height: 80px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 56px; width: auto; }

.nav { display: flex; align-items: center; gap: 16px; margin-left: auto; }

/* Details-based dropdowns */
.nav details { position: relative; }
.nav summary {
  list-style: none; cursor: pointer; padding: 8px 10px; border-radius: 8px;
  color: #374151; display: flex; align-items: center; gap: 6px;
}
.nav summary:hover { color: var(--brand-blue); background: rgba(39,170,226,0.08); }
.nav details[open] > summary { color: var(--brand-blue); background: rgba(39,170,226,0.12); }

.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 220px;
  background: #fff; border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  padding: 8px; display: grid; gap: 4px;
}
.dropdown a { padding: 10px 12px; border-radius: 8px; color: #374151; display: flex; align-items: center; gap: 8px; }
.dropdown a:hover { background: rgba(39,170,226,0.08); color: var(--brand-blue); }

.cta { margin-left: 8px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 10px;
  background: var(--brand-blue); color: #fff; font-weight: 600; border: none; cursor: pointer;
}
.btn:hover { filter: brightness(1.05); transform: translateY(-1px); }

/* Hero */
.hero { background: #eef7fb; padding: 24px 0; border-bottom: 1px solid var(--border); }
.hero h1 { margin: 0; font-size: 28px; font-weight: 700; color: #111827; }
.hero p { margin: 6px 0 0; color: var(--muted); }

/* Sections */
.section { padding: 32px 0; }
.section h2 { margin: 0 0 8px; font-size: 24px; color: var(--brand-blue); }
.section .hint { color: var(--brand-blue); font-size: 14px; }
.section .note { color: var(--muted); font-size: 14px; }

.grid { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card-thumb { border: 1px solid #e5e7eb; border-radius: 10px; overflow: hidden; background: #fff; }
.card-thumb img { height: 160px; width: 100%; object-fit: cover; }

/* Footer */
.footer { margin-top: auto; background: #fff; border-top: 1px solid var(--border); }
.footer-inner { padding: 40px 24px; display: grid; gap: 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.footer .brand { flex-direction: column; text-align: center; }
.footer h3 { margin: 0 0 8px; font-size: 18px; }
.footer a { color: #111827; }
.footer a:hover { color: var(--brand-blue); }
.footer-bottom { padding: 12px 24px; border-top: 1px solid var(--border); text-align: center; color: #6b7280; font-size: 12px; }

/* Mobile */
@media (max-width: 900px) {
  .header-inner { flex-wrap: wrap; height: auto; padding: 12px 0; }
  .nav { width: 100%; order: 3; justify-content: space-between; flex-wrap: wrap; }
  .cta { order: 2; margin-left: auto; }
}
