/* Style the buttons that are used to open and close the accordion panel */
.accordion {
    background-color: rgba(255, 255, 255, 0);
    color: rgb(34, 34, 34);
    cursor: pointer;
    width: 100%;
    text-align: center;
    border: none;
    outline: none;
    transition: 0.4s;
    border-radius: 5px;
  }
  
  /* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
  .active, .accordion:hover {
    background-color: rgba(0, 0, 0, 0);
  }
  
  /* Style the accordion panel. Note: hidden by default */
  .panel {
    
    /*background-color: fuchsia;*/
    display: none;
    overflow: hidden;
    
  }

  /* Style the buttons that are used to open and close the accordion panel */


  .accordionnews {
    margin-top: 0.6rem;
    background-color: whitesmoke;
    color: rgb(34, 34, 34);
    cursor: pointer;
    width: 100%;
    text-align: center;
    border: none;
    outline: none;
    transition: 0.4s;
    border-radius: 5px;
  }

/* Style the accordion panel. Note: hidden by default */
.panelnews {
  width: 100%;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s ease, opacity 0.5s ease;
}

.panelnews.visible {
  max-height: 100%; /* Ajusta el valor según el contenido máximo esperado */
  opacity: 1;
}

.accordionevent {
  margin-top: 0.6rem;
  background-color: whitesmoke;
  color: rgb(34, 34, 34);
  cursor: pointer;
  width: 100%;
  text-align: center;
  border: none;
  outline: none;
  transition: 0.4s;
  border-radius: 5px;
}