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

/* ── HERO ────────────────────────────────────────────── */
.blog-hero {
  height: 100svh;
  min-height: 640px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  background: #010101;
  overflow: hidden;
  text-align: center;
  padding: 0 24px;
}

.blog-hero-noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
  opacity: 0.4;
}

.blog-hero-line {
  position: absolute;
  top: -60px;
  right: 18%;
  width: 1px;
  height: 130%;
  background: linear-gradient(to bottom, transparent, rgba(194, 209, 15, 0.1), transparent);
  transform: rotate(12deg);
  pointer-events: none;
  z-index: 1;
}

.blog-hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.blog-hero-title {
  font-family: var(--font-display);
  font-size: clamp(120px, 20vw, 280px);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.85;
  letter-spacing: -0.04em;
  white-space: nowrap;
  display: flex;
  align-items: baseline;
  margin: 0;
  text-shadow: none;
  position: relative;
  z-index: 2;
}

.bht-outline {
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.85);
}

.bht-solid {
  color: #C2D10F;
}

.blog-hero-tagline {
  font-family: var(--font-body);
  font-size: clamp(11px, 1.1vw, 14px);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  text-shadow: none;
  margin: 0;
  position: relative;
  z-index: 2;
}

.blog-hero-sub {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.32);
  letter-spacing: 0.02em;
  max-width: 480px;
  line-height: 1.65;
  text-shadow: none;
}

.blog-hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 2;
  opacity: 0.5;
}

.blog-hero-scroll span {
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
}

.blog-hero-scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, rgba(194, 209, 15, 0.7), transparent);
  animation: blogScrollPulse 2s ease-in-out infinite;
}

@keyframes blogScrollPulse {

  0%,
  100% {
    opacity: 0.3;
  }

  50% {
    opacity: 1;
  }
}

/* ── SECTION CONTAINER ───────────────────────────────── */
.blog-section {
  background: #0a0a0a;
  padding: 100px 0 80px;
}

.blog-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ── CATEGORY TAG ────────────────────────────────────── */
.blog-category-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  background: rgba(194, 209, 15, 0.08);
  border: 1px solid rgba(194, 209, 15, 0.2);
  padding: 4px 12px;
  border-radius: 999px;
  flex-shrink: 0;
}

/* ── FEATURED CARD ───────────────────────────────────── */
.blog-featured-card {
  margin-bottom: 64px;
  border-radius: 8px;
  border: 1px solid rgba(194, 209, 15, 0.1);
  overflow: hidden;
  transition: border-color 0.35s ease, transform 0.35s ease;
  background: #111;
}

.blog-featured-card:hover {
  border-color: rgba(194, 209, 15, 0.35);
  transform: translateY(-3px);
}

.bfc-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 440px;
  text-decoration: none;
  color: inherit;
}

.bfc-image-wrap {
  position: relative;
  overflow: hidden;
  min-height: 320px;
}

.bfc-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.blog-featured-card:hover .bfc-image {
  transform: scale(1.04);
}

.bfc-image-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #111 0%, #1a1a0d 50%, #0d0d00 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.bip-text {
  font-family: var(--font-display);
  font-size: clamp(60px, 10vw, 120px);
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1px rgba(194, 209, 15, 0.15);
  letter-spacing: -0.04em;
}

.bfc-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.2), transparent);
}

.bfc-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px;
  gap: 16px;
}

.bfc-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.8vw, 38px);
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
  text-shadow: none;
}

.bfc-description {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.65;
  text-shadow: none;
  margin: 0;
}

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

.bfc-author {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.bfc-sep {
  color: rgba(255, 255, 255, 0.2);
  font-size: 11px;
}

.bfc-date {
  font-family: var(--font-body);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.04em;
}

.bfc-read-more {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-top: 8px;
  transition: gap 0.2s;
}

.blog-featured-card:hover .bfc-read-more {
  letter-spacing: 0.18em;
}

/* ── ARTICLES GRID ───────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  background: #0f0f0f;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  animation: blogCardIn 0.5s ease forwards;
  opacity: 0;
}

@keyframes blogCardIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.blog-card:hover {
  border-color: rgba(194, 209, 15, 0.25);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.blog-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.bc-image-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
  flex-shrink: 0;
}

.bc-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .bc-image {
  transform: scale(1.05);
}

.bc-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #111 0%, #161600 50%, #0d0d00 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.bc-image-placeholder .bip-text {
  font-size: 48px;
}

.bc-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px;
  gap: 10px;
}

.bc-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0;
  text-shadow: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bc-description {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.42);
  line-height: 1.6;
  text-shadow: none;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.bc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.bc-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.bc-author {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.bc-date {
  font-family: var(--font-body);
  font-size: 10px;
  color: rgba(255, 255, 255, 0.22);
}

.bc-arrow {
  font-size: 16px;
  color: rgba(194, 209, 15, 0.4);
  transition: color 0.2s, transform 0.2s;
}

.blog-card:hover .bc-arrow {
  color: var(--accent);
  transform: translateX(4px);
}

/* ── EMPTY STATE ─────────────────────────────────────── */
.blog-empty {
  text-align: center;
  padding: 120px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.blog-empty-icon {
  font-size: 32px;
  color: rgba(194, 209, 15, 0.4);
  animation: blogEmptySpin 8s linear infinite;
}

@keyframes blogEmptySpin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.blog-empty-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: -0.03em;
  text-shadow: none;
  margin: 0;
}

.blog-empty-sub {
  font-family: var(--font-body);
  font-size: 15px;
  color: rgba(255, 255, 255, 0.35);
  max-width: 400px;
  line-height: 1.6;
  text-shadow: none;
  margin: 0;
}

.blog-empty-cta {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  text-decoration: none;
  padding: 14px 32px;
  border: 1px solid rgba(194, 209, 15, 0.3);
  border-radius: 999px;
  transition: background 0.25s, color 0.25s;
  margin-top: 8px;
}

.blog-empty-cta:hover {
  background: var(--accent);
  color: #0a0a0a;
}

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

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

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

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

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

.blog-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;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 18px 40px;
  border-radius: 999px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(194, 209, 15, 0.35);
}

/* ── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .blog-hero-title {
    font-size: clamp(72px, 18vw, 120px);
    white-space: nowrap;
  }

  .blog-hero-tagline {
    font-size: 10px;
    letter-spacing: 0.18em;
  }

  .blog-hero-sub {
    font-size: 13px;
    padding: 0 8px;
  }

  .blog-section {
    padding: 64px 0 60px;
  }

  .blog-container {
    padding: 0 20px;
  }

  .bfc-inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .bfc-image-wrap {
    min-height: 240px;
  }

  .bfc-content {
    padding: 28px 24px;
  }

  .bfc-title {
    font-size: clamp(22px, 5vw, 30px);
  }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .bc-image-wrap {
    height: 160px;
  }

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

  .blog-featured-card {
    margin-bottom: 40px;
  }
}