/*
Theme Name: Bunas Borrachas
Theme URI: https://bunasborrachas.com.br/blog
Author: Bunas Borrachas
Author URI: https://bunasborrachas.com.br
Description: Tema oficial do blog da Bunas Borrachas. Conteúdo técnico sobre matérias-primas para borracha, processos de vulcanização, aplicações industriais e automotivas. Mais de 25 anos de experiência no setor, com distribuição de EPDM, SBR, NBR, borracha natural e agentes de vulcanização. ISO 9001:2015.
Version: 1.0.0
Text Domain: bunasborrachas
*/

/* ═══════════════════════════════════════════
   VARIÁVEIS
═══════════════════════════════════════════ */
:root {
  --red:        #ff351c;
  --red-dark:   #d42a14;
  --red-light:  rgba(255,53,28,0.08);
  --blue:       #002fc8;
  --blue-dark:  #001a80;
  --dark:       #0d1117;
  --light:      #f7f8fc;
  --mid:        #e4e6ef;
  --white:      #ffffff;
  --text:       #1a1d2e;
  --gray:       #6b7080;
  --max-w:      1280px;
  --font-main:  'Barlow', sans-serif;
  --font-cond:  'Barlow Condensed', sans-serif;
}

/* ═══════════════════════════════════════════
   RESET / BASE
═══════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  background: var(--light);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a { color: var(--red); text-decoration: none; transition: color .2s; }
a:hover { color: var(--red-dark); }

/* ═══════════════════════════════════════════
   NAV
═══════════════════════════════════════════ */
#bb-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  border-bottom: 3px solid var(--red);
}

.bb-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
  height: 76px;
}

.bb-logo { display: flex; align-items: center; flex-shrink: 0; }
.bb-logo img { height: 48px; width: auto; }

.bb-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.bb-links a {
  color: var(--text);
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 4px;
  transition: color .2s, background .2s;
  white-space: nowrap;
}

.bb-links a:hover,
.bb-links a.bb-active {
  color: var(--red);
  background: var(--red-light);
}

.bb-links .bb-cta {
  background: var(--red);
  color: var(--white);
  padding: 10px 20px;
  font-weight: 700;
}

.bb-links .bb-cta:hover {
  background: var(--red-dark);
  color: var(--white);
}

.bb-ham {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
}

.bb-ham span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all .3s;
}

.bb-ham.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.bb-ham.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.bb-ham.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.bb-nav-spacer { height: 79px; }

/* ═══════════════════════════════════════════
   LAYOUT GERAL
═══════════════════════════════════════════ */
.bb-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 60px 40px;
}

.bb-wrap {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}

/* ═══════════════════════════════════════════
   HERO DO BLOG (topo do archive)
═══════════════════════════════════════════ */
.bb-hero {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  padding: 48px 40px;
}

.bb-hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.bb-hero-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  margin-bottom: 8px;
}

.bb-hero-title {
  font-family: var(--font-cond);
  font-size: 42px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
}

.bb-hero-title span { color: var(--red); }

.bb-hero-sub {
  font-size: 15px;
  color: rgba(255,255,255,.75);
  margin-top: 10px;
}

/* ═══════════════════════════════════════════
   CARDS (archive)
═══════════════════════════════════════════ */
.bb-posts { display: flex; flex-direction: column; gap: 32px; }

.bb-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  transition: box-shadow .2s, transform .2s;
  border: 1px solid var(--mid);
}

.bb-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
  transform: translateY(-2px);
}

.bb-card-img {
  display: block;
  width: 100%;
  height: 343px;
  overflow: hidden;
  background: var(--mid);
}

.bb-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}

.bb-card:hover .bb-card-img img { transform: scale(1.04); }

.bb-card-img-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  background: linear-gradient(135deg, var(--mid) 0%, #d0d4e8 100%);
}

.bb-card-body { padding: 24px 28px 28px; }

.bb-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.bb-card-cat,
.bb-post-cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--white);
  background: var(--red);
  padding: 3px 10px;
  border-radius: 3px;
}

.bb-card-date {
  font-size: 12px;
  color: var(--gray);
  font-weight: 500;
}

.bb-card-title {
  font-family: var(--font-cond);
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
  margin-bottom: 10px;
  transition: color .2s;
}

.bb-card:hover .bb-card-title { color: var(--red); }

.bb-card-excerpt {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 18px;
}

.bb-card-link {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap .2s;
}

.bb-card:hover .bb-card-link { gap: 10px; }

/* ═══════════════════════════════════════════
   PAGINAÇÃO
═══════════════════════════════════════════ */
.bb-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.bb-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--mid);
  transition: all .2s;
}

.bb-pagination .page-numbers:hover,
.bb-pagination .page-numbers.current {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

/* ═══════════════════════════════════════════
   POST ÚNICO (single)
═══════════════════════════════════════════ */
.bb-post { /* single post wrapper */ }

.bb-post-img {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 28px;
  max-height: 460px;
}

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

.bb-post-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.bb-post-date {
  font-size: 12px;
  color: var(--gray);
  font-weight: 500;
}

.bb-post-author {
  font-size: 12px;
  color: var(--gray);
  font-weight: 500;
}

.bb-post-title {
  font-family: var(--font-cond);
  font-size: 38px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 28px;
}

/* conteúdo do post */
.bb-post-content {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
}

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

.bb-post-content h2 {
  font-family: var(--font-cond);
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  margin: 36px 0 14px;
  line-height: 1.2;
}

.bb-post-content h3 {
  font-family: var(--font-cond);
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin: 28px 0 12px;
}

.bb-post-content h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin: 22px 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.bb-post-content a { color: var(--red); text-decoration: underline; }
.bb-post-content a:hover { color: var(--red-dark); }

.bb-post-content ul,
.bb-post-content ol {
  margin: 0 0 20px 24px;
}

.bb-post-content li { margin-bottom: 6px; }

.bb-post-content blockquote {
  border-left: 4px solid var(--red);
  margin: 28px 0;
  padding: 16px 24px;
  background: var(--red-light);
  border-radius: 0 6px 6px 0;
  font-style: italic;
  color: var(--gray);
}

.bb-post-content img {
  border-radius: 8px;
  margin: 20px 0;
  width: 100%;
}

.bb-post-content pre,
.bb-post-content code {
  background: var(--dark);
  color: #e0e0e0;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  border-radius: 6px;
}

.bb-post-content pre { padding: 20px; overflow-x: auto; margin: 20px 0; }
.bb-post-content code { padding: 2px 6px; }

.bb-post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
}

.bb-post-content table th,
.bb-post-content table td {
  border: 1px solid var(--mid);
  padding: 10px 14px;
  text-align: left;
}

.bb-post-content table th {
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
}

.bb-post-content table tr:nth-child(even) { background: var(--light); }

/* tags */
.bb-post-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--mid);
}

.bb-post-tags-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray);
}

.bb-post-tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  background: var(--mid);
  padding: 4px 12px;
  border-radius: 20px;
  transition: background .2s, color .2s;
}

.bb-post-tag:hover {
  background: var(--red);
  color: var(--white);
}

/* navegação post anterior/próximo */
.bb-post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--mid);
}

.bb-post-nav-item {
  background: var(--white);
  border: 1px solid var(--mid);
  border-radius: 8px;
  padding: 16px 20px;
  transition: border-color .2s, box-shadow .2s;
}

.bb-post-nav-item:hover {
  border-color: var(--red);
  box-shadow: 0 4px 16px rgba(255,53,28,0.1);
}

.bb-post-nav-item.next { text-align: right; }

.bb-post-nav-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 4px;
}

.bb-post-nav-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  transition: color .2s;
}

.bb-post-nav-item:hover .bb-post-nav-title { color: var(--red); }

/* ═══════════════════════════════════════════
   SIDEBAR
═══════════════════════════════════════════ */
.bb-sidebar { display: flex; flex-direction: column; gap: 28px; }

.bb-sidebar-widget {
  background: var(--white);
  border-radius: 10px;
  padding: 24px;
  border: 1px solid var(--mid);
}

.bb-sidebar-title,
.bb-footer-col-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.bb-sidebar-title {
  font-family: var(--font-cond);
  font-size: 14px;
  color: var(--text);
  border-bottom: 2px solid var(--red);
}

/* search */
.bb-search-form {
  display: flex;
  gap: 0;
}

.bb-search-input {
  flex: 1;
  padding: 10px 14px;
  font-family: var(--font-main);
  font-size: 14px;
  color: var(--text);
  background: var(--light);
  border: 1px solid var(--mid);
  border-right: none;
  border-radius: 4px 0 0 4px;
  outline: none;
  transition: border-color .2s;
}

.bb-search-input:focus { border-color: var(--red); }

.bb-search-btn {
  padding: 10px 16px;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  font-size: 15px;
  transition: background .2s;
}

.bb-search-btn:hover { background: var(--red-dark); }

/* categorias */
.bb-sidebar-widget ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bb-sidebar-widget ul li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  padding: 7px 10px;
  border-radius: 4px;
  transition: color .2s, background .2s;
}

.bb-sidebar-widget ul li a:hover {
  color: var(--red);
  background: var(--red-light);
}

.bb-cat-count {
  font-size: 11px;
  color: var(--gray);
  margin-left: 4px;
}

/* posts recentes */
.bb-recent-posts { display: flex; flex-direction: column; gap: 14px; }

.bb-recent-item { display: flex; gap: 12px; align-items: flex-start; }

.bb-recent-img {
  width: 60px;
  height: 60px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--mid);
}

.bb-recent-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bb-recent-img-fallback {
  width: 100%;
  height: 100%;
  background: var(--mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.bb-recent-date {
  font-size: 11px;
  color: var(--gray);
  font-weight: 500;
  margin-bottom: 3px;
}

.bb-recent-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  transition: color .2s;
}

.bb-recent-title:hover { color: var(--red); }

/* CTA sidebar */
.bb-sidebar-cta {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  border-radius: 10px;
  padding: 28px 24px;
  text-align: center;
  border: none;
}

.bb-cta-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  margin-bottom: 8px;
}

.bb-cta-title {
  font-family: var(--font-cond);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 10px;
}

.bb-cta-text {
  font-size: 13px;
  color: rgba(255,255,255,.8);
  line-height: 1.5;
  margin-bottom: 20px;
}

.bb-cta-btn {
  display: inline-block;
  background: var(--white);
  color: var(--red);
  font-family: var(--font-main);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 10px 24px;
  border-radius: 4px;
  transition: background .2s, transform .2s;
}

.bb-cta-btn:hover {
  background: var(--text);
  color: var(--white);
  transform: translateY(-1px);
}

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.bb-footer-top {
  background: #001260;
  padding: 16px 40px;
}

.bb-footer-top-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
}

.bb-footer-top-item {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,.8);
}

.bb-footer-main {
  background: linear-gradient(160deg, var(--blue) 0%, var(--blue-dark) 100%);
  padding: 60px 40px;
}

.bb-footer-main-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
  gap: 40px;
}

.bb-footer-logo {
  height: 44px;
  width: auto;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}

.bb-footer-desc {
  font-size: 13px;
  line-height: 1.65;
  color: rgba(255,255,255,.65);
  margin-bottom: 20px;
}

.bb-footer-iso {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
}

.bb-footer-iso-dot {
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  flex-shrink: 0;
}

.bb-footer-col-title {
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.bb-footer-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }

.bb-footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,.65);
  transition: color .2s;
}

.bb-footer-links a:hover { color: var(--red); }

.bb-footer-blog-list { display: flex; flex-direction: column; gap: 14px; }

.bb-footer-blog-date {
  font-size: 11px;
  color: rgba(255,255,255,.45);
  margin-bottom: 3px;
}

.bb-footer-blog-link {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.8);
  line-height: 1.4;
  transition: color .2s;
}

.bb-footer-blog-link:hover { color: var(--red); }

.bb-footer-contact { display: flex; flex-direction: column; gap: 14px; }

.bb-footer-contact-item { display: flex; align-items: flex-start; gap: 10px; }

.bb-footer-contact-icon { font-size: 16px; flex-shrink: 0; margin-top: 2px; }

.bb-footer-contact-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-bottom: 2px;
}

.bb-footer-contact-value {
  font-size: 13px;
  color: rgba(255,255,255,.8);
}

.bb-footer-bottom {
  background: #0a0e1a;
  padding: 18px 40px;
}

.bb-footer-bottom-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.bb-footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,.4);
}

.bb-footer-dev {
  font-size: 11px;
  color: rgba(255,255,255,.3);
  text-decoration: none;
  transition: color 0.2s;
}

.bb-footer-dev:hover {
  color: #ff351c;
}

.bb-footer-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.bb-footer-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.bb-footer-dot.r { background: var(--red); }
.bb-footer-dot.b { background: var(--blue); }

.bb-footer-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  margin-left: 8px;
}

/* ═══════════════════════════════════════════
   CTA FINAL DO POST
═══════════════════════════════════════════ */
.bb-post-cta {
  margin-top: 48px;
  background: linear-gradient(135deg, var(--dark) 0%, #1a2540 100%);
  border-radius: 14px;
  overflow: hidden;
  border-left: 4px solid var(--red);
}

.bb-post-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 40px;
  gap: 24px;
}

.bb-post-cta-left { flex: 1; }

.bb-post-cta-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(255,53,28,.12);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.bb-post-cta-title {
  font-family: var(--font-cond);
  font-size: 30px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 12px;
}

.bb-post-cta-text {
  font-size: 14px;
  color: rgba(255,255,255,.65);
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 480px;
}

.bb-post-cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.bb-post-cta-btn-red {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 12px 24px;
  border-radius: 5px;
  transition: background .2s, transform .2s;
}

.bb-post-cta-btn-red:hover {
  background: var(--red-dark);
  color: var(--white);
  transform: translateY(-2px);
}

.bb-post-cta-btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: var(--white);
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 12px 24px;
  border-radius: 5px;
  transition: background .2s, transform .2s;
}

.bb-post-cta-btn-wa:hover {
  background: #1fb657;
  color: var(--white);
  transform: translateY(-2px);
}

.bb-post-cta-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 36px;
  opacity: .25;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════
   WHATSAPP FLUTUANTE
═══════════════════════════════════════════ */
.bb-wa-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}

.bb-wa-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 32px rgba(37,211,102,.6);
}

.bb-wa-btn svg { width: 28px; height: 28px; fill: #ffffff; }

.bb-wa-pulse {
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  background: rgba(37,211,102,.3);
  animation: bbWaPulse 2.5s infinite;
}

@keyframes bbWaPulse {
  0%   { transform: scale(1);   opacity: .6; }
  100% { transform: scale(1.7); opacity: 0;  }
}

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .bb-footer-main-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 900px) {
  .bb-nav-inner { padding: 0 20px; }
  .bb-ham { display: flex; }

  .bb-links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    position: fixed;
    top: 79px; left: 0; right: 0;
    background: var(--white);
    padding: 16px 20px 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-bottom: 3px solid var(--red);
    z-index: 9998;
  }

  .bb-links.open { display: flex; }
  .bb-links a { padding: 12px 16px; width: 100%; }
  .bb-links .bb-cta { margin-top: 8px; text-align: center; }

  .bb-wrap { grid-template-columns: 1fr; }
  .bb-sidebar { order: -1; }

  .bb-container { padding: 40px 20px; }
  .bb-hero { padding: 36px 20px; }

  .bb-post-title { font-size: 28px; }
  .bb-post-nav { grid-template-columns: 1fr; }
  .bb-post-cta-inner { flex-direction: column; padding: 28px 24px; }
  .bb-post-cta-right { flex-direction: row; }
  .bb-post-cta-title { font-size: 24px; }

  .bb-footer-main { padding: 40px 20px; }
  .bb-footer-main-inner { grid-template-columns: 1fr; gap: 28px; }
  .bb-footer-top { padding: 14px 20px; }
  .bb-footer-bottom { padding: 16px 20px; }
}

@media (max-width: 600px) {
  .bb-hero-title { font-size: 30px; }
  .bb-post-title { font-size: 24px; }
  .bb-footer-top-inner { gap: 16px; }
}
