/* Existing styles */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans', sans-serif;
  background-color: #ffffff;
  color: #1a1a1a;
}

a {
  color: #1976d2;
}

a:hover {
  color: #1565c0;
}

/* Override default link color for interactive-map-button */
a.interactive-map-button,
a.interactive-map-button:hover,
a.interactive-map-button:visited,
a.interactive-map-button:active,
a.interactive-map-button:focus {
  color: #1a1a1a !important;
}

.footer .icon-link {
  font-size: 25px;
  color: #000;
}

.link-block a {
  margin-top: 5px;
  margin-bottom: 5px;
}

.dnerf {
  font-variant: small-caps;
}

.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  border-radius: 20px;
}

.center2 {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 500px;
  border-radius: 20px;
}

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

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

/* Custom Interactive Map Button designed to match interactive/index.html panel style */
.interactive-map-button {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
  border-radius: 16px !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  color: #1a1a1a !important;
  padding: 12px 24px;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.interactive-map-button:hover {
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1);
  border-color: #1976d2 !important;
}

.interactive-map-button:active {
  background: rgba(255, 255, 255, 0.95) !important;
  transform: translateY(0);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.interactive-map-button:focus {
  background: rgba(255, 255, 255, 0.95) !important;
  outline: 2px solid #1976d2;
  outline-offset: 2px;
}

.interactive-map-button .icon {
  color: #1976d2;
  margin-right: 8px;
}

/* Updated Button Styling based on interactive/index.html accent #1976d2 */
.button.is-primary {
  background-color: #1976d2;
  border-color: transparent;
  color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.button.is-primary:hover {
  background-color: #1565c0;
  /* Darker shade */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(25, 118, 210, 0.3);
}

.button.is-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.button.is-info {
  background-color: #666666;
}


.button {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

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


.publication-title {
  font-family: 'Google Sans', sans-serif;
  color: #1a1a1a;
}

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

.publication-venue {
  color: #555;
  width: fit-content;
  font-weight: bold;
}

.publication-awards {
  color: #ff3860;
  width: fit-content;
  font-weight: bolder;
}


.publication-authors a {
  color: #1976d2 !important;
}

.publication-authors a:hover {
  text-decoration: underline;
}

.author-block {
  display: inline-block;
}


.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%;
}


.results-carousel {
  overflow: hidden;
}

.results-carousel .item {
  margin: 5px;
  overflow: hidden;
  padding: 20px;
  font-size: 0;
}

.results-carousel video {
  margin: 0;
}

.slider-pagination .slider-page {
  background: #000000;
}

.eql-cntrb {
  font-size: smaller;
}



.section {
  padding: 2rem 1rem;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 15px;
}

.title {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.5rem;
  font-weight: bold;
  color: #1a1a1a;
}

.subtitle {
  color: #666666;
}

/* Overriding hero backgrounds to match theme */
.hero {
  background-color: #ffffff;
}

.hero.is-light {
  background-color: #f5f5f5;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1rem;
  justify-items: center;
  align-items: center;
}

.logo-item {
  width: 100%;
  max-width: 150px;
}

.logo-item2 {
  width: 40%;
  max-width: 150px;
}

.logo-container {
  width: 100%;
  padding-bottom: 100%;
  /* Creates a square aspect ratio */
  position: relative;
}

.logo-container a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-container img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* References section styling */
#BibTeX pre {
  white-space: pre-wrap;
  word-wrap: break-word;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 24px;
  background-color: #f5f5f5;
  font-size: 0.9rem;
  line-height: 1.5;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.05);
}

/* Tablet and larger screens */
@media screen and (min-width: 768px) {
  .logo-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}