/* ══════════════════════════════════════════════════════════════════
   BLOG — Mar & Inclusão Child Theme
   Usa as variáveis CSS do tema pai (main.css)
   Cobre: index.php (listagem), single.php (post), template-blog.php
══════════════════════════════════════════════════════════════════ */

/* ── HERO DO BLOG ── */
.blog-hero {
  background: linear-gradient(155deg, var(--teal-light) 0%, #d0f3f1 40%, #fff 75%);
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
}
.blog-hero::before {
  content: '';
  position: absolute; bottom: -80px; right: -120px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(43,188,180,.15) 0%, transparent 70%);
  pointer-events: none;
}
.blog-hero-inner { max-width: 700px; }
.blog-hero-inner h1 { color: var(--teal-dark); margin: 12px 0 20px; }
.blog-hero-inner h1 span { color: var(--teal); }
.blog-hero-inner p { font-size: 1.1rem; color: var(--muted); line-height: 1.7; margin-bottom: 24px; }
.blog-hero-meta { display: flex; gap: 24px; flex-wrap: wrap; }
.blog-hero-meta span { font-size: .88rem; color: var(--muted); font-weight: 500; }
.blog-hero-wave { position: absolute; bottom: 0; left: 0; right: 0; line-height: 0; }
.blog-hero-wave svg { width: 100%; height: 60px; }

/* ── LAYOUT GERAL ── */
.blog-wrapper { flex: 1; }
.blog-body { background: var(--sand); padding: 64px 0 80px; }
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}

/* ── META DOS POSTS ── */
.post-meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 4px; }
.post-date { font-size: .8rem; color: var(--muted); font-weight: 500; }
.post-cat {
  font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  color: var(--teal-deep); background: var(--teal-light);
  padding: 3px 10px; border-radius: 999px; text-decoration: none;
  transition: background .2s, color .2s;
}
.post-cat:hover { background: var(--teal); color: white; }
.post-badge {
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  color: white; background: var(--teal);
  padding: 3px 10px; border-radius: 999px;
}
.post-read-more {
  color: var(--teal); font-weight: 700; text-decoration: none; font-size: .9rem;
  transition: color .2s;
}
.post-read-more:hover { color: var(--teal-dark); }

/* ── POST DESTAQUE (primeiro post) ── */
.post-featured {
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(27,127,122,.12);
  margin-bottom: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  transition: transform .3s, box-shadow .3s;
}
.post-featured:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 50px rgba(27,127,122,.18);
}
.post-featured-img { display: block; overflow: hidden; }
.post-featured-img img {
  width: 100%; height: 100%; min-height: 360px;
  object-fit: cover; display: block; transition: transform .4s;
}
.post-featured-img:hover img { transform: scale(1.04); }
.post-featured-placeholder {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  display: flex; align-items: center; justify-content: center; min-height: 360px;
}
.post-featured-placeholder span { font-size: 5rem; opacity: .3; }
.post-featured-body {
  padding: 48px 40px;
  display: flex; flex-direction: column; justify-content: center;
}
.post-featured-body h2 {
  font-family: var(--ff-head);
  font-size: 1.8rem; color: var(--teal-dark);
  margin: 14px 0 18px; line-height: 1.2;
}
.post-featured-body h2 a { color: inherit; text-decoration: none; transition: color .2s; }
.post-featured-body h2 a:hover { color: var(--teal); }
.post-featured-body p {
  color: var(--muted); line-height: 1.75; font-size: .97rem;
  margin-bottom: 28px; flex-grow: 1;
}

/* ── POSTS HORIZONTAIS (demais posts) ── */
.post-card-h {
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
  margin-bottom: 28px;
  display: grid;
  grid-template-columns: 280px 1fr;
  transition: transform .3s, box-shadow .3s;
  border-left: 4px solid transparent;
}
.post-card-h:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(27,127,122,.14);
  border-left-color: var(--teal);
}
.post-card-h-img { display: block; overflow: hidden; }
.post-card-h-img img {
  width: 100%; height: 100%; min-height: 200px;
  object-fit: cover; display: block; transition: transform .4s;
}
.post-card-h-img:hover img { transform: scale(1.05); }
.post-card-placeholder {
  background: linear-gradient(135deg, var(--teal-light) 0%, #d0f3f1 100%);
  display: flex; align-items: center; justify-content: center; min-height: 200px;
}
.post-card-placeholder span { font-size: 3rem; opacity: .4; }
.post-card-h-body {
  padding: 28px 32px;
  display: flex; flex-direction: column; justify-content: center;
}
.post-card-h-body h2 {
  font-family: var(--ff-head);
  font-size: 1.25rem; color: var(--teal-dark);
  margin: 10px 0 12px; line-height: 1.3;
}
.post-card-h-body h2 a { color: inherit; text-decoration: none; transition: color .2s; }
.post-card-h-body h2 a:hover { color: var(--teal); }
.post-card-h-body p {
  color: var(--muted); font-size: .9rem; line-height: 1.7;
  flex-grow: 1; margin-bottom: 16px;
}

/* ── PAGINAÇÃO ── */
.blog-pagination { margin-top: 40px; }
.blog-pagination .nav-links {
  display: flex; gap: 8px; justify-content: center; flex-wrap: wrap;
}
.blog-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--white); color: var(--muted); text-decoration: none;
  font-weight: 600; font-size: .9rem;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  transition: all .2s;
}
.blog-pagination .page-numbers.current,
.blog-pagination .page-numbers:hover {
  background: var(--teal); color: white;
  box-shadow: 0 4px 14px rgba(43,188,180,.35);
}
.blog-pagination .page-numbers.prev,
.blog-pagination .page-numbers.next {
  width: auto; padding: 0 20px; border-radius: 999px;
}

/* ── EMPTY STATE ── */
.blog-empty {
  background: var(--white); border-radius: 20px;
  padding: 64px; text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
}
.blog-empty span { font-size: 3.5rem; display: block; margin-bottom: 20px; }
.blog-empty h2 { color: var(--teal-dark); margin-bottom: 12px; }
.blog-empty p { color: var(--muted); }

/* ── SIDEBAR ── */
.blog-sidebar {
  position: sticky; top: 120px;
  display: flex; flex-direction: column; gap: 24px;
}
.sidebar-widget {
  background: var(--white);
  border-radius: 18px; padding: 28px;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
}
.sidebar-title {
  font-family: var(--ff-head);
  font-size: 1rem; color: var(--teal-dark);
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--teal-light);
}
/* Search form */
.sidebar-widget .search-form { display: flex; gap: 8px; }
.sidebar-widget .search-field {
  flex: 1; padding: 10px 16px; border-radius: 999px;
  border: 2px solid var(--teal-light); font-family: var(--ff-body);
  font-size: .9rem; color: var(--ink); transition: border-color .2s;
  outline: none;
}
.sidebar-widget .search-field:focus { border-color: var(--teal); }
.sidebar-widget .search-submit {
  padding: 10px 18px; border-radius: 999px;
  background: var(--teal); color: white; border: none;
  font-family: var(--ff-body); font-weight: 600; font-size: .85rem;
  cursor: pointer; transition: background .2s;
}
.sidebar-widget .search-submit:hover { background: var(--teal-dark); }
/* Categorias */
.sidebar-cats { list-style: none; padding: 0; margin: 0; }
.sidebar-cats li { border-bottom: 1px solid #f5f5f5; }
.sidebar-cats li:last-child { border-bottom: none; }
.sidebar-cats a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0; color: var(--muted); text-decoration: none;
  font-size: .9rem; transition: color .2s;
}
.sidebar-cats a:hover { color: var(--teal); }
.cat-count {
  background: var(--teal-light); color: var(--teal-deep);
  padding: 2px 10px; border-radius: 999px;
  font-size: .8rem; font-weight: 700;
}
/* Posts recentes */
.sidebar-recent {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 14px;
}
.sidebar-recent a { text-decoration: none; display: flex; flex-direction: column; gap: 3px; }
.recent-title {
  color: var(--teal-dark); font-size: .88rem; font-weight: 600;
  line-height: 1.4; transition: color .2s;
}
.sidebar-recent a:hover .recent-title { color: var(--teal); }
.recent-date { color: var(--muted); font-size: .78rem; }
/* CTA Sidebar */
.sidebar-cta {
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 100%) !important;
  color: white; text-align: center;
}
.sidebar-cta img {
  width: 70px; height: 70px; border-radius: 50%; object-fit: cover;
  margin-bottom: 14px; border: 3px solid rgba(255,255,255,.3);
}
.sidebar-cta h4 { color: white; font-size: 1.1rem; margin: 0 0 10px; }
.sidebar-cta p { color: rgba(255,255,255,.82); font-size: .85rem; line-height: 1.6; margin-bottom: 20px; }
.sidebar-cta .btn-white { color: var(--teal-dark) !important; }

/* ══════════════════════════════════════════════════════════════════
   SINGLE POST — Visualização de artigo
══════════════════════════════════════════════════════════════════ */
.single-post-wrapper { flex: 1; }

/* Breadcrumb */
.post-breadcrumb {
  background: var(--teal-light);
  padding: 14px 0;
  border-bottom: 1px solid rgba(43,188,180,.12);
}
.post-breadcrumb nav { font-size: .85rem; color: var(--muted); }
.post-breadcrumb a { color: var(--teal-deep); text-decoration: none; }
.post-breadcrumb a:hover { color: var(--teal); }
.post-breadcrumb span { margin: 0 6px; opacity: .5; }

/* Hero do post */
.post-hero {
  background: linear-gradient(155deg, var(--teal-light) 0%, #d0f3f1 40%, #fff 75%);
  padding: 80px 0 56px;
  position: relative; overflow: hidden;
}
.post-hero::before {
  content: '';
  position: absolute; bottom: -60px; right: -80px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(43,188,180,.15) 0%, transparent 70%);
  pointer-events: none;
}
.post-hero .post-meta { margin-bottom: 18px; }
.post-hero h1 {
  font-family: var(--ff-head);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--teal-dark); line-height: 1.2; margin-bottom: 20px;
  max-width: 800px;
}
.post-hero-excerpt {
  font-size: 1.1rem; color: var(--muted); line-height: 1.7;
  max-width: 680px; margin-bottom: 28px;
}
.post-hero-img {
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 16px 60px rgba(27,127,122,.18);
  margin-top: 40px; max-height: 480px;
}
.post-hero-img img { width: 100%; height: 480px; object-fit: cover; display: block; }

/* Layout do artigo */
.post-body { background: var(--sand); padding: 64px 0 80px; }
.post-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: start;
}

/* Conteúdo do post */
.post-content-area {
  background: var(--white);
  border-radius: 24px;
  padding: 52px;
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
}
.post-content-area .entry-content { font-size: 1.05rem; line-height: 1.85; color: var(--ink); }
.post-content-area .entry-content h2 {
  font-family: var(--ff-head);
  font-size: 1.65rem; color: var(--teal-dark);
  margin: 2.4em 0 .8em; padding-bottom: .5em;
  border-bottom: 2px solid var(--teal-light);
}
.post-content-area .entry-content h3 {
  font-family: var(--ff-head);
  font-size: 1.25rem; color: var(--teal-deep);
  margin: 2em 0 .7em;
}
.post-content-area .entry-content h4 {
  font-size: 1.05rem; font-weight: 700; color: var(--ink); margin: 1.6em 0 .6em;
}
.post-content-area .entry-content p { margin-bottom: 1.4em; }
.post-content-area .entry-content a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.post-content-area .entry-content a:hover { color: var(--teal-dark); }
.post-content-area .entry-content ul,
.post-content-area .entry-content ol {
  padding-left: 1.5em; margin-bottom: 1.4em;
}
.post-content-area .entry-content li { margin-bottom: .5em; line-height: 1.7; }
.post-content-area .entry-content ul li::marker { color: var(--teal); }
.post-content-area .entry-content blockquote {
  border-left: 4px solid var(--teal);
  background: var(--teal-light);
  padding: 20px 28px; margin: 2em 0;
  border-radius: 0 12px 12px 0;
  font-style: italic; color: var(--teal-deep);
  font-size: 1.05rem; line-height: 1.7;
}
.post-content-area .entry-content blockquote p { margin: 0; }
.post-content-area .entry-content img {
  border-radius: 12px; max-width: 100%; height: auto;
  box-shadow: 0 8px 32px rgba(0,0,0,.1);
  margin: 1.5em 0;
}
.post-content-area .entry-content pre {
  background: var(--ink); color: rgba(255,255,255,.9);
  padding: 24px; border-radius: 12px;
  font-size: .9rem; overflow-x: auto; margin: 1.8em 0;
}
.post-content-area .entry-content code {
  background: var(--teal-light); color: var(--teal-dark);
  padding: 2px 7px; border-radius: 4px; font-size: .88em;
}
.post-content-area .entry-content pre code { background: none; color: inherit; padding: 0; }
.post-content-area .entry-content table {
  width: 100%; border-collapse: collapse; margin: 1.8em 0;
  font-size: .95rem;
}
.post-content-area .entry-content table th {
  background: var(--teal); color: white;
  padding: 12px 16px; text-align: left; font-weight: 600;
}
.post-content-area .entry-content table td {
  padding: 10px 16px; border-bottom: 1px solid var(--teal-light);
  color: var(--muted);
}
.post-content-area .entry-content table tr:hover td { background: var(--teal-light); }

/* Tags do post */
.post-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 40px; padding-top: 28px; border-top: 2px solid var(--teal-light); }
.post-tags span { font-size: .8rem; font-weight: 600; color: var(--muted); margin-right: 4px; }
.post-tags a {
  background: var(--teal-light); color: var(--teal-deep);
  padding: 5px 14px; border-radius: 999px; font-size: .8rem;
  font-weight: 600; text-decoration: none; transition: all .2s;
}
.post-tags a:hover { background: var(--teal); color: white; }

/* Autor */
.post-author-box {
  display: flex; gap: 20px; align-items: flex-start;
  background: var(--teal-light); border-radius: 16px;
  padding: 28px 32px; margin-top: 40px;
}
.post-author-avatar {
  width: 72px; height: 72px; border-radius: 50%; object-fit: cover;
  border: 3px solid var(--teal); flex-shrink: 0;
}
.post-author-avatar-placeholder {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--teal); display: flex; align-items: center;
  justify-content: center; font-size: 2rem; flex-shrink: 0;
}
.post-author-info strong { display: block; color: var(--teal-dark); font-size: 1rem; margin-bottom: 4px; }
.post-author-info span { font-size: .82rem; color: var(--teal-deep); font-weight: 600; margin-bottom: 8px; display: block; }
.post-author-info p { color: var(--muted); font-size: .88rem; line-height: 1.6; margin: 0; }

/* Compartilhamento */
.post-share {
  display: flex; gap: 10px; align-items: center;
  flex-wrap: wrap; margin-top: 32px;
}
.post-share span { font-size: .85rem; font-weight: 600; color: var(--muted); }
.share-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 18px; border-radius: 999px;
  font-size: .82rem; font-weight: 600; text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
.share-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.15); }
.share-whatsapp { background: #25d366; color: white; }
.share-twitter  { background: #1da1f2; color: white; }
.share-linkedin { background: #0077b5; color: white; }
.share-copy { background: var(--teal-light); color: var(--teal-deep); cursor: pointer; border: none; font-family: var(--ff-body); }
.share-copy:hover { background: var(--teal); color: white; }

/* Navegação entre posts */
.post-navigation {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  margin-top: 48px;
}
.post-nav-item {
  background: var(--white); border-radius: 14px;
  padding: 20px 24px; text-decoration: none;
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
  transition: transform .2s, box-shadow .2s;
  border: 2px solid transparent;
}
.post-nav-item:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(27,127,122,.12); border-color: var(--teal); }
.post-nav-label { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--teal); margin-bottom: 6px; }
.post-nav-title { font-family: var(--ff-head); font-size: .95rem; color: var(--teal-dark); line-height: 1.4; }
.post-nav-item.next-post { text-align: right; }

/* Posts relacionados */
.related-posts { margin-top: 48px; }
.related-posts h3 {
  font-family: var(--ff-head); font-size: 1.4rem; color: var(--teal-dark);
  margin-bottom: 24px; padding-bottom: 12px; border-bottom: 2px solid var(--teal-light);
}
.related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.related-card {
  background: var(--white); border-radius: 14px; overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
  transition: transform .25s, box-shadow .25s;
  text-decoration: none; display: block;
  border-bottom: 3px solid transparent;
}
.related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(27,127,122,.14);
  border-bottom-color: var(--teal);
}
.related-card-img { overflow: hidden; }
.related-card-img img { width: 100%; height: 150px; object-fit: cover; display: block; transition: transform .4s; }
.related-card:hover .related-card-img img { transform: scale(1.06); }
.related-card-img-placeholder {
  height: 150px;
  background: linear-gradient(135deg, var(--teal-light) 0%, #d0f3f1 100%);
  display: flex; align-items: center; justify-content: center; font-size: 2rem; opacity: .5;
}
.related-card-body { padding: 16px 18px; }
.related-card-date { font-size: .75rem; color: var(--teal); font-weight: 600; margin-bottom: 6px; }
.related-card-title { font-family: var(--ff-head); font-size: .95rem; color: var(--teal-dark); line-height: 1.4; }

/* CTA interna do post (shortcode [cta_hotmart]) */
.cta-magnetic-box {
  border: 2px dashed var(--teal) !important;
  background: var(--teal-light) !important;
  padding: 40px 36px;
  text-align: center; margin: 48px 0;
  border-radius: 20px !important;
}
.cta-magnetic-box h3 { font-family: var(--ff-head); color: var(--teal-dark) !important; margin-bottom: 12px; }
.cta-magnetic-box p { color: var(--muted) !important; font-size: 1rem; margin-bottom: 24px; }
.cta-magnetic-box a {
  background: var(--teal) !important;
  color: white !important; padding: 16px 36px !important;
  text-decoration: none; font-weight: 700 !important;
  border-radius: 999px !important; font-size: 1rem !important;
  display: inline-block !important;
  transition: transform .2s, box-shadow .2s !important;
  box-shadow: 0 6px 24px rgba(43,188,180,.35) !important;
}
.cta-magnetic-box a:hover {
  transform: translateY(-2px) scale(1.02) !important;
  background: var(--teal-dark) !important;
  box-shadow: 0 10px 32px rgba(43,188,180,.45) !important;
}

/* Depoimentos (shortcode [depoimento]) */
.testimonial-card {
  background: var(--white) !important;
  border: none !important;
  border-left: 4px solid var(--teal) !important;
  border-radius: 16px !important;
  padding: 24px 28px !important;
  margin: 28px 0 !important;
  box-shadow: 0 4px 20px rgba(0,0,0,.07) !important;
  display: flex; align-items: flex-start; gap: 20px;
}
.testimonial-card img {
  width: 72px !important; height: 72px !important;
  border-radius: 50% !important; object-fit: cover;
  border: 3px solid var(--teal) !important;
  flex-shrink: 0; margin: 0 !important;
}
.testimonial-card p { font-style: italic; color: var(--muted) !important; margin: 0 0 10px !important; line-height: 1.7; }
.testimonial-card strong { color: var(--teal-dark) !important; font-size: .95rem; }
.testimonial-card small { color: var(--muted) !important; font-size: .8rem; }

/* ── STICKY BAR (functions.php) ── */
#dynamic-sticky-bar {
  background: linear-gradient(90deg, var(--teal-dark) 0%, var(--teal) 100%) !important;
  color: white !important;
  padding: 11px 16px !important;
  text-align: center !important;
  position: fixed; top: 0; left: 0; right: 0; z-index: 99999 !important;
  font-size: .85rem !important;
  box-shadow: 0 2px 16px rgba(27,127,122,.25) !important;
  font-family: var(--ff-body);
}
#dynamic-sticky-bar #countdown-timer { color: #7FF0EB !important; font-weight: 700; }
#dynamic-sticky-bar a {
  margin-left: 16px;
  background: white !important; color: var(--teal-dark) !important;
  padding: 5px 16px !important; border-radius: 999px !important;
  text-decoration: none; font-weight: 700 !important; font-size: .78rem !important;
  transition: background .2s !important;
}
#dynamic-sticky-bar a:hover { background: var(--teal-light) !important; }

/* ── EXIT INTENT POPUP (functions.php) ── */
#exit-intent-popup > div {
  border-top: 5px solid var(--teal) !important;
  border-radius: 20px !important;
  padding: 48px 40px !important;
  font-family: var(--ff-body);
}
#exit-intent-popup h2 { font-family: var(--ff-head); color: var(--teal-dark) !important; }
#exit-intent-popup .offer-box {
  background: var(--teal-light) !important;
  padding: 20px; border-radius: 12px; margin: 20px 0;
}
#exit-intent-popup a[class*="hotmart"] {
  background: var(--teal) !important; border-radius: 999px !important;
  padding: 16px 32px !important; font-weight: 700 !important;
  font-size: 1rem !important; transition: background .2s !important;
}
#exit-intent-popup a[class*="hotmart"]:hover { background: var(--teal-dark) !important; }

/* ══════════════════════════════════════════════════════════════════
   TEMPLATE-BLOG.PHP — Grid de Notícias (template legado)
══════════════════════════════════════════════════════════════════ */
.blog-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 134px 24px 80px; /* compensa nav + sticky bar */
}
.blog-header { text-align: center; margin-bottom: 60px; }
.blog-header img { max-width: 80px; margin-bottom: 20px; border-radius: 50%; }
.blog-header h1 { font-family: var(--ff-head); font-size: clamp(2rem, 4vw, 2.8rem); color: var(--teal-dark); margin-bottom: 12px; }
.blog-header p { color: var(--muted); font-size: 1.1rem; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}
/* Cards do template-blog.php — sobrescreve inline styles */
.blog-grid .post-card {
  background: var(--white) !important;
  border-radius: 20px !important;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,.07) !important;
  transition: transform .3s, box-shadow .3s !important;
  border-bottom: 4px solid transparent;
}
.blog-grid .post-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: var(--shadow) !important;
  border-bottom-color: var(--teal);
}
.blog-grid .post-card .post-thumbnail img {
  width: 100% !important; height: 200px !important;
  object-fit: cover !important; display: block; transition: transform .4s;
}
.blog-grid .post-card:hover .post-thumbnail img { transform: scale(1.04); }
.blog-grid .post-card .post-content {
  padding: 22px 24px !important;
}
.blog-grid .post-card .post-date {
  font-size: .78rem !important; color: var(--teal) !important;
  font-weight: 700 !important; text-transform: uppercase;
  letter-spacing: .06em;
}
.blog-grid .post-card h2 {
  font-family: var(--ff-head) !important;
  font-size: 1.2rem !important; margin: 10px 0 10px !important;
  line-height: 1.3;
}
.blog-grid .post-card h2 a {
  text-decoration: none !important; color: var(--teal-dark) !important;
  transition: color .2s;
}
.blog-grid .post-card h2 a:hover { color: var(--teal) !important; }
.blog-grid .post-card p { color: var(--muted) !important; font-size: .9rem !important; line-height: 1.65 !important; }
.blog-grid .post-card a[href]:last-child {
  display: inline-block !important; margin-top: 14px !important;
  color: var(--teal) !important; font-weight: 700 !important;
  text-decoration: none !important; font-size: .88rem !important;
  transition: color .2s !important;
}
.blog-grid .post-card a[href]:last-child:hover { color: var(--teal-dark) !important; }

/* ══════════════════════════════════════════════════════════════════
   RESPONSIVO
══════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .blog-layout { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; }
  .post-featured { grid-template-columns: 1fr; }
  .post-featured-img img { min-height: 260px; }
  .post-layout { grid-template-columns: 1fr; }
  .post-sidebar { display: none; } /* Oculta sidebar no mobile */
}
@media (max-width: 768px) {
  .blog-hero { padding: 140px 0 60px; }
  .post-hero { padding: 100px 0 40px; }
  .post-card-h { grid-template-columns: 1fr; }
  .post-card-h-img img { min-height: 200px; }
  .post-content-area { padding: 28px 22px; }
  .post-navigation { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .post-author-box { flex-direction: column; }
  .post-share { justify-content: center; }
  .blog-grid { grid-template-columns: 1fr; }
}
