:root {
  --primary-color: #77abf3;
  --secondary-color: #ff4c55;
  --accent-color: #77abf3;
  --bg-light: #f8f9fa;
  --bg-medium: #e9ecef;
  --bg-dark: #dee2e6;
  --text-dark: #2c3e50;
  --text-medium: #5a6c7d;
}

body {
  font-family: 'Noto Sans', sans-serif;
  background-color: #f8f9fa;
  color: #2c3e50;
}

/* Link buttons */
.link-block .button {
  font-family: 'Google Sans', sans-serif;
  font-weight: 500;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.link-block .button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(119, 171, 243, 0.3);
}

.bg-gradient .has-background-dark.has-text-white {
  background-color: rgba(119, 171, 243, 0.2) !important;
  border: 2px solid rgba(119, 171, 243, 0.4);
  color: white !important;
}

.bg-gradient .has-background-dark.has-text-white:hover {
  background-color: rgba(119, 171, 243, 0.3) !important;
  border-color: rgba(119, 171, 243, 0.6);
}

/* Header and Title Optimizations */
.publication-title {
  font-family: 'Google Sans', sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: #77abf3;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.bg-gradient .publication-title,
.bg-gradient .publication-subtitle {
  color: white;
}

.publication-subtitle {
  font-family: 'Google Sans', sans-serif;
  font-size: 1.25rem;
  color: #5a6c7d;
  font-weight: 400;
  margin-bottom: 1.5rem;
}

.eaft-title {
  color: #77abf3 !important;
  font-weight: 800;
  text-shadow: 2px 2px 4px rgba(119, 171, 243, 0.3);
}

/* Author Section */
.publication-authors {
  font-family: 'Google Sans', sans-serif;
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.bg-gradient .publication-authors {
  color: rgba(255, 255, 255, 0.9);
}

.author-block {
  display: inline-block;
  margin: 0.25rem 0;
  white-space: nowrap;
}

.author-block strong {
  color: #2c3e50;
  font-weight: 600;
}

.bg-gradient .author-block strong {
  color: #ff4c55;
}

.affiliation {
  font-size: 0.95rem;
  color: #495057;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.bg-gradient .affiliation {
  color: rgba(255, 255, 255, 0.85);
}

.affiliation strong {
  color: #343a40;
}

.bg-gradient .affiliation strong {
  color: #77abf3;
}

.contribution-note {
  color: #6c757d;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

.bg-gradient .contribution-note {
  color: rgba(255, 255, 255, 0.7);
}

.contribution-note sup {
  font-weight: bold;
  margin-right: 0.2rem;
}

/* Additional Section Styling */
.key-highlight {
  border-radius: 15px;
  box-shadow: 0 4px 6px rgba(119, 171, 243, 0.15), 0 1px 3px rgba(255, 76, 85, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid #77abf3;
  background-color: rgba(119, 171, 243, 0.1);
}

.key-highlight:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 14px rgba(119, 171, 243, 0.2), 0 3px 6px rgba(255, 76, 85, 0.15);
}

.math-box {
  border: 1px solid #77abf3;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(119, 171, 243, 0.1);
  text-align: center;
  font-size: 1.1rem;
  background-color: rgba(119, 171, 243, 0.05);
}

/* Enhanced Image Containers */
.content img {
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(119, 171, 243, 0.15), 0 1px 3px rgba(255, 76, 85, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content img:hover {
  transform: translateY(-4px);
  box-shadow: 0 7px 14px rgba(119, 171, 243, 0.25), 0 3px 6px rgba(255, 76, 85, 0.2);
}

/* Impact boxes */
.results-carousel .box {
  border-radius: 10px;
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
}

.results-carousel .box:hover {
  border-color: #77abf3;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(119, 171, 243, 0.2);
}

/* Table enhancements */
table {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(119, 171, 243, 0.1);
}

table th {
  background-color: #77abf3;
  color: white;
  font-weight: 600;
}

table tr:nth-child(even) {
  background-color: rgba(119, 171, 243, 0.05);
}

table tr:hover {
  background-color: rgba(119, 171, 243, 0.15);
  transition: background-color 0.3s ease;
}

/* Hero Section Improvement */
.section.hero {
  background-color: rgba(119, 171, 243, 0.1);
}

.section.hero + .section {
  padding-top: 1.5rem;
}

/* Footer Enhancement */
footer {
  background-color: #2c3e50;
  color: #fff;
  margin-top: 3rem;
  border-top: 3px solid #77abf3;
}

footer p {
  color: #adb5bd;
}

footer a {
  color: #77abf3;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #ff4c55;
}

/* Responsive Improvements */
@media screen and (max-width: 768px) {
  .publication-title {
    font-size: 2.2rem;
  }

  .publication-subtitle {
    font-size: 1.1rem;
  }

  .author-block {
    display: block;
    text-align: center;
    margin: 0.5rem 0;
  }

  .affiliation {
    text-align: center;
    line-height: 1.6;
  }

  .publication-links {
    flex-direction: column;
  }

  .link-block {
    margin: 0.25rem 0;
  }

  .key-highlight {
    margin: 0 1rem;
    padding: 1rem;
  }

  .results-carousel .box {
    margin: 0.5rem;
  }
}

