@charset "UTF-8";
body {
  background: #ffffff;
}

p {
  font-size: 1.2rem;
  color: #253163;
  margin-bottom: 1.2rem;
}

.container-header {
  background-image: none;
  background-color: #ffffff;
}

#headerTop {
  background: #253163;
  padding: 1rem;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-content: space-around;
  align-items: center;
}
#headerTop .fa-solid {
  color: #ffffff;
}
#headerTop a {
  text-decoration: none;
  color: #ffffff;
  padding-right: 1rem;
}
#headerTop #headerSearch {
  display: none;
}
#headerTop #headerSearch .mod-finder {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-content: space-around;
  align-items: center;
  height: 1.6rem;
}
#headerTop #headerSearch input {
  padding: 0 0 0 0.3rem;
  border-radius: 0;
}

#headerBottom {
  padding: 1rem;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-content: space-around;
  align-items: center;
}

#headerMenu {
  padding: 1rem;
}
#headerMenu .fa-solid {
  font-size: 2rem;
  display: none;
}
#headerMenu ul li a {
  color: #253163;
}

#slideouter {
  position: absolute;
  border: 3px solid #613124;
  width: 300px;
  top: 0;
  right: 0;
  padding: 1.5rem;
  background: #fff;
  z-index: 4;
  border-radius: 1rem;
  visibility: hidden;
}
#slideouter #close {
  cursor: pointer;
  float: right;
  font-size: 2.5rem;
  color: #613124;
}
#slideouter ul li {
  margin-bottom: 0.5rem;
}
#slideouter ul li span {
  font-size: 1.5rem;
}
#slideouter ul li a {
  color: #613124;
  font-size: 1rem;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 0.1rem;
}

#slideouter.slideouterVisible {
  visibility: visible;
  transition: all 1s;
}

.mod-banners img {
  width: 100%;
  height: auto;
  margin-bottom: 1rem;
  border-radius: 1rem;
}

#homeImage {
  width: 100%;
  background: #808cb6;
  background-image: url("../../../images/revista/1017_s335ttcc-su-side-rise_lt_h10.jpg");
}
#homeImage #homeParallax {
  height: 1000px;
}
#homeImage #homeParallax .seoPage {
  z-index: 3;
  position: absolute;
  left: 0;
  top: 10rem;
  background: transparent;
  padding: 3rem;
  width: 100%;
}

.parallax-container {
  position: relative;
  overflow: hidden;
  min-height: 200px;
}

.parallax-container .parallax {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.parallax-container .parallax img {
  opacity: 0;
  position: absolute;
  left: 50%;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}

.seoWhite {
  width: 100%;
}

.seoWhite p {
  font-size: 3.5rem;
  font-style: italic;
  animation-duration: 3s;
  animation-name: slidein;
  opacity: 0;
  transform: translateX(-100%);
  animation: entrar 2s ease-out forwards;
}

.seoWhite p strong {
  color: #e0df15;
}

@keyframes entrar {
  0% {
    opacity: 0;
    transform: translateX(-100%);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
    text-align: center;
  }
}
/* Preparamos el escenario para el 3D */
body {
  perspective: 2000px;
}

/* El elemento que va a girar */
main {
  transition: transform 0.8s cubic-bezier(0.645, 0.045, 0.355, 1), opacity 0.8s !important;
  transform-origin: left center !important;
}

/* La clase que hace el giro */
.giro-revista {
  transform: rotateY(-100deg) !important;
  opacity: 0 !important;
}

/* Estilo moderno para los botones originales de Joomla */
.pagenavigation .pagination {
  justify-content: space-between;
  border-top: 1px solid #eee;
  padding-top: 20px;
  margin-top: 40px;
}

.pagenavigation .btn-secondary {
  background-color: #d2e1c4;
  border: none !important;
  padding: 10px 20px !important;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.pagenavigation .btn-secondary:hover {
  background-color: #00bcd4 !important; /* Color de acento */
  transform: scale(1.05);
}

/* Animación de entrada para que la nueva página aparezca girando suavemente */
main {
  animation: entradaRevista 0.8s ease-out;
}

@keyframes entradaRevista {
  from {
    transform: rotateY(15deg);
    opacity: 0;
  }
  to {
    transform: rotateY(0deg);
    opacity: 1;
  }
}
/* Contenedor de navegación original de Joomla */
.pagenavigation {
  margin: 40px -15px 0 -15px !important; /* Ajuste para eliminar márgenes laterales si es necesario */
}

.pagenavigation .pagination {
  display: flex !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

/* Forzamos que cada botón ocupe el 50% */
.pagenavigation .pagination a.btn {
  flex: 1 1 50% !important; /* Cada uno toma la mitad */
  margin: 0 !important;
  height: 80px !important; /* Más altos para que sea fácil pulsar */
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 0 !important; /* Cuadrados para que encajen */
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  font-size: 1.1rem !important;
  font-weight: bold !important;
  text-transform: uppercase;
  transition: all 0.4s ease;
}

/* Colores diferenciados (opcional) */
.previous {
  background-color: #2c3e50 !important;
  color: white !important;
}

.next {
  background-color: #34495e !important;
  color: white !important;
}

.pagenavigation a.btn:hover {
  background-color: #00bcd4 !important; /* Color de Adimex al pasar el ratón */
  color: white !important;
}

/* Si solo hay un botón (ej: solo "Siguiente"), que ocupe el 100% */
.pagenavigation .pagination a.btn:only-child {
  flex: 1 1 100% !important;
}