:root,
html[data-mr-theme="dark"] {
    color-scheme: dark;
    --mr-theme-page-start: #050b14;
    --mr-theme-page-end: #03070d;
    --mr-theme-gold-glow: rgba(244, 182, 74, 0.20);
    --mr-theme-blue-glow: rgba(56, 164, 255, 0.24);
    --mr-theme-grid: rgba(255, 255, 255, 0.08);
    --mr-theme-grid-opacity: 0.14;
    --mr-theme-text: #f5f7fb;
    --mr-theme-heading: #ffffff;
    --mr-theme-muted: #bac6d8;
    --mr-theme-subtle: #9fb0c5;
    --mr-theme-surface: #0b1724;
    --mr-theme-surface-soft: rgba(8, 17, 29, 0.78);
    --mr-theme-line: rgba(102, 145, 190, 0.34);
    --mr-theme-shadow: rgba(0, 0, 0, 0.28);
    --mr-theme-link: #62b4ff;
    --mr-theme-gold: #f5c84b;
    --mr-theme-blue: #2f9cff;
    --mr-theme-hero-card: linear-gradient(135deg, rgba(23, 27, 27, 0.96), rgba(8, 17, 29, 0.96));
    --mr-theme-feature-overlay: linear-gradient(90deg, rgba(7, 17, 29, 0.94), rgba(7, 17, 29, 0.88));
    --mr-theme-image-bg: #08111d;
    --mr-theme-column-start: #07111d;
    --mr-theme-column-end-1: #0f314f;
    --mr-theme-column-end-2: #143f66;
    --mr-theme-column-end-3: #18507d;
    --mr-theme-column-end-4: #1f6197;
    --mr-theme-column-text: #edf4ff;
}

html[data-mr-theme="light"] {
    color-scheme: light;
    --mr-theme-page-start: #f5f8fb;
    --mr-theme-page-end: #e8eef4;
    --mr-theme-gold-glow: rgba(222, 164, 49, 0.12);
    --mr-theme-blue-glow: rgba(47, 156, 255, 0.12);
    --mr-theme-grid: rgba(42, 76, 108, 0.08);
    --mr-theme-grid-opacity: 0.30;
    --mr-theme-text: #172536;
    --mr-theme-heading: #0d1b2a;
    --mr-theme-muted: #526274;
    --mr-theme-subtle: #66778a;
    --mr-theme-surface: #ffffff;
    --mr-theme-surface-soft: rgba(255, 255, 255, 0.88);
    --mr-theme-line: rgba(70, 111, 148, 0.24);
    --mr-theme-shadow: rgba(30, 55, 78, 0.13);
    --mr-theme-link: #086caf;
    --mr-theme-gold: #a96f00;
    --mr-theme-blue: #086caf;
    --mr-theme-hero-card: linear-gradient(135deg, #ffffff, #eaf1f7);
    --mr-theme-feature-overlay: linear-gradient(90deg, rgba(255, 255, 255, 0.97), rgba(245, 249, 252, 0.90));
    --mr-theme-image-bg: #dfe8f0;
    --mr-theme-column-start: #ffffff;
    --mr-theme-column-end-1: #e8f1f8;
    --mr-theme-column-end-2: #deebf5;
    --mr-theme-column-end-3: #d3e5f3;
    --mr-theme-column-end-4: #c5dff1;
    --mr-theme-column-text: #24384b;
}

#sp-main {
      min-height: 100vh;
      font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      background:
        radial-gradient(circle at 12% 0%, var(--mr-theme-gold-glow), transparent 20%),
        radial-gradient(circle at 88% 6%, var(--mr-theme-blue-glow), transparent 24%),
        linear-gradient(180deg, var(--mr-theme-page-start) 0%, var(--mr-theme-page-end) 100%);
      color: var(--mr-theme-text);
      overflow-x: hidden;
      transition: background-color 180ms ease, color 180ms ease;
    }

    #sp-main::before {
      content: "";
      position: fixed;
      inset: 0;
      pointer-events: none;
      opacity: var(--mr-theme-grid-opacity);
      background-image:
        linear-gradient(var(--mr-theme-grid) 1px, transparent 1px),
        linear-gradient(90deg, var(--mr-theme-grid) 1px, transparent 1px);
      background-size: 42px 42px;
      mask-image: linear-gradient(to bottom, black, transparent 78%);
    }
#sp-header{background: 
        radial-gradient(circle at 12% 0%, rgba(244, 182, 74, 0.20), transparent 30%),
        radial-gradient(circle at 88% 6%, rgba(56, 164, 255, 0.24), transparent 34%),
        linear-gradient(180deg, #050b14 0%, #03070d 100%);}
.mr-theme-toggle {
    display: inline-flex;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    padding: 0;
    border: 1px solid rgba(138, 171, 204, 0.32);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    color: #f5c84b;
    line-height: 1;
}
.mr-theme-toggle:hover,
.mr-theme-toggle:focus-visible {
    border-color: #2f9cff;
    background: rgba(47, 156, 255, 0.12);
    color: #ffffff;
}
.mr-theme-toggle:focus-visible {
    outline: 2px solid #f5c84b;
    outline-offset: 2px;
}
.mr-theme-icon {
    font-size: 17px;
}
.mr-theme-icon-moon,
html[data-mr-theme="light"] .mr-theme-icon-sun {
    display: none;
}
html[data-mr-theme="light"] .mr-theme-icon-moon {
    display: inline-block;
}

#sp-header #offcanvas-toggler .burger-icon > span {
    background-color: #f5f7fb !important;
}

html[data-mr-theme="light"] #sp-header #offcanvas-toggler {
    padding-right: 8px;
    padding-left: 8px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.90);
}

html[data-mr-theme="light"] #sp-header #offcanvas-toggler .burger-icon > span {
    background-color: #152233 !important;
}
#sp-bottom {
    background: none;
    padding: 15px 0px 15px 0px;
    font-size: 14px;
    line-height: 1.6;
    width: 100%;
}
#sp-bottom .container{
    width: 100%;
}
#sp-main-body {
    padding: 5px 20px 5px 20px;
    }
@media (min-width: 1200px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 1200px;
    }
}
.sp-megamenu-parent>li>a {
    color: #f3f3f3;
    font-size: 17px;
}
.sp-megamenu-parent>li:hover>a {
    color: #00aeef;
    text-decoration: underline;
    /*background: 
        radial-gradient(circle at 12% 0%, rgba(244, 182, 74, 0), transparent 30%),
        radial-gradient(circle at 88% 6%, rgba(56, 164, 255, 0.24), transparent 34%),
        linear-gradient(180deg, #919191 0%, #e2e2e2 100%);*/
}
#sp-right .sp-module {
    margin-top: 50px;
    padding: 0px; 
	border: none;
}
#sp-left .sp-module{margin-top:50px;border:1px solid #f3f3f3;padding:30px;border-radius:3px}
.article-list .article .article-header h1 a, .article-list .article .article-header h2 a, .article-list .article .article-header h4 a {
 color: #00aeef;
}
.article-list .article .article-header h1 a:hover, .article-list .article .article-header h1 a:active, .article-list .article .article-header h1 a:focus, .article-list .article .article-header h2 a:hover, .article-list .article .article-header h2 a:active, .article-list .article .article-header h2 a:focus, .article-list .article .article-header h4 a:hover, .article-list .article .article-header h4 a:active, .article-list .article .article-header h4 a:focus {
    color: #f5c84b !important;
}
.article-list .article {
    position: relative;
    margin-bottom: 30px;
    padding: 20px;
    border:none;/* 1px solid #f5f5f5;*/ 
    border-radius: 3px;
    background: var(--mr-theme-surface);
    color: var(--mr-theme-text);
    box-shadow: 0 14px 36px var(--mr-theme-shadow);
}
.article-list .article .article-intro-image, .article-list .article .article-featured-video, .article-list .article .article-featured-audio, .article-list .article .article-feature-gallery {
    margin: -20px -20px 20px -20px;
    border-radius: 3px 3px 0 0;
    border-bottom: 1px solid rgba(102,145,190,.42);
    overflow: hidden;
    padding-bottom: 40px;
}
.article-list .article .article-intro-image img, .article-list .article .article-featured-video img, .article-list .article .article-featured-audio img, .article-list .article .article-feature-gallery img {
    border-radius: 28px 28px 28px 28px;
    border: solid 1px rgba(102,145,190,.42);
}
pre {
    display: block;
    margin-top: 0;
    margin-bottom: 1rem;
    overflow: auto;
    font-size: 18px;
    font-weight: bold;
	text-decoration: underline;
}
.mr-article-body pre {
    display: block;
    margin-top: 1.8rem;
    margin-bottom: 1rem;
    overflow: visible;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    word-break: normal;
    font-family: "Courier New", Courier, monospace;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.45;
	letter-spacing: 0;
    background: var(--mr-theme-surface-soft);
    border-left: 3px solid #f5c84b;
    padding: 10px 14px;
    border-radius: 6px;
    text-decoration: none;
    
}

#sp-main .article-details,
#sp-main .category-desc,
#sp-main .article-info,
#sp-main .article-list .article-introtext,
#sp-main .article-list .article-body {
    color: var(--mr-theme-text);
}

#sp-main .article-list .article-header h1,
#sp-main .article-list .article-header h2,
#sp-main .article-list .article-header h3,
#sp-main .article-list .article-header h4 {
    color: var(--mr-theme-heading);
}

#sp-main .article-info,
#sp-main .article-info a,
#sp-main .text-muted {
    color: var(--mr-theme-muted) !important;
}

html[data-mr-theme="light"] #sp-main .pagination .page-link {
    border-color: var(--mr-theme-line);
    background: var(--mr-theme-surface);
    color: var(--mr-theme-link);
}

@media (max-width: 991px) {
    .mr-theme-toggle {
        margin-left: 6px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #sp-main {
        transition: none;
    }
}
