/* ============================================================
   SOLVEVARE BLOG — EDITORIAL CSS  v2
   Scoped to .be-* — zero impact on other pages.
   ============================================================ */

/* ── HERO ── */
.be-hero {
  position: relative;
  overflow: hidden;
  padding: 148px 0 80px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  background: #0d0d0f;
}
.be-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 55% at 75% 15%, rgba(94,14,215,.16) 0%, transparent 68%),
    radial-gradient(ellipse 32% 28% at 6% 90%,  rgba(94,14,215,.07) 0%, transparent 60%);
  pointer-events: none;
}
.be-hero > .container { position: relative; z-index: 2; }

.be-hero-inner {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 5rem;
  align-items: end;
}

.be-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #5E0ED7;
  margin-bottom: 1.75rem;
}
.be-eyebrow::before {
  content: '';
  display: block;
  width: 20px;
  height: 1.5px;
  background: #5E0ED7;
  border-radius: 2px;
}

.be-h1 {
  font-size: clamp(2.6rem, 5vw, 5rem);
  font-weight: 800;
  line-height: .95;
  letter-spacing: -.045em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.75rem;
  max-width: 820px;
}
.be-h1 .word-line  { display: block; overflow: hidden; line-height: inherit; padding-bottom: .05em; }
.be-h1 .word-inner { display: block; }
.be-h1 .accent     { color: #5E0ED7; }

.be-desc {
  font-size: clamp(.88rem, 1.05vw, 1rem);
  color: rgba(255,255,255,.45);
  max-width: 480px;
  line-height: 1.8;
}

/* Hero right panel */
.be-hero-right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-bottom: .25rem;
}
.be-hero-topics {
  border: 1px solid rgba(255,255,255,.08);
  padding: 1.25rem 1.5rem;
  background: rgba(20,20,22,.7);
}
.be-hero-topics-label {
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  margin-bottom: .85rem;
}
.be-hero-topic-list {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.be-hero-topic-list span {
  font-size: .8rem;
  font-weight: 600;
  color: rgba(255,255,255,.6);
  letter-spacing: .02em;
  padding-left: .75rem;
  border-left: 2px solid rgba(94,14,215,.55);
  line-height: 1.6;
}
.be-hero-meta {
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.be-hero-meta-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .6rem 1rem;
  border: 1px solid rgba(255,255,255,.07);
  background: rgba(20,20,22,.5);
}
.be-hero-meta-label {
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
}
.be-hero-meta-val {
  font-size: .8rem;
  font-weight: 700;
  color: #fff;
}

/* ── ARTICLES SECTION ── */
.be-articles-section {
  padding: 3.5rem 0 5rem;
  background: #0d0d0f;
}

/* Filter bar */
.be-filter-bar {
  display: flex;
  gap: .3rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.be-filter {
  padding: .42rem .9rem;
  border: 1px solid rgba(255,255,255,.1);
  background: transparent;
  color: rgba(255,255,255,.42);
  font: 700 .63rem Inter, sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  transition: border-color .18s, color .18s, background .18s;
}
.be-filter:hover  { border-color: rgba(94,14,215,.5); color: rgba(255,255,255,.75); }
.be-filter.is-active { border-color: #5E0ED7; color: #fff; background: rgba(94,14,215,.14); }

/* Section label */
.be-section-label {
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  margin-bottom: 1.5rem;
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  gap: .75rem;
}
.be-section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,.07);
}

/* ── FEATURED ARTICLE ── */
.be-featured {
  display: grid;
  grid-template-columns: 320px 1fr;
  border: 1px solid rgba(255,255,255,.08);
  border-left: 3px solid var(--cat-color, #5E0ED7);
  background: #141416;
  text-decoration: none;
  color: inherit;
  transition: border-color .22s, background .22s, transform .2s, box-shadow .22s;
  min-height: 280px;
}
.be-featured:hover {
  border-color: rgba(94,14,215,.55);
  border-left-color: var(--cat-color, #5E0ED7);
  background: #17171b;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0,0,0,.35);
}

.be-featured-visual {
  position: relative;
  overflow: hidden;
  background: #0e0e12;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem;
  border-right: 1px solid rgba(255,255,255,.07);
}
.be-featured-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 70% at 50% 50%, rgba(94,14,215,.12) 0%, transparent 70%);
  pointer-events: none;
}
.be-featured-visual-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}
.be-featured-badge {
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  border: 1px solid rgba(255,255,255,.1);
  padding: .3rem .65rem;
  border-radius: 2px;
}
.be-featured-cat-icon {
  opacity: .7;
  transition: opacity .2s;
}
.be-featured:hover .be-featured-cat-icon { opacity: 1; }
.be-featured-visual-bottom {
  position: relative;
  z-index: 1;
}
.be-featured-num {
  font-size: clamp(5rem, 10vw, 9rem);
  font-weight: 800;
  line-height: .85;
  letter-spacing: -.06em;
  color: rgba(255,255,255,.06);
  user-select: none;
}

.be-featured-body {
  padding: 2rem 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
}
.be-featured-category {
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: .6rem;
}
.be-featured-title {
  font-size: clamp(1.3rem, 2vw, 1.85rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -.03em;
  margin-bottom: .85rem;
}
.be-featured-excerpt {
  font-size: .9rem;
  color: rgba(255,255,255,.48);
  line-height: 1.75;
}
.be-featured-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255,255,255,.07);
  margin-top: auto;
}
.be-featured-meta {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .68rem;
  color: rgba(255,255,255,.3);
  font-weight: 600;
  letter-spacing: .04em;
}
.be-meta-dot { color: rgba(255,255,255,.2); }
.be-featured-cta {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--cat-color, #5E0ED7);
  font-weight: 700;
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: color .18s, gap .18s;
}
.be-featured:hover .be-featured-cta { color: #fff; gap: .6rem; }

/* ── ARTICLE GRID ── */
/* Uses auto-fill so partial rows never leave ghost cells */
.be-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.07);
}
/* Empty state */
.be-empty {
  grid-column: 1 / -1;
  padding: 3rem 2rem;
  text-align: center;
  font-size: .88rem;
  color: rgba(255,255,255,.3);
  letter-spacing: .04em;
  background: #141416;
}

/* ── ARTICLE CARD ── */
.be-card {
  display: flex;
  flex-direction: column;
  background: #141416;
  text-decoration: none;
  color: inherit;
  padding: 1.75rem;
  transition: background .18s;
  border-left: 2px solid transparent;
  position: relative;
  min-height: 260px;
}
.be-card:hover {
  background: #17171b;
  border-left-color: var(--cat-color, #5E0ED7);
}

.be-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
.be-card-icon {
  opacity: .65;
  transition: opacity .18s;
  flex-shrink: 0;
}
.be-card:hover .be-card-icon { opacity: 1; }
.be-card-num {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .14em;
  color: rgba(255,255,255,.18);
}

.be-card-category {
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: .65rem;
}
.be-card-title {
  font-size: .98rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.38;
  letter-spacing: -.02em;
  margin-bottom: .7rem;
  flex: 1;
}
.be-card-excerpt {
  font-size: .82rem;
  color: rgba(255,255,255,.42);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.be-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: .9rem;
  border-top: 1px solid rgba(255,255,255,.06);
  margin-top: auto;
}
.be-card-meta {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .65rem;
  color: rgba(255,255,255,.28);
  font-weight: 600;
  letter-spacing: .04em;
}
.be-time-pill {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  padding: .15rem .5rem;
  border-radius: 2px;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: rgba(255,255,255,.35);
}
.be-card-read {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: var(--cat-color, #5E0ED7);
  font-weight: 700;
  font-size: .65rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: color .18s, gap .18s;
}
.be-card:hover .be-card-read { color: #fff; gap: .5rem; }

/* ── EDITORIAL BAND ── */
.be-band {
  padding: 5rem 0;
  background: #121217;
  border-top: 1px solid rgba(255,255,255,.07);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.be-band-inner {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 5rem;
  align-items: end;
}
.be-band-eyebrow {
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #5E0ED7;
  margin-bottom: 1rem;
}
.be-band-h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.05;
  letter-spacing: -.04em;
  margin: 0;
  max-width: 460px;
}
.be-band-right p {
  font-size: .93rem;
  color: rgba(255,255,255,.48);
  line-height: 1.8;
  max-width: 540px;
  margin: 0;
}

/* ── CTA SECTION ── */
.be-cta-section {
  background: #141416;
  border-bottom: 1px solid rgba(255,255,255,.07);
  padding: 4rem 0;
}
.be-cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.be-cta-eyebrow {
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #5E0ED7;
  margin-bottom: .6rem;
}
.be-cta-heading {
  font-size: 1.45rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.025em;
  margin-bottom: .6rem;
}
.be-cta-text {
  font-size: .87rem;
  color: rgba(255,255,255,.42);
  line-height: 1.7;
}
.be-nl-form { display: flex; gap: .6rem; }
.be-nl-input {
  flex: 1;
  background: #0d0d0f;
  border: 1px solid rgba(255,255,255,.08);
  color: #fff;
  padding: .9rem 1.15rem;
  font-size: .9rem;
  font-family: Inter, sans-serif;
  outline: none;
  border-radius: 3px;
  transition: border-color .2s;
}
.be-nl-input::placeholder { color: rgba(255,255,255,.3); }
.be-nl-input:focus { border-color: rgba(94,14,215,.5); }
.be-nl-btn {
  background: #5E0ED7;
  color: #fff;
  border: none;
  padding: .9rem 1.75rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 3px;
  font-family: Inter, sans-serif;
  transition: background .2s, transform .15s;
  white-space: nowrap;
}
.be-nl-btn:hover { background: #7a2ef0; transform: translateY(-1px); }

/* ── FOOTER ── */
.site-footer { background: #0d0d0f; border-top: 1px solid rgba(255,255,255,.07); }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .be-featured { grid-template-columns: 260px 1fr; }
}
@media (max-width: 1024px) {
  .be-hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .be-hero-right { flex-direction: row; flex-wrap: wrap; gap: 1rem; }
  .be-hero-topics { flex: 1; min-width: 200px; }
  .be-hero-meta { flex-direction: row; flex: 1; min-width: 200px; }
  .be-hero-meta-item { flex: 1; }
  .be-band-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .be-cta-inner { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 900px) {
  .be-hero { padding: 130px 0 60px; }
  .be-featured { grid-template-columns: 1fr; }
  .be-featured-visual { min-height: 160px; border-right: none; border-bottom: 1px solid rgba(255,255,255,.07); }
  .be-featured-num { font-size: 5rem; }
  .be-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .be-hero { padding: 120px 0 52px; }
  .be-h1 { font-size: clamp(2.1rem, 9vw, 3rem); }
  .be-hero-right { flex-direction: column; }
  .be-hero-meta { flex-direction: column; }
  .be-grid { grid-template-columns: 1fr; }
  .be-nl-form { flex-direction: column; }
  .be-featured-body { padding: 1.5rem; }
  .be-featured-visual { padding: 1.5rem; }
  .be-band { padding: 3.5rem 0; }
  .be-featured-title { font-size: 1.3rem; }
}
@media (max-width: 375px) {
  .be-h1 { font-size: 1.95rem; }
  .be-filter { padding: .38rem .65rem; font-size: .58rem; }
}
