@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&display=swap");

/* Modern Academic Website Styling */
:root {
  --primary-color: #2c3e50;
  --secondary-color: #3498db;
  --accent-color: #e74c3c;
  --text-color: #2c3e50;
  --text-light: #7f8c8d;
  --background: #ffffff;
  --background-light: #f8f9fa;
  --border-color: #e9ecef;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  --shadow-light: 0 1px 3px rgba(0, 0, 0, 0.1);
  --border-radius: 8px;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background);
  font-size: 16px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation Styles */
.navbar {
  background: var(--background);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-light);
  position: relative;
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.navbar-brand {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-color);
  white-space: nowrap;
}

.navbar-menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.navbar-start {
  display: flex;
  gap: 2rem;
  margin-left: auto;
}

.navbar-item {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
}

.navbar-item:hover {
  color: var(--secondary-color);
  background: var(--background-light);
}

.navbar-item.active {
  color: var(--secondary-color);
  background: var(--background-light);
}

.navbar-burger {
  display: none;
  cursor: pointer;
  width: 3rem;
  height: 3rem;
  position: relative;
  background: transparent;
  border: none;
}

.navbar-burger span {
  display: block;
  position: absolute;
  height: 3px;
  width: 1.5rem;
  background: var(--primary-color);
  border-radius: 3px;
  left: 50%;
  transform: translateX(-50%);
  transition:
    transform 0.3s,
    opacity 0.3s;
}

.navbar-burger span:nth-child(1) {
  top: 0.75rem;
}

.navbar-burger span:nth-child(2) {
  top: 1.4rem;
}

.navbar-burger span:nth-child(3) {
  bottom: 0.75rem;
}

.navbar-burger.is-active span:nth-child(1) {
  transform: translateX(-50%) translateY(0.65rem) rotate(45deg);
}

.navbar-burger.is-active span:nth-child(2) {
  opacity: 0;
}

.navbar-burger.is-active span:nth-child(3) {
  transform: translateX(-50%) translateY(-0.65rem) rotate(-45deg);
}

/* Header Styles */
.hero {
  background: linear-gradient(135deg, var(--background-light) 0%, #ffffff 100%);
  padding: 80px 0;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.publication-title {
  font-family: "Crimson Text", serif;
  font-size: 3.2rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--primary-color);
  margin-bottom: 1rem;
  max-width: 940px;
  margin-left: auto;
  margin-right: auto;
}

.publication-subtitle {
  font-size: 1.5rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  font-weight: 400;
}

.authors {
  margin-bottom: 2rem;
}

.author-row {
  font-family: "Crimson Text", serif;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.author-item {
  display: inline-block;
  margin: 0 8px 8px 0;
  font-size: 1.3rem;
  line-height: 1.5;
}

.author-item a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 500;
}

.author-item a:hover {
  text-decoration: underline;
}

.affiliations {
  margin: 2rem 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  align-items: center;
}

.publication-links {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: var(--border-radius);
  font-weight: 500;
  transition: var(--transition);
  border: 2px solid transparent;
  font-size: 1rem;
}

.btn-primary {
  background: var(--secondary-color);
  color: white;
}

.btn-primary:hover {
  background: #2980b9;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-secondary:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* Section Styles */
.section {
  padding: 60px 0;
}

.paper-section {
  margin-bottom: 80px;
}

.section-title {
  font-size: 2rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--secondary-color);
  margin: 1rem auto;
  border-radius: 2px;
}

.intro-section {
  background: var(--background-light);
  padding: 3rem 2rem;
  border-radius: var(--border-radius);
  margin-bottom: 3rem;
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  text-align: center;
}

.intro-card {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.intro-card .card-icon {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.intro-card h4 {
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.challenge-box {
  border: 2px solid #ffb6c1; /* Light Pink */
  background-color: #fff5f7; /* Lighter pink */
  padding: 2rem;
  border-radius: var(--border-radius);
  text-align: center;
  margin: 2rem 0;
}

.challenge-box h3 {
  color: #d9538d; /* A darker pink */
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* Abstract Styles */
.abstract-content {
  /* max-width: 960px; */
  margin: 0 auto;
  font-size: 1.2rem;
  line-height: 1.8;
  text-align: justify;
  padding: 2rem;
  background: var(--background-light);
  border-radius: var(--border-radius);
  border-left: 4px solid var(--secondary-color);
}

/* Survey Overview Stats */
.overview-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.stat-item {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.stat-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.1rem;
  color: var(--text-light);
  font-weight: 500;
}

/* Insights Navigation */
.insights-navigation {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.insight-card {
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
  display: block;
  position: relative;
}

.insight-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  color: inherit;
}

.insight-icon {
  width: 60px;
  height: 60px;
  background: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  color: white;
}

.insight-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.insight-arrow {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  color: var(--secondary-color);
  transition: var(--transition);
}

.insight-card:hover .insight-arrow {
  transform: translateX(5px);
}

/* Research Trends Timeline */
.trends-timeline {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}

.trend-item {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.trend-item:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow);
}

.trend-year {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary-color);
  min-width: 120px;
  text-align: center;
  padding: 1rem;
  background: var(--background-light);
  border-radius: var(--border-radius);
}

.trend-content h3 {
  font-size: 1.4rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.trend-content p {
  color: var(--text-light);
}

/* Gap Sources */
.gap-sources {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.source-card {
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.source-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.source-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.2rem;
  color: white;
}

.source-icon.dynamics {
  background: #e74c3c;
}
.source-icon.perception {
  background: #3498db;
}
.source-icon.actuation {
  background: #2ecc71;
}
.source-icon.system {
  background: #f39c12;
}

.source-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.source-examples {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  background: var(--background-light);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.9rem;
  color: var(--text-light);
  border: 1px solid var(--border-color);
}

/* Solution Taxonomy */
.solution-taxonomy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

.approach-section {
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  border: 1px solid var(--border-color);
}

.approach-title {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  text-align: center;
}

.approach-desc {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 2rem;
  font-style: italic;
}

.method-grid {
  display: grid;
  gap: 1rem;
}

.method-item {
  background: var(--background-light);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  border-left: 4px solid var(--secondary-color);
}

.method-item h4 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

/* Future Directions */
.future-directions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.direction-item {
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.direction-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.direction-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.direction-header i {
  font-size: 1.5rem;
  color: var(--secondary-color);
}

.direction-header h3 {
  color: var(--primary-color);
  font-size: 1.3rem;
}

/* BibTeX Section */
.bibtex-container {
  position: relative;
  background: #f8f9fa;
  border-radius: var(--border-radius);
  padding: 2rem;
  margin-top: 2rem;
}

.bibtex-code {
  font-family: "Monaco", "Menlo", monospace;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-color);
  background: none;
  border: none;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.copy-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--secondary-color);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-size: 0.9rem;
  transition: var(--transition);
}

.copy-btn:hover {
  background: #2980b9;
}

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

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.footer-section h4 {
  margin-bottom: 1rem;
  color: white;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: #bdc3c7;
  text-decoration: none;
  transition: var(--transition);
}

.footer-section a:hover {
  color: white;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .navbar-burger {
    display: block;
  }

  .navbar-menu {
    display: none;
    width: 100%;
    background: var(--background);
    box-shadow: var(--shadow-light);
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 999;
  }

  .navbar-menu.is-active {
    display: block;
  }

  .navbar-start {
    flex-direction: column;
    gap: 0;
    width: 100%;
    padding: 1rem;
  }

  .navbar-item {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
  }

  .navbar-item:last-child {
    border-bottom: none;
  }
}

@media (max-width: 992px) {
  .page-layout {
    flex-direction: column;
  }
  .sidebar {
    position: static !important;
    width: 100%;
    margin-bottom: 2rem;
    order: -1; /* Move sidebar to the top on mobile */
  }
  .main-content {
    padding-left: 0;
  }
  .content-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .publication-title {
    font-size: 2.5rem;
  }

  .solution-taxonomy {
    grid-template-columns: 1fr;
  }

  .contributions-grid,
  .gap-sources,
  .future-directions {
    grid-template-columns: 1fr;
  }

  .publication-links {
    flex-direction: column;
    align-items: center;
  }

  .affiliations {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .domains-grid {
    grid-template-columns: 1fr;
  }
  .publication-title {
    font-size: 1.8rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .container {
    padding: 0 10px;
  }

  .hero {
    padding: 40px 0;
  }

  .section {
    padding: 30px 0;
  }

  .btn {
    padding: 8px 16px;
    font-size: 0.8rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Animation for elements coming into view */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.paper-section {
  animation: fadeInUp 0.6s ease-out;
}

/* Domain-specific styles */
.domain-overview {
  background: var(--background-light);
  padding: 2rem;
  border-radius: var(--border-radius);
  margin-bottom: 2rem;
}

.overview-text {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  text-align: justify;
}

.domain-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.domain-stat {
  background: white;
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
}

.domain-stat h3 {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.stat-bar {
  height: 8px;
  background: var(--border-color);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.stat-fill {
  height: 100%;
  background: linear-gradient(
    90deg,
    var(--accent-color),
    var(--secondary-color)
  );
  transition: var(--transition);
}

.domains-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.domain-card {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: var(--transition);
}

.domain-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.domain-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.domain-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: white;
}

.domain-icon.manipulation {
  background: #e74c3c;
}
.domain-icon.locomotion {
  background: #2ecc71;
}
.domain-icon.navigation {
  background: #3498db;
}
.domain-icon.aerial {
  background: #f39c12;
}

.domain-header h3 {
  flex-grow: 1;
  margin: 0;
  color: var(--primary-color);
}

.domain-complexity {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

.domain-complexity.high {
  background: #fee;
  color: #c53030;
}

.domain-complexity.medium {
  background: #fff3cd;
  color: #856404;
}

.domain-content {
  padding: 1.5rem;
}

.challenge-list,
.solution-approaches {
  margin-bottom: 1.5rem;
}

.challenge-list h4,
.solution-approaches h4 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.challenge-list ul {
  list-style: none;
  padding: 0;
}

.challenge-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-color);
}

.challenge-list li:last-child {
  border-bottom: none;
}

.approach-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.domain-metrics {
  display: flex;
  gap: 2rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.metric {
  text-align: center;
}

.metric-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary-color);
}

.metric-label {
  font-size: 0.9rem;
  color: var(--text-light);
}

.cross-domain-analysis {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}

.insight-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2rem;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  border: 1px solid var(--border-color);
}

.insight-item .insight-icon {
  width: 50px;
  height: 50px;
  background: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: white;
  flex-shrink: 0;
}

.insight-content h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.selection-guide {
  margin-top: 2rem;
}

.guide-matrix {
  display: grid;
  grid-template-columns: 1fr 2fr 2fr 1fr;
  gap: 1px;
  background: var(--border-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  margin-top: 1rem;
}

.guide-row {
  display: contents;
}

.guide-cell {
  padding: 1rem;
  background: white;
  font-size: 0.9rem;
}

.guide-cell.header {
  background: var(--primary-color);
  color: white;
  font-weight: 600;
}

/* Print styles */
@media print {
  .publication-links,
  .copy-btn {
    display: none;
  }

  .paper-section {
    page-break-inside: avoid;
  }
}

/* Fancier Subpage Styles */
.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.content-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-light);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.content-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
}

.card-header h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin: 0;
}

.card-icon {
  font-size: 1.8rem;
  color: var(--secondary-color);
  width: 40px;
  text-align: center;
}

.card-body h4 {
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.card-body ul {
  list-style-position: inside;
  padding-left: 1rem;
}

.card-body li {
  margin-bottom: 0.5rem;
}

.page-layout {
  display: flex;
  gap: 2rem;
}

.main-content {
  flex: 1;
  min-width: 0; /* Prevents content from overflowing */
}

.sidebar {
  flex: 0 0 250px; /* Sidebar width */
  position: sticky;
  top: 120px; /* Adjust based on navbar height */
  align-self: flex-start;
}

.sidebar-widget {
  background: var(--background-light);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  margin-bottom: 2rem;
}

.sidebar-widget h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.sidebar-widget ul {
  list-style: none;
  padding: 0;
}

.sidebar-widget ul li a {
  text-decoration: none;
  color: var(--text-color);
  display: block;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.sidebar-widget ul li a:hover {
  color: var(--secondary-color);
  padding-left: 5px;
}

@media (max-width: 768px) {
  .navbar-burger {
    display: block;
  }

  .navbar-menu {
    display: none;
    width: 100%;
  }

  .navbar-menu.is-active {
    display: block;
  }

  .navbar-start {
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
  }

  .navbar-item {
    padding: 0.5rem 0;
  }

  .publication-title {
    font-size: 2.5rem;
  }

  .solution-taxonomy {
    grid-template-columns: 1fr;
  }

  .contributions-grid,
  .gap-sources,
  .future-directions {
    grid-template-columns: 1fr;
  }

  .publication-links {
    flex-direction: column;
    align-items: center;
  }

  .affiliations {
    flex-direction: column;
    align-items: center;
  }
}

.source-card-link {
  text-decoration: none;
  color: inherit;
}

.source-card-link .source-card,
.source-card-link .approach-section {
  transition:
    transform 0.2s ease-in-out,
    box-shadow 0.2s ease-in-out;
  height: 100%;
}

.source-card-link:hover .source-card,
.source-card-link:hover .approach-section {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.source-card-link .intro-card {
  transition:
    transform 0.2s ease-in-out,
    box-shadow 0.2s ease-in-out;
  height: 100%;
}

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