/* ExplainItSimply mega menu preview */
.header .container{max-width:1280px}
.header-inner{gap:18px}
.logo{font-size:1.55rem;white-space:nowrap}
.nav.mega-nav{display:flex;align-items:center;gap:6px;min-width:0;flex:1;justify-content:flex-end}
.nav.mega-nav>.nav-link,.nav.mega-nav .nav-link{font-size:13px;padding:10px 10px;border-radius:999px;white-space:nowrap;display:inline-flex;align-items:center;gap:6px}
.nav.mega-nav .nav-item{position:relative}
.nav.mega-nav .mega-panel{position:absolute;top:calc(100% + 14px);left:50%;transform:translateX(-50%) translateY(8px);width:min(960px,calc(100vw - 32px));max-height:calc(100vh - 120px);overflow:auto;background:#fff;border:1px solid rgba(30,58,95,.10);box-shadow:0 24px 70px rgba(15,23,42,.18);border-radius:26px;padding:0;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .18s ease,transform .18s ease,visibility .18s ease;z-index:5000}
.nav.mega-nav .nav-item.open .mega-panel,.nav.mega-nav .nav-item:hover .mega-panel{opacity:1;visibility:visible;pointer-events:auto;transform:translateX(-50%) translateY(0)}
.mega-panel::before{content:"";position:absolute;top:-10px;left:50%;width:18px;height:18px;background:#fff;border-left:1px solid rgba(30,58,95,.10);border-top:1px solid rgba(30,58,95,.10);transform:translateX(-50%) rotate(45deg)}
.mega-head{padding:22px 24px;border-bottom:1px solid rgba(30,58,95,.08);background:linear-gradient(135deg,#f7fbff,#fff7ed);border-radius:26px 26px 0 0}
.mega-head strong{display:block;color:#0f2f55;font-size:1.05rem;margin-bottom:4px}
.mega-head span{display:block;color:#64748b;font-size:.88rem;line-height:1.5}
.mega-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px 16px;padding:22px 24px 10px}
.mega-col h4{margin:0 0 10px;color:#0f2f55;font-size:.86rem;text-transform:uppercase;letter-spacing:.05em}
.mega-col a{display:block;color:#334155;text-decoration:none;font-size:.91rem;line-height:1.35;padding:7px 0;border-radius:8px;transition:color .15s ease,transform .15s ease}
.mega-col a:hover,.mega-col a.active-link{color:#f97316;transform:translateX(3px)}
.mega-feature{margin:10px 24px 24px;padding:16px 18px;border-radius:18px;background:#0f2f55;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:18px}
.mega-feature strong{display:block;font-size:.98rem;margin-bottom:4px}.mega-feature span{font-size:.85rem;color:rgba(255,255,255,.78)}.mega-feature a{color:#fff;text-decoration:none;font-weight:800;background:rgba(255,255,255,.13);padding:9px 12px;border-radius:999px;white-space:nowrap}.mega-feature a:hover{background:rgba(255,255,255,.22)}
.nav [data-section].active-parent>.nav-link,.nav-link.active-parent,.mobile-nav [data-section].active-parent>.mobile-nav-toggle,.mobile-nav-link.active-parent{background:#fff4e8;color:#f97316;box-shadow:inset 0 0 0 1px rgba(249,115,22,.20)}
@media (max-width:1180px){.header-actions{display:none}.nav.mega-nav>.nav-link,.nav.mega-nav .nav-link{font-size:12px;padding:9px 7px}.logo{font-size:1.38rem}}
@media (max-width:1024px){.nav.mega-nav{display:none}.mobile-menu-btn{display:inline-flex}.header-actions{display:none}}
@media (max-width:700px){.mega-grid{grid-template-columns:1fr}.mega-feature{display:block}.mega-feature a{display:inline-block;margin-top:12px}}
.mobile-subnav .mobile-group-title{display:block;margin:14px 0 4px;padding:0 8px;color:#0f2f55;font-weight:800;font-size:.78rem;text-transform:uppercase;letter-spacing:.06em}.mobile-subnav a{padding-left:18px}


/* ===== Mega menu title icons ===== */
.mega-title{
  display:flex;
  align-items:center;
  gap:14px;
}
.mega-head-icon{
  width:46px;
  height:46px;
  border-radius:16px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 46px;
  font-weight:900;
  font-size:14px;
  letter-spacing:.04em;
  box-shadow:0 10px 24px rgba(15,23,42,.10);
}
.mega-icon-ai{background:#f0e8ff;color:#7c3aed;}
.mega-icon-software{background:#e7f0ff;color:#2563eb;}
.mega-icon-space{background:#e8f7ff;color:#0284c7;}
.mega-icon-school{background:#eaf9ec;color:#16a34a;}
.mega-icon-money{background:#fff6e5;color:#f59e0b;}
.mega-icon-skills{background:#fff0e8;color:#ea580c;}
.mega-icon-more{background:#f3f4f6;color:#6b7280;}


/* ===== SVG icons inside mega menu titles ===== */
.mega-head-icon svg{
  width:24px;
  height:24px;
  display:block;
}
.mega-title > div{
  min-width:0;
}


/* ===== Final left-aligned mega menu polish ===== */
.header-inner{
  position:relative;
}
.nav.mega-nav .nav-item{
  position:static;
}
.nav.mega-nav .mega-panel{
  left:0;
  right:auto;
  transform:translateY(8px);
  width:min(980px, calc(100vw - 32px));
}
.nav.mega-nav .nav-item.open .mega-panel,
.nav.mega-nav .nav-item:hover .mega-panel{
  transform:translateY(0);
}
.nav.mega-nav .mega-panel::before{
  left:42px;
  transform:rotate(45deg);
}
.mega-icon-aviation{
  background:#eaf7ff;
  color:#0ea5e9;
}
@media (max-width:1024px){
  .nav.mega-nav .nav-item{position:relative;}
}

/* Keep the expanded navigation stable after adding Aviation */
@media (min-width:1025px){
  .nav.mega-nav{gap:4px;}
  .nav.mega-nav>.nav-link,
  .nav.mega-nav .nav-link{
    font-size:12.5px;
    padding:9px 8px;
  }
}


/* data-patch-aviation-menu: keep Aviation menu aligned and stable */
@media (min-width:1025px){
  .nav.mega-nav{gap:3px;}
  .nav.mega-nav .nav-link{font-size:12px;padding:8px 7px;}
  .nav.mega-nav .mega-panel{left:0;right:auto;max-width:calc(100vw - 40px);}
}
.mega-icon-aviation{background:#eaf7ff;color:#0ea5e9;}

/* ============================================================
   ExplainItSimply - Deeper Understanding final readable style
   Applies globally to all article pages using .eits-deep-dive
   ============================================================ */

.eits-deep-dive,
section.eits-deep-dive {
  max-width: 1120px !important;
  margin: 64px auto !important;
  padding: clamp(28px, 4vw, 52px) !important;
  border: 1px solid rgba(26, 58, 107, 0.12) !important;
  border-radius: 26px !important;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%) !important;
  box-shadow: 0 18px 50px rgba(15, 35, 72, 0.08) !important;
  color: #102a56 !important;
  font-family: var(--font-body, 'Plus Jakarta Sans', system-ui, sans-serif) !important;
  line-height: 1.85 !important;
  overflow: hidden !important;
}

.eits-deep-dive *,
section.eits-deep-dive * {
  box-sizing: border-box !important;
}

.eits-deep-dive .section-label,
section.eits-deep-dive .section-label {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  width: auto !important;
  margin: 0 0 18px 0 !important;
  padding: 8px 13px !important;
  border-radius: 999px !important;
  background: rgba(249, 115, 22, 0.10) !important;
  color: #f97316 !important;
  font-family: var(--font-body, 'Plus Jakarta Sans', system-ui, sans-serif) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: 0.16em !important;
  line-height: 1.2 !important;
  text-transform: uppercase !important;
}

.eits-deep-dive .section-label::before,
section.eits-deep-dive .section-label::before {
  content: "" !important;
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  background: #f97316 !important;
  display: inline-block !important;
}

.eits-deep-dive h2,
section.eits-deep-dive h2 {
  max-width: 920px !important;
  margin: 0 0 34px 0 !important;
  color: #061b45 !important;
  font-family: var(--font-display, 'Fraunces', Georgia, serif) !important;
  font-size: clamp(30px, 3.6vw, 48px) !important;
  font-weight: 800 !important;
  line-height: 1.18 !important;
  letter-spacing: -0.03em !important;
}

.eits-deep-dive h3,
section.eits-deep-dive h3 {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 36px 0 13px 0 !important;
  color: #102a56 !important;
  font-family: var(--font-body, 'Plus Jakarta Sans', system-ui, sans-serif) !important;
  font-size: clamp(20px, 2vw, 26px) !important;
  font-weight: 800 !important;
  line-height: 1.32 !important;
  letter-spacing: -0.015em !important;
}

.eits-deep-dive h3::before,
section.eits-deep-dive h3::before {
  content: "" !important;
  width: 10px !important;
  height: 10px !important;
  flex: 0 0 10px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #f97316, #1a3a6b) !important;
  box-shadow: 0 0 0 6px rgba(249,115,22,0.09) !important;
}

.eits-deep-dive h4,
section.eits-deep-dive h4 {
  margin: 0 0 12px 0 !important;
  color: #0f2348 !important;
  font-family: var(--font-body, 'Plus Jakarta Sans', system-ui, sans-serif) !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
}

.eits-deep-dive p,
section.eits-deep-dive p {
  max-width: 980px !important;
  margin: 0 0 22px 0 !important;
  color: #34415d !important;
  font-family: var(--font-body, 'Plus Jakarta Sans', system-ui, sans-serif) !important;
  font-size: clamp(16px, 1.18vw, 18px) !important;
  font-weight: 400 !important;
  line-height: 1.95 !important;
}

.eits-deep-dive p:last-child,
section.eits-deep-dive p:last-child {
  margin-bottom: 0 !important;
}

.eits-question-card,
.eits-deep-dive .eits-question-card,
section.eits-deep-dive .eits-question-card {
  margin: 28px 0 34px 0 !important;
  padding: clamp(22px, 3vw, 32px) !important;
  border: 1px solid rgba(249, 115, 22, 0.22) !important;
  border-left: 6px solid #f97316 !important;
  border-radius: 22px !important;
  background: linear-gradient(135deg, #fff7ed 0%, #ffffff 70%) !important;
  box-shadow: 0 12px 30px rgba(249, 115, 22, 0.08) !important;
}

.eits-question-card h3,
.eits-deep-dive .eits-question-card h3,
section.eits-deep-dive .eits-question-card h3 {
  margin-top: 0 !important;
  color: #0f2348 !important;
}

.eits-question-card p,
.eits-deep-dive .eits-question-card p,
section.eits-deep-dive .eits-question-card p {
  margin-bottom: 0 !important;
  color: #334155 !important;
}

.eits-flow-diagram,
.eits-deep-dive .eits-flow-diagram,
section.eits-deep-dive .eits-flow-diagram {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 14px !important;
  margin: 30px 0 38px 0 !important;
  padding: 26px !important;
  border-radius: 24px !important;
  background: linear-gradient(135deg, #0f2348 0%, #1a3a6b 100%) !important;
  border: 1px solid rgba(255,255,255,0.10) !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06), 0 16px 32px rgba(15,35,72,0.12) !important;
  overflow-x: auto !important;
}

.eits-flow-diagram span,
.eits-deep-dive .eits-flow-diagram span,
section.eits-deep-dive .eits-flow-diagram span {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 44px !important;
  padding: 10px 17px !important;
  border: 1px solid rgba(255,255,255,0.16) !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,0.12) !important;
  color: #ffffff !important;
  font-family: var(--font-body, 'Plus Jakarta Sans', system-ui, sans-serif) !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  white-space: nowrap !important;
}

.eits-flow-diagram span:not(:last-child)::after,
.eits-deep-dive .eits-flow-diagram span:not(:last-child)::after,
section.eits-deep-dive .eits-flow-diagram span:not(:last-child)::after {
  content: "→" !important;
  margin-left: 14px !important;
  color: #f97316 !important;
  font-weight: 900 !important;
}

.eits-deep-grid,
.eits-deep-dive .eits-deep-grid,
section.eits-deep-dive .eits-deep-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 22px !important;
  margin: 34px 0 38px 0 !important;
}

.eits-mini-card,
.eits-deep-dive .eits-mini-card,
section.eits-deep-dive .eits-mini-card {
  min-width: 0 !important;
  padding: 26px !important;
  border: 1px solid rgba(26, 58, 107, 0.12) !important;
  border-radius: 22px !important;
  background: #ffffff !important;
  box-shadow: 0 12px 30px rgba(15, 35, 72, 0.07) !important;
}

.eits-mini-card p,
.eits-deep-dive .eits-mini-card p,
section.eits-deep-dive .eits-mini-card p {
  font-size: 16px !important;
  line-height: 1.85 !important;
  margin-bottom: 0 !important;
}

.eits-summary-card,
.eits-deep-dive .eits-summary-card,
section.eits-deep-dive .eits-summary-card {
  margin: 42px 0 0 0 !important;
  padding: clamp(24px, 3vw, 34px) !important;
  border: 1px solid rgba(26, 58, 107, 0.14) !important;
  border-radius: 24px !important;
  background: linear-gradient(135deg, #eef6ff 0%, #ffffff 78%) !important;
  box-shadow: 0 14px 34px rgba(15, 35, 72, 0.08) !important;
}

.eits-summary-card h3,
.eits-deep-dive .eits-summary-card h3,
section.eits-deep-dive .eits-summary-card h3 {
  margin-top: 0 !important;
}

.eits-summary-card p,
.eits-deep-dive .eits-summary-card p,
section.eits-deep-dive .eits-summary-card p {
  margin-bottom: 0 !important;
}

.eits-deep-dive a,
section.eits-deep-dive a {
  color: #1d4ed8 !important;
  font-weight: 800 !important;
  text-decoration: underline !important;
  text-underline-offset: 4px !important;
}

@media (max-width: 768px) {
  .eits-deep-dive,
  section.eits-deep-dive {
    margin: 42px 14px !important;
    padding: 24px 18px !important;
    border-radius: 20px !important;
  }

  .eits-deep-dive h2,
  section.eits-deep-dive h2 {
    font-size: 30px !important;
    line-height: 1.25 !important;
    margin-bottom: 26px !important;
  }

  .eits-deep-dive h3,
  section.eits-deep-dive h3 {
    font-size: 21px !important;
    line-height: 1.35 !important;
    margin-top: 30px !important;
  }

  .eits-deep-dive p,
  section.eits-deep-dive p {
    font-size: 16px !important;
    line-height: 1.85 !important;
    margin-bottom: 20px !important;
  }

  .eits-deep-grid,
  .eits-deep-dive .eits-deep-grid,
  section.eits-deep-dive .eits-deep-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .eits-flow-diagram,
  .eits-deep-dive .eits-flow-diagram,
  section.eits-deep-dive .eits-flow-diagram {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    padding: 20px !important;
  }

  .eits-flow-diagram span,
  .eits-deep-dive .eits-flow-diagram span,
  section.eits-deep-dive .eits-flow-diagram span {
    width: 100% !important;
  }

  .eits-flow-diagram span:not(:last-child)::after,
  .eits-deep-dive .eits-flow-diagram span:not(:last-child)::after,
  section.eits-deep-dive .eits-flow-diagram span:not(:last-child)::after {
    content: "↓" !important;
    position: static !important;
    margin-left: 12px !important;
  }
}
