/* ═══════════════════════════════════════════════════════
   BLOG ARTICLE PAGE — Solution Business Partner
   /public/css/page-specific/blog-article.css
═══════════════════════════════════════════════════════ */

/* Force native, immediate scroll behavior on this page to prevent offset scroll locks */
html {
  scroll-behavior: auto !important;
}

/* ── BACK LINK ───────────────────────────────────────── */
.ba-back {
  position: fixed;
  top: 100px;
  left: 40px;
  z-index: 100;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
  transition: color 0.2s;
  writing-mode: vertical-lr;
  transform: rotate(180deg);
}

.ba-back:hover {
  color: var(--accent);
}

/* ── HERO ────────────────────────────────────────────── */
.ba-hero {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #0a0a0a;
  padding-top: 140px;
}

.ba-hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 40px 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ── COVER IMAGE ─────────────────────────────────────── */
.ba-cover-wrap {
  width: 100%;
  margin-bottom: 48px;
}

.ba-cover-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.ba-hero-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ba-category {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--accent);
  background: rgba(194, 209, 15, 0.1);
  border: 1px solid rgba(194, 209, 15, 0.25);
  padding: 4px 14px;
  border-radius: 999px;
}

.ba-tag {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3px 10px;
  border-radius: 999px;
}

.ba-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
  margin: 0;
}

.ba-description {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.65;
  text-shadow: none;
  margin: 0;
  max-width: 680px;
}

.ba-byline {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ba-author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.ba-author-avatar-placeholder {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(194, 209, 15, 0.15);
  border: 1px solid rgba(194, 209, 15, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--accent);
  flex-shrink: 0;
}

.ba-byline-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.ba-author-name {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ba-author-role {
  font-family: var(--font-body);
  font-size: 10px;
  color: rgba(255, 255, 255, 0.3);
}

.ba-publish-date {
  font-family: var(--font-body);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.25);
  margin-left: auto;
  white-space: nowrap;
}

/* ── ARTICLE BODY ────────────────────────────────────── */
.ba-main {
  background: #0a0a0a;
  padding: 0;
}

.ba-article {
  max-width: 860px;
  margin: 0 auto;
  padding: 48px 40px 80px;
}

.ba-content {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* ── TYPOGRAPHY ──────────────────────────────────────── */
.ba-paragraph {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.7);
  text-shadow: none;
  margin: 0 0 28px;
}

.ba-h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.1;
  text-shadow: none;
  margin: 52px 0 20px;
  padding-top: 12px;
  border-top: 1px solid rgba(194, 209, 15, 0.15);
}

.ba-h3 {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.2;
  text-shadow: none;
  margin: 40px 0 16px;
}

/* ── QUOTE ───────────────────────────────────────────── */
.ba-quote {
  position: relative;
  margin: 48px 0;
  padding: 32px 40px 32px 56px;
  border-left: 3px solid var(--accent);
  background: rgba(194, 209, 15, 0.03);
  border-radius: 0 6px 6px 0;
}

.ba-quote-mark {
  position: absolute;
  top: 16px;
  left: 20px;
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  opacity: 0.6;
}

.ba-quote-text {
  font-family: var(--font-body);
  font-size: 19px;
  font-weight: 400;
  font-style: italic;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  text-shadow: none;
  margin: 0;
}

.ba-quote-author {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 16px;
  font-style: normal;
}
/* ── INTERNAL LINK ───────────────────────────────────── */
.ba-internal-link-box {
  background: #161616;
  border-left: 3px solid var(--accent);
  padding: 20px 24px;
  border-radius: 0 8px 8px 0;
  margin: 36px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ba-internal-link-label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.4);
}

.ba-internal-link {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.25s ease;
  width: fit-content;
}

.ba-internal-link:hover {
  text-decoration: none;
}

.ba-internal-link:hover .ba-internal-link-arrow {
  transform: translateX(6px);
}

.ba-internal-link-arrow {
  transition: transform 0.25s ease;
  display: inline-block;
}

/* Inline links inside standard paragraphs */
.ba-paragraph a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid rgba(194, 209, 15, 0.3);
  transition: border-color 0.2s, color 0.2s;
}

.ba-paragraph a:hover {
  color: #fff;
  border-bottom-color: #fff;
}

/* ── IMAGE ───────────────────────────────────────────── */
.ba-figure {
  margin: 48px 0;
}

.ba-image {
  width: 100%;
  height: auto;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: block;
}

.ba-caption {
  font-family: var(--font-body);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.3);
  text-align: center;
  margin-top: 12px;
  letter-spacing: 0.04em;
  font-style: italic;
}

/* ── LIST ────────────────────────────────────────────── */
.ba-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ba-list-item {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
  text-shadow: none;
  padding-left: 20px;
  position: relative;
}

.ba-list-item::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 12px;
  top: 2px;
}

/* ── DIVIDER ─────────────────────────────────────────── */
.ba-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  margin: 48px 0;
}

/* ── AUTHOR SECTION ──────────────────────────────────── */
.ba-author-section {
  background: #0a0a0a;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 64px 40px;
}

.ba-author-card {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 28px;
  padding: 36px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  background: #0f0f0f;
}

.ba-author-card-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.ba-author-card-avatar-placeholder {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(194, 209, 15, 0.12);
  border: 1px solid rgba(194, 209, 15, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
  flex-shrink: 0;
}

.ba-author-card-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ba-author-card-label {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.25);
}

.ba-author-card-name {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}

.ba-author-card-role {
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 8px;
}

.ba-author-card-bio {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.65;
  text-shadow: none;
  margin: 0;
  max-width: 560px;
}

/* ── CTA SECTION ─────────────────────────────────────── */
.ba-cta-section {
  background: #010101;
  padding: 120px 40px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.ba-cta-inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.ba-cta-label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: rgba(255, 255, 255, 0.25);
  text-shadow: none;
  margin: 0;
}

.ba-cta-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #fff;
  text-shadow: none;
  margin: 0;
}

.ba-cta-accent {
  color: var(--accent);
}

.ba-cta-sub {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.38);
  line-height: 1.65;
  text-shadow: none;
  margin: 0;
  max-width: 500px;
}

.ba-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--accent);
  color: #0a0a0a;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  padding: 18px 44px;
  border-radius: 999px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ba-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(194, 209, 15, 0.4);
}

/* ── NEXT ARTICLE ────────────────────────────────────── */
#ba-next {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 48px 80px;
  background: #0a0a0a;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-decoration: none;
  color: inherit;
  transition: background 0.3s ease;
  gap: 24px;
}

#ba-next:hover {
  background: #111;
}

.ba-next-label {
  display: block;
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.25);
  margin-bottom: 8px;
}

.ba-next-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: none;
  margin: 0;
  transition: color 0.25s;
}

#ba-next:hover .ba-next-title {
  color: var(--accent);
}

.ba-next-arrow {
  font-size: 28px;
  color: rgba(255, 255, 255, 0.2);
  transition: color 0.25s, transform 0.25s;
  flex-shrink: 0;
}

#ba-next:hover .ba-next-arrow {
  color: var(--accent);
  transform: translateX(8px);
}

/* ── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 900px) {
  .ba-back {
    display: none;
  }

  .ba-hero-content {
    padding: 0 24px 0;
  }

  .ba-article {
    padding: 32px 24px 64px;
  }

  .ba-cover-wrap {
    margin-bottom: 32px;
  }

  .ba-paragraph {
    font-size: 16px;
  }

  .ba-description {
    font-size: 15px;
  }

  .ba-author-section {
    padding: 48px 24px;
  }

  .ba-author-card {
    flex-direction: column;
    gap: 20px;
    padding: 24px;
  }

  .ba-cta-section {
    padding: 80px 24px;
  }

  #ba-next {
    padding: 40px 24px;
  }
}

@media (max-width: 600px) {
  .ba-byline {
    flex-wrap: wrap;
    gap: 10px;
  }

  .ba-publish-date {
    margin-left: 0;
    width: 100%;
  }

  .ba-quote {
    padding: 24px 20px 24px 44px;
  }

  .ba-quote-text {
    font-size: 16px;
  }
}
