:root {
  --primary-color: #004d99; /* Deep blue for finance */
  --secondary-color: #ff6b00; /* Flame orange */
  --accent-color: #1aa3ff; /* Light blue */
  --light-bg: #f8f9fa;
  --dark-text: #343a40;
  --light-text: #f8f9fa;
  --section-padding: 3rem 1.5rem;
}

body {
  font-family: 'Noto Sans', sans-serif;
  background-color: var(--light-bg);
  color: var(--dark-text);
  scroll-behavior: smooth;
}

/* Navbar styling */
.navbar {
  background-color: var(--primary-color);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-item {
  color: var(--light-text);
  font-weight: 500;
}

.navbar-item:hover {
  background-color: rgba(255,255,255,0.1) !important;
  color: white !important;
}

/* Hero section styling */
.hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, #003366 100%);
  color: white;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.hero.teaser {
  background: white;
  color: var(--dark-text);
}

.hero .title {
  margin-bottom: 1.5rem;
}

.footer .icon-link {
  font-size: 25px;
  color: var(--light-text);
  margin: 0 10px;
  transition: transform 0.3s ease;
}

.footer .icon-link:hover {
  transform: scale(1.2);
  color: var(--secondary-color);
}

.link-block a {
  margin-top: 10px;
  margin-bottom: 10px;
  transition: transform 0.3s ease;
}

.link-block a:hover {
  transform: translateY(-2px);
}

.flame {
  font-variant: small-caps;
  color: var(--secondary-color);
  font-weight: bold;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

/* Card styling */
.card {
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.card-header {
  background-color: var(--primary-color);
  color: white;
}

.card-header-title {
  color: white !important;
}

/* Section styling */
.section-title {
  position: relative;
  margin-bottom: 2rem;
  padding-bottom: 0.5rem;
}

.section-title:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100px;
  height: 3px;
  background-color: var(--secondary-color);
}


.teaser .hero-body {
  padding-top: 0;
  padding-bottom: 3rem;
}

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


.publication-title {
  font-family: 'Google Sans', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

.publication-banner {
  max-height: parent;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.publication-banner video,
.publication-banner img {
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.publication-header .hero-body {
  padding: 3rem 1.5rem;
}

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

.publication-venue {
  color: var(--light-text);
  width: fit-content;
  font-weight: bold;
  background-color: rgba(0,0,0,0.1);
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  margin: 1rem auto;
  display: inline-block;
}

.publication-awards {
  color: #ffd700;
  width: fit-content;
  font-weight: bolder;
  background-color: rgba(0,0,0,0.1);
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  margin: 0.5rem auto;
  display: inline-block;
}

.publication-authors a {
  color: var(--accent-color) !important;
  font-weight: 500;
  transition: color 0.3s ease;
}

.publication-authors a:hover {
  text-decoration: underline;
  color: white !important;
}

.author-block {
  display: inline-block;
  margin: 0 0.5rem;
}

/* Content sections styling */
.content-section {
  padding: 4rem 0;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  margin-bottom: 2rem;
}

.content-section h2 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.content-section h2:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 50%;
  height: 3px;
  background-color: var(--secondary-color);
}

.content-section h4 {
  color: var(--primary-color);
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.content ul li {
  margin-bottom: 0.5rem;
  position: relative;
  list-style-type: none;
  padding-left: 1.5rem;
}

.content ul li:before {
  content: '•';
  color: var(--secondary-color);
  font-weight: bold;
  position: absolute;
  left: 0;
}

.publication-video {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;

    overflow: hidden;
    border-radius: 10px !important;
}

.publication-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.publication-body img {
}

/* Image and figure styling */
.figure-container {
  margin: 2rem 0;
  padding: 1rem;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.figure-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

figure {
  margin: 0;
  padding: 0;
}

figure img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

figcaption {
  color: var(--dark-text);
  font-size: 0.9rem;
  margin-top: 1rem;
  padding: 0.5rem;
  border-top: 1px solid #eee;
}

/* Results styling */
.results-section {
  background-color: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  margin-bottom: 2rem;
}

.results-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.results-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.results-card-header {
  background-color: var(--primary-color);
  color: white;
  padding: 1rem;
  font-weight: bold;
}

.results-card-content {
  padding: 1.5rem;
  flex-grow: 1;
}

.results-table {
  width: 100%;
  margin-bottom: 1.5rem;
}

.results-table th {
  background-color: var(--primary-color);
  color: white;
  padding: 0.75rem;
  text-align: left;
}

.results-table td {
  padding: 0.75rem;
  border-bottom: 1px solid #eee;
}

.results-table tr:hover {
  background-color: rgba(0,0,0,0.02);
}

/* Performance indicator */
.performance-indicator {
  width: 100%;
  height: 8px;
  background-color: #e9ecef;
  border-radius: 4px;
  margin-bottom: 0.5rem;
  overflow: hidden;
}

.performance-indicator-bar {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

/* Methodology step styling */
.methodology-step {
  text-align: center;
  padding: 1rem;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
  height: 100%;
}

.methodology-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

.step-number {
  display: inline-block;
  width: 30px;
  height: 30px;
  line-height: 30px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: white;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.step-icon {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

/* Steps for getting started */
.steps {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.step-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  width: 100%;
}

.step-marker {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: white;
  font-weight: bold;
  margin-right: 1rem;
}

.step-details {
  flex-grow: 1;
}

.step-title {
  font-weight: bold;
  margin-bottom: 0.25rem;
}

/* Dataset category styling */
.dataset-category {
  margin-bottom: 1.5rem;
}

.dataset-category ul {
  margin-top: 0.25rem;
}

/* Error category styling */
.error-category {
  transition: transform 0.3s ease;
}

.error-category:hover {
  transform: translateX(5px);
}

/* Paper stats boxes */
.stat-box {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.05);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

/* Abstract styling */
.abstract-box {
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

/* Flame icon */
.flame-icon {
  color: var(--secondary-color);
}

/* Bronze trophy color */
.has-text-bronze {
  color: #cd7f32;
}

/* BibTeX styling */
.bibtex-container {
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 1.5rem;
  margin-top: 2rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.bibtex-container pre {
  background-color: #f1f3f5;
  border-radius: 4px;
  padding: 1rem;
  overflow-x: auto;
}

/* Footer styling */
.footer {
  background-color: var(--primary-color);
  color: white;
  padding: 3rem 1.5rem;
  margin-top: 3rem;
}

.footer a {
  color: white;
  text-decoration: underline;
}

.footer a:hover {
  color: var(--secondary-color);
}

.footer-links a {
  transition: transform 0.3s ease;
  display: inline-block;
}

.footer-links a:hover {
  transform: scale(1.2);
}

/* Media queries for mobile responsiveness */
@media screen and (max-width: 768px) {
  .title.is-1 {
    font-size: 2rem;
  }
  
  .hero {
    padding: 1rem 0;
  }
  
  .section {
    padding: 2rem 1rem;
  }
  
  .column {
    padding: 0.5rem;
  }
  
  .methodology-step {
    margin-bottom: 1rem;
  }
  
  .card {
    margin-bottom: 1rem;
  }
  
  .tabs ul {
    flex-wrap: wrap;
  }
}

/* Tabbed Results */
.results-table-container {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  padding: 1rem;
  margin-bottom: 2rem;
}

.tab-content {
  padding: 1rem 0;
}

.tab-pane {
  display: none;
}

.tab-pane.is-active {
  display: block;
}

.table-container {
  overflow-x: auto;
  max-width: 100%;
}

/* Highlight cells for top performers */
.highlight-1 {
  background-color: rgba(72, 199, 116, 0.7) !important; /* 1st place - green!70 */
  font-weight: bold;
  color: white;
}

.highlight-2 {
  background-color: rgba(72, 199, 116, 0.5) !important; /* 2nd place - green!50 */
  font-weight: bold;
}

.highlight-3 {
  background-color: rgba(72, 199, 116, 0.2) !important; /* 3rd place - green!20 */
}

.legend {
  font-size: 0.8rem;
}