@font-face {
  font-family: 'Merriweather';
  src: url('../fonts/Merriweather/Merriweather-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Merriweather';
  src: url('../fonts/Merriweather/Merriweather-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Merriweather';
  src: url('../fonts/Merriweather/Merriweather-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Merriweather';
  src: url('../fonts/Merriweather/Merriweather-BoldItalic.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* Body de los contenidos */
.node .field--name-body,
.page-node-type-article .field--name-body {
  font-family: 'Merriweather', Georgia, serif;
}
.body img{
  max-width: 100%;
  height: auto;
}
.page-node-type-evento .evento-full .img-header img{
  width: 500px;
  height: 250px;
  display: block;
  border-radius: 10px;
  object-fit: cover;

}
.page-node-type-evento .field--name-field-media-image{
  float: left;

}
.page-node-type-evento .field--name-field-media-image .field__item{
  width: 500px;
  height: 250px;
  overflow: hidden;
  cursor: pointer;
  padding: 0 20px 0 0;
  border-right: 11px solid #0F2E63;
  margin-right: 20px;
}
.page-node-type-evento .field--name-field-media-image img {
  cursor: zoom-in;
}

/* Modal */
.image-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  z-index: 9999;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.image-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.image-lightbox__img {
  max-width: 95vw;
  max-height: 92vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  background: #fff;

  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.image-lightbox.is-open .image-lightbox__img {
  opacity: 1;
  transform: scale(1);
}

.image-lightbox__close {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 42px;
  line-height: 1;
  color: #fff;
  background: transparent;
  border: 0;
  cursor: pointer;

  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.image-lightbox.is-open .image-lightbox__close {
  opacity: 1;
  transform: translateY(0);
}

body.lightbox-open {
  overflow: hidden;
}