/* ── Block B — AI mega panel cards ── */
/* Divider look */
.mega-grid [data-slot='links'] {
  position: relative;
}

/* Intro links + CTA */
.mega-text-link {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 10px 14px;
  font-weight: 600;
  color: #1a69fd;
  border-radius: 10px;
  transition: background 0.2s ease;
  font-size: 14px;
  white-space: nowrap;
}
.mega-text-link:hover {
  color: #0c4fcb;
  background: rgba(26, 105, 253, 0.05);
}
.mega-text-link::after {
  content: '→';
  margin-left: auto;
  opacity: 0;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}
.mega-text-link:hover::after {
  opacity: 1;
  transform: translateX(2px);
}
.ai-intro {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mega-text-link.js-hub--mobile {
  display: none;
}
.ai-cta {
  margin-top: 8px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: #f8fafc;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 4px 11px rgba(0, 0, 0, 0.06);
}
.ai-cta-eyebrow {
  margin: 0 0 8px 0;
  font-weight: 700;
  color: #111827;
  font-size: 15px;
}
.ai-cta-copy {
  margin: 0 0 16px 0;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.6;
}
.ai-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #1a69fd;
  color: #fff;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 999px;
  box-shadow: 0 4px 11px rgba(26, 105, 253, 0.2);
}
.ai-cta-btn:hover {
  filter: brightness(1.05);
}
.ai-cta-btn:active {
  transform: translateY(1px);
}
.ai-feature {
  border: 1px solid rgba(37, 99, 235, 0.12);
  background: #f5f7ff;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
  display: flex;
  flex-direction: column;
  gap: 11px;
  width: 100%;
}
.ai-feature h4 {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: rgba(15, 23, 42, 0.55);
  text-transform: uppercase;
}
.ai-feature-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  min-height: 130px;
  background: linear-gradient(
    135deg,
    rgba(var(--color-accent-rgb), 0.24),
    rgba(123, 97, 255, 0.28)
  );
  display: flex;
  align-items: center;
  justify-content: center;
}
.ai-feature-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ai-feature-title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ai-feature-link {
  color: #2563eb;
  font-weight: 700;
}
.ai-feature-link:hover {
  color: #1744b7;
}
.ai-services-head {
  margin: 0 0 11px 0;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #9ca3af;
}

/* AI mega-panel — right sidebar (spotlight + CTA) */
.ai-mega-aside {
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
}
.ai-mega-spotlight {
  background: linear-gradient(
    145deg,
    #030b1e 0%,
    #0a1a3f 30%,
    #0f2d72 65%,
    #1a4bcc 100%
  );
  border: none;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  position: relative;
  overflow: hidden;
}
.ai-mega-spotlight::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 200px;
  height: 200px;
  background: radial-gradient(
    circle,
    rgba(99, 179, 255, 0.22) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.ai-mega-spotlight::after {
  content: '';
  position: absolute;
  bottom: -30px;
  left: -20px;
  width: 150px;
  height: 150px;
  background: radial-gradient(
    circle,
    rgba(139, 92, 246, 0.18) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.ai-mega-spotlight-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.ai-mega-spotlight-title {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
}
.ai-mega-spotlight-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.68);
}
.ai-mega-spotlight-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: #7eb3ff;
  margin-top: auto;
}
.ai-mega-spotlight-link:hover {
  color: #a8d0ff;
}
.ai-mega-cta-box {
  background: #f0f5ff;
  border: 1px solid rgba(26, 105, 253, 0.12);
  border-radius: 14px;
  padding: 18px;
}
.ai-mega-cta-text {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 700;
  color: #111827;
}
.ai-mega-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 9px 16px;
  border-radius: 10px;
  background: #1a69fd;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease;
}
.ai-mega-cta-btn:hover {
  background: #0c4fcb;
  color: #fff;
}

/* AI mega-panel — Featured Insight card (right column, full-height) */
.ai-mega-insight {
  display: block;
  border-radius: 16px;
  flex: 1;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
  min-height: 180px;
}
.ai-mega-insight-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}
.ai-mega-insight:hover .ai-mega-insight-bg {
  transform: scale(1.05);
}
.ai-mega-insight-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.1) 0%,
    rgba(0, 0, 0, 0.72) 60%,
    rgba(0, 0, 0, 0.88) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  gap: 10px;
}
.ai-mega-insight-badge {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}
.ai-mega-insight-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #60efff;
  flex-shrink: 0;
  animation: ai-insight-pulse 2.2s ease-in-out infinite;
}
@keyframes ai-insight-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.35;
    transform: scale(0.7);
  }
}
.ai-mega-insight-caption {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
}
.ai-mega-insight-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.2s ease;
}
.ai-mega-insight:hover .ai-mega-insight-link {
  color: #fff;
}

/* Company mega-panel — CTA card */
.comp-cta-card {
  background: linear-gradient(145deg, #111827 0%, #1e3a5f 55%, #0f2744 100%);
  border-radius: 0;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  position: relative;
  overflow: hidden;
}
.comp-cta-card::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(26, 105, 253, 0.18) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.comp-cta-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: linear-gradient(90deg, #60a5fa 0%, #818cf8 50%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.comp-cta-title {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
}
.comp-cta-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.comp-cta-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  padding: 11px 10px 6px;
}
.comp-cta-stat-val {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.comp-cta-stat-label {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
}
.comp-cta-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.58);
}
.comp-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
  margin-top: auto;
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}
.comp-cta-btn:hover {
  background: rgba(255, 255, 255, 0.17);
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
}

/* ── Block C — AI links middle column ── */
/* Middle column links layout: 2-column grid */
.ai-links {
  width: 100%;
}
.ai-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 2px;
}
.ai-links li {
  margin: 0;
}
.ai-links a {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 10px;
  color: #4b5563;
  white-space: normal;
  line-height: 1.4;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}
.ai-links a:hover {
  background: rgba(26, 105, 253, 0.06);
}
.ai-link-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: rgba(26, 105, 253, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a69fd;
  margin-top: 1px;
  transition: background 0.2s ease;
}
.ai-links a:hover .ai-link-icon {
  background: rgba(26, 105, 253, 0.14);
}
.ai-link-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.ai-link-title {
  display: block;
  font-size: 16px;
  font-weight: 500;
  color: #111827;
  line-height: 1.25;
  transition: color 0.2s ease;
}
.ai-link-desc {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: #6b7280;
  line-height: 1.4;
}
.ai-links a:hover .ai-link-title {
  color: #1a69fd;
}

/* ── Block D — Services mega menu ── */
/* Services mega menu columns */
.svc-cols {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 0;
  width: 100%;
  min-width: 0;
}
.svc-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 16px;
  border-right: 1px solid rgba(0, 0, 0, 0.06);
}
.svc-col:last-child {
  border-right: 0;
}
[data-slot='intro'] > .svc-col {
  padding-left: 0;
  border-right: 0;
}
.svc-col h5 {
  margin: 0;
  padding: 10px 11px 11px;
  font-size: 11px;
  font-weight: 600;
  color: #1a69fd;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}
.svc-col h5::after {
  content: '';
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 0;
  height: 1px;
  background: rgba(26, 105, 253, 0.15);
  border-radius: 0;
}
.svc-col ul {
  list-style: none;
  margin: 0;
  padding: 4px 0 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.svc-col li {
  position: relative;
  margin: 0;
  border-radius: 8px;
}
.svc-col a {
  color: #1f2937;
  white-space: normal;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.25;
  padding: 10px 11px;
  border-radius: 8px;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}
.svc-col a:hover {
  color: #1a69fd;
  background: rgba(26, 105, 253, 0.06);
}
.svc-link-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #3b82f6;
}
.svc-col-subhead {
  margin-top: 8px;
  padding: 10px 11px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #3b82f6;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}
.svc-col-subhead::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: #3b82f6;
  border-radius: 0;
}

/* Services item with flyout submenu */
.svc-sub {
  position: relative !important;
  z-index: 1;
  overflow: visible !important;
  background: #fff;
  border-radius: 0;
}
li.svc-sub:not(.svc-sub + .svc-sub) {
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}
li.svc-sub:not(:has(+ .svc-sub)) {
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}
.svc-sub:hover,
.svc-sub:focus-within,
.svc-sub.open {
  z-index: 2000;
}
/* Transparent bridge covers the gap so mouseleave never fires mid-traverse */
.svc-sub.open::after {
  content: '';
  position: absolute;
  left: -4px;
  right: -4px;
  top: 100%;
  height: 10px;
  background: transparent;
  pointer-events: auto;
  z-index: 1;
}
.svc-sub > a {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 11px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.25;
  color: #1f2937;
  background: transparent;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
  cursor: pointer;
  overflow: visible;
}
.svc-sub > a .svc-icon {
  flex-shrink: 0;
  overflow: visible;
}
.svc-sub > a:hover {
  background: rgba(26, 105, 253, 0.06);
}
/* Toggle moved inside <a> — remove any pseudo-element indicator */
.svc-sub > a::after {
  content: none;
}
/* Toggle is inside <a> flex row — show +/− circle on both desktop and mobile */
.svc-sub a .svc-toggle {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: static !important;
  transform: none !important;
  flex-shrink: 0 !important;
  margin-left: auto !important;
  width: 22px !important;
  height: 22px !important;
  border-radius: 50% !important;
  border: 1.5px solid rgba(59, 130, 246, 0.42) !important;
  background: transparent !important;
  pointer-events: none !important;
  transition: background 0.2s ease, border-color 0.2s ease !important;
  color: #3b82f6 !important;
}
.svc-sub a .svc-toggle svg {
  display: block;
  color: inherit;
}
.svc-sub a .svc-toggle .toggle-v {
  transform-origin: center;
  transition:
    transform 0.22s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.18s ease;
}
.svc-sub.open a .svc-toggle {
  background: rgba(59, 130, 246, 0.1) !important;
  border-color: rgba(59, 130, 246, 0.55) !important;
}
.svc-sub.open a .svc-toggle .toggle-v {
  transform: scaleY(0);
  opacity: 0;
}
/* Also show active state on hover (desktop) */
.svc-sub:hover a .svc-toggle,
.svc-sub:focus-within a .svc-toggle {
  background: rgba(59, 130, 246, 0.1) !important;
  border-color: rgba(59, 130, 246, 0.55) !important;
}
.svc-sub:hover a .svc-toggle .toggle-v,
.svc-sub:focus-within a .svc-toggle .toggle-v {
  transform: scaleY(0);
  opacity: 0;
}

.svc-sub.open > a {
  background: rgba(26, 105, 253, 0.06);
  color: #1a69fd;
  box-shadow: none;
}
.svc-sub > .svc-pop {
  position: absolute !important;
  left: -4px;
  right: -4px;
  top: calc(100% + 6px);
  z-index: 1200;
  background: #fff;
  border: 1px solid rgba(26, 105, 253, 0.14);
  border-radius: 11px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  padding: 6px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease,
    visibility 0s linear 0.18s;
}
.svc-sub > .svc-pop::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    #1a69fd 30%,
    #3b82f6 70%,
    transparent
  );
  pointer-events: none;
}
.svc-sub > .svc-pop ul {
  margin: 0;
  padding: 2px 0;
  list-style: none;
  max-height: calc(40px * 5);
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 1px;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.1) transparent;
}
.svc-sub > .svc-pop ul::-webkit-scrollbar {
  width: 4px;
}
.svc-sub > .svc-pop ul::-webkit-scrollbar-track {
  background: transparent;
}
.svc-sub > .svc-pop ul::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 999px;
}
.svc-sub > .svc-pop li {
  margin: 0;
  padding: 0;
  border: 0;
}
.svc-sub > .svc-pop li + li {
  border-top: none;
  padding-top: 0;
}
.svc-sub > .svc-pop a {
  padding: 7px 10px 7px 20px;
  font-size: 14.5px;
  font-weight: 500;
  color: #374151;
  border-radius: 7px;
  position: relative;
}
.svc-sub > .svc-pop a::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(26, 105, 253, 0.3);
  transition:
    background 0.15s ease,
    transform 0.15s ease;
}
.svc-sub > .svc-pop a:hover {
  background: rgba(26, 105, 253, 0.06);
  color: #1a69fd;
}
.svc-sub > .svc-pop a:hover::before {
  background: #1a69fd;
  transform: translateY(-50%) scale(1.5);
}
.svc-sub.open > .svc-pop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease,
    visibility 0s linear 0s;
}

/* Divider for services center column, mirroring AI Solutions */
#mega-services [data-slot='links'] {
  position: relative;
  overflow: visible;
}

/* Services CTA at bottom */
.svc-cta-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  margin: 11px 22px 22px 22px;
  background: linear-gradient(135deg, #eef4ff 0%, #f0eaff 100%);
  border: 1px solid rgba(26, 105, 253, 0.1);
  border-radius: 14px;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 11px rgba(0, 0, 0, 0.04);
}
.svc-cta-bottom p {
  margin: 0;
  color: #374151;
  font-size: 14px;
  line-height: 1.5;
}
.svc-cta-bottom .btn-primary {
  border-radius: 999px;
  padding: 9px 20px;
}
@media (max-width: 640px) {
  .svc-cta-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .svc-cta-bottom .btn-primary {
    width: auto;
    justify-content: center;
  }
}

/* ── Block E — Industries mega menu ── */
/* Industries mega menu */
.ind-grid {
  padding: 20px 22px;
  margin-bottom: 10px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.ind-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}
.ind-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ind-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 16px;
  border-right: 1px solid rgba(0, 0, 0, 0.06);
}
.ind-col:last-child {
  border-right: 0;
}
.ind-col li {
  margin: 0;
  position: relative;
  border-radius: 8px;
}
.ind-col a {
  color: #1f2937;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 11px;
  border-radius: 8px;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.25;
}
.ind-col a:hover {
  color: #1a69fd;
  background: rgba(26, 105, 253, 0.06);
}
.ind-col a .ind-icon {
  color: #3b82f6;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.svc-col a .svc-icon {
  color: #3b82f6;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}
.svc-col h5 .svc-cat-icon {
  filter: invert(30%) sepia(90%) saturate(1500%) hue-rotate(200deg)
    brightness(95%) contrast(95%);
}

.testimonial-copy {
  -webkit-line-clamp: 4;
  line-clamp: 4;
  max-width: 640px;
}
.testimonial-copy.long {
  -webkit-line-clamp: 6;
  line-clamp: 6;
}
.ind-cols::-webkit-scrollbar {
  width: 6px;
}
.ind-cols::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.03);
  border-radius: 3px;
}
.ind-cols::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 3px;
}
.ind-cols::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.2);
}

/* ── Industries layout wrappers ── */
.ind-links-area {
  flex: 1;
  min-width: 0;
}

.ind-feature-col {
  width: 260px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}

/* ── Industries spotlight card ── */
.ind-mega-spotlight {
  background: linear-gradient(145deg, #111827 0%, #1e3a5f 55%, #0f2744 100%);
  border-radius: 16px;
  padding: 18px;
  flex: 1;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ind-mega-spotlight::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at top right,
    rgba(59, 130, 246, 0.2) 0%,
    transparent 60%
  );
  pointer-events: none;
}

.ind-mega-spotlight-icon {
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7eb3ff;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.ind-mega-spotlight-title {
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  margin: 0;
  line-height: 1.4;
  position: relative;
  z-index: 1;
}

.ind-mega-spotlight-text {
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  position: relative;
  z-index: 1;
}

.ind-mega-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  position: relative;
  z-index: 1;
  margin-top: 2px;
}

.ind-mega-stat {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 7px 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ind-mega-stat-value {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.ind-mega-stat-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.48);
  line-height: 1.3;
}

.ind-mega-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  border-radius: 8px;
  padding: 10px 11px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease;
  position: relative;
  z-index: 1;
  margin-top: auto;
}

.ind-mega-cta-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

@media (max-width: 1100px) {
  .ind-feature-col {
    display: none;
  }
}

/* Industries svc-sub and svc-pop items inherit all styles from the generic
   .svc-sub / .svc-pop rules — no overrides needed */
#mega-industries .ind-col li {
  display: block;
}
#mega-industries .ind-col li > a {
  width: 100%;
}

/* ── Block F — Resources mega menu ── */
/* Resources mega menu */
.res-grid {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr) 290px;
  gap: 0;
  padding: 0;
}
.res-tabs {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: #f8f7f4;
  border: none;
  border-radius: 0;
  border-right: 1px solid rgba(0, 0, 0, 0.07);
  padding: 20px 16px 20px 20px;
}
.res-tab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border: none;
  border-radius: 8px;
  color: #374151;
  background: transparent;
  font-weight: 500;
  font-size: 16px;
  cursor: pointer;
  position: relative;
  text-align: left;
  width: 100%;
  box-sizing: border-box;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}
.res-tab::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 0;
  background: #1a69fd;
  border-radius: 0 2px 2px 0;
  transition: height 0.2s ease;
}
.res-tab.is-active::before {
  height: 55%;
}
.res-tab:hover {
  background: rgba(0, 0, 0, 0.04);
  color: #111827;
}
.res-tab.is-active {
  background: rgba(26, 105, 253, 0.07);
  color: #1a69fd;
  font-weight: 500;
}
.res-cta {
  margin-top: auto;
  background: linear-gradient(145deg, #111827 0%, #1e3a5f 60%, #0f2744 100%);
  border: none;
  border-radius: 11px;
  padding: 16px;
}
.res-cta-title {
  margin: 0 0 6px 0;
  font-weight: 700;
  color: #fff;
  font-size: 15px;
}
.res-cta-desc {
  margin: 0 0 11px 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  line-height: 1.5;
}

.res-list-wrap {
  min-width: 0;
  padding: 20px;
  border-right: 1px solid rgba(0, 0, 0, 0.07);
}
.res-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 11px;
}
.res-title {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6b7280;
}
.res-view {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #1a69fd;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}
.res-view svg {
  transition: transform 0.22s ease;
}
.res-view:hover {
  color: #0c4fcb;
}
.res-view:hover svg {
  transform: translateX(3px);
}
.res-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.res-list.is-entering {
  animation: res-list-enter 0.22s ease both;
}
@keyframes res-list-enter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.res-item {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  background: #e5e7eb;
}
.res-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.res-item:hover .res-card-img {
  transform: scale(1.05);
}
.res-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 25%,
    rgba(0, 0, 0, 0.82) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 11px;
}
.res-thumb {
  width: 80px;
  height: 56px;
  border-radius: 10px;
  background: linear-gradient(
    135deg,
    var(--color-accent),
    var(--color-accent-2)
  );
  flex-shrink: 0;
  object-fit: cover;
  display: block;
  overflow: hidden;
}
.res-thumb--pr {
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}
.res-thumb--pr img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.res-icon {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: rgba(26, 105, 253, 0.07);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a69fd;
}
.res-icon--image {
  background: transparent;
  overflow: hidden;
}
.res-icon--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}
.res-text {
  line-height: 1.35;
  font-size: 16px;
  font-weight: 600;
  color: #f1f5f9;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.res-aside {
  padding: 20px 22px 20px 20px;
}

/* ── Block G — Portfolio mega menu ── */
/* Portfolio mega menu */
.port-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 0;
  padding: 0;
}
.port-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 20px 10px 22px;
  align-content: start;
  position: relative;
}
.port-list::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 110px;
  background: radial-gradient(
    ellipse 85% 110px at 50% 100%,
    rgba(26, 105, 253, 0.06) 0%,
    transparent 100%
  );
  pointer-events: none;
  transition: opacity 0.3s ease;
  opacity: 0.6;
  z-index: 0;
  border-radius: 0 0 0 11px;
}
.port-list:has(.port-view-all:hover)::after {
  opacity: 1;
  background: radial-gradient(
    ellipse 85% 110px at 50% 100%,
    rgba(26, 105, 253, 0.11) 0%,
    transparent 100%
  );
}
.port-list > h5 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #6b7280;
  margin: 0 0 4px;
  padding-bottom: 10px;
}
/* Healthcare portfolio column */
.porthc {
  padding: 20px 22px 10px 20px;
  border-left: 1px solid rgba(0, 0, 0, 0.07);
  background: linear-gradient(
    160deg,
    rgba(16, 185, 129, 0.04) 0%,
    transparent 45%
  );
  display: flex;
  flex-direction: column;
  gap: 11px;
  position: relative;
  overflow: hidden;
}
.porthc::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 110px;
  background: radial-gradient(
    ellipse 85% 110px at 50% 100%,
    rgba(16, 185, 129, 0.06) 0%,
    transparent 100%
  );
  pointer-events: none;
  transition: opacity 0.3s ease;
  opacity: 0.6;
  z-index: 0;
  border-radius: 0 0 11px 0;
}
.porthc:has(.porthc-viewall:hover)::after {
  opacity: 1;
  background: radial-gradient(
    ellipse 85% 110px at 50% 100%,
    rgba(16, 185, 129, 0.11) 0%,
    transparent 100%
  );
}
.porthc-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 4px;
  margin-bottom: 2px;
}
.porthc-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #10b981;
  flex-shrink: 0;
}
.porthc-head h5 {
  margin: 0;
  flex: 1;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #6b7280;
}
.porthc-count {
  font-size: 11px;
  color: #10b981;
  font-weight: 600;
  white-space: nowrap;
  background: rgba(16, 185, 129, 0.1);
  border-radius: 20px;
  padding: 2px 8px;
}
.porthc-hero {
  position: relative;
  display: block;
  border-radius: 11px;
  overflow: hidden;
  height: 150px;
  border: 1px solid rgba(0, 0, 0, 0.07);
  flex-shrink: 0;
}
.porthc-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.porthc-hero:hover img {
  transform: scale(1.05);
}
.porthc-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 20%,
    rgba(0, 0, 0, 0.82) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px;
  gap: 3px;
}
.porthc-hero-tag {
  margin: 0;
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #34d399;
}
.porthc-hero-title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #f1f5f9;
  line-height: 1.3;
}
.porthc-hero-stat {
  margin: 0;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.58);
}
.porthc-hero-stat b {
  color: #34d399;
  font-weight: 700;
}
.porthc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
}
.porthc-card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 8px;
  padding: 0 0 0 22px;
  border-radius: 9px;
  border: 1px solid var(--bd);
  background: var(--bg);
  transition:
    background 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}
.porthc-card:hover {
  background: var(--bg-h);
  border-color: var(--bd-h);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}
/* Wavy SVG accent — floats inside the left edge, 70% card height */
.porthc-dot {
  position: absolute;
  left: 6px;
  top: 30%;
  bottom: 30%;
  width: 8px;
  display: flex;
  align-items: stretch;
  color: var(--c, #6366f1);
}
.porthc-dot svg {
  width: 100%;
  height: 100%;
  display: block;
}
.porthc-card-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  justify-content: center;
  padding: 9px 0;
}
.porthc-card-img-wrap {
  flex-shrink: 0;
  width: 88px;
  align-self: stretch;
  position: relative;
  overflow: hidden;
}
.porthc-card-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    var(--fi) 0%,
    var(--fi) 15%,
    transparent 70%
  );
  pointer-events: none;
}
.porthc-card:hover .porthc-card-img-wrap::after {
  background: linear-gradient(
    to right,
    var(--bg-h) 0%,
    var(--bg-h) 15%,
    transparent 70%
  );
}
.porthc-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.82;
  transition: opacity 0.2s ease;
}
.porthc-card:hover .porthc-card-img {
  opacity: 1;
}
.porthc-card-title {
  font-size: 14px;
  font-weight: 600;
  color: #1f2937;
  line-height: 1.3;
}
.porthc-card-stat {
  font-size: 11px;
  font-weight: 500;
  color: #6b7280;
  line-height: 1.3;
}
.porthc-viewall {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 500;
  color: #10b981;
  text-decoration: none;
  padding: 9px 14px;
  margin-top: auto;
  border-radius: 8px;
  border: none;
  background: transparent;
  position: relative;
  z-index: 1;
  transform-origin: center bottom;
  transition:
    transform 0.25s ease,
    color 0.2s ease;
}
.porthc-viewall:hover {
  color: #059669;
  transform: scale(1.03);
}
.porthc-viewall svg {
  transition: transform 0.22s ease;
}
.porthc-viewall:hover svg {
  transform: translateX(3px);
}
.port-view-all {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: auto;
  padding: 10px 16px;
  background: transparent;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  color: #1a69fd;
  text-decoration: none;
  position: relative;
  z-index: 1;
  transform-origin: center bottom;
  transition: transform 0.25s ease;
}
.port-view-all:hover {
  transform: scale(1.03);
  color: #1a69fd;
}
.port-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 10px 9px 16px;
  border-radius: 8px;
  color: #111827;
  background: transparent;
  border: none;
  text-decoration: none;
  position: relative;
  transition: background 0.2s ease;
}
/* Colored accent pill — always visible, unique per item */
.port-item::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 18px;
  border-radius: 3px;
  transition: height 0.2s ease;
}
.port-list .port-item:nth-of-type(1)::before {
  background: #3b82f6;
}
.port-list .port-item:nth-of-type(2)::before {
  background: #10b981;
}
.port-list .port-item:nth-of-type(3)::before {
  background: #8b5cf6;
}
.port-list .port-item:nth-of-type(4)::before {
  background: #f59e0b;
}
/* Resting tint — subtle colour wash matching the accent pill */
.port-list .port-item:nth-of-type(1) {
  background: rgba(59, 130, 246, 0.04);
}
.port-list .port-item:nth-of-type(2) {
  background: rgba(16, 185, 129, 0.04);
}
.port-list .port-item:nth-of-type(3) {
  background: rgba(139, 92, 246, 0.04);
}
.port-list .port-item:nth-of-type(4) {
  background: rgba(245, 158, 11, 0.04);
}
/* On hover: pill grows + deeper colour wash */
.port-item:hover::before {
  height: 28px;
}
.port-list .port-item:nth-of-type(1):hover {
  background: rgba(59, 130, 246, 0.1);
}
.port-list .port-item:nth-of-type(2):hover {
  background: rgba(16, 185, 129, 0.1);
}
.port-list .port-item:nth-of-type(3):hover {
  background: rgba(139, 92, 246, 0.1);
}
.port-list .port-item:nth-of-type(4):hover {
  background: rgba(245, 158, 11, 0.1);
}
.port-logo {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  flex-shrink: 0;
}
.port-logo--image {
  background: #fff;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
}
.port-logo--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}
.port-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.port-title {
  font-weight: 600;
  font-size: 16px;
  color: #111827;
  transition: color 0.2s ease;
}
.port-item:hover .port-title {
  color: #1a69fd;
}
.port-desc {
  color: #6b7280;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.port-feature {
  border: 1px solid rgba(56, 75, 160, 0.18);
  background: radial-gradient(
    98% 140% at 6% 9%,
    rgba(120, 143, 255, 0.24) 0%,
    rgba(12, 18, 41, 0.95) 52%
  );
  border-radius: 22px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  color: rgba(239, 244, 255, 0.92);
  box-shadow: 0 22px 40px rgba(14, 20, 54, 0.38);
}
.port-feature-label {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 800;
  opacity: 0.78;
  color: inherit;
}
.port-feature-media {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  display: block;
  min-height: 168px;
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.35),
    rgba(67, 56, 202, 0.45)
  );
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.port-feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.port-feature-media span {
  display: none;
}
.port-feature-copy {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: inherit;
  opacity: 0.92;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.port-feature-link {
  font-weight: 700;
  color: #3b82f6;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.port-feature-link:hover {
  text-decoration: underline;
}

/* Company mega menu */
.comp-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 0;
  padding: 0;
}
.comp-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-self: stretch;
  padding: 20px 20px 20px 22px;
  border-right: 1px solid rgba(0, 0, 0, 0.07);
  background: #ffffff;
}
.comp-list-label {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6b7280;
}
.comp-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 11px;
  border-radius: 10px;
  text-decoration: none;
  transition:
    background 0.2s ease,
    box-shadow 0.2s ease;
}
.comp-item:hover {
  background: rgba(26, 105, 253, 0.04);
  box-shadow: none;
}
.comp-item-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(26, 105, 253, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a69fd;
  flex-shrink: 0;
  transition: background 0.2s ease;
}
.comp-item:hover .comp-item-icon {
  background: rgba(26, 105, 253, 0.13);
}
.comp-item-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.comp-item-title {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  line-height: 1.3;
  transition: color 0.2s ease;
}
.comp-item:hover .comp-item-title {
  color: #1a69fd;
}
.comp-item-desc {
  font-size: 14px;
  font-weight: 400;
  color: #6b7280;
  line-height: 1.4;
}

/* ── Block H — Mega feature card + @media for mega panels ── */
.mega-feature {
  border: 1px solid rgba(56, 75, 160, 0.18);
  background: radial-gradient(
    98% 140% at 6% 9%,
    rgba(120, 143, 255, 0.24) 0%,
    rgba(12, 18, 41, 0.95) 52%
  );
  border-radius: 22px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  color: rgba(239, 244, 255, 0.92);
  box-shadow: 0 22px 40px rgba(14, 20, 54, 0.38);
}
.mega-feature--surface {
  background: linear-gradient(
    155deg,
    rgba(22, 26, 36, 0.98),
    rgba(10, 12, 24, 0.92)
  );
  border-color: rgba(45, 58, 110, 0.32);
  color: rgba(235, 238, 250, 0.95);
}
.mega-feature-label {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 800;
  opacity: 0.78;
  color: inherit;
}
.mega-feature-media {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  min-height: 168px;
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.35),
    rgba(67, 56, 202, 0.45)
  );
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  display: block;
}
.mega-feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mega-feature-copy {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  color: inherit;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mega-feature-link {
  font-weight: 700;
  color: #3b82f6;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.mega-feature-link:hover {
  text-decoration: underline;
}
.mega-feature--surface .mega-feature-link {
  color: #60a5fa;
}

/* Mobile */
@media (max-width: 968px) {
  .mega-panel {
    position: static;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
    transform: none;
    width: auto;
    max-width: none;
    left: auto;
    right: auto;
    margin-left: 0;
    margin-right: 0;
  }
  .mega-grid {
    grid-template-columns: 1fr;
    padding: 16px;
  }
  .ai-links {
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }
}

