@import "layout/header.css";
@import "layout/footer.css";
@import "layout/menu.css";
*::before,
*::after,
* {
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
:root {
  --white: #ffffff;
  --bg-light: #f9f7f5;
  --black: #0f0e0e;
  --gray-dark: #2d2d2d;
  --gray-medium: #706f6f;
  --gray-light: #e8e4e1;
  --accent-red: #8b0000;
  --accent-gold: #c5a059;
  --accent-blue: #1a2433;
  --blue-light: #85bedd;
  --overlay: rgba(15, 14, 14, 0.8);
}
body {
  font-family: "Urbanist", sans-serif;
  font-weight: 400;
  line-height: 1.6;
  font-size: 1.125rem;
  letter-spacing: 0.02em;
  color: var(--gray-dark);

  margin: 0;
  padding: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a {
  text-decoration: none;
  color: var(--accent-red);
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
.container__text {
  display: block;
  text-align: center;
  width: 600px;
  margin: 0 auto;
}
.container__text ul {
  display: inline-block;
  text-align: left;
}
.container {
  width: 100%;
  max-width: 100%;
  padding-left: 1rem;
  padding-right: 1rem;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

/* >= 640px - móviles grandes / pequeños tablets */
@media (min-width: 640px) {
  .container {
    max-width: 640px;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

/* >= 768px - tablets */
@media (min-width: 768px) {
  .container {
    max-width: 768px;
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* >= 1024px - portátiles */
@media (min-width: 1024px) {
  .container {
    max-width: 1024px;
    padding-left: 3rem;
    padding-right: 3rem;
  }
}

/* >= 1280px - escritorios */
@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
    padding-left: 4rem;
    padding-right: 4rem;
  }
}

/* >= 1536px - pantallas grandes / retina */
@media (min-width: 1536px) {
  .container {
    max-width: 1536px;
    padding-left: 5rem;
    padding-right: 5rem;
  }
}
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--black);
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 1.25rem;
  text-rendering: optimizeLegibility;
  letter-spacing: -0.02em;
}

h1 {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 2rem;
  font-family: "Prata";
}

h2 {
  font-size: 2.5rem;
  line-height: 1.2;
  font-family: "Prata";
}

h3 {
  font-size: 1.75rem;
  line-height: 1.3;
}

h4 {
  font-size: 1.25rem;
  line-height: 1.4;
  letter-spacing: normal;
}

h5 {
  font-size: 1.1rem;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

h6 {
  font-size: 0.9rem;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--gray-medium);
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
  h2 {
    font-size: 2rem;
  }
  h3 {
    font-size: 1.5rem;
  }
}

.gallery__wrapper {
  width: 100%;
  overflow: hidden;
  background: var(--white);
  position: relative;
}

.gallery__wrapper .field--name-field-slider-de-imagenes {
  display: flex !important;
  flex-wrap: nowrap !important;
  width: max-content;
  will-change: transform;
  animation: scroll-infinito 40s linear infinite;
}

.gallery__wrapper .field--name-field-slider-de-imagenes:hover {
  animation-play-state: paused;
}

@keyframes scroll-infinito {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.gallery__wrapper .field__item,
.gallery__wrapper .lightgallery {
  display: contents !important;
}

.gallery__wrapper .lightgallery__items {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 30px !important;
  padding: 80px 0;
}

.gallery__wrapper .lightgallery__item {
  flex: 0 0 auto;
  width: 500px;
  margin: 0 !important;
  cursor: pointer;
}

.gallery__wrapper .lightgallery__item img {
  width: 100%;
  height: auto;
  border-radius: 30px;
  display: block;
}

.gallery__wrapper .lightgallery__item:nth-child(odd) {
  transform: translateY(-30px);
}

.gallery__wrapper .lightgallery__item:nth-child(even) {
  transform: translateY(30px);
}

.lg-outer {
  z-index: 2000 !important;
}
.entrada {
  padding: 2.5rem 0px;
  text-align: center;
  width: 700px;
  display: block;
  margin: 0 auto;
}
blockquote {
  margin: 0;
  padding: 0;

  position: relative;
}

blockquote p {
  font-family: "Prata";
  font-size: 2.5rem;
  line-height: 1.2;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 0.5rem;
}

blockquote cite {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #777;
  font-style: normal;
}

/* Opcional: añade una comilla elegante al principio */
blockquote::before {
  content: "\201C"; /* Símbolo de comilla de apertura */
  font-size: 4rem;
  color: #ccc;
  position: absolute;
  top: -10px;
  left: 10px;
  opacity: 0.3;
}
.ficha-artistica {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: 60px;
  width: 900px;
  margin: 0 auto;
  padding-bottom: 2.5rem;
}
.ficha-artistica h4 {
  margin: 20px 0 0 0;
}
.ficha-artistica ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
strong {
  font-weight: 700;
}

.espectaculos__content,
.agenda__content {
  padding: 2.5rem 0;
}
ul.espectaculos {
  margin: 2.5rem 0;
  padding: 0;
  list-style: none;
  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;

  justify-content: center;

  margin-left: auto;
  margin-right: auto;
}
ul.espectaculos h3 {
  display: block;
  margin-top: 14px;
}
ul.espectaculos img {
  border-radius: 30px;
  transition:
    transform 0.4s ease,
    opacity 0.3s ease,
    box-shadow 0.4s ease;
}

ul.espectaculos img:hover {
  transform: translateY(-15px);
  opacity: 1;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.field--name-field-videos {
  text-align: center;
}
section#videos {
  text-align: center;
}
h2.title-block {
  text-align: center;
}
.field--name-field-equipo-tecnico p:first-child {
  margin-top: 0;
}
.agenda {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  padding: 2.5rem 0;
  width: 700px;
}
.agenda__container {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
  align-items: start;
  padding: 15px 0;
  list-style: none;
}

.agenda__date {
  grid-column: span 3;
  font-weight: bold;
  color: #333;
}

.agenda__title {
  grid-column: span 9;
}
.agenda__title h3 {
  margin-bottom: 0;
}
.lugar {
  display: block;
  font-style: italic;
  color: #666;
  margin-bottom: 10px;
}
.agenda__date div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.agenda__date div span.dia {
  font-size: 4rem;
  background-color: var(--accent-gold);
  padding: 10px 20px;
}
.agenda__date .mes-anio {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-direction: row;
}

@media screen and (max-width: 768px) {
  .video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 0;
    height: 0;
    overflow: hidden;
    margin-bottom: 20px;
  }
  .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    border: 0;
  }
  .agenda__container {
    grid-template-columns: 1fr;
  }
  .agenda__date,
  .agenda__title {
    grid-column: span 1;
  }
  .container__text {
    width: 100%;
  }
  .entrada {
    width: 100%;
  }
  .ficha-artistica {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    width: 100%;
    margin: 0 auto;
    padding-bottom: 2.5rem;
  }
  blockquote p {
    font-family: "Prata";
    font-size: 1.5rem;
    line-height: 1.1;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 0.5rem;
  }
  .agenda {
    width: 100%;
  }
}
