/*
Theme Name: Mano Leyrado
Theme URI: 
Author: byMano.net
Author URI: byMano.net
Description: Custom theme 2019.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: 

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

Note: Base styles (typography, reset, animations, header-footer) are loaded separately
via functions.php dependencies.
*/

/* || LABOR-SPECIFIC STYLES */
/* _________CONTENT */
/* _________info */
.datos {
  z-index: 1000;
    display: inline-block;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
    width: 80%;
}
.datos p {
  font-size: 10px !important;
}
/* video */
.video, .captura {
  height: 100%;
	width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video video, .captura img {
  height: 80vh;
  max-height: 80vh;
  width: auto;
  object-fit: contain;
}
/* EMBEDED VIDEO RESPONSIVE */
.vp-title a {
  color: #fff !important;
}
.videoExt iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
/* Secciones a pantalla completa en labor (sin fullPage) */
html {
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}


.section {
  height: 100vh;
  position: relative;
  background-color: #fff;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

/* Slider de capturas (sin .fp-slide, usando .slide directamente) */
.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  text-align: center;
}

.slide.active {
  opacity: 1;
  visibility: visible;
}
.proxDiapo, .prevDiapo {
  position: absolute;
  width: 26px;
  height: 26px;
  top: 50%;
  transform: translate(0, -50%);
  left: 10px;
  cursor: pointer;
}
.prevDiapo img, .proxDiapo img{
	    width: auto;
	height: 15px;
    padding: 8px 0;
}
.proxDiapoBox {
  position: relative;
  width: 45px;
}
/* _________section navigation */
.proxSection{
	text-align: center;
    position: fixed;
    bottom: 6px;
    left: 50%;
    transform: translate(-50%);
    z-index: 100;
    padding: 5px;
	cursor: pointer;
	display: none;
}
.prevSection{
	text-align: center;
    position: fixed;
    top: 6px;
    left: 50%;
    transform: translate(-50%);
    z-index: 100;
    padding: 5px;
		cursor: pointer;
	display: none;
}
.prevSection img, .proxSection img{
	width: 15px;
	height: 15px;
}
.link {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
	width: 100%;
  overflow: hidden;
  text-align: center;
}
/* http */
#http {
  display: none;
  position: fixed;
  transform: translate(-50%, 50px);
}
#http p {
  color: inherit;
  font-size: 25px;
}
.cc-banner.cc-bottom {
  bottom: 25% !important;
}
@media only screen and (max-width: 600px) and (orientation: portrait) {
  .captura {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Ajustar contenedor para que las imágenes se vean completas */
  .link {
    width: 100%;
    max-width: 100%;
    position: relative;
    margin: 0;
    padding: 0 20px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: auto;
  }
  
  /* Imágenes que se ajustan por ancho si son horizontales y por alto si son verticales */
  .video video, .captura img {
    max-width: 100%;
    max-height: 70vh;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
  }
  
  /* Mantener tamaño de flechas igual que desktop */
  .proxDiapo, .prevDiapo {
    width: 26px !important;
    height: 26px !important;
  }
  
  .prevDiapo img, .proxDiapo img {
    width: auto !important;
    height: 15px !important;
    padding: 8px 0 !important;
  }
  
  .proxDiapoBox {
    width: 45px !important;
  }
  
  /* Posición correcta de la flecha derecha */
  .proxDiapo {
    left: auto;
    right: 10px;
  }
  
	#about h1 p {
    font-size: 30px;
    line-height: 1em;
  }
  
	.proxSection, .prevSection{
		display: none !important;
	}
}
