/* Service cards: equal height with 5-line content clamp */
.service-excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Active nav item highlighting */
.navbar-nav > .nav-item.active > .nav-link {
  color: #3f78e0 !important;
  font-weight: 700;
}

/* Navbar dropdown caret → real down-arrow.
   The theme's caret glyph (\e92d) maps to a "clipboard/copy" icon in the only
   loaded Unicons font (unicons-line), so it rendered as a copy icon. Render a
   proper chevron-down from Bootstrap Icons (bundled & reliable) instead, for
   the Services / Technologies / Industries toggles. */
.navbar-nav .nav-item.dropdown > .dropdown-toggle::after {
  font-family: "bootstrap-icons" !important;
  content: "\f282" !important; /* bi-chevron-down */
  border: none !important;
  font-size: 0.7rem;
  font-weight: 700 !important;
  vertical-align: middle;
  margin-left: 0.3rem;
  display: inline-block;
  line-height: 1;
  transition: transform 0.2s ease-in-out;
}
/* Desktop: flex-align text + chevron so the caret sits in the true vertical
   centre of the menu item (font-glyph metrics otherwise leave it a touch high).
   Scoped to ≥992px so the mobile offcanvas caret (absolutely positioned) is
   unaffected. */
@media (min-width: 992px) {
  .navbar-nav .nav-item.dropdown > .dropdown-toggle {
    display: inline-flex;
    align-items: center;
  }
  /* The chevron glyph is drawn in the upper part of its em box, so even a
     centred box reads a touch high — nudge it down to the optical centre.
     `top` (not transform) is used so it never clashes with the open-state
     rotate transform. */
  .navbar-nav .nav-item.dropdown > .dropdown-toggle::after {
    position: relative;
    top: 2px;
  }
}
/* Rotate the chevron up when the menu is open. Desktop opens on hover; mobile
   adds .show on the item/toggle via the accordion JS. */
.navbar-nav .nav-item.dropdown:hover > .dropdown-toggle::after,
.navbar-nav .nav-item.dropdown > .dropdown-toggle.show::after,
.navbar-nav .nav-item.dropdown.show > .dropdown-toggle::after {
  transform: rotate(180deg);
}

/* ── Mobile / offcanvas navigation (≤991px) ──────────────────────────────
   The desktop dropdowns open on hover via an absolutely-positioned mega menu.
   That positioning never works inside the narrow offcanvas, so the mobile menu
   is driven by explicit accordion JS (see footer) that toggles `.show` on the
   item + submenu. Here we make the submenu flow inline and stack the mega-menu
   columns into a single vertical list. */
@media (max-width: 991.98px) {
  .navbar-expand-lg .offcanvas-body .dropdown-menu {
    position: static !important;
    transform: none !important;
    float: none;
    width: 100%;
    display: none;
    border: 0;
    box-shadow: none;
  }
  .navbar-expand-lg .offcanvas-body .dropdown-menu.show {
    display: block;
  }
  /* Keep the chevron pinned to the right edge of the tap row. */
  .navbar-expand-lg .offcanvas-body .nav-item.dropdown > .dropdown-toggle {
    position: relative;
  }
  .navbar-expand-lg .offcanvas-body .nav-item.dropdown > .dropdown-toggle::after {
    position: absolute !important;
    right: 0.25rem;
    top: 50% !important;
    margin: 0;
    transform: translateY(-50%);
    font-size: 0.85rem;
  }
  .navbar-expand-lg .offcanvas-body .nav-item.dropdown.show > .dropdown-toggle::after {
    transform: translateY(-50%) rotate(180deg);
  }
  /* Highlight the currently-open / active parent item. */
  .navbar-expand-lg .offcanvas-body .nav-item.dropdown.show > .dropdown-toggle,
  .navbar-expand-lg .offcanvas-body .nav-item.active > .nav-link {
    color: #ffffff !important;
    font-weight: 700;
  }
  /* Stack the multi-column mega-menu (Services / Technologies / Industries)
     into a single vertical list on small screens. */
  .navbar-expand-lg .offcanvas-body .dropdown-lg .dropdown-lg-content {
    display: block;
  }
  .navbar-expand-lg .offcanvas-body .dropdown-lg .dropdown-lg-content > div + div {
    margin-top: 0.25rem;
  }
  /* Roomier tap targets for nav links and submenu items. */
  .navbar-expand-lg .offcanvas-body .navbar-nav .nav-link {
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
  }
  .navbar-expand-lg .offcanvas-body .dropdown-menu .dropdown-item {
    padding-top: 0.45rem;
    padding-bottom: 0.45rem;
  }
  /* Subtle indent + accent so submenu items read as children. */
  .navbar-expand-lg .offcanvas-body .dropdown-menu .dropdown-item {
    padding-left: 1.25rem;
  }
}

/* Brand name gradient matching logo colors */
.brand-gradient {
  background: linear-gradient(135deg, #60a5fa 0%, #2563eb 40%, #1e3a8a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}
.brand-gradient:hover {
  background: linear-gradient(135deg, #93c5fd 0%, #3b82f6 40%, #1e40af 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
/* Compact, professional footer (reduced height + tighter line-height) */
.elx-footer .widget-title { font-size: .95rem; margin-bottom: .5rem; }
.elx-footer .widget ul { line-height: 1.4; }
.elx-footer .widget li { margin-bottom: .1rem; }
.elx-footer .widget ul a { font-size: .78rem; }
.elx-footer .widget p { margin-bottom: .35rem; line-height: 1.5; font-size: .8rem; }
.elx-footer .newsletter-wrapper { margin-bottom: .5rem; }
.elx-social a { margin-right: .85rem; }
.elx-social .bi { font-size: 1.35rem; }

/* Review-platform ratings: every logo renders in an identical box (same width
   and height) via object-fit:contain, regardless of the logo's aspect ratio. */
.elx-ratings .elx-rating-logo {
  width: 112px;
  height: 30px;
  object-fit: contain;
  object-position: center;
  display: block;
}
.elx-ratings .elx-rating { transition: opacity .15s ease; }
.elx-ratings .elx-rating:hover { opacity: .8; }

/* Compact variant: three review badges in a single row inside the narrow
   first footer column. Logos + stars are scaled down to fit without wrapping. */
.elx-ratings-compact { gap: .5rem; }
.elx-ratings-compact .elx-rating-logo { width: 58px; height: 16px; }
.elx-ratings-compact .elx-rating .bi { font-size: .5rem; }
.elx-ratings-compact .elx-rating .elx-rating-score { font-size: .55rem; line-height: 1; }
@media (min-width: 992px) and (max-width: 1199.98px) {
  .elx-ratings-compact .elx-rating-logo { width: 52px; }
}

/* Slider nav arrows: theme styled these with font-family "Material Icons",
   which is never loaded site-wide → arrows rendered as empty/tofu boxes.
   Render them with the locally bundled Bootstrap Icons font (chevrons) instead. */
.swiper-controls .swiper-navigation .swiper-button.swiper-button-prev:after,
.swiper-controls .swiper-navigation .swiper-button.swiper-button-next:after {
    font-family: "bootstrap-icons" !important;
    font-size: 1.1rem;
    line-height: 1;
    font-weight: normal;
}
.swiper-controls .swiper-navigation .swiper-button.swiper-button-prev:after {
    content: "\f284"; /* bi-chevron-left */
}
.swiper-controls .swiper-navigation .swiper-button.swiper-button-next:after {
    content: "\f285"; /* bi-chevron-right */
}

/* ── Gradient Bootstrap-Icon system (site-wide) ──────────────────────────
   Every decorative icon is a Bootstrap Icon font glyph. The gradient is
   clipped to the glyph via background-clip:text, so it stays crisp at any
   size and adds zero extra HTTP requests (font is already loaded).
   `.elx-grad-icon` makes the glyph gradient-filled; `.elx-grad-N` picks the
   palette (cycled in templates so neighbouring icons differ). */
.elx-grad-icon {
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
  line-height: 1;
}
/* Size helpers (replace the old icon-svg-sm/md PNG sizes). */
.elx-icon-sm { font-size: 1.6rem; }
.elx-icon-md { font-size: 2.5rem; }
.elx-icon-lg { font-size: 3rem; }
/* Win over the theme's `.nav-tabs .nav-link i { font-size:1rem }` so gradient
   icons inside tab nav-links (e.g. Future-Ready Capabilities) keep their size. */
.nav-tabs .nav-link i.elx-icon-sm { font-size: 1.6rem; }
.nav-tabs .nav-link i.elx-icon-md { font-size: 2.5rem; }
.nav-tabs .nav-link i.elx-icon-lg { font-size: 3rem; }

.elx-grad-1  { background-image: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%); }
.elx-grad-2  { background-image: linear-gradient(135deg, #ff512f 0%, #dd2476 100%); }
.elx-grad-3  { background-image: linear-gradient(135deg, #11998e 0%, #38ef7d 100%); }
.elx-grad-4  { background-image: linear-gradient(135deg, #f7971e 0%, #ffd200 100%); }
.elx-grad-5  { background-image: linear-gradient(135deg, #fc466b 0%, #3f5efb 100%); }
.elx-grad-6  { background-image: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%); }
.elx-grad-7  { background-image: linear-gradient(135deg, #f857a6 0%, #ff5858 100%); }
.elx-grad-8  { background-image: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); }
.elx-grad-9  { background-image: linear-gradient(135deg, #fa709a 0%, #fee140 100%); }
.elx-grad-10 { background-image: linear-gradient(135deg, #30cfd0 0%, #330867 100%); }
.elx-grad-11 { background-image: linear-gradient(135deg, #ee0979 0%, #ff6a00 100%); }
.elx-grad-12 { background-image: linear-gradient(135deg, #c471f5 0%, #fa71cd 100%); }

/* Navigational "go/read" arrow for Read More / See Project / Read case study
   links — single blue→purple gradient, as specified. */
.elx-link-arrow {
  font-size: 1.2em;
  vertical-align: -0.15em;
  margin-left: 0.3rem;
  display: inline-block;
  line-height: 1;
  background-image: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  transition: transform 0.15s ease-in-out;
}
a:hover > .elx-link-arrow { transform: translate(2px, -2px); }
/* Arrow gradient matches the colour of the link text it follows. */
.link-primary .elx-link-arrow { background-image: linear-gradient(135deg, #5b8ee8 0%, #2b5bb5 100%); }
.link-leaf .elx-link-arrow    { background-image: linear-gradient(135deg, #9ccfb0 0%, #5a9e78 100%); }
.link-yellow .elx-link-arrow  { background-image: linear-gradient(135deg, #ffd089 0%, #e89a3c 100%); }

/* The theme's `.more` read-more links append a Unicons `::after` arrow
   (content "\e94c"). Unicons is gone, so that pseudo rendered a broken/tofu
   square — kill it; we provide our own bi-arrow-up-right-square instead. */
.more::after { content: none !important; }

/* ----------------------------------------------------------------------
   Home page › "Our AI Offerings" — GitLab-style stacking cards.
   Each card is position:sticky and pins a little lower than the previous
   one (top offset grows with --i, the 1-based card index), so as you
   scroll every card slides up and stacks over the one before it, leaving
   a thin coloured ledge of each earlier card peeking out at the top.
   The differing bg-soft-* backgrounds make the layered ledges readable.
---------------------------------------------------------------------- */
.elx-stack { position: relative; }
.elx-stack-card {
  position: -webkit-sticky;
  position: sticky;
  top: calc(5.5rem + (var(--i) - 1) * 2.25rem);
  border: 0;
  border-radius: 1.5rem;
  margin-bottom: 2.5rem;
  overflow: hidden; /* clip the full-bleed media to the card's rounded corners */
}
.elx-stack-card:last-child { margin-bottom: 0; }
/* Right-hand artwork fills its half edge-to-edge — flush to the card's top,
   right and bottom, no padding. The illustration covers the column. */
.elx-stack-card .elx-stack-media { display: flex; }
.elx-stack-card .elx-stack-media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
}
/* Below lg the two columns stack vertically, but keep the sticky-stack
   pinning so the scroll effect matches desktop. Tighter top offset and
   spacing suit the narrower viewport. */
@media (max-width: 991.98px) {
  .elx-stack-card {
    top: calc(4rem + (var(--i) - 1) * 1.5rem);
    margin-bottom: 1.5rem;
  }
  .elx-stack-card .elx-stack-media img { min-height: 240px; height: 240px; }
}
/* Respect users who turn off motion — no scroll-driven stacking. */
@media (prefers-reduced-motion: reduce) {
  .elx-stack-card { position: static; top: auto; }
}

/* Home page › "Proven expertise across modern technologies" chips.
   Each label gets a distinct LIGHT gradient background (cycled 1-12) with a
   matching tinted border and readable dark text. Scoped to .elx-tech-chip so
   the shared .elx-chip used on detail pages is unaffected. */
.elx-chip.elx-tech-chip { color: #475569; border: 1px solid rgba(15,23,42,.06); box-shadow: 0 1px 2px rgba(30,34,40,.05); transition: transform .15s ease, box-shadow .15s ease; }
.elx-chip.elx-tech-chip:hover { transform: translateY(-2px); box-shadow: 0 .35rem .9rem rgba(30,34,40,.12); color: #334155; }
/* 26 soft pastel gradients (same gentle style as the "How We Work" tiles),
   one per Technology Stack label — distinct colour & hue range, no repeats,
   ordered so neighbouring labels contrast. */
.elx-chip.elx-tech-chip-1  { background: linear-gradient(135deg, #eef3ff 0%, #dbe7ff 100%); }
.elx-chip.elx-tech-chip-2  { background: linear-gradient(135deg, #fff4e4 0%, #ffe6c9 100%); }
.elx-chip.elx-tech-chip-3  { background: linear-gradient(135deg, #e8f9f0 0%, #d3f1e0 100%); }
.elx-chip.elx-tech-chip-4  { background: linear-gradient(135deg, #fdecf2 0%, #fbdae6 100%); }
.elx-chip.elx-tech-chip-5  { background: linear-gradient(135deg, #e3f8f3 0%, #cdf0e8 100%); }
.elx-chip.elx-tech-chip-6  { background: linear-gradient(135deg, #f4ecfe 0%, #e7d8fb 100%); }
.elx-chip.elx-tech-chip-7  { background: linear-gradient(135deg, #fefadf 0%, #f7f0bf 100%); }
.elx-chip.elx-tech-chip-8  { background: linear-gradient(135deg, #ffece9 0%, #ffd8d2 100%); }
.elx-chip.elx-tech-chip-9  { background: linear-gradient(135deg, #e6f6fb 0%, #d0ecf5 100%); }
.elx-chip.elx-tech-chip-10 { background: linear-gradient(135deg, #f0ecfe 0%, #ddd6fb 100%); }
.elx-chip.elx-tech-chip-11 { background: linear-gradient(135deg, #f1fadb 0%, #def2bf 100%); }
.elx-chip.elx-tech-chip-12 { background: linear-gradient(135deg, #fdebfa 0%, #f7d6f2 100%); }
.elx-chip.elx-tech-chip-13 { background: linear-gradient(135deg, #e9f3ff 0%, #d4e6ff 100%); }
.elx-chip.elx-tech-chip-14 { background: linear-gradient(135deg, #fff0e9 0%, #ffded0 100%); }
.elx-chip.elx-tech-chip-15 { background: linear-gradient(135deg, #e2f9ec 0%, #ccf2da 100%); }
.elx-chip.elx-tech-chip-16 { background: linear-gradient(135deg, #ffeced 0%, #ffd9dd 100%); }
.elx-chip.elx-tech-chip-17 { background: linear-gradient(135deg, #e1f7f5 0%, #c9f0eb 100%); }
.elx-chip.elx-tech-chip-18 { background: linear-gradient(135deg, #f8ebfc 0%, #eed6f7 100%); }
.elx-chip.elx-tech-chip-19 { background: linear-gradient(135deg, #fff7e0 0%, #fcecbf 100%); }
.elx-chip.elx-tech-chip-20 { background: linear-gradient(135deg, #eceeff 0%, #d8daff 100%); }
.elx-chip.elx-tech-chip-21 { background: linear-gradient(135deg, #ebf8d8 0%, #d8efba 100%); }
.elx-chip.elx-tech-chip-22 { background: linear-gradient(135deg, #ffebf6 0%, #ffd6ec 100%); }
.elx-chip.elx-tech-chip-23 { background: linear-gradient(135deg, #e8f1ff 0%, #d2e3ff 100%); }
.elx-chip.elx-tech-chip-24 { background: linear-gradient(135deg, #fff1e6 0%, #ffe0c8 100%); }
.elx-chip.elx-tech-chip-25 { background: linear-gradient(135deg, #e4f9ea 0%, #cdf2d8 100%); }
.elx-chip.elx-tech-chip-26 { background: linear-gradient(135deg, #f1ecfa 0%, #e0d8f5 100%); }

/* =========================================================================
   AI service-page tabs + diagrams (frontend/partials/ai_tabs.php)
   ========================================================================= */
.elx-ai-tabs-section { margin: 3rem 0 1rem; }
.elx-ai-tabs-title { font-size: 1.75rem; font-weight: 700; margin-bottom: .35rem; }
.elx-ai-tabs-sub { color: #6b7280; margin-bottom: 1.5rem; }

/* Image-backed tab nav: 5 equal buttons, each showing its home-card image. */
.elx-ai-tabnav {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: .75rem;
  border: 0;
  margin: 0 0 1.75rem;
  padding-left: 0;
  list-style: none;
}
/* Kill any inherited list bullets/dots on the tab items. */
.elx-ai-tabnav > li,
.elx-ai-tabnav .nav-item { list-style: none; }
.elx-ai-tabnav > li::before,
.elx-ai-tabnav > li::marker { content: none !important; display: none; }
.elx-ai-tab {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  min-height: 120px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 14px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.elx-ai-tab__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(17,24,39,.35) 0%, rgba(17,24,39,.78) 100%);
  transition: background .2s ease;
}
.elx-ai-tab__label {
  position: relative;
  z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .3rem;
  padding: .6rem .7rem;
  color: #fff; text-align: center;
  font-size: .82rem; font-weight: 600; line-height: 1.25;
}
.elx-ai-tab__label .bi { font-size: 1.5rem; }
.elx-ai-tab:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(17,24,39,.18); }
.elx-ai-tab.active {
  border-color: #2575fc;
  box-shadow: 0 12px 30px rgba(37,117,252,.28);
}
.elx-ai-tab.active .elx-ai-tab__overlay {
  background: linear-gradient(180deg, rgba(37,117,252,.20) 0%, rgba(17,24,39,.85) 100%);
}

/* Tab panes */
.elx-ai-pane { padding: .5rem 0 0; }
.elx-ai-pane__title { display: flex; align-items: center; font-size: 1.5rem; font-weight: 700; margin-bottom: .75rem; }
.elx-ai-pane__lead { font-size: 1.05rem; color: #374151; margin-bottom: 1.5rem; }
.elx-ai-pane__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 2.5rem; margin: 1.75rem 0; }
.elx-ai-pane__col h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: .75rem; }
.elx-ai-pane__actions { margin-top: 1.5rem; }

/* --- Diagram primitives --- */
.elx-diagram {
  margin: 1.75rem 0;
  padding: 1.5rem 1rem;
  background: linear-gradient(135deg, #f6f8ff 0%, #eef2fb 100%);
  border: 1px solid #e5e9f5;
  border-radius: 16px;
}
.elx-diagram figcaption { margin-top: 1rem; text-align: center; font-size: .85rem; color: #6b7280; }

.elx-flow { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .5rem; }
.elx-flow-node {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35rem;
  min-width: 96px; padding: .85rem .75rem;
  background: #fff; border: 1px solid #e5e9f5; border-radius: 12px;
  box-shadow: 0 4px 12px rgba(17,24,39,.06);
  font-size: .82rem; font-weight: 600; text-align: center; color: #1f2937;
}
.elx-flow-node .bi { font-size: 1.4rem; background: linear-gradient(135deg,#6a11cb,#2575fc); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.elx-flow-node--accent { border-color: #2575fc; box-shadow: 0 6px 18px rgba(37,117,252,.22); }
.elx-flow-arrow { color: #9aa6c4; font-size: 1.3rem; font-weight: 700; }
.elx-flow--loop { position: relative; }

/* Layered stack (GaaS) */
.elx-layers { display: flex; flex-direction: column; align-items: center; gap: .25rem; }
.elx-layer {
  display: flex; align-items: center; gap: .85rem;
  width: 100%; max-width: 460px; padding: .8rem 1.1rem;
  border-radius: 12px; color: #fff;
}
.elx-layer .bi { font-size: 1.5rem; }
.elx-layer div { display: flex; flex-direction: column; line-height: 1.2; }
.elx-layer small { opacity: .85; font-weight: 400; font-size: .72rem; }
.elx-layer--1 { background: linear-gradient(135deg,#6a11cb,#2575fc); }
.elx-layer--2 { background: linear-gradient(135deg,#2575fc,#00c6ff); }
.elx-layer--3 { background: linear-gradient(135deg,#11998e,#38ef7d); color:#08312c; }
.elx-layer--4 { background: linear-gradient(135deg,#f857a6,#ff5858); }
.elx-layer-join { color: #9aa6c4; font-size: 1.2rem; }

/* Tree (multi-agent) */
.elx-tree { display: flex; flex-direction: column; align-items: center; }
.elx-tree-root {
  display: flex; flex-direction: column; align-items: center; gap: .3rem;
  padding: .85rem 1.4rem; margin-bottom: 1.25rem; position: relative;
  background: linear-gradient(135deg,#11998e,#38ef7d); color: #06302b;
  border-radius: 12px; font-weight: 700; box-shadow: 0 6px 16px rgba(17,153,142,.25);
}
.elx-tree-root .bi { font-size: 1.5rem; }
.elx-tree-branches { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; position: relative; }
.elx-tree-branches::before {
  content: ""; position: absolute; top: -0.85rem; left: 10%; right: 10%; height: 1px; background: #cdd6ec;
}
.elx-tree-node {
  display: flex; flex-direction: column; align-items: center; gap: .3rem;
  min-width: 120px; padding: .75rem; background: #fff; border: 1px solid #e5e9f5;
  border-radius: 12px; font-size: .8rem; font-weight: 600; text-align: center; color: #1f2937;
  box-shadow: 0 4px 12px rgba(17,24,39,.06);
}
.elx-tree-node .bi { font-size: 1.3rem; color: #11998e; }

/* Merge (vertical AI) */
.elx-merge { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .75rem; }
.elx-merge-inputs { display: flex; flex-direction: column; gap: .5rem; }
.elx-merge-join { color: #9aa6c4; font-size: 1.6rem; font-weight: 700; }

@media (max-width: 991.98px) {
  .elx-ai-tabnav { grid-template-columns: repeat(2, 1fr); }
  .elx-ai-pane__grid { grid-template-columns: 1fr; }
}
@media (max-width: 575.98px) {
  .elx-ai-tabnav { grid-template-columns: 1fr; }
}

/* Blog & case-study listing cards: every banner fills its slot uniformly
   (same height, cropped to cover) so cards line up regardless of the source
   image's aspect ratio. */
.blog .card-img-top {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: center;
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
}
@media (max-width: 575.98px) {
  .blog .card-img-top { height: 200px; }
}

/* Deep-link activation focuses the pane; suppress the focus ring so only the
   TAB is highlighted, never the content area. */
.elx-ai-tabpanes .tab-pane { outline: none; }
.elx-ai-tabpanes .tab-pane:focus,
.elx-ai-tabpanes .tab-pane:focus-visible { outline: none; box-shadow: none; }
