@font-face {
  font-family: "BanamexDisplay";
  src: url("/wp-content/themes/comunidades_2025/fonts/Banamex_font/BanamexDisplay-Regular.otf")
    format("opentype");
}

@font-face {
  font-family: "BanamexText";
  src: url("/wp-content/themes/comunidades_2025/fonts/Banamex_font/BanamexText-Regular.otf")
    format("opentype");
}

@font-face {
  font-family: "Inter-Bold";
  src: url("/wp-content/themes/comunidades_2025/fonts/Banamex_font/BanamexText-Bold.otf")
    format("opentype");
}

@font-face {
  font-family: "Interstate Light";
  src: url("/wp-content/themes/comunidades_2025/fonts/Banamex_font/BanamexDisplay-Regular.otf")
    format("opentype");
}
@font-face {
  font-family: "Interstate bold";
  src: url("/wp-content/themes/comunidades_2025/fonts/Banamex_font/BanamexText-Bold.otf")
    format("opentype");
}

@font-face {
  font-family: "Interstate Adobe Light";
  src: url("/wp-content/themes/comunidades_2025/fonts/Banamex_font/BanamexDisplay-Regular.otf")
    format("opentype");
}

@font-face {
  font-family: "BanamexMicro";
  src: url("/wp-content/themes/comunidades_2025/fonts/Banamex_font/BanamexMicro-Regular.otf")
    format("opentype");
}

@view-transition {
  navigation: auto;
}
::view-transition-old(root) {
  animation: fade-out 1s forwards;
}
::view-transition-new(root) {
  animation: fade-in 1s forwards;
}
@keyframes fade-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
@keyframes fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.search__paginator .arrow {
  padding: 5px 10px;
}

.search__paginator .arrow img {
  height: 1rem;
  /*filter: invert(1) brightness(10);*/
}

.exposicion-template-default .back_history.close_btn {
  display: none;
}

.iframe__mode header,
.iframe__mode footer,
.iframe__mode #footer {
  display: none !important;
}

.iframe__mode .close_btn {
  display: none !important;
}

.iframe__mode .mc__related {
  display: none;
}

#persona_popup.white_bg {
  background: #fff;
}

.white_bg .close_btn {
  filter: invert(0%);
}

.close_btn a {
  background-color: rgba(0, 0, 0, 0.3);
  padding: 10px;
  height: 42px;
  border-radius: 30%;
}

.back_history_abs.close_btn,
.back_history.close_btn {
  height: 35px;
  width: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.back_history_abs.close_btn {
  position: absolute;
  z-index: 2;
  left: 20px;
  top: 20px;
}
.back_history_abs.close_btn img,
.back_history.close_btn img {
  transform: rotate(180deg);
  transform-origin: center;
  display: block;
}
.back_history_abs.close_btn img {
  filter: invert(1);
}
.back_history_abs.close_btn a,
.back_history.close_btn a {
  padding: 0;
  border-radius: 0;
  background: none;
  height: auto;
}

#back_btn .arrow,
.back_history.close_btn img,
.back_history_abs.close_btn img {
  height: 35px;
  width: 35px;
}
#back_btn .arrow {
  cursor: pointer;
}

html,
body {
  color: #003746;
  margin: 0;
  padding: 0;
  min-height: 100%;
  max-width: 100vw;
  position: relative;
  font-family: "BanamexText";
}

input {
  font-family: "BanamexText";
}

.font_green {
  color: #003746;
}

.mc-entrevistas-template-default .mc-tag img,
.mc-glosario-economic-template-default .mc-tag img {
  height: 8rem;
  width: 8rem;
}

.mc-encuentra-las-dif-template-default .overlay_cursor {
  background: rgba(0, 0, 0, 0.01) !important;
  cursor: default;
}

.mc-encuentra-las-dif-template-default.logged-in .overlay_cursor {
  background: rebeccapurple !important;
}
/*.mc-meme-template-default .mc-info .action-btn {
  display: none;
}*/

@media screen and (min-width: 769px) {
  .mc-meme-template-default .mc-info .mc-fuente {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
  }

  .mc-meme-template-default .mc-info.visible .mc-fuente {
    display: block;
  }

  /*.mc-meme-template-default .mc-info .action-btn {
    display: block;
  }*/
}

.search-form img,
#open_searchbar {
  cursor: pointer;
  filter: invert(1) brightness(10);
}

#close_searchbar {
  border-radius: 10px;
  aspect-ratio: 1;
  align-items: center;
  background: #eabcff;
  display: flex;
  justify-content: center;
  height: 20px;
  width: 20px;
  z-index: 1;
}

.mc-encuentra-las-dif-template-default .tooltip {
  min-width: 10px;
  font-size: 0.7rem;
  padding: 0.5rem 0.8rem;
  top: 0%;
}

.mc-encuentra-las-dif-template-default .tooltip .icon {
  object-fit: cover;
  height: 100%;
  width: 100%;
}

/* STICKY FOOTER */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

header,
footer {
  flex-grow: 0;
  flex-shrink: 0;
  flex-basis: auto;
}

.sticky-container {
  flex-grow: 1;
  flex-shrink: 0;
  flex-basis: auto;
  position: relative;
}
/* STICKY FOOTER */

.font_title {
  font-family: "BanamexDisplay";
}
.font_light {
  font-family: "Interstate Light";
}
uppercase {
  text-transform: uppercase;
}
b,
strong {
  font-family: "Interstate bold";
}
a,
a:hover,
a:visited {
  color: #000;
}
.wp-block-heading {
  font-family: "BanamexDisplay";
}

.wp-block-embed {
  padding: 3vh 0;
}
.wp-block-embed__wrapper {
  position: relative;
  height: 0;
  padding-top: 56.25%;
}
.wp-block-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

* {
  box-sizing: border-box;
}

.header {
  /*border-bottom: solid 1px #000;*/
  align-items: center;
  display: flex;
  justify-content: space-between;
  /*   padding: 1rem 0.7rem; */
  padding: 2rem 2rem;
  max-width: 100vw;
  overflow: auto;
}
.header .logo img {
  height: 16px;
}
.header #header-menu ul {
  display: none;
}
#main_header {
  overflow: visible;
  min-height: 50px;
  z-index: 1;
}
#header-menu .nav-item {
  position: relative;
}
#header-menu .nav-item .sub-menu {
  position: absolute;
  top: 20px;
  left: 0;
  height: 160px;
  width: 270px;
  background: #003746;
  display: none;
  flex-direction: column;
  border-bottom-right-radius: 20px;
  border-bottom-left-radius: 20px;
  padding-top: 10px;
}

#header-menu .nav-item:hover .sub-menu {
  display: flex;
}

#main_header_title {
  color: #000;
  font-family: "BanamexText";
  font-size: 1rem;
  font-style: normal;
  font-weight: 600;
  line-height: 104%; /* 1.04rem */
  letter-spacing: -0.03rem;
  margin: 0;
  flex: 1;
  text-align: center;
}

#page_header .logo,
#page_header #menu_btn {
  width: 2rem;
}

/*.libro-template-default .logo {
  display: none;
}*/

/*#main_header #menu_btn {
  padding-left: 20vw;
}*/

.off-menu a {
  text-align: left;
  color: #000;
  display: block;
  font-family: "BanamexDisplay";
  font-size: 1.875rem;
  font-style: normal;
  font-weight: 400;
  line-height: 2.25rem; /* 120% */
  text-decoration: none;
  margin-bottom: 0.5rem;
  hyphens: auto;
}

.off-menu ul {
  padding: 0;
}

.off-menu ul li {
  list-style: none;
}

.off-menu__footer {
  align-items: center;
  color: #000;
  display: flex;
  font-family: "BanamexDisplay";
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 400;
  line-height: 0.875rem; /* 116.667% */
  letter-spacing: -0.0225rem;
  text-transform: uppercase;
  width: 100%;
}

.off-menu nav {
  flex: 1;
  text-align: center;
  padding-top: 1rem;
  width: 100%;
}

.off-menu__footer span {
  margin-left: 5px;
  max-width: 70%;
}

.off-menu_container {
  bottom: 0;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  height: 100%;
  transform: translateX(-300vh);
  transition: transform 0.5s ease-in-out;
  z-index: 100;
}

.off-menu {
  background: #fff;
  box-sizing: border-box;
  height: 100%;
  width: 100vw;
}

.off-menu__content {
  padding: 6vw;
}

.off-menu .ul-header-menu {
  padding: 0 10vw;
}

.show_menu .off-menu_container {
  transform: translateX(0);
}

.show_menu {
  overflow-y: hidden;
  max-height: 100%;
}

#footer {
  align-items: center;
  background: #f5f4f1;
  display: flex;
  justify-content: center;
  padding: 2rem 10%;
}

#footer img {
  margin-left: 0.7rem;
}

.home #footer {
  display: none;
}

#footer_home {
  align-items: center;
  background: #f5f4f1;
  color: #003746;
  display: none;
  flex-direction: column;
  padding: 1rem 0;
  position: relative;
}

#footer {
  display: none !important;
}

.home #footer_home {
  display: grid;
}

#footer_home .logo_centered {
  display: none;
}

#footer_home .main img {
  display: none;
}

#footer_home ul {
  margin: 0;
  padding: 0;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

#footer_home #ul-footer-menu {
  flex-direction: column;
  text-align: right;
  gap: 1vh;
  font-size: 1rem;
  font-family: "BanamexDisplay";
  text-transform: uppercase;
  margin-bottom: 2vh;
}
#footer_home ul li {
  list-style: none;
}

#footer_home ul li a {
  color: #000;
  text-decoration: none;
}

#footer_home .main a {
  margin: 0;
}

#footer_home #rss-menu {
  margin-bottom: 1rem;
}

#footer_home .links a {
  margin: 0 1rem;
  color: #003746;
  font-family: "BanamexText";
  font-size: 0.6875rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: -0.02063rem;
}

#footer_home .links .copyright {
  display: none;
}

#footer_home .main {
  margin-bottom: 1rem;
  color: #003746;
  font-family: "BanamexText";
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: -0.0225rem;
}

.select__container {
  display: flex;
  color: #003746;
  font-family: "BanamexDisplay";
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.5rem; /* 150% */
  letter-spacing: -0.03rem;
  position: relative;
}

.select__info {
  border-radius: 1.5rem;
  position: relative;
  cursor: pointer;
}

.select__info .icon {
  margin-left: 0.5rem;
}

.select__title {
  background: #dae9ee;
  border-radius: 12px;
  color: #fff;
  padding: 0.5rem 1.5rem;
  position: relative;
}

.select__title img {
  /*filter: invert(1) brightness(10);*/
}

.body-blur .select__title {
  background: #fff;
  color: #000;
  border-radius: 0;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.body-blur .select__title img {
  filter: invert(0) brightness(10);
}

.select__title::after {
  bottom: 0;
  content: "";
  display: flex;
  width: 0.6rem;
  height: 0.6rem;
  right: -0.6rem;
  position: absolute;
  transform: scale(-1, 1) rotate(0deg);
  background: radial-gradient(circle at 0% 0%, transparent 0.6rem, #fff 0.6rem);
}

/*
.select__title::before {
  bottom: 0;
  content: "";
  display: flex;
  width: 0.6rem;
  height: 0.6rem;
  left: -0.6rem;
  position: absolute;
  transform: scale(-1, 1) rotate(90deg);
  background: radial-gradient(circle at 0% 0%, transparent 0.6rem, #fff 0.6rem);
}
*/

.select__options {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 80;
  margin: 0 1rem;
  cursor: pointer;
}

.select__option {
  background: #fff;
  padding: 0.5rem 2rem;
  cursor: pointer;
}

.select__option:last-child {
  border-bottom: none;
}

.select__container.display .select__options {
  display: block;
}

.uppercase {
  text-transform: uppercase;
}

.splide__arrow.hide {
  display: none;
}

/* Exposiciones * /

.exposiciones {
  padding: 0 6vw;
}

.exposiciones__title {
  color: #000;
  font-family: "BanamexDisplay";
  font-size: 1.875rem;
  font-style: normal;
  font-weight: 400;
  line-height: 2.125rem; /* 113.333% * /
  letter-spacing: -0.05625rem;
  text-transform: uppercase;
}

.exposiciones__cover {
  object-fit: cover;
  aspect-ratio: 1;
  width: 100%;
}

.exposiciones__date {
  color: var(--gris-60, #B7B7B7);
  font-family: "BanamexDisplay";
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.5rem; /* 150% * /
  letter-spacing: -0.03rem;
  text-transform: uppercase;
}

.exposiciones__content {
  color: #000;
  font-family: "BanamexText";
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.5rem; /* 150% * /
  letter-spacing: -0.03rem;
}

.exposiciones__subtitle {
  color: #000;
  font-family: "BanamexDisplay";
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.5rem; /* 150% * /
  letter-spacing: -0.03rem;
  text-transform: uppercase;
  border-bottom: solid 1px #000;
  padding-bottom: 0.5rem;
}

.exposiciones__paragraph_title {
  color: #000;
  font-family: "BanamexText";
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 600;
  line-height: 1.5rem; /* 171.429% * /
  letter-spacing: -0.02625rem;
  margin: 0.3rem 0;
}

.exposiciones__paragraph {
  color: #000;
  font-family: "BanamexText";
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.5rem;
  letter-spacing: -0.02625rem;
}
*/

.actividad-template-default #page_header {
  display: none;
}

.white-bg {
  background: #fff;
}

.person__gallery_item h3 {
  font-family: "BanamexDisplay";
  font-size: 0.8rem;
  line-height: 1rem;
  font-style: normal;
  font-weight: 400 !important;
  /*margin: 1rem 0;*/
}

.person__gallery_item .content {
  align-items: center;
  bottom: 0.5rem;
  background: #ff1b44;
  border-radius: 10px;
  color: #fff;
  display: flex;
  left: 0.5rem;
  padding: 0 0.5rem;
  position: absolute;
  right: 0.5rem;
  gap: 0.5rem;
}

.person__gallery_item .content img {
  /*margin-right: 0.5rem;*/
  height: 1.3rem;
}

.search__view {
  max-width: 90vw;
  margin: 0 auto;
  padding: 3vh 0;
}
.search__view .results {
  padding: 20px 0;
}
.search__view .results p {
  font-size: 16px;
  line-height: 16px;
  margin: 0;
}
.search__view .results h1 {
  color: #cccccc;
  margin: 10px 0 0;
  font-size: 42px;
  line-height: 46px;
}
.search__view .item {
  margin-bottom: 20px;
}
.search__view .search_item {
  text-decoration: none;
  display: flex;
  gap: 10px;
}
.search__view .search_item .cover {
  aspect-ratio: 16 / 11;
  width: 160px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 24px;
  height: 110px;
}
.search__view .search_item .content {
  padding: 10px 0;
  width: calc(100% - 170px);
}
.search__view .search_item .content .title {
  margin: 0 0 10px;
}
.search__view .search_item .content p {
  margin: 0 0 5px;
}
.search__view .search_item .content p br:first-child {
  display: none;
}

.search__paginator {
  align-items: center;
  display: flex;
  justify-content: center;
}
.search__paginator ul {
  list-style: none;
  padding: 0;
}
.search__paginator ul li {
  display: inline-block;
  vertical-align: middle;
}
.search__paginator ul li a,
.search__paginator .arrow {
  color: #000;
  cursor: pointer;
  font-family: "BanamexMicro";
  text-decoration: none;
  padding: 5px 10px;
  margin: 5px;
}
.search__paginator .arrow {
  transition: scale 1s ease;
}
.search__paginator .arrow:hover {
  transform: scale(1.2);
}
.search__paginator ul li a.active {
  border-radius: 5px;
  border: solid 1px #000;
}
.search__paginator ul li a.disable {
  cursor: default;
  color: #bababa;
}

/* Next Prev Collection */
.npi-content .mc__related_container {
  gap: 5%;
  justify-content: space-between;
  margin: 0;
  padding: 0;
  margin-bottom: 2rem;
  display: flex;
  flex-wrap: wrap;
}
.npi-content.mini-content .mc__related {
  padding: 1rem 2rem;
}
.single-libro .npi-content.mini-content .mc__related {
  padding: 0;
}
.npi-content.mini-content .mc__related_title {
  margin: 0.83em 0;
}
.npi-content .np-item {
  width: 45%;
  margin: 0;
  text-decoration: none;
  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;
}
.npi-content .np-item .cover {
  width: 100%;
  position: relative;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 30px;
  cursor: pointer;
  background: #1a2431;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  border-radius: 1.3125rem;
  height: 15.1875rem;
  overflow: hidden;
}
.single-libro .npi-content .np-item .cover {
  justify-content: flex-end;
}
.npi-content .np-item .cover.np-cover-next {
  align-items: flex-end;
}
.npi-content .np-item .cover:after {
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 0;
}
.npi-content .np-item .arrow_btn_block {
  width: auto;
  height: auto;
  background: none;
  border-radius: 0;
  gap: 0.6rem;
  margin-top: 2rem;
  z-index: 10;
}
.npi-content .np-item .arrow_btn_block span {
  display: block;
}
.npi-content .np-item .cover-info {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  position: relative;
  z-index: 10;
}
.npi-content .np-item .np-cover-next .cover-info {
  align-items: flex-end;
}
.npi-content .np-item .title,
.npi-content .np-item .author {
  margin: 0;
}
.npi-content .np-item .title {
  font-size: 1.7rem;
  line-height: 2rem;

  display: -webkit-box;
  -webkit-line-clamp: 4;
  /* number of lines to show */
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.npi-content .np-item .author {
  font-size: 0.7rem;
  line-height: 1rem;
}
.single-libro .npi-content .np-item .title {
  font-size: 1.3rem;
  line-height: 1.5rem;
}
.single-libro .npi-content .np-item .author {
  display: none;
}
@media screen and (max-width: 992px) {
  .single-libro .npi-content .mc__related_container {
    gap: 30px;
  }
  .single-libro .npi-content .np-item {
    width: 100%;
  }
}
@media screen and (max-width: 600px) {
  .npi-content .mc__related_container {
    gap: 30px;
    flex-wrap: wrap !important;
  }
  .npi-content .np-item {
    width: 100%;
  }
  .npi-content .np-item .title {
    font-size: 1.2rem;
    line-height: 1.5rem;
  }
  .npi-content .np-item .author {
    font-size: 0.6rem;
    line-height: 0.9rem;
  }
}

@media screen and (max-width: 768px) {
  #main_header_container {
    max-width: 100vw;
    overflow-x: hidden;
  }

  .main__search_input {
    display: flex;
    justify-content: space-between;
    overflow: hidden;
    position: relative;
  }

  .off-menu_container #close_searchbar {
    display: none;
  }

  .main__search_input input {
    border: none;
    outline: none;
    flex-grow: 1;
  }

  .main__search_input button {
    background: transparent;
    border: none;
    cursor: pointer;
  }

  .acerca__container {
    display: flex;
    flex-direction: column;
  }

  .acerca__left {
    align-items: center;
    background: #edf6f7;
    border-bottom-left-radius: 22px;
    display: flex;
    height: 25vh;
    justify-content: center;
    position: relative;
  }

  .acerca__left::before {
    background: radial-gradient(
      circle at 0% 0%,
      transparent 1rem,
      #edf6f7 1rem
    );
    bottom: -1rem;
    content: "";
    display: flex;
    width: 1rem;
    height: 1rem;
    position: absolute;
    right: 60%;
    transform: scale(-1, 1) rotate(180deg);
  }

  .acerca__left::after {
    background: #edf6f7;
    border-bottom-left-radius: 22px;
    bottom: -3rem;
    content: "";
    display: flex;
    height: 3rem;
    position: absolute;
    right: 0;
    width: 60%;
  }

  .acerca__left img {
    background: #edf6f7;
    width: 80%;
  }

  .acerca__right {
    margin-bottom: 4rem;
    margin-top: 2rem;
    padding: 2rem;
  }

  #footer_home {
    display: grid;
    grid-template-columns: repeat(2, 50%);
    grid-template-rows: 2rem auto;
    grid-template-areas:
      "logo logo"
      "content social";
    background: #fde8e0;
    padding: 0;
  }

  #footer_home .social #rss-menu {
    background: #fff;
    padding: 1rem 1.5rem;
    border-top-left-radius: 20px;
    position: relative;
    margin: 0 !important;
  }

  #footer_home .main .logo {
    height: 20px;
    display: block;
  }

  #footer_home .main {
    grid-area: logo;
    margin: 0;
    padding: 1rem 1.5rem;
  }

  #footer_home .social {
    align-items: flex-end;
    display: flex;
    grid-area: social;
    height: 100%;
    justify-content: flex-end;
  }

  .off-menu a {
    font-size: 1.675rem;
  }

  .mc-consejos-financie-template-default
    .definition_slide
    .definition::-webkit-scrollbar {
    width: 2px;
  }

  /* Track */
  .mc-consejos-financie-template-default
    .definition_slide
    .definition::-webkit-scrollbar-track {
    background: transparent;
  }

  /* Handle */
  .mc-consejos-financie-template-default
    .definition_slide
    .definition::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.01);
  }

  /* Handle on hover */
  .mc-consejos-financie-template-default
    .definition_slide
    .definition::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.01);
  }

  .mc-meme-template-default .mc-tag {
    display: none;
  }

  .mc-meme-template-default .mc-info {
    background: transparent !important;
  }

  .white_bg .close_btn {
    filter: invert(100%);
  }

  .actividad-template-default #main_header {
    display: none;
  }

  .actividad-template-default #page_header {
    display: flex;
  }

  #page_header #menu_btn {
    align-items: flex-end;
    display: flex;
    justify-content: flex-end;
  }

  #footer img {
    display: none;
  }

  .home #footer_home {
    padding-top: 2rem;
  }

  .section__hero {
    align-items: flex-end;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    height: 20vh;
    margin-bottom: 2rem;
  }

  .section__hero img {
    width: 100%;
  }

  .single-persona .header {
    padding: 0.5rem 6vw !important;
  }

  #footer_home #rss-menu a {
    margin: 0 1rem;
  }

  #menu_btn img {
    height: 45px;
  }

  #main_header {
    background: #003746;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    display: flex;
    justify-content: space-between;
    margin: 0 10px;
  }

  .off-menu__header {
    background: #003746;
    display: flex;
    justify-content: space-between;
    padding: 1rem 23px 1rem 6vw;
    position: relative;
    width: 100vw;
  }

  .off-menu__header::after {
    background: #fff;
    bottom: 0;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: 85px;
  }

  .off-menu__header::before {
    background: radial-gradient(circle at 0% 0%, transparent 1rem, #fff 1rem);
    bottom: 0;
    content: "";
    display: flex;
    width: 1rem;
    height: 1rem;
    right: 85px;
    position: absolute;
    transform: scale(-1, 1) rotate(90deg);
  }

  .off-menu__header .close-menu-container {
    border-radius: 10px;
    aspect-ratio: 1;
    align-items: center;
    background: #eabcff;
    display: flex;
    justify-content: center;
    height: 40px;
    width: 40px;
    z-index: 1;
  }

  .off-menu__header .logo img {
    height: 16px;
  }

  .off-menu__header .close-menu {
    height: 25px;
  }

  #page_header #menu_btn {
    align-items: flex-end;
    display: flex;
    justify-content: flex-end;
  }

  .header #menu_btn {
    display: flex;
    justify-content: flex-end;
    padding-left: 0;
  }

  .hamburger {
    display: inline-flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    width: 22px;
    height: 15px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
  }

  .hamburger span {
    display: block;
    height: 2px;
    width: 100%;
    background: white;
    border-radius: 2px;
    transition: all 0.4s ease;
    transform-origin: center;
    opacity: 1;
  }

  /* Animation when active */
  .hamburger.active span:nth-child(1),
  .hamburger.active span:nth-child(2),
  .hamburger.active span:nth-child(3) {
    width: 0%;
    opacity: 0;
  }

  .hamburger.active span:nth-child(2) {
    transition-delay: 50ms;
  }
  .hamburger.active span:nth-child(3) {
    transition-delay: 100ms;
  }

  #main_header .logo {
    grid-area: logo;
  }

  #main_header #main_header_title {
    grid-area: title;
    display: none;
  }

  #main_header #menu_btn {
    grid-area: menu;
  }

  .header .logo img {
    object-fit: contain;
    height: 19px !important;
    /*width: 100%;*/
  }

  .search__paginator {
    margin: 2rem 0 10rem 0;
    margin: 1rem 0;
  }
}

#overlay-counter {
  position: fixed;
  top: 1rem;
  left: 1rem;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 0.7rem 1.2rem;
  border-radius: 1.2rem;
  font-size: 1rem;
  z-index: 99999;
  max-width: 90%;
}

@media screen and (max-width: 767px) {
  #mc-zoom-controls,
  .mc-encuentra-las-dif-template-default .mc-dif .controls {
    border-radius: 1rem;
    background: #fff;
    gap: 1rem;
    padding: 0.5rem 1rem;
  }

  #mc-zoom-controls img,
  .mc-encuentra-las-dif-template-default .mc-dif .controls img {
    filter: invert(1);
    margin-left: 0;
    width: 1.3rem;
  }

  .page-template-temp_oferta .card__container.column .card__info_content {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }

  .persona-template-default .card__cover_container {
    height: 85% !important;
  }

  .search__view .search_item {
    flex-wrap: wrap;
  }
  .search__view .search_item .cover {
    aspect-ratio: 16 / 9;
    width: 100%;
    height: auto;
  }
  .search__view .search_item .content {
    width: 100%;
  }

  #overlay-counter {
    top: 47.5%;
  }
}

@media screen and (min-width: 769px) {
  #header-menu .sub-menu {
    display: none;
  }

  #footer_home {
    display: grid;
    grid-template-columns: repeat(2, 50%);
    grid-template-areas:
      "logo social"
      "content content";
    background: #fde8e0;
    padding: 0;
  }

  #footer_home .main {
    grid-area: logo;
    margin-top: 1.5rem;
    padding: 1rem 1.5rem;
  }

  #footer_home .social {
    align-items: flex-start;
    display: flex;
    grid-area: social;
    height: 100%;
    justify-content: flex-end;
  }

  #footer_home .social #rss-menu {
    background: #fff;
    padding: 1rem 1.5rem;
    border-bottom-left-radius: 20px;
    position: relative;
  }

  #footer_home .social #rss-menu::after {
    top: 0;
    content: "";
    display: flex;
    width: 1rem;
    height: 1rem;
    left: -1rem;
    position: absolute;
    transform: scale(-1, 1) rotate(180deg);
    background: radial-gradient(circle at 0% 0%, transparent 1rem, #fff 1rem);
  }

  #footer_home .links {
    grid-area: content;
    padding: 1rem 1.5rem;
  }

  #footer_home .main,
  #footer_home .links {
    display: flex;
    justify-content: space-between;
    width: 100%;
  }

  #footer_home .links .copyright,
  #footer_home .main img {
    display: block;
  }

  #footer_home .main .logo {
    height: 20px;
  }

  #footer .logo_centered {
    display: none;
  }

  .page-template-temp_acerca .container-fluid {
    display: flex;
  }

  .acerca__container {
    display: grid;
    flex-grow: 1;
    grid-template-columns: 45% 5% 50%;
    grid-template-areas: "left middle right";
  }

  .header_container {
    align-items: center;
    background: #fff;
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    max-width: 100vw;
    width: 100%;
  }

  .acerca__left {
    background: #edf6f7;
    grid-area: left;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
    position: relative;
  }

  .acerca__left::after {
    background: #edf6f7;
    border-bottom-right-radius: 20px;
    content: "";
    position: absolute;
    right: -4rem;
    top: 0;
    height: 80%;
    width: 4rem;
  }

  .acerca__left::before {
    background: radial-gradient(
      circle at 0% 0%,
      transparent 1rem,
      #edf6f7 1rem
    );
    top: 80%;
    content: "";
    display: flex;
    width: 1rem;
    height: 1rem;
    right: -1rem;
    position: absolute;
    transform: scale(-1, 1) rotate(270deg);
  }

  .acerca__right {
    grid-area: right;
    align-items: center;
    display: flex;
    padding: 2rem 10%;
  }

  .acerca__left img {
    width: 50%;
  }

  .header {
    background: #003746;
    border-radius: 24px;
    color: #fff;
    margin: 0 auto;
    max-width: 1200px;
    padding: 1rem 1.25rem;
    width: 90vw;
  }

  .single-libro:before,
  .single-exposicion:before {
    background: #edf6f7;
    bottom: 0;
    content: "";
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    width: calc(100% - 53%);
    z-index: -1;
  }

  .single-libro .header_container,
  .single-exposicion .header_container {
    background: transparent;
  }

  #mc-zoom-controls,
  .mc-encuentra-las-dif-template-default .mc-dif .controls {
    border-radius: 1rem;
    background: #fff;
    bottom: 5%;
    gap: 1rem;
    padding: 0.5rem 1rem;
    width: auto;
  }

  #mc-zoom-controls img,
  .mc-encuentra-las-dif-template-default .mc-dif .controls img {
    filter: invert(1);
    margin-left: 0;
    width: 1.3rem;
  }

  #footer_home #rss-menu a {
    margin-left: 1rem;
  }

  #ul-legal-menu {
    gap: 10px;
  }

  #ul-legal-menu li {
    align-items: flex-start;
    display: flex;
  }

  #ul-legal-menu li a {
    margin: 0 !important;
  }

  .section__hero {
    align-items: flex-end;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    color: #f6eb66;
    position: relative;
    justify-content: center;
    margin-bottom: 10vh;
    height: 40vh;
  }

  .section__hero .label {
    margin: 2rem 0 0 0;
    max-height: 100%;
    width: 100%;
  }

  .section__hero .label.small {
    margin-right: 50%;
    width: 50%;
  }

  #section__hero_video {
    position: absolute;
    height: 100%;
  }

  #main_header_title {
    display: none;
  }

  .off-menu_container {
    transform: translateX(0);
    display: none;
  }

  #menu_btn {
    display: none;
  }

  .header #header-menu ul {
    display: flex;
    margin: 0;
    padding: 0;
  }
  #header-menu li {
    margin-right: 1rem;
    list-style: none;
  }
  #header-menu li a {
    color: #fff;
    font-family: "BanamexDisplay";
    font-size: 0.8rem;
    font-style: normal;
    font-weight: 400;
    text-decoration: none;
    border: solid 1px transparent;
    padding: 0.3rem 0.7rem;
    border-radius: 0.8rem;
    display: inline-block;
    text-align: center;
  }
  #header-menu li a.active {
    border: none;
    color: #ff1b44;
    border-bottom: solid 2px #ff1b44;
    border-radius: 0;
  }
}

@media screen and (max-width: 1200px) {
  #header-menu li {
    margin-right: 0.5rem;
  }
  #header-menu li a {
    font-size: 0.7rem;
    padding: 0.3rem 0.5rem;
  }
  #main_header .logo_bank {
    width: 1rem;
  }
  .header .logo img {
    height: 16px;
  }
}
@media screen and (max-width: 768px) {
  #header-menu li a {
    font-size: 1rem;
  }
  #footer_home:after {
    content: "";
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    width: 100%;
    height: 20px;
    background: #fde8e0;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
  }
}

.mc-entrevistas-template-default .container-fluid,
.mc-con-impacto-template-default .container-fluid,
.mc-consejos-financie-template-default .container-fluid,
.mc-glosario-economic-template-default .container-fluid,
.mc-content-template .container-fluid {
  background: #003746;
  color: #fff;
  font-family: "BanamexText";
  position: relative;
}

.mc-content-template .container-fluid {
  overflow: hidden;
}

.mc-consejos-financie-template-default .container-fluid,
.mc-glosario-economic-template-default .container-fluid {
  background: #ffa4b5;
}
/*
.mc-entrevistas-template-default #main_header,
.mc-con-impacto-template-default #main_header,
.mc-consejos-financie-template-default #main_header,
.mc-glosario-economic-template-default #main_header,
.mc-content-template #main_header {
  display: none;
}
*/
.mc-highlights {
  display: none;
}

.mc-highlights-done {
  display: grid;
  box-sizing: border-box;
  font-size: 0.9rem;
  grid-template-columns: repeat(5, 17.2vw);
  grid-template-rows: repeat(5, 17.2vh);
  gap: 2vw 2vw;
  bottom: 2%;
  left: 2%;
  position: absolute;
  top: 2%;
  right: 2%;
}

.mc-ciudad-sostenible-template-default .section.slider__section {
  display: none;
}

.mc-highlights-done p,
.splide p {
  border-radius: 1rem;
  align-items: center;
  display: flex;
  justify-content: center;
}

.mc-highlights-done p {
  font-size: 1.2rem;
}

.mc-ciudad-sostenible-template-default h4,
.mc-ciudad-sostenible-template-default h3 {
  margin: 0;
}

.mc-ciudad-sostenible-template-default h3 {
  text-transform: uppercase;
  margin-top: 0.5rem;
}

.mc-highlights-done p,
.splide p {
  background: rgba(0, 0, 0, 0.6);
  padding: 0.5rem 1rem;
  max-width: 20vw;
}

.mc-hp-image,
.mc-meme-image {
  box-sizing: border-box;
  max-width: 100%;
  object-fit: cover;
  margin: 0;
  width: 100%;
}

.single-mc-entrevistas {
  background: #1a2431;
}

.single-mc-entrevistas .mc-hp-image {
  margin: 0 auto;
  width: 80%;
}

.single-mc-entrevistas .container {
  align-items: center;
  display: flex;
  justify-content: center;
}

.mc-meme-image {
  object-fit: contain;
}

.mc-dif {
  position: relative;
}

.mc-dif .controls {
  position: absolute !important;
  display: flex;
  right: 5%;
  bottom: 10%;
  width: 10rem;
  z-index: 12;
}

#mc-zoom-controls {
  position: absolute !important;
  display: flex;
  gap: 1rem;
  right: 5%;
  bottom: 5%;
  z-index: 12;
}

.mc-tag {
  position: absolute;
  top: 2%;
  right: 2%;
  z-index: 10;
}

.mc-tag img {
  height: 6rem;
  width: 6rem;
}

.mc-tag p {
  font-size: 0.8rem;
  font-family: "BanamexDisplay";
  line-height: 1.1rem;
  margin: 0;
}

.mc-tag b {
  color: #f6eb66;
  font-size: 4.8rem;
  font-weight: 400;
  font-family: "BanamexDisplay";
  line-height: 4.5rem;
  text-transform: capitalize;
}

.mc-info {
  background: rgb(0, 0, 0);
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.6755077030812324) 84%,
    rgba(0, 0, 0, 0.7441351540616247) 100%
  );
  transition: background ease 0.5s;
  bottom: 10%;
  position: absolute;
  left: 5%;
}

.mc-entrevistas-template-default .mc-info,
.mc-con-impacto-template-default .mc-info,
.mc-ciudad-sostenible-template-default .mc-info,
.mc-objeto-en-zoom-template-default .mc-info,
.mc-ojal-de-moda-template-default .mc-info,
.mc-encuentra-las-dif-template-default .mc-info,
.mc-historia-del-arte-template-default .mc-info,
.mc-historia-popular-template-default .mc-info,
.mc-el-almanaque-template-default .mc-info,
.mc-en-sus-zapatos-template-default .mc-info,
.mc-meme-template-default .mc-info {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  bottom: 0;
  left: 0;
  padding: 5%;
  justify-content: flex-end;
  right: 0;
  top: 0;
}

.mc-entrevistas-template-default .mc-info {
  padding: 3% 5%;
  z-index: 1;
}

.mc-entrevistas-template-default .container .cover {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.mc-entrevistas-template-default .container .play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 40;
  padding: 0;
}

.mc-entrevistas-template-default .video_popup {
  display: none;
}

.overlay_cursor.done .tooltip.visible {
  background: #003746;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  max-width: 100%;
  max-height: 100%;
  padding: 0;
}

.mc-encuentra-las-dif-template-default .overlay_cursor.done {
  align-items: center;
  display: flex !important;
  justify-content: center;
}

.mc-encuentra-las-dif-template-default .zoom_popup,
.mc-ojal-de-moda-template-default .zoom_popup,
.mc-objeto-en-zoom-template-default .zoom_popup {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  width: 100vw;
  height: 100dvh;
}

.close-video {
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  right: 5%;
}

.close-video svg {
  height: 0.9rem;
  width: 0.9rem;
}

.mc-encuentra-las-dif-template-default .cover,
.mc-ojal-de-moda-template-default .cover,
.mc-objeto-en-zoom-template-default .cover {
  object-fit: cover;
  height: 100%;
  width: 100vw;
}

.mc-encuentra-las-dif-template-default #image,
.mc-ojal-de-moda-template-default #image,
.mc-objeto-en-zoom-template-default #image {
  height: 100dvh;
  width: 100vw;
}

.mc-encuentra-las-dif-template-default .zoom_popup.visible,
.mc-ojal-de-moda-template-default .zoom_popup.visible,
.mc-objeto-en-zoom-template-default .zoom_popup.visible {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgb(153 153 153 / 20%);
  backdrop-filter: blur(25px);
  z-index: 999;
}

.mc-entrevistas-template-default .video_popup.active {
  display: flex;
}

.mc-encuentra-las-dif-template-default .mc-detail,
.mc-ojal-de-moda-template-default .mc-detail,
.mc-objeto-en-zoom-template-default .mc-detail {
  align-items: center;
  cursor: pointer;
  display: flex;
}

.mc-encuentra-las-dif-template-default .mc-detail {
  margin-top: 1rem;
}

.mc-encuentra-las-dif-template-default .mc-detail img,
.mc-ojal-de-moda-template-default .mc-detail img,
.mc-objeto-en-zoom-template-default .mc-detail img {
  height: 0.7rem;
  margin-left: 0.5rem;
}

.mc-entrevistas-template-default .video_popup.active .mc-hp-image {
  height: 100dvh;
  width: 100vw;
}

.mc-entrevistas-template-default .container {
  position: relative;
}

.mc-entrevistas-template-default .mc-info h4 {
  margin: 0;
}
.mc-objeto-en-zoom-template-default .mc-info,
.mc-ojal-de-moda-template-default .mc-info {
  /*top: 85%;*/
  z-index: 10;
}

.mc-meme-template-default .mc-info,
.mc-ojal-de-moda-template-default .mc-info {
  padding-bottom: 3%;
}

.mc-ciudad-sostenible-template-default h4,
.mc-meme-template-default .mc-info h4,
.mc-ojal-de-moda-template-default .mc-info h4 {
  margin: 0.5rem 0;
}

.zoom-btn {
  bottom: 5%;
  cursor: pointer;
  right: 5%;
  position: absolute;
  text-transform: uppercase;
}

.mc-fuente {
  font-size: 1.1rem;
  line-height: 1.3rem;
}

.mc-fuente b {
  color: #f6eb66;
  text-transform: uppercase;
}

.mc-info.visible,
.splide__slide .mc-info.visible {
  background: rgb(0, 0, 0);
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.7707457983193278) 50%,
    rgba(0, 0, 0, 0.7441351540616247) 100%
  );
}

.mc-encuentra-las-dif-template-default .mc-content,
.mc-historia-popular-template-default .mc-content,
.mc-en-sus-zapatos-template-default .mc-content,
.splide__slide .mc-content {
  display: none;
  max-width: 55%;
}

.mc-ciudad-sostenible-template-default .mc-content,
.mc-el-almanaque-template-default .mc-content,
.mc-en-sus-zapatos-template-default .mc-content,
.mc-historia-del-arte-template-default .mc-content,
.mc-historia-popular-template-default .mc-content {
  font-size: 1.1rem;
  line-height: 1.3rem;
  display: block;
}

.mc-content-message {
  font-size: 0.9rem;
}

.mc-content-message small a {
  color: #fff !important;
}

.mc-en-sus-zapatos-template-default .text {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* number of lines to show */
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

.mc-en-sus-zapatos-template-default .mc-info.visible .text {
  display: block;
}

.mc-objeto-en-zoom-template-default .mc-info .mc-content,
.mc-ojal-de-moda-template-default .mc-info .mc-content {
  display: none;
}

.mc-encuentra-las-dif-template-default .mc-info.visible h4,
.mc-el-almanaque-template-default .mc-info.visible h4,
.mc-el-almanaque-template-default .mc-info.visible .mc-content,
.mc-objeto-en-zoom-template-default .mc-info.visible h4,
.mc-objeto-en-zoom-template-default .mc-info.visible .mc-content,
.mc-ojal-de-moda-template-default .mc-info.visible h4,
.mc-ojal-de-moda-template-default .mc-info.visible .mc-content {
  display: block;
}

.mc-el-almanaque-template-default .mc-fuente,
.mc-en-sus-zapatos-template-default .mc-fuente,
.mc-historia-del-arte-template-default .mc-fuente,
.mc-historia-popular-template-default .mc-fuente {
  display: none;
}

.mc-info.visible .mc-content {
  display: block;
}

.mc-historia-del-arte-template-default .mc-fuente {
  margin-top: 1.5rem;
}

.mc-el-almanaque-template-default .mc-info.mc-info.visible .mc-fuente,
.mc-en-sus-zapatos-template-default .mc-info.mc-info.visible .mc-fuente,
.mc-historia-del-arte-template-default .mc-info.visible .mc-fuente,
.mc-historia-popular-template-default .mc-info.visible .mc-fuente {
  display: block;
}

.mc-info h4 {
  font-size: 2rem;
  font-family: "BanamexDisplay";
  font-weight: 400 !important;
  position: relative;
  text-transform: uppercase;
  margin: 0.5rem 0;
  z-index: 10;
}

.splide__slide .mc-info h4 {
  font-size: 2.5rem;
  margin: 0.5rem 0;
}

.action-btn {
  display: inline-block;
  cursor: pointer;
  font-size: 1rem;
  margin-top: 1rem;
  text-transform: uppercase;
}

/*.mc-info.visible .action-btn {
  border: solid 1px #fff;
  border-radius: 1rem;
}*/

.action-btn p {
  background: transparent !important;
  font-size: 1rem !important;
  margin: 0.5rem 1rem !important;
  padding: 0 !important;
}

.action-btn .close {
  display: none;
}

.action-btn .more {
  object-fit: contain;
  width: 24px;
}

.mc-meme-template-default .action-btn,
.mc-en-sus-zapatos-template-default .action-btn,
.mc-el-almanaque-template-default .action-btn,
.mc-historia-del-arte-template-default .action-btn,
.mc-historia-popular-template-default .action-btn,
.mc-encuentra-las-dif-template-default .action-btn,
.mc-ojal-de-moda-template-default .action-btn,
.mc-objeto-en-zoom-template-default .action-btn,
.arte-popular-template-default .action-btn,
.pintura-template-default .action-btn {
  align-items: center;
  display: flex;
  margin-top: 1rem;
}

.mc-meme-template-default .action-btn .close,
.mc-en-sus-zapatos-template-default .action-btn .close,
.mc-el-almanaque-template-default .action-btn .close,
.mc-historia-del-arte-template-default .action-btn .close,
.mc-historia-popular-template-default .action-btn .close,
.mc-encuentra-las-dif-template-default .action-btn .close,
.mc-ojal-de-moda-template-default .action-btn .close,
.mc-objeto-en-zoom-template-default .action-btn .close,
.arte-popular-template-default .action-btn .close,
.pintura-template-default .action-btn .close {
  display: block;
  margin-left: 1rem;
  color: #fff;
  text-transform: lowercase;
}

.mc-info.visible .close {
  display: block;
}

/*.mc-info.visible .more {
  display: none;
}*/

.overlay_cursor {
  position: relative;
}

.tooltip {
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  display: none;
  font-size: 1.2rem;
  position: absolute;
  padding: 1rem 1.5rem;
  border-radius: 1rem;
  max-width: 60vw;
  min-width: 40vw;
  top: 70%;
}

.mc-encuentra-las-dif-template-default .tooltip {
  background: transparent;
}

.mc-encuentra-las-dif-template-default .overlay_cursor.done .tooltip.visible {
  background: transparent !important;
}

.tooltip.visible {
  display: block;
}

.pin.visible {
  transform: rotate(45deg);
}

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

.pin_container {
  align-items: center;
  border-radius: 100%;
  justify-content: center;
  display: flex;
  height: 100%;
  width: 100%;
}

.pin {
  object-fit: cover;
  height: 40px;
  width: 40px;
  transition: transform 1s ease;
  margin: 0 auto;
}

.mc-encuentra-las-dif-template-default .container-fluid {
  display: flex;
}

.mc-dif {
  display: inline-block;
  height: 100vh;
  overflow: hidden;
  width: 50vw;
}

.mc-dif-image {
  object-fit: cover;
  height: 100%;
  width: 100%;
}

.zoom-container {
  display: none;
  height: 100%;
  width: 100%;
}

.zoom .zoom-container {
  display: block;
}

.zoom .mc-dif-image {
  display: none;
}

.zoom .zoom-btn {
  display: none;
}

.zoom .action-btn {
  z-index: 99;
}

.zoom .mc-info.visible {
  z-index: 99;
}

.splide__slide {
  height: 100vw;
  max-height: 100vh;
}

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

.splide__arrow {
  background: transparent !important;
  height: 5rem !important;
  width: 5rem !important;
}

.splide__arrow svg {
  fill: #fff !important;
  height: 3rem !important;
  width: 3rem !important;
}

#mc-zoom-controls img,
.mc-dif .controls img {
  cursor: pointer;
}

.slider__wrapper,
.splide__list,
.splide__slide {
  height: 100%;
}

.splide__arrow path {
  stroke: white;
  stroke-width: 2;
}

.mc-content,
.mc-fuente {
  font-family: "Interstate Adobe Light";
}

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

.definition_slide .definition {
  align-items: center;
  border-radius: 20px;
  flex-direction: column;
  display: flex;
  background: #003746;
  justify-content: center;
  padding: 5% 10%;
}

.definition_slide .definition h4 {
  color: #ffa4b5;
  font-family: "BanamexDisplay";
  font-weight: 400;
  font-size: 3rem;
  line-height: 4rem;
  text-transform: uppercase;
  margin: 0;
  text-align: center;
}

.definition_slide .definition .def_text {
  border-top: solid 1px #fff;
  font-family: "Interstate Light";
  font-size: 1.2rem;
  line-height: 1.7rem;
  font-weight: 500;
  padding-top: 1rem;
}

.mc-con-impacto-template-default .mc-content {
  background: #fff;
  display: none;
  bottom: 0;
  color: #000;
  position: absolute;
  left: 0;
  z-index: 11;
  height: 50vh;
  padding: 5%;
  overflow-y: auto;
}

.mc-con-impacto-template-default .action-btn {
  align-self: flex-end;
  align-items: center;
  display: flex;
}

.mc-con-impacto-template-default .action-btn img {
  filter: invert(1);
  height: 1.5rem;
}

.mc-con-impacto-template-default .mc-content-desktop .mc-fuente,
.mc-con-impacto-template-default .mc-content .mc-fuente {
  font-size: 1.3rem;
  line-height: 1.7rem;
}

.mc-con-impacto-template-default .mc-content-desktop h4,
.mc-con-impacto-template-default .mc-content h4 {
  margin-bottom: 2rem;
  font-size: 2.5rem;
  line-height: 3rem;
  text-transform: uppercase;
}

.overflow {
  overflow: hidden;
}

#persona_popup {
  background: #1a2431;
  bottom: 0;
  display: none;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 10;
}

#persona_popup_iframe {
  height: 100%;
  width: 100%;
}

#persona_popup.visible {
  display: block;
}

.logo_bank {
  width: 1.5rem;
}

.section__hero.responsive .label_mobile {
  display: none;
}

.header {
  position: relative;
  overflow: hidden;
}

.search-form {
  background: #003746;
  right: 10px;
  position: absolute;
  transition: width 0.6s cubic-bezier(0.77, 0, 0.175, 1);
  overflow: hidden;
  width: 0%;
}

.search-form .main__search_input {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0;
  position: relative;
}

.search-form .main__search_input img {
  filter: none;
}

.search-form #close_searchbar {
  background: transparent;
}

.search-form .main__search_input input {
  border-radius: 16px;
  padding: 1rem 0.5rem;
  flex-grow: 1;
  outline: rgb(0, 55, 70);
}

.search-form .main__search_input button {
  background: transparent;
  border: none;
  outline: none;
  width: 2rem;
  z-index: 10;
}

.search-form .main__search_input #close_searchbar {
  margin-right: 1rem;
}

.search-form .main__search_input .search__buttons {
  align-items: center;
  display: flex;
  position: absolute;
  right: 2.8rem;
  justify-content: space-between;
  flex-direction: row-reverse;
}

.search-form.display {
  display: block;
  width: calc(100% - 20px);
}

.search-form .main__search_input .search__buttons {
  right: 1rem;
}

@media screen and (min-width: 769px) {
  .mc-content-message {
    max-width: 55%;
  }

  .definition_slide .definition {
    max-height: 80vh;
  }

  .single-mc-entrevistas .mc-hp-image {
    width: 60%;
  }

  .mc-con-impacto-template-default .mc-info.visible .action-btn {
    border: none;
  }

  .mc-con-impacto-template-default .mc-info.visible .mc-content {
    display: none;
  }

  .mc-con-impacto-template-default .mc-info {
    height: 100vh;
  }

  .mc-content-desktop {
    background: #fff;
    padding: 10vh 20vw 6vh 20vw;
  }

  .mc-content-desktop * {
    color: #000;
  }

  .mc-con-impacto-template-default .action-btn {
    position: absolute;
    right: 6vw;
    margin-bottom: 1rem;
  }
}

@media screen and (max-width: 900px) and (min-width: 800px) {
  .mc-dif .controls {
    bottom: 5%;
  }
}

.exposicion-template-default #page_header {
  display: none;
}

.exposicion-template-default .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;
  letter-spacing: -0.03rem;
  text-transform: uppercase;
  position: relative;
  margin-right: 1rem;
  margin-bottom: 2rem;
  text-decoration: none;
  width: 10.25rem;
}

.exposicion-template-default .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;
}

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

.exposicion-template-default .person__gallery_item h3 {
  font-family: "BanamexDisplay";
  font-size: 1.2rem;
  font-style: normal;
  font-weight: 400 !important;
  margin: 1rem 0;
}

.exposicion-template-default .mc__related_container {
  display: flex;
  flex-wrap: wrap;
}

.tooltip.visible .close-icon {
  display: none;
}

.mc-con-impacto-template-default .mc-info h4 {
  max-width: 80vw;
}

.mc-encuentra-las-dif-template-default .mc-detail-container,
.mc-ojal-de-moda-template-default .mc-detail-container,
.mc-objeto-en-zoom-template-default .mc-detail-container {
  align-items: center;
  display: flex;
  justify-content: center;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}

.mc-encuentra-las-dif-template-default .mc-detail,
.mc-ojal-de-moda-template-default .mc-detail,
.mc-objeto-en-zoom-template-default .mc-detail {
  background: #fff;
  border-radius: 1rem;
  color: #1a2431;
  padding: 0.5rem 1rem;
  z-index: 11;
}

@media screen and (max-width: 768px) {
  .mc-meme-image {
    object-fit: contain;
  }

  .mc-entrevistas-template-default .container .cover {
    object-fit: cover;
  }

  .mc-encuentra-las-dif-template-default .mc-dif .controls {
    flex-direction: column;
    gap: 0.5rem 0;
    padding: 1rem 0.5rem;
    width: calc(20px + 1rem);
  }

  .arte-popular-template-default #footer_home {
    display: none;
  }

  .mc-encuentra-las-dif-template-default .zoom_popup.visible {
    flex-direction: column;
  }

  .mc-encuentra-las-dif-template-default .mc-info.visible h4 {
    font-size: 1.4rem;
  }

  .mc-encuentra-las-dif-template-default .mc-fuente {
    font-size: 0.9rem;
    line-height: 1rem;
  }

  .mc-encuentra-las-dif-template-default .container {
    height: 100dvh;
  }

  .mc-tag img {
    height: 5rem !important;
    width: 5rem !important;
  }

  .arte-popular-template-default #main_header_container,
  .pintura-template-default #main_header_container,
  .mc-entrevistas-template-default #main_header_container,
  .mc-con-impacto-template-default #main_header_container,
  .mc-ciudad-sostenible-template-default #main_header_container,
  .mc-objeto-en-zoom-template-default #main_header_container,
  .mc-ojal-de-moda-template-default #main_header_container,
  .mc-encuentra-las-dif-template-default #main_header_container,
  .mc-historia-del-arte-template-default #main_header_container,
  .mc-historia-popular-template-default #main_header_container,
  .mc-el-almanaque-template-default #main_header_container,
  .mc-en-sus-zapatos-template-default #main_header_container,
  .mc-meme-template-default #main_header_container,
  .mc-consejos-financie-template-default #main_header_container,
  .mc-glosario-economic-template-default #main_header_container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
  }

  .mc-entrevistas-template-default .mc-content,
  .mc-con-impacto-template-default .mc-content,
  .mc-ciudad-sostenible-template-default .mc-content,
  .mc-objeto-en-zoom-template-default .mc-content,
  .mc-ojal-de-moda-template-default .mc-content,
  .mc-encuentra-las-dif-template-default .mc-content,
  .mc-historia-del-arte-template-default .mc-content,
  .mc-historia-popular-template-default .mc-content,
  .mc-el-almanaque-template-default .mc-content,
  .mc-en-sus-zapatos-template-default .mc-content,
  .mc-meme-template-default .mc-content {
    font-size: 1rem;
    line-height: 1.1rem;
  }

  .mc-entrevistas-template-default .mc-content,
  .mc-con-impacto-template-default .mc-content,
  .mc-ciudad-sostenible-template-default .mc-content,
  .mc-encuentra-las-dif-template-default .mc-content,
  .mc-historia-del-arte-template-default .mc-content,
  .mc-historia-popular-template-default .mc-content,
  .mc-el-almanaque-template-default .mc-content,
  .mc-en-sus-zapatos-template-default .mc-content,
  .mc-meme-template-default .mc-content {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .mc-encuentra-las-dif-template-default .mc-info.visible {
    top: 0;
    max-width: 100%;
  }

  /* Agrega un icono de cerrar en el tooltip */
  .mc-ojal-de-moda-template-default .tooltip.visible,
  .mc-objeto-en-zoom-template-default .tooltip.visible {
    position: fixed !important;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex !important;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 9999;
    width: 80vw;
    max-width: 90vw;
    min-width: unset;
    padding: 2rem 1rem;
  }

  .tooltip.visible .close-icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2rem;
    height: 2rem;
    cursor: pointer;
    background: transparent;
    border: none;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .tooltip.visible .close-icon {
    align-items: center;
    display: flex;
    position: absolute;
    top: -1rem;
    right: -1rem;
    border: solid 2px #fff;
    border-radius: 50%;
    justify-content: center;
  }

  .tooltip.visible .close-icon svg {
    display: block;
    width: 1.5rem;
    height: 1.5rem;
    fill: #fff;
    pointer-events: none;
  }

  .mc-content-template #footer_home {
    display: none;
  }

  .tooltip.visible {
    display: flex !important;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  .tooltip.visible > div {
    width: 100%;
    text-align: center;
  }

  .mc-meme-template-default .mc-info h4,
  .mc-meme-template-default .mc-fuente {
    display: none;
  }

  .splide__slide .mc-info h4 {
    font-size: 2.2rem;
    line-height: 120%;
  }

  .exposicion-template-default #page_header {
    display: flex;
  }

  .exposicion-template-default #page_header,
  .exposicion-template-default .back_history {
    display: none !important;
  }

  .section__hero.responsive .label {
    display: none;
  }

  .section__hero.responsive .label_mobile {
    display: block;
  }

  .header {
    padding: 1rem 6vw;
  }

  .definition_slide .definition .def_text {
    font-size: 1.45rem;
    line-height: 130%;
  }

  .definition_slide .definition h4 {
    font-size: 2.9rem;
    line-height: 130%;
  }

  .definition_slide .definition h4 {
    font-size: 2.3rem;
    line-height: 120%;
  }

  .mc-content-desktop * {
    color: #000;
  }

  .mc-content-desktop {
    background: #fff;
    padding: 10vh 6vw 6vh 6vw;
  }

  .mc-con-impacto-template-default .mc-info {
    height: 100vh;
  }

  .mc-con-impacto-template-default .mc-info.visible .action-btn {
    border: none;
  }

  .mc-con-impacto-template-default .mc-info.visible .mc-content {
    display: none;
  }

  .mc-con-impacto-template-default .mc-content {
    display: none;
    height: 75vh;
  }

  .mc-ciudad-sostenible-template-default .splide__arrow {
    top: 60%;
  }

  .search-form-mobile button img {
    width: 1.5rem;
  }

  .search-form-mobile .search__buttons {
    align-items: center;
    display: flex;
    flex-direction: row-reverse;
    position: absolute;
    right: 0.5rem;
    top: 0;
    bottom: 0;
  }

  .search-form-mobile .main__search_input input {
    padding: 0.5rem 1rem;
    border: 1px solid #ccc;
    border-radius: 0.25rem;
    border: solid 1px #003746;
    border-radius: 2rem;
  }

  .definition_slide .definition {
    background: #003746;
    border-radius: 0;
    display: block;
    min-height: 70vh !important;
    width: 80vw !important;
    overflow-y: auto;
    font-size: 1rem;

    align-items: center;
    border-radius: 20px;
    flex-direction: column;
    display: flex;
    background: #003746;
    justify-content: center;
    padding: 5% 10%;
  }

  /*.mc-ojal-de-moda-template-default .tooltip {
    align-items: center;
    background: transparent;
    justify-content: center;
    right: 0;
    left: 0;
    top: 0;
    bottom: 0;
    width: auto;
    z-index: 3;
    max-width: 100vw;
    position: fixed;
  }*/

  .mc-ojal-de-moda-template-default .tooltip.visible {
    display: flex;
  }

  /*.mc-ojal-de-moda-template-default .tooltip > div {
    background: rgba(0, 0, 0, 0.6);
    border-radius: 1rem;
    max-width: 80vw;
    padding: 1rem 1.5rem;
  }*/

  .mc-con-impacto-template-default .mc-tag {
    top: 2%;
  }

  .mc-ciudad-sostenible-template-default .mc-tag,
  .mc-glosario-economic-template-default .mc-tag {
    top: 3%;
  }

  .mc-ciudad-sostenible-template-default .splide p {
    font-size: 1.3rem;
    line-height: 130%;
    margin-top: 10rem;
  }

  .mc-con-impacto-template-default .action-btn p {
    font-family: "BanamexDisplay";
  }

  .definition_slide {
    align-items: flex-start;
    padding-top: 25vh;
  }

  .definition_slide {
    overflow: hidden;
  }

  .circle {
    display: none;
    border-radius: 50%;
    background: #41b9bf;
    right: -40vw;
    bottom: -40vw;
    position: absolute;
    height: 112vw;
    width: 112vw;
    z-index: -1;
  }

  .mc-consejos-financie-template-default .circle {
    display: none;
  }

  .mc-highlights-done {
    display: none;
  }

  .mc-objeto-en-zoom-template-default .container-fluid {
    position: initial;
  }

  .mc-ciudad-sostenible-template-default .section.slider__section {
    max-height: 80vh;
    overflow: hidden;
    display: block;
    bottom: 2%;
    left: 2%;
    position: absolute;
    top: 2%;
    right: 2%;
  }

  /*.mc-ojal-de-moda-template-default #mc-zoom-controls {
    display: none;
  }*/

  .mc-encuentra-las-dif-template-default .mc-content,
  .mc-historia-popular-template-default .mc-content,
  .mc-en-sus-zapatos-template-default .mc-content,
  .splide__slide .mc-content {
    max-width: 90%;
  }

  .slider__section {
    height: 100%;
  }

  .mc-highlights-done p {
    max-width: 100%;
  }

  .tooltip {
    max-width: 50vw;
    width: 40vw;
  }

  .mc-ciudad-sostenible-template-default .splide p {
    max-width: 60vw;
    width: auto;
  }

  .mc-ciudad-sostenible-template-default .splide__slide {
    align-items: center;
    display: flex;
    justify-content: center;
  }

  .mc-ciudad-sostenible-template-default .slider__section,
  .mc-ciudad-sostenible-template-default .splide,
  .mc-ciudad-sostenible-template-default .splide__slide {
    height: 80vh;
  }

  .splide__arrow--prev {
    left: -1rem !important;
  }

  .splide__arrow--next {
    right: -1rem !important;
  }

  .mc-encuentra-las-dif-template-default .container-fluid {
    flex-direction: column;
  }

  .mc-dif {
    display: block;
    height: 50vh;
    width: 100vw;
  }

  .mc-encuentra-las-dif-template-default .mc-info {
    top: 0%;
    z-index: 10;
  }

  .mc-encuentra-las-dif-template-default .mc-detail {
    max-width: 80%;
  }

  .mc-ciudad-sostenible-template-default {
    max-height: 100vh;
    overflow: hidden;
  }

  .mc__related_container {
    flex-wrap: nowrap !important;
    overflow: auto;
    margin: 0 -6vw;
    padding-left: 6vw;
  }
}

.page-template-temp_oferta .section__hero {
  margin-bottom: 5rem;
}

/*
  Tabs
*/

.section__header__wrapper {
  overflow: hidden;
  width: 100vw;
  max-width: 100%;
}

.section__header {
  align-items: flex-end;
  display: flex;
  transition: transform 0.7s cubic-bezier(0.77, 0, 0.175, 1);
  transform: translateX(-50vw);
  margin-bottom: 3rem;
}

.section__header h1 {
  color: #003746;
  font-size: 4.3rem;
  margin: 0 0 1rem 0;
  min-width: 50vw;
}

.section__card_container {
  display: flex;
  justify-content: center;
  min-height: 12rem;
  width: calc(50vw + 6rem);
}

.section__card_tab_block {
  border-bottom-right-radius: 20px;
  background: #ff1b44;
  width: 3rem;
}

.section__header.active {
  transform: translateX(0);
}

.section__header.active .section__card_tab_block {
  background: #ffa4b5;
}

.section__card {
  background: #ffa4b5;
  box-sizing: border-box;
  padding: 1rem;
  width: 50vw;
}

.section__card_tab_container {
  width: 4rem;
  min-height: 100%;
  position: relative;
  color: rgba(0, 0, 0, 0.5);
  font-size: small;
  display: inline-block;
}

.section__card_tab_container::before {
  background: radial-gradient(circle at 0% 0%, transparent 1rem, #ff1b44 1rem);
  top: 7rem;
  content: "";
  display: flex;
  width: 1rem;
  height: 1rem;
  left: 0;
  position: absolute;
  transform: scale(-1, 1) rotate(270deg) translate(1px, 1px);
}

.section__card_tab_content {
  align-items: center;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  background: #ff1b44;
  cursor: pointer;
  display: flex;
  position: relative;
  justify-content: center;
  width: 3rem;
  height: 7rem;
  margin-bottom: 3rem;
  transform: translateX(-1px);
  z-index: 1;
}

.section__card_tab_content img {
  height: 4.5rem;
}

@media screen and (max-width: 768px) {
  .page-template-temp_espacios_culturales .section__header {
    margin-bottom: 0;
  }

  .section__header h1 {
    font-size: 2.5rem;
  }

  .section__card {
    width: 90vw;
  }

  .section__header {
    transform: translateX(calc(-85vw));
  }

  .section__card_container {
    width: 100vw;
  }

  .section__card_tab_block {
  }
}
@media screen and (max-width: 600px) {
  #footer_home #rss-menu a {
    margin: 0 0.5rem;
  }

  #main_header #menu_btn {
    padding: 0;
  }
  .off-menu .off-menu__header a {
    width: calc(100% - 85px);
  }
  .off-menu .off-menu__header .logo img {
    height: 19px;
  }
}

/* Card styles */
/*
  Color Variants:
  .card__container.red
  .card__container.green
  .card__container.orange
  .card__container.blue
  .card__container.navy
  .card__container.cream
  .card__container.lightblue
  .card__container.mint
*/

.card__container .card__shape {
  background: peachpuff;
}
.card__container .card__info_content {
  background: peachpuff;
}
.card__container .card__shape::after {
  background: radial-gradient(
    circle at 0% 0%,
    transparent 0.6rem,
    peachpuff 0.6rem
  );
}
.card__cover_container::after {
  background: peachpuff;
}

.card__container.column .card__cover_container.sm50_thumb {
  display: block;
}

.card__container.row .card__cover_container.sm_thumb {
  display: block;
}

.card__container .see_more {
  align-items: center;
  display: flex;
  margin-top: 1.5rem;
  margin-right: 1rem;
  position: relative;
}

.card__container .see_more {
  align-items: center;
  display: flex;
  margin-top: 1.5rem;
  margin-right: 1rem;
  position: relative;
}

.card__container.right .see_more {
  justify-content: flex-end;
}

.card__container .see_more svg {
  margin-left: 0.5rem;
}

.red_background {
  background: #ff1b44;
  color: #fff;
}
.navy_background {
  background-color: #003746;
  color: #fff;
}
.cream_background {
  background-color: #fde8e0;
  color: #000;
}
.lightblue_background {
  background-color: #a0d6e2;
  color: #000;
}
.mint_background {
  background-color: #a2f6d3;
  color: #000;
}

/* Red Variant */
.card__container.red .card__shape,
.card__container.red .card__info_content {
  background: #ff1b44;
  color: #fff;
}

.card__container.red .see_more path {
  fill: #fff;
}

.card__container.red .card__shape::after {
  background: radial-gradient(
    circle at 0% 0%,
    transparent 0.6rem,
    #ff1b44 0.6rem
  );
}
.card__container.red .card__cover_container::after {
  background: #ff1b44;
}

/* Green Variant */
.card__container.green .card__shape,
.card__container.green .card__info_content {
  background: #2ddc8e;
}
.card__container.green .card__shape::after {
  background: radial-gradient(
    circle at 0% 0%,
    transparent 0.6rem,
    #2ddc8e 0.6rem
  );
}
.card__container.green .card__cover_container::after {
  background: #2ddc8e;
}

/* Orange Variant */
.card__container.orange .card__shape,
.card__container.orange .card__info_content {
  background: #fa8d5a;
}
.card__container.orange .card__shape::after {
  background: radial-gradient(
    circle at 0% 0%,
    transparent 0.6rem,
    #fa8d5a 0.6rem
  );
}
.card__container.orange .card__cover_container::after {
  background: #fa8d5a;
}

/* Blue Variant */
.card__container.blue .card__shape,
.card__container.blue .card__info_content {
  background: #009cc6;
  color: #fff;
}
.card__container.blue .see_more path {
  fill: #fff;
}
.card__container.blue .card__shape::after {
  background: radial-gradient(
    circle at 0% 0%,
    transparent 0.6rem,
    #009cc6 0.6rem
  );
}
.card__container.blue .card__cover_container::after {
  background: #009cc6;
}

/* Navy Variant */
.card__container.navy .card__shape,
.card__container.navy .card__info_content {
  background: #003746;
  color: #fff;
}
.card__container.navy .see_more path {
  fill: #fff;
}
.card__container.navy .card__shape::after {
  background: radial-gradient(
    circle at 0% 0%,
    transparent 0.6rem,
    #003746 0.6rem
  );
}
.card__container.navy .card__cover_container::after {
  background: #003746;
}

/* Cream Variant */
.card__container.cream .card__shape,
.card__container.cream .card__info_content {
  background: #fde8e0;
}
.card__container.cream .card__shape::after {
  background: radial-gradient(
    circle at 0% 0%,
    transparent 0.6rem,
    #fde8e0 0.6rem
  );
}
.card__container.cream .card__cover_container::after {
  background: #fde8e0;
}

/* Light Blue Variant */
.card__container.lightblue .card__shape,
.card__container.lightblue .card__info_content {
  background: #a0d6e2;
}
.card__container.lightblue .card__shape::after {
  background: radial-gradient(
    circle at 0% 0%,
    transparent 0.6rem,
    #a0d6e2 0.6rem
  );
}
.card__container.lightblue .card__cover_container::after {
  background: #a0d6e2;
}

/* Mint Variant */
.card__container.mint .card__shape,
.card__container.mint .card__info_content {
  background: #a2f6d3;
}
.card__container.mint .card__shape::after {
  background: radial-gradient(
    circle at 0% 0%,
    transparent 0.6rem,
    #a2f6d3 0.6rem
  );
}
.card__container.mint .card__cover_container::after {
  background: #a2f6d3;
}

.card__container {
  transition: box-shadow 0.4s cubic-bezier(0.77, 0, 0.175, 1);
  width: 100%;
}

.card__info_content {
  transition: background 0.4s cubic-bezier(0.77, 0, 0.175, 1),
    padding 0.4s cubic-bezier(0.77, 0, 0.175, 1),
    flex-grow 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.card__info_content .description {
  transition: opacity 0.5s cubic-bezier(0.77, 0, 0.175, 1),
    transform 0.5s cubic-bezier(0.77, 0, 0.175, 1),
    filter 0.5s cubic-bezier(0.77, 0, 0.175, 1);
  will-change: opacity, transform;
}

.card__cover_container {
  transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

/*.card__container:hover {
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.18), 0 1.5px 6px 0 rgba(0, 0, 0, 0.1);
  transition: all 300ms ease-in-out;
}*/
.card__container:hover .card__cover_container img {
  transform: scale(1.05);
}

/*
.card__container:hover .card__info_content {
  padding: 1.5rem;
  flex-grow: 1;
  transition-delay: 0.1s;
}

.card__container:hover .card__info_content .description {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  transition-delay: 0.3s;
}

.card__container:hover .card__info_content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}*/

.card__info_content .description {
  opacity: 0;
  transform: translateY(8px);
  filter: blur(2px);
}

.card__container .group {
  margin-bottom: 1rem;
}

.card__container .title {
  font-family: "BanamexDisplay";
  font-size: 1.4rem;
  line-height: 1.6rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3; /* number of lines to show */
  line-clamp: 3;
  -webkit-box-orient: vertical;
}

/*.card__container:hover .title {
  -webkit-line-clamp: 4; /* number of lines to show *
  line-clamp: 4;
}
*/

.card__container .category {
  font-family: "BanamexDisplay";
  font-size: 0.6rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

@media screen and (min-width: 769px) {
  .card__container .category {
    font-family: "BanamexDisplay";
    font-size: 0.8125rem;
  }

  .card__container {
    border-radius: 24px;
    overflow: hidden;
    position: relative;
  }
  .card__cover_container {
    position: relative;
    width: 100%;
  }

  .card__cover_container {
    object-fit: cover;
    height: 100%;
    width: 100%;
  }
  .page-template-temp_home
    .card__container.column.left
    .card__cover_container.cover,
  .page-template-temp_personas
    .card__container.column.left
    .card__cover_container
    .card__cover_container {
    width: 70%;
    left: 30%;
  }

  .card__info_container {
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    left: 0;
    position: absolute;
    top: 0;
    right: 0;
  }

  .card__info_content {
    padding: 1rem;
  }

  .card__container.right .card__info_content {
    text-align: right;
  }

  .card__container.right.column .card__info_content {
    text-align: left;
  }

  .card__info_container .description {
    opacity: 0;
    transition: all 500ms cubic-bezier(0.77, 0, 0.175, 1); /* easeInOutQuart */
    transition-timing-function: cubic-bezier(
      0.77,
      0,
      0.175,
      1
    ); /* easeInOutQuart */
    transform: translateY(10vh);
    height: 0;
    overflow: hidden;
  }

  .card__container.row .card__shape {
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    height: 1.2rem;
    position: relative;
    width: 50%;
  }

  .card__container.row.right .card__shape__container {
    display: flex;
    justify-content: flex-end;
  }

  .card__container.column .card__info_container {
    flex-direction: row-reverse;
  }

  .card__container.column .card__shape {
    border-bottom-right-radius: 12px;
    border-top-right-radius: 12px;
    height: 50%;
    position: relative;
    width: 1.3rem;
  }

  .card__container.column .card__info_content {
    width: calc(50% - 1rem);
  }

  .card__container.row.left .card__shape::after {
    bottom: 0;
    content: "";
    display: flex;
    width: 0.6rem;
    height: 0.6rem;

    right: -0.6rem;
    position: absolute;
    transform: scale(-1, 1) rotate(0deg);
  }

  .card__cover_container::after {
    bottom: 0;
    content: "";
    left: 0;
    position: absolute;
    transition: all 500ms cubic-bezier(0.77, 0, 0.175, 1); /* easeInOutQuart */
    transition-timing-function: cubic-bezier(
      0.77,
      0,
      0.175,
      1
    ); /* easeInOutQuart */
  }

  .card__container.row .card__cover_container::after {
    height: 1px;
    width: 100%;
  }

  .card__container.column .card__cover_container::after {
    height: 100%;
    width: 0px;
  }

  .card__container.row.right .card__shape::after {
    bottom: 0;
    content: "";
    display: flex;
    width: 0.6rem;
    height: 0.6rem;

    left: -0.6rem;
    position: absolute;
    transform: scale(-1, 1) rotate(90deg);
  }

  .card__container.column .card__shape::after {
    bottom: -0.6rem;
    content: "";
    display: flex;
    width: 0.6rem;
    height: 0.6rem;
    left: 0;
    position: absolute;
    transform: scale(-1, 1) rotate(270deg);
  }

  /* HOVERS */
  /*
  .card__container.row:hover .card__cover_container::after {
    height: 100%;
  }

  .card__container.column:hover .card__cover_container::after {
    width: 100%;
  }

  .card__container:hover .card__info_content .description {
    height: auto;
    opacity: 1;
    transition-delay: 1s;
  }

  .card__container:hover .card__info_content {
    flex-grow: 1;
    transition-delay: 500ms;
  }
  */
}

@media screen and (max-width: 768px) {
  .card__container .card__cover_container img {
    transform: scale(1.05);
  }

  .card__container {
    border-radius: 24px;
    overflow: hidden;
    position: relative;
  }
  .card__cover_container {
    position: relative;
    width: 100%;
  }

  .card__cover_container {
    object-fit: cover;
    height: 100%;
    width: 100%;
  }
  .card__info_container {
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    left: 0;
    position: absolute;
    top: 0;
    right: 0;
  }

  .card__info_content {
    padding: 0.5rem 1rem;
  }

  .card__container .title {
    font-size: 1.2rem;
    line-height: 120%;
  }

  .card__container.right .card__info_content {
    text-align: right;
  }

  .card__container.right.column .card__info_content {
    text-align: left;
  }

  .card__container.column .card__info_content {
    padding-top: 2rem;
  }

  .card__info_container .description {
    opacity: 0;
    transition: all 500ms cubic-bezier(0.77, 0, 0.175, 1); /* easeInOutQuart */
    transition-timing-function: cubic-bezier(
      0.77,
      0,
      0.175,
      1
    ); /* easeInOutQuart */
    transform: translateY(10vh);
    height: 0;
    overflow: hidden;
  }

  .card__container.row .card__shape {
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    height: 1.2rem;
    position: relative;
    width: 50%;
  }

  .card__container.row.right .card__shape__container {
    display: flex;
    justify-content: flex-end;
  }

  .card__container.column .card__info_container {
    flex-direction: row-reverse;
  }

  .card__container.column .card__shape {
    border-bottom-right-radius: 12px;
    border-top-right-radius: 12px;
    height: 50%;
    position: relative;
    width: 1.2rem;
  }

  .card__container.column .card__info_content {
    width: calc(50% - 1rem);
  }

  .card__container.row.left .card__shape::after {
    bottom: 0;
    content: "";
    display: flex;
    width: 0.6rem;
    height: 0.6rem;

    right: -0.6rem;
    position: absolute;
    transform: scale(-1, 1) rotate(0deg);
  }

  .card__cover_container::after {
    bottom: 0;
    content: "";
    left: 0;
    position: absolute;
    transition: all 500ms cubic-bezier(0.77, 0, 0.175, 1); /* easeInOutQuart */
    transition-timing-function: cubic-bezier(
      0.77,
      0,
      0.175,
      1
    ); /* easeInOutQuart */
  }

  .card__container.row .card__cover_container::after {
    height: 1px;
    width: 100%;
  }

  .card__container.column .card__cover_container::after {
    height: 100%;
    width: 0px;
  }

  .card__container.row.right .card__shape::after {
    bottom: 0;
    content: "";
    display: flex;
    width: 0.6rem;
    height: 0.6rem;

    left: -0.6rem;
    position: absolute;
    transform: scale(-1, 1) rotate(90deg);
  }

  .card__container.column .card__shape::after {
    bottom: -0.6rem;
    content: "";
    display: flex;
    width: 0.6rem;
    height: 0.6rem;
    left: 0;
    position: absolute;
    transform: scale(-1, 1) rotate(270deg);
  }

  /* HOVERS */
  /*
  .card__container.row:hover .card__cover_container::after {
    height: 100%;
  }

  .card__container.column:hover .card__cover_container::after {
    width: 100%;
  }

  .card__container:hover .card__info_content .description {
    height: auto;
    opacity: 1;
    transition-delay: 1s;
  }
  .card__container:hover .card__info_content {
    flex-grow: 1;
    transition-delay: 500ms;
  }
  */
}

@media screen and (min-width: 768px) and (max-width: 1400px) {
  .card__container.row.right .card__shape__container {
    display: flex;
    justify-content: flex-end;
  }

  .card__container .title {
    font-size: 1.2rem;
    line-height: 1.4rem;
  }

  .card__container.column .card__info_container {
    flex-direction: column;
  }

  .card__container.column .card__shape__container {
    align-items: flex-end;
    display: flex;
    flex-direction: column;
  }

  .card__container.column .card__info_content {
    width: 100% !important;
  }

  .card__container.column .cover {
    left: 0 !important;
    width: 100% !important;
  }

  .card__container.column .card__shape {
    border: 0;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    height: 2rem;
    position: relative;
    width: 50%;
  }

  .card__container.column .card__shape::after {
    bottom: 0rem;
    content: "";
    left: -0.6rem;
    transform: scale(-1, 1) rotate(90deg);
  }

  .card__container.column .card__info_content {
    width: calc(50% - 1rem);
  }
}

.page__main-content {
  width: 85vw;
  margin: 0 auto;
  padding: 50px 0;
}

@media (max-width: 1200px) {
  .mc-tag img {
    height: 5rem;
    width: 5rem;
  }
}

@media (max-width: 900px) {
  .mc-tag img {
    height: 4.5rem;
    width: 4.5rem;
  }
}

@media (max-width: 768px) {
  .mc-tag img {
    height: 3.5rem;
    width: 3.5rem;
  }
}
