body {
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  height: 100%;
  width: 100%;
}

.paiting_image_popup,
.paiting_video_popup {
  background: #1a2433;
  color: #fff;
  bottom: 0;
  display: none;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  height: 100%;
  padding: 2rem 6vw;
  z-index: 12;
}

.paiting_image_popup.visible {
  background: rgb(153 153 153 / 20%) !important;
  backdrop-filter: blur(25px);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  display: block;
  z-index: 100;
}
.paiting_image_popup.visible .btn {
  position: absolute;
  padding: 10px;
  height: 50px;
  width: 50px;
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 14px;
  z-index: 11;
  cursor: pointer;
}

.paiting_image_popup #image {
  cursor: grab;
  height: 100%;
  width: 100%;
}

.paiting_video_popup .video {
  display: block;
  margin: 0 auto;
  max-width: 800px;
  margin-top: 1rem;
  width: 100%;
}

.paiting_video_popup.visible {
  display: block;
}

.arrow_btn {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-decoration: none;
}

.arrow_btn_block {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  align-items: center;
  display: flex;
  justify-content: center;
  position: relative;
  width: 3rem;
  height: 3rem;
  overflow: hidden;
  z-index: 10;
}

.arrow_btn_block svg {
  width: 1.5rem;
  height: 1.5rem;
  margin: 0 !important;
}

.arrow_btn img {
  display: none;
  border-radius: 0.5rem;
  object-fit: cover;
  max-height: 70%;
  width: 80%;
}

.arrow_btn svg {
  margin: 0.5rem 2rem 0 2rem;
}

.mc-zoom-controls {
  z-index: 5;
}

.person__gallery_item {
  cursor: pointer;
  color: #000;
  display: inline-block;
  font-family: "BanamexDisplay";
  font-size: 1rem;
  font-style: normal;
  font-weight: 400 !important;
  line-height: normal;
  text-transform: uppercase;
  position: relative;
  margin-right: 1rem;
  margin-bottom: 2rem;
  text-decoration: none;
  width: 10.25rem;
}

.person__gallery_item .cover {
  background: #1a2431;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  border-radius: 1.3125rem;
  height: 15.1875rem;
  overflow: hidden;
  width: 10.25rem;
}

.person__gallery_item .letter {
  color: #f6eb66;
  display: block;
  font-size: 12rem;
  line-height: 12rem;
  margin-top: -2.5rem;
  margin-left: -1.1rem;
}

#persona_popup .close_btn {
  font-size: 1rem;
  -webkit-filter: invert(100%);
  filter: invert(100%);
  color: #fff;
  cursor: pointer;
  position: absolute;
  right: 5%;
  top: 5%;
  width: 1.66rem;
}

.paiting__container .info .legales {
  padding: 20px 0;
  color: #888;
}

.no-scroll {
  overflow: hidden;
}

@media screen and (max-width: 768px) {
  .splide__slide {
    padding: 0;
    height: 50vh;
  }

  .paiting.more-info .text {
    font-size: 1.1rem;
    line-height: 130%;
    margin-top: 0;
  }

  .mc__related_container {
    background: white;
    display: flex;
    gap: 4vw;
    flex-wrap: wrap !important;
    padding: 1rem 1rem;
    margin: 0;
  }

  .person__gallery_item {
    margin-right: 0;
    width: 42vw;
  }

  .person__gallery_item .cover {
    width: 100%;
  }

  .action-btn {
    display: none;
  }

  .paiting {
    background: rgb(0, 0, 0);
    background: linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.9) 10%,
      rgba(0, 0, 0, 0.4) 55%,
      rgba(255, 255, 255, 0) 100%
    );
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 10% 30% 10% 50%;
    padding: 2rem 6vw 2rem 6vw;
    overflow: hidden;
    grid-template-areas:
      "cover . close"
      ". . ."
      "left . right"
      "content content content"
      /*"video . more"*/;
  }

  .paiting .action-btn {
    margin-top: 0.5rem;
  }

  .paiting .close_btn {
    display: flex;
    grid-area: close;
    justify-content: flex-end;
  }

  .paiting.more-info {
    background: rgb(0, 0, 0);
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.74) 46%,
      rgb(0, 0, 0, 0.99) 100%
    );
    grid-template-rows: 10% 85% 5%;
    grid-template-areas:
      "cover . close"
      "content content content"
      "video . more";
  }

  .arrow_btn_block span {
    display: none;
  }

  .arrow_btn svg {
    margin: 0;
  }

  .paiting.more-info .arrow_btn {
    display: none;
  }

  .video_btn_container,
  .more_btn_container {
    align-items: center;
    display: flex;
  }

  .video_btn_container {
    grid-area: video;
  }

  .more_btn_container {
    grid-area: more;
    justify-content: flex-end;
  }

  .more_btn_container .more_btn {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .more_btn_container .more_btn svg {
    margin-left: 0.5rem;
  }

  .play_btn {
    align-items: center;
    border: solid 1px #fff;
    border-radius: 50%;
    display: flex;
    margin-left: 0.5rem;
    justify-content: center;
    height: 1.8rem;
    width: 1.8rem;
  }

  .video_btn,
  .more_btn {
    align-items: center;
    color: #fff;
    font-family: "BanamexDisplay";
    font-size: 0.8125rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
    display: flex;
    width: 100%;
  }

  .more_btn .hide,
  .paiting.more-info .show {
    display: none;
  }

  .paiting.more-info .hide {
    display: block;
  }

  .paiting.more-info .paiting__container {
    overflow-y: scroll;
    display: block;
  }

  .paiting.more-info .paiting__container .text {
    display: block;
  }

  .paiting.more-info .mini-content {
    display: block;
  }

  .paiting.more-info .more_btn svg {
    margin-right: 0.5rem;
    transform: rotate(180deg);
  }

  .paiting .cover {
    position: relative;
    border: solid 1px #fff;
    margin: 40px 0 -40px 0;
  }

  .paiting .cover img {
    background: #1a2433;
    object-fit: contain;
    height: 100%;
    width: 100%;
  }

  .paiting .cover .zoom-icon {
    background: transparent;
    object-fit: cover;
    height: 1.5rem;
    width: 1.5rem;
    position: absolute;
    right: 10px;
    bottom: 10px;
  }

  .paiting__container .info {
    font-size: 1rem;
    line-height: 1.1rem;
  }

  .pintura-template-default footer {
    display: none !important;
  }

  .left_btn {
    grid-area: left;
  }

  .right_btn {
    align-items: flex-end;
    grid-area: right;
  }

  .paiting__container {
    color: #fff;
    display: flex;
    flex-direction: column;
    grid-area: content;
    justify-content: flex-end;
    padding-top: 2rem;
    max-height: 80vh;
  }

  .paiting_video_popup .title,
  .paiting__container .title {
    font-family: "BanamexDisplay";
    font-size: 1.4rem;
    font-style: normal;
    font-weight: 400;
    line-height: 120%; /* 120% */
    margin: 0;
  }

  .paiting__container .info .legales {
    padding: 0;
  }

  .paiting__container .text {
    display: none;
    color: #fff;
    text-overflow: ellipsis;
    font-family: "BanamexText";
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.25rem; /* 125% */
    margin: 2rem 0;
  }

  .mc__related_title {
    margin: 0 6vw 1rem 6vw;
  }

  .mini-content {
    background-color: white;
    padding-top: 1rem;
  }

  .paiting_video_popup .author,
  .paiting__container .author {
    /*color: #f6eb66;*/
    color: #fff;
    font-family: "BanamexDisplay";
    font-size: 0.8rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
    margin: 0.4rem 0;
  }

  .paiting__container .info * {
    text-overflow: ellipsis;
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.1rem; /* 125% */
    margin: 0 0 5px 0;
  }

  .paiting__container .info .legales {
    text-overflow: ellipsis;
    font-size: 0.8rem;
    font-style: normal;
    font-weight: 400;
    line-height: 120%; /* 125% */
    margin: 0 0 5px 0;
  }
}

#image * {
  outline: none;
}

@media screen and (min-width: 769px) {
  .cover .image {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    object-fit: cover;
  }

  .cover .zoom-icon {
    display: none;
  }

  .back_history.close_btn {
    left: calc(5% - 21px);
  }

  body {
    background-image: none !important;
  }

  .paiting_video_popup .video {
    height: 100%;
    max-height: 60vh;
  }

  .video_btn_container {
    color: #fff;
    position: absolute;
    display: flex;
    right: 5%;
    bottom: 5%;
    z-index: 5;
  }

  .video_btn_container .video_btn {
    cursor: pointer;
    align-items: center;
    display: flex;
  }

  .play_btn {
    align-items: center;
    border: solid 1px #fff;
    border-radius: 50%;
    display: flex;
    margin-left: 0.5rem;
    justify-content: center;
    height: 1.8rem;
    width: 1.8rem;
  }

  .overflow .sticky-container {
    backdrop-filter: none;
  }

  .close_btn img {
    filter: invert(1);
  }

  .mini-content {
    background: #fff;
  }

  .mini-content .mc__related {
    font-size: 2rem;
    padding: 1rem 2rem;
    z-index: 5;
  }

  .mc__related_title {
    font-size: 2rem;
  }

  .mc__related_container {
    display: flex;
    flex-wrap: wrap;
  }

  .container-fluid {
    /*backdrop-filter: blur(10px);*/
    position: relative;
  }

  .paiting {
    display: grid;
    grid-template-columns: 10% 80% 10%;
    grid-template-rows: 10% 80% 10%;
    overflow: hidden;
    grid-template-areas:
      ". cover close"
      "left cover right"
      ". cover .";
    position: relative;
  }

  .paiting .close_btn {
    align-items: center;
    display: flex;
    justify-content: center;
    grid-area: close;
    z-index: 12;
  }

  .cover {
    cursor: zoom-in;
    grid-area: cover;
  }

  .cover img {
    object-fit: contain;
    height: 100%;
    width: 100%;
  }

  .arrow_btn {
    align-items: center;
    display: flex;
    justify-content: center;
  }

  .arrow_btn_block span {
    display: none;
  }

  .left_btn {
    grid-area: left;
  }

  .right_btn {
    grid-area: right;
  }

  .more_btn_container {
    display: none;
    color: #fff;
  }

  .paiting__container {
    background: rgb(0, 0, 0);
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.74) 90%,
      rgb(0, 0, 0, 0.99) 100%
    );
    bottom: 0;
    left: 0;
    padding: 2rem 5vw;
    position: absolute;
    max-height: 40vh;
    right: 0;
    z-index: 5;
  }

  .paiting__container .text {
    display: none;
    color: #fff;
    text-overflow: ellipsis;
    font-family: "BanamexText";
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 130%;
    margin: 1rem 0;
  }

  .paiting__container .title {
    color: #fff;
    font-family: "BanamexDisplay";
    font-size: 1.77rem;
    font-style: normal;
    font-weight: 400;
    line-height: 130%;
    margin: 0 0 0.5rem 0;
    max-width: 80vw;
  }

  .paiting.more-info .paiting__container {
    max-height: 100%;
  }

  .paiting__container .author {
    /*color: #f6eb66;*/
    color: #fff;
    font-family: "BanamexDisplay";
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin: 0.3rem 0;
    text-transform: uppercase;
  }

  .paiting__container .info * {
    color: #fff;
    text-overflow: ellipsis;
    font-family: "BanamexText";
    font-size: 0.8rem;
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
    margin: 0 0 5px 0;
  }

  .paiting.more-info .paiting__container .text {
    display: block;
  }
}
