body{
  background: #e5e8ea;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}
.head{
  width: 100%;
  background: #fff;
}
.logotype{
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 300ms ease;
  background: #fff;
  height: 250px;
  margin-bottom: -35px;
}

h2{
  font-size: 48px;
  font-weight: 600;
  text-align: center;
}
.text-red{
  color: #b11d27;
}
.text-gray{
  color: #717171;
}
p{
  color: #313437;
  text-align: justify;
}
li{
  line-height: 2rem;
  text-align: justify;
}

.border-radius-8{
  border-radius: 8px;
}

.border-radius-12{
  border-radius: 12px;
}

.btn-rojo1{
  background: #b11d27;
  padding: 5px 15px;
  color: #fff;
  border-radius: 8px;
  border: #981a22 1px solid;
}

.btn-rojo1:hover{
  background: #c5202b;
  padding: 5px 15px;
  color: #fff;
  border-radius: 8px;
}

.subtitle{
  font-size: 32px;
  max-width: 680px;
  margin: auto;
  text-align: center;
  font-weight: 600;
}
.list-num-red{
  list-style: none;
  list-style-position: inside;
}
.list-num-red>li{
  position: relative;
  padding-left: 40px;
}
.list-num-red>li::before {
  content: counter(item) "";
  counter-increment: item;
  position: absolute;
  left: 0;
  top: 0;
  background-color: #b11d27; /* Color de fondo para el número */
  color: rgb(255, 255, 255); /* Color del número */
  font-weight: bold;
  padding: 5px 10px;
  border-radius: 3px; /* Bordes redondeados */
}
.list-num-red{
  counter-reset: item;
}

.btn_rosa{
  padding: 8px;
  color: #fff;
  background: #be6a82;
  border: 1px solid #ec99b0;
  border-radius: 8px;
  text-decoration: none;
  width: 100%;
  text-align: center;
  display: flex;
  justify-content: center;
}

.btn_rosa:hover{
  background: #cb728c;
  border: 1px solid #ec99b0;
  cursor: pointer;
}

.body_page{
  width: 100%;
  height: auto;
  margin-top: -35px;
  background: #fff;
}

/*--------------------------------------------- numeral ---------------------------------------------*/

.numeral{
  width: 100%;
  height: auto;
  padding: 60px 0 50px 0;
  background: #b11d27;
}

.numeral div div{
  text-align: center;
  color: #fff;
}
.numeral div div h1{
  font-size: 44px; 
  font-weight: 800;
  margin-bottom: -5px;
}
.numeral div div span{
  margin-top: -10px;
}

.counter {
  animation: count 2s ease-in-out forwards;
}

/*--------------------------------------------- Personnel ---------------------------------------------*/

.name_personnel_box{
  color: #313437;
  font-size: 24px;
}

.post_personnel_box{
  font-size: 18px;
  color:#474747;
  font-weight: 400;
}


/*--------------------------------------------- Footer ---------------------------------------------*/

.footer{
  width: 100%;
  background: #b11d27;
  height: auto;
  padding: 100px 0 60px 0;
  color: #fff;
  line-height: 1.8rem;
  border-top: 2px solid #981a22;
}

.footer ul{
  list-style: none;
}

.footer a{
  color: #fff;
  text-decoration: none;
}

.footer a:hover{
  color: #ffcddc;
  text-decoration: none;
}

.footer p{
  color: #fff;
}

/*--------------------------------------------- Galería ---------------------------------------------*/
/* Animaciones de aparición */
@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Clases de animación */
.animated {
  animation-duration: 1s;
  animation-fill-mode: both;
}

.fadeInDown {
  animation-name: fadeInDown;
}

.delay-1s {
  animation-delay: 0.5s;
}

.delay-2s {
  animation-delay: 1s;
}


#logo {
  animation-duration: 0.8s;
  animation-name: slidein;
}

@keyframes slidein {
  from {
    margin-bottom: -100%;
    width: 0px;
  }
  to {
    margin-bottom: 0;
    width: 300px;
  }
}

.photo-gallery {
  color:#313437;
  background-color:#fff;
}

.photo-gallery p {
  color:#7d8285;
}

.photo-gallery{
  font-weight:bold;
  margin-bottom:40px;
  padding-top:40px;
  color:inherit;
}

@media (max-width:767px) {
  .photo-gallery {
    margin-bottom:25px;
    padding-top:25px;
    font-size:24px;
  }
}

.photo-gallery .intro {
  font-size:16px;
  max-width:500px;
  margin:0 auto 40px;
}

.photo-gallery .intro p {
  margin-bottom:0;
}

.photo-gallery .photos {
  padding-bottom:20px;
}

.photo-gallery .item {
  padding-bottom:30px;
}


/*--------------------------------------------- Estructura de personal ---------------------------------------------*/

.personnel{
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: auto;
  padding: 30px;
  background: #f1f1f1;
  border-radius: 10px;
  margin: 20px 0 20px 0;
  transition: 0.3s;
}

.personnel:hover{
  background: #f5f5f5;
  scale: 1.01;
  box-shadow: 0 2px 8px rgb(0,0,0,0.2);
}

.foto_personnel_box{
  position: relative;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #fff;
  transition: 0.5s;
  box-shadow: var(--shadow);
}
.foto_personnel_box_group{
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  border: 2px solid #fff;
  transition: 0.5s;
  box-shadow: var(--shadow);
}
.personnel_structure img{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/*---------------------------- Línea de tiempo -------------------------------*/

.timeline-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #fff;
  padding: 25px 0;
  margin-bottom: 40px;
}

.title{
  width: 100%;
  text-align: center;
  padding: 20px 0;
  font-size: 38px;
  font-weight: 600;
  color: #b01e29;
}

.timeline {
  display: flex;
  align-items: center;
  transition: transform 0.1s linear;
  will-change: transform;
  position: relative;
  margin-bottom: 30px;
}

.timeline::before {
 
}

.event {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 0 40px;
  z-index: 1;
}

.event .info {
  margin-bottom: 10px;
  background-color: #929292;
  color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  font-size: 16px;
  width: 200px;
  height: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.event .dot {
  width: 12px;
  height: 12px;
  background-color: #b01e29;
  border-radius: 50%;
  margin: 10px 0;
}

.event .dot::after {
  content: "";
  position: absolute;
  top: 75%;
  left: 0;
  right: 0;
  height: 1px;
  background-color: #ddd;
  z-index: -1;
  width: calc(80px + 100%);
}

.event .date {
  font-size: 14px;
  color: #555;
  font-weight: 600;
}

.no-border-box {
  box-sizing: content-box; /* O cualquier valor que necesites */
}

/*------------------------------------------------------ Comunicados ------------------------------------------------------*/



.release{
  display: grid;
  gap: 15px;
  grid-auto-rows: auto;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.release-content{
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: space-between;
  text-align: justify;
  transition: 0.6s;
  box-shadow: 0 4px 8px rgb(0,0,0,0.1);
  border-radius: 8px;
  background: #fff;
}
.release-content:hover{
  cursor: pointer;
  box-shadow: 0 4px 15px rgb(0,0,0,0.4);
  transform: scale(1.02, 1.03);
}

.release-img{
  position: relative;
  width: 100%;
  height: 200px;
  border-radius: 8px;
  overflow: hidden;
  transition: 0.5s;
  box-shadow: var(--shadow);
}
.release-img img{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.release-head{
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.btn-enter{
  background-color: #b01e29;
  color: #fff;
  padding: 2px;
  border-radius: 8px;
  border: #981a22 1px solid;
  text-align: center;
  width: 80px;
  text-decoration: none;
  display: block;
}

.btn-enter:hover{
  background-color: #981a22;
  border: #b01e29 1px solid;
  text-decoration: none;
  color: #fff;
}