/* ==========================================================================
   Progress FM - Blog & Article Custom Stylesheet (Self-Contained Vanilla CSS)
   Completely independent of Tailwind utility classes
   ========================================================================== */

/* --------------------------------------------------------------------------
   Container & Global Wrappers
   -------------------------------------------------------------------------- */
.blog-container {
  width: 100%;
  max-width: 1330px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

.blog-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  width: 100%;
  margin-top: 2.5rem;
  margin-bottom: 4rem;
}

@media (min-width: 1024px) {
  .blog-wrapper {
    flex-direction: row;
    align-items: flex-start;
    gap: 3rem;
  }
}

.blog-main {
  width: 100%;
  min-width: 0;
  flex: 1 1 0%;
}

@media (min-width: 1024px) {
  .blog-main {
    flex: 0 0 68%;
    max-width: 68%;
  }
}

.blog-sidebar {
  width: 100%;
  min-width: 0;
}

@media (min-width: 1024px) {
  .blog-sidebar {
    flex: 0 0 calc(32% - 3rem);
    max-width: calc(32% - 3rem);
    position: sticky;
    top: 110px;
    z-index: 10;
  }
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.blog-hero-section {
  position: relative;
  background: radial-gradient(130% 120% at 50% 0%, #1e1b2e 0%, #131418 65%, #0b0c0e 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
  color: #ffffff;
}

@media (min-width: 768px) {
  .blog-hero-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

.blog-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 1.5rem;
}

.blog-breadcrumbs a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog-breadcrumbs a:hover {
  color: #794aff;
}

.blog-breadcrumbs .current-crumb {
  color: #a78bfa;
  font-weight: 500;
  max-width: 320px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.blog-meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-bottom: 1.25rem;
}

.blog-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  background: rgba(121, 74, 255, 0.16);
  color: #c4b5fd;
  border: 1px solid rgba(121, 74, 255, 0.35);
}

.blog-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

.blog-hero-title {
  font-size: 2.15rem;
  font-weight: 800;
  line-height: 1.22;
  color: #ffffff;
  letter-spacing: -0.025em;
  margin-top: 1rem;
  margin-bottom: 1.25rem;
  max-width: 960px;
}

@media (min-width: 640px) {
  .blog-hero-title {
    font-size: 2.65rem;
  }
}

@media (min-width: 1024px) {
  .blog-hero-title {
    font-size: 3.15rem;
  }
}

.blog-hero-subtitle {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.85);
  max-width: 860px;
  margin-bottom: 1.75rem;
}

@media (min-width: 768px) {
  .blog-hero-subtitle {
    font-size: 1.2rem;
  }
}

.blog-author-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-author-avatar {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 9999px;
  background: rgba(121, 74, 255, 0.25);
  border: 2px solid #794aff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 800;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.blog-author-name {
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
}

.blog-author-meta {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.8125rem;
  margin-top: 0.15rem;
}

/* --------------------------------------------------------------------------
   Article Content & Typography
   -------------------------------------------------------------------------- */
.blog-content {
  width: 100%;
  color: #374151;
  font-size: 1.0625rem;
  line-height: 1.8;
}

.blog-content p {
  margin-bottom: 1.35rem;
  line-height: 1.8;
}

.blog-content h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: #111827;
  margin-top: 3.25rem;
  margin-bottom: 1.25rem;
  line-height: 1.35;
  letter-spacing: -0.015em;
  position: relative;
  padding-bottom: 0.65rem;
}

@media (min-width: 768px) {
  .blog-content h2 {
    font-size: 2.15rem;
  }
}

.blog-content h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: #794aff;
  border-radius: 2px;
}

.blog-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1f2937;
  margin-top: 1.5rem;
  margin-bottom: 0.65rem;
  line-height: 1.4;
}

/* Anchor links inside text content only */
.blog-content p a,
.blog-content > a,
.blog-content li a,
.blog-intro-card a {
  color: #794aff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.blog-content p a:hover,
.blog-content li a:hover,
.blog-intro-card a:hover {
  color: #5d2ad6;
}

/* Featured Image & Intro Lead */
.blog-featured-img-wrap {
  width: 100%;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.08);
  border: 1px solid #e5e7eb;
  margin-bottom: 2rem;
  background: #ffffff;
}

.blog-featured-img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

.blog-featured-img-caption {
  padding: 0.875rem 1.25rem;
  background: #ffffff;
  border-top: 1px solid #f3f4f6;
  font-size: 0.8125rem;
  color: #6b7280;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.blog-intro-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 1.25rem;
  padding: 1.75rem;
  margin-bottom: 2.25rem;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.04);
}

@media (min-width: 768px) {
  .blog-intro-card {
    padding: 2.25rem;
  }
}

.blog-intro-lead {
  font-size: 1.1875rem;
  line-height: 1.8;
  color: #111827;
  font-weight: 500;
  margin-bottom: 1rem;
}

.blog-intro-text {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: #4b5563;
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Golden Rule Box
   -------------------------------------------------------------------------- */
.blog-quote-box {
  background: rgba(121, 74, 255, 0.05);
  border-left: 5px solid #794aff;
  border-radius: 0 1rem 1rem 0;
  padding: 1.5rem 1.75rem;
  margin: 1.75rem 0 2.25rem 0;
}

.blog-quote-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.4rem;
}

.blog-quote-highlight {
  font-size: 1.25rem;
  font-weight: 800;
  color: #794aff;
  line-height: 1.45;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Checklist Cards (8 Points)
   -------------------------------------------------------------------------- */
.checklist-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 1.35rem 1.5rem;
  margin-bottom: 1.15rem;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.checklist-card:hover {
  border-color: #794aff;
  box-shadow: 0 10px 25px -4px rgba(121, 74, 255, 0.12);
  transform: translateY(-2px);
}

.checklist-card-number {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, #794aff 0%, #5d2ad6 100%);
  color: #ffffff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(121, 74, 255, 0.25);
}

.checklist-card-body {
  flex: 1;
  min-width: 0;
}

.checklist-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 0.5rem 0;
  line-height: 1.35;
}

.checklist-card-text {
  font-size: 1.025rem;
  color: #4b5563;
  line-height: 1.7;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Red Flags Warning Box
   -------------------------------------------------------------------------- */
.red-flags-card {
  background: #fff8f8;
  border: 1px solid #fecaca;
  border-left: 5px solid #ef4444;
  border-radius: 1rem;
  padding: 1.75rem;
  margin-top: 1.75rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.05);
}

.red-flags-header {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: #dc2626;
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
}

.red-flag-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.5rem 0;
  color: #374151;
  font-size: 1rem;
  line-height: 1.65;
}

.red-flag-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: #ef4444;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

/* --------------------------------------------------------------------------
   Questions to Ask Box
   -------------------------------------------------------------------------- */
.question-card {
  background: #f8faff;
  border: 1px solid #e0e7ff;
  border-radius: 0.875rem;
  padding: 1.25rem 1.5rem;
  margin-bottom: 0.875rem;
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
  transition: all 0.2s ease;
}

.question-card:hover {
  border-color: #794aff;
  background: #ffffff;
  box-shadow: 0 4px 15px rgba(121, 74, 255, 0.07);
}

.question-number {
  background: #eef2ff;
  color: #4338ca;
  font-weight: 800;
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
  border: 1px solid #c7d2fe;
}

.question-title {
  font-size: 1.075rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 0.35rem 0;
}

.question-desc {
  font-size: 0.95rem;
  color: #4b5563;
  margin: 0;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Sector Comparison Cards (3 Columns)
   -------------------------------------------------------------------------- */
.sector-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 1.5rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .sector-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.sector-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  height: 100%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  box-sizing: border-box;
}

.sector-card:hover {
  border-color: #794aff;
  box-shadow: 0 8px 24px rgba(121, 74, 255, 0.09);
  transform: translateY(-3px);
}

.sector-icon-box {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.15rem;
}

.sector-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 0.5rem 0;
}

.sector-text {
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.65;
  margin: 0;
}

/* --------------------------------------------------------------------------
   FAQ Accordion
   -------------------------------------------------------------------------- */
.faq-accordion-item {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 0.875rem;
  margin-bottom: 0.875rem;
  overflow: hidden;
  transition: all 0.25s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.faq-accordion-item:hover {
  border-color: #794aff;
}

.faq-accordion-header {
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
  font-size: 1.1rem;
  font-weight: 700;
  color: #111827;
  transition: color 0.2s ease;
}

.faq-accordion-header:hover {
  color: #794aff;
}

.faq-accordion-body {
  padding: 0 1.5rem 1.25rem 1.5rem;
  color: #4b5563;
  line-height: 1.75;
  font-size: 1.025rem;
  display: none;
}

/* --------------------------------------------------------------------------
   High-Conversion CTA Box
   -------------------------------------------------------------------------- */
.cta-box-gradient {
  background: linear-gradient(135deg, #1d1538 0%, #13141f 55%, #0a0b10 100%);
  border: 1px solid rgba(121, 74, 255, 0.35);
  border-radius: 1.5rem;
  padding: 2.25rem;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 45px -10px rgba(121, 74, 255, 0.2);
  margin-top: 3.5rem;
  margin-bottom: 2.5rem;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .cta-box-gradient {
    padding: 3rem;
  }
}

.cta-tag {
  display: inline-block;
  background: rgba(121, 74, 255, 0.2);
  color: #c4b5fd;
  border: 1px solid rgba(121, 74, 255, 0.4);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.cta-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: #ffffff !important;
  margin-bottom: 0.875rem;
  line-height: 1.3;
}

@media (min-width: 768px) {
  .cta-title {
    font-size: 2.35rem;
  }
}

.cta-desc {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.82) !important;
  line-height: 1.75;
  max-width: 680px;
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.btn-primary-glow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  background: #794aff !important;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.875rem 1.85rem;
  border-radius: 9999px;
  text-decoration: none !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 20px rgba(121, 74, 255, 0.35);
  border: none;
  cursor: pointer;
}

.btn-primary-glow:hover {
  background: #6837f5 !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(121, 74, 255, 0.45);
}

.btn-secondary-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.875rem 1.85rem;
  border-radius: 9999px;
  text-decoration: none !important;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-secondary-outline:hover {
  background: #ffffff !important;
  color: #111827 !important;
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   Tags & Social Sharing
   -------------------------------------------------------------------------- */
.tags-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #e5e7eb;
}

.tags-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #1f2937;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.875rem;
}

.tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag-pill {
  display: inline-block;
  padding: 0.45rem 0.95rem;
  border-radius: 9999px;
  background: #f3f4f6;
  color: #4b5563 !important;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.tag-pill:hover {
  background: #794aff !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}

.primary-tag-pill {
  background: rgba(121, 74, 255, 0.12);
  color: #794aff !important;
  border: 1px solid rgba(121, 74, 255, 0.3);
}

.primary-tag-pill:hover {
  background: #794aff !important;
  color: #ffffff !important;
}

.share-bar {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #f3f4f6;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.share-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.share-btn {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
  color: #4b5563 !important;
  transition: all 0.2s ease;
  text-decoration: none !important;
}

.share-btn:hover {
  background: #794aff !important;
  color: #ffffff !important;
  transform: translateY(-2px);
}

.back-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: #794aff !important;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.back-link:hover {
  text-decoration: underline !important;
}

/* --------------------------------------------------------------------------
   Sidebar Widgets
   -------------------------------------------------------------------------- */
.sidebar-widget {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 1.25rem;
  padding: 1.65rem;
  margin-bottom: 1.75rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  box-sizing: border-box;
}

.sidebar-widget-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.075rem;
  font-weight: 700;
  color: #111827;
  padding-bottom: 0.875rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid #f3f4f6;
}

.toc-nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.toc-link {
  display: flex;
  align-items: center;
  padding: 0.55rem 0.85rem;
  border-radius: 0.5rem;
  color: #4b5563 !important;
  font-size: 0.9rem;
  text-decoration: none !important;
  transition: all 0.2s ease;
  border-left: 2px solid transparent;
}

.toc-link:hover, .toc-link.active {
  color: #794aff !important;
  background: rgba(121, 74, 255, 0.06);
  border-left-color: #794aff;
  font-weight: 600;
}

.sidebar-hotline {
  background: linear-gradient(135deg, #181920 0%, #0d0e12 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.25rem;
  padding: 1.65rem;
  color: #ffffff;
  margin-bottom: 1.75rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  box-sizing: border-box;
}

.hotline-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #34d399;
  margin-bottom: 0.5rem;
}

.hotline-tag-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: #34d399;
}

.hotline-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 0.5rem 0;
}

.hotline-desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.hotline-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.85rem 1.25rem;
  background: #794aff !important;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 0.75rem;
  text-decoration: none !important;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.hotline-btn:hover {
  background: #6837f5 !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}

.sidebar-services-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.sidebar-service-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #4b5563 !important;
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none !important;
  padding: 0.35rem 0;
  transition: color 0.2s ease;
}

.sidebar-service-link:hover {
  color: #794aff !important;
}

.sidebar-service-arrow {
  color: #794aff;
  transition: transform 0.2s ease;
}

.sidebar-service-link:hover .sidebar-service-arrow {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   Blog Index / Listing Page Elements
   -------------------------------------------------------------------------- */
.blog-featured-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  margin-top: -2.5rem;
  margin-bottom: 4rem;
  position: relative;
  z-index: 20;
  box-sizing: border-box;
}

@media (min-width: 1024px) {
  .blog-featured-card {
    flex-direction: row;
  }
}

.blog-featured-card-img-wrap {
  width: 100%;
  position: relative;
  overflow: hidden;
  min-height: 280px;
}

@media (min-width: 1024px) {
  .blog-featured-card-img-wrap {
    width: 50%;
    flex: 0 0 50%;
    min-height: 440px;
  }
}

.blog-featured-card-img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.blog-featured-card:hover .blog-featured-card-img {
  transform: scale(1.03);
}

.blog-featured-card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: #794aff;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.4rem 0.9rem;
  border-radius: 9999px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.blog-featured-card-body {
  width: 100%;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .blog-featured-card-body {
    padding: 2.75rem;
  }
}

@media (min-width: 1024px) {
  .blog-featured-card-body {
    width: 50%;
    flex: 0 0 50%;
  }
}

.blog-meta-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8125rem;
  color: #6b7280;
  margin-bottom: 0.875rem;
}

.blog-meta-category {
  color: #794aff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.blog-featured-title {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.3;
  color: #111827;
  margin-top: 0;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .blog-featured-title {
    font-size: 2.15rem;
  }
}

.blog-featured-title a {
  color: #111827 !important;
  text-decoration: none !important;
  transition: color 0.2s ease;
}

.blog-featured-title a:hover {
  color: #794aff !important;
}

.blog-featured-desc {
  font-size: 1.05rem;
  color: #4b5563;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.blog-featured-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

/* Blog Section Headers */
.blog-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e5e7eb;
}

.blog-section-title {
  font-size: 1.65rem;
  font-weight: 800;
  color: #111827;
  margin: 0;
}

@media (min-width: 768px) {
  .blog-section-title {
    font-size: 1.95rem;
  }
}

.blog-section-subtitle {
  font-size: 0.875rem;
  color: #6b7280;
  font-weight: 600;
}

/* 3-Column Card Grid */
.blog-grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
}

@media (min-width: 640px) {
  .blog-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .blog-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.blog-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 1.25rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  box-sizing: border-box;
  height: 100%;
}

.blog-card:hover {
  border-color: #794aff;
  box-shadow: 0 12px 30px rgba(121, 74, 255, 0.12);
  transform: translateY(-4px);
}

.blog-card-img-wrap {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
}

.blog-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.blog-card:hover .blog-card-img {
  transform: scale(1.06);
}

.blog-card-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(19, 20, 24, 0.85);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
}

.blog-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-meta {
  font-size: 0.75rem;
  color: #9ca3af;
  margin-bottom: 0.5rem;
}

.blog-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.4;
  margin-top: 0;
  margin-bottom: 0.65rem;
}

.blog-card-title a {
  color: #111827 !important;
  text-decoration: none !important;
  transition: color 0.2s ease;
}

.blog-card-title a:hover {
  color: #794aff !important;
}

.blog-card-desc {
  font-size: 0.9375rem;
  color: #4b5563;
  line-height: 1.65;
  margin-bottom: 1rem;
  flex: 1;
}

.blog-card-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid #f3f4f6;
  background: #fafafa;
}

.blog-card-link {
  color: #794aff !important;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap 0.2s ease;
}

.blog-card-link:hover {
  gap: 0.55rem;
}

/* --------------------------------------------------------------------------
   Universal Dedicated Footer
   -------------------------------------------------------------------------- */
.blog-footer {
  background: #111216;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 4.5rem;
  color: #ffffff;
  width: 100%;
}

.blog-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 3.5rem;
}

@media (min-width: 640px) {
  .blog-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .blog-footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
    gap: 3rem;
  }
}

.blog-footer-logo {
  max-width: 180px;
  height: auto;
  margin-bottom: 1.25rem;
  display: block;
}

.blog-footer-title {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 1.25rem;
}

.blog-footer-text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
  line-height: 1.75;
  margin: 0 0 1rem 0;
}

.blog-footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.blog-footer-link {
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 0.9375rem;
  text-decoration: none !important;
  transition: color 0.2s ease;
  display: inline-block;
}

.blog-footer-link:hover {
  color: #ffffff !important;
}

.blog-footer-highlight {
  color: #a78bfa !important;
  font-weight: 600;
}

.blog-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem 0;
  background: #090a0d;
}

.blog-footer-bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.8125rem;
}

@media (min-width: 640px) {
  .blog-footer-bottom-inner {
    flex-direction: row;
  }
}

.blog-footer-bottom a {
  color: rgba(255, 255, 255, 0.55) !important;
  text-decoration: none !important;
  transition: color 0.2s ease;
}

.blog-footer-bottom a:hover {
  color: #ffffff !important;
}
