/* === COMPLETE CUSTOM CSS — REPLACES EVERYTHING === */

/* --- Colors --- */
:root {
  --accent: #1a6b5a;
  --accent-light: #e8f4f0;
  --accent-dark: #124a3e;
}

/* --- Typography --- */
body { font-family: 'Inter', -apple-system, sans-serif; color: #2d2d2d; }
h1, h2 { font-family: 'Lora', Georgia, serif; }

/* --- Links --- */
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }

/* --- Nav --- */
.masthead { border-bottom: 1px solid #e8e8e8; }
.greedy-nav a { color: #555; }
.greedy-nav a:hover { color: var(--accent); }
.greedy-nav .visible-links a::before { background: var(--accent); }

/* --- Sidebar photo --- */
.author__avatar img { border-radius: 8px; border: 3px solid #f0f0f0; }

/* --- WIDER CONTENT: target the Minimal Mistakes grid --- */
@media (min-width: 64em) {
  #main { max-width: 1400px !important; }
  .page, .archive { width: calc(100% - 200px) !important; }
}
@media (min-width: 80em) {
  #main { max-width: 1400px !important; }
  .page, .archive { width: calc(100% - 220px) !important; }
}

/* --- TIGHT SPACING: kill Minimal Mistakes huge heading margins --- */
.page__content h1 { margin-top: 0.8em !important; margin-bottom: 0.3em !important; }
.page__content h2 { margin-top: 0.8em !important; margin-bottom: 0.3em !important; }
.page__content h3 { margin-top: 0.5em !important; margin-bottom: 0.2em !important; }
.page__content p { margin-bottom: 0.5em !important; }
.page__content hr { margin: 0.4em 0 !important; }

/* --- Paper entry styling --- */
.paper-entry { padding: 0.5rem 0 !important; border-bottom: 1px solid #eee; }
.paper-entry:last-child { border-bottom: none; }
.paper-status { font-size: 0.8rem; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: 0.04em; }
.paper-coauthors { font-size: 0.88rem; color: #666; font-style: italic; }
.btn--research { display: inline-block; padding: 0.25rem 0.7rem; font-size: 0.78rem; font-weight: 600; color: var(--accent); border: 1.5px solid var(--accent); border-radius: 4px; text-transform: uppercase; letter-spacing: 0.03em; margin-right: 0.4rem; margin-top: 0.3rem; }
.btn--research:hover { background: var(--accent); color: #fff; }

/* --- Course entries --- */
.course-entry { padding: 0.6rem 0 0.6rem 1rem; border-left: 3px solid var(--accent-light); margin-bottom: 0.8rem; }

/* --- Hide Follow button --- */
.author__urls-wrapper button { display: none !important; }
