/* ------------------- */
/* --- ESTILOS CSS --- */
/* ------------------- */



#cursor-highlighter {
  position: fixed;
  width: 50px;
  height: 50px;
  background-color: rgba(255, 0, 51, 0.2);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease-out, opacity 0.3s;
  z-index: 9999;
}

body:hover a:hover ~ #cursor-highlighter,
body:hover button:hover ~ #cursor-highlighter {
  transform: translate(-50%, -50%) scale(1.5);
  opacity: 0.5;
}


#document-section {
  display: grid;
  grid-template-columns: 2fr 1.5fr;
  grid-template-areas:
    "header header"
    "description content"
    "instructor content"
    "details details"
    "registration registration";
  gap: 2rem 4rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.05);
  position: relative;
}

#document-section::before {
  content: "CUPOS LIMITADOS // INSCRIPCIONES ABIERTAS";
  position: absolute;
  top: 2.5rem;
  right: 2rem;
  font-family: var(--font-data);
  font-weight: 900;
  font-size: 1rem;
  color: var(--color-acento);
  text-shadow: 0px 0px 3px #FFF;
  border: 3px solid var(--color-acento);
  padding: 0.2rem 0.5rem;
  transform: rotate(-5deg);
  opacity: 0.8;
}


/*Muestras*/

#document-section-muestras {
  display: grid;
  grid-template-columns: 0.2fr 1fr;
  grid-template-areas:
    "header header"
    "description content"
    "instructor content"
    "details details"
    "registration registration";
  gap: 2rem 4rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.05);
  position: relative;
}

#retrospectiva-muestra-local {
   max-width: 1100px;
   margin: 0 auto;
}

#document-section-muestras::before {
  content: "ENTRADA LIBRE";
  position: absolute;
  top: 2.5rem;
  right: 2rem;
  font-family: var(--font-data);
  font-weight: 900;
  font-size: 1rem;
  color: var(--color-acento);
  border: 3px solid var(--color-acento);
  padding: 0.2rem 0.5rem;
  transform: rotate(-5deg);
  opacity: 0.8;
}




#taller main, #muestra-nacional main, #retrospectiva-muestra-local, #muestra-internacional main {
  background: rgba(255, 255, 255, 0.5);
}

#seminario main, #muestra-local main, #muestra-danza main {
  background: rgba(255, 255, 255, 0.7);
}

#seleccion {
  background: rgba(255, 255, 255, 0.7);
}

.main-title {
  font-family: var(--font-data);
  font-weight: 900;
  font-size: clamp(2rem, 6vw, 4rem);
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: -2px;
}

.main-title .cursor {
  display: inline-block;
  width: 1rem;
  height: clamp(1.8rem, 6vw, 4rem);
  background: var(--color-acento);
  animation: blink 0.8s steps(1) infinite;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}

.subtitle {
  font-size: 2rem;
  font-weight: 700;
  margin-top: 1rem;
  line-height: 1;
}

.description {
  grid-area: description;
}

.description p {
  max-width: 60ch;
  font-size: 1.2rem;
}

.content-section {
  grid-area: content;
}

/* --- ESTILOS DE IMAGEN AÑADIDOS --- */
.dossier-image {
  display: block;
  width: 100%;
  height: auto;
  border: 10px solid #fff;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.15);
  filter: grayscale(100%) contrast(1.1);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.dossier-image:hover {
  transform: rotate(0) scale(1.02);
  filter: grayscale(20%) contrast(1.2);
  z-index: 10;
}

.workshop-image {
  transform: rotate(2deg);
  margin-bottom: 2.5rem;
}

.instructor-image {
  width: 150px;
  height: 150px;
  object-fit: cover;
  transform: rotate(-3deg);
  float: left;
  margin: 0.2rem 1.5rem 0.5rem 0;
  shape-outside: margin-box; 
}
/* --- FIN DE ESTILOS DE IMAGEN --- */

.content-title {
  font-family: var(--font-data);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.2rem;
  color: var(--color-acento);
  margin-bottom: 1rem;
}

.content-list {
  list-style: none;
}

.content-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;  
  margin-bottom: 0.75rem;
  position: relative;
  cursor: pointer;
}

.redacted-bullet {
  width: 12px;
  height: 12px;
  background-color: var(--color-redactado);
  margin-right: 12px;
  flex-shrink: 0;
  margin-top: 6px;  
}

.content-list li .text {
  position: relative;
  display: inline-block;
}
.content-list li .text::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 60%;
  background-color: var(--color-redactado);
  transform: scaleX(0) translateY(-50%);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.76, 0, 0.24, 1);
}
.content-list li:hover .text::after {
  transform: scaleX(1) translateY(-50%);
}

/* --- ESTILOS PARA LA CAPA DE INFORMACIÓN ADICIONAL--- */
.additional-info {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.3);
  border-left: 3px solid var(--color-acento);
  padding: 10px 15px;
  margin-top: 10px;
  font-size: 0.85rem;
  font-family: var(--font-data);
  color: #333;
}

.additional-info p {
  margin-bottom: 5px;
  line-height: 1.4;
}

.additional-info strong {
  color: var(--color-texto);
  font-weight: 700;
}
/* --- FIN ESTILOS CAPA ADICIONAL --- */

.instructor-section {
  grid-area: instructor;
  transition: filter 0.5s ease;
  overflow: hidden; 
}

.instructor-name {
  font-family: var(--font-data);
  font-weight: 700;
  font-size: 1.2rem;
  text-transform: uppercase;
  color: var(--color-acento);
  margin-bottom: 0.5rem;
}

.instructor-bio {
  max-width: 60ch;
  font-size: 1rem;
  filter: blur(5px);
  transition: filter 0.4s ease;
}
.instructor-section:hover .instructor-bio {
  filter: blur(0px);
}

.details-section {
  grid-area: details;
  border-top: 1px dashed #ccc;
  margin-top: 1rem;
  padding-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  font-family: var(--font-data);
}

.detail-item {
  font-size: 0.9rem;
}
.detail-item strong {
  display: block;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-texto);
  margin-bottom: 0.2rem;
}
.detail-item span {
  color: var(--color-acento);
  font-weight: 700;
}

.registration-section {
  grid-area: registration;
  text-align: center;
  margin-top: 1rem;
}
.register-button {
  display: inline-block;
  background-color: var(--color-redactado);
  color: #fff;
  font-family: var(--font-data);
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1rem 3.5rem;
  border: 2px solid var(--color-redactado);
  transition: all 0.3s ease;
}
.register-button:hover {
  background-color: var(--color-acento);
  color: var(--color-fondo);
  border-color: var(--color-acento);
  transform: translateY(-3px);
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

@media (max-width: 900px) {
  #document-section {
    grid-template-columns: 1fr;
    grid-template-areas: "header" "description" "content" "instructor" "details" "registration";
    padding: 2rem;
  }
  #document-section::before {
    top: 1rem;
    right: 1rem;
    font-size: 0.8rem;
  }

#document-section-muestras {
    grid-template-columns: 1fr;
    grid-template-areas: "header" "description" "content" "instructor" "details" "registration";
    padding: 2rem;
  }
  #document-section-muestras::before {
    top: 1rem;
    right: 1rem;
    font-size: 0.8rem;
  }
  .instructor-image {
    float: none;
    width: 100%;
    height: auto;
    margin: 0 0 1rem 0;
    transform: rotate(-1deg);
  }
}

 

 
.maquina-escribir::after {
  content: "|";  
  margin-left: 5px;
  opacity: 1;
  color: #e06500;
  animation: parpadeo 0.7s infinite;
}


@keyframes parpadeo {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}
