.contenedor-noticias {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr auto;
    position: relative;
    width: 100%;
    height: auto;
}

.administracion-noticias {
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: auto;
    padding: 20px 0px;
}

.paginador-noticias {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.paginador-noticias ul {
    display: flex;
    list-style-type: none;
    padding: 0;
    margin: 20px 0;
}

.paginador-noticias li {
    margin: 0 5px;
}

.paginador-noticias .page-item {
    transition: background-color 0.3s, transform 0.3s;
}

.paginador-noticias .page-link {
    display: block;
    font-family: Arial, Helvetica, sans-serif;
    padding: 8px 12px;
    color: #007b00;
    text-decoration: none;
    background-color: white;
    border: 1px solid #007b00;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.5s ease, color 0.5s ease;
}

.paginador-noticias .page-link:hover,
.paginador-noticias .page-link:focus {
    background-color: #007b00;
    color: white;
    border-color: white;
}

.paginador-noticias .page-item.active .page-link {
    background-color: #007b00;
    color: white;
    border-color: white;
    transition: background-color 0.5s ease, color 0.5s ease;
}

.paginador-noticias .page-item.active:hover .page-link {
    pointer-events: none;
}

.contenido-noticias {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    height: auto;
    box-sizing: border-box;
}

.card-noticias {
    width: 60%;
    margin: 20px 0px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
}

.card:hover {
    transform: translateY(-5px);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #92e27a;
    color: black;
    border-bottom: 1px solid black;
    padding: 10px;
    margin: 0;
}

.card-header img {
    width: 110px;
    height: 100px;
}

.card-body {
    width: auto;
    height: auto;
    display: flex;
    padding: 10px;
    gap: 30px;
    background-color: white;
}

.contenido-cuerpo-noticia {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 50%;
    height: auto;
}

.cuerpo-detalle {
    display: flex;
    justify-content: start;
    align-items: start;
    width: 100%;
    height: 100%;
    position: relative;
}

.cuerpo-detalle p {
    font-size: 1.25rem;
    text-align: justify;
    font-family: Arial, Helvetica, sans-serif;
    white-space: pre-line;
}

.video-doc {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 0px 10px;
}

.contenido-cuerpo-noticia-full {
    display: flex;
    flex-direction: column;
    padding: 0px 20px;
    justify-content: space-between;
    height: auto;
}

.hidden-video-link {
    display: none;
}

.card-footer {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr;
    border-top: 1px solid black;
    background-color: #92e27a;
    padding: 10px 15px;
}

.responsable-noticia {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
}

.responsable-noticia h3 {
    padding: 0;
    margin: 5px 0px;
}

.responsable-admin {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.fecha-publicacion {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
    width: 100%;
    display: flex;
    justify-content: end;
    align-items: center;
}

.formulario-noticia {
    padding: 10px;
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto 1fr;
    gap: 40px;
}

.noticia-restrigciones {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.noticia-detalle-formulario {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.noticia-archivo-formulario {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.obligatorio-detalle {
    font-size: 1.05rem;
    color: #B80000;
}

.obligatorio {
    color: #B80000;
}

.contenedor-input {
    display: flex;
    position: relative;
    width: 100%;
}

.carusel-img-noticias {
    width: 50%;
    height: auto;
    overflow: hidden;
}