 /* noticias paoyos*/
 .noticias-container {
     max-width: 1200px;
     margin: 40px auto;
     padding: 20px;
 }

 .noticias-container h1 {
     text-align: center;
     color: #7B1334;
     font-weight: 700;
     margin-bottom: 30px;
 }

 .noticia-card {
     border-radius: 12px;
     overflow: hidden;
     box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
     background: #fff;
     transition: transform 0.3s ease, box-shadow 0.3s ease;
     height: 100%;
     display: flex;
     flex-direction: column;
 }

 .noticia-card:hover {
     transform: translateY(-5px);
     box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
 }

 .noticia-card img {
     width: 100%;
     height: 220px;
     object-fit: cover;
 }

 .noticia-body {
     padding: 20px;
     flex: 1;
 }

 .noticia-body h5 {
     font-weight: 700;
     margin-bottom: 12px;
     font-size: 1.2rem;
 }

 .noticia-body p {
     font-size: 0.95rem;
     color: #444;
     line-height: 1.5;
 }

 .noticia-footer {
     padding: 15px 20px;
     border-top: 1px solid #eee;
     background: #fafafa;
     text-align: right;
 }

 .noticia-footer a {
     background-color: #7B1334;
     color: #fff;
     border-radius: 8px;
     padding: 8px 15px;
     text-decoration: none;
     font-weight: 600;
     transition: background 0.3s ease;
 }

 .noticia-footer a:hover {
     background-color: #5d0a24;
 }

 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
 }

 body {
     font-family: Montserrat, sans-serif;
     color: white;
     background: #f4f4f4;
 }

 /* HEADER */
 header {
     display: flex;
     justify-content: space-between;
     align-items: center;
     padding: 10px 5%;
     background-color: white;
     box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
     position: fixed;
     top: 0;
     width: 100%;
     z-index: 1000;
 }

 header .logo img {
     height: 50px;
 }


 /* HERO SECTION */
 .hero {
  position: relative;
  height: 100vh;
  background: url('../imgs/principal/torreondef.jpg') center/cover no-repeat;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  gap: 2rem;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(90, 2, 26, 0.8), rgba(0, 0, 0, 0.5));
  z-index: 1;
}

.content {
  position: relative;
  max-width: 600px;
  z-index: 2;
  color: white;
  flex: 1 1 300px;
}

.content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.content p {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.content img {
  max-width: 100%;
  height: auto;
  margin-bottom: 1rem;
}

.botones {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

#btn-redes {
  font-size: 1.5rem;
  color: white;
  text-decoration: none;
}

/* CARD INFO */

.card-info {
  position: relative;
  z-index: 2;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 1.5rem;
  border-radius: 10px;
  max-width: 400px;
  flex: 1 1 300px;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.card-info img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.card-info h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.card-info p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.card-botones {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.card-botones a {
  text-decoration: none;
  background-color: #a51e36;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.9rem;
  transition: background-color 0.3s ease;
}

.card-botones a:hover {
  background-color: #7e1629;
}

/* MEDIA QUERIES PARA RESPONSIVE */

@media screen and (max-width: 768px) {
  .hero {
    flex-direction: column;
    justify-content: center;
    padding: 2rem 1rem;
    height: auto;
  }

  .content, .card-info {
    max-width: 100%;
    text-align: center;
  }

  .botones {
    justify-content: center;
  }

  

  .card-botones {
    justify-content: center;
  }
}

@media screen and (max-width: 480px) {
  .content h1 {
    font-size: 1.5rem;
  }

  .card-info h3 {
    font-size: 1.1rem;
  }

  .card-botones a {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }

  #btn-redes {
    font-size: 1.3rem;
  }
}


 .bienvenida {
     background: rgba(255, 255, 255, 0.2);
     padding: 6px 12px;
     border-radius: 20px;
     font-size: 14px;
     display: inline-block;
     margin-bottom: 15px;
 }

 .content h1 {
     font-size: 48px;
     font-weight: 700;
     margin-bottom: 20px;
     line-height: 1.2;
     color: #ffff;
 }

 .content p {
     font-size: 18px;
     margin-bottom: 30px;
     text-align: justify;
     line-height: 1.6;
     color: #ffff;
 }

 .botones {
     display: flex;
     gap: 15px;
 }

 .btn-rojo {
     background: #a51e36;
     padding: 12px 20px;
     border-radius: 8px;
     color: white;
     font-weight: 600;
     text-decoration: none;
     transition: background 0.3s;
 }

 .btn-rojo:hover {
     background: #8c182d;
 }

 .btn-transparente {
     background: rgba(255, 255, 255, 0.1);
     padding: 12px 20px;
     border-radius: 8px;
     color: white;
     font-weight: 600;
     text-decoration: none;
     border: 1px solid white;
     transition: background 0.3s;
 }

 .btn-transparente:hover {
     background: rgba(255, 255, 255, 0.2);
 }

 /* CARD INFO */
 .card-info {
     position: absolute;
     right: 10%;
     bottom: 15%;
     background: rgba(0, 0, 0, 0.5);
     padding: 20px;
     border-radius: 12px;
     max-width: 300px;
     text-align: center;
     z-index: 2;
 }

 .card-info img {
     width: 50px;
     margin-bottom: 10px;
 }

 .card-info h3 {
     font-size: 20px;
     margin-bottom: 10px;
     color: #ffff;
 }

 .card-info p {
     font-size: 14px;
     margin-bottom: 15px;
     color: #ffff;
 }

 .card-botones {
     display: flex;
     flex-direction: column;
     gap: 10px;
 }

 .card-botones a {
     text-decoration: none;
     background: rgba(255, 255, 255, 0.1);
     padding: 10px;
     border-radius: 8px;
     color: white;
     font-weight: 600;
     transition: background 0.3s;
 }

 .card-botones a:hover {
     background: rgba(255, 255, 255, 0.3);
 }

 /* RESPONSIVE */
 @media (max-width: 768px) {
     nav ul {
         display: none;
     }

     .hero {
         flex-direction: column;
         justify-content: center;
         text-align: center;
     }

     .card-info {
         position: static;
         margin-top: 20px;
     }

 }

 #tecozautlaenamora {
     width: 240px;
     margin-bottom: 25px;
 }

 #btn-redes {
     color: #fff;
     font-size: 25px;
     margin: 5px;
 }

 #btn-redes:hover {
     color: #000;
 }

 .convocatoria-container {
     max-width: 1200px;
     margin: auto;
     margin-top: 30px;
     margin-bottom: 10px;
     border: 2px solid #ccc;
     border-radius: 20px;
     padding: 40px 30px;
     display: flex;
     flex-wrap: wrap;
     gap: 20px;
     justify-content: space-between;
     background: url('../imgs/principal/fondo pagina03.jpg') center/cover no-repeat;
     align-items: center;

     transition: transform 0.3s ease, box-shadow 0.3s ease;
 }

 .convocatoria-container:hover {
     transform: scale(1.02);
     box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
 }

 /* Logos de abajo */
 .logos {
     display: flex;
     justify-content: center;
     align-items: center;
     flex-wrap: wrap;
     /* por si luego pones más logos */
     margin-top: 15px;
 }

 .logos img {
     max-width: 100%;
     height: auto;
 }

 .col-left,
 .col-right {
     flex: 1 1 300px;
 }

 .col-left h2 {
     font-size: 2em;
     display: flex;
     align-items: center;
     gap: 10px;
     margin: 0 0 10px;
     color: #7B1334;
 }

 .col-left p {
     margin: 5px 0;
     font-size: 1.1em;
     color: #222;
 }

 .col-right {
     display: flex;
     flex-direction: column;
     align-items: center;
     gap: 15px;
 }

 .col-right a {
     background-color: #730c2b;
     color: #fff;
     border: none;
     border-radius: 10px;
     padding: 12px 20px;
     font-size: 1em;
     cursor: pointer;
     width: 100%;
     max-width: 250px;
     transition: background 0.3s;
     text-decoration: none;
     text-align: center;
 }

 .col-right a:hover {
     background-color: #5d0a24;
 }

 #informe01 {
     width: 250px;
 }

 @media (max-width: 768px) {
     .col-right {
         align-items: center;
     }

     .col-right a {
         width: 100%;
     }

     .col-left h2 {
         justify-content: center;
     }

     .col-left,
     .col-right {
         text-align: center;
     }
 }

 .ubicacion-container {
     max-width: 1200px;
     margin: auto;
     margin-top: 20px;
     margin-bottom: 10px;
     padding: 40px 30px;
     display: flex;
     flex-wrap: wrap;
     gap: 20px;
     justify-content: space-between;
     align-items: center;
     line-height: 1.6;
 }

 .ubicacion-container h1 {
     font-size: 2em;
     display: flex;
     justify-content: center;
     /* Centra en horizontal */
     align-items: center;
     gap: 10px;
     margin: 0 0 10px;
     color: #7B1334;
 }

 .ubicacion-container p {
     color: rgb(75 85 99 / var(--tw-text-opacity, 1));
     text-align: center;
 }

 .card-container {
     max-width: 500px;
     margin: 20px auto;
     border-radius: 12px;
     overflow: hidden;
     box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
     animation: fadeIn 1s ease-in-out;
 }

 .card-header {
     background: linear-gradient(to right, #7B1334, #B2213D);
     display: flex;
     align-items: center;
     gap: 15px;
     padding: 15px;
     color: white;

 }

 .card-header img {
     width: 60px;
     height: 60px;
     animation: bounce 1.5s infinite;
 }

 .card-header h2 {
     font-size: 1.1rem;
     font-weight: bold;
     color:#ffff;
 }

 .card-body {
     background: #fff;
     margin:20px;
     padding: 20px;
     display: flex;
     justify-content: space-around;
     text-align: center;
     flex-wrap: wrap;
 }

 .horario h3 {
     color: #7B1334;
     margin-bottom: 5px;
 }

 .horario p {
     font-size: 0.95rem;
     margin-bottom: 5px;
 }

 .estado {
     font-weight: bold;
     font-size: 1rem;
     display: inline-block;
     padding: 5px 10px;
     border-radius: 8px;
 }

 .abierto {
     color: #2E7D32;
     background-color: #E8F5E9;
 }

 .cerrado {
     color: #C62828;
     background-color: #FFEBEE;
 }

 @keyframes fadeIn {
     from {
         opacity: 0;
         transform: translateY(20px);
     }

     to {
         opacity: 1;
         transform: translateY(0);
     }
 }

 @keyframes bounce {

     0%,
     100% {
         transform: translateY(0);
     }

     50% {
         transform: translateY(-5px);
     }
 }

 /* RESPONSIVO */
 @media (max-width: 600px) {
     .card-header {
         flex-direction: column;
         text-align: center;
     }

     .card-header img {
         margin-bottom: 10px;
     }
 }

 .ubicacion-container {
     /*background: #fff;*/
     /*border-radius: 12px;]*/
     padding: 20px;
     /*box-shadow: 0 6px 15px rgba(0,0,0,0.1);*/
 }

 .ubicacion-info {
     margin-top: 15px;
     font-size: 16px;
     color: #444;
     text-align: center;
 }

 .btn-maps {
     display: inline-block;
     margin-top: 10px;
     margin-bottom: 20px;
     padding: 10px 15px;
     background-color: #7b1334;
     color: white;
     text-decoration: none;
     border-radius: 6px;
     font-weight: bold;
     transition: background 0.3s ease;
 }

 .btn-maps:hover {
     background-color: #B2213D;
 }