/* Core styles/functionality */
.tab input {
    position: absolute;
    opacity: 0;
    z-index: -1;
}
.tab__content {
    font-family: "Belanosima", sans-serif;
    font-weight: 400;
    font-style: normal;
    max-height: 0;
    overflow: hidden;
    transition: all 0.35s;
}
.tab__content a {
    display: block;
    padding: 1px 5px 5px 15px;
    color:#575756;
    font-size: 1em;
    text-decoration: none;
}
.tab__content a:hover {
    color: #FCC10A;
}
.tab__content a.seleccionado {
    display: block;
    padding: 1px 5px 5px 15px;
    color:#FCC10A;
    font-size: 1em;
    text-decoration: underline;

}
.tab input:checked ~ .tab__content {
    max-height: 100rem !important;
}
  
/* Visual styles */
.accordion {
    color: var(--theme);
    overflow: hidden;
    padding-left: 15px;
}
.tab__label,
.tab__close {
    display: flex;
    background: var(--theme);
    cursor: pointer;
}
.tab__label {
    color: #002F5D !important;
    font-size: 1.2em;
    justify-content: space-between;
    padding: 0.7em 0 !important;
}
  .tab__label::after {
    content: "\276F";
    width: 1em;
    height: 1em;
    text-align: center;
    transform: rotate(90deg);
    transition: all 0.35s;
  }
  .tab input:checked + .tab__label::after {
    transform: rotate(270deg);
  }
  .tab__close {
    justify-content: flex-end;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
  }
  .accordion--radio {
    --theme: var(--secondary);
  }
  
  /* Arrow animation */
  .tab input:not(:checked) + .tab__label:hover::after {
    animation: bounce .5s infinite;
  }
  @keyframes bounce {
    25% {
      transform: rotate(90deg) translate(.25rem);
    }
    75% {
      transform: rotate(90deg) translate(-.25rem);
    }
  }