/* ==========================================================================
   BLOG — Listagem + Single Post
   Segue o design system Asset: fundo preto + acento vermelho neon
   ========================================================================== */

/* ---------- Hero / Gancho (compartilhado) ---------- */
.blog-hero-section {
  background-color: #000000;
  color: #ffffff;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background-color: #000000;
}

@media (min-width: 992px) {
  .blog-hero-section {
    background: linear-gradient(to bottom,
        rgba(0, 0, 0, 0) 60%,
        rgba(0, 0, 0, 0.7) 85%,
        #000000 100%), url("../images/home/bg-hero.png") center center / cover no-repeat;
  }
}

.blog-hero-section .blog-title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 22px;
}

.blog-hero-section .blog-lead {
  font-size: 1.15rem;
  color: #e0e0e0;
  font-weight: 300;
  line-height: 1.6;
  max-width: 780px;
  margin: 0 auto;
}

@media (max-width: 991.98px) {
  .blog-hero-section {
    padding: 80px 0 0 0;
    min-height: auto;
  }
  .blog-hero-section .blog-title {
    font-size: 2.1rem;
  }
}

@media (max-width: 767.98px) {
  .blog-hero-section .blog-title {
    font-size: 1.7rem;
  }
  .blog-hero-section .blog-lead {
    font-size: 1rem;
  }
}

/* ---------- Corpo da listagem ---------- */
.blog-list-section {
  background-color: #000000;
  color: #ffffff;
  padding: 60px 0 100px;
}

/* Busca + filtros */
.blog-toolbar {
  max-width: 1000px;
  margin: 0 auto 50px;
}

.blog-search {
  position: relative;
  max-width: 460px;
  margin: 0 auto 30px;
}

.blog-search .search-icon {
  position: absolute;
  top: 50%;
  left: 18px;
  transform: translateY(-50%);
  color: var(--color-primary);
  font-size: 0.95rem;
}

.blog-search input {
  width: 100%;
  background-color: #0a0a0a;
  border: 1px solid rgba(255, 0, 51, 0.2);
  border-radius: 30px;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 300;
  padding: 13px 20px 13px 44px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.blog-search input::placeholder {
  color: #777777;
}

.blog-search input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 12px rgba(255, 0, 51, 0.25);
  outline: none;
}

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

.blog-cat-btn {
  background: transparent;
  border: 1px solid rgba(255, 0, 51, 0.25);
  border-radius: 30px;
  color: #cccccc;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  padding: 8px 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.blog-cat-btn:hover {
  border-color: var(--color-primary);
  color: #ffffff;
}

.blog-cat-btn.active {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
}

/* Tag de categoria (reutilizável) */
.blog-tag {
  display: inline-block;
  background-color: rgba(255, 0, 51, 0.12);
  border: 1px solid rgba(255, 0, 51, 0.4);
  color: #ff5c7a;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: 20px;
}

/* Post em destaque (featured) */
.blog-featured {
  background-color: #050505;
  border: 1px solid rgba(255, 0, 51, 0.15);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 55px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.blog-featured:hover {
  border-color: rgba(255, 0, 51, 0.35);
  box-shadow: 0 0 25px rgba(255, 0, 51, 0.08);
}

.blog-featured .featured-thumb {
  height: 100%;
  min-height: 320px;
  background-size: cover;
  background-position: center;
}

.blog-featured .featured-body {
  padding: 45px 45px;
}

.blog-featured .featured-title {
  font-size: 1.7rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
  margin: 16px 0 14px;
}

.blog-featured .featured-excerpt {
  font-size: 1rem;
  color: #cccccc;
  font-weight: 300;
  line-height: 1.65;
  margin-bottom: 20px;
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  color: #999999;
  font-size: 0.82rem;
  font-weight: 300;
  margin-bottom: 22px;
}

.blog-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.blog-meta span a{
  font-weight: normal;
}

.blog-meta i {
  color: var(--color-primary);
}

@media (max-width: 767.98px) {
  .blog-featured .featured-thumb {
    min-height: 220px;
  }
  .blog-featured .featured-body {
    padding: 32px 26px;
  }
  .blog-featured .featured-title {
    font-size: 1.35rem;
  }
}

/* Grid de artigos */
.blog-card {
  background-color: #050505;
  border: 1px solid rgba(255, 0, 51, 0.12);
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.blog-card:hover {
  border-color: rgba(255, 0, 51, 0.35);
  box-shadow: 0 0 20px rgba(255, 0, 51, 0.07);
  transform: translateY(-5px);
}

.blog-card .card-thumb {
  height: 190px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

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

.blog-card .card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  margin: 14px 0 12px;
}

.blog-card .card-excerpt {
  font-size: 0.9rem;
  color: #b3b3b3;
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 18px;
}

.blog-card .card-readmore {
  margin-top: auto;
  color: var(--color-primary);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: gap 0.3s ease, color 0.3s ease;
}

.blog-card .card-readmore:hover {
  color: #ffffff;
  gap: 12px;
}

/* Banner lateral de conversão (dentro do grid) */
.blog-sidebar-cta {
  background: linear-gradient(135deg,
      rgba(45, 9, 13, 0.6) 0%,
      rgba(20, 4, 6, 0.7) 100%);
  border: 1px solid rgba(255, 0, 51, 0.3);
  border-radius: 12px;
  padding: 34px 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  box-shadow: inset 0 0 25px rgba(255, 0, 51, 0.05);
}

.blog-sidebar-cta .cta-icon {
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.blog-sidebar-cta p {
  font-size: 1.02rem;
  color: #ffffff;
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 24px;
}

/* ---------- SINGLE POST ---------- */
.single-post-section {
  background-color: #000000;
  color: #ffffff;
  padding: 160px 0 90px;
}

/* Breadcrumb */
.post-breadcrumb {
  font-size: 0.85rem;
  color: #999999;
  font-weight: 300;
  margin-bottom: 30px;
}

.post-breadcrumb a {
  color: #cccccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.post-breadcrumb a:hover {
  color: var(--color-primary);
}

.post-breadcrumb .sep {
  margin: 0 8px;
  color: #555555;
}

/* Cabeçalho */
.post-header {
  margin-bottom: 35px;
}

.post-header .post-title {
  font-size: 2.4rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin: 16px 0 20px;
}

/* Imagem destacada */
.post-featured-img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(255, 0, 51, 0.2);
  margin-bottom: 40px;
  box-shadow: 0 0 25px rgba(255, 0, 51, 0.06);
}

/* Corpo do texto */
.post-content {
  font-size: 1.05rem;
  color: #d9d9d9;
  font-weight: 300;
  line-height: 1.85;
}

.post-content h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #ffffff;
  margin: 40px 0 18px;
}

.post-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin: 30px 0 14px;
}

.post-content p {
  margin-bottom: 20px;
}

.post-content strong {
  color: #ffffff;
  font-weight: 700;
}

.post-content ul,
.post-content ol {
  margin: 0 0 22px;
  padding-left: 5px;
  list-style: none;
}

.post-content ul li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
}

.post-content ul li::before {
  content: "\f00c";
  font-family: var(--fontawesome, "Font Awesome 6 Free");
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--color-primary);
  font-size: 0.85rem;
}

.post-content blockquote {
  border-left: 3px solid var(--color-primary);
  background: rgba(255, 0, 51, 0.04);
  padding: 18px 24px;
  margin: 28px 0;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: #ffffff;
}

/* Banner intermediário (CTA in-article) */
.post-inline-cta {
  background: linear-gradient(135deg,
      rgba(45, 9, 13, 0.6) 0%,
      rgba(20, 4, 6, 0.7) 100%);
  border: 1px solid rgba(255, 0, 51, 0.3);
  border-radius: 12px;
  padding: 38px 40px;
  margin: 45px 0;
  text-align: center;
  box-shadow: inset 0 0 25px rgba(255, 0, 51, 0.05);
}

.post-inline-cta p {
  font-size: 1.12rem;
  color: #ffffff;
  font-weight: 400;
  line-height: 1.55;
  margin-bottom: 24px;
}

/* Rodapé do artigo — bio do autor */
.post-author-box {
  display: flex;
  align-items: center;
  gap: 22px;
  background-color: #050505;
  border: 1px solid rgba(255, 0, 51, 0.15);
  border-radius: 12px;
  padding: 28px 30px;
  margin: 50px 0 35px;
}

.post-author-box .author-avatar {
  flex-shrink: 0;
  width: 68px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 0, 51, 0.35);
  color: var(--color-primary);
  font-size: 1.7rem;
}

.post-author-box h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.post-author-box p {
  font-size: 0.9rem;
  color: #b3b3b3;
  font-weight: 300;
  line-height: 1.55;
  margin-bottom: 0;
}

/* Compartilhamento social */
.post-share {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding-bottom: 15px;
  margin-bottom: 10px;
}

.post-share .share-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
}

.post-share a {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 0, 51, 0.3);
  color: #ffffff;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.post-share a:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
  transform: translateY(-3px);
}

/* Artigos relacionados */
.related-section {
  background-color: #000000;
  color: #ffffff;
  padding: 20px 0 100px;
}

.related-section .related-title {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-align: center;
  margin-bottom: 45px;
}

@media (max-width: 767.98px) {
  .single-post-section {
    padding: 120px 0 70px;
  }
  .post-header .post-title {
    font-size: 1.7rem;
  }
  .post-content {
    font-size: 1rem;
  }
  .post-content h2 {
    font-size: 1.35rem;
  }
  .post-inline-cta {
    padding: 30px 24px;
  }
  .post-inline-cta p {
    font-size: 1.02rem;
  }
  .post-author-box {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
}
