body {
  box-sizing: border-box;
  background-color: #eee;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.novedad-contenedor {
  width: 90%;
  display: flex;
  justify-content: space-evenly;
  margin: auto;
  padding: 1em;
  gap: 1em;
  margin-top: 2em;
  margin-bottom: 2em;
}

.info-post {
  display: flex;
  width: 50%;
  margin: auto;
  gap: 1em;
  justify-content: center;
  padding: 1em;
  border-top: 1px solid rgb(185, 185, 185);
  border-bottom: 1px solid rgb(185, 185, 185);
}

.info-post span {
  font-size: inherit;
  color: #046904;
  display: inline;
}
.info-post h2 {
  color: #024002;
  font-size: 0.7rem;
  text-transform: uppercase;
}

.novedad-contenedor main {
  width: 100%;
}

/****  ASIDE  ******/

.novedad-contenedor aside {
  width: 25%;
  display: flex;
  flex-direction: column;
  gap: 1em;
  padding: 1em;
  align-items: center;
  background-color: #fff;
}

.novedad-contenedor aside section {
  width: 100%;
  border: 1px solid #eee;
  padding: 1em;
}

.novedad-contenedor aside p {
  color: #000;
}
.novedad-contenedor aside h2 {
  font-size: 1rem;
}
.novedad-contenedor aside .redes-ultimas-novedades h2 {
  font-size: 0.8rem;
}
.novedad-contenedor aside .redes-ultimas-novedades ul {
  display: flex;
  flex-direction: row;
  padding: 1em;
}

.novedad-contenedor aside .redes-ultimas-novedades ul li a {
  display: inline;
  width: min-content;
 
  
}

.novedad-contenedor aside .redes-ultimas-novedades img {
  width: 30px;
}

.novedad-contenedor aside .redes-ultimas-novedades img:hover {
  transform: scale(1.5);
}

.img-principal-contenedor {
  width: 100%;
  display: flex;
  height: 500px;
  overflow: hidden;
  justify-content: center;
  margin-bottom: 1em;
  background-color: #eee;
}

.novedad-contenedor {
  & article {
    width: 100%;
 
    background-color: #fff;
    padding: 1em;
    & img {
      width: 95%;
      object-fit: scale-down;
    }

    & h1 {
      font-size: 2rem;
      text-align: center;
      font-family: var(--ToyotaFont);
      margin-bottom: 1rem;
    }

    & > h2 {
      font-size: 1.3rem;
    }

    & p {
      color: #000;
      font-size: 0.9rem;
      text-align: justify;
      display: block;
      padding: 10px;
    }
    ul {
      list-style: disc;
    }
    figure.image{
      margin: 0;
      width: 100%;
      display: flex;
      justify-content: center;
    }
  }
}
.novedad-contenedor article footer {
  border: 1px solid #eee;
  width: 100%;
  margin-top: 2em;
}

.novedad-contenedor article footer h2 {
  font-size: 0.6rem;
}

.novedad-contenedor article footer ul {
  display: flex;
  gap: 1em;
}
.novedad-contenedor article footer ul a {
  background-color: #eee;
  color: #000;
  padding: 10px;
  text-decoration: none;
  font-size: 0.5rem;
  font-weight: bold;
}

.novedades-contenedor aside .ultimasNovedades {
  width: 100%;
}

aside ul {
  display: flex;
  flex-direction: column;
  gap: 1em;
  margin: 0;
  padding: 0;
}

aside ul li {
  display: flex;
  width: 100%;
  gap: 0.5em;
  justify-content: center;
  align-items: center;
}

aside a {
  text-decoration: none;
  color: #000;
  width: 100%;
  font-size: 0.6rem;
  text-transform: uppercase;
  overflow: hidden;
  text-wrap: nowrap;
  text-overflow: ellipsis;
}

aside li img {
  width: 4em;

  object-fit: scale-down;
}

@media only screen and (max-width: 750px) {
  body {
    background-color: #fff;
  }
  .novedad-contenedor {
    width: 100%;
    padding: 0.2em;
    flex-direction: column;
  }
  .info-post {
    width: 100%;
    padding: 0.5em;
  }
  .info-post h2 {
    font-size: 0.5em;
  }

  .novedad-contenedor main {
    width: 100%;
  }

  .novedad-contenedor article {
    width: 100%;
    padding: 0.4em;

    figure.image{
      margin: 0;
      width: 100%;
      display: flex;
      img{
        width: 100%;
      }
    }
  }

  .novedad-contenedor article .img-principal-contenedor {
    width: 100%;
    height: auto;
    padding: 0.6em;
  }

  .novedad-contenedor article h1 {
    text-align: center;
    font-size: 1rem;
  }

  .articulo-descripcion {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .novedad-contenedor article .articulo-descripcion h2 {
    font-size: 0.9rem;
  }
  .novedad-contenedor article .articulo-descripcion ul {
    list-style: circle;
    padding-left: 1em;
  }
  .novedad-contenedor article .articulo-descripcion p,
  li {
    font-size: 0.8rem;
    padding: 0.5em;
    text-align: start;
  }

  iframe {
    width: 90%;
  }
  .novedad-contenedor aside {
    margin-top: 1em;
    width: 100%;
    background-color: #eee;
  }

  .novedad-contenedor aside section {
    border: 1px solid #fff;
  }
}
