/* ========================================
   BLOG.CSS - Páginas de Blog
   ======================================== */

/* Background do breadcrumb do blog */
.page-header-breadcrumb--blog .page-header-bg {
  background: url("/tema04/imagens/banner.webp") center/cover no-repeat;
}

/* ========================================
   PÁGINA BLOG (Lista)
   ======================================== */
.blog-page {
  padding: 104px 0;
}

.blog-page-list {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.blog-card-page .blog-body {
  padding-bottom: 24px;
  border-bottom: 1px solid #e9e9e9;
}

.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.blog-sidebar-title {
  font-family: Roboto, system-ui, sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: var(--neutral-soft);
  margin: 0;
}

.blog-sidebar-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.blog-side-card {
  padding: 12px;
  border-radius: 12px;
  background: transparent;
}

.blog-side-title {
  font-family: Urbanist, system-ui, sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.2;
  color: #242424;
  margin: 0 0 8px;
}

.blog-side-excerpt {
  font-size: 16px;
  line-height: 1.5;
  color: var(--neutral-soft);
  margin: 0 0 8px;
}

.blog-side-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--brand-primary-full);
  text-decoration: none;
}

.blog-side-link:hover {
  text-decoration: underline;
}

.blog-pagination {
  margin-top: 40px;
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 8px;
}

.blog-page-link {
  min-width: 34px;
  padding: 4px 12px;
  border-radius: 2px;
  border: 1px solid #e9e9e9;
  background: #fafafa;
  font-size: 14px;
  color: var(--neutral-soft);
}

.blog-page-link.is-active {
  background: var(--brand-primary-full);
  border-color: var(--brand-primary-dark);
  color: var(--neutral-white);
}

.blog-page-dots {
  font-size: 16px;
  color: var(--neutral-soft);
}

@media (max-width: 991.98px) {
  .blog-page {
    padding: 80px 0;
  }

  .blog-page-list {
    gap: 32px;
  }

  .blog-sidebar {
    margin-top: 24px;
  }

  .blog-page-list .blog-card {
    width: 100% !important;
  }
}

/* ========================================
   PÁGINA CONTEÚDO BLOG
   ======================================== */
.section-blog-hero {
  padding: 80px 0 0;
}

.blog-hero-image {
  width: 100%;
  height: 510px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.blog-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.section-blog-content {
  padding: 80px 0 104px;
}

.blog-meta {
  margin-bottom: 16px;
}

.blog-meta-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.blog-date-author {
  color: var(--neutral-light);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}

.blog-content-title {
  font-family: Urbanist, system-ui, sans-serif;
  font-weight: 600;
  font-size: 32px;
  line-height: 1.2;
  color: #4a4848;
  margin: 0 0 32px;
}

.blog-content-text {
  color: var(--neutral-soft);
  font-size: 18px;
  line-height: 1.4;
}

.blog-content-text p {
  margin-bottom: 0;
}

/* Artigos Relacionados */
.section-blog-related {
  background: #f6f6f6;
  padding: 120px 0;
  overflow: hidden;
}

#relatedBlogCarousel.owl-carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
}

#relatedBlogCarousel .owl-stage-outer {
  overflow: hidden;
  position: relative;
  width: 100%;
}

#relatedBlogCarousel .owl-item {
  box-sizing: border-box;
}

.blog-card-related {
  width: 100%;
}

@media (max-width: 991.98px) {
  .blog-hero-image {
    height: 400px;
  }

  .blog-content-title {
    font-size: 28px;
  }

  .blog-content-text {
    font-size: 16px;
  }

  .section-blog-related {
    padding: 80px 0;
  }

  .blog-card-related {
    min-width: 280px;
  }
}
