/* ==========================================================================
   PBC BLOG v3 - Blog7 pattern (image-top cards)
   ========================================================================== */

/* === LISTING HERO (centered, like shadcn Blog7) === */
.blog-listing-hero {
  padding: clamp(120px, 14vw, 160px) 0 clamp(48px, 6vw, 80px);
  text-align: center;
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(212, 175, 55, 0.08), transparent 70%),
    var(--pbc-velvet);
  border-bottom: 1px solid var(--pbc-line);
}
.blog-listing-hero .container { max-width: 880px; }
.blog-badge {
  display: inline-block;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pbc-gold);
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.25);
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 28px;
}
.blog-listing-hero h1 {
  font-family: "Inter", sans-serif !important;
  font-weight: 800 !important;
  font-size: clamp(40px, 5.5vw, 76px) !important;
  line-height: 1.05 !important;
  letter-spacing: -0.035em !important;
  color: var(--pbc-text) !important;
  margin: 0 auto 20px !important;
  -webkit-text-fill-color: var(--pbc-text);
  max-width: 800px;
}
.blog-listing-lede {
  font-family: "Inter", sans-serif;
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.65;
  color: var(--pbc-text-mid);
  max-width: 620px;
  margin: 0 auto;
  letter-spacing: -0.005em;
}

/* === LISTING BODY === */
.blog-listing-body {
  background: var(--pbc-velvet);
  padding: clamp(56px, 8vw, 96px) 0 clamp(72px, 8vw, 96px) !important;
}

.blog-grid-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (max-width: 1200px) {
  .blog-grid-cards { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .blog-grid-cards { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}
@media (max-width: 600px) {
  .blog-grid-cards { grid-template-columns: 1fr; gap: 16px; padding: 0 18px; }
}

/* === Blog7-style card === */
.blog-card-v2 {
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  background: rgba(20, 61, 49, 0.35);
  border: 1px solid var(--pbc-line);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease,
              box-shadow 0.35s ease;
}
.blog-card-v2:hover {
  transform: translateY(-3px);
  border-color: rgba(212, 175, 55, 0.3);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.3);
}

/* Image (16:9 cover) */
.bc-image-link {
  display: block;
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
  position: relative;
  background: #08231b;
  transition: opacity 0.3s ease;
}
.bc-image-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}
.blog-card-v2:hover .bc-image-link img {
  transform: scale(1.04);
  opacity: 0.92;
}

/* Tag (compact) */
.bc-tag {
  font-family: "Inter", sans-serif;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pbc-gold);
  margin: 18px 18px 8px;
}

/* Title (compact) */
.blog-card-v2 h3 {
  font-family: "Inter", sans-serif !important;
  font-size: 15.5px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  letter-spacing: -0.015em !important;
  margin: 0 18px 10px !important;
}
.blog-card-v2 h3 a {
  color: var(--pbc-text);
  text-decoration: none;
  transition: color 0.3s ease;
}
.blog-card-v2 h3 a:hover { color: var(--pbc-gold-bright); }

/* Excerpt (compact, fewer lines visible) */
.blog-card-v2 p {
  font-family: "Inter", sans-serif;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--pbc-text-mid);
  margin: 0 18px 18px;
  letter-spacing: -0.005em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Footer — author top, read-more bottom (stacked, no overlap) */
.bc-footer {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  padding: 14px 18px;
  margin-top: auto;
  border-top: 1px solid var(--pbc-line);
  background: rgba(8, 35, 27, 0.4);
}
.bc-author {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  color: var(--pbc-text-mid);
  letter-spacing: 0.01em;
  min-width: 0;
}
.bc-author > span:not(.bc-avatar) {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.bc-avatar {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pbc-gold-bright), var(--pbc-gold-deep));
  color: var(--pbc-velvet);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.bc-read {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pbc-gold);
  text-decoration: none;
  transition: gap 0.3s ease, color 0.3s ease;
  white-space: nowrap;
}
.bc-read span { transition: transform 0.3s ease; display: inline-block; }
.bc-read:hover { gap: 10px; color: var(--pbc-gold-bright); }
.bc-read:hover span { transform: translateX(3px); }


/* ==========================================================================
   ARTICLE PAGE (single post view)
   ========================================================================== */
.blog-hero {
  position: relative;
  padding: clamp(120px, 14vw, 180px) 0 clamp(48px, 6vw, 72px) !important;
  text-align: left;
  border-bottom: 1px solid var(--pbc-line);
  background-color: #02080a;
  overflow: hidden;
  isolation: isolate;
}
/* Background photo layer (set via inline --bg-img CSS variable per post) */
.blog-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--bg-img);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(0.42) contrast(1.15) saturate(0.72) hue-rotate(8deg);
  opacity: 0.6;
  z-index: -2;
  transform: scale(1.04);
  animation: blogHeroDrift 40s ease-in-out infinite alternate;
}
/* Overlay layer - anchors text contrast and pulls in brand palette */
.blog-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 25% 30%, rgba(212, 175, 55, 0.1), transparent 55%),
    linear-gradient(95deg, rgba(2, 8, 10, 0.85) 0%, rgba(2, 8, 10, 0.55) 45%, rgba(2, 8, 10, 0.35) 75%, rgba(2, 8, 10, 0.7) 100%),
    linear-gradient(180deg, rgba(2, 8, 10, 0.4) 0%, transparent 30%, transparent 70%, rgba(2, 8, 10, 0.85) 100%);
  z-index: -1;
}
@keyframes blogHeroDrift {
  from { transform: scale(1.04) translateX(0); }
  to   { transform: scale(1.08) translateX(-1.5%); }
}
/* Fallback: posts without --bg-img get the old gradient */
.blog-hero:not([style*="--bg-img"])::before {
  background-image: none;
  background:
    radial-gradient(ellipse 80% 60% at 30% 0%, rgba(212, 175, 55, 0.08), transparent 70%),
    linear-gradient(180deg, #08231b 0%, #0a2a21 100%);
  filter: none;
  opacity: 1;
}
.blog-hero .container {
  max-width: 880px;
  position: relative;
  z-index: 2;
}

.blog-eyebrow {
  display: inline-flex;
  align-items: center;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pbc-gold);
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.2);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.blog-hero h1 {
  font-family: "Inter", sans-serif !important;
  font-weight: 800 !important;
  font-size: clamp(36px, 5vw, 60px) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.03em !important;
  color: var(--pbc-text) !important;
  margin: 0 0 24px !important;
  -webkit-text-fill-color: var(--pbc-text);
  max-width: 820px;
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  color: var(--pbc-text-mid);
}
.blog-meta .author-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.blog-meta .author-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pbc-gold-bright), var(--pbc-gold-deep));
  color: var(--pbc-velvet);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.25);
}
.blog-meta .author-name {
  color: var(--pbc-text);
  font-weight: 600;
}
.blog-meta .dot { color: var(--pbc-text-dim); margin: 0 -2px; }

/* === Article body === */
.blog-body {
  background: var(--pbc-velvet);
  padding: clamp(56px, 8vw, 96px) 0 clamp(72px, 8vw, 96px) !important;
}
.blog-body .container { max-width: 740px; }

.blog-body h2 {
  font-family: "Inter", sans-serif !important;
  font-weight: 800 !important;
  font-size: clamp(26px, 3vw, 34px) !important;
  line-height: 1.18 !important;
  letter-spacing: -0.025em !important;
  color: var(--pbc-text);
  margin: 56px 0 18px !important;
}
.blog-body h3 {
  font-family: "Inter", sans-serif !important;
  font-weight: 700 !important;
  font-size: clamp(19px, 2.2vw, 23px) !important;
  line-height: 1.3 !important;
  letter-spacing: -0.02em !important;
  color: var(--pbc-text);
  margin: 36px 0 14px !important;
}

.blog-body p {
  font-family: "Inter", sans-serif;
  font-size: 17px;
  line-height: 1.78;
  color: rgba(245, 239, 217, 0.86);
  margin: 0 0 18px;
  letter-spacing: -0.005em;
}
.blog-body ul, .blog-body ol {
  font-size: 17px;
  line-height: 1.78;
  color: rgba(245, 239, 217, 0.86);
  margin: 0 0 18px;
  padding-left: 24px;
}
.blog-body ul li, .blog-body ol li { margin-bottom: 10px; padding-left: 4px; }
.blog-body ul li::marker { color: var(--pbc-gold); }
.blog-body ol li::marker { color: var(--pbc-gold); font-weight: 700; }
.blog-body strong { color: var(--pbc-text); font-weight: 700; }
.blog-body em { color: var(--pbc-gold-bright); font-style: italic; }

.blog-body p a,
.blog-body li a,
.blog-body td a,
.blog-body blockquote a {
  color: var(--pbc-gold);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(212, 175, 55, 0.5);
  transition: color 0.25s ease, text-decoration-color 0.25s ease;
}
.blog-body p a:hover,
.blog-body li a:hover,
.blog-body td a:hover,
.blog-body blockquote a:hover {
  color: var(--pbc-gold-bright);
  text-decoration-color: var(--pbc-gold-bright);
}

/* Buttons inside blog body — keep btn styles, never inherit underline */
.blog-body .btn,
.blog-body a.btn,
.blog-cta-inline .btn {
  text-decoration: none !important;
}
.blog-body .btn-gold,
.blog-cta-inline .btn-gold {
  color: var(--pbc-velvet) !important;
  background: linear-gradient(135deg, var(--pbc-gold-bright), var(--pbc-gold)) !important;
  font-weight: 700 !important;
}
.blog-body .btn-gold:hover,
.blog-cta-inline .btn-gold:hover {
  color: var(--pbc-velvet) !important;
  background: linear-gradient(135deg, var(--pbc-gold-bright), var(--pbc-gold-bright)) !important;
}
.blog-body .btn-ghost,
.blog-cta-inline .btn-ghost {
  color: var(--pbc-text) !important;
  background: rgba(212, 175, 55, 0.06) !important;
  border: 1px solid rgba(212, 175, 55, 0.3) !important;
}
.blog-body .btn-ghost:hover,
.blog-cta-inline .btn-ghost:hover {
  color: var(--pbc-gold-bright) !important;
  border-color: var(--pbc-gold) !important;
}

.blog-body blockquote {
  border-left: 3px solid var(--pbc-gold);
  padding: 8px 0 8px 24px;
  margin: 32px 0;
  font-family: "Inter", sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--pbc-text);
  letter-spacing: -0.015em;
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.05), transparent 60%);
  border-radius: 0 8px 8px 0;
}

.blog-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-size: 14px;
  background: rgba(20, 61, 49, 0.3);
  border: 1px solid var(--pbc-line);
  border-radius: 12px;
  overflow: hidden;
}
.blog-body th, .blog-body td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--pbc-line);
  color: var(--pbc-text);
}
.blog-body tbody tr:last-child th,
.blog-body tbody tr:last-child td { border-bottom: none; }
.blog-body th {
  font-weight: 700;
  color: var(--pbc-gold);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: rgba(212, 175, 55, 0.05);
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}
.blog-body td { font-size: 14.5px; }
.blog-body tbody tr:hover { background: rgba(212, 175, 55, 0.03); }

/* === Inline CTA === */
.blog-cta-inline {
  position: relative;
  background:
    radial-gradient(ellipse 60% 100% at 100% 0%, rgba(212, 175, 55, 0.12), transparent 70%),
    linear-gradient(135deg, rgba(212, 175, 55, 0.06), rgba(20, 61, 49, 0.5));
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 18px;
  padding: 30px 34px;
  margin: 36px 0;
  overflow: hidden;
}
.blog-cta-inline h4 {
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--pbc-text);
  margin: 0 0 10px !important;
  letter-spacing: -0.02em;
}
.blog-cta-inline p {
  font-size: 14.5px !important;
  color: var(--pbc-text-mid) !important;
  margin: 0 0 18px !important;
  line-height: 1.55 !important;
}
.blog-cta-inline .cta-btns {
  display: flex; gap: 10px; flex-wrap: wrap;
}

/* === Disclaimer & author card === */
.blog-disclaimer {
  border-top: 1px solid var(--pbc-line);
  margin-top: 56px;
  padding-top: 28px;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  color: var(--pbc-text-dim);
  letter-spacing: 0.04em;
  line-height: 1.7;
}

.author-card {
  display: flex;
  gap: 24px;
  padding: 32px;
  margin: 56px 0 0;
  background:
    radial-gradient(ellipse 50% 100% at 0% 50%, rgba(212, 175, 55, 0.06), transparent 70%),
    rgba(20, 61, 49, 0.4);
  border: 1px solid var(--pbc-line);
  border-radius: 20px;
}
.author-card .author-avatar {
  width: 64px; height: 64px;
  flex-shrink: 0;
  font-size: 18px;
  background: linear-gradient(135deg, var(--pbc-gold-bright), var(--pbc-gold-deep));
  color: var(--pbc-velvet);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.25);
}
.author-card .author-info { flex: 1; min-width: 0; }
.author-card .author-info h5 {
  font-family: "Inter", sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--pbc-text);
  margin: 0 0 6px;
  letter-spacing: -0.015em;
}
.author-card .author-role {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pbc-gold);
  margin-bottom: 12px;
  font-weight: 700;
}
.author-card .author-bio {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--pbc-text-mid);
  margin: 0 0 8px;
}
.author-card .author-creds {
  font-size: 12px;
  color: var(--pbc-text-dim);
  letter-spacing: 0.02em;
  font-style: italic;
}

/* === Blog partner CTA (auto-injected on every article) === */
.blog-partner-cta {
  margin: 56px 0 0;
  padding: 36px 32px;
  background:
    radial-gradient(ellipse 60% 100% at 50% 0%, rgba(212, 175, 55, 0.08), transparent 70%),
    linear-gradient(180deg, rgba(20, 61, 49, 0.5), rgba(10, 42, 33, 0.6));
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 22px;
}
.bpc-eyebrow {
  text-align: center;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--pbc-gold);
  margin-bottom: 24px;
}
.bpc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
  align-items: stretch;
}
.bpc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 18px;
  background: rgba(10, 42, 33, 0.5);
  border: 1px solid var(--pbc-line);
  border-radius: 14px;
  transition: border-color 0.3s ease, transform 0.3s ease;
  min-height: 100%;
}
.bpc-card:hover {
  border-color: rgba(212, 175, 55, 0.35);
  transform: translateY(-2px);
}
.bpc-card.bpc-featured {
  background:
    radial-gradient(ellipse 80% 80% at 100% 0%, rgba(212, 175, 55, 0.12), transparent 70%),
    rgba(20, 61, 49, 0.6);
  border-color: rgba(212, 175, 55, 0.4);
}
.bpc-tag {
  font-family: "Inter", sans-serif;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pbc-gold);
}
.bpc-name {
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--pbc-text);
  letter-spacing: -0.015em;
}
/* Logo treatment - clean white pill, brand colors visible */
.bpc-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 8px 14px;
  background: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  margin-bottom: 4px;
}
.bpc-logo {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
/* Featured logo pill matches the others — full symmetry */
.bpc-card.bpc-featured .bpc-logo-wrap { height: 60px; max-width: 200px; }
.bpc-bonus {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--pbc-text);
  letter-spacing: -0.005em;
}
.bpc-bonus strong {
  background: linear-gradient(135deg, var(--pbc-gold-bright), var(--pbc-gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}
.bpc-meta {
  font-family: "Inter", sans-serif;
  font-size: 11.5px;
  color: var(--pbc-text-mid);
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}
.bpc-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  padding: 11px 16px;
  background: linear-gradient(135deg, var(--pbc-gold-bright), var(--pbc-gold));
  color: var(--pbc-velvet) !important;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  text-decoration: none !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.bpc-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(212, 175, 55, 0.3);
}
.bpc-cta-ghost {
  background: transparent !important;
  color: var(--pbc-gold) !important;
  border: 1px solid rgba(212, 175, 55, 0.4) !important;
}
.bpc-cta-ghost:hover {
  background: rgba(212, 175, 55, 0.08) !important;
  border-color: var(--pbc-gold) !important;
}
.bpc-foot {
  text-align: center;
  margin: 22px 0 0;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  color: var(--pbc-text-dim);
  letter-spacing: 0.06em;
}

/* === MOBILE OPTIMIZATION === */
@media (max-width: 900px) {
  .bpc-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  /* Featured no longer spans full width on tablet — keeps symmetry */
}
@media (max-width: 700px) {
  /* Article body */
  .blog-body { padding: 48px 0 64px !important; }
  .blog-body .container { padding: 0 18px; }
  .blog-body p, .blog-body ul, .blog-body ol { font-size: 16px; line-height: 1.7; }
  .blog-body h2 { font-size: 23px !important; margin: 44px 0 14px !important; }
  .blog-body h3 { font-size: 18px !important; margin: 30px 0 12px !important; }
  .blog-body table { font-size: 13px; }
  .blog-body th, .blog-body td { padding: 10px 12px; }
  .blog-body th { font-size: 10px; }
  .blog-body td { font-size: 13px; }
  .blog-body blockquote { font-size: 17px; padding: 6px 0 6px 18px; margin: 24px 0; }

  /* Hero */
  .blog-hero { padding: 96px 0 40px !important; }
  .blog-hero .container { padding: 0 18px; }
  .blog-hero h1 { font-size: 30px !important; line-height: 1.15 !important; margin: 0 0 18px !important; }
  .blog-meta { font-size: 12px; gap: 10px; }
  .blog-meta .author-avatar { width: 28px; height: 28px; font-size: 10px; }
  .blog-meta .dot { display: none; }
  .blog-eyebrow { font-size: 10px; letter-spacing: 0.18em; padding: 6px 12px; margin-bottom: 18px; }

  /* Author card */
  .author-card { flex-direction: column; gap: 14px; padding: 24px; margin-top: 40px; }
  .author-card .author-avatar { width: 52px; height: 52px; font-size: 16px; }
  .author-card .author-info h5 { font-size: 16px; }
  .author-card .author-bio { font-size: 14px; }

  /* Inline CTA */
  .blog-cta-inline { padding: 22px; margin: 28px 0; }
  .blog-cta-inline h4 { font-size: 16px; }
  .blog-cta-inline p { font-size: 13.5px !important; }

  /* Partner CTA */
  .blog-partner-cta { padding: 26px 18px; margin: 40px 0 0; border-radius: 18px; }
  .bpc-grid { grid-template-columns: 1fr; gap: 10px; }
  .bpc-card.bpc-featured { grid-column: span 1; }
  .bpc-card { padding: 18px; }
  .bpc-eyebrow { font-size: 10px; letter-spacing: 0.2em; margin-bottom: 18px; }
  .bpc-foot { font-size: 10px; margin-top: 18px; }

  /* Listing hero */
  .blog-listing-hero { padding: 96px 0 40px !important; }
  .blog-listing-hero h1 { font-size: clamp(30px, 8vw, 44px) !important; }
  .blog-listing-lede { font-size: 14px; }
  .blog-listing-body { padding: 40px 0 56px !important; }
}

@media (max-width: 480px) {
  .blog-hero h1 { font-size: 26px !important; }
  .blog-body p, .blog-body ul, .blog-body ol { font-size: 15.5px; }
  .blog-body h2 { font-size: 21px !important; }
  .blog-body h3 { font-size: 17px !important; }
  .bpc-name { font-size: 16px; }
  .bpc-bonus { font-size: 13px; }
}

/* ===========================================================
   MID-ARTICLE WHATSAPP CTA — slim banner injected mid-post
   =========================================================== */
.blog-mid-cta {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 26px;
  margin: 48px 0 56px;
  background: linear-gradient(135deg, rgba(20, 61, 49, 0.6), rgba(10, 42, 33, 0.85));
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}
.blog-mid-cta::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: linear-gradient(180deg, var(--pbc-gold-bright), var(--pbc-gold));
}
.bmc-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 12px;
  color: var(--pbc-gold);
  flex-shrink: 0;
}
.bmc-icon svg { width: 22px; height: 22px; }
.bmc-text {
  flex: 1;
  display: flex; flex-direction: column;
  gap: 2px;
  line-height: 1.4;
}
.bmc-text strong {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--pbc-text);
  letter-spacing: -0.01em;
}
.bmc-text span {
  font-family: "Inter", sans-serif;
  font-size: 13.5px;
  color: var(--pbc-text-mid);
}
.bmc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  background: linear-gradient(135deg, var(--pbc-gold-bright), var(--pbc-gold));
  color: var(--pbc-velvet) !important;
  font-family: "Inter", sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  text-decoration: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  flex-shrink: 0;
  white-space: nowrap;
}
.bmc-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(212, 175, 55, 0.32);
}
@media (max-width: 600px) {
  .blog-mid-cta {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 14px;
    padding: 20px;
  }
  .bmc-btn { width: 100%; }
}

/* Make sure logo pill renders consistently with main page partner tiles */
.bpc-card .bpc-logo-wrap {
  display: flex !important;
  align-items: center;
  justify-content: center;
  height: 60px;
  width: 100%;
  max-width: 200px;
  padding: 10px 16px;
  background: #FFFFFF !important;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  margin: 0 auto 8px;
}
.bpc-card.bpc-featured .bpc-logo-wrap { height: 68px; max-width: 220px; }
.bpc-card .bpc-logo {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: none !important;
}
