/* Pantalla de la ficha tecnica */
div.ficha-danza {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

details.ficha-section {
  margin-top: 1rem;
}

details.ficha-section summary {
  color: #c84a2f;
  font-weight: bold;
  font-size: 1.3rem;
  padding: 1rem;
  cursor: pointer;
  list-style: none;
  position: relative;
  border-bottom: 1px solid #c84a2f;
}

details.ficha-section summary::-webkit-details-marker {
  display: none;
}

details.ficha-section summary::marker {
  content: "";
}

details.ficha-section summary::after {
  content: "\f077";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: #d43b13;
  position: absolute;
  right: 1rem;
  transition: transform 0.3s ease;
}

details.ficha-section:not([open]) summary::after {
  transform: rotate(180deg);
}

div.ficha-content {
  padding: 0.5rem;
  background-color: #f5f5f5;
}

div.ficha-content p {
  font-size: 0.9rem;
}

div.campo-ficha {
  margin-bottom: 0.5rem;
  display: flex;
}

div.campo-ficha strong {
  display: block;
  color: #c84a2f;
  font-size: 0.8rem;
  margin-bottom: 0.25rem;
  margin-right: 0.5rem;
}

div.campo-ficha span {
  font-size: 0.9rem;
}

div.campo-ficha.column {
  display: flex;
  flex-direction: column;
  padding: 0;
}

div.campo-ficha.pueblo {
  display: flex;
  align-items: center;
}

div.campo-ficha.pueblo span {
  background-color: #494a4e;
  color: white;
  padding: 0.2rem;
  font-size: 0.9rem;
}

div.campo-ficha.pueblo a {
  color: white;
}

div.campo-ficha div.tags span {
  background-color: #494a4e;
  color: white;
}

div.campo-ficha div.tags a {
  color: white;
}

div.campo-ficha .iconoPdf {
  width: 6rem;
}

ul.lista-danzas {
  width: 70%;
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
}

ul.lista-danzas li {
  background: #494a4e;
  color: white;
  padding: 0.4rem 0.6rem;
  margin-bottom: 0.25rem;
}

ul.lista-danzas a {
  color: white;
}

div.tags-danzas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

div.tags-danzas span {
  background: #666;
  color: white;
  padding: 0.3rem 0.6rem;
  font-size: 0.9rem;
}

div.contenedorImgFicha img {
  width: 100%;
  height: auto;
  display: block;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}

@media (max-width: 768px) {
  .ficha-danza {
    grid-template-columns: 1fr;
  }
}

/* Apartado de los videos */
.contenedorVideos {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.video-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;

  display: flex;
  justify-content: center;
  align-items: center;

  cursor: pointer;
}

.play-icon {
  width: 70px;
  height: 70px;

  border: 4px solid #fff;
  border-radius: 50%;

  display: flex;
  justify-content: center;
  align-items: center;

  color: #fff;
  font-size: 2rem;

  transition: 0.2s;
}

.video-placeholder:hover .play-icon {
  transform: scale(1.1);
}

.video video {
  width: 100%;
  height: 100%;
}

.nombreVideo {
  font-size: 0.8rem;
}

.nombreVideo span {
  color: #d63b17;
  margin-right: 0.3rem;
}

/* Apartado de las imagenes */
div.contenedorImagenes {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

div.contenedorImagenes img {
  padding: 5px;
  background: none repeat scroll 0 0 #ffffff;
  border: 1px solid #d9d6d9;
}

/* Iconos de los audios */
.barraAudios {
  width: 12rem;
}

.contenedorAudios {
  background-color: white;
}

.btnAudios {
  align-items: flex-end;
  display: flex;
  border-bottom: 2px solid #d9d9d9;
  padding-bottom: 0.25rem;
  padding-top: 0.25rem;
}

.controlesAudios {
  display: flex;
  align-items: center;
}

.btnAudios .icono {
  height: 3rem;
}

.btnAudios .icono.next {
  transform: rotate(180deg);
}

.barraAudio {
  display: flex;
  align-items: flex-end;
  margin-right: 0.2rem;
}

.barraAudio .is-flex-grow-1 {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  margin-top: 0.35rem;
}

.barraAudio #progressBar {
  --bulma-block-spacing: 0;
}

div.btnAudios div.barraAudio span {
  font-size: 0.7rem;
}

.button.is-rounded {
  width: 60px;
  height: 60px;
  border: 3px solid #555;
}

.player {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.audio-info {
  flex: 1;
}

.timeline {
  height: 16px;
  background: #ddd;
  overflow: hidden;
}

.timeline-fill {
  width: 30%;
  height: 100%;
  background: #d84315;
}

.contenedorVolumen {
  height: 3rem;
  display: flex;
  align-items: center;
}

.volume-bar {
  width: 60px;
  height: 5px;
  background: #ddd;
}

.volume-fill {
  height: 100%;
  width: 50%;
  background: #d9481c;
}

.musicaBailes {
  font-size: 0.9rem;
  position: relative;
  padding: 12px 16px 12px 30px;
  border-top: 1px solid #ddd;
  cursor: pointer;
  color: #444;
  transition: all 0.2s;
}

.musicaBailes:hover {
  background: #f8f8f8;
}

.musicaBailes.active {
  color: #d63b17;
}

.musicaBailes.active::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 12px solid #d63b17;
}
