/* ==========================================================================
   Investigacion Section - Based on galapagos theme styles
   ========================================================================== */

.inv-section {
  padding-top: 90px;
  padding-bottom: 20px;
  background-color: #ffffff;
}
@media screen and (max-width: 768px) {
  .inv-section {
    padding-top: 40px;
    padding-bottom: 0;
  }
}

/* ---------- Title ---------- */

.inv-title {
  font-family: 'Epilogue', sans-serif;
  font-size: 1.1rem;
  line-height: 1.5;
  letter-spacing: 3px;
  font-weight: 500;
  text-align: left;
  margin-bottom: 0.75rem;
  word-break: break-word;
}

/* ---------- Subtitle ---------- */

.inv-subtitle {
  font-family: 'Epilogue', sans-serif;
  font-size: 4.4rem;
  line-height: 1.1;
  text-align: left;
  padding-bottom: 0.75rem;
  word-break: break-word;
}
@media screen and (max-width: 768px) {
  .inv-subtitle {
    font-size: calc(2.19rem + (4.4 - 2.19) * ((100vw - 20rem) / (48 - 20)));
    line-height: calc(1.3 * (2.19rem + (4.4 - 2.19) * ((100vw - 20rem) / (48 - 20))));
  }
}

/* ---------- Description ---------- */

.inv-description {
  font-family: 'Epilogue', sans-serif;
  font-size: 1.2rem;
  line-height: 1.5;
  text-align: left;
}

.inv-description p {
  color: #454545;
  font-family: 'Epilogue', sans-serif;
  font-size: 1.2rem;
  line-height: 1.5;
  margin-bottom: 2rem;
  text-align: left;
  font-weight: 100;
}

.inv-description li {
  margin-bottom: 0.25rem;
}

@media screen and (max-width: 768px) {
  .inv-description,
  .inv-description p {
    font-size: calc(1.07rem + (1.2 - 1.07) * ((100vw - 20rem) / (48 - 20)));
    line-height: calc(1.4 * (1.07rem + (1.2 - 1.07) * ((100vw - 20rem) / (48 - 20))));
  }
}

/* ---------- Image ---------- */

.inv-image-wrap {
  overflow: hidden;
  border-radius: 4px;
}

.inv-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.inv-image-wrap:hover img {
  transform: scale(1.03);
}

@media screen and (max-width: 768px) {
  .inv-image-col {
    padding-bottom: 0 !important;
  }
}

/* ---------- Alternating layout (same bg) ---------- */

/* ---------- "Ver más" Button ---------- */

.inv-more-wrapper {
  text-align: center;
  padding: 2rem 0 4rem;
  background-color: #ffffff;
}

.inv-more-wrapper a {
  display: inline-block;
  font-family: 'Epilogue', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  background-color: #ff4f26;
  padding: 0.75rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.inv-more-wrapper a:hover {
  background-color: #f5ac3c;
  transform: translateY(-2px);
  text-decoration: none;
  color: #ffffff;
}
