/* style.css - Estilos globais do projeto */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: #222;
}

img {
  max-width: 100%;
  height: auto;
}

/* Header fixo */
#header-sticky {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background-color: transparent;
  transition: all 0.4s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

#header-sticky.header-sticky-active {
  background-color: #fff;
  padding: 15px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

#header-sticky.header-sticky-active .logo-dark img {
  filter: brightness(0); /* Logo preta em fundo branco */
}

/* Estilo para os posts recentes no sidebar */
.recent-posts-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.recent-posts-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.recent-posts-list .post-img {
  width: 80px;
  height: 60px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 4px;
}

.recent-posts-list .post-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.recent-posts-list .post-content {
  flex: 1;
  min-width: 0;
}

.recent-posts-list .post-content h5 {
  font-size: 14px;
  margin: 0 0 4px;
  line-height: 1.4;
}

.recent-posts-list .post-content span {
  font-size: 12px;
  color: #666;
}





/* Agrupa imagens consecutivas lado a lado */
.blog-content figure.alignleft,
.blog-content figure.wp-block-image,
.blog-content img {
  display: inline-block;
  vertical-align: top;
  margin: 0 8px 16px 0;
  max-width: calc(50% - 8px);
  width: 100%;
}

@media (max-width: 768px) {
  .blog-content figure.alignleft,
  .blog-content figure.wp-block-image,
  .blog-content img {
    max-width: 100%;
    display: block;
  }
}

.blog-content .image-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 16px 0;
}

.blog-content .image-row img {
  width: 100%;
  max-width: 48%;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
}

