/* ==========================================================================
   CUSTOM STYLES — Justin Kang's Academic Website
   ========================================================================== */

/* ----- Job Market Callout Box ----- */
.job-market-callout {
  background: linear-gradient(135deg, #f0f7f9 0%, #e8f4f8 100%);
  border-left: 4px solid #2f7f93;
  border-radius: 6px;
  padding: 1.1em 1.4em;
  margin: 1.2em 0 1.8em 0;
  font-size: 1.05em;
  line-height: 1.6;
  box-shadow: 0 1px 4px rgba(47, 127, 147, 0.08);
}

.job-market-callout strong {
  color: #1a5a6a;
}

.cv-btn {
  display: inline-block;
  background: #2f7f93;
  color: #fff !important;
  font-size: 0.85em;
  font-weight: 600;
  padding: 0.35em 1em;
  border-radius: 20px;
  text-decoration: none !important;
  margin-left: 0.6em;
  transition: background 0.2s ease, box-shadow 0.2s ease;
  vertical-align: middle;
  letter-spacing: 0.02em;
}

.cv-btn:hover {
  background: #23616f;
  box-shadow: 0 2px 8px rgba(47, 127, 147, 0.25);
  color: #fff !important;
}

/* ----- Research Figure Styling ----- */
.research-figure {
  text-align: center;
  margin: 0.8em 0 1.6em 0;
}

.research-figure img {
  max-width: 620px;
  width: 100%;
  border-radius: 8px;
  border: 1px solid #e0e4e6;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
}

.research-figure figcaption {
  font-size: 0.82em;
  color: #7a8288;
  font-style: italic;
  margin-top: 0.5em;
}

/* ----- Venue Badges ----- */
.venue-badge {
  display: inline-block;
  font-size: 0.72em;
  font-weight: 600;
  padding: 0.2em 0.65em;
  border-radius: 12px;
  letter-spacing: 0.03em;
  vertical-align: middle;
  margin-left: 0.3em;
  line-height: 1.4;
}

.venue-badge.conference {
  background: #e0f2f6;
  color: #1a5a6a;
}

.venue-badge.spotlight {
  background: #2f7f93;
  color: #fff;
}

.venue-badge.preprint {
  background: #f0f0f0;
  color: #666;
}

.venue-badge.award {
  background: #fff3cd;
  color: #856404;
}

/* ----- Paper Link Buttons ----- */
.paper-links a {
  display: inline-block;
  font-size: 0.8em;
  font-weight: 500;
  padding: 0.25em 0.7em;
  border-radius: 14px;
  border: 1.5px solid #2f7f93;
  color: #2f7f93 !important;
  text-decoration: none !important;
  margin-right: 0.35em;
  transition: all 0.2s ease;
  line-height: 1.4;
}

.paper-links a:hover {
  background: #2f7f93;
  color: #fff !important;
}

/* ----- Refined Section Headings ----- */
.page__content h2 {
  border-bottom: 2px solid #e8ecee;
  padding-bottom: 0.35em;
  margin-top: 1.8em;
}

/* ----- Selected Papers List Polish ----- */
.page__content ol {
  padding-left: 1.2em;
}

.page__content ol > li {
  margin-bottom: 1.1em;
  line-height: 1.55;
}

/* ----- Responsive ----- */
@media (max-width: 600px) {
  .job-market-callout {
    padding: 0.9em 1em;
    font-size: 0.95em;
  }

  .cv-btn {
    display: block;
    text-align: center;
    margin: 0.6em 0 0 0;
  }

  .research-figure img {
    max-width: 100%;
  }
}
