.title-categoria{
    font-weight: 900;
    font-size: 40px;
    line-height: 100%;
    letter-spacing: 1%;
    color: #C2995C;
}

.descripcion-categoria{
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0%;
    color: #494D55;
}

.buscador-contendor{
    display: flex;
    width: 360px;
    border-radius: 10px;
    border: 2px solid #7D828B;
    overflow: hidden;
}

.buscador-contendor input {
    flex: 1;
    padding: 6px;
    border: none;
    outline: none;
    font-size: 16px;
}

.buscador-contendor button{
    background-color: #287f55;
    color: #EFEDEA;
    border: none;
    padding: 0 10px;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.buscador-contendor button:hover {
    background-color: #287f55;
}

.buscador-contendor button:focus {
    background-color: #287f55;
    border: none;
    outline: none;
}

.buscador-contendor button:focus {
    background-color: #287f55;
     border: none;
}

.alineacion_buscador{
    justify-content: flex-end;
    display: flex;
}

@media screen and (max-width: 990px) {
   
    .alineacion_buscador{
        justify-content: flex-start;
        display: flex;
        flex-direction: row;
        }
}

@media screen and (max-width: 770px) {
   
    .text-ellipsis-contenido{
        /* white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%; */
         display: -webkit-box;
        -webkit-line-clamp: 2;              /* máximo 2 líneas */
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.4em;
        max-height: 2.8em;                  /* 2 líneas */
    }
      .text-ellipsis{
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }
    .card-img {
      width: 118px !important;
    }
    .card-content {
      max-width: 400px;
    }
}

@media screen and (max-width: 530px) {
  
    .card-content {
      max-width: 290px;
       padding: 1rem 0;
    }

    .card-meta{
      margin: 0 !important;
    }

    .card-title{
      margin: 1rem 0px !important;
    }

    .card-text{
      margin: 1rem  0px 0px 0px !important;
    }

     .card-img {
      width: 150px !important;
    }
}

@media screen and (max-width: 470px) {
  
    .card-content {
      max-width: 300px;
       padding: 1rem 0;
    }

  
}

@media screen and (max-width: 440px) {
  
    .card-content {
      max-width: 200px;
       padding: 1rem 0;
    }
}

@media screen and (max-width: 440px) {
  
    .card-content {
      max-width: 240px;
       padding: 1rem 0;
    }
}

@media screen and (max-width: 400px) {
  .card-img {
        width: 125px !important;
    }
  
    .card-content {
      max-width: 230px;
       padding: 1rem 0;
    }
}

@media screen and (max-width: 365px) {
  
    .card-content {
      max-width: 200px;
       padding: 1rem 0;
    }
}

@media screen and (max-width: 330px) {
  
    .card-content {
      max-width: 170px;
       padding: 1rem 0;
    }
    .card-meta{
      flex-direction: column;
      align-items: flex-start !important;
    }
}

.text-fecha{
    font-weight: 700;
    font-style: bold;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0%;
    color: #2D2829;
}

/*FILTRO DE FECHA*/
.fecha-container {
  display: flex;
  gap: 1rem;
}

.select-fecha {
  appearance: none; /* Quitar el estilo por defecto */
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: #EEF2F5; /* gris claro */
  border: none;
  border-radius: 10px;
  padding: 10px 60px 10px 15px;
  font-weight: bold;
  font-size: 20px;
  color: #1a1a1a;
  position: relative;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'><path d='M6 9L12 15L18 9' stroke='%23BC2251' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  background-size: 20px;
  cursor: pointer;
}

/* .select-fecha:focus {
  outline: none;
  box-shadow: 0 0 0 2px #b20043;
} */

.calendario_button {
    background-color: #EEF2F5;
    color: #EFEDEA;
    border: none;
    width: 46px;
    height: 46px;
    padding: 0 11px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 2rem;
}

.calendario_button:hover {
    background-color: #EEF2F5;
}

.calendario_button:focus {
    background-color: #EEF2F5;
    border: none;
    outline: none;
}

#navPanelTab .nav-tabs {
  border-bottom: none; /* quitar línea de Bootstrap */
  gap: 0.5rem; /* espacio entre botones */
}

#navPanelTab .nav-link {
  background-color: #eef2f5; /* gris claro */
  border-radius: 30px;
  padding: 5px 10px;
  font-weight: 500;
  color: #2d2829;
  border: none;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
}

#navPanelTab .nav-link:hover {
  background-color: #2d2829;
  color: #fef9f9;
}

#navPanelTab .nav-link.active {
  background-color: #2d2829; /* negro */
  color: #fef9f9;
}

/*CARDS DE NOTICIAS*/
.card-noticia {
  display: flex;
  background: white;
  border: 1px solid #c4c4c4;
  border-radius: 15px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  margin-bottom: 2rem;
  transition: box-shadow 0.3s;
}

.card-noticia:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.card-img {
  width: 265px;
  height: auto;
  object-fit: cover;
}

.card-content {
  padding: 1rem 0.5rem;
  flex: 1;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 1rem;
  font-size: 12px;
  color: #858585;
  font-weight: 400;
}

.pill {
  background-color: #eef2f5;
  padding: 3px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #2d2829;
  width: max-content;
  height: 20px;
  font-size: 12px;
}

.card-title {
  font-size: 16px;
  font-weight: bold;
  color: #2d2829;
  margin: 1rem;
  font-weight: 700;
}

.card-text {
  font-size: 0.95rem;
  color: #858585;
  line-height: 1.4;
  font-weight: 400;
  margin: 1rem;
}

/*Paginación*/
.paginacion {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.btn-pag {
  background: #fff;
  color: #2d2829;
  border: 1px solid #2d2829;
  padding: 5px 30px;
  border-radius: 30px;
  font-weight: 400;
  transition: background 0.3s;
  font-size: 16px;
  font-weight: 400;
  text-align: center;
  display: inline-flex;
  gap: 0.4rem;
  align-items: center;
}

.btn-pag:hover {
  background: #2d2829;
  color: #fff;
}

.btn-pag svg {
  vertical-align: middle;
  display: inline-block;
  height: 24px;
  width: 24px;
}

.pagination-list {
  display: flex;
  list-style: none;
  gap: 0.5rem;
  padding: 0;
  margin: 0;
}

.page {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #2d2829;
  text-align: center;
  line-height: 36px;
  cursor: pointer;
  font-weight: 500;
  color: #2d2829;
  transition: all 0.3s;
}

.page:hover {
  background: #2d2829;
  color: #fff;
}

.page_more{
    border: none;
    display: flex;
    align-items: flex-end;
}

.page.active {
  background: #1a1a1a;
  color: white;
  border: none;
}