/* ================= Variables & Base ================= */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;600;700&display=swap');

:root {
  --bg-light: #ffffff;
  --bg-muted: #f6f6f7;
  --text-dark: #111111;
  --text-muted: #555555;
  --border: #e5e5e5;

  --radius-md: 12px;
  --radius-lg: 20px;

  --shadow-sm: 0 2px 6px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.10);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth; /* Desplazamiento suave */
}

body {
  font-family: 'Manrope', sans-serif;
  background: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
}

/* ================= Top Navbar ================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;

  display: flex;
  align-items: center;
  justify-content: space-between;

  box-shadow: var(--shadow-sm);
  z-index: 1000;
}

/* Logo a la izquierda */
.nav-brand {
  display: flex;
  align-items: center;
}

.nav-logo {
  height: 42px;
  width: auto;
}

/* Links a la derecha */
.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-md);
  transition: background 0.3s ease;
}

.nav-links a:hover {
  background: var(--bg-muted);
}

@media (max-width: 700px) {
  .navbar {
    flex-wrap: wrap;
    height: auto;
    padding: 1rem;
  }

  .nav-links {
    width: 100%;
    justify-content: center;
    margin-top: 0.8rem;
    flex-wrap: wrap;
    gap: 0.8rem;
  }

  .main-content {
    margin-top: 120px;
  }

  .nav-brand {
    justify-content: center;
    width: 100%;
  }
}


/* ================= Main Content ================= */
.main-content {
  margin-top: 90px;
  padding: 0;              
  max-width: none;         
}

.content-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem;
}


.section {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}


.research-section {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0.5rem;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
/* ================= Hero ================= */

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero .highlight {
  color: var(--text-muted);
  font-weight: 400;
}

.hero p {
  margin-bottom: 1.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-muted);
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background: var(--text-dark);
  color: white;
  border-radius: var(--radius-md);
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.3s ease;
}

.btn:hover {
  background: #333333;
  transform: translateY(-2px);
}

/* ================= Section ================= */
.section {
  margin-bottom: 4rem;
  scroll-margin-top: 80px; /* evita que el título quede oculto al hacer scroll */
}

.section h2 {
  margin-bottom: 1.2rem;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 1.6rem;
}



/* ================= Cards ================= */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.card {
  background: var(--bg-light);
  padding: 1.2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* ================= Footer ================= */
.footer {
  text-align: center;
  padding: 2rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  border-top: 1px solid var(--border);
}

/* ================= Responsive ================= */
@media (max-width: 900px) {
  .hero h1 {
    font-size: 2rem;
  }

  
  .card-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .navbar {
    position: relative;
    width: 100%;
    height: auto;
    border-right: none;
    border-bottom: 1px solid var(--border);
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .nav-links {
    flex-direction: row;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .main-content {
    margin-left: 0;
  }
}


/* ====== Publications Section ====== */

.publications-section {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0.5rem;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  counter-reset: paper;
}

/* Año */
.pub-year {
  margin-top: 1.5rem;
}

.pub-year strong {
  display: block;
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
  font-weight: 700;
}

/* Lista de publicaciones */

.pub-list,
.pub-list li {
  list-style: none;
  margin-left: 0;
  padding-left: 0;
}

.pub-list li {
  counter-increment: paper;
  line-height: 1.6;
  margin-bottom: 0.4rem;
}

/* Número inline */
.pub-list li::before {
  content: counter(paper) ". ";
  font-weight: 600;
  color: var(--text-muted);
}

.pub-list b {
  color: var(--text-dark);
  font-weight: 600;
}

.pub-list i {
  color: var(--accent);
}

.pub-doi {
  font-weight: 600;
  margin-left: 0.25rem;
  color: var(--text-muted);
  text-decoration: none;
}

.pub-doi:hover {
  color: var(--text-dark);
  text-decoration: underline;
}

@media (max-width: 600px) {
  .pub-doi {
    word-break: break-word;
    overflow-wrap: anywhere;
  }
}

.paper-list ul {
  list-style: none;
  padding-left: 0rem;
}

.paper-list li {
  position: relative;
  padding-left: 0rem;
}

.paper-list li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--text-muted);
}

.research-directions .paper-list li::before {
  content: none !important;
}

.research-item.active .research-content {
  max-height: 1200px;
}


@media (max-width: 600px) {

  .research-directions {
    width: 100%;
    max-width: 100%;
    padding: 0;
  }

  .research-item {
    padding: 1.1rem 0;
    width: 100%;
  }

  .toggle-icon {
    font-size: 1.25rem;
  }

  .research-content p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .paper-list {
    font-size: 0.9rem;
  }
}

@media (max-width: 600px) {
  .paper-list ul {
    padding-left: 1.25rem;
  }
}

@media (max-width: 768px) {

  .research-section {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.55rem;
  padding-right: 1.55rem;
}

  .research-section h2 {
    margin-left: 0;
    text-align: left;
  }

  .research-intro {
    text-align: justify;
    text-justify: inter-word;
    line-height: 1.6;
  }
}



@media (max-width: 600px) {
  .research-container {
    width: 100%;
    max-width: 100%;
    padding: 1rem;
    margin: 0;
  }
}



/* ===== Inline publication links ===== */
.pub-inline {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  padding-left: 0.5rem;
}

.pub-inline:hover {
  color: var(--text-dark);
  text-decoration: underline;
}

/* =============== Outreach Section =============== */
#outreach {
  max-width: 1000px;
}

#outreach h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1.8rem;
}

.outreach-section {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0.5rem;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

#outreach .intro-text {
  text-align: justify;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.7;
  max-width: 900px;
}

.outreach-container {
  display: flex;
  align-items: center; /* Centra verticalmente texto y logo */
  justify-content: space-between;
  gap: 2.5rem;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 2rem;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.outreach-container:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* Texto */
.outreach-text {
  flex: 1.2;
  text-align: justify;
}

.outreach-text h3 {
  font-size: 1.3rem;
  color: var(--text-dark);
  font-weight: 600;
  margin-bottom: 1rem;
}

.outreach-text p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.outreach-text .btn {
  margin-top: 1rem;
}

/* Imagen del logo */
.outreach-logo {
  flex: 0.8;
  display: flex;
  justify-content: center; 
  align-items: center;     
}

.outreach-logo img {
  max-width: 220px; 
  height: auto;
  display: block;
}

/* Responsive */
@media (max-width: 900px) {
  .outreach-container {
    flex-direction: column;
    text-align: justify;
  }

  .outreach-logo {
    margin-top: 1.5rem;
  }

  .outreach-logo img {
    max-width: 180px;
  }

  .outreach-text {
    display: flex;
    flex-direction: column;
  }

  .outreach-text .btn {
    align-self: center;
    margin-top: 1.2rem;
  }
}


/* ===== Core Areas ===== */
.core-areas {
  text-align: center;
  margin-top: 3rem;
}

.core-areas h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.core-area-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.core-area-list span {
  background-color: var(--bg-muted);
  font-size: 0.8rem;
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 0.5rem 1rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: background-color 0.3s ease;
}

.core-area-list span:hover {
  background-color: var(--accent-light);
}


/* ===== Minimal Academic Contact Section ===== */


.contact-section {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0.5rem;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.contact-minimal {
  text-align: left;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-dark);
  margin-top: 2rem;
}

.contact-minimal p {
  margin: 0.3rem 0;
}


/* ===== Team Section ===== */
.pi-container {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 3rem;
}

.pi-photo {
  width: 180px;
  height: 180px;
  border-radius: 8px;
  object-fit: cover;
}

.pi-info {
  font-size: 1rem;
  line-height: 1.7;
}

.lab-members h3 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  text-align: left;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.team-member {
  background: #f9f9f9;
  padding: 1rem;
  border-radius: 8px;
  line-height: 1.6;
  font-size: 0.95rem;
}

.team-section {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0.5rem;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.team-member p {
  margin: 0;
}

/* ===== Team category container ===== */
.team-category {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.team-category:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.team-category h3 {
  margin-top: 0;
  margin-bottom: 1.2rem;
  font-weight: 700;
}


@media (max-width: 768px) {
  .pi-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .pi-photo {
    margin-bottom: 1rem;
  }

  .pi-info {
    text-align: center;
  }

  .team-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    text-align: center;
  }

  .team-section h2 {
    text-align: center;
  }
}

/*research*/

.research-intro {
  max-width: none;
}

.research-areas {
  margin-bottom: 2.5rem;
}

.research-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 2rem;
}


.research-container:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}



/*----------------------*/

.paper-list {
  margin-top: 1.2rem;
}

.paper-list ul {
  margin-top: 0.5rem;
}

/* Lista numerada limpia */
.paper-ol {
  margin: 0;
  padding-left: 1.4rem; /* espacio SOLO para el número */
}

/* Ítems */
.paper-ol li {
  margin-bottom: 0.4rem;
  line-height: 1.5;
}

/* Evita puntos o pseudo-elementos heredados */
.paper-ol li::before {
  content: none !important;
}

.paper-list li {
  margin-bottom: 0.4rem;
  line-height: 1.5;
}

.hero {
  background: transparent;
  box-shadow: none;
  border-radius: 0;

  padding: 1.5rem 0 2rem;
  margin-bottom: 1.5rem;
}


.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}



.hero-text {
  text-align: left;
}

.hero-text h1 {
  font-size: 2.6rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero-text p {
  max-width: 560px;
  color: var(--text-muted);
}


.hero-image {
  margin-top: -4rem;
}

.hero-image img {
  max-height: 420px;
  object-fit: contain;
}



@media (max-width: 900px) {

  /* HERO general */
  .hero {
    padding: 1rem 0 1.5rem;
    margin-bottom: 1rem;
  }

  /* Grid pasa a columna */
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: center;
  }

  /* Texto centrado y contenido */
  .hero-text {
    text-align: center;
  }

  .hero-text h1 {
    font-size: 2.1rem;
    margin-bottom: 1rem;
  }

  /* Imagen vuelve a flujo normal */
  .hero-image {
    margin-top: 0;
    display: flex;
    justify-content: center;
  }

  .hero-image img {
    max-height: 300px;
    width: 100%;
  }

  /* Divider bien colocado */
  .hero-divider {
    margin: -2.5rem auto 0rem;
  }

  /* Welcome pegado al hero */
  .hero-intro-wrapper {
    padding: 2rem 0 2rem;
  }

  .hero-intro {
    padding: 0 1.2rem;
  }

  .hero-intro p {
    font-size: 1.05rem;
    text-align: center;
  }
}


.hero-divider {
  width: 120px;
  height: 1px;
  background: #bbb;
  margin: -3.9rem auto 0;
}

.hero-divider {
  opacity: 0.1;
}


.hero-intro-wrapper {
  background: #fafafa;        /* no blanco puro */
  padding: 2rem 0 3rem;;
}

.hero-intro {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 1rem;
}

.hero-intro p {
  font-size: 1.1rem;
  line-height: 1.75;
  color: #333;
}




.section-intro2 {
  padding: 0.1rem 2rem 3rem;
  max-width: 760px;
  margin: 0 auto;
}

.section-intro2 h2 {
  margin-bottom: 1.2rem;
}


@media (max-width: 900px) {

  .section-intro2 {
    padding: 0.5rem 1.2rem 2.5rem;
    text-align: center; 
  }

  .section-intro2 h2 {
    text-align: center;  
    margin-left: auto;
    margin-right: auto;
  }

  .section-intro2 p {
    text-align: justify;  
    text-justify: inter-word;
    margin-left: auto;
    margin-right: auto;
  }
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.hero-text h1 {
  max-width: 520px;
}



/* GRID */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.8rem;
  margin-top: 2rem;
}

/* CARD */
.team-member {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 1.3rem 1.4rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.team-member {
  position: relative;
  background: #f9f9f9;
  padding: 1.2rem;
  border-radius: 8px;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* TEXT */
.member-name {
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.member-meta {
  font-size: 0.70rem;
  line-height: 1.45;
  color: #555;
  margin-bottom: 0.6rem;
}

.member-email {
  font-size: 0.60rem;
  color: #777;
  text-decoration: none;
}

.member-email:hover {
  text-decoration: underline;
}

/* BADGES */
.member-areas {
  margin-top: 0.6rem;
}

.area-badge {
  display: inline-block;
  font-size: 0.7rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-weight: 500;
}

/* COLORS */
.area-badge.sb {
  background: #e6f4ee;
  color: #146c43;
}

.area-badge.ct {
  background: #e7f0ff;
  color: #1f4fd8;
}

.area-badge.ml {
  background: #fdf1e6;
  color: #9a4d00;
}


/* Badge */
.area-badge.top-right {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;

  width: 36px;
  height: 36px;

  padding: 6px;
  border-radius: 10px;

  object-fit: contain;

  /* mejora nitidez */
  image-rendering: auto;
}
/* FILTERS */
.team-filters {
  display: flex;
  gap: 0.8rem;
  margin: 1.5rem 0 2rem;
  flex-wrap: wrap;
}

.team-filters button {
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
}

.team-filters button.active {
  background: var(--text-dark);
  color: white;
}


/* MOBILE */
@media (max-width: 600px) {
  .team-member {
    text-align: center;
  }
}

/* Join the Lab */
.join-lab {
  max-width: 900px;
  margin: 3rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}


.join-lab h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.join-lab p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #333;
  margin-bottom: 1rem;
}

/* Steps list */
.application-steps {
  margin: 1.5rem 0 1.5rem 1.2rem;
  padding-left: 1rem;
}

.application-steps li {
  margin-bottom: 1.4rem;
  line-height: 1.6;
}

.application-steps li strong {
  display: block;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

/* Nested list (meeting preparation) */
.application-steps ul {
  margin-top: 0.6rem;
  padding-left: 1.2rem;
}

.application-steps ul li {
  margin-bottom: 0.6rem;
  font-size: 0.98rem;
}

/* Links */
.join-lab a {
  color: #1a4ed8; /* usa tu accent si tienes variable */
  text-decoration: none;
  border-bottom: 1px solid rgba(26, 78, 216, 0.3);
}

.join-lab a:hover {
  border-bottom-color: rgba(26, 78, 216, 0.8);
}

/* Final note */
.join-note {
  margin-top: 1.8rem;
  font-size: 0.95rem;
  color: #555;
  font-style: italic;
}

/* Mobile */
@media (max-width: 768px) {
  .join-lab {
    margin-top: 2rem;
    padding-top: 1.5rem;
  }

  .join-lab h3 {
    font-size: 1.25rem;
  }
}

/* Timeline container */
.application-steps {
  position: relative;
  margin: 2rem 0 2rem 1.5rem;
  padding-left: 2.5rem;
  list-style: none;
}

/* Vertical line */
.application-steps::before {
  content: "";
  position: absolute;
  left: 0.6rem;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(0, 0, 0, 0.15);
}

/* Each step */
.application-steps li {
  position: relative;
  margin-bottom: 2.2rem;
  padding-left: 0.5rem;
}

/* Timeline dot */
.application-steps li::before {
  content: "";
  position: absolute;
  left: -2.05rem;
  top: 0.3rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #eda539; /* accent color */
}

/* Step title */
.application-steps li strong {
  font-weight: 600;
  display: block;
  margin-bottom: 0.4rem;
}

/* Step text */
.application-steps li p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.6;
  color: #333;
}

/* Nested list inside steps */
.application-steps li ul {
  margin-top: 0.6rem;
  padding-left: 1.2rem;
}

.application-steps li ul li {
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
  position: relative;
}

/* Remove dots from nested list */
.application-steps li ul li::before {
  display: none;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .application-steps {
    margin-left: 0.5rem;
    padding-left: 2rem;
  }

  .application-steps::before {
    left: 0.4rem;
  }

  .application-steps li::before {
    left: -1.85rem;
  }
}

/* ===== Research Accordion ===== */



.research-item {
   border-bottom: none;
}

.research-header {
  width: 100%;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;

  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;

  font-family: inherit;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-dark);
  text-align: left;
}

.research-header:hover {
  color: #333;
}




.toggle-icon {
  font-size: 1.4rem;
  font-weight: 400;
  transition: transform 0.3s ease;
}

/* Content hidden by default */
.research-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.research-content p {
  text-align: left;
}

.research-content,
.paper-list {
  margin-left: 0;
}


/* Active state */
.research-item.active .research-content {
  max-height: 300px;
}

.research-item.active .toggle-icon {
  transform: rotate(45deg); /* + becomes × */
}

/* Papers */
.paper-list {
  margin-top: 1rem;
  font-size: 0.95rem;
}

.paper-list strong {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
}

.paper-list ul {
  list-style: none;
  padding-left: 0;
}

.paper-list li {
  margin-bottom: 0.3rem;
  color: var(--text-muted);
}

.research-directions {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

@media (max-width: 600px) {

  .research-item {
    padding: 1.1rem 0;
  }


  .toggle-icon {
    font-size: 1.25rem;
  }

  .research-content p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .paper-list {
    font-size: 0.9rem;
  }
}

@media (max-width: 600px) {
  .research-item.active .research-content {
    max-height: 800px; /* seguro para abstracts + figuras */
  }
}

.paper-list li strong {
  display: inline;
  margin-bottom: 0;
}



.research-content p {
  text-align: justify;
  text-justify: inter-word;
}

@media (min-width: 768px) {
  .research-content p {
    text-align: justify;
    text-justify: inter-word;
  }
}