.s-categories {
  max-width: 1300px;
}

.categories {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: var(--font-400);
  font-weight: 500;
  line-height: 120%;
  position: relative;
  margin-bottom: 80px;
}

.categories::before {
  content: '';
  position: absolute;
  display: inline-block;
  width: 90%;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  bottom: -20px;
}

.categories li {
  width: 12%;
  cursor: pointer;
  opacity: 1;
  transition: all 500ms;
}

.categories li:hover {
  opacity: 0.8;
}

.categories li p {
  color: var(--grey-300);
}

.categories li.active p {
  color: var(--green-400);
}

.categories li {
  position: relative;
}

.categories li.active:before {
  content: '';
  position: absolute;
  display: inline-block;
  width: 100%;
  border-bottom: 5px solid var(--green-400);
  border-radius: 10px 10px 0 0;
  bottom: -20px;
  left: 0;
}

.custom-select {
  position: relative;
  width: 100%;
  height: 55px;
  margin: 0 auto 60px;
  border: 1px solid var(--white-200);
  z-index: 1;
}

.custom-select.home {
  display: none;
}

.custom-select.ordenacao {
  display: block;
  margin: 0;
}

.custom-select .select-btn::before {
  position: absolute;
  right: 15px;
  top: 20px;
  width: 50px;
  height: 100%;
  content: "";
  background-image: url(../../img/icons/arrow-rigth.svg);
  background-repeat: no-repeat;
  transform: rotate(90deg);
  z-index: -1;
} 

.custom-select .select-btn{
  display: flex;
  height: 55px;
  padding: 20px;
  font-size: var(--font-400);
  color: var(--grey-400);
  font-weight: 400;
  align-items: center;
  cursor: pointer;
  justify-content: space-between;
}

.custom-select.ordenacao .select-btn {
  width: 195.20px;
}

.custom-select .options{
  position: relative;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--grey-200);
  display: none;
}

.custom-select.active .options{
  display: block;
}

.options .option{
  display: flex;
  height: 55px;
  cursor: pointer;
  padding: 0 16px;
  border-radius: 8px;
  align-items: center;
  background: var(--white);
}

.option .option-text{
  font-size: var(--font-400);
  color: var(--grey-400);
}

#loading {
  padding: 20px 0 100px;
}

@media (max-width: 1000px) {
  .categories.desktop {
    display: none;
  }
  
  .categories::before {
    display: none;
  }

  .custom-select.home {
    display: block;
  }
}

.card--large {
  display: flex;
  align-items: center;
  margin-bottom: 50px;
}

.card--large--img--responsive {
  display: none;
  height: 184px;
}

.card--large-column-2 {
  width:40%;
  margin-left: 60px;
  padding-right: 30px;
}

.card--large-column-2 p {
  color: var(--grey-400);
  font-size: var(--font-500);
  line-height: 150%;
}

@media (max-width: 1000px) {
  .card--large {
    flex-direction: column;
    height: auto;
  }

  .card--large img {
    width: 100%;
    height: 100%;
  }

  .card--large-column-2 {
    width:100%;
    margin: 0;
    padding: 30px;
  }
}

.header--article {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
}

.single .header--article {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
  z-index: 20;
  position: relative;
  text-align: center;
  color:#0aff8a;
}

.single .header--article .tag {
  background-color:rgb(0 255 148 / 10%);
  color:#00ff85;
}

.header--article .tag {
  margin: 0;
  margin-right: 20px;
}

.card--large h3 {
  font-size: var(--font-700);
  color: #000;
  font-weight: 600;
  font-family: 'Barlow', sans-serif;
}

.card--medium h3 {
  font-family: 'Barlow', sans-serif;
  font-size: var(--font-500);
  color: var(--grey-800)
}

.card--medium.p--horizontal h3 {
  font-size: var(--font-600);
  max-width: 500px;
}

.articles__box {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 50px;
  margin-bottom: 70px;
}

.articles__box .tag {
  font-size: 12px !important;
  padding: 5px 10px !important;
  margin-bottom: 15px !important;
}

.articles__box .card--medium h3 {
  font-size:17px;
}

.articles__box.p--vertical {
  flex-direction: column;
}

.card--medium, 
.card--large {
  background-color: var(--white);
  transition: box-shadow 0.5s;
  flex: 30%;
}

.card--medium {
  max-width: 355px;
}

.card--medium.p--horizontal {
  max-width: 800px;
  display: flex;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  padding: 30px 0 0 30px;
}

@media (max-width: 600px) {
  .card--medium {
    flex: 50%;
  }

  .card--large--img--desktop {
    display: none;
  }

  .card--large--img--responsive {
    display: block;
  }
}

.card--medium:hover,
.card--large:hover {
  box-shadow: 0 14px 32px rgba(0,0,0,0.1);
}

.card--medium .text--content {
  margin: 30px 25px;
}

.card--medium.p--horizontal .text--content {
  margin: 0;
  margin-left: 30px;
}

.card--medium .box__img {
  height: 184px;
}

.card--medium img {
  height: 100%;
  margin: 0 auto;
  object-fit: cover;
  object-position: left;
}

.card--medium.p--horizontal img {
  width: 150px;
  margin: 0;
}

.button {
  max-width: 100%;
  width: 300px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 80px;
  background-color: var(--green-400);
  color: var(--white);
  font-size: var(--font-400);
  font-weight: 500;
  transition: opacity 0.5s;
}

.button:hover {
  opacity: 0.8;
}

.s-last-post {
  background-color: var(--green-100);
  padding: 150px 0 70px;
}

.s-last-post.category-page {
  padding-top: 100px;
}

.s-last-post.bg--white {
  background-color: var(--white);
}

.s-last-post.md-padding {
  padding: 70px 0 70px;
}

.s-last-post__box {
  max-width: 800px;
}

.header--title {
  margin-bottom: 80px;
}

.header--title,
.header--title div {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 700px) {
  .header--title {
    flex-direction: column;
    gap: 15px;
  }

  .s-last-post:not(.category-page) {
    padding: 500px 0 70px;
  }

  .s-last-post.active {
    padding: 100px 0 70px;
  }
}

.subtitle {
  font-size: var(--font-600);
  font-weight: 600;
  color: #000;
}

.single .subtitle {
  color:#000;
}

.subtitle.text--black {
  color: var(--grey-800);
}

.header--title-column-1 img {
  width: 30px;
  margin-right: 15px;
}

.header--title-column-2 {
  display: inline-block;
  font-size: var(--font-400);
  margin-right: 15px;
  text-decoration: underline;
  color: var(--green-400);
}

.header--title-column-2 img {
  width: 10px;
  display: inline-block;
  vertical-align: middle;
  margin-left: 5px;
}

.header--title-column-2.box--order {
  text-decoration: none;
  color: var(--grey-600);
  font-weight: 500;
  margin: 0;
}

.select-order__box {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.select-order__box p {
  width: -webkit-fill-available;
}

.select-order__box form {
  width: 100%;
}

.select--order {
  position: relative;
  display: block;
  width: 200px;
  max-width: 100%;
  height: 50px;
  border: 1px solid var(--white-200);
  z-index: 1;
}