.showcase {
  width: 100%;
  padding: 20px 0;
}

.showcase-container {
  width: 100%;
  max-width: var(--container);
  padding: 0 20px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.page-single .showcase-container {
  padding: 0 20px;
}

.showcase-title {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
}

.showcase-title h2 {
  color: var(--body-text);
  font-size: 32px;
  font-style: normal;
  font-weight: 700;
  line-height: 24px;
  text-transform: uppercase;
}

.showcase-title .showcase-line {
  width: 100%;
  flex: 1;
  height: 3px;
  background-color: var(--body-text);
}

.showcase--background {
  background-color: var(--color-primary);
}

.showcase--background .showcase-title h2 {
  color: #fff;
}

.showcase--background .showcase-title .showcase-line {
  background-color: #fff;
}

.showcase--grid-extended .showcase-posts {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  align-items: stretch;
}

.showcase-swiper {
  width: 100%;
}

.showcase-swiper:has(.swiper-pagination) {
  padding-bottom: 40px !important;
}

.showcase-swiper .swiper-pagination-bullet-active {
  background-color: #af0e0e;
}

.showcase--background .swiper-pagination-bullet {
  background-color: #fff;
}

.showcase--background .swiper-pagination-bullet-active {
  background-color: #af0e0e;
}

.showcase--grid .showcase-posts {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.showcase-button {
  width: 283px;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 18px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  background-color: transparent;
  border: 3px solid var(--color-primary);
  color: var(--color-primary);
}

.showcase-button:hover {
  background-color: var(--color-primary);
  color: #fff;
}

.showcase--background .showcase-button {
  border: 3px solid #fff;
  background: #fff;
  color: var(--color-primary);
}

.showcase--background .showcase-button:hover {
  color: #fff;
  background-color: transparent;
}

.showcase-post {
  display: none;
}

.showcase-post.is-visible {
  display: block;
}

/* Responsividade */
@media screen and (max-width: 1180px) {
  .showcase--grid .showcase-posts {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (max-width: 800px) {
  .showcase-button {
    width: 250px;
    padding: 14px 11px;
  }
}

@media screen and (max-width: 700px) {
  .showcase--grid .showcase-posts {
    grid-template-columns: repeat(2, 1fr);
  }
  .showcase--grid-extended .showcase-posts {
    grid-template-columns: repeat(1, 1fr);
  }
}

@media screen and (max-width: 640px) {
  .categories-showcase-element .categories-showcase-thumbnail {
    width: 120px;
  }
}

@media screen and (max-width: 500px) {
  .page-home-hero-section {
    flex-direction: column;
  }
  .page-home-hero-section .page-home-last-post {
    max-width: 100%;
  }
  .page-home-hero-section .page-home-latest-posts {
    display: none;
  }
  .page-home-last-post .card-post {
    min-height: 398px;
  }
  .showcase--grid .showcase-posts {
    grid-template-columns: repeat(1, 1fr);
  }
}
