.main__container {
  min-height: 80vh;
}

/* ============= Navigation ============= */

.bar--categories {
  padding: 10px 0px;
  background-color: white;
}

.bar--categories .grid__container-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, auto);
  align-items: center;
}

.bar--categories .left {
  display: flex;
}

.bar--categories .left .categories {
  display: flex;
  flex-wrap: wrap;
  row-gap: 5px;
}

.bar--categories button {
  position: relative;
  display: inline-block;
  background-color: transparent;
  padding: 2px 16px;
  outline: none;
  border: 0px;
  font-size: 16px;
  color: #666666;
  font-weight: bold;
}

.bar--categories button::before {
  content: "/";
  position: absolute;
  right: 0px;
  color: #666666;
  font-weight: bold;
  top: 0;
  font-size: 22px;
}

.bar--categories .header-nav-container--lenguaje {
  border: 0px;
  margin-top: 0px;
}

.bar--categories .header-nav-container--lenguaje p {
  color: var(--secondary);
}

.bar--categories .header-nav-container--lenguaje button {
  padding: 0px;
}

.bar--categories .header-nav-container--lenguaje button::before {
  content: "";
}

.input-search {
  position: relative;
  width: fit-content;
  width: -moz-fit-content;
  width: -webkit-fit-content;
  height: fit-content;
  height: -moz-fit-content;
  height: -webkit-fit-content;
  margin-left: 20px;
}

.input-search .icon {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 20px;
  left: 15px;
  font-size: 2rem;
  color: #707070;
}

.input-search input {
  font-size: 14px;
  padding: 5px 10px 5px 40px;
  color: black;
  outline: 0;
  border: 0;
  border-radius: 20px;
  background-color: #e4e4e4;
  width: 209px;
  height: 31px;
}

.header-nav-container--lenguaje {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: flex-end;
  text-align: center;
  font-size: 18px;
  width: 110px;
  color: white;
  border: 5px solid #9246a2;
  border-radius: 16px;
  margin-top: 8px;
  z-index: 52;
  padding-bottom: 5px;
}

.language__switcher{
  display: flex;
  flex-direction: row;
  gap: 5px;
}

.header-nav-container--lenguaje img {
  width: 40px;
  margin-right: 2px;
  margin-left: 2px;
}

.header-nav-container--lenguaje p {
  margin-bottom: 5px;
  margin-top: 6px;
}

.container-lenguaje {
  display: flex;
  justify-content: center;
  margin-bottom: 5px;
  padding-bottom: 5px;
}

.container-lenguaje form {
  display: flex;
}

.boton-idiomas {
  border: none;
  background-color: transparent;
  cursor: pointer;
  outline: none;
}

.boton-idiomas:hover {
  opacity: 0.7;
}

.separator-lenguaje {
  width: 1px;
  background-color: white;
  margin-left: 2px;
  margin-right: 2px;
}



/* ============= Blog Cards ============= */

.main-blogpage-container {
  background-color: #f4f4f4;
  padding: 30px 0px;
  text-align: center;
}

.main-blogpage-container .blog-container--title {
  font-size: 30px;
  font-weight: bold;
  color: #d25400;
  text-align: center;
}

.blog-background-cotainer {
  margin: 0 auto;
}

.text-blog {
  font-size: 18px;
  color: #666564;
  text-align: center;
}

.blog__card-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin: 0 auto;
}

.blog__card-container {
  display: grid;
  justify-content: center;
  grid-template-columns: repeat(auto-fit, minmax(320px, 340px));
  gap: 30px;
  margin: 0 auto;
  list-style: none;
  width: 100%;
}

.blog__card-container {
  margin: 15px 0px;
}

.blog__card {
  background-color: white;
  box-shadow: 0px 0px 20px 0px #cecccc;
  height: 400px;
  overflow: hidden;
}

.blog__card:hover {
  box-shadow: 0px 0px 10px 0px #d25400;
}

.blog__card img {
  width: 100%;
  height: 180px;
  object-fit: contain;
}

.blog-card-text h3 {
  font-size: 18px;
  color: #d25400;
  text-align: left;
  font-weight: bold;
  margin-bottom: 0px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  overflow: hidden;
}

.blog-card-text .description{
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  overflow: hidden;
}

.blog-card-text p {
  font-size: 15px;
  color: #969390;
  line-height: 2rem;
}

.blog-card-text .data {
  font-size: 12px;
  color: #707070;
  margin: 5px 0px 10px 0px;
}

.blog-card-text p {
  font-size: 14px;
  color: #969390;
  line-height: 1.2;
  text-align: left;
}

.blog-card-text {
  display: flex;
  flex-direction: column;
  height: calc(100% - 180px);
  padding: 15px;
  gap: 5px;
}

.blog-card-text .tags button {
  font-size: 12px;
  color: #707070;
  background-color: transparent;
  border: 0px;
  outline: none;
  margin-right: 10px;
}

.blog-card-text .tags{
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  overflow: hidden;
}

@media (width <=1150px) {

  .bar--categories .grid__container-section {
    display: flex;
    flex-direction: row;
    gap: 10px;
  }

  .bar--categories .left {
    display: flex;
    flex-direction: row;
  }

  .bar--categories .container .input-search {
    margin: 10px auto 0px auto;
  }

  .bar--categories .header-nav-container--lenguaje {
    position: relative;
    align-self: initial;
    top: 0;
    right: 0;
    order: 1;
  }
}

@media (width <=768px) {


  .bar--categories .grid__container-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .bar--categories .left {
    order: 2;
    gap: 10px;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }
}