@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;
}
.paragraph-id--16 .container__text,
.paragraph-id--60 .container__text {
  width: 640px;
  margin: 0 auto;
}
.container__text h3 {
  font-size: 1.2rem;
}
.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;
  position: relative;
  margin: 2.5rem 0;
}

.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.4;
  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;
  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;
  padding: 0;
  padding: 2.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.agenda__wrapper {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 3rem 0;
}

.agenda-image {
  flex: 4;
  position: sticky;
  top: 100px;
}

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

.agenda__content .agenda {
  flex: 8;
  list-style: none;
  padding: 0;
  margin: 0;
}

.agenda__container {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
  align-items: start;
  padding: 15px;
  list-style: none;
  border-radius: 10px;
}

.agenda-futuro .agenda__date {
  grid-column: span 2;
  font-weight: bold;
  color: #333;
  background-color: var(--accent-gold);
}
.agenda__date {
  grid-column: span 2;
  font-weight: bold;
  color: #333;
  background-color: var(--gray-light);
}

.agenda__title {
  grid-column: span 10;
}
.agenda__title h3 {
  margin-bottom: 0;
  font-size: 1.5rem;
}
.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;
  text-align: center;
  padding: 10px 20px;
}
.agenda__date .mes-anio {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-direction: row;
  font-size: 0.9rem;
}
ul.prensa {
  margin: 0;
  padding: 0;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  display: grid;
  list-style: none;
}
.presa__item {
  display: grid;
  grid-template-columns: 4fr 6fr;
  gap: 14px;
}
.prensa__imagen {
  border-radius: 14px;
  overflow: hidden;
}
#block-views-block-prensa-block-1 {
  padding: 2.5rem 0;
}
.prensa__list {
  padding: 2rem 0;
  border-bottom: solid 1px var(--gray-light);
}
#block-views-block-prensa-block-1 .container:last-child .prensa__list {
  border-bottom: none;
}
.field--name-field-text a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.field--name-field-text section {
  padding: 0 0 2.5rem 0;
}
.author-info {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  justify-content: center;
  font-family: "Urbanist", sans-serif;
  font-size: 1rem;
  font-weight: normal;
}
.prensa-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem;
}
@media screen and (max-width: 768px) {
  .prensa-list {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 4rem;
  }
  .agenda__wrapper {
    flex-direction: column;
  }

  .agenda-image,
  .agenda__content .agenda {
    flex: 1 1 100%;
    width: 100%;
  }
  ul.prensa {
    margin: 0;
    padding: 0;
    gap: 20px;
    display: block;
    list-style: none;
  }
  .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%;
  }
  .logos img {
    width: auto;
    max-width: 140px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: opacity 0.3s ease;
  }
  .paragraph-id--16 .container__text,
  .paragraph-id--60 .container__text {
    width: 100%;
    margin: 0 auto;
  }
}
