:root {
  --primary-color: #621617;
  --secondary-color: #F2B381;
  --light-peach: #F9D5B3;
  --gradient-start: #F9D5B3;
  --gradient-end: #F0C387;
  --text-color: #333333;
  --bg-color: #FFFFFF;
  --transition: all 0.4s ease;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text-color);
  background-color: var(--bg-color);
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  color: var(--text-color);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 15px;
}

/* Header Styles */
.site-header {
  background-color: var(--primary-color);
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  transition: var(--transition);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.site-logo img {
  max-height: 60px;
}

.main-navigation ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-navigation li {
  margin-left: 30px;
  position: relative;
}

.main-navigation a {
  color: var(--secondary-color);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  padding: 5px 0;
  position: relative;
  text-decoration: none;
}

.main-navigation a:hover {
  color: var(--bg-color);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--bg-color);
  font-size: 24px;
  cursor: pointer;
}

/* Hero Section */
.hero-section {
  background-color: var(--primary-color);
  background-image: url('img/bg-advogado.jpg');
  background-size: cover;
  background-position: center;
  /* background-attachment: fixed; */
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: var(--bg-color);
  text-align: center;
  padding-top: 80px;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: linear-gradient(138deg, #621617, #6216179c);););););
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.hero-logo {
  margin-bottom: 30px;
}

.hero-logo img {
  max-width: 90%;
}

.hero-address {
  margin-bottom: 50px;
}

.hero-address p {
  margin: 5px 0;
  font-size: 16px;
  color: var(--secondary-color);
  font-weight: 700;
}

.saiba-mais-btn a {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--primary-color);
  border: 2px solid var(--primary-color);
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
  transition: var(--transition);
  border-radius: 0.4em;
}

.saiba-mais-btn a:hover {opacity: 0.7;}

/* Quem Somos Section */
.quem-somos-section {
  padding: 100px 0;
  background-color: var(--bg-color);
  background-image: url('../img/bg-law-books.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}

.quem-somos-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  z-index: 1;
}

.quem-somos-section .container {
  position: relative;
  z-index: 2;
}

.section-heading {
  margin-bottom: 50px;
}

.section-heading h2 {
  font-size: 36px;
  color: var(--primary-color);
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.section-heading h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--secondary-color);
}

.quem-somos-content {
  font-size: 16px;
  line-height: 1.8;
}

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

.quem-somos-content strong {
  color: var(--primary-color);
}

/* Diferenciais Section */
.diferenciais-section {
  padding: 80px 0;
  background-color: var(--primary-color);
  color: var(--bg-color);
  text-align: center;
}

.section-title {
  font-size: 36px;
  color: var(--bg-color);
  margin-bottom: 60px;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background-color: var(--secondary-color);
}

.diferenciais-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.diferencial-item {
  padding: 30px;
  border-top: 3px solid var(--secondary-color);
  background-color: rgba(255, 255, 255, 0.05);
  height: 100%;
  transition: var(--transition);
}

.diferencial-item:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.1);
}

.diferencial-item h3 {
  color: var(--secondary-color);
  font-size: 24px;
  margin-bottom: 20px;
}

.diferencial-item p {
  color: var(--bg-color);
  font-size: 15px;
  line-height: 1.6;
}

/* Advogado Section */
.advogado-section {
  padding: 100px 0;
  background-color: var(--light-peach);
}

.advogado-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 50px;
  align-items: center;
  margin-top: 3em;
}

.advogado-foto img {
  width: 100%;
  max-width: 350px;
  display: block;
  border-radius: 5px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.advogado-info h2 {
  font-size: 36px;
  color: var(--text-color);
  margin-bottom: 5px;
}

.advogado-info h3 {
  font-size: 24px;
  color: var(--text-color);
  margin-bottom: 10px;
}

.advogado-info h4 {
  font-size: 28px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.advogado-info p {
  font-size: 16px;
  line-height: 1.8;
}

/* ÃƒÂreas de AtuaÃƒÂ§ÃƒÂ£o Section */
/* Ãreas de AtuaÃ§Ã£o Section */
.areas-atuacao-section {
  padding: 100px 0;
  background-color: var(--light-peach);
}

.areas-title {
  font-size: 36px;
  color: var(--text-color);
  margin-bottom: 60px;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.areas-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--secondary-color);
}

.areas-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: flex-start;
}

.areas-lista {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.area-item {
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 4px;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.area-header {
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  z-index: 2;
}

.area-header h3 {
  margin: 0;
  font-size: 18px;
  color: var(--text-color);
  transition: var(--transition);
  flex-grow: 1;
}

.area-dot {
  width: 10px;
  height: 10px;
  min-width: 10px; /* Garante que nÃ£o encolha */
  background-color: var(--primary-color);
  border-radius: 50%;
  transition: var(--transition);
  position: relative;
}

/* Adiciona um efeito de + e - ao dot */
.area-dot::before,
.area-dot::after {
  content: '';
  position: absolute;
  background-color: var(--primary-color);
  transition: all 0.3s ease;
}

.area-dot::before {
  width: 10px;
  height: 2px;
  top: 4px;
  left: 0;
}

.area-dot::after {
  width: 2px;
  height: 10px;
  left: 4px;
  top: 0;
}

.area-item.active .area-header {
  background-color: var(--primary-color);
}

.area-item.active .area-header h3 {
  color: var(--bg-color);
}

.area-item.active .area-dot {
  background-color: var(--secondary-color);
}

.area-item.active .area-dot::before,
.area-item.active .area-dot::after {
  background-color: var(--secondary-color);
}

.area-item.active .area-dot::after {
  transform: scaleY(0);
}

.area-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.25s ease;
  padding: 0 20px;
  background-color: rgba(255, 255, 255, 0.8);
}

.area-item.active .area-content {
  max-height: 2000px;
  padding: 20px;
}

.area-content p {
  margin-bottom: 15px;
  font-size: 15px;
  line-height: 1.6;
}

.area-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.area-content li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 15px;
}

.area-content li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary-color);
}

.areas-imagem img {
  width: 100%;
  border-radius: 5px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Artigos e NotÃƒÂ­cias Section */
.artigos-section {
  padding: 100px 0;
  background-color: var(--bg-color);
}

.artigos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.artigo-item {
  background-color: #f9f9f9;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.artigo-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.artigo-thumbnail img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: var(--transition);
}

.artigo-item:hover .artigo-thumbnail img {
  transform: scale(1.05);
}

.artigo-content {
  padding: 20px;
}

.artigo-content h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.artigo-content h3 a {
  color: var(--text-color);
  text-decoration: none;
  transition: var(--transition);
}

.artigo-content h3 a:hover {
  color: var(--primary-color);
}

.artigo-meta {
  margin-bottom: 15px;
  font-size: 14px;
  color: #777;
}

.artigo-excerpt {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.leia-mais {
  display: inline-block;
  padding: 8px 15px;
  background-color: var(--light-peach);
  color: var(--primary-color);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 3px;
  transition: var(--transition);
}

.leia-mais:hover {
  background-color: var(--primary-color);
  color: var(--bg-color);
}

/* Contato Section */
.contato-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
}

.contato-heading h2 {
  text-align: center;
  margin-bottom: 60px;
}

.contato-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.contato-col h3 {
  font-size: 20px;
  color: var(--primary-color);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
  display: inline-block;
}

.contato-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--secondary-color);
}

.contato-menu, .contato-info {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contato-menu li, .contato-info li {
  margin-bottom: 10px;
}

.contato-menu a {
  color: var(--text-color);
  text-decoration: none;
  transition: var(--transition);
}

.contato-menu a:hover {
  color: var(--primary-color);
}

.contato-form {
  max-width: 800px;
  margin: 0 auto;
}

.contato-form h3 {
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 30px;
  text-align: center;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-control {
  width: 100%;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 3px;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  transition: var(--transition);
  background-color: var(--bg-color);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
}

.form-captcha {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.form-captcha span {
  margin-right: 10px;
  font-weight: 600;
}

.captcha-input {
  width: 60px;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 3px;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
}

.btn-enviar {
  padding: 12px 30px;
  background-color: var(--primary-color);
  color: var(--bg-color);
  border: none;
  border-radius: 3px;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-enviar:hover {
  background-color: var(--secondary-color);
}

.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
}

.whatsapp-float a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: var(--bg-color);
  border-radius: 50%;
  font-size: 28px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.whatsapp-float a:hover {
  transform: scale(1.1);
}

/* Footer */
.site-footer {
  background-color: var(--primary-color);
  color: var(--bg-color);
  padding: 20px 0;
  text-align: center;
}

.footer-content p {
  margin: 0;
  font-size: 14px;
}

.footer-content a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: var(--transition);
}

.footer-content a:hover {
  color: var(--bg-color);
}

/* Animation Classes */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .container {
    padding: 0 30px;
  }
}

@media (max-width: 992px) {
  .diferenciais-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .advogado-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .advogado-foto img {
    margin: 0 auto 30px;
  }
  
  .areas-content {
    grid-template-columns: 1fr;
  }
  
  .areas-imagem {
    order: -1;
    margin-bottom: 30px;
  }
  
  .artigos-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .contato-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  
  .main-navigation {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background-color: var(--primary-color);
    padding: 80px 30px 30px;
    transition: var(--transition);
    z-index: 1001;
    flex-direction: column;
  }
  
  .main-navigation.active {
    right: 0;
  }
  
  .main-navigation ul {
    flex-direction: column;
  }
  
  .main-navigation li {
    margin: 0 0 15px;
  }
  
  .artigos-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .hero-logo img {
    max-width: 100%;
  }
}

@media (max-width: 576px) {
  .section-title, 
  .section-heading h2,
  .areas-title {
    font-size: 28px;
  }
  
  .hero-address p {
    font-size: 14px;
  }
  
  .saiba-mais-btn a {
    padding: 10px 20px;
    font-size: 12px;
  }
}

/* Estilos para Página de Artigo (single.php) */
.article-header {
  padding-bottom: 30px;
  MARGIN-TOP: 100px;
}

.breadcrumbs {
  margin-bottom: 20px;
  color: #621617;
  font-size: 14px;
}

.breadcrumbs a {
  color: rgb(98 22 23);
  transition: var(--transition);
}

.breadcrumbs a:hover {
  color: var(--secondary-color);
}

.breadcrumbs .separator {
  margin: 0 10px;
}

.breadcrumbs .current {
  color: var(--secondary-color);
}

.single-post-thumbnail {
  margin-bottom: 30px;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.single-post-thumbnail img {
  width: 100%;
  display: block;
}

.entry-content {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-color);
  margin-bottom: 40px;
}

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

.entry-content h2, 
.entry-content h3, 
.entry-content h4 {
  margin-top: 40px;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.entry-content ul, 
.entry-content ol {
  margin-bottom: 20px;
  padding-left: 20px;
}

.entry-content li {
  margin-bottom: 10px;
}

.entry-content a {
  color: var(--primary-color);
  text-decoration: underline;
}

.entry-content a:hover {
  color: var(--secondary-color);
}

.entry-content blockquote {
  border-left: 3px solid var(--secondary-color);
  padding: 20px;
  background-color: rgba(198, 167, 72, 0.05);
  margin: 30px 0;
  font-style: italic;
}

.entry-footer {
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  padding: 20px 0;
  margin-bottom: 40px;
}

.entry-tags {
  margin-bottom: 20px;
}

.tags-title {
  font-weight: 600;
  color: var(--primary-color);
  margin-right: 10px;
}

.social-sharing {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.share-title {
  font-weight: 600;
  color: var(--primary-color);
  margin-right: 15px;
}

.social-sharing a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #f5f5f5;
  border-radius: 50%;
  margin-right: 10px;
  transition: var(--transition);
}

.social-sharing a:hover {
  transform: translateY(-3px);
}

.share-facebook:hover {
  background-color: #3b5998;
  color: white;
}

.share-twitter:hover {
  background-color: #1da1f2;
  color: white;
}

.share-linkedin:hover {
  background-color: #0077b5;
  color: white;
}

.share-whatsapp:hover {
  background-color: #25d366;
  color: white;
}

.author-box {
  display: flex;
  background-color: #f9f9f9;
  border-radius: 5px;
  padding: 30px;
  margin-bottom: 40px;
}

.author-avatar {
  margin-right: 20px;
}

.author-avatar img {
  border-radius: 50%;
}

.author-name {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.author-bio {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-color);
  margin: 0;
}

.post-navigation {
  margin-bottom: 50px;
}

.navigation-title {
  font-size: 20px;
  color: var(--primary-color);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.navigation-title:after {
  content: '';
  position: absolute;
  width: 40px;
  height: 2px;
  background-color: var(--secondary-color);
  bottom: 0;
  left: 0;
}

.post-nav-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.post-nav-prev, 
.post-nav-next {
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 5px;
  transition: var(--transition);
}

.post-nav-prev:hover, 
.post-nav-next:hover {
  background-color: var(--light-peach);
}

.nav-subtitle {
  display: block;
  font-size: 13px;
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 10px;
}

.nav-link {
  text-decoration: none;
  color: var(--text-color);
  display: flex;
  align-items: center;
}

.nav-thumbnail {
  width: 70px;
  height: 70px;
  margin-right: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.nav-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-content {
  display: flex;
  align-items: center;
  font-size: 15px;
  font-weight: 500;
}

.nav-content i {
  color: var(--primary-color);
  font-size: 18px;
  margin: 0 10px;
}

.related-posts {
  margin-bottom: 50px;
}

.related-title {
  font-size: 20px;
  color: var(--primary-color);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.related-title:after {
  content: '';
  position: absolute;
  width: 40px;
  height: 2px;
  background-color: var(--secondary-color);
  bottom: 0;
  left: 0;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.related-item {
  background-color: #f9f9f9;
  border-radius: 5px;
  overflow: hidden;
  transition: var(--transition);
}

.related-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.related-thumbnail {
  height: 180px;
  overflow: hidden;
}

.related-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.related-item:hover .related-thumbnail img {
  transform: scale(1.05);
}

.related-content {
  padding: 15px;
}

.related-item-title {
  font-size: 16px;
  margin-bottom: 10px;
}

.related-item-title a {
  color: var(--text-color);
  text-decoration: none;
  transition: var(--transition);
}

.related-item-title a:hover {
  color: var(--primary-color);
}

.related-date {
  font-size: 13px;
  color: #888;
}

/* Sidebar Styles */
.sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-widget {
  background-color: #f9f9f9;
  border-radius: 5px;
  padding: 25px;
  margin-bottom: 30px;
}

.widget-title {
  font-size: 18px;
  color: var(--primary-color);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.widget-title:after {
  content: '';
  position: absolute;
  width: 30px;
  height: 2px;
  background-color: var(--secondary-color);
  bottom: 0;
  left: 0;
}

.about-content {
  text-align: center;
}

.about-content img {
  max-width: 120px;
  margin-bottom: 15px;
}

.about-content p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 15px;
}

.read-more {
  display: inline-block;
  padding: 8px 15px;
  background-color: var(--primary-color);
  color: white;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 3px;
  transition: var(--transition);
}

.read-more:hover {
  background-color: var(--secondary-color);
  color: white;
}

.category-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.category-list li {
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.category-list li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.category-list a {
  color: var(--text-color);
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.category-list a:hover {
  color: var(--primary-color);
}

.count {
  font-size: 12px;
  color: #888;
}

.recent-posts {
  list-style: none;
  padding: 0;
  margin: 0;
}

.recent-posts li {
  display: flex;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.recent-posts li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.post-thumb {
  width: 60px;
  height: 60px;
  margin-right: 15px;
  border-radius: 3px;
  overflow: hidden;
}

.post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-info h4 {
  font-size: 14px;
  margin: 0 0 5px;
}

.post-info h4 a {
  color: var(--text-color);
  text-decoration: none;
  transition: var(--transition);
}

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

.post-info .date {
  font-size: 12px;
  color: #888;
}

.tagcloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tagcloud a {
  display: inline-block;
  padding: 5px 10px;
  background-color: #eee;
  color: var(--text-color);
  font-size: 12px !important;
  border-radius: 3px;
  text-decoration: none;
  transition: var(--transition);
}

.tagcloud a:hover {
  background-color: var(--primary-color);
  color: white;
}

.contact-info {
  margin-bottom: 20px;
}

.contact-item {
  display: flex;
  margin-bottom: 15px;
}

.contact-item i {
  color: var(--primary-color);
  margin-right: 10px;
  font-size: 18px;
}

.contact-item p {
  margin: 0;
  font-size: 14px;
}

.contact-button {
  display: block;
  text-align: center;
  padding: 10px 20px;
  background-color: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: 3px;
  font-weight: 600;
  transition: var(--transition);
}

.contact-button:hover {
  background-color: var(--secondary-color);
  color: white;
}

/* Comments */
.comments-area {
  margin-top: 50px;
}

.comments-title {
  font-size: 20px;
  color: var(--primary-color);
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 10px;
}

.comments-title:after {
  content: '';
  position: absolute;
  width: 40px;
  height: 2px;
  background-color: var(--secondary-color);
  bottom: 0;
  left: 0;
}

.comment-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.comment {
  margin-bottom: 30px;
}

.comment-author {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.comment-author img {
  border-radius: 50%;
  margin-right: 15px;
}

.comment-metadata {
  font-size: 12px;
  color: #888;
  margin-bottom: 10px;
}

.comment-content {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 5px;
}

.comment-reply-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 14px;
  color: var(--primary-color);
  font-weight: 600;
}

.comment-form-comment label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
}

.comment-form-comment textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #eee;
  border-radius: 3px;
}

.form-submit input {
  padding: 10px 20px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 3px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.form-submit input:hover {
  background-color: var(--secondary-color);
}

/* Responsive styles */
@media (max-width: 992px) {
  .content-layout {
    grid-template-columns: 1fr;
  }
  
  .sidebar {
    margin-top: 50px;
  }
  
  .post-nav-links {
    grid-template-columns: 1fr;
  }
  
  .related-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .related-grid {
    grid-template-columns: 1fr;
  }
  
  .author-box {
    flex-direction: column;
    text-align: center;
  }
  
  .author-avatar {
    margin: 0 auto 20px;
  }
  
  .social-sharing {
    justify-content: center;
  }
}

/* Estilos para Blog e Arquivos */

/* Blog Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.blog-post {
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: var(--transition);
}

.blog-post:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.post-thumbnail {
  height: 250px;
  overflow: hidden;
}

.post-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.post-content {
  padding: 25px;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 15px;
  font-size: 14px;
  color: #777;
}

.post-meta span {
  display: flex;
  align-items: center;
}

.post-meta i {
  margin-right: 5px;
  color: var(--primary-color);
}

.post-meta a {
  color: #777;
  transition: var(--transition);
}

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

.entry-title {
  font-size: 22px;
  margin-bottom: 15px;
}

.entry-title a {
  color: var(--text-color);
  text-decoration: none;
  transition: var(--transition);
}

.entry-title a:hover {
  color: var(--primary-color);
}

.entry-summary {
  margin-bottom: 20px;
  font-size: 15px;
  line-height: 1.6;
  color: #555;
}

.read-more {
  display: inline-block;
  padding: 8px 15px;
  background-color: var(--light-peach);
  color: var(--primary-color);
  font-size: 14px;
  font-weight: 600;
  border-radius: 3px;
  text-decoration: none;
  transition: var(--transition);
}

.read-more:hover {
  background-color: var(--primary-color);
  color: #fff;
}

/* Pagination */
.pagination {
  margin-top: 40px;
  text-align: center;
}

.pagination .page-numbers {
  display: inline-block;
  margin: 0 5px;
  padding: 8px 15px;
  background-color: #f5f5f5;
  color: var(--text-color);
  border-radius: 3px;
  text-decoration: none;
  transition: var(--transition);
}

.pagination .page-numbers.current {
  background-color: var(--primary-color);
  color: #fff;
}

.pagination .page-numbers:hover:not(.current) {
  background-color: var(--light-peach);
  color: var(--primary-color);
}

.pagination .prev,
.pagination .next {
  display: inline-flex;
  align-items: center;
}

.pagination .prev i,
.pagination .next i {
  margin: 0 5px;
}

/* Archive & Search Headers */
.archive-header,
.search-header,
.author-header {
  background-color: var(--primary-color);
  padding: 80px 0 40px;
  color: #fff;
  text-align: center;
}

.archive-description {
  margin-top: 15px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  font-size: 16px;
  opacity: 0.9;
}

.search-results-count {
  margin-bottom: 30px;
  font-size: 16px;
  color: var(--primary-color);
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

/* No Results */
.no-results {
  text-align: center;
  padding: 40px;
  background-color: #f9f9f9;
  border-radius: 5px;
}

.no-results h2 {
  font-size: 26px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.no-results p {
  margin-bottom: 30px;
  font-size: 16px;
}

.search-again {
  max-width: 500px;
  margin: 0 auto;
}

.search-again h3 {
  margin-bottom: 15px;
  color: var(--text-color);
  font-size: 18px;
}

/* Search Form */
.search-form {
  position: relative;
}

.search-form-wrap {
  display: flex;
  position: relative;
}

.search-field {
  width: 100%;
  padding: 12px 50px 12px 15px;
  border: 1px solid #eee;
  border-radius: 3px;
  font-size: 16px;
  transition: var(--transition);
}

.search-field:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(139, 0, 0, 0.1);
}

.search-submit {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 50px;
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
  cursor: pointer;
  transition: var(--transition);
}

.search-submit:hover {
  background-color: var(--secondary-color);
}

/* Author Bio */
.author-bio {
  display: flex;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
}

.author-avatar {
  margin-right: 20px;
}

.author-avatar img {
  border-radius: 50%;
  border: 3px solid var(--secondary-color);
}

.author-name {
  font-size: 28px;
  margin-bottom: 10px;
  color: #fff;
}

.author-description {
  font-size: 16px;
  margin-bottom: 15px;
  opacity: 0.9;
}

.author-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 14px;
}

.author-meta span {
  display: flex;
  align-items: center;
}

.author-meta i {
  margin-right: 5px;
  color: var(--secondary-color);
}

.author-meta a {
  color: #fff;
  transition: var(--transition);
}

.author-meta a:hover {
  color: var(--secondary-color);
}

.author-posts-title {
  margin-bottom: 30px;
  font-size: 24px;
  color: var(--primary-color);
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

/* 404 Page */
.error-header {
  text-align: center;
  background-color: var(--primary-color);
  padding: 60px 0;
}

.error-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 0;
}

.error-number {
  font-size: 120px;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1;
  margin-bottom: 20px;
  opacity: 0.1;
}

.error-content h2 {
  font-size: 26px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.error-content p {
  margin-bottom: 30px;
  font-size: 16px;
}

.error-options {
  margin-bottom: 40px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 12px 20px;
  background-color: var(--primary-color);
  color: #fff;
  font-weight: 600;
  border-radius: 3px;
  text-decoration: none;
  transition: var(--transition);
  margin-bottom: 20px;
}

.btn-primary i {
  margin-right: 8px;
}

.btn-primary:hover {
  background-color: var(--secondary-color);
  color: #fff;
}

.error-search {
  max-width: 500px;
  margin: 30px auto 0;
}

.error-search h3 {
  margin-bottom: 15px;
  color: var(--text-color);
  font-size: 18px;
}

.recent-posts-section h3 {
  font-size: 22px;
  color: var(--primary-color);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
  display: inline-block;
}

.recent-posts-section h3:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--secondary-color);
}

.error-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.error-post-item {
  background-color: #f9f9f9;
  border-radius: 5px;
  overflow: hidden;
  transition: var(--transition);
}

.error-post-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.error-post-thumbnail {
  height: 160px;
  overflow: hidden;
}

.error-post-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.error-post-item:hover .error-post-thumbnail img {
  transform: scale(1.05);
}

.error-post-content {
  padding: 15px;
}

.error-post-content h4 {
  font-size: 16px;
  margin-bottom: 8px;
}

.error-post-content h4 a {
  color: var(--text-color);
  text-decoration: none;
  transition: var(--transition);
}

.error-post-content h4 a:hover {
  color: var(--primary-color);
}

.error-post-date {
  font-size: 12px;
  color: #777;
}

/* Responsive */
@media (max-width: 992px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
  
  .error-posts-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .author-bio {
    flex-direction: column;
    text-align: center;
  }
  
  .author-avatar {
    margin: 0 0 20px;
  }
  
  .author-meta {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .post-thumbnail {
    height: 200px;
  }
  
  .error-posts-grid {
    grid-template-columns: 1fr;
  }
  
  .author-meta {
    flex-direction: column;
    gap: 10px;
  }
}