.static-mega-trigger > .static-mega-menu {
  --menu-shift: 0px;
  position: absolute;
  top: 100%;
  left: 50%;
  width: 950px;
  min-height: 320px;
  display: flex;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  color: #374151;
  background: #fff;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, .22);
  overflow: hidden;
  z-index: 80;
  transform: translateX(calc(-50% + var(--menu-shift))) translateY(8px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}

.static-mega-trigger:hover > .static-mega-menu,
.static-mega-trigger:focus-within > .static-mega-menu {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(calc(-50% + var(--menu-shift))) translateY(0);
}

.static-mega-trigger:hover > a,
.static-mega-trigger:focus-within > a {
  color: #fff;
  background: rgba(255, 255, 255, .1);
}

.static-mega-trigger:hover > a svg,
.static-mega-trigger:focus-within > a svg {
  transform: rotate(180deg);
}

.static-mega-side {
  width: 150px;
  flex: none;
  display: flex;
  flex-direction: column;
  padding: 16px;
}

.static-mega-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 16px;
  background: #f9fafb;
  border-left: 1px solid #f1f5f9;
}

.static-mega-heading {
  height: 29px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
  font-size: 15px;
  font-weight: 700;
}

.static-mega-heading::before {
  content: "";
  width: 4px;
  height: 16px;
  flex: none;
  border-radius: 4px;
  background: #f87314;
}

.static-mega-main .static-mega-heading::before { background: #f87314; }

.static-mega-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 4px;
  padding: 8px 0;
  border-top: 1px dotted #e5e7eb;
}

.static-mega-list a {
  display: block;
  padding: 6px 0;
  color: #4b5563;
  font-size: 14px;
  font-weight: 500;
  transition: color .18s;
}

.static-mega-list a:hover { color: #f87314; }

.static-mega-all {
  height: 50px;
  display: flex;
  align-items: center;
  padding-top: 12px;
  color: #f87314;
  font-size: 12px;
  font-weight: 500;
  border-top: 1px dotted #e5e7eb;
}

.static-mega-cards { flex: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.static-mega-card { min-width: 0; display: flex; flex-direction: column; color: #374151; }
.static-mega-image { position: relative; flex: 1; min-height: 205px; overflow: hidden; border-radius: 8px 8px 0 0; background: #e5e7eb; }
.static-mega-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; transition: transform .25s; }
.static-mega-card:hover .static-mega-image img { transform: scale(1.05); }
.static-mega-badge { position: absolute; top: 8px; left: 8px; padding: 2px 8px; color: #fff; background: #f87314; border-radius: 4px; font-size: 12px; font-weight: 700; }
.static-mega-copy { height: 60px; display: flex; flex-direction: column; justify-content: center; padding-top: 8px; text-align: center; }
.static-mega-title { font-size: 16px; font-weight: 500; line-height: 1.25; }
.static-mega-desc {
  margin-top: 6px;
  min-width: 0;
  overflow: hidden;
  color: #9ca3af;
  font-size: 13px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 1023px) {
  .static-mega-menu { display: none !important; }
}
/* Shared orange theme: page content only. Header navigation keeps its dedicated
   #12327b active/hover state defined by the shared header. */
main [class*="text-blue-"],
main [class*="text-indigo-"],
main [class*="text-sky-"],
main [class*="text-[#2873F5]"],
main [class*="text-[#3090FF]"],
main [class*="text-[#1A56DB]"],
main [class*="text-[#1E5FD1]"],
main [class*="text-[#1E5AA8]"],
main [class*="text-[#003481]"] {
  color: #f87314 !important;
}

main [class*="bg-blue-50"],
main [class*="bg-blue-100"],
main [class*="bg-indigo-50"],
main [class*="bg-indigo-100"],
main [class*="bg-sky-50"] {
  background-color: #fff7ed !important;
}

main [class*="bg-blue-400"],
main [class*="bg-blue-500"],
main [class*="bg-blue-600"],
main [class*="bg-blue-700"],
main [class*="bg-indigo-500"],
main [class*="bg-sky-500"],
main [class*="bg-[#2873F5]"],
main [class*="bg-[#3090FF]"] {
  background-color: #f87314 !important;
}

main [class*="border-blue-"],
main [class*="border-indigo-"],
main [class*="border-sky-"] {
  border-color: #f87314 !important;
}

main [class*="ring-blue-"] {
  --tw-ring-color: rgba(248, 115, 20, .28) !important;
}

main [class*="from-blue-"],
main [class*="from-indigo-"],
main [class*="from-sky-"] {
  --tw-gradient-from: #f87314 var(--tw-gradient-from-position) !important;
  --tw-gradient-to: rgba(248, 115, 20, 0) var(--tw-gradient-to-position) !important;
}

main [class*="to-blue-"],
main [class*="to-indigo-"] {
  --tw-gradient-to: #e56508 var(--tw-gradient-to-position) !important;
}

main [class*="hover:bg-blue-"]:hover,
main [class*="hover:bg-indigo-"]:hover,
main [class*="hover:bg-sky-"]:hover {
  background-color: #fff1e7 !important;
}

main [class*="hover:text-blue-"]:hover,
main [class*="hover:text-indigo-"]:hover,
main [class*="hover:text-sky-"]:hover {
  color: #e56508 !important;
}
