/*
Theme Name: EcoVerifica Editorial
Theme URI: https://ecoverifica.com.br/
Description: Tema-filho editorial e minimalista para a EcoVerifica.
Author: EcoVerifica
Template: astra
Version: 1.0.0
Text Domain: ecoverifica-editorial
*/

:root {
  --eco-ink: #14221f;
  --eco-muted: #61716b;
  --eco-paper: #f7f8f5;
  --eco-line: #dbe1db;
  --eco-green: #176b52;
  --eco-lime: #dff25b;
}

body {
  background: var(--eco-paper);
  color: var(--eco-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body .ast-container { max-width: 1180px; }

#masthead .ast-primary-header-bar {
  min-height: 76px;
  background: rgba(247, 248, 245, .96);
  border-bottom: 1px solid var(--eco-line);
}

.site-header .custom-logo-link { display: flex; align-items: center; }
.site-header .custom-logo { width: 148px; height: auto; }
.main-header-menu > .menu-item > .menu-link {
  color: var(--eco-ink);
  font-size: .83rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.main-header-menu > .menu-item > .menu-link:hover { color: var(--eco-green); }

.home .site-content { padding-top: 54px; }
.home .site-main { counter-reset: edition; }
.home .ast-separate-container .ast-article-post,
.home .ast-separate-container .ast-article-single {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.home article.ast-article-post {
  counter-increment: edition;
  position: relative;
  margin: 0 !important;
  padding: 34px 0 34px 106px !important;
  border-bottom: 1px solid var(--eco-line) !important;
  transition: background-color .18s ease, transform .18s ease;
}
.home article.ast-article-post:first-child {
  padding-top: 6px !important;
}
.home article.ast-article-post::before {
  content: counter(edition, decimal-leading-zero);
  position: absolute;
  top: 36px;
  left: 0;
  color: var(--eco-green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: -.08em;
  line-height: 1;
}
.home article.ast-article-post:first-child::before { top: 8px; }
.home article.ast-article-post:hover { background: #f0f4eb; }
.home .ast-article-post .post-content { padding: 0 !important; }
.home .ast-article-post .cat-links a {
  display: inline-block;
  padding: 4px 9px;
  color: var(--eco-green);
  background: #e7efe8;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
}
.home .ast-article-post .entry-title {
  margin: 12px 0 8px !important;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 3vw, 2.65rem);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.06;
}
.home .ast-article-post .entry-title a { color: var(--eco-ink); }
.home .ast-article-post .entry-title a:hover { color: var(--eco-green); }
.home .ast-article-post .entry-meta,
.home .ast-article-post .entry-meta * {
  color: var(--eco-muted);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.home .ast-article-post .ast-excerpt-container {
  max-width: 730px;
  color: #4d5c56;
  font-size: 1rem;
  line-height: 1.7;
}

.site-footer,
.ast-footer-overlay { background: var(--eco-ink); }
.site-footer .ast-footer-widget-area,
.site-footer .site-primary-footer-wrap { color: #e9efea; }

@media (max-width: 768px) {
  #masthead .ast-primary-header-bar { min-height: 66px; }
  .site-header .custom-logo { width: 124px; }
  .home .site-content { padding-top: 22px; }
  .home article.ast-article-post,
  .home article.ast-article-post:first-child { padding: 27px 0 27px 64px !important; }
  .home article.ast-article-post::before,
  .home article.ast-article-post:first-child::before { top: 29px; font-size: 1.9rem; }
  .home article.ast-article-post:first-child::before { top: 29px; }
  .home .ast-article-post .entry-title { font-size: 1.65rem; }
}
