/* ========================= */
/* SECCIÓN PRINCIPAL NOTICIAS */
/* ========================= */
.single-post .entry-meta {
  display: none;
}
.noticias-section {
    padding: 50px 0;
    background-color: #f8f9fa;
}
.single-post .site-header {
  padding: 5px 20px;
  width: 100%;
  z-index: 1000;
  background-color: #fff;
  box-shadow: 0px 10px 15px 5px rgba(55, 55, 55, 0.37);
}

#nocitias-padr {
    max-width: 900px;
    margin: 40px auto;
    padding: 30px;
    background-color: white;
    border-radius: 15px;
    box-shadow: 10px 2px 11px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* Títulos */
#nocitias-padr .entry-title {
    font-size: 28px;
    font-weight: bold;
    color: #262354;
    margin-bottom: 15px;
}

/* Metadatos (Fecha y Autor) */
#nocitias-padr .entry-meta {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

#nocitias-padr .entry-meta i {
    color: #0cb4ce;
    margin-right: 5px;
}

/* Imagen destacada */
#nocitias-padr .post-thumbnail img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
}

/* Contenido de la noticia */
.nocitias-msts {
    text-align: left;
    font-size: 16px;
    color: #444;
    line-height: 1.8;
    padding: 0 15px;
}

/* Párrafos */
.nocitias-msts p {
    margin-bottom: 15px;
}

/* Listas */
.nocitias-msts ul {
    padding-left: 20px;
    list-style: none;
}

.nocitias-msts ul li {
    font-size: 15px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nocitias-msts ul li::before {
    content: "\2713"; /* Checkmark */
    color: #0cb4ce;
    font-weight: bold;
}

/* Enlaces */
.nocitias-msts a {
    color: #0cb4ce;
    text-decoration: none;
    font-weight: bold;
}

.nocitias-msts a:hover {
    text-decoration: underline;
}

/* Footer (Categorías y Etiquetas) */
.entry-footer {
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    font-size: 14px;
    color: #666;
}

.entry-footer i {
  color: #00439e;
  margin-right: 5px;
}
.type-post .text-center.blog-accion {
  text-align: left !important;
}
/* ============================== */
/* SECCIÓN NOTICIAS RELACIONADAS */
/* ============================== */

.noticias-relacionadas {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.1);
    margin-top: 30px;
}

.noticias-relacionadas h4 {
  font-size: 18px;
  font-weight: bold;
  color: #777;
  text-align: center;
  margin-bottom: 15px;
}
.single #respond {
  display: none;
}

.noticias-relacionadas ul {
    padding-left: 0;
}

.noticias-relacionadas li {
    list-style: none;
    font-size: 14px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.noticias-relacionadas i {
    color: #007bff;
    margin-right: 5px;
}

.noticias-relacionadas a {
    text-decoration: none;
    font-weight: bold;
    color: #333;
    transition: color 0.3s ease-in-out;
}

.noticias-relacionadas a:hover {
    color: #007bff;
}

/* Botón de ver más */
.noticias-relacionadas .btn {
    width: 100%;
    text-align: center;
    margin-top: 15px;
}

/* ======================== */
/* DISEÑO RESPONSIVO */
/* ======================== */

@media (max-width: 768px) {
    #nocitias-padr {
        padding: 20px;
        max-width: 95%;
    }

    .entry-title {
        font-size: 24px;
    }

    .nocitias-msts {
        font-size: 15px;
    }

    .noticias-relacionadas {
        margin-top: 20px;
    }

    .noticias-relacionadas h4 {
        font-size: 16px;
    }
}


/* Sección Noticias Home */
.home-noticias {
    background: #f8f9fa;
}

.noticias-title {
  color: #0cb4ce;
  margin-bottom: 10px;
  letter-spacing: 0.00em;
  font-weight: 600;
  font-family: "Oxygen", sans-serif;
}

/* Filtros de Categorías */
.filter-nav {
    margin-bottom: 20px;
}

.btn-primary {
  color: #fff;
  border-radius: 0px;
  border: var(--bs-btn-border-width) solid #00439e;
  border-width: 1px;
  font-weight: unset;
  background-color: #00439e;
}

.filter-nav .nav-link {
  border-style: solid;
  color: #777777;
  background-color: transparent;
  border-radius: 20px;
  border-width: 1px;
}


.filter-nav .nav-link:hover, .btn-primary:hover {
  background-color: #ff9400;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0px 1px 10px 0px #00000057;
  border-color: #ff9400;
}

.filter-nav .nav-link.active {
  background: #00439e;
  color: white;
}

/* Tarjetas de Noticias */
.noticia-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

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

.noticia-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.noticia-content {
    padding: 15px;
    text-align: center;
}

.noticia-meta {
    font-size: 14px;
    color: #777;
}

.noticia-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #262354;
    margin-top: 5px;
}

.noticia-title a {
  text-decoration: none;
  color: inherit;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 3em;
}

.noticia-title a:hover {
  color: #ff9400;
}

/* Sección de Noticias */
.noticias-section {
    padding: 50px 0;
    background-color: #f8f9fa;
}

/* Tarjeta de noticia */
.noticia-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

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

/* Imagen de noticia */
.noticia-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Contenido de la noticia */
.noticia-content {
    padding: 15px;
    text-align: center;
}

.noticia-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
}

.noticia-meta {
    font-size: 0.9rem;
    color: #666;
}

/* Paginación */
.pagination-container {
    text-align: center;
    margin-top: 20px;
}

.pagination-container .page-numbers {
  display: inline-block;
  padding: 8px 12px;
  margin: 5px;
  text-decoration: none;
  border-style: solid;
  color: #777;
  background-color: transparent;
  border-radius: 10px;
  border-width: 1px;
  font-weight: 700;
}

.pagination-container .page-numbers:hover {
  background-color: #0cb4ce;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0px 1px 10px 0px #00000057;
}

.pagination-container .current {
  background-color: #0cb4ce;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0px 1px 10px 0px #00000057;
}
.nav-item {
  margin: 5px;
}
.type-post p {
  text-align: left;
}