@import url('https://fonts.cdnfonts.com/css/futura-pt');

*{
    box-sizing: border-box;
}

body{
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    width: 100%;
    background-color: white;
    min-height: 100vh;
    overflow-x: hidden;
}
.main-wrapper {
    background-image: url(Imagenes/bitmap.svg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    min-height: calc(100vh - 65px);
}

h1{
    font-size: 2.8em;
    margin-bottom: .20em;
}
h2{font-size: 2.0em;}
h3{font-size: 1.3em;}
p{
    font-size:  1.0em;
    line-height: 1.4;
    margin-bottom: .20em;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    margin: 0;
}
.slider-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}
.slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 40px;
    color: black;
    font-family: "Times New Roman", serif;
    border-radius: 0 0 90px 90px;
    padding-left: 55px;
    padding-right: 55px;
    padding-top: 20px;
}
.slide-content {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centra horizontalmente */
    text-align: center;
}
.slide-content .Imagenes-Carrusel{
    height: 300px;
    width: auto;

}


.slide-1 {
    background-color: white;
}
.slide-2 {
    background-image: url(./Imagenes/Convocatoria1.png);
    background-size: cover; /* Asegurar que cubra todo */
    background-position: center center; /* Centrar la imagen */
    background-repeat: no-repeat;
    width: 100%;
}
.arrow2 {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    color: black;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    z-index: 10;
}

.arrow2:hover {
    background: rgba(255, 255, 255, 0.5);
}

.arrow22-left {
    left: 20px;
}

.arrow23-right {
    right: 20px;
}

/* Indicadores (dots) */
.dots-container {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: black;
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: black;
    width: 30px;
    border-radius: 6px;
    }

.slide-content button{
    font-family: "Times New Roman";
    font-size: 1em;
    width: 150px;
    padding: 10px 20px;
    border-radius: 5px;
    border: 2px solid black;
    color: black;
    background-color:transparent;
    margin-top:20px;   
}
.slide-content button:hover{
     background-color:rgb(87, 87, 87);
}
.slide-content button a {
    color: black;
    text-decoration: none;
    display: block;
    width: 100%;
    height: 100%;
}

.container{
    max-width: 1400px;
    margin:auto;
}

header {
    position: sticky;
    top: 15px;
    left: 0;
    right: 0;
    width: calc(100% - 30px);
    z-index: 1000;
    background-color: black;
    margin: 0 15px;
    padding: 0;
    border-radius: 30px;
}

header .iniciose{
    padding: 0;
    width: 30px;
    height: 30px;
}

.iniciosesion{
    order: 3;
    z-index: 10;
}
.logo-img {
    height: 45px; /* Ajusta la altura según tu diseño */
    width: auto;
    object-fit: contain;
    cursor: pointer;
}
.logo:hover .logo-img {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

header .container{
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 65px;
    box-sizing: border-box; 
    position: relative;
    --icon-toggle-menu: url(Imagenes/Menu.svg);
}

.nav_list{
    position: static;
    width: 100%;
    height: 0;
    max-height: 0;
    background-color: black;
    padding: 0 5%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: left;
    list-style: none;
    transition: all 0.5s ease;
    margin: 0;
    overflow: hidden;
}

.nav_list li {
    margin-bottom: 1.5rem;
}

/* Estilos para el menú desplegable */
.nav_item.has-dropdown {
    position: relative;
}

.dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.arrow {
    display: inline-block;
    margin-left: 3px;
    font-size: 0.8em;
    transition: transform 0.8s ease;
}

.nav_item.has-dropdown.active .arrow {
    transform: rotate(180deg);
}

.dropdown {
    list-style: none;
    padding: 0;
    margin: 0;
    padding-left: 20px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.8s ease, opacity 0.8s ease, margin-top 0.8s ease;
}

.nav_item.has-dropdown.active .dropdown {
    max-height: 300px;
    margin-top: 10px;
    opacity: 1;
}

.dropdown li {
    margin-bottom: 0.8rem;
    transform: translateY(-10px);
    opacity: 0;
    transition: transform 0.6s ease, opacity 0.6s ease;
}

.nav_item.has-dropdown.active .dropdown li {
    transform: translateY(0);
    opacity: 1;
}

.nav_item.has-dropdown.active .dropdown li:nth-child(1) {
    transition-delay: 0.2s;
}

.nav_item.has-dropdown.active .dropdown li:nth-child(2) {
    transition-delay: 0.3s;
}

.nav_item.has-dropdown.active .dropdown li:nth-child(3) {
    transition-delay: 0.4s;
}

.dropdown-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-family: 'Times New Roman', Times, serif;
    font-size: 0.95em;
    display: block;
    padding: 5px 0;
    transition: color 0.4s ease;
}

.dropdown-link:hover {
    color: rgb(167, 0, 44);
}

/* Estilos para redes sociales en el menú */
.redes-sociales-menu {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    margin-top: 10px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link {
    font-size: 24px;
    color: white;
    transition: color 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    color: rgb(167, 0, 44);
}

.social-link i {
    display: block;
}

header:has(.nav_input:checked) .nav_list {
    height: auto;
    max-height: 500px;
    padding: 2rem 5%;
}    

header .container:has(.nav_input:checked){
    --icon-toggle-menu:url(Imagenes/x.svg);
}

.nav_figure {
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    order: 2;
}

.nav_input{
    display: none;
}

.nav_toggel{
    width: 20px;
    height: 20px;
    background-image: var(--icon-toggle-menu);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    transition: 0.5s;
    z-index: 10;
    order: 1;
    display: block;
    flex-shrink: 0;
}

.nav_link1{
    color: white;
    text-decoration: none;
    font-family: 'Times New Roman', Times, serif;
}
.nav_link2{
    color: white;
    text-decoration: none;
    font-family: 'Times New Roman', Times, serif;
}
.nav_link3{
    color: white;
    text-decoration: none;
    font-family: 'Times New Roman', Times, serif;
}

.slide-content .dossier{
    font-size:  1.20em;
    color: brown;
    font-weight: bold;
}
.slide-content .textohero{
    font-size: 1.2em;
    color: black;
    font-weight: bold;
}
#apartados .carta1{
    margin-top: 30px;
    margin-bottom: 30px;
    padding: 20px;
}
.carta1:first-child{
    color: rgb(86,255, 76);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 35px;
}
.carta1:nth-child(2){
    color: rgb(86,255, 76);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 35px;
}
.carta1:nth-child(3){
    color: rgb(86,255, 76);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 35px;
}
.carta1:nth-child(4){
    color:  rgb(86,255, 76);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 35px;
}
.carta1 .container {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 300px;
    position: relative;
    padding: 5px;
    justify-content: space-between;
}

.carta1 h2 {
    text-align: left;
    align-self: flex-start;
    margin: 0 0 20px 0;
    position: relative;
    z-index: 2;
    order: 1;
    padding-bottom: 10px;
    border-bottom: 2px solid white;
    width: 100%;
    font-family: 'Futura PT';
}

.carta1 p{
    text-align: center;
    margin: 15px 0;
    position: relative;
    z-index: 2;
    order: 3;
    font-size: 1.2em;
    color: white;
    margin-top: -20px;
    text-align: left;
    font-family: 'Times New Roman', Times, serif;
}
.Reforma {
    font-weight: bold;
    color: white;
    text-align: center;
}

.image-container {
    width: 100%; 
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    order: 2;
}

#contacto {
    background-color: rgb(54, 61, 73);
    margin-bottom: 0;
    color: white;
    padding: 20px;
}
#contacto .carta{
    margin-left: 15px;
    margin-right: 15px;
}
#contacto h2 {
    font-size: 1.25em;
    margin-bottom: 0.15em; 
}

#contacto p {
    font-size: 1.0em;
    margin-bottom: 0.15em; 
}

/*Secciones*/
.Titulo-secciones{
    font-size: 1.1em;
}
#apartados {
    overflow: hidden;
}
#apartados .Acercade{
    margin-top: 15px;
    margin-bottom: 15px;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 25px;
    padding-right: 25px;
    font-family: 'Times New Roman', Times, serif;
}
#apartados .AcercadeUl{
    margin-top: 30px;
    margin-bottom: 30px;
    padding-top: 25px;
    padding-bottom: 10px;
    padding-left: 50px;
    padding-right: 25px;
    font-family: 'Times New Roman', Times, serif;
}
.Numerosrecientes:first-child .image-container{
    width: 450px;
    height: 450px;
    background-image: url(Imagenes/prueba4.jpeg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    margin-bottom: 5px;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    order: 1;
}

.Acercade .Numerosrecientes{
    display: flex;
    flex-direction: column;
   align-items: flex-start;
    min-height: 300px;
    position: relative;
    padding: 5px;
    justify-content: space-between;
    margin-top: -50px;
}
.Numerosrecientes p{
    order: 2;
    margin-bottom: 30px;
    text-align: center;
}
.Acercade button{
    border: 1px solid black;
    Font-family: "Times New Roman";
    font-size: 1em;
    width: 150px;
    padding: 5px 1px;
    border-radius: 5px;
    color: rgb(0, 10, 148);
    background-color:rgba(226, 226, 226, 0.795);
    margin-top:20px;
}
#Numerosrecientes{
    margin-bottom: 45px;
}
.Acercade .Imagen-convocatoria{
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 90%;
}
/* Pantalla de carga */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

#loading-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

.animated-text {
    font-size: 80px;
    font-weight: bold;
    display: flex;
}

.letter {
    display: inline-block;
    opacity: 0;
    animation: fadeInUp 0.6s forwards;
}

.letter:nth-child(1) { color: rgb(177, 0, 0); animation-delay: 0.1s; }
.letter:nth-child(2) { color: rgb(177, 0, 0); animation-delay: 0.2s; }
.letter:nth-child(3) { color: rgb(177, 0, 0); animation-delay: 0.3s; }
.letter:nth-child(4) { color: rgb(177, 0, 0); animation-delay: 0.4s; }
.letter:nth-child(5) { color: rgb(177, 0, 0); animation-delay: 0.5s; }
.letter:nth-child(6) { color: rgb(177, 0, 0); animation-delay: 0.6s; }
.letter:nth-child(7) { color: rgb(177, 0, 0); animation-delay: 0.7s; }
.letter:nth-child(8) { animation-delay: 0.8s; }
.letter:nth-child(9) { color: rgb(177, 0, 0); animation-delay: 0.9s; }
.letter:nth-child(10) { color: rgb(177, 0, 0); animation-delay: 1.0s; }
.letter:nth-child(11) { color: rgb(177, 0, 0); animation-delay: 1.1s; }
.letter:nth-child(12) { color: rgb(177, 0, 0); animation-delay: 1.2s; }
.letter:nth-child(13) { color: rgb(177, 0, 0); animation-delay: 1.3s; }
.letter:nth-child(14) { color: rgb(177, 0, 0); animation-delay: 1.4s; }
.letter:nth-child(15) { color: rgb(177, 0, 0); animation-delay: 1.5s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animated-text {
    font-size: 34px;
}

#main-content {
    display: none;
}

#main-content.show {
    display: block;
    animation: fadeIn 0.8s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/*Archivos*/

.archivos{
    border: 1px;
    border-top-style:solid;
    border-bottom-style:solid;
    border-color:#e2e6ee;

}
.portadas_numeros{
   display: block;
    margin: 20px auto;
    width: 60%;
}
#num{
    color:#374151;
}
#num_p{
    color: #1f2937;
    margin-bottom: 20px;
    text-align: justify;
}
.num_r{
    margin:auto;
    width: 70%;
}

#num_b{
    display: block;
    margin-left: auto;
    margin-right: 20px;
    clear: both; /* importante: lo saca del float y lo pone abajo */
    margin-top: 10px;
    margin-bottom: 5px;
    background-color: #fff;
}
.num_n_a{
    font-weight: bold;
    color:rgb(45, 100, 172);
    text-decoration: none;
}
.archivos a {
    text-decoration: none;
}
.num_p_art{
    color: #1f2937;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.1em;
    line-height: 1.4;
    text-align: justify;
}
/*galeria_imagenes*/
.cuadricula {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 columnas iguales */
    gap: 10px;
}
.cuadricula img {
    width: 100%;        /* ocupa el ancho de su celda */
    height: 200px;      /* altura fija para todas */
    object-fit: cover;  /* recorta la imagen para que llene el espacio sin deformarse */
}
.galeria {
    background-color: black;
}
/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from { transform: scale(0.5); opacity: 0; }
    to   { transform: scale(1);   opacity: 1; }
}

.lightbox-cerrar {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    cursor: pointer;
    line-height: 1;
}

.lightbox-cerrar:hover {
    color: rgb(177, 0, 0);
}

/* Hacer las imágenes de la galería clicables */
.cuadricula img {
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.cuadricula img:hover {
    opacity: 0.8;
}

/*VIDESO*/
#Videos{
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: #000;
  color: #fff;
}
/* ===== CONTENEDOR PRINCIPAL ===== */
.containerV {
  min-height: 100vh;
  padding: 1rem;
}
@media (min-width: 768px) {
  .container {
    padding: 2rem;
  }
}

/* ===== GRID DE VIDEOS ===== */
.video-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}


/* ===== TARJETA DE VIDEO ===== */
.video-card {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border-radius: 0.5rem;
  aspect-ratio: 9 / 16;
  background-color: #1f2937;
}

.video-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.video-card:hover img {
  transform: scale(1.1);
}

/* ===== OVERLAY GRADIENT ===== */
.video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

/* ===== PLAY BUTTON ===== */
.play-button {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.video-card:hover .play-button {
  opacity: 1;
}

.play-icon {
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  padding: 1rem;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-icon svg {
  width: 2rem;
  height: 2rem;
  fill: white;
}

/* ===== INFO DEL VIDEO ===== */
.video-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.75rem;
}

.video-title {
 font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #d1d5db;
}

.video-likes {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.video-likes svg {
  width: 1rem;
  height: 1rem;
}

/* ===== MODAL ===== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.95);
  padding: 1rem;
}

.modal.hidden {
  display: none;
}

/* ===== BOTÓN CERRAR ===== */
.close-button {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 10;
  background-color: rgba(31, 41, 55, 0.8);
  border: none;
  border-radius: 50%;
  padding: 0.5rem;
  cursor: pointer;
  transition: background-color 0.2s;
  color: white;
}

.close-button:hover {
  background-color: rgba(55, 65, 81, 1);
}

.close-button svg {
  width: 1.5rem;
  height: 1.5rem;
}

/* ===== BUSCADOR ===== */
.search-bar {
  position: absolute;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 28rem;
  padding: 0 1rem;
  z-index: 20;
}

@media (max-width: 640px) {
  .search-bar {
    width: calc(100% - 6rem);
    max-width: none;
  }
}

.search-input {
  width: 100%;
  background-color: rgba(31, 41, 55, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid #374151;
  border-radius: 9999px;
  padding: 0.75rem 1rem;
  color: white;
  outline: none;
  font-size: 0.875rem;
}

@media (max-width: 640px) {
  .search-input {
    padding: 0.625rem 0.875rem;
    font-size: 0.813rem;
  }
}

.search-input::placeholder {
  color: #9ca3af;
}

.search-input:focus {
  border-color: #6b7280;
  background-color: rgba(31, 41, 55, 1);
}

/* ===== CONTENEDOR DEL VIDEO ===== */
.video-container {
  position: relative;
  width: 100%;
  max-width: 28rem;
  aspect-ratio: 9 / 16;
  background-color: #000;
  border-radius: 0.5rem;
  overflow: hidden;
}

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ===== INFO DEL VIDEO EN MODAL ===== */
.modal-video-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  padding: 1rem;
}

.modal-video-title {
  font-size: 1.125rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.modal-video-stats {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
}

.modal-video-likes {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.modal-video-likes svg {
  width: 1.25rem;
  height: 1.25rem;
}

.modal-video-date {
  color: #9ca3af;
}

/* ===== AGREGADO: Estilos base para el layout ===== */
#apartados {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.main-content {
    width: 100%;
}

.sidebar {
    width: 100%;
}

.sidebar-section {
    width: 100%;
}
#NA{
    font-size: 1.8em;
}
/* ===== MEDIA QUERY PARA PANTALLAS GRANDES ===== */
@media (min-width: 720px) {
    /* Layout de dos columnas */
    .content-wrapper {
        flex-direction: row;
        align-items: flex-start;
        gap: 40px;
    }

    .main-content {
        flex: 2;
        width: 65%;
        max-width: 65%;
    }

    .sidebar {
        flex: 1;
        width: 35%;
        max-width: 35%;
        position: sticky;
        top: 150px;
        border:1px;
        border-color:#9ca3af;
        border-left-style: solid;
    }

    /* Mantén tus estilos existentes de carta1 */
    .carta1 .container {
        display: grid;
        grid-template-columns: 350px 1fr;
        grid-template-rows: auto 1fr;
        gap: 30px;
        align-items: start;
        min-height: 300px;
        padding: 2px;
    }
    
    .carta1 .container > a {
        grid-column: 1;
        grid-row: 1 / 3;
        order: unset;
    }

    .carta1 .container > a .image-container {
        width: 100%;
        height: 350px;
        object-fit: contain;
    }
    
    .carta1 h2 {
        grid-column: 2;
        grid-row: 1;
        margin: 0 0 10px 0;
        align-self: start;
    }
    
    .carta1 p {
        grid-column: 2;
        grid-row: 2;
        margin: 0;
        align-self: start;
    }

    .Numerosrecientes .image-container {
        max-width: 100%;
        height: 350px;
    }


.slide-2 {
    background-image: url(./Imagenes/Convocatoria1.png);
    background-size: contain; /* Mostrar imagen completa */
    background-position: center center;
    background-repeat: no-repeat;
    background-color: white; /* Fondo negro para las áreas vacías */
    width: 100%;
}
/*Archivos*/

.archivos{
    border: 1px;
    border-top-style:solid;
    border-bottom-style:solid;
    border-left-style: solid ;
    border-color:#e2e6ee;
    margin-left: 50px;
    padding-left: 25px;
}
.portadas_numeros{
    float: left;
    margin-right: 35px;
    margin-top: 20px;
    width: 15%;
}
#num{
    color:#374151;
}
#num_p{
    color: #1f2937;
    margin-bottom: 20px;
}
.num_r{
    margin-left: 0%;
}

#num_b{
    display: block;
    margin-left: auto;
    margin-right: 20px;
    clear: both; /* importante: lo saca del float y lo pone abajo */
    margin-top: -10px;
    margin-bottom: 5px;
    background-color: #fff;
}
.num_n_a{
    font-weight: bold;
    color:rgb(45, 100, 172);
    text-decoration: none;
}
.archivos a {
    text-decoration: none;
}
.num_p_art{
    color: #1f2937;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.1em;
    line-height: 1.4;
    text-align: justify;
}


}