/* ========== CSS Reset & Base Defaults ========== */

/* Reset margin/padding */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Set base font and smooth rendering */
body {
  font-family: "Helvetica Neue", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background-color: #000;
  color: #fff;
  -webkit-font-smoothing: antialiased;
}

/* Set default link style */
a {
  color: inherit;
  text-decoration: none;
}

/* Remove list styles */
ul,
ol {
  list-style: none;
}

/* Default image behavior */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

@font-face {
  font-family: "BanamexDisplay";
  src: url("/wp-content/themes/comunidades_2025/fonts/Banamex_font/BanamexDisplay-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;
  }
}



.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;
}

* {
  box-sizing: border-box;
}

section{
  position: relative;
  height: 100vh;
}