/* =========================================================
   CAMBIO CLIMÁTICO CIRCULAR — Estilos estáticos
   ========================================================= */

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
  font-weight: 300;
  font-size: 15px;
  line-height: 1.7;
  color: #ffffff;
  background-color: #111111;
  min-height: 100vh;
  overflow-x: hidden;
}

/* --- Background image + overlay --- */
.bg-img {
  position: fixed;
  inset: 0;
  background-image: url('img/cambio-climatico.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: -2;
}

.bg-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(17, 17, 17, 0.80);
  z-index: -1;
}

/* --- Layout helpers --- */
.main-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

#wrapper {
  flex: 1;
}

.center {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Header / Logo --- */
.site-header {
  padding: 48px 0 24px;
  text-align: center;
}

.site-title {
  font-size: clamp(20px, 4vw, 30px);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1.2;
}

/* --- Main content --- */
.site-content {
  padding: 20px 0 40px;
  color: #ffffff;
}

/* Heading */
.heading {
  font-size: clamp(20px, 3.5vw, 35px) !important;
  font-weight: 300;
  line-height: 1.35;
  text-align: center;
  padding-bottom: 35px;
  color: #ffffff;
}

/* Description block */
.description {
  text-align: justify;
}

.description p {
  font-size: 15px;
  padding: 5px 0;
  color: #ffffff;
}

.description strong {
  font-weight: 700;
}

.description em {
  font-style: italic;
}

/* Logos banner */
.logos-wrap {
  text-align: center;
  margin: 10px 0 22px;
}

.logos-img {
  max-width: 100%;
  height: auto;
  display: inline-block;
  border-radius: 4px;
}

/* Section titles (Resumen / Resultados) */
.section-title {
  font-size: 17px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin: 24px 0 10px;
  color: #ffffff;
}

/* Publications list */
.publications-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.publication-item {
  margin-bottom: 28px;
  border-left: 3px solid rgba(255,255,255,0.25);
  padding-left: 18px;
  transition: border-color 0.25s ease;
}

.publication-item:hover {
  border-left-color: rgba(255,255,255,0.7);
}

.publication-item--short {
  margin-bottom: 14px;
}

.publication-ref {
  font-size: 15px;
  font-weight: 400;
  color: #e0e0e0;
  margin-bottom: 8px;
}

/* Abstract label */
.abstract-title {
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 10px 0 6px;
  color: rgba(255,255,255,0.85);
}

/* --- Footer --- */
.site-footer {
  padding: 50px 0 32px;
  text-align: center;
  color: #ffffff;
  font-size: 13px;
}

.site-footer a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: opacity 0.2s ease;
}

.site-footer a:hover {
  opacity: 0.75;
}

/* --- Responsive tweaks --- */
@media (max-width: 600px) {
  .site-header {
    padding: 32px 0 16px;
  }

  .publication-item {
    padding-left: 12px;
  }

  .heading {
    text-align: left;
  }
}
