.blog-grid-page__wrapper {
  display: grid;
  grid-template-columns: repeat(3, minmax(300px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
}

.blog-grid-page__card {
  border: 1px solid #ddd;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.blog-grid-page__card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.blog-grid-page__content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.blog-grid-page__content h2 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.blog-grid-page__meta {
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 0.8rem;
  display: flex;
  gap: 1rem;
}

.blog-grid-page__content a {
  margin-top: auto;
  font-weight: bold;
  color: #b42930;
  text-decoration: none;
}

.postsSideBar {
  text-decoration: none;
  color: black;
  cursor: pointer;
  list-style: none;
}

.sidebar a {
  text-decoration: none;
  color: inherit;
}

.sidebar a:hover {
  text-decoration: none;
}

.featured-image-card {
  position: relative;
}

.featured-overlay-card {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  z-index: 2;
  width: 80%;
}

.featured-overlay-card h3 {
  color: #b42930;
}

.barra-de-pesquisa {
  background: #27242b;
  padding: 20px;
  border-radius: 50px;
}


.select-wrapper {
  position: relative;
  display: inline-block;
}

.custom-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: none;
  border: none;
  color: #fff;
  padding-right: 30px;
  font-size: 1rem;
}

.arrow-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  pointer-events: none;
}

.custom-select option {
  background-color: #fff;
  color: #000;
}

.search-form {
  display: flex;
  align-items: center;
  background: transparent;
  border: 2px solid #fff;
  border-radius: 50px;
  overflow: hidden;
  padding-left: 15px;
  width: fit-content;
}

.search-input {
  background: transparent;
  border: none;
  color: #fff;
  padding: 10px 15px;
  outline: none;
  width: 200px;
}

.search-input::placeholder {
  color: #fff;
  opacity: 0.8;
}

.search-btn {
  background: transparent;
  border: none;
  color: #fff;
  padding: 10px 15px;
  cursor: pointer;
  font-size: 1rem;
}

.search-btn i {
  font-size: 16px;
}

.tittleArtigo {
  font-size: 30px;
  font-weight: bold;
  color: #27242b;
}

@media (max-width: 990px) {
  .blog-grid-page__wrapper {
    grid-template-columns: repeat(2, 1fr);
  }

  .featured-overlay-card {
    width: 90%;
    padding: 16px;
  }

  .tittleArtigo {
    font-size: 18px;
  }
}

@media (max-width: 767px) {
  .blog-grid-page__wrapper {
    grid-template-columns: 1fr;
  }

  .featured-overlay-card {
    width: 95%;
    padding: 14px;
    bottom: -20px;
  }

  .tittleArtigo {
    font-size: 17px;
  }
}


@media (max-width: 480px) {
  .featured-overlay-card {
    width: 100%;
    padding: 12px;
    bottom: -15px;
  }

  .tittleArtigo {
    font-size: 14px;
  }

  .featured-overlay-card {
    width: 85%;
    padding: 12px;
    bottom: -48px;
}

.sidebar {
  margin-top: 50px;
}

.postPopulares {
  display: none;
}
}

.post-content {
  width: 100%;
}

.section.single-post {
  overflow-x: hidden;
}
