.banner-blog {
  background-image: linear-gradient(#0000003a, #0000003a),
    url(/teste/front/assets/img/blog.png);
  background-size: cover;
  height: 50vh;

  display: flex;
  justify-content: center;
  align-items: center;

  color: #fff;
}

.content-blog .bg-card {
  background-size: cover !important;
}

.item-card .blog-buttons {
  display: flex;
  align-items: center;
}

.item-card .blog-buttons button {
  width: 50%;
}

.item-card .context-blog {
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: space-between;
}

.item-card .context-blog a {
  text-decoration: none;
}

.item-card .context-blog span {
  font-size: 0.9rem;
  color: #3b3b3b;
}

@media (min-width: 720px) and (max-width: 1024px) {
}

@media (max-width: 640px) {
  .banner-blog {
    height: 20vh;
  }
}

/* INFO-BLOG */
.blog-info {
  margin-block: 3rem;
}

.blog-info .container .content-blog-photo {
  background-size: cover !important;
  background-repeat: no-repeat !important;

  display: flex;
  align-items: flex-end;
}

.blog-info .container .content-blog-photo img {
  width: 100%;
  height: 100%;
}

@media (max-width: 760px) {
  .blog-info .container .content-blog-photo img {
    width: 100%;
    height: 100%;
  }
}

.blog-info .container .content-blog-photo .title-blog {
  background: #000000e0;
  width: 100%;
  height: 20%;

  padding: 0.5rem 2rem;
  font-size: 1rem;
  color: #fff;
}

.blog-info .blog-creator-text {
  color: #3b3b3b;
}

.blog-info .buttons {
  display: flex;
  gap: 0.5rem;
}

.blog-info .buttons button {
  width: 18%;
  padding: 0.6rem 1rem;

  border: 0;
  color: #fff;
}

.blog-info .buttons button.facebook {
  background: #5e84c5;
}

.blog-info .buttons button.twitter {
  background: #1997ee;
}

.blog-info .user-avatar {
  width: 6%;
  margin-right: 0.5rem;
}

.blog-info .total-comments {
  margin-top: 2rem;
}

.blog-info .total-comments .comment {
  background: #3b3b3b;
  text-transform: uppercase;
  padding: 0.3rem;

  color: #fff;
}

.blog-info .form textarea::placeholder {
  font-size: 1rem;
}

.blog-info .form button {
  background: var(--bg-primary);
  margin-top: 0.5rem;

  color: #fff;
}

/* COMMENTS */
.blog-info .comments {
  display: flex;
  flex-direction: column;

  gap: 1rem;
}

.item-comment {
  background: #fff;

  display: flex;
  gap: 1rem;
  padding: 0.9rem;
}

.item-comment .comment h4 {
  font-weight: bold;
  font-size: 1.2rem !important;
}

.item-comment:nth-child(2n + 2) {
  border-left: 1px solid #1997ee;
}

.blog-info .comments .header-comment {
  display: flex;
  gap: 0.3rem;
  width: 10%;
}

.blog-info .comments .header-comment .photo {
  width: 100%;
}

.blog-info .comments .header-comment .photo img {
  width: 90%;
  border-radius: 50%;
}

/* ITEMS BLOG INFO */
.items-blog-info {
  display: flex;
  gap: 1rem;
  flex-direction: column;

  margin-top: 3rem;
}

.items-blog-info .item-blog {
  display: flex;
  gap: 1rem;

  color: #2b2b2b;
  text-decoration: none;
}

.items-blog-info .item-blog .photo {
  width: 50%;
}

.items-blog-info .item-blog .context {
  width: 50%;
}

.items-blog-info .item-blog .context h3 {
  font-size: 1rem;
}

.items-blog-info .item-blog img {
  width: 100%;
}

@media (min-width: 720px) and (max-width: 1024px) {
}

@media (max-width: 640px) {
  .blog-info .container .content-blog-photo {
    height: 40vh;
    background-position: center !important;

    background-size: cover !important;
    background-repeat: no-repeat !important;
  }

  .blog-info .container .content-blog-photo .title-blog {
    font-size: 0.9rem;
    height: auto;
    padding: 1rem;
  }

  .blog-info .container .content-blog-photo .title-blog h3 {
    font-size: 1rem;
  }

  .blog-info .buttons {
    width: 100%;
  }

  .blog-info .buttons button {
    width: 100%;
  }

  /* AVATAR */
  .blog-info .user-avatar {
    width: 12%;
  }

  .blog-info .comments .header-comment {
    width: 60%;
  }
}
