/* Loading Screen Styles */
#loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff; /* White background */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999; /* Ensure it's on top */
  transition: opacity 0.5s ease-out;
}

.loader-spinner {
  border: 6px solid #f3f3f3; /* Light grey */
  border-top: 6px solid #00ADB5; /* Theme color */
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
  margin-bottom: 20px;
}

.loader-text {
  font-family: 'Outfit', Arial, sans-serif;
  font-size: 1.2em;
  color: #333;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Add a class to hide the loader */
#loading-overlay.hidden {
  opacity: 0;
  pointer-events: none; /* Allow interaction with content below */
}

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;700;800&display=swap');

/* Main content container for max width and centering */
.main-content-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 900px) {
  .main-content-container {
    padding: 0 0.5rem;
  }
}

/* Blog List Section (Working Paper) */
.blog-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.2rem;
  margin: 2.5rem 0 3.5rem 0;
  padding: 0;
}

.blog-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px 0 rgba(34,40,49,0.09);
  transition: box-shadow 0.2s, transform 0.18s;
  display: flex;
  flex-direction: column;
  min-height: 220px;
  border: 1.5px solid #e6e6e6;
  overflow: hidden;
  position: relative;
}

.blog-card-img {
  width: 100%;
  max-height: 200px;
  height: auto;
  object-fit: cover;
  display: block;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  margin-bottom: 0.5rem;
  background: #eaeaea;
}

.blog-card-img[src$='.svg'] {
  object-fit: contain;
  padding: 10px 0 5px 0;
  background: #222831;
}

.blog-card-img[src*="svarpy-terminal.svg"] {
  max-height: 220px;
}

.blog-card-img[src*="vis1.png"], .blog-card-img[src*="vis4.png"] {
  object-fit: contain;
  height: 180px;
  background: #fff;
}

@media (max-width: 700px) {
  .blog-card-img[src*="vis1.png"], .blog-card-img[src*="vis4.png"] {
    height: 120px;
  }
}

@media (max-width: 700px) {
  .blog-card-img {
    height: 150px;
  }
}

.blog-card:hover, .blog-card:focus-within {
  box-shadow: 0 8px 32px 0 rgba(34,40,49,0.16);
  transform: translateY(-4px) scale(1.012);
  border-color: #00ADB5;
}
.blog-card-content {
  padding: 2.1rem 2rem 1.6rem 2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-card-title {
  font-family: 'Outfit', Arial, sans-serif;
  font-size: 1.45rem;
  font-weight: 400;
  margin: 0 0 0.7rem 0;
  color: #222831;
  letter-spacing: -0.5px;
}
.blog-card-desc {
  font-size: 1.09rem;
  color: #393E46;
  margin-bottom: 1.2rem;
  flex: 1;
  line-height: 1.6;
}
.blog-card-links {
  display: flex;
  gap: 1.2rem;
}
.blog-card-links a {
  color: #00ADB5;
  font-weight: 600;
  text-decoration: none;
  font-size: 1.06rem;
  border-bottom: 2px solid #00ADB5;
  padding-bottom: 2px;
  transition: color 0.13s, border-bottom 0.13s;
}
.blog-card-links a:hover, .blog-card-links a:focus {
  color: #393E46;
  border-bottom: 2px solid #393E46;
}

@media (max-width: 700px) {
  .blog-list {
    grid-template-columns: 1fr;
    gap: 1.3rem;
  }
  .blog-card-content {
    padding: 1.3rem 1rem 1.1rem 1rem;
  }
}

/* Section Break Styles */
.section-break {
  width: 100%;
  background: #EEEEEE;
  margin: 3.5rem 0 2.2rem 0;
  padding: 0;
  min-height: unset;
  display: block;
  border-bottom: none;
  text-align: center;
}
/* .section-break-left and .section-break-right are no longer needed */
.section-break-left, .section-break-right {
  display: none !important;
} 
.section-headline {
  font-family: 'Outfit', Arial, sans-serif;
  font-size: 2.6rem;
  font-weight: 400;
  color: #222831;
  margin: 0 auto 0.3em auto;
  letter-spacing: -0.5px;
  padding-bottom: 0.1em;
  text-align: center;
  background: none;
  border-radius: 0;
  box-shadow: none;
  line-height: 1.13;
  max-width: 700px;
}

.section-subtitle {
  font-family: 'Outfit', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 400;
  color: #7d8590;
  text-align: center;
  margin: 0.1em auto 1.4em auto;
  max-width: 700px;
  line-height: 1.5;
}

@media (max-width: 700px) {
  .section-headline {
    font-size: 1.6rem;
    margin-bottom: 0.2em;
    padding-left: 0.3em;
    padding-right: 0.3em;
  }
  .section-subtitle {
    font-size: 0.98rem;
    margin-bottom: 1em;
    padding-left: 0.3em;
    padding-right: 0.3em;
  }
}

@media (max-width: 700px) {
  .section-break {
    margin: 2.2rem 0 1.2rem 0;
  }
  .section-headline {
    font-size: 1.6rem;
    margin-bottom: 0.2em;
    padding-left: 0.3em;
    padding-right: 0.3em;
  }
}



html, body {
  box-sizing: border-box;
  overflow-x: hidden;
}
*, *::before, *::after {
  box-sizing: inherit;
}

body {
  margin: 0;
  font-family: 'Outfit', Arial, sans-serif;
  background: #EEEEEE;
  color: #222831;
}

h2, h3 {
  font-family: 'Outfit', Arial, sans-serif;
  font-weight: 400;
}

/* Split-Screen Hero Styles */
.split-hero {
  display: flex;
  width: 100%;
  min-height: 100vh;
  background: #EEEEEE;  
  border: none; 
  overflow: hidden;
}

.split-left, .split-right {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.split-left {
  flex-basis: 80%;
}

.split-right {
  flex-basis: 20%;
  padding: 2rem;
  overflow-y: hidden;
}



.split-left[style*="width: 0%"], .split-left[style*="display: none"] {
  display: none !important;
}


.split-left {
  background: #EEEEEE;
  padding: 2vw;
  border-right: none;
  align-items: flex-end;
}

.split-right {
  background: #23272e;
  padding: 2vw;
  align-items: flex-start;
  justify-content: center;
  color: #EEEEEE;
}

.split-right a,
.split-right .bio-download-btn {
  color: #00ADB5;
}

.bio-layer,
.bio-snapshot,
.bio-snapshot-col,
.bio-about {
  color: #EEEEEE;
}

.bio-section-title {
  color: #00ADB5;
  border-bottom: 2px solid #00ADB5;
}

.bio-highlights li {
  color: #EEEEEE;
}

.bio-download-btn {
  background-color: #00ADB5;
  color: #fff !important;
}

.bio-accordion-header {
  color: #EEEEEE !important;
}

.bio-pub-title {
  color: #fff;
}

.bio-light-text {
  color: #EEEEEE !important;
}

.bio-pub-journal {
  color: #AFC7D5;
}

.bio-badge {
  color: #fff !important;
}

.split-name {
  font-family: 'Outfit', Arial, sans-serif;
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  font-weight: 700;
  color: #222831;
  margin: 0 0 1.2rem 0;
  line-height: 1.05;
  letter-spacing: -1px;
  text-align: right;
}

.split-university {
  font-size: 1.1rem;
  color: #393E46;
  margin-bottom: 2.2rem;
  display: block;
  text-align: right;
}

.split-social {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-end;
}

.split-social-link {
  color: #00ADB5;
  border: none;
  background: #EEEEEE; 
  padding: 0.45rem 1.3rem;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 0.2rem;
  transition: background 0.15s, color 0.15s;
  text-align: right;
}

.split-social-link:hover {
  background: #00ADB5;
  color: #EEEEEE;
}

.viz-placeholder {
  width: 310px;
  height: 310px;
  background: linear-gradient(135deg, #393E46 60%, #00ADB5 100%);  
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.2s;
}
.viz-placeholder:focus {
  outline: 2px solid #00ADB5;
}
.viz-static {
  color: #EEEEEE;
  font-size: 1.5rem;
  text-align: center;
  font-weight: 600;
  opacity: 0.9;
  z-index: 2;
  transition: opacity 0.3s;
}
.viz-anim {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00ADB5;
  background: rgba(238,238,238,0.96);
  font-size: 1.45rem;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
  z-index: 3;
}
.viz-placeholder.show-anim .viz-static {
  opacity: 0.1;
}
.viz-placeholder.show-anim .viz-anim {
  opacity: 1;
}

.intro-text {
  font-size: 1.3rem;
  color: #EEEEEE;
  max-width: 600px;
}

.hero-animation {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.animation-placeholder {
  width: 260px;
  height: 260px;
  background: #393E46; 
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00ADB5;
  font-size: 1.5rem;
  text-align: center;
  border: none;
}

.split-section {
  display: flex;
  width: 100%;
  min-height: 50vh;
  background: #EEEEEE; 
  border: none; 
  overflow: hidden;
}
.split-section-left, .split-section-right {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  position: relative;
  padding: 2vw;
}
.split-section-left {
  background: #EEEEEE;
  border-right: none;
  align-items: flex-end;
}
.split-section-right {
  background: #EEEEEE;
  align-items: flex-start;
  padding: 2vw;
}
.split-section-left h2 {
  color: #00ADB5;
  margin-bottom: 1.5rem;
  font-size: 2rem;
  align-self: flex-end;
}
.papers-list {
  color: #EEEEEE;
  font-size: 1.1rem;
  align-self: flex-end;
}

.publication.journal-layout { 
  color: #222831; 
  margin: 3rem auto 2.5rem auto; 
  max-width: 700px;
  min-width: 320px;
  position: relative;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
}
.pub-header {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  margin-bottom: 1.2rem;
}
.pub-journal-info {
  text-align: right;
  color: #393E46;
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.3;
}
.pub-journal,
.pub-abstract-label {
  color: #222831;
  font-size: 1.08rem;
  font-weight: 600;
  transition: color 0.4s ease-out;
}
.pub-abstract-label {
  margin-bottom: 0.25rem;
  letter-spacing: 0.03em;
}

.publication.highlighted .pub-journal,
.publication.highlighted .pub-abstract-label {
  color: color-mix(in srgb, #222831 calc((1 - var(--highlight-intensity, 1)) * 100%), #00ADB5);
}
.pub-date {
  font-size: 0.98rem;
  color: #393E46;
}
.pub-title {
  font-family: 'Outfit', Arial, sans-serif;
  font-size: 2.1rem;
  font-weight: 400;
  color: #222831;
  margin: 0.8rem 0 0.5rem 0;
  letter-spacing: -0.5px;
  line-height: 1.2;
  text-align: center;
}

@media (max-width: 700px) {
  .pub-title {
    font-size: 1.4rem;
  }
}

.pub-authors-institutions {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 3.5rem; 
  margin-bottom: 1.7rem;
  flex-wrap: wrap;
}
.author-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 140px;
}
.author-name {
  font-size: 1.13rem;
  font-weight: 500;
  text-align: center;
  margin-bottom: 0.1rem;
}
.author-inst {
  font-size: 0.97rem;
  color: #393E46;
  text-align: center;
  margin-bottom: 0.1rem;
}

.pub-abstract-block {
  margin: 0 auto;
  max-width: 600px;
  padding-top: 0.7rem;
}
.pub-abstract-text {
  font-size: 1.08rem;
  color: #222831;
  line-height: 1.7;
  text-align: justify;
  margin-bottom: 0.2rem;
}

.pub-abstract-label {
  margin-bottom: 0.25rem;
  letter-spacing: 0.03em;
}

.publication.highlighted .pub-journal,
.publication.highlighted .pub-abstract-label {
  color: color-mix(in srgb, #222831 calc((1 - var(--highlight-intensity, 1)) * 100%), #00ADB5);
}

.split-footer {
  display: flex;
  width: 100%;
  background: #222831;  
  border: none; 
  border-top: none;
  overflow: hidden;
}
.split-footer-left, .split-footer-right {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  position: relative;
  padding: 2vw;
}
.split-footer-left {
  background: #222831;
  border-right: none;
  align-items: flex-end;
}
.split-footer-right {
  background: #222831;
  align-items: flex-start;
  padding: 2vw;
}
.footer-content {
  color: #EEEEEE;
  font-size: 1rem;
  opacity: 0.7;
  align-self: flex-end;
}

.footer-separator {
  margin: 0 8px;
}

.footer-link {
  color: #EEEEEE;
  text-decoration: none;
}

.footer-link:hover {
  text-decoration: underline;
  color: #00ADB5;
}

/* --- Impressum Page --- */
.impressum-container {
    max-width: 800px;
    margin: 4rem auto;
    padding: 2rem;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.impressum-container h1, .impressum-container h2 {
    border-bottom: 2px solid #00ADB5;
    padding-bottom: 8px;
    margin-bottom: 1rem;
    color: #222831;
}

.impressum-container p {
    line-height: 1.7;
    color: #393E46;
}



.pub-links { 
  justify-content: center;
  align-items: center;
  gap: 1.1rem;
  margin-top: 1.1rem;
  font-size: 1.08rem;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
}
.pub-links a {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
  border-bottom: none;
  padding: 0.08em 0.3em 0.08em 0.3em;
  transition: background 0.15s, color 0.15s, border-bottom 0.15s;
  border-radius: 3px;
}
.pub-links a:hover, .pub-links a:focus {
  background: #00ADB5;
  color: #EEEEEE;
  border-bottom: none;
  text-decoration: none;
}
.pub-link-sep {
  color: #393E46;
  font-weight: 400;
  font-size: 1.13em;
  user-select: none;
}

@media (max-width: 900px) {
  /* Hero Section */
  .hero, .split-hero {
    flex-direction: column;
    padding: 0vw;
    min-height: 90vh;
  }
  .hero-content, .hero-animation {
    padding: 1rem;
    width: 100%;
  }
  .animation-placeholder {
    width: 180px;
    height: 180px;
  }
  .viz-placeholder {
    width: 220px;
    height: 220px;
  }

  /* Split Sections and Footer */
  .split-section, .split-footer {
    display: flex;
    flex-direction: column;
    width: 100%;
    position: relative;
  }
  .split-section-left, .split-section-right, .split-footer-left, .split-footer-right {
    padding: 2vw 3vw;
    align-items: center;
    border-right: none;
    border-bottom: none;
    width: 100%;
    box-sizing: border-box;
    float: none;
    position: relative;
    margin: 0;
    left: 0;
    right: 0;
  }
  .split-left, .split-right {
    padding: 2vw 6vw;
    align-items: center;
    border-right: none;
    border-bottom: none;
    width: 100%;
    min-height: 0;
  }
  .split-right, .split-section-right, .split-footer-right {
    border-bottom: none;
  }

  /* Section Breaks and Headlines */
  .section-break {
    flex-direction: column;
    min-height: 32px;
  }
  .section-break-left {
    border-right: none;
    border-bottom: none;
    min-height: 12px;
    padding: 2vw 6vw;
    display: flex;
    align-items: center;
  }
  .section-break-right {
    justify-content: flex-start;
  }
  .section-break-left h1,
  .section-break-left h2,
  .section-break-left h3 {
    font-size: 1.25em;
    word-break: break-word;
    margin: 0;
  }
  .section-headline {
    font-size: 1.5rem;
    border-radius: 0 0 8px 8px; 
    margin-left: 0.5em;
  }
}

@media (max-width: 1024px) {
  .split-hero {
    flex-direction: column;
    height: 100vh;
    touch-action: auto;
  }
  .split-left, .split-right {
    width: 100%;
    min-height: 0;
  }
  .split-left {
    flex-basis: 80%;
  }
  .split-right {
    flex-basis: 20%;
  }
}
@media (min-width: 1025px) {
  .split-hero {
    --hprog: 0;
    touch-action: none;
  }
  .split-hero .split-left {
    flex-basis: calc(80% - 80% * var(--hprog));
    display: flex;
  }
  .split-hero .split-right {
    flex-basis: calc(20% + 80% * var(--hprog));
    display: flex;
    flex-direction: column;
  }

  .hero-spacer {
    display: none !important;
  }
  .split-hero {
    min-height: 100vh !important;
    height: 100vh !important;
  }
}

/* Bio Layer System */
.bio-layer {
  width: 100%;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
  margin-bottom: 1.5rem;
  pointer-events: none;
}

.bio-badge {
  display: inline-block;
  background: linear-gradient(90deg, #00ADB5 60%, #222831 100%);
  color: #fff;
  font-weight: 700;
  padding: 0.35em 1em;
  border-radius: 1.2em;
  font-size: 1rem;
  letter-spacing: 0.02em;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,173,181,0.15);
  transition: background 0.2s, box-shadow 0.2s, color 0.2s;
}
.bio-badge:hover {
  background: linear-gradient(90deg, #222831 10%, #00ADB5 90%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(0,173,181,0.25);
}

.bio-social-icons {
  display: flex;
  gap: 0.7em;
  margin-top: 0.6em;
  align-items: center;
}
.bio-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.3em;
  height: 2.3em;
  border-radius: 50%;
  background: #eeeeee;
  color: #222831;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 4px rgba(34,40,49,0.06);
  text-decoration: none;
  font-size: 1.2em;
}
.bio-social-icon:hover {
  background: #00ADB5;
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,173,181,0.18);
}

@media (max-width: 600px) {
  .bio-badge {
    font-size: 0.95rem;
    padding: 0.25em 0.8em;
  }
  .bio-social-icons {
    gap: 0.4em;
  }
  .bio-social-icon {
    width: 2em;
    height: 2em;
    font-size: 1em;
  }
}

.bio-layer.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

/* Centered CV button at bottom of right panel */
.cv-bottom-btn {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2.5rem;
  margin-bottom: 1.2rem;
}

/* Layer 1: Profile Header */
.bio-layer-1 {
  transition-property: opacity, transform;
}

.bio-profile {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.bio-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: #00ADB5;
  background-image: url('images/Keweloh2.jpg');
  background-size: cover;
  background-position: center;
  border: 3px solid #EEEEEE;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  filter: grayscale(100%);
}

.bio-intro {
  flex: 1;
}

.bio-name {
  font-family: 'Outfit', Arial, sans-serif;
  font-size: 2.2rem;
  font-weight: 600;
  margin: 0 0 0.3rem 0;
  color: #222831;
  line-height: 1.1;
}

.bio-tagline {
  font-size: 1.1rem;
  color: #00ADB5;
  margin: 0;
  font-weight: 400;
  font-style: italic;
}

/* Layer 2: Contact & Skills */
.bio-layer-2 {
  transition-property: opacity, transform;
}

.bio-contact-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.2rem;
}

.bio-email {
  font-size: 1.03rem;
  color: #00ADB5;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.bio-social {
  display: flex;
  gap: 1rem;
}

.bio-social-icon {
  color: #00ADB5;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.bio-social-icon:hover {
  color: #222831;
}

.bio-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.bio-skill {
  background-color: rgba(0, 173, 181, 0.15);
  color: #00ADB5;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Layer 3: Core Bio */
.bio-layer-3 {
  transition-property: opacity, transform;
}

.bio-snapshot {
  display: flex;
  gap: 2rem;
}

.bio-snapshot-col {
  flex: 1;
}

.bio-section-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #00ADB5;
  margin: 0 0 0.8rem 0;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid #00ADB5;
}

.bio-highlights {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.bio-highlights li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.7rem;
  line-height: 1.4;
}

.bio-highlights li:before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #00ADB5;
}

/* Layer 4: Publications */
.bio-layer-4 {
  transition-property: opacity, transform;
}

.bio-pub-preview {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  color: #EEEEEE;
}

.bio-pub-item {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 0.5rem 1rem;
  align-items: start;
  color: #EEEEEE;
}

.bio-pub-year {
  grid-column: 1;
  grid-row: 1 / span 2;
  font-weight: 600;
  color: #AFC7D5;
  font-size: 0.95rem;
  line-height: 1.3;
}

.bio-pub-title {
  grid-column: 2;
  grid-row: 1;
  font-weight: 600;
  color: #fff;
  font-size: 1.02rem;
}

.bio-pub-journal {
  grid-column: 2;
  grid-row: 2;
  font-style: italic;
  color: #00ADB5;
  font-size: 1.03rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* Layer 5: Full Details */
.bio-layer-5 {
  transition-property: opacity, transform;
}

.bio-cta {
  text-align: center;
  margin-bottom: 1.5rem;
}

.bio-download-btn {
  display: inline-block;
  background-color: #00ADB5;
  color: white;
  padding: 0.7rem 1.5rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.2s, transform 0.2s;
  box-shadow: 0 4px 12px rgba(0, 173, 181, 0.2);
}

.bio-download-btn:hover {
  background-color: #008e96;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 173, 181, 0.3);
}

.bio-accordion {
  border: 1px solid rgba(57, 62, 70, 0.2);
  border-radius: 8px;
  overflow: hidden;
}

.bio-accordion-header {
  background-color: rgba(0, 173, 181, 0.1);
  padding: 0.8rem 1rem;
  font-weight: 600;
  color: #222831;
  cursor: pointer;
  position: relative;
}

.bio-accordion-header:after {
  content: '+';
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  color: #00ADB5;
}

.bio-accordion.open .bio-accordion-header:after {
  content: '−';
}

.bio-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 1rem;
}

.bio-accordion.open .bio-accordion-content {
  max-height: 500px;
  padding: 1rem;
}

/* Timeline entries */
.bio-timeline {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.bio-entry {
  position: relative;
  padding-left: 0.8rem;
  border-left: 2px solid rgba(0, 173, 181, 0.3);
  padding-bottom: 0.5rem;
}

.bio-date {
  font-weight: 600;
  color: #00ADB5;
  margin-bottom: 0.3rem;
  font-size: 0.9rem;
}

.bio-institution {
  font-weight: 600;
  color: #222831;
  margin-bottom: 0.2rem;
  font-size: 0.95rem;
}

.bio-position {
  color: #393E46;
  font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .bio-name {
    font-size: 1.8rem;
  }
  
  .bio-snapshot {
    flex-direction: column;
    gap: 1.5rem;
  }
}

@media (max-width: 1024px) {
  .bio-layer {
    opacity: 1;
    transform: translateY(0);
  }
  
  .bio-avatar {
    width: 60px;
    height: 60px;
  }
}



/* Style moved from inline style in index.html for .hero-spacer */
.hero-spacer {
  height: 80vh; /* Original inline style from hero-spacer div */
}

/* Style for highlighted links in bio section */
.bio-highlight-link {
  color: #00ADB5;
  font-weight: 600;
  text-decoration: underline;
}