.contenedor-articulos {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.header-articulos {
  display: block;
}

.grid-articulos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}

.articulo {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.articulo-img-desktop {
  display: block;
  width: 100%;
  height: 200px;
  background-color: rgb(225,225,225);
  border-radius: 10px;
}

.articulo-img-movil {
  display: none;
  width: 100%;
  height: auto;
}

.titulo-articulos {
  font-family: 'TT Rationalist Light', serif;
  font-weight: 300;
  font-size: 36px;
  line-height: 42px;
  letter-spacing: -0.25px;
  transition: color 0.3s ease;
  margin: 100px 0 25px 0;
  text-align: left;
  margin-left: 10px;
}

.articulo-titulo {
    font-family: 'TT Rationalist Light', serif;
    font-weight: 300;
    font-size: 24px;
    line-height: 32px;
    letter-spacing: -0.25px;
    transition: color 0.3s ease;
    margin: 15px 0 -5px 10px;
    max-width: 275px;
    color: var(--text-color, #111);
}

.articulo-bajada {
    font-family: 'Satoshi Black', sans-serif;
    font-size: 8px;
    line-height: 10px;
    color: rgba(245, 110, 45, 1);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-left: 12px;
    max-width: 275px;
}

.articulo-texto {
    font-family: 'Source Sans Regular', sans-serif;
    font-weight: 300;
    font-size: 14px;
    line-height: 24px;
    letter-spacing: 0px;
    margin: 5px 0 15px 10px;
    max-width: 275px;
    color: var(--text-color, #333);
}

.articulo-btn {
  position: relative;
  display: inline-block;
  align-self: flex-start;
  text-decoration: none;
  font-family: 'Satoshi Bold', sans-serif;
  font-size: 11px;
  line-height: 16px;
  letter-spacing: 0px;
  margin: 15px 0 0 10px;
  padding-bottom: 5px;
  border: none;
  color: rgb(245, 245, 245);
  transition: color 0.3s ease;
}

.articulo-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: rgb(245, 245, 245);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.articulo-btn:hover::after {
  transform: scaleX(1);
}

html.light-mode .articulo-btn {
  color: rgb(25, 25, 25);
}

html.light-mode .articulo-btn::after {
  background-color: rgb(25, 25, 25);
}

.paginado-articulos {
  display: none;
}










@media (max-width: 1200px) {
  .contenedor-articulos {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.header-articulos {
  display: block;
}

.grid-articulos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}

.articulo {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.articulo-img-desktop {
  display: block;
  width: 100%;
  height: 200px;
  background-color: rgb(225,225,225);
  border-radius: 10px;
}

.articulo-img-movil {
  display: none;
  width: 100%;
  height: auto;
}

.titulo-articulos {
  font-family: 'TT Rationalist Light', serif;
  font-weight: 300;
  font-size: 36px;
  line-height: 42px;
  letter-spacing: -0.25px;
  transition: color 0.3s ease;
  margin: 100px 0 25px 0;
  text-align: left;
  margin-left: 10px;
}

.articulo-titulo {
  font-family: 'TT Rationalist Light', serif;
  font-weight: 300;
  font-size: 24px;
  line-height: 32px;
  letter-spacing: -0.25px;
  transition: color 0.3s ease;
  margin: 15px 0 -5px 10px;
  max-width: 275px;
  color: var(--text-color, #111);
}

.articulo-bajada {
  font-family: 'Satoshi Black', sans-serif;
  font-size: 8px;
  line-height: 10px;
  color: rgba(245, 110, 45, 1);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-left: 12px;
  max-width: 275px;
}

.articulo-texto {
  font-family: 'Source Sans Regular', sans-serif;
  font-weight: 300;
  font-size: 14px;
  line-height: 24px;
  letter-spacing: 0px;
  margin: 5px 0 15px 10px;
  max-width: 275px;
  color: var(--text-color, #333);
}

.articulo-btn {
  position: relative;
  display: inline-block;
  align-self: flex-start;
  text-decoration: none;
  font-family: 'Satoshi Bold', sans-serif;
  font-size: 11px;
  line-height: 16px;
  letter-spacing: 0px;
  margin: 15px 0 0 10px;
  padding-bottom: 5px;
  border: none;
  color: rgb(245, 245, 245);
  transition: color 0.3s ease;
}

.articulo-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: rgb(245, 245, 245);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.articulo-btn:hover::after {
  transform: scaleX(1);
}

html.light-mode .articulo-btn {
  color: rgb(25, 25, 25);
}

html.light-mode .articulo-btn::after {
  background-color: rgb(25, 25, 25);
}

.paginado-articulos {
  display: none;
}










@media (max-width: 1200px) {
  .contenedor-articulos {
    width: 100vw;
    max-width: 100vw;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    overflow-x: hidden;
  }

  .header-articulos {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 100px;
    margin-bottom: 25px;
    padding: 0 20px;
    box-sizing: border-box;
  }

  .titulo-articulos {
    margin: 0;
    font-size: 28px;
    margin-left: 5px;
  }

  .articulo-titulo {
    font-family: 'TT Rationalist Light', serif;
    font-weight: 300;
    font-size: 21px;
    line-height: 28px;
    letter-spacing: -0.5px;
    transition: color 0.3s ease;
    margin: 15px 0 -5px 10px;
    max-width: 275px;
  }

  .paginado-articulos {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 0;
    margin-right: 10px;
  }

  .grid-articulos {
    display: flex;
    gap: 5px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 20px;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    width: 100vw;
    margin: 0;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
  }

  .grid-articulos::-webkit-scrollbar {
    display: none;
  }

  .articulo {
    min-width: calc(100vw - 40px);
    max-width: calc(100vw - 40px);
    scroll-snap-align: start;
    scroll-snap-stop: always;
    flex-shrink: 0;
    box-sizing: border-box;
  }

  .articulo-img-desktop {
    display: none;
  }

  .articulo-img-movil {
    display: block;
    height: 200px;
    background-color: rgb(225,225,225);
    border-radius: 10px;
  }

  .paginado-punto {
    width: 6px;
    height: 6px;
    border-radius: 3px;
    background-color: rgb(245, 245, 245);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: width 0.3s ease, background-color 0.3s ease;
  }

  .paginado-punto.activo {
    width: 25px;
    background-color: rgb(245, 245, 245);
  }

  html.light-mode .paginado-punto,
  html.light-mode .paginado-punto.activo {
    background-color: rgb(25, 25, 25);
  }
}
}