/* =============================================
   lab-item.css — detalle de laboratorio
   Extraído de cocoweb.css (.activity_inside, .reticula_mini, .post-title).
   Fonts/grid/nav/footer en base.css.
   ============================================= */

.activity_inside {
  padding-top: 105px;
}

/* Submenu solo con botón Regresar (sin filtros) */
.submenu {
  top: 60px;
  position: fixed;
  z-index: 1041;
  background: #fff;
  display: table;
  width: 100%;
  padding: 3px 0;
  border-bottom: 1px solid #ddd;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.labRegresar {
  width: 110px;
  border-right: solid 1px #ddd;
  margin: 10px 0;
  cursor: pointer;
  text-align: center;
  float: left;
  font-family: CircularStdBold, sans-serif;
}

.labRegresar a {
  color: #666;
  font-family: CircularStdBold, sans-serif;
  text-decoration: none;
}

.labRegresar a:hover {
  color: #000;
}


.gallery_item_principal {
  width: 100%;
  height: 560px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@media (max-width: 1200px) {
  .gallery_item_principal {
    height: 490px;
  }
}

@media (max-width: 992px) {
  .gallery_item_principal {
    height: 393px;
  }
}

@media (max-width: 767px) {
  .gallery_item_principal {
    height: 305px;
  }
}

/* Cuerpo del detalle */
.reticula_mini {
  background-color: #fff;
  padding-left: 15%;
  padding-right: 15%;
}

@media (max-width: 1200px) {
  .reticula_mini {
    padding-left: 7%;
    padding-right: 7%;
  }
}

@media (max-width: 767px) {
  .reticula_mini {
    padding-left: 5%;
    padding-right: 5%;
  }
}

.reticula_mini .contentHeader {
  margin-top: 3.3vmax;
  margin-bottom: 3.3vmax;
}

.reticula_mini .contentText {
  margin-bottom: 30px;
}

@media (max-width: 992px) {
  .reticula_mini .contentText {
    margin-top: 30px;
    margin-bottom: 20px;
  }
}

/* Título y subtítulo */
.post-title {
  font-size: 52px;
  line-height: 1.1;
  font-family: CircularStdBold, sans-serif;
  width: fit-content;
  color: #000;
  margin-bottom: 2rem;
}

@media (max-width: 1200px) {
  .post-title {
    font-size: 46px;
  }
}

@media (max-width: 992px) {
  .post-title {
    font-size: 36px;
  }
}

@media (max-width: 767px) {
  .post-title {
    font-size: 28px;
    margin-top: 0;
  }
}

.reticula_mini .subtitle {
  color: #000;
  padding: 0 0 18px;
  font-family: CircularStdBold, sans-serif;
  font-size: 3.5rem;
}

@media (max-width: 992px) {
  .reticula_mini .subtitle {
    font-size: 2.5rem;
  }
}

/* Contenido de texto */
.reticula_mini .content {
  color: #000;
  font-size: 1.15em;
  text-align: justify;
  font-family: CircularStd, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Galería de bloques */
.activity-gallery {
  display: block;
  margin: 0;
  padding: 0 20px;
  box-sizing: border-box;
}

.activity-gallery .activity-row {
  position: relative;
  width: 100%;
  float: left;
  margin-bottom: 20px;
}

/* lg-row: imagen o video full width */
.activity-gallery .activity-row.lg-row {
  height: 800px;
  width: 100%;
}

@media (max-width: 1200px) {
  .activity-gallery .activity-row.lg-row {
    height: 400px;
  }
}

@media (max-width: 992px) {
  .activity-gallery .activity-row.lg-row {
    height: 275px;
  }
}

@media (max-width: 767px) {
  .activity-gallery .activity-row.lg-row {
    height: 200px;
  }
}

/* sm-row: par de imágenes */
.activity-gallery .activity-row.sm-row {
  height: 500px;
  width: 100%;
}

@media (max-width: 992px) {
  .activity-gallery .activity-row.sm-row {
    height: 361px;
  }
}

@media (max-width: 767px) {
  .activity-gallery .activity-row.sm-row {
    height: 165px;
  }
}

.activity-gallery .activity-row .activity-col {
  height: 100%;
  margin-bottom: 20px;
  padding: 0;
}

@media (max-width: 767px) {
  .activity-gallery .activity-row .activity-col {
    height: 165px;
    margin-bottom: 15px;
    padding: 0;
  }
}

/* Video nativo */
.activity-row.video-row {
  margin-bottom: 20px;
}

.labVideo {
  display: block;
  width: 100%;
}

@media (max-width: 992px) {
  .labVideo {
    max-height: 400px;
  }
}

/* Overlay para activar fullscreen en video */
.activity-gallery .activity-row .capaPlay {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  z-index: 1;
  cursor: pointer;
}

/* Link de imagen a lightbox */
.gallery-item {
  height: calc(100% - 16px);
  width: 100%;
  display: block;
}

.img-name {
  position: relative;
  font-size: 14px;
  font-style: italic;
  text-align: center;
}

/* Botón scroll-top */
.button-up-extern {
  position: fixed;
  width: 40px;
  height: 40px;
  z-index: 1001;
  bottom: 30px;
  right: 20px;
  display: none;
  cursor: pointer;
  opacity: 0.75;
  transition: opacity 0.2s;
}
.button-up-extern.visible {
  display: block;
}
.button-up-extern:hover {
  opacity: 1;
}
.button-up-extern img {
  width: 100%;
}
