/* ================================================================
   BLOGFINANZAS — DESIGN SYSTEM v3.0
   Clean, authoritative, no patches, no duplicates.
   Mobile-first. Standalone theme.
   ================================================================ */

:root {
  --slate:         #1B2A3B;
  --slate-deep:    #0F1923;
  --slate-mid:     #243548;
  --red:           #A63228;
  --red-hover:     #8a2620;
  --gold:          #C9A84C;
  --gold-light:    #fdf8ee;
  --bg:            #F4F5F7;
  --surface:       #FFFFFF;
  --border:        #E2E5EA;
  --text-primary:  #111827;
  --text-secondary:#4B5563;
  --text-muted:    #9CA3AF;
  --on-dark:       #FFFFFF;
  --on-dark-70:    rgba(255,255,255,0.70);
  --on-dark-45:    rgba(255,255,255,0.45);
  --on-dark-25:    rgba(255,255,255,0.25);
  --radius:        8px;
  --radius-sm:     4px;
  --shadow-sm:     0 1px 4px rgba(0,0,0,0.07);
  --shadow-md:     0 4px 16px rgba(0,0,0,0.10);
  --transition:    0.22s ease;
  --container:     1200px;
  --sidebar-w:     300px;
  --gap:           52px;
}

/* ================================================================
   RESET
   ================================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-hover); }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 2px; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; padding: 0; }
input, textarea, select { font-family: inherit; }
.skip-link { position: absolute; top: -100%; left: 0; background: var(--slate); color: white; padding: 8px 16px; z-index: 9999; }
.skip-link:focus { top: 0; }

/* ================================================================
   READING PROGRESS
   ================================================================ */
#bf-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: var(--red);
  z-index: 9999;
  width: 0%;
  transition: width 0.1s linear;
  pointer-events: none;
}

/* ================================================================
   TOPBAR
   ================================================================ */
.bf-topbar {
  background: var(--slate-deep);
  color: var(--on-dark-45);
  font-size: 12px;
  text-align: center;
  padding: 7px 20px;
  letter-spacing: 0.3px;
}
.bf-topbar a { color: var(--gold); font-weight: 600; }
.bf-topbar a:hover { color: white; }

/* ================================================================
   HEADER & NAV
   ================================================================ */
.bf-header {
  background: var(--slate);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.bf-header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.bf-logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  border: 1.5px solid var(--on-dark-25);
  padding: 5px 13px 4px;
  border-radius: 3px;
  transition: border-color var(--transition);
  flex-shrink: 0;
}
.bf-logo:hover { border-color: var(--on-dark-70); }
.bf-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--on-dark) !important;
  line-height: 1;
}
.bf-logo-rule { height: 1px; background: var(--on-dark-25); width: 100%; margin: 3px 0; }
.bf-logo-sub { font-size: 7px; letter-spacing: 2px; text-transform: uppercase; color: var(--on-dark-45); }

.bf-nav { display: flex; }
.bf-nav-list { display: flex; gap: 4px; align-items: center; }
.bf-nav-list li a {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--on-dark-70);
  padding: 8px 12px;
  border-radius: 3px;
  transition: color var(--transition);
}
.bf-nav-list li a:hover,
.bf-nav-list li.current-menu-item > a { color: var(--on-dark); }
.bf-nav-list .bf-nav-cta > a {
  background: var(--red) !important;
  color: var(--on-dark) !important;
  padding: 8px 18px !important;
  border-radius: 3px !important;
}
.bf-nav-list .bf-nav-cta > a:hover { background: var(--red-hover) !important; }

.bf-nav-toggle {
  display: none;
  padding: 8px;
  border-radius: 3px;
  transition: background var(--transition);
}
.bf-nav-toggle:hover { background: rgba(255,255,255,0.1); }
.bf-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--on-dark-70);
  border-radius: 2px;
  transition: all var(--transition);
  margin: 5px 0;
}
.bf-nav-toggle.open .bf-burger span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.bf-nav-toggle.open .bf-burger span:nth-child(2) { opacity: 0; }
.bf-nav-toggle.open .bf-burger span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ================================================================
   HERO SLIDER
   ================================================================ */
.bf-hero-slider {
  position: relative;
  width: 100%;
  height: 540px;
  overflow: hidden;
  background: var(--slate);
}
.bf-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease;
  display: flex;
  align-items: flex-end;
}
.bf-slide.active { opacity: 1; }
.bf-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,25,35,0.94) 0%, rgba(27,42,59,0.55) 45%, transparent 100%);
}
.bf-slide-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px 52px;
}
.bf-slide-cat {
  display: inline-block;
  background: var(--red);
  color: var(--on-dark) !important;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 2px;
  margin-bottom: 14px;
}
.bf-slide-cat:hover { background: var(--red-hover); }
.bf-slide-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 3.5vw, 44px);
  font-weight: 900;
  line-height: 1.2;
  color: var(--on-dark);
  margin-bottom: 12px;
  max-width: 720px;
}
.bf-slide-title a { color: var(--on-dark) !important; }
.bf-slide-title a:hover { color: var(--gold) !important; }
.bf-slide-excerpt {
  font-size: 16px;
  color: var(--on-dark-70);
  max-width: 580px;
  margin-bottom: 20px;
  line-height: 1.65;
}
.bf-slide-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  color: var(--on-dark-45);
  flex-wrap: wrap;
}
.bf-slide-btn {
  background: var(--red);
  color: var(--on-dark) !important;
  padding: 10px 24px;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 600;
  transition: background var(--transition);
  margin-left: auto;
}
.bf-slide-btn:hover { background: var(--red-hover); }
.bf-slider-prev, .bf-slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  color: white;
  font-size: 18px;
  width: 44px; height: 44px;
  border-radius: 50%;
  z-index: 10;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.bf-slider-prev { left: 20px; }
.bf-slider-next { right: 20px; }
.bf-slider-prev:hover, .bf-slider-next:hover { background: rgba(166,50,40,0.85); }
.bf-slider-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.bf-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  transition: background var(--transition), transform var(--transition);
  padding: 0;
}
.bf-dot.active, .bf-dot:hover { background: var(--red); transform: scale(1.35); }

/* ================================================================
   HOMEPAGE LAYOUT (two-column: articles + sidebar)
   ================================================================ */
.bf-home-layout {
  max-width: var(--container);
  margin: 0 auto;
  padding: 48px 24px;
  display: grid;
  grid-template-columns: 1fr var(--sidebar-w);
  gap: var(--gap);
  align-items: start;
}
.bf-home-sidebar { position: sticky; top: 88px; }

/* Section header */
.bf-section-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}
.bf-section-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  margin: 0;
}
.bf-section-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, var(--gold), transparent);
}

/* Article cards (2-col grid) */
.bf-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 28px;
}
.bf-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}
.bf-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.bf-card-img-link { display: block; height: 185px; overflow: hidden; flex-shrink: 0; }
.bf-card-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; display: block; }
.bf-card:hover .bf-card-img { transform: scale(1.04); }
.bf-card-img--empty { width: 100%; height: 100%; background: linear-gradient(135deg, var(--slate-mid), var(--slate-deep)); }
.bf-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.bf-card-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.bf-card-cat {
  background: var(--red); color: var(--on-dark) !important;
  font-size: 9px; font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase; padding: 3px 9px; border-radius: 2px;
}
.bf-card-cat:hover { background: var(--red-hover); }
.bf-card-date, .bf-card-time { font-size: 11px; color: var(--text-muted); }
.bf-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 17px; font-weight: 700; line-height: 1.35;
  margin: 0 0 10px; flex: 1;
}
.bf-card-title a { color: var(--text-primary) !important; transition: color var(--transition); }
.bf-card-title a:hover { color: var(--red) !important; }
.bf-card-excerpt { font-size: 14px; color: var(--text-secondary); line-height: 1.65; margin-bottom: 14px; }
.bf-card-more {
  font-size: 12px; font-weight: 600; color: var(--red) !important;
  text-transform: uppercase; letter-spacing: 0.5px; margin-top: auto;
}
.bf-card-more:hover { color: var(--red-hover) !important; }

/* View all button */
.bf-view-all { text-align: center; margin: 24px 0 0; }
.bf-view-all-btn {
  display: inline-block;
  background: var(--slate);
  color: var(--on-dark) !important;
  padding: 14px 36px;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 600;
  transition: background var(--transition);
}
.bf-view-all-btn:hover { background: var(--red); color: var(--on-dark) !important; }

/* ================================================================
   FULL-WIDTH SECTIONS (Trabaja + Newsletter + Categories)
   ================================================================ */
.bf-full-section {
  width: 100%;
  background: var(--slate);
  padding: 64px 0;
}
.bf-full-section-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

/* Trabaja con Joan */
.bf-trabaja-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--gold);
  text-transform: uppercase;
  display: block;
  margin-bottom: 10px;
}
.bf-trabaja-headline {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 900;
  color: var(--on-dark);
  margin-bottom: 12px;
}
.bf-trabaja-intro {
  font-size: 17px;
  color: var(--on-dark-70);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.bf-trabaja-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: left;
}
.bf-trabaja-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  transition: background var(--transition), transform var(--transition);
  color: var(--on-dark) !important;
  text-align: center;
}
.bf-trabaja-card:hover { background: rgba(255,255,255,0.10); transform: translateY(-3px); }
.bf-trabaja-icon { font-size: 36px; margin-bottom: 16px; }
.bf-trabaja-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--on-dark);
  margin-bottom: 10px;
}
.bf-trabaja-desc {
  font-size: 14px;
  color: var(--on-dark-70);
  line-height: 1.7;
  margin-bottom: 20px;
  flex: 1;
}
.bf-trabaja-link {
  display: inline-block;
  border: 1.5px solid rgba(255,255,255,0.4);
  color: var(--on-dark) !important;
  padding: 10px 24px;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 600;
  transition: all var(--transition);
  text-decoration: none;
  align-self: center;
}
.bf-trabaja-card:hover .bf-trabaja-link { border-color: white; background: rgba(255,255,255,0.08); }

/* ================================================================
   NEWSLETTER SECTION
   ================================================================ */
.bf-nl-section {
  width: 100%;
  background: var(--slate-deep);
  padding: 64px 24px;
  text-align: center;
}
.bf-nl-section-inner {
  max-width: 560px;
  margin: 0 auto;
}
.bf-nl-section-icon { font-size: 40px; margin-bottom: 16px; }
.bf-nl-section-title {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 900;
  color: var(--on-dark);
  margin-bottom: 12px;
}
.bf-nl-section-desc {
  font-size: 16px;
  color: var(--on-dark-70);
  line-height: 1.7;
  margin-bottom: 28px;
}
.bf-nl-section-form {
  display: flex;
  flex-direction: row;
  gap: 10px;
  width: 100%;
  max-width: 480px;
  margin: 0 auto 12px;
}
.bf-nl-section-input {
  flex: 1;
  min-width: 0;
  padding: 13px 16px;
  border: 1.5px solid var(--on-dark-25);
  border-radius: 3px;
  font-size: 15px;
  background: rgba(255,255,255,0.08);
  color: var(--on-dark);
}
.bf-nl-section-input::placeholder { color: var(--on-dark-45); }
.bf-nl-section-input:focus { outline: none; border-color: var(--gold); }
.bf-nl-section-btn {
  flex: 0 0 auto;
  background: var(--red);
  color: var(--on-dark);
  border: none;
  padding: 13px 24px;
  border-radius: 3px;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition: background var(--transition);
  cursor: pointer;
}
.bf-nl-section-btn:hover { background: var(--red-hover); }
.bf-nl-msg { font-size: 13px; min-height: 18px; margin-top: 8px; }
.bf-nl-msg.success { color: #4ade80; }
.bf-nl-msg.error { color: #fca5a5; }
.bf-nl-section-note { font-size: 12px; color: var(--on-dark-45); margin-top: 8px; }

/* ================================================================
   CATEGORY BLOCKS
   ================================================================ */
.bf-cats-section {
  width: 100%;
  background: var(--bg);
  padding: 64px 0;
}
.bf-cats-section-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.bf-cats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 40px;
}
.bf-cat-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.bf-cat-block-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  background: var(--slate);
}
.bf-cat-block-title {
  font-family: 'Playfair Display', serif;
  font-size: 16px; font-weight: 700;
  color: var(--on-dark); margin: 0;
}
.bf-cat-block-all {
  font-size: 11px; font-weight: 600;
  color: var(--gold) !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color var(--transition);
}
.bf-cat-block-all:hover { color: var(--on-dark) !important; }
.bf-cat-block-list { list-style: none; margin: 0; padding: 0; }
.bf-cat-block-item { border-bottom: 1px solid var(--border); }
.bf-cat-block-item:last-child { border-bottom: none; }
.bf-cat-block-item a {
  display: flex;
  flex-direction: column;
  padding: 11px 18px;
  color: var(--text-primary) !important;
  transition: background var(--transition);
  gap: 2px;
}
.bf-cat-block-item a:hover { background: var(--bg); color: var(--red) !important; }
.bf-cat-block-item-title {
  font-size: 14px; font-weight: 600; line-height: 1.4;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.bf-cat-block-item-meta { font-size: 11px; color: var(--text-muted); }

/* ================================================================
   SIDEBAR CARDS (used everywhere)
   ================================================================ */
.bf-scard {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.bf-scard--dark { background: var(--slate); border-color: var(--slate); }
.bf-scard-head {
  background: var(--slate);
  color: var(--on-dark);
  font-size: 11px; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 11px 16px;
}
.bf-scard-body { padding: 16px; }
.bf-scard-body--flush { padding: 0; }
.bf-scard-desc { font-size: 13px; color: var(--text-secondary); margin-bottom: 12px; line-height: 1.6; }

/* Bio card */
.bf-bio-mini { display: flex; gap: 12px; align-items: flex-start; }
.bf-bio-av {
  width: 52px !important; height: 52px !important;
  border-radius: 50% !important; object-fit: cover;
  border: 2px solid var(--border); flex-shrink: 0;
}
.bf-bio-name { font-family: 'Playfair Display', serif; font-size: 15px; font-weight: 700; color: var(--text-primary); margin-bottom: 4px; }
.bf-bio-text { font-size: 12px; line-height: 1.6; color: var(--text-secondary); margin-bottom: 8px; }
.bf-bio-link { font-size: 12px; font-weight: 600; color: var(--red) !important; }
.bf-bio-link:hover { color: var(--red-hover) !important; }

/* Newsletter in sidebar */
.bf-nl-form { display: flex; flex-direction: column; gap: 8px; }
.bf-nl-email {
  width: 100%; padding: 9px 12px;
  border: 1.5px solid var(--border); border-radius: 3px;
  font-size: 13px; transition: border-color var(--transition);
}
.bf-nl-email:focus { outline: none; border-color: var(--slate); }
.bf-nl-btn {
  width: 100%; background: var(--red); color: var(--on-dark);
  border: none; padding: 10px; border-radius: 3px;
  font-size: 13px; font-weight: 600;
  transition: background var(--transition);
}
.bf-nl-btn:hover { background: var(--red-hover); }
.bf-nl-note { font-size: 11px; color: var(--text-muted); text-align: center; margin-top: 6px; }

/* Categories in sidebar */
.bf-scat-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 16px; border-bottom: 1px solid var(--border);
  font-size: 14px; color: var(--text-primary) !important;
  transition: background var(--transition);
}
.bf-scat-item:last-child { border-bottom: none; }
.bf-scat-item:hover { background: var(--bg); color: var(--red) !important; }
.bf-scat-count {
  background: var(--bg); color: var(--text-muted);
  font-size: 11px; font-weight: 600;
  padding: 2px 8px; border-radius: 10px;
}

/* Latest posts in sidebar */
.bf-sidebar-post {
  display: flex; gap: 10px; align-items: center;
  padding: 10px 16px; border-bottom: 1px solid var(--border);
  color: var(--text-primary) !important;
  transition: background var(--transition);
}
.bf-sidebar-post:last-child { border-bottom: none; }
.bf-sidebar-post:hover { background: var(--bg); }
.bf-sidebar-post-thumb {
  width: 52px; height: 52px; border-radius: var(--radius-sm);
  background: var(--slate-mid); background-size: cover; background-position: center;
  flex-shrink: 0;
}
.bf-sidebar-post-title {
  display: -webkit-box; font-size: 13px; font-weight: 600;
  color: var(--text-primary); line-height: 1.4; margin-bottom: 3px;
  overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.bf-sidebar-post-date { font-size: 11px; color: var(--text-muted); }

/* Popular posts in sidebar */
.bf-popular-post {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 10px 16px; border-bottom: 1px solid var(--border);
  color: var(--text-primary) !important;
  transition: background var(--transition);
}
.bf-popular-post:last-child { border-bottom: none; }
.bf-popular-post:hover { background: var(--bg); }
.bf-popular-num {
  font-family: 'Playfair Display', serif;
  font-size: 20px; font-weight: 900; color: var(--gold);
  line-height: 1.2; flex-shrink: 0; min-width: 28px;
}
.bf-popular-title {
  font-size: 13px; font-weight: 600; color: var(--text-primary);
  line-height: 1.45; padding-top: 3px;
}

/* Coaching CTA in sidebar */
.bf-coaching-desc { font-size: 13px; color: var(--on-dark-70); margin-bottom: 12px; line-height: 1.6; }
.bf-coaching-btn {
  display: block; background: var(--red); color: var(--on-dark) !important;
  text-align: center; padding: 12px; border-radius: 3px;
  font-size: 14px; font-weight: 600;
  transition: background var(--transition);
}
.bf-coaching-btn:hover { background: var(--red-hover); }

/* Search in sidebar */
.search-form { display: flex; gap: 8px; }
.search-form input[type="search"] {
  flex: 1; padding: 9px 12px;
  border: 1.5px solid var(--border); border-radius: 3px; font-size: 14px;
}
.search-form button {
  background: var(--red); color: var(--on-dark);
  border: none; padding: 9px 14px;
  border-radius: 3px; font-size: 14px;
  transition: background var(--transition);
}
.search-form button:hover { background: var(--red-hover); }

/* ================================================================
   BLOG / ARCHIVE LIST
   ================================================================ */
.bf-page-layout {
  max-width: var(--container);
  margin: 0 auto;
  padding: 48px 24px;
  display: grid;
  grid-template-columns: 1fr var(--sidebar-w);
  gap: var(--gap);
  align-items: start;
}
.bf-sidebar { position: sticky; top: 88px; }
.bf-main { min-width: 0; }

.bf-archive-header {
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--gold);
}
.bf-archive-title {
  font-family: 'Playfair Display', serif;
  font-size: 32px; font-weight: 900; color: var(--text-primary);
}
.bf-archive-label {
  font-size: 14px; font-weight: 400; color: var(--text-muted);
  display: block; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px;
}
.bf-archive-desc { font-size: 16px; color: var(--text-secondary); line-height: 1.7; margin-top: 8px; }

.bf-list-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.bf-list-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.bf-list-card-img-link { display: block; overflow: hidden; height: 220px; }
.bf-list-card-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.bf-list-card:hover .bf-list-card-img { transform: scale(1.03); }
.bf-list-card-body { padding: 24px 28px; }
.bf-list-card-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.bf-list-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px; font-weight: 700; line-height: 1.3; margin-bottom: 12px;
}
.bf-list-card-title a { color: var(--text-primary) !important; }
.bf-list-card-title a:hover { color: var(--red) !important; }
.bf-list-card-excerpt p { font-size: 16px; line-height: 1.75; color: var(--text-secondary); margin-bottom: 14px; }

.bf-pagination { margin: 40px 0; }
.bf-pagination .nav-links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.bf-pagination .page-numbers {
  padding: 8px 14px; border: 1.5px solid var(--border);
  border-radius: 3px; font-size: 14px; font-weight: 600;
  color: var(--text-secondary); transition: all var(--transition);
}
.bf-pagination .page-numbers.current,
.bf-pagination .page-numbers:hover { background: var(--slate); color: var(--on-dark); border-color: var(--slate); }
.bf-no-results { color: var(--text-muted); font-size: 16px; padding: 20px 0; }

/* ================================================================
   SINGLE ARTICLE
   ================================================================ */
.bf-art-hero {
  background: var(--slate);
  padding: 52px 24px 0;
  position: relative;
  overflow: hidden;
}
.bf-art-hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 360px; height: 360px;
  background: rgba(201,168,76,0.04);
  border-radius: 50%;
  pointer-events: none;
}
.bf-art-hero-inner { max-width: 800px; margin: 0 auto; position: relative; z-index: 1; }
.bf-breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--on-dark-45);
  margin-bottom: 18px; flex-wrap: wrap;
}
.bf-breadcrumb a { color: var(--on-dark-70); }
.bf-breadcrumb a:hover { color: var(--on-dark); }
.bf-bc-sep { color: var(--on-dark-25); }
.bf-art-cat {
  display: inline-block; background: var(--red); color: var(--on-dark) !important;
  font-size: 10px; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; padding: 4px 13px; border-radius: 2px;
  margin-bottom: 16px;
}
.bf-art-cat:hover { background: var(--red-hover); }
.bf-art-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 900; line-height: 1.2;
  color: var(--on-dark); margin-bottom: 20px;
}
.bf-art-meta {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 16px 0;
  border-top: 1px solid var(--on-dark-25); flex-wrap: wrap;
}
.bf-art-author { display: flex; align-items: center; gap: 12px; }
.bf-art-author-av {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.1); border: 2px solid var(--on-dark-25);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif; font-size: 13px; font-weight: 900;
  color: var(--on-dark-70); flex-shrink: 0;
}
.bf-art-author-name { font-size: 14px; font-weight: 600; color: var(--on-dark); display: block; }
.bf-art-author-role { font-size: 11px; color: var(--on-dark-45); display: block; }
.bf-art-stats { display: flex; gap: 16px; font-size: 12px; color: var(--on-dark-45); }
.bf-art-hero-img { width: 100%; height: 380px; overflow: hidden; }
.bf-art-hero-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

.bf-share-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 10px 24px;
  position: sticky; top: 68px; z-index: 90;
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}
.bf-share-bar-inner {
  max-width: var(--container); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.bf-share-bar-title {
  font-size: 13px; font-weight: 600; color: var(--text-secondary);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 400px;
}

.bf-art-layout {
  max-width: var(--container);
  margin: 0 auto;
  padding: 48px 24px;
  display: grid;
  grid-template-columns: 1fr var(--sidebar-w);
  gap: var(--gap);
  align-items: start;
}
.bf-art-body { min-width: 0; }
.bf-art-content { font-size: 18px; line-height: 1.85; color: var(--text-secondary); }
.bf-art-content > p:first-child { font-size: 20px; color: var(--text-primary); font-weight: 300; }
.bf-art-content p { margin-bottom: 22px; }
.bf-art-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 26px; font-weight: 700; color: var(--text-primary);
  margin: 38px 0 14px; line-height: 1.3;
}
.bf-art-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px; font-weight: 700; color: var(--text-primary); margin: 28px 0 10px;
}
.bf-art-content h4 { font-size: 18px; font-weight: 600; color: var(--text-primary); margin: 20px 0 8px; }
.bf-art-content ul, .bf-art-content ol { padding-left: 24px; margin-bottom: 22px; list-style: disc; }
.bf-art-content ol { list-style: decimal; }
.bf-art-content li { margin-bottom: 8px; }
.bf-art-content strong { color: var(--text-primary); font-weight: 600; }
.bf-art-content a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.bf-art-content a:hover { color: var(--red-hover); }
.bf-art-content blockquote {
  border-left: 4px solid var(--gold);
  padding: 18px 26px; margin: 34px 0;
  background: var(--gold-light); border-radius: 0 6px 6px 0;
  font-family: 'Playfair Display', serif;
  font-size: 20px; font-style: italic; color: var(--slate); line-height: 1.6;
}
.bf-art-content img { border-radius: 6px; margin: 20px 0; width: 100%; height: auto; }
.bf-art-content table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 15px; }
.bf-art-content th { background: var(--slate); color: var(--on-dark); padding: 10px 14px; text-align: left; }
.bf-art-content td { padding: 10px 14px; border-bottom: 1px solid var(--border); }
.bf-art-content tr:nth-child(even) td { background: var(--bg); }

.bf-art-tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 32px 0; }
.bf-tags-label { font-size: 13px; font-weight: 600; color: var(--text-muted); }
.bf-tag {
  font-size: 12px; padding: 5px 12px;
  border: 1.5px solid var(--border); border-radius: 20px;
  color: var(--text-secondary) !important; transition: all var(--transition);
}
.bf-tag:hover { border-color: var(--slate); color: var(--slate) !important; }

.bf-share { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.bf-share-label { font-size: 12px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.bf-share-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  color: white; font-size: 13px; text-decoration: none;
  transition: opacity var(--transition), transform var(--transition);
}
.bf-share-btn:hover { opacity: 0.85; transform: scale(1.08); }
.bf-share-twitter  { background: #000; }
.bf-share-facebook { background: #1877f2; }
.bf-share-whatsapp { background: #25d366; }
.bf-share-linkedin { background: #0a66c2; }
.bf-share-copy     { background: var(--slate); font-size: 16px; }

.bf-art-share-bottom { margin: 32px 0; padding: 24px; background: var(--bg); border-radius: var(--radius); border: 1px solid var(--border); }
.bf-share-cta { font-size: 15px; font-weight: 600; color: var(--text-primary); margin-bottom: 12px; }

.bf-author-box {
  display: flex; gap: 20px;
  background: var(--surface); border-radius: var(--radius);
  padding: 24px; margin: 32px 0; border: 1px solid var(--border);
}
.bf-author-av { width: 72px; height: 72px; border-radius: 50%; overflow: hidden; flex-shrink: 0; border: 3px solid var(--border); }
.bf-author-av img { width: 100%; height: 100%; object-fit: cover; }
.bf-author-name { font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 700; color: var(--text-primary); margin-bottom: 2px; }
.bf-author-role { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }
.bf-author-bio { font-size: 14px; line-height: 1.7; color: var(--text-secondary); margin-bottom: 12px; }
.bf-author-links a { font-size: 13px; font-weight: 600; color: var(--red); margin-right: 14px; }
.bf-author-links a:hover { color: var(--red-hover); }

.bf-related { margin: 40px 0 32px; }
.bf-related-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px; font-weight: 700; color: var(--text-primary);
  padding-bottom: 10px; margin-bottom: 20px; border-bottom: 2px solid var(--gold);
}
.bf-related-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.bf-related-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; display: block;
  transition: box-shadow var(--transition), transform var(--transition);
  color: var(--text-primary) !important;
}
.bf-related-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.bf-related-img { height: 140px; background: var(--slate-mid); background-size: cover; background-position: center; }
.bf-related-body { padding: 14px; }
.bf-related-cat { font-size: 10px; font-weight: 600; color: var(--red); text-transform: uppercase; letter-spacing: 1px; display: block; margin-bottom: 6px; }
.bf-related-body h4 { font-family: 'Playfair Display', serif; font-size: 14px; font-weight: 700; line-height: 1.4; margin: 0 0 6px; color: var(--text-primary); }
.bf-related-date { font-size: 11px; color: var(--text-muted); }


/* ================================================================
   POST CTA BLOCK
   ================================================================ */
.bf-post-cta {
  background: linear-gradient(135deg, var(--slate) 0%, var(--slate-mid) 100%);
  border-radius: var(--radius);
  padding: 36px 40px;
  margin: 40px 0;
  position: relative;
  overflow: hidden;
  border-left: 4px solid var(--gold);
}
.bf-post-cta::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 200px; height: 200px;
  background: rgba(201,168,76,0.06);
  border-radius: 50%;
  pointer-events: none;
}
.bf-post-cta-inner {
  position: relative; z-index: 1;
  display: flex; gap: 32px; align-items: center;
}
.bf-post-cta-text { flex: 1; }
.bf-post-cta-headline {
  font-family: 'Playfair Display', serif;
  font-size: 22px; font-weight: 900; color: var(--on-dark);
  margin-bottom: 10px; line-height: 1.3;
}
.bf-post-cta-body { font-size: 15px; color: var(--on-dark-70); line-height: 1.7; margin-bottom: 10px; }
.bf-post-cta-sig { font-size: 13px; color: var(--on-dark-45); font-style: italic; }
.bf-post-cta-btns { display: flex; flex-direction: column; gap: 10px; flex-shrink: 0; min-width: 220px; }
.bf-post-cta-btn {
  display: block;
  padding: 13px 20px;
  border-radius: 3px;
  font-size: 14px; font-weight: 600;
  text-align: center;
  transition: all var(--transition);
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  white-space: nowrap;
  border: none;
}
.bf-post-cta-btn--primary { background: var(--red); color: var(--on-dark) !important; }
.bf-post-cta-btn--primary:hover { background: var(--red-hover); }
.bf-post-cta-btn--secondary {
  background: transparent;
  color: var(--on-dark) !important;
  border: 2px solid rgba(255,255,255,0.4) !important;
}
.bf-post-cta-btn--secondary:hover { border-color: white !important; background: rgba(255,255,255,0.08); }

/* ================================================================
   PAGES
   ================================================================ */
.bf-page-header { margin-bottom: 32px; padding-bottom: 20px; border-bottom: 2px solid var(--gold); }
.bf-page-title { font-family: 'Playfair Display', serif; font-size: 36px; font-weight: 900; color: var(--text-primary); }
.bf-page-content { font-size: 17px; line-height: 1.8; color: var(--text-secondary); }
.bf-page-content p { margin-bottom: 20px; }
.bf-page-content h2 { font-family: 'Playfair Display', serif; font-size: 26px; font-weight: 700; color: var(--text-primary); margin: 32px 0 12px; }
.bf-page-article { background: var(--surface); border-radius: var(--radius); padding: 40px; border: 1px solid var(--border); }

/* ================================================================
   404
   ================================================================ */
.bf-404 { display: flex; align-items: center; justify-content: center; min-height: 60vh; }
.bf-404-inner { text-align: center; max-width: 500px; }
.bf-404-code { font-family: 'Playfair Display', serif; font-size: 120px; font-weight: 900; color: var(--border); line-height: 1; }
.bf-404-title { font-family: 'Playfair Display', serif; font-size: 32px; font-weight: 700; color: var(--text-primary); margin-bottom: 16px; }
.bf-404-text { font-size: 16px; color: var(--text-secondary); margin-bottom: 24px; line-height: 1.7; }
.bf-404-home { display: inline-block; margin-top: 20px; font-weight: 600; color: var(--red); }

/* ================================================================
   FOOTER
   ================================================================ */
.bf-footer {
  background: var(--slate-deep);
  color: var(--on-dark-45);
  margin-top: 60px;
  padding: 48px 0 0;
}
.bf-footer-inner { max-width: var(--container); margin: 0 auto; padding: 0 24px 24px; }
.bf-footer-top { margin-bottom: 32px; }
.bf-footer-logo { display: inline-flex; flex-direction: column; align-items: center; margin-bottom: 16px; }
.bf-footer-logo-text { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 900; color: var(--on-dark); letter-spacing: 1px; }
.bf-footer-logo-rule { height: 1px; background: var(--on-dark-25); width: 100%; margin: 4px 0; }
.bf-footer-logo-sub { font-size: 9px; letter-spacing: 2px; text-transform: uppercase; color: var(--on-dark-45); }
.bf-footer-tagline { font-size: 13px; color: var(--on-dark-45); line-height: 1.6; max-width: 480px; }
.bf-footer-nav { margin-bottom: 24px; }
.bf-footer-nav-list { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.bf-footer-nav-list a { font-size: 13px; color: var(--on-dark-45) !important; transition: color var(--transition); }
.bf-footer-nav-list a:hover { color: var(--on-dark) !important; }
.bf-footer-social { display: flex; gap: 12px; margin-bottom: 28px; flex-wrap: wrap; }
.bf-footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.1); color: var(--on-dark-70) !important;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.bf-footer-social a:hover { background: var(--red); color: var(--on-dark) !important; }
.bf-footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0; border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 12px; color: rgba(255,255,255,0.35); flex-wrap: wrap; gap: 8px;
}
.bf-back-top { color: rgba(255,255,255,0.5) !important; transition: color var(--transition); }
.bf-back-top:hover { color: var(--on-dark) !important; }

/* ================================================================
   RESPONSIVE — 900px
   ================================================================ */
@media (max-width: 900px) {
  .bf-home-layout,
  .bf-art-layout,
  .bf-page-layout { grid-template-columns: 1fr; gap: 32px; }
  .bf-home-sidebar, .bf-sidebar { position: static; }
  .bf-card-grid { grid-template-columns: 1fr; }
  .bf-hero-slider { height: 420px; }
  .bf-related-grid { grid-template-columns: 1fr 1fr; }
  .bf-art-hero { padding: 36px 20px 0; }
  .bf-art-hero-img { height: 260px; }
  .bf-author-box { flex-direction: column; }
  .bf-trabaja-grid { grid-template-columns: 1fr; }
  .bf-cats-grid { grid-template-columns: 1fr; }
  .bf-nl-section-form { flex-direction: column; max-width: 100%; }
  .bf-post-cta-inner { flex-direction: column; gap: 24px; }
  .bf-post-cta-btns { min-width: 0; width: 100%; }
}

/* ================================================================
   RESPONSIVE — 600px
   ================================================================ */
@media (max-width: 600px) {
  :root { --gap: 24px; }
  body { font-size: 16px; }
  .bf-header-inner { padding: 0 16px; height: 60px; }
  .bf-nav {
    display: none;
    position: absolute; top: 60px; left: 0; right: 0;
    background: var(--slate); padding: 16px;
    border-top: 1px solid var(--on-dark-25);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    flex-direction: column;
  }
  .bf-nav.open { display: flex; }
  .bf-nav-list { flex-direction: column; gap: 4px; }
  .bf-nav-list li a { display: block; padding: 10px 14px; font-size: 13px; }
  .bf-nav-toggle { display: flex; }
  .bf-hero-slider { height: 360px; }
  .bf-slide-title { font-size: 20px; }
  .bf-slide-excerpt { display: none; }
  .bf-slide-meta { flex-direction: column; align-items: flex-start; gap: 8px; }
  .bf-slide-btn { margin-left: 0; }
  .bf-slider-prev, .bf-slider-next { display: none; }
  .bf-home-layout, .bf-art-layout, .bf-page-layout { padding: 24px 16px; }
  .bf-art-title { font-size: 24px; }
  .bf-art-hero { padding: 24px 16px 0; }
  .bf-art-hero-img { height: 200px; }
  .bf-art-meta { flex-direction: column; gap: 12px; }
  .bf-share-bar { padding: 8px 16px; }
  .bf-share-bar-title { display: none; }
  .bf-art-content { font-size: 16px; }
  .bf-art-content > p:first-child { font-size: 17px; }
  .bf-art-content h2 { font-size: 22px; }
  .bf-art-content blockquote { font-size: 17px; padding: 14px 18px; }
  .bf-related-grid { grid-template-columns: 1fr; }
  .bf-post-cta { padding: 28px 24px; }
  .bf-post-cta-headline { font-size: 19px; }
  .bf-page-article { padding: 24px 20px; }
  .bf-page-title { font-size: 26px; }
  .bf-footer-bottom { flex-direction: column; text-align: center; }
  .bf-404-code { font-size: 80px; }
  .bf-nl-section { padding: 32px 20px; }
  .bf-nl-section-title { font-size: 22px; }
  .bf-full-section { padding: 48px 20px; }
  .bf-trabaja-headline { font-size: 26px; }
  .bf-archive-title { font-size: 24px; }
}

/* ================================================================
   FINAL NEWSLETTER & SUCCESS MESSAGE PATCH
   ================================================================ */

/* 1. Force dark background headings to stay white */
.bf-nl-section h2, 
.bf-full-section h2, 
.bf-post-cta h2,
.bf-hero-slider h2,
.bf-scard--dark .bf-scard-head {
  color: #FFFFFF !important;
}

/* 2. Form container: Set to wrap so the message can drop down */
.bf-nl-form.bf-nl-section-form {
  display: flex !important;
  flex-direction: row;
  flex-wrap: wrap; /* Allows the message to move to the next line */
  gap: 12px;
  width: 100%;
  max-width: 650px;
  margin: 30px auto 12px;
  justify-content: center;
  align-items: stretch;
}

/* 3. Email field: Keeps its priority growth */
.bf-nl-section-input {
  flex: 3 !important; 
  min-width: 200px;
  padding: 14px 18px !important;
}

/* 4. Button: Professional standard size */
.bf-nl-section-btn {
  flex: 0 1 auto !important; 
  padding: 0 25px !important;
  white-space: nowrap !important;
  width: auto !important;
}

/* 5. Success/Error Message: Forces it to a new line below the button */
.bf-nl-msg {
  flex: 0 0 100% !important; /* Forces message to take 100% width of the row */
  margin-top: 15px !important;
  text-align: center !important;
  font-weight: 600 !important;
}

.bf-nl-msg.success { color: #4ade80 !important; }
.bf-nl-msg.error { color: #fca5a5 !important; }

/* 6. Mobile stacking */
@media (max-width: 600px) {
  .bf-nl-form.bf-nl-section-form {
    flex-direction: column;
  }
  .bf-nl-section-btn {
    width: 100% !important;
    padding: 14px !important;
  }
}

/* ================================================================
   POST CTA SPECIFIC FIXES
   ================================================================ */

/* 1. Force the headline in this specific section to stay white */
.bf-post-cta .bf-post-cta-headline {
  color: #FFFFFF !important;
}

/* 2. Remove underline from buttons and links in the CTA block */
.bf-post-cta-btn {
  text-decoration: none !important;
}

/* 3. Ensure the primary button stays clean */
.bf-post-cta-btn--primary {
  text-decoration: none !important;
  color: #FFFFFF !important;
}

/* 4. Ensure no underline on hover either */
.bf-post-cta-btn:hover {
  text-decoration: none !important;
}

/* =============================================
   NATIVE COMMENTS
   ============================================= */
.bf-comments { margin-top: 3rem; padding-top: 2rem; border-top: 2px solid var(--gold); }
.bf-comments-title { font-family: var(--font-head); color: var(--slate); font-size: 1.5rem; margin-bottom: 1.5rem; }
.bf-comment-notes { color: #666; font-size: 0.875rem; margin-bottom: 1.5rem; }
.bf-comment-list { list-style: none; padding: 0; margin: 0 0 2rem; }
.bf-comment-list .comment { padding: 1.25rem 0; border-bottom: 1px solid #e5e7eb; }
.bf-comment-list .comment:last-child { border-bottom: none; }
.comment-author { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.5rem; }
.comment-author img { border-radius: 50%; }
.comment-author .fn { font-weight: 600; color: var(--slate); }
.comment-metadata { font-size: 0.8rem; color: #888; margin-bottom: 0.75rem; }
.comment-metadata a { color: #888; text-decoration: none; }
.comment-content p { margin: 0 0 0.5rem; line-height: 1.6; }
.reply a { font-size: 0.85rem; color: var(--red); text-decoration: none; font-weight: 600; }
.reply a:hover { text-decoration: underline; }
.bf-comment-field { margin-bottom: 1.25rem; }
.bf-comment-field label { display: block; font-weight: 600; color: var(--slate); margin-bottom: 0.4rem; font-size: 0.9rem; }
.bf-comment-field input,
.bf-comment-field textarea { width: 100%; padding: 0.6rem 0.9rem; border: 1px solid #d1d5db; border-radius: 4px; font-family: var(--font-body); font-size: 1rem; }
.bf-comment-field textarea { resize: vertical; }
.bf-comment-field input:focus,
.bf-comment-field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 2px rgba(201,168,76,0.2); }
#submit { background: var(--red); color: #fff; border: none; padding: 0.75rem 2rem; font-size: 1rem; font-weight: 700; border-radius: 4px; cursor: pointer; font-family: var(--font-body); }
#submit:hover { background: var(--red-hover); }
.required { color: var(--red); }
.bf-comments-closed { color: #888; font-style: italic; }
.children { list-style: none; padding-left: 2rem; border-left: 3px solid var(--gold); margin-top: 1rem; }

/* COMMENT PAGINATION */
.comment-navigation { display: flex; justify-content: space-between; align-items: center; margin: 2rem 0; padding: 1rem 0; border-top: 1px solid #e5e7eb; border-bottom: 1px solid #e5e7eb; }
.comment-navigation .nav-previous a,
.comment-navigation .nav-next a { color: var(--red); font-weight: 600; text-decoration: none; font-size: 0.9rem; }
.comment-navigation .nav-previous a:hover,
.comment-navigation .nav-next a:hover { text-decoration: underline; }
/* AUTHOR BOX TOOL CTA */
.bf-author-tool { margin-top: 10px; }
.bf-author-tool-link { display: inline-block; border: 1.5px solid var(--red); color: var(--red) !important; padding: 5px 14px; border-radius: 4px; font-weight: 600; font-size: 0.875rem; text-decoration: none !important; transition: all 0.2s; }
.bf-author-tool-link:hover { background: var(--red); color: #fff !important; }

/* GUTENBERG BUTTON BLOCKS */
.wp-block-button__link {
    background: var(--red) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 4px !important;
    padding: 12px 28px !important;
    font-family: var(--font-body) !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    display: inline-block !important;
    transition: background 0.2s !important;
}
.wp-block-button__link:hover {
    background: var(--red-hover) !important;
    color: #fff !important;
}
.wp-block-button.is-style-outline .wp-block-button__link {
    background: transparent !important;
    border: 2px solid var(--red) !important;
    color: var(--red) !important;
}
.wp-block-button.is-style-outline .wp-block-button__link:hover {
    background: var(--red) !important;
    color: #fff !important;
}
.wp-block-buttons {
    margin: 2rem 0 !important;
    justify-content: center !important;
}
