/*
Theme Name: Astra Child
Template: astra
Version: 1.0
*/

:root {
  --pvb-black: #0a0a0a;
  --pvb-black-soft: #121212;
  --pvb-red: #dc2626;
  --pvb-red-dark: #b91c1c;
  --pvb-white: #ffffff;
  --pvb-bg: #f5f5f5;
  --pvb-border: #e8e8e8;
  --pvb-text: #222222;
  --pvb-muted: #666666;
}

body.blog,
body.archive,
body.home.blog {
  background: var(--pvb-bg);
}

.pvb-container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

/* HERO */
.pvb-blog-hero {
  background: linear-gradient(180deg, #050505 0%, #111111 100%);
  border-bottom: 3px solid var(--pvb-red);
  padding: 56px 0 46px;
}

.pvb-hero-content {
  max-width: 760px;
}

.pvb-hero-badge {
  display: inline-block;
  margin-bottom: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(220, 38, 38, 0.35);
  background: rgba(220, 38, 38, 0.12);
  color: #ff6b6b;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.pvb-blog-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.05;
  color: #fff;
  font-weight: 800;
}

.pvb-blog-hero h1 span {
  color: var(--pvb-red);
}

.pvb-blog-hero p {
  margin: 0;
  max-width: 640px;
  font-size: 17px;
  line-height: 1.7;
  color: #c4c4c4;
}

.pvb-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.pvb-btn-primary,
.pvb-btn-light,
.pvb-btn-light-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  transition: .2s ease;
}

.pvb-btn-primary {
  background: var(--pvb-black);
  color: #fff;
}

.pvb-btn-primary:hover {
  background: var(--pvb-red);
  color: #fff;
}

.pvb-btn-light {
  background: #fff;
  color: var(--pvb-red);
}

.pvb-btn-light:hover {
  background: #111;
  color: #fff;
}

.pvb-btn-light-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.18);
}

.pvb-btn-light-outline:hover {
  background: #fff;
  color: #111;
}

/* CATEGORIAS */
.pvb-blog-categories {
  background: #fff;
  border-bottom: 1px solid var(--pvb-border);
  position: sticky;
  top: 0;
  z-index: 9;
}

.pvb-categories-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px 0;
}

.pvb-cat-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--pvb-border);
  border-radius: 999px;
  background: #fff;
  color: #222;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: .2s ease;
}

.pvb-cat-btn:hover {
  background: var(--pvb-red);
  color: #fff;
  border-color: var(--pvb-red);
}

/* MAIN */
.pvb-blog-main {
  padding: 30px 0 70px;
}

.pvb-section-header {
  margin: 0 0 18px;
}

.pvb-section-header h3 {
  margin: 0;
  font-size: 26px;
  font-weight: 800;
  color: var(--pvb-text);
}

.destaque-topo {
  margin-bottom: 14px;
}

/* DESTAQUE MENOR */
.pvb-featured-post {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  background: #fff;
  border: 1px solid var(--pvb-border);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.04);
  margin-bottom: 30px;
  max-width: 980px;
}

.pvb-featured-image {
  min-height: 300px;
  background: #111;
}

.pvb-featured-image img,
.pvb-post-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pvb-image-placeholder {
  width: 100%;
  height: 100%;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #161616 0%, #2a2a2a 100%);
  color: rgba(255,255,255,0.85);
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  padding: 20px;
}

.pvb-image-placeholder.small {
  min-height: 220px;
  font-size: 15px;
}

.pvb-featured-content {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pvb-post-tag {
  display: inline-block;
  width: fit-content;
  margin-bottom: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #fff0f0;
  border: 1px solid #ffd7d7;
  color: var(--pvb-red-dark);
  font-size: 12px;
  font-weight: 700;
}

.pvb-featured-content h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.08;
  font-weight: 800;
}

.pvb-featured-content h2 a,
.pvb-post-card-body h4 a {
  color: var(--pvb-text);
  text-decoration: none;
}

.pvb-featured-content h2 a:hover,
.pvb-post-card-body h4 a:hover {
  color: var(--pvb-red);
}

.pvb-featured-content p {
  margin: 0 0 14px;
  color: var(--pvb-muted);
  font-size: 15px;
  line-height: 1.7;
}

.pvb-post-meta {
  margin-bottom: 16px;
  color: #7a7a7a;
  font-size: 14px;
}

/* GRID */
.pvb-post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.pvb-post-card {
  background: #fff;
  border: 1px solid var(--pvb-border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.04);
  transition: transform .2s ease, box-shadow .2s ease;
}

.pvb-post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.08);
}

.pvb-post-card-image {
  height: 220px;
  background: #151515;
}

.pvb-post-card-body {
  padding: 22px;
}

.pvb-post-card-body h4 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 800;
}

.pvb-post-card-body p {
  margin: 0 0 16px;
  color: var(--pvb-muted);
  font-size: 15px;
  line-height: 1.75;
}

.pvb-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pvb-card-date {
  color: #7a7a7a;
  font-size: 14px;
}

.pvb-read-more {
  color: var(--pvb-red);
  font-weight: 700;
  text-decoration: none;
}

.pvb-read-more:hover {
  color: var(--pvb-red-dark);
}

/* CTA */
.pvb-blog-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 42px;
}

.pvb-cta-box {
  padding: 34px;
  border-radius: 22px;
}

.pvb-cta-box.dark {
  background: #0f0f0f;
  color: #fff;
}

.pvb-cta-box.red {
  background: var(--pvb-red);
  color: #fff;
}

.pvb-cta-box h3 {
  margin: 0 0 12px;
  font-size: 28px;
  line-height: 1.15;
  font-weight: 800;
}

.pvb-cta-box p {
  margin: 0 0 20px;
  line-height: 1.75;
  color: inherit;
}

/* RESPONSIVO */
@media (max-width: 1024px) {
  .pvb-featured-post {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .pvb-post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pvb-blog-cta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .pvb-container {
    width: min(100% - 28px, 1200px);
  }

  .pvb-blog-hero {
    padding: 48px 0 40px;
  }

  .pvb-blog-hero p {
    font-size: 16px;
  }

  .pvb-featured-content {
    padding: 22px;
  }

  .pvb-post-grid {
    grid-template-columns: 1fr;
  }

  .pvb-post-card-body h4 {
    font-size: 22px;
  }

  .pvb-section-header h3 {
    font-size: 24px;
  }

  .pvb-hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}