/* SWE-Review Project Page Styles */
/* Nerfies/SWE-Lego template style */

body {
  font-family: 'Noto Sans', sans-serif;
}

:root {
  --theme-primary: #d4a017;
  --theme-primary-soft: #fff9e8;
  --theme-primary-softer: #fffdf5;
}

.publication-title {
  font-family: 'Google Sans', sans-serif;
  font-weight: 700;
  color: #363636;
}

.publication-authors {
  font-family: 'Google Sans', sans-serif;
  margin-bottom: 0.5rem;
}

.author-block {
  margin-right: 0.5rem;
}

.publication-links {
  margin-top: 1rem;
}

.link-block {
  margin: 0.25rem;
}

.hero-body {
  padding-top: 4rem;
  padding-bottom: 1rem;
}

.section {
  padding: 3rem 1.5rem;
}

/* Highlight boxes */
.highlight-box {
  border: none;
  box-shadow: 0 2px 8px rgba(212, 160, 23, 0.16);
}

.highlight-number {
  color: #f4c430;
  font-family: 'Google Sans', sans-serif;
}

/* Leaderboard */
.tabs li.is-active a {
  border-bottom-color: var(--theme-primary);
  color: var(--theme-primary);
  font-weight: 600;
}

.tabs a {
  font-family: 'Google Sans', sans-serif;
}

.table thead th.sortable {
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}

.table thead th.sortable:hover {
  background-color: #f0f0f0;
}

.table thead th.sort-asc .fa-sort::before {
  content: "\f0de";
}

.table thead th.sort-desc .fa-sort::before {
  content: "\f0dd";
}

.table td, .table th {
  vertical-align: middle;
  text-align: center;
}

.table td:first-child, .table th:first-child {
  text-align: left;
}

/* Section titles */
.title.is-3 {
  font-family: 'Google Sans', sans-serif;
  margin-bottom: 1.5rem;
}

.title.is-5 {
  font-family: 'Google Sans', sans-serif;
  color: var(--theme-primary);
  margin-top: 1.5rem;
}

/* Content boxes */
.box {
  transition: transform 0.2s;
}

.box:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Figures */
figure.image img {
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

/* Footer */
.footer {
  padding: 2rem 1.5rem;
  background-color: #fafafa;
}

/* BibTeX */
#BibTeX pre {
  background-color: #f5f5f5;
  padding: 1.5rem;
  border-radius: 6px;
  font-size: 0.85rem;
  text-align: left;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .title.is-1 {
    font-size: 1.75rem;
  }
  .highlight-number {
    font-size: 1.5rem !important;
  }
  .columns .column.is-6 {
    margin-bottom: 1rem;
  }
}

/* Section takeaway highlight */
.content .takeaway,
.takeaway {
  color: var(--theme-primary) !important;
  font-weight: 600;
}

.content strong {
  color: var(--theme-primary);
}
.trained-row {
  background-color: var(--theme-primary-soft);
}

/* Table row hover */
.table tbody tr:hover {
  background-color: #fff4cc !important;
}

/* Scroll fade-in animations */
.fade-in-section {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-section.fade-in-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hero should always be visible */
.hero {
  opacity: 1 !important;
  transform: none !important;
}

/* Domain buttons */
.domain-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.domain-btn {
  margin-bottom: 0.25rem;
  font-size: 0.8rem !important;
}

.domain-tags-display .tag {
  margin: 0.2rem;
}

.tag.is-info.is-light {
  background-color: var(--theme-primary-soft) !important;
  color: #555555 !important;
}

