/* Versão 1.0.0 */

/* Seção blog */
.secao-blog {
  background-color: #f1f1f1;
  color: #1a1a2e;
}

/* Blog cards (página blog e componente blog-card) */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.blog-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(241, 90, 37, 0.3);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.blog-card-imagem-link {
  display: block;
  overflow: hidden;
}

.blog-card-imagem {
  overflow: hidden;
  height: 200px;
}

.blog-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.blog-card:hover .blog-card-img {
  transform: scale(1.05);
}

.blog-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px;
}

.blog-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.blog-tag {
  display: inline-block;
  background: rgba(241, 90, 37, 0.15);
  color: #f15a25;
  border: 1px solid rgba(241, 90, 37, 0.25);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 50px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: background 0.2s ease, color 0.2s ease;
}

.blog-tag:hover {
  background: #f15a25;
  color: #fff;
}

.blog-card-titulo {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.45;
  margin: 0 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-titulo a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog-card-titulo a:hover {
  color: #f15a25;
}

.blog-card-resumo {
  font-size: 13px;
  color: #888;
  line-height: 1.7;
  margin: 0 0 20px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.blog-card-autor {
  display: flex;
  align-items: center;
  gap: 8px;
}

.blog-card-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(241, 90, 37, 0.4);
  flex-shrink: 0;
}

.blog-card-autor-info {
  display: flex;
  flex-direction: column;
}

.blog-card-autor-nome {
  font-size: 12px;
  font-weight: 600;
  color: #333;
  line-height: 1.2;
}

.blog-card-autor-data {
  font-size: 11px;
  color: #aaa;
}

.blog-card-ler {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
  color: #f15a25;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.blog-card-ler svg {
  transition: transform 0.2s ease;
}

.blog-card-ler:hover {
  color: #ff7a45;
}

.blog-card-ler:hover svg {
  transform: translateX(3px);
}

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

/* Post slides (legado) */
.post-slide {
  margin: 0 10px;
}

.post-slide .post-info {
  display: flex;
  padding: 5px 0;
  margin: 0;
  list-style: none;
}

.post-slide .post-info li {
  display: flex;
  align-items: center;
  justify-items: center;
  margin: 0 5px;
}

.post-slide .post-info li i {
  margin-right: 8px;
}

.post-slide .post-info li a {
  font-size: 11px;
  font-weight: bold;
  color: #fff;
  text-transform: uppercase;
}

.post-slide .post-info li a:hover {
  color: #29ABE2;
  text-decoration: none;
}

.post-slide .post-img {
  position: relative;
}

.post-slide .post-img::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  background: rgba(0, 0, 0, 0.7);
  transition: opacity 0.40s linear 0s;
}

.post-slide:hover .post-img:before {
  opacity: 1;
}

.post-slide .post-img img {
  width: 100%;
  height: auto;
}

.post-slide .read {
  position: absolute;
  bottom: 30px;
  left: 50px;
  font-size: 14px;
  color: #0B213A;
  text-transform: capitalize;
  opacity: 0;
  transition: opacity 0.40s linear 0s;
}

.post-slide:hover .read {
  opacity: 1;
}

.post-slide.read:hover {
  text-decoration: none;
  color: #29ABE2;
}

.display-blog {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.display-blog .item-blog {
  max-width: 32%;
}

.post-slide .post-content {
  padding: 40px 0;
  position: relative;
}

.post-slide .post-autor {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  position: absolute;
  top: -84px;
  right: -10px;
  overflow: hidden;
  border: 4px solid white;
}

.post-slide .post-autor img {
  width: 100%;
  height: auto;
}

.post-slide .post-title {
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  margin: 0 0 10px 0;
  text-transform: uppercase;
  transition: all 0.30s linear 0s;
}

.post-slide .post-title:after {
  content: "";
  width: 25px;
  display: block;
  margin-top: 10px;
  border-bottom: 4px solid #f15a25;
}

.post-slide .post-description {
  font-size: 14px;
  color: #fff;
  margin-bottom: 20px;
  font-family: 'Roboto Condensed', sans-serif;
}

.post-slide .post-img img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.post-slide:hover .post-img:before {
  opacity: 1;
}

.post-slide .read {
  position: absolute;
  bottom: 30px;
  left: 50px;
  font-size: 14px;
  color: #0B213A;
  text-transform: capitalize;
  opacity: 0;
  transition: opacity 0.40s linear 0s;
}

.post-slide:hover .read {
  opacity: 1;
}

.post-slide.read:hover {
  text-decoration: none;
  color: #29ABE2;
}

#blog .tags-btn {
  padding: 5px 20px;
  background: #f15a25;
  text-transform: uppercase;
  font-family: 'Roboto Condensed', sans-serif;
  color: #000;
  font-size: 13px;
}

#blog .material-icons {
  color: #f15a25;
  font-size: 16px;
}

.secao-blog-sub {
  font-size: 1.1rem;
  color: #6c757d;
  line-height: 1.5;
  margin: 0;
}

#blog-list {
  min-height: 200px;
}

@media only screen and (max-width: 900px) {
  .display-blog .item-blog {
    max-width: 49%;
  }
}

@media only screen and (max-width: 600px) {
  .display-blog .item-blog {
    max-width: 100%;
  }
}
