/* MEDTRONEX final banner palette: light brinjal + black headings + soft-white support text + light-blue overlay */
:root{
  --mdx-banner-brinjal-1:#eee4f2;
  --mdx-banner-brinjal-2:#e6d8ec;
  --mdx-banner-brinjal-3:#f4edf7;
  --mdx-banner-black:#111827;
  --mdx-banner-sub:#f8fbff;
  --mdx-banner-blue-overlay:rgba(166,210,235,.30);
}

body.frontend-premium .page-hero,
body.frontend-premium .hero,
body.frontend-premium .hero-section,
body.frontend-premium .banner,
body.frontend-premium .promo-banner,
body.frontend-premium .inner-banner,
body.frontend-premium .page-banner,
body.frontend-premium .mtx-hero,
body.frontend-premium .hero-slider,
body.frontend-premium .hero-slide{
  background:linear-gradient(135deg,var(--mdx-banner-brinjal-1) 0%,var(--mdx-banner-brinjal-2) 52%,var(--mdx-banner-brinjal-3) 100%) !important;
}

/* Image banners retain their imagery while receiving the requested light-blue wash. */
body.frontend-premium .hero,
body.frontend-premium .hero-section,
body.frontend-premium .banner,
body.frontend-premium .promo-banner,
body.frontend-premium .inner-banner,
body.frontend-premium .page-banner,
body.frontend-premium .hero-slide,
body.frontend-premium .mtx-hero-visual{
  position:relative;
  isolation:isolate;
}

body.frontend-premium .hero::before,
body.frontend-premium .hero-section::before,
body.frontend-premium .banner::before,
body.frontend-premium .promo-banner::before,
body.frontend-premium .inner-banner::before,
body.frontend-premium .page-banner::before,
body.frontend-premium .hero-slide::before,
body.frontend-premium .mtx-hero-visual::before{
  content:"";
  position:absolute;
  inset:0;
  background:var(--mdx-banner-blue-overlay) !important;
  pointer-events:none;
  z-index:0;
}

body.frontend-premium .hero > *,
body.frontend-premium .hero-section > *,
body.frontend-premium .banner > *,
body.frontend-premium .promo-banner > *,
body.frontend-premium .inner-banner > *,
body.frontend-premium .page-banner > *,
body.frontend-premium .hero-slide > *,
body.frontend-premium .mtx-hero-visual > *{
  position:relative;
  z-index:1;
}

/* Main banner headings: black. */
body.frontend-premium .page-hero h1,
body.frontend-premium .page-hero h2,
body.frontend-premium .page-hero h3,
body.frontend-premium .hero h1,
body.frontend-premium .hero h2,
body.frontend-premium .hero h3,
body.frontend-premium .hero-section h1,
body.frontend-premium .hero-section h2,
body.frontend-premium .hero-section h3,
body.frontend-premium .banner h1,
body.frontend-premium .banner h2,
body.frontend-premium .banner h3,
body.frontend-premium .promo-banner h1,
body.frontend-premium .promo-banner h2,
body.frontend-premium .promo-banner h3,
body.frontend-premium .inner-banner h1,
body.frontend-premium .inner-banner h2,
body.frontend-premium .inner-banner h3,
body.frontend-premium .page-banner h1,
body.frontend-premium .page-banner h2,
body.frontend-premium .page-banner h3,
body.frontend-premium .mtx-hero h1,
body.frontend-premium .mtx-hero h2,
body.frontend-premium .mtx-hero h3{
  color:var(--mdx-banner-black) !important;
  text-shadow:none !important;
}

/* Supporting banner copy: soft white. */
body.frontend-premium .page-hero p,
body.frontend-premium .hero p,
body.frontend-premium .hero-section p,
body.frontend-premium .banner p,
body.frontend-premium .promo-banner p,
body.frontend-premium .inner-banner p,
body.frontend-premium .page-banner p,
body.frontend-premium .mtx-hero .lead,
body.frontend-premium .hero-content .lead,
body.frontend-premium .banner .lead,
body.frontend-premium .page-hero .ph-label{
  color:var(--mdx-banner-sub) !important;
  text-shadow:0 1px 2px rgba(31,41,55,.30) !important;
}

/* Admin sidebar: green text, with readable active/hover states. */
body.admin-body .admin-sidebar,
body.admin-body .admin-sidebar nav a,
body.admin-body .admin-sidebar .as-toggle,
body.admin-body .admin-sidebar .as-body a,
body.admin-body .admin-sidebar .as-sub,
body.admin-body .admin-sidebar .section-title,
body.admin-body .admin-sidebar .nav-section,
body.admin-body .admin-sidebar .as-brand-copy strong,
body.admin-body .admin-sidebar .as-brand-copy > span{
  color:#198754 !important;
}

body.admin-body .admin-sidebar nav a:hover,
body.admin-body .admin-sidebar nav a.active,
body.admin-body .admin-sidebar .as-toggle:hover,
body.admin-body .admin-sidebar .as-toggle.open,
body.admin-body .admin-sidebar .as-body a:hover,
body.admin-body .admin-sidebar .as-body a.active{
  color:#0f6b45 !important;
  background:#eef9f3 !important;
}

body.admin-body .admin-sidebar .as-sub{color:#4f8f70 !important;}
body.admin-body .admin-sidebar .as-brand-copy small{color:#287a52 !important;background:#e9f6ee !important;}

@media (max-width:900px){
  body.frontend-premium .page-hero,
  body.frontend-premium .hero,
  body.frontend-premium .hero-section,
  body.frontend-premium .banner,
  body.frontend-premium .promo-banner,
  body.frontend-premium .inner-banner,
  body.frontend-premium .page-banner,
  body.frontend-premium .mtx-hero,
  body.frontend-premium .hero-slider,
  body.frontend-premium .hero-slide{
    background:linear-gradient(145deg,var(--mdx-banner-brinjal-1) 0%,var(--mdx-banner-brinjal-2) 58%,var(--mdx-banner-brinjal-3) 100%) !important;
  }
}


/* HOME + ALL PAGE BANNERS — latest requested visual system */
:root{
  --mdx-latest-banner-bg:#ffffff;
  --mdx-latest-banner-heading:#86b88b;
  --mdx-latest-banner-sub:#111827;
  --mdx-latest-banner-button:#cfe8ff;
  --mdx-latest-banner-button-text:#111827;
  --mdx-latest-banner-overlay:rgba(220,205,240,.30);
}

body.frontend-premium .page-hero,
body.frontend-premium .hero,
body.frontend-premium .hero-section,
body.frontend-premium .banner,
body.frontend-premium .promo-banner,
body.frontend-premium .inner-banner,
body.frontend-premium .page-banner,
body.frontend-premium .mtx-hero,
body.frontend-premium .hero-slider,
body.frontend-premium .hero-slide{
  background:var(--mdx-latest-banner-bg) !important;
  color:var(--mdx-latest-banner-sub) !important;
}

body.frontend-premium .hero::before,
body.frontend-premium .hero-section::before,
body.frontend-premium .banner::before,
body.frontend-premium .promo-banner::before,
body.frontend-premium .inner-banner::before,
body.frontend-premium .page-banner::before,
body.frontend-premium .hero-slide::before,
body.frontend-premium .mtx-hero-visual::before{
  background:var(--mdx-latest-banner-overlay) !important;
}

/* Banner headings / eyebrow labels */
body.frontend-premium .page-hero h1,
body.frontend-premium .page-hero h2,
body.frontend-premium .page-hero h3,
body.frontend-premium .hero h1,
body.frontend-premium .hero h2,
body.frontend-premium .hero h3,
body.frontend-premium .hero-section h1,
body.frontend-premium .hero-section h2,
body.frontend-premium .hero-section h3,
body.frontend-premium .banner h1,
body.frontend-premium .banner h2,
body.frontend-premium .banner h3,
body.frontend-premium .promo-banner h1,
body.frontend-premium .promo-banner h2,
body.frontend-premium .promo-banner h3,
body.frontend-premium .inner-banner h1,
body.frontend-premium .inner-banner h2,
body.frontend-premium .inner-banner h3,
body.frontend-premium .page-banner h1,
body.frontend-premium .page-banner h2,
body.frontend-premium .page-banner h3,
body.frontend-premium .mtx-hero h1,
body.frontend-premium .mtx-hero h2,
body.frontend-premium .mtx-hero h3,
body.frontend-premium .page-hero .eyebrow,
body.frontend-premium .hero .eyebrow,
body.frontend-premium .mtx-hero .eyebrow{
  color:var(--mdx-latest-banner-heading) !important;
  text-shadow:none !important;
}

/* Banner supporting/sub text */
body.frontend-premium .page-hero p,
body.frontend-premium .hero p,
body.frontend-premium .hero-section p,
body.frontend-premium .banner p,
body.frontend-premium .promo-banner p,
body.frontend-premium .inner-banner p,
body.frontend-premium .page-banner p,
body.frontend-premium .mtx-hero .lead,
body.frontend-premium .hero-content .lead,
body.frontend-premium .banner .lead,
body.frontend-premium .page-hero .ph-label{
  color:var(--mdx-latest-banner-sub) !important;
  text-shadow:none !important;
}

/* Banner buttons */
body.frontend-premium .hero .btn,
body.frontend-premium .hero-section .btn,
body.frontend-premium .banner .btn,
body.frontend-premium .promo-banner .btn,
body.frontend-premium .inner-banner .btn,
body.frontend-premium .page-banner .btn,
body.frontend-premium .page-hero .btn,
body.frontend-premium .mtx-hero .btn{
  background:var(--mdx-latest-banner-button) !important;
  border-color:#b8dafa !important;
  color:var(--mdx-latest-banner-button-text) !important;
  box-shadow:0 7px 18px rgba(95,150,195,.12) !important;
}
body.frontend-premium .hero .btn:hover,
body.frontend-premium .hero-section .btn:hover,
body.frontend-premium .banner .btn:hover,
body.frontend-premium .promo-banner .btn:hover,
body.frontend-premium .inner-banner .btn:hover,
body.frontend-premium .page-banner .btn:hover,
body.frontend-premium .page-hero .btn:hover,
body.frontend-premium .mtx-hero .btn:hover{
  background:#b9dcfa !important;
  border-color:#a9d2f5 !important;
  color:#111827 !important;
}

/* Keep the fixed site header visible while browsing */
body.frontend-premium .site-header{
  position:sticky !important;
  top:0 !important;
  z-index:10000 !important;
}

/* Mobile/tablet header remains sticky and accessible */
@media (max-width: 1024px){
  body.frontend-premium .site-header{
    position:sticky !important;
    top:0 !important;
  }
}
