.elementor-2716 .elementor-element.elementor-element-4aa96066{--display:flex;}/* Start custom CSS *//* ════════════════════════════════════════════════════════════════
   JETX MEDIA BLOG — 10 WAYS AGENTIC AI CAN GO WRONG
   Header/nav and footer injected by WordPress theme
   ════════════════════════════════════════════════════════════════ */

/* ── RESET & BASE ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #f5f5f0;
  color: #2d2d2d;
  line-height: 1.7;
  font-size: 16px;
}

/* ── READING PROGRESS BAR ── */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #6c63ff, #f49cbb);
  width: 0%;
  z-index: 9999;
  transition: width 0.1s linear;
  box-shadow: 0 0 8px rgba(108, 99, 255, 0.6);
}

/* ── PAGE WRAP ── */
.page-wrap {
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── HERO SECTION ── */
.hero {
  background: linear-gradient(135deg, #0f0c29 0%, #1a1040 50%, #24243e 100%);
  padding: 72px 24px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(108, 99, 255, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.hero .category-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(108, 99, 255, 0.18);
  border: 1px solid rgba(108, 99, 255, 0.4);
  color: #a89eff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.hero .category-pill::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #6c63ff;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px #6c63ff;
}

.hero h1 {
  font-family: 'Merriweather', Georgia, serif;
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  max-width: 820px;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
}

.hero .subtitle {
  font-size: 17px;
  color: #b0aac8;
  max-width: 600px;
  margin: 0 auto 36px;
  position: relative;
  z-index: 1;
}

.hero .meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-size: 13px;
  color: #7a7390;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}

.hero .meta .author {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #c8c0e0;
}

.hero .meta .avatar {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #6c63ff, #f49cbb);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: #fff;
}

.hero .meta .sep {
  color: #3a3550;
}

/* ── CONTENT LAYOUT ── */
.content-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  padding: 56px 0 80px;
  align-items: start;
}

@media (max-width: 900px) {
  .content-layout {
    grid-template-columns: 1fr;
  }
  .sidebar {
    display: none;
  }
}

/* ── ARTICLE BODY ── */
.article-body {
  background: #fff;
  border-radius: 16px;
  padding: 52px 56px;
  box-shadow: 0 2px 40px rgba(0, 0, 0, 0.06);
}

@media (max-width: 600px) {
  .article-body {
    padding: 32px 24px;
  }
}

.article-body .intro {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 18px;
  line-height: 1.8;
  color: #2d2d2d;
  border-left: 3px solid #6c63ff;
  padding-left: 20px;
  margin-bottom: 40px;
}

.article-body h2 {
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #0f0c29;
  margin: 48px 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f0eeff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.article-body h2 .num {
  background: linear-gradient(135deg, #6c63ff, #9b92ff);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 6px;
  flex-shrink: 0;
}

.article-body h3 {
  font-size: 17px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 32px 0 10px;
}

.article-body h4 {
  font-size: 15px;
  font-weight: 700;
  color: #0f0c29;
  margin: 20px 0 8px;
}

.article-body p {
  font-size: 16px;
  color: #3a3a4a;
  margin-bottom: 18px;
  line-height: 1.85;
}

.article-body ul {
  list-style: disc;
  margin: 20px 0;
  padding-left: 20px;
}

.article-body ul li {
  margin-bottom: 10px;
  color: #3a3a4a;
}

.article-body ol {
  list-style: decimal;
  margin: 20px 0;
  padding-left: 20px;
}

.article-body ol li {
  margin-bottom: 10px;
  color: #3a3a4a;
}

/* ── CTA BOX ── */
.cta-box {
  background: linear-gradient(135deg, #0f0c29, #1e1b4b);
  border-radius: 14px;
  padding: 40px;
  margin: 56px 0 0;
  text-align: center;
  color: #fff;
}

.cta-box h3 {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}

.cta-box p {
  color: #e8e4ff;
  margin-bottom: 24px;
  font-size: 16px;
  line-height: 1.7;
}

.btn-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, #6c63ff, #9b92ff);
  color: #fff !important;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #5a52e0, #8a80ff);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(108, 99, 255, 0.3);
}

/* ── SIDEBAR ── */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
  position: sticky;
  top: 24px;
}

.sidebar-card h4 {
  font-size: 14px;
  font-weight: 700;
  color: #0f0c29;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

/* ── TABLE OF CONTENTS ── */
.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.toc-list li {
  margin-bottom: 10px;
}

.toc-list a {
  font-size: 14px;
  color: #6c63ff;
  text-decoration: none;
  transition: color 0.2s ease;
  display: block;
  padding: 6px 0;
}

.toc-list a:hover {
  color: #9b92ff;
  text-decoration: underline;
}

/* ── SHARE BUTTONS ── */
.share-btns {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.share-btn {
  display: block;
  padding: 10px 12px;
  background: #f0eeff;
  color: #6c63ff;
  text-decoration: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  transition: all 0.2s ease;
  border: 1px solid #e8e4ff;
}

.share-btn:hover {
  background: #6c63ff;
  color: #fff;
  border-color: #6c63ff;
}

/* ── BACK TO TOP BUTTON ── */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #6c63ff, #9b92ff);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(108, 99, 255, 0.3);
  z-index: 100;
}

.back-to-top.show {
  display: flex;
}

.back-to-top:hover {
  background: linear-gradient(135deg, #5a52e0, #8a80ff);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(108, 99, 255, 0.4);
}

/* ── REFERENCES SECTION ── */
.references {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid #eee;
}

.references h3 {
  font-size: 20px;
  font-weight: 700;
  color: #0f0c29;
  margin-bottom: 20px;
}

.references ol {
  list-style: decimal;
  padding-left: 20px;
}

.references li {
  margin-bottom: 10px;
  font-size: 15px;
  line-height: 1.6;
  color: #3a3a4a;
}

.references li a {
  color: #6c63ff;
  text-decoration: none;
}

.references li a:hover {
  text-decoration: underline;
}

/* ── RESPONSIVE BREAKPOINTS ── */
@media (max-width: 768px) {
  .hero {
    padding: 56px 24px 48px;
  }

  .hero h1 {
    font-size: clamp(24px, 4vw, 40px);
  }

  .article-body {
    padding: 32px 24px;
  }

  .article-body h2 {
    font-size: 19px;
  }

  .cta-box {
    padding: 32px 24px;
  }

  .cta-box h3 {
    font-size: 20px;
  }

  .sidebar-card {
    position: static;
  }
}

@media (max-width: 480px) {
  .page-wrap {
    padding: 0 16px;
  }

  .hero {
    padding: 48px 16px 40px;
  }

  .hero h1 {
    font-size: clamp(20px, 3vw, 32px);
  }

  .hero .subtitle {
    font-size: 15px;
  }

  .content-layout {
    padding: 40px 0 60px;
    gap: 32px;
  }

  .article-body {
    padding: 24px 16px;
    border-radius: 12px;
  }

  .article-body h2 {
    font-size: 18px;
    margin: 36px 0 12px;
  }

  .article-body p {
    font-size: 15px;
  }

  .cta-box {
    padding: 24px 16px;
    margin-top: 40px;
  }

  .cta-box h3 {
    font-size: 18px;
  }

  .back-to-top {
    width: 44px;
    height: 44px;
    font-size: 18px;
    bottom: 16px;
    right: 16px;
  }
}

/* ── PRINT STYLES ── */
@media print {
  .progress-bar,
  .sidebar,
  .back-to-top,
  .share-btns {
    display: none;
  }

  .article-body {
    box-shadow: none;
    border: 1px solid #ddd;
  }
}/* End custom CSS */