/* ==================================================
   Ingexpert – Unique Styles (Aligned with style_redesign.css)
   Scoped to body.theme-ingexpert only
================================================== */

body.theme-ingexpert {
  /* Reuse global design tokens (with fallbacks) */
  --ingx-primary: var(--accent-pink, #87B4C3);      /* teal */
  --ingx-neutral: var(--primary-blue, #5A696B);     /* slate */
  --ingx-accent: var(--accent-yellow, #EEC942);     /* yellow */
  --ingx-success: var(--accent-green, #93C241);     /* green */

  --ingx-bg: var(--bg-light-gray, #F9F9F9);
  --ingx-surface: var(--bg-white, #FFFFFF);

  --ingx-ink: var(--text-dark, #0b1220);
  --ingx-muted: rgba(11, 18, 32, 0.70);

  --ingx-radius: var(--radius, 12px);
  --ingx-shadow: var(--shadow, 0 10px 25px rgba(0, 0, 0, 0.08));
  --ingx-border: rgba(90, 105, 107, 0.18);

  /* Nice background while respecting global */
  background:
    radial-gradient(1100px 500px at 18% 0%, rgba(135, 180, 195, 0.22), transparent 55%),
    radial-gradient(900px 420px at 90% 10%, rgba(238, 201, 66, 0.18), transparent 55%),
    var(--ingx-bg);
  color: var(--ingx-ink);
}

/* Keep global link style but enhance inside Ingexpert components */
body.theme-ingexpert .ingx-page a:hover {
  color: var(--ingx-primary);
}

/* Ensure spacing even if .section is commented in global */
body.theme-ingexpert .ingx-page.section {
  padding: var(--spacing-sm, 4rem) 0;
}


body.theme-ingexpert .path-lien {
  font-weight: 900;
  color: #93C241;
}

/* =========================
   Breadcrumb (enhanced)
========================= */
body.theme-ingexpert .ingx-breadcrumb.breadcrumb {
  background: linear-gradient(135deg, rgba(135, 180, 195, 0.18), rgba(238, 201, 66, 0.12));
  border: 1px solid rgba(90, 105, 107, 0.14);
  border-radius: 14px;
  padding: 10px 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}
body.theme-ingexpert .ingx-breadcrumb a {
  font-weight: 900;
}
body.theme-ingexpert .ingx-breadcrumb .active {
  font-weight: 1000;
  color: var(--ingx-neutral);
}

/* =========================
   Page title
========================= */
body.theme-ingexpert .page-title {
  color: var(--ingx-neutral);
  border-bottom: 3px solid rgba(135, 180, 195, 0.35);
  padding-bottom: 8px;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

/* =========================
   Main content card
   IMPORTANT: global .card is centered, we override here.
========================= */
body.theme-ingexpert .ingx-card.card {
  text-align: left;
  border-radius: 18px;
  border: 1px solid rgba(90, 105, 107, 0.14);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(8px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
  position: relative;
}
/* body.theme-ingexpert .ingx-card.content-box {
  border-left: 6px solid var(--ingx-primary);
} */
body.theme-ingexpert .ingx-card.card:hover {
  /* disable global card hover "jump" on large pages */
  transform: none;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.10);
  border-color: rgba(135, 180, 195, 0.40);
}

/* Better HR than default */
body.theme-ingexpert .ingx-hr.soft-hr {
  margin: 22px 0;
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(90, 105, 107, 0.22), transparent);
}

/* =========================
   HERO
========================= */
body.theme-ingexpert .ingx-hero {
  position: relative;
  /* display: grid;
  grid-template-columns: 1.2fr 0.8fr; */
  gap: 16px;
  padding: 18px;
  margin: 14px 0 18px;
  border-radius: 20px;
  border: 1px solid rgba(90, 105, 107, 0.14);
  overflow: hidden;
  background: linear-gradient(135deg, rgba(135, 180, 195, 0.22), rgba(238, 201, 66, 0.12));
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
}

body.theme-ingexpert .ingx-hero__bg {
  position: absolute;
  inset: -45px -45px auto auto;
  width: 340px;
  height: 340px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 30%, rgba(238, 201, 66, 0.30), transparent 60%),
    radial-gradient(circle at 60% 65%, rgba(135, 180, 195, 0.40), transparent 60%);
  pointer-events: none;
}

body.theme-ingexpert .ingx-hero__content {
  position: relative;
  padding: 8px 10px;
}

body.theme-ingexpert .ingx-kicker {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 1000;
  font-size: 0.9rem;
  color: var(--ingx-neutral);
  background: rgba(255, 255, 255, 0.70);
  border: 1px solid rgba(90, 105, 107, 0.14);
}

body.theme-ingexpert .ingx-title {
  font-size: clamp(1.5rem, 2.1vw, 2.1rem);
  font-family: Arial, Helvetica, sans-serif;
  color: #0b1220;
  margin-top: 10px;
}

body.theme-ingexpert .ingx-intro {
  margin-top: 10px;
  font-weight: 700;
  color: rgba(11, 18, 32, 0.78);
  line-height: 1.75;
}

body.theme-ingexpert .ingx-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
body.theme-ingexpert .ingx-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(90, 105, 107, 0.14);
  background: rgba(255, 255, 255, 0.75);
  font-weight: 900;
  font-size: 0.92rem;
}

body.theme-ingexpert .ingx-hero__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

/* Buttons (aligned with palette) */
body.theme-ingexpert .ingx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(90, 105, 107, 0.16);
  text-decoration: none;
  font-weight: 1000;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.07);
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}
body.theme-ingexpert .ingx-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.10);
}
body.theme-ingexpert .ingx-btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--ingx-neutral), var(--ingx-primary));
}
body.theme-ingexpert .ingx-btn--ghost {
  color: var(--ingx-neutral);
  background: rgba(255, 255, 255, 0.78);
}

/* Side card */
body.theme-ingexpert .ingx-hero__side {
  position: relative;
  padding: 8px;
}
body.theme-ingexpert .ingx-sideCard {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(90, 105, 107, 0.14);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
  padding: 14px;
}
body.theme-ingexpert .ingx-sideCard__title {
  font-weight: 1000;
  color: var(--ingx-neutral);
  margin-bottom: 8px;
}
body.theme-ingexpert .ingx-checkList {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
body.theme-ingexpert .ingx-checkList li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: rgba(11, 18, 32, 0.78);
  line-height: 1.6;
}
body.theme-ingexpert .ingx-checkList li::before {
  content: "✓";
  font-weight: 1000;
  color: var(--ingx-success);
  background: rgba(147, 194, 65, 0.16);
  border: 1px solid rgba(147, 194, 65, 0.22);
  width: 22px;
  height: 22px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  margin-top: 1px;
}

/* =========================
   Section headers
========================= */
body.theme-ingexpert .ingx-section__title {
  margin: 0;
  font-size: 1.22rem;
  font-weight: 1000;
  color: var(--ingx-neutral);
  letter-spacing: -0.01em;
}
body.theme-ingexpert .ingx-section__subtitle {
  margin: 6px 0 0;
  color: rgba(11, 18, 32, 0.70);
}

/* =========================
   Lists
========================= */
body.theme-ingexpert .ingx-bulletList {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
body.theme-ingexpert .ingx-bulletList li {
  position: relative;
  padding-left: 28px;
  line-height: 1.75;
  color: rgba(11, 18, 32, 0.80);
}
body.theme-ingexpert .ingx-bulletList li::before {
  content: "•";
  position: absolute;
  left: 10px;
  top: 0;
  color: var(--ingx-primary);
  font-weight: 1000;
}

body.theme-ingexpert .ingx-paragraph {
  margin-top: 12px;
  line-height: 1.8;
  color: rgba(11, 18, 32, 0.82);
}

/* =========================
   Grid cards
========================= */
body.theme-ingexpert .ingx-grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 10px;
}

body.theme-ingexpert .ingx-miniCard {
  border-radius: 18px;
  border: 1px solid rgba(90, 105, 107, 0.14);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
  padding: 14px;
  transition: transform 160ms ease, box-shadow 160ms ease;
}
body.theme-ingexpert .ingx-miniCard:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.10);
}
body.theme-ingexpert .ingx-miniCard--accent {
  background: linear-gradient(180deg, rgba(238, 201, 66, 0.12), rgba(255, 255, 255, 0.82));
  border-color: rgba(238, 201, 66, 0.26);
}
body.theme-ingexpert .ingx-miniCard__icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(135, 180, 195, 0.18);
  border: 1px solid rgba(90, 105, 107, 0.14);
  font-weight: 1000;
  color: var(--ingx-neutral);
}
body.theme-ingexpert .ingx-miniCard__title {
  margin: 10px 0 6px;
  font-size: 1.06rem;
  font-weight: 1000;
  color: var(--ingx-neutral);
}
body.theme-ingexpert .ingx-miniCard__text {
  margin: 0;
  color: rgba(11, 18, 32, 0.80);
  line-height: 1.75;
}

/* =========================
   Callout
========================= */
body.theme-ingexpert .ingx-callout {
  margin-top: 14px;
  border-radius: 18px;
  padding: 14px;
  background: linear-gradient(135deg, rgba(135, 180, 195, 0.18), rgba(238, 201, 66, 0.10));
  border: 1px solid rgba(90, 105, 107, 0.14);
}
body.theme-ingexpert .ingx-callout__title {
  font-weight: 1000;
  color: var(--ingx-neutral);
  margin-bottom: 6px;
}
body.theme-ingexpert .ingx-callout__text {
  margin: 0;
  color: rgba(11, 18, 32, 0.82);
  line-height: 1.75;
}

/* =========================
   PDF cards
========================= */
body.theme-ingexpert .ingx-pdfGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}
body.theme-ingexpert .ingx-pdfCard {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(90, 105, 107, 0.14);
  background: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
body.theme-ingexpert .ingx-pdfCard:hover {
  transform: translateY(-2px);
  border-color: rgba(238, 201, 66, 0.40);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.10);
}
body.theme-ingexpert .ingx-pdfCard__thumb {
  width: 48px;
  height: 56px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(90, 105, 107, 0.14);
  background: rgba(135, 180, 195, 0.10);
  flex: 0 0 auto;
}
body.theme-ingexpert .ingx-pdfCard__title {
  font-weight: 1000;
  color: var(--ingx-neutral);
}
body.theme-ingexpert .ingx-pdfCard__meta {
  margin-top: 2px;
  color: rgba(11, 18, 32, 0.72);
  font-weight: 800;
}
body.theme-ingexpert .ingx-pdfCard__arrow {
  margin-left: auto;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: rgba(238, 201, 66, 0.18);
  border: 1px solid rgba(238, 201, 66, 0.28);
  color: rgba(90, 105, 107, 0.95);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 1000;
  flex: 0 0 auto;
}

/* =========================
   Highlight & Quote
========================= */
body.theme-ingexpert .ingx-highlight {
  border-radius: 20px;
  padding: 14px;
  background: linear-gradient(180deg, rgba(135, 180, 195, 0.14), rgba(255, 255, 255, 0.86));
  border: 1px solid rgba(90, 105, 107, 0.14);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
}
body.theme-ingexpert .ingx-highlight__badge {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 1000;
  color: var(--ingx-ink);
  background: linear-gradient(135deg, rgba(238, 201, 66, 0.95), rgba(238, 201, 66, 0.75));
  border: 1px solid rgba(238, 201, 66, 0.28);
}
body.theme-ingexpert .ingx-quoteBox {
  border-radius: 18px;
  padding: 12px;
  border: 1px solid rgba(90, 105, 107, 0.14);
  background: linear-gradient(135deg, rgba(238, 201, 66, 0.10), rgba(135, 180, 195, 0.10));
}
body.theme-ingexpert .ingx-quoteLine {
  padding: 10px 10px;
  /* border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(90, 105, 107, 0.10); */
  margin: 8px 0;
  color: rgba(11, 18, 32, 0.80);
  font-weight: 800;
}

/* =========================
   CTA bar
========================= */
body.theme-ingexpert .ingx-cta {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(90, 105, 107, 0.14);
  background: linear-gradient(135deg, rgba(135, 180, 195, 0.18), rgba(238, 201, 66, 0.10));
}
body.theme-ingexpert .ingx-cta__title {
  font-weight: 1000;
  color: var(--ingx-neutral);
}
body.theme-ingexpert .ingx-cta__text {
  margin-top: 4px;
  color: rgba(11, 18, 32, 0.74);
  font-weight: 800;
}

/* =========================
   Responsive
========================= */
@media (max-width: 920px) {
  body.theme-ingexpert .ingx-hero {
    grid-template-columns: 1fr;
  }
  body.theme-ingexpert .ingx-pdfGrid {
    grid-template-columns: 1fr;
  }
  body.theme-ingexpert .ingx-grid2 {
    grid-template-columns: 1fr;
  }
  body.theme-ingexpert .ingx-cta {
    flex-direction: column;
    align-items: stretch;
  }
}